meta-cloud-api 0.2.34 → 0.2.35
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/{BusinessProfileApi-DDkv2WQK.d.ts → BusinessProfileApi-BJ9zy6c2.d.ts} +3 -3
- package/dist/{EncryptionApi-CwxQlC-2.d.ts → EncryptionApi-1aZ13Qyh.d.ts} +1 -1
- package/dist/{FlowApi-C5-2BGAw.d.ts → FlowApi-QDjrvCLp.d.ts} +2 -2
- package/dist/{MediaApi-VqxndaBJ.d.ts → MediaApi-V44kQnsN.d.ts} +1 -1
- package/dist/{MessageApi-CHc6bn3g.d.ts → MessageApi-BhSK0pfd.d.ts} +2 -2
- package/dist/{PhoneNumberApi-C-bs6YAe.d.ts → PhoneNumberApi-CPAIS17R.d.ts} +2 -2
- package/dist/{QrCodeApi-BjlyPUXV.d.ts → QrCodeApi-BjPYQIWF.d.ts} +1 -1
- package/dist/{RegistrationApi-D7Bg8BUz.d.ts → RegistrationApi-CGlvAgaz.d.ts} +2 -2
- package/dist/{TemplateApi-dmZbvMkO.d.ts → TemplateApi-D_23Ys02.d.ts} +3 -3
- package/dist/{TwoStepVerificationApi-DaYWPjY_.d.ts → TwoStepVerificationApi-CXMjxkUl.d.ts} +1 -1
- package/dist/{WabaApi-Qyk7PXMh.d.ts → WabaApi-BwnBkMPm.d.ts} +2 -2
- package/dist/WebhookHandler-Dn1NlyGm.d.ts +733 -0
- package/dist/{base-BG2gtoDs.d.ts → base-DtfdeScM.d.ts} +2 -2
- package/dist/{chunk-FFOE5YKT.js → chunk-GT3XQN7Y.js} +2 -2
- package/dist/chunk-GT3XQN7Y.js.map +1 -0
- package/dist/chunk-H55VIWDI.js +2 -0
- package/dist/chunk-H55VIWDI.js.map +1 -0
- package/dist/chunk-I222VSWK.js +2 -0
- package/dist/chunk-I222VSWK.js.map +1 -0
- package/dist/{chunk-AQTZR5SI.js → chunk-LGLRGXCE.js} +2 -2
- package/dist/{chunk-AQTZR5SI.js.map → chunk-LGLRGXCE.js.map} +1 -1
- package/dist/chunk-LYB4T5PE.js +3 -0
- package/dist/chunk-LYB4T5PE.js.map +1 -0
- package/dist/{chunk-XIIJD6SG.js → chunk-R36L2XYO.js} +2 -2
- package/dist/chunk-R36L2XYO.js.map +1 -0
- package/dist/chunk-SMHCU5MN.js +2 -0
- package/dist/chunk-SMHCU5MN.js.map +1 -0
- package/dist/chunk-YJWNS2MK.js +3 -0
- package/dist/chunk-YJWNS2MK.js.map +1 -0
- package/dist/core/webhook/index.d.ts +21 -0
- package/dist/core/webhook/index.js +2 -0
- package/dist/core/webhook/index.js.map +1 -0
- package/dist/core/whatsapp/index.d.ts +100 -0
- package/dist/core/whatsapp/index.js +2 -0
- package/dist/core/whatsapp/index.js.map +1 -0
- package/dist/{enums-Z1f7QuVx.d.ts → enums-DcRC4vFO.d.ts} +2 -1
- package/dist/features/encryption/index.d.ts +4 -4
- package/dist/features/encryption/index.js +1 -1
- package/dist/features/flow/index.d.ts +4 -4
- package/dist/features/flow/index.js +1 -1
- package/dist/features/media/index.d.ts +4 -4
- package/dist/features/media/index.js +1 -1
- package/dist/features/messages/index.d.ts +4 -4
- package/dist/features/messages/index.js +1 -1
- package/dist/features/phone/index.d.ts +4 -4
- package/dist/features/phone/index.js +1 -1
- package/dist/features/profile/index.d.ts +4 -4
- package/dist/features/profile/index.js +1 -1
- package/dist/features/qrCode/index.d.ts +4 -4
- package/dist/features/qrCode/index.js +1 -1
- package/dist/features/registration/index.d.ts +4 -4
- package/dist/features/registration/index.js +1 -1
- package/dist/features/template/index.d.ts +4 -4
- package/dist/features/template/index.js +1 -1
- package/dist/features/twoStepVerification/index.d.ts +4 -4
- package/dist/features/twoStepVerification/index.js +1 -1
- package/dist/features/waba/index.d.ts +4 -4
- package/dist/features/waba/index.js +1 -1
- package/dist/index.d.ts +35 -698
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/shared/types/config.d.ts +1 -1
- package/dist/shared/types/enums.d.ts +1 -1
- package/dist/shared/types/enums.js +1 -1
- package/package.json +1 -2
- package/dist/chunk-EYGUX4EA.js +0 -2
- package/dist/chunk-EYGUX4EA.js.map +0 -1
- package/dist/chunk-FFOE5YKT.js.map +0 -1
- package/dist/chunk-XIIJD6SG.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as BaseClass, R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
|
-
import {
|
|
3
|
+
import { B as BusinessVerticalEnum } from './enums-DcRC4vFO.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Upload session information for creating upload sessions.
|
|
@@ -349,4 +349,4 @@ declare class BusinessProfileApi extends BaseAPI implements BusinessProfileClass
|
|
|
349
349
|
getUploadHandle(uploadId: string): Promise<UploadHandle>;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
export { BusinessProfileApi as B, type CreateUploadSessionParams as C, type GetUploadHandleParams as G, type UpdateBusinessProfileRequest as U, BusinessProfileClass as a, type
|
|
352
|
+
export { BusinessProfileApi as B, type CreateUploadSessionParams as C, type GetUploadHandleParams as G, type UpdateBusinessProfileRequest as U, BusinessProfileClass as a, type BusinessProfileData as b, type BusinessProfileField as c, type BusinessProfileFieldsParam as d, type BusinessProfileResponse as e, type UploadBusinessProfileResponse as f, type UploadHandle as g, type UploadMediaParams as h, type UploadSession as i, type UploadSessionResponse as j };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as ResponseData, R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
type EncryptionPublicKeyResponse = ResponseData<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -504,4 +504,4 @@ declare class FlowApi extends BaseAPI implements FlowClass {
|
|
|
504
504
|
}): Promise<FlowMigrationResponse>;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
export { type CreateFlowResponse as C, FlowApi as F, type UpdateFlowResponse as U, type ValidateFlowJsonResponse as V, type
|
|
507
|
+
export { type CreateFlowResponse as C, FlowApi as F, type UpdateFlowResponse as U, type ValidateFlowJsonResponse as V, type Flow as a, type FlowType as b, FlowActionEnum as c, type FlowAssetsResponse as d, FlowCategoryEnum as e, type FlowClass as f, type FlowEndpointRequest as g, type FlowEndpointResponse as h, type FlowMigrationResponse as i, type FlowPreviewResponse as j, type FlowsListResponse as k, FlowStatusEnum as l, type FlowValidationError as m, FlowTypeEnum as n, type FlowDataExchangeRequest as o, type FlowErrorNotificationRequest as p, type FlowHealthCheckRequest as q };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
type MediaResponse = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as BaseClass, G as GeneralRequestBody, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as InteractiveTypesEnum, c as ComponentTypesEnum, L as LanguagesEnum, P as ParametersTypesEnum, e as CurrencyCodesEnum, b as ButtonTypesEnum, a as ButtonPositionEnum, M as MessageTypesEnum } from './enums-DcRC4vFO.js';
|
|
4
4
|
|
|
5
5
|
interface ReactionParams {
|
|
6
6
|
messageId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Paging,
|
|
1
|
+
import { P as Paging, R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
type QualityRating = 'GREEN' | 'YELLOW' | 'RED' | 'NA';
|
|
@@ -138,4 +138,4 @@ declare class PhoneNumberApi extends BaseAPI implements PhoneNumberClass {
|
|
|
138
138
|
verifyCode(request: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export { type AccountMode as A, type CodeVerificationStatus as C, type HealthStatus as H, type MessagingLimitTier as M, PhoneNumberApi as P, type QualityRating as Q, type RequestVerificationCodeRequest as R, type Throughput as T, type VerifyCodeRequest as V, type
|
|
141
|
+
export { type AccountMode as A, type CodeVerificationStatus as C, type HealthStatus as H, type MessagingLimitTier as M, PhoneNumberApi as P, type QualityRating as Q, type RequestVerificationCodeRequest as R, type Throughput as T, type VerifyCodeRequest as V, type Cursors as a, type HealthStatusEntity as b, type PhoneNumberClass as c, type PhoneNumberResponse as d, type PhoneNumbersResponse as e, type PlatformType as f, type QualityScore as g, type ThroughputLevel as h, type TwoStepVerificationParams as i };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as ResponseData, R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
type QrCodeResponse = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
|
-
import { D as DataLocalizationRegionEnum } from './enums-
|
|
3
|
+
import { D as DataLocalizationRegionEnum } from './enums-DcRC4vFO.js';
|
|
4
4
|
|
|
5
5
|
type RegistrationRequest = {
|
|
6
6
|
messaging_product: 'whatsapp';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as GeneralRequestBody,
|
|
1
|
+
import { G as GeneralRequestBody, R as ResponseSuccess, b as ResponsePagination, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
|
-
import { L as LanguagesEnum,
|
|
3
|
+
import { L as LanguagesEnum, C as CategoryEnum, T as TemplateStatusEnum } from './enums-DcRC4vFO.js';
|
|
4
4
|
|
|
5
5
|
type TemplateFormat = 'TEXT' | 'IMAGE' | 'VIDEO' | 'DOCUMENT' | 'LOCATION';
|
|
6
6
|
type PhoneNumberButton = {
|
|
@@ -114,4 +114,4 @@ declare class TemplateApi extends BaseAPI implements TemplateClass {
|
|
|
114
114
|
deleteTemplate(params: TemplateDeleteParams): Promise<ResponseSuccess>;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export { TemplateApi as T, TemplateClass as a, type
|
|
117
|
+
export { TemplateApi as T, TemplateClass as a, type TemplateDeleteParams as b, type TemplateGetParams as c, type TemplateRequestBody as d, type TemplateResponse as e };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
type TwoStepVerificationRequest = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as ResponseSuccess, B as BaseAPI, a as RequesterClass } from './base-DtfdeScM.js';
|
|
2
2
|
import { WabaConfigType } from './shared/types/config.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -171,4 +171,4 @@ declare class WabaApi extends BaseAPI implements WABAClass {
|
|
|
171
171
|
unsubscribeFromWaba(): Promise<ResponseSuccess>;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export { type UpdateWabaSubscription as U, WabaApi as W, type
|
|
174
|
+
export { type UpdateWabaSubscription as U, WabaApi as W, type WabaAccount as a, type WABAClass as b, type WabaSubscriptions as c };
|