@talqing/sdk 0.7.0 → 0.9.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.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape } from './client/index.js';
2
- 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, BuildKBRequest, 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, ConversationsEventsResult, ConversationsEventsResults, ConversationsGetErrors, ConversationsGetResults, ConversationsItemsListErrors, ConversationsItemsListResults, ConversationsListErrors, ConversationsListResults, ConversationsSessionsListErrors, ConversationsSessionsListResults, ConversationsSnapshotErrors, ConversationsSnapshotResults, ConversationsTraceErrors, ConversationsTraceResults, ConversationsUpdateErrors, ConversationsUpdateResults, CopilotAgentsSendErrors, CopilotAgentsSendResults, CopilotAgentsStreamResult, CopilotAgentsStreamResults, CopilotKnowledgeSendErrors, CopilotKnowledgeSendResults, CopilotKnowledgeStreamResult, CopilotKnowledgeStreamResults, CopilotTasksSendErrors, CopilotTasksSendResults, CopilotTasksStreamResult, CopilotTasksStreamResults, CopilotToolsSendErrors, CopilotToolsSendResults, CopilotToolsStreamResult, CopilotToolsStreamResults, CreateAgentRequest, CreateCallBatchRequest, CreateChatRequest, CreateEmailBatchRequest, CreateEmailSendRequest, CreateIntegrationRequest, CreateIntegrationTriggerRequest, CreateKBRequest, 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, 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, KnowledgeBuildErrors, KnowledgeBuildResults, KnowledgeCreateErrors, KnowledgeCreateResults, KnowledgeDeleteErrors, KnowledgeDeleteResults, KnowledgeEventsResult, KnowledgeEventsResults, KnowledgeGetErrors, KnowledgeGetResults, KnowledgeListErrors, KnowledgeListResults, KnowledgeNodesDeleteErrors, KnowledgeNodesDeleteResults, KnowledgeNodesGetErrors, KnowledgeNodesGetResults, KnowledgeNodesUpdateErrors, KnowledgeNodesUpdateResults, KnowledgePagesListErrors, KnowledgePagesListResults, KnowledgePromptErrors, KnowledgePromptResults, KnowledgeRegenerateTocErrors, KnowledgeRegenerateTocResults, ObservabilityGetErrors, ObservabilityGetResults, OutboundCallRequest, PatchCallBatchRequest, PatchConversationRequest, PatchEmailBatchRequest, PatchEmailRecipientRequest, PatchEmailSendRequest, PatchIntegrationRequest, PatchIntegrationTriggerRequest, PatchNodeRequest, 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, 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';
2
+ 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, ConversationsEventsResult, ConversationsEventsResults, ConversationsGetErrors, ConversationsGetResults, ConversationsItemsListErrors, ConversationsItemsListResults, ConversationsListErrors, ConversationsListResults, ConversationsSessionsListErrors, ConversationsSessionsListResults, ConversationsSnapshotErrors, ConversationsSnapshotResults, ConversationsTraceErrors, ConversationsTraceResults, ConversationsUpdateErrors, ConversationsUpdateResults, CopilotAgentsSendErrors, CopilotAgentsSendResults, CopilotAgentsStreamResult, CopilotAgentsStreamResults, CopilotTasksSendErrors, CopilotTasksSendResults, CopilotTasksStreamResult, CopilotTasksStreamResults, CopilotToolsSendErrors, CopilotToolsSendResults, 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';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -303,8 +303,9 @@ export declare class Batches extends HeyApiClient {
303
303
  *
304
304
  * List outbound calling batches, newest first, with live progress.
305
305
  *
306
- * `counts` breaks the recipient list down by outcome and `next_dial_at` says
307
- * when a batch that is not dialling will start again — the clock, not a fault.
306
+ * `counts` breaks the recipient list down by outcome; `next_dial_at` and
307
+ * `next_dial_reason` say when a batch that is not dialling will start again and
308
+ * why — its start time, its window or today's limit, not a fault.
308
309
  * A `failed` batch carries `failure_reason`: the circuit breaker stopped it
309
310
  * after ten consecutive setup failures.
310
311
  */
@@ -327,8 +328,9 @@ export declare class Batches extends HeyApiClient {
327
328
  * greeting. A number that appears twice is refused with both row numbers.
328
329
  *
329
330
  * `start_at` and `calling_window` schedule it in the timezone you give;
330
- * `max_concurrency` and `max_attempts` pace it. A number that was reached is
331
- * never called twice.
331
+ * `max_concurrency`, `max_attempts`, `dial_gap_seconds` and `dial_daily_cap`
332
+ * (a fixed limit or a ramp) pace it. A number that was reached is never
333
+ * called twice.
332
334
  *
333
335
  * Two things you would otherwise learn from an invoice:
334
336
  *
@@ -1021,32 +1023,6 @@ export declare class Agents2 extends HeyApiClient {
1021
1023
  agent_id: string;
1022
1024
  }, options?: Options<never, ThrowOnError, CopilotAgentsStreamResult>): Promise<ServerSentEventsResult<CopilotAgentsStreamResults>>;
1023
1025
  }
1024
- export declare class Knowledge extends HeyApiClient {
1025
- /**
1026
- * Knowledge Copilot Send Message
1027
- *
1028
- * Say something to KnowledgeCoPilot. The reply arrives on the stream, not here.
1029
- *
1030
- * Returns as soon as the turn is queued; watch `turn` and `message` frames
1031
- * on the matching `/stream` for what it does.
1032
- */
1033
- send<ThrowOnError extends boolean = false>(parameters: {
1034
- kb_id: string;
1035
- sendMessageRequest: SendMessageRequest;
1036
- }, options?: Options<never, ThrowOnError>): RequestResult<CopilotKnowledgeSendResults, CopilotKnowledgeSendErrors, ThrowOnError, 'data'>;
1037
- /**
1038
- * Knowledge Copilot Stream
1039
- *
1040
- * KnowledgeCoPilot's curation chat for one knowledge base.
1041
- *
1042
- * Frames: `snapshot` (the whole conversation, sent first and on every
1043
- * reconnect), `message` (one new message), `turn` (that turn's lifecycle —
1044
- * `running`, `done`, `error`, `canceled`).
1045
- */
1046
- stream<ThrowOnError extends boolean = false>(parameters: {
1047
- kb_id: string;
1048
- }, options?: Options<never, ThrowOnError, CopilotKnowledgeStreamResult>): Promise<ServerSentEventsResult<CopilotKnowledgeStreamResults>>;
1049
- }
1050
1026
  export declare class Tasks extends HeyApiClient {
1051
1027
  /**
1052
1028
  * Task Copilot Send Message
@@ -1102,8 +1078,6 @@ export declare class Tools extends HeyApiClient {
1102
1078
  export declare class Copilot extends HeyApiClient {
1103
1079
  private _agents?;
1104
1080
  get agents(): Agents2;
1105
- private _knowledge?;
1106
- get knowledge(): Knowledge;
1107
1081
  private _tasks?;
1108
1082
  get tasks(): Tasks;
1109
1083
  private _tools?;
@@ -1217,7 +1191,8 @@ export declare class Sends extends HeyApiClient {
1217
1191
  * drafting runs. It cannot be live beside another send of the batch (409).
1218
1192
  *
1219
1193
  * `start_at` schedules it, `window` holds it to business hours, and
1220
- * `send_gap_seconds` and `send_daily_cap` pace the whole batch. Everything
1194
+ * `send_gap_seconds` and `send_daily_cap` (a fixed limit or a ramp) pace the
1195
+ * whole batch. Everything
1221
1196
  * omitted comes from the batch. Cancelling it leaves the unsent rows as drafts.
1222
1197
  */
1223
1198
  create<ThrowOnError extends boolean = false>(parameters: {
@@ -1340,7 +1315,7 @@ export declare class Batches2 extends HeyApiClient {
1340
1315
  * One batch: its policy, its per-status counts and what drafting has cost.
1341
1316
  *
1342
1317
  * `drafted_versions` says which published version of the task wrote how many
1343
- * rows, and `sent_today` how much of `send_daily_cap` is left today.
1318
+ * rows, and `sent_today` how much of `send_daily_cap_today` is left.
1344
1319
  */
1345
1320
  get<ThrowOnError extends boolean = false>(parameters: {
1346
1321
  batch_id: string;
@@ -1418,6 +1393,84 @@ export declare class Email extends HeyApiClient {
1418
1393
  private _senders?;
1419
1394
  get senders(): Senders;
1420
1395
  }
1396
+ export declare class Entries extends HeyApiClient {
1397
+ /**
1398
+ * Create Faq Entries
1399
+ *
1400
+ * Append question/answer entries to an FAQ, all or nothing. Live at once:
1401
+ * agents using the FAQ read them from their next session.
1402
+ */
1403
+ create<ThrowOnError extends boolean = false>(parameters: {
1404
+ faq_id: string;
1405
+ createFaqEntriesRequest: CreateFaqEntriesRequest;
1406
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsEntriesCreateResults, FaqsEntriesCreateErrors, ThrowOnError, 'data'>;
1407
+ /**
1408
+ * Delete Faq Entry
1409
+ *
1410
+ * Delete one entry from an FAQ.
1411
+ */
1412
+ delete<ThrowOnError extends boolean = false>(parameters: {
1413
+ faq_id: string;
1414
+ entry_id: string;
1415
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsEntriesDeleteResults, FaqsEntriesDeleteErrors, ThrowOnError, 'data'>;
1416
+ /**
1417
+ * Update Faq Entry
1418
+ *
1419
+ * Change one entry's question, answer or both. Live from the next session.
1420
+ */
1421
+ update<ThrowOnError extends boolean = false>(parameters: {
1422
+ faq_id: string;
1423
+ entry_id: string;
1424
+ updateFaqEntryRequest: UpdateFaqEntryRequest;
1425
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsEntriesUpdateResults, FaqsEntriesUpdateErrors, ThrowOnError, 'data'>;
1426
+ }
1427
+ export declare class Faqs extends HeyApiClient {
1428
+ /**
1429
+ * List Faqs
1430
+ *
1431
+ * List the workspace's FAQs by name, with how many questions each holds.
1432
+ */
1433
+ list<ThrowOnError extends boolean = false>(parameters?: {
1434
+ limit?: number;
1435
+ offset?: number;
1436
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsListResults, FaqsListErrors, ThrowOnError, 'data'>;
1437
+ /**
1438
+ * Create Faq
1439
+ *
1440
+ * Create an FAQ, optionally with its first question/answer entries.
1441
+ */
1442
+ create<ThrowOnError extends boolean = false>(parameters: {
1443
+ faqDefinition: FaqDefinition;
1444
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsCreateResults, FaqsCreateErrors, ThrowOnError, 'data'>;
1445
+ /**
1446
+ * Delete Faq
1447
+ *
1448
+ * Delete an FAQ and its entries. Refused with 409 while an agent or task
1449
+ * still attaches it.
1450
+ */
1451
+ delete<ThrowOnError extends boolean = false>(parameters: {
1452
+ faq_id: string;
1453
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsDeleteResults, FaqsDeleteErrors, ThrowOnError, 'data'>;
1454
+ /**
1455
+ * Get Faq
1456
+ *
1457
+ * Get one FAQ with every entry, in the order they were added.
1458
+ */
1459
+ get<ThrowOnError extends boolean = false>(parameters: {
1460
+ faq_id: string;
1461
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsGetResults, FaqsGetErrors, ThrowOnError, 'data'>;
1462
+ /**
1463
+ * Update Faq
1464
+ *
1465
+ * Rename an FAQ.
1466
+ */
1467
+ update<ThrowOnError extends boolean = false>(parameters: {
1468
+ faq_id: string;
1469
+ updateFaqRequest: UpdateFaqRequest;
1470
+ }, options?: Options<never, ThrowOnError>): RequestResult<FaqsUpdateResults, FaqsUpdateErrors, ThrowOnError, 'data'>;
1471
+ private _entries?;
1472
+ get entries(): Entries;
1473
+ }
1421
1474
  export declare class McpTools extends HeyApiClient {
1422
1475
  /**
1423
1476
  * List Integration Mcp Tools
@@ -1570,170 +1623,6 @@ export declare class Integrations extends HeyApiClient {
1570
1623
  private _triggers?;
1571
1624
  get triggers(): Triggers;
1572
1625
  }
1573
- export declare class Nodes extends HeyApiClient {
1574
- /**
1575
- * Delete Node
1576
- *
1577
- * Drop one entry from the table of contents, permanently.
1578
- *
1579
- * Its children go with it, and agents can no longer retrieve any of it.
1580
- */
1581
- delete<ThrowOnError extends boolean = false>(parameters: {
1582
- kb_id: string;
1583
- node_id: string;
1584
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeNodesDeleteResults, KnowledgeNodesDeleteErrors, ThrowOnError, 'data'>;
1585
- /**
1586
- * Get Node
1587
- *
1588
- * Read one entry of the table of contents, with its full content.
1589
- *
1590
- * This is the text an agent retrieves when it fetches this node. `version` is
1591
- * what `patch_node` needs for a safe edit.
1592
- */
1593
- get<ThrowOnError extends boolean = false>(parameters: {
1594
- kb_id: string;
1595
- node_id: string;
1596
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeNodesGetResults, KnowledgeNodesGetErrors, ThrowOnError, 'data'>;
1597
- /**
1598
- * Patch Node
1599
- *
1600
- * Correct one entry's title, summary or content by hand — the way to fix a
1601
- * fact the crawl got wrong without rebuilding.
1602
- *
1603
- * `title` and `summary` are what the agent sees in the table of contents and
1604
- * decide whether it ever fetches this node, so keep them accurate.
1605
- *
1606
- * Send the `version` you read from `get_node`; a mismatch is rejected rather
1607
- * than overwriting someone else's edit.
1608
- */
1609
- update<ThrowOnError extends boolean = false>(parameters: {
1610
- kb_id: string;
1611
- node_id: string;
1612
- patchNodeRequest: PatchNodeRequest;
1613
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeNodesUpdateResults, KnowledgeNodesUpdateErrors, ThrowOnError, 'data'>;
1614
- }
1615
- export declare class Pages extends HeyApiClient {
1616
- /**
1617
- * List Pages
1618
- *
1619
- * List the crawled pages and how each one transcribed.
1620
- *
1621
- * Where you look when a knowledge base is missing something: a page with a
1622
- * non-`done` status and an `error` never made it in, and `content_len` of 0
1623
- * means the URL yielded nothing worth indexing.
1624
- */
1625
- list<ThrowOnError extends boolean = false>(parameters: {
1626
- kb_id: string;
1627
- limit?: number;
1628
- offset?: number;
1629
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgePagesListResults, KnowledgePagesListErrors, ThrowOnError, 'data'>;
1630
- }
1631
- export declare class Knowledge2 extends HeyApiClient {
1632
- /**
1633
- * List Kbs
1634
- *
1635
- * List the workspace's knowledge bases with their build status.
1636
- *
1637
- * A knowledge base gives an agent grounded answers over crawled content. Only
1638
- * one with status `ready` can be attached to an agent, through the agent
1639
- * config's `kb_ids`.
1640
- */
1641
- list<ThrowOnError extends boolean = false>(parameters?: {
1642
- limit?: number;
1643
- offset?: number;
1644
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeListResults, KnowledgeListErrors, ThrowOnError, 'data'>;
1645
- /**
1646
- * Create Kb
1647
- *
1648
- * Start a knowledge base by crawling one or more websites.
1649
- *
1650
- * Returns immediately with `status: discovering` — crawling takes minutes.
1651
- * Poll `get_kb` until `review`, then pass the URLs worth indexing to
1652
- * `build_kb`. `max_pages` caps how many discovery may find (default 1000) and
1653
- * `notes` guides how the content is transcribed and organized.
1654
- */
1655
- create<ThrowOnError extends boolean = false>(parameters: {
1656
- createKbRequest: CreateKBRequest;
1657
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeCreateResults, KnowledgeCreateErrors, ThrowOnError, 'data'>;
1658
- /**
1659
- * Delete Kb
1660
- *
1661
- * Delete a knowledge base and everything crawled into it, permanently.
1662
- *
1663
- * Rebuilding means crawling the site again. Agents that list it in `kb_ids`
1664
- * lose those grounded answers, so detach it there first.
1665
- */
1666
- delete<ThrowOnError extends boolean = false>(parameters: {
1667
- kb_id: string;
1668
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeDeleteResults, KnowledgeDeleteErrors, ThrowOnError, 'data'>;
1669
- /**
1670
- * Get Kb
1671
- *
1672
- * Read one knowledge base: build status, progress and content tree.
1673
- *
1674
- * `status` walks `discovering` -> `review` -> `transcribing` -> `generating`
1675
- * -> `ready`, with `error` set if it stopped. At `review`, `discovered` holds
1676
- * the crawled URLs awaiting your selection; once ready, `tree` is the table of
1677
- * contents. This is the endpoint to poll while a build runs.
1678
- */
1679
- get<ThrowOnError extends boolean = false>(parameters: {
1680
- kb_id: string;
1681
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeGetResults, KnowledgeGetErrors, ThrowOnError, 'data'>;
1682
- /**
1683
- * Build Kb
1684
- *
1685
- * Index the chosen pages, then write the table of contents.
1686
- *
1687
- * Call this once the knowledge base reaches `review`, passing the subset of
1688
- * `discovered` URLs worth indexing — the KB is only as good as that choice.
1689
- * Returns as soon as the work is queued; poll `get_kb` until `ready`, which is
1690
- * when it can be attached to an agent.
1691
- */
1692
- build<ThrowOnError extends boolean = false>(parameters: {
1693
- kb_id: string;
1694
- buildKbRequest: BuildKBRequest;
1695
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeBuildResults, KnowledgeBuildErrors, ThrowOnError, 'data'>;
1696
- /**
1697
- * Events
1698
- *
1699
- * Watch one knowledge base build: `snapshot` first, then `progress` and `status`.
1700
- *
1701
- * `progress` carries the per-stage counts, `status` the terminal verdict
1702
- * (`ready`, or an `error`). The same state is readable at any time with
1703
- * `get_kb`; this is the live view of it.
1704
- */
1705
- events<ThrowOnError extends boolean = false>(parameters: {
1706
- kb_id: string;
1707
- }, options?: Options<never, ThrowOnError, KnowledgeEventsResult>): Promise<ServerSentEventsResult<KnowledgeEventsResults>>;
1708
- /**
1709
- * Get Kb Prompt
1710
- *
1711
- * The table of contents exactly as an agent using this KB is given it.
1712
- *
1713
- * Read it to judge what the agent can actually find — if a topic reads
1714
- * vaguely here, the agent will not know to fetch it. `chars` is how much of
1715
- * the agent's context this KB occupies.
1716
- */
1717
- prompt<ThrowOnError extends boolean = false>(parameters: {
1718
- kb_id: string;
1719
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgePromptResults, KnowledgePromptErrors, ThrowOnError, 'data'>;
1720
- /**
1721
- * Regenerate Toc
1722
- *
1723
- * Rewrite the table of contents from the pages already indexed.
1724
- *
1725
- * The repair for a knowledge base whose structure came out wrong, or whose
1726
- * build failed at the last stage: it re-runs only that stage, so the site is
1727
- * not crawled or transcribed again.
1728
- */
1729
- regenerateToc<ThrowOnError extends boolean = false>(parameters: {
1730
- kb_id: string;
1731
- }, options?: Options<never, ThrowOnError>): RequestResult<KnowledgeRegenerateTocResults, KnowledgeRegenerateTocErrors, ThrowOnError, 'data'>;
1732
- private _nodes?;
1733
- get nodes(): Nodes;
1734
- private _pages?;
1735
- get pages(): Pages;
1736
- }
1737
1626
  export declare class Observability extends HeyApiClient {
1738
1627
  /**
1739
1628
  * Get Observability
@@ -2612,8 +2501,8 @@ export declare class Batches3 extends HeyApiClient {
2612
2501
  * Send every ready row. **This messages real people and cannot be undone.**
2613
2502
  *
2614
2503
  * `start_at` schedules it, `window` holds it to business hours, and
2615
- * `send_daily_cap` (default 250, Meta's lowest tier) and `send_gap_seconds`
2616
- * pace it.
2504
+ * `send_daily_cap` (default a fixed 250, Meta's lowest tier; or a ramp) and
2505
+ * `send_gap_seconds` pace it.
2617
2506
  */
2618
2507
  send<ThrowOnError extends boolean = false>(parameters: {
2619
2508
  batch_id: string;
@@ -2687,10 +2576,10 @@ export declare class TalqingApi extends HeyApiClient {
2687
2576
  get copilot(): Copilot;
2688
2577
  private _email?;
2689
2578
  get email(): Email;
2579
+ private _faqs?;
2580
+ get faqs(): Faqs;
2690
2581
  private _integrations?;
2691
2582
  get integrations(): Integrations;
2692
- private _knowledge?;
2693
- get knowledge(): Knowledge2;
2694
2583
  private _observability?;
2695
2584
  get observability(): Observability;
2696
2585
  private _schemas?;