on_the_go_sdk 2.1.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

OpenAPI Dart client for on-the-go

on_the_go_sdk (EXPERIMENTAL)

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  on_the_go_sdk: 1.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  on_the_go_sdk:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  on_the_go_sdk:
    path: /path/to/on_the_go_sdk

Getting Started

Please follow the installation procedure and then run the following:

import 'package:on_the_go_sdk/on_the_go_sdk.dart';


final api = OnTheGoSdk().getAiApi();
final AiChatPostRequest aiChatPostRequest = ; // AiChatPostRequest | 

try {
    final response = await api.aiChatPost(aiChatPostRequest);
    print(response);
} catch on DioException (e) {
    print("Exception when calling AiApi->aiChatPost: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://api.aztrix.me/webhook

ClassMethodHTTP requestDescription
AiApiaiChatPostPOST /ai/chat
AiApiaiConversationPostPOST /ai/conversation
AiApiaiMemoriesDeleteDELETE /ai/memories
AiApiaiMemoriesGetGET /ai/memories
AiApiaiMemoriesPostPOST /ai/memories
AiApiaiSystemGetGET /ai/system
AnalyticsApianalyticsGetGET /analytics
InboxApiinboxItemChildrenGetGET /inbox/item/children
InboxApiinboxItemGetGET /inbox/item
InboxApiinboxPostPOST /inbox
InboxApiinboxReplyPostPOST /inbox/reply
LocationsApicategoriesGetGET /categoriesGet All or Several Categories
LocationsApilocationGetGET /locationGet a Location
LocationsApilocationListingsGetGET /location/listings
LocationsApilocationPatchPATCH /locationUpdate a Location
LocationsApilocationPhotoDeleteDELETE /location/photo
LocationsApilocationPhotoPostPOST /location/photo
LocationsApilocationsGetGET /locationsGet Several Locations
NotificationsApinotificationsConfigGetGET /notifications/config
NotificationsApinotificationsConfigPostPOST /notifications/config
NotificationsApinotificationsRegisterPostPOST /notifications/register
PublishApipublishPostsGetGET /publish/posts
PublishApipublishPostsPostPOST /publish/posts
SitesApisiteColorsGetGET /site/colors
SitesApisiteColorsPatchPATCH /site/colors
SitesApisiteColorsPutPUT /site/colors
UsersApiuserGetGET /userGet the current user
UsersApiuserLoginPostPOST /user/loginProvides an access_token for the user
UsersApiuserLogoutPostPOST /user/logout
UsersApiuserOauthPostPOST /user/oauthFinish OAuth flow
UsersApiuserPatchPATCH /userUpdate the current user
UsersApiuserResetPasswordPostPOST /user/reset-passwordResets the user's password
WhitelabelApiwhitelabelGetGET /whitelabel

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

authToken

  • Type: API key
  • API key parameter name: authToken
  • Location: HTTP header

Author