@izapai/sdk 0.0.0 → 0.4.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 (91) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +173 -1
  3. package/dist/client.d.ts +20 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/client.js +41 -0
  6. package/dist/client.js.map +1 -0
  7. package/dist/errors.d.ts +41 -0
  8. package/dist/errors.d.ts.map +1 -0
  9. package/dist/errors.js +67 -0
  10. package/dist/errors.js.map +1 -0
  11. package/dist/generated/client/client.gen.d.ts +3 -0
  12. package/dist/generated/client/client.gen.d.ts.map +1 -0
  13. package/dist/generated/client/client.gen.js +217 -0
  14. package/dist/generated/client/client.gen.js.map +1 -0
  15. package/dist/generated/client/index.d.ts +11 -0
  16. package/dist/generated/client/index.d.ts.map +1 -0
  17. package/dist/generated/client/index.js +7 -0
  18. package/dist/generated/client/index.js.map +1 -0
  19. package/dist/generated/client/types.gen.d.ts +121 -0
  20. package/dist/generated/client/types.gen.d.ts.map +1 -0
  21. package/dist/generated/client/types.gen.js +3 -0
  22. package/dist/generated/client/types.gen.js.map +1 -0
  23. package/dist/generated/client/utils.gen.d.ts +38 -0
  24. package/dist/generated/client/utils.gen.d.ts.map +1 -0
  25. package/dist/generated/client/utils.gen.js +229 -0
  26. package/dist/generated/client/utils.gen.js.map +1 -0
  27. package/dist/generated/client.gen.d.ts +13 -0
  28. package/dist/generated/client.gen.d.ts.map +1 -0
  29. package/dist/generated/client.gen.js +4 -0
  30. package/dist/generated/client.gen.js.map +1 -0
  31. package/dist/generated/core/auth.gen.d.ts +26 -0
  32. package/dist/generated/core/auth.gen.d.ts.map +1 -0
  33. package/dist/generated/core/auth.gen.js +15 -0
  34. package/dist/generated/core/auth.gen.js.map +1 -0
  35. package/dist/generated/core/bodySerializer.gen.d.ts +26 -0
  36. package/dist/generated/core/bodySerializer.gen.d.ts.map +1 -0
  37. package/dist/generated/core/bodySerializer.gen.js +58 -0
  38. package/dist/generated/core/bodySerializer.gen.js.map +1 -0
  39. package/dist/generated/core/params.gen.d.ts +44 -0
  40. package/dist/generated/core/params.gen.d.ts.map +1 -0
  41. package/dist/generated/core/params.gen.js +110 -0
  42. package/dist/generated/core/params.gen.js.map +1 -0
  43. package/dist/generated/core/pathSerializer.gen.d.ts +34 -0
  44. package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -0
  45. package/dist/generated/core/pathSerializer.gen.js +107 -0
  46. package/dist/generated/core/pathSerializer.gen.js.map +1 -0
  47. package/dist/generated/core/queryKeySerializer.gen.d.ts +19 -0
  48. package/dist/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
  49. package/dist/generated/core/queryKeySerializer.gen.js +93 -0
  50. package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
  51. package/dist/generated/core/serverSentEvents.gen.d.ts +72 -0
  52. package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -0
  53. package/dist/generated/core/serverSentEvents.gen.js +133 -0
  54. package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
  55. package/dist/generated/core/types.gen.d.ts +84 -0
  56. package/dist/generated/core/types.gen.d.ts.map +1 -0
  57. package/dist/generated/core/types.gen.js +3 -0
  58. package/dist/generated/core/types.gen.js.map +1 -0
  59. package/dist/generated/core/utils.gen.d.ts +20 -0
  60. package/dist/generated/core/utils.gen.d.ts.map +1 -0
  61. package/dist/generated/core/utils.gen.js +88 -0
  62. package/dist/generated/core/utils.gen.js.map +1 -0
  63. package/dist/generated/index.d.ts +3 -0
  64. package/dist/generated/index.d.ts.map +1 -0
  65. package/dist/generated/index.js +3 -0
  66. package/dist/generated/index.js.map +1 -0
  67. package/dist/generated/sdk.gen.d.ts +474 -0
  68. package/dist/generated/sdk.gen.d.ts.map +1 -0
  69. package/dist/generated/sdk.gen.js +1035 -0
  70. package/dist/generated/sdk.gen.js.map +1 -0
  71. package/dist/generated/types.gen.d.ts +6277 -0
  72. package/dist/generated/types.gen.d.ts.map +1 -0
  73. package/dist/generated/types.gen.js +3 -0
  74. package/dist/generated/types.gen.js.map +1 -0
  75. package/dist/index.d.ts +8 -0
  76. package/dist/index.d.ts.map +1 -0
  77. package/dist/index.js +7 -0
  78. package/dist/index.js.map +1 -0
  79. package/dist/retry.d.ts +18 -0
  80. package/dist/retry.d.ts.map +1 -0
  81. package/dist/retry.js +84 -0
  82. package/dist/retry.js.map +1 -0
  83. package/dist/version.d.ts +2 -0
  84. package/dist/version.d.ts.map +1 -0
  85. package/dist/version.js +2 -0
  86. package/dist/version.js.map +1 -0
  87. package/dist/webhooks.d.ts +127 -0
  88. package/dist/webhooks.d.ts.map +1 -0
  89. package/dist/webhooks.js +153 -0
  90. package/dist/webhooks.js.map +1 -0
  91. package/package.json +58 -3
@@ -0,0 +1,474 @@
1
+ import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from './client/index.js';
2
+ import type { AddAssistantContactFilterEntriesData, AddAssistantContactFilterEntriesErrors, AddAssistantContactFilterEntriesResponses, ArchiveTransmissionData, ArchiveTransmissionErrors, ArchiveTransmissionResponses, CancelTransmissionData, CancelTransmissionErrors, CancelTransmissionResponses, ConfirmTransmissionData, ConfirmTransmissionErrors, ConfirmTransmissionResponses, CreateApiTokenData, CreateApiTokenErrors, CreateApiTokenResponses, CreateBusinessData, CreateBusinessErrors, CreateBusinessMenuData, CreateBusinessMenuErrors, CreateBusinessMenuResponses, CreateBusinessResponses, CreateChatData, CreateChatErrors, CreateChatResponses, CreateContactData, CreateContactErrors, CreateContactResponses, CreateCurrentWebhookEndpointData, CreateCurrentWebhookEndpointErrors, CreateCurrentWebhookEndpointResponses, CreateWhatsAppTemplateData, CreateWhatsAppTemplateErrors, CreateWhatsAppTemplateResponses, DeleteAssistantContactFilterEntryData, DeleteAssistantContactFilterEntryErrors, DeleteAssistantContactFilterEntryResponses, DeleteBusinessLibraryDocumentData, DeleteBusinessLibraryDocumentErrors, DeleteBusinessLibraryDocumentResponses, DeleteBusinessLibraryImageData, DeleteBusinessLibraryImageErrors, DeleteBusinessLibraryImageResponses, DeleteBusinessLibraryStickerData, DeleteBusinessLibraryStickerErrors, DeleteBusinessLibraryStickerResponses, DeleteChatData, DeleteChatErrors, DeleteChatResponses, DeleteCurrentWebhookEndpointData, DeleteCurrentWebhookEndpointErrors, DeleteCurrentWebhookEndpointResponses, DeleteCurrentWhatsAppNumberData, DeleteCurrentWhatsAppNumberErrors, DeleteCurrentWhatsAppNumberResponses, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateErrors, DeleteWhatsAppTemplateResponses, DisconnectCurrentWhatsAppNumberData, DisconnectCurrentWhatsAppNumberErrors, DisconnectCurrentWhatsAppNumberResponses, GetAssistantContactFilterData, GetAssistantContactFilterErrors, GetAssistantContactFilterResponses, GetChatPauseStatusData, GetChatPauseStatusErrors, GetChatPauseStatusResponses, GetContactData, GetContactErrors, GetContactResponses, GetCurrentBusinessChatMessageDetailsData, GetCurrentBusinessChatMessageDetailsErrors, GetCurrentBusinessChatMessageDetailsResponses, GetCurrentBusinessData, GetCurrentBusinessErrors, GetCurrentBusinessHoursData, GetCurrentBusinessHoursErrors, GetCurrentBusinessHoursResponses, GetCurrentBusinessResponses, GetCurrentWhatsAppBusinessAccountInfoData, GetCurrentWhatsAppBusinessAccountInfoErrors, GetCurrentWhatsAppBusinessAccountInfoResponses, GetCurrentWhatsAppNumberLiveStatusData, GetCurrentWhatsAppNumberLiveStatusErrors, GetCurrentWhatsAppNumberLiveStatusResponses, GetCurrentWhatsAppNumberRegistrationTaskData, GetCurrentWhatsAppNumberRegistrationTaskErrors, GetCurrentWhatsAppNumberRegistrationTaskResponses, GetTransmissionData, GetTransmissionErrors, GetTransmissionResponses, GetWhatsAppTemplateData, GetWhatsAppTemplateErrors, GetWhatsAppTemplateResponses, ImportContactsData, ImportContactsErrors, ImportContactsResponses, IntrospectTokenData, IntrospectTokenErrors, IntrospectTokenResponses, ListApiTokensData, ListApiTokensErrors, ListApiTokensResponses, ListBusinessLibraryDocumentsData, ListBusinessLibraryDocumentsErrors, ListBusinessLibraryDocumentsResponses, ListBusinessLibraryImagesData, ListBusinessLibraryImagesErrors, ListBusinessLibraryImagesResponses, ListBusinessLibraryStickersData, ListBusinessLibraryStickersErrors, ListBusinessLibraryStickersResponses, ListBusinessMenusData, ListBusinessMenusErrors, ListBusinessMenusResponses, ListChatMessagesData, ListChatMessagesErrors, ListChatMessagesResponses, ListContactsData, ListContactsErrors, ListContactsResponses, ListCurrentBusinessChatsData, ListCurrentBusinessChatsErrors, ListCurrentBusinessChatsResponses, ListCurrentWebhookEndpointsData, ListCurrentWebhookEndpointsErrors, ListCurrentWebhookEndpointsResponses, ListCurrentWhatsAppNumbersData, ListCurrentWhatsAppNumbersErrors, ListCurrentWhatsAppNumbersResponses, ListTransmissionsData, ListTransmissionsErrors, ListTransmissionsResponses, ListWhatsAppTemplatesData, ListWhatsAppTemplatesErrors, ListWhatsAppTemplatesResponses, MarkChatReadData, MarkChatReadErrors, MarkChatReadResponses, PauseChatAssistantData, PauseChatAssistantErrors, PauseChatAssistantResponses, PreviewTransmissionData, PreviewTransmissionErrors, PreviewTransmissionResponses, RegisterCurrentWhatsAppNumberData, RegisterCurrentWhatsAppNumberErrors, RegisterCurrentWhatsAppNumberResponses, ResendCurrentWebhookDeliveryData, ResendCurrentWebhookDeliveryErrors, ResendCurrentWebhookDeliveryResponses, ResumeChatAssistantData, ResumeChatAssistantErrors, ResumeChatAssistantResponses, RevokeApiTokenData, RevokeApiTokenErrors, RevokeApiTokenResponses, RotateCurrentWebhookSigningSecretData, RotateCurrentWebhookSigningSecretErrors, RotateCurrentWebhookSigningSecretResponses, SendChatMessageData, SendChatMessageErrors, SendChatMessageResponses, SendChatTemplateMessageData, SendChatTemplateMessageErrors, SendChatTemplateMessageResponses, SendCurrentWhatsAppCatalogData, SendCurrentWhatsAppCatalogErrors, SendCurrentWhatsAppCatalogResponses, SetAssistantContactFilterModeData, SetAssistantContactFilterModeErrors, SetAssistantContactFilterModeResponses, SetChatStatusData, SetChatStatusErrors, SetChatStatusResponses, SetCurrentWhatsAppNumberAssistantData, SetCurrentWhatsAppNumberAssistantErrors, SetCurrentWhatsAppNumberAssistantResponses, SnoozeChatData, SnoozeChatErrors, SnoozeChatResponses, StartTemplateConversationData, StartTemplateConversationErrors, StartTemplateConversationResponses, SubmitWhatsAppTemplateData, SubmitWhatsAppTemplateErrors, SubmitWhatsAppTemplateResponses, SyncWhatsAppTemplatesData, SyncWhatsAppTemplatesErrors, SyncWhatsAppTemplatesResponses, UpdateBusinessMenuData, UpdateBusinessMenuErrors, UpdateBusinessMenuResponses, UpdateContactData, UpdateContactErrors, UpdateContactResponses, UpdateCurrentBusinessData, UpdateCurrentBusinessErrors, UpdateCurrentBusinessHoursData, UpdateCurrentBusinessHoursErrors, UpdateCurrentBusinessHoursResponses, UpdateCurrentBusinessResponses, UpdateCurrentWebhookEndpointData, UpdateCurrentWebhookEndpointErrors, UpdateCurrentWebhookEndpointResponses, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateErrors, UpdateWhatsAppTemplateResponses, UploadBusinessLibraryDocumentData, UploadBusinessLibraryDocumentErrors, UploadBusinessLibraryDocumentResponses, UploadBusinessLibraryImageData, UploadBusinessLibraryImageErrors, UploadBusinessLibraryImageResponses, UploadBusinessLibraryStickerData, UploadBusinessLibraryStickerErrors, UploadBusinessLibraryStickerResponses, UploadChatAttachmentData, UploadChatAttachmentErrors, UploadChatAttachmentResponses } from './types.gen.js';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
15
+ };
16
+ declare class HeyApiClient {
17
+ protected client: Client;
18
+ constructor(args?: {
19
+ client?: Client;
20
+ });
21
+ }
22
+ declare class HeyApiRegistry<T> {
23
+ private readonly defaultKey;
24
+ private readonly instances;
25
+ get(key?: string): T;
26
+ set(value: T, key?: string): void;
27
+ }
28
+ export declare class IzapApi extends HeyApiClient {
29
+ static readonly __registry: HeyApiRegistry<IzapApi>;
30
+ constructor(args?: {
31
+ client?: Client;
32
+ key?: string;
33
+ });
34
+ /**
35
+ * Introspect the presented credential
36
+ *
37
+ * Resolves the credential on the request to its principal, or returns `401` if it is not valid. Accepts a JWT, a session cookie, a personal access token or a business API key — use it to confirm that a token is still good and who it belongs to.
38
+ */
39
+ introspectToken<ThrowOnError extends boolean = true>(options?: Options<IntrospectTokenData, ThrowOnError>): RequestResult<IntrospectTokenResponses, IntrospectTokenErrors, ThrowOnError>;
40
+ /**
41
+ * Create a business
42
+ *
43
+ * Creates a business together with its default settings, assistant and credentials. The authenticated user becomes its owner.
44
+ */
45
+ createBusiness<ThrowOnError extends boolean = true>(options: Options<CreateBusinessData, ThrowOnError>): RequestResult<CreateBusinessResponses, CreateBusinessErrors, ThrowOnError>;
46
+ /**
47
+ * Retrieve an assistant's contact filter
48
+ *
49
+ * Returns which contacts may trigger the assistant: the filter mode, and the numbers on its allowlist and blocklist. Messages from a contact the filter excludes are still received and stored, but the assistant is never invoked for them — no AI reply, greeting or off-hours message is sent.
50
+ */
51
+ getAssistantContactFilter<ThrowOnError extends boolean = true>(options: Options<GetAssistantContactFilterData, ThrowOnError>): RequestResult<GetAssistantContactFilterResponses, GetAssistantContactFilterErrors, ThrowOnError>;
52
+ /**
53
+ * Set an assistant's contact filter mode
54
+ *
55
+ * Chooses who may trigger the assistant: `off` (everyone), `allowlist` (only the numbers on the allowlist) or `blocklist` (everyone except the numbers on the blocklist). Takes effect on the next inbound message. Both lists are kept when the mode changes; an empty allowlist silences the assistant for every contact.
56
+ */
57
+ setAssistantContactFilterMode<ThrowOnError extends boolean = true>(options: Options<SetAssistantContactFilterModeData, ThrowOnError>): RequestResult<SetAssistantContactFilterModeResponses, SetAssistantContactFilterModeErrors, ThrowOnError>;
58
+ /**
59
+ * Add contacts to an assistant's contact filter
60
+ *
61
+ * Adds up to 500 phone numbers to the allowlist or blocklist in one call. Numbers are stored in canonical E.164 form, so different spellings of one number are one entry. Adding a number that is already listed is not an error; the response reports it separately, along with any input that is not a usable phone number.
62
+ */
63
+ addAssistantContactFilterEntries<ThrowOnError extends boolean = true>(options: Options<AddAssistantContactFilterEntriesData, ThrowOnError>): RequestResult<AddAssistantContactFilterEntriesResponses, AddAssistantContactFilterEntriesErrors, ThrowOnError>;
64
+ /**
65
+ * Remove a contact from an assistant's contact filter
66
+ *
67
+ * Removes one entry from the list it is on. Takes effect on the next inbound message.
68
+ */
69
+ deleteAssistantContactFilterEntry<ThrowOnError extends boolean = true>(options: Options<DeleteAssistantContactFilterEntryData, ThrowOnError>): RequestResult<DeleteAssistantContactFilterEntryResponses, DeleteAssistantContactFilterEntryErrors, ThrowOnError>;
70
+ /**
71
+ * Retrieve a business
72
+ *
73
+ * Returns the business profile, including its opening hours, menus and assistants. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
74
+ */
75
+ getCurrentBusiness<ThrowOnError extends boolean = true>(options?: Options<GetCurrentBusinessData, ThrowOnError>): RequestResult<GetCurrentBusinessResponses, GetCurrentBusinessErrors, ThrowOnError>;
76
+ /**
77
+ * Update a business
78
+ *
79
+ * Partially updates the business profile. Only the fields present in the request body are changed. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
80
+ */
81
+ updateCurrentBusiness<ThrowOnError extends boolean = true>(options: Options<UpdateCurrentBusinessData, ThrowOnError>): RequestResult<UpdateCurrentBusinessResponses, UpdateCurrentBusinessErrors, ThrowOnError>;
82
+ /**
83
+ * Retrieve opening hours
84
+ *
85
+ * Returns the opening hours grouped per weekday. These are the hours the assistant uses to decide whether the business is currently open. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
86
+ */
87
+ getCurrentBusinessHours<ThrowOnError extends boolean = true>(options?: Options<GetCurrentBusinessHoursData, ThrowOnError>): RequestResult<GetCurrentBusinessHoursResponses, GetCurrentBusinessHoursErrors, ThrowOnError>;
88
+ /**
89
+ * Replace opening hours
90
+ *
91
+ * Replaces the whole week's opening hours in one call — a weekday omitted from the request is treated as closed. Changes take effect on live conversations immediately. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
92
+ */
93
+ updateCurrentBusinessHours<ThrowOnError extends boolean = true>(options: Options<UpdateCurrentBusinessHoursData, ThrowOnError>): RequestResult<UpdateCurrentBusinessHoursResponses, UpdateCurrentBusinessHoursErrors, ThrowOnError>;
94
+ /**
95
+ * List library documents
96
+ *
97
+ * Returns the library documents and videos of the authenticated user's business, newest first, paged with `limit` and `offset`.
98
+ */
99
+ listBusinessLibraryDocuments<ThrowOnError extends boolean = true>(options?: Options<ListBusinessLibraryDocumentsData, ThrowOnError>): RequestResult<ListBusinessLibraryDocumentsResponses, ListBusinessLibraryDocumentsErrors, ThrowOnError>;
100
+ /**
101
+ * Upload a library document
102
+ *
103
+ * Uploads a document or video to the library of the authenticated user's business so it can later be attached to messages. PDF, DOCX and MP4 are accepted; the type is read from the file's content, not its name.
104
+ */
105
+ uploadBusinessLibraryDocument<ThrowOnError extends boolean = true>(options: Options<UploadBusinessLibraryDocumentData, ThrowOnError>): RequestResult<UploadBusinessLibraryDocumentResponses, UploadBusinessLibraryDocumentErrors, ThrowOnError>;
106
+ /**
107
+ * Delete a library document
108
+ *
109
+ * Removes a document from the library. Messages already sent that referenced it are unaffected.
110
+ */
111
+ deleteBusinessLibraryDocument<ThrowOnError extends boolean = true>(options: Options<DeleteBusinessLibraryDocumentData, ThrowOnError>): RequestResult<DeleteBusinessLibraryDocumentResponses, DeleteBusinessLibraryDocumentErrors, ThrowOnError>;
112
+ /**
113
+ * List library images
114
+ *
115
+ * Returns the library images of the authenticated user's business, newest first, paged with `limit` and `offset`.
116
+ */
117
+ listBusinessLibraryImages<ThrowOnError extends boolean = true>(options?: Options<ListBusinessLibraryImagesData, ThrowOnError>): RequestResult<ListBusinessLibraryImagesResponses, ListBusinessLibraryImagesErrors, ThrowOnError>;
118
+ /**
119
+ * Upload a library image
120
+ *
121
+ * Uploads an image to the library of the authenticated user's business so it can later be attached to messages. The business is taken from the credential; this operation accepts no business parameter.
122
+ */
123
+ uploadBusinessLibraryImage<ThrowOnError extends boolean = true>(options: Options<UploadBusinessLibraryImageData, ThrowOnError>): RequestResult<UploadBusinessLibraryImageResponses, UploadBusinessLibraryImageErrors, ThrowOnError>;
124
+ /**
125
+ * Delete a library image
126
+ *
127
+ * Removes an image from the library. Messages already sent that referenced it are unaffected.
128
+ */
129
+ deleteBusinessLibraryImage<ThrowOnError extends boolean = true>(options: Options<DeleteBusinessLibraryImageData, ThrowOnError>): RequestResult<DeleteBusinessLibraryImageResponses, DeleteBusinessLibraryImageErrors, ThrowOnError>;
130
+ /**
131
+ * List library stickers
132
+ *
133
+ * Returns the library stickers of the authenticated user's business, newest first, paged with `limit` and `offset`.
134
+ */
135
+ listBusinessLibraryStickers<ThrowOnError extends boolean = true>(options?: Options<ListBusinessLibraryStickersData, ThrowOnError>): RequestResult<ListBusinessLibraryStickersResponses, ListBusinessLibraryStickersErrors, ThrowOnError>;
136
+ /**
137
+ * Upload a library sticker
138
+ *
139
+ * Uploads a WhatsApp sticker to the library of the authenticated user's business. It must be a 512x512 WebP of at most 100 KB, or 500 KB when animated. Stickers are kept apart from library images and are sent to customers as WhatsApp stickers, without a caption.
140
+ */
141
+ uploadBusinessLibrarySticker<ThrowOnError extends boolean = true>(options: Options<UploadBusinessLibraryStickerData, ThrowOnError>): RequestResult<UploadBusinessLibraryStickerResponses, UploadBusinessLibraryStickerErrors, ThrowOnError>;
142
+ /**
143
+ * Delete a library sticker
144
+ *
145
+ * Removes a sticker from the library. Copies already delivered on WhatsApp are unaffected, but the inbox can no longer show the sticker in earlier messages.
146
+ */
147
+ deleteBusinessLibrarySticker<ThrowOnError extends boolean = true>(options: Options<DeleteBusinessLibraryStickerData, ThrowOnError>): RequestResult<DeleteBusinessLibraryStickerResponses, DeleteBusinessLibraryStickerErrors, ThrowOnError>;
148
+ /**
149
+ * List the business menus
150
+ *
151
+ * Returns the product catalog menus published by the business named in the `business-id` header.
152
+ */
153
+ listBusinessMenus<ThrowOnError extends boolean = true>(options?: Options<ListBusinessMenusData, ThrowOnError>): RequestResult<ListBusinessMenusResponses, ListBusinessMenusErrors, ThrowOnError>;
154
+ /**
155
+ * Create a menu
156
+ *
157
+ * Creates a product catalog menu for the business named in the `business-id` header.
158
+ */
159
+ createBusinessMenu<ThrowOnError extends boolean = true>(options: Options<CreateBusinessMenuData, ThrowOnError>): RequestResult<CreateBusinessMenuResponses, CreateBusinessMenuErrors, ThrowOnError>;
160
+ /**
161
+ * Update a menu
162
+ *
163
+ * Replaces the contents of an existing menu.
164
+ */
165
+ updateBusinessMenu<ThrowOnError extends boolean = true>(options: Options<UpdateBusinessMenuData, ThrowOnError>): RequestResult<UpdateBusinessMenuResponses, UpdateBusinessMenuErrors, ThrowOnError>;
166
+ /**
167
+ * List WhatsApp Cloud numbers
168
+ *
169
+ * Returns the WhatsApp Cloud numbers connected to the business, along with the assistant bound to each. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
170
+ */
171
+ listCurrentWhatsAppNumbers<ThrowOnError extends boolean = true>(options?: Options<ListCurrentWhatsAppNumbersData, ThrowOnError>): RequestResult<ListCurrentWhatsAppNumbersResponses, ListCurrentWhatsAppNumbersErrors, ThrowOnError>;
172
+ /**
173
+ * Remove a number from iZap
174
+ *
175
+ * Disconnects a WhatsApp Cloud number from the platform: it stops reaching any assistant and its stored credentials are discarded. The number itself stays registered at Meta and can be connected again later. Conversation history is kept. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
176
+ */
177
+ deleteCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<DeleteCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<DeleteCurrentWhatsAppNumberResponses, DeleteCurrentWhatsAppNumberErrors, ThrowOnError>;
178
+ /**
179
+ * Bind an assistant to a number
180
+ *
181
+ * Points a connected number at one of the business's assistants. Inbound messages to that number are answered by the assistant bound here. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
182
+ */
183
+ setCurrentWhatsAppNumberAssistant<ThrowOnError extends boolean = true>(options: Options<SetCurrentWhatsAppNumberAssistantData, ThrowOnError>): RequestResult<SetCurrentWhatsAppNumberAssistantResponses, SetCurrentWhatsAppNumberAssistantErrors, ThrowOnError>;
184
+ /**
185
+ * Revoke iZap's access to a number at Meta
186
+ *
187
+ * Revokes iZap's access to the number at Meta and removes it from the platform. Unlike `deleteCurrentWhatsAppNumber`, which only disconnects the number from iZap, this also unsubscribes from the WhatsApp Business Account's webhooks at Meta and optionally deregisters the number from Cloud API entirely (`deregister`). Reconnecting requires a full Embedded Signup run. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
188
+ */
189
+ disconnectCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<DisconnectCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<DisconnectCurrentWhatsAppNumberResponses, DisconnectCurrentWhatsAppNumberErrors, ThrowOnError>;
190
+ /**
191
+ * Read a number's live status at Meta
192
+ *
193
+ * Fetches the number's current quality rating, verification state and status directly from Meta. Read-only. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
194
+ */
195
+ getCurrentWhatsAppNumberLiveStatus<ThrowOnError extends boolean = true>(options: Options<GetCurrentWhatsAppNumberLiveStatusData, ThrowOnError>): RequestResult<GetCurrentWhatsAppNumberLiveStatusResponses, GetCurrentWhatsAppNumberLiveStatusErrors, ThrowOnError>;
196
+ /**
197
+ * Register a WhatsApp Cloud number
198
+ *
199
+ * Exchanges an Embedded Signup code and registers the WhatsApp Business Account in the background. Returns `202` with a `task_id`; poll the registration task until its status is `completed` or `failed`. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
200
+ */
201
+ registerCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<RegisterCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<RegisterCurrentWhatsAppNumberResponses, RegisterCurrentWhatsAppNumberErrors, ThrowOnError>;
202
+ /**
203
+ * Check a number registration task
204
+ *
205
+ * Returns the progress of an asynchronous number registration. Read-only and safe to poll. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
206
+ */
207
+ getCurrentWhatsAppNumberRegistrationTask<ThrowOnError extends boolean = true>(options: Options<GetCurrentWhatsAppNumberRegistrationTaskData, ThrowOnError>): RequestResult<GetCurrentWhatsAppNumberRegistrationTaskResponses, GetCurrentWhatsAppNumberRegistrationTaskErrors, ThrowOnError>;
208
+ /**
209
+ * Send the product catalog
210
+ *
211
+ * Sends an interactive catalog message to a WhatsApp recipient. The catalog is the one linked to the business's WhatsApp Business Account in Meta's Commerce Manager. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
212
+ */
213
+ sendCurrentWhatsAppCatalog<ThrowOnError extends boolean = true>(options: Options<SendCurrentWhatsAppCatalogData, ThrowOnError>): RequestResult<SendCurrentWhatsAppCatalogResponses, SendCurrentWhatsAppCatalogErrors, ThrowOnError>;
214
+ /**
215
+ * Read WhatsApp Business Account details
216
+ *
217
+ * Fetches business-verification details for the WhatsApp Business Account from Meta. The values are account-level, so they are the same for every number under the business. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
218
+ */
219
+ getCurrentWhatsAppBusinessAccountInfo<ThrowOnError extends boolean = true>(options?: Options<GetCurrentWhatsAppBusinessAccountInfoData, ThrowOnError>): RequestResult<GetCurrentWhatsAppBusinessAccountInfoResponses, GetCurrentWhatsAppBusinessAccountInfoErrors, ThrowOnError>;
220
+ /**
221
+ * List a business's chats
222
+ *
223
+ * Returns the business's conversations with paging, and optional filters for kind and assistant. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
224
+ */
225
+ listCurrentBusinessChats<ThrowOnError extends boolean = true>(options?: Options<ListCurrentBusinessChatsData, ThrowOnError>): RequestResult<ListCurrentBusinessChatsResponses, ListCurrentBusinessChatsErrors, ThrowOnError>;
226
+ /**
227
+ * Create a sandbox chat
228
+ *
229
+ * Creates a trainer sandbox conversation for the business named in the `business-id` header. Sandbox chats exercise an assistant without messaging a real customer, and a business with no connected WhatsApp number may keep only a limited number of them.
230
+ */
231
+ createChat<ThrowOnError extends boolean = true>(options: Options<CreateChatData, ThrowOnError>): RequestResult<CreateChatResponses, CreateChatErrors, ThrowOnError>;
232
+ /**
233
+ * Start a conversation with a template
234
+ *
235
+ * Adds a contact by international phone number (E.164, leading `+`) and opens the conversation by sending an approved WhatsApp template. An existing contact with the same number is reused. Pass `whatsapp_number_id` when the business has more than one WhatsApp number. The business is taken from the `business-id` header.
236
+ */
237
+ startTemplateConversation<ThrowOnError extends boolean = true>(options: Options<StartTemplateConversationData, ThrowOnError>): RequestResult<StartTemplateConversationResponses, StartTemplateConversationErrors, ThrowOnError>;
238
+ /**
239
+ * Delete a chat
240
+ *
241
+ * Deletes the conversation. Deleting one that is already deleted returns `410`.
242
+ */
243
+ deleteChat<ThrowOnError extends boolean = true>(options: Options<DeleteChatData, ThrowOnError>): RequestResult<DeleteChatResponses, DeleteChatErrors, ThrowOnError>;
244
+ /**
245
+ * List a chat's messages
246
+ *
247
+ * Returns the conversation's messages newest first, with paging. Each message carries its author, content, timestamp and delivery status. Any chat id belonging to the conversation may be used.
248
+ */
249
+ listChatMessages<ThrowOnError extends boolean = true>(options: Options<ListChatMessagesData, ThrowOnError>): RequestResult<ListChatMessagesResponses, ListChatMessagesErrors, ThrowOnError>;
250
+ /**
251
+ * Send a message to a chat
252
+ *
253
+ * Sends a message as a human agent and stores it on the conversation. The assistant does not reply to messages sent this way. Attachments are supported.
254
+ */
255
+ sendChatMessage<ThrowOnError extends boolean = true>(options: Options<SendChatMessageData, ThrowOnError>): RequestResult<SendChatMessageResponses, SendChatMessageErrors, ThrowOnError>;
256
+ /**
257
+ * Send a template message to a chat
258
+ *
259
+ * Sends an approved WhatsApp template into the conversation. This is the only way to reach a customer outside the 24-hour customer-service window. A rendered copy is stored so agents see what was sent.
260
+ */
261
+ sendChatTemplateMessage<ThrowOnError extends boolean = true>(options: Options<SendChatTemplateMessageData, ThrowOnError>): RequestResult<SendChatTemplateMessageResponses, SendChatTemplateMessageErrors, ThrowOnError>;
262
+ /**
263
+ * Retrieve a message's details
264
+ *
265
+ * Returns one message with its delivery details, optionally including the replies generated in the same exchange. This operation only reads; it uses `POST` for historical reasons. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
266
+ */
267
+ getCurrentBusinessChatMessageDetails<ThrowOnError extends boolean = true>(options: Options<GetCurrentBusinessChatMessageDetailsData, ThrowOnError>): RequestResult<GetCurrentBusinessChatMessageDetailsResponses, GetCurrentBusinessChatMessageDetailsErrors, ThrowOnError>;
268
+ /**
269
+ * Pause the assistant on a chat
270
+ *
271
+ * Stops the assistant answering automatically on this conversation so a human can take over. Incoming messages are still received and stored.
272
+ */
273
+ pauseChatAssistant<ThrowOnError extends boolean = true>(options: Options<PauseChatAssistantData, ThrowOnError>): RequestResult<PauseChatAssistantResponses, PauseChatAssistantErrors, ThrowOnError>;
274
+ /**
275
+ * Check whether the assistant is paused
276
+ *
277
+ * Reports whether automatic replies are currently paused on the conversation, and until when.
278
+ */
279
+ getChatPauseStatus<ThrowOnError extends boolean = true>(options: Options<GetChatPauseStatusData, ThrowOnError>): RequestResult<GetChatPauseStatusResponses, GetChatPauseStatusErrors, ThrowOnError>;
280
+ /**
281
+ * Mark a chat as read
282
+ *
283
+ * Marks the conversation read for the whole team as of now. Read state is shared between agents rather than tracked per agent, and the timestamp is stamped server-side.
284
+ */
285
+ markChatRead<ThrowOnError extends boolean = true>(options: Options<MarkChatReadData, ThrowOnError>): RequestResult<MarkChatReadResponses, MarkChatReadErrors, ThrowOnError>;
286
+ /**
287
+ * Snooze a chat
288
+ *
289
+ * Snoozes the conversation until the given instant, or wakes it by sending `null`. Like read state, snoozing applies to the whole team.
290
+ */
291
+ snoozeChat<ThrowOnError extends boolean = true>(options: Options<SnoozeChatData, ThrowOnError>): RequestResult<SnoozeChatResponses, SnoozeChatErrors, ThrowOnError>;
292
+ /**
293
+ * Set a chat's status
294
+ *
295
+ * Sets the conversation's status — the value the inbox filters on. The status is held against the business/customer pair, so it survives a conversation being closed and reopened.
296
+ */
297
+ setChatStatus<ThrowOnError extends boolean = true>(options: Options<SetChatStatusData, ThrowOnError>): RequestResult<SetChatStatusResponses, SetChatStatusErrors, ThrowOnError>;
298
+ /**
299
+ * Resume the assistant on a chat
300
+ *
301
+ * Hands the conversation back to the assistant, which resumes answering incoming messages automatically.
302
+ */
303
+ resumeChatAssistant<ThrowOnError extends boolean = true>(options: Options<ResumeChatAssistantData, ThrowOnError>): RequestResult<ResumeChatAssistantResponses, ResumeChatAssistantErrors, ThrowOnError>;
304
+ /**
305
+ * Upload an attachment
306
+ *
307
+ * Uploads a file to be attached to a message on this conversation, and returns the stored reference to pass when sending that message.
308
+ */
309
+ uploadChatAttachment<ThrowOnError extends boolean = true>(options: Options<UploadChatAttachmentData, ThrowOnError>): RequestResult<UploadChatAttachmentResponses, UploadChatAttachmentErrors, ThrowOnError>;
310
+ /**
311
+ * List contacts
312
+ *
313
+ * Returns the contacts for the business in the `business-id` header. Use `search` to match by name, phone or email, `chatbot_id` to narrow the list to one assistant, and `page` / `page_size` to page through the result.
314
+ */
315
+ listContacts<ThrowOnError extends boolean = true>(options?: Options<ListContactsData, ThrowOnError>): RequestResult<ListContactsResponses, ListContactsErrors, ThrowOnError>;
316
+ /**
317
+ * Create a contact
318
+ *
319
+ * Creates a contact for the business in the `business-id` header. The phone number is fixed after creation; use the update operation for the name, email, tags and notes.
320
+ */
321
+ createContact<ThrowOnError extends boolean = true>(options: Options<CreateContactData, ThrowOnError>): RequestResult<CreateContactResponses, CreateContactErrors, ThrowOnError>;
322
+ /**
323
+ * Import contacts
324
+ *
325
+ * Creates or updates contacts from a list of rows for the business in the `business-id` header. Invalid rows are skipped and reported with their 0-based index in the `rows` array; valid rows are still applied.
326
+ */
327
+ importContacts<ThrowOnError extends boolean = true>(options: Options<ImportContactsData, ThrowOnError>): RequestResult<ImportContactsResponses, ImportContactsErrors, ThrowOnError>;
328
+ /**
329
+ * Retrieve a contact
330
+ *
331
+ * Returns one contact, including the conversations that belong to it. A contact from another business returns `404` rather than leaking that it exists.
332
+ */
333
+ getContact<ThrowOnError extends boolean = true>(options: Options<GetContactData, ThrowOnError>): RequestResult<GetContactResponses, GetContactErrors, ThrowOnError>;
334
+ /**
335
+ * Update a contact
336
+ *
337
+ * Partially updates a contact's name, email, tags or notes. The phone number cannot be changed after the contact is created.
338
+ */
339
+ updateContact<ThrowOnError extends boolean = true>(options: Options<UpdateContactData, ThrowOnError>): RequestResult<UpdateContactResponses, UpdateContactErrors, ThrowOnError>;
340
+ /**
341
+ * List personal access tokens
342
+ *
343
+ * Returns the personal access tokens belonging to the authenticated user. Only metadata is returned; a token's value is never readable after it is created.
344
+ */
345
+ listApiTokens<ThrowOnError extends boolean = true>(options?: Options<ListApiTokensData, ThrowOnError>): RequestResult<ListApiTokensResponses, ListApiTokensErrors, ThrowOnError>;
346
+ /**
347
+ * Create a personal access token
348
+ *
349
+ * Issues a new personal access token for the authenticated user. The token value appears exactly once, in this response — store it before discarding the response, because it cannot be retrieved again.
350
+ */
351
+ createApiToken<ThrowOnError extends boolean = true>(options: Options<CreateApiTokenData, ThrowOnError>): RequestResult<CreateApiTokenResponses, CreateApiTokenErrors, ThrowOnError>;
352
+ /**
353
+ * Revoke a personal access token
354
+ *
355
+ * Revokes the token immediately. Every later request presenting it is rejected.
356
+ */
357
+ revokeApiToken<ThrowOnError extends boolean = true>(options: Options<RevokeApiTokenData, ThrowOnError>): RequestResult<RevokeApiTokenResponses, RevokeApiTokenErrors, ThrowOnError>;
358
+ /**
359
+ * List transmissions
360
+ *
361
+ * Returns the business's bulk sends, newest first. Archived rows are omitted unless `status=archived` is passed. Optionally filter by any other status.
362
+ */
363
+ listTransmissions<ThrowOnError extends boolean = true>(options?: Options<ListTransmissionsData, ThrowOnError>): RequestResult<ListTransmissionsResponses, ListTransmissionsErrors, ThrowOnError>;
364
+ /**
365
+ * Preview a transmission
366
+ *
367
+ * Validates the recipient list and template and stores the result as a draft, without sending anything. Review the draft, then confirm it to dispatch.
368
+ */
369
+ previewTransmission<ThrowOnError extends boolean = true>(options: Options<PreviewTransmissionData, ThrowOnError>): RequestResult<PreviewTransmissionResponses, PreviewTransmissionErrors, ThrowOnError>;
370
+ /**
371
+ * Retrieve a transmission
372
+ *
373
+ * Returns one transmission with its current status and per-recipient counts.
374
+ */
375
+ getTransmission<ThrowOnError extends boolean = true>(options: Options<GetTransmissionData, ThrowOnError>): RequestResult<GetTransmissionResponses, GetTransmissionErrors, ThrowOnError>;
376
+ /**
377
+ * Archive a transmission
378
+ *
379
+ * Hides a draft or cancelled transmission from the default list without deleting it. Idempotent for already-archived rows. Does not send or confirm; confirming an archived transmission is rejected.
380
+ */
381
+ archiveTransmission<ThrowOnError extends boolean = true>(options: Options<ArchiveTransmissionData, ThrowOnError>): RequestResult<ArchiveTransmissionResponses, ArchiveTransmissionErrors, ThrowOnError>;
382
+ /**
383
+ * Cancel a transmission
384
+ *
385
+ * Cancels a transmission that has not finished. Cancelling one that already completed, failed or was cancelled is a no-op that returns its current status. A send in progress stops cooperatively, so messages already dispatched are still delivered.
386
+ */
387
+ cancelTransmission<ThrowOnError extends boolean = true>(options: Options<CancelTransmissionData, ThrowOnError>): RequestResult<CancelTransmissionResponses, CancelTransmissionErrors, ThrowOnError>;
388
+ /**
389
+ * Confirm and dispatch a transmission
390
+ *
391
+ * Releases a draft transmission for delivery. **This sends real messages to real recipients and cannot be undone.**
392
+ */
393
+ confirmTransmission<ThrowOnError extends boolean = true>(options: Options<ConfirmTransmissionData, ThrowOnError>): RequestResult<ConfirmTransmissionResponses, ConfirmTransmissionErrors, ThrowOnError>;
394
+ /**
395
+ * List webhook endpoints
396
+ *
397
+ * Returns the webhook endpoints registered for the business, newest first. Signing secrets are never included — a secret is readable only in the response that creates or rotates it. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
398
+ */
399
+ listCurrentWebhookEndpoints<ThrowOnError extends boolean = true>(options?: Options<ListCurrentWebhookEndpointsData, ThrowOnError>): RequestResult<ListCurrentWebhookEndpointsResponses, ListCurrentWebhookEndpointsErrors, ThrowOnError>;
400
+ /**
401
+ * Register a webhook endpoint
402
+ *
403
+ * Registers a URL to receive signed event deliveries and returns it along with its signing secret. **The secret is shown exactly once** — store it now; afterwards you can only rotate it. The URL must be a publicly resolvable HTTPS address, and every entry in `subscribed_events` must be a known event type. Requires a plan that includes event webhooks. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
404
+ */
405
+ createCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<CreateCurrentWebhookEndpointData, ThrowOnError>): RequestResult<CreateCurrentWebhookEndpointResponses, CreateCurrentWebhookEndpointErrors, ThrowOnError>;
406
+ /**
407
+ * Resend a delivery
408
+ *
409
+ * Queues a past delivery to be sent again. The stored request body is replayed byte for byte, so the original signature still verifies. Responds `202` once queued; the send itself happens in the background. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
410
+ */
411
+ resendCurrentWebhookDelivery<ThrowOnError extends boolean = true>(options: Options<ResendCurrentWebhookDeliveryData, ThrowOnError>): RequestResult<ResendCurrentWebhookDeliveryResponses, ResendCurrentWebhookDeliveryErrors, ThrowOnError>;
412
+ /**
413
+ * Delete a webhook endpoint
414
+ *
415
+ * Removes the endpoint and stops delivering to it. Past deliveries are retained. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
416
+ */
417
+ deleteCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<DeleteCurrentWebhookEndpointData, ThrowOnError>): RequestResult<DeleteCurrentWebhookEndpointResponses, DeleteCurrentWebhookEndpointErrors, ThrowOnError>;
418
+ /**
419
+ * Update a webhook endpoint
420
+ *
421
+ * Changes an endpoint's URL, label, subscribed events or enabled state; omitted fields are left alone. Re-enabling an endpoint also clears the consecutive-failure streak that auto-disabled it, so a single later failure will not disable it again. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
422
+ */
423
+ updateCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<UpdateCurrentWebhookEndpointData, ThrowOnError>): RequestResult<UpdateCurrentWebhookEndpointResponses, UpdateCurrentWebhookEndpointErrors, ThrowOnError>;
424
+ /**
425
+ * Rotate an endpoint's signing secret
426
+ *
427
+ * Issues a new signing secret and returns it. **The previous secret stops verifying immediately** and there is no overlap window, so deploy the new one to your receiver before rotating. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.
428
+ */
429
+ rotateCurrentWebhookSigningSecret<ThrowOnError extends boolean = true>(options: Options<RotateCurrentWebhookSigningSecretData, ThrowOnError>): RequestResult<RotateCurrentWebhookSigningSecretResponses, RotateCurrentWebhookSigningSecretErrors, ThrowOnError>;
430
+ /**
431
+ * List message templates
432
+ *
433
+ * Returns the business's WhatsApp message templates, optionally filtered by review status.
434
+ */
435
+ listWhatsAppTemplates<ThrowOnError extends boolean = true>(options?: Options<ListWhatsAppTemplatesData, ThrowOnError>): RequestResult<ListWhatsAppTemplatesResponses, ListWhatsAppTemplatesErrors, ThrowOnError>;
436
+ /**
437
+ * Create a message template
438
+ *
439
+ * Creates a template as a local draft. A draft cannot be used for sending until it has been submitted to Meta and approved.
440
+ */
441
+ createWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<CreateWhatsAppTemplateData, ThrowOnError>): RequestResult<CreateWhatsAppTemplateResponses, CreateWhatsAppTemplateErrors, ThrowOnError>;
442
+ /**
443
+ * Sync template status from Meta
444
+ *
445
+ * Pulls the current review status of the business's templates from Meta and updates the stored copies, so templates approved or rejected on Meta's side become visible here.
446
+ */
447
+ syncWhatsAppTemplates<ThrowOnError extends boolean = true>(options?: Options<SyncWhatsAppTemplatesData, ThrowOnError>): RequestResult<SyncWhatsAppTemplatesResponses, SyncWhatsAppTemplatesErrors, ThrowOnError>;
448
+ /**
449
+ * Delete a message template
450
+ *
451
+ * Deletes the template. Messages already sent with it are unaffected.
452
+ */
453
+ deleteWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<DeleteWhatsAppTemplateData, ThrowOnError>): RequestResult<DeleteWhatsAppTemplateResponses, DeleteWhatsAppTemplateErrors, ThrowOnError>;
454
+ /**
455
+ * Retrieve a message template
456
+ *
457
+ * Returns one template, including its body, variables and current review status.
458
+ */
459
+ getWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<GetWhatsAppTemplateData, ThrowOnError>): RequestResult<GetWhatsAppTemplateResponses, GetWhatsAppTemplateErrors, ThrowOnError>;
460
+ /**
461
+ * Update a message template
462
+ *
463
+ * Updates a template. Its content can only be changed while the template is still a local draft or has been rejected — an approved template has to be replaced by a new one.
464
+ */
465
+ updateWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<UpdateWhatsAppTemplateData, ThrowOnError>): RequestResult<UpdateWhatsAppTemplateResponses, UpdateWhatsAppTemplateErrors, ThrowOnError>;
466
+ /**
467
+ * Submit a template for review
468
+ *
469
+ * Submits the template to Meta for approval. Review is asynchronous — poll the template, or sync from Meta, to see the outcome.
470
+ */
471
+ submitWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<SubmitWhatsAppTemplateData, ThrowOnError>): RequestResult<SubmitWhatsAppTemplateResponses, SubmitWhatsAppTemplateErrors, ThrowOnError>;
472
+ }
473
+ export {};
474
+ //# sourceMappingURL=sdk.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"s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