meta-cloud-api 3.11.1 → 3.12.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/dist/index.d.mts +191 -9
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +13 -7
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.d.mts +191 -9
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.mjs +13 -7
- package/dist/node/index.mjs.map +1 -1
- package/dist/types/index.d.ts +114 -7
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +67 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +10 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/node/index.d.ts +67 -1
- package/dist/utils/node/index.d.ts.map +1 -1
- package/dist/utils/node/index.js +10 -4
- package/dist/utils/node/index.js.map +1 -1
- package/package.json +1 -1
package/dist/node/index.d.mts
CHANGED
|
@@ -836,6 +836,37 @@ interface RateLimitInfoContext {
|
|
|
836
836
|
}
|
|
837
837
|
/** Callback receiving rate limit information parsed from every response that carries it. */
|
|
838
838
|
type RateLimitInfoListener = (info: RateLimitInfo, context: RateLimitInfoContext) => void | Promise<void>;
|
|
839
|
+
/** Details of an outgoing request passed to {@link WhatsAppConfig.onRequest}. */
|
|
840
|
+
interface RequestHookContext {
|
|
841
|
+
/** HTTP method of the request. */
|
|
842
|
+
method: string;
|
|
843
|
+
/** Absolute URL the request is sent to. */
|
|
844
|
+
url: string;
|
|
845
|
+
/** Request headers. `Authorization` is redacted to `Bearer ***`. */
|
|
846
|
+
headers: Record<string, string>;
|
|
847
|
+
/** Request body as handed to `fetch`: a JSON string, a `FormData`, a URL-encoded string, or undefined. */
|
|
848
|
+
body: BodyInit | undefined;
|
|
849
|
+
/** 1-based attempt number; above 1 only when a throttled request is retried. */
|
|
850
|
+
attempt: number;
|
|
851
|
+
}
|
|
852
|
+
/** Details of a received response passed to {@link WhatsAppConfig.onResponse}. */
|
|
853
|
+
interface ResponseHookContext extends RequestHookContext {
|
|
854
|
+
/** HTTP status code of the response. */
|
|
855
|
+
statusCode: number;
|
|
856
|
+
/** Response headers, lower-cased names. */
|
|
857
|
+
responseHeaders: Record<string, string | string[] | undefined>;
|
|
858
|
+
/** Milliseconds between sending the request and receiving the response headers. */
|
|
859
|
+
durationMs: number;
|
|
860
|
+
}
|
|
861
|
+
/** Called before every request is sent. */
|
|
862
|
+
type RequestHook = (context: RequestHookContext) => void | Promise<void>;
|
|
863
|
+
/** Called after every response is received, whatever its status code. */
|
|
864
|
+
type ResponseHook = (context: ResponseHookContext) => void | Promise<void>;
|
|
865
|
+
/** Request lifecycle hooks handed to the requester. */
|
|
866
|
+
interface RequestHooks {
|
|
867
|
+
onRequest?: RequestHook;
|
|
868
|
+
onResponse?: ResponseHook;
|
|
869
|
+
}
|
|
839
870
|
/**
|
|
840
871
|
* Storage used to drop duplicate webhook deliveries. Meta retries deliveries,
|
|
841
872
|
* so the same message or status can arrive more than once.
|
|
@@ -895,6 +926,36 @@ type WhatsAppConfig = {
|
|
|
895
926
|
* callback are ignored. See also `whatsapp.getLastRateLimitInfo()`.
|
|
896
927
|
*/
|
|
897
928
|
onRateLimitInfo?: RateLimitInfoListener;
|
|
929
|
+
/**
|
|
930
|
+
* Called before every request is sent, with its method, URL, headers (`Authorization`
|
|
931
|
+
* redacted), body and attempt number. Awaited, so keep it fast. Errors it throws are
|
|
932
|
+
* logged and ignored. Useful for request logging, tracing spans and debugging.
|
|
933
|
+
*/
|
|
934
|
+
onRequest?: RequestHook;
|
|
935
|
+
/**
|
|
936
|
+
* Called after every response is received, including error statuses, with the request
|
|
937
|
+
* details plus `statusCode`, `responseHeaders` and `durationMs`. Awaited; errors it throws
|
|
938
|
+
* are logged and ignored. Not called when the request fails before a response arrives
|
|
939
|
+
* (timeout, DNS, proxy refusal); those surface as `WhatsAppNetworkError`.
|
|
940
|
+
*/
|
|
941
|
+
onResponse?: ResponseHook;
|
|
942
|
+
/**
|
|
943
|
+
* The `fetch` implementation used for every Graph API request. Defaults to the global
|
|
944
|
+
* `fetch`, resolved at call time. Pass your own to route requests through a proxy
|
|
945
|
+
* (for example `undici`'s `ProxyAgent`), to add tracing, or to answer requests in tests.
|
|
946
|
+
*
|
|
947
|
+
* @example
|
|
948
|
+
* ```typescript
|
|
949
|
+
* import { ProxyAgent } from 'undici';
|
|
950
|
+
*
|
|
951
|
+
* const dispatcher = new ProxyAgent('http://proxy.internal:8080');
|
|
952
|
+
* const wa = new WhatsApp({
|
|
953
|
+
* accessToken: '...',
|
|
954
|
+
* fetch: (input, init) => fetch(input, { ...init, dispatcher }),
|
|
955
|
+
* });
|
|
956
|
+
* ```
|
|
957
|
+
*/
|
|
958
|
+
fetch?: typeof fetch;
|
|
898
959
|
/**
|
|
899
960
|
* Reject webhook POSTs whose `X-Hub-Signature-256` header is not a valid
|
|
900
961
|
* HMAC-SHA256 of the raw body keyed with `appSecret`. Requires `appSecret`.
|
|
@@ -986,6 +1047,18 @@ type WabaConfigType = {
|
|
|
986
1047
|
* Rate limit header listener. Passed through from WhatsAppConfig.
|
|
987
1048
|
*/
|
|
988
1049
|
onRateLimitInfo?: RateLimitInfoListener;
|
|
1050
|
+
/**
|
|
1051
|
+
* Custom fetch implementation. Passed through from WhatsAppConfig.
|
|
1052
|
+
*/
|
|
1053
|
+
fetch?: typeof fetch;
|
|
1054
|
+
/**
|
|
1055
|
+
* Request lifecycle hook. Passed through from WhatsAppConfig.
|
|
1056
|
+
*/
|
|
1057
|
+
onRequest?: RequestHook;
|
|
1058
|
+
/**
|
|
1059
|
+
* Response lifecycle hook. Passed through from WhatsAppConfig.
|
|
1060
|
+
*/
|
|
1061
|
+
onResponse?: ResponseHook;
|
|
989
1062
|
};
|
|
990
1063
|
//#endregion
|
|
991
1064
|
//#region src/types/request.d.ts
|
|
@@ -1978,9 +2051,11 @@ type PaymentRequestSetting = {
|
|
|
1978
2051
|
pix_dynamic_code: {
|
|
1979
2052
|
code: string;
|
|
1980
2053
|
/**
|
|
1981
|
-
* Pix payment experience. `APPSWITCH`
|
|
1982
|
-
*
|
|
1983
|
-
*
|
|
2054
|
+
* Pix payment experience. `APPSWITCH` is "Pix with redirect" (Meta's name
|
|
2055
|
+
* since October 16, 2026; formerly App-Switch): the buyer picks their bank
|
|
2056
|
+
* inside WhatsApp and authorizes the payment in the bank app (requires
|
|
2057
|
+
* onboarding by Meta). `COPYPASTE` or omitted keeps the copy and paste
|
|
2058
|
+
* experience.
|
|
1984
2059
|
*/
|
|
1985
2060
|
flow_type?: 'APPSWITCH' | 'COPYPASTE';
|
|
1986
2061
|
};
|
|
@@ -2181,9 +2256,26 @@ type ReplyButtonObject = {
|
|
|
2181
2256
|
type: 'reply';
|
|
2182
2257
|
reply: ButtonObject;
|
|
2183
2258
|
};
|
|
2259
|
+
/**
|
|
2260
|
+
* One-time password (OTP) copy code button for a Direct Send authentication
|
|
2261
|
+
* message (`category: 'authentication'`, `interactive.type: 'button'`). The
|
|
2262
|
+
* message must carry exactly one button, and `code` must also appear as a
|
|
2263
|
+
* standalone value in `interactive.body.text`.
|
|
2264
|
+
*
|
|
2265
|
+
* @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/direct-send/supported-message-types#interactive-authentication-messages | Direct Send interactive authentication messages}
|
|
2266
|
+
*/
|
|
2267
|
+
type OtpButtonObject = {
|
|
2268
|
+
type: 'otp';
|
|
2269
|
+
otp: {
|
|
2270
|
+
/** The OTP: 4 to 10 ASCII alphanumeric characters. */code: string; /** Copy code experience. Only `copy_code` is supported. */
|
|
2271
|
+
otp_type: 'copy_code'; /** Button label. Defaults to "Copy Code"; maximum 25 characters, no variables, line breaks, URLs, or emoji. */
|
|
2272
|
+
text?: string; /** Code expiration in minutes, 1 to 90. Defaults to 10. */
|
|
2273
|
+
code_expiration_minutes?: number;
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2184
2276
|
type ActionObject = {
|
|
2185
2277
|
button?: string;
|
|
2186
|
-
buttons?: ReplyButtonObject[];
|
|
2278
|
+
buttons?: (ReplyButtonObject | OtpButtonObject)[];
|
|
2187
2279
|
catalog_id?: string;
|
|
2188
2280
|
product_retailer_id?: string;
|
|
2189
2281
|
sections?: SectionObject[];
|
|
@@ -3365,6 +3457,14 @@ type TemplateOptimizationSpec = {
|
|
|
3365
3457
|
* converting it to the smallest unit.
|
|
3366
3458
|
*/
|
|
3367
3459
|
bid_amount: number;
|
|
3460
|
+
/**
|
|
3461
|
+
* Per-country bid multipliers keyed by ISO 3166-1 alpha-2 country code
|
|
3462
|
+
* (for example `{ IN: 1.2, MX: 0.8 }`). Meta multiplies `bid_amount` by the
|
|
3463
|
+
* recipient country's value; unlisted countries use `1.0`. Each multiplier
|
|
3464
|
+
* must be greater than 0 and at most 10. Up to 240 entries per template
|
|
3465
|
+
* (raised from 50 on October 19, 2026).
|
|
3466
|
+
*/
|
|
3467
|
+
bid_country_multiplier_overrides?: Record<string, number>;
|
|
3368
3468
|
};
|
|
3369
3469
|
/**
|
|
3370
3470
|
* @deprecated Meta deprecated `bid_spec` on template create/update on
|
|
@@ -3678,6 +3778,12 @@ declare enum WabaBusinessVerificationStatus {
|
|
|
3678
3778
|
Unverified = "unverified",
|
|
3679
3779
|
Rejected = "rejected"
|
|
3680
3780
|
}
|
|
3781
|
+
/**
|
|
3782
|
+
* Service pricing policy coverage for a WABA (added October 30, 2026).
|
|
3783
|
+
* `PAID_EXEMPT` means the account is covered by the service pricing policy
|
|
3784
|
+
* for eligible governments and non-profits.
|
|
3785
|
+
*/
|
|
3786
|
+
type WabaServicePricingPolicy = 'PAID_EXEMPT' | 'REGULAR' | 'UNKNOWN';
|
|
3681
3787
|
/**
|
|
3682
3788
|
* WABA health status error details
|
|
3683
3789
|
*/
|
|
@@ -3727,11 +3833,12 @@ interface WabaAccount {
|
|
|
3727
3833
|
primary_funding_id?: string;
|
|
3728
3834
|
purchase_order_number?: string;
|
|
3729
3835
|
whatsapp_business_manager_messaging_limit?: string;
|
|
3836
|
+
service_pricing_policy?: WabaServicePricingPolicy;
|
|
3730
3837
|
}
|
|
3731
3838
|
/**
|
|
3732
3839
|
* Available fields for WABA account queries
|
|
3733
3840
|
*/
|
|
3734
|
-
type WabaAccountFields = 'id' | 'name' | 'timezone_id' | 'account_review_status' | 'auth_international_rate_eligibility' | 'business_verification_status' | 'country' | 'currency' | 'health_status' | 'status' | 'ownership_type' | 'message_template_namespace' | 'primary_business_location' | 'analytics' | 'is_enabled_for_insights' | 'is_shared_with_partners' | 'marketing_messages_lite_api_status' | 'marketing_messages_onboarding_status' | 'on_behalf_of_business_info' | 'primary_funding_id' | 'purchase_order_number' | 'whatsapp_business_manager_messaging_limit';
|
|
3841
|
+
type WabaAccountFields = 'id' | 'name' | 'timezone_id' | 'account_review_status' | 'auth_international_rate_eligibility' | 'business_verification_status' | 'country' | 'currency' | 'health_status' | 'status' | 'ownership_type' | 'message_template_namespace' | 'primary_business_location' | 'analytics' | 'is_enabled_for_insights' | 'is_shared_with_partners' | 'marketing_messages_lite_api_status' | 'marketing_messages_onboarding_status' | 'on_behalf_of_business_info' | 'primary_funding_id' | 'purchase_order_number' | 'whatsapp_business_manager_messaging_limit' | 'service_pricing_policy';
|
|
3735
3842
|
/**
|
|
3736
3843
|
* Parameter type for specifying which WABA account fields to retrieve
|
|
3737
3844
|
*/
|
|
@@ -6143,7 +6250,7 @@ declare class HttpsClientResponseClass {
|
|
|
6143
6250
|
json: () => Promise<ResponseJSONBody>;
|
|
6144
6251
|
}
|
|
6145
6252
|
declare class HttpsClientClass {
|
|
6146
|
-
constructor();
|
|
6253
|
+
constructor(fetchImpl?: typeof fetch);
|
|
6147
6254
|
clearSockets: () => boolean;
|
|
6148
6255
|
sendRequest: (host: string, path: string, method: HttpMethodsEnum, headers: HeadersInit, timeout: number, body?: BodyInit | null) => Promise<HttpsClientResponseClass>;
|
|
6149
6256
|
}
|
|
@@ -7289,6 +7396,7 @@ type MessagePayloadType<T extends MessageTypesEnum> = T extends MessageTypesEnum
|
|
|
7289
7396
|
* - {@link MessagesApi.interactiveList | interactiveList} - Send list interactive messages
|
|
7290
7397
|
* - {@link MessagesApi.interactiveCtaUrl | interactiveCtaUrl} - Send CTA URL interactive messages
|
|
7291
7398
|
* - {@link MessagesApi.interactiveVoiceCall | interactiveVoiceCall} - Send "Call on WhatsApp" voice call button messages
|
|
7399
|
+
* - {@link MessagesApi.interactiveOtp | interactiveOtp} - Send Direct Send authentication OTP copy code button messages
|
|
7292
7400
|
* - {@link MessagesApi.interactiveLocationRequest | interactiveLocationRequest} - Send location request messages
|
|
7293
7401
|
* - {@link MessagesApi.interactiveAddressMessage | interactiveAddressMessage} - Send address message interactive messages
|
|
7294
7402
|
* - {@link MessagesApi.interactiveReplyButtons | interactiveReplyButtons} - Send reply button interactive messages
|
|
@@ -7793,6 +7901,43 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
7793
7901
|
interactiveVoiceCall(params: MessageRequestParams<InteractiveObject & {
|
|
7794
7902
|
type: InteractiveTypesEnum.VoiceCall | 'voice_call';
|
|
7795
7903
|
}>): Promise<MessagesResponse>;
|
|
7904
|
+
/**
|
|
7905
|
+
* Sends a Direct Send authentication message with a one-time password (OTP)
|
|
7906
|
+
* copy code button, without pre-creating an authentication template.
|
|
7907
|
+
*
|
|
7908
|
+
* The request is always sent with `category: 'authentication'`. The interactive
|
|
7909
|
+
* object must be `type: 'button'` with exactly one `{ type: 'otp' }` button, and
|
|
7910
|
+
* the code must also appear as a standalone value in `body.text`. Authentication
|
|
7911
|
+
* messages cannot be sent to a business-scoped user ID. Direct Send for
|
|
7912
|
+
* authentication is in beta by request.
|
|
7913
|
+
*
|
|
7914
|
+
* @param params - The OTP interactive message parameters
|
|
7915
|
+
* @param params.body - Interactive object with `type: 'button'` and a single `otp` button
|
|
7916
|
+
* @param params.to - Recipient phone number in international format
|
|
7917
|
+
* @param params.directSendConfig - Optional Direct Send template attribution config
|
|
7918
|
+
* @returns A promise resolving to the message response with the sent message ID
|
|
7919
|
+
*
|
|
7920
|
+
* @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/direct-send/supported-message-types#interactive-authentication-messages | Direct Send interactive authentication messages}
|
|
7921
|
+
*
|
|
7922
|
+
* @example
|
|
7923
|
+
* ```ts
|
|
7924
|
+
* await client.messages.interactiveOtp({
|
|
7925
|
+
* body: {
|
|
7926
|
+
* type: 'button',
|
|
7927
|
+
* body: { text: 'Your verification code is 123456.' },
|
|
7928
|
+
* action: {
|
|
7929
|
+
* buttons: [
|
|
7930
|
+
* { type: 'otp', otp: { code: '123456', otp_type: 'copy_code', code_expiration_minutes: 10 } },
|
|
7931
|
+
* ],
|
|
7932
|
+
* },
|
|
7933
|
+
* },
|
|
7934
|
+
* to: '1234567890',
|
|
7935
|
+
* });
|
|
7936
|
+
* ```
|
|
7937
|
+
*/
|
|
7938
|
+
interactiveOtp(params: MessageRequestParams<InteractiveObject & {
|
|
7939
|
+
type: InteractiveTypesEnum.Button | 'button';
|
|
7940
|
+
}>): Promise<MessagesResponse>;
|
|
7796
7941
|
/**
|
|
7797
7942
|
* Sends a location request interactive message via the WhatsApp Cloud API.
|
|
7798
7943
|
*
|
|
@@ -9246,8 +9391,14 @@ declare function encryptFlowResponseAsync(response: any, aesKeyBuffer: Uint8Arra
|
|
|
9246
9391
|
//#endregion
|
|
9247
9392
|
//#region src/utils/http/httpsClient.d.ts
|
|
9248
9393
|
declare class HttpsClient implements HttpsClientClass {
|
|
9394
|
+
private readonly fetchImpl;
|
|
9249
9395
|
/**
|
|
9250
|
-
*
|
|
9396
|
+
* @param fetchImpl - `fetch` used for every request. When omitted, the global `fetch`
|
|
9397
|
+
* is looked up on each call, so replacing `globalThis.fetch` later still takes effect.
|
|
9398
|
+
*/
|
|
9399
|
+
constructor(fetchImpl?: typeof fetch);
|
|
9400
|
+
/**
|
|
9401
|
+
* Kept for backwards compatibility. Requests go through `fetch`,
|
|
9251
9402
|
* which manages its own connection pool, so there is nothing to clear.
|
|
9252
9403
|
*/
|
|
9253
9404
|
clearSockets(): boolean;
|
|
@@ -9267,7 +9418,10 @@ declare class Requester implements RequesterClass {
|
|
|
9267
9418
|
private retryConfig;
|
|
9268
9419
|
private onRateLimitInfo;
|
|
9269
9420
|
private lastRateLimitInfo;
|
|
9270
|
-
|
|
9421
|
+
private hooks;
|
|
9422
|
+
constructor(apiVersion: string, phoneNumberId: number, accessToken: string, businessAcctId: string, userAgent: string, retryConfig?: RetryConfig, onRateLimitInfo?: RateLimitInfoListener, fetchImpl?: typeof fetch, hooks?: RequestHooks);
|
|
9423
|
+
private runHook;
|
|
9424
|
+
private redactHeaders;
|
|
9271
9425
|
/**
|
|
9272
9426
|
* Rate limit headers of the most recent response that carried any, or undefined.
|
|
9273
9427
|
* With concurrent requests this is whichever response finished last; use the
|
|
@@ -10520,6 +10674,34 @@ declare function resolveMessageStatus<T extends MessageDeliveryStatus | (string
|
|
|
10520
10674
|
//#region src/utils/objectToQueryString.d.ts
|
|
10521
10675
|
declare const objectToQueryString: (params: Record<string, any>) => string;
|
|
10522
10676
|
//#endregion
|
|
10677
|
+
//#region src/utils/textFormat.d.ts
|
|
10678
|
+
/**
|
|
10679
|
+
* Helpers that produce WhatsApp text formatting markup for message bodies.
|
|
10680
|
+
*
|
|
10681
|
+
* WhatsApp renders `*bold*`, `_italic_`, `~strikethrough~`, ```` ```monospace``` ````,
|
|
10682
|
+
* `` `inline code` ``, `> quote`, `- bullet` and `1. numbered` lines. Inline markers must sit
|
|
10683
|
+
* directly against the text they wrap and cannot span a line break, so the inline helpers apply
|
|
10684
|
+
* their markers per line and keep leading and trailing whitespace outside the markers.
|
|
10685
|
+
*
|
|
10686
|
+
* @see {@link https://faq.whatsapp.com/539178204879377 | WhatsApp FAQ: How to format your messages}
|
|
10687
|
+
*/
|
|
10688
|
+
/** Wrap text in `*` so WhatsApp renders it bold. Applied per line. */
|
|
10689
|
+
declare function bold(text: string): string;
|
|
10690
|
+
/** Wrap text in `_` so WhatsApp renders it italic. Applied per line. */
|
|
10691
|
+
declare function italic(text: string): string;
|
|
10692
|
+
/** Wrap text in `~` so WhatsApp renders it struck through. Applied per line. */
|
|
10693
|
+
declare function strikethrough(text: string): string;
|
|
10694
|
+
/** Wrap text in `` ` `` so WhatsApp renders it as inline code. Applied per line. */
|
|
10695
|
+
declare function inlineCode(text: string): string;
|
|
10696
|
+
/** Wrap text in triple backticks so WhatsApp renders it as a monospace block. May span lines. */
|
|
10697
|
+
declare function monospace(text: string): string;
|
|
10698
|
+
/** Prefix every line with `> ` so WhatsApp renders a block quote. */
|
|
10699
|
+
declare function quote(text: string): string;
|
|
10700
|
+
/** Render items as a WhatsApp bulleted list, one `- item` per line. */
|
|
10701
|
+
declare function bulletList(items: readonly string[]): string;
|
|
10702
|
+
/** Render items as a WhatsApp numbered list, `1. item`, `2. item`, and so on. */
|
|
10703
|
+
declare function numberedList(items: readonly string[]): string;
|
|
10704
|
+
//#endregion
|
|
10523
10705
|
//#region src/utils/flowTypeGuards.d.ts
|
|
10524
10706
|
declare const DATA_EXCHANGE_ACTIONS: readonly [FlowActionEnum.DATA_EXCHANGE, FlowActionEnum.INIT, FlowActionEnum.BACK];
|
|
10525
10707
|
declare const ERROR_ACTIONS: readonly [FlowActionEnum.DATA_EXCHANGE, FlowActionEnum.INIT];
|
|
@@ -10561,5 +10743,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
|
|
|
10561
10743
|
*/
|
|
10562
10744
|
declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
|
|
10563
10745
|
//#endregion
|
|
10564
|
-
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 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, 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 };
|
|
10746
|
+
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, 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 };
|
|
10565
10747
|
//# sourceMappingURL=index.d.mts.map
|