trata_dialo_phone_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.dev/packages/dio)
Installation & Usage
pub.dev
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
trata_dialo_phone_client_sdk: 1.0.4
Github
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
trata_dialo_phone_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_dialo_phone_client_sdk:
path: /path/to/trata_dialo_phone_client_sdk
Getting Started
Please follow the installation procedure and then run the following:
import 'package:trata_dialo_phone_client_sdk/trata_dialo_phone_client_sdk.dart';
final api = TrataDialoPhoneClientSdk().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 | deleteRecordingApiV1FilesCallIdDelete | DELETE /api/v1/files/{call_id} | Delete Recording |
| FilesApi | getRecordingApiV1FilesCallIdGet | GET /api/v1/files/{call_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 |
| WebhooksApi | telnyxWebhookApiV1WebhooksTelnyxPost | POST /api/v1/webhooks/telnyx | Telnyx Webhook |
| WebhooksApi | testTelnyxWebhookApiV1WebhooksTelnyxTestPost | POST /api/v1/webhooks/telnyx/test | Test Telnyx Webhook |
| WebhooksApi | twilioWebhookApiV1WebhooksTwilioPost | POST /api/v1/webhooks/twilio | Twilio Webhook |
Documentation For Models
- CallCancelRequest
- CallCancelResponse
- CallListResponse
- CallPriceResponse
- CallRecordingResponse
- CallRecordingUploadResponse
- CallStartRequest
- CallStartResponse
- CallStatus
- CallStatusResponse
- ContactCreate
- ContactListResponse
- ContactResponse
- ContactSyncRequest
- ContactSyncResponse
- ContactUpdate
- CreditsHistoryEntry
- CreditsHistoryResponse
- CreditsResponse
- HTTPValidationError
- LocationInner
- PaymentIntentRequest
- PaymentIntentResponse
- ValidationError
- WebhookResponse
Documentation For Authorization
Authentication schemes defined for the API:
HTTPBearer
- Type: HTTP Bearer Token authentication