trata_notes_client_sdk (EXPERIMENTAL)
API for Daily + Telephony Call Flow Backend
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
Requirements
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.flutter-io.cn/packages/dio)
Installation & Usage
pub.flutter-io.cn
To use the package from pub.flutter-io.cn, please include the following in pubspec.yaml
dependencies:
trata_notes_client_sdk: 1.0.1
Github
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
trata_notes_client_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:
trata_notes_client_sdk:
path: /path/to/trata_notes_client_sdk
Getting Started
Please follow the installation procedure and then run the following:
import 'package:trata_notes_client_sdk/trata_notes_client_sdk.dart';
final api = TrataNotesClientSdk().getCallsApi();
final CallCancelRequest callCancelRequest = ; // CallCancelRequest |
try {
final response = await api.cancelCallApiV1CallCancelPost(callCancelRequest);
print(response);
} catch on DioException (e) {
print("Exception when calling CallsApi->cancelCallApiV1CallCancelPost: $e\n");
}
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CallsApi | cancelCallApiV1CallCancelPost | POST /api/v1/call/cancel | Cancel Call |
| CallsApi | getCallPricingApiV1CallPricingGet | GET /api/v1/call/pricing | Get Call Pricing |
| CallsApi | getCallStatusApiV1CallCallIdGet | GET /api/v1/call/{call_id} | Get Call Status |
| CallsApi | listCallsApiV1CallGet | GET /api/v1/call/ | List Calls |
| CallsApi | startCallApiV1CallStartPost | POST /api/v1/call/start | Start Call |
| ContactsApi | createContactApiV1ContactsPost | POST /api/v1/contacts/ | Create Contact |
| ContactsApi | deleteContactApiV1ContactsContactIdDelete | DELETE /api/v1/contacts/{contact_id} | Delete Contact |
| ContactsApi | getContactApiV1ContactsContactIdGet | GET /api/v1/contacts/{contact_id} | Get Contact |
| ContactsApi | listContactsApiV1ContactsGet | GET /api/v1/contacts/ | List Contacts |
| ContactsApi | syncContactsApiV1ContactsSyncPost | POST /api/v1/contacts/sync | Sync Contacts |
| ContactsApi | updateContactApiV1ContactsContactIdPut | PUT /api/v1/contacts/{contact_id} | Update Contact |
| CreditsApi | getCreditsApiV1CreditsBalanceGet | GET /api/v1/credits/balance | Get Credits |
| CreditsApi | getCreditsHistoryApiV1CreditsHistoryGet | GET /api/v1/credits/history | Get Credits History |
| DailyWebhooksApi | dailyWebhookApiV1WebhooksDailyPost | POST /api/v1/webhooks/daily | Daily Webhook |
| DefaultApi | healthCheckHealthGet | GET /health | Health Check |
| DefaultApi | rootGet | GET / | Root |
| DefaultApi | versionsVersionsGet | GET /versions | Versions |
| FilesApi | deleteRecordingApiV1FilesSessionIdDelete | DELETE /api/v1/files/{session_id} | Delete Recording |
| FilesApi | getRecordingApiV1FilesSessionIdGet | GET /api/v1/files/{session_id} | Get Recording |
| FilesApi | getSignedUrlApiV1FilesSignedUrlGet | GET /api/v1/files/signed-url | Get Signed Url |
| FilesApi | uploadRecordingApiV1FilesUploadPost | POST /api/v1/files/upload | Upload Recording |
| PaymentsApi | createPaymentIntentApiV1PaymentIntentPost | POST /api/v1/payment/intent | Create Payment Intent |
| PaymentsApi | stripeWebhookApiV1PaymentWebhookPost | POST /api/v1/payment/webhook | Stripe Webhook |
| PreferencesApi | getPreferencesApiV1PreferencesGet | GET /api/v1/preferences | Get Preferences |
| PreferencesApi | updatePreferencesApiV1PreferencesPut | PUT /api/v1/preferences | Update Preferences |
| PropelAuthWebhooksApi | propelAuthWebhookV1ApiPropelHooksPost | POST /v1/api/propel-hooks | Propel Auth Webhook |
| SessionsApi | createActionItemForSessionApiV1SessionsSessionIdActionItemsPost | POST /api/v1/sessions/{session_id}/action-items | Create Action Item For Session |
| SessionsApi | createSessionApiV1SessionsPost | POST /api/v1/sessions/ | Create Session |
| SessionsApi | deleteSessionApiV1SessionsSessionIdDelete | DELETE /api/v1/sessions/{session_id} | Delete Session |
| SessionsApi | getSessionApiV1SessionsSessionIdGet | GET /api/v1/sessions/{session_id} | Get Session |
| SessionsApi | linkActionItemToSessionApiV1SessionsActionItemsActionItemIdSessionsSessionIdPost | POST /api/v1/sessions/action-items/{action_item_id}/sessions/{session_id} | Link Action Item To Session |
| SessionsApi | listSessionsApiV1SessionsGet | GET /api/v1/sessions/ | List Sessions |
| SessionsApi | unlinkActionItemFromSessionApiV1SessionsActionItemsActionItemIdSessionsSessionIdDelete | DELETE /api/v1/sessions/action-items/{action_item_id}/sessions/{session_id} | Unlink Action Item From Session |
| SessionsApi | updateSessionApiV1SessionsSessionIdPut | PUT /api/v1/sessions/{session_id} | Update Session |
| WebhooksApi | telnyxWebhookApiV1WebhooksTelnyxPost | POST /api/v1/webhooks/telnyx | Telnyx Webhook |
| WebhooksApi | testTelnyxWebhookApiV1WebhooksTelnyxTestPost | POST /api/v1/webhooks/telnyx/test | Test Telnyx Webhook |
| WebhooksApi | twilioVoiceWebhookApiV1WebhooksTwilioVoicePost | POST /api/v1/webhooks/twilio-voice | Twilio Voice Webhook |
| WebhooksApi | twilioWebhookApiV1WebhooksTwilioPost | POST /api/v1/webhooks/twilio | Twilio Webhook |
Documentation For Models
- ActionItemCreate
- ActionItemResponse
- CallCancelRequest
- CallCancelResponse
- CallListResponse
- CallPriceResponse
- CallRecordingResponse
- CallRecordingUploadResponse
- CallStartRequest
- CallStartResponse
- CallStatus
- CallStatusResponse
- ContactCreate
- ContactListResponse
- ContactResponse
- ContactSyncRequest
- ContactSyncResponse
- ContactUpdate
- CreditsHistoryEntry
- CreditsHistoryResponse
- CreditsResponse
- HTTPValidationError
- LocationInner
- PaymentIntentRequest
- PaymentIntentResponse
- PreferencesResponse
- PreferencesUpdate
- SessionCreate
- SessionListResponse
- SessionResponse
- SessionType
- SessionUpdate
- ValidationError
- WebhookResponse
Documentation For Authorization
Authentication schemes defined for the API:
HTTPBearer
- Type: HTTP Bearer Token authentication