@getsupervisor/agents-studio-sdk 1.41.1-beta.166 → 1.41.1-beta.167

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/dist/index.d.cts CHANGED
@@ -823,36 +823,6 @@ type components = {
823
823
  data: components['schemas']['UsageAgentRow'][];
824
824
  meta: components['schemas']['UsageAgentsMeta'];
825
825
  };
826
- MessageTemplateResponse: {
827
- id: string;
828
- channel: 'whatsapp';
829
- name: string;
830
- category: 'utility' | 'marketing' | 'authentication';
831
- status: string;
832
- language: string;
833
- body: string;
834
- };
835
- WhatsAppButtonRequest: {
836
- type: 'quick_reply' | 'url' | 'phone' | 'phone_number';
837
- text: string;
838
- value?: string;
839
- };
840
- WhatsAppMetadataRequest: {
841
- category?: 'utility' | 'marketing' | 'authentication';
842
- language?: 'es_MX' | 'es_ES';
843
- header?: string;
844
- footer?: string;
845
- buttons?: components['schemas']['WhatsAppButtonRequest'][];
846
- };
847
- CreateMessageTemplateRequest: {
848
- channel: 'whatsapp';
849
- name: string;
850
- body: string;
851
- metadata?: components['schemas']['WhatsAppMetadataRequest'];
852
- };
853
- MessageTemplateConnectionResponse: {
854
- phoneNumber: string | null;
855
- } | null;
856
826
  ForkAgentFromTemplateRequest: {
857
827
  templateId: string;
858
828
  templateVersionId?: string;
@@ -1511,34 +1481,6 @@ type EventSubscriptionDetail = components['schemas']['EventSubscriptionDetail'];
1511
1481
  type EventSubscriptionListResponse = components['schemas']['EventSubscriptionListResponse'];
1512
1482
  type CreateEventSubscriptionRequest = components['schemas']['CreateEventSubscriptionRequest'];
1513
1483
  type UpdateEventSubscriptionRequest = components['schemas']['UpdateEventSubscriptionRequest'];
1514
- type WhatsAppConnectionResponse = {
1515
- phoneNumber: string | null;
1516
- } | null;
1517
- type MessageTemplateResponse = {
1518
- id: string;
1519
- channel: string;
1520
- name: string;
1521
- category: string;
1522
- status: string;
1523
- language: string;
1524
- body: string;
1525
- };
1526
- type CreateMessageTemplatePayload = {
1527
- channel: string;
1528
- name: string;
1529
- body: string;
1530
- metadata?: {
1531
- category?: string;
1532
- language?: string;
1533
- header?: string;
1534
- footer?: string;
1535
- buttons?: {
1536
- type: string;
1537
- text: string;
1538
- value?: string;
1539
- }[];
1540
- };
1541
- };
1542
1484
 
1543
1485
  declare class HttpError<TBody = unknown> extends Error {
1544
1486
  status: number;
@@ -2209,16 +2151,6 @@ declare function createDocumentsApi(cfg: ClientConfig & {
2209
2151
  retry?: RetryPolicy;
2210
2152
  }): DocumentsApi;
2211
2153
 
2212
- type MessageTemplatesApi = {
2213
- getConnection(): Promise<WhatsAppConnectionResponse>;
2214
- list(channel?: string): Promise<MessageTemplateResponse[]>;
2215
- create(payload: CreateMessageTemplatePayload): Promise<MessageTemplateResponse>;
2216
- remove(id: string): Promise<void>;
2217
- };
2218
- declare function createMessageTemplatesApi(cfg: ClientConfig & {
2219
- retry?: RetryPolicy;
2220
- }): MessageTemplatesApi;
2221
-
2222
2154
  declare function createSipTrunksApi(cfg: ClientConfig & {
2223
2155
  retry?: RetryPolicy;
2224
2156
  }): {
@@ -2248,9 +2180,11 @@ declare function createToolsApi(cfg: ClientConfig & {
2248
2180
  connections: {
2249
2181
  readonly connect: (toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2250
2182
  readonly create: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2183
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2251
2184
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
2252
2185
  readonly list: (options?: ListToolConnectionsOptions) => Promise<PaginatedResult<ToolConnectionListResponse, ListToolConnectionsOptions>>;
2253
2186
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2187
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2254
2188
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
2255
2189
  };
2256
2190
  list(options?: ListToolsOptions): Promise<PaginatedResult<ToolListResponse, ListToolsOptions>>;
@@ -2263,6 +2197,7 @@ declare function createToolsApi(cfg: ClientConfig & {
2263
2197
  connect(toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
2264
2198
  createConnection(payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
2265
2199
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ExecuteToolResponse>;
2200
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2266
2201
  };
2267
2202
 
2268
2203
  type ListUsageAgentsOptions = ListQueryOptions & Partial<{
@@ -2428,6 +2363,7 @@ declare function createClient(initialCfg: ClientConfig & {
2428
2363
  readonly create: (payload: CreateToolConnectionRequest, options?: {
2429
2364
  idempotencyKey?: string;
2430
2365
  }) => Promise<ToolConnectionResponse>;
2366
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2431
2367
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2432
2368
  idempotencyKey?: string;
2433
2369
  }) => Promise<ExecuteToolResponse>;
@@ -2435,6 +2371,7 @@ declare function createClient(initialCfg: ClientConfig & {
2435
2371
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
2436
2372
  idempotencyKey?: string;
2437
2373
  }) => Promise<ToolConnectionResponse>;
2374
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2438
2375
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2439
2376
  idempotencyKey?: string;
2440
2377
  }) => Promise<ExecuteToolResponse>;
@@ -2466,6 +2403,7 @@ declare function createClient(initialCfg: ClientConfig & {
2466
2403
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2467
2404
  idempotencyKey?: string;
2468
2405
  }): Promise<ExecuteToolResponse>;
2406
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2469
2407
  };
2470
2408
  catalogs: {
2471
2409
  templates: {
@@ -2478,7 +2416,6 @@ declare function createClient(initialCfg: ClientConfig & {
2478
2416
  remove(itemId: string): Promise<void>;
2479
2417
  };
2480
2418
  documents: DocumentsApi;
2481
- messageTemplates: MessageTemplatesApi;
2482
2419
  campaigns: {
2483
2420
  list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
2484
2421
  get(campaignId: string): Promise<Campaign>;
@@ -2602,6 +2539,7 @@ declare function createClient(initialCfg: ClientConfig & {
2602
2539
  readonly create: (payload: CreateToolConnectionRequest, options?: {
2603
2540
  idempotencyKey?: string;
2604
2541
  }) => Promise<ToolConnectionResponse>;
2542
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2605
2543
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2606
2544
  idempotencyKey?: string;
2607
2545
  }) => Promise<ExecuteToolResponse>;
@@ -2609,6 +2547,7 @@ declare function createClient(initialCfg: ClientConfig & {
2609
2547
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
2610
2548
  idempotencyKey?: string;
2611
2549
  }) => Promise<ToolConnectionResponse>;
2550
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2612
2551
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2613
2552
  idempotencyKey?: string;
2614
2553
  }) => Promise<ExecuteToolResponse>;
@@ -2640,6 +2579,7 @@ declare function createClient(initialCfg: ClientConfig & {
2640
2579
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2641
2580
  idempotencyKey?: string;
2642
2581
  }): Promise<ExecuteToolResponse>;
2582
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2643
2583
  };
2644
2584
  catalogs: {
2645
2585
  templates: {
@@ -2652,7 +2592,6 @@ declare function createClient(initialCfg: ClientConfig & {
2652
2592
  remove(itemId: string): Promise<void>;
2653
2593
  };
2654
2594
  documents: DocumentsApi;
2655
- messageTemplates: MessageTemplatesApi;
2656
2595
  campaigns: {
2657
2596
  list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
2658
2597
  get(campaignId: string): Promise<Campaign>;
@@ -2730,4 +2669,4 @@ declare function createHttp(cfg: ClientConfig & {
2730
2669
  resolveAccessToken: () => string;
2731
2670
  };
2732
2671
 
2733
- export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BillingBalanceResponse, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Call, type CallsListMeta, type CallsListResponse, type CallsStreamMeta, type CallsStreamResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type CloneAgentComponent, type CloneAgentPayload, type CloneAgentRequest, type CloneAgentSelection, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateMessageTemplatePayload, type CreateSipTrunkRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type DocumentRef, type DocumentsApi, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCallsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListUsageAgentsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, type MessageTemplateResponse, type MessageTemplatesApi, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PresignDocumentItem, type PresignDocumentsRequest, type PresignDocumentsResponse, type PresignedDocument, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type ResourceBalance, type ResourceProjection, type RetryPolicy, type RuntimeCompleteEvent, type RuntimeErrorEvent, type RuntimeProgressEvent, type RuntimeSseEvent, type RuntimeUsage, type SipTrunk, type SipTrunkWithPassword, type SseCallbacks, type StreamCallsOptions, type SubscriptionInfo, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateSipTrunkRequest, type UpdateWebhookRequest, type UsageAgentRow, type UsageAgentsAggregations, type UsageAgentsMeta, type UsageAgentsResponse, type VoiceListResponse, type VoiceSummary, type WebhookDeliveryDetail, type WebhookDeliveryListResponse, type WebhookDeliverySummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WhatsAppConnectionResponse, type WorkspaceCreateRequest, type WorkspaceCreateResponse, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createBillingApi, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createDocumentsApi, createHttp, createMessageTemplatesApi, createSipTrunksApi, createToolsApi, createUsageApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
2672
+ export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BillingBalanceResponse, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Call, type CallsListMeta, type CallsListResponse, type CallsStreamMeta, type CallsStreamResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type CloneAgentComponent, type CloneAgentPayload, type CloneAgentRequest, type CloneAgentSelection, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateSipTrunkRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type DocumentRef, type DocumentsApi, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCallsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListUsageAgentsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PresignDocumentItem, type PresignDocumentsRequest, type PresignDocumentsResponse, type PresignedDocument, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type ResourceBalance, type ResourceProjection, type RetryPolicy, type RuntimeCompleteEvent, type RuntimeErrorEvent, type RuntimeProgressEvent, type RuntimeSseEvent, type RuntimeUsage, type SipTrunk, type SipTrunkWithPassword, type SseCallbacks, type StreamCallsOptions, type SubscriptionInfo, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateSipTrunkRequest, type UpdateWebhookRequest, type UsageAgentRow, type UsageAgentsAggregations, type UsageAgentsMeta, type UsageAgentsResponse, type VoiceListResponse, type VoiceSummary, type WebhookDeliveryDetail, type WebhookDeliveryListResponse, type WebhookDeliverySummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WorkspaceCreateRequest, type WorkspaceCreateResponse, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createBillingApi, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createDocumentsApi, createHttp, createSipTrunksApi, createToolsApi, createUsageApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
package/dist/index.d.ts CHANGED
@@ -823,36 +823,6 @@ type components = {
823
823
  data: components['schemas']['UsageAgentRow'][];
824
824
  meta: components['schemas']['UsageAgentsMeta'];
825
825
  };
826
- MessageTemplateResponse: {
827
- id: string;
828
- channel: 'whatsapp';
829
- name: string;
830
- category: 'utility' | 'marketing' | 'authentication';
831
- status: string;
832
- language: string;
833
- body: string;
834
- };
835
- WhatsAppButtonRequest: {
836
- type: 'quick_reply' | 'url' | 'phone' | 'phone_number';
837
- text: string;
838
- value?: string;
839
- };
840
- WhatsAppMetadataRequest: {
841
- category?: 'utility' | 'marketing' | 'authentication';
842
- language?: 'es_MX' | 'es_ES';
843
- header?: string;
844
- footer?: string;
845
- buttons?: components['schemas']['WhatsAppButtonRequest'][];
846
- };
847
- CreateMessageTemplateRequest: {
848
- channel: 'whatsapp';
849
- name: string;
850
- body: string;
851
- metadata?: components['schemas']['WhatsAppMetadataRequest'];
852
- };
853
- MessageTemplateConnectionResponse: {
854
- phoneNumber: string | null;
855
- } | null;
856
826
  ForkAgentFromTemplateRequest: {
857
827
  templateId: string;
858
828
  templateVersionId?: string;
@@ -1511,34 +1481,6 @@ type EventSubscriptionDetail = components['schemas']['EventSubscriptionDetail'];
1511
1481
  type EventSubscriptionListResponse = components['schemas']['EventSubscriptionListResponse'];
1512
1482
  type CreateEventSubscriptionRequest = components['schemas']['CreateEventSubscriptionRequest'];
1513
1483
  type UpdateEventSubscriptionRequest = components['schemas']['UpdateEventSubscriptionRequest'];
1514
- type WhatsAppConnectionResponse = {
1515
- phoneNumber: string | null;
1516
- } | null;
1517
- type MessageTemplateResponse = {
1518
- id: string;
1519
- channel: string;
1520
- name: string;
1521
- category: string;
1522
- status: string;
1523
- language: string;
1524
- body: string;
1525
- };
1526
- type CreateMessageTemplatePayload = {
1527
- channel: string;
1528
- name: string;
1529
- body: string;
1530
- metadata?: {
1531
- category?: string;
1532
- language?: string;
1533
- header?: string;
1534
- footer?: string;
1535
- buttons?: {
1536
- type: string;
1537
- text: string;
1538
- value?: string;
1539
- }[];
1540
- };
1541
- };
1542
1484
 
1543
1485
  declare class HttpError<TBody = unknown> extends Error {
1544
1486
  status: number;
@@ -2209,16 +2151,6 @@ declare function createDocumentsApi(cfg: ClientConfig & {
2209
2151
  retry?: RetryPolicy;
2210
2152
  }): DocumentsApi;
2211
2153
 
2212
- type MessageTemplatesApi = {
2213
- getConnection(): Promise<WhatsAppConnectionResponse>;
2214
- list(channel?: string): Promise<MessageTemplateResponse[]>;
2215
- create(payload: CreateMessageTemplatePayload): Promise<MessageTemplateResponse>;
2216
- remove(id: string): Promise<void>;
2217
- };
2218
- declare function createMessageTemplatesApi(cfg: ClientConfig & {
2219
- retry?: RetryPolicy;
2220
- }): MessageTemplatesApi;
2221
-
2222
2154
  declare function createSipTrunksApi(cfg: ClientConfig & {
2223
2155
  retry?: RetryPolicy;
2224
2156
  }): {
@@ -2248,9 +2180,11 @@ declare function createToolsApi(cfg: ClientConfig & {
2248
2180
  connections: {
2249
2181
  readonly connect: (toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2250
2182
  readonly create: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2183
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2251
2184
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
2252
2185
  readonly list: (options?: ListToolConnectionsOptions) => Promise<PaginatedResult<ToolConnectionListResponse, ListToolConnectionsOptions>>;
2253
2186
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ToolConnectionResponse>;
2187
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2254
2188
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions) => Promise<ExecuteToolResponse>;
2255
2189
  };
2256
2190
  list(options?: ListToolsOptions): Promise<PaginatedResult<ToolListResponse, ListToolsOptions>>;
@@ -2263,6 +2197,7 @@ declare function createToolsApi(cfg: ClientConfig & {
2263
2197
  connect(toolId: string, payload: ToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
2264
2198
  createConnection(payload: CreateToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ToolConnectionResponse>;
2265
2199
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ExecuteToolResponse>;
2200
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2266
2201
  };
2267
2202
 
2268
2203
  type ListUsageAgentsOptions = ListQueryOptions & Partial<{
@@ -2428,6 +2363,7 @@ declare function createClient(initialCfg: ClientConfig & {
2428
2363
  readonly create: (payload: CreateToolConnectionRequest, options?: {
2429
2364
  idempotencyKey?: string;
2430
2365
  }) => Promise<ToolConnectionResponse>;
2366
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2431
2367
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2432
2368
  idempotencyKey?: string;
2433
2369
  }) => Promise<ExecuteToolResponse>;
@@ -2435,6 +2371,7 @@ declare function createClient(initialCfg: ClientConfig & {
2435
2371
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
2436
2372
  idempotencyKey?: string;
2437
2373
  }) => Promise<ToolConnectionResponse>;
2374
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2438
2375
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2439
2376
  idempotencyKey?: string;
2440
2377
  }) => Promise<ExecuteToolResponse>;
@@ -2466,6 +2403,7 @@ declare function createClient(initialCfg: ClientConfig & {
2466
2403
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2467
2404
  idempotencyKey?: string;
2468
2405
  }): Promise<ExecuteToolResponse>;
2406
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2469
2407
  };
2470
2408
  catalogs: {
2471
2409
  templates: {
@@ -2478,7 +2416,6 @@ declare function createClient(initialCfg: ClientConfig & {
2478
2416
  remove(itemId: string): Promise<void>;
2479
2417
  };
2480
2418
  documents: DocumentsApi;
2481
- messageTemplates: MessageTemplatesApi;
2482
2419
  campaigns: {
2483
2420
  list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
2484
2421
  get(campaignId: string): Promise<Campaign>;
@@ -2602,6 +2539,7 @@ declare function createClient(initialCfg: ClientConfig & {
2602
2539
  readonly create: (payload: CreateToolConnectionRequest, options?: {
2603
2540
  idempotencyKey?: string;
2604
2541
  }) => Promise<ToolConnectionResponse>;
2542
+ readonly delete: (toolAgentConnectionId: string) => Promise<void>;
2605
2543
  readonly execute: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2606
2544
  idempotencyKey?: string;
2607
2545
  }) => Promise<ExecuteToolResponse>;
@@ -2609,6 +2547,7 @@ declare function createClient(initialCfg: ClientConfig & {
2609
2547
  readonly createConnection: (payload: CreateToolConnectionRequest, options?: {
2610
2548
  idempotencyKey?: string;
2611
2549
  }) => Promise<ToolConnectionResponse>;
2550
+ readonly deleteConnection: (toolAgentConnectionId: string) => Promise<void>;
2612
2551
  readonly executeConnection: (toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2613
2552
  idempotencyKey?: string;
2614
2553
  }) => Promise<ExecuteToolResponse>;
@@ -2640,6 +2579,7 @@ declare function createClient(initialCfg: ClientConfig & {
2640
2579
  executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: {
2641
2580
  idempotencyKey?: string;
2642
2581
  }): Promise<ExecuteToolResponse>;
2582
+ deleteConnection(toolAgentConnectionId: string): Promise<void>;
2643
2583
  };
2644
2584
  catalogs: {
2645
2585
  templates: {
@@ -2652,7 +2592,6 @@ declare function createClient(initialCfg: ClientConfig & {
2652
2592
  remove(itemId: string): Promise<void>;
2653
2593
  };
2654
2594
  documents: DocumentsApi;
2655
- messageTemplates: MessageTemplatesApi;
2656
2595
  campaigns: {
2657
2596
  list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
2658
2597
  get(campaignId: string): Promise<Campaign>;
@@ -2730,4 +2669,4 @@ declare function createHttp(cfg: ClientConfig & {
2730
2669
  resolveAccessToken: () => string;
2731
2670
  };
2732
2671
 
2733
- export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BillingBalanceResponse, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Call, type CallsListMeta, type CallsListResponse, type CallsStreamMeta, type CallsStreamResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type CloneAgentComponent, type CloneAgentPayload, type CloneAgentRequest, type CloneAgentSelection, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateMessageTemplatePayload, type CreateSipTrunkRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type DocumentRef, type DocumentsApi, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCallsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListUsageAgentsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, type MessageTemplateResponse, type MessageTemplatesApi, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PresignDocumentItem, type PresignDocumentsRequest, type PresignDocumentsResponse, type PresignedDocument, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type ResourceBalance, type ResourceProjection, type RetryPolicy, type RuntimeCompleteEvent, type RuntimeErrorEvent, type RuntimeProgressEvent, type RuntimeSseEvent, type RuntimeUsage, type SipTrunk, type SipTrunkWithPassword, type SseCallbacks, type StreamCallsOptions, type SubscriptionInfo, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateSipTrunkRequest, type UpdateWebhookRequest, type UsageAgentRow, type UsageAgentsAggregations, type UsageAgentsMeta, type UsageAgentsResponse, type VoiceListResponse, type VoiceSummary, type WebhookDeliveryDetail, type WebhookDeliveryListResponse, type WebhookDeliverySummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WhatsAppConnectionResponse, type WorkspaceCreateRequest, type WorkspaceCreateResponse, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createBillingApi, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createDocumentsApi, createHttp, createMessageTemplatesApi, createSipTrunksApi, createToolsApi, createUsageApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
2672
+ export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BillingBalanceResponse, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Call, type CallsListMeta, type CallsListResponse, type CallsStreamMeta, type CallsStreamResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type CloneAgentComponent, type CloneAgentPayload, type CloneAgentRequest, type CloneAgentSelection, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateSipTrunkRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type DocumentRef, type DocumentsApi, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCallsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListUsageAgentsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PresignDocumentItem, type PresignDocumentsRequest, type PresignDocumentsResponse, type PresignedDocument, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type ResourceBalance, type ResourceProjection, type RetryPolicy, type RuntimeCompleteEvent, type RuntimeErrorEvent, type RuntimeProgressEvent, type RuntimeSseEvent, type RuntimeUsage, type SipTrunk, type SipTrunkWithPassword, type SseCallbacks, type StreamCallsOptions, type SubscriptionInfo, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateSipTrunkRequest, type UpdateWebhookRequest, type UsageAgentRow, type UsageAgentsAggregations, type UsageAgentsMeta, type UsageAgentsResponse, type VoiceListResponse, type VoiceSummary, type WebhookDeliveryDetail, type WebhookDeliveryListResponse, type WebhookDeliverySummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WorkspaceCreateRequest, type WorkspaceCreateResponse, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createBillingApi, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createDocumentsApi, createHttp, createSipTrunksApi, createToolsApi, createUsageApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
package/dist/index.js CHANGED
@@ -1778,39 +1778,6 @@ function createDocumentsApi(cfg) {
1778
1778
  };
1779
1779
  }
1780
1780
 
1781
- // src/api/message-templates.ts
1782
- function createMessageTemplatesApi(cfg) {
1783
- const { base, doFetch } = createHttp(cfg);
1784
- const jsonHeaders = { "content-type": "application/json" };
1785
- return {
1786
- async getConnection() {
1787
- const res = await doFetch(`${base}/message-templates/connection`, {
1788
- method: "GET"
1789
- });
1790
- return res.json();
1791
- },
1792
- async list(channel) {
1793
- const query = buildSearchParams([["channel", channel]]);
1794
- const res = await doFetch(`${base}/message-templates`, {
1795
- method: "GET",
1796
- query
1797
- });
1798
- return res.json();
1799
- },
1800
- async create(payload) {
1801
- const res = await doFetch(`${base}/message-templates`, {
1802
- method: "POST",
1803
- body: JSON.stringify(payload),
1804
- headers: jsonHeaders
1805
- });
1806
- return res.json();
1807
- },
1808
- async remove(id) {
1809
- await doFetch(`${base}/message-templates/${id}`, { method: "DELETE" });
1810
- }
1811
- };
1812
- }
1813
-
1814
1781
  // src/api/sip-trunks.ts
1815
1782
  function createSipTrunksApi(cfg) {
1816
1783
  const { base, doFetch } = createHttp(cfg);
@@ -2020,14 +1987,21 @@ function createToolsApi(cfg) {
2020
1987
  }
2021
1988
  );
2022
1989
  return res.json();
1990
+ },
1991
+ async deleteConnection(toolAgentConnectionId) {
1992
+ await doFetch(`${base}/tools/connections/${toolAgentConnectionId}`, {
1993
+ method: "DELETE"
1994
+ });
2023
1995
  }
2024
1996
  };
2025
1997
  const connections = {
2026
1998
  connect: api.connect,
2027
1999
  create: api.createConnection,
2000
+ delete: api.deleteConnection,
2028
2001
  execute: api.executeConnection,
2029
2002
  list: api.listConnections,
2030
2003
  createConnection: api.createConnection,
2004
+ deleteConnection: api.deleteConnection,
2031
2005
  executeConnection: api.executeConnection
2032
2006
  };
2033
2007
  return {
@@ -2623,7 +2597,6 @@ function createClient(initialCfg) {
2623
2597
  templates: catalogTemplatesApi
2624
2598
  },
2625
2599
  documents: createDocumentsApi(runtimeCfg),
2626
- messageTemplates: createMessageTemplatesApi(runtimeCfg),
2627
2600
  campaigns: createCampaignsApi(runtimeCfg),
2628
2601
  voices: voicesApi,
2629
2602
  apiKeys: apiKeysApi,
@@ -2721,7 +2694,6 @@ export {
2721
2694
  createClient,
2722
2695
  createDocumentsApi,
2723
2696
  createHttp,
2724
- createMessageTemplatesApi,
2725
2697
  createSipTrunksApi,
2726
2698
  createToolsApi,
2727
2699
  createUsageApi,