/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CallSchema, CallsSchema, CreateCallRequestBody, DialCall202Response, UpdateCallRequestBody } from '../models/index'; export interface CallOptionsRequest { callId: string; } export interface CreateCallRequest { createCallRequestBody: CreateCallRequestBody; } export interface DeleteCallRequest { callId: string; } export interface DialCallRequest { callId: string; } export interface DialCallOptionsRequest { callId: string; } export interface ListCallsRequest { filterStatus?: ListCallsFilterStatusEnum; filterDirection?: ListCallsFilterDirectionEnum; filterProtocol?: ListCallsFilterProtocolEnum; filterFromIdentifier?: string; filterToIdentifier?: string; filterConversationId?: string; filterIntent?: ListCallsFilterIntentEnum; include?: string; filterCreatedFrom?: Date; filterCreatedTo?: Date; filterModifiedFrom?: Date; filterModifiedTo?: Date; pageSize?: number; pageNumber?: number; pageAfter?: string; pageBefore?: string; sort?: ListCallsSortEnum; } export interface ShowCallRequest { callId: string; include?: string; } export interface UpdateCallRequest { callId: string; updateCallRequestBody: UpdateCallRequestBody; } /** * */ export declare class CallsApi extends runtime.BaseAPI { /** * Creates request options for callOptions without sending the request */ callOptionsRequestOpts(requestParameters: CallOptionsRequest): Promise; /** * Enable CORS by returning correct headers * Call Options */ callOptionsRaw(requestParameters: CallOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Call Options */ callOptions(requestParameters: CallOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for callsOptions without sending the request */ callsOptionsRequestOpts(): Promise; /** * Enable CORS by returning correct headers * Calls Options */ callsOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Calls Options */ callsOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for createCall without sending the request */ createCallRequestOpts(requestParameters: CreateCallRequest): Promise; /** * Creates a new call in your account. ### Call\'s Attributes Here is a table that describes the attributes of the call object: | Attribute | Type | Description | |----------------------------|--------|-----------------------------------------------------------------------------| | `name` | string | The full name of the call. | | `status` | string | The current status of the call (e.g., active, inactive). | | `timestamps.created` | string | The date and time when the call was created (ISO 8601 format). | | `timestamps.modified` | string | The date and time when the call was last modified (ISO 8601 format). | * Create Call */ createCallRaw(requestParameters: CreateCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new call in your account. ### Call\'s Attributes Here is a table that describes the attributes of the call object: | Attribute | Type | Description | |----------------------------|--------|-----------------------------------------------------------------------------| | `name` | string | The full name of the call. | | `status` | string | The current status of the call (e.g., active, inactive). | | `timestamps.created` | string | The date and time when the call was created (ISO 8601 format). | | `timestamps.modified` | string | The date and time when the call was last modified (ISO 8601 format). | * Create Call */ createCall(requestParameters: CreateCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for deleteCall without sending the request */ deleteCallRequestOpts(requestParameters: DeleteCallRequest): Promise; /** * This endpoint allows you to delete a specific call from your account. Once deleted, the call\'s information will be permanently removed and cannot be recovered. * Delete Call */ deleteCallRaw(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint allows you to delete a specific call from your account. Once deleted, the call\'s information will be permanently removed and cannot be recovered. * Delete Call */ deleteCall(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for dialCall without sending the request */ dialCallRequestOpts(requestParameters: DialCallRequest): Promise; /** * Operator-driven immediate dial of an outbound call row. Bypasses the scheduler + workflow engine - used by the call web app\'s test-call button. The row must already exist (created via `createCall`), be `direction=outbound`, have `toIdentifier` set, and be in the review window (`status` in `draft` or `scheduled`). The outbound Fargate container loads the row from DDB on boot and reads its `systemPrompt` / `boeRole` / `boeContext` the same way it does for workflow-driven dials. * Dial Call */ dialCallRaw(requestParameters: DialCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Operator-driven immediate dial of an outbound call row. Bypasses the scheduler + workflow engine - used by the call web app\'s test-call button. The row must already exist (created via `createCall`), be `direction=outbound`, have `toIdentifier` set, and be in the review window (`status` in `draft` or `scheduled`). The outbound Fargate container loads the row from DDB on boot and reads its `systemPrompt` / `boeRole` / `boeContext` the same way it does for workflow-driven dials. * Dial Call */ dialCall(requestParameters: DialCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for dialCallOptions without sending the request */ dialCallOptionsRequestOpts(requestParameters: DialCallOptionsRequest): Promise; /** * Enable CORS by returning correct headers * Dial Call Options */ dialCallOptionsRaw(requestParameters: DialCallOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Dial Call Options */ dialCallOptions(requestParameters: DialCallOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listCalls without sending the request */ listCallsRequestOpts(requestParameters: ListCallsRequest): Promise; /** * Returns a collection of your account calls ## Overview Returns a collection of your account calls, sorted by the time they were inserted into the system in ascending order. ### Calls Endpoints Pagination The calls endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. :::tip Pagination tip Ensure that when using traditional pagination, you use `pageNumber`, and when using cursor-based pagination, you use either `pageAfter` or `pageBefore`, but not both together. ::: #### More information For more information, see the [pagination documentation](/docs/pagination). * List Calls */ listCallsRaw(requestParameters: ListCallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of your account calls ## Overview Returns a collection of your account calls, sorted by the time they were inserted into the system in ascending order. ### Calls Endpoints Pagination The calls endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. :::tip Pagination tip Ensure that when using traditional pagination, you use `pageNumber`, and when using cursor-based pagination, you use either `pageAfter` or `pageBefore`, but not both together. ::: #### More information For more information, see the [pagination documentation](/docs/pagination). * List Calls */ listCalls(requestParameters?: ListCallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for showCall without sending the request */ showCallRequestOpts(requestParameters: ShowCallRequest): Promise; /** * This endpoint retrieves details of a specific call from your account. You can view information such as name, and other relevant attributes of the form. * Show Call */ showCallRaw(requestParameters: ShowCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint retrieves details of a specific call from your account. You can view information such as name, and other relevant attributes of the form. * Show Call */ showCall(requestParameters: ShowCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for updateCall without sending the request */ updateCallRequestOpts(requestParameters: UpdateCallRequest): Promise; /** * This endpoint allows you to update details of a specific call in your account. You can modify information such as name, and other relevant attributes of the form. Only the fields provided in the request will be updated. * Update Call */ updateCallRaw(requestParameters: UpdateCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint allows you to update details of a specific call in your account. You can modify information such as name, and other relevant attributes of the form. Only the fields provided in the request will be updated. * Update Call */ updateCall(requestParameters: UpdateCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const ListCallsFilterStatusEnum: { readonly Draft: "draft"; readonly Scheduled: "scheduled"; readonly Active: "active"; readonly Incoming: "incoming"; readonly Outgoing: "outgoing"; readonly Missed: "missed"; readonly Cancelled: "cancelled"; readonly Archived: "archived"; }; export type ListCallsFilterStatusEnum = typeof ListCallsFilterStatusEnum[keyof typeof ListCallsFilterStatusEnum]; /** * @export */ export declare const ListCallsFilterDirectionEnum: { readonly Inbound: "inbound"; readonly Outbound: "outbound"; }; export type ListCallsFilterDirectionEnum = typeof ListCallsFilterDirectionEnum[keyof typeof ListCallsFilterDirectionEnum]; /** * @export */ export declare const ListCallsFilterProtocolEnum: { readonly Phone: "phone"; readonly Webrtc: "webrtc"; }; export type ListCallsFilterProtocolEnum = typeof ListCallsFilterProtocolEnum[keyof typeof ListCallsFilterProtocolEnum]; /** * @export */ export declare const ListCallsFilterIntentEnum: { readonly BriefRequest: "brief_request"; readonly JobApplication: "job_application"; readonly TalentPool: "talent_pool"; readonly StatusInquiry: "status_inquiry"; readonly WrongNumber: "wrong_number"; readonly SalesChat: "sales_chat"; readonly Faq: "faq"; readonly Other: "other"; }; export type ListCallsFilterIntentEnum = typeof ListCallsFilterIntentEnum[keyof typeof ListCallsFilterIntentEnum]; /** * @export */ export declare const ListCallsSortEnum: { readonly Created: "-created"; readonly Created2: "created"; readonly Modified: "-modified"; readonly Modified2: "modified"; }; export type ListCallsSortEnum = typeof ListCallsSortEnum[keyof typeof ListCallsSortEnum]; //# sourceMappingURL=CallsApi.d.ts.map