meta-cloud-api 2.7.0 → 3.0.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 +90 -24
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/enums.d.ts +2 -0
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/enums.js +1 -1
- package/dist/types/enums.js.map +1 -1
- package/dist/types/index.d.ts +80 -19
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -68,6 +68,8 @@ declare enum InteractiveTypesEnum {
|
|
|
68
68
|
List = "list",
|
|
69
69
|
Product = "product",
|
|
70
70
|
ProductList = "product_list",
|
|
71
|
+
CatalogMessage = "catalog_message",
|
|
72
|
+
CallPermissionRequest = "call_permission_request",
|
|
71
73
|
CtaUrl = "cta_url",
|
|
72
74
|
Carousel = "carousel",
|
|
73
75
|
LocationRequest = "location_request_message",
|
|
@@ -1709,6 +1711,7 @@ type ReplyButtonObject = {
|
|
|
1709
1711
|
reply: ButtonObject;
|
|
1710
1712
|
};
|
|
1711
1713
|
type ActionObject = {
|
|
1714
|
+
button?: string;
|
|
1712
1715
|
buttons?: ReplyButtonObject[];
|
|
1713
1716
|
catalog_id?: string;
|
|
1714
1717
|
product_retailer_id?: string;
|
|
@@ -1719,6 +1722,7 @@ type HeaderObject = {
|
|
|
1719
1722
|
document?: DocumentMediaObject$1;
|
|
1720
1723
|
image?: ImageMediaObject$1;
|
|
1721
1724
|
text?: string;
|
|
1725
|
+
sub_text?: string;
|
|
1722
1726
|
video?: VideoMediaObject$1;
|
|
1723
1727
|
};
|
|
1724
1728
|
type ButtonInteractiveObject = {
|
|
@@ -1749,6 +1753,30 @@ type ProductListInteractiveObject = {
|
|
|
1749
1753
|
header: HeaderObject;
|
|
1750
1754
|
action: ActionObject;
|
|
1751
1755
|
};
|
|
1756
|
+
type CatalogMessageParameters = {
|
|
1757
|
+
thumbnail_product_retailer_id: string;
|
|
1758
|
+
};
|
|
1759
|
+
type CatalogMessageActionObject = {
|
|
1760
|
+
name: 'catalog_message';
|
|
1761
|
+
parameters?: CatalogMessageParameters;
|
|
1762
|
+
};
|
|
1763
|
+
type CatalogMessageInteractiveObject = {
|
|
1764
|
+
type: InteractiveTypesEnum.CatalogMessage | 'catalog_message';
|
|
1765
|
+
body?: SimpleTextObject;
|
|
1766
|
+
footer?: SimpleTextObject;
|
|
1767
|
+
header?: HeaderObject;
|
|
1768
|
+
action: CatalogMessageActionObject;
|
|
1769
|
+
};
|
|
1770
|
+
type CallPermissionRequestActionObject = {
|
|
1771
|
+
name: 'call_permission_request';
|
|
1772
|
+
};
|
|
1773
|
+
type CallPermissionRequestInteractiveObject = {
|
|
1774
|
+
type: InteractiveTypesEnum.CallPermissionRequest | 'call_permission_request';
|
|
1775
|
+
body?: SimpleTextObject;
|
|
1776
|
+
footer?: SimpleTextObject;
|
|
1777
|
+
header?: HeaderObject;
|
|
1778
|
+
action: CallPermissionRequestActionObject;
|
|
1779
|
+
};
|
|
1752
1780
|
type CtaUrlParameters = {
|
|
1753
1781
|
display_text: string;
|
|
1754
1782
|
url: string;
|
|
@@ -1877,13 +1905,14 @@ type CarouselInteractiveObject = {
|
|
|
1877
1905
|
body: SimpleTextObject;
|
|
1878
1906
|
action: CarouselActionObject;
|
|
1879
1907
|
};
|
|
1880
|
-
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
1908
|
+
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CatalogMessageInteractiveObject | CallPermissionRequestInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
1881
1909
|
//#endregion
|
|
1882
1910
|
//#region src/api/messages/types/reaction.d.ts
|
|
1883
1911
|
interface ReactionParams {
|
|
1884
1912
|
messageId: string;
|
|
1885
1913
|
emoji: string;
|
|
1886
1914
|
to: string;
|
|
1915
|
+
recipientType?: MessageRecipientType;
|
|
1887
1916
|
}
|
|
1888
1917
|
//#endregion
|
|
1889
1918
|
//#region src/api/messages/types/common.d.ts
|
|
@@ -1894,11 +1923,21 @@ type GeneralMessageBody = GeneralRequestBody & {
|
|
|
1894
1923
|
*/
|
|
1895
1924
|
messaging_product: 'whatsapp';
|
|
1896
1925
|
};
|
|
1926
|
+
type StatusObject = {
|
|
1927
|
+
status: 'read' | 'typing';
|
|
1928
|
+
message_id: string;
|
|
1929
|
+
typing_indicator?: TypingIndicatorObject;
|
|
1930
|
+
};
|
|
1931
|
+
type TypingIndicatorObject = {
|
|
1932
|
+
type: 'text';
|
|
1933
|
+
};
|
|
1934
|
+
type StatusResponse = ResponseSuccess;
|
|
1897
1935
|
type ConTextObject = {
|
|
1898
1936
|
message_id: string;
|
|
1899
1937
|
};
|
|
1938
|
+
type MessageRecipientType = 'individual' | 'group';
|
|
1900
1939
|
type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
1901
|
-
recipient_type?:
|
|
1940
|
+
recipient_type?: MessageRecipientType;
|
|
1902
1941
|
to: string;
|
|
1903
1942
|
context?: ConTextObject;
|
|
1904
1943
|
type?: T;
|
|
@@ -1906,23 +1945,23 @@ type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
|
1906
1945
|
interface MessageRequestParams<T> {
|
|
1907
1946
|
body: T;
|
|
1908
1947
|
to: string;
|
|
1948
|
+
recipientType?: MessageRecipientType;
|
|
1909
1949
|
replyMessageId?: string;
|
|
1910
1950
|
}
|
|
1911
1951
|
interface StatusParams {
|
|
1912
|
-
status:
|
|
1952
|
+
status: StatusObject['status'];
|
|
1913
1953
|
messageId: string;
|
|
1914
|
-
typingIndicator?:
|
|
1915
|
-
type: string;
|
|
1916
|
-
};
|
|
1954
|
+
typingIndicator?: TypingIndicatorObject;
|
|
1917
1955
|
}
|
|
1918
1956
|
type MessagesResponse = GeneralMessageBody & {
|
|
1919
|
-
contacts:
|
|
1957
|
+
contacts: Array<{
|
|
1920
1958
|
input: string;
|
|
1921
1959
|
wa_id: string;
|
|
1922
|
-
}
|
|
1923
|
-
messages:
|
|
1960
|
+
}>;
|
|
1961
|
+
messages: Array<{
|
|
1924
1962
|
id: string;
|
|
1925
|
-
|
|
1963
|
+
message_status?: 'accepted' | 'held_for_quality_assessment' | 'paused';
|
|
1964
|
+
}>;
|
|
1926
1965
|
};
|
|
1927
1966
|
declare class MessagesClass extends BaseClass {
|
|
1928
1967
|
text(params: TextMessageParams): Promise<MessagesResponse>;
|
|
@@ -1959,11 +1998,11 @@ declare class MessagesClass extends BaseClass {
|
|
|
1959
1998
|
reaction(params: ReactionParams): Promise<MessagesResponse>;
|
|
1960
1999
|
markAsRead(params: {
|
|
1961
2000
|
messageId: string;
|
|
1962
|
-
}): Promise<
|
|
2001
|
+
}): Promise<StatusResponse>;
|
|
1963
2002
|
showTypingIndicator(params: {
|
|
1964
2003
|
messageId: string;
|
|
1965
|
-
}): Promise<
|
|
1966
|
-
status(params: StatusParams): Promise<
|
|
2004
|
+
}): Promise<StatusResponse>;
|
|
2005
|
+
status(params: StatusParams): Promise<StatusResponse>;
|
|
1967
2006
|
}
|
|
1968
2007
|
//#endregion
|
|
1969
2008
|
//#region src/api/marketingMessages/types/marketingMessages.d.ts
|
|
@@ -1975,6 +2014,7 @@ type MarketingMessageRequest = {
|
|
|
1975
2014
|
to: string;
|
|
1976
2015
|
template: MessageTemplateObject<ComponentTypesEnum>;
|
|
1977
2016
|
message_activity_sharing?: boolean;
|
|
2017
|
+
product_policy?: 'CLOUD_API_FALLBACK' | 'STRICT';
|
|
1978
2018
|
};
|
|
1979
2019
|
interface MarketingMessagesClass {
|
|
1980
2020
|
sendTemplateMessage(params: MarketingMessageRequest): Promise<MessagesResponse>;
|
|
@@ -2076,12 +2116,15 @@ interface PaymentsClass {
|
|
|
2076
2116
|
}
|
|
2077
2117
|
//#endregion
|
|
2078
2118
|
//#region src/api/phone/types/common.d.ts
|
|
2079
|
-
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA';
|
|
2119
|
+
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA' | 'UNKNOWN';
|
|
2080
2120
|
type AccountMode = 'LIVE' | 'SANDBOX';
|
|
2081
2121
|
type CodeVerificationStatus = 'NOT_VERIFIED' | 'VERIFIED' | 'EXPIRED' | 'PENDING' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED' | 'RATE_LIMITED' | 'FLAGGED' | 'CONNECTED' | 'DISCONNECTED' | 'UNKNOWN' | 'UNVERIFIED';
|
|
2082
2122
|
type MessagingLimitTier = 'TIER_50' | 'TIER_250' | 'TIER_1K' | 'TIER_10K' | 'TIER_100K' | 'TIER_UNLIMITED';
|
|
2083
2123
|
type PlatformType = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE';
|
|
2084
2124
|
type ThroughputLevel = 'STANDARD' | 'HIGH' | 'NOT_APPLICABLE';
|
|
2125
|
+
type PhoneNumberStatus = 'PENDING' | 'LINKED' | 'UNLINKED' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED';
|
|
2126
|
+
type UnifiedCertStatus = 'APPROVED' | 'PENDING' | 'REJECTED' | 'EXPIRED' | 'NONE' | string;
|
|
2127
|
+
type HostPlatform = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE' | string;
|
|
2085
2128
|
type HealthStatusEntity = {
|
|
2086
2129
|
entity_type: string;
|
|
2087
2130
|
id: string;
|
|
@@ -2103,8 +2146,18 @@ type QualityScore = {
|
|
|
2103
2146
|
type Throughput = {
|
|
2104
2147
|
level: ThroughputLevel;
|
|
2105
2148
|
};
|
|
2106
|
-
type PhoneNumberField = 'display_phone_number' | 'id' | 'quality_rating' | 'verified_name' | 'account_mode' | 'certificate' | 'code_verification_status' | 'conversational_automation' | 'eligibility_for_api_business_global_search' | 'health_status' | 'is_official_business_account' | 'is_on_biz_app' | 'is_pin_enabled' | 'is_preverified_number' | 'last_onboarded_time' | 'messaging_limit_tier' | 'name_status' | 'new_certificate' | 'new_name_status' | 'platform_type' | 'quality_score' | 'search_visibility' | 'status' | 'throughput';
|
|
2149
|
+
type PhoneNumberField = 'country_code' | 'country_dial_code' | 'display_phone_number' | 'id' | 'quality_rating' | 'verified_name' | 'account_mode' | 'certificate' | 'code_verification_status' | 'conversational_automation' | 'eligibility_for_api_business_global_search' | 'health_status' | 'host_platform' | 'is_official_business_account' | 'is_on_biz_app' | 'is_pin_enabled' | 'is_preverified_number' | 'last_onboarded_time' | 'messaging_limit_tier' | 'name_status' | 'new_certificate' | 'new_name_status' | 'platform_type' | 'quality_score' | 'search_visibility' | 'status' | 'throughput' | 'unified_cert_status' | 'username';
|
|
2107
2150
|
type PhoneNumberFieldsParam = PhoneNumberField[] | string;
|
|
2151
|
+
type PhoneNumberSort = 'creation_time.asc' | 'creation_time.desc' | 'last_onboarded_time.asc' | 'last_onboarded_time.desc' | (string & {});
|
|
2152
|
+
type PhoneNumberFilter = Record<string, unknown>;
|
|
2153
|
+
type PhoneNumbersListParams = {
|
|
2154
|
+
fields?: PhoneNumberFieldsParam;
|
|
2155
|
+
filtering?: PhoneNumberFilter[] | string;
|
|
2156
|
+
sort?: PhoneNumberSort;
|
|
2157
|
+
limit?: number;
|
|
2158
|
+
after?: string;
|
|
2159
|
+
before?: string;
|
|
2160
|
+
};
|
|
2108
2161
|
type PhoneNumberResponse = {
|
|
2109
2162
|
display_phone_number: string;
|
|
2110
2163
|
id: string;
|
|
@@ -2114,8 +2167,11 @@ type PhoneNumberResponse = {
|
|
|
2114
2167
|
certificate?: string;
|
|
2115
2168
|
code_verification_status?: CodeVerificationStatus;
|
|
2116
2169
|
conversational_automation?: Record<string, unknown>;
|
|
2170
|
+
country_code?: string;
|
|
2171
|
+
country_dial_code?: string;
|
|
2117
2172
|
eligibility_for_api_business_global_search?: string;
|
|
2118
2173
|
health_status?: HealthStatus;
|
|
2174
|
+
host_platform?: HostPlatform;
|
|
2119
2175
|
is_official_business_account?: boolean;
|
|
2120
2176
|
is_on_biz_app?: boolean;
|
|
2121
2177
|
is_pin_enabled?: boolean;
|
|
@@ -2128,8 +2184,10 @@ type PhoneNumberResponse = {
|
|
|
2128
2184
|
platform_type?: PlatformType;
|
|
2129
2185
|
quality_score?: QualityScore;
|
|
2130
2186
|
search_visibility?: string;
|
|
2131
|
-
status?: CodeVerificationStatus;
|
|
2187
|
+
status?: PhoneNumberStatus | CodeVerificationStatus;
|
|
2132
2188
|
throughput?: Throughput;
|
|
2189
|
+
unified_cert_status?: UnifiedCertStatus;
|
|
2190
|
+
username?: string;
|
|
2133
2191
|
};
|
|
2134
2192
|
type Cursors = {
|
|
2135
2193
|
before: string;
|
|
@@ -2186,7 +2244,7 @@ type ThroughputResponse = {
|
|
|
2186
2244
|
};
|
|
2187
2245
|
interface PhoneNumberClass {
|
|
2188
2246
|
getPhoneNumberById(fields?: PhoneNumberFieldsParam): Promise<PhoneNumberResponse>;
|
|
2189
|
-
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
2247
|
+
getPhoneNumbers(params?: PhoneNumbersListParams): Promise<PhoneNumbersResponse>;
|
|
2190
2248
|
requestVerificationCode(params: RequestVerificationCodeRequest): Promise<ResponseSuccess>;
|
|
2191
2249
|
verifyCode(params: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
2192
2250
|
setConversationalAutomation(params: ConversationalAutomationRequest): Promise<ResponseSuccess>;
|
|
@@ -3144,8 +3202,10 @@ interface AccountSettingsUpdateWebhookValue {
|
|
|
3144
3202
|
*/
|
|
3145
3203
|
interface WebhookContact {
|
|
3146
3204
|
wa_id: string;
|
|
3205
|
+
user_id?: string;
|
|
3147
3206
|
profile: {
|
|
3148
3207
|
name: string;
|
|
3208
|
+
username?: string;
|
|
3149
3209
|
};
|
|
3150
3210
|
identity_key_hash?: string;
|
|
3151
3211
|
}
|
|
@@ -3358,10 +3418,13 @@ interface CallEntry {
|
|
|
3358
3418
|
}
|
|
3359
3419
|
interface CallContact {
|
|
3360
3420
|
profile: {
|
|
3361
|
-
/** Display name of the caller */name: string;
|
|
3421
|
+
/** Display name of the caller */name: string; /** Business-scoped username, when Meta includes it */
|
|
3422
|
+
username?: string;
|
|
3362
3423
|
};
|
|
3363
3424
|
/** WhatsApp ID of the caller */
|
|
3364
3425
|
wa_id: string;
|
|
3426
|
+
/** Business-scoped user ID, when Meta includes it */
|
|
3427
|
+
user_id?: string;
|
|
3365
3428
|
}
|
|
3366
3429
|
interface CallsValue {
|
|
3367
3430
|
messaging_product: 'whatsapp';
|
|
@@ -5301,6 +5364,7 @@ interface FlowClass {
|
|
|
5301
5364
|
* @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/flows/ | WhatsApp Flows Documentation}
|
|
5302
5365
|
*/
|
|
5303
5366
|
declare class FlowApi extends BaseAPI implements FlowClass {
|
|
5367
|
+
private appendFormValue;
|
|
5304
5368
|
/**
|
|
5305
5369
|
* List all flows belonging to a WhatsApp Business Account.
|
|
5306
5370
|
*
|
|
@@ -5758,6 +5822,7 @@ declare class MarketingMessagesApi extends BaseAPI implements MarketingMessagesC
|
|
|
5758
5822
|
* @param params.to - The recipient's WhatsApp phone number.
|
|
5759
5823
|
* @param params.template - The template configuration (name, language, components).
|
|
5760
5824
|
* @param params.message_activity_sharing - Optional flag to enable message activity sharing.
|
|
5825
|
+
* @param params.product_policy - Optional product policy for marketing messages.
|
|
5761
5826
|
* @returns The messages response with message ID and status.
|
|
5762
5827
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/send-marketing-messages/
|
|
5763
5828
|
*/
|
|
@@ -5974,7 +6039,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
5974
6039
|
* );
|
|
5975
6040
|
* ```
|
|
5976
6041
|
*/
|
|
5977
|
-
bodyBuilder<T extends MessageTypesEnum>(type: T, payload: MessagePayloadType<T>, to: string, replyMessageId?: string): MessageRequestBody<T>;
|
|
6042
|
+
bodyBuilder<T extends MessageTypesEnum>(type: T, payload: MessagePayloadType<T>, to: string, replyMessageId?: string, recipientType?: MessageRecipientType): MessageRequestBody<T>;
|
|
5978
6043
|
/**
|
|
5979
6044
|
* Sends a request to the WhatsApp Cloud API messages endpoint.
|
|
5980
6045
|
*
|
|
@@ -6282,7 +6347,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6282
6347
|
* });
|
|
6283
6348
|
* ```
|
|
6284
6349
|
*/
|
|
6285
|
-
status(params: StatusParams): Promise<
|
|
6350
|
+
status(params: StatusParams): Promise<StatusResponse>;
|
|
6286
6351
|
/**
|
|
6287
6352
|
* Marks a message as read, sending a read receipt to the sender.
|
|
6288
6353
|
*
|
|
@@ -6302,7 +6367,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6302
6367
|
*/
|
|
6303
6368
|
markAsRead(params: {
|
|
6304
6369
|
messageId: string;
|
|
6305
|
-
}): Promise<
|
|
6370
|
+
}): Promise<StatusResponse>;
|
|
6306
6371
|
/**
|
|
6307
6372
|
* Shows a typing indicator to the user, indicating that a response is being composed.
|
|
6308
6373
|
*
|
|
@@ -6322,7 +6387,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6322
6387
|
*/
|
|
6323
6388
|
showTypingIndicator(params: {
|
|
6324
6389
|
messageId: string;
|
|
6325
|
-
}): Promise<
|
|
6390
|
+
}): Promise<StatusResponse>;
|
|
6326
6391
|
/**
|
|
6327
6392
|
* Sends a list interactive message via the WhatsApp Cloud API.
|
|
6328
6393
|
*
|
|
@@ -6709,6 +6774,7 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6709
6774
|
* Returns a list of all phone numbers registered under the configured WABA,
|
|
6710
6775
|
* including their verification status, quality rating, and display information.
|
|
6711
6776
|
*
|
|
6777
|
+
* @param params - Optional list query parameters such as fields, filtering, sort, and paging.
|
|
6712
6778
|
* @returns A promise that resolves with the list of phone numbers.
|
|
6713
6779
|
*
|
|
6714
6780
|
* @see {@link https://developers.facebook.com/docs/whatsapp/cloud-api/reference/phone-numbers#get-all | List Phone Numbers}
|
|
@@ -6721,7 +6787,7 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6721
6787
|
* }
|
|
6722
6788
|
* ```
|
|
6723
6789
|
*/
|
|
6724
|
-
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
6790
|
+
getPhoneNumbers(params?: PhoneNumbersListParams): Promise<PhoneNumbersResponse>;
|
|
6725
6791
|
/**
|
|
6726
6792
|
* Request a verification code for the phone number.
|
|
6727
6793
|
*
|
|
@@ -8489,5 +8555,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
|
|
|
8489
8555
|
*/
|
|
8490
8556
|
declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
|
|
8491
8557
|
//#endregion
|
|
8492
|
-
export { AUTHORIZATION_ERROR_CODES, AcceptCallRequest, AccountMode, ApiPermissionErrorCode, AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, AudioMessage, AudioMessageHandler, AudioProcessedMessage, AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, BaseApiRequest, BaseApiResponse, BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, BodyOptions, BusinessProfileApi, BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, BusinessVerticalEnum, ButtonMessage, ButtonMessageHandler, ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, ButtonProcessedMessage, CALLING_ERROR_CODES, CallAction, CallActionResponse, CallHours, CallHoursDay, CallHoursStatus, CallIconVisibility, CallPermission, CallPermissionAction, CallPermissionLimit, CallPermissionsResponse, CallSdpType, CallSession, CallbackPermissionStatus, CallingApi, CallingClass, CallingSettings, CallingSettingsResponse, CallingStatus, CarouselCard, CarouselOptions, CatalogButton, CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, CommerceClass, CommerceSetting, CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactInfo, ContactObject, ContactsMessage, ContactsMessageHandler, ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, CopyCodeButton, CouponTemplateOptions, CreateFlowResponse, CreateQrCodeRequest, CreateUploadSessionParams, CurrencyCodesEnum, CurrencyParameter, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, DateTimeParameter, DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, DocumentMessage, DocumentMessageHandler, DocumentProcessedMessage, EncryptionApi, EncryptionClass, EncryptionKeyPair, EncryptionPublicKeyResponse, ErrorWebhookValue, ExpressRequest, ExpressResponse, ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, Flow, FlowActionEnum, FlowApi, FlowAsset, FlowAssetsResponse, FlowButton, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHandler, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, FooterOptions, GROUP_ERROR_CODES, GeneralHeaderInterface, GeneralMessageBody, GeneralRequestBody, GetUploadHandleParams, GroupCreateRequest, GroupCreateResponse, GroupInfoField, GroupInfoFieldsParam, GroupInfoResponse, GroupInviteLinkResponse, GroupJoinApprovalMode, GroupJoinRequest, GroupJoinRequestError, GroupJoinRequestFailure, GroupJoinRequestsActionResponse, GroupJoinRequestsResponse, GroupListParams, GroupListResponse, GroupMessage, GroupParticipant, GroupSettingsResponse, GroupsApi, GroupsClass, HeaderOptions, HealthStatus, HealthStatusEntity, HolidaySchedule, HttpMethods, HttpMethodsEnum, HttpMethodsType, HttpsClientClass, HttpsClientResponseClass, INTEGRITY_ERROR_CODES, ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, ImageMessage, ImageMessageHandler, ImageProcessedMessage, InitiateCallRequest, InitiateCallResponse, InteractiveButtonReplyMessage, InteractiveListReplyMessage, InteractiveMessage, InteractiveMessageHandler, InteractiveObject, InteractiveProcessedMessage, InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, LocationInfo, LocationMessage, LocationMessageHandler, LocationObject, LocationParameter, LocationProcessedMessage, Logger, LoggerInterface, MPMButton, MPMTemplateOptions, MarketingMessageRequest, MarketingMessagesApi, MarketingMessagesClass, MediaApi, MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, MediaInfo, MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageHandler, MessageRequestBody, MessageRequestParams, MessageStatus, MessageTemplateObject, MessageTypes, MessageTypesEnum, MessageTypesType, MessageWebhookValue, MessagesClass, MessagesResponse, MessagingLimitTier, MetaError, MetaErrorData, MetaErrorDetail, NextFunction, NextJsAppWebhookConfig, NextJsWebhookConfig, OTPButton, OTPTemplateOptions, OrderInfo, OrderMessage, OrderMessageHandler, OrderProcessedMessage, Pagination, PaginationCursors, Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PaymentConfiguration, PaymentConfigurationCode, PaymentConfigurationCreateRequest, PaymentConfigurationCreateResponse, PaymentConfigurationDeleteRequest, PaymentConfigurationOauthLinkRequest, PaymentConfigurationOauthLinkResponse, PaymentConfigurationProvider, PaymentConfigurationStatus, PaymentConfigurationUpdateRequest, PaymentConfigurationUpdateResponse, PaymentConfigurationsResponse, PaymentsApi, PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberResponse, PhoneNumbersResponse, PlatformType, PreAcceptCallRequest, ProcessedMessage, ProcessedStatus, ProductCardCarouselTemplateOptions, ProductCarouselCard, ProductParameter, ProductSection, QrCodeApi, QrCodeClass, QrCodeResponse, QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, ReactionInfo, ReactionMessage, ReactionMessageHandler, ReactionParams, ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, RegistrationClass, RegistrationRequest, RejectCallRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestVerificationCodeRequest, RequesterClass, RequesterResponseInterface, ResponseData, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody, ResponsePagination, ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, SPMTemplateOptions, SipServer, SipSettings, SipStatus, Status, StatusEnum, StatusHandler, StatusParams, StatusType, StatusWebhook, StatusWebhookValue, StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, StickerMessage, StickerMessageHandler, StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, SystemMessage, SystemMessageHandler, SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptions, TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, TerminateCallRequest, TextMessage, TextMessageHandler, TextMessageParams, TextObject, TextParameter, TextProcessedMessage, Throughput, ThroughputLevel, TwoStepVerificationApi, TwoStepVerificationClass, TwoStepVerificationParams, TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnsupportedMessage, UpdateBusinessProfileRequest, UpdateCallingSettingsRequest, UpdateCommerceSettingsRequest, UpdateFlowResponse, UpdateGroupSettingsRequest, UpdateQrCodeRequest, UpdateWabaSubscription, UploadBusinessProfileResponse, UploadHandle, UploadMediaParams, UploadMediaResponse, UploadSession, UploadSessionResponse, ValidateFlowJsonResponse, VerifyCodeRequest, VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, VideoMessage, VideoMessageHandler, VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, WabaConfigType, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions, WebhookContact, WebhookEvent, WebhookHandlerContext, WebhookMessage, WebhookPayload, WebhookProcessor, WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, WebhookValue, WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, WhatsAppConfig, WhatsAppError, WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
|
|
8558
|
+
export { AUTHORIZATION_ERROR_CODES, AcceptCallRequest, AccountMode, ApiPermissionErrorCode, AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, AudioMessage, AudioMessageHandler, AudioProcessedMessage, AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, BaseApiRequest, BaseApiResponse, BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, BodyOptions, BusinessProfileApi, BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, BusinessVerticalEnum, ButtonMessage, ButtonMessageHandler, ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, ButtonProcessedMessage, CALLING_ERROR_CODES, CallAction, CallActionResponse, CallHours, CallHoursDay, CallHoursStatus, CallIconVisibility, CallPermission, CallPermissionAction, CallPermissionLimit, CallPermissionsResponse, CallSdpType, CallSession, CallbackPermissionStatus, CallingApi, CallingClass, CallingSettings, CallingSettingsResponse, CallingStatus, CarouselCard, CarouselOptions, CatalogButton, CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, CommerceClass, CommerceSetting, CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactInfo, ContactObject, ContactsMessage, ContactsMessageHandler, ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, CopyCodeButton, CouponTemplateOptions, CreateFlowResponse, CreateQrCodeRequest, CreateUploadSessionParams, CurrencyCodesEnum, CurrencyParameter, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, DateTimeParameter, DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, DocumentMessage, DocumentMessageHandler, DocumentProcessedMessage, EncryptionApi, EncryptionClass, EncryptionKeyPair, EncryptionPublicKeyResponse, ErrorWebhookValue, ExpressRequest, ExpressResponse, ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, Flow, FlowActionEnum, FlowApi, FlowAsset, FlowAssetsResponse, FlowButton, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHandler, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, FooterOptions, GROUP_ERROR_CODES, GeneralHeaderInterface, GeneralMessageBody, GeneralRequestBody, GetUploadHandleParams, GroupCreateRequest, GroupCreateResponse, GroupInfoField, GroupInfoFieldsParam, GroupInfoResponse, GroupInviteLinkResponse, GroupJoinApprovalMode, GroupJoinRequest, GroupJoinRequestError, GroupJoinRequestFailure, GroupJoinRequestsActionResponse, GroupJoinRequestsResponse, GroupListParams, GroupListResponse, GroupMessage, GroupParticipant, GroupSettingsResponse, GroupsApi, GroupsClass, HeaderOptions, HealthStatus, HealthStatusEntity, HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, HttpsClientClass, HttpsClientResponseClass, INTEGRITY_ERROR_CODES, ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, ImageMessage, ImageMessageHandler, ImageProcessedMessage, InitiateCallRequest, InitiateCallResponse, InteractiveButtonReplyMessage, InteractiveListReplyMessage, InteractiveMessage, InteractiveMessageHandler, InteractiveObject, InteractiveProcessedMessage, InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, LocationInfo, LocationMessage, LocationMessageHandler, LocationObject, LocationParameter, LocationProcessedMessage, Logger, LoggerInterface, MPMButton, MPMTemplateOptions, MarketingMessageRequest, MarketingMessagesApi, MarketingMessagesClass, MediaApi, MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, MediaInfo, MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageHandler, MessageRecipientType, MessageRequestBody, MessageRequestParams, MessageStatus, MessageTemplateObject, MessageTypes, MessageTypesEnum, MessageTypesType, MessageWebhookValue, MessagesClass, MessagesResponse, MessagingLimitTier, MetaError, MetaErrorData, MetaErrorDetail, NextFunction, NextJsAppWebhookConfig, NextJsWebhookConfig, OTPButton, OTPTemplateOptions, OrderInfo, OrderMessage, OrderMessageHandler, OrderProcessedMessage, Pagination, PaginationCursors, Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PaymentConfiguration, PaymentConfigurationCode, PaymentConfigurationCreateRequest, PaymentConfigurationCreateResponse, PaymentConfigurationDeleteRequest, PaymentConfigurationOauthLinkRequest, PaymentConfigurationOauthLinkResponse, PaymentConfigurationProvider, PaymentConfigurationStatus, PaymentConfigurationUpdateRequest, PaymentConfigurationUpdateResponse, PaymentConfigurationsResponse, PaymentsApi, PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, PreAcceptCallRequest, ProcessedMessage, ProcessedStatus, ProductCardCarouselTemplateOptions, ProductCarouselCard, ProductParameter, ProductSection, QrCodeApi, QrCodeClass, QrCodeResponse, QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, ReactionInfo, ReactionMessage, ReactionMessageHandler, ReactionParams, ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, RegistrationClass, RegistrationRequest, RejectCallRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestVerificationCodeRequest, RequesterClass, RequesterResponseInterface, ResponseData, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody, ResponsePagination, ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, SPMTemplateOptions, SipServer, SipSettings, SipStatus, Status, StatusEnum, StatusHandler, StatusParams, StatusResponse, StatusType, StatusWebhook, StatusWebhookValue, StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, StickerMessage, StickerMessageHandler, StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, SystemMessage, SystemMessageHandler, SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptions, TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, TerminateCallRequest, TextMessage, TextMessageHandler, TextMessageParams, TextObject, TextParameter, TextProcessedMessage, Throughput, ThroughputLevel, TwoStepVerificationApi, TwoStepVerificationClass, TwoStepVerificationParams, TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, UnsupportedMessage, UpdateBusinessProfileRequest, UpdateCallingSettingsRequest, UpdateCommerceSettingsRequest, UpdateFlowResponse, UpdateGroupSettingsRequest, UpdateQrCodeRequest, UpdateWabaSubscription, UploadBusinessProfileResponse, UploadHandle, UploadMediaParams, UploadMediaResponse, UploadSession, UploadSessionResponse, ValidateFlowJsonResponse, VerifyCodeRequest, VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, VideoMessage, VideoMessageHandler, VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, WabaConfigType, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions, WebhookContact, WebhookEvent, WebhookHandlerContext, WebhookMessage, WebhookPayload, WebhookProcessor, WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, WebhookValue, WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, WhatsAppConfig, WhatsAppError, WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
|
|
8493
8559
|
//# sourceMappingURL=index.d.mts.map
|