meta-cloud-api 2.7.0 → 3.1.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 +507 -28
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -4
- 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 +216 -21
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.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",
|
|
@@ -793,6 +795,7 @@ type WabaConfigType = {
|
|
|
793
795
|
//#endregion
|
|
794
796
|
//#region src/types/request.d.ts
|
|
795
797
|
type GeneralRequestBody = Record<string, unknown>;
|
|
798
|
+
type UrlEncodedFormBody = Record<string, string | string[]>;
|
|
796
799
|
interface GeneralHeaderInterface {
|
|
797
800
|
/**
|
|
798
801
|
* Authorization token. This is required for all HTTP requests made to the graph API.
|
|
@@ -847,7 +850,7 @@ declare class RequesterClass {
|
|
|
847
850
|
sendRequest: (method: HttpMethodsEnum, path: string, timeout: number, body?: GeneralRequestBody, contentType?: string, additionalHeaders?: Record<string, string>) => Promise<RequesterResponseInterface<unknown>>;
|
|
848
851
|
getJson<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body?: GeneralRequestBody, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
849
852
|
sendFormData<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData: FormData, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
850
|
-
sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData:
|
|
853
|
+
sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData: UrlEncodedFormBody, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
851
854
|
updateTimeout(timeout: number): void;
|
|
852
855
|
updateAccessToken(accessToken: string): void;
|
|
853
856
|
}
|
|
@@ -862,7 +865,7 @@ declare class BaseAPI implements BaseClass {
|
|
|
862
865
|
constructor(config: WabaConfigType, client: RequesterClass);
|
|
863
866
|
protected sendJson<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body?: any): Promise<T>;
|
|
864
867
|
protected sendFormData<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body?: any): Promise<T>;
|
|
865
|
-
protected sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body
|
|
868
|
+
protected sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body: UrlEncodedFormBody): Promise<T>;
|
|
866
869
|
}
|
|
867
870
|
//#endregion
|
|
868
871
|
//#region src/api/blockUsers/types/blockUsers.d.ts
|
|
@@ -1066,6 +1069,88 @@ declare class BlockUsersApi extends BaseAPI implements BlockUsersClass {
|
|
|
1066
1069
|
listBlockedUsers(params?: ListBlockedUsersParams): Promise<ListBlockedUsersResponse>;
|
|
1067
1070
|
}
|
|
1068
1071
|
//#endregion
|
|
1072
|
+
//#region src/api/business/types/common.d.ts
|
|
1073
|
+
type BusinessGraphObject = Record<string, unknown>;
|
|
1074
|
+
type BusinessFieldsParam = string[] | string;
|
|
1075
|
+
type CursorPaginationParams = {
|
|
1076
|
+
limit?: number;
|
|
1077
|
+
after?: string;
|
|
1078
|
+
before?: string;
|
|
1079
|
+
};
|
|
1080
|
+
type BusinessGraphListResponse<T = BusinessGraphObject> = {
|
|
1081
|
+
data: T[];
|
|
1082
|
+
paging?: Paging;
|
|
1083
|
+
summary?: BusinessGraphObject;
|
|
1084
|
+
};
|
|
1085
|
+
type BusinessListParams = CursorPaginationParams & {
|
|
1086
|
+
fields?: BusinessFieldsParam;
|
|
1087
|
+
filtering?: BusinessGraphObject[] | string;
|
|
1088
|
+
sort?: string;
|
|
1089
|
+
};
|
|
1090
|
+
type AddPhoneNumbersRequest = {
|
|
1091
|
+
phone_number: string;
|
|
1092
|
+
verified_name?: string;
|
|
1093
|
+
[key: string]: unknown;
|
|
1094
|
+
};
|
|
1095
|
+
type SharePreVerifiedPhoneNumberRequest = {
|
|
1096
|
+
preverified_phone_number_id: string;
|
|
1097
|
+
partner_business_id: string;
|
|
1098
|
+
[key: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
type OnboardPartnersToMMLiteRequest = {
|
|
1101
|
+
solution_id?: string;
|
|
1102
|
+
[key: string]: unknown;
|
|
1103
|
+
};
|
|
1104
|
+
type RequestPreVerifiedPhoneNumberCodeRequest = {
|
|
1105
|
+
code_method: 'SMS' | 'VOICE';
|
|
1106
|
+
language?: string;
|
|
1107
|
+
[key: string]: unknown;
|
|
1108
|
+
};
|
|
1109
|
+
type VerifyPreVerifiedPhoneNumberCodeRequest = {
|
|
1110
|
+
code: string;
|
|
1111
|
+
[key: string]: unknown;
|
|
1112
|
+
};
|
|
1113
|
+
interface BusinessClass {
|
|
1114
|
+
getConnectedClientBusinesses(applicationId?: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1115
|
+
addPhoneNumbers(businessId: string, request: AddPhoneNumbersRequest): Promise<ResponseSuccess>;
|
|
1116
|
+
getBusinessPortfolio(businessId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1117
|
+
getPreVerifiedPhoneNumbers(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1118
|
+
getClientWhatsAppBusinessAccounts(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1119
|
+
onboardPartnersToMMLite(businessId: string, request: OnboardPartnersToMMLiteRequest): Promise<BusinessGraphObject>;
|
|
1120
|
+
getOwnedWhatsAppBusinessAccounts(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1121
|
+
sharePreVerifiedPhoneNumber(businessId: string, request: SharePreVerifiedPhoneNumberRequest): Promise<ResponseSuccess>;
|
|
1122
|
+
getCreditLines(businessId: string): Promise<BusinessGraphListResponse>;
|
|
1123
|
+
getAssignedWhatsAppBusinessAccounts(userId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1124
|
+
getWhatsAppAccountNumberDetails(accountNumberId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1125
|
+
getPreVerifiedPhoneNumberDetails(preVerifiedPhoneNumberId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1126
|
+
deletePreVerifiedPhoneNumber(preVerifiedPhoneNumberId: string): Promise<ResponseSuccess>;
|
|
1127
|
+
getPreVerifiedPhoneNumberPartners(preVerifiedPhoneNumberId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1128
|
+
requestPreVerifiedPhoneNumberCode(preVerifiedPhoneNumberId: string, request: RequestPreVerifiedPhoneNumberCodeRequest): Promise<ResponseSuccess>;
|
|
1129
|
+
verifyPreVerifiedPhoneNumberCode(preVerifiedPhoneNumberId: string, request: VerifyPreVerifiedPhoneNumberCodeRequest): Promise<ResponseSuccess>;
|
|
1130
|
+
}
|
|
1131
|
+
//#endregion
|
|
1132
|
+
//#region src/api/business/BusinessApi.d.ts
|
|
1133
|
+
declare class BusinessApi extends BaseAPI implements BusinessClass {
|
|
1134
|
+
private toQuery;
|
|
1135
|
+
private fieldsQuery;
|
|
1136
|
+
getConnectedClientBusinesses(applicationId?: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1137
|
+
addPhoneNumbers(businessId: string, request: AddPhoneNumbersRequest): Promise<ResponseSuccess>;
|
|
1138
|
+
getBusinessPortfolio(businessId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1139
|
+
getPreVerifiedPhoneNumbers(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1140
|
+
getClientWhatsAppBusinessAccounts(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1141
|
+
onboardPartnersToMMLite(businessId: string, request: OnboardPartnersToMMLiteRequest): Promise<BusinessGraphObject>;
|
|
1142
|
+
getOwnedWhatsAppBusinessAccounts(businessId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1143
|
+
sharePreVerifiedPhoneNumber(businessId: string, request: SharePreVerifiedPhoneNumberRequest): Promise<ResponseSuccess>;
|
|
1144
|
+
getCreditLines(businessId: string): Promise<BusinessGraphListResponse>;
|
|
1145
|
+
getAssignedWhatsAppBusinessAccounts(userId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1146
|
+
getWhatsAppAccountNumberDetails(accountNumberId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1147
|
+
getPreVerifiedPhoneNumberDetails(preVerifiedPhoneNumberId: string, fields?: BusinessFieldsParam): Promise<BusinessGraphObject>;
|
|
1148
|
+
deletePreVerifiedPhoneNumber(preVerifiedPhoneNumberId: string): Promise<ResponseSuccess>;
|
|
1149
|
+
getPreVerifiedPhoneNumberPartners(preVerifiedPhoneNumberId: string, params?: BusinessListParams): Promise<BusinessGraphListResponse>;
|
|
1150
|
+
requestPreVerifiedPhoneNumberCode(preVerifiedPhoneNumberId: string, request: RequestPreVerifiedPhoneNumberCodeRequest): Promise<ResponseSuccess>;
|
|
1151
|
+
verifyPreVerifiedPhoneNumberCode(preVerifiedPhoneNumberId: string, request: VerifyPreVerifiedPhoneNumberCodeRequest): Promise<ResponseSuccess>;
|
|
1152
|
+
}
|
|
1153
|
+
//#endregion
|
|
1069
1154
|
//#region src/api/calling/types/calling.d.ts
|
|
1070
1155
|
/**
|
|
1071
1156
|
* Calling API Types
|
|
@@ -1469,6 +1554,12 @@ type GroupListParams = {
|
|
|
1469
1554
|
after?: string;
|
|
1470
1555
|
before?: string;
|
|
1471
1556
|
};
|
|
1557
|
+
type GroupParticipantInput = {
|
|
1558
|
+
user: string;
|
|
1559
|
+
};
|
|
1560
|
+
type GroupParticipantsRequest = {
|
|
1561
|
+
participants: GroupParticipantInput[];
|
|
1562
|
+
};
|
|
1472
1563
|
type UpdateGroupSettingsRequest = {
|
|
1473
1564
|
subject?: string;
|
|
1474
1565
|
description?: string;
|
|
@@ -1481,10 +1572,13 @@ interface GroupsClass {
|
|
|
1481
1572
|
getGroupInfo(groupId: string, fields?: GroupInfoFieldsParam): Promise<GroupInfoResponse>;
|
|
1482
1573
|
getActiveGroups(params?: GroupListParams): Promise<GroupListResponse>;
|
|
1483
1574
|
getGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
1575
|
+
createGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
1484
1576
|
resetGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
1577
|
+
deleteGroupInviteLink(groupId: string): Promise<ResponseSuccess>;
|
|
1485
1578
|
getJoinRequests(groupId: string): Promise<GroupJoinRequestsResponse>;
|
|
1486
1579
|
approveJoinRequests(groupId: string, joinRequestIds: string[]): Promise<GroupJoinRequestsActionResponse>;
|
|
1487
1580
|
rejectJoinRequests(groupId: string, joinRequestIds: string[]): Promise<GroupJoinRequestsActionResponse>;
|
|
1581
|
+
addParticipants(groupId: string, participants: string[]): Promise<ResponseSuccess>;
|
|
1488
1582
|
removeParticipants(groupId: string, participants: string[]): Promise<ResponseSuccess>;
|
|
1489
1583
|
updateGroupSettings(groupId: string, params: UpdateGroupSettingsRequest): Promise<GroupSettingsResponse>;
|
|
1490
1584
|
}
|
|
@@ -1571,6 +1665,7 @@ type MessageTemplateObject<T extends ComponentTypesEnum> = {
|
|
|
1571
1665
|
language: LanguageObject;
|
|
1572
1666
|
components?: (ComponentObject<T> | ButtonComponentObject)[];
|
|
1573
1667
|
};
|
|
1668
|
+
type MessageTemplateRequestBody<T extends ComponentTypesEnum> = MessageRequestBody<MessageTypesEnum.Template> & MessageTemplateObject<T>;
|
|
1574
1669
|
//#endregion
|
|
1575
1670
|
//#region src/api/messages/types/media.d.ts
|
|
1576
1671
|
type MetaMediaObject = {
|
|
@@ -1709,6 +1804,7 @@ type ReplyButtonObject = {
|
|
|
1709
1804
|
reply: ButtonObject;
|
|
1710
1805
|
};
|
|
1711
1806
|
type ActionObject = {
|
|
1807
|
+
button?: string;
|
|
1712
1808
|
buttons?: ReplyButtonObject[];
|
|
1713
1809
|
catalog_id?: string;
|
|
1714
1810
|
product_retailer_id?: string;
|
|
@@ -1719,6 +1815,7 @@ type HeaderObject = {
|
|
|
1719
1815
|
document?: DocumentMediaObject$1;
|
|
1720
1816
|
image?: ImageMediaObject$1;
|
|
1721
1817
|
text?: string;
|
|
1818
|
+
sub_text?: string;
|
|
1722
1819
|
video?: VideoMediaObject$1;
|
|
1723
1820
|
};
|
|
1724
1821
|
type ButtonInteractiveObject = {
|
|
@@ -1749,6 +1846,30 @@ type ProductListInteractiveObject = {
|
|
|
1749
1846
|
header: HeaderObject;
|
|
1750
1847
|
action: ActionObject;
|
|
1751
1848
|
};
|
|
1849
|
+
type CatalogMessageParameters = {
|
|
1850
|
+
thumbnail_product_retailer_id: string;
|
|
1851
|
+
};
|
|
1852
|
+
type CatalogMessageActionObject = {
|
|
1853
|
+
name: 'catalog_message';
|
|
1854
|
+
parameters?: CatalogMessageParameters;
|
|
1855
|
+
};
|
|
1856
|
+
type CatalogMessageInteractiveObject = {
|
|
1857
|
+
type: InteractiveTypesEnum.CatalogMessage | 'catalog_message';
|
|
1858
|
+
body?: SimpleTextObject;
|
|
1859
|
+
footer?: SimpleTextObject;
|
|
1860
|
+
header?: HeaderObject;
|
|
1861
|
+
action: CatalogMessageActionObject;
|
|
1862
|
+
};
|
|
1863
|
+
type CallPermissionRequestActionObject = {
|
|
1864
|
+
name: 'call_permission_request';
|
|
1865
|
+
};
|
|
1866
|
+
type CallPermissionRequestInteractiveObject = {
|
|
1867
|
+
type: InteractiveTypesEnum.CallPermissionRequest | 'call_permission_request';
|
|
1868
|
+
body?: SimpleTextObject;
|
|
1869
|
+
footer?: SimpleTextObject;
|
|
1870
|
+
header?: HeaderObject;
|
|
1871
|
+
action: CallPermissionRequestActionObject;
|
|
1872
|
+
};
|
|
1752
1873
|
type CtaUrlParameters = {
|
|
1753
1874
|
display_text: string;
|
|
1754
1875
|
url: string;
|
|
@@ -1877,13 +1998,14 @@ type CarouselInteractiveObject = {
|
|
|
1877
1998
|
body: SimpleTextObject;
|
|
1878
1999
|
action: CarouselActionObject;
|
|
1879
2000
|
};
|
|
1880
|
-
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
2001
|
+
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CatalogMessageInteractiveObject | CallPermissionRequestInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
1881
2002
|
//#endregion
|
|
1882
2003
|
//#region src/api/messages/types/reaction.d.ts
|
|
1883
2004
|
interface ReactionParams {
|
|
1884
2005
|
messageId: string;
|
|
1885
2006
|
emoji: string;
|
|
1886
2007
|
to: string;
|
|
2008
|
+
recipientType?: MessageRecipientType;
|
|
1887
2009
|
}
|
|
1888
2010
|
//#endregion
|
|
1889
2011
|
//#region src/api/messages/types/common.d.ts
|
|
@@ -1894,11 +2016,21 @@ type GeneralMessageBody = GeneralRequestBody & {
|
|
|
1894
2016
|
*/
|
|
1895
2017
|
messaging_product: 'whatsapp';
|
|
1896
2018
|
};
|
|
2019
|
+
type StatusObject = {
|
|
2020
|
+
status: 'read' | 'typing';
|
|
2021
|
+
message_id: string;
|
|
2022
|
+
typing_indicator?: TypingIndicatorObject;
|
|
2023
|
+
};
|
|
2024
|
+
type TypingIndicatorObject = {
|
|
2025
|
+
type: 'text';
|
|
2026
|
+
};
|
|
2027
|
+
type StatusResponse = ResponseSuccess;
|
|
1897
2028
|
type ConTextObject = {
|
|
1898
2029
|
message_id: string;
|
|
1899
2030
|
};
|
|
2031
|
+
type MessageRecipientType = 'individual' | 'group';
|
|
1900
2032
|
type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
1901
|
-
recipient_type?:
|
|
2033
|
+
recipient_type?: MessageRecipientType;
|
|
1902
2034
|
to: string;
|
|
1903
2035
|
context?: ConTextObject;
|
|
1904
2036
|
type?: T;
|
|
@@ -1906,24 +2038,32 @@ type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
|
1906
2038
|
interface MessageRequestParams<T> {
|
|
1907
2039
|
body: T;
|
|
1908
2040
|
to: string;
|
|
2041
|
+
recipientType?: MessageRecipientType;
|
|
1909
2042
|
replyMessageId?: string;
|
|
1910
2043
|
}
|
|
1911
2044
|
interface StatusParams {
|
|
1912
|
-
status:
|
|
2045
|
+
status: StatusObject['status'];
|
|
1913
2046
|
messageId: string;
|
|
1914
|
-
typingIndicator?:
|
|
1915
|
-
type: string;
|
|
1916
|
-
};
|
|
2047
|
+
typingIndicator?: TypingIndicatorObject;
|
|
1917
2048
|
}
|
|
1918
2049
|
type MessagesResponse = GeneralMessageBody & {
|
|
1919
|
-
contacts:
|
|
2050
|
+
contacts: Array<{
|
|
1920
2051
|
input: string;
|
|
1921
2052
|
wa_id: string;
|
|
1922
|
-
}
|
|
1923
|
-
messages:
|
|
2053
|
+
}>;
|
|
2054
|
+
messages: Array<{
|
|
1924
2055
|
id: string;
|
|
1925
|
-
|
|
2056
|
+
message_status?: 'accepted' | 'held_for_quality_assessment' | 'paused';
|
|
2057
|
+
}>;
|
|
1926
2058
|
};
|
|
2059
|
+
type EncryptedMessageRequest = GeneralMessageBody & {
|
|
2060
|
+
to: string;
|
|
2061
|
+
type?: string;
|
|
2062
|
+
encrypted?: Record<string, unknown>;
|
|
2063
|
+
jwe?: string;
|
|
2064
|
+
[key: string]: unknown;
|
|
2065
|
+
};
|
|
2066
|
+
type EncryptedMessagesResponse = MessagesResponse;
|
|
1927
2067
|
declare class MessagesClass extends BaseClass {
|
|
1928
2068
|
text(params: TextMessageParams): Promise<MessagesResponse>;
|
|
1929
2069
|
template(params: MessageRequestParams<MessageTemplateObject<ComponentTypesEnum>>): Promise<MessagesResponse>;
|
|
@@ -1957,13 +2097,14 @@ declare class MessagesClass extends BaseClass {
|
|
|
1957
2097
|
type: InteractiveTypesEnum.Carousel;
|
|
1958
2098
|
}>): Promise<MessagesResponse>;
|
|
1959
2099
|
reaction(params: ReactionParams): Promise<MessagesResponse>;
|
|
2100
|
+
encrypted(params: EncryptedMessageRequest): Promise<EncryptedMessagesResponse>;
|
|
1960
2101
|
markAsRead(params: {
|
|
1961
2102
|
messageId: string;
|
|
1962
|
-
}): Promise<
|
|
2103
|
+
}): Promise<StatusResponse>;
|
|
1963
2104
|
showTypingIndicator(params: {
|
|
1964
2105
|
messageId: string;
|
|
1965
|
-
}): Promise<
|
|
1966
|
-
status(params: StatusParams): Promise<
|
|
2106
|
+
}): Promise<StatusResponse>;
|
|
2107
|
+
status(params: StatusParams): Promise<StatusResponse>;
|
|
1967
2108
|
}
|
|
1968
2109
|
//#endregion
|
|
1969
2110
|
//#region src/api/marketingMessages/types/marketingMessages.d.ts
|
|
@@ -1975,6 +2116,7 @@ type MarketingMessageRequest = {
|
|
|
1975
2116
|
to: string;
|
|
1976
2117
|
template: MessageTemplateObject<ComponentTypesEnum>;
|
|
1977
2118
|
message_activity_sharing?: boolean;
|
|
2119
|
+
product_policy?: 'CLOUD_API_FALLBACK' | 'STRICT';
|
|
1978
2120
|
};
|
|
1979
2121
|
interface MarketingMessagesClass {
|
|
1980
2122
|
sendTemplateMessage(params: MarketingMessageRequest): Promise<MessagesResponse>;
|
|
@@ -2076,12 +2218,15 @@ interface PaymentsClass {
|
|
|
2076
2218
|
}
|
|
2077
2219
|
//#endregion
|
|
2078
2220
|
//#region src/api/phone/types/common.d.ts
|
|
2079
|
-
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA';
|
|
2221
|
+
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA' | 'UNKNOWN';
|
|
2080
2222
|
type AccountMode = 'LIVE' | 'SANDBOX';
|
|
2081
2223
|
type CodeVerificationStatus = 'NOT_VERIFIED' | 'VERIFIED' | 'EXPIRED' | 'PENDING' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED' | 'RATE_LIMITED' | 'FLAGGED' | 'CONNECTED' | 'DISCONNECTED' | 'UNKNOWN' | 'UNVERIFIED';
|
|
2082
|
-
type MessagingLimitTier = 'TIER_50' | 'TIER_250' | 'TIER_1K' | 'TIER_10K' | 'TIER_100K' | 'TIER_UNLIMITED';
|
|
2224
|
+
type MessagingLimitTier = 'TIER_50' | 'TIER_250' | 'TIER_1K' | 'TIER_2K' | 'TIER_10K' | 'TIER_100K' | 'TIER_UNLIMITED' | (string & {});
|
|
2083
2225
|
type PlatformType = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE';
|
|
2084
2226
|
type ThroughputLevel = 'STANDARD' | 'HIGH' | 'NOT_APPLICABLE';
|
|
2227
|
+
type PhoneNumberStatus = 'PENDING' | 'LINKED' | 'UNLINKED' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED';
|
|
2228
|
+
type UnifiedCertStatus = 'APPROVED' | 'PENDING' | 'REJECTED' | 'EXPIRED' | 'NONE' | string;
|
|
2229
|
+
type HostPlatform = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE' | string;
|
|
2085
2230
|
type HealthStatusEntity = {
|
|
2086
2231
|
entity_type: string;
|
|
2087
2232
|
id: string;
|
|
@@ -2103,8 +2248,73 @@ type QualityScore = {
|
|
|
2103
2248
|
type Throughput = {
|
|
2104
2249
|
level: ThroughputLevel;
|
|
2105
2250
|
};
|
|
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';
|
|
2251
|
+
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
2252
|
type PhoneNumberFieldsParam = PhoneNumberField[] | string;
|
|
2253
|
+
type PhoneNumberSort = 'creation_time.asc' | 'creation_time.desc' | 'last_onboarded_time.asc' | 'last_onboarded_time.desc' | (string & {});
|
|
2254
|
+
type PhoneNumberFilter = Record<string, unknown>;
|
|
2255
|
+
type PhoneNumbersListParams = {
|
|
2256
|
+
fields?: PhoneNumberFieldsParam;
|
|
2257
|
+
filtering?: PhoneNumberFilter[] | string;
|
|
2258
|
+
sort?: PhoneNumberSort;
|
|
2259
|
+
limit?: number;
|
|
2260
|
+
after?: string;
|
|
2261
|
+
before?: string;
|
|
2262
|
+
};
|
|
2263
|
+
type GraphObject = Record<string, unknown>;
|
|
2264
|
+
type CreatePhoneNumberRequest = {
|
|
2265
|
+
cc?: string;
|
|
2266
|
+
phone_number?: string;
|
|
2267
|
+
verified_name?: string;
|
|
2268
|
+
preverified_id?: string;
|
|
2269
|
+
[key: string]: unknown;
|
|
2270
|
+
};
|
|
2271
|
+
type CreatePhoneNumberResponse = {
|
|
2272
|
+
id: string;
|
|
2273
|
+
[key: string]: unknown;
|
|
2274
|
+
};
|
|
2275
|
+
type UpdatePhoneNumberStatusRequest = {
|
|
2276
|
+
status?: string;
|
|
2277
|
+
account_mode?: AccountMode;
|
|
2278
|
+
[key: string]: unknown;
|
|
2279
|
+
};
|
|
2280
|
+
type PhoneNumberSettingsFieldsParam = string[] | string;
|
|
2281
|
+
type PhoneNumberSettingsParams = {
|
|
2282
|
+
fields?: PhoneNumberSettingsFieldsParam;
|
|
2283
|
+
include_sip_credentials?: boolean;
|
|
2284
|
+
};
|
|
2285
|
+
type PhoneNumberSettingsResponse = GraphObject;
|
|
2286
|
+
type UpdatePhoneNumberSettingsRequest = {
|
|
2287
|
+
calling?: GraphObject;
|
|
2288
|
+
[key: string]: unknown;
|
|
2289
|
+
};
|
|
2290
|
+
type OfficialBusinessAccountStatusResponse = GraphObject;
|
|
2291
|
+
type OfficialBusinessAccountAction = 'SUBMIT_APPLICATION' | 'WITHDRAW_APPLICATION' | 'RESUBMIT_APPLICATION';
|
|
2292
|
+
type OfficialBusinessAccountApplicationData = {
|
|
2293
|
+
business_name?: string;
|
|
2294
|
+
business_description?: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* OBA examples use `website_url`, while the schema also exposes `business_website_url`.
|
|
2297
|
+
* Both are accepted to track Meta's published OpenAPI variants.
|
|
2298
|
+
*/
|
|
2299
|
+
website_url?: string;
|
|
2300
|
+
business_website_url?: string;
|
|
2301
|
+
contact_email?: string;
|
|
2302
|
+
primary_country_of_operation?: string;
|
|
2303
|
+
primary_language?: string;
|
|
2304
|
+
parent_business_or_brand?: string;
|
|
2305
|
+
[key: string]: unknown;
|
|
2306
|
+
};
|
|
2307
|
+
type UpdateOfficialBusinessAccountStatusRequest = {
|
|
2308
|
+
action?: OfficialBusinessAccountAction | (string & {});
|
|
2309
|
+
application_data?: OfficialBusinessAccountApplicationData;
|
|
2310
|
+
business_website_url?: string;
|
|
2311
|
+
primary_country_of_operation?: string;
|
|
2312
|
+
[key: string]: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
type BusinessComplianceInfoResponse = GraphObject;
|
|
2315
|
+
type UpdateBusinessComplianceInfoRequest = {
|
|
2316
|
+
[key: string]: unknown;
|
|
2317
|
+
};
|
|
2108
2318
|
type PhoneNumberResponse = {
|
|
2109
2319
|
display_phone_number: string;
|
|
2110
2320
|
id: string;
|
|
@@ -2114,8 +2324,11 @@ type PhoneNumberResponse = {
|
|
|
2114
2324
|
certificate?: string;
|
|
2115
2325
|
code_verification_status?: CodeVerificationStatus;
|
|
2116
2326
|
conversational_automation?: Record<string, unknown>;
|
|
2327
|
+
country_code?: string;
|
|
2328
|
+
country_dial_code?: string;
|
|
2117
2329
|
eligibility_for_api_business_global_search?: string;
|
|
2118
2330
|
health_status?: HealthStatus;
|
|
2331
|
+
host_platform?: HostPlatform;
|
|
2119
2332
|
is_official_business_account?: boolean;
|
|
2120
2333
|
is_on_biz_app?: boolean;
|
|
2121
2334
|
is_pin_enabled?: boolean;
|
|
@@ -2128,8 +2341,10 @@ type PhoneNumberResponse = {
|
|
|
2128
2341
|
platform_type?: PlatformType;
|
|
2129
2342
|
quality_score?: QualityScore;
|
|
2130
2343
|
search_visibility?: string;
|
|
2131
|
-
status?: CodeVerificationStatus;
|
|
2344
|
+
status?: PhoneNumberStatus | CodeVerificationStatus;
|
|
2132
2345
|
throughput?: Throughput;
|
|
2346
|
+
unified_cert_status?: UnifiedCertStatus;
|
|
2347
|
+
username?: string;
|
|
2133
2348
|
};
|
|
2134
2349
|
type Cursors = {
|
|
2135
2350
|
before: string;
|
|
@@ -2186,12 +2401,20 @@ type ThroughputResponse = {
|
|
|
2186
2401
|
};
|
|
2187
2402
|
interface PhoneNumberClass {
|
|
2188
2403
|
getPhoneNumberById(fields?: PhoneNumberFieldsParam): Promise<PhoneNumberResponse>;
|
|
2189
|
-
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
2404
|
+
getPhoneNumbers(params?: PhoneNumbersListParams): Promise<PhoneNumbersResponse>;
|
|
2405
|
+
createPhoneNumber(request: CreatePhoneNumberRequest, wabaId?: string): Promise<CreatePhoneNumberResponse>;
|
|
2406
|
+
updatePhoneNumberStatus(request: UpdatePhoneNumberStatusRequest): Promise<ResponseSuccess>;
|
|
2190
2407
|
requestVerificationCode(params: RequestVerificationCodeRequest): Promise<ResponseSuccess>;
|
|
2191
2408
|
verifyCode(params: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
2409
|
+
getPhoneNumberSettings(params?: PhoneNumberSettingsParams): Promise<PhoneNumberSettingsResponse>;
|
|
2410
|
+
updatePhoneNumberSettings(params: UpdatePhoneNumberSettingsRequest): Promise<ResponseSuccess>;
|
|
2192
2411
|
setConversationalAutomation(params: ConversationalAutomationRequest): Promise<ResponseSuccess>;
|
|
2193
2412
|
getConversationalAutomation(): Promise<ConversationalAutomationResponse>;
|
|
2194
2413
|
getThroughput(): Promise<ThroughputResponse>;
|
|
2414
|
+
getOfficialBusinessAccountStatus(): Promise<OfficialBusinessAccountStatusResponse>;
|
|
2415
|
+
updateOfficialBusinessAccountStatus(params: UpdateOfficialBusinessAccountStatusRequest): Promise<ResponseSuccess>;
|
|
2416
|
+
getBusinessComplianceInfo(): Promise<BusinessComplianceInfoResponse>;
|
|
2417
|
+
updateBusinessComplianceInfo(params: UpdateBusinessComplianceInfoRequest): Promise<ResponseSuccess>;
|
|
2195
2418
|
}
|
|
2196
2419
|
//#endregion
|
|
2197
2420
|
//#region src/api/profile/types/upload.d.ts
|
|
@@ -2911,14 +3134,72 @@ type WabaAccountFields = 'id' | 'name' | 'timezone_id' | 'account_review_status'
|
|
|
2911
3134
|
* Parameter type for specifying which WABA account fields to retrieve
|
|
2912
3135
|
*/
|
|
2913
3136
|
type WabaAccountFieldsParam = WabaAccountFields[];
|
|
3137
|
+
type WabaGraphObject = Record<string, unknown>;
|
|
3138
|
+
type WabaFieldsParam = string[] | string;
|
|
3139
|
+
type WabaListParams = {
|
|
3140
|
+
fields?: WabaFieldsParam;
|
|
3141
|
+
filtering?: WabaGraphObject[] | string;
|
|
3142
|
+
sort?: string;
|
|
3143
|
+
limit?: number;
|
|
3144
|
+
after?: string;
|
|
3145
|
+
before?: string;
|
|
3146
|
+
};
|
|
3147
|
+
type WabaListResponse<T = WabaGraphObject> = {
|
|
3148
|
+
data: T[];
|
|
3149
|
+
paging?: Paging;
|
|
3150
|
+
summary?: WabaGraphObject;
|
|
3151
|
+
};
|
|
3152
|
+
type UpdateWabaAccountRequest = {
|
|
3153
|
+
name?: string;
|
|
3154
|
+
timezone_id?: string;
|
|
3155
|
+
[key: string]: unknown;
|
|
3156
|
+
};
|
|
3157
|
+
type AssignedUserRequest = {
|
|
3158
|
+
user: string;
|
|
3159
|
+
tasks?: string[];
|
|
3160
|
+
[key: string]: unknown;
|
|
3161
|
+
};
|
|
3162
|
+
type RemoveAssignedUserRequest = {
|
|
3163
|
+
user: string;
|
|
3164
|
+
[key: string]: unknown;
|
|
3165
|
+
};
|
|
3166
|
+
type CreateOBOMobilityIntentRequest = {
|
|
3167
|
+
intent?: string;
|
|
3168
|
+
[key: string]: unknown;
|
|
3169
|
+
};
|
|
3170
|
+
type SetOBOMobilityIntentRequest = {
|
|
3171
|
+
[key: string]: unknown;
|
|
3172
|
+
};
|
|
3173
|
+
type CreateScheduleRequest = {
|
|
3174
|
+
name?: string;
|
|
3175
|
+
schedule_type?: string;
|
|
3176
|
+
[key: string]: unknown;
|
|
3177
|
+
};
|
|
3178
|
+
type UpdateWhatsAppBusinessProfileRequest = {
|
|
3179
|
+
[key: string]: unknown;
|
|
3180
|
+
};
|
|
2914
3181
|
/**
|
|
2915
3182
|
* Interface defining all WABA API methods
|
|
2916
3183
|
*/
|
|
2917
3184
|
interface WABAClass {
|
|
2918
3185
|
getWabaAccount(fields?: WabaAccountFieldsParam): Promise<WabaAccount>;
|
|
3186
|
+
updateWabaAccount(params: UpdateWabaAccountRequest): Promise<ResponseSuccess>;
|
|
3187
|
+
getWabaActivities(params?: WabaListParams): Promise<WabaListResponse>;
|
|
2919
3188
|
getAllWabaSubscriptions(): Promise<WabaSubscriptions>;
|
|
2920
3189
|
updateWabaSubscription(params: UpdateWabaSubscription): Promise<ResponseSuccess>;
|
|
2921
3190
|
unsubscribeFromWaba(): Promise<ResponseSuccess>;
|
|
3191
|
+
getAssignedUsers(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
3192
|
+
addAssignedUser(params: AssignedUserRequest, wabaId?: string): Promise<ResponseSuccess>;
|
|
3193
|
+
removeAssignedUser(params: RemoveAssignedUserRequest, wabaId?: string): Promise<ResponseSuccess>;
|
|
3194
|
+
getInProgressOnBehalfRequests(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
3195
|
+
getOBOMobilityIntent(oboMobilityIntentId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
3196
|
+
createOBOMobilityIntent(params: CreateOBOMobilityIntentRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
3197
|
+
setOBOMobilityIntent(params: SetOBOMobilityIntentRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
3198
|
+
getWabaSchedules(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
3199
|
+
createWabaSchedule(params: CreateScheduleRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
3200
|
+
getWhatsAppBusinessBotDetails(botId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
3201
|
+
getWhatsAppBusinessProfileDetails(profileId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
3202
|
+
updateWhatsAppBusinessProfile(profileId: string, params: UpdateWhatsAppBusinessProfileRequest): Promise<ResponseSuccess>;
|
|
2922
3203
|
}
|
|
2923
3204
|
//#endregion
|
|
2924
3205
|
//#region src/core/webhook/types/account.d.ts
|
|
@@ -3144,8 +3425,10 @@ interface AccountSettingsUpdateWebhookValue {
|
|
|
3144
3425
|
*/
|
|
3145
3426
|
interface WebhookContact {
|
|
3146
3427
|
wa_id: string;
|
|
3428
|
+
user_id?: string;
|
|
3147
3429
|
profile: {
|
|
3148
3430
|
name: string;
|
|
3431
|
+
username?: string;
|
|
3149
3432
|
};
|
|
3150
3433
|
identity_key_hash?: string;
|
|
3151
3434
|
}
|
|
@@ -3358,10 +3641,13 @@ interface CallEntry {
|
|
|
3358
3641
|
}
|
|
3359
3642
|
interface CallContact {
|
|
3360
3643
|
profile: {
|
|
3361
|
-
/** Display name of the caller */name: string;
|
|
3644
|
+
/** Display name of the caller */name: string; /** Business-scoped username, when Meta includes it */
|
|
3645
|
+
username?: string;
|
|
3362
3646
|
};
|
|
3363
3647
|
/** WhatsApp ID of the caller */
|
|
3364
3648
|
wa_id: string;
|
|
3649
|
+
/** Business-scoped user ID, when Meta includes it */
|
|
3650
|
+
user_id?: string;
|
|
3365
3651
|
}
|
|
3366
3652
|
interface CallsValue {
|
|
3367
3653
|
messaging_product: 'whatsapp';
|
|
@@ -5301,6 +5587,7 @@ interface FlowClass {
|
|
|
5301
5587
|
* @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/flows/ | WhatsApp Flows Documentation}
|
|
5302
5588
|
*/
|
|
5303
5589
|
declare class FlowApi extends BaseAPI implements FlowClass {
|
|
5590
|
+
private appendFormValue;
|
|
5304
5591
|
/**
|
|
5305
5592
|
* List all flows belonging to a WhatsApp Business Account.
|
|
5306
5593
|
*
|
|
@@ -5680,6 +5967,14 @@ declare class GroupsApi extends BaseAPI implements GroupsClass {
|
|
|
5680
5967
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
5681
5968
|
*/
|
|
5682
5969
|
getGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
5970
|
+
/**
|
|
5971
|
+
* Create a group invite link.
|
|
5972
|
+
*
|
|
5973
|
+
* @param groupId - The ID of the group.
|
|
5974
|
+
* @returns The group invite link.
|
|
5975
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
5976
|
+
*/
|
|
5977
|
+
createGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
5683
5978
|
/**
|
|
5684
5979
|
* Reset and regenerate the invite link for a group, invalidating the previous link.
|
|
5685
5980
|
*
|
|
@@ -5688,6 +5983,14 @@ declare class GroupsApi extends BaseAPI implements GroupsClass {
|
|
|
5688
5983
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
5689
5984
|
*/
|
|
5690
5985
|
resetGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
5986
|
+
/**
|
|
5987
|
+
* Delete the current invite link for a group.
|
|
5988
|
+
*
|
|
5989
|
+
* @param groupId - The ID of the group.
|
|
5990
|
+
* @returns A success response confirming deletion.
|
|
5991
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
5992
|
+
*/
|
|
5993
|
+
deleteGroupInviteLink(groupId: string): Promise<ResponseSuccess>;
|
|
5691
5994
|
/**
|
|
5692
5995
|
* Get pending join requests for a group.
|
|
5693
5996
|
*
|
|
@@ -5714,6 +6017,15 @@ declare class GroupsApi extends BaseAPI implements GroupsClass {
|
|
|
5714
6017
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
5715
6018
|
*/
|
|
5716
6019
|
rejectJoinRequests(groupId: string, joinRequestIds: string[]): Promise<GroupJoinRequestsActionResponse>;
|
|
6020
|
+
/**
|
|
6021
|
+
* Add one or more participants to a group.
|
|
6022
|
+
*
|
|
6023
|
+
* @param groupId - The ID of the group.
|
|
6024
|
+
* @param participants - Array of user WhatsApp IDs to add to the group.
|
|
6025
|
+
* @returns A success response confirming the addition.
|
|
6026
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
6027
|
+
*/
|
|
6028
|
+
addParticipants(groupId: string, participants: string[]): Promise<ResponseSuccess>;
|
|
5717
6029
|
/**
|
|
5718
6030
|
* Remove one or more participants from a group.
|
|
5719
6031
|
*
|
|
@@ -5758,6 +6070,7 @@ declare class MarketingMessagesApi extends BaseAPI implements MarketingMessagesC
|
|
|
5758
6070
|
* @param params.to - The recipient's WhatsApp phone number.
|
|
5759
6071
|
* @param params.template - The template configuration (name, language, components).
|
|
5760
6072
|
* @param params.message_activity_sharing - Optional flag to enable message activity sharing.
|
|
6073
|
+
* @param params.product_policy - Optional product policy for marketing messages.
|
|
5761
6074
|
* @returns The messages response with message ID and status.
|
|
5762
6075
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/send-marketing-messages/
|
|
5763
6076
|
*/
|
|
@@ -5892,6 +6205,38 @@ declare class MediaApi extends BaseAPI implements MediaClass {
|
|
|
5892
6205
|
downloadMedia(mediaUrl: string): Promise<Blob>;
|
|
5893
6206
|
}
|
|
5894
6207
|
//#endregion
|
|
6208
|
+
//#region src/api/messageHistory/types/common.d.ts
|
|
6209
|
+
type MessageHistoryFieldsParam = string[] | string;
|
|
6210
|
+
type MessageHistoryListParams = {
|
|
6211
|
+
fields?: MessageHistoryFieldsParam;
|
|
6212
|
+
message_id?: string;
|
|
6213
|
+
start_time?: string | number;
|
|
6214
|
+
end_time?: string | number;
|
|
6215
|
+
limit?: number;
|
|
6216
|
+
after?: string;
|
|
6217
|
+
before?: string;
|
|
6218
|
+
};
|
|
6219
|
+
type MessageHistoryEventListParams = MessageHistoryListParams & {
|
|
6220
|
+
delivery_status?: string;
|
|
6221
|
+
};
|
|
6222
|
+
type MessageHistoryItem = Record<string, unknown>;
|
|
6223
|
+
type MessageHistoryResponse<T = MessageHistoryItem> = {
|
|
6224
|
+
data: T[];
|
|
6225
|
+
paging?: Paging;
|
|
6226
|
+
summary?: Record<string, unknown>;
|
|
6227
|
+
};
|
|
6228
|
+
interface MessageHistoryClass {
|
|
6229
|
+
getMessageHistory(params?: MessageHistoryListParams): Promise<MessageHistoryResponse>;
|
|
6230
|
+
getMessageHistoryEvents(messageHistoryId: string, params?: MessageHistoryEventListParams): Promise<MessageHistoryResponse>;
|
|
6231
|
+
}
|
|
6232
|
+
//#endregion
|
|
6233
|
+
//#region src/api/messageHistory/MessageHistoryApi.d.ts
|
|
6234
|
+
declare class MessageHistoryApi extends BaseAPI implements MessageHistoryClass {
|
|
6235
|
+
private toQuery;
|
|
6236
|
+
getMessageHistory(params?: MessageHistoryListParams): Promise<MessageHistoryResponse>;
|
|
6237
|
+
getMessageHistoryEvents(messageHistoryId: string, params?: MessageHistoryEventListParams): Promise<MessageHistoryResponse>;
|
|
6238
|
+
}
|
|
6239
|
+
//#endregion
|
|
5895
6240
|
//#region src/api/messages/MessageApi.d.ts
|
|
5896
6241
|
/**
|
|
5897
6242
|
* Maps each message type to its appropriate payload type.
|
|
@@ -5974,7 +6319,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
5974
6319
|
* );
|
|
5975
6320
|
* ```
|
|
5976
6321
|
*/
|
|
5977
|
-
bodyBuilder<T extends MessageTypesEnum>(type: T, payload: MessagePayloadType<T>, to: string, replyMessageId?: string): MessageRequestBody<T>;
|
|
6322
|
+
bodyBuilder<T extends MessageTypesEnum>(type: T, payload: MessagePayloadType<T>, to: string, replyMessageId?: string, recipientType?: MessageRecipientType): MessageRequestBody<T>;
|
|
5978
6323
|
/**
|
|
5979
6324
|
* Sends a request to the WhatsApp Cloud API messages endpoint.
|
|
5980
6325
|
*
|
|
@@ -5987,6 +6332,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
5987
6332
|
* @see {@link https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages | Messages API Reference}
|
|
5988
6333
|
*/
|
|
5989
6334
|
private send;
|
|
6335
|
+
private sendEncrypted;
|
|
5990
6336
|
/**
|
|
5991
6337
|
* Sends an audio message via the WhatsApp Cloud API.
|
|
5992
6338
|
*
|
|
@@ -6282,7 +6628,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6282
6628
|
* });
|
|
6283
6629
|
* ```
|
|
6284
6630
|
*/
|
|
6285
|
-
status(params: StatusParams): Promise<
|
|
6631
|
+
status(params: StatusParams): Promise<StatusResponse>;
|
|
6286
6632
|
/**
|
|
6287
6633
|
* Marks a message as read, sending a read receipt to the sender.
|
|
6288
6634
|
*
|
|
@@ -6302,7 +6648,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6302
6648
|
*/
|
|
6303
6649
|
markAsRead(params: {
|
|
6304
6650
|
messageId: string;
|
|
6305
|
-
}): Promise<
|
|
6651
|
+
}): Promise<StatusResponse>;
|
|
6306
6652
|
/**
|
|
6307
6653
|
* Shows a typing indicator to the user, indicating that a response is being composed.
|
|
6308
6654
|
*
|
|
@@ -6322,7 +6668,7 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6322
6668
|
*/
|
|
6323
6669
|
showTypingIndicator(params: {
|
|
6324
6670
|
messageId: string;
|
|
6325
|
-
}): Promise<
|
|
6671
|
+
}): Promise<StatusResponse>;
|
|
6326
6672
|
/**
|
|
6327
6673
|
* Sends a list interactive message via the WhatsApp Cloud API.
|
|
6328
6674
|
*
|
|
@@ -6575,6 +6921,13 @@ declare class MessagesApi extends BaseAPI implements MessagesClass {
|
|
|
6575
6921
|
* ```
|
|
6576
6922
|
*/
|
|
6577
6923
|
reaction(params: ReactionParams): Promise<MessagesResponse>;
|
|
6924
|
+
/**
|
|
6925
|
+
* Send a message through the encrypted messages endpoint.
|
|
6926
|
+
*
|
|
6927
|
+
* The encrypted endpoint payload varies by encryption setup, so this method accepts
|
|
6928
|
+
* the Graph API payload shape directly while preserving the endpoint and response type.
|
|
6929
|
+
*/
|
|
6930
|
+
encrypted(params: EncryptedMessageRequest): Promise<EncryptedMessagesResponse>;
|
|
6578
6931
|
}
|
|
6579
6932
|
//#endregion
|
|
6580
6933
|
//#region src/api/payments/PaymentsApi.d.ts
|
|
@@ -6709,6 +7062,7 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6709
7062
|
* Returns a list of all phone numbers registered under the configured WABA,
|
|
6710
7063
|
* including their verification status, quality rating, and display information.
|
|
6711
7064
|
*
|
|
7065
|
+
* @param params - Optional list query parameters such as fields, filtering, sort, and paging.
|
|
6712
7066
|
* @returns A promise that resolves with the list of phone numbers.
|
|
6713
7067
|
*
|
|
6714
7068
|
* @see {@link https://developers.facebook.com/docs/whatsapp/cloud-api/reference/phone-numbers#get-all | List Phone Numbers}
|
|
@@ -6721,7 +7075,18 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6721
7075
|
* }
|
|
6722
7076
|
* ```
|
|
6723
7077
|
*/
|
|
6724
|
-
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
7078
|
+
getPhoneNumbers(params?: PhoneNumbersListParams): Promise<PhoneNumbersResponse>;
|
|
7079
|
+
/**
|
|
7080
|
+
* Create a phone number under a WABA.
|
|
7081
|
+
*
|
|
7082
|
+
* @param request - Phone number creation payload from the Graph API.
|
|
7083
|
+
* @param wabaId - Optional WABA ID. Defaults to the configured business account ID.
|
|
7084
|
+
*/
|
|
7085
|
+
createPhoneNumber(request: CreatePhoneNumberRequest, wabaId?: string): Promise<CreatePhoneNumberResponse>;
|
|
7086
|
+
/**
|
|
7087
|
+
* Update phone number status or configuration on the phone number node.
|
|
7088
|
+
*/
|
|
7089
|
+
updatePhoneNumberStatus(request: UpdatePhoneNumberStatusRequest): Promise<ResponseSuccess>;
|
|
6725
7090
|
/**
|
|
6726
7091
|
* Request a verification code for the phone number.
|
|
6727
7092
|
*
|
|
@@ -6764,6 +7129,16 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6764
7129
|
* ```
|
|
6765
7130
|
*/
|
|
6766
7131
|
verifyCode(request: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
7132
|
+
/**
|
|
7133
|
+
* Get general phone number settings.
|
|
7134
|
+
*
|
|
7135
|
+
* Calling-specific settings can also be accessed through `calling.getCallingSettings()`.
|
|
7136
|
+
*/
|
|
7137
|
+
getPhoneNumberSettings(params?: PhoneNumberSettingsParams): Promise<PhoneNumberSettingsResponse>;
|
|
7138
|
+
/**
|
|
7139
|
+
* Update general phone number settings.
|
|
7140
|
+
*/
|
|
7141
|
+
updatePhoneNumberSettings(params: UpdatePhoneNumberSettingsRequest): Promise<ResponseSuccess>;
|
|
6767
7142
|
/**
|
|
6768
7143
|
* Configure conversational automation features for the phone number.
|
|
6769
7144
|
*
|
|
@@ -6840,6 +7215,10 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
6840
7215
|
* ```
|
|
6841
7216
|
*/
|
|
6842
7217
|
getThroughput(): Promise<ThroughputResponse>;
|
|
7218
|
+
getOfficialBusinessAccountStatus(): Promise<OfficialBusinessAccountStatusResponse>;
|
|
7219
|
+
updateOfficialBusinessAccountStatus(params: UpdateOfficialBusinessAccountStatusRequest): Promise<ResponseSuccess>;
|
|
7220
|
+
getBusinessComplianceInfo(): Promise<BusinessComplianceInfoResponse>;
|
|
7221
|
+
updateBusinessComplianceInfo(params: UpdateBusinessComplianceInfoRequest): Promise<ResponseSuccess>;
|
|
6843
7222
|
}
|
|
6844
7223
|
//#endregion
|
|
6845
7224
|
//#region src/api/profile/BusinessProfileApi.d.ts
|
|
@@ -7128,6 +7507,79 @@ declare class RegistrationApi extends BaseAPI implements RegistrationClass {
|
|
|
7128
7507
|
deregister(): Promise<ResponseSuccess>;
|
|
7129
7508
|
}
|
|
7130
7509
|
//#endregion
|
|
7510
|
+
//#region src/api/solutions/types/common.d.ts
|
|
7511
|
+
type SolutionGraphObject = Record<string, unknown>;
|
|
7512
|
+
type SolutionFieldsParam = string[] | string;
|
|
7513
|
+
type SolutionListParams = {
|
|
7514
|
+
fields?: SolutionFieldsParam;
|
|
7515
|
+
role?: 'OWNER' | 'PARTNER' | string;
|
|
7516
|
+
status?: string;
|
|
7517
|
+
limit?: number;
|
|
7518
|
+
after?: string;
|
|
7519
|
+
before?: string;
|
|
7520
|
+
};
|
|
7521
|
+
type SolutionListResponse<T = SolutionGraphObject> = {
|
|
7522
|
+
data: T[];
|
|
7523
|
+
paging?: Paging;
|
|
7524
|
+
summary?: SolutionGraphObject;
|
|
7525
|
+
};
|
|
7526
|
+
type CreateWhatsAppBusinessSolutionRequest = {
|
|
7527
|
+
partner_app_id?: string;
|
|
7528
|
+
partner_business_id?: string;
|
|
7529
|
+
[key: string]: unknown;
|
|
7530
|
+
};
|
|
7531
|
+
type AcceptSolutionRequest = {
|
|
7532
|
+
partner_app_id?: string;
|
|
7533
|
+
[key: string]: unknown;
|
|
7534
|
+
};
|
|
7535
|
+
type RejectSolutionRequest = {
|
|
7536
|
+
partner_app_id?: string;
|
|
7537
|
+
request_type?: string;
|
|
7538
|
+
reason?: string;
|
|
7539
|
+
[key: string]: unknown;
|
|
7540
|
+
};
|
|
7541
|
+
type SolutionDeactivationRequest = {
|
|
7542
|
+
reason?: string;
|
|
7543
|
+
[key: string]: unknown;
|
|
7544
|
+
};
|
|
7545
|
+
type SetSolutionMigrationIntentRequest = {
|
|
7546
|
+
solution_id?: string;
|
|
7547
|
+
intent?: string;
|
|
7548
|
+
[key: string]: unknown;
|
|
7549
|
+
};
|
|
7550
|
+
interface SolutionsClass {
|
|
7551
|
+
createWhatsAppBusinessSolution(applicationId: string, request: CreateWhatsAppBusinessSolutionRequest): Promise<SolutionGraphObject>;
|
|
7552
|
+
getApplicationWhatsAppBusinessSolutions(applicationId: string, params?: SolutionListParams): Promise<SolutionListResponse>;
|
|
7553
|
+
getSolutionAccessToken(solutionId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7554
|
+
acceptSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7555
|
+
acceptSolution(solutionId: string, request?: AcceptSolutionRequest): Promise<ResponseSuccess>;
|
|
7556
|
+
getSolutionDetails(solutionId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7557
|
+
rejectSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7558
|
+
rejectSolutionRequest(solutionId: string, request?: RejectSolutionRequest): Promise<ResponseSuccess>;
|
|
7559
|
+
sendSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7560
|
+
getMigrationIntentDetails(migrationIntentId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7561
|
+
listWabaSolutions(wabaId?: string, params?: SolutionListParams): Promise<SolutionListResponse>;
|
|
7562
|
+
setSolutionMigrationIntent(wabaId: string, request: SetSolutionMigrationIntentRequest): Promise<SolutionGraphObject>;
|
|
7563
|
+
}
|
|
7564
|
+
//#endregion
|
|
7565
|
+
//#region src/api/solutions/SolutionsApi.d.ts
|
|
7566
|
+
declare class SolutionsApi extends BaseAPI implements SolutionsClass {
|
|
7567
|
+
private toQuery;
|
|
7568
|
+
private fieldsQuery;
|
|
7569
|
+
createWhatsAppBusinessSolution(applicationId: string, request: CreateWhatsAppBusinessSolutionRequest): Promise<SolutionGraphObject>;
|
|
7570
|
+
getApplicationWhatsAppBusinessSolutions(applicationId: string, params?: SolutionListParams): Promise<SolutionListResponse>;
|
|
7571
|
+
getSolutionAccessToken(solutionId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7572
|
+
acceptSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7573
|
+
acceptSolution(solutionId: string, request?: AcceptSolutionRequest): Promise<ResponseSuccess>;
|
|
7574
|
+
getSolutionDetails(solutionId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7575
|
+
rejectSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7576
|
+
rejectSolutionRequest(solutionId: string, request?: RejectSolutionRequest): Promise<ResponseSuccess>;
|
|
7577
|
+
sendSolutionDeactivationRequest(solutionId: string, request?: SolutionDeactivationRequest): Promise<ResponseSuccess>;
|
|
7578
|
+
getMigrationIntentDetails(migrationIntentId: string, fields?: SolutionFieldsParam): Promise<SolutionGraphObject>;
|
|
7579
|
+
listWabaSolutions(wabaId?: string, params?: SolutionListParams): Promise<SolutionListResponse>;
|
|
7580
|
+
setSolutionMigrationIntent(wabaId: string, request: SetSolutionMigrationIntentRequest): Promise<SolutionGraphObject>;
|
|
7581
|
+
}
|
|
7582
|
+
//#endregion
|
|
7131
7583
|
//#region src/api/template/factories/index.d.ts
|
|
7132
7584
|
declare function createTemplate(options: TemplateOptions): TemplateRequestBody;
|
|
7133
7585
|
declare function createOTPTemplate(options: OTPTemplateOptions): TemplateRequestBody;
|
|
@@ -7362,6 +7814,8 @@ declare class TwoStepVerificationApi extends BaseAPI implements TwoStepVerificat
|
|
|
7362
7814
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/whatsapp-business-accounts/
|
|
7363
7815
|
*/
|
|
7364
7816
|
declare class WabaApi extends BaseAPI implements WABAClass {
|
|
7817
|
+
private toQuery;
|
|
7818
|
+
private fieldsQuery;
|
|
7365
7819
|
/**
|
|
7366
7820
|
* Retrieve WhatsApp Business Account information.
|
|
7367
7821
|
*
|
|
@@ -7373,6 +7827,14 @@ declare class WabaApi extends BaseAPI implements WABAClass {
|
|
|
7373
7827
|
* const account = await whatsappClient.waba.getWabaAccount(['id', 'name', 'status']);
|
|
7374
7828
|
*/
|
|
7375
7829
|
getWabaAccount(fields?: WabaAccountFieldsParam): Promise<WabaAccount>;
|
|
7830
|
+
/**
|
|
7831
|
+
* Update WABA account fields such as name or timezone.
|
|
7832
|
+
*/
|
|
7833
|
+
updateWabaAccount(params: UpdateWabaAccountRequest): Promise<ResponseSuccess>;
|
|
7834
|
+
/**
|
|
7835
|
+
* Get account activity events for a WABA.
|
|
7836
|
+
*/
|
|
7837
|
+
getWabaActivities(params?: WabaListParams): Promise<WabaListResponse>;
|
|
7376
7838
|
/**
|
|
7377
7839
|
* Get all WABA subscriptions for the business account.
|
|
7378
7840
|
*
|
|
@@ -7410,6 +7872,18 @@ declare class WabaApi extends BaseAPI implements WABAClass {
|
|
|
7410
7872
|
* await whatsappClient.waba.unsubscribeFromWaba();
|
|
7411
7873
|
*/
|
|
7412
7874
|
unsubscribeFromWaba(): Promise<ResponseSuccess>;
|
|
7875
|
+
getAssignedUsers(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
7876
|
+
addAssignedUser(params: AssignedUserRequest, wabaId?: string): Promise<ResponseSuccess>;
|
|
7877
|
+
removeAssignedUser(params: RemoveAssignedUserRequest, wabaId?: string): Promise<ResponseSuccess>;
|
|
7878
|
+
getInProgressOnBehalfRequests(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
7879
|
+
getOBOMobilityIntent(oboMobilityIntentId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
7880
|
+
createOBOMobilityIntent(params: CreateOBOMobilityIntentRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
7881
|
+
setOBOMobilityIntent(params: SetOBOMobilityIntentRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
7882
|
+
getWabaSchedules(params?: WabaListParams, wabaId?: string): Promise<WabaListResponse>;
|
|
7883
|
+
createWabaSchedule(params: CreateScheduleRequest, wabaId?: string): Promise<WabaGraphObject>;
|
|
7884
|
+
getWhatsAppBusinessBotDetails(botId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
7885
|
+
getWhatsAppBusinessProfileDetails(profileId: string, fields?: WabaFieldsParam): Promise<WabaGraphObject>;
|
|
7886
|
+
updateWhatsAppBusinessProfile(profileId: string, params: UpdateWhatsAppBusinessProfileRequest): Promise<ResponseSuccess>;
|
|
7413
7887
|
}
|
|
7414
7888
|
//#endregion
|
|
7415
7889
|
//#region src/utils/flowEncryptionUtils.d.ts
|
|
@@ -7497,12 +7971,14 @@ declare class Requester implements RequesterClass {
|
|
|
7497
7971
|
constructor(apiVersion: string, phoneNumberId: number, accessToken: string, businessAcctId: string, userAgent: string, retryConfig?: RetryConfig);
|
|
7498
7972
|
buildHeader(contentType: string, additionalHeaders?: Record<string, string>): HeadersInit;
|
|
7499
7973
|
buildCAPIPath(endpoint: string): string;
|
|
7974
|
+
private normalizeApiVersion;
|
|
7975
|
+
private buildRequestTarget;
|
|
7500
7976
|
sendRequest(method: HttpMethodsEnum, endpoint: string, timeout: number, body?: any, contentType?: string, additionalHeaders?: Record<string, string>): Promise<HttpsClientResponseClass>;
|
|
7501
7977
|
getJson<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, body?: any, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
7502
7978
|
sendFormData<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData: FormData, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
7503
7979
|
updateTimeout(timeout: number): void;
|
|
7504
7980
|
updateAccessToken(accessToken: string): void;
|
|
7505
|
-
sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData:
|
|
7981
|
+
sendUrlEncodedForm<T>(method: HttpMethodsEnum, endpoint: string, timeout: number, formData: UrlEncodedFormBody, additionalHeaders?: Record<string, string>): Promise<T>;
|
|
7506
7982
|
}
|
|
7507
7983
|
//#endregion
|
|
7508
7984
|
//#region src/core/whatsapp/WhatsApp.d.ts
|
|
@@ -7514,14 +7990,17 @@ declare class WhatsApp {
|
|
|
7514
7990
|
config: WabaConfigType;
|
|
7515
7991
|
requester: Readonly<Requester>;
|
|
7516
7992
|
blockUsers: BlockUsersApi;
|
|
7993
|
+
business: BusinessApi;
|
|
7517
7994
|
calling: CallingApi;
|
|
7518
7995
|
commerce: CommerceApi;
|
|
7519
7996
|
groups: GroupsApi;
|
|
7520
7997
|
marketingMessages: MarketingMessagesApi;
|
|
7998
|
+
messageHistory: MessageHistoryApi;
|
|
7521
7999
|
messages: MessagesApi;
|
|
7522
8000
|
media: MediaApi;
|
|
7523
8001
|
payments: PaymentsApi;
|
|
7524
8002
|
phoneNumbers: PhoneNumberApi;
|
|
8003
|
+
solutions: SolutionsApi;
|
|
7525
8004
|
twoStepVerification: TwoStepVerificationApi;
|
|
7526
8005
|
flows: FlowApi;
|
|
7527
8006
|
businessProfile: BusinessProfileApi;
|
|
@@ -8489,5 +8968,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
|
|
|
8489
8968
|
*/
|
|
8490
8969
|
declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
|
|
8491
8970
|
//#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 };
|
|
8971
|
+
export { AUTHORIZATION_ERROR_CODES, AcceptCallRequest, AcceptSolutionRequest, AccountMode, AddPhoneNumbersRequest, ApiPermissionErrorCode, AssignedUserRequest, AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, AudioMessage, AudioMessageHandler, AudioProcessedMessage, AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, BaseApiRequest, BaseApiResponse, BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, BodyOptions, BusinessApi, BusinessClass, BusinessComplianceInfoResponse, BusinessFieldsParam, BusinessGraphListResponse, BusinessGraphObject, BusinessListParams, BusinessProfileApi, BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, BusinessVerticalEnum, ButtonMessage, ButtonMessageHandler, ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, ButtonProcessedMessage, CALLING_ERROR_CODES, CallAction, CallActionResponse, CallHours, CallHoursDay, CallHoursStatus, CallIconVisibility, CallPermission, CallPermissionAction, CallPermissionLimit, CallPermissionsResponse, CallSdpType, CallSession, CallbackPermissionStatus, CallingApi, CallingClass, CallingSettings, CallingSettingsResponse, CallingStatus, CarouselCard, CarouselOptions, CatalogButton, CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, CommerceClass, CommerceSetting, CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactInfo, ContactObject, ContactsMessage, ContactsMessageHandler, ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, ConversationalAutomationRequest, ConversationalAutomationResponse, ConversationalCommand, ConversationalPrompt, CopyCodeButton, CouponTemplateOptions, CreateFlowResponse, CreateOBOMobilityIntentRequest, CreatePhoneNumberRequest, CreatePhoneNumberResponse, CreateQrCodeRequest, CreateScheduleRequest, CreateUploadSessionParams, CreateWhatsAppBusinessSolutionRequest, CurrencyCodesEnum, CurrencyParameter, CursorPaginationParams, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, DateTimeParameter, DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, DocumentMessage, DocumentMessageHandler, DocumentProcessedMessage, EncryptedMessageRequest, EncryptedMessagesResponse, EncryptionApi, EncryptionClass, EncryptionKeyPair, EncryptionPublicKeyResponse, ErrorWebhookValue, ExpressRequest, ExpressResponse, ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, Flow, FlowActionEnum, FlowApi, FlowAsset, FlowAssetsResponse, FlowButton, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHandler, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, FooterOptions, GROUP_ERROR_CODES, GeneralHeaderInterface, GeneralMessageBody, GeneralRequestBody, GetUploadHandleParams, GraphObject, GroupCreateRequest, GroupCreateResponse, GroupInfoField, GroupInfoFieldsParam, GroupInfoResponse, GroupInviteLinkResponse, GroupJoinApprovalMode, GroupJoinRequest, GroupJoinRequestError, GroupJoinRequestFailure, GroupJoinRequestsActionResponse, GroupJoinRequestsResponse, GroupListParams, GroupListResponse, GroupMessage, GroupParticipant, GroupParticipantInput, GroupParticipantsRequest, GroupSettingsResponse, GroupsApi, GroupsClass, HeaderOptions, HealthStatus, HealthStatusEntity, HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, HttpsClientClass, HttpsClientResponseClass, INTEGRITY_ERROR_CODES, ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, ImageMessage, ImageMessageHandler, ImageProcessedMessage, InitiateCallRequest, InitiateCallResponse, InteractiveButtonReplyMessage, InteractiveListReplyMessage, InteractiveMessage, InteractiveMessageHandler, InteractiveObject, InteractiveProcessedMessage, InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, LocationInfo, LocationMessage, LocationMessageHandler, LocationObject, LocationParameter, LocationProcessedMessage, Logger, LoggerInterface, MPMButton, MPMTemplateOptions, MarketingMessageRequest, MarketingMessagesApi, MarketingMessagesClass, MediaApi, MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, MediaInfo, MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageHandler, MessageHistoryApi, MessageHistoryClass, MessageHistoryEventListParams, MessageHistoryFieldsParam, MessageHistoryItem, MessageHistoryListParams, MessageHistoryResponse, MessageRecipientType, MessageRequestBody, MessageRequestParams, MessageStatus, MessageTemplateObject, MessageTemplateRequestBody, MessageTypes, MessageTypesEnum, MessageTypesType, MessageWebhookValue, MessagesClass, MessagesResponse, MessagingLimitTier, MetaError, MetaErrorData, MetaErrorDetail, NextFunction, NextJsAppWebhookConfig, NextJsWebhookConfig, OTPButton, OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, OrderInfo, OrderMessage, OrderMessageHandler, OrderProcessedMessage, Pagination, PaginationCursors, Paging, PagingCursors, PagingInfo, ParametersTypes, ParametersTypesEnum, ParametersTypesType, PaymentConfiguration, PaymentConfigurationCode, PaymentConfigurationCreateRequest, PaymentConfigurationCreateResponse, PaymentConfigurationDeleteRequest, PaymentConfigurationOauthLinkRequest, PaymentConfigurationOauthLinkResponse, PaymentConfigurationProvider, PaymentConfigurationStatus, PaymentConfigurationUpdateRequest, PaymentConfigurationUpdateResponse, PaymentConfigurationsResponse, PaymentsApi, PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, PreAcceptCallRequest, ProcessedMessage, ProcessedStatus, ProductCardCarouselTemplateOptions, ProductCarouselCard, ProductParameter, ProductSection, QrCodeApi, QrCodeClass, QrCodeResponse, QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, ReactionInfo, ReactionMessage, ReactionMessageHandler, ReactionParams, ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, RegistrationClass, RegistrationRequest, RejectCallRequest, RejectSolutionRequest, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, RequesterClass, RequesterResponseInterface, ResponseData, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody, ResponsePagination, ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, SPMTemplateOptions, SetOBOMobilityIntentRequest, SetSolutionMigrationIntentRequest, SharePreVerifiedPhoneNumberRequest, SipServer, SipSettings, SipStatus, SolutionDeactivationRequest, SolutionFieldsParam, SolutionGraphObject, SolutionListParams, SolutionListResponse, SolutionsApi, SolutionsClass, Status, StatusEnum, StatusHandler, StatusParams, StatusResponse, StatusType, StatusWebhook, StatusWebhookValue, StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, StickerMessage, StickerMessageHandler, StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, SystemMessage, SystemMessageHandler, SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptions, TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, TerminateCallRequest, TextMessage, TextMessageHandler, TextMessageParams, TextObject, TextParameter, TextProcessedMessage, Throughput, ThroughputLevel, ThroughputResponse, TwoStepVerificationApi, TwoStepVerificationClass, TwoStepVerificationParams, TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, UnsupportedMessage, UpdateBusinessComplianceInfoRequest, UpdateBusinessProfileRequest, UpdateCallingSettingsRequest, UpdateCommerceSettingsRequest, UpdateFlowResponse, UpdateGroupSettingsRequest, UpdateOfficialBusinessAccountStatusRequest, UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberStatusRequest, UpdateQrCodeRequest, UpdateWabaAccountRequest, UpdateWabaSubscription, UpdateWhatsAppBusinessProfileRequest, UploadBusinessProfileResponse, UploadHandle, UploadMediaParams, UploadMediaResponse, UploadSession, UploadSessionResponse, ValidateFlowJsonResponse, VerifyCodeRequest, VerifyPreVerifiedPhoneNumberCodeRequest, VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, VideoMessage, VideoMessageHandler, VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, WabaConfigType, WabaFieldsParam, WabaGraphObject, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaListParams, WabaListResponse, WabaSubscription, WabaSubscriptions, WebhookContact, WebhookEvent, WebhookHandlerContext, WebhookMessage, WebhookPayload, WebhookProcessor, WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, WebhookValue, WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, WhatsAppConfig, WhatsAppError, WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
|
|
8493
8972
|
//# sourceMappingURL=index.d.mts.map
|