meta-cloud-api 2.6.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index.d.ts → index.d.mts} +410 -78
- 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 +27 -25
- 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 +367 -38
- 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/index.d.ts
CHANGED
|
@@ -618,6 +618,7 @@ type ReplyButtonObject = {
|
|
|
618
618
|
reply: ButtonObject;
|
|
619
619
|
};
|
|
620
620
|
type ActionObject = {
|
|
621
|
+
button?: string;
|
|
621
622
|
buttons?: ReplyButtonObject[];
|
|
622
623
|
catalog_id?: string;
|
|
623
624
|
product_retailer_id?: string;
|
|
@@ -628,6 +629,7 @@ type HeaderObject = {
|
|
|
628
629
|
document?: DocumentMediaObject$1;
|
|
629
630
|
image?: ImageMediaObject$1;
|
|
630
631
|
text?: string;
|
|
632
|
+
sub_text?: string;
|
|
631
633
|
video?: VideoMediaObject$1;
|
|
632
634
|
};
|
|
633
635
|
type ButtonInteractiveObject = {
|
|
@@ -658,6 +660,30 @@ type ProductListInteractiveObject = {
|
|
|
658
660
|
header: HeaderObject;
|
|
659
661
|
action: ActionObject;
|
|
660
662
|
};
|
|
663
|
+
type CatalogMessageParameters = {
|
|
664
|
+
thumbnail_product_retailer_id: string;
|
|
665
|
+
};
|
|
666
|
+
type CatalogMessageActionObject = {
|
|
667
|
+
name: 'catalog_message';
|
|
668
|
+
parameters?: CatalogMessageParameters;
|
|
669
|
+
};
|
|
670
|
+
type CatalogMessageInteractiveObject = {
|
|
671
|
+
type: InteractiveTypesEnum.CatalogMessage | 'catalog_message';
|
|
672
|
+
body?: SimpleTextObject;
|
|
673
|
+
footer?: SimpleTextObject;
|
|
674
|
+
header?: HeaderObject;
|
|
675
|
+
action: CatalogMessageActionObject;
|
|
676
|
+
};
|
|
677
|
+
type CallPermissionRequestActionObject = {
|
|
678
|
+
name: 'call_permission_request';
|
|
679
|
+
};
|
|
680
|
+
type CallPermissionRequestInteractiveObject = {
|
|
681
|
+
type: InteractiveTypesEnum.CallPermissionRequest | 'call_permission_request';
|
|
682
|
+
body?: SimpleTextObject;
|
|
683
|
+
footer?: SimpleTextObject;
|
|
684
|
+
header?: HeaderObject;
|
|
685
|
+
action: CallPermissionRequestActionObject;
|
|
686
|
+
};
|
|
661
687
|
type CtaUrlParameters = {
|
|
662
688
|
display_text: string;
|
|
663
689
|
url: string;
|
|
@@ -786,13 +812,14 @@ type CarouselInteractiveObject = {
|
|
|
786
812
|
body: SimpleTextObject;
|
|
787
813
|
action: CarouselActionObject;
|
|
788
814
|
};
|
|
789
|
-
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
815
|
+
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CatalogMessageInteractiveObject | CallPermissionRequestInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
790
816
|
//#endregion
|
|
791
817
|
//#region src/api/messages/types/reaction.d.ts
|
|
792
818
|
interface ReactionParams {
|
|
793
819
|
messageId: string;
|
|
794
820
|
emoji: string;
|
|
795
821
|
to: string;
|
|
822
|
+
recipientType?: MessageRecipientType;
|
|
796
823
|
}
|
|
797
824
|
//#endregion
|
|
798
825
|
//#region src/types/config.d.ts
|
|
@@ -844,8 +871,7 @@ type WhatsAppConfig = {
|
|
|
844
871
|
maxRetriesAfterWait?: number;
|
|
845
872
|
requestTimeout?: number;
|
|
846
873
|
privatePem?: string;
|
|
847
|
-
passphrase?: string;
|
|
848
|
-
/** Automatic retry configuration for throttling errors. */
|
|
874
|
+
passphrase?: string; /** Automatic retry configuration for throttling errors. */
|
|
849
875
|
retry?: RetryConfig;
|
|
850
876
|
};
|
|
851
877
|
type WabaConfigType = {
|
|
@@ -925,11 +951,21 @@ type GeneralMessageBody = GeneralRequestBody & {
|
|
|
925
951
|
*/
|
|
926
952
|
messaging_product: 'whatsapp';
|
|
927
953
|
};
|
|
954
|
+
type StatusObject = {
|
|
955
|
+
status: 'read' | 'typing';
|
|
956
|
+
message_id: string;
|
|
957
|
+
typing_indicator?: TypingIndicatorObject;
|
|
958
|
+
};
|
|
959
|
+
type TypingIndicatorObject = {
|
|
960
|
+
type: 'text';
|
|
961
|
+
};
|
|
962
|
+
type StatusResponse = ResponseSuccess;
|
|
928
963
|
type ConTextObject = {
|
|
929
964
|
message_id: string;
|
|
930
965
|
};
|
|
966
|
+
type MessageRecipientType = 'individual' | 'group';
|
|
931
967
|
type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
932
|
-
recipient_type?:
|
|
968
|
+
recipient_type?: MessageRecipientType;
|
|
933
969
|
to: string;
|
|
934
970
|
context?: ConTextObject;
|
|
935
971
|
type?: T;
|
|
@@ -937,23 +973,23 @@ type MessageRequestBody<T extends MessageTypesEnum> = GeneralMessageBody & {
|
|
|
937
973
|
interface MessageRequestParams<T> {
|
|
938
974
|
body: T;
|
|
939
975
|
to: string;
|
|
976
|
+
recipientType?: MessageRecipientType;
|
|
940
977
|
replyMessageId?: string;
|
|
941
978
|
}
|
|
942
979
|
interface StatusParams {
|
|
943
|
-
status:
|
|
980
|
+
status: StatusObject['status'];
|
|
944
981
|
messageId: string;
|
|
945
|
-
typingIndicator?:
|
|
946
|
-
type: string;
|
|
947
|
-
};
|
|
982
|
+
typingIndicator?: TypingIndicatorObject;
|
|
948
983
|
}
|
|
949
984
|
type MessagesResponse = GeneralMessageBody & {
|
|
950
|
-
contacts:
|
|
985
|
+
contacts: Array<{
|
|
951
986
|
input: string;
|
|
952
987
|
wa_id: string;
|
|
953
|
-
}
|
|
954
|
-
messages:
|
|
988
|
+
}>;
|
|
989
|
+
messages: Array<{
|
|
955
990
|
id: string;
|
|
956
|
-
|
|
991
|
+
message_status?: 'accepted' | 'held_for_quality_assessment' | 'paused';
|
|
992
|
+
}>;
|
|
957
993
|
};
|
|
958
994
|
declare class MessagesClass extends BaseClass {
|
|
959
995
|
text(params: TextMessageParams): Promise<MessagesResponse>;
|
|
@@ -990,11 +1026,11 @@ declare class MessagesClass extends BaseClass {
|
|
|
990
1026
|
reaction(params: ReactionParams): Promise<MessagesResponse>;
|
|
991
1027
|
markAsRead(params: {
|
|
992
1028
|
messageId: string;
|
|
993
|
-
}): Promise<
|
|
1029
|
+
}): Promise<StatusResponse>;
|
|
994
1030
|
showTypingIndicator(params: {
|
|
995
1031
|
messageId: string;
|
|
996
|
-
}): Promise<
|
|
997
|
-
status(params: StatusParams): Promise<
|
|
1032
|
+
}): Promise<StatusResponse>;
|
|
1033
|
+
status(params: StatusParams): Promise<StatusResponse>;
|
|
998
1034
|
}
|
|
999
1035
|
//#endregion
|
|
1000
1036
|
//#region src/api/marketingMessages/types/marketingMessages.d.ts
|
|
@@ -1006,6 +1042,7 @@ type MarketingMessageRequest = {
|
|
|
1006
1042
|
to: string;
|
|
1007
1043
|
template: MessageTemplateObject<ComponentTypesEnum>;
|
|
1008
1044
|
message_activity_sharing?: boolean;
|
|
1045
|
+
product_policy?: 'CLOUD_API_FALLBACK' | 'STRICT';
|
|
1009
1046
|
};
|
|
1010
1047
|
interface MarketingMessagesClass {
|
|
1011
1048
|
sendTemplateMessage(params: MarketingMessageRequest): Promise<MessagesResponse>;
|
|
@@ -1107,12 +1144,15 @@ interface PaymentsClass {
|
|
|
1107
1144
|
}
|
|
1108
1145
|
//#endregion
|
|
1109
1146
|
//#region src/api/phone/types/common.d.ts
|
|
1110
|
-
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA';
|
|
1147
|
+
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA' | 'UNKNOWN';
|
|
1111
1148
|
type AccountMode = 'LIVE' | 'SANDBOX';
|
|
1112
1149
|
type CodeVerificationStatus = 'NOT_VERIFIED' | 'VERIFIED' | 'EXPIRED' | 'PENDING' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED' | 'RATE_LIMITED' | 'FLAGGED' | 'CONNECTED' | 'DISCONNECTED' | 'UNKNOWN' | 'UNVERIFIED';
|
|
1113
1150
|
type MessagingLimitTier = 'TIER_50' | 'TIER_250' | 'TIER_1K' | 'TIER_10K' | 'TIER_100K' | 'TIER_UNLIMITED';
|
|
1114
1151
|
type PlatformType = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE';
|
|
1115
1152
|
type ThroughputLevel = 'STANDARD' | 'HIGH' | 'NOT_APPLICABLE';
|
|
1153
|
+
type PhoneNumberStatus = 'PENDING' | 'LINKED' | 'UNLINKED' | 'DELETED' | 'MIGRATED' | 'BANNED' | 'RESTRICTED';
|
|
1154
|
+
type UnifiedCertStatus = 'APPROVED' | 'PENDING' | 'REJECTED' | 'EXPIRED' | 'NONE' | string;
|
|
1155
|
+
type HostPlatform = 'CLOUD_API' | 'ON_PREMISE' | 'NOT_APPLICABLE' | string;
|
|
1116
1156
|
type HealthStatusEntity = {
|
|
1117
1157
|
entity_type: string;
|
|
1118
1158
|
id: string;
|
|
@@ -1134,8 +1174,18 @@ type QualityScore = {
|
|
|
1134
1174
|
type Throughput = {
|
|
1135
1175
|
level: ThroughputLevel;
|
|
1136
1176
|
};
|
|
1137
|
-
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';
|
|
1177
|
+
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';
|
|
1138
1178
|
type PhoneNumberFieldsParam = PhoneNumberField[] | string;
|
|
1179
|
+
type PhoneNumberSort = 'creation_time.asc' | 'creation_time.desc' | 'last_onboarded_time.asc' | 'last_onboarded_time.desc' | (string & {});
|
|
1180
|
+
type PhoneNumberFilter = Record<string, unknown>;
|
|
1181
|
+
type PhoneNumbersListParams = {
|
|
1182
|
+
fields?: PhoneNumberFieldsParam;
|
|
1183
|
+
filtering?: PhoneNumberFilter[] | string;
|
|
1184
|
+
sort?: PhoneNumberSort;
|
|
1185
|
+
limit?: number;
|
|
1186
|
+
after?: string;
|
|
1187
|
+
before?: string;
|
|
1188
|
+
};
|
|
1139
1189
|
type PhoneNumberResponse = {
|
|
1140
1190
|
display_phone_number: string;
|
|
1141
1191
|
id: string;
|
|
@@ -1145,8 +1195,11 @@ type PhoneNumberResponse = {
|
|
|
1145
1195
|
certificate?: string;
|
|
1146
1196
|
code_verification_status?: CodeVerificationStatus;
|
|
1147
1197
|
conversational_automation?: Record<string, unknown>;
|
|
1198
|
+
country_code?: string;
|
|
1199
|
+
country_dial_code?: string;
|
|
1148
1200
|
eligibility_for_api_business_global_search?: string;
|
|
1149
1201
|
health_status?: HealthStatus;
|
|
1202
|
+
host_platform?: HostPlatform;
|
|
1150
1203
|
is_official_business_account?: boolean;
|
|
1151
1204
|
is_on_biz_app?: boolean;
|
|
1152
1205
|
is_pin_enabled?: boolean;
|
|
@@ -1159,8 +1212,10 @@ type PhoneNumberResponse = {
|
|
|
1159
1212
|
platform_type?: PlatformType;
|
|
1160
1213
|
quality_score?: QualityScore;
|
|
1161
1214
|
search_visibility?: string;
|
|
1162
|
-
status?: CodeVerificationStatus;
|
|
1215
|
+
status?: PhoneNumberStatus | CodeVerificationStatus;
|
|
1163
1216
|
throughput?: Throughput;
|
|
1217
|
+
unified_cert_status?: UnifiedCertStatus;
|
|
1218
|
+
username?: string;
|
|
1164
1219
|
};
|
|
1165
1220
|
type Cursors = {
|
|
1166
1221
|
before: string;
|
|
@@ -1217,7 +1272,7 @@ type ThroughputResponse = {
|
|
|
1217
1272
|
};
|
|
1218
1273
|
interface PhoneNumberClass {
|
|
1219
1274
|
getPhoneNumberById(fields?: PhoneNumberFieldsParam): Promise<PhoneNumberResponse>;
|
|
1220
|
-
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
1275
|
+
getPhoneNumbers(params?: PhoneNumbersListParams): Promise<PhoneNumbersResponse>;
|
|
1221
1276
|
requestVerificationCode(params: RequestVerificationCodeRequest): Promise<ResponseSuccess>;
|
|
1222
1277
|
verifyCode(params: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
1223
1278
|
setConversationalAutomation(params: ConversationalAutomationRequest): Promise<ResponseSuccess>;
|
|
@@ -1810,7 +1865,7 @@ declare enum WabaAccountReviewStatus {
|
|
|
1810
1865
|
Approved = "APPROVED",
|
|
1811
1866
|
Active = "ACTIVE",
|
|
1812
1867
|
Inactive = "INACTIVE",
|
|
1813
|
-
Disabled = "DISABLED"
|
|
1868
|
+
Disabled = "DISABLED"
|
|
1814
1869
|
}
|
|
1815
1870
|
/**
|
|
1816
1871
|
* WABA health status for message sending capability
|
|
@@ -1818,7 +1873,7 @@ declare enum WabaAccountReviewStatus {
|
|
|
1818
1873
|
declare enum WabaHealthStatusCanSendMessage {
|
|
1819
1874
|
Blocked = "BLOCKED",
|
|
1820
1875
|
Limited = "LIMITED",
|
|
1821
|
-
Available = "AVAILABLE"
|
|
1876
|
+
Available = "AVAILABLE"
|
|
1822
1877
|
}
|
|
1823
1878
|
/**
|
|
1824
1879
|
* WABA account status enumeration
|
|
@@ -1827,7 +1882,7 @@ declare enum WabaAccountStatus {
|
|
|
1827
1882
|
Approved = "APPROVED",
|
|
1828
1883
|
Active = "ACTIVE",
|
|
1829
1884
|
Inactive = "INACTIVE",
|
|
1830
|
-
Disabled = "DISABLED"
|
|
1885
|
+
Disabled = "DISABLED"
|
|
1831
1886
|
}
|
|
1832
1887
|
/**
|
|
1833
1888
|
* Business verification status enumeration
|
|
@@ -1836,7 +1891,7 @@ declare enum WabaBusinessVerificationStatus {
|
|
|
1836
1891
|
Verified = "verified",
|
|
1837
1892
|
PendingSubmission = "pending_submission",
|
|
1838
1893
|
Unverified = "unverified",
|
|
1839
|
-
Rejected = "rejected"
|
|
1894
|
+
Rejected = "rejected"
|
|
1840
1895
|
}
|
|
1841
1896
|
/**
|
|
1842
1897
|
* WABA health status error details
|
|
@@ -1975,9 +2030,7 @@ interface AuthInternationalRateEligibility {
|
|
|
1975
2030
|
start_time: number;
|
|
1976
2031
|
/** Countries with different start times */
|
|
1977
2032
|
exception_countries?: Array<{
|
|
1978
|
-
/** ISO 3166-1 alpha-2 country code */
|
|
1979
|
-
country_code: string;
|
|
1980
|
-
/** Unix timestamp for this country's start time */
|
|
2033
|
+
/** ISO 3166-1 alpha-2 country code */country_code: string; /** Unix timestamp for this country's start time */
|
|
1981
2034
|
start_time: number;
|
|
1982
2035
|
}>;
|
|
1983
2036
|
}
|
|
@@ -2131,8 +2184,10 @@ interface AccountSettingsUpdateWebhookValue {
|
|
|
2131
2184
|
*/
|
|
2132
2185
|
interface WebhookContact {
|
|
2133
2186
|
wa_id: string;
|
|
2187
|
+
user_id?: string;
|
|
2134
2188
|
profile: {
|
|
2135
2189
|
name: string;
|
|
2190
|
+
username?: string;
|
|
2136
2191
|
};
|
|
2137
2192
|
identity_key_hash?: string;
|
|
2138
2193
|
}
|
|
@@ -2345,11 +2400,13 @@ interface CallEntry {
|
|
|
2345
2400
|
}
|
|
2346
2401
|
interface CallContact {
|
|
2347
2402
|
profile: {
|
|
2348
|
-
/** Display name of the caller */
|
|
2349
|
-
|
|
2403
|
+
/** Display name of the caller */name: string; /** Business-scoped username, when Meta includes it */
|
|
2404
|
+
username?: string;
|
|
2350
2405
|
};
|
|
2351
2406
|
/** WhatsApp ID of the caller */
|
|
2352
2407
|
wa_id: string;
|
|
2408
|
+
/** Business-scoped user ID, when Meta includes it */
|
|
2409
|
+
user_id?: string;
|
|
2353
2410
|
}
|
|
2354
2411
|
interface CallsValue {
|
|
2355
2412
|
messaging_product: 'whatsapp';
|
|
@@ -2424,8 +2481,7 @@ interface GroupWebhookError {
|
|
|
2424
2481
|
/** Short title for the error */
|
|
2425
2482
|
title: string;
|
|
2426
2483
|
error_data?: {
|
|
2427
|
-
/** Detailed error description */
|
|
2428
|
-
details: string;
|
|
2484
|
+
/** Detailed error description */details: string;
|
|
2429
2485
|
};
|
|
2430
2486
|
}
|
|
2431
2487
|
interface GroupAddedParticipant {
|
|
@@ -3092,9 +3148,7 @@ interface UserPreferenceEntry {
|
|
|
3092
3148
|
}
|
|
3093
3149
|
interface UserPreferencesContact {
|
|
3094
3150
|
profile: {
|
|
3095
|
-
/** Display name of the user */
|
|
3096
|
-
name: string;
|
|
3097
|
-
/** WhatsApp username, if available */
|
|
3151
|
+
/** Display name of the user */name: string; /** WhatsApp username, if available */
|
|
3098
3152
|
username?: string;
|
|
3099
3153
|
};
|
|
3100
3154
|
/** WhatsApp ID of the user */
|
|
@@ -3444,7 +3498,7 @@ declare enum FlowStatusEnum {
|
|
|
3444
3498
|
Published = "PUBLISHED",
|
|
3445
3499
|
Throttled = "THROTTLED",
|
|
3446
3500
|
Blocked = "BLOCKED",
|
|
3447
|
-
Deprecated = "DEPRECATED"
|
|
3501
|
+
Deprecated = "DEPRECATED"
|
|
3448
3502
|
}
|
|
3449
3503
|
/**
|
|
3450
3504
|
* Enum for Flow Categories
|
|
@@ -3457,12 +3511,12 @@ declare enum FlowCategoryEnum {
|
|
|
3457
3511
|
ContactUs = "CONTACT_US",
|
|
3458
3512
|
CustomerSupport = "CUSTOMER_SUPPORT",
|
|
3459
3513
|
Survey = "SURVEY",
|
|
3460
|
-
Other = "OTHER"
|
|
3514
|
+
Other = "OTHER"
|
|
3461
3515
|
}
|
|
3462
3516
|
declare enum FlowActionEnum {
|
|
3463
3517
|
INIT = "INIT",
|
|
3464
3518
|
BACK = "BACK",
|
|
3465
|
-
DATA_EXCHANGE = "data_exchange"
|
|
3519
|
+
DATA_EXCHANGE = "data_exchange"
|
|
3466
3520
|
}
|
|
3467
3521
|
/**
|
|
3468
3522
|
* Enum for Flow Types in webhook handlers
|
|
@@ -3476,7 +3530,7 @@ declare enum FlowTypeEnum {
|
|
|
3476
3530
|
/** Error notification requests */
|
|
3477
3531
|
Error = "error",
|
|
3478
3532
|
/** Match all flow action types */
|
|
3479
|
-
All = "*"
|
|
3533
|
+
All = "*"
|
|
3480
3534
|
}
|
|
3481
3535
|
type FlowType = (typeof FlowTypeEnum)[keyof typeof FlowTypeEnum];
|
|
3482
3536
|
/**
|
|
@@ -3835,6 +3889,281 @@ interface FlowClass {
|
|
|
3835
3889
|
}): Promise<FlowMigrationResponse>;
|
|
3836
3890
|
}
|
|
3837
3891
|
//#endregion
|
|
3892
|
+
//#region src/types/constants.d.ts
|
|
3893
|
+
/**
|
|
3894
|
+
* As-const alternatives to enums.
|
|
3895
|
+
*
|
|
3896
|
+
* Every enum in enums.ts gets a matching `as const` object and a union type here.
|
|
3897
|
+
* Use whichever style you prefer:
|
|
3898
|
+
* - Enum: CategoryEnum.Marketing
|
|
3899
|
+
* - Const: Category.Marketing (value: 'MARKETING')
|
|
3900
|
+
* - Type: CategoryType (union: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY')
|
|
3901
|
+
*/
|
|
3902
|
+
declare const Category: {
|
|
3903
|
+
readonly Authentication: "AUTHENTICATION";
|
|
3904
|
+
readonly Marketing: "MARKETING";
|
|
3905
|
+
readonly Utility: "UTILITY";
|
|
3906
|
+
};
|
|
3907
|
+
type CategoryType = (typeof Category)[keyof typeof Category];
|
|
3908
|
+
declare const TemplateStatus: {
|
|
3909
|
+
readonly Approved: "APPROVED";
|
|
3910
|
+
readonly Pending: "PENDING";
|
|
3911
|
+
readonly Rejected: "REJECTED";
|
|
3912
|
+
};
|
|
3913
|
+
type TemplateStatusType = (typeof TemplateStatus)[keyof typeof TemplateStatus];
|
|
3914
|
+
declare const HttpMethods: {
|
|
3915
|
+
readonly Get: "GET";
|
|
3916
|
+
readonly Post: "POST";
|
|
3917
|
+
readonly Put: "PUT";
|
|
3918
|
+
readonly Delete: "DELETE";
|
|
3919
|
+
};
|
|
3920
|
+
type HttpMethodsType = (typeof HttpMethods)[keyof typeof HttpMethods];
|
|
3921
|
+
declare const MessageTypes: {
|
|
3922
|
+
readonly Audio: "audio";
|
|
3923
|
+
readonly Contacts: "contacts";
|
|
3924
|
+
readonly Document: "document";
|
|
3925
|
+
readonly Image: "image";
|
|
3926
|
+
readonly Interactive: "interactive";
|
|
3927
|
+
readonly Location: "location";
|
|
3928
|
+
readonly Reaction: "reaction";
|
|
3929
|
+
readonly Sticker: "sticker";
|
|
3930
|
+
readonly Template: "template";
|
|
3931
|
+
readonly Text: "text";
|
|
3932
|
+
readonly Video: "video";
|
|
3933
|
+
readonly Button: "button";
|
|
3934
|
+
readonly Order: "order";
|
|
3935
|
+
readonly System: "system";
|
|
3936
|
+
readonly Unsupported: "unsupported";
|
|
3937
|
+
readonly Unknown: "unknown"; /** @deprecated Use WebhookProcessor.onStatus() instead */
|
|
3938
|
+
readonly Statuses: "statuses";
|
|
3939
|
+
readonly All: "*";
|
|
3940
|
+
};
|
|
3941
|
+
type MessageTypesType = (typeof MessageTypes)[keyof typeof MessageTypes];
|
|
3942
|
+
declare const ParametersTypes: {
|
|
3943
|
+
readonly Action: "ACTION";
|
|
3944
|
+
readonly CouponCode: "COUPON_CODE";
|
|
3945
|
+
readonly Currency: "CURRENCY";
|
|
3946
|
+
readonly DateTime: "DATE_TIME";
|
|
3947
|
+
readonly Document: "DOCUMENT";
|
|
3948
|
+
readonly ExpirationTimeMs: "EXPIRATION_TIME_MS";
|
|
3949
|
+
readonly Image: "IMAGE";
|
|
3950
|
+
readonly LimitedTimeOffer: "LIMITED_TIME_OFFER";
|
|
3951
|
+
readonly Location: "LOCATION";
|
|
3952
|
+
readonly OrderStatus: "ORDER_STATUS";
|
|
3953
|
+
readonly Payload: "PAYLOAD";
|
|
3954
|
+
readonly Product: "PRODUCT";
|
|
3955
|
+
readonly Text: "TEXT";
|
|
3956
|
+
readonly TtlMinutes: "TTL_MINUTES";
|
|
3957
|
+
readonly Video: "VIDEO";
|
|
3958
|
+
readonly WebviewInteraction: "WEBVIEW_INTERACTION";
|
|
3959
|
+
readonly WebviewPresentation: "WEBVIEW_PRESENTATION";
|
|
3960
|
+
};
|
|
3961
|
+
type ParametersTypesType = (typeof ParametersTypes)[keyof typeof ParametersTypes];
|
|
3962
|
+
declare const InteractiveTypes: {
|
|
3963
|
+
readonly Button: "button";
|
|
3964
|
+
readonly List: "list";
|
|
3965
|
+
readonly Product: "product";
|
|
3966
|
+
readonly ProductList: "product_list";
|
|
3967
|
+
readonly CtaUrl: "cta_url";
|
|
3968
|
+
readonly Carousel: "carousel";
|
|
3969
|
+
readonly LocationRequest: "location_request_message";
|
|
3970
|
+
readonly AddressMessage: "address_message";
|
|
3971
|
+
readonly Flow: "flow";
|
|
3972
|
+
};
|
|
3973
|
+
type InteractiveTypesType = (typeof InteractiveTypes)[keyof typeof InteractiveTypes];
|
|
3974
|
+
declare const ButtonPosition: {
|
|
3975
|
+
readonly First: 1;
|
|
3976
|
+
readonly Second: 2;
|
|
3977
|
+
readonly Third: 3;
|
|
3978
|
+
readonly Fourth: 4;
|
|
3979
|
+
readonly Fifth: 5;
|
|
3980
|
+
};
|
|
3981
|
+
type ButtonPositionType = (typeof ButtonPosition)[keyof typeof ButtonPosition];
|
|
3982
|
+
declare const SubType: {
|
|
3983
|
+
readonly Catalog: "CATALOG";
|
|
3984
|
+
readonly CopyCode: "COPY_CODE";
|
|
3985
|
+
readonly Flow: "FLOW";
|
|
3986
|
+
readonly Mpm: "MPM";
|
|
3987
|
+
readonly OrderDetails: "ORDER_DETAILS";
|
|
3988
|
+
readonly QuickReply: "QUICK_REPLY";
|
|
3989
|
+
readonly Reminder: "REMINDER";
|
|
3990
|
+
readonly Url: "URL";
|
|
3991
|
+
readonly VoiceCall: "VOICE_CALL";
|
|
3992
|
+
};
|
|
3993
|
+
type SubTypeType = (typeof SubType)[keyof typeof SubType];
|
|
3994
|
+
declare const ComponentType: {
|
|
3995
|
+
readonly Header: "HEADER";
|
|
3996
|
+
readonly Body: "BODY";
|
|
3997
|
+
readonly Button: "BUTTON";
|
|
3998
|
+
readonly Footer: "FOOTER";
|
|
3999
|
+
};
|
|
4000
|
+
type ComponentTypeType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
4001
|
+
declare const ConversationTypes: {
|
|
4002
|
+
readonly BusinessInitiated: "business_initiated";
|
|
4003
|
+
readonly CustomerInitiated: "customer_initiated";
|
|
4004
|
+
readonly ReferralConversion: "referral_conversion";
|
|
4005
|
+
};
|
|
4006
|
+
type ConversationTypesType = (typeof ConversationTypes)[keyof typeof ConversationTypes];
|
|
4007
|
+
declare const Status: {
|
|
4008
|
+
readonly Delivered: "delivered";
|
|
4009
|
+
readonly Read: "read";
|
|
4010
|
+
readonly Sent: "sent";
|
|
4011
|
+
};
|
|
4012
|
+
type StatusType = (typeof Status)[keyof typeof Status];
|
|
4013
|
+
declare const VideoMediaTypes: {
|
|
4014
|
+
readonly Mp4: "video/mp4";
|
|
4015
|
+
readonly Threegp: "video/3gp";
|
|
4016
|
+
};
|
|
4017
|
+
type VideoMediaTypesType = (typeof VideoMediaTypes)[keyof typeof VideoMediaTypes];
|
|
4018
|
+
declare const StickerMediaTypes: {
|
|
4019
|
+
readonly Webp: "image/webp";
|
|
4020
|
+
};
|
|
4021
|
+
type StickerMediaTypesType = (typeof StickerMediaTypes)[keyof typeof StickerMediaTypes];
|
|
4022
|
+
declare const ImageMediaTypes: {
|
|
4023
|
+
readonly Jpeg: "image/jpeg";
|
|
4024
|
+
readonly Png: "image/png";
|
|
4025
|
+
};
|
|
4026
|
+
type ImageMediaTypesType = (typeof ImageMediaTypes)[keyof typeof ImageMediaTypes];
|
|
4027
|
+
declare const DocumentMediaTypes: {
|
|
4028
|
+
readonly Text: "text/plain";
|
|
4029
|
+
readonly Pdf: "application/pdf";
|
|
4030
|
+
readonly Ppt: "application/vnd.ms-powerpoint";
|
|
4031
|
+
readonly Word: "application/msword";
|
|
4032
|
+
readonly Excel: "application/vnd.ms-excel";
|
|
4033
|
+
readonly OpenDoc: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
4034
|
+
readonly OpenPres: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
4035
|
+
readonly OpenSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
4036
|
+
};
|
|
4037
|
+
type DocumentMediaTypesType = (typeof DocumentMediaTypes)[keyof typeof DocumentMediaTypes];
|
|
4038
|
+
declare const AudioMediaTypes: {
|
|
4039
|
+
readonly Aac: "audio/aac";
|
|
4040
|
+
readonly Mp4: "audio/mp4";
|
|
4041
|
+
readonly Mpeg: "audio/mpeg";
|
|
4042
|
+
readonly Amr: "audio/amr";
|
|
4043
|
+
readonly Ogg: "audio/ogg";
|
|
4044
|
+
};
|
|
4045
|
+
type AudioMediaTypesType = (typeof AudioMediaTypes)[keyof typeof AudioMediaTypes];
|
|
4046
|
+
declare const WebhookTypes: {
|
|
4047
|
+
readonly Audio: "audio";
|
|
4048
|
+
readonly Button: "button";
|
|
4049
|
+
readonly Document: "document";
|
|
4050
|
+
readonly Text: "text";
|
|
4051
|
+
readonly Image: "image";
|
|
4052
|
+
readonly Interactive: "interactive";
|
|
4053
|
+
readonly Order: "order";
|
|
4054
|
+
readonly Sticker: "sticker";
|
|
4055
|
+
readonly System: "system";
|
|
4056
|
+
readonly Unknown: "unknown";
|
|
4057
|
+
readonly Video: "video";
|
|
4058
|
+
};
|
|
4059
|
+
type WebhookTypesType = (typeof WebhookTypes)[keyof typeof WebhookTypes];
|
|
4060
|
+
declare const SystemChangeTypes: {
|
|
4061
|
+
readonly CustomerChangedNumber: "customer_changed_number";
|
|
4062
|
+
readonly CustomerIdentityChanged: "customer_identity_changed";
|
|
4063
|
+
};
|
|
4064
|
+
type SystemChangeTypesType = (typeof SystemChangeTypes)[keyof typeof SystemChangeTypes];
|
|
4065
|
+
declare const ReferralSourceTypes: {
|
|
4066
|
+
readonly Ad: "ad";
|
|
4067
|
+
readonly Post: "post";
|
|
4068
|
+
};
|
|
4069
|
+
type ReferralSourceTypesType = (typeof ReferralSourceTypes)[keyof typeof ReferralSourceTypes];
|
|
4070
|
+
declare const RequestCodeMethods: {
|
|
4071
|
+
readonly Sms: "SMS";
|
|
4072
|
+
readonly Voice: "VOICE";
|
|
4073
|
+
};
|
|
4074
|
+
type RequestCodeMethodsType = (typeof RequestCodeMethods)[keyof typeof RequestCodeMethods];
|
|
4075
|
+
declare const Languages: {
|
|
4076
|
+
readonly Afrikaans: "af";
|
|
4077
|
+
readonly Albanian: "sq";
|
|
4078
|
+
readonly Arabic: "ar";
|
|
4079
|
+
readonly Azerbaijani: "az";
|
|
4080
|
+
readonly Bengali: "bn";
|
|
4081
|
+
readonly Bulgarian: "bg";
|
|
4082
|
+
readonly Catalan: "ca";
|
|
4083
|
+
readonly Chinese_CHN: "zh_CN";
|
|
4084
|
+
readonly Chinese_HKG: "zh_HK";
|
|
4085
|
+
readonly Chinese_TAI: "zh_TW";
|
|
4086
|
+
readonly Croatian: "hr";
|
|
4087
|
+
readonly Czech: "cs";
|
|
4088
|
+
readonly Danish: "da";
|
|
4089
|
+
readonly Dutch: "nl";
|
|
4090
|
+
readonly English: "en";
|
|
4091
|
+
readonly English_UK: "en_GB";
|
|
4092
|
+
readonly English_US: "en_US";
|
|
4093
|
+
readonly Estonian: "et";
|
|
4094
|
+
readonly Filipino: "fil";
|
|
4095
|
+
readonly Finnish: "fi";
|
|
4096
|
+
readonly French: "fr";
|
|
4097
|
+
readonly Georgian: "ka";
|
|
4098
|
+
readonly German: "de";
|
|
4099
|
+
readonly Greek: "el";
|
|
4100
|
+
readonly Gujarati: "gu";
|
|
4101
|
+
readonly Hausa: "ha";
|
|
4102
|
+
readonly Hebrew: "he";
|
|
4103
|
+
readonly Hindi: "hi";
|
|
4104
|
+
readonly Hungarian: "hu";
|
|
4105
|
+
readonly Indonesian: "id";
|
|
4106
|
+
readonly Irish: "ga";
|
|
4107
|
+
readonly Italian: "it";
|
|
4108
|
+
readonly Japanese: "ja";
|
|
4109
|
+
readonly Kannada: "kn";
|
|
4110
|
+
readonly Kazakh: "kk";
|
|
4111
|
+
readonly Kinyarwanda: "rw_RW";
|
|
4112
|
+
readonly Korean: "ko";
|
|
4113
|
+
readonly Kyrgyz_Kyrgyzstan: "ky_KG";
|
|
4114
|
+
readonly Lao: "lo";
|
|
4115
|
+
readonly Latvian: "lv";
|
|
4116
|
+
readonly Lithuanian: "lt";
|
|
4117
|
+
readonly Macedonian: "mk";
|
|
4118
|
+
readonly Malay: "ms";
|
|
4119
|
+
readonly Malayalam: "ml";
|
|
4120
|
+
readonly Marathi: "mr";
|
|
4121
|
+
readonly Norwegian: "nb";
|
|
4122
|
+
readonly Persian: "fa";
|
|
4123
|
+
readonly Polish: "pl";
|
|
4124
|
+
readonly Portuguese_BR: "pt_BR";
|
|
4125
|
+
readonly Portuguese_POR: "pt_PT";
|
|
4126
|
+
readonly Punjabi: "pa";
|
|
4127
|
+
readonly Romanian: "ro";
|
|
4128
|
+
readonly Russian: "ru";
|
|
4129
|
+
readonly Serbian: "sr";
|
|
4130
|
+
readonly Slovak: "sk";
|
|
4131
|
+
readonly Slovenian: "sl";
|
|
4132
|
+
readonly Spanish: "es";
|
|
4133
|
+
readonly Spanish_ARG: "es_AR";
|
|
4134
|
+
readonly Spanish_SPA: "es_ES";
|
|
4135
|
+
readonly Spanish_MEX: "es_MX";
|
|
4136
|
+
readonly Swahili: "sw";
|
|
4137
|
+
readonly Swedish: "sv";
|
|
4138
|
+
readonly Tamil: "ta";
|
|
4139
|
+
readonly Telugu: "te";
|
|
4140
|
+
readonly Thai: "th";
|
|
4141
|
+
readonly Turkish: "tr";
|
|
4142
|
+
readonly Ukrainian: "uk";
|
|
4143
|
+
readonly Urdu: "ur";
|
|
4144
|
+
readonly Uzbek: "uz";
|
|
4145
|
+
readonly Vietnamese: "vi";
|
|
4146
|
+
readonly Zulu: "zu";
|
|
4147
|
+
};
|
|
4148
|
+
type LanguagesType = (typeof Languages)[keyof typeof Languages];
|
|
4149
|
+
declare const DataLocalizationRegion: {
|
|
4150
|
+
readonly AU: "AU";
|
|
4151
|
+
readonly ID: "ID";
|
|
4152
|
+
readonly IN: "IN";
|
|
4153
|
+
readonly JP: "JP";
|
|
4154
|
+
readonly SG: "SG";
|
|
4155
|
+
readonly KR: "KR";
|
|
4156
|
+
readonly DE: "DE";
|
|
4157
|
+
readonly CH: "CH";
|
|
4158
|
+
readonly GB: "GB";
|
|
4159
|
+
readonly BR: "BR";
|
|
4160
|
+
readonly BH: "BH";
|
|
4161
|
+
readonly ZA: "ZA";
|
|
4162
|
+
readonly AE: "AE";
|
|
4163
|
+
readonly CA: "CA";
|
|
4164
|
+
};
|
|
4165
|
+
type DataLocalizationRegionType = (typeof DataLocalizationRegion)[keyof typeof DataLocalizationRegion];
|
|
4166
|
+
//#endregion
|
|
3838
4167
|
//#region src/types/httpsClient.d.ts
|
|
3839
4168
|
type ResponseHeaderValue = string | string[] | undefined;
|
|
3840
4169
|
type ResponseHeaders = Record<string, ResponseHeaderValue>;
|
|
@@ -3861,5 +4190,5 @@ interface LoggerInterface {
|
|
|
3861
4190
|
debug(...data: any[]): void;
|
|
3862
4191
|
}
|
|
3863
4192
|
//#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 };
|
|
4193
|
+
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, type HostPlatform, 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 MessageRecipientType, 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 PhoneNumberField, type PhoneNumberFieldsParam, type PhoneNumberFilter, type PhoneNumberResponse, type PhoneNumberSort, type PhoneNumberStatus, type PhoneNumbersListParams, 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, type StatusResponse, 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 UnifiedCertStatus, 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
4194
|
//# sourceMappingURL=index.d.ts.map
|