meta-cloud-api 3.1.1 → 3.2.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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  <div align="center">
2
2
  <img src="public/README.svg" alt="meta-cloud-api" width="120">
3
3
  <h1>meta-cloud-api</h1>
4
- <p><strong>WhatsApp TypeScript SDK</strong> — type-safe, modular, and production-ready.</p>
5
- <p>The complete SDK for the official <a href="https://developers.facebook.com/docs/whatsapp/cloud-api">WhatsApp Business Platform Cloud API</a>.</p>
4
+ <p><strong>The actively maintained TypeScript SDK for the official WhatsApp Cloud API.</strong></p>
5
+ <p>Meta <a href="https://github.com/WhatsApp/WhatsApp-Nodejs-SDK">archived their own Node.js SDK</a> in 2023. This one kept going.</p>
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/meta-cloud-api.svg)](https://www.npmjs.com/package/meta-cloud-api)
8
8
  [![npm downloads](https://img.shields.io/npm/dm/meta-cloud-api.svg)](https://www.npmjs.com/package/meta-cloud-api)
@@ -43,14 +43,18 @@ await wa.messages.image({ to: '1234567890', link: 'https://example.com/image.png
43
43
 
44
44
  ## Why meta-cloud-api?
45
45
 
46
- | | meta-cloud-api |
47
- |---|---|
48
- | **Type Safety** | Full TypeScript strict mode — every request and response is typed |
49
- | **17 API Modules** | Messages, Media, Templates, Flows, Groups, Calling, Payments, and more |
50
- | **Webhook Adapters** | Built-in support for Express.js and Next.js (App Router & Pages Router) |
51
- | **Modular** | Tree-shakeable imports, use only what you need |
52
- | **Production Ready** | Error handling, typed error classes, rate limit support |
53
- | **Official API** | Built on the official WhatsApp Business Platform Cloud API |
46
+ > **Meta's own WhatsApp Node.js SDK has been [archived since June 2023](https://github.com/WhatsApp/WhatsApp-Nodejs-SDK)** — no fixes, no updates, no OpenAPI v23 support. meta-cloud-api is a maintained, type-safe alternative built on the same official Cloud API.
47
+
48
+ | | meta-cloud-api | Official SDK | Unofficial libraries (whatsapp-web.js, Baileys) |
49
+ |---|---|---|---|
50
+ | API basis | Official Cloud API | Official Cloud API | Reverse-engineered, unofficial |
51
+ | Account ban risk | None | None | Yes — violates WhatsApp ToS |
52
+ | Maintenance | Active (tracks OpenAPI v23) | **Archived since 2023** | Varies |
53
+ | TypeScript | Strict, full request/response types | Partial | Varies |
54
+ | API coverage | 20 modules (Messages, Flows, Calling, Payments, and more) | Messaging-focused | Personal-account features |
55
+ | Webhook adapters | Built-in Express.js + Next.js | Manual | Custom event system |
56
+
57
+ If you're building on the official Cloud API and don't want to bet on an unmaintained SDK, this is what the archived one would look like if Meta had kept shipping it.
54
58
 
55
59
  ## API Coverage
56
60
 
package/dist/index.d.mts CHANGED
@@ -36,6 +36,8 @@ declare enum MessageTypesEnum {
36
36
  Button = "button",
37
37
  Order = "order",
38
38
  System = "system",
39
+ Edit = "edit",
40
+ Revoke = "revoke",
39
41
  Unsupported = "unsupported",
40
42
  Unknown = "unknown",
41
43
  /**
@@ -1228,10 +1230,38 @@ type CallSession = {
1228
1230
  sdp: string;
1229
1231
  };
1230
1232
  type CallAction = 'connect' | 'pre_accept' | 'accept' | 'reject' | 'terminate';
1233
+ type CallCaptureStatus = 'ENABLED' | 'DISABLED';
1234
+ /**
1235
+ * Supported announcement locales for call recording / transcription.
1236
+ * The announcement is played to both participants before capture starts.
1237
+ */
1238
+ type CallAnnouncementLanguage = 'en' | 'en_US' | 'en_AU' | 'en_CA' | 'en_GB' | 'en_IN' | 'en_NZ' | 'nl' | 'fr' | 'de' | 'hi' | 'it' | 'kn' | 'pt' | 'es' | 'es_ES' | 'te' | 'vi' | (string & {});
1239
+ /**
1240
+ * Per-call recording configuration. When status is ENABLED, `purpose` and
1241
+ * `announcement_language` are required; the recording arrives via the
1242
+ * `call_recording_available` webhook event.
1243
+ */
1244
+ type CallRecordingConfig = {
1245
+ status: CallCaptureStatus; /** Reason for recording, max 250 characters — required when status is ENABLED */
1246
+ purpose?: string; /** Locale of the pre-recording announcement — required when status is ENABLED */
1247
+ announcement_language?: CallAnnouncementLanguage;
1248
+ };
1249
+ /**
1250
+ * Per-call transcription configuration. When status is ENABLED, `purpose` and
1251
+ * `announcement_language` are required; the transcript arrives via the
1252
+ * `call_transcription_available` webhook event.
1253
+ */
1254
+ type CallTranscriptionConfig = {
1255
+ status: CallCaptureStatus; /** Reason for transcription, max 250 characters — required when status is ENABLED */
1256
+ purpose?: string; /** Locale of the pre-transcription announcement — required when status is ENABLED */
1257
+ announcement_language?: CallAnnouncementLanguage;
1258
+ };
1231
1259
  type InitiateCallRequest = {
1232
1260
  to: string;
1233
1261
  session: CallSession;
1234
1262
  biz_opaque_callback_data?: string;
1263
+ recording?: CallRecordingConfig;
1264
+ transcription?: CallTranscriptionConfig;
1235
1265
  };
1236
1266
  type PreAcceptCallRequest = {
1237
1267
  call_id: string;
@@ -1241,6 +1271,8 @@ type AcceptCallRequest = {
1241
1271
  call_id: string;
1242
1272
  session?: CallSession;
1243
1273
  biz_opaque_callback_data?: string;
1274
+ recording?: CallRecordingConfig;
1275
+ transcription?: CallTranscriptionConfig;
1244
1276
  };
1245
1277
  type RejectCallRequest = {
1246
1278
  call_id: string;
@@ -1331,6 +1363,8 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1331
1363
  * @param params.to - The recipient's WhatsApp phone number.
1332
1364
  * @param params.session - The call session configuration.
1333
1365
  * @param params.biz_opaque_callback_data - Optional opaque data passed back in webhooks.
1366
+ * @param params.recording - Optional per-call recording configuration.
1367
+ * @param params.transcription - Optional per-call transcription configuration.
1334
1368
  * @returns The initiated call response with call ID and status.
1335
1369
  * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
1336
1370
  */
@@ -1352,6 +1386,8 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1352
1386
  * @param params.call_id - The ID of the call to accept.
1353
1387
  * @param params.session - Optional session configuration for the call.
1354
1388
  * @param params.biz_opaque_callback_data - Optional opaque data passed back in webhooks.
1389
+ * @param params.recording - Optional per-call recording configuration.
1390
+ * @param params.transcription - Optional per-call transcription configuration.
1355
1391
  * @returns The call action response confirming acceptance.
1356
1392
  * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
1357
1393
  */
@@ -2354,6 +2390,34 @@ type PhoneNumbersResponse = {
2354
2390
  data: PhoneNumberResponse[];
2355
2391
  paging: Paging;
2356
2392
  };
2393
+ /**
2394
+ * Username status.
2395
+ *
2396
+ * - "approved" — Username has been approved and will be visible when the feature is available
2397
+ * - "reserved" — Username is reserved and approved, but not yet visible to users
2398
+ */
2399
+ type UsernameStatus = 'approved' | 'reserved' | (string & {});
2400
+ /**
2401
+ * Behavior when the desired username is already in use by another phone number
2402
+ * in the same portfolio.
2403
+ *
2404
+ * - "none" — Default; do not transfer a username already in use elsewhere
2405
+ * - "force_transfer" — Move the username from another phone number in the portfolio.
2406
+ * If the API returns error code 147005, retry the request with "force_transfer".
2407
+ */
2408
+ type UsernameTransferAction = 'none' | 'force_transfer';
2409
+ type UpdateUsernameRequest = {
2410
+ username: string; /** Optional. Defaults to "none". */
2411
+ transfer_action?: UsernameTransferAction;
2412
+ };
2413
+ type UsernameResponse = {
2414
+ username?: string;
2415
+ status?: UsernameStatus;
2416
+ [key: string]: unknown;
2417
+ };
2418
+ type UsernameSuggestionsResponse = {
2419
+ [key: string]: unknown;
2420
+ };
2357
2421
  type RequestVerificationCodeRequest = {
2358
2422
  code_method: 'SMS' | 'VOICE';
2359
2423
  language: string;
@@ -2415,6 +2479,10 @@ interface PhoneNumberClass {
2415
2479
  updateOfficialBusinessAccountStatus(params: UpdateOfficialBusinessAccountStatusRequest): Promise<ResponseSuccess>;
2416
2480
  getBusinessComplianceInfo(): Promise<BusinessComplianceInfoResponse>;
2417
2481
  updateBusinessComplianceInfo(params: UpdateBusinessComplianceInfoRequest): Promise<ResponseSuccess>;
2482
+ getUsername(): Promise<UsernameResponse>;
2483
+ updateUsername(params: UpdateUsernameRequest): Promise<ResponseSuccess>;
2484
+ deleteUsername(): Promise<ResponseSuccess>;
2485
+ getUsernameSuggestions(): Promise<UsernameSuggestionsResponse>;
2418
2486
  }
2419
2487
  //#endregion
2420
2488
  //#region src/api/profile/types/upload.d.ts
@@ -3568,8 +3636,12 @@ interface BusinessStatusUpdateWebhookValue {
3568
3636
  * - "call_status" — Business-initiated call started ringing or was accepted (business-initiated only)
3569
3637
  * - "media_update" — Consumer-side media event; apply the new SDP to your peer connection (business-initiated only)
3570
3638
  * - "terminate" — Call ended for any reason
3639
+ * - "call_created" — A call was created on a SIP-enabled number; SIP call webhooks do not include
3640
+ * the `session` object since call signaling is handled via SIP rather than WebRTC
3641
+ * - "call_recording_available" — A call recording is ready for download (7-day retention)
3642
+ * - "call_transcription_available" — A call transcript is ready for download (7-day retention)
3571
3643
  */
3572
- type CallEventType = 'connect' | 'call_status' | 'media_update' | 'terminate';
3644
+ type CallEventType = 'connect' | 'call_status' | 'media_update' | 'terminate' | 'call_created' | 'call_recording_available' | 'call_transcription_available';
3573
3645
  /**
3574
3646
  * Direction of the call.
3575
3647
  *
@@ -3606,6 +3678,31 @@ interface CallSession$1 {
3606
3678
  /** Contains the SDP offer from Meta; generate an answer and apply to your peer connection */
3607
3679
  sdp_renegotiation: CallSdpRenegotiation;
3608
3680
  }
3681
+ /**
3682
+ * Call recording media payload (call_recording_available event).
3683
+ * Download the audio via the Media API or the short-lived URL (valid ~5 minutes).
3684
+ */
3685
+ interface CallRecordingMedia {
3686
+ type: 'audio';
3687
+ audio: {
3688
+ /** Media asset ID for retrieval via the Media API */id: string; /** Base64-encoded SHA-256 hash for integrity verification */
3689
+ sha256: string; /** e.g. "audio/ogg; codecs=opus" */
3690
+ mime_type: string; /** Short-lived download URL (valid ~5 minutes) */
3691
+ url: string;
3692
+ };
3693
+ }
3694
+ /**
3695
+ * Call transcript document payload (call_transcription_available event).
3696
+ * The document is a JSON transcript; download via the Media API or the short-lived URL.
3697
+ */
3698
+ interface CallTranscriptDocument {
3699
+ document: {
3700
+ /** Media asset ID for retrieval via the Media API */id: string; /** Base64-encoded SHA-256 hash for integrity verification */
3701
+ sha256: string; /** Always "application/json" */
3702
+ mime_type: string; /** Short-lived download URL (valid ~5 minutes) */
3703
+ url: string;
3704
+ };
3705
+ }
3609
3706
  interface CallEntry {
3610
3707
  /** Unique ID for the call — use in accept / reject / terminate API calls */
3611
3708
  id: string;
@@ -3616,12 +3713,18 @@ interface CallEntry {
3616
3713
  event: CallEventType;
3617
3714
  /** Unix timestamp */
3618
3715
  timestamp: number;
3619
- /** Callee of the call (Page ID) — present on connect */
3716
+ /** Callee of the call (Page ID) — present on connect / call_created */
3620
3717
  to?: string;
3621
- /** Caller of the call (PSID) — present on connect */
3718
+ /** Caller of the call (PSID) — present on connect / call_created */
3622
3719
  from?: string;
3623
3720
  /** Whether the call was business- or user-initiated — present on connect */
3624
3721
  call_direction?: CallDirection;
3722
+ /** Whether the call was business- or user-initiated — present on call_created (SIP) */
3723
+ direction?: CallDirection;
3724
+ /** Business-scoped user ID of the caller, when Meta includes it */
3725
+ from_user_id?: string;
3726
+ /** Parent business-scoped user ID of the caller, when Meta includes it */
3727
+ from_parent_user_id?: string;
3625
3728
  /** PSID of the consumer — present on call_status */
3626
3729
  recipient_id?: string;
3627
3730
  /** Ringing or accepted — present on call_status */
@@ -3640,6 +3743,10 @@ interface CallEntry {
3640
3743
  * Present on terminate.
3641
3744
  */
3642
3745
  duration?: number;
3746
+ /** Recorded call audio — present on call_recording_available */
3747
+ call_recording?: CallRecordingMedia;
3748
+ /** Call transcript document — present on call_transcription_available */
3749
+ call_transcript?: CallTranscriptDocument;
3643
3750
  }
3644
3751
  interface CallContact {
3645
3752
  profile: {
@@ -4073,6 +4180,43 @@ interface SystemMessage extends BaseMessage {
4073
4180
  type: 'user_changed_number';
4074
4181
  };
4075
4182
  }
4183
+ /**
4184
+ * Message edit webhook — only available for WhatsApp Business app users (Coexistence).
4185
+ * Business-side edits made in the WhatsApp Business app are identified by
4186
+ * business-scoped user IDs when present.
4187
+ */
4188
+ interface EditMessage extends BaseMessage {
4189
+ type: MessageTypesEnum.Edit;
4190
+ /** Business-scoped user ID of the sender, when the edit originated business-side */
4191
+ from_user_id?: string;
4192
+ /** Parent business-scoped user ID of the sender, when the edit originated business-side */
4193
+ from_parent_user_id?: string;
4194
+ edit: {
4195
+ original_message_id: string; /** The edited message content (text, media with caption, etc.) */
4196
+ message: {
4197
+ context?: {
4198
+ id: string;
4199
+ };
4200
+ type: MessageTypesEnum | string;
4201
+ [key: string]: unknown;
4202
+ };
4203
+ };
4204
+ }
4205
+ /**
4206
+ * Message revoke (delete) webhook — only available for WhatsApp Business app users (Coexistence).
4207
+ * Business-side revokes made in the WhatsApp Business app are identified by
4208
+ * business-scoped user IDs when present.
4209
+ */
4210
+ interface RevokeMessage extends BaseMessage {
4211
+ type: MessageTypesEnum.Revoke;
4212
+ /** Business-scoped user ID of the sender, when the revoke originated business-side */
4213
+ from_user_id?: string;
4214
+ /** Parent business-scoped user ID of the sender, when the revoke originated business-side */
4215
+ from_parent_user_id?: string;
4216
+ revoke: {
4217
+ original_message_id: string;
4218
+ };
4219
+ }
4076
4220
  interface UnsupportedMessage extends BaseMessage {
4077
4221
  type: MessageTypesEnum.Unsupported;
4078
4222
  errors: Array<WebhookError>;
@@ -4080,7 +4224,7 @@ interface UnsupportedMessage extends BaseMessage {
4080
4224
  type GroupMessage = {
4081
4225
  group_id: string;
4082
4226
  } & (TextMessage | ImageMessage | VideoMessage | AudioMessage | DocumentMessage | LocationMessage | ContactsMessage);
4083
- type WhatsAppMessage = TextMessage | ImageMessage | VideoMessage | AudioMessage | DocumentMessage | StickerMessage | InteractiveMessage | ButtonMessage | LocationMessage | ContactsMessage | ReactionMessage | OrderMessage | SystemMessage | UnsupportedMessage | GroupMessage;
4227
+ type WhatsAppMessage = TextMessage | ImageMessage | VideoMessage | AudioMessage | DocumentMessage | StickerMessage | InteractiveMessage | ButtonMessage | LocationMessage | ContactsMessage | ReactionMessage | OrderMessage | SystemMessage | EditMessage | RevokeMessage | UnsupportedMessage | GroupMessage;
4084
4228
  //#endregion
4085
4229
  //#region src/core/webhook/types/history.d.ts
4086
4230
  /**
@@ -4774,7 +4918,7 @@ type MetaErrorData = {
4774
4918
  interface MetaError extends Error {
4775
4919
  error: MetaErrorData;
4776
4920
  }
4777
- declare const WHATSAPP_ERROR_CODES: readonly [0, 1, 2, 3, 4, 10, 33, 100, 190, 200, 299, 368, 613, 80007, 130429, 130472, 130497, 131000, 131005, 131008, 131009, 131016, 131020, 131021, 131026, 131030, 131031, 131037, 131041, 131042, 131044, 131045, 131047, 131048, 131049, 131050, 131051, 131052, 131053, 131055, 131056, 131057, 131059, 131201, 131202, 131203, 131204, 131207, 131208, 131209, 131210, 131211, 131212, 131213, 131214, 131215, 132000, 132001, 132005, 132007, 132008, 132012, 132015, 132016, 132068, 132069, 133000, 133004, 133005, 133006, 133008, 133009, 133010, 133015, 133016, 134011, 134100, 134101, 134102, 135000, 137000, 138000, 138001, 138002, 138003, 138004, 138005, 138006, 138007, 138009, 138012, 138013, 138018, 139000, 139001, 139002, 139003, 139004, 139100, 139101, 139102, 139103, 200005, 200006, 200007, 1752041, 2388001, 2388012, 2388019, 2388040, 2388047, 2388072, 2388073, 2388091, 2388093, 2388103, 2388293, 2388299, 2494100, 2593079, 2593085, 2593107, 2593108];
4921
+ declare const WHATSAPP_ERROR_CODES: readonly [0, 1, 2, 3, 4, 10, 33, 100, 190, 200, 299, 368, 613, 80007, 130429, 130472, 130497, 131000, 131005, 131008, 131009, 131016, 131020, 131021, 131026, 131030, 131031, 131037, 131041, 131042, 131044, 131045, 131047, 131048, 131049, 131050, 131051, 131052, 131053, 131055, 131056, 131057, 131059, 131201, 131202, 131203, 131204, 131207, 131208, 131209, 131210, 131211, 131212, 131213, 131214, 131215, 132000, 132001, 132005, 132007, 132008, 132012, 132015, 132016, 132068, 132069, 133000, 133004, 133005, 133006, 133008, 133009, 133010, 133015, 133016, 134011, 134100, 134101, 134102, 135000, 137000, 138000, 138001, 138002, 138003, 138004, 138005, 138006, 138007, 138009, 138012, 138013, 138018, 139000, 139001, 139002, 139003, 139004, 139100, 139101, 139102, 139103, 147005, 200005, 200006, 200007, 1752041, 2388001, 2388012, 2388019, 2388040, 2388047, 2388072, 2388073, 2388091, 2388093, 2388103, 2388293, 2388299, 2494100, 2593079, 2593085, 2593107, 2593108];
4778
4922
  type ApiPermissionErrorCode = number;
4779
4923
  type WhatsAppErrorCode = (typeof WHATSAPP_ERROR_CODES)[number] | ApiPermissionErrorCode;
4780
4924
  declare const AUTHORIZATION_ERROR_CODES: readonly [0, 3, 10, 190];
@@ -7225,6 +7369,50 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
7225
7369
  updateOfficialBusinessAccountStatus(params: UpdateOfficialBusinessAccountStatusRequest): Promise<ResponseSuccess>;
7226
7370
  getBusinessComplianceInfo(): Promise<BusinessComplianceInfoResponse>;
7227
7371
  updateBusinessComplianceInfo(params: UpdateBusinessComplianceInfoRequest): Promise<ResponseSuccess>;
7372
+ /**
7373
+ * Get the username currently associated with the business phone number.
7374
+ *
7375
+ * @returns A promise that resolves with the username and its status
7376
+ * (`'approved'` or `'reserved'`).
7377
+ *
7378
+ * @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/usernames/ | Usernames}
7379
+ */
7380
+ getUsername(): Promise<UsernameResponse>;
7381
+ /**
7382
+ * Adopt or change the username for the business phone number.
7383
+ *
7384
+ * If the desired username is already in use by another phone number in your
7385
+ * portfolio, the API responds with error code `147005`; retry with
7386
+ * `transfer_action: 'force_transfer'` to move the username to this number.
7387
+ *
7388
+ * @param params - The username request.
7389
+ * @param params.username - The desired username.
7390
+ * @param params.transfer_action - Optional. `'none'` (default) or `'force_transfer'`.
7391
+ * @returns A promise that resolves with a success indicator.
7392
+ *
7393
+ * @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/usernames/ | Usernames}
7394
+ *
7395
+ * @example
7396
+ * ```ts
7397
+ * await whatsappClient.phoneNumbers.updateUsername({
7398
+ * username: 'jaspersmarket',
7399
+ * transfer_action: 'force_transfer',
7400
+ * });
7401
+ * ```
7402
+ */
7403
+ updateUsername(params: UpdateUsernameRequest): Promise<ResponseSuccess>;
7404
+ /**
7405
+ * Delete the username associated with the business phone number.
7406
+ *
7407
+ * @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/usernames/ | Usernames}
7408
+ */
7409
+ deleteUsername(): Promise<ResponseSuccess>;
7410
+ /**
7411
+ * Get username suggestions for the business phone number.
7412
+ *
7413
+ * @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/usernames/ | Usernames}
7414
+ */
7415
+ getUsernameSuggestions(): Promise<UsernameSuggestionsResponse>;
7228
7416
  }
7229
7417
  //#endregion
7230
7418
  //#region src/api/profile/BusinessProfileApi.d.ts
@@ -8977,5 +9165,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
8977
9165
  */
8978
9166
  declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
8979
9167
  //#endregion
8980
- export { AUTHORIZATION_ERROR_CODES, AcceptCallRequest, AcceptSolutionRequest, AccountMode, AddPhoneNumbersRequest, ApiPermissionErrorCode, AssignedUserRequest, AssignedUsersListParams, AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, AudioMessage, AudioMessageHandler, AudioProcessedMessage, AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, BaseApiRequest, BaseApiResponse, BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, BodyOptions, BusinessApi, BusinessClass, BusinessComplianceInfoResponse, BusinessFieldsParam, BusinessGraphListResponse, BusinessGraphObject, BusinessListParams, BusinessProfileApi, BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, BusinessVerticalEnum, ButtonMessage, ButtonMessageHandler, ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, ButtonProcessedMessage, CALLING_ERROR_CODES, CallAction, CallActionResponse, CallHours, CallHoursDay, CallHoursStatus, CallIconVisibility, CallPermission, CallPermissionAction, CallPermissionLimit, CallPermissionsResponse, CallSdpType, CallSession, CallbackPermissionStatus, CallingApi, CallingClass, CallingSettings, CallingSettingsResponse, CallingStatus, CarouselCard, CarouselOptions, CatalogButton, CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, CommerceClass, CommerceSetting, CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactInfo, ContactObject, ContactsMessage, ContactsMessageHandler, ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, ConversationalAutomationRequest, ConversationalAutomationResponse, ConversationalCommand, ConversationalPrompt, CopyCodeButton, CouponTemplateOptions, CreateFlowResponse, CreateOBOMobilityIntentRequest, CreatePhoneNumberRequest, CreatePhoneNumberResponse, CreateQrCodeRequest, CreateScheduleRequest, CreateUploadSessionParams, CreateWhatsAppBusinessSolutionRequest, CurrencyCodesEnum, CurrencyParameter, CursorPaginationParams, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, DateTimeParameter, DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, DocumentMessage, DocumentMessageHandler, DocumentProcessedMessage, EncryptedMessageRequest, EncryptedMessagesResponse, EncryptionApi, EncryptionClass, EncryptionKeyPair, EncryptionPublicKeyResponse, ErrorWebhookValue, ExpressRequest, ExpressResponse, ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, Flow, FlowActionEnum, FlowApi, FlowAsset, FlowAssetsResponse, FlowButton, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHandler, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, FooterOptions, GROUP_ERROR_CODES, GeneralHeaderInterface, GeneralMessageBody, GeneralRequestBody, GetUploadHandleParams, GraphObject, GroupCreateRequest, GroupCreateResponse, GroupInfoField, GroupInfoFieldsParam, GroupInfoResponse, GroupInviteLinkResponse, GroupJoinApprovalMode, GroupJoinRequest, GroupJoinRequestError, GroupJoinRequestFailure, GroupJoinRequestsActionResponse, GroupJoinRequestsResponse, GroupListParams, GroupListResponse, GroupMessage, GroupParticipant, GroupParticipantInput, GroupParticipantsRequest, GroupSettingsResponse, GroupsApi, GroupsClass, HeaderOptions, HealthStatus, HealthStatusEntity, HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, HttpsClientClass, HttpsClientResponseClass, INTEGRITY_ERROR_CODES, ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, ImageMessage, ImageMessageHandler, ImageProcessedMessage, InitiateCallRequest, InitiateCallResponse, InteractiveButtonReplyMessage, InteractiveListReplyMessage, InteractiveMessage, InteractiveMessageHandler, InteractiveObject, InteractiveProcessedMessage, InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, LocationInfo, LocationMessage, LocationMessageHandler, LocationObject, LocationParameter, LocationProcessedMessage, Logger, LoggerInterface, MPMButton, MPMTemplateOptions, MarketingMessageRequest, MarketingMessagesApi, MarketingMessagesClass, MediaApi, MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, MediaInfo, MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageHandler, MessageHistoryApi, MessageHistoryClass, MessageHistoryEventListParams, MessageHistoryFieldsParam, MessageHistoryItem, MessageHistoryListParams, MessageHistoryResponse, MessageRecipientType, MessageRequestBody, MessageRequestParams, MessageStatus, MessageTemplateObject, MessageTemplateRequestBody, MessageTypes, MessageTypesEnum, MessageTypesType, MessageWebhookValue, MessagesClass, MessagesResponse, MessagingLimitTier, MetaError, MetaErrorData, MetaErrorDetail, NextFunction, NextJsAppWebhookConfig, NextJsWebhookConfig, OTPButton, OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, OrderInfo, OrderMessage, OrderMessageHandler, OrderProcessedMessage, Pagination, PaginationCursors, Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PaymentConfiguration, PaymentConfigurationCode, PaymentConfigurationCreateRequest, PaymentConfigurationCreateResponse, PaymentConfigurationDeleteRequest, PaymentConfigurationOauthLinkRequest, PaymentConfigurationOauthLinkResponse, PaymentConfigurationProvider, PaymentConfigurationStatus, PaymentConfigurationUpdateRequest, PaymentConfigurationUpdateResponse, PaymentConfigurationsResponse, PaymentsApi, PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, PreAcceptCallRequest, ProcessedMessage, ProcessedStatus, ProductCardCarouselTemplateOptions, ProductCarouselCard, ProductParameter, ProductSection, QrCodeApi, QrCodeClass, QrCodeResponse, QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, ReactionInfo, ReactionMessage, ReactionMessageHandler, ReactionParams, ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, RegistrationClass, RegistrationRequest, RejectCallRequest, RejectSolutionRequest, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, RequesterClass, RequesterResponseInterface, ResponseData, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody, ResponsePagination, ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, SPMTemplateOptions, SetOBOMobilityIntentRequest, SetSolutionMigrationIntentRequest, SharePreVerifiedPhoneNumberRequest, SipServer, SipSettings, SipStatus, SolutionDeactivationRequest, SolutionFieldsParam, SolutionGraphObject, SolutionListParams, SolutionListResponse, SolutionMigrationIntent, SolutionsApi, SolutionsClass, Status, StatusEnum, StatusHandler, StatusParams, StatusResponse, StatusType, StatusWebhook, StatusWebhookValue, StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, StickerMessage, StickerMessageHandler, StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, SystemMessage, SystemMessageHandler, SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptions, TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, TerminateCallRequest, TextMessage, TextMessageHandler, TextMessageParams, TextObject, TextParameter, TextProcessedMessage, Throughput, ThroughputLevel, ThroughputResponse, TwoStepVerificationApi, TwoStepVerificationClass, TwoStepVerificationParams, TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, UnsupportedMessage, UpdateBusinessComplianceInfoRequest, UpdateBusinessProfileRequest, UpdateCallingSettingsRequest, UpdateCommerceSettingsRequest, UpdateFlowResponse, UpdateGroupSettingsRequest, UpdateOfficialBusinessAccountStatusRequest, UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberStatusRequest, UpdateQrCodeRequest, UpdateWabaAccountRequest, UpdateWabaSubscription, UpdateWhatsAppBusinessProfileRequest, UploadBusinessProfileResponse, UploadHandle, UploadMediaParams, UploadMediaResponse, UploadSession, UploadSessionResponse, ValidateFlowJsonResponse, VerifyCodeRequest, VerifyPreVerifiedPhoneNumberCodeRequest, VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, VideoMessage, VideoMessageHandler, VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, WabaConfigType, WabaFieldsParam, WabaGraphObject, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaListParams, WabaListResponse, WabaSubscription, WabaSubscriptions, WebhookContact, WebhookEvent, WebhookHandlerContext, WebhookMessage, WebhookPayload, WebhookProcessor, WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, WebhookValue, WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, WhatsAppConfig, WhatsAppError, WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
9168
+ export { AUTHORIZATION_ERROR_CODES, type AcceptCallRequest, AcceptSolutionRequest, AccountMode, AddPhoneNumbersRequest, type ApiPermissionErrorCode, AssignedUserRequest, AssignedUsersListParams, type AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, type AudioMessage, type AudioMessageHandler, type AudioProcessedMessage, type AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, type BaseApiRequest, type BaseApiResponse, type BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, type BodyOptions, BusinessApi, BusinessClass, BusinessComplianceInfoResponse, BusinessFieldsParam, BusinessGraphListResponse, BusinessGraphObject, BusinessListParams, BusinessProfileApi, type BusinessProfileClass, type BusinessProfileData, type BusinessProfileField, type BusinessProfileFieldsParam, type BusinessProfileResponse, BusinessVerticalEnum, type ButtonMessage, type ButtonMessageHandler, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type ButtonProcessedMessage, CALLING_ERROR_CODES, type CallAction, type CallActionResponse, type CallAnnouncementLanguage, type CallCaptureStatus, type CallHours, type CallHoursDay, type CallHoursStatus, type CallIconVisibility, type CallPermission, type CallPermissionAction, type CallPermissionLimit, type CallPermissionsResponse, type CallRecordingConfig, type CallSdpType, type CallSession, type CallTranscriptionConfig, type CallbackPermissionStatus, CallingApi, type CallingClass, type CallingSettings, type CallingSettingsResponse, type CallingStatus, CarouselCard, type CarouselOptions, CatalogButton, type CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, type CommerceClass, type CommerceSetting, type CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, type ContactInfo, type ContactObject, type ContactsMessage, type ContactsMessageHandler, type ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, ConversationalAutomationRequest, ConversationalAutomationResponse, ConversationalCommand, ConversationalPrompt, CopyCodeButton, type CouponTemplateOptions, type CreateFlowResponse, CreateOBOMobilityIntentRequest, CreatePhoneNumberRequest, CreatePhoneNumberResponse, type CreateQrCodeRequest, CreateScheduleRequest, type CreateUploadSessionParams, CreateWhatsAppBusinessSolutionRequest, CurrencyCodesEnum, type CurrencyParameter, CursorPaginationParams, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, type DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, type DocumentMessage, type DocumentMessageHandler, type DocumentProcessedMessage, type EncryptedMessageRequest, type EncryptedMessagesResponse, EncryptionApi, type EncryptionClass, type EncryptionKeyPair, type EncryptionPublicKeyResponse, type ErrorWebhookValue, type ExpressRequest, type ExpressResponse, type ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, type Flow, FlowActionEnum, FlowApi, type FlowAsset, type FlowAssetsResponse, FlowButton, FlowCategoryEnum, type FlowClass, type FlowDataExchangeRequest, type FlowDataExchangeResponse, type FlowDecryptedRequestResponse, type FlowEncryptedRequestPayload, type FlowEndpointRequest, type FlowEndpointResponse, type FlowErrorNotificationRequest, type FlowErrorNotificationResponse, type FlowHandler, type FlowHealthCheckRequest, type FlowHealthCheckResponse, type FlowHttpRequest, type FlowMigrationFailure, type FlowMigrationResponse, type FlowMigrationResult, type FlowPreview, type FlowPreviewResponse, FlowStatusEnum, type FlowSuccessScreenResponse, type FlowType, FlowTypeEnum, type FlowValidationError, type FlowValidationErrorPointer, type FlowsListResponse, type FooterOptions, GROUP_ERROR_CODES, type GeneralHeaderInterface, type GeneralMessageBody, type GeneralRequestBody, type GetUploadHandleParams, GraphObject, type GroupCreateRequest, type GroupCreateResponse, type GroupInfoField, type GroupInfoFieldsParam, type GroupInfoResponse, type GroupInviteLinkResponse, type GroupJoinApprovalMode, type GroupJoinRequest, type GroupJoinRequestError, type GroupJoinRequestFailure, type GroupJoinRequestsActionResponse, type GroupJoinRequestsResponse, type GroupListParams, type GroupListResponse, type GroupMessage, type GroupParticipant, type GroupParticipantInput, type GroupParticipantsRequest, type GroupSettingsResponse, GroupsApi, type GroupsClass, type HeaderOptions, HealthStatus, HealthStatusEntity, type HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, type HttpsClientClass, type HttpsClientResponseClass, INTEGRITY_ERROR_CODES, type ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, type ImageMessage, type ImageMessageHandler, type ImageProcessedMessage, type InitiateCallRequest, type InitiateCallResponse, type InteractiveButtonReplyMessage, type InteractiveListReplyMessage, type InteractiveMessage, type InteractiveMessageHandler, type InteractiveObject, type InteractiveProcessedMessage, type InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, type LimitedTimeOfferOptions, type LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, type LocationInfo, type LocationMessage, type LocationMessageHandler, type LocationObject, type LocationParameter, type LocationProcessedMessage, Logger, type LoggerInterface, MPMButton, type MPMTemplateOptions, type MarketingMessageRequest, MarketingMessagesApi, type MarketingMessagesClass, MediaApi, type MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, type MediaInfo, type MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, type MessageHandler, MessageHistoryApi, MessageHistoryClass, MessageHistoryEventListParams, MessageHistoryFieldsParam, MessageHistoryItem, MessageHistoryListParams, MessageHistoryResponse, type MessageRecipientType, type MessageRequestBody, type MessageRequestParams, type MessageStatus, MessageTemplateObject, MessageTemplateRequestBody, MessageTypes, MessageTypesEnum, MessageTypesType, type MessageWebhookValue, type MessagesClass, type MessagesResponse, MessagingLimitTier, type MetaError, type MetaErrorData, type MetaErrorDetail, type NextFunction, type NextJsAppWebhookConfig, type NextJsWebhookConfig, OTPButton, type OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, type OrderInfo, type OrderMessage, type OrderMessageHandler, type OrderProcessedMessage, type Pagination, type PaginationCursors, type Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, type PaymentConfiguration, type PaymentConfigurationCode, type PaymentConfigurationCreateRequest, type PaymentConfigurationCreateResponse, type PaymentConfigurationDeleteRequest, type PaymentConfigurationOauthLinkRequest, type PaymentConfigurationOauthLinkResponse, type PaymentConfigurationProvider, type PaymentConfigurationStatus, type PaymentConfigurationUpdateRequest, type PaymentConfigurationUpdateResponse, type PaymentConfigurationsResponse, PaymentsApi, type PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, type PreAcceptCallRequest, type ProcessedMessage, type ProcessedStatus, type ProductCardCarouselTemplateOptions, ProductCarouselCard, type ProductParameter, type ProductSection, QrCodeApi, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, type ReactionInfo, type ReactionMessage, type ReactionMessageHandler, type ReactionParams, type ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RejectSolutionRequest, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, type SPMTemplateOptions, SetOBOMobilityIntentRequest, SetSolutionMigrationIntentRequest, SharePreVerifiedPhoneNumberRequest, type SipServer, type SipSettings, type SipStatus, SolutionDeactivationRequest, SolutionFieldsParam, SolutionGraphObject, SolutionListParams, SolutionListResponse, SolutionMigrationIntent, SolutionsApi, SolutionsClass, Status, StatusEnum, type StatusHandler, type StatusParams, type StatusResponse, StatusType, type StatusWebhook, type StatusWebhookValue, type StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, type StickerMessage, type StickerMessageHandler, type StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, type SystemMessage, type SystemMessageHandler, type SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, type TemplateOptions, type TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageHandler, type TextMessageParams, type TextObject, type TextParameter, type TextProcessedMessage, Throughput, ThroughputLevel, ThroughputResponse, TwoStepVerificationApi, type TwoStepVerificationClass, TwoStepVerificationParams, type TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, type UnsupportedMessage, UpdateBusinessComplianceInfoRequest, type UpdateBusinessProfileRequest, type UpdateCallingSettingsRequest, type UpdateCommerceSettingsRequest, type UpdateFlowResponse, type UpdateGroupSettingsRequest, UpdateOfficialBusinessAccountStatusRequest, UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberStatusRequest, type UpdateQrCodeRequest, UpdateUsernameRequest, UpdateWabaAccountRequest, UpdateWabaSubscription, UpdateWhatsAppBusinessProfileRequest, type UploadBusinessProfileResponse, type UploadHandle, type UploadMediaParams, UploadMediaResponse, type UploadSession, type UploadSessionResponse, UsernameResponse, UsernameStatus, UsernameSuggestionsResponse, UsernameTransferAction, type ValidateFlowJsonResponse, VerifyCodeRequest, VerifyPreVerifiedPhoneNumberCodeRequest, type VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, type VideoMessage, type VideoMessageHandler, type VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, type WabaConfigType, WabaFieldsParam, WabaGraphObject, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaListParams, WabaListResponse, WabaSubscription, WabaSubscriptions, type WebhookContact, type WebhookEvent, type WebhookHandlerContext, type WebhookMessage, type WebhookPayload, WebhookProcessor, type WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, type WhatsAppConfig, WhatsAppError, type WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, type WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
8981
9169
  //# sourceMappingURL=index.d.mts.map