meta-cloud-api 1.1.6 → 1.1.7
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-C37I1sT7.d.ts +3292 -0
- package/dist/index-C37I1sT7.d.ts.map +1 -0
- package/dist/index.d.ts +40 -3328
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -798
- package/dist/index.js.map +1 -1
- package/dist/{enums.js → types-Ov9U2ABw.js} +122 -2
- package/dist/types-Ov9U2ABw.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/{client.js → types.js} +1 -4
- package/package.json +3 -19
- package/dist/api/flow/types/common.d.ts +0 -406
- package/dist/api/flow/types/common.d.ts.map +0 -1
- package/dist/api/flow/types/common.js +0 -51
- package/dist/api/flow/types/common.js.map +0 -1
- package/dist/api/flow/types/index.d.ts +0 -1
- package/dist/api/flow/types/index.js +0 -1
- package/dist/api/media/types/common.d.ts +0 -32
- package/dist/api/media/types/common.d.ts.map +0 -1
- package/dist/api/media/types/index.d.ts +0 -1
- package/dist/api/messages/types/common.d.ts +0 -99
- package/dist/api/messages/types/common.d.ts.map +0 -1
- package/dist/api/messages/types/contact.d.ts +0 -54
- package/dist/api/messages/types/contact.d.ts.map +0 -1
- package/dist/api/messages/types/index.d.ts +0 -8
- package/dist/api/messages/types/interactive.d.ts +0 -182
- package/dist/api/messages/types/interactive.d.ts.map +0 -1
- package/dist/api/messages/types/location.d.ts +0 -16
- package/dist/api/messages/types/location.d.ts.map +0 -1
- package/dist/api/messages/types/media.d.ts +0 -55
- package/dist/api/messages/types/media.d.ts.map +0 -1
- package/dist/api/messages/types/reaction.d.ts +0 -17
- package/dist/api/messages/types/reaction.d.ts.map +0 -1
- package/dist/api/messages/types/template.d.ts +0 -72
- package/dist/api/messages/types/template.d.ts.map +0 -1
- package/dist/api/messages/types/text.d.ts +0 -17
- package/dist/api/messages/types/text.d.ts.map +0 -1
- package/dist/api/phone/types/common.d.ts +0 -83
- package/dist/api/phone/types/common.d.ts.map +0 -1
- package/dist/api/phone/types/index.d.ts +0 -1
- package/dist/api/profile/types/common.d.ts +0 -149
- package/dist/api/profile/types/common.d.ts.map +0 -1
- package/dist/api/profile/types/index.d.ts +0 -2
- package/dist/api/profile/types/upload.d.ts +0 -73
- package/dist/api/profile/types/upload.d.ts.map +0 -1
- package/dist/api/qrCode/types/common.d.ts +0 -28
- package/dist/api/qrCode/types/common.d.ts.map +0 -1
- package/dist/api/qrCode/types/index.d.ts +0 -1
- package/dist/api/template/types/common.d.ts +0 -155
- package/dist/api/template/types/common.d.ts.map +0 -1
- package/dist/api/template/types/factory.d.ts +0 -202
- package/dist/api/template/types/factory.d.ts.map +0 -1
- package/dist/api/template/types/index.d.ts +0 -2
- package/dist/api/waba/types/common.d.ts +0 -122
- package/dist/api/waba/types/common.d.ts.map +0 -1
- package/dist/api/waba/types/common.js +0 -44
- package/dist/api/waba/types/common.js.map +0 -1
- package/dist/api/waba/types/index.d.ts +0 -1
- package/dist/api/waba/types/index.js +0 -1
- package/dist/client.d.ts +0 -25
- package/dist/core/webhook/types.d.ts +0 -737
- package/dist/core/webhook/types.d.ts.map +0 -1
- package/dist/enums.d.ts +0 -668
- package/dist/enums.d.ts.map +0 -1
- package/dist/enums.js.map +0 -1
- package/dist/types/base.d.ts +0 -19
- package/dist/types/base.d.ts.map +0 -1
- package/dist/types/config.d.ts +0 -80
- package/dist/types/config.d.ts.map +0 -1
- package/dist/types/enums.d.ts +0 -668
- package/dist/types/enums.d.ts.map +0 -1
- package/dist/types/enums.js +0 -681
- package/dist/types/enums.js.map +0 -1
- package/dist/types/httpsClient.d.ts +0 -21
- package/dist/types/httpsClient.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.js +0 -5
- package/dist/types/logger.d.ts +0 -11
- package/dist/types/logger.d.ts.map +0 -1
- package/dist/types/request.d.ts +0 -52
- package/dist/types/request.d.ts.map +0 -1
- package/dist/utils/isMetaError.d.ts +0 -23
- package/dist/utils/isMetaError.d.ts.map +0 -1
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { ResponseSuccess } from "../../../types/request.js";
|
|
2
|
-
|
|
3
|
-
//#region src/api/waba/types/common.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* WhatsApp Business Account subscription configuration
|
|
7
|
-
*/
|
|
8
|
-
type WabaSubscription = {
|
|
9
|
-
whatsapp_business_api_data: {
|
|
10
|
-
id: string;
|
|
11
|
-
link: string;
|
|
12
|
-
name: string;
|
|
13
|
-
category: string;
|
|
14
|
-
};
|
|
15
|
-
override_callback_uri?: string;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Parameters for updating WABA subscription
|
|
19
|
-
*/
|
|
20
|
-
interface UpdateWabaSubscription {
|
|
21
|
-
override_callback_uri: string;
|
|
22
|
-
verify_token: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Response containing all WABA subscriptions
|
|
26
|
-
*/
|
|
27
|
-
interface WabaSubscriptions {
|
|
28
|
-
data: Array<WabaSubscription>;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* WABA account review status enumeration
|
|
32
|
-
*/
|
|
33
|
-
declare enum WabaAccountReviewStatus {
|
|
34
|
-
Approved = "APPROVED",
|
|
35
|
-
Active = "ACTIVE",
|
|
36
|
-
Inactive = "INACTIVE",
|
|
37
|
-
Disabled = "DISABLED",
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* WABA health status for message sending capability
|
|
41
|
-
*/
|
|
42
|
-
declare enum WabaHealthStatusCanSendMessage {
|
|
43
|
-
Blocked = "BLOCKED",
|
|
44
|
-
Limited = "LIMITED",
|
|
45
|
-
Available = "AVAILABLE",
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* WABA account status enumeration
|
|
49
|
-
*/
|
|
50
|
-
declare enum WabaAccountStatus {
|
|
51
|
-
Approved = "APPROVED",
|
|
52
|
-
Active = "ACTIVE",
|
|
53
|
-
Inactive = "INACTIVE",
|
|
54
|
-
Disabled = "DISABLED",
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Business verification status enumeration
|
|
58
|
-
*/
|
|
59
|
-
declare enum WabaBusinessVerificationStatus {
|
|
60
|
-
Verified = "verified",
|
|
61
|
-
PendingSubmission = "pending_submission",
|
|
62
|
-
Unverified = "unverified",
|
|
63
|
-
Rejected = "rejected",
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* WABA health status error details
|
|
67
|
-
*/
|
|
68
|
-
interface WabaHealthStatusError {
|
|
69
|
-
error_code?: number;
|
|
70
|
-
error_description?: string;
|
|
71
|
-
possible_solution?: string;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* WABA health status entity information
|
|
75
|
-
*/
|
|
76
|
-
interface WabaHealthStatusEntity {
|
|
77
|
-
entity_type?: string;
|
|
78
|
-
id?: string;
|
|
79
|
-
can_send_message?: string;
|
|
80
|
-
errors?: WabaHealthStatusError[];
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Overall WABA health status
|
|
84
|
-
*/
|
|
85
|
-
interface WabaHealthStatus {
|
|
86
|
-
can_send_message?: WabaHealthStatusCanSendMessage;
|
|
87
|
-
entities?: WabaHealthStatusEntity[];
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* WhatsApp Business Account information
|
|
91
|
-
*/
|
|
92
|
-
interface WabaAccount {
|
|
93
|
-
account_review_status?: WabaAccountReviewStatus;
|
|
94
|
-
id?: string;
|
|
95
|
-
health_status?: WabaHealthStatus;
|
|
96
|
-
status?: WabaAccountStatus;
|
|
97
|
-
business_verification_status?: WabaBusinessVerificationStatus;
|
|
98
|
-
message_template_namespace?: string;
|
|
99
|
-
name?: string;
|
|
100
|
-
ownership_type?: string;
|
|
101
|
-
currency?: string;
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Available fields for WABA account queries
|
|
105
|
-
*/
|
|
106
|
-
type WabaAccountFields = 'id' | 'name' | 'account_review_status' | 'auth_international_rate_eligibility' | 'business_verification_status' | 'country' | 'currency' | 'health_status' | 'status' | 'ownership_type' | 'message_template_namespace';
|
|
107
|
-
/**
|
|
108
|
-
* Parameter type for specifying which WABA account fields to retrieve
|
|
109
|
-
*/
|
|
110
|
-
type WabaAccountFieldsParam = WabaAccountFields[];
|
|
111
|
-
/**
|
|
112
|
-
* Interface defining all WABA API methods
|
|
113
|
-
*/
|
|
114
|
-
interface WABAClass {
|
|
115
|
-
getWabaAccount(fields?: WabaAccountFieldsParam): Promise<WabaAccount>;
|
|
116
|
-
getAllWabaSubscriptions(): Promise<WabaSubscriptions>;
|
|
117
|
-
updateWabaSubscription(params: UpdateWabaSubscription): Promise<ResponseSuccess>;
|
|
118
|
-
unsubscribeFromWaba(): Promise<ResponseSuccess>;
|
|
119
|
-
}
|
|
120
|
-
//#endregion
|
|
121
|
-
export { UpdateWabaSubscription, WABAClass, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions };
|
|
122
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","names":[],"sources":["../../../../src/api/waba/types/common.ts"],"sourcesContent":[],"mappings":";;;;;;AAKA;AAaiB,KAbL,gBAAA,GAa2B;EAQtB,0BAAiB,EAAA;IAAA,EAAA,EAAA,MAAA;IAClB,IAAA,EAAA,MAAA;IAAN,IAAA,EAAA,MAAA;IAAK,QAAA,EAAA,MAAA;EAMH,CAAA;EAUA,qBAAA,CAAA,EAAA,MAAA;AASZ,CAAA;AAUA;AAUA;AASA;AAUiB,UAzEA,sBAAA,CAyEgB;EAAA,qBAAA,EAAA,MAAA;cACV,EAAA,MAAA;;;AAOvB;;AAC4B,UA1EX,iBAAA,CA0EW;MAER,EA3EV,KA2EU,CA3EJ,gBA2EI,CAAA;;;;AAYpB;AAgBY,aAjGA,uBAAA;EAsGK,QAAA,GAAA,UAAS;EAAA,MAAA,GAAA,QAAA;UACE,GAAA,UAAA;UAAiC,GAAA,UAAA;;;;;AAEO,aA/FxD,8BAAA;SA+FgD,GAAA,SAAA;SACzB,GAAA,SAAA;WAAR,GAAA,WAAA;;;;;aAvFf,iBAAA;;;;;;;;;aAUA,8BAAA;;;;;;;;;UAUK,qBAAA;;;;;;;;UASA,sBAAA;;;;WAIJ;;;;;UAMI,gBAAA;qBACM;aACR;;;;;UAME,WAAA;0BACW;;kBAER;WACP;iCACsB;;;;;;;;;KAUvB,iBAAA;;;;KAgBA,sBAAA,GAAyB;;;;UAKpB,SAAA;0BACW,yBAAyB,QAAQ;6BAC9B,QAAQ;iCACJ,yBAAyB,QAAQ;yBACzC,QAAQ"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
//#region src/api/waba/types/common.ts
|
|
2
|
-
/**
|
|
3
|
-
* WABA account review status enumeration
|
|
4
|
-
*/
|
|
5
|
-
let WabaAccountReviewStatus = /* @__PURE__ */ function(WabaAccountReviewStatus$1) {
|
|
6
|
-
WabaAccountReviewStatus$1["Approved"] = "APPROVED";
|
|
7
|
-
WabaAccountReviewStatus$1["Active"] = "ACTIVE";
|
|
8
|
-
WabaAccountReviewStatus$1["Inactive"] = "INACTIVE";
|
|
9
|
-
WabaAccountReviewStatus$1["Disabled"] = "DISABLED";
|
|
10
|
-
return WabaAccountReviewStatus$1;
|
|
11
|
-
}({});
|
|
12
|
-
/**
|
|
13
|
-
* WABA health status for message sending capability
|
|
14
|
-
*/
|
|
15
|
-
let WabaHealthStatusCanSendMessage = /* @__PURE__ */ function(WabaHealthStatusCanSendMessage$1) {
|
|
16
|
-
WabaHealthStatusCanSendMessage$1["Blocked"] = "BLOCKED";
|
|
17
|
-
WabaHealthStatusCanSendMessage$1["Limited"] = "LIMITED";
|
|
18
|
-
WabaHealthStatusCanSendMessage$1["Available"] = "AVAILABLE";
|
|
19
|
-
return WabaHealthStatusCanSendMessage$1;
|
|
20
|
-
}({});
|
|
21
|
-
/**
|
|
22
|
-
* WABA account status enumeration
|
|
23
|
-
*/
|
|
24
|
-
let WabaAccountStatus = /* @__PURE__ */ function(WabaAccountStatus$1) {
|
|
25
|
-
WabaAccountStatus$1["Approved"] = "APPROVED";
|
|
26
|
-
WabaAccountStatus$1["Active"] = "ACTIVE";
|
|
27
|
-
WabaAccountStatus$1["Inactive"] = "INACTIVE";
|
|
28
|
-
WabaAccountStatus$1["Disabled"] = "DISABLED";
|
|
29
|
-
return WabaAccountStatus$1;
|
|
30
|
-
}({});
|
|
31
|
-
/**
|
|
32
|
-
* Business verification status enumeration
|
|
33
|
-
*/
|
|
34
|
-
let WabaBusinessVerificationStatus = /* @__PURE__ */ function(WabaBusinessVerificationStatus$1) {
|
|
35
|
-
WabaBusinessVerificationStatus$1["Verified"] = "verified";
|
|
36
|
-
WabaBusinessVerificationStatus$1["PendingSubmission"] = "pending_submission";
|
|
37
|
-
WabaBusinessVerificationStatus$1["Unverified"] = "unverified";
|
|
38
|
-
WabaBusinessVerificationStatus$1["Rejected"] = "rejected";
|
|
39
|
-
return WabaBusinessVerificationStatus$1;
|
|
40
|
-
}({});
|
|
41
|
-
|
|
42
|
-
//#endregion
|
|
43
|
-
export { WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatusCanSendMessage };
|
|
44
|
-
//# sourceMappingURL=common.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","names":[],"sources":["../../../../src/api/waba/types/common.ts"],"sourcesContent":["import type { ResponseSuccess } from '../../../types/request';\n\n/**\n * WhatsApp Business Account subscription configuration\n */\nexport type WabaSubscription = {\n whatsapp_business_api_data: {\n id: string;\n link: string;\n name: string;\n category: string;\n };\n override_callback_uri?: string;\n};\n\n/**\n * Parameters for updating WABA subscription\n */\nexport interface UpdateWabaSubscription {\n override_callback_uri: string;\n verify_token: string;\n}\n\n/**\n * Response containing all WABA subscriptions\n */\nexport interface WabaSubscriptions {\n data: Array<WabaSubscription>;\n}\n\n/**\n * WABA account review status enumeration\n */\nexport enum WabaAccountReviewStatus {\n Approved = 'APPROVED',\n Active = 'ACTIVE',\n Inactive = 'INACTIVE',\n Disabled = 'DISABLED',\n}\n\n/**\n * WABA health status for message sending capability\n */\nexport enum WabaHealthStatusCanSendMessage {\n Blocked = 'BLOCKED',\n Limited = 'LIMITED',\n Available = 'AVAILABLE',\n}\n\n/**\n * WABA account status enumeration\n */\nexport enum WabaAccountStatus {\n Approved = 'APPROVED',\n Active = 'ACTIVE',\n Inactive = 'INACTIVE',\n Disabled = 'DISABLED',\n}\n\n/**\n * Business verification status enumeration\n */\nexport enum WabaBusinessVerificationStatus {\n Verified = 'verified',\n PendingSubmission = 'pending_submission',\n Unverified = 'unverified',\n Rejected = 'rejected',\n}\n\n/**\n * WABA health status error details\n */\nexport interface WabaHealthStatusError {\n error_code?: number;\n error_description?: string;\n possible_solution?: string;\n}\n\n/**\n * WABA health status entity information\n */\nexport interface WabaHealthStatusEntity {\n entity_type?: string;\n id?: string;\n can_send_message?: string;\n errors?: WabaHealthStatusError[];\n}\n\n/**\n * Overall WABA health status\n */\nexport interface WabaHealthStatus {\n can_send_message?: WabaHealthStatusCanSendMessage;\n entities?: WabaHealthStatusEntity[];\n}\n\n/**\n * WhatsApp Business Account information\n */\nexport interface WabaAccount {\n account_review_status?: WabaAccountReviewStatus;\n id?: string;\n health_status?: WabaHealthStatus;\n status?: WabaAccountStatus;\n business_verification_status?: WabaBusinessVerificationStatus;\n message_template_namespace?: string;\n name?: string;\n ownership_type?: string;\n currency?: string;\n}\n\n/**\n * Available fields for WABA account queries\n */\nexport type WabaAccountFields =\n | 'id'\n | 'name'\n | 'account_review_status'\n | 'auth_international_rate_eligibility'\n | 'business_verification_status'\n | 'country'\n | 'currency'\n | 'health_status'\n | 'status'\n | 'ownership_type'\n | 'message_template_namespace';\n\n/**\n * Parameter type for specifying which WABA account fields to retrieve\n */\nexport type WabaAccountFieldsParam = WabaAccountFields[];\n\n/**\n * Interface defining all WABA API methods\n */\nexport interface WABAClass {\n getWabaAccount(fields?: WabaAccountFieldsParam): Promise<WabaAccount>;\n getAllWabaSubscriptions(): Promise<WabaSubscriptions>;\n updateWabaSubscription(params: UpdateWabaSubscription): Promise<ResponseSuccess>;\n unsubscribeFromWaba(): Promise<ResponseSuccess>;\n}\n"],"mappings":";;;;AAiCA,IAAY,8EAAL;AACH;AACA;AACA;AACA;;;;;;AAMJ,IAAY,4FAAL;AACH;AACA;AACA;;;;;;AAMJ,IAAY,kEAAL;AACH;AACA;AACA;AACA;;;;;;AAMJ,IAAY,4FAAL;AACH;AACA;AACA;AACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { UpdateWabaSubscription, WABAClass, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions } from "./common.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatusCanSendMessage } from "./common.js";
|
package/dist/client.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { 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 } from "./types/enums.js";
|
|
2
|
-
import { WabaConfigType, WhatsAppConfig } from "./types/config.js";
|
|
3
|
-
import { LoggerInterface } from "./types/logger.js";
|
|
4
|
-
import { GeneralHeaderInterface, GeneralRequestBody, Paging, RequesterClass, RequesterResponseInterface, ResponseData, ResponsePagination, ResponseSuccess } from "./types/request.js";
|
|
5
|
-
import { HttpsClientClass, HttpsClientResponseClass, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody } from "./types/httpsClient.js";
|
|
6
|
-
import { BaseClass } from "./types/base.js";
|
|
7
|
-
import { BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, UpdateBusinessProfileRequest } from "./api/profile/types/common.js";
|
|
8
|
-
import { AccountMode, CodeVerificationStatus, Cursors, HealthStatus, HealthStatusEntity, MessagingLimitTier, PhoneNumberClass, PhoneNumberResponse, PhoneNumbersResponse, PlatformType, QualityRating, QualityScore, RequestVerificationCodeRequest, Throughput, ThroughputLevel, TwoStepVerificationParams, VerifyCodeRequest } from "./api/phone/types/common.js";
|
|
9
|
-
import { CatalogButton, ComponentTypes, CopyCodeButton, FlowButton, MPMButton, MediaCarouselCard, OTPButton, PhoneNumberButton, ProductCarouselCard, QuickReplyButton, SPMButton, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateRequestBody, TemplateResponse, URLButton } from "./api/template/types/common.js";
|
|
10
|
-
import { AuthenticationTemplateOptions, BodyOptions, ButtonOptions, CarouselCard, CarouselOptions, CatalogTemplateOptions, CouponTemplateOptions, CurrencyParameter, DateTimeParameter, FooterOptions, HeaderOptions, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, LocationParameter, MPMTemplateOptions, MediaCardCarouselTemplateOptions, MediaParameter, OTPTemplateOptions, ProductCardCarouselTemplateOptions, ProductParameter, ProductSection, SPMTemplateOptions, TemplateOptions, TemplateParameter, TextParameter } from "./api/template/types/factory.js";
|
|
11
|
-
import { TextMessageParams, TextObject } from "./api/messages/types/text.js";
|
|
12
|
-
import { MessageTemplateObject } from "./api/messages/types/template.js";
|
|
13
|
-
import { AudioMediaObject, DocumentMediaObject, ImageMediaObject, StickerMediaObject, VideoMediaObject } from "./api/messages/types/media.js";
|
|
14
|
-
import { ContactObject } from "./api/messages/types/contact.js";
|
|
15
|
-
import { LocationObject } from "./api/messages/types/location.js";
|
|
16
|
-
import { InteractiveObject } from "./api/messages/types/interactive.js";
|
|
17
|
-
import { ReactionParams } from "./api/messages/types/reaction.js";
|
|
18
|
-
import { GeneralMessageBody, MessageRequestBody, MessageRequestParams, MessagesClass, MessagesResponse, StatusParams } from "./api/messages/types/common.js";
|
|
19
|
-
import { MediaClass, MediaResponse, MediasResponse, UploadMediaResponse } from "./api/media/types/common.js";
|
|
20
|
-
import { WebhookContact, WebhookEvent, WebhookMessage } from "./core/webhook/types.js";
|
|
21
|
-
import { Flow, FlowActionEnum, FlowAsset, FlowAssetsResponse, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, Pagination, PaginationCursors, UpdateFlowResponse, ValidateFlowJsonResponse } from "./api/flow/types/common.js";
|
|
22
|
-
import { CreateQrCodeRequest, QrCodeClass, QrCodeResponse, QrCodesResponse, UpdateQrCodeRequest } from "./api/qrCode/types/common.js";
|
|
23
|
-
import { UpdateWabaSubscription, WABAClass, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions } from "./api/waba/types/common.js";
|
|
24
|
-
import { MetaError } from "./utils/isMetaError.js";
|
|
25
|
-
export { AccountMode, AudioMediaObject, AudioMediaTypesEnum, AuthenticationTemplateOptions, BaseClass, BodyOptions, BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, BusinessVerticalEnum, ButtonOptions, ButtonPositionEnum, CarouselCard, CarouselOptions, CatalogButton, CatalogTemplateOptions, CategoryEnum, CodeVerificationStatus, ComponentTypes, ComponentTypesEnum, ContactObject, ConversationTypesEnum, CopyCodeButton, CouponTemplateOptions, CreateQrCodeRequest, CurrencyCodesEnum, CurrencyParameter, Cursors, DataLocalizationRegionEnum, DateTimeParameter, DocumentMediaObject, DocumentMediaTypesEnum, Flow, FlowActionEnum, FlowAsset, FlowAssetsResponse, FlowButton, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowType, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, FooterOptions, GeneralHeaderInterface, GeneralMessageBody, GeneralRequestBody, HeaderOptions, HealthStatus, HealthStatusEntity, HttpMethodsEnum, HttpsClientClass, HttpsClientResponseClass, ImageMediaObject, ImageMediaTypesEnum, InteractiveObject, InteractiveTypesEnum, LanguagesEnum, LimitedTimeOfferOptions, LimitedTimeOfferTemplateOptions, LocationObject, LocationParameter, LoggerInterface, MPMButton, MPMTemplateOptions, MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, MediaParameter, MediaResponse, MediasResponse, MessageRequestBody, MessageRequestParams, MessageTemplateObject, MessageTypesEnum, MessagesClass, MessagesResponse, MessagingLimitTier, MetaError, OTPButton, OTPTemplateOptions, Pagination, PaginationCursors, Paging, ParametersTypesEnum, PhoneNumberButton, PhoneNumberClass, PhoneNumberResponse, PhoneNumbersResponse, PlatformType, ProductCardCarouselTemplateOptions, ProductCarouselCard, ProductParameter, ProductSection, QrCodeClass, QrCodeResponse, QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, ReactionParams, ReferralSourceTypesEnum, RequestCodeMethodsEnum, RequestVerificationCodeRequest, RequesterClass, RequesterResponseInterface, ResponseData, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody, ResponsePagination, ResponseSuccess, SPMButton, SPMTemplateOptions, StatusEnum, StatusParams, StickerMediaObject, StickerMediaTypesEnum, SubTypeEnum, SystemChangeTypesEnum, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptions, TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatusEnum, TextMessageParams, TextObject, TextParameter, Throughput, ThroughputLevel, TwoStepVerificationParams, URLButton, UpdateBusinessProfileRequest, UpdateFlowResponse, UpdateQrCodeRequest, UpdateWabaSubscription, UploadMediaResponse, ValidateFlowJsonResponse, VerifyCodeRequest, VideoMediaObject, VideoMediaTypesEnum, WABAClass, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaConfigEnum, WabaConfigType, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions, WebhookContact, WebhookEvent, WebhookMessage, WebhookTypesEnum, WhatsAppConfig };
|