@talqing/sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -15
- package/dist/cjs/client.js +1 -1
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/gen/index.d.ts +1 -1
- package/dist/cjs/gen/index.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.d.ts +37 -54
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +255 -276
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +173 -164
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/gen/index.d.ts +1 -1
- package/dist/esm/gen/index.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +37 -54
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +255 -276
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +173 -164
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +270 -292
- package/src/gen/types.gen.ts +184 -175
package/src/gen/sdk.gen.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { client } from './client.gen.js';
|
|
4
4
|
import { buildClientParams, type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape } from './client/index.js';
|
|
5
|
-
import type { AddEmailRecipientsRequest, AddRecipientsRequest, AddVoiceRequest, AddWhatsAppRecipientsRequest, AgentsCreateErrors, AgentsCreateResults, AgentsDeleteErrors, AgentsDeleteResults, AgentsGetErrors, AgentsGetResults, AgentsListErrors, AgentsListResults, AgentsPublishErrors, AgentsPublishResults, AgentsUpdateErrors, AgentsUpdateResults, AgentsValidateErrors, AgentsValidateResults, AgentsVersionsGetErrors, AgentsVersionsGetResults, AgentsVersionsRollbackErrors, AgentsVersionsRollbackResults, AssignPhoneNumberRequest, BackfillAnalysisRequest, BillingCreditsCheckoutErrors, BillingCreditsCheckoutResults, BillingCreditsGetErrors, BillingCreditsGetResults, BillingCreditsLedgerErrors, BillingCreditsLedgerResults, CallsAnalysisBackfillErrors, CallsAnalysisBackfillResults, CallsAnalysisPreviewErrors, CallsAnalysisPreviewResults, CallsBatchesCancelErrors, CallsBatchesCancelResults, CallsBatchesCreateErrors, CallsBatchesCreateResults, CallsBatchesDeleteErrors, CallsBatchesDeleteResults, CallsBatchesGetErrors, CallsBatchesGetResults, CallsBatchesListErrors, CallsBatchesListResults, CallsBatchesPauseErrors, CallsBatchesPauseResults, CallsBatchesRecipientsAddErrors, CallsBatchesRecipientsAddResults, CallsBatchesRecipientsListErrors, CallsBatchesRecipientsListResults, CallsBatchesResumeErrors, CallsBatchesResumeResults, CallsBatchesUpdateErrors, CallsBatchesUpdateResults, CallsDeleteErrors, CallsDeleteResults, CallsGetErrors, CallsGetResults, CallsListErrors, CallsListResults, CallsOutboundErrors, CallsOutboundResults, CallsRecordingDeleteErrors, CallsRecordingDeleteResults, CallsRecordingGetErrors, CallsRecordingGetResults, CallsScreenRecordingGetErrors, CallsScreenRecordingGetResults, CallsStatsErrors, CallsStatsResults, CallsTokenErrors, CallsTokenResults, CatalogAvatarsListErrors, CatalogAvatarsListResults, CatalogGetErrors, CatalogGetResults, CatalogModelsHostsErrors, CatalogModelsHostsResults, CatalogModelsSearchErrors, CatalogModelsSearchResults, CatalogVoicesElevenlabsAddErrors, CatalogVoicesElevenlabsAddResults, CatalogVoicesElevenlabsSettingsErrors, CatalogVoicesElevenlabsSettingsResults, CatalogVoicesListErrors, CatalogVoicesListResults, ChatMessageRequest, ChatsAnalysisPreviewErrors, ChatsAnalysisPreviewResults, ChatsAnalysisRerunErrors, ChatsAnalysisRerunResults, ChatsCreateErrors, ChatsCreateResults, ChatsDeleteErrors, ChatsDeleteResults, ChatsDetailErrors, ChatsDetailResults, ChatsEndErrors, ChatsEndResults, ChatsGetErrors, ChatsGetResults, ChatsItemsListErrors, ChatsItemsListResults, ChatsListErrors, ChatsListResults, ChatsMessagesCreateErrors, ChatsMessagesCreateResults, ChatsTokensCreateErrors, ChatsTokensCreateResults, ConversationsEventsErrors, ConversationsEventsResult, ConversationsEventsResults, ConversationsGetErrors, ConversationsGetResults, ConversationsItemsListErrors, ConversationsItemsListResults, ConversationsListErrors, ConversationsListResults, ConversationsSessionsListErrors, ConversationsSessionsListResults, ConversationsSnapshotErrors, ConversationsSnapshotResults, ConversationsTraceErrors, ConversationsTraceResults, ConversationsUpdateErrors, ConversationsUpdateResults, CopilotAgentsSendErrors, CopilotAgentsSendResults, CopilotAgentsStreamErrors, CopilotAgentsStreamResult, CopilotAgentsStreamResults, CopilotTasksSendErrors, CopilotTasksSendResults, CopilotTasksStreamErrors, CopilotTasksStreamResult, CopilotTasksStreamResults, CopilotToolsSendErrors, CopilotToolsSendResults, CopilotToolsStreamErrors, CopilotToolsStreamResult, CopilotToolsStreamResults, CreateAgentRequest, CreateCallBatchRequest, CreateChatRequest, CreateEmailBatchRequest, CreateEmailSendRequest, CreateFaqEntriesRequest, CreateIntegrationRequest, CreateIntegrationTriggerRequest, CreateSecretRequest, CreateStreamConnectionRequest, CreateTaskRequest, CreateTelephonyAccountRequest, CreateToolRequest, CreateWebhookRequest, CreateWhatsAppBatchRequest, CreditCheckoutRequest, EmailBatchesCancelErrors, EmailBatchesCancelResults, EmailBatchesCreateErrors, EmailBatchesCreateResults, EmailBatchesDeleteErrors, EmailBatchesDeleteResults, EmailBatchesGetErrors, EmailBatchesGetResults, EmailBatchesListErrors, EmailBatchesListResults, EmailBatchesPauseErrors, EmailBatchesPauseResults, EmailBatchesRecipientsAddErrors, EmailBatchesRecipientsAddResults, EmailBatchesRecipientsListErrors, EmailBatchesRecipientsListResults, EmailBatchesRecipientsRedraftErrors, EmailBatchesRecipientsRedraftResults, EmailBatchesRecipientsRestoreErrors, EmailBatchesRecipientsRestoreResults, EmailBatchesRecipientsSkipErrors, EmailBatchesRecipientsSkipResults, EmailBatchesRecipientsUpdateErrors, EmailBatchesRecipientsUpdateResults, EmailBatchesResumeErrors, EmailBatchesResumeResults, EmailBatchesSendsCancelErrors, EmailBatchesSendsCancelResults, EmailBatchesSendsCreateErrors, EmailBatchesSendsCreateResults, EmailBatchesSendsGetErrors, EmailBatchesSendsGetResults, EmailBatchesSendsListErrors, EmailBatchesSendsListResults, EmailBatchesSendsPauseErrors, EmailBatchesSendsPauseResults, EmailBatchesSendsResumeErrors, EmailBatchesSendsResumeResults, EmailBatchesSendsUpdateErrors, EmailBatchesSendsUpdateResults, EmailBatchesUpdateErrors, EmailBatchesUpdateResults, EmailSendersListErrors, EmailSendersListResults, FaqDefinition, FaqsCreateErrors, FaqsCreateResults, FaqsDeleteErrors, FaqsDeleteResults, FaqsEntriesCreateErrors, FaqsEntriesCreateResults, FaqsEntriesDeleteErrors, FaqsEntriesDeleteResults, FaqsEntriesUpdateErrors, FaqsEntriesUpdateResults, FaqsGetErrors, FaqsGetResults, FaqsListErrors, FaqsListResults, FaqsUpdateErrors, FaqsUpdateResults, HealthErrors, HealthResults, ImportPhoneNumbersRequest, IntegrationsCatalogErrors, IntegrationsCatalogResults, IntegrationsCreateErrors, IntegrationsCreateResults, IntegrationsDeleteErrors, IntegrationsDeleteResults, IntegrationsGetErrors, IntegrationsGetResults, IntegrationsListErrors, IntegrationsListResults, IntegrationsMcpToolsListErrors, IntegrationsMcpToolsListResults, IntegrationsTriggersCreateErrors, IntegrationsTriggersCreateResults, IntegrationsTriggersDeleteErrors, IntegrationsTriggersDeleteResults, IntegrationsTriggersListErrors, IntegrationsTriggersListResults, IntegrationsTriggersUpdateErrors, IntegrationsTriggersUpdateResults, IntegrationsUpdateErrors, IntegrationsUpdateResults, ObservabilityGetErrors, ObservabilityGetResults, OutboundCallRequest, PatchCallBatchRequest, PatchConversationRequest, PatchEmailBatchRequest, PatchEmailRecipientRequest, PatchEmailSendRequest, PatchIntegrationRequest, PatchIntegrationTriggerRequest, PatchPhoneNumberRequest, PatchStreamConnectionRequest, PatchTaskRequest, PatchTelephonyAccountRequest, PatchToolRequest, PatchWebhookRequest, PatchWhatsAppBatchRequest, PatchWhatsAppRecipientRequest, PreviewAnalysisRequest, ProviderKeysDeleteErrors, ProviderKeysDeleteResults, ProviderKeysListErrors, ProviderKeysListResults, ProviderKeysSetErrors, ProviderKeysSetResults, PublishToolRequest, RedraftRequest, RunTaskRequest, RunToolRequest, SchemasFunctionsGetErrors, SchemasFunctionsGetResults, SchemasGetErrors, SchemasGetResults, SecretsCreateErrors, SecretsCreateResults, SecretsDeleteErrors, SecretsDeleteResults, SecretsListErrors, SecretsListResults, SelectRecipientsRequest, SendMessageRequest, SendWhatsAppBatchRequest, SetProviderKeyRequest, TasksCreateErrors, TasksCreateResults, TasksDeleteErrors, TasksDeleteResults, TasksGetErrors, TasksGetResults, TasksListErrors, TasksListResults, TasksPublishErrors, TasksPublishResults, TasksRunsCreateErrors, TasksRunsCreateResults, TasksRunsGetErrors, TasksRunsGetResults, TasksRunsListErrors, TasksRunsListResults, TasksUpdateErrors, TasksUpdateResults, TasksValidateErrors, TasksValidateResults, TasksVersionsGetErrors, TasksVersionsGetResults, TasksVersionsRollbackErrors, TasksVersionsRollbackResults, TelephonyAccountsCreateErrors, TelephonyAccountsCreateResults, TelephonyAccountsDeleteErrors, TelephonyAccountsDeleteResults, TelephonyAccountsGetErrors, TelephonyAccountsGetResults, TelephonyAccountsListErrors, TelephonyAccountsListResults, TelephonyAccountsProvisionErrors, TelephonyAccountsProvisionResults, TelephonyAccountsRemoteNumbersErrors, TelephonyAccountsRemoteNumbersResults, TelephonyAccountsUpdateErrors, TelephonyAccountsUpdateResults, TelephonyPhoneNumbersAssignErrors, TelephonyPhoneNumbersAssignResults, TelephonyPhoneNumbersGetErrors, TelephonyPhoneNumbersGetResults, TelephonyPhoneNumbersImportErrors, TelephonyPhoneNumbersImportResults, TelephonyPhoneNumbersListErrors, TelephonyPhoneNumbersListResults, TelephonyPhoneNumbersProvisionErrors, TelephonyPhoneNumbersProvisionResults, TelephonyPhoneNumbersUnassignErrors, TelephonyPhoneNumbersUnassignResults, TelephonyPhoneNumbersUpdateErrors, TelephonyPhoneNumbersUpdateResults, TelephonyProvidersListErrors, TelephonyProvidersListResults, TelephonyStreamsCreateErrors, TelephonyStreamsCreateResults, TelephonyStreamsDeleteErrors, TelephonyStreamsDeleteResults, TelephonyStreamsGetErrors, TelephonyStreamsGetResults, TelephonyStreamsListErrors, TelephonyStreamsListResults, TelephonyStreamsUpdateErrors, TelephonyStreamsUpdateResults, TokenRequest, ToolsCreateErrors, ToolsCreateResults, ToolsDeleteErrors, ToolsDeleteResults, ToolsGetErrors, ToolsGetResults, ToolsListErrors, ToolsListResults, ToolsPublishErrors, ToolsPublishResults, ToolsRunErrors, ToolsRunResults, ToolsUpdateErrors, ToolsUpdateResults, ToolsValidateErrors, ToolsValidateResults, ToolsVersionsGetErrors, ToolsVersionsGetResults, ToolsVersionsRollbackErrors, ToolsVersionsRollbackResults, TwilioSendersRequest, UpdateAgentRequest, UpdateFaqEntryRequest, UpdateFaqRequest, WebhooksCreateErrors, WebhooksCreateResults, WebhooksDeleteErrors, WebhooksDeleteResults, WebhooksDeliveriesErrors, WebhooksDeliveriesResults, WebhooksEventTypesErrors, WebhooksEventTypesResults, WebhooksListErrors, WebhooksListResults, WebhooksRotateSecretErrors, WebhooksRotateSecretResults, WebhooksTestErrors, WebhooksTestResults, WebhooksUpdateErrors, WebhooksUpdateResults, WhatsappBatchesCancelErrors, WhatsappBatchesCancelResults, WhatsappBatchesCreateErrors, WhatsappBatchesCreateResults, WhatsappBatchesDeleteErrors, WhatsappBatchesDeleteResults, WhatsappBatchesGetErrors, WhatsappBatchesGetResults, WhatsappBatchesListErrors, WhatsappBatchesListResults, WhatsappBatchesPauseErrors, WhatsappBatchesPauseResults, WhatsappBatchesRecipientsAddErrors, WhatsappBatchesRecipientsAddResults, WhatsappBatchesRecipientsListErrors, WhatsappBatchesRecipientsListResults, WhatsappBatchesRecipientsRestoreErrors, WhatsappBatchesRecipientsRestoreResults, WhatsappBatchesRecipientsSkipErrors, WhatsappBatchesRecipientsSkipResults, WhatsappBatchesRecipientsUpdateErrors, WhatsappBatchesRecipientsUpdateResults, WhatsappBatchesResumeErrors, WhatsappBatchesResumeResults, WhatsappBatchesSendErrors, WhatsappBatchesSendResults, WhatsappBatchesUpdateErrors, WhatsappBatchesUpdateResults, WhatsappTemplatesListErrors, WhatsappTemplatesListResults, WhatsappTwilioSendersListErrors, WhatsappTwilioSendersListResults } from './types.gen.js';
|
|
5
|
+
import type { AddEmailRecipientsRequest, AddRecipientsRequest, AddVoiceRequest, AddWhatsAppRecipientsRequest, AgentsCreateErrors, AgentsCreateResults, AgentsDeleteErrors, AgentsDeleteResults, AgentsGetErrors, AgentsGetResults, AgentsListErrors, AgentsListResults, AgentsPublishErrors, AgentsPublishResults, AgentsUpdateErrors, AgentsUpdateResults, AgentsValidateErrors, AgentsValidateResults, AgentsVersionsGetErrors, AgentsVersionsGetResults, AgentsVersionsRollbackErrors, AgentsVersionsRollbackResults, AssignPhoneNumberRequest, BackfillAnalysisRequest, BillingCreditsCheckoutErrors, BillingCreditsCheckoutResults, BillingCreditsGetErrors, BillingCreditsGetResults, BillingCreditsLedgerErrors, BillingCreditsLedgerResults, CallsAnalysisBackfillErrors, CallsAnalysisBackfillResults, CallsAnalysisPreviewErrors, CallsAnalysisPreviewResults, CallsBatchesCancelErrors, CallsBatchesCancelResults, CallsBatchesCreateErrors, CallsBatchesCreateResults, CallsBatchesDeleteErrors, CallsBatchesDeleteResults, CallsBatchesGetErrors, CallsBatchesGetResults, CallsBatchesListErrors, CallsBatchesListResults, CallsBatchesPauseErrors, CallsBatchesPauseResults, CallsBatchesRecipientsAddErrors, CallsBatchesRecipientsAddResults, CallsBatchesRecipientsDeleteErrors, CallsBatchesRecipientsDeleteResults, CallsBatchesRecipientsListErrors, CallsBatchesRecipientsListResults, CallsBatchesResumeErrors, CallsBatchesResumeResults, CallsBatchesUpdateErrors, CallsBatchesUpdateResults, CallsDeleteErrors, CallsDeleteResults, CallsGetErrors, CallsGetResults, CallsListErrors, CallsListResults, CallsOutboundErrors, CallsOutboundResults, CallsRecordingDeleteErrors, CallsRecordingDeleteResults, CallsRecordingGetErrors, CallsRecordingGetResults, CallsResumeErrors, CallsResumeResults, CallsScreenRecordingGetErrors, CallsScreenRecordingGetResults, CallsStatsErrors, CallsStatsResults, CallsTokenErrors, CallsTokenResults, CatalogAvatarsListErrors, CatalogAvatarsListResults, CatalogGetErrors, CatalogGetResults, CatalogModelsHostsErrors, CatalogModelsHostsResults, CatalogModelsSearchErrors, CatalogModelsSearchResults, CatalogVoicesElevenlabsAddErrors, CatalogVoicesElevenlabsAddResults, CatalogVoicesElevenlabsSettingsErrors, CatalogVoicesElevenlabsSettingsResults, CatalogVoicesListErrors, CatalogVoicesListResults, ChatMessageRequest, ChatsAnalysisPreviewErrors, ChatsAnalysisPreviewResults, ChatsAnalysisRerunErrors, ChatsAnalysisRerunResults, ChatsCreateErrors, ChatsCreateResults, ChatsDeleteErrors, ChatsDeleteResults, ChatsDetailErrors, ChatsDetailResults, ChatsEndErrors, ChatsEndResults, ChatsGetErrors, ChatsGetResults, ChatsItemsListErrors, ChatsItemsListResults, ChatsListErrors, ChatsListResults, ChatsMessagesCreateErrors, ChatsMessagesCreateResults, ChatsTokensCreateErrors, ChatsTokensCreateResults, ConversationsEventsErrors, ConversationsEventsResult, ConversationsEventsResults, ConversationsGetErrors, ConversationsGetResults, ConversationsItemsListErrors, ConversationsItemsListResults, ConversationsListErrors, ConversationsListResults, ConversationsSessionsListErrors, ConversationsSessionsListResults, ConversationsSnapshotErrors, ConversationsSnapshotResults, ConversationsTraceErrors, ConversationsTraceResults, ConversationsUpdateErrors, ConversationsUpdateResults, CopilotAgentsSendErrors, CopilotAgentsSendResults, CopilotAgentsStreamErrors, CopilotAgentsStreamResult, CopilotAgentsStreamResults, CopilotTasksSendErrors, CopilotTasksSendResults, CopilotTasksStreamErrors, CopilotTasksStreamResult, CopilotTasksStreamResults, CopilotToolsSendErrors, CopilotToolsSendResults, CopilotToolsStreamErrors, CopilotToolsStreamResult, CopilotToolsStreamResults, CreateAgentRequest, CreateCallBatchRequest, CreateChatRequest, CreateEmailBatchRequest, CreateEmailSendRequest, CreateFaqEntriesRequest, CreateIntegrationRequest, CreateIntegrationTriggerRequest, CreateSecretRequest, CreateStreamConnectionRequest, CreateTaskRequest, CreateTelephonyAccountRequest, CreateToolRequest, CreateWebhookRequest, CreateWhatsAppBatchRequest, CreditCheckoutRequest, DeleteRecipientsRequest, EmailBatchesCancelErrors, EmailBatchesCancelResults, EmailBatchesCreateErrors, EmailBatchesCreateResults, EmailBatchesDeleteErrors, EmailBatchesDeleteResults, EmailBatchesGetErrors, EmailBatchesGetResults, EmailBatchesListErrors, EmailBatchesListResults, EmailBatchesPauseErrors, EmailBatchesPauseResults, EmailBatchesRecipientsAddErrors, EmailBatchesRecipientsAddResults, EmailBatchesRecipientsDeleteErrors, EmailBatchesRecipientsDeleteResults, EmailBatchesRecipientsListErrors, EmailBatchesRecipientsListResults, EmailBatchesRecipientsRedraftErrors, EmailBatchesRecipientsRedraftResults, EmailBatchesRecipientsUpdateErrors, EmailBatchesRecipientsUpdateResults, EmailBatchesResumeErrors, EmailBatchesResumeResults, EmailBatchesSendsCancelErrors, EmailBatchesSendsCancelResults, EmailBatchesSendsCreateErrors, EmailBatchesSendsCreateResults, EmailBatchesSendsGetErrors, EmailBatchesSendsGetResults, EmailBatchesSendsListErrors, EmailBatchesSendsListResults, EmailBatchesSendsPauseErrors, EmailBatchesSendsPauseResults, EmailBatchesSendsResumeErrors, EmailBatchesSendsResumeResults, EmailBatchesSendsUpdateErrors, EmailBatchesSendsUpdateResults, EmailBatchesUpdateErrors, EmailBatchesUpdateResults, EmailSendersListErrors, EmailSendersListResults, FaqDefinition, FaqsCreateErrors, FaqsCreateResults, FaqsDeleteErrors, FaqsDeleteResults, FaqsEntriesCreateErrors, FaqsEntriesCreateResults, FaqsEntriesDeleteErrors, FaqsEntriesDeleteResults, FaqsEntriesUpdateErrors, FaqsEntriesUpdateResults, FaqsGetErrors, FaqsGetResults, FaqsListErrors, FaqsListResults, FaqsUpdateErrors, FaqsUpdateResults, HealthErrors, HealthResults, ImportPhoneNumbersRequest, IntegrationsCatalogErrors, IntegrationsCatalogResults, IntegrationsCreateErrors, IntegrationsCreateResults, IntegrationsDeleteErrors, IntegrationsDeleteResults, IntegrationsGetErrors, IntegrationsGetResults, IntegrationsListErrors, IntegrationsListResults, IntegrationsMcpToolsListErrors, IntegrationsMcpToolsListResults, IntegrationsTriggersCreateErrors, IntegrationsTriggersCreateResults, IntegrationsTriggersDeleteErrors, IntegrationsTriggersDeleteResults, IntegrationsTriggersListErrors, IntegrationsTriggersListResults, IntegrationsTriggersUpdateErrors, IntegrationsTriggersUpdateResults, IntegrationsUpdateErrors, IntegrationsUpdateResults, ObservabilityGetErrors, ObservabilityGetResults, OutboundCallRequest, PatchCallBatchRequest, PatchConversationRequest, PatchEmailBatchRequest, PatchEmailRecipientRequest, PatchEmailSendRequest, PatchIntegrationRequest, PatchIntegrationTriggerRequest, PatchPhoneNumberRequest, PatchStreamConnectionRequest, PatchTaskRequest, PatchTelephonyAccountRequest, PatchToolRequest, PatchWebhookRequest, PatchWhatsAppBatchRequest, PatchWhatsAppRecipientRequest, PreviewAnalysisRequest, ProviderKeysDeleteErrors, ProviderKeysDeleteResults, ProviderKeysListErrors, ProviderKeysListResults, ProviderKeysSetErrors, ProviderKeysSetResults, PublishToolRequest, RedraftRequest, RunTaskRequest, RunToolRequest, SchemasFunctionsGetErrors, SchemasFunctionsGetResults, SchemasGetErrors, SchemasGetResults, SecretsCreateErrors, SecretsCreateResults, SecretsDeleteErrors, SecretsDeleteResults, SecretsListErrors, SecretsListResults, SendMessageRequest, SendWhatsAppBatchRequest, SetProviderKeyRequest, TasksCreateErrors, TasksCreateResults, TasksDeleteErrors, TasksDeleteResults, TasksGetErrors, TasksGetResults, TasksListErrors, TasksListResults, TasksPublishErrors, TasksPublishResults, TasksRunsCreateErrors, TasksRunsCreateResults, TasksRunsGetErrors, TasksRunsGetResults, TasksRunsListErrors, TasksRunsListResults, TasksUpdateErrors, TasksUpdateResults, TasksValidateErrors, TasksValidateResults, TasksVersionsGetErrors, TasksVersionsGetResults, TasksVersionsRollbackErrors, TasksVersionsRollbackResults, TelephonyAccountsCreateErrors, TelephonyAccountsCreateResults, TelephonyAccountsDeleteErrors, TelephonyAccountsDeleteResults, TelephonyAccountsGetErrors, TelephonyAccountsGetResults, TelephonyAccountsListErrors, TelephonyAccountsListResults, TelephonyAccountsProvisionErrors, TelephonyAccountsProvisionResults, TelephonyAccountsRemoteNumbersErrors, TelephonyAccountsRemoteNumbersResults, TelephonyAccountsUpdateErrors, TelephonyAccountsUpdateResults, TelephonyPhoneNumbersAssignErrors, TelephonyPhoneNumbersAssignResults, TelephonyPhoneNumbersGetErrors, TelephonyPhoneNumbersGetResults, TelephonyPhoneNumbersImportErrors, TelephonyPhoneNumbersImportResults, TelephonyPhoneNumbersListErrors, TelephonyPhoneNumbersListResults, TelephonyPhoneNumbersProvisionErrors, TelephonyPhoneNumbersProvisionResults, TelephonyPhoneNumbersUnassignErrors, TelephonyPhoneNumbersUnassignResults, TelephonyPhoneNumbersUpdateErrors, TelephonyPhoneNumbersUpdateResults, TelephonyProvidersListErrors, TelephonyProvidersListResults, TelephonyStreamsCreateErrors, TelephonyStreamsCreateResults, TelephonyStreamsDeleteErrors, TelephonyStreamsDeleteResults, TelephonyStreamsGetErrors, TelephonyStreamsGetResults, TelephonyStreamsListErrors, TelephonyStreamsListResults, TelephonyStreamsUpdateErrors, TelephonyStreamsUpdateResults, TokenRequest, ToolsCreateErrors, ToolsCreateResults, ToolsDeleteErrors, ToolsDeleteResults, ToolsGetErrors, ToolsGetResults, ToolsListErrors, ToolsListResults, ToolsPublishErrors, ToolsPublishResults, ToolsRunErrors, ToolsRunResults, ToolsUpdateErrors, ToolsUpdateResults, ToolsValidateErrors, ToolsValidateResults, ToolsVersionsGetErrors, ToolsVersionsGetResults, ToolsVersionsRollbackErrors, ToolsVersionsRollbackResults, TwilioSendersRequest, UpdateAgentRequest, UpdateFaqEntryRequest, UpdateFaqRequest, WebhooksCreateErrors, WebhooksCreateResults, WebhooksDeleteErrors, WebhooksDeleteResults, WebhooksDeliveriesErrors, WebhooksDeliveriesResults, WebhooksEventTypesErrors, WebhooksEventTypesResults, WebhooksListErrors, WebhooksListResults, WebhooksRotateSecretErrors, WebhooksRotateSecretResults, WebhooksTestErrors, WebhooksTestResults, WebhooksUpdateErrors, WebhooksUpdateResults, WhatsappBatchesCancelErrors, WhatsappBatchesCancelResults, WhatsappBatchesCreateErrors, WhatsappBatchesCreateResults, WhatsappBatchesDeleteErrors, WhatsappBatchesDeleteResults, WhatsappBatchesGetErrors, WhatsappBatchesGetResults, WhatsappBatchesListErrors, WhatsappBatchesListResults, WhatsappBatchesPauseErrors, WhatsappBatchesPauseResults, WhatsappBatchesRecipientsAddErrors, WhatsappBatchesRecipientsAddResults, WhatsappBatchesRecipientsDeleteErrors, WhatsappBatchesRecipientsDeleteResults, WhatsappBatchesRecipientsListErrors, WhatsappBatchesRecipientsListResults, WhatsappBatchesRecipientsUpdateErrors, WhatsappBatchesRecipientsUpdateResults, WhatsappBatchesResumeErrors, WhatsappBatchesResumeResults, WhatsappBatchesSendErrors, WhatsappBatchesSendResults, WhatsappBatchesUpdateErrors, WhatsappBatchesUpdateResults, WhatsappTemplatesListErrors, WhatsappTemplatesListResults, WhatsappTwilioSendersListErrors, WhatsappTwilioSendersListResults } from './types.gen.js';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
8
8
|
/**
|
|
@@ -66,7 +66,7 @@ export class Versions extends HeyApiClient {
|
|
|
66
66
|
responseStyle: 'data',
|
|
67
67
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
68
68
|
in: 'cookie',
|
|
69
|
-
name: '
|
|
69
|
+
name: 'talqing_sid',
|
|
70
70
|
type: 'apiKey'
|
|
71
71
|
}],
|
|
72
72
|
url: '/v1/agents/{agent_id}/versions/{version}',
|
|
@@ -97,7 +97,7 @@ export class Versions extends HeyApiClient {
|
|
|
97
97
|
responseStyle: 'data',
|
|
98
98
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
99
99
|
in: 'cookie',
|
|
100
|
-
name: '
|
|
100
|
+
name: 'talqing_sid',
|
|
101
101
|
type: 'apiKey'
|
|
102
102
|
}],
|
|
103
103
|
url: '/v1/agents/{agent_id}/versions/{version}/rollback',
|
|
@@ -125,7 +125,7 @@ export class Agents extends HeyApiClient {
|
|
|
125
125
|
responseStyle: 'data',
|
|
126
126
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
127
127
|
in: 'cookie',
|
|
128
|
-
name: '
|
|
128
|
+
name: 'talqing_sid',
|
|
129
129
|
type: 'apiKey'
|
|
130
130
|
}],
|
|
131
131
|
url: '/v1/agents',
|
|
@@ -151,7 +151,7 @@ export class Agents extends HeyApiClient {
|
|
|
151
151
|
responseStyle: 'data',
|
|
152
152
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
153
153
|
in: 'cookie',
|
|
154
|
-
name: '
|
|
154
|
+
name: 'talqing_sid',
|
|
155
155
|
type: 'apiKey'
|
|
156
156
|
}],
|
|
157
157
|
url: '/v1/agents',
|
|
@@ -178,7 +178,7 @@ export class Agents extends HeyApiClient {
|
|
|
178
178
|
responseStyle: 'data',
|
|
179
179
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
180
180
|
in: 'cookie',
|
|
181
|
-
name: '
|
|
181
|
+
name: 'talqing_sid',
|
|
182
182
|
type: 'apiKey'
|
|
183
183
|
}],
|
|
184
184
|
url: '/v1/agents/{agent_id}',
|
|
@@ -200,7 +200,7 @@ export class Agents extends HeyApiClient {
|
|
|
200
200
|
responseStyle: 'data',
|
|
201
201
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
202
202
|
in: 'cookie',
|
|
203
|
-
name: '
|
|
203
|
+
name: 'talqing_sid',
|
|
204
204
|
type: 'apiKey'
|
|
205
205
|
}],
|
|
206
206
|
url: '/v1/agents/{agent_id}',
|
|
@@ -235,7 +235,7 @@ export class Agents extends HeyApiClient {
|
|
|
235
235
|
responseStyle: 'data',
|
|
236
236
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
237
237
|
in: 'cookie',
|
|
238
|
-
name: '
|
|
238
|
+
name: 'talqing_sid',
|
|
239
239
|
type: 'apiKey'
|
|
240
240
|
}],
|
|
241
241
|
url: '/v1/agents/{agent_id}',
|
|
@@ -266,7 +266,7 @@ export class Agents extends HeyApiClient {
|
|
|
266
266
|
responseStyle: 'data',
|
|
267
267
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
268
268
|
in: 'cookie',
|
|
269
|
-
name: '
|
|
269
|
+
name: 'talqing_sid',
|
|
270
270
|
type: 'apiKey'
|
|
271
271
|
}],
|
|
272
272
|
url: '/v1/agents/{agent_id}/publish',
|
|
@@ -293,7 +293,7 @@ export class Agents extends HeyApiClient {
|
|
|
293
293
|
responseStyle: 'data',
|
|
294
294
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
295
295
|
in: 'cookie',
|
|
296
|
-
name: '
|
|
296
|
+
name: 'talqing_sid',
|
|
297
297
|
type: 'apiKey'
|
|
298
298
|
}],
|
|
299
299
|
url: '/v1/agents/{agent_id}/validate',
|
|
@@ -312,20 +312,10 @@ export class Credits extends HeyApiClient {
|
|
|
312
312
|
/**
|
|
313
313
|
* Get Credits
|
|
314
314
|
*
|
|
315
|
-
* This workspace's credit balance
|
|
316
|
-
* top-up costs.
|
|
315
|
+
* This workspace's credit balance, what it buys, and what a top-up costs.
|
|
317
316
|
*
|
|
318
317
|
* Readable by every role: a VIEWER can start a web call, so a VIEWER must be
|
|
319
318
|
* able to see why one was refused.
|
|
320
|
-
*
|
|
321
|
-
* This is also where credit the control plane could not deliver lands. Anything
|
|
322
|
-
* it has issued for this workspace here — a purchase, a signup grant, a
|
|
323
|
-
* reversal — that this region has not written yet is applied before the balance
|
|
324
|
-
* is read. That is the backstop for a failed push, and it is a reconcile on
|
|
325
|
-
* demand rather than a timer: the moment someone cares is the moment this page
|
|
326
|
-
* loads, whether they arrived from the payment processor or from the "out of
|
|
327
|
-
* credits" banner. It costs nothing when there is nothing to apply, which is
|
|
328
|
-
* almost always.
|
|
329
319
|
*/
|
|
330
320
|
public get<ThrowOnError extends boolean = false>(parameters?: {
|
|
331
321
|
topup?: string | null;
|
|
@@ -335,7 +325,7 @@ export class Credits extends HeyApiClient {
|
|
|
335
325
|
responseStyle: 'data',
|
|
336
326
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
337
327
|
in: 'cookie',
|
|
338
|
-
name: '
|
|
328
|
+
name: 'talqing_sid',
|
|
339
329
|
type: 'apiKey'
|
|
340
330
|
}],
|
|
341
331
|
url: '/v1/billing/credits',
|
|
@@ -351,11 +341,6 @@ export class Credits extends HeyApiClient {
|
|
|
351
341
|
*
|
|
352
342
|
* Organization admins only — spending the workspace's money is an admin act,
|
|
353
343
|
* the same as storing a secret or a provider key.
|
|
354
|
-
*
|
|
355
|
-
* The credit lands in THIS region, and that is decided by which region's API
|
|
356
|
-
* you called rather than by anything in the request. A slug in a body could be
|
|
357
|
-
* pointed at the other region, where the money would then be stuck: balances
|
|
358
|
-
* are per region and there is no transfer between them.
|
|
359
344
|
*/
|
|
360
345
|
public checkout<ThrowOnError extends boolean = false>(parameters: {
|
|
361
346
|
creditCheckoutRequest: CreditCheckoutRequest;
|
|
@@ -365,7 +350,7 @@ export class Credits extends HeyApiClient {
|
|
|
365
350
|
responseStyle: 'data',
|
|
366
351
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
367
352
|
in: 'cookie',
|
|
368
|
-
name: '
|
|
353
|
+
name: 'talqing_sid',
|
|
369
354
|
type: 'apiKey'
|
|
370
355
|
}],
|
|
371
356
|
url: '/v1/billing/credits/checkout',
|
|
@@ -382,7 +367,7 @@ export class Credits extends HeyApiClient {
|
|
|
382
367
|
/**
|
|
383
368
|
* List Credit Ledger
|
|
384
369
|
*
|
|
385
|
-
* Every movement of this
|
|
370
|
+
* Every movement of this workspace's balance, newest first, with what caused each.
|
|
386
371
|
*/
|
|
387
372
|
public ledger<ThrowOnError extends boolean = false>(parameters?: {
|
|
388
373
|
limit?: number;
|
|
@@ -393,7 +378,7 @@ export class Credits extends HeyApiClient {
|
|
|
393
378
|
responseStyle: 'data',
|
|
394
379
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
395
380
|
in: 'cookie',
|
|
396
|
-
name: '
|
|
381
|
+
name: 'talqing_sid',
|
|
397
382
|
type: 'apiKey'
|
|
398
383
|
}],
|
|
399
384
|
url: '/v1/billing/credits/ledger',
|
|
@@ -425,7 +410,7 @@ export class ProviderKeys extends HeyApiClient {
|
|
|
425
410
|
responseStyle: 'data',
|
|
426
411
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
427
412
|
in: 'cookie',
|
|
428
|
-
name: '
|
|
413
|
+
name: 'talqing_sid',
|
|
429
414
|
type: 'apiKey'
|
|
430
415
|
}],
|
|
431
416
|
url: '/v1/byok',
|
|
@@ -447,7 +432,7 @@ export class ProviderKeys extends HeyApiClient {
|
|
|
447
432
|
responseStyle: 'data',
|
|
448
433
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
449
434
|
in: 'cookie',
|
|
450
|
-
name: '
|
|
435
|
+
name: 'talqing_sid',
|
|
451
436
|
type: 'apiKey'
|
|
452
437
|
}],
|
|
453
438
|
url: '/v1/byok/{provider}',
|
|
@@ -475,7 +460,7 @@ export class ProviderKeys extends HeyApiClient {
|
|
|
475
460
|
responseStyle: 'data',
|
|
476
461
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
477
462
|
in: 'cookie',
|
|
478
|
-
name: '
|
|
463
|
+
name: 'talqing_sid',
|
|
479
464
|
type: 'apiKey'
|
|
480
465
|
}],
|
|
481
466
|
url: '/v1/byok/{provider}',
|
|
@@ -511,7 +496,7 @@ export class Analysis extends HeyApiClient {
|
|
|
511
496
|
responseStyle: 'data',
|
|
512
497
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
513
498
|
in: 'cookie',
|
|
514
|
-
name: '
|
|
499
|
+
name: 'talqing_sid',
|
|
515
500
|
type: 'apiKey'
|
|
516
501
|
}],
|
|
517
502
|
url: '/v1/calls/analysis/backfill',
|
|
@@ -544,7 +529,7 @@ export class Analysis extends HeyApiClient {
|
|
|
544
529
|
responseStyle: 'data',
|
|
545
530
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
546
531
|
in: 'cookie',
|
|
547
|
-
name: '
|
|
532
|
+
name: 'talqing_sid',
|
|
548
533
|
type: 'apiKey'
|
|
549
534
|
}],
|
|
550
535
|
url: '/v1/calls/{session_id}/analysis/preview',
|
|
@@ -586,7 +571,7 @@ export class Recipients extends HeyApiClient {
|
|
|
586
571
|
responseStyle: 'data',
|
|
587
572
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
588
573
|
in: 'cookie',
|
|
589
|
-
name: '
|
|
574
|
+
name: 'talqing_sid',
|
|
590
575
|
type: 'apiKey'
|
|
591
576
|
}],
|
|
592
577
|
url: '/v1/calls/batches/{batch_id}/recipients',
|
|
@@ -613,7 +598,7 @@ export class Recipients extends HeyApiClient {
|
|
|
613
598
|
responseStyle: 'data',
|
|
614
599
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
615
600
|
in: 'cookie',
|
|
616
|
-
name: '
|
|
601
|
+
name: 'talqing_sid',
|
|
617
602
|
type: 'apiKey'
|
|
618
603
|
}],
|
|
619
604
|
url: '/v1/calls/batches/{batch_id}/recipients',
|
|
@@ -626,6 +611,34 @@ export class Recipients extends HeyApiClient {
|
|
|
626
611
|
}
|
|
627
612
|
});
|
|
628
613
|
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Delete Call Batch Recipients
|
|
617
|
+
*
|
|
618
|
+
* Remove rows that were never dialled. Not reversible; a dialled row is refused in `rejected`.
|
|
619
|
+
*/
|
|
620
|
+
public delete<ThrowOnError extends boolean = false>(parameters: {
|
|
621
|
+
batch_id: string;
|
|
622
|
+
deleteRecipientsRequest: DeleteRecipientsRequest;
|
|
623
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<CallsBatchesRecipientsDeleteResults, CallsBatchesRecipientsDeleteErrors, ThrowOnError, 'data'> {
|
|
624
|
+
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
625
|
+
return (options?.client ?? this.client).post<CallsBatchesRecipientsDeleteResults, CallsBatchesRecipientsDeleteErrors, ThrowOnError, 'data'>({
|
|
626
|
+
responseStyle: 'data',
|
|
627
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
628
|
+
in: 'cookie',
|
|
629
|
+
name: 'talqing_sid',
|
|
630
|
+
type: 'apiKey'
|
|
631
|
+
}],
|
|
632
|
+
url: '/v1/calls/batches/{batch_id}/recipients/delete',
|
|
633
|
+
...options,
|
|
634
|
+
...params,
|
|
635
|
+
headers: {
|
|
636
|
+
'Content-Type': 'application/json',
|
|
637
|
+
...options?.headers,
|
|
638
|
+
...params.headers
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
}
|
|
629
642
|
}
|
|
630
643
|
|
|
631
644
|
export class Batches extends HeyApiClient {
|
|
@@ -654,7 +667,7 @@ export class Batches extends HeyApiClient {
|
|
|
654
667
|
responseStyle: 'data',
|
|
655
668
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
656
669
|
in: 'cookie',
|
|
657
|
-
name: '
|
|
670
|
+
name: 'talqing_sid',
|
|
658
671
|
type: 'apiKey'
|
|
659
672
|
}],
|
|
660
673
|
url: '/v1/calls/batches',
|
|
@@ -697,7 +710,7 @@ export class Batches extends HeyApiClient {
|
|
|
697
710
|
responseStyle: 'data',
|
|
698
711
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
699
712
|
in: 'cookie',
|
|
700
|
-
name: '
|
|
713
|
+
name: 'talqing_sid',
|
|
701
714
|
type: 'apiKey'
|
|
702
715
|
}],
|
|
703
716
|
url: '/v1/calls/batches',
|
|
@@ -726,7 +739,7 @@ export class Batches extends HeyApiClient {
|
|
|
726
739
|
responseStyle: 'data',
|
|
727
740
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
728
741
|
in: 'cookie',
|
|
729
|
-
name: '
|
|
742
|
+
name: 'talqing_sid',
|
|
730
743
|
type: 'apiKey'
|
|
731
744
|
}],
|
|
732
745
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -751,7 +764,7 @@ export class Batches extends HeyApiClient {
|
|
|
751
764
|
responseStyle: 'data',
|
|
752
765
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
753
766
|
in: 'cookie',
|
|
754
|
-
name: '
|
|
767
|
+
name: 'talqing_sid',
|
|
755
768
|
type: 'apiKey'
|
|
756
769
|
}],
|
|
757
770
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -780,7 +793,7 @@ export class Batches extends HeyApiClient {
|
|
|
780
793
|
responseStyle: 'data',
|
|
781
794
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
782
795
|
in: 'cookie',
|
|
783
|
-
name: '
|
|
796
|
+
name: 'talqing_sid',
|
|
784
797
|
type: 'apiKey'
|
|
785
798
|
}],
|
|
786
799
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -811,7 +824,7 @@ export class Batches extends HeyApiClient {
|
|
|
811
824
|
responseStyle: 'data',
|
|
812
825
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
813
826
|
in: 'cookie',
|
|
814
|
-
name: '
|
|
827
|
+
name: 'talqing_sid',
|
|
815
828
|
type: 'apiKey'
|
|
816
829
|
}],
|
|
817
830
|
url: '/v1/calls/batches/{batch_id}/cancel',
|
|
@@ -835,7 +848,7 @@ export class Batches extends HeyApiClient {
|
|
|
835
848
|
responseStyle: 'data',
|
|
836
849
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
837
850
|
in: 'cookie',
|
|
838
|
-
name: '
|
|
851
|
+
name: 'talqing_sid',
|
|
839
852
|
type: 'apiKey'
|
|
840
853
|
}],
|
|
841
854
|
url: '/v1/calls/batches/{batch_id}/pause',
|
|
@@ -860,7 +873,7 @@ export class Batches extends HeyApiClient {
|
|
|
860
873
|
responseStyle: 'data',
|
|
861
874
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
862
875
|
in: 'cookie',
|
|
863
|
-
name: '
|
|
876
|
+
name: 'talqing_sid',
|
|
864
877
|
type: 'apiKey'
|
|
865
878
|
}],
|
|
866
879
|
url: '/v1/calls/batches/{batch_id}/resume',
|
|
@@ -898,7 +911,7 @@ export class Recording extends HeyApiClient {
|
|
|
898
911
|
responseStyle: 'data',
|
|
899
912
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
900
913
|
in: 'cookie',
|
|
901
|
-
name: '
|
|
914
|
+
name: 'talqing_sid',
|
|
902
915
|
type: 'apiKey'
|
|
903
916
|
}],
|
|
904
917
|
url: '/v1/calls/{session_id}/recording',
|
|
@@ -940,7 +953,7 @@ export class Recording extends HeyApiClient {
|
|
|
940
953
|
responseStyle: 'data',
|
|
941
954
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
942
955
|
in: 'cookie',
|
|
943
|
-
name: '
|
|
956
|
+
name: 'talqing_sid',
|
|
944
957
|
type: 'apiKey'
|
|
945
958
|
}],
|
|
946
959
|
url: '/v1/calls/{session_id}/recording',
|
|
@@ -977,7 +990,7 @@ export class ScreenRecording extends HeyApiClient {
|
|
|
977
990
|
responseStyle: 'data',
|
|
978
991
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
979
992
|
in: 'cookie',
|
|
980
|
-
name: '
|
|
993
|
+
name: 'talqing_sid',
|
|
981
994
|
type: 'apiKey'
|
|
982
995
|
}],
|
|
983
996
|
url: '/v1/calls/{session_id}/screen-recording',
|
|
@@ -1028,7 +1041,7 @@ export class Calls extends HeyApiClient {
|
|
|
1028
1041
|
responseStyle: 'data',
|
|
1029
1042
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1030
1043
|
in: 'cookie',
|
|
1031
|
-
name: '
|
|
1044
|
+
name: 'talqing_sid',
|
|
1032
1045
|
type: 'apiKey'
|
|
1033
1046
|
}],
|
|
1034
1047
|
url: '/v1/calls',
|
|
@@ -1062,7 +1075,7 @@ export class Calls extends HeyApiClient {
|
|
|
1062
1075
|
responseStyle: 'data',
|
|
1063
1076
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1064
1077
|
in: 'cookie',
|
|
1065
|
-
name: '
|
|
1078
|
+
name: 'talqing_sid',
|
|
1066
1079
|
type: 'apiKey'
|
|
1067
1080
|
}],
|
|
1068
1081
|
url: '/v1/calls/outbound',
|
|
@@ -1099,7 +1112,7 @@ export class Calls extends HeyApiClient {
|
|
|
1099
1112
|
responseStyle: 'data',
|
|
1100
1113
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1101
1114
|
in: 'cookie',
|
|
1102
|
-
name: '
|
|
1115
|
+
name: 'talqing_sid',
|
|
1103
1116
|
type: 'apiKey'
|
|
1104
1117
|
}],
|
|
1105
1118
|
url: '/v1/calls/stats',
|
|
@@ -1132,7 +1145,7 @@ export class Calls extends HeyApiClient {
|
|
|
1132
1145
|
responseStyle: 'data',
|
|
1133
1146
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1134
1147
|
in: 'cookie',
|
|
1135
|
-
name: '
|
|
1148
|
+
name: 'talqing_sid',
|
|
1136
1149
|
type: 'apiKey'
|
|
1137
1150
|
}],
|
|
1138
1151
|
url: '/v1/calls/token',
|
|
@@ -1181,7 +1194,7 @@ export class Calls extends HeyApiClient {
|
|
|
1181
1194
|
responseStyle: 'data',
|
|
1182
1195
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1183
1196
|
in: 'cookie',
|
|
1184
|
-
name: '
|
|
1197
|
+
name: 'talqing_sid',
|
|
1185
1198
|
type: 'apiKey'
|
|
1186
1199
|
}],
|
|
1187
1200
|
url: '/v1/calls/{session_id}',
|
|
@@ -1212,7 +1225,7 @@ export class Calls extends HeyApiClient {
|
|
|
1212
1225
|
responseStyle: 'data',
|
|
1213
1226
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1214
1227
|
in: 'cookie',
|
|
1215
|
-
name: '
|
|
1228
|
+
name: 'talqing_sid',
|
|
1216
1229
|
type: 'apiKey'
|
|
1217
1230
|
}],
|
|
1218
1231
|
url: '/v1/calls/{session_id}',
|
|
@@ -1221,6 +1234,31 @@ export class Calls extends HeyApiClient {
|
|
|
1221
1234
|
});
|
|
1222
1235
|
}
|
|
1223
1236
|
|
|
1237
|
+
/**
|
|
1238
|
+
* Resume Call
|
|
1239
|
+
*
|
|
1240
|
+
* Mint a token for a new web call that continues one that ended.
|
|
1241
|
+
*
|
|
1242
|
+
* It answers with the agent that held the floor, with the context it had. 409
|
|
1243
|
+
* if the call is not a web call, is still ending, or was already resumed.
|
|
1244
|
+
*/
|
|
1245
|
+
public resume<ThrowOnError extends boolean = false>(parameters: {
|
|
1246
|
+
session_id: string;
|
|
1247
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<CallsResumeResults, CallsResumeErrors, ThrowOnError, 'data'> {
|
|
1248
|
+
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'session_id' }] }]);
|
|
1249
|
+
return (options?.client ?? this.client).post<CallsResumeResults, CallsResumeErrors, ThrowOnError, 'data'>({
|
|
1250
|
+
responseStyle: 'data',
|
|
1251
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1252
|
+
in: 'cookie',
|
|
1253
|
+
name: 'talqing_sid',
|
|
1254
|
+
type: 'apiKey'
|
|
1255
|
+
}],
|
|
1256
|
+
url: '/v1/calls/{session_id}/resume',
|
|
1257
|
+
...options,
|
|
1258
|
+
...params
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1224
1262
|
private _analysis?: Analysis;
|
|
1225
1263
|
get analysis(): Analysis {
|
|
1226
1264
|
return this._analysis ??= new Analysis({ client: this.client });
|
|
@@ -1271,7 +1309,7 @@ export class Avatars extends HeyApiClient {
|
|
|
1271
1309
|
responseStyle: 'data',
|
|
1272
1310
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1273
1311
|
in: 'cookie',
|
|
1274
|
-
name: '
|
|
1312
|
+
name: 'talqing_sid',
|
|
1275
1313
|
type: 'apiKey'
|
|
1276
1314
|
}],
|
|
1277
1315
|
url: '/v1/catalog/avatars',
|
|
@@ -1309,7 +1347,7 @@ export class Models extends HeyApiClient {
|
|
|
1309
1347
|
responseStyle: 'data',
|
|
1310
1348
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1311
1349
|
in: 'cookie',
|
|
1312
|
-
name: '
|
|
1350
|
+
name: 'talqing_sid',
|
|
1313
1351
|
type: 'apiKey'
|
|
1314
1352
|
}],
|
|
1315
1353
|
url: '/v1/catalog/models',
|
|
@@ -1332,7 +1370,7 @@ export class Models extends HeyApiClient {
|
|
|
1332
1370
|
responseStyle: 'data',
|
|
1333
1371
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1334
1372
|
in: 'cookie',
|
|
1335
|
-
name: '
|
|
1373
|
+
name: 'talqing_sid',
|
|
1336
1374
|
type: 'apiKey'
|
|
1337
1375
|
}],
|
|
1338
1376
|
url: '/v1/catalog/models/hosts',
|
|
@@ -1361,7 +1399,7 @@ export class Elevenlabs extends HeyApiClient {
|
|
|
1361
1399
|
responseStyle: 'data',
|
|
1362
1400
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1363
1401
|
in: 'cookie',
|
|
1364
|
-
name: '
|
|
1402
|
+
name: 'talqing_sid',
|
|
1365
1403
|
type: 'apiKey'
|
|
1366
1404
|
}],
|
|
1367
1405
|
url: '/v1/catalog/voices/elevenlabs/add',
|
|
@@ -1396,7 +1434,7 @@ export class Elevenlabs extends HeyApiClient {
|
|
|
1396
1434
|
responseStyle: 'data',
|
|
1397
1435
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1398
1436
|
in: 'cookie',
|
|
1399
|
-
name: '
|
|
1437
|
+
name: 'talqing_sid',
|
|
1400
1438
|
type: 'apiKey'
|
|
1401
1439
|
}],
|
|
1402
1440
|
url: '/v1/catalog/voices/elevenlabs/{voice_id}/settings',
|
|
@@ -1444,7 +1482,7 @@ export class Voices extends HeyApiClient {
|
|
|
1444
1482
|
responseStyle: 'data',
|
|
1445
1483
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1446
1484
|
in: 'cookie',
|
|
1447
|
-
name: '
|
|
1485
|
+
name: 'talqing_sid',
|
|
1448
1486
|
type: 'apiKey'
|
|
1449
1487
|
}],
|
|
1450
1488
|
url: '/v1/catalog/voices',
|
|
@@ -1483,7 +1521,7 @@ export class Catalog extends HeyApiClient {
|
|
|
1483
1521
|
responseStyle: 'data',
|
|
1484
1522
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1485
1523
|
in: 'cookie',
|
|
1486
|
-
name: '
|
|
1524
|
+
name: 'talqing_sid',
|
|
1487
1525
|
type: 'apiKey'
|
|
1488
1526
|
}],
|
|
1489
1527
|
url: '/v1/catalog',
|
|
@@ -1523,7 +1561,7 @@ export class Analysis2 extends HeyApiClient {
|
|
|
1523
1561
|
responseStyle: 'data',
|
|
1524
1562
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1525
1563
|
in: 'cookie',
|
|
1526
|
-
name: '
|
|
1564
|
+
name: 'talqing_sid',
|
|
1527
1565
|
type: 'apiKey'
|
|
1528
1566
|
}],
|
|
1529
1567
|
url: '/v1/chats/{chat_id}/analysis',
|
|
@@ -1546,7 +1584,7 @@ export class Analysis2 extends HeyApiClient {
|
|
|
1546
1584
|
responseStyle: 'data',
|
|
1547
1585
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1548
1586
|
in: 'cookie',
|
|
1549
|
-
name: '
|
|
1587
|
+
name: 'talqing_sid',
|
|
1550
1588
|
type: 'apiKey'
|
|
1551
1589
|
}],
|
|
1552
1590
|
url: '/v1/chats/{chat_id}/analysis/preview',
|
|
@@ -1583,7 +1621,7 @@ export class Items extends HeyApiClient {
|
|
|
1583
1621
|
responseStyle: 'data',
|
|
1584
1622
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1585
1623
|
in: 'cookie',
|
|
1586
|
-
name: '
|
|
1624
|
+
name: 'talqing_sid',
|
|
1587
1625
|
type: 'apiKey'
|
|
1588
1626
|
}],
|
|
1589
1627
|
url: '/v1/chats/{chat_id}/items',
|
|
@@ -1611,7 +1649,7 @@ export class Messages extends HeyApiClient {
|
|
|
1611
1649
|
responseStyle: 'data',
|
|
1612
1650
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1613
1651
|
in: 'cookie',
|
|
1614
|
-
name: '
|
|
1652
|
+
name: 'talqing_sid',
|
|
1615
1653
|
type: 'apiKey'
|
|
1616
1654
|
}],
|
|
1617
1655
|
url: '/v1/chats/{chat_id}/messages',
|
|
@@ -1640,7 +1678,7 @@ export class Tokens extends HeyApiClient {
|
|
|
1640
1678
|
responseStyle: 'data',
|
|
1641
1679
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1642
1680
|
in: 'cookie',
|
|
1643
|
-
name: '
|
|
1681
|
+
name: 'talqing_sid',
|
|
1644
1682
|
type: 'apiKey'
|
|
1645
1683
|
}],
|
|
1646
1684
|
url: '/v1/chats/{chat_id}/token',
|
|
@@ -1674,7 +1712,7 @@ export class Chats extends HeyApiClient {
|
|
|
1674
1712
|
responseStyle: 'data',
|
|
1675
1713
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1676
1714
|
in: 'cookie',
|
|
1677
|
-
name: '
|
|
1715
|
+
name: 'talqing_sid',
|
|
1678
1716
|
type: 'apiKey'
|
|
1679
1717
|
}],
|
|
1680
1718
|
url: '/v1/chats',
|
|
@@ -1699,7 +1737,7 @@ export class Chats extends HeyApiClient {
|
|
|
1699
1737
|
responseStyle: 'data',
|
|
1700
1738
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1701
1739
|
in: 'cookie',
|
|
1702
|
-
name: '
|
|
1740
|
+
name: 'talqing_sid',
|
|
1703
1741
|
type: 'apiKey'
|
|
1704
1742
|
}],
|
|
1705
1743
|
url: '/v1/chats',
|
|
@@ -1726,7 +1764,7 @@ export class Chats extends HeyApiClient {
|
|
|
1726
1764
|
responseStyle: 'data',
|
|
1727
1765
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1728
1766
|
in: 'cookie',
|
|
1729
|
-
name: '
|
|
1767
|
+
name: 'talqing_sid',
|
|
1730
1768
|
type: 'apiKey'
|
|
1731
1769
|
}],
|
|
1732
1770
|
url: '/v1/chats/{chat_id}',
|
|
@@ -1748,7 +1786,7 @@ export class Chats extends HeyApiClient {
|
|
|
1748
1786
|
responseStyle: 'data',
|
|
1749
1787
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1750
1788
|
in: 'cookie',
|
|
1751
|
-
name: '
|
|
1789
|
+
name: 'talqing_sid',
|
|
1752
1790
|
type: 'apiKey'
|
|
1753
1791
|
}],
|
|
1754
1792
|
url: '/v1/chats/{chat_id}',
|
|
@@ -1770,7 +1808,7 @@ export class Chats extends HeyApiClient {
|
|
|
1770
1808
|
responseStyle: 'data',
|
|
1771
1809
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1772
1810
|
in: 'cookie',
|
|
1773
|
-
name: '
|
|
1811
|
+
name: 'talqing_sid',
|
|
1774
1812
|
type: 'apiKey'
|
|
1775
1813
|
}],
|
|
1776
1814
|
url: '/v1/chats/{chat_id}/detail',
|
|
@@ -1792,7 +1830,7 @@ export class Chats extends HeyApiClient {
|
|
|
1792
1830
|
responseStyle: 'data',
|
|
1793
1831
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1794
1832
|
in: 'cookie',
|
|
1795
|
-
name: '
|
|
1833
|
+
name: 'talqing_sid',
|
|
1796
1834
|
type: 'apiKey'
|
|
1797
1835
|
}],
|
|
1798
1836
|
url: '/v1/chats/{chat_id}/end',
|
|
@@ -1849,7 +1887,7 @@ export class Items2 extends HeyApiClient {
|
|
|
1849
1887
|
responseStyle: 'data',
|
|
1850
1888
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1851
1889
|
in: 'cookie',
|
|
1852
|
-
name: '
|
|
1890
|
+
name: 'talqing_sid',
|
|
1853
1891
|
type: 'apiKey'
|
|
1854
1892
|
}],
|
|
1855
1893
|
url: '/v1/conversations/{conversation_id}/items',
|
|
@@ -1883,7 +1921,7 @@ export class Sessions extends HeyApiClient {
|
|
|
1883
1921
|
responseStyle: 'data',
|
|
1884
1922
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1885
1923
|
in: 'cookie',
|
|
1886
|
-
name: '
|
|
1924
|
+
name: 'talqing_sid',
|
|
1887
1925
|
type: 'apiKey'
|
|
1888
1926
|
}],
|
|
1889
1927
|
url: '/v1/conversations/{conversation_id}/sessions',
|
|
@@ -1921,7 +1959,7 @@ export class Conversations extends HeyApiClient {
|
|
|
1921
1959
|
responseStyle: 'data',
|
|
1922
1960
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1923
1961
|
in: 'cookie',
|
|
1924
|
-
name: '
|
|
1962
|
+
name: 'talqing_sid',
|
|
1925
1963
|
type: 'apiKey'
|
|
1926
1964
|
}],
|
|
1927
1965
|
url: '/v1/conversations',
|
|
@@ -1948,7 +1986,7 @@ export class Conversations extends HeyApiClient {
|
|
|
1948
1986
|
responseStyle: 'data',
|
|
1949
1987
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1950
1988
|
in: 'cookie',
|
|
1951
|
-
name: '
|
|
1989
|
+
name: 'talqing_sid',
|
|
1952
1990
|
type: 'apiKey'
|
|
1953
1991
|
}],
|
|
1954
1992
|
url: '/v1/conversations/{conversation_id}',
|
|
@@ -1977,7 +2015,7 @@ export class Conversations extends HeyApiClient {
|
|
|
1977
2015
|
responseStyle: 'data',
|
|
1978
2016
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1979
2017
|
in: 'cookie',
|
|
1980
|
-
name: '
|
|
2018
|
+
name: 'talqing_sid',
|
|
1981
2019
|
type: 'apiKey'
|
|
1982
2020
|
}],
|
|
1983
2021
|
url: '/v1/conversations/{conversation_id}',
|
|
@@ -2012,7 +2050,7 @@ export class Conversations extends HeyApiClient {
|
|
|
2012
2050
|
responseStyle: 'data',
|
|
2013
2051
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2014
2052
|
in: 'cookie',
|
|
2015
|
-
name: '
|
|
2053
|
+
name: 'talqing_sid',
|
|
2016
2054
|
type: 'apiKey'
|
|
2017
2055
|
}],
|
|
2018
2056
|
url: '/v1/conversations/{conversation_id}/events',
|
|
@@ -2039,7 +2077,7 @@ export class Conversations extends HeyApiClient {
|
|
|
2039
2077
|
responseStyle: 'data',
|
|
2040
2078
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2041
2079
|
in: 'cookie',
|
|
2042
|
-
name: '
|
|
2080
|
+
name: 'talqing_sid',
|
|
2043
2081
|
type: 'apiKey'
|
|
2044
2082
|
}],
|
|
2045
2083
|
url: '/v1/conversations/{conversation_id}/snapshot',
|
|
@@ -2067,7 +2105,7 @@ export class Conversations extends HeyApiClient {
|
|
|
2067
2105
|
responseStyle: 'data',
|
|
2068
2106
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2069
2107
|
in: 'cookie',
|
|
2070
|
-
name: '
|
|
2108
|
+
name: 'talqing_sid',
|
|
2071
2109
|
type: 'apiKey'
|
|
2072
2110
|
}],
|
|
2073
2111
|
url: '/v1/conversations/{conversation_id}/trace',
|
|
@@ -2105,7 +2143,7 @@ export class Agents2 extends HeyApiClient {
|
|
|
2105
2143
|
responseStyle: 'data',
|
|
2106
2144
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2107
2145
|
in: 'cookie',
|
|
2108
|
-
name: '
|
|
2146
|
+
name: 'talqing_sid',
|
|
2109
2147
|
type: 'apiKey'
|
|
2110
2148
|
}],
|
|
2111
2149
|
url: '/v1/copilot/agents/{agent_id}/messages',
|
|
@@ -2136,7 +2174,7 @@ export class Agents2 extends HeyApiClient {
|
|
|
2136
2174
|
responseStyle: 'data',
|
|
2137
2175
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2138
2176
|
in: 'cookie',
|
|
2139
|
-
name: '
|
|
2177
|
+
name: 'talqing_sid',
|
|
2140
2178
|
type: 'apiKey'
|
|
2141
2179
|
}],
|
|
2142
2180
|
url: '/v1/copilot/agents/{agent_id}/stream',
|
|
@@ -2164,7 +2202,7 @@ export class Tasks extends HeyApiClient {
|
|
|
2164
2202
|
responseStyle: 'data',
|
|
2165
2203
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2166
2204
|
in: 'cookie',
|
|
2167
|
-
name: '
|
|
2205
|
+
name: 'talqing_sid',
|
|
2168
2206
|
type: 'apiKey'
|
|
2169
2207
|
}],
|
|
2170
2208
|
url: '/v1/copilot/tasks/{task_id}/messages',
|
|
@@ -2195,7 +2233,7 @@ export class Tasks extends HeyApiClient {
|
|
|
2195
2233
|
responseStyle: 'data',
|
|
2196
2234
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2197
2235
|
in: 'cookie',
|
|
2198
|
-
name: '
|
|
2236
|
+
name: 'talqing_sid',
|
|
2199
2237
|
type: 'apiKey'
|
|
2200
2238
|
}],
|
|
2201
2239
|
url: '/v1/copilot/tasks/{task_id}/stream',
|
|
@@ -2223,7 +2261,7 @@ export class Tools extends HeyApiClient {
|
|
|
2223
2261
|
responseStyle: 'data',
|
|
2224
2262
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2225
2263
|
in: 'cookie',
|
|
2226
|
-
name: '
|
|
2264
|
+
name: 'talqing_sid',
|
|
2227
2265
|
type: 'apiKey'
|
|
2228
2266
|
}],
|
|
2229
2267
|
url: '/v1/copilot/tools/{tool_id}/messages',
|
|
@@ -2254,7 +2292,7 @@ export class Tools extends HeyApiClient {
|
|
|
2254
2292
|
responseStyle: 'data',
|
|
2255
2293
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2256
2294
|
in: 'cookie',
|
|
2257
|
-
name: '
|
|
2295
|
+
name: 'talqing_sid',
|
|
2258
2296
|
type: 'apiKey'
|
|
2259
2297
|
}],
|
|
2260
2298
|
url: '/v1/copilot/tools/{tool_id}/stream',
|
|
@@ -2309,7 +2347,7 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2309
2347
|
responseStyle: 'data',
|
|
2310
2348
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2311
2349
|
in: 'cookie',
|
|
2312
|
-
name: '
|
|
2350
|
+
name: 'talqing_sid',
|
|
2313
2351
|
type: 'apiKey'
|
|
2314
2352
|
}],
|
|
2315
2353
|
url: '/v1/email/batches/{batch_id}/recipients',
|
|
@@ -2334,7 +2372,7 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2334
2372
|
responseStyle: 'data',
|
|
2335
2373
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2336
2374
|
in: 'cookie',
|
|
2337
|
-
name: '
|
|
2375
|
+
name: 'talqing_sid',
|
|
2338
2376
|
type: 'apiKey'
|
|
2339
2377
|
}],
|
|
2340
2378
|
url: '/v1/email/batches/{batch_id}/recipients',
|
|
@@ -2348,6 +2386,34 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2348
2386
|
});
|
|
2349
2387
|
}
|
|
2350
2388
|
|
|
2389
|
+
/**
|
|
2390
|
+
* Delete Email Batch Recipients
|
|
2391
|
+
*
|
|
2392
|
+
* Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
|
|
2393
|
+
*/
|
|
2394
|
+
public delete<ThrowOnError extends boolean = false>(parameters: {
|
|
2395
|
+
batch_id: string;
|
|
2396
|
+
deleteRecipientsRequest: DeleteRecipientsRequest;
|
|
2397
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<EmailBatchesRecipientsDeleteResults, EmailBatchesRecipientsDeleteErrors, ThrowOnError, 'data'> {
|
|
2398
|
+
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
2399
|
+
return (options?.client ?? this.client).post<EmailBatchesRecipientsDeleteResults, EmailBatchesRecipientsDeleteErrors, ThrowOnError, 'data'>({
|
|
2400
|
+
responseStyle: 'data',
|
|
2401
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2402
|
+
in: 'cookie',
|
|
2403
|
+
name: 'talqing_sid',
|
|
2404
|
+
type: 'apiKey'
|
|
2405
|
+
}],
|
|
2406
|
+
url: '/v1/email/batches/{batch_id}/recipients/delete',
|
|
2407
|
+
...options,
|
|
2408
|
+
...params,
|
|
2409
|
+
headers: {
|
|
2410
|
+
'Content-Type': 'application/json',
|
|
2411
|
+
...options?.headers,
|
|
2412
|
+
...params.headers
|
|
2413
|
+
}
|
|
2414
|
+
});
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2351
2417
|
/**
|
|
2352
2418
|
* Patch Email Batch Recipient
|
|
2353
2419
|
*
|
|
@@ -2373,7 +2439,7 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2373
2439
|
responseStyle: 'data',
|
|
2374
2440
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2375
2441
|
in: 'cookie',
|
|
2376
|
-
name: '
|
|
2442
|
+
name: 'talqing_sid',
|
|
2377
2443
|
type: 'apiKey'
|
|
2378
2444
|
}],
|
|
2379
2445
|
url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}',
|
|
@@ -2410,7 +2476,7 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2410
2476
|
responseStyle: 'data',
|
|
2411
2477
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2412
2478
|
in: 'cookie',
|
|
2413
|
-
name: '
|
|
2479
|
+
name: 'talqing_sid',
|
|
2414
2480
|
type: 'apiKey'
|
|
2415
2481
|
}],
|
|
2416
2482
|
url: '/v1/email/batches/{batch_id}/redraft',
|
|
@@ -2423,66 +2489,6 @@ export class Recipients2 extends HeyApiClient {
|
|
|
2423
2489
|
}
|
|
2424
2490
|
});
|
|
2425
2491
|
}
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* Restore Email Batch Recipients
|
|
2429
|
-
*
|
|
2430
|
-
* Put skipped rows back. `selection: "all_eligible"` means every row a person
|
|
2431
|
-
* skipped; an `unfillable` row is restored by filling in its cell instead.
|
|
2432
|
-
*/
|
|
2433
|
-
public restore<ThrowOnError extends boolean = false>(parameters: {
|
|
2434
|
-
batch_id: string;
|
|
2435
|
-
selectRecipientsRequest: SelectRecipientsRequest;
|
|
2436
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<EmailBatchesRecipientsRestoreResults, EmailBatchesRecipientsRestoreErrors, ThrowOnError, 'data'> {
|
|
2437
|
-
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
2438
|
-
return (options?.client ?? this.client).post<EmailBatchesRecipientsRestoreResults, EmailBatchesRecipientsRestoreErrors, ThrowOnError, 'data'>({
|
|
2439
|
-
responseStyle: 'data',
|
|
2440
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2441
|
-
in: 'cookie',
|
|
2442
|
-
name: 'talqing_session',
|
|
2443
|
-
type: 'apiKey'
|
|
2444
|
-
}],
|
|
2445
|
-
url: '/v1/email/batches/{batch_id}/restore',
|
|
2446
|
-
...options,
|
|
2447
|
-
...params,
|
|
2448
|
-
headers: {
|
|
2449
|
-
'Content-Type': 'application/json',
|
|
2450
|
-
...options?.headers,
|
|
2451
|
-
...params.headers
|
|
2452
|
-
}
|
|
2453
|
-
});
|
|
2454
|
-
}
|
|
2455
|
-
|
|
2456
|
-
/**
|
|
2457
|
-
* Skip Email Batch Recipients
|
|
2458
|
-
*
|
|
2459
|
-
* Take rows out of consideration. Reversible with `restore`.
|
|
2460
|
-
*
|
|
2461
|
-
* Accepts drafted rows and rows whose drafting failed. Takes either
|
|
2462
|
-
* `recipient_ids` or `selection: "all_eligible"`, which here means both.
|
|
2463
|
-
*/
|
|
2464
|
-
public skip<ThrowOnError extends boolean = false>(parameters: {
|
|
2465
|
-
batch_id: string;
|
|
2466
|
-
selectRecipientsRequest: SelectRecipientsRequest;
|
|
2467
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<EmailBatchesRecipientsSkipResults, EmailBatchesRecipientsSkipErrors, ThrowOnError, 'data'> {
|
|
2468
|
-
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
2469
|
-
return (options?.client ?? this.client).post<EmailBatchesRecipientsSkipResults, EmailBatchesRecipientsSkipErrors, ThrowOnError, 'data'>({
|
|
2470
|
-
responseStyle: 'data',
|
|
2471
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2472
|
-
in: 'cookie',
|
|
2473
|
-
name: 'talqing_session',
|
|
2474
|
-
type: 'apiKey'
|
|
2475
|
-
}],
|
|
2476
|
-
url: '/v1/email/batches/{batch_id}/skip',
|
|
2477
|
-
...options,
|
|
2478
|
-
...params,
|
|
2479
|
-
headers: {
|
|
2480
|
-
'Content-Type': 'application/json',
|
|
2481
|
-
...options?.headers,
|
|
2482
|
-
...params.headers
|
|
2483
|
-
}
|
|
2484
|
-
});
|
|
2485
|
-
}
|
|
2486
2492
|
}
|
|
2487
2493
|
|
|
2488
2494
|
export class Sends extends HeyApiClient {
|
|
@@ -2505,7 +2511,7 @@ export class Sends extends HeyApiClient {
|
|
|
2505
2511
|
responseStyle: 'data',
|
|
2506
2512
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2507
2513
|
in: 'cookie',
|
|
2508
|
-
name: '
|
|
2514
|
+
name: 'talqing_sid',
|
|
2509
2515
|
type: 'apiKey'
|
|
2510
2516
|
}],
|
|
2511
2517
|
url: '/v1/email/batches/{batch_id}/sends',
|
|
@@ -2538,7 +2544,7 @@ export class Sends extends HeyApiClient {
|
|
|
2538
2544
|
responseStyle: 'data',
|
|
2539
2545
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2540
2546
|
in: 'cookie',
|
|
2541
|
-
name: '
|
|
2547
|
+
name: 'talqing_sid',
|
|
2542
2548
|
type: 'apiKey'
|
|
2543
2549
|
}],
|
|
2544
2550
|
url: '/v1/email/batches/{batch_id}/sends',
|
|
@@ -2569,7 +2575,7 @@ export class Sends extends HeyApiClient {
|
|
|
2569
2575
|
responseStyle: 'data',
|
|
2570
2576
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2571
2577
|
in: 'cookie',
|
|
2572
|
-
name: '
|
|
2578
|
+
name: 'talqing_sid',
|
|
2573
2579
|
type: 'apiKey'
|
|
2574
2580
|
}],
|
|
2575
2581
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}',
|
|
@@ -2600,7 +2606,7 @@ export class Sends extends HeyApiClient {
|
|
|
2600
2606
|
responseStyle: 'data',
|
|
2601
2607
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2602
2608
|
in: 'cookie',
|
|
2603
|
-
name: '
|
|
2609
|
+
name: 'talqing_sid',
|
|
2604
2610
|
type: 'apiKey'
|
|
2605
2611
|
}],
|
|
2606
2612
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}',
|
|
@@ -2629,7 +2635,7 @@ export class Sends extends HeyApiClient {
|
|
|
2629
2635
|
responseStyle: 'data',
|
|
2630
2636
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2631
2637
|
in: 'cookie',
|
|
2632
|
-
name: '
|
|
2638
|
+
name: 'talqing_sid',
|
|
2633
2639
|
type: 'apiKey'
|
|
2634
2640
|
}],
|
|
2635
2641
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/cancel',
|
|
@@ -2653,7 +2659,7 @@ export class Sends extends HeyApiClient {
|
|
|
2653
2659
|
responseStyle: 'data',
|
|
2654
2660
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2655
2661
|
in: 'cookie',
|
|
2656
|
-
name: '
|
|
2662
|
+
name: 'talqing_sid',
|
|
2657
2663
|
type: 'apiKey'
|
|
2658
2664
|
}],
|
|
2659
2665
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/pause',
|
|
@@ -2676,7 +2682,7 @@ export class Sends extends HeyApiClient {
|
|
|
2676
2682
|
responseStyle: 'data',
|
|
2677
2683
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2678
2684
|
in: 'cookie',
|
|
2679
|
-
name: '
|
|
2685
|
+
name: 'talqing_sid',
|
|
2680
2686
|
type: 'apiKey'
|
|
2681
2687
|
}],
|
|
2682
2688
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume',
|
|
@@ -2711,7 +2717,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2711
2717
|
responseStyle: 'data',
|
|
2712
2718
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2713
2719
|
in: 'cookie',
|
|
2714
|
-
name: '
|
|
2720
|
+
name: 'talqing_sid',
|
|
2715
2721
|
type: 'apiKey'
|
|
2716
2722
|
}],
|
|
2717
2723
|
url: '/v1/email/batches',
|
|
@@ -2754,7 +2760,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2754
2760
|
responseStyle: 'data',
|
|
2755
2761
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2756
2762
|
in: 'cookie',
|
|
2757
|
-
name: '
|
|
2763
|
+
name: 'talqing_sid',
|
|
2758
2764
|
type: 'apiKey'
|
|
2759
2765
|
}],
|
|
2760
2766
|
url: '/v1/email/batches',
|
|
@@ -2783,7 +2789,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2783
2789
|
responseStyle: 'data',
|
|
2784
2790
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2785
2791
|
in: 'cookie',
|
|
2786
|
-
name: '
|
|
2792
|
+
name: 'talqing_sid',
|
|
2787
2793
|
type: 'apiKey'
|
|
2788
2794
|
}],
|
|
2789
2795
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2808,7 +2814,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2808
2814
|
responseStyle: 'data',
|
|
2809
2815
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2810
2816
|
in: 'cookie',
|
|
2811
|
-
name: '
|
|
2817
|
+
name: 'talqing_sid',
|
|
2812
2818
|
type: 'apiKey'
|
|
2813
2819
|
}],
|
|
2814
2820
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2838,7 +2844,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2838
2844
|
responseStyle: 'data',
|
|
2839
2845
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2840
2846
|
in: 'cookie',
|
|
2841
|
-
name: '
|
|
2847
|
+
name: 'talqing_sid',
|
|
2842
2848
|
type: 'apiKey'
|
|
2843
2849
|
}],
|
|
2844
2850
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2869,7 +2875,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2869
2875
|
responseStyle: 'data',
|
|
2870
2876
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2871
2877
|
in: 'cookie',
|
|
2872
|
-
name: '
|
|
2878
|
+
name: 'talqing_sid',
|
|
2873
2879
|
type: 'apiKey'
|
|
2874
2880
|
}],
|
|
2875
2881
|
url: '/v1/email/batches/{batch_id}/cancel',
|
|
@@ -2894,7 +2900,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2894
2900
|
responseStyle: 'data',
|
|
2895
2901
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2896
2902
|
in: 'cookie',
|
|
2897
|
-
name: '
|
|
2903
|
+
name: 'talqing_sid',
|
|
2898
2904
|
type: 'apiKey'
|
|
2899
2905
|
}],
|
|
2900
2906
|
url: '/v1/email/batches/{batch_id}/pause',
|
|
@@ -2916,7 +2922,7 @@ export class Batches2 extends HeyApiClient {
|
|
|
2916
2922
|
responseStyle: 'data',
|
|
2917
2923
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2918
2924
|
in: 'cookie',
|
|
2919
|
-
name: '
|
|
2925
|
+
name: 'talqing_sid',
|
|
2920
2926
|
type: 'apiKey'
|
|
2921
2927
|
}],
|
|
2922
2928
|
url: '/v1/email/batches/{batch_id}/resume',
|
|
@@ -2955,7 +2961,7 @@ export class Senders extends HeyApiClient {
|
|
|
2955
2961
|
responseStyle: 'data',
|
|
2956
2962
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2957
2963
|
in: 'cookie',
|
|
2958
|
-
name: '
|
|
2964
|
+
name: 'talqing_sid',
|
|
2959
2965
|
type: 'apiKey'
|
|
2960
2966
|
}],
|
|
2961
2967
|
url: '/v1/email/senders',
|
|
@@ -2993,7 +2999,7 @@ export class Entries extends HeyApiClient {
|
|
|
2993
2999
|
responseStyle: 'data',
|
|
2994
3000
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2995
3001
|
in: 'cookie',
|
|
2996
|
-
name: '
|
|
3002
|
+
name: 'talqing_sid',
|
|
2997
3003
|
type: 'apiKey'
|
|
2998
3004
|
}],
|
|
2999
3005
|
url: '/v1/faqs/{faq_id}/entries',
|
|
@@ -3021,7 +3027,7 @@ export class Entries extends HeyApiClient {
|
|
|
3021
3027
|
responseStyle: 'data',
|
|
3022
3028
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3023
3029
|
in: 'cookie',
|
|
3024
|
-
name: '
|
|
3030
|
+
name: 'talqing_sid',
|
|
3025
3031
|
type: 'apiKey'
|
|
3026
3032
|
}],
|
|
3027
3033
|
url: '/v1/faqs/{faq_id}/entries/{entry_id}',
|
|
@@ -3049,7 +3055,7 @@ export class Entries extends HeyApiClient {
|
|
|
3049
3055
|
responseStyle: 'data',
|
|
3050
3056
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3051
3057
|
in: 'cookie',
|
|
3052
|
-
name: '
|
|
3058
|
+
name: 'talqing_sid',
|
|
3053
3059
|
type: 'apiKey'
|
|
3054
3060
|
}],
|
|
3055
3061
|
url: '/v1/faqs/{faq_id}/entries/{entry_id}',
|
|
@@ -3079,7 +3085,7 @@ export class Faqs extends HeyApiClient {
|
|
|
3079
3085
|
responseStyle: 'data',
|
|
3080
3086
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3081
3087
|
in: 'cookie',
|
|
3082
|
-
name: '
|
|
3088
|
+
name: 'talqing_sid',
|
|
3083
3089
|
type: 'apiKey'
|
|
3084
3090
|
}],
|
|
3085
3091
|
url: '/v1/faqs',
|
|
@@ -3101,7 +3107,7 @@ export class Faqs extends HeyApiClient {
|
|
|
3101
3107
|
responseStyle: 'data',
|
|
3102
3108
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3103
3109
|
in: 'cookie',
|
|
3104
|
-
name: '
|
|
3110
|
+
name: 'talqing_sid',
|
|
3105
3111
|
type: 'apiKey'
|
|
3106
3112
|
}],
|
|
3107
3113
|
url: '/v1/faqs',
|
|
@@ -3129,7 +3135,7 @@ export class Faqs extends HeyApiClient {
|
|
|
3129
3135
|
responseStyle: 'data',
|
|
3130
3136
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3131
3137
|
in: 'cookie',
|
|
3132
|
-
name: '
|
|
3138
|
+
name: 'talqing_sid',
|
|
3133
3139
|
type: 'apiKey'
|
|
3134
3140
|
}],
|
|
3135
3141
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -3151,7 +3157,7 @@ export class Faqs extends HeyApiClient {
|
|
|
3151
3157
|
responseStyle: 'data',
|
|
3152
3158
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3153
3159
|
in: 'cookie',
|
|
3154
|
-
name: '
|
|
3160
|
+
name: 'talqing_sid',
|
|
3155
3161
|
type: 'apiKey'
|
|
3156
3162
|
}],
|
|
3157
3163
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -3174,7 +3180,7 @@ export class Faqs extends HeyApiClient {
|
|
|
3174
3180
|
responseStyle: 'data',
|
|
3175
3181
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3176
3182
|
in: 'cookie',
|
|
3177
|
-
name: '
|
|
3183
|
+
name: 'talqing_sid',
|
|
3178
3184
|
type: 'apiKey'
|
|
3179
3185
|
}],
|
|
3180
3186
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -3214,7 +3220,7 @@ export class McpTools extends HeyApiClient {
|
|
|
3214
3220
|
responseStyle: 'data',
|
|
3215
3221
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3216
3222
|
in: 'cookie',
|
|
3217
|
-
name: '
|
|
3223
|
+
name: 'talqing_sid',
|
|
3218
3224
|
type: 'apiKey'
|
|
3219
3225
|
}],
|
|
3220
3226
|
url: '/v1/integrations/{integration_id}/mcp-tools',
|
|
@@ -3247,7 +3253,7 @@ export class Triggers extends HeyApiClient {
|
|
|
3247
3253
|
responseStyle: 'data',
|
|
3248
3254
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3249
3255
|
in: 'cookie',
|
|
3250
|
-
name: '
|
|
3256
|
+
name: 'talqing_sid',
|
|
3251
3257
|
type: 'apiKey'
|
|
3252
3258
|
}],
|
|
3253
3259
|
url: '/v1/integrations/{integration_id}/triggers',
|
|
@@ -3277,7 +3283,7 @@ export class Triggers extends HeyApiClient {
|
|
|
3277
3283
|
responseStyle: 'data',
|
|
3278
3284
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3279
3285
|
in: 'cookie',
|
|
3280
|
-
name: '
|
|
3286
|
+
name: 'talqing_sid',
|
|
3281
3287
|
type: 'apiKey'
|
|
3282
3288
|
}],
|
|
3283
3289
|
url: '/v1/integrations/{integration_id}/triggers',
|
|
@@ -3305,7 +3311,7 @@ export class Triggers extends HeyApiClient {
|
|
|
3305
3311
|
responseStyle: 'data',
|
|
3306
3312
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3307
3313
|
in: 'cookie',
|
|
3308
|
-
name: '
|
|
3314
|
+
name: 'talqing_sid',
|
|
3309
3315
|
type: 'apiKey'
|
|
3310
3316
|
}],
|
|
3311
3317
|
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
|
|
@@ -3337,7 +3343,7 @@ export class Triggers extends HeyApiClient {
|
|
|
3337
3343
|
responseStyle: 'data',
|
|
3338
3344
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3339
3345
|
in: 'cookie',
|
|
3340
|
-
name: '
|
|
3346
|
+
name: 'talqing_sid',
|
|
3341
3347
|
type: 'apiKey'
|
|
3342
3348
|
}],
|
|
3343
3349
|
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
|
|
@@ -3370,7 +3376,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3370
3376
|
responseStyle: 'data',
|
|
3371
3377
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3372
3378
|
in: 'cookie',
|
|
3373
|
-
name: '
|
|
3379
|
+
name: 'talqing_sid',
|
|
3374
3380
|
type: 'apiKey'
|
|
3375
3381
|
}],
|
|
3376
3382
|
url: '/v1/integrations',
|
|
@@ -3400,7 +3406,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3400
3406
|
responseStyle: 'data',
|
|
3401
3407
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3402
3408
|
in: 'cookie',
|
|
3403
|
-
name: '
|
|
3409
|
+
name: 'talqing_sid',
|
|
3404
3410
|
type: 'apiKey'
|
|
3405
3411
|
}],
|
|
3406
3412
|
url: '/v1/integrations',
|
|
@@ -3433,7 +3439,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3433
3439
|
responseStyle: 'data',
|
|
3434
3440
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3435
3441
|
in: 'cookie',
|
|
3436
|
-
name: '
|
|
3442
|
+
name: 'talqing_sid',
|
|
3437
3443
|
type: 'apiKey'
|
|
3438
3444
|
}],
|
|
3439
3445
|
url: '/v1/integrations/catalog',
|
|
@@ -3455,7 +3461,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3455
3461
|
responseStyle: 'data',
|
|
3456
3462
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3457
3463
|
in: 'cookie',
|
|
3458
|
-
name: '
|
|
3464
|
+
name: 'talqing_sid',
|
|
3459
3465
|
type: 'apiKey'
|
|
3460
3466
|
}],
|
|
3461
3467
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3478,7 +3484,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3478
3484
|
responseStyle: 'data',
|
|
3479
3485
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3480
3486
|
in: 'cookie',
|
|
3481
|
-
name: '
|
|
3487
|
+
name: 'talqing_sid',
|
|
3482
3488
|
type: 'apiKey'
|
|
3483
3489
|
}],
|
|
3484
3490
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3509,7 +3515,7 @@ export class Integrations extends HeyApiClient {
|
|
|
3509
3515
|
responseStyle: 'data',
|
|
3510
3516
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3511
3517
|
in: 'cookie',
|
|
3512
|
-
name: '
|
|
3518
|
+
name: 'talqing_sid',
|
|
3513
3519
|
type: 'apiKey'
|
|
3514
3520
|
}],
|
|
3515
3521
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3572,7 +3578,7 @@ export class Observability extends HeyApiClient {
|
|
|
3572
3578
|
responseStyle: 'data',
|
|
3573
3579
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3574
3580
|
in: 'cookie',
|
|
3575
|
-
name: '
|
|
3581
|
+
name: 'talqing_sid',
|
|
3576
3582
|
type: 'apiKey'
|
|
3577
3583
|
}],
|
|
3578
3584
|
url: '/v1/observability',
|
|
@@ -3601,7 +3607,7 @@ export class Functions extends HeyApiClient {
|
|
|
3601
3607
|
responseStyle: 'data',
|
|
3602
3608
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3603
3609
|
in: 'cookie',
|
|
3604
|
-
name: '
|
|
3610
|
+
name: 'talqing_sid',
|
|
3605
3611
|
type: 'apiKey'
|
|
3606
3612
|
}],
|
|
3607
3613
|
url: '/v1/schemas/functions/{name}',
|
|
@@ -3636,7 +3642,7 @@ export class Schemas extends HeyApiClient {
|
|
|
3636
3642
|
responseStyle: 'data',
|
|
3637
3643
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3638
3644
|
in: 'cookie',
|
|
3639
|
-
name: '
|
|
3645
|
+
name: 'talqing_sid',
|
|
3640
3646
|
type: 'apiKey'
|
|
3641
3647
|
}],
|
|
3642
3648
|
url: '/v1/schemas/{name}',
|
|
@@ -3669,7 +3675,7 @@ export class Secrets extends HeyApiClient {
|
|
|
3669
3675
|
responseStyle: 'data',
|
|
3670
3676
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3671
3677
|
in: 'cookie',
|
|
3672
|
-
name: '
|
|
3678
|
+
name: 'talqing_sid',
|
|
3673
3679
|
type: 'apiKey'
|
|
3674
3680
|
}],
|
|
3675
3681
|
url: '/v1/secrets',
|
|
@@ -3694,7 +3700,7 @@ export class Secrets extends HeyApiClient {
|
|
|
3694
3700
|
responseStyle: 'data',
|
|
3695
3701
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3696
3702
|
in: 'cookie',
|
|
3697
|
-
name: '
|
|
3703
|
+
name: 'talqing_sid',
|
|
3698
3704
|
type: 'apiKey'
|
|
3699
3705
|
}],
|
|
3700
3706
|
url: '/v1/secrets',
|
|
@@ -3722,7 +3728,7 @@ export class Secrets extends HeyApiClient {
|
|
|
3722
3728
|
responseStyle: 'data',
|
|
3723
3729
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3724
3730
|
in: 'cookie',
|
|
3725
|
-
name: '
|
|
3731
|
+
name: 'talqing_sid',
|
|
3726
3732
|
type: 'apiKey'
|
|
3727
3733
|
}],
|
|
3728
3734
|
url: '/v1/secrets/{secret_id}',
|
|
@@ -3747,7 +3753,7 @@ export class Streams extends HeyApiClient {
|
|
|
3747
3753
|
responseStyle: 'data',
|
|
3748
3754
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3749
3755
|
in: 'cookie',
|
|
3750
|
-
name: '
|
|
3756
|
+
name: 'talqing_sid',
|
|
3751
3757
|
type: 'apiKey'
|
|
3752
3758
|
}],
|
|
3753
3759
|
url: '/v1/streams',
|
|
@@ -3772,7 +3778,7 @@ export class Streams extends HeyApiClient {
|
|
|
3772
3778
|
responseStyle: 'data',
|
|
3773
3779
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3774
3780
|
in: 'cookie',
|
|
3775
|
-
name: '
|
|
3781
|
+
name: 'talqing_sid',
|
|
3776
3782
|
type: 'apiKey'
|
|
3777
3783
|
}],
|
|
3778
3784
|
url: '/v1/streams',
|
|
@@ -3799,7 +3805,7 @@ export class Streams extends HeyApiClient {
|
|
|
3799
3805
|
responseStyle: 'data',
|
|
3800
3806
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3801
3807
|
in: 'cookie',
|
|
3802
|
-
name: '
|
|
3808
|
+
name: 'talqing_sid',
|
|
3803
3809
|
type: 'apiKey'
|
|
3804
3810
|
}],
|
|
3805
3811
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3821,7 +3827,7 @@ export class Streams extends HeyApiClient {
|
|
|
3821
3827
|
responseStyle: 'data',
|
|
3822
3828
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3823
3829
|
in: 'cookie',
|
|
3824
|
-
name: '
|
|
3830
|
+
name: 'talqing_sid',
|
|
3825
3831
|
type: 'apiKey'
|
|
3826
3832
|
}],
|
|
3827
3833
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3847,7 +3853,7 @@ export class Streams extends HeyApiClient {
|
|
|
3847
3853
|
responseStyle: 'data',
|
|
3848
3854
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3849
3855
|
in: 'cookie',
|
|
3850
|
-
name: '
|
|
3856
|
+
name: 'talqing_sid',
|
|
3851
3857
|
type: 'apiKey'
|
|
3852
3858
|
}],
|
|
3853
3859
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3882,7 +3888,7 @@ export class Accounts extends HeyApiClient {
|
|
|
3882
3888
|
responseStyle: 'data',
|
|
3883
3889
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3884
3890
|
in: 'cookie',
|
|
3885
|
-
name: '
|
|
3891
|
+
name: 'talqing_sid',
|
|
3886
3892
|
type: 'apiKey'
|
|
3887
3893
|
}],
|
|
3888
3894
|
url: '/v1/telephony/accounts',
|
|
@@ -3911,7 +3917,7 @@ export class Accounts extends HeyApiClient {
|
|
|
3911
3917
|
responseStyle: 'data',
|
|
3912
3918
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3913
3919
|
in: 'cookie',
|
|
3914
|
-
name: '
|
|
3920
|
+
name: 'talqing_sid',
|
|
3915
3921
|
type: 'apiKey'
|
|
3916
3922
|
}],
|
|
3917
3923
|
url: '/v1/telephony/accounts',
|
|
@@ -3941,7 +3947,7 @@ export class Accounts extends HeyApiClient {
|
|
|
3941
3947
|
responseStyle: 'data',
|
|
3942
3948
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3943
3949
|
in: 'cookie',
|
|
3944
|
-
name: '
|
|
3950
|
+
name: 'talqing_sid',
|
|
3945
3951
|
type: 'apiKey'
|
|
3946
3952
|
}],
|
|
3947
3953
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -3968,7 +3974,7 @@ export class Accounts extends HeyApiClient {
|
|
|
3968
3974
|
responseStyle: 'data',
|
|
3969
3975
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3970
3976
|
in: 'cookie',
|
|
3971
|
-
name: '
|
|
3977
|
+
name: 'talqing_sid',
|
|
3972
3978
|
type: 'apiKey'
|
|
3973
3979
|
}],
|
|
3974
3980
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -3997,7 +4003,7 @@ export class Accounts extends HeyApiClient {
|
|
|
3997
4003
|
responseStyle: 'data',
|
|
3998
4004
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3999
4005
|
in: 'cookie',
|
|
4000
|
-
name: '
|
|
4006
|
+
name: 'talqing_sid',
|
|
4001
4007
|
type: 'apiKey'
|
|
4002
4008
|
}],
|
|
4003
4009
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -4029,7 +4035,7 @@ export class Accounts extends HeyApiClient {
|
|
|
4029
4035
|
responseStyle: 'data',
|
|
4030
4036
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4031
4037
|
in: 'cookie',
|
|
4032
|
-
name: '
|
|
4038
|
+
name: 'talqing_sid',
|
|
4033
4039
|
type: 'apiKey'
|
|
4034
4040
|
}],
|
|
4035
4041
|
url: '/v1/telephony/accounts/{account_id}/provision',
|
|
@@ -4061,7 +4067,7 @@ export class Accounts extends HeyApiClient {
|
|
|
4061
4067
|
responseStyle: 'data',
|
|
4062
4068
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4063
4069
|
in: 'cookie',
|
|
4064
|
-
name: '
|
|
4070
|
+
name: 'talqing_sid',
|
|
4065
4071
|
type: 'apiKey'
|
|
4066
4072
|
}],
|
|
4067
4073
|
url: '/v1/telephony/accounts/{account_id}/remote-numbers',
|
|
@@ -4096,7 +4102,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4096
4102
|
responseStyle: 'data',
|
|
4097
4103
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4098
4104
|
in: 'cookie',
|
|
4099
|
-
name: '
|
|
4105
|
+
name: 'talqing_sid',
|
|
4100
4106
|
type: 'apiKey'
|
|
4101
4107
|
}],
|
|
4102
4108
|
url: '/v1/telephony/phone-numbers',
|
|
@@ -4122,7 +4128,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4122
4128
|
responseStyle: 'data',
|
|
4123
4129
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4124
4130
|
in: 'cookie',
|
|
4125
|
-
name: '
|
|
4131
|
+
name: 'talqing_sid',
|
|
4126
4132
|
type: 'apiKey'
|
|
4127
4133
|
}],
|
|
4128
4134
|
url: '/v1/telephony/phone-numbers/import',
|
|
@@ -4149,7 +4155,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4149
4155
|
responseStyle: 'data',
|
|
4150
4156
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4151
4157
|
in: 'cookie',
|
|
4152
|
-
name: '
|
|
4158
|
+
name: 'talqing_sid',
|
|
4153
4159
|
type: 'apiKey'
|
|
4154
4160
|
}],
|
|
4155
4161
|
url: '/v1/telephony/phone-numbers/{number_id}',
|
|
@@ -4176,7 +4182,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4176
4182
|
responseStyle: 'data',
|
|
4177
4183
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4178
4184
|
in: 'cookie',
|
|
4179
|
-
name: '
|
|
4185
|
+
name: 'talqing_sid',
|
|
4180
4186
|
type: 'apiKey'
|
|
4181
4187
|
}],
|
|
4182
4188
|
url: '/v1/telephony/phone-numbers/{number_id}',
|
|
@@ -4209,7 +4215,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4209
4215
|
responseStyle: 'data',
|
|
4210
4216
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4211
4217
|
in: 'cookie',
|
|
4212
|
-
name: '
|
|
4218
|
+
name: 'talqing_sid',
|
|
4213
4219
|
type: 'apiKey'
|
|
4214
4220
|
}],
|
|
4215
4221
|
url: '/v1/telephony/phone-numbers/{number_id}/assign',
|
|
@@ -4240,7 +4246,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4240
4246
|
responseStyle: 'data',
|
|
4241
4247
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4242
4248
|
in: 'cookie',
|
|
4243
|
-
name: '
|
|
4249
|
+
name: 'talqing_sid',
|
|
4244
4250
|
type: 'apiKey'
|
|
4245
4251
|
}],
|
|
4246
4252
|
url: '/v1/telephony/phone-numbers/{number_id}/provision',
|
|
@@ -4265,7 +4271,7 @@ export class PhoneNumbers extends HeyApiClient {
|
|
|
4265
4271
|
responseStyle: 'data',
|
|
4266
4272
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4267
4273
|
in: 'cookie',
|
|
4268
|
-
name: '
|
|
4274
|
+
name: 'talqing_sid',
|
|
4269
4275
|
type: 'apiKey'
|
|
4270
4276
|
}],
|
|
4271
4277
|
url: '/v1/telephony/phone-numbers/{number_id}/unassign',
|
|
@@ -4295,7 +4301,7 @@ export class Providers extends HeyApiClient {
|
|
|
4295
4301
|
responseStyle: 'data',
|
|
4296
4302
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4297
4303
|
in: 'cookie',
|
|
4298
|
-
name: '
|
|
4304
|
+
name: 'talqing_sid',
|
|
4299
4305
|
type: 'apiKey'
|
|
4300
4306
|
}],
|
|
4301
4307
|
url: '/v1/telephony/providers',
|
|
@@ -4350,7 +4356,7 @@ export class Runs extends HeyApiClient {
|
|
|
4350
4356
|
responseStyle: 'data',
|
|
4351
4357
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4352
4358
|
in: 'cookie',
|
|
4353
|
-
name: '
|
|
4359
|
+
name: 'talqing_sid',
|
|
4354
4360
|
type: 'apiKey'
|
|
4355
4361
|
}],
|
|
4356
4362
|
url: '/v1/tasks/{task_id}/runs',
|
|
@@ -4384,7 +4390,7 @@ export class Runs extends HeyApiClient {
|
|
|
4384
4390
|
responseStyle: 'data',
|
|
4385
4391
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4386
4392
|
in: 'cookie',
|
|
4387
|
-
name: '
|
|
4393
|
+
name: 'talqing_sid',
|
|
4388
4394
|
type: 'apiKey'
|
|
4389
4395
|
}],
|
|
4390
4396
|
url: '/v1/tasks/{task_id}/runs',
|
|
@@ -4417,7 +4423,7 @@ export class Runs extends HeyApiClient {
|
|
|
4417
4423
|
responseStyle: 'data',
|
|
4418
4424
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4419
4425
|
in: 'cookie',
|
|
4420
|
-
name: '
|
|
4426
|
+
name: 'talqing_sid',
|
|
4421
4427
|
type: 'apiKey'
|
|
4422
4428
|
}],
|
|
4423
4429
|
url: '/v1/tasks/{task_id}/runs/{run_id}',
|
|
@@ -4446,7 +4452,7 @@ export class Versions2 extends HeyApiClient {
|
|
|
4446
4452
|
responseStyle: 'data',
|
|
4447
4453
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4448
4454
|
in: 'cookie',
|
|
4449
|
-
name: '
|
|
4455
|
+
name: 'talqing_sid',
|
|
4450
4456
|
type: 'apiKey'
|
|
4451
4457
|
}],
|
|
4452
4458
|
url: '/v1/tasks/{task_id}/versions/{version}',
|
|
@@ -4474,7 +4480,7 @@ export class Versions2 extends HeyApiClient {
|
|
|
4474
4480
|
responseStyle: 'data',
|
|
4475
4481
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4476
4482
|
in: 'cookie',
|
|
4477
|
-
name: '
|
|
4483
|
+
name: 'talqing_sid',
|
|
4478
4484
|
type: 'apiKey'
|
|
4479
4485
|
}],
|
|
4480
4486
|
url: '/v1/tasks/{task_id}/versions/{version}/rollback',
|
|
@@ -4504,7 +4510,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4504
4510
|
responseStyle: 'data',
|
|
4505
4511
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4506
4512
|
in: 'cookie',
|
|
4507
|
-
name: '
|
|
4513
|
+
name: 'talqing_sid',
|
|
4508
4514
|
type: 'apiKey'
|
|
4509
4515
|
}],
|
|
4510
4516
|
url: '/v1/tasks',
|
|
@@ -4532,7 +4538,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4532
4538
|
responseStyle: 'data',
|
|
4533
4539
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4534
4540
|
in: 'cookie',
|
|
4535
|
-
name: '
|
|
4541
|
+
name: 'talqing_sid',
|
|
4536
4542
|
type: 'apiKey'
|
|
4537
4543
|
}],
|
|
4538
4544
|
url: '/v1/tasks',
|
|
@@ -4560,7 +4566,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4560
4566
|
responseStyle: 'data',
|
|
4561
4567
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4562
4568
|
in: 'cookie',
|
|
4563
|
-
name: '
|
|
4569
|
+
name: 'talqing_sid',
|
|
4564
4570
|
type: 'apiKey'
|
|
4565
4571
|
}],
|
|
4566
4572
|
url: '/v1/tasks/{task_id}',
|
|
@@ -4582,7 +4588,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4582
4588
|
responseStyle: 'data',
|
|
4583
4589
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4584
4590
|
in: 'cookie',
|
|
4585
|
-
name: '
|
|
4591
|
+
name: 'talqing_sid',
|
|
4586
4592
|
type: 'apiKey'
|
|
4587
4593
|
}],
|
|
4588
4594
|
url: '/v1/tasks/{task_id}',
|
|
@@ -4609,7 +4615,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4609
4615
|
responseStyle: 'data',
|
|
4610
4616
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4611
4617
|
in: 'cookie',
|
|
4612
|
-
name: '
|
|
4618
|
+
name: 'talqing_sid',
|
|
4613
4619
|
type: 'apiKey'
|
|
4614
4620
|
}],
|
|
4615
4621
|
url: '/v1/tasks/{task_id}',
|
|
@@ -4640,7 +4646,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4640
4646
|
responseStyle: 'data',
|
|
4641
4647
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4642
4648
|
in: 'cookie',
|
|
4643
|
-
name: '
|
|
4649
|
+
name: 'talqing_sid',
|
|
4644
4650
|
type: 'apiKey'
|
|
4645
4651
|
}],
|
|
4646
4652
|
url: '/v1/tasks/{task_id}/publish',
|
|
@@ -4667,7 +4673,7 @@ export class Tasks2 extends HeyApiClient {
|
|
|
4667
4673
|
responseStyle: 'data',
|
|
4668
4674
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4669
4675
|
in: 'cookie',
|
|
4670
|
-
name: '
|
|
4676
|
+
name: 'talqing_sid',
|
|
4671
4677
|
type: 'apiKey'
|
|
4672
4678
|
}],
|
|
4673
4679
|
url: '/v1/tasks/{task_id}/validate',
|
|
@@ -4707,7 +4713,7 @@ export class Versions3 extends HeyApiClient {
|
|
|
4707
4713
|
responseStyle: 'data',
|
|
4708
4714
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4709
4715
|
in: 'cookie',
|
|
4710
|
-
name: '
|
|
4716
|
+
name: 'talqing_sid',
|
|
4711
4717
|
type: 'apiKey'
|
|
4712
4718
|
}],
|
|
4713
4719
|
url: '/v1/tools/{tool_id}/versions/{version}',
|
|
@@ -4736,7 +4742,7 @@ export class Versions3 extends HeyApiClient {
|
|
|
4736
4742
|
responseStyle: 'data',
|
|
4737
4743
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4738
4744
|
in: 'cookie',
|
|
4739
|
-
name: '
|
|
4745
|
+
name: 'talqing_sid',
|
|
4740
4746
|
type: 'apiKey'
|
|
4741
4747
|
}],
|
|
4742
4748
|
url: '/v1/tools/{tool_id}/versions/{version}/rollback',
|
|
@@ -4764,7 +4770,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4764
4770
|
responseStyle: 'data',
|
|
4765
4771
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4766
4772
|
in: 'cookie',
|
|
4767
|
-
name: '
|
|
4773
|
+
name: 'talqing_sid',
|
|
4768
4774
|
type: 'apiKey'
|
|
4769
4775
|
}],
|
|
4770
4776
|
url: '/v1/tools',
|
|
@@ -4791,7 +4797,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4791
4797
|
responseStyle: 'data',
|
|
4792
4798
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4793
4799
|
in: 'cookie',
|
|
4794
|
-
name: '
|
|
4800
|
+
name: 'talqing_sid',
|
|
4795
4801
|
type: 'apiKey'
|
|
4796
4802
|
}],
|
|
4797
4803
|
url: '/v1/tools',
|
|
@@ -4818,7 +4824,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4818
4824
|
responseStyle: 'data',
|
|
4819
4825
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4820
4826
|
in: 'cookie',
|
|
4821
|
-
name: '
|
|
4827
|
+
name: 'talqing_sid',
|
|
4822
4828
|
type: 'apiKey'
|
|
4823
4829
|
}],
|
|
4824
4830
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4841,7 +4847,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4841
4847
|
responseStyle: 'data',
|
|
4842
4848
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4843
4849
|
in: 'cookie',
|
|
4844
|
-
name: '
|
|
4850
|
+
name: 'talqing_sid',
|
|
4845
4851
|
type: 'apiKey'
|
|
4846
4852
|
}],
|
|
4847
4853
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4868,7 +4874,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4868
4874
|
responseStyle: 'data',
|
|
4869
4875
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4870
4876
|
in: 'cookie',
|
|
4871
|
-
name: '
|
|
4877
|
+
name: 'talqing_sid',
|
|
4872
4878
|
type: 'apiKey'
|
|
4873
4879
|
}],
|
|
4874
4880
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4900,7 +4906,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4900
4906
|
responseStyle: 'data',
|
|
4901
4907
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4902
4908
|
in: 'cookie',
|
|
4903
|
-
name: '
|
|
4909
|
+
name: 'talqing_sid',
|
|
4904
4910
|
type: 'apiKey'
|
|
4905
4911
|
}],
|
|
4906
4912
|
url: '/v1/tools/{tool_id}/publish',
|
|
@@ -4938,7 +4944,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4938
4944
|
responseStyle: 'data',
|
|
4939
4945
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4940
4946
|
in: 'cookie',
|
|
4941
|
-
name: '
|
|
4947
|
+
name: 'talqing_sid',
|
|
4942
4948
|
type: 'apiKey'
|
|
4943
4949
|
}],
|
|
4944
4950
|
url: '/v1/tools/{tool_id}/run',
|
|
@@ -4969,7 +4975,7 @@ export class Tools2 extends HeyApiClient {
|
|
|
4969
4975
|
responseStyle: 'data',
|
|
4970
4976
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4971
4977
|
in: 'cookie',
|
|
4972
|
-
name: '
|
|
4978
|
+
name: 'talqing_sid',
|
|
4973
4979
|
type: 'apiKey'
|
|
4974
4980
|
}],
|
|
4975
4981
|
url: '/v1/tools/{tool_id}/validate',
|
|
@@ -5000,7 +5006,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5000
5006
|
responseStyle: 'data',
|
|
5001
5007
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5002
5008
|
in: 'cookie',
|
|
5003
|
-
name: '
|
|
5009
|
+
name: 'talqing_sid',
|
|
5004
5010
|
type: 'apiKey'
|
|
5005
5011
|
}],
|
|
5006
5012
|
url: '/v1/webhooks',
|
|
@@ -5026,7 +5032,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5026
5032
|
responseStyle: 'data',
|
|
5027
5033
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5028
5034
|
in: 'cookie',
|
|
5029
|
-
name: '
|
|
5035
|
+
name: 'talqing_sid',
|
|
5030
5036
|
type: 'apiKey'
|
|
5031
5037
|
}],
|
|
5032
5038
|
url: '/v1/webhooks',
|
|
@@ -5050,7 +5056,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5050
5056
|
responseStyle: 'data',
|
|
5051
5057
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5052
5058
|
in: 'cookie',
|
|
5053
|
-
name: '
|
|
5059
|
+
name: 'talqing_sid',
|
|
5054
5060
|
type: 'apiKey'
|
|
5055
5061
|
}],
|
|
5056
5062
|
url: '/v1/webhooks/event-types',
|
|
@@ -5071,7 +5077,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5071
5077
|
responseStyle: 'data',
|
|
5072
5078
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5073
5079
|
in: 'cookie',
|
|
5074
|
-
name: '
|
|
5080
|
+
name: 'talqing_sid',
|
|
5075
5081
|
type: 'apiKey'
|
|
5076
5082
|
}],
|
|
5077
5083
|
url: '/v1/webhooks/{webhook_id}',
|
|
@@ -5095,7 +5101,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5095
5101
|
responseStyle: 'data',
|
|
5096
5102
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5097
5103
|
in: 'cookie',
|
|
5098
|
-
name: '
|
|
5104
|
+
name: 'talqing_sid',
|
|
5099
5105
|
type: 'apiKey'
|
|
5100
5106
|
}],
|
|
5101
5107
|
url: '/v1/webhooks/{webhook_id}',
|
|
@@ -5129,7 +5135,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5129
5135
|
responseStyle: 'data',
|
|
5130
5136
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5131
5137
|
in: 'cookie',
|
|
5132
|
-
name: '
|
|
5138
|
+
name: 'talqing_sid',
|
|
5133
5139
|
type: 'apiKey'
|
|
5134
5140
|
}],
|
|
5135
5141
|
url: '/v1/webhooks/{webhook_id}/deliveries',
|
|
@@ -5154,7 +5160,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5154
5160
|
responseStyle: 'data',
|
|
5155
5161
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5156
5162
|
in: 'cookie',
|
|
5157
|
-
name: '
|
|
5163
|
+
name: 'talqing_sid',
|
|
5158
5164
|
type: 'apiKey'
|
|
5159
5165
|
}],
|
|
5160
5166
|
url: '/v1/webhooks/{webhook_id}/rotate-secret',
|
|
@@ -5177,7 +5183,7 @@ export class Webhooks extends HeyApiClient {
|
|
|
5177
5183
|
responseStyle: 'data',
|
|
5178
5184
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5179
5185
|
in: 'cookie',
|
|
5180
|
-
name: '
|
|
5186
|
+
name: 'talqing_sid',
|
|
5181
5187
|
type: 'apiKey'
|
|
5182
5188
|
}],
|
|
5183
5189
|
url: '/v1/webhooks/{webhook_id}/test',
|
|
@@ -5211,7 +5217,7 @@ export class Recipients3 extends HeyApiClient {
|
|
|
5211
5217
|
responseStyle: 'data',
|
|
5212
5218
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5213
5219
|
in: 'cookie',
|
|
5214
|
-
name: '
|
|
5220
|
+
name: 'talqing_sid',
|
|
5215
5221
|
type: 'apiKey'
|
|
5216
5222
|
}],
|
|
5217
5223
|
url: '/v1/whatsapp/batches/{batch_id}/recipients',
|
|
@@ -5236,7 +5242,7 @@ export class Recipients3 extends HeyApiClient {
|
|
|
5236
5242
|
responseStyle: 'data',
|
|
5237
5243
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5238
5244
|
in: 'cookie',
|
|
5239
|
-
name: '
|
|
5245
|
+
name: 'talqing_sid',
|
|
5240
5246
|
type: 'apiKey'
|
|
5241
5247
|
}],
|
|
5242
5248
|
url: '/v1/whatsapp/batches/{batch_id}/recipients',
|
|
@@ -5251,51 +5257,23 @@ export class Recipients3 extends HeyApiClient {
|
|
|
5251
5257
|
}
|
|
5252
5258
|
|
|
5253
5259
|
/**
|
|
5254
|
-
*
|
|
5260
|
+
* Delete Whatsapp Batch Recipients
|
|
5255
5261
|
*
|
|
5256
|
-
*
|
|
5262
|
+
* Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
|
|
5257
5263
|
*/
|
|
5258
|
-
public
|
|
5259
|
-
batch_id: string;
|
|
5260
|
-
selectRecipientsRequest: SelectRecipientsRequest;
|
|
5261
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<WhatsappBatchesRecipientsRestoreResults, WhatsappBatchesRecipientsRestoreErrors, ThrowOnError, 'data'> {
|
|
5262
|
-
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
5263
|
-
return (options?.client ?? this.client).post<WhatsappBatchesRecipientsRestoreResults, WhatsappBatchesRecipientsRestoreErrors, ThrowOnError, 'data'>({
|
|
5264
|
-
responseStyle: 'data',
|
|
5265
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5266
|
-
in: 'cookie',
|
|
5267
|
-
name: 'talqing_session',
|
|
5268
|
-
type: 'apiKey'
|
|
5269
|
-
}],
|
|
5270
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/restore',
|
|
5271
|
-
...options,
|
|
5272
|
-
...params,
|
|
5273
|
-
headers: {
|
|
5274
|
-
'Content-Type': 'application/json',
|
|
5275
|
-
...options?.headers,
|
|
5276
|
-
...params.headers
|
|
5277
|
-
}
|
|
5278
|
-
});
|
|
5279
|
-
}
|
|
5280
|
-
|
|
5281
|
-
/**
|
|
5282
|
-
* Skip Whatsapp Batch Recipients
|
|
5283
|
-
*
|
|
5284
|
-
* Take ready rows out of the send. Reversible with restore.
|
|
5285
|
-
*/
|
|
5286
|
-
public skip<ThrowOnError extends boolean = false>(parameters: {
|
|
5264
|
+
public delete<ThrowOnError extends boolean = false>(parameters: {
|
|
5287
5265
|
batch_id: string;
|
|
5288
|
-
|
|
5289
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<
|
|
5290
|
-
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: '
|
|
5291
|
-
return (options?.client ?? this.client).post<
|
|
5266
|
+
deleteRecipientsRequest: DeleteRecipientsRequest;
|
|
5267
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<WhatsappBatchesRecipientsDeleteResults, WhatsappBatchesRecipientsDeleteErrors, ThrowOnError, 'data'> {
|
|
5268
|
+
const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
5269
|
+
return (options?.client ?? this.client).post<WhatsappBatchesRecipientsDeleteResults, WhatsappBatchesRecipientsDeleteErrors, ThrowOnError, 'data'>({
|
|
5292
5270
|
responseStyle: 'data',
|
|
5293
5271
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5294
5272
|
in: 'cookie',
|
|
5295
|
-
name: '
|
|
5273
|
+
name: 'talqing_sid',
|
|
5296
5274
|
type: 'apiKey'
|
|
5297
5275
|
}],
|
|
5298
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/
|
|
5276
|
+
url: '/v1/whatsapp/batches/{batch_id}/recipients/delete',
|
|
5299
5277
|
...options,
|
|
5300
5278
|
...params,
|
|
5301
5279
|
headers: {
|
|
@@ -5325,7 +5303,7 @@ export class Recipients3 extends HeyApiClient {
|
|
|
5325
5303
|
responseStyle: 'data',
|
|
5326
5304
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5327
5305
|
in: 'cookie',
|
|
5328
|
-
name: '
|
|
5306
|
+
name: 'talqing_sid',
|
|
5329
5307
|
type: 'apiKey'
|
|
5330
5308
|
}],
|
|
5331
5309
|
url: '/v1/whatsapp/batches/{batch_id}/recipients/{recipient_id}',
|
|
@@ -5360,7 +5338,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5360
5338
|
responseStyle: 'data',
|
|
5361
5339
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5362
5340
|
in: 'cookie',
|
|
5363
|
-
name: '
|
|
5341
|
+
name: 'talqing_sid',
|
|
5364
5342
|
type: 'apiKey'
|
|
5365
5343
|
}],
|
|
5366
5344
|
url: '/v1/whatsapp/batches',
|
|
@@ -5387,7 +5365,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5387
5365
|
responseStyle: 'data',
|
|
5388
5366
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5389
5367
|
in: 'cookie',
|
|
5390
|
-
name: '
|
|
5368
|
+
name: 'talqing_sid',
|
|
5391
5369
|
type: 'apiKey'
|
|
5392
5370
|
}],
|
|
5393
5371
|
url: '/v1/whatsapp/batches',
|
|
@@ -5416,7 +5394,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5416
5394
|
responseStyle: 'data',
|
|
5417
5395
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5418
5396
|
in: 'cookie',
|
|
5419
|
-
name: '
|
|
5397
|
+
name: 'talqing_sid',
|
|
5420
5398
|
type: 'apiKey'
|
|
5421
5399
|
}],
|
|
5422
5400
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -5438,7 +5416,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5438
5416
|
responseStyle: 'data',
|
|
5439
5417
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5440
5418
|
in: 'cookie',
|
|
5441
|
-
name: '
|
|
5419
|
+
name: 'talqing_sid',
|
|
5442
5420
|
type: 'apiKey'
|
|
5443
5421
|
}],
|
|
5444
5422
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -5464,7 +5442,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5464
5442
|
responseStyle: 'data',
|
|
5465
5443
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5466
5444
|
in: 'cookie',
|
|
5467
|
-
name: '
|
|
5445
|
+
name: 'talqing_sid',
|
|
5468
5446
|
type: 'apiKey'
|
|
5469
5447
|
}],
|
|
5470
5448
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -5491,7 +5469,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5491
5469
|
responseStyle: 'data',
|
|
5492
5470
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5493
5471
|
in: 'cookie',
|
|
5494
|
-
name: '
|
|
5472
|
+
name: 'talqing_sid',
|
|
5495
5473
|
type: 'apiKey'
|
|
5496
5474
|
}],
|
|
5497
5475
|
url: '/v1/whatsapp/batches/{batch_id}/cancel',
|
|
@@ -5513,7 +5491,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5513
5491
|
responseStyle: 'data',
|
|
5514
5492
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5515
5493
|
in: 'cookie',
|
|
5516
|
-
name: '
|
|
5494
|
+
name: 'talqing_sid',
|
|
5517
5495
|
type: 'apiKey'
|
|
5518
5496
|
}],
|
|
5519
5497
|
url: '/v1/whatsapp/batches/{batch_id}/pause',
|
|
@@ -5535,7 +5513,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5535
5513
|
responseStyle: 'data',
|
|
5536
5514
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5537
5515
|
in: 'cookie',
|
|
5538
|
-
name: '
|
|
5516
|
+
name: 'talqing_sid',
|
|
5539
5517
|
type: 'apiKey'
|
|
5540
5518
|
}],
|
|
5541
5519
|
url: '/v1/whatsapp/batches/{batch_id}/resume',
|
|
@@ -5562,7 +5540,7 @@ export class Batches3 extends HeyApiClient {
|
|
|
5562
5540
|
responseStyle: 'data',
|
|
5563
5541
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5564
5542
|
in: 'cookie',
|
|
5565
|
-
name: '
|
|
5543
|
+
name: 'talqing_sid',
|
|
5566
5544
|
type: 'apiKey'
|
|
5567
5545
|
}],
|
|
5568
5546
|
url: '/v1/whatsapp/batches/{batch_id}/send',
|
|
@@ -5598,7 +5576,7 @@ export class Templates extends HeyApiClient {
|
|
|
5598
5576
|
responseStyle: 'data',
|
|
5599
5577
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5600
5578
|
in: 'cookie',
|
|
5601
|
-
name: '
|
|
5579
|
+
name: 'talqing_sid',
|
|
5602
5580
|
type: 'apiKey'
|
|
5603
5581
|
}],
|
|
5604
5582
|
url: '/v1/whatsapp/templates',
|
|
@@ -5622,7 +5600,7 @@ export class TwilioSenders extends HeyApiClient {
|
|
|
5622
5600
|
responseStyle: 'data',
|
|
5623
5601
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
5624
5602
|
in: 'cookie',
|
|
5625
|
-
name: '
|
|
5603
|
+
name: 'talqing_sid',
|
|
5626
5604
|
type: 'apiKey'
|
|
5627
5605
|
}],
|
|
5628
5606
|
url: '/v1/whatsapp/twilio-senders',
|