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
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.dev/packages/dio)
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 | aiConversationActionGet | GET /ai/conversation/action | |
| AiApi | aiConversationDataPost | POST /ai/conversation/data | |
| AiApi | aiConversationGet | GET /ai/conversation | |
| AiApi | aiConversationMessagePost | POST /ai/conversation/message | |
| AiApi | aiConversationPost | POST /ai/conversation | |
| AiApi | aiConversationsGet | GET /ai/conversations | |
| AiApi | aiLegacyChatPost | POST /ai/legacy/chat | |
| AiApi | aiLegacyConversationPost | POST /ai/legacy/conversation | |
| AiApi | aiMemoriesDelete | DELETE /ai/memories | |
| AiApi | aiMemoriesGet | GET /ai/memories | |
| AiApi | aiSuggestionsDescriptionGet | GET /ai/suggestions/description | |
| AiApi | aiSuggestionsKeywordsGet | GET /ai/suggestions/keywords | |
| 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 | locationDelete | DELETE /location | Delete a Location |
| LocationsApi | locationGet | GET /location | Get a Location |
| LocationsApi | locationListingGet | GET /location/listing | |
| LocationsApi | locationListingPost | POST /location/listing | Create or update a Listing |
| LocationsApi | locationListingSyncPost | POST /location/listing/sync | Sync a listing |
| LocationsApi | locationListingsGet | GET /location/listings | |
| 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 | 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 | |
| SearchApi | searchGet | GET /search | Search individuals or locations |
| SitesApi | siteColorsGet | GET /site/colors | |
| SitesApi | siteColorsPatch | PATCH /site/colors | |
| SitesApi | siteColorsPut | PUT /site/colors | |
| UsersApi | userAuthenticatedGet | GET /user/authenticated | Is the user authenticated |
| UsersApi | userConnectionLocationsGet | GET /user/connection/locations | get locations from a connection |
| UsersApi | userConnectionPost | POST /user/connection | create a user connection |
| UsersApi | userConnectionsGet | GET /user/connections | Get user connections |
| 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 | userRegisterPost | POST /user/register | Registers a user |
| UsersApi | userResetPasswordPost | POST /user/reset-password | Resets the user's password |
| UsersApi | userSystemPost | POST /user/system | Find the system for the user |
| WhitelabelApi | whitelabelGet | GET /whitelabel |
Documentation For Models
- Address
- AiActionMap
- AiActions
- AiActionsAddLocation
- AiChatDataPost200Response
- AiChatDataPost200ResponseActions
- AiChatDataPost200ResponseActionsCall
- AiChatDataPost200ResponseActionsEmail
- AiChatDataPost200ResponseActionsText
- AiChatDataPost200ResponseActionsUpdateContact
- AiChatDataPost200ResponseAttributes
- AiChatDataPostRequest
- AiChatDataPostRequestUserLocation
- AiChatPost200Response
- AiChatPostRequest
- AiContext
- AiConversation
- AiConversationActionGet200Response
- AiConversationMessagePostRequest
- AiConversationPost200Response
- AiConversationPostRequest
- AiLegacyChatPost200Response
- AiLegacyChatPostRequest
- AiLegacyConversationPost200Response
- AiLegacyConversationPost200ResponseMessagesInner
- AiLegacyConversationPostRequest
- AiLegacyConversationPostRequestUserLocation
- AiMemoriesGet200Response
- AiMemoriesInner
- AiMessage
- AiMessageAttributes
- AiMessageLocationAttribute
- AiMessageLocationAttributeBoundingBox
- AiMessageLocationAttributeCoordinates
- AiSuggestionsDescriptionGet200Response
- AiSuggestionsKeywordsGet200Response
- AiToolCalls
- AiToolCallsGetContact
- AiToolResponses
- Category
- Connection
- DataPoint
- DirectoryType
- ErrorResponse
- InboxItem
- InboxPostRequest
- InboxReplyPostRequest
- Individual
- Listing
- ListingConflict
- ListingConflictValue
- ListingOrListingConflicts
- Location
- LocationDelete200Response
- LocationDeleteRequest
- LocationListingPostRequest
- LocationListingSyncPost200Response
- LocationOrIndividual
- LocationPhotoPostRequest
- LocationPhotoType
- Login
- Metric
- MetricData
- MetricName
- NotificationsConfigGet200Response
- OpeningHour
- OpeningHourInterval
- Photo
- Platform
- ResetPassword
- SearchGetBoundingBoxParameter
- SearchGetBoundingBoxParameterTopLeft
- SiteColorsPatchRequest
- SocialPost
- SpecialOpeningHour
- User
- UserConnectionLocationsGet200ResponseInner
- UserConnectionPostRequest
- UserLoginPostRequest
- UserOauthPost200Response
- UserOauthPostRequest
- UserRegisterPostRequest
- UserSystemPost200Response
- UserSystemPostRequest
- WhitelabelData
Documentation For Authorization
Authentication schemes defined for the API:
authToken
- Type: API key
- API key parameter name: authToken
- Location: HTTP header