meta-cloud-api 3.11.2 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -229,7 +229,9 @@ declare enum StickerMediaTypesEnum {
229
229
  }
230
230
  declare enum ImageMediaTypesEnum {
231
231
  Jpeg = "image/jpeg",
232
- Png = "image/png"
232
+ Png = "image/png",
233
+ /** Static WebP only; transcoded to JPEG. Animated WebP is rejected. */
234
+ Webp = "image/webp"
233
235
  }
234
236
  declare enum DocumentMediaTypesEnum {
235
237
  Text = "text/plain",
@@ -836,6 +838,37 @@ interface RateLimitInfoContext {
836
838
  }
837
839
  /** Callback receiving rate limit information parsed from every response that carries it. */
838
840
  type RateLimitInfoListener = (info: RateLimitInfo, context: RateLimitInfoContext) => void | Promise<void>;
841
+ /** Details of an outgoing request passed to {@link WhatsAppConfig.onRequest}. */
842
+ interface RequestHookContext {
843
+ /** HTTP method of the request. */
844
+ method: string;
845
+ /** Absolute URL the request is sent to. */
846
+ url: string;
847
+ /** Request headers. `Authorization` is redacted to `Bearer ***`. */
848
+ headers: Record<string, string>;
849
+ /** Request body as handed to `fetch`: a JSON string, a `FormData`, a URL-encoded string, or undefined. */
850
+ body: BodyInit | undefined;
851
+ /** 1-based attempt number; above 1 only when a throttled request is retried. */
852
+ attempt: number;
853
+ }
854
+ /** Details of a received response passed to {@link WhatsAppConfig.onResponse}. */
855
+ interface ResponseHookContext extends RequestHookContext {
856
+ /** HTTP status code of the response. */
857
+ statusCode: number;
858
+ /** Response headers, lower-cased names. */
859
+ responseHeaders: Record<string, string | string[] | undefined>;
860
+ /** Milliseconds between sending the request and receiving the response headers. */
861
+ durationMs: number;
862
+ }
863
+ /** Called before every request is sent. */
864
+ type RequestHook = (context: RequestHookContext) => void | Promise<void>;
865
+ /** Called after every response is received, whatever its status code. */
866
+ type ResponseHook = (context: ResponseHookContext) => void | Promise<void>;
867
+ /** Request lifecycle hooks handed to the requester. */
868
+ interface RequestHooks {
869
+ onRequest?: RequestHook;
870
+ onResponse?: ResponseHook;
871
+ }
839
872
  /**
840
873
  * Storage used to drop duplicate webhook deliveries. Meta retries deliveries,
841
874
  * so the same message or status can arrive more than once.
@@ -895,6 +928,36 @@ type WhatsAppConfig = {
895
928
  * callback are ignored. See also `whatsapp.getLastRateLimitInfo()`.
896
929
  */
897
930
  onRateLimitInfo?: RateLimitInfoListener;
931
+ /**
932
+ * Called before every request is sent, with its method, URL, headers (`Authorization`
933
+ * redacted), body and attempt number. Awaited, so keep it fast. Errors it throws are
934
+ * logged and ignored. Useful for request logging, tracing spans and debugging.
935
+ */
936
+ onRequest?: RequestHook;
937
+ /**
938
+ * Called after every response is received, including error statuses, with the request
939
+ * details plus `statusCode`, `responseHeaders` and `durationMs`. Awaited; errors it throws
940
+ * are logged and ignored. Not called when the request fails before a response arrives
941
+ * (timeout, DNS, proxy refusal); those surface as `WhatsAppNetworkError`.
942
+ */
943
+ onResponse?: ResponseHook;
944
+ /**
945
+ * The `fetch` implementation used for every Graph API request. Defaults to the global
946
+ * `fetch`, resolved at call time. Pass your own to route requests through a proxy
947
+ * (for example `undici`'s `ProxyAgent`), to add tracing, or to answer requests in tests.
948
+ *
949
+ * @example
950
+ * ```typescript
951
+ * import { ProxyAgent } from 'undici';
952
+ *
953
+ * const dispatcher = new ProxyAgent('http://proxy.internal:8080');
954
+ * const wa = new WhatsApp({
955
+ * accessToken: '...',
956
+ * fetch: (input, init) => fetch(input, { ...init, dispatcher }),
957
+ * });
958
+ * ```
959
+ */
960
+ fetch?: typeof fetch;
898
961
  /**
899
962
  * Reject webhook POSTs whose `X-Hub-Signature-256` header is not a valid
900
963
  * HMAC-SHA256 of the raw body keyed with `appSecret`. Requires `appSecret`.
@@ -986,6 +1049,18 @@ type WabaConfigType = {
986
1049
  * Rate limit header listener. Passed through from WhatsAppConfig.
987
1050
  */
988
1051
  onRateLimitInfo?: RateLimitInfoListener;
1052
+ /**
1053
+ * Custom fetch implementation. Passed through from WhatsAppConfig.
1054
+ */
1055
+ fetch?: typeof fetch;
1056
+ /**
1057
+ * Request lifecycle hook. Passed through from WhatsAppConfig.
1058
+ */
1059
+ onRequest?: RequestHook;
1060
+ /**
1061
+ * Response lifecycle hook. Passed through from WhatsAppConfig.
1062
+ */
1063
+ onResponse?: ResponseHook;
989
1064
  };
990
1065
  //#endregion
991
1066
  //#region src/types/request.d.ts
@@ -1452,28 +1527,37 @@ type CallTranscriptionConfig = {
1452
1527
  purpose?: string; /** Locale of the pre-transcription announcement — required when status is ENABLED */
1453
1528
  announcement_language?: CallAnnouncementLanguage;
1454
1529
  };
1455
- type InitiateCallRequest = {
1530
+ /**
1531
+ * ID of the Messaging account handling the call. Include it when the access
1532
+ * token has messaging access to more than one Messaging account on the business
1533
+ * phone number, and send the same value on every request for a call.
1534
+ * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/account-model-evolution/messaging#calling-api
1535
+ */
1536
+ type MessagingAccountIdParam = {
1537
+ messaging_account_id?: string;
1538
+ };
1539
+ type InitiateCallRequest = MessagingAccountIdParam & {
1456
1540
  to: string;
1457
1541
  session: CallSession;
1458
1542
  biz_opaque_callback_data?: string;
1459
1543
  recording?: CallRecordingConfig;
1460
1544
  transcription?: CallTranscriptionConfig;
1461
1545
  };
1462
- type PreAcceptCallRequest = {
1546
+ type PreAcceptCallRequest = MessagingAccountIdParam & {
1463
1547
  call_id: string;
1464
1548
  session?: CallSession;
1465
1549
  };
1466
- type AcceptCallRequest = {
1550
+ type AcceptCallRequest = MessagingAccountIdParam & {
1467
1551
  call_id: string;
1468
1552
  session?: CallSession;
1469
1553
  biz_opaque_callback_data?: string;
1470
1554
  recording?: CallRecordingConfig;
1471
1555
  transcription?: CallTranscriptionConfig;
1472
1556
  };
1473
- type RejectCallRequest = {
1557
+ type RejectCallRequest = MessagingAccountIdParam & {
1474
1558
  call_id: string;
1475
1559
  };
1476
- type TerminateCallRequest = {
1560
+ type TerminateCallRequest = MessagingAccountIdParam & {
1477
1561
  call_id: string;
1478
1562
  };
1479
1563
  type InitiateCallResponse = {
@@ -1558,6 +1642,7 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1558
1642
  * @param params - The call initiation parameters.
1559
1643
  * @param params.to - The recipient's WhatsApp phone number.
1560
1644
  * @param params.session - The call session configuration.
1645
+ * @param params.messaging_account_id - Optional Messaging account placing the call (required when the token reaches more than one).
1561
1646
  * @param params.biz_opaque_callback_data - Optional opaque data passed back in webhooks.
1562
1647
  * @param params.recording - Optional per-call recording configuration.
1563
1648
  * @param params.transcription - Optional per-call transcription configuration.
@@ -1570,6 +1655,7 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1570
1655
  *
1571
1656
  * @param params - The pre-accept request parameters.
1572
1657
  * @param params.call_id - The ID of the call to pre-accept.
1658
+ * @param params.messaging_account_id - Optional Messaging account handling the call; send the same value on every request for the call.
1573
1659
  * @param params.session - Optional session configuration for the call.
1574
1660
  * @returns The call action response confirming the pre-accept.
1575
1661
  * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
@@ -1580,6 +1666,7 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1580
1666
  *
1581
1667
  * @param params - The accept request parameters.
1582
1668
  * @param params.call_id - The ID of the call to accept.
1669
+ * @param params.messaging_account_id - Optional Messaging account handling the call; send the same value on every request for the call.
1583
1670
  * @param params.session - Optional session configuration for the call.
1584
1671
  * @param params.biz_opaque_callback_data - Optional opaque data passed back in webhooks.
1585
1672
  * @param params.recording - Optional per-call recording configuration.
@@ -1593,6 +1680,7 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1593
1680
  *
1594
1681
  * @param params - The reject request parameters.
1595
1682
  * @param params.call_id - The ID of the call to reject.
1683
+ * @param params.messaging_account_id - Optional Messaging account handling the call; send the same value on every request for the call.
1596
1684
  * @returns The call action response confirming rejection.
1597
1685
  * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
1598
1686
  */
@@ -1602,6 +1690,7 @@ declare class CallingApi extends BaseAPI implements CallingClass {
1602
1690
  *
1603
1691
  * @param params - The terminate request parameters.
1604
1692
  * @param params.call_id - The ID of the call to terminate.
1693
+ * @param params.messaging_account_id - Optional Messaging account handling the call; send the same value on every request for the call.
1605
1694
  * @returns The call action response confirming termination.
1606
1695
  * @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
1607
1696
  */
@@ -2184,21 +2273,59 @@ type ReplyButtonObject = {
2184
2273
  reply: ButtonObject;
2185
2274
  };
2186
2275
  /**
2187
- * One-time password (OTP) copy code button for a Direct Send authentication
2188
- * message (`category: 'authentication'`, `interactive.type: 'button'`). The
2189
- * message must carry exactly one button, and `code` must also appear as a
2190
- * standalone value in `interactive.body.text`.
2276
+ * Android app that can receive the code for one-tap autofill and zero-tap OTP
2277
+ * experiences.
2278
+ */
2279
+ type OtpSupportedApp = {
2280
+ /** Android package name. Maximum 224 characters, at least two dot-separated segments. */package_name: string; /** App signing-key hash: exactly 11 characters of letters, numbers, `+`, `/`, or `=`. */
2281
+ signature_hash: string;
2282
+ };
2283
+ type OtpButtonBase = {
2284
+ /** The OTP: 4 to 10 ASCII alphanumeric characters. Must also appear standalone in `interactive.body.text`. */code: string; /** Copy code button label. Defaults to "Copy Code"; maximum 25 characters, no variables, line breaks, URLs, or emoji. */
2285
+ text?: string; /** Code expiration in minutes, 1 to 90. Defaults to 10. */
2286
+ code_expiration_minutes?: number;
2287
+ };
2288
+ /** Copy code: a button that copies the code to the clipboard. */
2289
+ type OtpCopyCodeParams = OtpButtonBase & {
2290
+ otp_type: 'copy_code';
2291
+ };
2292
+ /**
2293
+ * One-tap autofill: on eligible Android devices, tapping the button opens the app
2294
+ * and delivers the code. Falls back to a copy code button.
2295
+ */
2296
+ type OtpOneTapParams = OtpButtonBase & {
2297
+ otp_type: 'one_tap'; /** Autofill button label. Defaults to "Autofill"; maximum 25 characters. */
2298
+ autofill_text?: string; /** One to five Android apps (unique `package_name`) that can receive the code. */
2299
+ supported_apps: OtpSupportedApp[];
2300
+ };
2301
+ /**
2302
+ * Zero-tap: on eligible Android devices, broadcasts the code to the app without a
2303
+ * button tap. Falls back to one-tap autofill, then copy code.
2304
+ */
2305
+ type OtpZeroTapParams = OtpButtonBase & {
2306
+ otp_type: 'zero_tap';
2307
+ /**
2308
+ * The business's affirmation that its zero-tap use is subject to the WhatsApp
2309
+ * Terms for WhatsApp Business Platform and that users expect automatic code
2310
+ * retrieval. Must be `true` on every zero-tap request; missing, `false`, or
2311
+ * `null` is rejected with error 131009.
2312
+ */
2313
+ zero_tap_terms_accepted: true; /** Autofill button label. Defaults to "Autofill"; maximum 25 characters. */
2314
+ autofill_text?: string; /** One to five Android apps (unique `package_name`) that can receive the code. */
2315
+ supported_apps: OtpSupportedApp[];
2316
+ };
2317
+ /**
2318
+ * One-time password (OTP) button for a Direct Send authentication message
2319
+ * (`category: 'authentication'`, `interactive.type: 'button'`). The message must
2320
+ * carry exactly one button, and `code` must also appear as a standalone value in
2321
+ * `interactive.body.text`. `otp_type` selects copy code, one-tap autofill, or
2322
+ * zero-tap; `zero_tap_terms_accepted` is only allowed (and required) for zero-tap.
2191
2323
  *
2192
2324
  * @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/direct-send/supported-message-types#interactive-authentication-messages | Direct Send interactive authentication messages}
2193
2325
  */
2194
2326
  type OtpButtonObject = {
2195
2327
  type: 'otp';
2196
- otp: {
2197
- /** The OTP: 4 to 10 ASCII alphanumeric characters. */code: string; /** Copy code experience. Only `copy_code` is supported. */
2198
- otp_type: 'copy_code'; /** Button label. Defaults to "Copy Code"; maximum 25 characters, no variables, line breaks, URLs, or emoji. */
2199
- text?: string; /** Code expiration in minutes, 1 to 90. Defaults to 10. */
2200
- code_expiration_minutes?: number;
2201
- };
2328
+ otp: OtpCopyCodeParams | OtpOneTapParams | OtpZeroTapParams;
2202
2329
  };
2203
2330
  type ActionObject = {
2204
2331
  button?: string;
@@ -6019,7 +6146,8 @@ declare const StickerMediaTypes: {
6019
6146
  type StickerMediaTypesType = (typeof StickerMediaTypes)[keyof typeof StickerMediaTypes];
6020
6147
  declare const ImageMediaTypes: {
6021
6148
  readonly Jpeg: "image/jpeg";
6022
- readonly Png: "image/png";
6149
+ readonly Png: "image/png"; /** Static WebP only; transcoded to JPEG. Animated WebP is rejected. */
6150
+ readonly Webp: "image/webp";
6023
6151
  };
6024
6152
  type ImageMediaTypesType = (typeof ImageMediaTypes)[keyof typeof ImageMediaTypes];
6025
6153
  declare const DocumentMediaTypes: {
@@ -6177,7 +6305,7 @@ declare class HttpsClientResponseClass {
6177
6305
  json: () => Promise<ResponseJSONBody>;
6178
6306
  }
6179
6307
  declare class HttpsClientClass {
6180
- constructor();
6308
+ constructor(fetchImpl?: typeof fetch);
6181
6309
  clearSockets: () => boolean;
6182
6310
  sendRequest: (host: string, path: string, method: HttpMethodsEnum, headers: HeadersInit, timeout: number, body?: BodyInit | null) => Promise<HttpsClientResponseClass>;
6183
6311
  }
@@ -7128,7 +7256,7 @@ declare class MarketingMessagesApi extends BaseAPI implements MarketingMessagesC
7128
7256
  * |------|-----------|----------|
7129
7257
  * | Audio | audio/aac, audio/mp4, audio/mpeg, audio/amr, audio/ogg | 16 MB |
7130
7258
  * | Document | Various (PDF, DOC, DOCX, PPT, XLS, etc.) | 100 MB |
7131
- * | Image | image/jpeg, image/png | 5 MB |
7259
+ * | Image | image/jpeg, image/png, image/webp (static) | 5 MB |
7132
7260
  * | Sticker | image/webp | 100 KB (animated), 500 KB (static) |
7133
7261
  * | Video | video/mp4, video/3gp | 16 MB |
7134
7262
  *
@@ -7323,7 +7451,7 @@ type MessagePayloadType<T extends MessageTypesEnum> = T extends MessageTypesEnum
7323
7451
  * - {@link MessagesApi.interactiveList | interactiveList} - Send list interactive messages
7324
7452
  * - {@link MessagesApi.interactiveCtaUrl | interactiveCtaUrl} - Send CTA URL interactive messages
7325
7453
  * - {@link MessagesApi.interactiveVoiceCall | interactiveVoiceCall} - Send "Call on WhatsApp" voice call button messages
7326
- * - {@link MessagesApi.interactiveOtp | interactiveOtp} - Send Direct Send authentication OTP copy code button messages
7454
+ * - {@link MessagesApi.interactiveOtp | interactiveOtp} - Send Direct Send authentication OTP button messages (copy code, one-tap autofill, zero-tap)
7327
7455
  * - {@link MessagesApi.interactiveLocationRequest | interactiveLocationRequest} - Send location request messages
7328
7456
  * - {@link MessagesApi.interactiveAddressMessage | interactiveAddressMessage} - Send address message interactive messages
7329
7457
  * - {@link MessagesApi.interactiveReplyButtons | interactiveReplyButtons} - Send reply button interactive messages
@@ -7480,7 +7608,8 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
7480
7608
  * Sends an image message via the WhatsApp Cloud API.
7481
7609
  *
7482
7610
  * Images can be specified by media ID or public URL.
7483
- * Supported formats: image/jpeg, image/png. Maximum file size: 5 MB.
7611
+ * Supported formats: image/jpeg, image/png, and static image/webp (transcoded to
7612
+ * JPEG; animated WebP and images over 4,096 px on an edge are rejected). Maximum file size: 5 MB.
7484
7613
  *
7485
7614
  * @param params - The image message parameters
7486
7615
  * @param params.body - Image media object containing `id` or `link`, and optional `caption`
@@ -7830,7 +7959,12 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
7830
7959
  }>): Promise<MessagesResponse>;
7831
7960
  /**
7832
7961
  * Sends a Direct Send authentication message with a one-time password (OTP)
7833
- * copy code button, without pre-creating an authentication template.
7962
+ * button (copy code, one-tap autofill, or zero-tap), without pre-creating an
7963
+ * authentication template.
7964
+ *
7965
+ * `otp_type: 'one_tap'` and `'zero_tap'` require `supported_apps` (1 to 5 Android
7966
+ * apps); `'zero_tap'` also requires `zero_tap_terms_accepted: true`, which must be
7967
+ * omitted for the other types (error 131009 otherwise).
7834
7968
  *
7835
7969
  * The request is always sent with `category: 'authentication'`. The interactive
7836
7970
  * object must be `type: 'button'` with exactly one `{ type: 'otp' }` button, and
@@ -7860,6 +7994,28 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
7860
7994
  * },
7861
7995
  * to: '1234567890',
7862
7996
  * });
7997
+ *
7998
+ * // Zero-tap with one-tap and copy code fallback
7999
+ * await client.messages.interactiveOtp({
8000
+ * body: {
8001
+ * type: 'button',
8002
+ * body: { text: 'Your verification code is 123456.' },
8003
+ * action: {
8004
+ * buttons: [
8005
+ * {
8006
+ * type: 'otp',
8007
+ * otp: {
8008
+ * code: '123456',
8009
+ * otp_type: 'zero_tap',
8010
+ * zero_tap_terms_accepted: true,
8011
+ * supported_apps: [{ package_name: 'com.example.app', signature_hash: 'K8a/AINcGX7' }],
8012
+ * },
8013
+ * },
8014
+ * ],
8015
+ * },
8016
+ * },
8017
+ * to: '1234567890',
8018
+ * });
7863
8019
  * ```
7864
8020
  */
7865
8021
  interactiveOtp(params: MessageRequestParams<InteractiveObject & {
@@ -9318,8 +9474,14 @@ declare function encryptFlowResponseAsync(response: any, aesKeyBuffer: Uint8Arra
9318
9474
  //#endregion
9319
9475
  //#region src/utils/http/httpsClient.d.ts
9320
9476
  declare class HttpsClient implements HttpsClientClass {
9477
+ private readonly fetchImpl;
9478
+ /**
9479
+ * @param fetchImpl - `fetch` used for every request. When omitted, the global `fetch`
9480
+ * is looked up on each call, so replacing `globalThis.fetch` later still takes effect.
9481
+ */
9482
+ constructor(fetchImpl?: typeof fetch);
9321
9483
  /**
9322
- * Kept for backwards compatibility. Requests go through the global `fetch`,
9484
+ * Kept for backwards compatibility. Requests go through `fetch`,
9323
9485
  * which manages its own connection pool, so there is nothing to clear.
9324
9486
  */
9325
9487
  clearSockets(): boolean;
@@ -9339,7 +9501,10 @@ declare class Requester implements RequesterClass {
9339
9501
  private retryConfig;
9340
9502
  private onRateLimitInfo;
9341
9503
  private lastRateLimitInfo;
9342
- constructor(apiVersion: string, phoneNumberId: number, accessToken: string, businessAcctId: string, userAgent: string, retryConfig?: RetryConfig, onRateLimitInfo?: RateLimitInfoListener);
9504
+ private hooks;
9505
+ constructor(apiVersion: string, phoneNumberId: number, accessToken: string, businessAcctId: string, userAgent: string, retryConfig?: RetryConfig, onRateLimitInfo?: RateLimitInfoListener, fetchImpl?: typeof fetch, hooks?: RequestHooks);
9506
+ private runHook;
9507
+ private redactHeaders;
9343
9508
  /**
9344
9509
  * Rate limit headers of the most recent response that carried any, or undefined.
9345
9510
  * With concurrent requests this is whichever response finished last; use the
@@ -10592,6 +10757,34 @@ declare function resolveMessageStatus<T extends MessageDeliveryStatus | (string
10592
10757
  //#region src/utils/objectToQueryString.d.ts
10593
10758
  declare const objectToQueryString: (params: Record<string, any>) => string;
10594
10759
  //#endregion
10760
+ //#region src/utils/textFormat.d.ts
10761
+ /**
10762
+ * Helpers that produce WhatsApp text formatting markup for message bodies.
10763
+ *
10764
+ * WhatsApp renders `*bold*`, `_italic_`, `~strikethrough~`, ```` ```monospace``` ````,
10765
+ * `` `inline code` ``, `> quote`, `- bullet` and `1. numbered` lines. Inline markers must sit
10766
+ * directly against the text they wrap and cannot span a line break, so the inline helpers apply
10767
+ * their markers per line and keep leading and trailing whitespace outside the markers.
10768
+ *
10769
+ * @see {@link https://faq.whatsapp.com/539178204879377 | WhatsApp FAQ: How to format your messages}
10770
+ */
10771
+ /** Wrap text in `*` so WhatsApp renders it bold. Applied per line. */
10772
+ declare function bold(text: string): string;
10773
+ /** Wrap text in `_` so WhatsApp renders it italic. Applied per line. */
10774
+ declare function italic(text: string): string;
10775
+ /** Wrap text in `~` so WhatsApp renders it struck through. Applied per line. */
10776
+ declare function strikethrough(text: string): string;
10777
+ /** Wrap text in `` ` `` so WhatsApp renders it as inline code. Applied per line. */
10778
+ declare function inlineCode(text: string): string;
10779
+ /** Wrap text in triple backticks so WhatsApp renders it as a monospace block. May span lines. */
10780
+ declare function monospace(text: string): string;
10781
+ /** Prefix every line with `> ` so WhatsApp renders a block quote. */
10782
+ declare function quote(text: string): string;
10783
+ /** Render items as a WhatsApp bulleted list, one `- item` per line. */
10784
+ declare function bulletList(items: readonly string[]): string;
10785
+ /** Render items as a WhatsApp numbered list, `1. item`, `2. item`, and so on. */
10786
+ declare function numberedList(items: readonly string[]): string;
10787
+ //#endregion
10595
10788
  //#region src/utils/flowTypeGuards.d.ts
10596
10789
  declare const DATA_EXCHANGE_ACTIONS: readonly [FlowActionEnum.DATA_EXCHANGE, FlowActionEnum.INIT, FlowActionEnum.BACK];
10597
10790
  declare const ERROR_ACTIONS: readonly [FlowActionEnum.DATA_EXCHANGE, FlowActionEnum.INIT];
@@ -10633,5 +10826,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
10633
10826
  */
10634
10827
  declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
10635
10828
  //#endregion
10636
- 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, type BusinessUseCaseUsage, BusinessVerticalEnum, type ButtonMessage, type ButtonMessageHandler, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type ButtonProcessedMessage, CALLING_ERROR_CODES, CUSTOMER_SERVICE_WINDOW_MS, 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, ContactBookApi, ContactBookClass, 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, type CustomerServiceWindowOptions, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, type DecryptedFlowRequest, type DedupeStore, DeleteContactBookEntryParams, DeleteContactBookEntryResponse, type DirectSendCategory, type DirectSendConfig, type DirectSendOptions, 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, FREE_ENTRY_POINT_WINDOW_MS, FailedUserInfo, type FastifyWebhookConfig, type FastifyWebhookHandlers, type FastifyWebhookReply, type FastifyWebhookRequest, 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, type FreeEntryPointWindowOptions, 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, type HonoWebhookConfig, type HonoWebhookContext, type HonoWebhookHandlers, 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, MAX_FREE_ENTRY_POINT_WINDOW_MS, MPMButton, type MPMTemplateOptions, type MarketingMessageBidSpec, type MarketingMessageRequest, MarketingMessagesApi, type MarketingMessagesClass, type MarketingMessagesLinkClickData, MediaApi, type MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, type MediaInfo, type MediaParameter, MediaResponse, MediasResponse, MemoryDedupeStore, type MemoryDedupeStoreOptions, MessagesApi as MessageApi, MessagesApi, MessageCategory, MessageCategoryEnum, MessageCategoryType, type MessageDeliveryStatus, 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 MessagingWindow, type MetaError, type MetaErrorData, type MetaErrorDetail, type NextFunction, type NextJsAppWebhookConfig, type NextJsAppWebhookHandlers, type NextJsWebhookConfig, type NonMessageWebhookField, OTPButton, type OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, type OrderInfo, type OrderMessage, type OrderMessageHandler, type OrderProcessedMessage, type OtpButtonObject, type Pagination, type PaginationCursors, type Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PassThreadControlParams, type PaymentConfiguration, type PaymentConfigurationCode, type PaymentConfigurationCreateRequest, type PaymentConfigurationCreateResponse, type PaymentConfigurationDeleteRequest, type PaymentConfigurationOauthLinkRequest, type PaymentConfigurationOauthLinkResponse, type PaymentConfigurationProvider, type PaymentConfigurationStatus, type PaymentConfigurationUpdateRequest, type PaymentConfigurationUpdateResponse, type PaymentConfigurationsResponse, PaymentRequestActionParametersObject, PaymentRequestAmount, PaymentRequestButton, PaymentRequestButtonSetting, PaymentRequestObject, PaymentRequestSetting, PaymentsApi, type PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, type PreAcceptCallRequest, type ProcessWebhookOptions, type ProcessedMessage, type ProcessedStatus, type ProcessedUserAction, type ProcessedWebhookField, type ProductCardCarouselTemplateOptions, ProductCarouselCard, type ProductParameter, type ProductSection, QrCodeApi, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, type RateLimitHeadersInput, type RateLimitInfo, type RateLimitInfoContext, type RateLimitInfoListener, type RateLimitUsage, type ReactionInfo, type ReactionMessage, type ReactionMessageHandler, type ReactionParams, type ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RejectSolutionRequest, ReleaseThreadControlParams, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, type RetryConfig, 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, TakeThreadControlParams, TemplateApi, TemplateBidSpec, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptimizationSpec, type TemplateOptions, type TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageHandler, type TextMessageParams, type TextObject, type TextParameter, type TextProcessedMessage, ThreadControlApi, ThreadControlBaseParams, ThreadControlClass, ThreadControlResponse, ThreadControlRole, ThreadControlUserIdentifier, 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, UploadMediaInput, UploadMediaOptions, type UploadMediaParams, UploadMediaResponse, type UploadSession, type UploadSessionResponse, type UserAction, type UserActionHandler, type UserActionType, type UserActionsWebhookValue, 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, WabaServicePricingPolicy, WabaSubscription, WabaSubscriptions, type WebhookContact, type WebhookDedupeConfig, type WebhookDedupeOptions, type WebhookEvent, type WebhookFieldHandler, type WebhookFieldHandlerMap, type WebhookFieldHandlerOptions, type WebhookFieldType, type WebhookFieldValue, type WebhookFieldValueMap, type WebhookHandlerContext, type WebhookMessage, type WebhookPayload, WebhookProcessor, type WebhookResponse, type WebhookSignatureOptions, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, WhatsApp, WhatsApp as default, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, type WhatsAppConfig, WhatsAppError, type WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, type WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, type WindowTimestamp, buildFieldsQueryString, canSendFreeformMessage, compareMessageStatus, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, decryptFlowRequestAsync, encryptFlowResponse, encryptFlowResponseAsync, expressWebhookHandler, extractMessageText, fastifyWebhookHandler, formatConfigTable, generateEncryption, generateXHub256Sig, generateXHub256SigAsync, getContactsInfo, getCustomerServiceWindow, getFreeEntryPointWindow, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, honoWebhookHandler, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMessageStatusAdvance, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isValidWebhookSignature, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, parseRateLimitHeaders, parseRetryAfter, processFlowRequest, processWebhookMessages, resolveMessageStatus, verifyWebhookSignature };
10829
+ 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, type BusinessUseCaseUsage, BusinessVerticalEnum, type ButtonMessage, type ButtonMessageHandler, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type ButtonProcessedMessage, CALLING_ERROR_CODES, CUSTOMER_SERVICE_WINDOW_MS, 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, ContactBookApi, ContactBookClass, 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, type CustomerServiceWindowOptions, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, type DecryptedFlowRequest, type DedupeStore, DeleteContactBookEntryParams, DeleteContactBookEntryResponse, type DirectSendCategory, type DirectSendConfig, type DirectSendOptions, 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, FREE_ENTRY_POINT_WINDOW_MS, FailedUserInfo, type FastifyWebhookConfig, type FastifyWebhookHandlers, type FastifyWebhookReply, type FastifyWebhookRequest, 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, type FreeEntryPointWindowOptions, 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, type HonoWebhookConfig, type HonoWebhookContext, type HonoWebhookHandlers, 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, MAX_FREE_ENTRY_POINT_WINDOW_MS, MPMButton, type MPMTemplateOptions, type MarketingMessageBidSpec, type MarketingMessageRequest, MarketingMessagesApi, type MarketingMessagesClass, type MarketingMessagesLinkClickData, MediaApi, type MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, type MediaInfo, type MediaParameter, MediaResponse, MediasResponse, MemoryDedupeStore, type MemoryDedupeStoreOptions, MessagesApi as MessageApi, MessagesApi, MessageCategory, MessageCategoryEnum, MessageCategoryType, type MessageDeliveryStatus, 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 MessagingWindow, type MetaError, type MetaErrorData, type MetaErrorDetail, type NextFunction, type NextJsAppWebhookConfig, type NextJsAppWebhookHandlers, type NextJsWebhookConfig, type NonMessageWebhookField, OTPButton, type OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, type OrderInfo, type OrderMessage, type OrderMessageHandler, type OrderProcessedMessage, type OtpButtonObject, type OtpCopyCodeParams, type OtpOneTapParams, type OtpSupportedApp, type OtpZeroTapParams, type Pagination, type PaginationCursors, type Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PassThreadControlParams, type PaymentConfiguration, type PaymentConfigurationCode, type PaymentConfigurationCreateRequest, type PaymentConfigurationCreateResponse, type PaymentConfigurationDeleteRequest, type PaymentConfigurationOauthLinkRequest, type PaymentConfigurationOauthLinkResponse, type PaymentConfigurationProvider, type PaymentConfigurationStatus, type PaymentConfigurationUpdateRequest, type PaymentConfigurationUpdateResponse, type PaymentConfigurationsResponse, PaymentRequestActionParametersObject, PaymentRequestAmount, PaymentRequestButton, PaymentRequestButtonSetting, PaymentRequestObject, PaymentRequestSetting, PaymentsApi, type PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, type PreAcceptCallRequest, type ProcessWebhookOptions, type ProcessedMessage, type ProcessedStatus, type ProcessedUserAction, type ProcessedWebhookField, type ProductCardCarouselTemplateOptions, ProductCarouselCard, type ProductParameter, type ProductSection, QrCodeApi, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, type RateLimitHeadersInput, type RateLimitInfo, type RateLimitInfoContext, type RateLimitInfoListener, type RateLimitUsage, type ReactionInfo, type ReactionMessage, type ReactionMessageHandler, type ReactionParams, type ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RejectSolutionRequest, ReleaseThreadControlParams, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, type RequestHook, type RequestHookContext, type RequestHooks, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseHook, type ResponseHookContext, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, type RetryConfig, 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, TakeThreadControlParams, TemplateApi, TemplateBidSpec, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptimizationSpec, type TemplateOptions, type TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageHandler, type TextMessageParams, type TextObject, type TextParameter, type TextProcessedMessage, ThreadControlApi, ThreadControlBaseParams, ThreadControlClass, ThreadControlResponse, ThreadControlRole, ThreadControlUserIdentifier, 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, UploadMediaInput, UploadMediaOptions, type UploadMediaParams, UploadMediaResponse, type UploadSession, type UploadSessionResponse, type UserAction, type UserActionHandler, type UserActionType, type UserActionsWebhookValue, 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, WabaServicePricingPolicy, WabaSubscription, WabaSubscriptions, type WebhookContact, type WebhookDedupeConfig, type WebhookDedupeOptions, type WebhookEvent, type WebhookFieldHandler, type WebhookFieldHandlerMap, type WebhookFieldHandlerOptions, type WebhookFieldType, type WebhookFieldValue, type WebhookFieldValueMap, type WebhookHandlerContext, type WebhookMessage, type WebhookPayload, WebhookProcessor, type WebhookResponse, type WebhookSignatureOptions, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, WhatsApp, WhatsApp as default, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, type WhatsAppConfig, WhatsAppError, type WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, type WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, type WindowTimestamp, bold, buildFieldsQueryString, bulletList, canSendFreeformMessage, compareMessageStatus, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, decryptFlowRequestAsync, encryptFlowResponse, encryptFlowResponseAsync, expressWebhookHandler, extractMessageText, fastifyWebhookHandler, formatConfigTable, generateEncryption, generateXHub256Sig, generateXHub256SigAsync, getContactsInfo, getCustomerServiceWindow, getFreeEntryPointWindow, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, honoWebhookHandler, inlineCode, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMessageStatusAdvance, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isValidWebhookSignature, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, italic, monospace, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, numberedList, objectToQueryString, parseRateLimitHeaders, parseRetryAfter, processFlowRequest, processWebhookMessages, quote, resolveMessageStatus, strikethrough, verifyWebhookSignature };
10637
10830
  //# sourceMappingURL=index.d.mts.map