samva 0.54.0 → 0.56.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.
Files changed (151) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +4 -4
  4. package/dist/agent/index.js +1 -1
  5. package/dist/client/client/client.gen.js +1 -2
  6. package/dist/client/client/utils.gen.js +1 -1
  7. package/dist/client/client.gen.js +1 -1
  8. package/dist/client/sdk.gen.d.ts +69 -6
  9. package/dist/client/sdk.gen.js +216 -9
  10. package/dist/client/types.gen.d.ts +486 -7
  11. package/dist/client-attribution.js +1 -1
  12. package/dist/effect/agents.js +1 -1
  13. package/dist/effect/analytics.js +1 -1
  14. package/dist/effect/api-keys.js +1 -1
  15. package/dist/effect/approval-requests.js +1 -1
  16. package/dist/effect/attachments.js +1 -1
  17. package/dist/effect/brands.js +2 -2
  18. package/dist/effect/campaigns.d.ts +66 -56
  19. package/dist/effect/campaigns.js +1 -1
  20. package/dist/effect/categories.js +6 -6
  21. package/dist/effect/contact-groups.js +1 -1
  22. package/dist/effect/contacts.js +1 -1
  23. package/dist/effect/conversations.js +1 -1
  24. package/dist/effect/custom-fields.js +1 -1
  25. package/dist/effect/descriptors/phone-numbers.d.ts +49 -0
  26. package/dist/effect/descriptors/phone-numbers.js +47 -0
  27. package/dist/effect/descriptors/topics.d.ts +1 -1
  28. package/dist/effect/descriptors/topics.js +1 -1
  29. package/dist/effect/descriptors/whats-app.d.ts +10 -0
  30. package/dist/effect/descriptors/whats-app.js +10 -0
  31. package/dist/effect/email.js +1 -1
  32. package/dist/effect/errors.d.ts +1 -1
  33. package/dist/effect/errors.js +2 -2
  34. package/dist/effect/events.js +2 -2
  35. package/dist/effect/feedback.js +2 -2
  36. package/dist/effect/generated/accounts.d.ts +12 -1
  37. package/dist/effect/generated/accounts.js +2 -1
  38. package/dist/effect/generated/agents.js +7 -7
  39. package/dist/effect/generated/analytics.js +16 -16
  40. package/dist/effect/generated/api-keys.js +5 -5
  41. package/dist/effect/generated/approval-requests.js +1 -1
  42. package/dist/effect/generated/attachments.js +4 -4
  43. package/dist/effect/generated/brands.js +1 -1
  44. package/dist/effect/generated/campaigns.d.ts +17 -1
  45. package/dist/effect/generated/campaigns.js +15 -14
  46. package/dist/effect/generated/contact-events.js +1 -1
  47. package/dist/effect/generated/contact-groups.js +12 -12
  48. package/dist/effect/generated/contacts.js +50 -50
  49. package/dist/effect/generated/conversations.js +7 -7
  50. package/dist/effect/generated/custom-fields.js +6 -6
  51. package/dist/effect/generated/email.js +48 -48
  52. package/dist/effect/generated/events.js +5 -5
  53. package/dist/effect/generated/feedback.js +1 -1
  54. package/dist/effect/generated/index.d.ts +3 -1
  55. package/dist/effect/generated/integrations-catalog.d.ts +16 -0
  56. package/dist/effect/generated/integrations-catalog.js +10 -6
  57. package/dist/effect/generated/integrations.js +5 -5
  58. package/dist/effect/generated/journeys.d.ts +38 -1
  59. package/dist/effect/generated/journeys.js +16 -14
  60. package/dist/effect/generated/logs.js +2 -2
  61. package/dist/effect/generated/mailboxes.d.ts +41 -3
  62. package/dist/effect/generated/mailboxes.js +48 -50
  63. package/dist/effect/generated/media.js +1 -1
  64. package/dist/effect/generated/messages.js +5 -5
  65. package/dist/effect/generated/namespaces.d.ts +9 -9
  66. package/dist/effect/generated/namespaces.js +1 -1
  67. package/dist/effect/generated/newsletter-domains.js +1 -1
  68. package/dist/effect/generated/newsletter-issues.js +69 -69
  69. package/dist/effect/generated/newsletters.js +1 -1
  70. package/dist/effect/generated/operations.js +1 -1
  71. package/dist/effect/generated/organizations.d.ts +3 -0
  72. package/dist/effect/generated/organizations.js +2 -1
  73. package/dist/effect/generated/phone-numbers.d.ts +817 -0
  74. package/dist/effect/generated/phone-numbers.js +230 -0
  75. package/dist/effect/generated/policies.js +2 -2
  76. package/dist/effect/generated/scheduled-messages.js +1 -1
  77. package/dist/effect/generated/shared.d.ts +35 -14
  78. package/dist/effect/generated/shared.js +36 -13
  79. package/dist/effect/generated/subscriptions.js +1 -1
  80. package/dist/effect/generated/template-registrations.d.ts +9 -0
  81. package/dist/effect/generated/template-registrations.js +3 -2
  82. package/dist/effect/generated/template-share-links.js +9 -9
  83. package/dist/effect/generated/templates.js +119 -119
  84. package/dist/effect/generated/topic-forms.js +1 -1
  85. package/dist/effect/generated/topics.d.ts +10 -0
  86. package/dist/effect/generated/topics.js +20 -13
  87. package/dist/effect/generated/webhooks.d.ts +19 -19
  88. package/dist/effect/generated/webhooks.js +22 -18
  89. package/dist/effect/generated/whats-app-flows.js +5 -5
  90. package/dist/effect/generated/whats-app-setup-links.js +1 -1
  91. package/dist/effect/generated/whats-app.d.ts +251 -1
  92. package/dist/effect/generated/whats-app.js +75 -20
  93. package/dist/effect/generated/whoami.js +1 -1
  94. package/dist/effect/generated-metadata.d.ts +41 -1
  95. package/dist/effect/generated-metadata.js +174 -146
  96. package/dist/effect/index.d.ts +1 -0
  97. package/dist/effect/index.js +6 -5
  98. package/dist/effect/integrations-catalog.js +1 -1
  99. package/dist/effect/integrations.js +1 -1
  100. package/dist/effect/internal/client.js +6 -6
  101. package/dist/effect/internal/email-sender.js +3 -3
  102. package/dist/effect/internal/log-events.js +2 -2
  103. package/dist/effect/internal/mailbox-events.js +1 -1
  104. package/dist/effect/internal/operation.js +2 -2
  105. package/dist/effect/internal/send.js +4 -4
  106. package/dist/effect/journeys.d.ts +10 -0
  107. package/dist/effect/journeys.js +1 -1
  108. package/dist/effect/logs.js +1 -1
  109. package/dist/effect/mailboxes.d.ts +191 -191
  110. package/dist/effect/mailboxes.js +3 -3
  111. package/dist/effect/media.js +2 -2
  112. package/dist/effect/messages.js +2 -2
  113. package/dist/effect/namespaces.d.ts +2 -2
  114. package/dist/effect/namespaces.js +1 -1
  115. package/dist/effect/newsletter-domains.js +1 -1
  116. package/dist/effect/newsletter-issues.js +1 -1
  117. package/dist/effect/newsletters.js +1 -1
  118. package/dist/effect/operations.js +1 -1
  119. package/dist/effect/organizations.js +1 -1
  120. package/dist/effect/phone-numbers.d.ts +22 -0
  121. package/dist/effect/phone-numbers.js +21 -0
  122. package/dist/effect/policies.js +1 -1
  123. package/dist/effect/retry.js +3 -3
  124. package/dist/effect/scheduled-messages.d.ts +350 -350
  125. package/dist/effect/scheduled-messages.js +1 -1
  126. package/dist/effect/subscriptions.js +1 -1
  127. package/dist/effect/template-registrations.js +1 -1
  128. package/dist/effect/template-share-links.js +1 -1
  129. package/dist/effect/templates.js +2 -2
  130. package/dist/effect/topic-forms.js +1 -1
  131. package/dist/effect/topics.d.ts +70 -2
  132. package/dist/effect/topics.js +1 -1
  133. package/dist/effect/webhooks.d.ts +4 -4
  134. package/dist/effect/webhooks.js +2 -2
  135. package/dist/effect/whatsapp-flows.js +1 -1
  136. package/dist/effect/whatsapp-setup-links.js +1 -1
  137. package/dist/effect/whatsapp.d.ts +16 -0
  138. package/dist/effect/whatsapp.js +4 -2
  139. package/dist/effect/whoami.js +1 -1
  140. package/dist/index.js +2 -2
  141. package/dist/package.json.js +5 -0
  142. package/dist/promises/client.d.ts +3 -1
  143. package/dist/promises/client.js +7 -5
  144. package/dist/promises/errors.gen.d.ts +16 -2
  145. package/dist/promises/errors.gen.js +48 -11
  146. package/dist/promises/index.js +3 -3
  147. package/dist/promises/types.gen.d.ts +1 -1
  148. package/dist/request-policy.js +1 -1
  149. package/dist/service-map.d.ts +30 -0
  150. package/package.json +9 -5
  151. package/dist/package.js +0 -5
package/AGENTS.md CHANGED
@@ -54,7 +54,7 @@ A mailbox email endpoint's `sendingStatus` (`mailboxes.get`) reports the address
54
54
 
55
55
  Each SDK method is named for its API operation, so a REST `DELETE` is `remove` (`mailboxes.remove`,
56
56
  `namespaces.remove`, `webhooks.remove`, `email.removeDomain`, `newsletters.domains.remove`). The
57
- exceptions are `apiKeys.revoke`, `whatsappSetupLinks.revoke`, `campaigns.archive`,
57
+ exceptions include `phoneNumbers.releasePhoneNumber`, `apiKeys.revoke`, `whatsappSetupLinks.revoke`, `campaigns.archive`,
58
58
  `templates.delete`, `templates.deleteProject`, and `templateShareLinks.delete`. The identity call is
59
59
  `whoami.get()`. `apiKeys.create` and `apiKeys.rotate` return the secret in `key`; destructure it and
60
60
  keep the response out of logs.
package/README.md CHANGED
@@ -412,6 +412,7 @@ The Promise client exposes:
412
412
  - `namespaces`
413
413
  - `operations`
414
414
  - `organizations`
415
+ - `phoneNumbers`
415
416
  - `policies`
416
417
  - `raw`
417
418
  - `scheduledMessages`
@@ -1,12 +1,12 @@
1
1
  // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
- var __exportAll = (all, no_symbols) => {
4
- let target = {};
3
+ var __exportAll = (all, flags) => {
4
+ let target = Object.setPrototypeOf({}, null);
5
5
  for (var name in all) __defProp(target, name, {
6
6
  get: all[name],
7
7
  enumerable: true
8
8
  });
9
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
- return target;
9
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return flags & 2 ? target : Object.preventExtensions(target);
11
11
  };
12
12
  export { __exportAll };
@@ -1,5 +1,5 @@
1
- import { invokeAgent } from "./runtime.js";
2
1
  import { Schema } from "effect";
2
+ import { invokeAgent } from "./runtime.js";
3
3
  // src/agent/index.ts
4
4
  /** Input is decoded before execute runs, in the host and in offline evals alike. */
5
5
  function defineTool(definition) {
@@ -42,8 +42,7 @@ const createClient = (config = {}) => {
42
42
  };
43
43
  request = new Request(url, requestInit);
44
44
  for (const fn of interceptors.request.fns) if (fn) request = await fn(request, opts);
45
- const _fetch = opts.fetch;
46
- response = await _fetch(request);
45
+ response = await (0, opts.fetch)(request);
47
46
  for (const fn of interceptors.response.fns) if (fn) response = await fn(response, request, opts);
48
47
  const result = {
49
48
  request,
@@ -1,7 +1,7 @@
1
+ import { getAuthToken } from "../core/auth.gen.js";
1
2
  import { jsonBodySerializer } from "../core/bodySerializer.gen.js";
2
3
  import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam } from "../core/pathSerializer.gen.js";
3
4
  import { getUrl } from "../core/utils.gen.js";
4
- import { getAuthToken } from "../core/auth.gen.js";
5
5
  // src/client/client/utils.gen.ts
6
6
  const createQuerySerializer = ({ parameters = {}, ...args } = {}) => {
7
7
  const querySerializer = (queryParams) => {
@@ -1,5 +1,5 @@
1
- import { createConfig } from "./client/utils.gen.js";
2
1
  import { createClient } from "./client/client.gen.js";
2
+ import { createConfig } from "./client/utils.gen.js";
3
3
  // src/client/client.gen.ts
4
4
  const client = createClient(createConfig({ baseUrl: "https://api.samva.dev" }));
5
5
  export { client };
@@ -1,5 +1,5 @@
1
1
  import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from "./client/index.js";
2
- import type { AccountLinksWritable, AccountsCheckErrors, AccountsCheckResponses, AccountsConnectErrors, AccountsConnectResponses, AccountsGetErrors, AccountsGetResponses, AccountsListContactConnectionsErrors, AccountsListContactConnectionsResponses, AccountsListErrors, AccountsListResponses, AccountsRemoveErrors, AccountsRemoveResponses, AgentDefinition, AgentId, AgentModuleBundle, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsPublishVersionErrors, AgentsPublishVersionResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, ApprovalCallWritable, ApprovalRequestId, ApprovalRequestsApproveErrors, ApprovalRequestsApproveResponses, ApprovalRequestsCreateErrors, ApprovalRequestsCreateResponses, ApprovalRequestsGetErrors, ApprovalRequestsGetResponses, ApprovalRequestsRejectErrors, ApprovalRequestsRejectResponses, AttachmentId, AttachmentsDownloadUrlErrors, AttachmentsDownloadUrlResponses, AttachmentsGetByIdErrors, AttachmentsGetByIdResponses, AttachmentsListErrors, AttachmentsListResponses, AttachmentsRemoveErrors, AttachmentsRemoveResponses, BlockedEmailId, BrandAssets, BrandFooter, BrandsCreateErrors, BrandsCreateResponses, BrandsGetErrors, BrandsGetResponses, BrandsListErrors, BrandsListResponses, BrandsRemoveErrors, BrandsRemoveResponses, BrandsSetDefaultErrors, BrandsSetDefaultResponses, BrandsUpdateErrors, BrandsUpdateResponses, CampaignAudience, CampaignContentInput, CampaignId, CampaignPolicy, CampaignRunId, CampaignsArchiveErrors, CampaignsArchiveResponses, CampaignsCancelRunErrors, CampaignsCancelRunResponses, CampaignsCreateErrors, CampaignsCreateResponses, CampaignsGetErrors, CampaignsGetResponses, CampaignsGetRunErrors, CampaignsGetRunReportErrors, CampaignsGetRunReportResponses, CampaignsGetRunResponses, CampaignsListErrors, CampaignsListRecipientsErrors, CampaignsListRecipientsResponses, CampaignsListResponses, CampaignsListRunsErrors, CampaignsListRunsResponses, CampaignsPauseRunErrors, CampaignsPauseRunResponses, CampaignsPreviewErrors, CampaignsPreviewResponses, CampaignsResumeRunErrors, CampaignsResumeRunResponses, CampaignsScheduleRunErrors, CampaignsScheduleRunResponses, CampaignsSendTestErrors, CampaignsSendTestResponses, CampaignsUpdateErrors, CampaignsUpdateResponses, ContactEventReference, ContactEventsListEventsErrors, ContactEventsListEventsResponses, ContactGroupId, ContactGroupsAddMembersErrors, ContactGroupsAddMembersResponses, ContactGroupsCreateErrors, ContactGroupsCreateResponses, ContactGroupsEvaluateDynamicErrors, ContactGroupsEvaluateDynamicResponses, ContactGroupsGetByIdErrors, ContactGroupsGetByIdResponses, ContactGroupsGetMembersErrors, ContactGroupsGetMembersResponses, ContactGroupsListErrors, ContactGroupsListResponses, ContactGroupsPreviewErrors, ContactGroupsPreviewResponses, ContactGroupsRemoveErrors, ContactGroupsRemoveMembersErrors, ContactGroupsRemoveMembersResponses, ContactGroupsRemoveResponses, ContactGroupsUpdateErrors, ContactGroupsUpdateResponses, ContactId, ContactIdentityId, ContactIdentityInput, ContactImportJobId, ContactLookup, ContactPreferences, ContactProfileUpdate, ContactProfileWritable, ContactsAddIdentityErrors, ContactsAddIdentityResponses, ContactsAddTagsErrors, ContactsAddTagsResponses, ContactsBulkDeleteErrors, ContactsBulkDeleteResponses, ContactsBulkUpdateStatusErrors, ContactsBulkUpdateStatusResponses, ContactsBulkUpdateTagsErrors, ContactsBulkUpdateTagsResponses, ContactsCreateErrors, ContactsCreateResponses, ContactsExportErrors, ContactsExportResponses, ContactsFindErrors, ContactsFindOrCreateErrors, ContactsFindOrCreateResponses, ContactsFindResponses, ContactsGetActivityTimelineErrors, ContactsGetActivityTimelineResponses, ContactsGetEngagementErrors, ContactsGetEngagementResponses, ContactsGetErrors, ContactsGetGroupMembershipsErrors, ContactsGetGroupMembershipsResponses, ContactsGetImportJobErrors, ContactsGetImportJobResponses, ContactsGetResponses, ContactsListErrors, ContactsListResponses, ContactsMergeByConnectionErrors, ContactsMergeByConnectionResponses, ContactsMergeErrors, ContactsMergeResponses, ContactsPlanImportErrors, ContactsPlanImportResponses, ContactsRemoveErrors, ContactsRemoveIdentityErrors, ContactsRemoveIdentityResponses, ContactsRemoveResponses, ContactsRemoveTagsErrors, ContactsRemoveTagsResponses, ContactsSetConsentErrors, ContactsSetConsentResponses, ContactsStartImportErrors, ContactsStartImportResponses, ContactsUpdateErrors, ContactsUpdateResponses, ConversationContextWritable, ConversationId, ConversationsAddCategoriesErrors, ConversationsAddCategoriesResponses, ConversationsAddChannelsErrors, ConversationsAddChannelsResponses, ConversationsAddContactsErrors, ConversationsAddContactsResponses, ConversationsAddTagsErrors, ConversationsAddTagsResponses, ConversationsCreateErrors, ConversationsCreateResponses, ConversationsGetByIdErrors, ConversationsGetByIdResponses, ConversationsListErrors, ConversationsListMessagesErrors, ConversationsListMessagesResponses, ConversationsListResponses, ConversationsRemoveCategoriesErrors, ConversationsRemoveCategoriesResponses, ConversationsRemoveChannelsErrors, ConversationsRemoveChannelsResponses, ConversationsRemoveContactsErrors, ConversationsRemoveContactsResponses, ConversationsRemoveTagsErrors, ConversationsRemoveTagsResponses, ConversationsUpdateErrors, ConversationsUpdateResponses, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CustomFieldDefinitionId, CustomFieldsCreateErrors, CustomFieldsCreateResponses, CustomFieldsListErrors, CustomFieldsListResponses, CustomFieldsRemoveErrors, CustomFieldsRemoveResponses, CustomFieldsUpdateErrors, CustomFieldsUpdateResponses, DispatchSendMessagePayload, DomainConnectReturnUrl, EmailAddBlockErrors, EmailAddBlockResponses, EmailAddDomainErrors, EmailAddDomainResponses, EmailAddSenderErrors, EmailAddSenderResponses, EmailAdvanceDomainVerificationErrors, EmailAdvanceDomainVerificationResponses, EmailAttachment, EmailBccRecipients, EmailBuildCustomTrackingDomainConnectApplyUrlErrors, EmailBuildCustomTrackingDomainConnectApplyUrlResponses, EmailBuildDomainConnectApplyUrlErrors, EmailBuildDomainConnectApplyUrlResponses, EmailCancelDomainWarmingBatchErrors, EmailCancelDomainWarmingBatchResponses, EmailCcRecipients, EmailCheckBlockedErrors, EmailCheckBlockedResponses, EmailCheckSenderVerificationErrors, EmailCheckSenderVerificationResponses, EmailCompleteCustomTrackingDomainConnectErrors, EmailCompleteCustomTrackingDomainConnectResponses, EmailCompleteDomainConnectErrors, EmailCompleteDomainConnectResponses, EmailCompleteDomainWarmingErrors, EmailCompleteDomainWarmingResponses, EmailContent, EmailCountSuppressionsErrors, EmailCountSuppressionsResponses, EmailCreateDomainWarmingPlanErrors, EmailCreateDomainWarmingPlanResponses, EmailCreateForwardingRuleErrors, EmailCreateForwardingRuleResponses, EmailDeleteForwardingRuleErrors, EmailDeleteForwardingRuleResponses, EmailDetectRegistrarErrors, EmailDetectRegistrarResponses, EmailDisableCatchAllErrors, EmailDisableCatchAllResponses, EmailDisableCustomTrackingErrors, EmailDisableCustomTrackingResponses, EmailDomainId, EmailDomainWarmingBatchId, EmailEnableCatchAllErrors, EmailEnableCatchAllResponses, EmailEnableCustomTrackingErrors, EmailEnableCustomTrackingResponses, EmailEnableReceivingErrors, EmailEnableReceivingResponses, EmailForwardingRuleId, EmailGetBlockLogsErrors, EmailGetBlockLogsResponses, EmailGetCatchAllConfigErrors, EmailGetCatchAllConfigResponses, EmailGetCatchAllStatsErrors, EmailGetCatchAllStatsResponses, EmailGetCustomTrackingDomainConnectErrors, EmailGetCustomTrackingDomainConnectResponses, EmailGetCustomTrackingErrors, EmailGetCustomTrackingResponses, EmailGetDeliverabilityInsightsErrors, EmailGetDeliverabilityInsightsResponses, EmailGetDomainByIdErrors, EmailGetDomainByIdResponses, EmailGetDomainConnectErrors, EmailGetDomainConnectResponses, EmailGetDomainVerificationErrors, EmailGetDomainVerificationResponses, EmailGetDomainWarmingErrors, EmailGetDomainWarmingResponses, EmailGetForwardingLogErrors, EmailGetForwardingLogResponses, EmailGetOnboardingReviewErrors, EmailGetOnboardingReviewResponses, EmailGetReceivingStatusErrors, EmailGetReceivingStatusResponses, EmailGetRecipientTrackingPreferenceErrors, EmailGetRecipientTrackingPreferenceResponses, EmailGetSenderErrors, EmailGetSenderResponses, EmailGetStatsErrors, EmailGetStatsResponses, EmailGetTrackingDefaultsErrors, EmailGetTrackingDefaultsResponses, EmailListBlocksErrors, EmailListBlocksResponses, EmailListDomainsErrors, EmailListDomainsResponses, EmailListForwardingRulesErrors, EmailListForwardingRulesResponses, EmailListSendersErrors, EmailListSendersResponses, EmailListSuppressionsErrors, EmailListSuppressionsResponses, EmailPauseDomainWarmingErrors, EmailPauseDomainWarmingResponses, EmailReapplyOnboardingReviewErrors, EmailReapplyOnboardingReviewResponses, EmailRecheckCustomTrackingErrors, EmailRecheckCustomTrackingResponses, EmailRecipients, EmailRemoveBlockErrors, EmailRemoveBlockResponses, EmailRemoveDomainErrors, EmailRemoveDomainResponses, EmailRemoveSenderErrors, EmailRemoveSenderResponses, EmailRemoveSuppressionErrors, EmailRemoveSuppressionResponses, EmailRespondToOnboardingInformationRequestErrors, EmailRespondToOnboardingInformationRequestResponses, EmailResumeDomainWarmingErrors, EmailResumeDomainWarmingResponses, EmailRotateDomainDkimErrors, EmailRotateDomainDkimResponses, EmailSender, EmailSenderId, EmailSendMessagePayload, EmailSetDefaultDomainErrors, EmailSetDefaultDomainResponses, EmailSetDefaultSenderErrors, EmailSetDefaultSenderResponses, EmailUpdateBlockErrors, EmailUpdateBlockResponses, EmailUpdateCatchAllConfigErrors, EmailUpdateCatchAllConfigResponses, EmailUpdateDomainConfigErrors, EmailUpdateDomainConfigResponses, EmailUpdateDomainWarmingPolicyErrors, EmailUpdateDomainWarmingPolicyResponses, EmailUpdateForwardingRuleErrors, EmailUpdateForwardingRuleResponses, EmailUpdateRecipientTrackingPreferenceErrors, EmailUpdateRecipientTrackingPreferenceResponses, EmailUpdateSenderErrors, EmailUpdateSenderResponses, EmailUpdateTrackingDefaultsErrors, EmailUpdateTrackingDefaultsResponses, EventsBatchErrors, EventsBatchResponses, EventsCreateErrors, EventsCreateResponses, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, IntegrationAccountId, IntegrationCatalogListErrors, IntegrationCatalogListResponses, IntegrationCatalogPrepareErrors, IntegrationCatalogPrepareResponses, IntegrationCatalogRecipeCatalogErrors, IntegrationCatalogRecipeCatalogResponses, IntegrationCatalogRecipeConnectionHandoffErrors, IntegrationCatalogRecipeConnectionHandoffResponses, IntegrationCatalogRecipePreviewErrors, IntegrationCatalogRecipePreviewResponses, IntegrationCatalogRecipeReadinessErrors, IntegrationCatalogRecipeReadinessResponses, IntegrationCatalogRecipeSetupActivateErrors, IntegrationCatalogRecipeSetupActivateResponses, IntegrationCatalogRecipeSetupGetErrors, IntegrationCatalogRecipeSetupGetResponses, IntegrationCatalogRecipeSetupReplaceErrors, IntegrationCatalogRecipeSetupReplaceResponses, IntegrationCatalogRecipeSetupsListErrors, IntegrationCatalogRecipeSetupsListResponses, IntegrationCatalogRecipeTestErrors, IntegrationCatalogRecipeTestHandoffErrors, IntegrationCatalogRecipeTestHandoffResponses, IntegrationCatalogRecipeTestReceiptErrors, IntegrationCatalogRecipeTestReceiptResponses, IntegrationCatalogRecipeTestResponses, IntegrationCatalogRecipeWhatsAppChallengeBeginErrors, IntegrationCatalogRecipeWhatsAppChallengeBeginResponses, IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors, IntegrationCatalogRecipeWhatsAppChallengeConfirmResponses, IntegrationCatalogRecipeWhatsAppChallengeGetErrors, IntegrationCatalogRecipeWhatsAppChallengeGetResponses, IntegrationCatalogSearchErrors, IntegrationCatalogSearchResponses, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationsGetErrors, IntegrationsGetResponses, IntegrationsInstallErrors, IntegrationsInstallResponses, IntegrationsListErrors, IntegrationsListResponses, IntegrationsListToolsErrors, IntegrationsListToolsResponses, IntegrationsReadToolErrors, IntegrationsReadToolResponses, IntegrationsRemoveErrors, IntegrationsRemoveResponses, IntegrationsUpdateErrors, IntegrationsUpdateResponses, IntegrationTool, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, LogsGetErrors, LogsGetResponses, LogsListErrors, LogsListResponses, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCompleteImportUploadErrors, MailboxesCompleteImportUploadResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCountSplitsErrors, MailboxesCountSplitsResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateImportUploadErrors, MailboxesCreateImportUploadResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesCreateSplitErrors, MailboxesCreateSplitResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDeleteSplitErrors, MailboxesDeleteSplitResponses, MailboxesDeleteThreadErrors, MailboxesDeleteThreadResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardImportErrors, MailboxesDiscardImportResponses, MailboxesDiscardImportUploadErrors, MailboxesDiscardImportUploadResponses, MailboxesDiscardSpamHeldErrors, MailboxesDiscardSpamHeldResponses, MailboxesEmptySpamErrors, MailboxesEmptySpamResponses, MailboxesEmptyTrashErrors, MailboxesEmptyTrashResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetImportErrors, MailboxesGetImportResponses, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListAddressesErrors, MailboxesListAddressesResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListImportsErrors, MailboxesListImportsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListResponses, MailboxesListScheduledSendsErrors, MailboxesListScheduledSendsResponses, MailboxesListSpamHeldErrors, MailboxesListSpamHeldResponses, MailboxesListSplitsErrors, MailboxesListSplitsResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesRescheduleSendErrors, MailboxesRescheduleSendResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesScheduleDraftErrors, MailboxesScheduleDraftResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesSendScheduledNowErrors, MailboxesSendScheduledNowResponses, MailboxesSignImportUploadPartsErrors, MailboxesSignImportUploadPartsResponses, MailboxesStartImportErrors, MailboxesStartImportResponses, MailboxesUnscheduleSendErrors, MailboxesUnscheduleSendResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateSplitErrors, MailboxesUpdateSplitResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MailOutboxItemId, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, MessageDeliveryId, MessageId, MessageMetadataWritable, MessagesGetContentErrors, MessagesGetContentResponses, MessagesGetEmailErrors, MessagesGetEmailResponses, MessagesGetErrors, MessagesGetEventsErrors, MessagesGetEventsResponses, MessagesGetResponses, MessagesGetStatusErrors, MessagesGetStatusResponses, MessagesListDeliveriesErrors, MessagesListDeliveriesResponses, MessagesListErrors, MessagesListResponses, MessagesRemoveErrors, MessagesRemoveResponses, MessagesSendErrors, MessagesSendResponses, MessagesValidateEmailErrors, MessagesValidateEmailResponses, MonthlySpendCapDollars, NamespaceId, NamespaceMetadataWritable, NamespacePortalLinkId, NamespacePortalLinkMetadataWritable, NamespaceResourceType, NamespacesAssignResourceErrors, NamespacesAssignResourceResponses, NamespacesCreateErrors, NamespacesCreatePortalLinkErrors, NamespacesCreatePortalLinkResponses, NamespacesCreateResponses, NamespacesGetErrors, NamespacesGetResponses, NamespacesGetUsageErrors, NamespacesGetUsageResponses, NamespacesListErrors, NamespacesListPortalLinksErrors, NamespacesListPortalLinksResponses, NamespacesListResponses, NamespacesRemoveErrors, NamespacesRemoveResourceErrors, NamespacesRemoveResourceResponses, NamespacesRemoveResponses, NamespacesRevokePortalLinkErrors, NamespacesRevokePortalLinkResponses, NamespacesUpdateErrors, NamespacesUpdateResponses, NewsletterDomainsAddErrors, NewsletterDomainsAddResponses, NewsletterDomainsGetErrors, NewsletterDomainsGetResponses, NewsletterDomainsListErrors, NewsletterDomainsListResponses, NewsletterDomainsRemoveErrors, NewsletterDomainsRemoveResponses, NewsletterId, NewsletterIssuesCheckErrors, NewsletterIssuesCheckResponses, NewsletterIssuesCreateErrors, NewsletterIssuesCreateResponses, NewsletterIssuesGetErrors, NewsletterIssuesGetResponses, NewsletterIssuesHeadErrors, NewsletterIssuesHeadResponses, NewsletterIssuesHistoryErrors, NewsletterIssuesHistoryResponses, NewsletterIssuesListErrors, NewsletterIssuesListResponses, NewsletterIssuesOpenErrors, NewsletterIssuesOpenResponses, NewsletterIssuesRemoveErrors, NewsletterIssuesRemoveResponses, NewsletterIssuesRenderErrors, NewsletterIssuesRenderResponses, NewsletterIssuesSaveErrors, NewsletterIssuesSaveResponses, NewsletterIssuesUpdateErrors, NewsletterIssuesUpdateResponses, NewslettersCreateErrors, NewslettersCreateResponses, NewslettersGetErrors, NewslettersGetResponses, NewslettersListErrors, NewslettersListResponses, NewslettersRemoveErrors, NewslettersRemoveResponses, NewslettersUpdateErrors, NewslettersUpdateResponses, OperationId, OperationsGetErrors, OperationsGetResponses, OperationsListErrors, OperationsListResponses, OperationsRetryErrors, OperationsRetryResponses, OrganizationsAssignPersonalMailboxErrors, OrganizationsAssignPersonalMailboxResponses, OrganizationsCreateAvatarUploadErrors, OrganizationsCreateAvatarUploadResponses, OrganizationsCreateErrors, OrganizationsCreateResponses, OrganizationsDeleteErrors, OrganizationsDeleteResponses, OrganizationsGetErrors, OrganizationsGetPersonalMailboxAddressOptionsErrors, OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetProfileErrors, OrganizationsGetProfileResponses, OrganizationsGetResponses, OrganizationsGetTrustTierErrors, OrganizationsGetTrustTierResponses, OrganizationsGetUsageErrors, OrganizationsGetUsageResponses, OrganizationsInviteMemberErrors, OrganizationsInviteMemberResponses, OrganizationsListPersonalMailboxAssignmentsErrors, OrganizationsListPersonalMailboxAssignmentsResponses, OrganizationsUpdateErrors, OrganizationsUpdateResponses, PhoneRegion, PoliciesDeletePolicyErrors, PoliciesDeletePolicyResponses, PoliciesGetPolicyErrors, PoliciesGetPolicyResponses, PoliciesSetPolicyErrors, PoliciesSetPolicyResponses, PolicyReviewRound, PolicyRule, PolicyVersion, RecipeSetupReferencesWritable, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateRegistrationsGetErrors, TemplateRegistrationsGetResponses, TemplateRegistrationsListErrors, TemplateRegistrationsListResponses, TemplateRegistrationsSubmitErrors, TemplateRegistrationsSubmitResponses, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromBriefErrors, TemplatesCreateFromBriefResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, TemplateShareLinksCreateErrors, TemplateShareLinksCreateResponses, TemplateShareLinksDeleteErrors, TemplateShareLinksDeleteResponses, TemplateShareLinksGetErrors, TemplateShareLinksGetResponses, TemplateShareLinksRenameErrors, TemplateShareLinksRenameResponses, TemplateShareLinksUpdateErrors, TemplateShareLinksUpdateResponses, TemplatesIssueGitCredentialErrors, TemplatesIssueGitCredentialResponses, TemplatesListErrors, TemplatesListFamiliesErrors, TemplatesListFamiliesResponses, TemplatesListInputContractsErrors, TemplatesListInputContractsResponses, TemplatesListResponses, TemplatesOpenWorkspaceErrors, TemplatesOpenWorkspaceResponses, TemplatesPatchWorkspaceErrors, TemplatesPatchWorkspaceResponses, TemplatesPublishErrors, TemplatesPublishResponses, TemplatesPutWorkspaceAssetErrors, TemplatesPutWorkspaceAssetResponses, TemplatesRemoveWorkspaceResourceErrors, TemplatesRemoveWorkspaceResourceResponses, TemplatesRenameFamilyErrors, TemplatesRenameFamilyResponses, TemplatesRenderPublicationErrors, TemplatesRenderPublicationResponses, TemplatesRenderWorkspaceFixtureErrors, TemplatesRenderWorkspaceFixtureResponses, TemplatesResolveWorkspaceConflictErrors, TemplatesResolveWorkspaceConflictResponses, TemplatesRestoreWorkspaceErrors, TemplatesRestoreWorkspaceResponses, TemplatesSaveWorkspaceErrors, TemplatesSaveWorkspaceResponses, TemplatesSuggestStartersErrors, TemplatesSuggestStartersResponses, TemplatesUpdateErrors, TemplatesUpdateResponses, TemplatesWorkspaceHistoryErrors, TemplatesWorkspaceHistoryResponses, TemplateTrackingDefault, TopicContactRef, TopicFormsCreateErrors, TopicFormsCreateResponses, TopicFormsGetErrors, TopicFormsGetResponses, TopicFormsListErrors, TopicFormsListResponses, TopicFormsRemoveErrors, TopicFormsRemoveResponses, TopicFormsUpdateErrors, TopicFormsUpdateResponses, TopicId, TopicsCheckSubscriptionErrors, TopicsCheckSubscriptionResponses, TopicsCreateErrors, TopicsCreateResponses, TopicsGetErrors, TopicsGetResponses, TopicsListErrors, TopicsListResponses, TopicsListSubscriptionsErrors, TopicsListSubscriptionsResponses, TopicsRemoveErrors, TopicsRemoveResponses, TopicsSetDefaultErrors, TopicsSetDefaultResponses, TopicsSetSubscriptionsErrors, TopicsSetSubscriptionsResponses, TopicsUpdateErrors, TopicsUpdateResponses, TrackingRecipientEmail, UserId, WebhookDeliveryId, WebhookEndpointId, WebhooksCreateErrors, WebhooksCreateResponses, WebhooksGetErrors, WebhooksGetLogsErrors, WebhooksGetLogsResponses, WebhooksGetResponses, WebhooksGetSecretErrors, WebhooksGetSecretResponses, WebhooksGetStatsErrors, WebhooksGetStatsResponses, WebhooksListErrors, WebhooksListResponses, WebhooksRegenerateSecretErrors, WebhooksRegenerateSecretResponses, WebhooksRemoveErrors, WebhooksRemoveResponses, WebhooksRetryDeliveryErrors, WebhooksRetryDeliveryResponses, WebhooksTestErrors, WebhooksTestResponses, WebhooksUpdateErrors, WebhooksUpdateResponses, WhatsAppBusinessAccountId, WhatsappConnectBusinessAccountErrors, WhatsappConnectBusinessAccountResponses, WhatsappDisconnectBusinessAccountErrors, WhatsappDisconnectBusinessAccountResponses, WhatsAppFlowId, WhatsappFlowsCreateErrors, WhatsappFlowsCreateResponses, WhatsappFlowsGetErrors, WhatsappFlowsGetResponses, WhatsappFlowsListErrors, WhatsappFlowsListRegistrationsErrors, WhatsappFlowsListRegistrationsResponses, WhatsappFlowsListResponses, WhatsappFlowsListVersionsErrors, WhatsappFlowsListVersionsResponses, WhatsappFlowsRecordVersionErrors, WhatsappFlowsRecordVersionResponses, WhatsappFlowsRegisterErrors, WhatsappFlowsRegisterResponses, WhatsappFlowsRotateEncryptionKeyErrors, WhatsappFlowsRotateEncryptionKeyResponses, WhatsappFlowsRotateEndpointSecretErrors, WhatsappFlowsRotateEndpointSecretResponses, WhatsappFlowsSetEndpointErrors, WhatsappFlowsSetEndpointResponses, WhatsappGetBusinessAccountErrors, WhatsappGetBusinessAccountResponses, WhatsappGetMediaDownloadUrlErrors, WhatsappGetMediaDownloadUrlResponses, WhatsappGetServiceWindowBillingErrors, WhatsappGetServiceWindowBillingResponses, WhatsappGetServiceWindowStatusErrors, WhatsappGetServiceWindowStatusResponses, WhatsappGetStatsErrors, WhatsappGetStatsResponses, WhatsappGetTemplateStatsErrors, WhatsappGetTemplateStatsResponses, WhatsappListBusinessAccountsErrors, WhatsappListBusinessAccountsResponses, WhatsAppSendMessagePayload, WhatsAppServiceWindowId, WhatsappSetDefaultBusinessAccountErrors, WhatsappSetDefaultBusinessAccountResponses, WhatsAppSetupLinkId, WhatsAppSetupLinkMetadataWritable, WhatsAppSetupLinkRedirectUrl, WhatsappSetupLinksCreateErrors, WhatsappSetupLinksCreateResponses, WhatsappSetupLinksGetErrors, WhatsappSetupLinksGetResponses, WhatsappSetupLinksListErrors, WhatsappSetupLinksListResponses, WhatsappSetupLinksRevokeErrors, WhatsappSetupLinksRevokeResponses, WhatsAppSetupLinkStatus, WhatsappSyncAccountStatusErrors, WhatsappSyncAccountStatusResponses, WhatsappUpdateBusinessAccountErrors, WhatsappUpdateBusinessAccountResponses, WhoamiGetErrors, WhoamiGetResponses } from "./types.gen.js";
2
+ import type { AccountLinksWritable, AccountsCheckErrors, AccountsCheckResponses, AccountsConnectErrors, AccountsConnectResponses, AccountsGetErrors, AccountsGetResponses, AccountsListContactConnectionsErrors, AccountsListContactConnectionsResponses, AccountsListErrors, AccountsListResponses, AccountsRemoveErrors, AccountsRemoveResponses, AgentDefinition, AgentId, AgentModuleBundle, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsPublishVersionErrors, AgentsPublishVersionResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, ApprovalCallWritable, ApprovalRequestId, ApprovalRequestsApproveErrors, ApprovalRequestsApproveResponses, ApprovalRequestsCreateErrors, ApprovalRequestsCreateResponses, ApprovalRequestsGetErrors, ApprovalRequestsGetResponses, ApprovalRequestsRejectErrors, ApprovalRequestsRejectResponses, AttachmentId, AttachmentsDownloadUrlErrors, AttachmentsDownloadUrlResponses, AttachmentsGetByIdErrors, AttachmentsGetByIdResponses, AttachmentsListErrors, AttachmentsListResponses, AttachmentsRemoveErrors, AttachmentsRemoveResponses, BlockedEmailId, BrandAssets, BrandFooter, BrandsCreateErrors, BrandsCreateResponses, BrandsGetErrors, BrandsGetResponses, BrandsListErrors, BrandsListResponses, BrandsRemoveErrors, BrandsRemoveResponses, BrandsSetDefaultErrors, BrandsSetDefaultResponses, BrandsUpdateErrors, BrandsUpdateResponses, CampaignAudience, CampaignContentInput, CampaignId, CampaignPolicy, CampaignRunId, CampaignsArchiveErrors, CampaignsArchiveResponses, CampaignsCancelRunErrors, CampaignsCancelRunResponses, CampaignsCreateErrors, CampaignsCreateResponses, CampaignsGetErrors, CampaignsGetResponses, CampaignsGetRunErrors, CampaignsGetRunReportErrors, CampaignsGetRunReportResponses, CampaignsGetRunResponses, CampaignsListErrors, CampaignsListRecipientsErrors, CampaignsListRecipientsResponses, CampaignsListResponses, CampaignsListRunsErrors, CampaignsListRunsResponses, CampaignsPauseRunErrors, CampaignsPauseRunResponses, CampaignsPreviewErrors, CampaignsPreviewResponses, CampaignsResumeRunErrors, CampaignsResumeRunResponses, CampaignsScheduleRunErrors, CampaignsScheduleRunResponses, CampaignsSendTestErrors, CampaignsSendTestResponses, CampaignsUpdateErrors, CampaignsUpdateResponses, ContactEventReference, ContactEventsListEventsErrors, ContactEventsListEventsResponses, ContactGroupId, ContactGroupsAddMembersErrors, ContactGroupsAddMembersResponses, ContactGroupsCreateErrors, ContactGroupsCreateResponses, ContactGroupsEvaluateDynamicErrors, ContactGroupsEvaluateDynamicResponses, ContactGroupsGetByIdErrors, ContactGroupsGetByIdResponses, ContactGroupsGetMembersErrors, ContactGroupsGetMembersResponses, ContactGroupsListErrors, ContactGroupsListResponses, ContactGroupsPreviewErrors, ContactGroupsPreviewResponses, ContactGroupsRemoveErrors, ContactGroupsRemoveMembersErrors, ContactGroupsRemoveMembersResponses, ContactGroupsRemoveResponses, ContactGroupsUpdateErrors, ContactGroupsUpdateResponses, ContactId, ContactIdentityId, ContactIdentityInput, ContactImportJobId, ContactLookup, ContactPreferences, ContactProfileUpdate, ContactProfileWritable, ContactsAddIdentityErrors, ContactsAddIdentityResponses, ContactsAddTagsErrors, ContactsAddTagsResponses, ContactsBulkDeleteErrors, ContactsBulkDeleteResponses, ContactsBulkUpdateStatusErrors, ContactsBulkUpdateStatusResponses, ContactsBulkUpdateTagsErrors, ContactsBulkUpdateTagsResponses, ContactsCreateErrors, ContactsCreateResponses, ContactsExportErrors, ContactsExportResponses, ContactsFindErrors, ContactsFindOrCreateErrors, ContactsFindOrCreateResponses, ContactsFindResponses, ContactsGetActivityTimelineErrors, ContactsGetActivityTimelineResponses, ContactsGetEngagementErrors, ContactsGetEngagementResponses, ContactsGetErrors, ContactsGetGroupMembershipsErrors, ContactsGetGroupMembershipsResponses, ContactsGetImportJobErrors, ContactsGetImportJobResponses, ContactsGetResponses, ContactsListErrors, ContactsListResponses, ContactsMergeByConnectionErrors, ContactsMergeByConnectionResponses, ContactsMergeErrors, ContactsMergeResponses, ContactsPlanImportErrors, ContactsPlanImportResponses, ContactsRemoveErrors, ContactsRemoveIdentityErrors, ContactsRemoveIdentityResponses, ContactsRemoveResponses, ContactsRemoveTagsErrors, ContactsRemoveTagsResponses, ContactsSetConsentErrors, ContactsSetConsentResponses, ContactsStartImportErrors, ContactsStartImportResponses, ContactsUpdateErrors, ContactsUpdateResponses, ConversationContextWritable, ConversationId, ConversationsAddCategoriesErrors, ConversationsAddCategoriesResponses, ConversationsAddChannelsErrors, ConversationsAddChannelsResponses, ConversationsAddContactsErrors, ConversationsAddContactsResponses, ConversationsAddTagsErrors, ConversationsAddTagsResponses, ConversationsCreateErrors, ConversationsCreateResponses, ConversationsGetByIdErrors, ConversationsGetByIdResponses, ConversationsListErrors, ConversationsListMessagesErrors, ConversationsListMessagesResponses, ConversationsListResponses, ConversationsRemoveCategoriesErrors, ConversationsRemoveCategoriesResponses, ConversationsRemoveChannelsErrors, ConversationsRemoveChannelsResponses, ConversationsRemoveContactsErrors, ConversationsRemoveContactsResponses, ConversationsRemoveTagsErrors, ConversationsRemoveTagsResponses, ConversationsUpdateErrors, ConversationsUpdateResponses, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CustomFieldDefinitionId, CustomFieldsCreateErrors, CustomFieldsCreateResponses, CustomFieldsListErrors, CustomFieldsListResponses, CustomFieldsRemoveErrors, CustomFieldsRemoveResponses, CustomFieldsUpdateErrors, CustomFieldsUpdateResponses, DispatchSendMessagePayload, DomainConnectReturnUrl, EmailAddBlockErrors, EmailAddBlockResponses, EmailAddDomainErrors, EmailAddDomainResponses, EmailAddSenderErrors, EmailAddSenderResponses, EmailAdvanceDomainVerificationErrors, EmailAdvanceDomainVerificationResponses, EmailAttachment, EmailBccRecipients, EmailBuildCustomTrackingDomainConnectApplyUrlErrors, EmailBuildCustomTrackingDomainConnectApplyUrlResponses, EmailBuildDomainConnectApplyUrlErrors, EmailBuildDomainConnectApplyUrlResponses, EmailCancelDomainWarmingBatchErrors, EmailCancelDomainWarmingBatchResponses, EmailCcRecipients, EmailCheckBlockedErrors, EmailCheckBlockedResponses, EmailCheckSenderVerificationErrors, EmailCheckSenderVerificationResponses, EmailCompleteCustomTrackingDomainConnectErrors, EmailCompleteCustomTrackingDomainConnectResponses, EmailCompleteDomainConnectErrors, EmailCompleteDomainConnectResponses, EmailCompleteDomainWarmingErrors, EmailCompleteDomainWarmingResponses, EmailContent, EmailCountSuppressionsErrors, EmailCountSuppressionsResponses, EmailCreateDomainWarmingPlanErrors, EmailCreateDomainWarmingPlanResponses, EmailCreateForwardingRuleErrors, EmailCreateForwardingRuleResponses, EmailDeleteForwardingRuleErrors, EmailDeleteForwardingRuleResponses, EmailDetectRegistrarErrors, EmailDetectRegistrarResponses, EmailDisableCatchAllErrors, EmailDisableCatchAllResponses, EmailDisableCustomTrackingErrors, EmailDisableCustomTrackingResponses, EmailDomainId, EmailDomainWarmingBatchId, EmailEnableCatchAllErrors, EmailEnableCatchAllResponses, EmailEnableCustomTrackingErrors, EmailEnableCustomTrackingResponses, EmailEnableReceivingErrors, EmailEnableReceivingResponses, EmailForwardingRuleId, EmailGetBlockLogsErrors, EmailGetBlockLogsResponses, EmailGetCatchAllConfigErrors, EmailGetCatchAllConfigResponses, EmailGetCatchAllStatsErrors, EmailGetCatchAllStatsResponses, EmailGetCustomTrackingDomainConnectErrors, EmailGetCustomTrackingDomainConnectResponses, EmailGetCustomTrackingErrors, EmailGetCustomTrackingResponses, EmailGetDeliverabilityInsightsErrors, EmailGetDeliverabilityInsightsResponses, EmailGetDomainByIdErrors, EmailGetDomainByIdResponses, EmailGetDomainConnectErrors, EmailGetDomainConnectResponses, EmailGetDomainVerificationErrors, EmailGetDomainVerificationResponses, EmailGetDomainWarmingErrors, EmailGetDomainWarmingResponses, EmailGetForwardingLogErrors, EmailGetForwardingLogResponses, EmailGetOnboardingReviewErrors, EmailGetOnboardingReviewResponses, EmailGetReceivingStatusErrors, EmailGetReceivingStatusResponses, EmailGetRecipientTrackingPreferenceErrors, EmailGetRecipientTrackingPreferenceResponses, EmailGetSenderErrors, EmailGetSenderResponses, EmailGetStatsErrors, EmailGetStatsResponses, EmailGetTrackingDefaultsErrors, EmailGetTrackingDefaultsResponses, EmailListBlocksErrors, EmailListBlocksResponses, EmailListDomainsErrors, EmailListDomainsResponses, EmailListForwardingRulesErrors, EmailListForwardingRulesResponses, EmailListSendersErrors, EmailListSendersResponses, EmailListSuppressionsErrors, EmailListSuppressionsResponses, EmailPauseDomainWarmingErrors, EmailPauseDomainWarmingResponses, EmailReapplyOnboardingReviewErrors, EmailReapplyOnboardingReviewResponses, EmailRecheckCustomTrackingErrors, EmailRecheckCustomTrackingResponses, EmailRecipients, EmailRemoveBlockErrors, EmailRemoveBlockResponses, EmailRemoveDomainErrors, EmailRemoveDomainResponses, EmailRemoveSenderErrors, EmailRemoveSenderResponses, EmailRemoveSuppressionErrors, EmailRemoveSuppressionResponses, EmailRespondToOnboardingInformationRequestErrors, EmailRespondToOnboardingInformationRequestResponses, EmailResumeDomainWarmingErrors, EmailResumeDomainWarmingResponses, EmailRotateDomainDkimErrors, EmailRotateDomainDkimResponses, EmailSender, EmailSenderId, EmailSendMessagePayload, EmailSetDefaultDomainErrors, EmailSetDefaultDomainResponses, EmailSetDefaultSenderErrors, EmailSetDefaultSenderResponses, EmailUpdateBlockErrors, EmailUpdateBlockResponses, EmailUpdateCatchAllConfigErrors, EmailUpdateCatchAllConfigResponses, EmailUpdateDomainConfigErrors, EmailUpdateDomainConfigResponses, EmailUpdateDomainWarmingPolicyErrors, EmailUpdateDomainWarmingPolicyResponses, EmailUpdateForwardingRuleErrors, EmailUpdateForwardingRuleResponses, EmailUpdateRecipientTrackingPreferenceErrors, EmailUpdateRecipientTrackingPreferenceResponses, EmailUpdateSenderErrors, EmailUpdateSenderResponses, EmailUpdateTrackingDefaultsErrors, EmailUpdateTrackingDefaultsResponses, EventsBatchErrors, EventsBatchResponses, EventsCreateErrors, EventsCreateResponses, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, IntegrationAccountId, IntegrationCatalogListErrors, IntegrationCatalogListResponses, IntegrationCatalogPrepareErrors, IntegrationCatalogPrepareResponses, IntegrationCatalogRecipeCatalogErrors, IntegrationCatalogRecipeCatalogResponses, IntegrationCatalogRecipeConnectionHandoffErrors, IntegrationCatalogRecipeConnectionHandoffResponses, IntegrationCatalogRecipePreviewErrors, IntegrationCatalogRecipePreviewResponses, IntegrationCatalogRecipeReadinessErrors, IntegrationCatalogRecipeReadinessResponses, IntegrationCatalogRecipeSetupActivateErrors, IntegrationCatalogRecipeSetupActivateResponses, IntegrationCatalogRecipeSetupGetErrors, IntegrationCatalogRecipeSetupGetResponses, IntegrationCatalogRecipeSetupReplaceErrors, IntegrationCatalogRecipeSetupReplaceResponses, IntegrationCatalogRecipeSetupsListErrors, IntegrationCatalogRecipeSetupsListResponses, IntegrationCatalogRecipeTestErrors, IntegrationCatalogRecipeTestHandoffErrors, IntegrationCatalogRecipeTestHandoffResponses, IntegrationCatalogRecipeTestReceiptErrors, IntegrationCatalogRecipeTestReceiptResponses, IntegrationCatalogRecipeTestResponses, IntegrationCatalogRecipeWhatsAppChallengeBeginErrors, IntegrationCatalogRecipeWhatsAppChallengeBeginResponses, IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors, IntegrationCatalogRecipeWhatsAppChallengeConfirmResponses, IntegrationCatalogRecipeWhatsAppChallengeGetErrors, IntegrationCatalogRecipeWhatsAppChallengeGetResponses, IntegrationCatalogSearchErrors, IntegrationCatalogSearchResponses, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationsGetErrors, IntegrationsGetResponses, IntegrationsInstallErrors, IntegrationsInstallResponses, IntegrationsListErrors, IntegrationsListResponses, IntegrationsListToolsErrors, IntegrationsListToolsResponses, IntegrationsReadToolErrors, IntegrationsReadToolResponses, IntegrationsRemoveErrors, IntegrationsRemoveResponses, IntegrationsUpdateErrors, IntegrationsUpdateResponses, IntegrationTool, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, LogsGetErrors, LogsGetResponses, LogsListErrors, LogsListResponses, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCompleteImportUploadErrors, MailboxesCompleteImportUploadResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCountSplitsErrors, MailboxesCountSplitsResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateImportUploadErrors, MailboxesCreateImportUploadResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesCreateSplitErrors, MailboxesCreateSplitResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDeleteSplitErrors, MailboxesDeleteSplitResponses, MailboxesDeleteThreadErrors, MailboxesDeleteThreadResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardImportErrors, MailboxesDiscardImportResponses, MailboxesDiscardImportUploadErrors, MailboxesDiscardImportUploadResponses, MailboxesDiscardSpamHeldErrors, MailboxesDiscardSpamHeldResponses, MailboxesEmptySpamErrors, MailboxesEmptySpamResponses, MailboxesEmptyTrashErrors, MailboxesEmptyTrashResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetImportErrors, MailboxesGetImportResponses, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListAddressesErrors, MailboxesListAddressesResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListImportsErrors, MailboxesListImportsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListResponses, MailboxesListScheduledSendsErrors, MailboxesListScheduledSendsResponses, MailboxesListSpamHeldErrors, MailboxesListSpamHeldResponses, MailboxesListSplitsErrors, MailboxesListSplitsResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesRescheduleSendErrors, MailboxesRescheduleSendResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesScheduleDraftErrors, MailboxesScheduleDraftResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesSendScheduledNowErrors, MailboxesSendScheduledNowResponses, MailboxesSignImportUploadPartsErrors, MailboxesSignImportUploadPartsResponses, MailboxesStartImportErrors, MailboxesStartImportResponses, MailboxesUnscheduleSendErrors, MailboxesUnscheduleSendResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateSplitErrors, MailboxesUpdateSplitResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MailOutboxItemId, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, MessageDeliveryId, MessageId, MessageMetadataWritable, MessagesGetContentErrors, MessagesGetContentResponses, MessagesGetEmailErrors, MessagesGetEmailResponses, MessagesGetErrors, MessagesGetEventsErrors, MessagesGetEventsResponses, MessagesGetResponses, MessagesGetStatusErrors, MessagesGetStatusResponses, MessagesListDeliveriesErrors, MessagesListDeliveriesResponses, MessagesListErrors, MessagesListResponses, MessagesRemoveErrors, MessagesRemoveResponses, MessagesSendErrors, MessagesSendResponses, MessagesValidateEmailErrors, MessagesValidateEmailResponses, MonthlySpendCapDollars, NamespaceId, NamespaceMetadataWritable, NamespacePortalLinkId, NamespacePortalLinkMetadataWritable, NamespaceResourceType, NamespacesAssignResourceErrors, NamespacesAssignResourceResponses, NamespacesCreateErrors, NamespacesCreatePortalLinkErrors, NamespacesCreatePortalLinkResponses, NamespacesCreateResponses, NamespacesGetErrors, NamespacesGetResponses, NamespacesGetUsageErrors, NamespacesGetUsageResponses, NamespacesListErrors, NamespacesListPortalLinksErrors, NamespacesListPortalLinksResponses, NamespacesListResponses, NamespacesRemoveErrors, NamespacesRemoveResourceErrors, NamespacesRemoveResourceResponses, NamespacesRemoveResponses, NamespacesRevokePortalLinkErrors, NamespacesRevokePortalLinkResponses, NamespacesUpdateErrors, NamespacesUpdateResponses, NewsletterDomainsAddErrors, NewsletterDomainsAddResponses, NewsletterDomainsGetErrors, NewsletterDomainsGetResponses, NewsletterDomainsListErrors, NewsletterDomainsListResponses, NewsletterDomainsRemoveErrors, NewsletterDomainsRemoveResponses, NewsletterId, NewsletterIssuesCheckErrors, NewsletterIssuesCheckResponses, NewsletterIssuesCreateErrors, NewsletterIssuesCreateResponses, NewsletterIssuesGetErrors, NewsletterIssuesGetResponses, NewsletterIssuesHeadErrors, NewsletterIssuesHeadResponses, NewsletterIssuesHistoryErrors, NewsletterIssuesHistoryResponses, NewsletterIssuesListErrors, NewsletterIssuesListResponses, NewsletterIssuesOpenErrors, NewsletterIssuesOpenResponses, NewsletterIssuesRemoveErrors, NewsletterIssuesRemoveResponses, NewsletterIssuesRenderErrors, NewsletterIssuesRenderResponses, NewsletterIssuesSaveErrors, NewsletterIssuesSaveResponses, NewsletterIssuesUpdateErrors, NewsletterIssuesUpdateResponses, NewslettersCreateErrors, NewslettersCreateResponses, NewslettersGetErrors, NewslettersGetResponses, NewslettersListErrors, NewslettersListResponses, NewslettersRemoveErrors, NewslettersRemoveResponses, NewslettersUpdateErrors, NewslettersUpdateResponses, OperationId, OperationsGetErrors, OperationsGetResponses, OperationsListErrors, OperationsListResponses, OperationsRetryErrors, OperationsRetryResponses, OrganizationId, OrganizationsAssignPersonalMailboxErrors, OrganizationsAssignPersonalMailboxResponses, OrganizationsCreateAvatarUploadErrors, OrganizationsCreateAvatarUploadResponses, OrganizationsCreateErrors, OrganizationsCreateResponses, OrganizationsDeleteErrors, OrganizationsDeleteResponses, OrganizationsGetErrors, OrganizationsGetPersonalMailboxAddressOptionsErrors, OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetProfileErrors, OrganizationsGetProfileResponses, OrganizationsGetResponses, OrganizationsGetTrustTierErrors, OrganizationsGetTrustTierResponses, OrganizationsGetUsageErrors, OrganizationsGetUsageResponses, OrganizationsInviteMemberErrors, OrganizationsInviteMemberResponses, OrganizationsListPersonalMailboxAssignmentsErrors, OrganizationsListPersonalMailboxAssignmentsResponses, OrganizationsUpdateErrors, OrganizationsUpdateResponses, PhoneNumbersGetPhoneNumberErrors, PhoneNumbersGetPhoneNumberResponses, PhoneNumbersListPhoneNumbersErrors, PhoneNumbersListPhoneNumbersResponses, PhoneNumbersPurchaseNumberErrors, PhoneNumbersPurchaseNumberResponses, PhoneNumbersReleasePhoneNumberErrors, PhoneNumbersReleasePhoneNumberResponses, PhoneNumbersSearchAvailableNumbersErrors, PhoneNumbersSearchAvailableNumbersResponses, PhoneRegion, PoliciesDeletePolicyErrors, PoliciesDeletePolicyResponses, PoliciesGetPolicyErrors, PoliciesGetPolicyResponses, PoliciesSetPolicyErrors, PoliciesSetPolicyResponses, PolicyReviewRound, PolicyRule, PolicyVersion, RecipeSetupReferencesWritable, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsPhoneNumberId, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateRegistrationsGetErrors, TemplateRegistrationsGetResponses, TemplateRegistrationsListErrors, TemplateRegistrationsListResponses, TemplateRegistrationsSubmitErrors, TemplateRegistrationsSubmitResponses, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromBriefErrors, TemplatesCreateFromBriefResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, TemplateShareLinksCreateErrors, TemplateShareLinksCreateResponses, TemplateShareLinksDeleteErrors, TemplateShareLinksDeleteResponses, TemplateShareLinksGetErrors, TemplateShareLinksGetResponses, TemplateShareLinksRenameErrors, TemplateShareLinksRenameResponses, TemplateShareLinksUpdateErrors, TemplateShareLinksUpdateResponses, TemplatesIssueGitCredentialErrors, TemplatesIssueGitCredentialResponses, TemplatesListErrors, TemplatesListFamiliesErrors, TemplatesListFamiliesResponses, TemplatesListInputContractsErrors, TemplatesListInputContractsResponses, TemplatesListResponses, TemplatesOpenWorkspaceErrors, TemplatesOpenWorkspaceResponses, TemplatesPatchWorkspaceErrors, TemplatesPatchWorkspaceResponses, TemplatesPublishErrors, TemplatesPublishResponses, TemplatesPutWorkspaceAssetErrors, TemplatesPutWorkspaceAssetResponses, TemplatesRemoveWorkspaceResourceErrors, TemplatesRemoveWorkspaceResourceResponses, TemplatesRenameFamilyErrors, TemplatesRenameFamilyResponses, TemplatesRenderPublicationErrors, TemplatesRenderPublicationResponses, TemplatesRenderWorkspaceFixtureErrors, TemplatesRenderWorkspaceFixtureResponses, TemplatesResolveWorkspaceConflictErrors, TemplatesResolveWorkspaceConflictResponses, TemplatesRestoreWorkspaceErrors, TemplatesRestoreWorkspaceResponses, TemplatesSaveWorkspaceErrors, TemplatesSaveWorkspaceResponses, TemplatesSuggestStartersErrors, TemplatesSuggestStartersResponses, TemplatesUpdateErrors, TemplatesUpdateResponses, TemplatesWorkspaceHistoryErrors, TemplatesWorkspaceHistoryResponses, TemplateTrackingDefault, TopicContactRef, TopicFormsCreateErrors, TopicFormsCreateResponses, TopicFormsGetErrors, TopicFormsGetResponses, TopicFormsListErrors, TopicFormsListResponses, TopicFormsRemoveErrors, TopicFormsRemoveResponses, TopicFormsUpdateErrors, TopicFormsUpdateResponses, TopicId, TopicsCheckSubscriptionErrors, TopicsCheckSubscriptionResponses, TopicsCreateErrors, TopicsCreateResponses, TopicsGetErrors, TopicsGetResponses, TopicsListErrors, TopicsListResponses, TopicsListSubscriptionsErrors, TopicsListSubscriptionsResponses, TopicsRemoveErrors, TopicsRemoveResponses, TopicsSetDefaultErrors, TopicsSetDefaultResponses, TopicsSetSubscriptionsErrors, TopicsSetSubscriptionsResponses, TopicsUpdateErrors, TopicsUpdateResponses, TrackingRecipientEmail, UserId, WebhookDeliveryId, WebhookEndpointId, WebhooksCreateErrors, WebhooksCreateResponses, WebhooksGetErrors, WebhooksGetLogsErrors, WebhooksGetLogsResponses, WebhooksGetResponses, WebhooksGetSecretErrors, WebhooksGetSecretResponses, WebhooksGetStatsErrors, WebhooksGetStatsResponses, WebhooksListErrors, WebhooksListResponses, WebhooksRegenerateSecretErrors, WebhooksRegenerateSecretResponses, WebhooksRemoveErrors, WebhooksRemoveResponses, WebhooksRetryDeliveryErrors, WebhooksRetryDeliveryResponses, WebhooksTestErrors, WebhooksTestResponses, WebhooksUpdateErrors, WebhooksUpdateResponses, WhatsAppBusinessAccountId, WhatsappConnectBusinessAccountErrors, WhatsappConnectBusinessAccountResponses, WhatsappDisconnectBusinessAccountErrors, WhatsappDisconnectBusinessAccountResponses, WhatsAppFlowId, WhatsappFlowsCreateErrors, WhatsappFlowsCreateResponses, WhatsappFlowsGetErrors, WhatsappFlowsGetResponses, WhatsappFlowsListErrors, WhatsappFlowsListRegistrationsErrors, WhatsappFlowsListRegistrationsResponses, WhatsappFlowsListResponses, WhatsappFlowsListVersionsErrors, WhatsappFlowsListVersionsResponses, WhatsappFlowsRecordVersionErrors, WhatsappFlowsRecordVersionResponses, WhatsappFlowsRegisterErrors, WhatsappFlowsRegisterResponses, WhatsappFlowsRotateEncryptionKeyErrors, WhatsappFlowsRotateEncryptionKeyResponses, WhatsappFlowsRotateEndpointSecretErrors, WhatsappFlowsRotateEndpointSecretResponses, WhatsappFlowsSetEndpointErrors, WhatsappFlowsSetEndpointResponses, WhatsappGetBusinessAccountErrors, WhatsappGetBusinessAccountResponses, WhatsappGetMediaDownloadUrlErrors, WhatsappGetMediaDownloadUrlResponses, WhatsappGetServiceWindowBillingErrors, WhatsappGetServiceWindowBillingResponses, WhatsappGetServiceWindowStatusErrors, WhatsappGetServiceWindowStatusResponses, WhatsappGetStatsErrors, WhatsappGetStatsResponses, WhatsappGetTemplateStatsErrors, WhatsappGetTemplateStatsResponses, WhatsappListBusinessAccountsErrors, WhatsappListBusinessAccountsResponses, WhatsappReleaseBusinessAccountErrors, WhatsappReleaseBusinessAccountResponses, WhatsAppSendMessagePayload, WhatsAppServiceWindowId, WhatsappSetDefaultBusinessAccountErrors, WhatsappSetDefaultBusinessAccountResponses, WhatsAppSetupLinkId, WhatsAppSetupLinkMetadataWritable, WhatsAppSetupLinkRedirectUrl, WhatsappSetupLinksCreateErrors, WhatsappSetupLinksCreateResponses, WhatsappSetupLinksGetErrors, WhatsappSetupLinksGetResponses, WhatsappSetupLinksListErrors, WhatsappSetupLinksListResponses, WhatsappSetupLinksRevokeErrors, WhatsappSetupLinksRevokeResponses, WhatsAppSetupLinkStatus, WhatsappSyncAccountStatusErrors, WhatsappSyncAccountStatusResponses, WhatsappUpdateBusinessAccountErrors, WhatsappUpdateBusinessAccountResponses, WhoamiGetErrors, WhoamiGetResponses } 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
@@ -161,6 +161,58 @@ export declare class Messages {
161
161
  export declare class Messages2 {
162
162
  static messages: typeof Messages;
163
163
  }
164
+ export declare class PhoneNumbers {
165
+ /**
166
+ * Search available phone numbers
167
+ *
168
+ * Find US phone numbers by type and location. Each result identifies the channels the number supports.
169
+ */
170
+ static searchAvailableNumbers<ThrowOnError extends boolean = false>(parameters: {
171
+ country: "US";
172
+ type?: "local" | "tollfree" | "mobile" | undefined;
173
+ areaCode?: string | undefined;
174
+ locality?: string | undefined;
175
+ limit?: number | null | undefined;
176
+ }, options?: Options<never, ThrowOnError>): RequestResult<PhoneNumbersSearchAvailableNumbersResponses, PhoneNumbersSearchAvailableNumbersErrors, ThrowOnError>;
177
+ /**
178
+ * List phone numbers
179
+ *
180
+ * List provisioned phone numbers in the namespaces your credential can reach.
181
+ */
182
+ static listPhoneNumbers<ThrowOnError extends boolean = false>(parameters?: {
183
+ namespaceId?: NamespaceId | undefined;
184
+ }, options?: Options<never, ThrowOnError>): RequestResult<PhoneNumbersListPhoneNumbersResponses, PhoneNumbersListPhoneNumbersErrors, ThrowOnError>;
185
+ /**
186
+ * Purchase a phone number
187
+ *
188
+ * Order an available US phone number. A payment method is required. Poll until the number becomes active or failed. Monthly billing begins once the number is active.
189
+ */
190
+ static purchaseNumber<ThrowOnError extends boolean = false>(parameters: {
191
+ phoneNumber: string;
192
+ friendlyName?: string | null | undefined;
193
+ uses?: Array<"sms" | "whatsapp"> | null | undefined;
194
+ namespaceId?: NamespaceId | null | undefined;
195
+ }, options?: Options<never, ThrowOnError>): RequestResult<PhoneNumbersPurchaseNumberResponses, PhoneNumbersPurchaseNumberErrors, ThrowOnError>;
196
+ /**
197
+ * Release a phone number
198
+ *
199
+ * Return a number to the provider. Pending orders must settle before the number can be released.
200
+ */
201
+ static releasePhoneNumber<ThrowOnError extends boolean = false>(parameters: {
202
+ id: SmsPhoneNumberId;
203
+ }, options?: Options<never, ThrowOnError>): RequestResult<PhoneNumbersReleasePhoneNumberResponses, PhoneNumbersReleasePhoneNumberErrors, ThrowOnError>;
204
+ /**
205
+ * Get a phone number
206
+ *
207
+ * Read a provisioned phone number and its current order status.
208
+ */
209
+ static getPhoneNumber<ThrowOnError extends boolean = false>(parameters: {
210
+ id: SmsPhoneNumberId;
211
+ }, options?: Options<never, ThrowOnError>): RequestResult<PhoneNumbersGetPhoneNumberResponses, PhoneNumbersGetPhoneNumberErrors, ThrowOnError>;
212
+ }
213
+ export declare class PhoneNumbers2 {
214
+ static phoneNumbers: typeof PhoneNumbers;
215
+ }
164
216
  export declare class Logs {
165
217
  /**
166
218
  * List message log events
@@ -2480,15 +2532,17 @@ export declare class Topics {
2480
2532
  /**
2481
2533
  * List topics
2482
2534
  *
2483
- * Lists visible topics, default first then by name. The organization holds at most 200 topics, so the list is bounded and unpaged.
2535
+ * Lists one page of visible topics, default topics first, then by name and ID. Optionally filter by namespaceId. Pass nextCursor as cursor with the same filters to continue.
2484
2536
  */
2485
2537
  static list<ThrowOnError extends boolean = false>(parameters?: {
2538
+ limit?: number | null | undefined;
2539
+ cursor?: string | undefined;
2486
2540
  namespaceId?: NamespaceId | undefined;
2487
2541
  }, options?: Options<never, ThrowOnError>): RequestResult<TopicsListResponses, TopicsListErrors, ThrowOnError>;
2488
2542
  /**
2489
2543
  * Create a topic
2490
2544
  *
2491
- * Creates a topic in the caller's or requested namespace. The subscription default is opt_out when omitted. Sending defaults must be compatible with that namespace. An organization holds at most 200 topics.
2545
+ * Creates a topic in the caller's or requested namespace. The subscription default is opt_out when omitted. Sending defaults must be compatible with that namespace. Each namespace and the organization level can each hold up to 200 topics. An organization can hold up to 20,000 topics in total.
2492
2546
  */
2493
2547
  static create<ThrowOnError extends boolean = false>(parameters: {
2494
2548
  name: string;
@@ -3461,7 +3515,7 @@ export declare class Webhooks {
3461
3515
  static create<ThrowOnError extends boolean = false>(parameters: {
3462
3516
  name: string;
3463
3517
  url: string;
3464
- eventTypes: Array<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook">;
3518
+ eventTypes: Array<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "whatsapp.number.updated" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook">;
3465
3519
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3466
3520
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3467
3521
  namespaceId?: NamespaceId | null | undefined;
@@ -3495,7 +3549,7 @@ export declare class Webhooks {
3495
3549
  id: WebhookEndpointId;
3496
3550
  name?: string | null | undefined;
3497
3551
  url?: string | null | undefined;
3498
- eventTypes?: Array<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook"> | null | undefined;
3552
+ eventTypes?: Array<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "whatsapp.number.updated" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook"> | null | undefined;
3499
3553
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3500
3554
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3501
3555
  namespaceId?: NamespaceId | null | undefined;
@@ -4886,6 +4940,15 @@ export declare class Whatsapp {
4886
4940
  displayName?: string | null | undefined;
4887
4941
  webhookUrl?: string | null | undefined;
4888
4942
  }, options?: Options<never, ThrowOnError>): RequestResult<WhatsappUpdateBusinessAccountResponses, WhatsappUpdateBusinessAccountErrors, ThrowOnError>;
4943
+ /**
4944
+ * Release a WhatsApp number to another organization
4945
+ *
4946
+ * Reserves a disconnected WhatsApp number for the named Samva organization. The recipient claims it through fresh Meta Embedded Signup for the same WhatsApp Business Account, Meta phone number ID, and E.164 number. The old account remains in history and cannot reconnect.
4947
+ */
4948
+ static releaseBusinessAccount<ThrowOnError extends boolean = false>(parameters: {
4949
+ accountId: WhatsAppBusinessAccountId;
4950
+ targetOrganizationId: OrganizationId;
4951
+ }, options?: Options<never, ThrowOnError>): RequestResult<WhatsappReleaseBusinessAccountResponses, WhatsappReleaseBusinessAccountErrors, ThrowOnError>;
4889
4952
  /**
4890
4953
  * Set the default WhatsApp business account
4891
4954
  *
@@ -5055,7 +5118,7 @@ export declare class TemplateRegistrations {
5055
5118
  /**
5056
5119
  * Submit a template registration
5057
5120
  *
5058
- * Submits the template's current publication for review on a WhatsApp business account. Pass approval to bind a reviewed submission to the exact publication, workspace revision, connected number and Meta business account. A changed selection returns a conflict. An immediate submission uses the named or default number. A first submission creates the provider template. A later one resubmits through the same registration.
5121
+ * Submits the template's current publication for review on a WhatsApp business account. Pass approval to bind a reviewed submission to the exact publication, workspace revision, connected number and Meta business account. A changed selection returns a conflict. An immediate submission uses the named or default number. A submission updates the existing provider template while it exists. When Meta confirms a deletion, you can submit the same handle again once Meta frees its name.
5059
5122
  */
5060
5123
  static submit<ThrowOnError extends boolean = false>(parameters: {
5061
5124
  id: TemplateId;
@@ -1,5 +1,5 @@
1
- import { buildClientParams } from "./core/params.gen.js";
2
1
  import { requestWithPolicy } from "../promises/request.js";
2
+ import { buildClientParams } from "./core/params.gen.js";
3
3
  import { client } from "./client.gen.js";
4
4
  // src/client/sdk.gen.ts
5
5
  var ApprovalRequests = class {
@@ -465,6 +465,167 @@ var Messages = class {
465
465
  }));
466
466
  }
467
467
  };
468
+ var PhoneNumbers = class {
469
+ /**
470
+ * Search available phone numbers
471
+ *
472
+ * Find US phone numbers by type and location. Each result identifies the channels the number supports.
473
+ */
474
+ static searchAvailableNumbers(parameters, options) {
475
+ const params = buildClientParams([parameters], [{ args: [
476
+ {
477
+ in: "query",
478
+ key: "country"
479
+ },
480
+ {
481
+ in: "query",
482
+ key: "type"
483
+ },
484
+ {
485
+ in: "query",
486
+ key: "areaCode"
487
+ },
488
+ {
489
+ in: "query",
490
+ key: "locality"
491
+ },
492
+ {
493
+ in: "query",
494
+ key: "limit"
495
+ }
496
+ ] }]);
497
+ return requestWithPolicy(options?.client ?? client, "phoneNumbersSearchAvailableNumbers", options, (headers, signal) => (options?.client ?? client).get({
498
+ security: [{
499
+ name: "x-api-key",
500
+ type: "apiKey"
501
+ }],
502
+ url: "/v1/phone-numbers/available",
503
+ ...options,
504
+ ...params,
505
+ headers: {
506
+ ...headers,
507
+ ...params.headers
508
+ },
509
+ signal
510
+ }));
511
+ }
512
+ /**
513
+ * List phone numbers
514
+ *
515
+ * List provisioned phone numbers in the namespaces your credential can reach.
516
+ */
517
+ static listPhoneNumbers(parameters, options) {
518
+ const params = buildClientParams([parameters], [{ args: [{
519
+ in: "query",
520
+ key: "namespaceId"
521
+ }] }]);
522
+ return requestWithPolicy(options?.client ?? client, "phoneNumbersListPhoneNumbers", options, (headers, signal) => (options?.client ?? client).get({
523
+ security: [{
524
+ name: "x-api-key",
525
+ type: "apiKey"
526
+ }],
527
+ url: "/v1/phone-numbers",
528
+ ...options,
529
+ ...params,
530
+ headers: {
531
+ ...headers,
532
+ ...params.headers
533
+ },
534
+ signal
535
+ }));
536
+ }
537
+ /**
538
+ * Purchase a phone number
539
+ *
540
+ * Order an available US phone number. A payment method is required. Poll until the number becomes active or failed. Monthly billing begins once the number is active.
541
+ */
542
+ static purchaseNumber(parameters, options) {
543
+ const params = buildClientParams([parameters], [{ args: [
544
+ {
545
+ in: "body",
546
+ key: "phoneNumber"
547
+ },
548
+ {
549
+ in: "body",
550
+ key: "friendlyName"
551
+ },
552
+ {
553
+ in: "body",
554
+ key: "uses"
555
+ },
556
+ {
557
+ in: "body",
558
+ key: "namespaceId"
559
+ }
560
+ ] }]);
561
+ return requestWithPolicy(options?.client ?? client, "phoneNumbersPurchaseNumber", options, (headers, signal) => (options?.client ?? client).post({
562
+ security: [{
563
+ name: "x-api-key",
564
+ type: "apiKey"
565
+ }],
566
+ url: "/v1/phone-numbers",
567
+ ...options,
568
+ ...params,
569
+ body: params.body ?? {},
570
+ headers: {
571
+ "Content-Type": "application/json",
572
+ ...headers,
573
+ ...params.headers
574
+ },
575
+ signal
576
+ }));
577
+ }
578
+ /**
579
+ * Release a phone number
580
+ *
581
+ * Return a number to the provider. Pending orders must settle before the number can be released.
582
+ */
583
+ static releasePhoneNumber(parameters, options) {
584
+ const params = buildClientParams([parameters], [{ args: [{
585
+ in: "path",
586
+ key: "id"
587
+ }] }]);
588
+ return requestWithPolicy(options?.client ?? client, "phoneNumbersReleasePhoneNumber", options, (headers, signal) => (options?.client ?? client).delete({
589
+ security: [{
590
+ name: "x-api-key",
591
+ type: "apiKey"
592
+ }],
593
+ url: "/v1/phone-numbers/{id}",
594
+ ...options,
595
+ ...params,
596
+ headers: {
597
+ ...headers,
598
+ ...params.headers
599
+ },
600
+ signal
601
+ }));
602
+ }
603
+ /**
604
+ * Get a phone number
605
+ *
606
+ * Read a provisioned phone number and its current order status.
607
+ */
608
+ static getPhoneNumber(parameters, options) {
609
+ const params = buildClientParams([parameters], [{ args: [{
610
+ in: "path",
611
+ key: "id"
612
+ }] }]);
613
+ return requestWithPolicy(options?.client ?? client, "phoneNumbersGetPhoneNumber", options, (headers, signal) => (options?.client ?? client).get({
614
+ security: [{
615
+ name: "x-api-key",
616
+ type: "apiKey"
617
+ }],
618
+ url: "/v1/phone-numbers/{id}",
619
+ ...options,
620
+ ...params,
621
+ headers: {
622
+ ...headers,
623
+ ...params.headers
624
+ },
625
+ signal
626
+ }));
627
+ }
628
+ };
468
629
  var Logs = class {
469
630
  /**
470
631
  * List message log events
@@ -7640,13 +7801,23 @@ var Topics = class {
7640
7801
  /**
7641
7802
  * List topics
7642
7803
  *
7643
- * Lists visible topics, default first then by name. The organization holds at most 200 topics, so the list is bounded and unpaged.
7804
+ * Lists one page of visible topics, default topics first, then by name and ID. Optionally filter by namespaceId. Pass nextCursor as cursor with the same filters to continue.
7644
7805
  */
7645
7806
  static list(parameters, options) {
7646
- const params = buildClientParams([parameters], [{ args: [{
7647
- in: "query",
7648
- key: "namespaceId"
7649
- }] }]);
7807
+ const params = buildClientParams([parameters], [{ args: [
7808
+ {
7809
+ in: "query",
7810
+ key: "limit"
7811
+ },
7812
+ {
7813
+ in: "query",
7814
+ key: "cursor"
7815
+ },
7816
+ {
7817
+ in: "query",
7818
+ key: "namespaceId"
7819
+ }
7820
+ ] }]);
7650
7821
  return requestWithPolicy(options?.client ?? client, "topicsList", options, (headers, signal) => (options?.client ?? client).get({
7651
7822
  security: [{
7652
7823
  name: "x-api-key",
@@ -7665,7 +7836,7 @@ var Topics = class {
7665
7836
  /**
7666
7837
  * Create a topic
7667
7838
  *
7668
- * Creates a topic in the caller's or requested namespace. The subscription default is opt_out when omitted. Sending defaults must be compatible with that namespace. An organization holds at most 200 topics.
7839
+ * Creates a topic in the caller's or requested namespace. The subscription default is opt_out when omitted. Sending defaults must be compatible with that namespace. Each namespace and the organization level can each hold up to 200 topics. An organization can hold up to 20,000 topics in total.
7669
7840
  */
7670
7841
  static create(parameters, options) {
7671
7842
  const params = buildClientParams([parameters], [{ args: [
@@ -15494,6 +15665,36 @@ var Whatsapp = class {
15494
15665
  }));
15495
15666
  }
15496
15667
  /**
15668
+ * Release a WhatsApp number to another organization
15669
+ *
15670
+ * Reserves a disconnected WhatsApp number for the named Samva organization. The recipient claims it through fresh Meta Embedded Signup for the same WhatsApp Business Account, Meta phone number ID, and E.164 number. The old account remains in history and cannot reconnect.
15671
+ */
15672
+ static releaseBusinessAccount(parameters, options) {
15673
+ const params = buildClientParams([parameters], [{ args: [{
15674
+ in: "path",
15675
+ key: "accountId"
15676
+ }, {
15677
+ in: "body",
15678
+ key: "targetOrganizationId"
15679
+ }] }]);
15680
+ return requestWithPolicy(options?.client ?? client, "whatsappReleaseBusinessAccount", options, (headers, signal) => (options?.client ?? client).post({
15681
+ security: [{
15682
+ name: "x-api-key",
15683
+ type: "apiKey"
15684
+ }],
15685
+ url: "/v1/whatsapp/business-accounts/{accountId}/release",
15686
+ ...options,
15687
+ ...params,
15688
+ body: params.body ?? {},
15689
+ headers: {
15690
+ "Content-Type": "application/json",
15691
+ ...headers,
15692
+ ...params.headers
15693
+ },
15694
+ signal
15695
+ }));
15696
+ }
15697
+ /**
15497
15698
  * Set the default WhatsApp business account
15498
15699
  *
15499
15700
  * Marks a connected WhatsApp business account as the organization's default and returns it.
@@ -15981,7 +16182,7 @@ var TemplateRegistrations = class {
15981
16182
  /**
15982
16183
  * Submit a template registration
15983
16184
  *
15984
- * Submits the template's current publication for review on a WhatsApp business account. Pass approval to bind a reviewed submission to the exact publication, workspace revision, connected number and Meta business account. A changed selection returns a conflict. An immediate submission uses the named or default number. A first submission creates the provider template. A later one resubmits through the same registration.
16185
+ * Submits the template's current publication for review on a WhatsApp business account. Pass approval to bind a reviewed submission to the exact publication, workspace revision, connected number and Meta business account. A changed selection returns a conflict. An immediate submission uses the named or default number. A submission updates the existing provider template while it exists. When Meta confirms a deletion, you can submit the same handle again once Meta frees its name.
15985
16186
  */
15986
16187
  static submit(parameters, options) {
15987
16188
  const params = buildClientParams([parameters], [{ args: [
@@ -16062,6 +16263,11 @@ Object.assign(Messages.getEmail, { operation: "messagesGetEmail" });
16062
16263
  Object.assign(Messages.validateEmail, { operation: "messagesValidateEmail" });
16063
16264
  Object.assign(Messages.getStatus, { operation: "messagesGetStatus" });
16064
16265
  Object.assign(Messages.getEvents, { operation: "messagesGetEvents" });
16266
+ Object.assign(PhoneNumbers.searchAvailableNumbers, { operation: "phoneNumbersSearchAvailableNumbers" });
16267
+ Object.assign(PhoneNumbers.listPhoneNumbers, { operation: "phoneNumbersListPhoneNumbers" });
16268
+ Object.assign(PhoneNumbers.purchaseNumber, { operation: "phoneNumbersPurchaseNumber" });
16269
+ Object.assign(PhoneNumbers.releasePhoneNumber, { operation: "phoneNumbersReleasePhoneNumber" });
16270
+ Object.assign(PhoneNumbers.getPhoneNumber, { operation: "phoneNumbersGetPhoneNumber" });
16065
16271
  Object.assign(Logs.list, { operation: "logsList" });
16066
16272
  Object.assign(Logs.get, { operation: "logsGet" });
16067
16273
  Object.assign(Operations.list, { operation: "operationsList" });
@@ -16496,6 +16702,7 @@ Object.assign(Whatsapp.connectBusinessAccount, { operation: "whatsappConnectBusi
16496
16702
  Object.assign(Whatsapp.disconnectBusinessAccount, { operation: "whatsappDisconnectBusinessAccount" });
16497
16703
  Object.assign(Whatsapp.getBusinessAccount, { operation: "whatsappGetBusinessAccount" });
16498
16704
  Object.assign(Whatsapp.updateBusinessAccount, { operation: "whatsappUpdateBusinessAccount" });
16705
+ Object.assign(Whatsapp.releaseBusinessAccount, { operation: "whatsappReleaseBusinessAccount" });
16499
16706
  Object.assign(Whatsapp.setDefaultBusinessAccount, { operation: "whatsappSetDefaultBusinessAccount" });
16500
16707
  Object.assign(Whatsapp.syncAccountStatus, { operation: "whatsappSyncAccountStatus" });
16501
16708
  Object.assign(WhatsappFlows.list, { operation: "whatsappFlowsList" });
@@ -16515,6 +16722,6 @@ Object.assign(WhatsappSetupLinks.revoke, { operation: "whatsappSetupLinksRevoke"
16515
16722
  Object.assign(TemplateRegistrations.list, { operation: "templateRegistrationsList" });
16516
16723
  Object.assign(TemplateRegistrations.submit, { operation: "templateRegistrationsSubmit" });
16517
16724
  Object.assign(TemplateRegistrations.get, { operation: "templateRegistrationsGet" });
16518
- export { Accounts, Agents, Analytics, ApiKeys, ApprovalRequests, Attachments, Brands, Campaigns, ContactEvents, ContactGroups, Contacts, Conversations, CustomFields, Domains, Email, Events, Feedback, IntegrationCatalog, Integrations, Issues, Journeys, Logs, Mailboxes, Media, Messages, Namespaces, Newsletters, Operations, Organizations, Policies, ScheduledMessages, Subscriptions, TemplateRegistrations, TemplateShareLinks, Templates, TopicForms, Topics, Webhooks, Whatsapp, WhatsappFlows, WhatsappSetupLinks, Whoami };
16725
+ export { Accounts, Agents, Analytics, ApiKeys, ApprovalRequests, Attachments, Brands, Campaigns, ContactEvents, ContactGroups, Contacts, Conversations, CustomFields, Domains, Email, Events, Feedback, IntegrationCatalog, Integrations, Issues, Journeys, Logs, Mailboxes, Media, Messages, Namespaces, Newsletters, Operations, Organizations, PhoneNumbers, Policies, ScheduledMessages, Subscriptions, TemplateRegistrations, TemplateShareLinks, Templates, TopicForms, Topics, Webhooks, Whatsapp, WhatsappFlows, WhatsappSetupLinks, Whoami };
16519
16726
 
16520
16727
  //# sourceMappingURL=sdk.gen.js.map