samva 0.55.0 → 0.56.1

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 (235) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +9 -8
  3. package/dist/client/sdk.gen.d.ts +13 -4
  4. package/dist/client/sdk.gen.js +32 -1
  5. package/dist/client/types.gen.d.ts +66 -6
  6. package/dist/effect/accounts.js +9 -10
  7. package/dist/effect/agents.js +16 -17
  8. package/dist/effect/analytics.js +9 -10
  9. package/dist/effect/api-keys.js +11 -12
  10. package/dist/effect/approval-requests.js +7 -8
  11. package/dist/effect/attachments.js +7 -8
  12. package/dist/effect/brands.js +9 -10
  13. package/dist/effect/campaigns.js +18 -19
  14. package/dist/effect/contact-groups.js +13 -14
  15. package/dist/effect/contacts.js +29 -30
  16. package/dist/effect/conversations.js +16 -17
  17. package/dist/effect/custom-fields.js +7 -8
  18. package/dist/effect/descriptors/accounts.d.ts +50 -52
  19. package/dist/effect/descriptors/accounts.js +50 -52
  20. package/dist/effect/descriptors/agents.d.ts +113 -115
  21. package/dist/effect/descriptors/agents.js +120 -122
  22. package/dist/effect/descriptors/analytics.d.ts +47 -49
  23. package/dist/effect/descriptors/analytics.js +42 -44
  24. package/dist/effect/descriptors/api-keys.d.ts +69 -71
  25. package/dist/effect/descriptors/api-keys.js +73 -75
  26. package/dist/effect/descriptors/approval-requests.d.ts +34 -36
  27. package/dist/effect/descriptors/approval-requests.js +36 -38
  28. package/dist/effect/descriptors/attachments.d.ts +34 -36
  29. package/dist/effect/descriptors/attachments.js +36 -38
  30. package/dist/effect/descriptors/brands.d.ts +51 -53
  31. package/dist/effect/descriptors/brands.js +53 -55
  32. package/dist/effect/descriptors/campaigns.d.ts +130 -132
  33. package/dist/effect/descriptors/campaigns.js +137 -139
  34. package/dist/effect/descriptors/contact-groups.d.ts +86 -88
  35. package/dist/effect/descriptors/contact-groups.js +90 -92
  36. package/dist/effect/descriptors/contacts.d.ts +242 -244
  37. package/dist/effect/descriptors/contacts.js +227 -229
  38. package/dist/effect/descriptors/conversations.d.ts +114 -116
  39. package/dist/effect/descriptors/conversations.js +123 -125
  40. package/dist/effect/descriptors/custom-fields.d.ts +33 -35
  41. package/dist/effect/descriptors/custom-fields.js +33 -35
  42. package/dist/effect/descriptors/email.d.ts +623 -625
  43. package/dist/effect/descriptors/email.js +562 -578
  44. package/dist/effect/descriptors/events.d.ts +15 -17
  45. package/dist/effect/descriptors/events.js +14 -16
  46. package/dist/effect/descriptors/feedback.d.ts +7 -9
  47. package/dist/effect/descriptors/feedback.js +3 -3
  48. package/dist/effect/descriptors/integrations-catalog.d.ts +159 -161
  49. package/dist/effect/descriptors/integrations-catalog.js +142 -144
  50. package/dist/effect/descriptors/integrations.d.ts +60 -62
  51. package/dist/effect/descriptors/integrations.js +63 -65
  52. package/dist/effect/descriptors/journeys.d.ts +123 -125
  53. package/dist/effect/descriptors/journeys.js +133 -135
  54. package/dist/effect/descriptors/logs.d.ts +16 -18
  55. package/dist/effect/descriptors/logs.js +16 -18
  56. package/dist/effect/descriptors/mailboxes.d.ts +780 -782
  57. package/dist/effect/descriptors/mailboxes.js +795 -797
  58. package/dist/effect/descriptors/media.d.ts +43 -45
  59. package/dist/effect/descriptors/media.js +46 -48
  60. package/dist/effect/descriptors/messages.d.ts +86 -88
  61. package/dist/effect/descriptors/messages.js +83 -92
  62. package/dist/effect/descriptors/namespaces.d.ts +96 -98
  63. package/dist/effect/descriptors/namespaces.js +107 -109
  64. package/dist/effect/descriptors/newsletter-domains.d.ts +35 -37
  65. package/dist/effect/descriptors/newsletter-domains.js +39 -41
  66. package/dist/effect/descriptors/newsletter-issues.d.ts +98 -100
  67. package/dist/effect/descriptors/newsletter-issues.js +109 -111
  68. package/dist/effect/descriptors/newsletters.d.ts +43 -45
  69. package/dist/effect/descriptors/newsletters.js +46 -48
  70. package/dist/effect/descriptors/operations.d.ts +25 -27
  71. package/dist/effect/descriptors/operations.js +26 -28
  72. package/dist/effect/descriptors/organizations.d.ts +96 -98
  73. package/dist/effect/descriptors/organizations.js +86 -88
  74. package/dist/effect/descriptors/phone-numbers.d.ts +41 -43
  75. package/dist/effect/descriptors/phone-numbers.js +40 -42
  76. package/dist/effect/descriptors/policies.d.ts +26 -28
  77. package/dist/effect/descriptors/policies.js +29 -31
  78. package/dist/effect/descriptors/scheduled-messages.d.ts +42 -44
  79. package/dist/effect/descriptors/scheduled-messages.js +43 -45
  80. package/dist/effect/descriptors/subscriptions.d.ts +7 -9
  81. package/dist/effect/descriptors/subscriptions.js +3 -3
  82. package/dist/effect/descriptors/template-registrations.d.ts +26 -28
  83. package/dist/effect/descriptors/template-registrations.js +29 -31
  84. package/dist/effect/descriptors/template-share-links.d.ts +44 -46
  85. package/dist/effect/descriptors/template-share-links.js +49 -51
  86. package/dist/effect/descriptors/templates.d.ts +361 -363
  87. package/dist/effect/descriptors/templates.js +348 -350
  88. package/dist/effect/descriptors/topic-forms.d.ts +44 -46
  89. package/dist/effect/descriptors/topic-forms.js +49 -51
  90. package/dist/effect/descriptors/topics.d.ts +77 -79
  91. package/dist/effect/descriptors/topics.js +80 -82
  92. package/dist/effect/descriptors/webhooks.d.ts +96 -98
  93. package/dist/effect/descriptors/webhooks.js +103 -105
  94. package/dist/effect/descriptors/whats-app-flows.d.ts +86 -88
  95. package/dist/effect/descriptors/whats-app-flows.js +90 -92
  96. package/dist/effect/descriptors/whats-app-setup-links.d.ts +33 -35
  97. package/dist/effect/descriptors/whats-app-setup-links.js +33 -35
  98. package/dist/effect/descriptors/whats-app.d.ts +111 -103
  99. package/dist/effect/descriptors/whats-app.js +111 -103
  100. package/dist/effect/descriptors/whoami.d.ts +7 -9
  101. package/dist/effect/descriptors/whoami.js +3 -3
  102. package/dist/effect/email.js +66 -67
  103. package/dist/effect/events.js +5 -6
  104. package/dist/effect/feedback.js +4 -4
  105. package/dist/effect/generated/accounts.d.ts +144 -142
  106. package/dist/effect/generated/accounts.js +14 -9
  107. package/dist/effect/generated/agents.d.ts +1502 -1493
  108. package/dist/effect/generated/agents.js +28 -16
  109. package/dist/effect/generated/analytics.d.ts +55 -53
  110. package/dist/effect/generated/analytics.js +14 -9
  111. package/dist/effect/generated/api-keys.d.ts +216 -212
  112. package/dist/effect/generated/api-keys.js +18 -11
  113. package/dist/effect/generated/approval-requests.d.ts +60 -60
  114. package/dist/effect/generated/approval-requests.js +10 -7
  115. package/dist/effect/generated/attachments.d.ts +32 -32
  116. package/dist/effect/generated/attachments.js +10 -7
  117. package/dist/effect/generated/brands.d.ts +179 -177
  118. package/dist/effect/generated/brands.js +14 -9
  119. package/dist/effect/generated/campaigns.d.ts +1083 -1072
  120. package/dist/effect/generated/campaigns.js +32 -18
  121. package/dist/effect/generated/contact-events.d.ts +3 -6
  122. package/dist/effect/generated/contact-events.js +4 -4
  123. package/dist/effect/generated/contact-groups.d.ts +186 -180
  124. package/dist/effect/generated/contact-groups.js +22 -13
  125. package/dist/effect/generated/contacts.d.ts +1565 -1545
  126. package/dist/effect/generated/contacts.js +50 -27
  127. package/dist/effect/generated/conversations.d.ts +340 -331
  128. package/dist/effect/generated/conversations.js +28 -16
  129. package/dist/effect/generated/custom-fields.d.ts +63 -63
  130. package/dist/effect/generated/custom-fields.js +10 -7
  131. package/dist/effect/generated/email.d.ts +2731 -2671
  132. package/dist/effect/generated/email.js +130 -67
  133. package/dist/effect/generated/events.d.ts +160 -162
  134. package/dist/effect/generated/events.js +6 -5
  135. package/dist/effect/generated/feedback.d.ts +3 -6
  136. package/dist/effect/generated/feedback.js +4 -4
  137. package/dist/effect/generated/index.d.ts +174 -45
  138. package/dist/effect/generated/integrations-catalog.d.ts +459 -446
  139. package/dist/effect/generated/integrations-catalog.js +36 -20
  140. package/dist/effect/generated/integrations.d.ts +155 -152
  141. package/dist/effect/generated/integrations.js +16 -10
  142. package/dist/effect/generated/journeys.d.ts +864 -854
  143. package/dist/effect/generated/journeys.js +30 -17
  144. package/dist/effect/generated/logs.d.ts +147 -149
  145. package/dist/effect/generated/logs.js +6 -5
  146. package/dist/effect/generated/mailboxes.d.ts +7271 -7196
  147. package/dist/effect/generated/mailboxes.js +160 -82
  148. package/dist/effect/generated/media.d.ts +77 -76
  149. package/dist/effect/generated/media.js +12 -8
  150. package/dist/effect/generated/messages.d.ts +1092 -1086
  151. package/dist/effect/generated/messages.js +22 -13
  152. package/dist/effect/generated/namespaces.d.ts +184 -177
  153. package/dist/effect/generated/namespaces.js +24 -14
  154. package/dist/effect/generated/newsletter-domains.d.ts +57 -57
  155. package/dist/effect/generated/newsletter-domains.js +10 -7
  156. package/dist/effect/generated/newsletter-issues.d.ts +225 -218
  157. package/dist/effect/generated/newsletter-issues.js +24 -14
  158. package/dist/effect/generated/newsletters.d.ts +46 -45
  159. package/dist/effect/generated/newsletters.js +12 -8
  160. package/dist/effect/generated/operations.d.ts +79 -80
  161. package/dist/effect/generated/operations.js +8 -6
  162. package/dist/effect/generated/organizations.d.ts +438 -430
  163. package/dist/effect/generated/organizations.js +26 -15
  164. package/dist/effect/generated/phone-numbers.d.ts +87 -86
  165. package/dist/effect/generated/phone-numbers.js +12 -8
  166. package/dist/effect/generated/policies.d.ts +64 -65
  167. package/dist/effect/generated/policies.js +8 -6
  168. package/dist/effect/generated/scheduled-messages.d.ts +66 -65
  169. package/dist/effect/generated/scheduled-messages.js +12 -8
  170. package/dist/effect/generated/shared.d.ts +37 -37
  171. package/dist/effect/generated/shared.js +63 -61
  172. package/dist/effect/generated/subscriptions.d.ts +3 -6
  173. package/dist/effect/generated/subscriptions.js +4 -4
  174. package/dist/effect/generated/template-registrations.d.ts +142 -134
  175. package/dist/effect/generated/template-registrations.js +9 -6
  176. package/dist/effect/generated/template-share-links.d.ts +25 -24
  177. package/dist/effect/generated/template-share-links.js +12 -8
  178. package/dist/effect/generated/templates.d.ts +2678 -2645
  179. package/dist/effect/generated/templates.js +76 -40
  180. package/dist/effect/generated/topic-forms.d.ts +47 -46
  181. package/dist/effect/generated/topic-forms.js +12 -8
  182. package/dist/effect/generated/topics.d.ts +204 -199
  183. package/dist/effect/generated/topics.js +20 -12
  184. package/dist/effect/generated/webhooks.d.ts +284 -277
  185. package/dist/effect/generated/webhooks.js +28 -14
  186. package/dist/effect/generated/whats-app-flows.d.ts +250 -244
  187. package/dist/effect/generated/whats-app-flows.js +22 -13
  188. package/dist/effect/generated/whats-app-setup-links.d.ts +107 -107
  189. package/dist/effect/generated/whats-app-setup-links.js +10 -7
  190. package/dist/effect/generated/whats-app.d.ts +482 -298
  191. package/dist/effect/generated/whats-app.js +58 -16
  192. package/dist/effect/generated/whoami.d.ts +3 -6
  193. package/dist/effect/generated/whoami.js +4 -4
  194. package/dist/effect/generated-metadata.d.ts +6 -0
  195. package/dist/effect/generated-metadata.js +1 -0
  196. package/dist/effect/integrations-catalog.js +20 -21
  197. package/dist/effect/integrations.js +10 -11
  198. package/dist/effect/internal/client.d.ts +2 -1
  199. package/dist/effect/internal/client.js +3 -3
  200. package/dist/effect/internal/email-sender.js +5 -4
  201. package/dist/effect/internal/operation.d.ts +11 -7
  202. package/dist/effect/internal/operation.js +17 -12
  203. package/dist/effect/internal/send.js +11 -8
  204. package/dist/effect/journeys.js +17 -18
  205. package/dist/effect/logs.js +5 -6
  206. package/dist/effect/mailboxes.js +82 -83
  207. package/dist/effect/media.js +8 -9
  208. package/dist/effect/messages.js +12 -13
  209. package/dist/effect/namespaces.js +14 -15
  210. package/dist/effect/newsletter-domains.js +7 -8
  211. package/dist/effect/newsletter-issues.js +14 -15
  212. package/dist/effect/newsletters.js +8 -9
  213. package/dist/effect/operations.js +6 -7
  214. package/dist/effect/organizations.js +15 -16
  215. package/dist/effect/phone-numbers.js +8 -9
  216. package/dist/effect/policies.js +6 -7
  217. package/dist/effect/runtime.js +3 -3
  218. package/dist/effect/scheduled-messages.js +8 -9
  219. package/dist/effect/subscriptions.js +4 -4
  220. package/dist/effect/template-registrations.js +6 -7
  221. package/dist/effect/template-share-links.js +8 -9
  222. package/dist/effect/templates.js +40 -41
  223. package/dist/effect/topic-forms.js +8 -9
  224. package/dist/effect/topics.js +12 -13
  225. package/dist/effect/webhooks.d.ts +4 -4
  226. package/dist/effect/webhooks.js +14 -15
  227. package/dist/effect/whatsapp-flows.js +13 -14
  228. package/dist/effect/whatsapp-setup-links.js +7 -8
  229. package/dist/effect/whatsapp.d.ts +6 -0
  230. package/dist/effect/whatsapp.js +18 -17
  231. package/dist/effect/whoami.js +4 -4
  232. package/dist/package.json.js +1 -1
  233. package/dist/promises/types.gen.d.ts +1 -1
  234. package/dist/service-map.d.ts +5 -0
  235. package/package.json +3 -2
package/AGENTS.md CHANGED
@@ -15,8 +15,8 @@ long-lived process, build it once in a module-scope `ManagedRuntime`.
15
15
 
16
16
  Import error constructors from `samva/effect/errors` for `instanceof` or schema decoding; they are
17
17
  the same constructors the operations use. This entry avoids domain modules, though native imports
18
- still initialize shared schemas. Bundlers can discard unused operation wrappers and their exclusive
19
- API groups; operations within a retained group still share its schemas.
18
+ still initialize shared schemas. Bundlers keep only the operations a program imports, with their
19
+ endpoints and the schemas those reach; the rest of each domain is discarded.
20
20
 
21
21
  Treat exported request and response types as the API contract. Do not import package-internal files
22
22
  or generated implementation paths; use only the subpaths declared in `package.json`.
package/README.md CHANGED
@@ -229,14 +229,15 @@ const message = await Effect.runPromise(program);
229
229
  ### Serverless Runtimes
230
230
 
231
231
  Each `samva/effect/<domain>` entrypoint loads only that domain's part of the API, so a Cloudflare
232
- Worker or Lambda function pays at startup only for the domains it imports. A bundler can discard
233
- unused operations and their exclusive API groups: importing only `Email.send` retains Messages
234
- and Media, without email administration operations. Media handles oversized inline attachments.
235
- Operations within a retained group still share that group's schemas. The `samva/effect` barrel
236
- loads every domain on a native import; prefer focused entrypoints in serverless code.
237
-
238
- `Client.layerFetch` does no work until the first call, and the first call to a domain prepares only
239
- that domain, so providing the Layer costs little. In a Cloudflare Worker, provide it per request and
232
+ Worker or Lambda function pays at startup only for the domains it imports. A bundler goes further
233
+ and keeps only the operations you import, with their endpoints and the schemas those reach:
234
+ importing only `Mailboxes.list` leaves every other mailbox operation out, and `Email.send` keeps the
235
+ message send and media upload endpoints it calls, which handle oversized inline attachments. The
236
+ `samva/effect` barrel loads every domain on a native import; prefer focused entrypoints in
237
+ serverless code.
238
+
239
+ `Client.layerFetch` does no work until the first call, and the first call to an operation prepares
240
+ only that operation, so providing the Layer costs little. In a Cloudflare Worker, provide it per request and
240
241
  pass the request's abort signal, so no request waits on work another request started:
241
242
 
242
243
  ```typescript
@@ -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, 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, 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
@@ -3515,7 +3515,7 @@ export declare class Webhooks {
3515
3515
  static create<ThrowOnError extends boolean = false>(parameters: {
3516
3516
  name: string;
3517
3517
  url: string;
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" | "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">;
3519
3519
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3520
3520
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3521
3521
  namespaceId?: NamespaceId | null | undefined;
@@ -3549,7 +3549,7 @@ export declare class Webhooks {
3549
3549
  id: WebhookEndpointId;
3550
3550
  name?: string | null | undefined;
3551
3551
  url?: string | 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" | "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;
3553
3553
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3554
3554
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3555
3555
  namespaceId?: NamespaceId | null | undefined;
@@ -4940,6 +4940,15 @@ export declare class Whatsapp {
4940
4940
  displayName?: string | null | undefined;
4941
4941
  webhookUrl?: string | null | undefined;
4942
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>;
4943
4952
  /**
4944
4953
  * Set the default WhatsApp business account
4945
4954
  *
@@ -5109,7 +5118,7 @@ export declare class TemplateRegistrations {
5109
5118
  /**
5110
5119
  * Submit a template registration
5111
5120
  *
5112
- * 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.
5113
5122
  */
5114
5123
  static submit<ThrowOnError extends boolean = false>(parameters: {
5115
5124
  id: TemplateId;
@@ -15665,6 +15665,36 @@ var Whatsapp = class {
15665
15665
  }));
15666
15666
  }
15667
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
+ /**
15668
15698
  * Set the default WhatsApp business account
15669
15699
  *
15670
15700
  * Marks a connected WhatsApp business account as the organization's default and returns it.
@@ -16152,7 +16182,7 @@ var TemplateRegistrations = class {
16152
16182
  /**
16153
16183
  * Submit a template registration
16154
16184
  *
16155
- * 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.
16156
16186
  */
16157
16187
  static submit(parameters, options) {
16158
16188
  const params = buildClientParams([parameters], [{ args: [
@@ -16672,6 +16702,7 @@ Object.assign(Whatsapp.connectBusinessAccount, { operation: "whatsappConnectBusi
16672
16702
  Object.assign(Whatsapp.disconnectBusinessAccount, { operation: "whatsappDisconnectBusinessAccount" });
16673
16703
  Object.assign(Whatsapp.getBusinessAccount, { operation: "whatsappGetBusinessAccount" });
16674
16704
  Object.assign(Whatsapp.updateBusinessAccount, { operation: "whatsappUpdateBusinessAccount" });
16705
+ Object.assign(Whatsapp.releaseBusinessAccount, { operation: "whatsappReleaseBusinessAccount" });
16675
16706
  Object.assign(Whatsapp.setDefaultBusinessAccount, { operation: "whatsappSetDefaultBusinessAccount" });
16676
16707
  Object.assign(Whatsapp.syncAccountStatus, { operation: "whatsappSyncAccountStatus" });
16677
16708
  Object.assign(WhatsappFlows.list, { operation: "whatsappFlowsList" });
@@ -58,6 +58,7 @@ export type TemplateRegistration = {
58
58
  providerCategory: "marketing" | "utility" | "authentication" | "transactional" | "service_implicit" | "service_explicit" | "promotional" | null;
59
59
  providerTemplateId: string | null;
60
60
  reason: string | null;
61
+ targetReleasedAt?: string | undefined;
61
62
  submittedAt: string | null;
62
63
  statusChangedAt: string;
63
64
  createdAt: string;
@@ -2014,7 +2015,7 @@ export type WebhookEndpoint = {
2014
2015
  id: WebhookEndpointId;
2015
2016
  name: string;
2016
2017
  url: string;
2017
- 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">;
2018
+ 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">;
2018
2019
  channels: Array<"sms" | "whatsapp" | "email"> | null;
2019
2020
  mailboxIds: Array<MailboxId> | null;
2020
2021
  namespaceId: NamespaceId | null;
@@ -2028,7 +2029,7 @@ export type WebhookEndpoint = {
2028
2029
  export type UpdateWebhookPayload = {
2029
2030
  name?: string | null | undefined;
2030
2031
  url?: string | null | undefined;
2031
- 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;
2032
+ 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;
2032
2033
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
2033
2034
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
2034
2035
  namespaceId?: NamespaceId | null | undefined;
@@ -2045,7 +2046,7 @@ export type WebhookEndpointListItem = {
2045
2046
  id: WebhookEndpointId;
2046
2047
  name: string;
2047
2048
  url: string;
2048
- 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">;
2049
+ 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">;
2049
2050
  channels: Array<"sms" | "whatsapp" | "email"> | null;
2050
2051
  mailboxIds: Array<MailboxId> | null;
2051
2052
  namespaceId: NamespaceId | null;
@@ -2067,7 +2068,7 @@ export type WebhookDeliveryCounts = {
2067
2068
  export type CreateWebhookPayload = {
2068
2069
  name: string;
2069
2070
  url: string;
2070
- 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">;
2071
+ 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">;
2071
2072
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
2072
2073
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
2073
2074
  namespaceId?: NamespaceId | null | undefined;
@@ -25732,7 +25733,7 @@ export type WebhooksCreateData = {
25732
25733
  body: {
25733
25734
  name: string;
25734
25735
  url: string;
25735
- 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">;
25736
+ 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">;
25736
25737
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
25737
25738
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
25738
25739
  namespaceId?: NamespaceId | null | undefined;
@@ -25898,7 +25899,7 @@ export type WebhooksUpdateData = {
25898
25899
  body: {
25899
25900
  name?: string | null | undefined;
25900
25901
  url?: string | null | undefined;
25901
- 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;
25902
+ 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;
25902
25903
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
25903
25904
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
25904
25905
  namespaceId?: NamespaceId | null | undefined;
@@ -32777,6 +32778,7 @@ export type WhatsappListBusinessAccountsResponses = {
32777
32778
  historySyncStatus: "requested" | "importing" | "completed" | "declined" | null;
32778
32779
  historySyncProgress: number | null;
32779
32780
  isActive: boolean;
32781
+ releasedAt?: string | undefined;
32780
32782
  createdAt: string;
32781
32783
  updatedAt: string;
32782
32784
  }>;
@@ -32877,6 +32879,7 @@ export type WhatsappConnectBusinessAccountResponses = {
32877
32879
  historySyncStatus: "requested" | "importing" | "completed" | "declined" | null;
32878
32880
  historySyncProgress: number | null;
32879
32881
  isActive: boolean;
32882
+ releasedAt?: string | undefined;
32880
32883
  createdAt: string;
32881
32884
  updatedAt: string;
32882
32885
  };
@@ -33008,6 +33011,7 @@ export type WhatsappGetBusinessAccountResponses = {
33008
33011
  historySyncStatus: "requested" | "importing" | "completed" | "declined" | null;
33009
33012
  historySyncProgress: number | null;
33010
33013
  isActive: boolean;
33014
+ releasedAt?: string | undefined;
33011
33015
  createdAt: string;
33012
33016
  updatedAt: string;
33013
33017
  };
@@ -33094,11 +33098,66 @@ export type WhatsappUpdateBusinessAccountResponses = {
33094
33098
  historySyncStatus: "requested" | "importing" | "completed" | "declined" | null;
33095
33099
  historySyncProgress: number | null;
33096
33100
  isActive: boolean;
33101
+ releasedAt?: string | undefined;
33097
33102
  createdAt: string;
33098
33103
  updatedAt: string;
33099
33104
  };
33100
33105
  };
33101
33106
  export type WhatsappUpdateBusinessAccountResponse = WhatsappUpdateBusinessAccountResponses[keyof WhatsappUpdateBusinessAccountResponses];
33107
+ export type WhatsappReleaseBusinessAccountData = {
33108
+ body: {
33109
+ targetOrganizationId: OrganizationId;
33110
+ };
33111
+ path: {
33112
+ accountId: WhatsAppBusinessAccountId;
33113
+ };
33114
+ query?: never;
33115
+ url: "/v1/whatsapp/business-accounts/{accountId}/release";
33116
+ };
33117
+ export type WhatsappReleaseBusinessAccountErrors = {
33118
+ /**
33119
+ * MalformedRequestError
33120
+ */
33121
+ 400: MalformedRequestError;
33122
+ /**
33123
+ * UnauthorizedError
33124
+ */
33125
+ 401: UnauthorizedError;
33126
+ /**
33127
+ * ForbiddenError
33128
+ */
33129
+ 403: ForbiddenError;
33130
+ /**
33131
+ * ResourceNotFoundError
33132
+ */
33133
+ 404: ResourceNotFoundError;
33134
+ /**
33135
+ * ConflictError
33136
+ */
33137
+ 409: ConflictError;
33138
+ /**
33139
+ * ValidationError
33140
+ */
33141
+ 422: ValidationError;
33142
+ /**
33143
+ * InternalError
33144
+ */
33145
+ 500: InternalError;
33146
+ /**
33147
+ * GatewayTimeoutError
33148
+ */
33149
+ 504: GatewayTimeoutError;
33150
+ };
33151
+ export type WhatsappReleaseBusinessAccountError = WhatsappReleaseBusinessAccountErrors[keyof WhatsappReleaseBusinessAccountErrors];
33152
+ export type WhatsappReleaseBusinessAccountResponses = {
33153
+ /**
33154
+ * Success
33155
+ */
33156
+ 200: {
33157
+ success: true;
33158
+ };
33159
+ };
33160
+ export type WhatsappReleaseBusinessAccountResponse = WhatsappReleaseBusinessAccountResponses[keyof WhatsappReleaseBusinessAccountResponses];
33102
33161
  export type WhatsappSetDefaultBusinessAccountData = {
33103
33162
  body?: never;
33104
33163
  path: {
@@ -33177,6 +33236,7 @@ export type WhatsappSetDefaultBusinessAccountResponses = {
33177
33236
  historySyncStatus: "requested" | "importing" | "completed" | "declined" | null;
33178
33237
  historySyncProgress: number | null;
33179
33238
  isActive: boolean;
33239
+ releasedAt?: string | undefined;
33180
33240
  createdAt: string;
33181
33241
  updatedAt: string;
33182
33242
  };
@@ -1,7 +1,7 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import { accountsOperations } from "./descriptors/accounts.js";
3
- import { AccountsGroup } from "./generated/accounts.js";
4
- import { forGroup } from "./internal/operation.js";
2
+ import { accountsCheck, accountsConnect, accountsGet, accountsList, accountsListContactConnections, accountsRemove } from "./descriptors/accounts.js";
3
+ import { AccountsCheckEndpoint, AccountsConnectEndpoint, AccountsGetEndpoint, AccountsListContactConnectionsEndpoint, AccountsListEndpoint, AccountsRemoveEndpoint } from "./generated/accounts.js";
4
+ import { operation } from "./internal/operation.js";
5
5
  // src/effect/accounts.ts
6
6
  var accounts_exports = /* @__PURE__ */ __exportAll({
7
7
  check: () => check,
@@ -11,13 +11,12 @@ var accounts_exports = /* @__PURE__ */ __exportAll({
11
11
  listContactConnections: () => listContactConnections,
12
12
  remove: () => remove
13
13
  });
14
- const make = /* @__PURE__ */ forGroup(AccountsGroup, accountsOperations);
15
- const listContactConnections = /* @__PURE__ */ make("accountsListContactConnections");
16
- const list = /* @__PURE__ */ make("accountsList");
17
- const get = /* @__PURE__ */ make("accountsGet");
18
- const remove = /* @__PURE__ */ make("accountsRemove");
19
- const check = /* @__PURE__ */ make("accountsCheck");
20
- const connect = /* @__PURE__ */ make("accountsConnect");
14
+ const listContactConnections = /* @__PURE__ */ operation("accountsListContactConnections", AccountsListContactConnectionsEndpoint, accountsListContactConnections);
15
+ const list = /* @__PURE__ */ operation("accountsList", AccountsListEndpoint, accountsList);
16
+ const get = /* @__PURE__ */ operation("accountsGet", AccountsGetEndpoint, accountsGet);
17
+ const remove = /* @__PURE__ */ operation("accountsRemove", AccountsRemoveEndpoint, accountsRemove);
18
+ const check = /* @__PURE__ */ operation("accountsCheck", AccountsCheckEndpoint, accountsCheck);
19
+ const connect = /* @__PURE__ */ operation("accountsConnect", AccountsConnectEndpoint, accountsConnect);
21
20
  export { accounts_exports, check, connect, get, list, listContactConnections, remove };
22
21
 
23
22
  //# sourceMappingURL=accounts.js.map
@@ -1,7 +1,7 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import { agentsOperations } from "./descriptors/agents.js";
3
- import { AgentsGroup } from "./generated/agents.js";
4
- import { forGroup } from "./internal/operation.js";
2
+ import { agentsContinueOnStandard, agentsCreate, agentsGet, agentsGetVersion, agentsList, agentsListModels, agentsListVersions, agentsPublish, agentsPublishVersion, agentsRemove, agentsReplaceDraft, agentsRerunTests, agentsUpdate } from "./descriptors/agents.js";
3
+ import { AgentsContinueOnStandardEndpoint, AgentsCreateEndpoint, AgentsGetEndpoint, AgentsGetVersionEndpoint, AgentsListEndpoint, AgentsListModelsEndpoint, AgentsListVersionsEndpoint, AgentsPublishEndpoint, AgentsPublishVersionEndpoint, AgentsRemoveEndpoint, AgentsReplaceDraftEndpoint, AgentsRerunTestsEndpoint, AgentsUpdateEndpoint } from "./generated/agents.js";
4
+ import { operation } from "./internal/operation.js";
5
5
  // src/effect/agents.ts
6
6
  var agents_exports = /* @__PURE__ */ __exportAll({
7
7
  continueOnStandard: () => continueOnStandard,
@@ -18,20 +18,19 @@ var agents_exports = /* @__PURE__ */ __exportAll({
18
18
  rerunTests: () => rerunTests,
19
19
  update: () => update
20
20
  });
21
- const make = /* @__PURE__ */ forGroup(AgentsGroup, agentsOperations);
22
- const rerunTests = /* @__PURE__ */ make("agentsRerunTests");
23
- const list = /* @__PURE__ */ make("agentsList");
24
- const create = /* @__PURE__ */ make("agentsCreate");
25
- const listModels = /* @__PURE__ */ make("agentsListModels");
26
- const get = /* @__PURE__ */ make("agentsGet");
27
- const update = /* @__PURE__ */ make("agentsUpdate");
28
- const remove = /* @__PURE__ */ make("agentsRemove");
29
- const replaceDraft = /* @__PURE__ */ make("agentsReplaceDraft");
30
- const publish = /* @__PURE__ */ make("agentsPublish");
31
- const publishVersion = /* @__PURE__ */ make("agentsPublishVersion");
32
- const listVersions = /* @__PURE__ */ make("agentsListVersions");
33
- const continueOnStandard = /* @__PURE__ */ make("agentsContinueOnStandard");
34
- const getVersion = /* @__PURE__ */ make("agentsGetVersion");
21
+ const rerunTests = /* @__PURE__ */ operation("agentsRerunTests", AgentsRerunTestsEndpoint, agentsRerunTests);
22
+ const list = /* @__PURE__ */ operation("agentsList", AgentsListEndpoint, agentsList);
23
+ const create = /* @__PURE__ */ operation("agentsCreate", AgentsCreateEndpoint, agentsCreate);
24
+ const listModels = /* @__PURE__ */ operation("agentsListModels", AgentsListModelsEndpoint, agentsListModels);
25
+ const get = /* @__PURE__ */ operation("agentsGet", AgentsGetEndpoint, agentsGet);
26
+ const update = /* @__PURE__ */ operation("agentsUpdate", AgentsUpdateEndpoint, agentsUpdate);
27
+ const remove = /* @__PURE__ */ operation("agentsRemove", AgentsRemoveEndpoint, agentsRemove);
28
+ const replaceDraft = /* @__PURE__ */ operation("agentsReplaceDraft", AgentsReplaceDraftEndpoint, agentsReplaceDraft);
29
+ const publish = /* @__PURE__ */ operation("agentsPublish", AgentsPublishEndpoint, agentsPublish);
30
+ const publishVersion = /* @__PURE__ */ operation("agentsPublishVersion", AgentsPublishVersionEndpoint, agentsPublishVersion);
31
+ const listVersions = /* @__PURE__ */ operation("agentsListVersions", AgentsListVersionsEndpoint, agentsListVersions);
32
+ const continueOnStandard = /* @__PURE__ */ operation("agentsContinueOnStandard", AgentsContinueOnStandardEndpoint, agentsContinueOnStandard);
33
+ const getVersion = /* @__PURE__ */ operation("agentsGetVersion", AgentsGetVersionEndpoint, agentsGetVersion);
35
34
  export { agents_exports, continueOnStandard, create, get, getVersion, list, listModels, listVersions, publish, publishVersion, remove, replaceDraft, rerunTests, update };
36
35
 
37
36
  //# sourceMappingURL=agents.js.map
@@ -1,7 +1,7 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import { analyticsOperations } from "./descriptors/analytics.js";
3
- import { AnalyticsGroup } from "./generated/analytics.js";
4
- import { forGroup } from "./internal/operation.js";
2
+ import { analyticsExportData, analyticsGetChannelStats, analyticsGetDeliveryMetrics, analyticsGetHourlyDistribution, analyticsGetStats, analyticsGetTopContacts } from "./descriptors/analytics.js";
3
+ import { AnalyticsExportDataEndpoint, AnalyticsGetChannelStatsEndpoint, AnalyticsGetDeliveryMetricsEndpoint, AnalyticsGetHourlyDistributionEndpoint, AnalyticsGetStatsEndpoint, AnalyticsGetTopContactsEndpoint } from "./generated/analytics.js";
4
+ import { operation } from "./internal/operation.js";
5
5
  // src/effect/analytics.ts
6
6
  var analytics_exports = /* @__PURE__ */ __exportAll({
7
7
  exportData: () => exportData,
@@ -11,13 +11,12 @@ var analytics_exports = /* @__PURE__ */ __exportAll({
11
11
  getStats: () => getStats,
12
12
  getTopContacts: () => getTopContacts
13
13
  });
14
- const make = /* @__PURE__ */ forGroup(AnalyticsGroup, analyticsOperations);
15
- const getStats = /* @__PURE__ */ make("analyticsGetStats");
16
- const getChannelStats = /* @__PURE__ */ make("analyticsGetChannelStats");
17
- const getTopContacts = /* @__PURE__ */ make("analyticsGetTopContacts");
18
- const getHourlyDistribution = /* @__PURE__ */ make("analyticsGetHourlyDistribution");
19
- const getDeliveryMetrics = /* @__PURE__ */ make("analyticsGetDeliveryMetrics");
20
- const exportData = /* @__PURE__ */ make("analyticsExportData");
14
+ const getStats = /* @__PURE__ */ operation("analyticsGetStats", AnalyticsGetStatsEndpoint, analyticsGetStats);
15
+ const getChannelStats = /* @__PURE__ */ operation("analyticsGetChannelStats", AnalyticsGetChannelStatsEndpoint, analyticsGetChannelStats);
16
+ const getTopContacts = /* @__PURE__ */ operation("analyticsGetTopContacts", AnalyticsGetTopContactsEndpoint, analyticsGetTopContacts);
17
+ const getHourlyDistribution = /* @__PURE__ */ operation("analyticsGetHourlyDistribution", AnalyticsGetHourlyDistributionEndpoint, analyticsGetHourlyDistribution);
18
+ const getDeliveryMetrics = /* @__PURE__ */ operation("analyticsGetDeliveryMetrics", AnalyticsGetDeliveryMetricsEndpoint, analyticsGetDeliveryMetrics);
19
+ const exportData = /* @__PURE__ */ operation("analyticsExportData", AnalyticsExportDataEndpoint, analyticsExportData);
21
20
  export { analytics_exports, exportData, getChannelStats, getDeliveryMetrics, getHourlyDistribution, getStats, getTopContacts };
22
21
 
23
22
  //# sourceMappingURL=analytics.js.map