meta-cloud-api 2.6.0 → 2.7.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.ts → index.d.mts} +322 -56
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +21 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types/enums.d.ts +25 -25
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/index.d.ts +289 -21
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/package.json +20 -20
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -21
- package/dist/index.js.map +0 -1
- /package/dist/{chunk.js → chunk.mjs} +0 -0
package/dist/types/enums.d.ts
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
declare enum CategoryEnum {
|
|
3
3
|
Authentication = "AUTHENTICATION",
|
|
4
4
|
Marketing = "MARKETING",
|
|
5
|
-
Utility = "UTILITY"
|
|
5
|
+
Utility = "UTILITY"
|
|
6
6
|
}
|
|
7
7
|
declare enum TemplateStatusEnum {
|
|
8
8
|
Approved = "APPROVED",
|
|
9
9
|
Pending = "PENDING",
|
|
10
|
-
Rejected = "REJECTED"
|
|
10
|
+
Rejected = "REJECTED"
|
|
11
11
|
}
|
|
12
12
|
declare enum HttpMethodsEnum {
|
|
13
13
|
Get = "GET",
|
|
14
14
|
Post = "POST",
|
|
15
15
|
Put = "PUT",
|
|
16
|
-
Delete = "DELETE"
|
|
16
|
+
Delete = "DELETE"
|
|
17
17
|
}
|
|
18
18
|
declare enum MessageTypesEnum {
|
|
19
19
|
Audio = "audio",
|
|
@@ -36,7 +36,7 @@ declare enum MessageTypesEnum {
|
|
|
36
36
|
* @deprecated Use WebhookProcessor.onStatus() instead of onMessage(MessageTypesEnum.Statuses)
|
|
37
37
|
*/
|
|
38
38
|
Statuses = "statuses",
|
|
39
|
-
'*' = "*"
|
|
39
|
+
'*' = "*"
|
|
40
40
|
}
|
|
41
41
|
declare enum ParametersTypesEnum {
|
|
42
42
|
Action = "ACTION",
|
|
@@ -55,7 +55,7 @@ declare enum ParametersTypesEnum {
|
|
|
55
55
|
TtlMinutes = "TTL_MINUTES",
|
|
56
56
|
Video = "VIDEO",
|
|
57
57
|
WebviewInteraction = "WEBVIEW_INTERACTION",
|
|
58
|
-
WebviewPresentation = "WEBVIEW_PRESENTATION"
|
|
58
|
+
WebviewPresentation = "WEBVIEW_PRESENTATION"
|
|
59
59
|
}
|
|
60
60
|
declare enum InteractiveTypesEnum {
|
|
61
61
|
Button = "button",
|
|
@@ -66,14 +66,14 @@ declare enum InteractiveTypesEnum {
|
|
|
66
66
|
Carousel = "carousel",
|
|
67
67
|
LocationRequest = "location_request_message",
|
|
68
68
|
AddressMessage = "address_message",
|
|
69
|
-
Flow = "flow"
|
|
69
|
+
Flow = "flow"
|
|
70
70
|
}
|
|
71
71
|
declare enum ButtonPositionEnum {
|
|
72
72
|
First = 1,
|
|
73
73
|
Second = 2,
|
|
74
74
|
Third = 3,
|
|
75
75
|
Fourth = 4,
|
|
76
|
-
Fifth = 5
|
|
76
|
+
Fifth = 5
|
|
77
77
|
}
|
|
78
78
|
declare enum SubTypeEnum {
|
|
79
79
|
Catalog = "CATALOG",
|
|
@@ -84,13 +84,13 @@ declare enum SubTypeEnum {
|
|
|
84
84
|
QuickReply = "QUICK_REPLY",
|
|
85
85
|
Reminder = "REMINDER",
|
|
86
86
|
Url = "URL",
|
|
87
|
-
VoiceCall = "VOICE_CALL"
|
|
87
|
+
VoiceCall = "VOICE_CALL"
|
|
88
88
|
}
|
|
89
89
|
declare enum ComponentTypesEnum {
|
|
90
90
|
Header = "HEADER",
|
|
91
91
|
Body = "BODY",
|
|
92
92
|
Button = "BUTTON",
|
|
93
|
-
Footer = "FOOTER"
|
|
93
|
+
Footer = "FOOTER"
|
|
94
94
|
}
|
|
95
95
|
declare enum WabaConfigEnum {
|
|
96
96
|
AppId = "M4D_APP_ID",
|
|
@@ -107,28 +107,28 @@ declare enum WabaConfigEnum {
|
|
|
107
107
|
RequestTimeout = "REQUEST_TIMEOUT",
|
|
108
108
|
Debug = "DEBUG",
|
|
109
109
|
PrivatePem = "FLOW_API_PRIVATE_PEM",
|
|
110
|
-
Passphrase = "FLOW_API_PASSPHRASE"
|
|
110
|
+
Passphrase = "FLOW_API_PASSPHRASE"
|
|
111
111
|
}
|
|
112
112
|
declare enum ConversationTypesEnum {
|
|
113
113
|
BusinessInitiated = "business_initiated",
|
|
114
114
|
CustomerInitiated = "customer_initiated",
|
|
115
|
-
ReferralConversion = "referral_conversion"
|
|
115
|
+
ReferralConversion = "referral_conversion"
|
|
116
116
|
}
|
|
117
117
|
declare enum StatusEnum {
|
|
118
118
|
Delivered = "delivered",
|
|
119
119
|
Read = "read",
|
|
120
|
-
Sent = "sent"
|
|
120
|
+
Sent = "sent"
|
|
121
121
|
}
|
|
122
122
|
declare enum VideoMediaTypesEnum {
|
|
123
123
|
Mp4 = "video/mp4",
|
|
124
|
-
Threegp = "video/3gp"
|
|
124
|
+
Threegp = "video/3gp"
|
|
125
125
|
}
|
|
126
126
|
declare enum StickerMediaTypesEnum {
|
|
127
|
-
Webp = "image/webp"
|
|
127
|
+
Webp = "image/webp"
|
|
128
128
|
}
|
|
129
129
|
declare enum ImageMediaTypesEnum {
|
|
130
130
|
Jpeg = "image/jpeg",
|
|
131
|
-
Png = "image/png"
|
|
131
|
+
Png = "image/png"
|
|
132
132
|
}
|
|
133
133
|
declare enum DocumentMediaTypesEnum {
|
|
134
134
|
Text = "text/plain",
|
|
@@ -138,14 +138,14 @@ declare enum DocumentMediaTypesEnum {
|
|
|
138
138
|
Excel = "application/vnd.ms-excel",
|
|
139
139
|
OpenDoc = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
140
140
|
OpenPres = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
141
|
-
OpenSheet = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
141
|
+
OpenSheet = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
142
142
|
}
|
|
143
143
|
declare enum AudioMediaTypesEnum {
|
|
144
144
|
Aac = "audio/aac",
|
|
145
145
|
Mp4 = "audio/mp4",
|
|
146
146
|
Mpeg = "audio/mpeg",
|
|
147
147
|
Amr = "audio/amr",
|
|
148
|
-
Ogg = "audio/ogg"
|
|
148
|
+
Ogg = "audio/ogg"
|
|
149
149
|
}
|
|
150
150
|
declare enum WebhookTypesEnum {
|
|
151
151
|
Audio = "audio",
|
|
@@ -158,19 +158,19 @@ declare enum WebhookTypesEnum {
|
|
|
158
158
|
Sticker = "sticker",
|
|
159
159
|
System = "system",
|
|
160
160
|
Unknown = "unknown",
|
|
161
|
-
Video = "video"
|
|
161
|
+
Video = "video"
|
|
162
162
|
}
|
|
163
163
|
declare enum SystemChangeTypesEnum {
|
|
164
164
|
CustomerChangedNumber = "customer_changed_number",
|
|
165
|
-
CustomerIdentityChanged = "customer_identity_changed"
|
|
165
|
+
CustomerIdentityChanged = "customer_identity_changed"
|
|
166
166
|
}
|
|
167
167
|
declare enum ReferralSourceTypesEnum {
|
|
168
168
|
Ad = "ad",
|
|
169
|
-
Post = "post"
|
|
169
|
+
Post = "post"
|
|
170
170
|
}
|
|
171
171
|
declare enum RequestCodeMethodsEnum {
|
|
172
172
|
Sms = "SMS",
|
|
173
|
-
Voice = "VOICE"
|
|
173
|
+
Voice = "VOICE"
|
|
174
174
|
}
|
|
175
175
|
declare enum LanguagesEnum {
|
|
176
176
|
Afrikaans = "af",
|
|
@@ -243,7 +243,7 @@ declare enum LanguagesEnum {
|
|
|
243
243
|
Urdu = "ur",
|
|
244
244
|
Uzbek = "uz",
|
|
245
245
|
Vietnamese = "vi",
|
|
246
|
-
Zulu = "zu"
|
|
246
|
+
Zulu = "zu"
|
|
247
247
|
}
|
|
248
248
|
declare enum CurrencyCodesEnum {
|
|
249
249
|
AFN = "AFN",
|
|
@@ -547,7 +547,7 @@ declare enum CurrencyCodesEnum {
|
|
|
547
547
|
ZWR = "ZWR",
|
|
548
548
|
XFO = "XFO",
|
|
549
549
|
XRE = "XRE",
|
|
550
|
-
XFU = "XFU"
|
|
550
|
+
XFU = "XFU"
|
|
551
551
|
}
|
|
552
552
|
declare enum DataLocalizationRegionEnum {
|
|
553
553
|
AU = "AU",
|
|
@@ -576,7 +576,7 @@ declare enum DataLocalizationRegionEnum {
|
|
|
576
576
|
// South Africa
|
|
577
577
|
AE = "AE",
|
|
578
578
|
// United Arab Emirates
|
|
579
|
-
CA = "CA"
|
|
579
|
+
CA = "CA"
|
|
580
580
|
}
|
|
581
581
|
/**
|
|
582
582
|
* Business category values for WhatsApp Business Profile.
|
|
@@ -666,7 +666,7 @@ declare enum BusinessVerticalEnum {
|
|
|
666
666
|
/**
|
|
667
667
|
* Travel and Transportation
|
|
668
668
|
*/
|
|
669
|
-
TRAVEL = "TRAVEL"
|
|
669
|
+
TRAVEL = "TRAVEL"
|
|
670
670
|
}
|
|
671
671
|
//#endregion
|
|
672
672
|
export { AudioMediaTypesEnum, BusinessVerticalEnum, ButtonPositionEnum, CategoryEnum, ComponentTypesEnum, ConversationTypesEnum, CurrencyCodesEnum, DataLocalizationRegionEnum, DocumentMediaTypesEnum, HttpMethodsEnum, ImageMediaTypesEnum, InteractiveTypesEnum, LanguagesEnum, MessageTypesEnum, ParametersTypesEnum, ReferralSourceTypesEnum, RequestCodeMethodsEnum, StatusEnum, StickerMediaTypesEnum, SubTypeEnum, SystemChangeTypesEnum, TemplateStatusEnum, VideoMediaTypesEnum, WabaConfigEnum, WebhookTypesEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","names":[],"sources":["../../src/types/enums.ts"],"mappings":";aAAY,YAAA;
|
|
1
|
+
{"version":3,"file":"enums.d.ts","names":[],"sources":["../../src/types/enums.ts"],"mappings":"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A;EACA,SAAA;EACA,IAAA;EACA,KAAA;EACA,UAAA;EACA,IAAA;AAAA;AAAA,aAGQ,iBAAA;EACR,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;EACA,GAAA;AAAA;AAAA,aAGQ,0BAAA;EAER,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EAGA,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EAGA,EAAA;EAAA;EAGA,EAAA;EAAA;EACA,EAAA;EAAA;EACA,EAAA;EAAA;EAGA,EAAA;AAAA;;;;;aAOQ,oBAAA;EAjFR;;;EAqFA,OAAA;EAjFA;;;EAqFA,OAAA;EAjFA;;;EAqFA,IAAA;EAjFA;;;EAqFA,MAAA;EAjFA;;;EAqFA,GAAA;EAjFA;;;EAqFA,SAAA;EAjFA;;;EAqFA,UAAA;EAjFA;;;EAqFA,OAAA;EAjFA;;;EAqFA,IAAA;EAjFA;;;EAqFA,OAAA;EAjFA;;;EAqFA,MAAA;EAjFA;;;EAqFA,KAAA;EAjFA;;;EAqFA,SAAA;EAlFkC;;;EAsFlC,eAAA;EAnFA;;;EAuFA,SAAA;EAnFA;;;EAuFA,KAAA;EA/EA;;;EAmFA,iBAAA;EA3EA;;;EA+EA,aAAA;EAxE4B;;;EA4E5B,UAAA;EApEA;;;EAwEA,MAAA;EAxDA;;;EA4DA,MAAA;AAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -844,8 +844,7 @@ type WhatsAppConfig = {
|
|
|
844
844
|
maxRetriesAfterWait?: number;
|
|
845
845
|
requestTimeout?: number;
|
|
846
846
|
privatePem?: string;
|
|
847
|
-
passphrase?: string;
|
|
848
|
-
/** Automatic retry configuration for throttling errors. */
|
|
847
|
+
passphrase?: string; /** Automatic retry configuration for throttling errors. */
|
|
849
848
|
retry?: RetryConfig;
|
|
850
849
|
};
|
|
851
850
|
type WabaConfigType = {
|
|
@@ -1810,7 +1809,7 @@ declare enum WabaAccountReviewStatus {
|
|
|
1810
1809
|
Approved = "APPROVED",
|
|
1811
1810
|
Active = "ACTIVE",
|
|
1812
1811
|
Inactive = "INACTIVE",
|
|
1813
|
-
Disabled = "DISABLED"
|
|
1812
|
+
Disabled = "DISABLED"
|
|
1814
1813
|
}
|
|
1815
1814
|
/**
|
|
1816
1815
|
* WABA health status for message sending capability
|
|
@@ -1818,7 +1817,7 @@ declare enum WabaAccountReviewStatus {
|
|
|
1818
1817
|
declare enum WabaHealthStatusCanSendMessage {
|
|
1819
1818
|
Blocked = "BLOCKED",
|
|
1820
1819
|
Limited = "LIMITED",
|
|
1821
|
-
Available = "AVAILABLE"
|
|
1820
|
+
Available = "AVAILABLE"
|
|
1822
1821
|
}
|
|
1823
1822
|
/**
|
|
1824
1823
|
* WABA account status enumeration
|
|
@@ -1827,7 +1826,7 @@ declare enum WabaAccountStatus {
|
|
|
1827
1826
|
Approved = "APPROVED",
|
|
1828
1827
|
Active = "ACTIVE",
|
|
1829
1828
|
Inactive = "INACTIVE",
|
|
1830
|
-
Disabled = "DISABLED"
|
|
1829
|
+
Disabled = "DISABLED"
|
|
1831
1830
|
}
|
|
1832
1831
|
/**
|
|
1833
1832
|
* Business verification status enumeration
|
|
@@ -1836,7 +1835,7 @@ declare enum WabaBusinessVerificationStatus {
|
|
|
1836
1835
|
Verified = "verified",
|
|
1837
1836
|
PendingSubmission = "pending_submission",
|
|
1838
1837
|
Unverified = "unverified",
|
|
1839
|
-
Rejected = "rejected"
|
|
1838
|
+
Rejected = "rejected"
|
|
1840
1839
|
}
|
|
1841
1840
|
/**
|
|
1842
1841
|
* WABA health status error details
|
|
@@ -1975,9 +1974,7 @@ interface AuthInternationalRateEligibility {
|
|
|
1975
1974
|
start_time: number;
|
|
1976
1975
|
/** Countries with different start times */
|
|
1977
1976
|
exception_countries?: Array<{
|
|
1978
|
-
/** ISO 3166-1 alpha-2 country code */
|
|
1979
|
-
country_code: string;
|
|
1980
|
-
/** Unix timestamp for this country's start time */
|
|
1977
|
+
/** ISO 3166-1 alpha-2 country code */country_code: string; /** Unix timestamp for this country's start time */
|
|
1981
1978
|
start_time: number;
|
|
1982
1979
|
}>;
|
|
1983
1980
|
}
|
|
@@ -2345,8 +2342,7 @@ interface CallEntry {
|
|
|
2345
2342
|
}
|
|
2346
2343
|
interface CallContact {
|
|
2347
2344
|
profile: {
|
|
2348
|
-
/** Display name of the caller */
|
|
2349
|
-
name: string;
|
|
2345
|
+
/** Display name of the caller */name: string;
|
|
2350
2346
|
};
|
|
2351
2347
|
/** WhatsApp ID of the caller */
|
|
2352
2348
|
wa_id: string;
|
|
@@ -2424,8 +2420,7 @@ interface GroupWebhookError {
|
|
|
2424
2420
|
/** Short title for the error */
|
|
2425
2421
|
title: string;
|
|
2426
2422
|
error_data?: {
|
|
2427
|
-
/** Detailed error description */
|
|
2428
|
-
details: string;
|
|
2423
|
+
/** Detailed error description */details: string;
|
|
2429
2424
|
};
|
|
2430
2425
|
}
|
|
2431
2426
|
interface GroupAddedParticipant {
|
|
@@ -3092,9 +3087,7 @@ interface UserPreferenceEntry {
|
|
|
3092
3087
|
}
|
|
3093
3088
|
interface UserPreferencesContact {
|
|
3094
3089
|
profile: {
|
|
3095
|
-
/** Display name of the user */
|
|
3096
|
-
name: string;
|
|
3097
|
-
/** WhatsApp username, if available */
|
|
3090
|
+
/** Display name of the user */name: string; /** WhatsApp username, if available */
|
|
3098
3091
|
username?: string;
|
|
3099
3092
|
};
|
|
3100
3093
|
/** WhatsApp ID of the user */
|
|
@@ -3444,7 +3437,7 @@ declare enum FlowStatusEnum {
|
|
|
3444
3437
|
Published = "PUBLISHED",
|
|
3445
3438
|
Throttled = "THROTTLED",
|
|
3446
3439
|
Blocked = "BLOCKED",
|
|
3447
|
-
Deprecated = "DEPRECATED"
|
|
3440
|
+
Deprecated = "DEPRECATED"
|
|
3448
3441
|
}
|
|
3449
3442
|
/**
|
|
3450
3443
|
* Enum for Flow Categories
|
|
@@ -3457,12 +3450,12 @@ declare enum FlowCategoryEnum {
|
|
|
3457
3450
|
ContactUs = "CONTACT_US",
|
|
3458
3451
|
CustomerSupport = "CUSTOMER_SUPPORT",
|
|
3459
3452
|
Survey = "SURVEY",
|
|
3460
|
-
Other = "OTHER"
|
|
3453
|
+
Other = "OTHER"
|
|
3461
3454
|
}
|
|
3462
3455
|
declare enum FlowActionEnum {
|
|
3463
3456
|
INIT = "INIT",
|
|
3464
3457
|
BACK = "BACK",
|
|
3465
|
-
DATA_EXCHANGE = "data_exchange"
|
|
3458
|
+
DATA_EXCHANGE = "data_exchange"
|
|
3466
3459
|
}
|
|
3467
3460
|
/**
|
|
3468
3461
|
* Enum for Flow Types in webhook handlers
|
|
@@ -3476,7 +3469,7 @@ declare enum FlowTypeEnum {
|
|
|
3476
3469
|
/** Error notification requests */
|
|
3477
3470
|
Error = "error",
|
|
3478
3471
|
/** Match all flow action types */
|
|
3479
|
-
All = "*"
|
|
3472
|
+
All = "*"
|
|
3480
3473
|
}
|
|
3481
3474
|
type FlowType = (typeof FlowTypeEnum)[keyof typeof FlowTypeEnum];
|
|
3482
3475
|
/**
|
|
@@ -3835,6 +3828,281 @@ interface FlowClass {
|
|
|
3835
3828
|
}): Promise<FlowMigrationResponse>;
|
|
3836
3829
|
}
|
|
3837
3830
|
//#endregion
|
|
3831
|
+
//#region src/types/constants.d.ts
|
|
3832
|
+
/**
|
|
3833
|
+
* As-const alternatives to enums.
|
|
3834
|
+
*
|
|
3835
|
+
* Every enum in enums.ts gets a matching `as const` object and a union type here.
|
|
3836
|
+
* Use whichever style you prefer:
|
|
3837
|
+
* - Enum: CategoryEnum.Marketing
|
|
3838
|
+
* - Const: Category.Marketing (value: 'MARKETING')
|
|
3839
|
+
* - Type: CategoryType (union: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY')
|
|
3840
|
+
*/
|
|
3841
|
+
declare const Category: {
|
|
3842
|
+
readonly Authentication: "AUTHENTICATION";
|
|
3843
|
+
readonly Marketing: "MARKETING";
|
|
3844
|
+
readonly Utility: "UTILITY";
|
|
3845
|
+
};
|
|
3846
|
+
type CategoryType = (typeof Category)[keyof typeof Category];
|
|
3847
|
+
declare const TemplateStatus: {
|
|
3848
|
+
readonly Approved: "APPROVED";
|
|
3849
|
+
readonly Pending: "PENDING";
|
|
3850
|
+
readonly Rejected: "REJECTED";
|
|
3851
|
+
};
|
|
3852
|
+
type TemplateStatusType = (typeof TemplateStatus)[keyof typeof TemplateStatus];
|
|
3853
|
+
declare const HttpMethods: {
|
|
3854
|
+
readonly Get: "GET";
|
|
3855
|
+
readonly Post: "POST";
|
|
3856
|
+
readonly Put: "PUT";
|
|
3857
|
+
readonly Delete: "DELETE";
|
|
3858
|
+
};
|
|
3859
|
+
type HttpMethodsType = (typeof HttpMethods)[keyof typeof HttpMethods];
|
|
3860
|
+
declare const MessageTypes: {
|
|
3861
|
+
readonly Audio: "audio";
|
|
3862
|
+
readonly Contacts: "contacts";
|
|
3863
|
+
readonly Document: "document";
|
|
3864
|
+
readonly Image: "image";
|
|
3865
|
+
readonly Interactive: "interactive";
|
|
3866
|
+
readonly Location: "location";
|
|
3867
|
+
readonly Reaction: "reaction";
|
|
3868
|
+
readonly Sticker: "sticker";
|
|
3869
|
+
readonly Template: "template";
|
|
3870
|
+
readonly Text: "text";
|
|
3871
|
+
readonly Video: "video";
|
|
3872
|
+
readonly Button: "button";
|
|
3873
|
+
readonly Order: "order";
|
|
3874
|
+
readonly System: "system";
|
|
3875
|
+
readonly Unsupported: "unsupported";
|
|
3876
|
+
readonly Unknown: "unknown"; /** @deprecated Use WebhookProcessor.onStatus() instead */
|
|
3877
|
+
readonly Statuses: "statuses";
|
|
3878
|
+
readonly All: "*";
|
|
3879
|
+
};
|
|
3880
|
+
type MessageTypesType = (typeof MessageTypes)[keyof typeof MessageTypes];
|
|
3881
|
+
declare const ParametersTypes: {
|
|
3882
|
+
readonly Action: "ACTION";
|
|
3883
|
+
readonly CouponCode: "COUPON_CODE";
|
|
3884
|
+
readonly Currency: "CURRENCY";
|
|
3885
|
+
readonly DateTime: "DATE_TIME";
|
|
3886
|
+
readonly Document: "DOCUMENT";
|
|
3887
|
+
readonly ExpirationTimeMs: "EXPIRATION_TIME_MS";
|
|
3888
|
+
readonly Image: "IMAGE";
|
|
3889
|
+
readonly LimitedTimeOffer: "LIMITED_TIME_OFFER";
|
|
3890
|
+
readonly Location: "LOCATION";
|
|
3891
|
+
readonly OrderStatus: "ORDER_STATUS";
|
|
3892
|
+
readonly Payload: "PAYLOAD";
|
|
3893
|
+
readonly Product: "PRODUCT";
|
|
3894
|
+
readonly Text: "TEXT";
|
|
3895
|
+
readonly TtlMinutes: "TTL_MINUTES";
|
|
3896
|
+
readonly Video: "VIDEO";
|
|
3897
|
+
readonly WebviewInteraction: "WEBVIEW_INTERACTION";
|
|
3898
|
+
readonly WebviewPresentation: "WEBVIEW_PRESENTATION";
|
|
3899
|
+
};
|
|
3900
|
+
type ParametersTypesType = (typeof ParametersTypes)[keyof typeof ParametersTypes];
|
|
3901
|
+
declare const InteractiveTypes: {
|
|
3902
|
+
readonly Button: "button";
|
|
3903
|
+
readonly List: "list";
|
|
3904
|
+
readonly Product: "product";
|
|
3905
|
+
readonly ProductList: "product_list";
|
|
3906
|
+
readonly CtaUrl: "cta_url";
|
|
3907
|
+
readonly Carousel: "carousel";
|
|
3908
|
+
readonly LocationRequest: "location_request_message";
|
|
3909
|
+
readonly AddressMessage: "address_message";
|
|
3910
|
+
readonly Flow: "flow";
|
|
3911
|
+
};
|
|
3912
|
+
type InteractiveTypesType = (typeof InteractiveTypes)[keyof typeof InteractiveTypes];
|
|
3913
|
+
declare const ButtonPosition: {
|
|
3914
|
+
readonly First: 1;
|
|
3915
|
+
readonly Second: 2;
|
|
3916
|
+
readonly Third: 3;
|
|
3917
|
+
readonly Fourth: 4;
|
|
3918
|
+
readonly Fifth: 5;
|
|
3919
|
+
};
|
|
3920
|
+
type ButtonPositionType = (typeof ButtonPosition)[keyof typeof ButtonPosition];
|
|
3921
|
+
declare const SubType: {
|
|
3922
|
+
readonly Catalog: "CATALOG";
|
|
3923
|
+
readonly CopyCode: "COPY_CODE";
|
|
3924
|
+
readonly Flow: "FLOW";
|
|
3925
|
+
readonly Mpm: "MPM";
|
|
3926
|
+
readonly OrderDetails: "ORDER_DETAILS";
|
|
3927
|
+
readonly QuickReply: "QUICK_REPLY";
|
|
3928
|
+
readonly Reminder: "REMINDER";
|
|
3929
|
+
readonly Url: "URL";
|
|
3930
|
+
readonly VoiceCall: "VOICE_CALL";
|
|
3931
|
+
};
|
|
3932
|
+
type SubTypeType = (typeof SubType)[keyof typeof SubType];
|
|
3933
|
+
declare const ComponentType: {
|
|
3934
|
+
readonly Header: "HEADER";
|
|
3935
|
+
readonly Body: "BODY";
|
|
3936
|
+
readonly Button: "BUTTON";
|
|
3937
|
+
readonly Footer: "FOOTER";
|
|
3938
|
+
};
|
|
3939
|
+
type ComponentTypeType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
3940
|
+
declare const ConversationTypes: {
|
|
3941
|
+
readonly BusinessInitiated: "business_initiated";
|
|
3942
|
+
readonly CustomerInitiated: "customer_initiated";
|
|
3943
|
+
readonly ReferralConversion: "referral_conversion";
|
|
3944
|
+
};
|
|
3945
|
+
type ConversationTypesType = (typeof ConversationTypes)[keyof typeof ConversationTypes];
|
|
3946
|
+
declare const Status: {
|
|
3947
|
+
readonly Delivered: "delivered";
|
|
3948
|
+
readonly Read: "read";
|
|
3949
|
+
readonly Sent: "sent";
|
|
3950
|
+
};
|
|
3951
|
+
type StatusType = (typeof Status)[keyof typeof Status];
|
|
3952
|
+
declare const VideoMediaTypes: {
|
|
3953
|
+
readonly Mp4: "video/mp4";
|
|
3954
|
+
readonly Threegp: "video/3gp";
|
|
3955
|
+
};
|
|
3956
|
+
type VideoMediaTypesType = (typeof VideoMediaTypes)[keyof typeof VideoMediaTypes];
|
|
3957
|
+
declare const StickerMediaTypes: {
|
|
3958
|
+
readonly Webp: "image/webp";
|
|
3959
|
+
};
|
|
3960
|
+
type StickerMediaTypesType = (typeof StickerMediaTypes)[keyof typeof StickerMediaTypes];
|
|
3961
|
+
declare const ImageMediaTypes: {
|
|
3962
|
+
readonly Jpeg: "image/jpeg";
|
|
3963
|
+
readonly Png: "image/png";
|
|
3964
|
+
};
|
|
3965
|
+
type ImageMediaTypesType = (typeof ImageMediaTypes)[keyof typeof ImageMediaTypes];
|
|
3966
|
+
declare const DocumentMediaTypes: {
|
|
3967
|
+
readonly Text: "text/plain";
|
|
3968
|
+
readonly Pdf: "application/pdf";
|
|
3969
|
+
readonly Ppt: "application/vnd.ms-powerpoint";
|
|
3970
|
+
readonly Word: "application/msword";
|
|
3971
|
+
readonly Excel: "application/vnd.ms-excel";
|
|
3972
|
+
readonly OpenDoc: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
3973
|
+
readonly OpenPres: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
3974
|
+
readonly OpenSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
3975
|
+
};
|
|
3976
|
+
type DocumentMediaTypesType = (typeof DocumentMediaTypes)[keyof typeof DocumentMediaTypes];
|
|
3977
|
+
declare const AudioMediaTypes: {
|
|
3978
|
+
readonly Aac: "audio/aac";
|
|
3979
|
+
readonly Mp4: "audio/mp4";
|
|
3980
|
+
readonly Mpeg: "audio/mpeg";
|
|
3981
|
+
readonly Amr: "audio/amr";
|
|
3982
|
+
readonly Ogg: "audio/ogg";
|
|
3983
|
+
};
|
|
3984
|
+
type AudioMediaTypesType = (typeof AudioMediaTypes)[keyof typeof AudioMediaTypes];
|
|
3985
|
+
declare const WebhookTypes: {
|
|
3986
|
+
readonly Audio: "audio";
|
|
3987
|
+
readonly Button: "button";
|
|
3988
|
+
readonly Document: "document";
|
|
3989
|
+
readonly Text: "text";
|
|
3990
|
+
readonly Image: "image";
|
|
3991
|
+
readonly Interactive: "interactive";
|
|
3992
|
+
readonly Order: "order";
|
|
3993
|
+
readonly Sticker: "sticker";
|
|
3994
|
+
readonly System: "system";
|
|
3995
|
+
readonly Unknown: "unknown";
|
|
3996
|
+
readonly Video: "video";
|
|
3997
|
+
};
|
|
3998
|
+
type WebhookTypesType = (typeof WebhookTypes)[keyof typeof WebhookTypes];
|
|
3999
|
+
declare const SystemChangeTypes: {
|
|
4000
|
+
readonly CustomerChangedNumber: "customer_changed_number";
|
|
4001
|
+
readonly CustomerIdentityChanged: "customer_identity_changed";
|
|
4002
|
+
};
|
|
4003
|
+
type SystemChangeTypesType = (typeof SystemChangeTypes)[keyof typeof SystemChangeTypes];
|
|
4004
|
+
declare const ReferralSourceTypes: {
|
|
4005
|
+
readonly Ad: "ad";
|
|
4006
|
+
readonly Post: "post";
|
|
4007
|
+
};
|
|
4008
|
+
type ReferralSourceTypesType = (typeof ReferralSourceTypes)[keyof typeof ReferralSourceTypes];
|
|
4009
|
+
declare const RequestCodeMethods: {
|
|
4010
|
+
readonly Sms: "SMS";
|
|
4011
|
+
readonly Voice: "VOICE";
|
|
4012
|
+
};
|
|
4013
|
+
type RequestCodeMethodsType = (typeof RequestCodeMethods)[keyof typeof RequestCodeMethods];
|
|
4014
|
+
declare const Languages: {
|
|
4015
|
+
readonly Afrikaans: "af";
|
|
4016
|
+
readonly Albanian: "sq";
|
|
4017
|
+
readonly Arabic: "ar";
|
|
4018
|
+
readonly Azerbaijani: "az";
|
|
4019
|
+
readonly Bengali: "bn";
|
|
4020
|
+
readonly Bulgarian: "bg";
|
|
4021
|
+
readonly Catalan: "ca";
|
|
4022
|
+
readonly Chinese_CHN: "zh_CN";
|
|
4023
|
+
readonly Chinese_HKG: "zh_HK";
|
|
4024
|
+
readonly Chinese_TAI: "zh_TW";
|
|
4025
|
+
readonly Croatian: "hr";
|
|
4026
|
+
readonly Czech: "cs";
|
|
4027
|
+
readonly Danish: "da";
|
|
4028
|
+
readonly Dutch: "nl";
|
|
4029
|
+
readonly English: "en";
|
|
4030
|
+
readonly English_UK: "en_GB";
|
|
4031
|
+
readonly English_US: "en_US";
|
|
4032
|
+
readonly Estonian: "et";
|
|
4033
|
+
readonly Filipino: "fil";
|
|
4034
|
+
readonly Finnish: "fi";
|
|
4035
|
+
readonly French: "fr";
|
|
4036
|
+
readonly Georgian: "ka";
|
|
4037
|
+
readonly German: "de";
|
|
4038
|
+
readonly Greek: "el";
|
|
4039
|
+
readonly Gujarati: "gu";
|
|
4040
|
+
readonly Hausa: "ha";
|
|
4041
|
+
readonly Hebrew: "he";
|
|
4042
|
+
readonly Hindi: "hi";
|
|
4043
|
+
readonly Hungarian: "hu";
|
|
4044
|
+
readonly Indonesian: "id";
|
|
4045
|
+
readonly Irish: "ga";
|
|
4046
|
+
readonly Italian: "it";
|
|
4047
|
+
readonly Japanese: "ja";
|
|
4048
|
+
readonly Kannada: "kn";
|
|
4049
|
+
readonly Kazakh: "kk";
|
|
4050
|
+
readonly Kinyarwanda: "rw_RW";
|
|
4051
|
+
readonly Korean: "ko";
|
|
4052
|
+
readonly Kyrgyz_Kyrgyzstan: "ky_KG";
|
|
4053
|
+
readonly Lao: "lo";
|
|
4054
|
+
readonly Latvian: "lv";
|
|
4055
|
+
readonly Lithuanian: "lt";
|
|
4056
|
+
readonly Macedonian: "mk";
|
|
4057
|
+
readonly Malay: "ms";
|
|
4058
|
+
readonly Malayalam: "ml";
|
|
4059
|
+
readonly Marathi: "mr";
|
|
4060
|
+
readonly Norwegian: "nb";
|
|
4061
|
+
readonly Persian: "fa";
|
|
4062
|
+
readonly Polish: "pl";
|
|
4063
|
+
readonly Portuguese_BR: "pt_BR";
|
|
4064
|
+
readonly Portuguese_POR: "pt_PT";
|
|
4065
|
+
readonly Punjabi: "pa";
|
|
4066
|
+
readonly Romanian: "ro";
|
|
4067
|
+
readonly Russian: "ru";
|
|
4068
|
+
readonly Serbian: "sr";
|
|
4069
|
+
readonly Slovak: "sk";
|
|
4070
|
+
readonly Slovenian: "sl";
|
|
4071
|
+
readonly Spanish: "es";
|
|
4072
|
+
readonly Spanish_ARG: "es_AR";
|
|
4073
|
+
readonly Spanish_SPA: "es_ES";
|
|
4074
|
+
readonly Spanish_MEX: "es_MX";
|
|
4075
|
+
readonly Swahili: "sw";
|
|
4076
|
+
readonly Swedish: "sv";
|
|
4077
|
+
readonly Tamil: "ta";
|
|
4078
|
+
readonly Telugu: "te";
|
|
4079
|
+
readonly Thai: "th";
|
|
4080
|
+
readonly Turkish: "tr";
|
|
4081
|
+
readonly Ukrainian: "uk";
|
|
4082
|
+
readonly Urdu: "ur";
|
|
4083
|
+
readonly Uzbek: "uz";
|
|
4084
|
+
readonly Vietnamese: "vi";
|
|
4085
|
+
readonly Zulu: "zu";
|
|
4086
|
+
};
|
|
4087
|
+
type LanguagesType = (typeof Languages)[keyof typeof Languages];
|
|
4088
|
+
declare const DataLocalizationRegion: {
|
|
4089
|
+
readonly AU: "AU";
|
|
4090
|
+
readonly ID: "ID";
|
|
4091
|
+
readonly IN: "IN";
|
|
4092
|
+
readonly JP: "JP";
|
|
4093
|
+
readonly SG: "SG";
|
|
4094
|
+
readonly KR: "KR";
|
|
4095
|
+
readonly DE: "DE";
|
|
4096
|
+
readonly CH: "CH";
|
|
4097
|
+
readonly GB: "GB";
|
|
4098
|
+
readonly BR: "BR";
|
|
4099
|
+
readonly BH: "BH";
|
|
4100
|
+
readonly ZA: "ZA";
|
|
4101
|
+
readonly AE: "AE";
|
|
4102
|
+
readonly CA: "CA";
|
|
4103
|
+
};
|
|
4104
|
+
type DataLocalizationRegionType = (typeof DataLocalizationRegion)[keyof typeof DataLocalizationRegion];
|
|
4105
|
+
//#endregion
|
|
3838
4106
|
//#region src/types/httpsClient.d.ts
|
|
3839
4107
|
type ResponseHeaderValue = string | string[] | undefined;
|
|
3840
4108
|
type ResponseHeaders = Record<string, ResponseHeaderValue>;
|
|
@@ -3861,5 +4129,5 @@ interface LoggerInterface {
|
|
|
3861
4129
|
debug(...data: any[]): void;
|
|
3862
4130
|
}
|
|
3863
4131
|
//#endregion
|
|
3864
|
-
export { type AcceptCallRequest, type AccountMode, type ApiPermissionErrorCode, type AudioMediaObject, AudioMediaTypesEnum, type AudioMessage, type AuthenticationTemplateOptions, type BaseClass, type BlockUsersClass, type BlockUsersResponse, type BlockedUserInfo, type BodyOptions, type BusinessProfileClass, type BusinessProfileData, type BusinessProfileField, type BusinessProfileFieldsParam, type BusinessProfileResponse, BusinessVerticalEnum, type ButtonMessage, type ButtonOptions, ButtonPositionEnum, type CallAction, type CallActionResponse, type CallHours, type CallHoursDay, type CallHoursStatus, type CallIconVisibility, type CallPermission, type CallPermissionAction, type CallPermissionLimit, type CallPermissionsResponse, type CallSdpType, type CallSession, type CallbackPermissionStatus, type CallingClass, type CallingSettings, type CallingSettingsResponse, type CallingStatus, type CarouselCard, type CarouselOptions, type CatalogButton, type CatalogTemplateOptions, CategoryEnum, type CodeVerificationStatus, type CommerceClass, type CommerceSetting, type CommerceSettingsResponse, type ComponentTypes, ComponentTypesEnum, type ContactObject, type ContactsMessage, ConversationTypesEnum, type CopyCodeButton, type CouponTemplateOptions, CreateFlowResponse, type CreateQrCodeRequest, CurrencyCodesEnum, type CurrencyParameter, type Cursors, DataLocalizationRegionEnum, type DateTimeParameter, type DocumentMediaObject, DocumentMediaTypesEnum, type DocumentMessage, type EncryptionPublicKeyResponse, type ErrorWebhookValue, type FailedUserInfo, type Flow, FlowActionEnum, type FlowAsset, type FlowAssetsResponse, type FlowButton, FlowCategoryEnum, type FlowClass, type FlowDataExchangeRequest, type FlowDataExchangeResponse, type FlowDecryptedRequestResponse, type FlowEncryptedRequestPayload, type FlowEndpointRequest, type FlowEndpointResponse, type FlowErrorNotificationRequest, type FlowErrorNotificationResponse, type FlowHealthCheckRequest, type FlowHealthCheckResponse, type FlowHttpRequest, type FlowMigrationFailure, type FlowMigrationResponse, type FlowMigrationResult, type FlowPreview, type FlowPreviewResponse, FlowStatusEnum, type FlowSuccessScreenResponse, type FlowType, FlowTypeEnum, type FlowValidationError, type FlowValidationErrorPointer, type FlowsListResponse, type FooterOptions, type GeneralHeaderInterface, type GeneralMessageBody, type GeneralRequestBody, type GroupCreateRequest, type GroupCreateResponse, type GroupInfoField, type GroupInfoFieldsParam, type GroupInfoResponse, type GroupInviteLinkResponse, type GroupJoinApprovalMode, type GroupJoinRequest, type GroupJoinRequestError, type GroupJoinRequestFailure, type GroupJoinRequestsActionResponse, type GroupJoinRequestsResponse, type GroupListParams, type GroupListResponse, type GroupMessage, type GroupParticipant, type GroupSettingsResponse, type GroupsClass, type HeaderOptions, type HealthStatus, type HealthStatusEntity, type HolidaySchedule, HttpMethodsEnum, type HttpsClientClass, type HttpsClientResponseClass, type ImageMediaObject, ImageMediaTypesEnum, type ImageMessage, type InitiateCallRequest, type InitiateCallResponse, type InteractiveButtonReplyMessage, type InteractiveListReplyMessage, type InteractiveMessage, type InteractiveObject, InteractiveTypesEnum, LanguagesEnum, type LimitedTimeOfferOptions, type LimitedTimeOfferTemplateOptions, type ListBlockedUsersParams, type ListBlockedUsersResponse, type LocationMessage, type LocationObject, type LocationParameter, type LoggerInterface, type MPMButton, type MPMTemplateOptions, type MarketingMessageRequest, type MarketingMessagesClass, type MediaCardCarouselTemplateOptions, type MediaCarouselCard, MediaClass, type MediaParameter, MediaResponse, MediasResponse, type MessageRequestBody, type MessageRequestParams, type MessageTemplateObject, MessageTypesEnum, type MessageWebhookValue, type MessagesClass, type MessagesResponse, type MessagingLimitTier, type MetaError, type MetaErrorData, type MetaErrorDetail, type OTPButton, type OTPTemplateOptions, type OrderMessage, type Pagination, type PaginationCursors, type Paging, ParametersTypesEnum, type PaymentConfiguration, type PaymentConfigurationCode, type PaymentConfigurationCreateRequest, type PaymentConfigurationCreateResponse, type PaymentConfigurationDeleteRequest, type PaymentConfigurationOauthLinkRequest, type PaymentConfigurationOauthLinkResponse, type PaymentConfigurationProvider, type PaymentConfigurationStatus, type PaymentConfigurationUpdateRequest, type PaymentConfigurationUpdateResponse, type PaymentConfigurationsResponse, type PaymentsClass, type PhoneNumberButton, type PhoneNumberClass, type PhoneNumberResponse, type PhoneNumbersResponse, type PlatformType, type PreAcceptCallRequest, type ProductCardCarouselTemplateOptions, type ProductCarouselCard, type ProductParameter, type ProductSection, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, type QualityRating, type QualityScore, type QuickReplyButton, type ReactionMessage, type ReactionParams, ReferralSourceTypesEnum, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RequestCodeMethodsEnum, type RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, type SPMButton, type SPMTemplateOptions, type SipServer, type SipSettings, type SipStatus, StatusEnum, type StatusParams, type StatusWebhook, type StatusWebhookValue, type StickerMediaObject, StickerMediaTypesEnum, type StickerMessage, SubTypeEnum, SystemChangeTypesEnum, type SystemMessage, type TemplateBody, type TemplateButton, type TemplateButtons, type TemplateCarousel, type TemplateClass, type TemplateDeleteParams, type TemplateFooter, type TemplateFormat, type TemplateGetParams, type TemplateHeader, type TemplateHeaderExample, type TemplateLimitedTimeOffer, type TemplateOptions, type TemplateParameter, type TemplateRequestBody, type TemplateResponse, TemplateStatusEnum, type TerminateCallRequest, type TextMessage, type TextMessageParams, type TextObject, type TextParameter, type Throughput, type ThroughputLevel, type TwoStepVerificationClass, type TwoStepVerificationParams, type TwoStepVerificationRequest, type URLButton, type UnsupportedMessage, type UpdateBusinessProfileRequest, type UpdateCallingSettingsRequest, type UpdateCommerceSettingsRequest, type UpdateFlowResponse, type UpdateGroupSettingsRequest, type UpdateQrCodeRequest, type UpdateWabaSubscription, UploadMediaResponse, type ValidateFlowJsonResponse, type VerifyCodeRequest, type VideoMediaObject, VideoMediaTypesEnum, type VideoMessage, type WABAClass, type WabaAccount, type WabaAccountFields, type WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaConfigEnum, type WabaConfigType, type WabaHealthStatus, WabaHealthStatusCanSendMessage, type WabaHealthStatusEntity, type WabaHealthStatusError, type WabaSubscription, type WabaSubscriptions, type WebhookContact, type WebhookEvent, type WebhookMessage, type WebhookPayload, WebhookTypesEnum, type WebhookValue, type WeeklyOperatingHours, type WhatsAppConfig, type WhatsAppErrorCode, type WhatsAppMessage };
|
|
4132
|
+
export { type AcceptCallRequest, type AccountMode, type ApiPermissionErrorCode, type AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, type AudioMessage, type AuthenticationTemplateOptions, type BaseClass, type BlockUsersClass, type BlockUsersResponse, type BlockedUserInfo, type BodyOptions, type BusinessProfileClass, type BusinessProfileData, type BusinessProfileField, type BusinessProfileFieldsParam, type BusinessProfileResponse, BusinessVerticalEnum, type ButtonMessage, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type CallAction, type CallActionResponse, type CallHours, type CallHoursDay, type CallHoursStatus, type CallIconVisibility, type CallPermission, type CallPermissionAction, type CallPermissionLimit, type CallPermissionsResponse, type CallSdpType, type CallSession, type CallbackPermissionStatus, type CallingClass, type CallingSettings, type CallingSettingsResponse, type CallingStatus, type CarouselCard, type CarouselOptions, type CatalogButton, type CatalogTemplateOptions, Category, CategoryEnum, CategoryType, type CodeVerificationStatus, type CommerceClass, type CommerceSetting, type CommerceSettingsResponse, ComponentType, ComponentTypeType, type ComponentTypes, ComponentTypesEnum, type ContactObject, type ContactsMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, type CopyCodeButton, type CouponTemplateOptions, CreateFlowResponse, type CreateQrCodeRequest, CurrencyCodesEnum, type CurrencyParameter, type Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, type DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, type DocumentMessage, type EncryptionPublicKeyResponse, type ErrorWebhookValue, type FailedUserInfo, type Flow, FlowActionEnum, type FlowAsset, type FlowAssetsResponse, type FlowButton, FlowCategoryEnum, type FlowClass, type FlowDataExchangeRequest, type FlowDataExchangeResponse, type FlowDecryptedRequestResponse, type FlowEncryptedRequestPayload, type FlowEndpointRequest, type FlowEndpointResponse, type FlowErrorNotificationRequest, type FlowErrorNotificationResponse, type FlowHealthCheckRequest, type FlowHealthCheckResponse, type FlowHttpRequest, type FlowMigrationFailure, type FlowMigrationResponse, type FlowMigrationResult, type FlowPreview, type FlowPreviewResponse, FlowStatusEnum, type FlowSuccessScreenResponse, type FlowType, FlowTypeEnum, type FlowValidationError, type FlowValidationErrorPointer, type FlowsListResponse, type FooterOptions, type GeneralHeaderInterface, type GeneralMessageBody, type GeneralRequestBody, type GroupCreateRequest, type GroupCreateResponse, type GroupInfoField, type GroupInfoFieldsParam, type GroupInfoResponse, type GroupInviteLinkResponse, type GroupJoinApprovalMode, type GroupJoinRequest, type GroupJoinRequestError, type GroupJoinRequestFailure, type GroupJoinRequestsActionResponse, type GroupJoinRequestsResponse, type GroupListParams, type GroupListResponse, type GroupMessage, type GroupParticipant, type GroupSettingsResponse, type GroupsClass, type HeaderOptions, type HealthStatus, type HealthStatusEntity, type HolidaySchedule, HttpMethods, HttpMethodsEnum, HttpMethodsType, type HttpsClientClass, type HttpsClientResponseClass, type ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, type ImageMessage, type InitiateCallRequest, type InitiateCallResponse, type InteractiveButtonReplyMessage, type InteractiveListReplyMessage, type InteractiveMessage, type InteractiveObject, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, type LimitedTimeOfferOptions, type LimitedTimeOfferTemplateOptions, type ListBlockedUsersParams, type ListBlockedUsersResponse, type LocationMessage, type LocationObject, type LocationParameter, type LoggerInterface, type MPMButton, type MPMTemplateOptions, type MarketingMessageRequest, type MarketingMessagesClass, type MediaCardCarouselTemplateOptions, type MediaCarouselCard, MediaClass, type MediaParameter, MediaResponse, MediasResponse, type MessageRequestBody, type MessageRequestParams, type MessageTemplateObject, MessageTypes, MessageTypesEnum, MessageTypesType, type MessageWebhookValue, type MessagesClass, type MessagesResponse, type MessagingLimitTier, type MetaError, type MetaErrorData, type MetaErrorDetail, type OTPButton, type OTPTemplateOptions, type OrderMessage, type Pagination, type PaginationCursors, type Paging, ParametersTypes, ParametersTypesEnum, ParametersTypesType, type PaymentConfiguration, type PaymentConfigurationCode, type PaymentConfigurationCreateRequest, type PaymentConfigurationCreateResponse, type PaymentConfigurationDeleteRequest, type PaymentConfigurationOauthLinkRequest, type PaymentConfigurationOauthLinkResponse, type PaymentConfigurationProvider, type PaymentConfigurationStatus, type PaymentConfigurationUpdateRequest, type PaymentConfigurationUpdateResponse, type PaymentConfigurationsResponse, type PaymentsClass, type PhoneNumberButton, type PhoneNumberClass, type PhoneNumberResponse, type PhoneNumbersResponse, type PlatformType, type PreAcceptCallRequest, type ProductCardCarouselTemplateOptions, type ProductCarouselCard, type ProductParameter, type ProductSection, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, type QualityRating, type QualityScore, type QuickReplyButton, type ReactionMessage, type ReactionParams, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, type RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, type SPMButton, type SPMTemplateOptions, type SipServer, type SipSettings, type SipStatus, Status, StatusEnum, type StatusParams, StatusType, type StatusWebhook, type StatusWebhookValue, type StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, type StickerMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, type SystemMessage, type TemplateBody, type TemplateButton, type TemplateButtons, type TemplateCarousel, type TemplateClass, type TemplateDeleteParams, type TemplateFooter, type TemplateFormat, type TemplateGetParams, type TemplateHeader, type TemplateHeaderExample, type TemplateLimitedTimeOffer, type TemplateOptions, type TemplateParameter, type TemplateRequestBody, type TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageParams, type TextObject, type TextParameter, type Throughput, type ThroughputLevel, type TwoStepVerificationClass, type TwoStepVerificationParams, type TwoStepVerificationRequest, type URLButton, type UnsupportedMessage, type UpdateBusinessProfileRequest, type UpdateCallingSettingsRequest, type UpdateCommerceSettingsRequest, type UpdateFlowResponse, type UpdateGroupSettingsRequest, type UpdateQrCodeRequest, type UpdateWabaSubscription, UploadMediaResponse, type ValidateFlowJsonResponse, type VerifyCodeRequest, type VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, type VideoMessage, type WABAClass, type WabaAccount, type WabaAccountFields, type WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaConfigEnum, type WabaConfigType, type WabaHealthStatus, WabaHealthStatusCanSendMessage, type WabaHealthStatusEntity, type WabaHealthStatusError, type WabaSubscription, type WabaSubscriptions, type WebhookContact, type WebhookEvent, type WebhookMessage, type WebhookPayload, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, type WhatsAppConfig, type WhatsAppErrorCode, type WhatsAppMessage };
|
|
3865
4133
|
//# sourceMappingURL=index.d.ts.map
|