on_the_go_sdk 3.0.0-dev.84
on_the_go_sdk: ^3.0.0-dev.84 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 #
- 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 | aiConversationAreaGet | GET /ai/conversation/area | |
| AiApi | aiConversationDataPost | POST /ai/conversation/data | |
| AiApi | aiConversationPost | POST /ai/conversation | |
| 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 | locationDelete | DELETE /location | Delete a Location |
| 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
- AiActionMap
- AiActions
- AiActionsAddLocation
- AiChatDataPost200Response
- AiChatDataPost200ResponseActions
- AiChatDataPost200ResponseActionsCall
- AiChatDataPost200ResponseActionsEmail
- AiChatDataPost200ResponseActionsText
- AiChatDataPost200ResponseActionsUpdateContact
- AiChatDataPost200ResponseAttributes
- AiChatDataPost200ResponseToolCalls
- AiChatDataPost200ResponseToolCallsGetContact
- AiChatDataPostRequest
- AiChatDataPostRequestToolResponses
- AiChatDataPostRequestUserLocation
- AiChatPost200Response
- AiChatPostRequest
- AiContext
- AiConversationActionGet200Response
- AiConversationActionGetRequest
- AiConversationDataPostRequest
- AiConversationPost200Response
- AiLegacyChatPost200Response
- AiLegacyChatPostRequest
- AiLegacyConversationPost200Response
- AiLegacyConversationPost200ResponseMessagesInner
- AiLegacyConversationPostRequest
- AiLegacyConversationPostRequestUserLocation
- AiMemoriesGet200Response
- AiMemoriesGet200ResponseMemoriesInner
- AiMemoriesPostRequest
- AiMessage
- AiMessageAttributes
- AiMessageLocationAttribute
- AiMessageLocationAttributeBoundingBox
- AiMessageLocationAttributeCoordinates
- AiSystemGet200Response
- AiToolCalls
- AiToolResponses
- AnalyticsGet200Response
- Category
- DataPoint
- DirectoryType
- InboxItem
- InboxPost200Response
- InboxPostRequest
- InboxReplyPostRequest
- Individual
- Listing
- Location
- LocationDelete200Response
- LocationDeleteRequest
- 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