@izapai/sdk 0.0.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +173 -1
- package/dist/client.d.ts +20 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +41 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +41 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +67 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/client/client.gen.d.ts +3 -0
- package/dist/generated/client/client.gen.d.ts.map +1 -0
- package/dist/generated/client/client.gen.js +217 -0
- package/dist/generated/client/client.gen.js.map +1 -0
- package/dist/generated/client/index.d.ts +11 -0
- package/dist/generated/client/index.d.ts.map +1 -0
- package/dist/generated/client/index.js +7 -0
- package/dist/generated/client/index.js.map +1 -0
- package/dist/generated/client/types.gen.d.ts +121 -0
- package/dist/generated/client/types.gen.d.ts.map +1 -0
- package/dist/generated/client/types.gen.js +3 -0
- package/dist/generated/client/types.gen.js.map +1 -0
- package/dist/generated/client/utils.gen.d.ts +38 -0
- package/dist/generated/client/utils.gen.d.ts.map +1 -0
- package/dist/generated/client/utils.gen.js +229 -0
- package/dist/generated/client/utils.gen.js.map +1 -0
- package/dist/generated/client.gen.d.ts +13 -0
- package/dist/generated/client.gen.d.ts.map +1 -0
- package/dist/generated/client.gen.js +4 -0
- package/dist/generated/client.gen.js.map +1 -0
- package/dist/generated/core/auth.gen.d.ts +26 -0
- package/dist/generated/core/auth.gen.d.ts.map +1 -0
- package/dist/generated/core/auth.gen.js +15 -0
- package/dist/generated/core/auth.gen.js.map +1 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +26 -0
- package/dist/generated/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/bodySerializer.gen.js +58 -0
- package/dist/generated/core/bodySerializer.gen.js.map +1 -0
- package/dist/generated/core/params.gen.d.ts +44 -0
- package/dist/generated/core/params.gen.d.ts.map +1 -0
- package/dist/generated/core/params.gen.js +110 -0
- package/dist/generated/core/params.gen.js.map +1 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +34 -0
- package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/pathSerializer.gen.js +107 -0
- package/dist/generated/core/pathSerializer.gen.js.map +1 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/queryKeySerializer.gen.js +93 -0
- package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.js +133 -0
- package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
- package/dist/generated/core/types.gen.d.ts +84 -0
- package/dist/generated/core/types.gen.d.ts.map +1 -0
- package/dist/generated/core/types.gen.js +3 -0
- package/dist/generated/core/types.gen.js.map +1 -0
- package/dist/generated/core/utils.gen.d.ts +20 -0
- package/dist/generated/core/utils.gen.d.ts.map +1 -0
- package/dist/generated/core/utils.gen.js +88 -0
- package/dist/generated/core/utils.gen.js.map +1 -0
- package/dist/generated/index.d.ts +3 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +3 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/sdk.gen.d.ts +420 -0
- package/dist/generated/sdk.gen.d.ts.map +1 -0
- package/dist/generated/sdk.gen.js +906 -0
- package/dist/generated/sdk.gen.js.map +1 -0
- package/dist/generated/types.gen.d.ts +5342 -0
- package/dist/generated/types.gen.d.ts.map +1 -0
- package/dist/generated/types.gen.js +3 -0
- package/dist/generated/types.gen.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/retry.d.ts +18 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +84 -0
- package/dist/retry.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/webhooks.d.ts +95 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +153 -0
- package/dist/webhooks.js.map +1 -0
- package/package.json +58 -3
|
@@ -0,0 +1,420 @@
|
|
|
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, CreateCurrentWebhookEndpointData, CreateCurrentWebhookEndpointErrors, CreateCurrentWebhookEndpointResponses, CreateWhatsAppTemplateData, CreateWhatsAppTemplateErrors, CreateWhatsAppTemplateResponses, DeleteAssistantContactFilterEntryData, DeleteAssistantContactFilterEntryErrors, DeleteAssistantContactFilterEntryResponses, DeleteBusinessLibraryDocumentData, DeleteBusinessLibraryDocumentErrors, DeleteBusinessLibraryDocumentResponses, DeleteBusinessLibraryImageData, DeleteBusinessLibraryImageErrors, DeleteBusinessLibraryImageResponses, DeleteChatData, DeleteChatErrors, DeleteChatResponses, DeleteCurrentWebhookEndpointData, DeleteCurrentWebhookEndpointErrors, DeleteCurrentWebhookEndpointResponses, DeleteCurrentWhatsAppNumberData, DeleteCurrentWhatsAppNumberErrors, DeleteCurrentWhatsAppNumberResponses, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateErrors, DeleteWhatsAppTemplateResponses, DisconnectCurrentWhatsAppNumberData, DisconnectCurrentWhatsAppNumberErrors, DisconnectCurrentWhatsAppNumberResponses, GetAssistantContactFilterData, GetAssistantContactFilterErrors, GetAssistantContactFilterResponses, GetChatPauseStatusData, GetChatPauseStatusErrors, GetChatPauseStatusResponses, GetCurrentBusinessChatMessageDetailsData, GetCurrentBusinessChatMessageDetailsErrors, GetCurrentBusinessChatMessageDetailsResponses, GetCurrentBusinessData, GetCurrentBusinessErrors, GetCurrentBusinessHoursData, GetCurrentBusinessHoursErrors, GetCurrentBusinessHoursResponses, GetCurrentBusinessResponses, GetCurrentWhatsAppBusinessAccountInfoData, GetCurrentWhatsAppBusinessAccountInfoErrors, GetCurrentWhatsAppBusinessAccountInfoResponses, GetCurrentWhatsAppNumberLiveStatusData, GetCurrentWhatsAppNumberLiveStatusErrors, GetCurrentWhatsAppNumberLiveStatusResponses, GetCurrentWhatsAppNumberRegistrationTaskData, GetCurrentWhatsAppNumberRegistrationTaskErrors, GetCurrentWhatsAppNumberRegistrationTaskResponses, GetTransmissionData, GetTransmissionErrors, GetTransmissionResponses, GetWhatsAppTemplateData, GetWhatsAppTemplateErrors, GetWhatsAppTemplateResponses, IntrospectTokenData, IntrospectTokenErrors, IntrospectTokenResponses, ListApiTokensData, ListApiTokensErrors, ListApiTokensResponses, ListBusinessLibraryDocumentsData, ListBusinessLibraryDocumentsErrors, ListBusinessLibraryDocumentsResponses, ListBusinessLibraryImagesData, ListBusinessLibraryImagesErrors, ListBusinessLibraryImagesResponses, ListBusinessMenusData, ListBusinessMenusErrors, ListBusinessMenusResponses, ListChatMessagesData, ListChatMessagesErrors, ListChatMessagesResponses, 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, SubmitWhatsAppTemplateData, SubmitWhatsAppTemplateErrors, SubmitWhatsAppTemplateResponses, SyncWhatsAppTemplatesData, SyncWhatsAppTemplatesErrors, SyncWhatsAppTemplatesResponses, UpdateBusinessMenuData, UpdateBusinessMenuErrors, UpdateBusinessMenuResponses, UpdateCurrentBusinessData, UpdateCurrentBusinessErrors, UpdateCurrentBusinessHoursData, UpdateCurrentBusinessHoursErrors, UpdateCurrentBusinessHoursResponses, UpdateCurrentBusinessResponses, UpdateCurrentWebhookEndpointData, UpdateCurrentWebhookEndpointErrors, UpdateCurrentWebhookEndpointResponses, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateErrors, UpdateWhatsAppTemplateResponses, UploadBusinessLibraryDocumentData, UploadBusinessLibraryDocumentErrors, UploadBusinessLibraryDocumentResponses, UploadBusinessLibraryImageData, UploadBusinessLibraryImageErrors, UploadBusinessLibraryImageResponses, 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 the business menus
|
|
132
|
+
*
|
|
133
|
+
* Returns the product catalog menus published by the business named in the `business-id` header.
|
|
134
|
+
*/
|
|
135
|
+
listBusinessMenus<ThrowOnError extends boolean = true>(options?: Options<ListBusinessMenusData, ThrowOnError>): RequestResult<ListBusinessMenusResponses, ListBusinessMenusErrors, ThrowOnError>;
|
|
136
|
+
/**
|
|
137
|
+
* Create a menu
|
|
138
|
+
*
|
|
139
|
+
* Creates a product catalog menu for the business named in the `business-id` header.
|
|
140
|
+
*/
|
|
141
|
+
createBusinessMenu<ThrowOnError extends boolean = true>(options: Options<CreateBusinessMenuData, ThrowOnError>): RequestResult<CreateBusinessMenuResponses, CreateBusinessMenuErrors, ThrowOnError>;
|
|
142
|
+
/**
|
|
143
|
+
* Update a menu
|
|
144
|
+
*
|
|
145
|
+
* Replaces the contents of an existing menu.
|
|
146
|
+
*/
|
|
147
|
+
updateBusinessMenu<ThrowOnError extends boolean = true>(options: Options<UpdateBusinessMenuData, ThrowOnError>): RequestResult<UpdateBusinessMenuResponses, UpdateBusinessMenuErrors, ThrowOnError>;
|
|
148
|
+
/**
|
|
149
|
+
* List WhatsApp Cloud numbers
|
|
150
|
+
*
|
|
151
|
+
* 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.
|
|
152
|
+
*/
|
|
153
|
+
listCurrentWhatsAppNumbers<ThrowOnError extends boolean = true>(options?: Options<ListCurrentWhatsAppNumbersData, ThrowOnError>): RequestResult<ListCurrentWhatsAppNumbersResponses, ListCurrentWhatsAppNumbersErrors, ThrowOnError>;
|
|
154
|
+
/**
|
|
155
|
+
* Remove a number from iZap
|
|
156
|
+
*
|
|
157
|
+
* 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.
|
|
158
|
+
*/
|
|
159
|
+
deleteCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<DeleteCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<DeleteCurrentWhatsAppNumberResponses, DeleteCurrentWhatsAppNumberErrors, ThrowOnError>;
|
|
160
|
+
/**
|
|
161
|
+
* Bind an assistant to a number
|
|
162
|
+
*
|
|
163
|
+
* 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.
|
|
164
|
+
*/
|
|
165
|
+
setCurrentWhatsAppNumberAssistant<ThrowOnError extends boolean = true>(options: Options<SetCurrentWhatsAppNumberAssistantData, ThrowOnError>): RequestResult<SetCurrentWhatsAppNumberAssistantResponses, SetCurrentWhatsAppNumberAssistantErrors, ThrowOnError>;
|
|
166
|
+
/**
|
|
167
|
+
* Revoke iZap's access to a number at Meta
|
|
168
|
+
*
|
|
169
|
+
* 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.
|
|
170
|
+
*/
|
|
171
|
+
disconnectCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<DisconnectCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<DisconnectCurrentWhatsAppNumberResponses, DisconnectCurrentWhatsAppNumberErrors, ThrowOnError>;
|
|
172
|
+
/**
|
|
173
|
+
* Read a number's live status at Meta
|
|
174
|
+
*
|
|
175
|
+
* 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.
|
|
176
|
+
*/
|
|
177
|
+
getCurrentWhatsAppNumberLiveStatus<ThrowOnError extends boolean = true>(options: Options<GetCurrentWhatsAppNumberLiveStatusData, ThrowOnError>): RequestResult<GetCurrentWhatsAppNumberLiveStatusResponses, GetCurrentWhatsAppNumberLiveStatusErrors, ThrowOnError>;
|
|
178
|
+
/**
|
|
179
|
+
* Register a WhatsApp Cloud number
|
|
180
|
+
*
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
registerCurrentWhatsAppNumber<ThrowOnError extends boolean = true>(options: Options<RegisterCurrentWhatsAppNumberData, ThrowOnError>): RequestResult<RegisterCurrentWhatsAppNumberResponses, RegisterCurrentWhatsAppNumberErrors, ThrowOnError>;
|
|
184
|
+
/**
|
|
185
|
+
* Check a number registration task
|
|
186
|
+
*
|
|
187
|
+
* 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.
|
|
188
|
+
*/
|
|
189
|
+
getCurrentWhatsAppNumberRegistrationTask<ThrowOnError extends boolean = true>(options: Options<GetCurrentWhatsAppNumberRegistrationTaskData, ThrowOnError>): RequestResult<GetCurrentWhatsAppNumberRegistrationTaskResponses, GetCurrentWhatsAppNumberRegistrationTaskErrors, ThrowOnError>;
|
|
190
|
+
/**
|
|
191
|
+
* Send the product catalog
|
|
192
|
+
*
|
|
193
|
+
* 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.
|
|
194
|
+
*/
|
|
195
|
+
sendCurrentWhatsAppCatalog<ThrowOnError extends boolean = true>(options: Options<SendCurrentWhatsAppCatalogData, ThrowOnError>): RequestResult<SendCurrentWhatsAppCatalogResponses, SendCurrentWhatsAppCatalogErrors, ThrowOnError>;
|
|
196
|
+
/**
|
|
197
|
+
* Read WhatsApp Business Account details
|
|
198
|
+
*
|
|
199
|
+
* 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.
|
|
200
|
+
*/
|
|
201
|
+
getCurrentWhatsAppBusinessAccountInfo<ThrowOnError extends boolean = true>(options?: Options<GetCurrentWhatsAppBusinessAccountInfoData, ThrowOnError>): RequestResult<GetCurrentWhatsAppBusinessAccountInfoResponses, GetCurrentWhatsAppBusinessAccountInfoErrors, ThrowOnError>;
|
|
202
|
+
/**
|
|
203
|
+
* List a business's chats
|
|
204
|
+
*
|
|
205
|
+
* 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.
|
|
206
|
+
*/
|
|
207
|
+
listCurrentBusinessChats<ThrowOnError extends boolean = true>(options?: Options<ListCurrentBusinessChatsData, ThrowOnError>): RequestResult<ListCurrentBusinessChatsResponses, ListCurrentBusinessChatsErrors, ThrowOnError>;
|
|
208
|
+
/**
|
|
209
|
+
* Create a sandbox chat
|
|
210
|
+
*
|
|
211
|
+
* 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.
|
|
212
|
+
*/
|
|
213
|
+
createChat<ThrowOnError extends boolean = true>(options: Options<CreateChatData, ThrowOnError>): RequestResult<CreateChatResponses, CreateChatErrors, ThrowOnError>;
|
|
214
|
+
/**
|
|
215
|
+
* Delete a chat
|
|
216
|
+
*
|
|
217
|
+
* Deletes the conversation. Deleting one that is already deleted returns `410`.
|
|
218
|
+
*/
|
|
219
|
+
deleteChat<ThrowOnError extends boolean = true>(options: Options<DeleteChatData, ThrowOnError>): RequestResult<DeleteChatResponses, DeleteChatErrors, ThrowOnError>;
|
|
220
|
+
/**
|
|
221
|
+
* List a chat's messages
|
|
222
|
+
*
|
|
223
|
+
* 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.
|
|
224
|
+
*/
|
|
225
|
+
listChatMessages<ThrowOnError extends boolean = true>(options: Options<ListChatMessagesData, ThrowOnError>): RequestResult<ListChatMessagesResponses, ListChatMessagesErrors, ThrowOnError>;
|
|
226
|
+
/**
|
|
227
|
+
* Send a message to a chat
|
|
228
|
+
*
|
|
229
|
+
* 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.
|
|
230
|
+
*/
|
|
231
|
+
sendChatMessage<ThrowOnError extends boolean = true>(options: Options<SendChatMessageData, ThrowOnError>): RequestResult<SendChatMessageResponses, SendChatMessageErrors, ThrowOnError>;
|
|
232
|
+
/**
|
|
233
|
+
* Send a template message to a chat
|
|
234
|
+
*
|
|
235
|
+
* 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.
|
|
236
|
+
*/
|
|
237
|
+
sendChatTemplateMessage<ThrowOnError extends boolean = true>(options: Options<SendChatTemplateMessageData, ThrowOnError>): RequestResult<SendChatTemplateMessageResponses, SendChatTemplateMessageErrors, ThrowOnError>;
|
|
238
|
+
/**
|
|
239
|
+
* Retrieve a message's details
|
|
240
|
+
*
|
|
241
|
+
* 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.
|
|
242
|
+
*/
|
|
243
|
+
getCurrentBusinessChatMessageDetails<ThrowOnError extends boolean = true>(options: Options<GetCurrentBusinessChatMessageDetailsData, ThrowOnError>): RequestResult<GetCurrentBusinessChatMessageDetailsResponses, GetCurrentBusinessChatMessageDetailsErrors, ThrowOnError>;
|
|
244
|
+
/**
|
|
245
|
+
* Pause the assistant on a chat
|
|
246
|
+
*
|
|
247
|
+
* Stops the assistant answering automatically on this conversation so a human can take over. Incoming messages are still received and stored.
|
|
248
|
+
*/
|
|
249
|
+
pauseChatAssistant<ThrowOnError extends boolean = true>(options: Options<PauseChatAssistantData, ThrowOnError>): RequestResult<PauseChatAssistantResponses, PauseChatAssistantErrors, ThrowOnError>;
|
|
250
|
+
/**
|
|
251
|
+
* Check whether the assistant is paused
|
|
252
|
+
*
|
|
253
|
+
* Reports whether automatic replies are currently paused on the conversation, and until when.
|
|
254
|
+
*/
|
|
255
|
+
getChatPauseStatus<ThrowOnError extends boolean = true>(options: Options<GetChatPauseStatusData, ThrowOnError>): RequestResult<GetChatPauseStatusResponses, GetChatPauseStatusErrors, ThrowOnError>;
|
|
256
|
+
/**
|
|
257
|
+
* Mark a chat as read
|
|
258
|
+
*
|
|
259
|
+
* 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.
|
|
260
|
+
*/
|
|
261
|
+
markChatRead<ThrowOnError extends boolean = true>(options: Options<MarkChatReadData, ThrowOnError>): RequestResult<MarkChatReadResponses, MarkChatReadErrors, ThrowOnError>;
|
|
262
|
+
/**
|
|
263
|
+
* Snooze a chat
|
|
264
|
+
*
|
|
265
|
+
* Snoozes the conversation until the given instant, or wakes it by sending `null`. Like read state, snoozing applies to the whole team.
|
|
266
|
+
*/
|
|
267
|
+
snoozeChat<ThrowOnError extends boolean = true>(options: Options<SnoozeChatData, ThrowOnError>): RequestResult<SnoozeChatResponses, SnoozeChatErrors, ThrowOnError>;
|
|
268
|
+
/**
|
|
269
|
+
* Set a chat's status
|
|
270
|
+
*
|
|
271
|
+
* 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.
|
|
272
|
+
*/
|
|
273
|
+
setChatStatus<ThrowOnError extends boolean = true>(options: Options<SetChatStatusData, ThrowOnError>): RequestResult<SetChatStatusResponses, SetChatStatusErrors, ThrowOnError>;
|
|
274
|
+
/**
|
|
275
|
+
* Resume the assistant on a chat
|
|
276
|
+
*
|
|
277
|
+
* Hands the conversation back to the assistant, which resumes answering incoming messages automatically.
|
|
278
|
+
*/
|
|
279
|
+
resumeChatAssistant<ThrowOnError extends boolean = true>(options: Options<ResumeChatAssistantData, ThrowOnError>): RequestResult<ResumeChatAssistantResponses, ResumeChatAssistantErrors, ThrowOnError>;
|
|
280
|
+
/**
|
|
281
|
+
* Upload an attachment
|
|
282
|
+
*
|
|
283
|
+
* Uploads a file to be attached to a message on this conversation, and returns the stored reference to pass when sending that message.
|
|
284
|
+
*/
|
|
285
|
+
uploadChatAttachment<ThrowOnError extends boolean = true>(options: Options<UploadChatAttachmentData, ThrowOnError>): RequestResult<UploadChatAttachmentResponses, UploadChatAttachmentErrors, ThrowOnError>;
|
|
286
|
+
/**
|
|
287
|
+
* List personal access tokens
|
|
288
|
+
*
|
|
289
|
+
* 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.
|
|
290
|
+
*/
|
|
291
|
+
listApiTokens<ThrowOnError extends boolean = true>(options?: Options<ListApiTokensData, ThrowOnError>): RequestResult<ListApiTokensResponses, ListApiTokensErrors, ThrowOnError>;
|
|
292
|
+
/**
|
|
293
|
+
* Create a personal access token
|
|
294
|
+
*
|
|
295
|
+
* 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.
|
|
296
|
+
*/
|
|
297
|
+
createApiToken<ThrowOnError extends boolean = true>(options: Options<CreateApiTokenData, ThrowOnError>): RequestResult<CreateApiTokenResponses, CreateApiTokenErrors, ThrowOnError>;
|
|
298
|
+
/**
|
|
299
|
+
* Revoke a personal access token
|
|
300
|
+
*
|
|
301
|
+
* Revokes the token immediately. Every later request presenting it is rejected.
|
|
302
|
+
*/
|
|
303
|
+
revokeApiToken<ThrowOnError extends boolean = true>(options: Options<RevokeApiTokenData, ThrowOnError>): RequestResult<RevokeApiTokenResponses, RevokeApiTokenErrors, ThrowOnError>;
|
|
304
|
+
/**
|
|
305
|
+
* List transmissions
|
|
306
|
+
*
|
|
307
|
+
* Returns the business's bulk sends, newest first. Archived rows are omitted unless `status=archived` is passed. Optionally filter by any other status.
|
|
308
|
+
*/
|
|
309
|
+
listTransmissions<ThrowOnError extends boolean = true>(options?: Options<ListTransmissionsData, ThrowOnError>): RequestResult<ListTransmissionsResponses, ListTransmissionsErrors, ThrowOnError>;
|
|
310
|
+
/**
|
|
311
|
+
* Preview a transmission
|
|
312
|
+
*
|
|
313
|
+
* Validates the recipient list and template and stores the result as a draft, without sending anything. Review the draft, then confirm it to dispatch.
|
|
314
|
+
*/
|
|
315
|
+
previewTransmission<ThrowOnError extends boolean = true>(options: Options<PreviewTransmissionData, ThrowOnError>): RequestResult<PreviewTransmissionResponses, PreviewTransmissionErrors, ThrowOnError>;
|
|
316
|
+
/**
|
|
317
|
+
* Retrieve a transmission
|
|
318
|
+
*
|
|
319
|
+
* Returns one transmission with its current status and per-recipient counts.
|
|
320
|
+
*/
|
|
321
|
+
getTransmission<ThrowOnError extends boolean = true>(options: Options<GetTransmissionData, ThrowOnError>): RequestResult<GetTransmissionResponses, GetTransmissionErrors, ThrowOnError>;
|
|
322
|
+
/**
|
|
323
|
+
* Archive a transmission
|
|
324
|
+
*
|
|
325
|
+
* 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.
|
|
326
|
+
*/
|
|
327
|
+
archiveTransmission<ThrowOnError extends boolean = true>(options: Options<ArchiveTransmissionData, ThrowOnError>): RequestResult<ArchiveTransmissionResponses, ArchiveTransmissionErrors, ThrowOnError>;
|
|
328
|
+
/**
|
|
329
|
+
* Cancel a transmission
|
|
330
|
+
*
|
|
331
|
+
* 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.
|
|
332
|
+
*/
|
|
333
|
+
cancelTransmission<ThrowOnError extends boolean = true>(options: Options<CancelTransmissionData, ThrowOnError>): RequestResult<CancelTransmissionResponses, CancelTransmissionErrors, ThrowOnError>;
|
|
334
|
+
/**
|
|
335
|
+
* Confirm and dispatch a transmission
|
|
336
|
+
*
|
|
337
|
+
* Releases a draft transmission for delivery. **This sends real messages to real recipients and cannot be undone.**
|
|
338
|
+
*/
|
|
339
|
+
confirmTransmission<ThrowOnError extends boolean = true>(options: Options<ConfirmTransmissionData, ThrowOnError>): RequestResult<ConfirmTransmissionResponses, ConfirmTransmissionErrors, ThrowOnError>;
|
|
340
|
+
/**
|
|
341
|
+
* List webhook endpoints
|
|
342
|
+
*
|
|
343
|
+
* 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.
|
|
344
|
+
*/
|
|
345
|
+
listCurrentWebhookEndpoints<ThrowOnError extends boolean = true>(options?: Options<ListCurrentWebhookEndpointsData, ThrowOnError>): RequestResult<ListCurrentWebhookEndpointsResponses, ListCurrentWebhookEndpointsErrors, ThrowOnError>;
|
|
346
|
+
/**
|
|
347
|
+
* Register a webhook endpoint
|
|
348
|
+
*
|
|
349
|
+
* 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.
|
|
350
|
+
*/
|
|
351
|
+
createCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<CreateCurrentWebhookEndpointData, ThrowOnError>): RequestResult<CreateCurrentWebhookEndpointResponses, CreateCurrentWebhookEndpointErrors, ThrowOnError>;
|
|
352
|
+
/**
|
|
353
|
+
* Resend a delivery
|
|
354
|
+
*
|
|
355
|
+
* 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.
|
|
356
|
+
*/
|
|
357
|
+
resendCurrentWebhookDelivery<ThrowOnError extends boolean = true>(options: Options<ResendCurrentWebhookDeliveryData, ThrowOnError>): RequestResult<ResendCurrentWebhookDeliveryResponses, ResendCurrentWebhookDeliveryErrors, ThrowOnError>;
|
|
358
|
+
/**
|
|
359
|
+
* Delete a webhook endpoint
|
|
360
|
+
*
|
|
361
|
+
* 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.
|
|
362
|
+
*/
|
|
363
|
+
deleteCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<DeleteCurrentWebhookEndpointData, ThrowOnError>): RequestResult<DeleteCurrentWebhookEndpointResponses, DeleteCurrentWebhookEndpointErrors, ThrowOnError>;
|
|
364
|
+
/**
|
|
365
|
+
* Update a webhook endpoint
|
|
366
|
+
*
|
|
367
|
+
* 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.
|
|
368
|
+
*/
|
|
369
|
+
updateCurrentWebhookEndpoint<ThrowOnError extends boolean = true>(options: Options<UpdateCurrentWebhookEndpointData, ThrowOnError>): RequestResult<UpdateCurrentWebhookEndpointResponses, UpdateCurrentWebhookEndpointErrors, ThrowOnError>;
|
|
370
|
+
/**
|
|
371
|
+
* Rotate an endpoint's signing secret
|
|
372
|
+
*
|
|
373
|
+
* 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.
|
|
374
|
+
*/
|
|
375
|
+
rotateCurrentWebhookSigningSecret<ThrowOnError extends boolean = true>(options: Options<RotateCurrentWebhookSigningSecretData, ThrowOnError>): RequestResult<RotateCurrentWebhookSigningSecretResponses, RotateCurrentWebhookSigningSecretErrors, ThrowOnError>;
|
|
376
|
+
/**
|
|
377
|
+
* List message templates
|
|
378
|
+
*
|
|
379
|
+
* Returns the business's WhatsApp message templates, optionally filtered by review status.
|
|
380
|
+
*/
|
|
381
|
+
listWhatsAppTemplates<ThrowOnError extends boolean = true>(options?: Options<ListWhatsAppTemplatesData, ThrowOnError>): RequestResult<ListWhatsAppTemplatesResponses, ListWhatsAppTemplatesErrors, ThrowOnError>;
|
|
382
|
+
/**
|
|
383
|
+
* Create a message template
|
|
384
|
+
*
|
|
385
|
+
* Creates a template as a local draft. A draft cannot be used for sending until it has been submitted to Meta and approved.
|
|
386
|
+
*/
|
|
387
|
+
createWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<CreateWhatsAppTemplateData, ThrowOnError>): RequestResult<CreateWhatsAppTemplateResponses, CreateWhatsAppTemplateErrors, ThrowOnError>;
|
|
388
|
+
/**
|
|
389
|
+
* Sync template status from Meta
|
|
390
|
+
*
|
|
391
|
+
* 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.
|
|
392
|
+
*/
|
|
393
|
+
syncWhatsAppTemplates<ThrowOnError extends boolean = true>(options?: Options<SyncWhatsAppTemplatesData, ThrowOnError>): RequestResult<SyncWhatsAppTemplatesResponses, SyncWhatsAppTemplatesErrors, ThrowOnError>;
|
|
394
|
+
/**
|
|
395
|
+
* Delete a message template
|
|
396
|
+
*
|
|
397
|
+
* Deletes the template. Messages already sent with it are unaffected.
|
|
398
|
+
*/
|
|
399
|
+
deleteWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<DeleteWhatsAppTemplateData, ThrowOnError>): RequestResult<DeleteWhatsAppTemplateResponses, DeleteWhatsAppTemplateErrors, ThrowOnError>;
|
|
400
|
+
/**
|
|
401
|
+
* Retrieve a message template
|
|
402
|
+
*
|
|
403
|
+
* Returns one template, including its body, variables and current review status.
|
|
404
|
+
*/
|
|
405
|
+
getWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<GetWhatsAppTemplateData, ThrowOnError>): RequestResult<GetWhatsAppTemplateResponses, GetWhatsAppTemplateErrors, ThrowOnError>;
|
|
406
|
+
/**
|
|
407
|
+
* Update a message template
|
|
408
|
+
*
|
|
409
|
+
* 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.
|
|
410
|
+
*/
|
|
411
|
+
updateWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<UpdateWhatsAppTemplateData, ThrowOnError>): RequestResult<UpdateWhatsAppTemplateResponses, UpdateWhatsAppTemplateErrors, ThrowOnError>;
|
|
412
|
+
/**
|
|
413
|
+
* Submit a template for review
|
|
414
|
+
*
|
|
415
|
+
* Submits the template to Meta for approval. Review is asynchronous — poll the template, or sync from Meta, to see the outcome.
|
|
416
|
+
*/
|
|
417
|
+
submitWhatsAppTemplate<ThrowOnError extends boolean = true>(options: Options<SubmitWhatsAppTemplateData, ThrowOnError>): RequestResult<SubmitWhatsAppTemplateResponses, SubmitWhatsAppTemplateErrors, ThrowOnError>;
|
|
418
|
+
}
|
|
419
|
+
export {};
|
|
420
|
+
//# sourceMappingURL=sdk.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../src/generated/sdk.gen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAA0B,KAAK,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxJ,OAAO,KAAK,EAAE,oCAAoC,EAAE,sCAAsC,EAAE,yCAAyC,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,qCAAqC,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,+BAA+B,EAAE,qCAAqC,EAAE,uCAAuC,EAAE,0CAA0C,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,mCAAmC,EAA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