on_the_go_sdk 3.0.0-dev.66 copy "on_the_go_sdk: ^3.0.0-dev.66" to clipboard
on_the_go_sdk: ^3.0.0-dev.66 copied to clipboard

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 AiChatDataPostRequest aiChatDataPostRequest = ; // AiChatDataPostRequest | 

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

Documentation for API Endpoints #

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

Class Method HTTP request Description
AiApi aiChatDataPost POST /ai/chat/data
AiApi aiChatPost POST /ai/chat
AiApi aiLegacyChatPost POST /ai/legacy/chat
AiApi aiLegacyConversationPost POST /ai/legacy/conversation
AiApi aiMemoriesDelete DELETE /ai/memories
AiApi aiMemoriesGet GET /ai/memories
AiApi aiMemoriesPost POST /ai/memories
AiApi aiSystemGet GET /ai/system
AnalyticsApi analyticsGet GET /analytics
InboxApi inboxItemGet GET /inbox/item
InboxApi inboxPost POST /inbox
InboxApi inboxReplyPost POST /inbox/reply
LocationsApi categoriesGet GET /categories Get categories
LocationsApi locationGet GET /location Get a Location
LocationsApi locationListingConnectGet GET /location/listing/connect
LocationsApi locationPatch PATCH /location Update a Location
LocationsApi locationPhotoDelete DELETE /location/photo
LocationsApi locationPhotoPost POST /location/photo
LocationsApi locationPost POST /location Create a Location
LocationsApi locationsGet GET /locations Get locations
LocationsApi locationsListingsGet GET /locations/listings
LocationsApi locationsSearchGet GET /locations/search Search for locations
NotificationsApi notificationsConfigGet GET /notifications/config
NotificationsApi notificationsConfigPost POST /notifications/config
NotificationsApi notificationsRegisterPost POST /notifications/register
PublishApi publishPostsDelete DELETE /publish/posts
PublishApi publishPostsGet GET /publish/posts
PublishApi publishPostsPost POST /publish/posts
SitesApi siteColorsGet GET /site/colors
SitesApi siteColorsPatch PATCH /site/colors
SitesApi siteColorsPut PUT /site/colors
UsersApi userGet GET /user Get the current user
UsersApi userLoginPost POST /user/login Provides an access_token for the user
UsersApi userLogoutPost POST /user/logout
UsersApi userOauthPost POST /user/oauth Finish OAuth flow
UsersApi userPatch PATCH /user Update the current user
UsersApi userResetPasswordPost POST /user/reset-password Resets the user's password
WhitelabelApi whitelabelGet GET /whitelabel

Documentation For Models #

  • Address
  • AiChatDataPost200Response
  • AiChatDataPost200ResponseToolCalls
  • AiChatDataPost200ResponseToolCallsGetContact
  • AiChatDataPostRequest
  • AiChatDataPostRequestToolResponses
  • AiChatDataPostRequestUserLocation
  • AiChatPost200Response
  • AiChatPostRequest
  • AiChatPostRequestUserLocation
  • AiLegacyChatPost200Response
  • AiLegacyChatPostRequest
  • AiLegacyConversationPost200Response
  • AiLegacyConversationPost200ResponseMessagesInner
  • AiLegacyConversationPostRequest
  • AiLegacyConversationPostRequestUserLocation
  • AiMemoriesGet200Response
  • AiMemoriesGet200ResponseMemoriesInner
  • AiMemoriesPostRequest
  • AiSystemGet200Response
  • AnalyticsGet200Response
  • Category
  • DataPoint
  • DirectoryType
  • InboxItem
  • InboxPost200Response
  • InboxPostRequest
  • InboxReplyPostRequest
  • Individual
  • Listing
  • Location
  • LocationListingConnectGet200Response
  • LocationOrIndividual
  • LocationPhotoPostRequest
  • LocationPhotoType
  • LocationsGet200Response
  • LocationsListingsGet200Response
  • LoginBody
  • LoginResponse
  • Metric
  • MetricData
  • MetricType
  • NotificationsConfigGet200Response
  • OpeningHour
  • OpeningHourInterval
  • Photo
  • PublishPostsGet200Response
  • ResetPassword
  • SiteColorsPatchRequest
  • SocialPost
  • SpecialOpeningHour
  • User
  • UserOauthPost200Response
  • UserOauthPostRequest
  • WhitelabelData

Documentation For Authorization #

Authentication schemes defined for the API:

authToken #

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

Author #

0
likes
0
points
2.1k
downloads

Publisher

unverified uploader

Weekly Downloads

OpenAPI Dart client for on-the-go

Homepage

License

unknown (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on on_the_go_sdk