meta-cloud-api 3.4.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +116 -10
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.ts +88 -8
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1506,8 +1506,16 @@ type DeleteContactBookEntryParams = {
|
|
|
1506
1506
|
* Response for a contact book delete request.
|
|
1507
1507
|
*/
|
|
1508
1508
|
type DeleteContactBookEntryResponse = {
|
|
1509
|
-
messaging_product: 'whatsapp';
|
|
1509
|
+
messaging_product: 'whatsapp'; /** `true` when the request was processed successfully. */
|
|
1510
1510
|
success?: boolean;
|
|
1511
|
+
/**
|
|
1512
|
+
* `true` when an entry existed for the BSUID and was removed.
|
|
1513
|
+
*
|
|
1514
|
+
* Since August 25, 2026 the endpoint reports `false` instead of returning an
|
|
1515
|
+
* error when the BSUID is unknown, malformed, or belongs to another business
|
|
1516
|
+
* portfolio, so a delete is effectively idempotent — always read this flag
|
|
1517
|
+
* rather than treating a resolved call as proof the entry existed.
|
|
1518
|
+
*/
|
|
1511
1519
|
deleted?: boolean;
|
|
1512
1520
|
};
|
|
1513
1521
|
interface ContactBookClass {
|
|
@@ -1541,14 +1549,19 @@ declare class ContactBookApi extends BaseAPI implements ContactBookClass {
|
|
|
1541
1549
|
* the number is still in the 30-day cache, or a new interaction recreates the
|
|
1542
1550
|
* entry.
|
|
1543
1551
|
*
|
|
1552
|
+
* Unknown, malformed, and other-portfolio BSUIDs no longer raise an API error
|
|
1553
|
+
* (changed August 25, 2026): the request resolves with `deleted: false`, so
|
|
1554
|
+
* check that flag instead of relying on a thrown error to detect a miss.
|
|
1555
|
+
*
|
|
1544
1556
|
* @param params - Delete parameters.
|
|
1545
1557
|
* @param params.bsuid - BSUID of the entry to delete (e.g. "US.13491208655302741918").
|
|
1546
|
-
* @returns Response reporting whether the entry was deleted.
|
|
1558
|
+
* @returns Response reporting whether the entry was deleted (`deleted: false` when no entry matched).
|
|
1547
1559
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/business-scoped-user-ids/
|
|
1548
1560
|
*
|
|
1549
1561
|
* @example
|
|
1550
1562
|
* ```typescript
|
|
1551
1563
|
* const result = await client.contactBook.deleteEntry({ bsuid: 'US.13491208655302741918' });
|
|
1564
|
+
* // true when an entry was removed, false when the BSUID had no entry in the portfolio
|
|
1552
1565
|
* console.log(result.deleted);
|
|
1553
1566
|
* ```
|
|
1554
1567
|
*/
|
|
@@ -2319,6 +2332,35 @@ type MarketingMessageRequest = {
|
|
|
2319
2332
|
template: MessageTemplateObject<ComponentTypesEnum>;
|
|
2320
2333
|
message_activity_sharing?: boolean;
|
|
2321
2334
|
product_policy?: 'CLOUD_API_FALLBACK' | 'STRICT';
|
|
2335
|
+
/**
|
|
2336
|
+
* Per-message max price adjustment. Scales the template's `bid_amount`
|
|
2337
|
+
* (set in `optimization_spec`) for this send only, without editing the
|
|
2338
|
+
* template.
|
|
2339
|
+
*
|
|
2340
|
+
* Meta's recommendation: set the template's `bid_amount` to the highest
|
|
2341
|
+
* price you are willing to pay, then use a multiplier below 1 to scale
|
|
2342
|
+
* individual messages down. This gives the delivery system the widest
|
|
2343
|
+
* range to optimize against.
|
|
2344
|
+
*
|
|
2345
|
+
* The message-level multiplier is subject to change during the beta.
|
|
2346
|
+
*/
|
|
2347
|
+
bid_spec?: MarketingMessageBidSpec;
|
|
2348
|
+
};
|
|
2349
|
+
/**
|
|
2350
|
+
* Send-time max price multiplier for `POST /{PHONE_NUMBER_ID}/marketing_messages`.
|
|
2351
|
+
*
|
|
2352
|
+
* Meta keeps the `bid_spec` object name on the send call even though template
|
|
2353
|
+
* create/update moved from `bid_spec` to `optimization_spec` on July 31, 2026.
|
|
2354
|
+
*
|
|
2355
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing
|
|
2356
|
+
*/
|
|
2357
|
+
type MarketingMessageBidSpec = {
|
|
2358
|
+
/**
|
|
2359
|
+
* Positive multiplier applied to the template's `bid_amount`. Defaults to
|
|
2360
|
+
* `1` (the template amount unchanged); `1.5` raises the max price for this
|
|
2361
|
+
* message by 50%, `0.5` halves it.
|
|
2362
|
+
*/
|
|
2363
|
+
per_message_bid_multiplier: number;
|
|
2322
2364
|
};
|
|
2323
2365
|
interface MarketingMessagesClass {
|
|
2324
2366
|
sendTemplateMessage(params: MarketingMessageRequest): Promise<MessagesResponse>;
|
|
@@ -3019,11 +3061,16 @@ type ComponentTypes = TemplateHeader | TemplateBody | TemplateFooter | TemplateB
|
|
|
3019
3061
|
* the Marketing Messages API (`POST /{PHONE_NUMBER_ID}/marketing_messages`).
|
|
3020
3062
|
* Sending one through the Cloud API `/messages` endpoint fails with error
|
|
3021
3063
|
* `131061`; sending one to a BSUID recipient fails with error `131062`.
|
|
3022
|
-
* Omitting `
|
|
3064
|
+
* Omitting `optimization_spec` leaves the template on standard rate card pricing.
|
|
3023
3065
|
*
|
|
3024
|
-
*
|
|
3066
|
+
* As of August 31, 2026, eligible templates can be switched between rate card
|
|
3067
|
+
* pricing and max price without creating a new template — send
|
|
3068
|
+
* `optimization_spec` to `POST /{TEMPLATE_ID}` ({@link TemplateClass.updateTemplate}).
|
|
3069
|
+
*
|
|
3070
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing
|
|
3025
3071
|
*/
|
|
3026
|
-
type
|
|
3072
|
+
type TemplateOptimizationSpec = {
|
|
3073
|
+
/** Bid strategy. Only `LOWEST_COST_WITH_BID_CAP` is currently accepted. */bid_strategy: 'LOWEST_COST_WITH_BID_CAP';
|
|
3027
3074
|
/**
|
|
3028
3075
|
* Maximum price per 1,000 message deliveries, in the smallest unit of the
|
|
3029
3076
|
* WABA's currency. Multiply the desired per-delivery price by 1,000 after
|
|
@@ -3031,11 +3078,22 @@ type TemplateBidSpec = {
|
|
|
3031
3078
|
*/
|
|
3032
3079
|
bid_amount: number;
|
|
3033
3080
|
};
|
|
3081
|
+
/**
|
|
3082
|
+
* @deprecated Meta deprecated `bid_spec` on template create/update on
|
|
3083
|
+
* July 31, 2026. Use {@link TemplateOptimizationSpec} with `optimization_spec`.
|
|
3084
|
+
*/
|
|
3085
|
+
type TemplateBidSpec = {
|
|
3086
|
+
/** Maximum price per 1,000 message deliveries, in the WABA currency's smallest unit. */bid_amount: number;
|
|
3087
|
+
};
|
|
3034
3088
|
type TemplateRequestBody = GeneralRequestBody & {
|
|
3035
3089
|
name: string;
|
|
3036
3090
|
language: LanguagesEnum;
|
|
3037
3091
|
category?: CategoryEnum;
|
|
3038
3092
|
components?: ComponentTypes[]; /** Max price configuration. Marketing templates only, MM API sends only. */
|
|
3093
|
+
optimization_spec?: TemplateOptimizationSpec;
|
|
3094
|
+
/**
|
|
3095
|
+
* @deprecated Deprecated by Meta on July 31, 2026. Use `optimization_spec`.
|
|
3096
|
+
*/
|
|
3039
3097
|
bid_spec?: TemplateBidSpec;
|
|
3040
3098
|
};
|
|
3041
3099
|
type TemplateResponse = {
|
|
@@ -3044,7 +3102,8 @@ type TemplateResponse = {
|
|
|
3044
3102
|
language: LanguagesEnum;
|
|
3045
3103
|
category: CategoryEnum;
|
|
3046
3104
|
name: string;
|
|
3047
|
-
components: ComponentTypes[];
|
|
3105
|
+
components: ComponentTypes[]; /** Max price configuration, returned for templates created with one. */
|
|
3106
|
+
optimization_spec?: TemplateOptimizationSpec;
|
|
3048
3107
|
};
|
|
3049
3108
|
type TemplateGetParams = {
|
|
3050
3109
|
limit?: number;
|
|
@@ -4703,10 +4762,44 @@ interface StatusWebhook {
|
|
|
4703
4762
|
};
|
|
4704
4763
|
};
|
|
4705
4764
|
pricing?: {
|
|
4706
|
-
|
|
4765
|
+
/**
|
|
4766
|
+
* Whether the message is billable.
|
|
4767
|
+
*
|
|
4768
|
+
* Meta will deprecate this property in a future versioned release; use
|
|
4769
|
+
* `type` and `category` together to decide whether a message is billable
|
|
4770
|
+
* and, if so, at which rate.
|
|
4771
|
+
*/
|
|
4772
|
+
billable: boolean; /** `CBP` only appears on webhooks sent before July 1, 2025. */
|
|
4707
4773
|
pricing_model: 'CBP' | 'PMP';
|
|
4708
|
-
|
|
4709
|
-
|
|
4774
|
+
/**
|
|
4775
|
+
* Pricing type. Semantics change with the October 1, 2026 service and
|
|
4776
|
+
* utility pricing update (documented September 10, 2026):
|
|
4777
|
+
* - `regular` — billable. From October 1, 2026 this also covers 1:1
|
|
4778
|
+
* utility messages sent inside an open customer service window, group
|
|
4779
|
+
* utility messages inside an open group customer service window, and
|
|
4780
|
+
* 1:1 and group service messages sent after the business phone
|
|
4781
|
+
* number's free tier is used up.
|
|
4782
|
+
* - `free_customer_service` — through September 30, 2026, a utility
|
|
4783
|
+
* template or non-template message sent inside a customer service
|
|
4784
|
+
* window; from October 1, 2026, a 1:1 service delivery inside the
|
|
4785
|
+
* business phone number's free tier.
|
|
4786
|
+
* - `free_entry_point` — message sent inside an open free entry point
|
|
4787
|
+
* window.
|
|
4788
|
+
* - `free_group_customer_service` — through September 30, 2026, a group
|
|
4789
|
+
* utility or non-template message delivered inside an open group
|
|
4790
|
+
* customer service window; from October 1, 2026, a group service
|
|
4791
|
+
* delivery inside the business phone number's free tier.
|
|
4792
|
+
*/
|
|
4793
|
+
type: 'regular' | 'free_customer_service' | 'free_entry_point' | 'free_group_customer_service';
|
|
4794
|
+
/**
|
|
4795
|
+
* Pricing category (rate) applied if billable.
|
|
4796
|
+
*
|
|
4797
|
+
* Note the hyphen in `authentication-international`: Meta documents the
|
|
4798
|
+
* pricing category with a hyphen, unlike the `conversation.origin.type`
|
|
4799
|
+
* value `authentication_international`. The underscored spelling is kept
|
|
4800
|
+
* for payloads that still use it.
|
|
4801
|
+
*/
|
|
4802
|
+
category: 'authentication' | 'authentication-international' | 'authentication_international' | 'group_marketing' | 'group_service' | 'group_utility' | 'marketing' | 'marketing_lite' | 'referral_conversion' | 'service' | 'utility';
|
|
4710
4803
|
};
|
|
4711
4804
|
errors?: Array<WebhookError>;
|
|
4712
4805
|
}
|
|
@@ -6507,6 +6600,7 @@ declare class MarketingMessagesApi extends BaseAPI implements MarketingMessagesC
|
|
|
6507
6600
|
* @param params.template - The template configuration (name, language, components).
|
|
6508
6601
|
* @param params.message_activity_sharing - Optional flag to enable message activity sharing.
|
|
6509
6602
|
* @param params.product_policy - Optional product policy for marketing messages.
|
|
6603
|
+
* @param params.bid_spec - Optional send-time multiplier applied to the template's max price.
|
|
6510
6604
|
* @returns The messages response with message ID and status.
|
|
6511
6605
|
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/send-marketing-messages/
|
|
6512
6606
|
*/
|
|
@@ -8184,6 +8278,12 @@ declare class TemplateApi extends BaseAPI implements TemplateClass {
|
|
|
8184
8278
|
* an approved template will resubmit it for review, changing its status back
|
|
8185
8279
|
* to `PENDING`.
|
|
8186
8280
|
*
|
|
8281
|
+
* Marketing templates also accept `optimization_spec` here. As of
|
|
8282
|
+
* August 31, 2026, an eligible template can be switched between standard rate
|
|
8283
|
+
* card pricing and max price without creating a new template, and an existing
|
|
8284
|
+
* max price can be updated in place. Approved templates allow up to 100 edits
|
|
8285
|
+
* per hour and 2,400 per day.
|
|
8286
|
+
*
|
|
8187
8287
|
* **Endpoint:** `POST /{TEMPLATE_ID}`
|
|
8188
8288
|
*
|
|
8189
8289
|
* @param templateId - The unique identifier of the template to update
|
|
@@ -8191,12 +8291,18 @@ declare class TemplateApi extends BaseAPI implements TemplateClass {
|
|
|
8191
8291
|
* @returns A promise resolving to a success response (`{ success: true }`)
|
|
8192
8292
|
*
|
|
8193
8293
|
* @see {@link https://developers.facebook.com/docs/whatsapp/cloud-api/reference/message-templates | Message Templates Reference}
|
|
8294
|
+
* @see {@link https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing | Max price for marketing messages}
|
|
8194
8295
|
*
|
|
8195
8296
|
* @example
|
|
8196
8297
|
* ```ts
|
|
8197
8298
|
* await client.template.updateTemplate('template_id_123', {
|
|
8198
8299
|
* components: [{ type: 'BODY', text: 'Updated greeting: Hello {{1}}!' }],
|
|
8199
8300
|
* });
|
|
8301
|
+
*
|
|
8302
|
+
* // Switch an eligible marketing template onto max price (or change the cap).
|
|
8303
|
+
* await client.template.updateTemplate('template_id_123', {
|
|
8304
|
+
* optimization_spec: { bid_strategy: 'LOWEST_COST_WITH_BID_CAP', bid_amount: 25000 },
|
|
8305
|
+
* });
|
|
8200
8306
|
* ```
|
|
8201
8307
|
*/
|
|
8202
8308
|
updateTemplate(templateId: string, template: Partial<TemplateRequestBody>): Promise<ResponseSuccess>;
|
|
@@ -9497,5 +9603,5 @@ declare function isFlowErrorRequest(request: FlowEndpointRequest): request is Fl
|
|
|
9497
9603
|
*/
|
|
9498
9604
|
declare function isFlowPingRequest(request: FlowEndpointRequest): request is FlowHealthCheckRequest;
|
|
9499
9605
|
//#endregion
|
|
9500
|
-
export { AUTHORIZATION_ERROR_CODES, type AcceptCallRequest, AcceptSolutionRequest, AccountMode, AddPhoneNumbersRequest, type ApiPermissionErrorCode, AssignedUserRequest, AssignedUsersListParams, type AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, type AudioMessage, type AudioMessageHandler, type AudioProcessedMessage, type AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, type BaseApiRequest, type BaseApiResponse, type BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, type BodyOptions, BusinessApi, BusinessClass, BusinessComplianceInfoResponse, BusinessFieldsParam, BusinessGraphListResponse, BusinessGraphObject, BusinessListParams, BusinessProfileApi, type BusinessProfileClass, type BusinessProfileData, type BusinessProfileField, type BusinessProfileFieldsParam, type BusinessProfileResponse, BusinessVerticalEnum, type ButtonMessage, type ButtonMessageHandler, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type ButtonProcessedMessage, CALLING_ERROR_CODES, type CallAction, type CallActionResponse, type CallAnnouncementLanguage, type CallCaptureStatus, type CallHours, type CallHoursDay, type CallHoursStatus, type CallIconVisibility, type CallPermission, type CallPermissionAction, type CallPermissionLimit, type CallPermissionsResponse, type CallRecordingConfig, type CallSdpType, type CallSession, type CallTranscriptionConfig, type CallbackPermissionStatus, CallingApi, type CallingClass, type CallingSettings, type CallingSettingsResponse, type CallingStatus, CarouselCard, type CarouselOptions, CatalogButton, type CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, type CommerceClass, type CommerceSetting, type CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactBookApi, ContactBookClass, type ContactInfo, type ContactObject, type ContactsMessage, type ContactsMessageHandler, type ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, ConversationalAutomationRequest, ConversationalAutomationResponse, ConversationalCommand, ConversationalPrompt, CopyCodeButton, type CouponTemplateOptions, type CreateFlowResponse, CreateOBOMobilityIntentRequest, CreatePhoneNumberRequest, CreatePhoneNumberResponse, type CreateQrCodeRequest, CreateScheduleRequest, type CreateUploadSessionParams, CreateWhatsAppBusinessSolutionRequest, CurrencyCodesEnum, type CurrencyParameter, CursorPaginationParams, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, DeleteContactBookEntryParams, DeleteContactBookEntryResponse, type DirectSendCategory, type DirectSendConfig, type DirectSendOptions, type DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, type DocumentMessage, type DocumentMessageHandler, type DocumentProcessedMessage, type EncryptedMessageRequest, type EncryptedMessagesResponse, EncryptionApi, type EncryptionClass, type EncryptionKeyPair, type EncryptionPublicKeyResponse, type ErrorWebhookValue, type ExpressRequest, type ExpressResponse, type ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, type Flow, FlowActionEnum, FlowApi, type FlowAsset, type FlowAssetsResponse, FlowButton, FlowCategoryEnum, type FlowClass, type FlowDataExchangeRequest, type FlowDataExchangeResponse, type FlowDecryptedRequestResponse, type FlowEncryptedRequestPayload, type FlowEndpointRequest, type FlowEndpointResponse, type FlowErrorNotificationRequest, type FlowErrorNotificationResponse, type FlowHandler, 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, GROUP_ERROR_CODES, type GeneralHeaderInterface, type GeneralMessageBody, type GeneralRequestBody, type GetUploadHandleParams, GraphObject, 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 GroupParticipantInput, type GroupParticipantsRequest, type GroupSettingsResponse, GroupsApi, type GroupsClass, type HeaderOptions, HealthStatus, HealthStatusEntity, type HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, type HttpsClientClass, type HttpsClientResponseClass, INTEGRITY_ERROR_CODES, type ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, type ImageMessage, type ImageMessageHandler, type ImageProcessedMessage, type InitiateCallRequest, type InitiateCallResponse, type InteractiveButtonReplyMessage, type InteractiveListReplyMessage, type InteractiveMessage, type InteractiveMessageHandler, type InteractiveObject, type InteractiveProcessedMessage, type InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, type LimitedTimeOfferOptions, type LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, type LocationInfo, type LocationMessage, type LocationMessageHandler, type LocationObject, type LocationParameter, type LocationProcessedMessage, Logger, type LoggerInterface, MPMButton, type MPMTemplateOptions, type MarketingMessageRequest, MarketingMessagesApi, type MarketingMessagesClass, MediaApi, type MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, type MediaInfo, type MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageCategory, MessageCategoryEnum, MessageCategoryType, type MessageHandler, MessageHistoryApi, MessageHistoryClass, MessageHistoryEventListParams, MessageHistoryFieldsParam, MessageHistoryItem, MessageHistoryListParams, MessageHistoryResponse, type MessageRecipientType, type MessageRequestBody, type MessageRequestParams, type MessageStatus, MessageTemplateObject, MessageTemplateRequestBody, MessageTypes, MessageTypesEnum, MessageTypesType, type MessageWebhookValue, type MessagesClass, type MessagesResponse, MessagingLimitTier, type MetaError, type MetaErrorData, type MetaErrorDetail, type NextFunction, type NextJsAppWebhookConfig, type NextJsWebhookConfig, OTPButton, type OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, type OrderInfo, type OrderMessage, type OrderMessageHandler, type OrderProcessedMessage, type Pagination, type PaginationCursors, type Paging, PagingCursors, PagingInfo, 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, PaymentsApi, type PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, type PreAcceptCallRequest, type ProcessedMessage, type ProcessedStatus, type ProductCardCarouselTemplateOptions, ProductCarouselCard, type ProductParameter, type ProductSection, QrCodeApi, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, type ReactionInfo, type ReactionMessage, type ReactionMessageHandler, type ReactionParams, type ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RejectSolutionRequest, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, type SPMTemplateOptions, SetOBOMobilityIntentRequest, SetSolutionMigrationIntentRequest, SharePreVerifiedPhoneNumberRequest, type SipServer, type SipSettings, type SipStatus, SolutionDeactivationRequest, SolutionFieldsParam, SolutionGraphObject, SolutionListParams, SolutionListResponse, SolutionMigrationIntent, SolutionsApi, SolutionsClass, Status, StatusEnum, type StatusHandler, type StatusParams, type StatusResponse, StatusType, type StatusWebhook, type StatusWebhookValue, type StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, type StickerMessage, type StickerMessageHandler, type StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, type SystemMessage, type SystemMessageHandler, type SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBidSpec, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, type TemplateOptions, type TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageHandler, type TextMessageParams, type TextObject, type TextParameter, type TextProcessedMessage, Throughput, ThroughputLevel, ThroughputResponse, TwoStepVerificationApi, type TwoStepVerificationClass, TwoStepVerificationParams, type TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, type UnsupportedMessage, UpdateBusinessComplianceInfoRequest, type UpdateBusinessProfileRequest, type UpdateCallingSettingsRequest, type UpdateCommerceSettingsRequest, type UpdateFlowResponse, type UpdateGroupSettingsRequest, UpdateOfficialBusinessAccountStatusRequest, UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberStatusRequest, type UpdateQrCodeRequest, UpdateUsernameRequest, UpdateWabaAccountRequest, UpdateWabaSubscription, UpdateWhatsAppBusinessProfileRequest, type UploadBusinessProfileResponse, type UploadHandle, type UploadMediaParams, UploadMediaResponse, type UploadSession, type UploadSessionResponse, UsernameResponse, UsernameStatus, UsernameSuggestionsResponse, UsernameTransferAction, type ValidateFlowJsonResponse, VerifyCodeRequest, VerifyPreVerifiedPhoneNumberCodeRequest, type VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, type VideoMessage, type VideoMessageHandler, type VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, type WabaConfigType, WabaFieldsParam, WabaGraphObject, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaListParams, WabaListResponse, WabaSubscription, WabaSubscriptions, type WebhookContact, type WebhookEvent, type WebhookHandlerContext, type WebhookMessage, type WebhookPayload, WebhookProcessor, type WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, type WhatsAppConfig, WhatsAppError, type WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, type WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
|
|
9606
|
+
export { AUTHORIZATION_ERROR_CODES, type AcceptCallRequest, AcceptSolutionRequest, AccountMode, AddPhoneNumbersRequest, type ApiPermissionErrorCode, AssignedUserRequest, AssignedUsersListParams, type AudioMediaObject, AudioMediaTypes, AudioMediaTypesEnum, AudioMediaTypesType, type AudioMessage, type AudioMessageHandler, type AudioProcessedMessage, type AuthenticationTemplateOptions, BLOCK_USER_ERROR_CODES, type BaseApiRequest, type BaseApiResponse, type BaseClass, BlockUserObject, BlockUsersApi, BlockUsersClass, BlockUsersRequest, BlockUsersResponse, BlockedUserInfo, type BodyOptions, BusinessApi, BusinessClass, BusinessComplianceInfoResponse, BusinessFieldsParam, BusinessGraphListResponse, BusinessGraphObject, BusinessListParams, BusinessProfileApi, type BusinessProfileClass, type BusinessProfileData, type BusinessProfileField, type BusinessProfileFieldsParam, type BusinessProfileResponse, BusinessVerticalEnum, type ButtonMessage, type ButtonMessageHandler, type ButtonOptions, ButtonPosition, ButtonPositionEnum, ButtonPositionType, type ButtonProcessedMessage, CALLING_ERROR_CODES, type CallAction, type CallActionResponse, type CallAnnouncementLanguage, type CallCaptureStatus, type CallHours, type CallHoursDay, type CallHoursStatus, type CallIconVisibility, type CallPermission, type CallPermissionAction, type CallPermissionLimit, type CallPermissionsResponse, type CallRecordingConfig, type CallSdpType, type CallSession, type CallTranscriptionConfig, type CallbackPermissionStatus, CallingApi, type CallingClass, type CallingSettings, type CallingSettingsResponse, type CallingStatus, CarouselCard, type CarouselOptions, CatalogButton, type CatalogTemplateOptions, Category, CategoryEnum, CategoryType, CodeVerificationStatus, CommerceApi, type CommerceClass, type CommerceSetting, type CommerceSettingsResponse, ComponentType, ComponentTypeType, ComponentTypes, ComponentTypesEnum, ContactBookApi, ContactBookClass, type ContactInfo, type ContactObject, type ContactsMessage, type ContactsMessageHandler, type ContactsProcessedMessage, ConversationTypes, ConversationTypesEnum, ConversationTypesType, ConversationalAutomationRequest, ConversationalAutomationResponse, ConversationalCommand, ConversationalPrompt, CopyCodeButton, type CouponTemplateOptions, type CreateFlowResponse, CreateOBOMobilityIntentRequest, CreatePhoneNumberRequest, CreatePhoneNumberResponse, type CreateQrCodeRequest, CreateScheduleRequest, type CreateUploadSessionParams, CreateWhatsAppBusinessSolutionRequest, CurrencyCodesEnum, type CurrencyParameter, CursorPaginationParams, Cursors, DataLocalizationRegion, DataLocalizationRegionEnum, DataLocalizationRegionType, type DateTimeParameter, DeleteContactBookEntryParams, DeleteContactBookEntryResponse, type DirectSendCategory, type DirectSendConfig, type DirectSendOptions, type DocumentMediaObject, DocumentMediaTypes, DocumentMediaTypesEnum, DocumentMediaTypesType, type DocumentMessage, type DocumentMessageHandler, type DocumentProcessedMessage, type EncryptedMessageRequest, type EncryptedMessagesResponse, EncryptionApi, type EncryptionClass, type EncryptionKeyPair, type EncryptionPublicKeyResponse, type ErrorWebhookValue, type ExpressRequest, type ExpressResponse, type ExpressWebhookConfig, FLOW_ERROR_CODES, FailedUserInfo, type Flow, FlowActionEnum, FlowApi, type FlowAsset, type FlowAssetsResponse, FlowButton, FlowCategoryEnum, type FlowClass, type FlowDataExchangeRequest, type FlowDataExchangeResponse, type FlowDecryptedRequestResponse, type FlowEncryptedRequestPayload, type FlowEndpointRequest, type FlowEndpointResponse, type FlowErrorNotificationRequest, type FlowErrorNotificationResponse, type FlowHandler, 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, GROUP_ERROR_CODES, type GeneralHeaderInterface, type GeneralMessageBody, type GeneralRequestBody, type GetUploadHandleParams, GraphObject, 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 GroupParticipantInput, type GroupParticipantsRequest, type GroupSettingsResponse, GroupsApi, type GroupsClass, type HeaderOptions, HealthStatus, HealthStatusEntity, type HolidaySchedule, HostPlatform, HttpMethods, HttpMethodsEnum, HttpMethodsType, type HttpsClientClass, type HttpsClientResponseClass, INTEGRITY_ERROR_CODES, type ImageMediaObject, ImageMediaTypes, ImageMediaTypesEnum, ImageMediaTypesType, type ImageMessage, type ImageMessageHandler, type ImageProcessedMessage, type InitiateCallRequest, type InitiateCallResponse, type InteractiveButtonReplyMessage, type InteractiveListReplyMessage, type InteractiveMessage, type InteractiveMessageHandler, type InteractiveObject, type InteractiveProcessedMessage, type InteractiveReply, InteractiveTypes, InteractiveTypesEnum, InteractiveTypesType, Languages, LanguagesEnum, LanguagesType, type LimitedTimeOfferOptions, type LimitedTimeOfferTemplateOptions, ListBlockedUsersParams, ListBlockedUsersResponse, type LocationInfo, type LocationMessage, type LocationMessageHandler, type LocationObject, type LocationParameter, type LocationProcessedMessage, Logger, type LoggerInterface, MPMButton, type MPMTemplateOptions, type MarketingMessageBidSpec, type MarketingMessageRequest, MarketingMessagesApi, type MarketingMessagesClass, MediaApi, type MediaCardCarouselTemplateOptions, MediaCarouselCard, MediaClass, type MediaInfo, type MediaParameter, MediaResponse, MediasResponse, MessagesApi as MessageApi, MessagesApi, MessageCategory, MessageCategoryEnum, MessageCategoryType, type MessageHandler, MessageHistoryApi, MessageHistoryClass, MessageHistoryEventListParams, MessageHistoryFieldsParam, MessageHistoryItem, MessageHistoryListParams, MessageHistoryResponse, type MessageRecipientType, type MessageRequestBody, type MessageRequestParams, type MessageStatus, MessageTemplateObject, MessageTemplateRequestBody, MessageTypes, MessageTypesEnum, MessageTypesType, type MessageWebhookValue, type MessagesClass, type MessagesResponse, MessagingLimitTier, type MetaError, type MetaErrorData, type MetaErrorDetail, type NextFunction, type NextJsAppWebhookConfig, type NextJsWebhookConfig, OTPButton, type OTPTemplateOptions, OfficialBusinessAccountAction, OfficialBusinessAccountApplicationData, OfficialBusinessAccountStatusResponse, OnboardPartnersToMMLiteRequest, type OrderInfo, type OrderMessage, type OrderMessageHandler, type OrderProcessedMessage, type Pagination, type PaginationCursors, type Paging, PagingCursors, PagingInfo, 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, PaymentsApi, type PaymentsClass, PhoneNumberApi, PhoneNumberButton, PhoneNumberClass, PhoneNumberField, PhoneNumberFieldsParam, PhoneNumberFilter, PhoneNumberResponse, PhoneNumberSettingsFieldsParam, PhoneNumberSettingsParams, PhoneNumberSettingsResponse, PhoneNumberSort, PhoneNumberStatus, PhoneNumbersListParams, PhoneNumbersResponse, PlatformType, type PreAcceptCallRequest, type ProcessedMessage, type ProcessedStatus, type ProductCardCarouselTemplateOptions, ProductCarouselCard, type ProductParameter, type ProductSection, QrCodeApi, type QrCodeClass, type QrCodeResponse, type QrCodesResponse, QualityRating, QualityScore, QuickReplyButton, type ReactionInfo, type ReactionMessage, type ReactionMessageHandler, type ReactionParams, type ReactionProcessedMessage, ReferralSourceTypes, ReferralSourceTypesEnum, ReferralSourceTypesType, RegistrationApi, type RegistrationClass, type RegistrationRequest, type RejectCallRequest, RejectSolutionRequest, RemoveAssignedUserRequest, RequestCodeMethods, RequestCodeMethodsEnum, RequestCodeMethodsType, RequestPreVerifiedPhoneNumberCodeRequest, RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, SEND_MESSAGE_ERROR_CODES, SPMButton, type SPMTemplateOptions, SetOBOMobilityIntentRequest, SetSolutionMigrationIntentRequest, SharePreVerifiedPhoneNumberRequest, type SipServer, type SipSettings, type SipStatus, SolutionDeactivationRequest, SolutionFieldsParam, SolutionGraphObject, SolutionListParams, SolutionListResponse, SolutionMigrationIntent, SolutionsApi, SolutionsClass, Status, StatusEnum, type StatusHandler, type StatusParams, type StatusResponse, StatusType, type StatusWebhook, type StatusWebhookValue, type StickerMediaObject, StickerMediaTypes, StickerMediaTypesEnum, StickerMediaTypesType, type StickerMessage, type StickerMessageHandler, type StickerProcessedMessage, SubType, SubTypeEnum, SubTypeType, SystemChangeTypes, SystemChangeTypesEnum, SystemChangeTypesType, type SystemMessage, type SystemMessageHandler, type SystemProcessedMessage, THROTTLING_ERROR_CODES, TemplateApi, TemplateBidSpec, TemplateBody, TemplateButton, TemplateButtons, TemplateCarousel, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateLimitedTimeOffer, TemplateOptimizationSpec, type TemplateOptions, type TemplateParameter, TemplateRequestBody, TemplateResponse, TemplateStatus, TemplateStatusEnum, TemplateStatusType, type TerminateCallRequest, type TextMessage, type TextMessageHandler, type TextMessageParams, type TextObject, type TextParameter, type TextProcessedMessage, Throughput, ThroughputLevel, ThroughputResponse, TwoStepVerificationApi, type TwoStepVerificationClass, TwoStepVerificationParams, type TwoStepVerificationRequest, URLButton, UnblockUsersRequest, UnifiedCertStatus, type UnsupportedMessage, UpdateBusinessComplianceInfoRequest, type UpdateBusinessProfileRequest, type UpdateCallingSettingsRequest, type UpdateCommerceSettingsRequest, type UpdateFlowResponse, type UpdateGroupSettingsRequest, UpdateOfficialBusinessAccountStatusRequest, UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberStatusRequest, type UpdateQrCodeRequest, UpdateUsernameRequest, UpdateWabaAccountRequest, UpdateWabaSubscription, UpdateWhatsAppBusinessProfileRequest, type UploadBusinessProfileResponse, type UploadHandle, type UploadMediaParams, UploadMediaResponse, type UploadSession, type UploadSessionResponse, UsernameResponse, UsernameStatus, UsernameSuggestionsResponse, UsernameTransferAction, type ValidateFlowJsonResponse, VerifyCodeRequest, VerifyPreVerifiedPhoneNumberCodeRequest, type VideoMediaObject, VideoMediaTypes, VideoMediaTypesEnum, VideoMediaTypesType, type VideoMessage, type VideoMessageHandler, type VideoProcessedMessage, WABAClass, WHATSAPP_ERROR_CODES, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaApi, WabaBusinessVerificationStatus, WabaConfigEnum, type WabaConfigType, WabaFieldsParam, WabaGraphObject, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaListParams, WabaListResponse, WabaSubscription, WabaSubscriptions, type WebhookContact, type WebhookEvent, type WebhookHandlerContext, type WebhookMessage, type WebhookPayload, WebhookProcessor, type WebhookResponse, WebhookTypes, WebhookTypesEnum, WebhookTypesType, type WebhookValue, type WeeklyOperatingHours, WhatsApp, WhatsAppApiError, WhatsAppAuthorizationError, WhatsAppBlockUserError, WhatsAppCallingError, type WhatsAppConfig, WhatsAppError, type WhatsAppErrorCode, WhatsAppFlowError, WhatsAppGroupError, WhatsAppIntegrityError, type WhatsAppMessage, WhatsAppNetworkError, WhatsAppSendMessageError, WhatsAppThrottlingError, WhatsAppUnknownError, WhatsAppValidationError, buildFieldsQueryString, constructFullUrl, createAuthenticationTemplate, createCatalogTemplate, createCouponTemplate, createLimitedTimeOfferTemplate, createMPMTemplate, createMediaCardCarouselTemplate, createOTPTemplate, createProductCardCarouselTemplate, createSPMTemplate, createTemplate, createWhatsAppApiError, decryptFlowRequest, encryptFlowResponse, expressWebhookHandler, extractMessageText, formatConfigTable, generateEncryption, generateXHub256Sig, getContactsInfo, getInteractiveReply, getLocationInfo, getMediaInfo, getOrderInfo, getReactionInfo, isApiPermissionErrorCode, isAudioMessage, isAuthorizationErrorCode, isBlockUserErrorCode, isButtonMessage, isButtonReply, isCallingErrorCode, isContactsMessage, isDocumentMessage, isFlowDataExchangeRequest, isFlowErrorCode, isFlowErrorRequest, isFlowPingRequest, isGroupErrorCode, isImageMessage, isIntegrityErrorCode, isInteractiveMessage, isListReply, isLocationMessage, isMetaError, isNfmReply, isOrderMessage, isReactionMessage, isSendMessageErrorCode, isStickerMessage, isSystemMessage, isTextMessage, isThrottlingErrorCode, isVideoMessage, isWhatsAppApiErrorResponse, isWhatsAppAuthorizationError, isWhatsAppBlockUserError, isWhatsAppCallingError, isWhatsAppErrorCode, isWhatsAppFlowError, isWhatsAppGroupError, isWhatsAppIntegrityError, isWhatsAppSendMessageError, isWhatsAppThrottlingError, nextjsAppWebhookHandler, nextjsPagesWebhookHandler, normalizeMetaError, objectToQueryString, processFlowRequest, processWebhookMessages };
|
|
9501
9607
|
//# sourceMappingURL=index.d.mts.map
|