meta-cloud-api 1.7.3 → 2.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/README.md +39 -526
- package/dist/chunk-WfQuXRBF.js +1 -0
- package/dist/{index.d.ts → index-BXi6HUC-.d.ts} +580 -22
- package/dist/index-BXi6HUC-.d.ts.map +1 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/types/{enums-DEu7hLmx.d.ts → enums-DyHU9JT1.d.ts} +2 -1
- package/dist/types/enums-DyHU9JT1.d.ts.map +1 -0
- package/dist/types/enums.js +2 -1
- package/dist/types/enums.js.map +1 -0
- package/dist/types/{index.d.ts → index-CNpKf-Cm.d.ts} +408 -19
- package/dist/types/index-CNpKf-Cm.d.ts.map +1 -0
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/{index.d.ts → index-DS_nKCVm.d.ts} +90 -13
- package/dist/utils/index-DS_nKCVm.d.ts.map +1 -0
- package/dist/utils/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CTAAG5j7.js +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/types/enums-DEu7hLmx.d.ts.map +0 -1
- package/dist/types/enums-U752Hos7.js +0 -2
- package/dist/types/enums-U752Hos7.js.map +0 -1
- package/dist/types/enums.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
|
@@ -63,6 +63,7 @@ declare enum InteractiveTypesEnum {
|
|
|
63
63
|
Product = "product",
|
|
64
64
|
ProductList = "product_list",
|
|
65
65
|
CtaUrl = "cta_url",
|
|
66
|
+
Carousel = "carousel",
|
|
66
67
|
LocationRequest = "location_request_message",
|
|
67
68
|
AddressMessage = "address_message",
|
|
68
69
|
Flow = "flow",
|
|
@@ -669,4 +670,4 @@ declare enum BusinessVerticalEnum {
|
|
|
669
670
|
}
|
|
670
671
|
//#endregion
|
|
671
672
|
export { AudioMediaTypesEnum, BusinessVerticalEnum, ButtonPositionEnum, CategoryEnum, ComponentTypesEnum, ConversationTypesEnum, CurrencyCodesEnum, DataLocalizationRegionEnum, DocumentMediaTypesEnum, HttpMethodsEnum, ImageMediaTypesEnum, InteractiveTypesEnum, LanguagesEnum, MessageTypesEnum, ParametersTypesEnum, ReferralSourceTypesEnum, RequestCodeMethodsEnum, StatusEnum, StickerMediaTypesEnum, SubTypeEnum, SystemChangeTypesEnum, TemplateStatusEnum, VideoMediaTypesEnum, WabaConfigEnum, WebhookTypesEnum };
|
|
672
|
-
//# sourceMappingURL=enums-
|
|
673
|
+
//# sourceMappingURL=enums-DyHU9JT1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums-DyHU9JT1.d.ts","names":[],"sources":["../../src/types/enums.ts"],"sourcesContent":[],"mappings":";aAAY,YAAA;EAAA,cAAA,GAAY,gBAAA;EAMZ,SAAA,GAAA,WAAkB;EAMlB,OAAA,GAAA,SAAe;AAO3B;AAwBY,aArCA,kBAAA;EAyDA,QAAA,GAAA,UAAA;EAYA,OAAA,GAAA,SAAA;EAQA,QAAA,GAAA,UAAW;AAYvB;AAOY,aA1FA,eAAA;EA4GA,GAAA,GAAA,KAAA;EAMA,IAAA,GAAA,MAAU;EAMV,GAAA,GAAA,KAAA;EAKA,MAAA,GAAA,QAAA;AAIZ;AAKY,aA/HA,gBAAA;EA0IA,KAAA,GAAA,OAAA;EAQA,QAAA,GAAA,UAAgB;EAchB,QAAA,GAAA,UAAA;EAKA,KAAA,GAAA,OAAA;EAKA,WAAA,GAAA,aAAsB;EAKtB,QAAA,GAAA,UAAa;EA0Eb,QAAA,GAAA,UAAiB;EAiTjB,OAAA,GAAA,SAAA;EA8BA,QAAA,GAAA,UAAA;;;;;;;;;;;;;;aAhjBA,mBAAA;;;;;;;;;;;;;;;;;;;aAoBA,oBAAA;;;;;;;;;;;aAYA,kBAAA;;;;;;;aAQA,WAAA;;;;;;;;;;;aAYA,kBAAA;;;;;;aAOA,cAAA;;;;;;;;;;;;;;;;;aAkBA,qBAAA;;;;;aAMA,UAAA;;;;;aAMA,mBAAA;;;;aAKA,qBAAA;;;aAIA,mBAAA;;;;aAKA,sBAAA;;;;;;;;;;aAWA,mBAAA;;;;;;;aAQA,gBAAA;;;;;;;;;;;;;aAcA,qBAAA;;;;aAKA,uBAAA;;;;aAKA,sBAAA;;;;aAKA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA0EA,iBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAiTA,0BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA8BA,oBAAA"}
|
package/dist/types/enums.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
let e=function(e){return e.Authentication=`AUTHENTICATION`,e.Marketing=`MARKETING`,e.Utility=`UTILITY`,e}({}),t=function(e){return e.Approved=`APPROVED`,e.Pending=`PENDING`,e.Rejected=`REJECTED`,e}({}),n=function(e){return e.Get=`GET`,e.Post=`POST`,e.Put=`PUT`,e.Delete=`DELETE`,e}({}),r=function(e){return e.Audio=`audio`,e.Contacts=`contacts`,e.Document=`document`,e.Image=`image`,e.Interactive=`interactive`,e.Location=`location`,e.Reaction=`reaction`,e.Sticker=`sticker`,e.Template=`template`,e.Text=`text`,e.Video=`video`,e.Button=`button`,e.Order=`order`,e.System=`system`,e.Unsupported=`unsupported`,e.Unknown=`unknown`,e.Statuses=`statuses`,e[`*`]=`*`,e}({}),i=function(e){return e.Action=`ACTION`,e.CouponCode=`COUPON_CODE`,e.Currency=`CURRENCY`,e.DateTime=`DATE_TIME`,e.Document=`DOCUMENT`,e.ExpirationTimeMs=`EXPIRATION_TIME_MS`,e.Image=`IMAGE`,e.LimitedTimeOffer=`LIMITED_TIME_OFFER`,e.Location=`LOCATION`,e.OrderStatus=`ORDER_STATUS`,e.Payload=`PAYLOAD`,e.Product=`PRODUCT`,e.Text=`TEXT`,e.TtlMinutes=`TTL_MINUTES`,e.Video=`VIDEO`,e.WebviewInteraction=`WEBVIEW_INTERACTION`,e.WebviewPresentation=`WEBVIEW_PRESENTATION`,e}({}),a=function(e){return e.Button=`button`,e.List=`list`,e.Product=`product`,e.ProductList=`product_list`,e.CtaUrl=`cta_url`,e.Carousel=`carousel`,e.LocationRequest=`location_request_message`,e.AddressMessage=`address_message`,e.Flow=`flow`,e}({}),o=function(e){return e[e.First=1]=`First`,e[e.Second=2]=`Second`,e[e.Third=3]=`Third`,e[e.Fourth=4]=`Fourth`,e[e.Fifth=5]=`Fifth`,e}({}),s=function(e){return e.Catalog=`CATALOG`,e.CopyCode=`COPY_CODE`,e.Flow=`FLOW`,e.Mpm=`MPM`,e.OrderDetails=`ORDER_DETAILS`,e.QuickReply=`QUICK_REPLY`,e.Reminder=`REMINDER`,e.Url=`URL`,e.VoiceCall=`VOICE_CALL`,e}({}),c=function(e){return e.Header=`HEADER`,e.Body=`BODY`,e.Button=`BUTTON`,e.Footer=`FOOTER`,e}({}),l=function(e){return e.AppId=`M4D_APP_ID`,e.Port=`WA_PORT`,e.AppSecret=`M4D_APP_SECRET`,e.PhoneNumberId=`WA_PHONE_NUMBER_ID`,e.BusinessAcctId=`WA_BUSINESS_ACCOUNT_ID`,e.APIVersion=`CLOUD_API_VERSION`,e.AccessToken=`CLOUD_API_ACCESS_TOKEN`,e.WebhookEndpoint=`WEBHOOK_ENDPOINT`,e.WebhookVerificationToken=`WEBHOOK_VERIFICATION_TOKEN`,e.ListenerPort=`LISTENER_PORT`,e.MaxRetriesAfterWait=`MAX_RETRIES_AFTER_WAIT`,e.RequestTimeout=`REQUEST_TIMEOUT`,e.Debug=`DEBUG`,e.PrivatePem=`FLOW_API_PRIVATE_PEM`,e.Passphrase=`FLOW_API_PASSPHRASE`,e}({}),u=function(e){return e.BusinessInitiated=`business_initiated`,e.CustomerInitiated=`customer_initiated`,e.ReferralConversion=`referral_conversion`,e}({}),d=function(e){return e.Delivered=`delivered`,e.Read=`read`,e.Sent=`sent`,e}({}),f=function(e){return e.Mp4=`video/mp4`,e.Threegp=`video/3gp`,e}({}),p=function(e){return e.Webp=`image/webp`,e}({}),m=function(e){return e.Jpeg=`image/jpeg`,e.Png=`image/png`,e}({}),h=function(e){return e.Text=`text/plain`,e.Pdf=`application/pdf`,e.Ppt=`application/vnd.ms-powerpoint`,e.Word=`application/msword`,e.Excel=`application/vnd.ms-excel`,e.OpenDoc=`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,e.OpenPres=`application/vnd.openxmlformats-officedocument.presentationml.presentation`,e.OpenSheet=`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,e}({}),g=function(e){return e.Aac=`audio/aac`,e.Mp4=`audio/mp4`,e.Mpeg=`audio/mpeg`,e.Amr=`audio/amr`,e.Ogg=`audio/ogg`,e}({}),_=function(e){return e.Audio=`audio`,e.Button=`button`,e.Document=`document`,e.Text=`text`,e.Image=`image`,e.Interactive=`interactive`,e.Order=`order`,e.Sticker=`sticker`,e.System=`system`,e.Unknown=`unknown`,e.Video=`video`,e}({}),v=function(e){return e.CustomerChangedNumber=`customer_changed_number`,e.CustomerIdentityChanged=`customer_identity_changed`,e}({}),y=function(e){return e.Ad=`ad`,e.Post=`post`,e}({}),b=function(e){return e.Sms=`SMS`,e.Voice=`VOICE`,e}({}),x=function(e){return e.Afrikaans=`af`,e.Albanian=`sq`,e.Arabic=`ar`,e.Azerbaijani=`az`,e.Bengali=`bn`,e.Bulgarian=`bg`,e.Catalan=`ca`,e.Chinese_CHN=`zh_CN`,e.Chinese_HKG=`zh_HK`,e.Chinese_TAI=`zh_TW`,e.Croatian=`hr`,e.Czech=`cs`,e.Danish=`da`,e.Dutch=`nl`,e.English=`en`,e.English_UK=`en_GB`,e.English_US=`en_US`,e.Estonian=`et`,e.Filipino=`fil`,e.Finnish=`fi`,e.French=`fr`,e.Georgian=`ka`,e.German=`de`,e.Greek=`el`,e.Gujarati=`gu`,e.Hausa=`ha`,e.Hebrew=`he`,e.Hindi=`hi`,e.Hungarian=`hu`,e.Indonesian=`id`,e.Irish=`ga`,e.Italian=`it`,e.Japanese=`ja`,e.Kannada=`kn`,e.Kazakh=`kk`,e.Kinyarwanda=`rw_RW`,e.Korean=`ko`,e.Kyrgyz_Kyrgyzstan=`ky_KG`,e.Lao=`lo`,e.Latvian=`lv`,e.Lithuanian=`lt`,e.Macedonian=`mk`,e.Malay=`ms`,e.Malayalam=`ml`,e.Marathi=`mr`,e.Norwegian=`nb`,e.Persian=`fa`,e.Polish=`pl`,e.Portuguese_BR=`pt_BR`,e.Portuguese_POR=`pt_PT`,e.Punjabi=`pa`,e.Romanian=`ro`,e.Russian=`ru`,e.Serbian=`sr`,e.Slovak=`sk`,e.Slovenian=`sl`,e.Spanish=`es`,e.Spanish_ARG=`es_AR`,e.Spanish_SPA=`es_ES`,e.Spanish_MEX=`es_MX`,e.Swahili=`sw`,e.Swedish=`sv`,e.Tamil=`ta`,e.Telugu=`te`,e.Thai=`th`,e.Turkish=`tr`,e.Ukrainian=`uk`,e.Urdu=`ur`,e.Uzbek=`uz`,e.Vietnamese=`vi`,e.Zulu=`zu`,e}({}),S=function(e){return e.AFN=`AFN`,e.EUR=`EUR`,e.ALL=`ALL`,e.DZD=`DZD`,e.USD=`USD`,e.AOA=`AOA`,e.XCD=`XCD`,e.ARS=`AR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VEL`,e}({});export{g as AudioMediaTypesEnum,w as BusinessVerticalEnum,o as ButtonPositionEnum,e as CategoryEnum,c as ComponentTypesEnum,u as ConversationTypesEnum,S as CurrencyCodesEnum,C as DataLocalizationRegionEnum,h as DocumentMediaTypesEnum,n as HttpMethodsEnum,m as ImageMediaTypesEnum,a as InteractiveTypesEnum,x as LanguagesEnum,r as MessageTypesEnum,i as ParametersTypesEnum,y as ReferralSourceTypesEnum,b as RequestCodeMethodsEnum,d as StatusEnum,p as StickerMediaTypesEnum,s as SubTypeEnum,v as SystemChangeTypesEnum,t as TemplateStatusEnum,f as VideoMediaTypesEnum,l as WabaConfigEnum,_ as WebhookTypesEnum};
|
|
2
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","names":[],"sources":["../../src/types/enums.ts"],"sourcesContent":["export enum CategoryEnum {\n Authentication = 'AUTHENTICATION',\n Marketing = 'MARKETING',\n Utility = 'UTILITY',\n}\n\nexport enum TemplateStatusEnum {\n Approved = 'APPROVED',\n Pending = 'PENDING',\n Rejected = 'REJECTED',\n}\n\nexport enum HttpMethodsEnum {\n Get = 'GET',\n Post = 'POST',\n Put = 'PUT',\n Delete = 'DELETE',\n}\n\nexport enum MessageTypesEnum {\n Audio = 'audio',\n Contacts = 'contacts',\n Document = 'document',\n Image = 'image',\n Interactive = 'interactive',\n Location = 'location',\n Reaction = 'reaction',\n Sticker = 'sticker',\n Template = 'template',\n Text = 'text',\n Video = 'video',\n Button = 'button',\n Order = 'order',\n System = 'system',\n Unsupported = 'unsupported',\n Unknown = 'unknown',\n /**\n * @deprecated Use WebhookProcessor.onStatus() instead of onMessage(MessageTypesEnum.Statuses)\n */\n Statuses = 'statuses',\n '*' = '*',\n}\n\nexport enum ParametersTypesEnum {\n Action = 'ACTION',\n CouponCode = 'COUPON_CODE',\n Currency = 'CURRENCY',\n DateTime = 'DATE_TIME',\n Document = 'DOCUMENT',\n ExpirationTimeMs = 'EXPIRATION_TIME_MS',\n Image = 'IMAGE',\n LimitedTimeOffer = 'LIMITED_TIME_OFFER',\n Location = 'LOCATION',\n OrderStatus = 'ORDER_STATUS',\n Payload = 'PAYLOAD',\n Product = 'PRODUCT',\n Text = 'TEXT',\n TtlMinutes = 'TTL_MINUTES',\n Video = 'VIDEO',\n WebviewInteraction = 'WEBVIEW_INTERACTION',\n WebviewPresentation = 'WEBVIEW_PRESENTATION',\n}\n\nexport enum InteractiveTypesEnum {\n Button = 'button',\n List = 'list',\n Product = 'product',\n ProductList = 'product_list',\n CtaUrl = 'cta_url',\n Carousel = 'carousel',\n LocationRequest = 'location_request_message',\n AddressMessage = 'address_message',\n Flow = 'flow',\n}\n\nexport enum ButtonPositionEnum {\n First = 1,\n Second = 2,\n Third = 3,\n Fourth = 4,\n Fifth = 5,\n}\n\nexport enum SubTypeEnum {\n Catalog = 'CATALOG',\n CopyCode = 'COPY_CODE',\n Flow = 'FLOW',\n Mpm = 'MPM',\n OrderDetails = 'ORDER_DETAILS',\n QuickReply = 'QUICK_REPLY',\n Reminder = 'REMINDER',\n Url = 'URL',\n VoiceCall = 'VOICE_CALL',\n}\n\nexport enum ComponentTypesEnum {\n Header = 'HEADER',\n Body = 'BODY',\n Button = 'BUTTON',\n Footer = 'FOOTER',\n}\n\nexport enum WabaConfigEnum {\n AppId = 'M4D_APP_ID',\n Port = 'WA_PORT',\n AppSecret = 'M4D_APP_SECRET',\n PhoneNumberId = 'WA_PHONE_NUMBER_ID',\n BusinessAcctId = 'WA_BUSINESS_ACCOUNT_ID',\n APIVersion = 'CLOUD_API_VERSION',\n AccessToken = 'CLOUD_API_ACCESS_TOKEN',\n WebhookEndpoint = 'WEBHOOK_ENDPOINT',\n WebhookVerificationToken = 'WEBHOOK_VERIFICATION_TOKEN',\n ListenerPort = 'LISTENER_PORT',\n MaxRetriesAfterWait = 'MAX_RETRIES_AFTER_WAIT',\n RequestTimeout = 'REQUEST_TIMEOUT',\n Debug = 'DEBUG',\n PrivatePem = 'FLOW_API_PRIVATE_PEM',\n Passphrase = 'FLOW_API_PASSPHRASE',\n}\n\nexport enum ConversationTypesEnum {\n BusinessInitiated = 'business_initiated',\n CustomerInitiated = 'customer_initiated',\n ReferralConversion = 'referral_conversion',\n}\n\nexport enum StatusEnum {\n Delivered = 'delivered',\n Read = 'read',\n Sent = 'sent',\n}\n\nexport enum VideoMediaTypesEnum {\n Mp4 = 'video/mp4',\n Threegp = 'video/3gp',\n}\n\nexport enum StickerMediaTypesEnum {\n Webp = 'image/webp',\n}\n\nexport enum ImageMediaTypesEnum {\n Jpeg = 'image/jpeg',\n Png = 'image/png',\n}\n\nexport enum DocumentMediaTypesEnum {\n Text = 'text/plain',\n Pdf = 'application/pdf',\n Ppt = 'application/vnd.ms-powerpoint',\n Word = 'application/msword',\n Excel = 'application/vnd.ms-excel',\n OpenDoc = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n OpenPres = 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n OpenSheet = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n}\n\nexport enum AudioMediaTypesEnum {\n Aac = 'audio/aac',\n Mp4 = 'audio/mp4',\n Mpeg = 'audio/mpeg',\n Amr = 'audio/amr',\n Ogg = 'audio/ogg',\n}\n\nexport enum WebhookTypesEnum {\n Audio = 'audio',\n Button = 'button',\n Document = 'document',\n Text = 'text',\n Image = 'image',\n Interactive = 'interactive',\n Order = 'order',\n Sticker = 'sticker',\n System = 'system',\n Unknown = 'unknown',\n Video = 'video',\n}\n\nexport enum SystemChangeTypesEnum {\n CustomerChangedNumber = 'customer_changed_number',\n CustomerIdentityChanged = 'customer_identity_changed',\n}\n\nexport enum ReferralSourceTypesEnum {\n Ad = 'ad',\n Post = 'post',\n}\n\nexport enum RequestCodeMethodsEnum {\n Sms = 'SMS',\n Voice = 'VOICE',\n}\n\nexport enum LanguagesEnum {\n Afrikaans = 'af',\n Albanian = 'sq',\n Arabic = 'ar',\n Azerbaijani = 'az',\n Bengali = 'bn',\n Bulgarian = 'bg',\n Catalan = 'ca',\n Chinese_CHN = 'zh_CN',\n Chinese_HKG = 'zh_HK',\n Chinese_TAI = 'zh_TW',\n Croatian = 'hr',\n Czech = 'cs',\n Danish = 'da',\n Dutch = 'nl',\n English = 'en',\n English_UK = 'en_GB',\n English_US = 'en_US',\n Estonian = 'et',\n Filipino = 'fil',\n Finnish = 'fi',\n French = 'fr',\n Georgian = 'ka',\n German = 'de',\n Greek = 'el',\n Gujarati = 'gu',\n Hausa = 'ha',\n Hebrew = 'he',\n Hindi = 'hi',\n Hungarian = 'hu',\n Indonesian = 'id',\n Irish = 'ga',\n Italian = 'it',\n Japanese = 'ja',\n Kannada = 'kn',\n Kazakh = 'kk',\n Kinyarwanda = 'rw_RW',\n Korean = 'ko',\n Kyrgyz_Kyrgyzstan = 'ky_KG',\n Lao = 'lo',\n Latvian = 'lv',\n Lithuanian = 'lt',\n Macedonian = 'mk',\n Malay = 'ms',\n Malayalam = 'ml',\n Marathi = 'mr',\n Norwegian = 'nb',\n Persian = 'fa',\n Polish = 'pl',\n Portuguese_BR = 'pt_BR',\n Portuguese_POR = 'pt_PT',\n Punjabi = 'pa',\n Romanian = 'ro',\n Russian = 'ru',\n Serbian = 'sr',\n Slovak = 'sk',\n Slovenian = 'sl',\n Spanish = 'es',\n Spanish_ARG = 'es_AR',\n Spanish_SPA = 'es_ES',\n Spanish_MEX = 'es_MX',\n Swahili = 'sw',\n Swedish = 'sv',\n Tamil = 'ta',\n Telugu = 'te',\n Thai = 'th',\n Turkish = 'tr',\n Ukrainian = 'uk',\n Urdu = 'ur',\n Uzbek = 'uz',\n Vietnamese = 'vi',\n Zulu = 'zu',\n}\n\nexport enum CurrencyCodesEnum {\n AFN = 'AFN',\n EUR = 'EUR',\n ALL = 'ALL',\n DZD = 'DZD',\n USD = 'USD',\n AOA = 'AOA',\n XCD = 'XCD',\n ARS = 'ARS',\n AMD = 'AMD',\n AWG = 'AWG',\n AUD = 'AUD',\n AZN = 'AZN',\n BSD = 'BSD',\n BHD = 'BHD',\n BDT = 'BDT',\n BBD = 'BBD',\n BYN = 'BYN',\n BZD = 'BZD',\n XOF = 'XOF',\n BMD = 'BMD',\n INR = 'INR',\n BTN = 'BTN',\n BOB = 'BOB',\n BOV = 'BOV',\n BAM = 'BAM',\n BWP = 'BWP',\n NOK = 'NOK',\n BRL = 'BRL',\n BND = 'BND',\n BGN = 'BGN',\n BIF = 'BIF',\n CVE = 'CVE',\n KHR = 'KHR',\n XAF = 'XAF',\n CAD = 'CAD',\n KYD = 'KYD',\n CLP = 'CLP',\n CLF = 'CLF',\n CNY = 'CNY',\n COP = 'COP',\n COU = 'COU',\n KMF = 'KMF',\n CDF = 'CDF',\n NZD = 'NZD',\n CRC = 'CRC',\n HRK = 'HRK',\n CUP = 'CUP',\n CUC = 'CUC',\n ANG = 'ANG',\n CZK = 'CZK',\n DKK = 'DKK',\n DJF = 'DJF',\n DOP = 'DOP',\n EGP = 'EGP',\n SVC = 'SVC',\n ERN = 'ERN',\n SZL = 'SZL',\n ETB = 'ETB',\n FKP = 'FKP',\n FJD = 'FJD',\n XPF = 'XPF',\n GMD = 'GMD',\n GEL = 'GEL',\n GHS = 'GHS',\n GIP = 'GIP',\n GTQ = 'GTQ',\n GBP = 'GBP',\n GNF = 'GNF',\n GYD = 'GYD',\n HTG = 'HTG',\n HNL = 'HNL',\n HKD = 'HKD',\n HUF = 'HUF',\n ISK = 'ISK',\n IDR = 'IDR',\n XDR = 'XDR',\n IRR = 'IRR',\n IQD = 'IQD',\n ILS = 'ILS',\n JMD = 'JMD',\n JPY = 'JPY',\n JOD = 'JOD',\n KZT = 'KZT',\n KES = 'KES',\n KPW = 'KPW',\n KRW = 'KRW',\n KWD = 'KWD',\n KGS = 'KGS',\n LAK = 'LAK',\n LBP = 'LBP',\n LSL = 'LSL',\n ZAR = 'ZAR',\n LRD = 'LRD',\n LYD = 'LYD',\n CHF = 'CHF',\n MOP = 'MOP',\n MKD = 'MKD',\n MGA = 'MGA',\n MWK = 'MWK',\n MYR = 'MYR',\n MVR = 'MVR',\n MRU = 'MRU',\n MUR = 'MUR',\n XUA = 'XUA',\n MXN = 'MXN',\n MXV = 'MXV',\n MDL = 'MDL',\n MNT = 'MNT',\n MAD = 'MAD',\n MZN = 'MZN',\n MMK = 'MMK',\n NAD = 'NAD',\n NPR = 'NPR',\n NIO = 'NIO',\n NGN = 'NGN',\n OMR = 'OMR',\n PKR = 'PKR',\n PAB = 'PAB',\n PGK = 'PGK',\n PYG = 'PYG',\n PEN = 'PEN',\n PHP = 'PHP',\n PLN = 'PLN',\n QAR = 'QAR',\n RON = 'RON',\n RUB = 'RUB',\n RWF = 'RWF',\n SHP = 'SHP',\n WST = 'WST',\n STN = 'STN',\n SAR = 'SAR',\n RSD = 'RSD',\n SCR = 'SCR',\n SLL = 'SLL',\n SGD = 'SGD',\n XSU = 'XSU',\n SBD = 'SBD',\n SOS = 'SOS',\n SSP = 'SSP',\n LKR = 'LKR',\n SDG = 'SDG',\n SRD = 'SRD',\n SEK = 'SEK',\n CHE = 'CHE',\n CHW = 'CHW',\n SYP = 'SYP',\n TWD = 'TWD',\n TJS = 'TJS',\n TZS = 'TZS',\n THB = 'THB',\n TOP = 'TOP',\n TTD = 'TTD',\n TND = 'TND',\n TRY = 'TRY',\n TMT = 'TMT',\n UGX = 'UGX',\n UAH = 'UAH',\n AED = 'AED',\n USN = 'USN',\n UYU = 'UYU',\n UYI = 'UYI',\n UYW = 'UYW',\n UZS = 'UZS',\n VUV = 'VUV',\n VES = 'VES',\n VND = 'VND',\n YER = 'YER',\n ZMW = 'ZMW',\n ZWL = 'ZWL',\n XBA = 'XBA',\n XBB = 'XBB',\n XBC = 'XBC',\n XBD = 'XBD',\n XTS = 'XTS',\n XXX = 'XXX',\n XAU = 'XAU',\n XPD = 'XPD',\n XPT = 'XPT',\n XAG = 'XAG',\n AFA = 'AFA',\n FIM = 'FIM',\n ALK = 'ALK',\n ADP = 'ADP',\n ESP = 'ESP',\n FRF = 'FRF',\n AOK = 'AOK',\n AON = 'AON',\n AOR = 'AOR',\n ARA = 'ARA',\n ARP = 'ARP',\n ARY = 'ARY',\n RUR = 'RUR',\n ATS = 'ATS',\n AYM = 'AYM',\n AZM = 'AZM',\n BYB = 'BYB',\n BYR = 'BYR',\n BEC = 'BEC',\n BEF = 'BEF',\n BEL = 'BEL',\n BOP = 'BOP',\n BAD = 'BAD',\n BRB = 'BRB',\n BRC = 'BRC',\n BRE = 'BRE',\n BRN = 'BRN',\n BRR = 'BRR',\n BGJ = 'BGJ',\n BGK = 'BGK',\n BGL = 'BGL',\n BUK = 'BUK',\n HRD = 'HRD',\n CYP = 'CYP',\n CSJ = 'CSJ',\n CSK = 'CSK',\n ECS = 'ECS',\n ECV = 'ECV',\n GQE = 'GQE',\n EEK = 'EEK',\n XEU = 'XEU',\n GEK = 'GEK',\n DDM = 'DDM',\n DEM = 'DEM',\n GHC = 'GHC',\n GHP = 'GHP',\n GRD = 'GRD',\n GNE = 'GNE',\n GNS = 'GNS',\n GWE = 'GWE',\n GWP = 'GWP',\n ITL = 'ITL',\n ISJ = 'ISJ',\n IEP = 'IEP',\n ILP = 'ILP',\n ILR = 'ILR',\n LAJ = 'LAJ',\n LVL = 'LVL',\n LVR = 'LVR',\n LSM = 'LSM',\n ZAL = 'ZAL',\n LTL = 'LTL',\n LTT = 'LTT',\n LUC = 'LUC',\n LUF = 'LUF',\n LUL = 'LUL',\n MGF = 'MGF',\n MVQ = 'MVQ',\n MLF = 'MLF',\n MTL = 'MTL',\n MTP = 'MTP',\n MRO = 'MRO',\n MXP = 'MXP',\n MZE = 'MZE',\n MZM = 'MZM',\n NLG = 'NLG',\n NIC = 'NIC',\n PEH = 'PEH',\n PEI = 'PEI',\n PES = 'PES',\n PLZ = 'PLZ',\n PTE = 'PTE',\n ROK = 'ROK',\n ROL = 'ROL',\n STD = 'STD',\n CSD = 'CSD',\n SKK = 'SKK',\n SIT = 'SIT',\n RHD = 'RHD',\n ESA = 'ESA',\n ESB = 'ESB',\n SDD = 'SDD',\n SDP = 'SDP',\n SRG = 'SRG',\n CHC = 'CHC',\n TJR = 'TJR',\n TPE = 'TPE',\n TRL = 'TRL',\n TMM = 'TMM',\n UGS = 'UGS',\n UGW = 'UGW',\n UAK = 'UAK',\n SUR = 'SUR',\n USS = 'USS',\n UYN = 'UYN',\n UYP = 'UYP',\n VEB = 'VEB',\n VEF = 'VEF',\n VNC = 'VNC',\n YDD = 'YDD',\n YUD = 'YUD',\n YUM = 'YUM',\n YUN = 'YUN',\n ZRN = 'ZRN',\n ZRZ = 'ZRZ',\n ZMK = 'ZMK',\n ZWC = 'ZWC',\n ZWD = 'ZWD',\n ZWN = 'ZWN',\n ZWR = 'ZWR',\n XFO = 'XFO',\n XRE = 'XRE',\n XFU = 'XFU',\n}\n\nexport enum DataLocalizationRegionEnum {\n // APAC\n AU = 'AU', // Australia\n ID = 'ID', // Indonesia\n IN = 'IN', // India\n JP = 'JP', // Japan\n SG = 'SG', // Singapore\n KR = 'KR', // South Korea\n\n // Europe\n DE = 'DE', // EU (Germany)\n CH = 'CH', // Switzerland\n GB = 'GB', // United Kingdom\n\n // LATAM\n BR = 'BR', // Brazil\n\n // MEA\n BH = 'BH', // Bahrain\n ZA = 'ZA', // South Africa\n AE = 'AE', // United Arab Emirates\n\n // NORAM\n CA = 'CA', // Canada\n}\n\n/**\n * Business category values for WhatsApp Business Profile.\n * These values map to specific strings displayed in the WhatsApp client.\n */\nexport enum BusinessVerticalEnum {\n /**\n * Alcoholic Beverages\n */\n ALCOHOL = 'ALCOHOL',\n /**\n * Clothing and Apparel\n */\n APPAREL = 'APPAREL',\n /**\n * Automotive\n */\n AUTO = 'AUTO',\n /**\n * Beauty, Spa and Salon\n */\n BEAUTY = 'BEAUTY',\n /**\n * Education\n */\n EDU = 'EDU',\n /**\n * Entertainment\n */\n ENTERTAIN = 'ENTERTAIN',\n /**\n * Event Planning and Service\n */\n EVENT_PLAN = 'EVENT_PLAN',\n /**\n * Finance and Banking\n */\n FINANCE = 'FINANCE',\n /**\n * Public Service\n */\n GOVT = 'GOVT',\n /**\n * Food and Grocery\n */\n GROCERY = 'GROCERY',\n /**\n * Medical and Health\n */\n HEALTH = 'HEALTH',\n /**\n * Hotel and Lodging\n */\n HOTEL = 'HOTEL',\n /**\n * Non-profit\n */\n NONPROFIT = 'NONPROFIT',\n /**\n * Online Gambling & Gaming\n */\n ONLINE_GAMBLING = 'ONLINE_GAMBLING',\n /**\n * Over-the-Counter Drugs\n */\n OTC_DRUGS = 'OTC_DRUGS',\n /**\n * Other\n */\n OTHER = 'OTHER',\n /**\n * Non-Online Gambling & Gaming (E.g. Brick and mortar)\n */\n PHYSICAL_GAMBLING = 'PHYSICAL_GAMBLING',\n /**\n * Professional Services\n */\n PROF_SERVICES = 'PROF_SERVICES',\n /**\n * Restaurant\n */\n RESTAURANT = 'RESTAURANT',\n /**\n * Shopping and Retail\n */\n RETAIL = 'RETAIL',\n /**\n * Travel and Transportation\n */\n TRAVEL = 'TRAVEL',\n}\n"],"mappings":"AAAA,IAAY,EAAA,SAAA,EAAL,OACH,GAAA,eAAA,iBACA,EAAA,UAAA,YACA,EAAA,QAAA,iBAGQ,EAAA,SAAA,EAAL,OACH,GAAA,SAAA,WACA,EAAA,QAAA,UACA,EAAA,SAAA,kBAGQ,EAAA,SAAA,EAAL,OACH,GAAA,IAAA,MACA,EAAA,KAAA,OACA,EAAA,IAAA,MACA,EAAA,OAAA,gBAGQ,EAAA,SAAA,EAAL,OACH,GAAA,MAAA,QACA,EAAA,SAAA,WACA,EAAA,SAAA,WACA,EAAA,MAAA,QACA,EAAA,YAAA,cACA,EAAA,SAAA,WACA,EAAA,SAAA,WACA,EAAA,QAAA,UACA,EAAA,SAAA,WACA,EAAA,KAAA,OACA,EAAA,MAAA,QACA,EAAA,OAAA,SACA,EAAA,MAAA,QACA,EAAA,OAAA,SACA,EAAA,YAAA,cACA,EAAA,QAAA,UAIA,EAAA,SAAA,WACA,E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ACA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KAGA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KAGA,EAAA,GAAA,KAGA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KAGA,EAAA,GAAA,YAOQ,EAAA,SAAA,EAAL,OAIH,GAAA,QAAA,UAIA,EAAA,QAAA,UAIA,EAAA,KAAA,OAIA,EAAA,OAAA,SAIA,EAAA,IAAA,MAIA,EAAA,UAAA,YAIA,EAAA,WAAA,aAIA,EAAA,QAAA,UAIA,EAAA,KAAA,OAIA,EAAA,QAAA,UAIA,EAAA,OAAA,SAIA,EAAA,MAAA,QAIA,EAAA,UAAA,YAIA,EAAA,gBAAA,kBAIA,EAAA,UAAA,YAIA,EAAA,MAAA,QAIA,EAAA,kBAAA,oBAIA,EAAA,cAAA,gBAIA,EAAA,WAAA,aAIA,EAAA,OAAA,SAIA,EAAA,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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 "./enums-
|
|
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 "./enums-DyHU9JT1.js";
|
|
2
2
|
import { IncomingHttpHeaders, IncomingMessage } from "http";
|
|
3
3
|
|
|
4
4
|
//#region src/types/config.d.ts
|
|
@@ -196,7 +196,7 @@ interface UploadHandle {
|
|
|
196
196
|
/**
|
|
197
197
|
* Available fields that can be requested when retrieving a business profile.
|
|
198
198
|
*/
|
|
199
|
-
type BusinessProfileField = 'about' | 'address' | 'description' | 'email' | 'profile_picture_url' | 'websites' | 'vertical';
|
|
199
|
+
type BusinessProfileField = 'about' | 'address' | 'description' | 'email' | 'messaging_product' | 'profile_picture_url' | 'websites' | 'vertical';
|
|
200
200
|
type BusinessProfileFieldsParam = BusinessProfileField[] | string;
|
|
201
201
|
/**
|
|
202
202
|
* Business profile data structure containing all profile information.
|
|
@@ -361,6 +361,8 @@ type QualityScore = {
|
|
|
361
361
|
type Throughput = {
|
|
362
362
|
level: ThroughputLevel;
|
|
363
363
|
};
|
|
364
|
+
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';
|
|
365
|
+
type PhoneNumberFieldsParam = PhoneNumberField[] | string;
|
|
364
366
|
type PhoneNumberResponse = {
|
|
365
367
|
display_phone_number: string;
|
|
366
368
|
id: string;
|
|
@@ -441,7 +443,7 @@ type ThroughputResponse = {
|
|
|
441
443
|
id: string;
|
|
442
444
|
};
|
|
443
445
|
interface PhoneNumberClass {
|
|
444
|
-
getPhoneNumberById(fields?:
|
|
446
|
+
getPhoneNumberById(fields?: PhoneNumberFieldsParam): Promise<PhoneNumberResponse>;
|
|
445
447
|
getPhoneNumbers(): Promise<PhoneNumbersResponse>;
|
|
446
448
|
requestVerificationCode(params: RequestVerificationCodeRequest): Promise<ResponseSuccess>;
|
|
447
449
|
verifyCode(params: VerifyCodeRequest): Promise<ResponseSuccess>;
|
|
@@ -931,7 +933,7 @@ type OrgObject = {
|
|
|
931
933
|
title?: string;
|
|
932
934
|
};
|
|
933
935
|
type PhoneObject = {
|
|
934
|
-
phone?:
|
|
936
|
+
phone?: string;
|
|
935
937
|
type?: 'CELL' | 'MAIN' | 'IPHONE' | 'HOME' | 'WORK' | string;
|
|
936
938
|
wa_id?: string;
|
|
937
939
|
};
|
|
@@ -1129,7 +1131,51 @@ type FlowInteractiveObject = {
|
|
|
1129
1131
|
header?: HeaderObject;
|
|
1130
1132
|
action: FlowActionObject;
|
|
1131
1133
|
};
|
|
1132
|
-
type
|
|
1134
|
+
type CarouselHeaderObject = {
|
|
1135
|
+
type: 'image' | 'video';
|
|
1136
|
+
image?: ImageMediaObject$1;
|
|
1137
|
+
video?: VideoMediaObject$1;
|
|
1138
|
+
};
|
|
1139
|
+
type CarouselQuickReply = {
|
|
1140
|
+
id: string;
|
|
1141
|
+
title: string;
|
|
1142
|
+
};
|
|
1143
|
+
type CarouselQuickReplyButton = {
|
|
1144
|
+
type: 'quick_reply';
|
|
1145
|
+
quick_reply: CarouselQuickReply;
|
|
1146
|
+
};
|
|
1147
|
+
type CarouselCtaUrlAction = {
|
|
1148
|
+
name: 'cta_url';
|
|
1149
|
+
parameters: CtaUrlParameters;
|
|
1150
|
+
};
|
|
1151
|
+
type CarouselQuickReplyAction = {
|
|
1152
|
+
buttons: CarouselQuickReplyButton[];
|
|
1153
|
+
};
|
|
1154
|
+
type MediaCarouselCard$1 = {
|
|
1155
|
+
card_index: number;
|
|
1156
|
+
type: 'cta_url';
|
|
1157
|
+
header: CarouselHeaderObject;
|
|
1158
|
+
body?: SimpleTextObject;
|
|
1159
|
+
action: CarouselCtaUrlAction | CarouselQuickReplyAction;
|
|
1160
|
+
};
|
|
1161
|
+
type ProductCarouselAction = {
|
|
1162
|
+
product_retailer_id: string;
|
|
1163
|
+
catalog_id: string;
|
|
1164
|
+
};
|
|
1165
|
+
type ProductCarouselCard$1 = {
|
|
1166
|
+
card_index: number;
|
|
1167
|
+
type: 'product';
|
|
1168
|
+
action: ProductCarouselAction;
|
|
1169
|
+
};
|
|
1170
|
+
type CarouselActionObject = {
|
|
1171
|
+
cards: Array<MediaCarouselCard$1 | ProductCarouselCard$1>;
|
|
1172
|
+
};
|
|
1173
|
+
type CarouselInteractiveObject = {
|
|
1174
|
+
type: InteractiveTypesEnum.Carousel;
|
|
1175
|
+
body: SimpleTextObject;
|
|
1176
|
+
action: CarouselActionObject;
|
|
1177
|
+
};
|
|
1178
|
+
type InteractiveObject = ButtonInteractiveObject | ListInteractiveObject | ProductInteractiveObject | ProductListInteractiveObject | CtaUrlInteractiveObject | CarouselInteractiveObject | LocationRequestInteractiveObject | AddressMessageInteractiveObject | FlowInteractiveObject;
|
|
1133
1179
|
//#endregion
|
|
1134
1180
|
//#region src/api/messages/types/reaction.d.ts
|
|
1135
1181
|
interface ReactionParams {
|
|
@@ -1205,6 +1251,9 @@ declare class MessagesClass extends BaseClass {
|
|
|
1205
1251
|
interactiveFlow(params: MessageRequestParams<InteractiveObject & {
|
|
1206
1252
|
type: InteractiveTypesEnum.Flow;
|
|
1207
1253
|
}>): Promise<MessagesResponse>;
|
|
1254
|
+
interactiveCarousel(params: MessageRequestParams<InteractiveObject & {
|
|
1255
|
+
type: InteractiveTypesEnum.Carousel;
|
|
1256
|
+
}>): Promise<MessagesResponse>;
|
|
1208
1257
|
reaction(params: ReactionParams): Promise<MessagesResponse>;
|
|
1209
1258
|
markAsRead(params: {
|
|
1210
1259
|
messageId: string;
|
|
@@ -2197,12 +2246,14 @@ interface WabaAccount {
|
|
|
2197
2246
|
message_template_namespace?: string;
|
|
2198
2247
|
name?: string;
|
|
2199
2248
|
ownership_type?: string;
|
|
2249
|
+
timezone_id?: string;
|
|
2250
|
+
primary_business_location?: Record<string, unknown> | string;
|
|
2200
2251
|
currency?: string;
|
|
2201
2252
|
}
|
|
2202
2253
|
/**
|
|
2203
2254
|
* Available fields for WABA account queries
|
|
2204
2255
|
*/
|
|
2205
|
-
type WabaAccountFields = 'id' | 'name' | 'account_review_status' | 'auth_international_rate_eligibility' | 'business_verification_status' | 'country' | 'currency' | 'health_status' | 'status' | 'ownership_type' | 'message_template_namespace';
|
|
2256
|
+
type WabaAccountFields = 'id' | 'name' | 'timezone_id' | 'account_review_status' | 'auth_international_rate_eligibility' | 'business_verification_status' | 'country' | 'currency' | 'health_status' | 'status' | 'ownership_type' | 'message_template_namespace' | 'primary_business_location';
|
|
2206
2257
|
/**
|
|
2207
2258
|
* Parameter type for specifying which WABA account fields to retrieve
|
|
2208
2259
|
*/
|
|
@@ -2242,20 +2293,358 @@ type EncryptionPublicKeyResponse = ResponseData<{
|
|
|
2242
2293
|
business_public_key_signature_status: 'VALID' | 'MISMATCH';
|
|
2243
2294
|
}>;
|
|
2244
2295
|
//#endregion
|
|
2296
|
+
//#region src/api/groups/types/groups.d.ts
|
|
2297
|
+
/**
|
|
2298
|
+
* Groups API Types
|
|
2299
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/groups/reference/
|
|
2300
|
+
*/
|
|
2301
|
+
type GroupJoinApprovalMode = 'approval_required' | 'auto_approve';
|
|
2302
|
+
type GroupCreateRequest = {
|
|
2303
|
+
subject: string;
|
|
2304
|
+
description?: string;
|
|
2305
|
+
join_approval_mode?: GroupJoinApprovalMode;
|
|
2306
|
+
};
|
|
2307
|
+
type GroupCreateResponse = {
|
|
2308
|
+
messaging_product: 'whatsapp';
|
|
2309
|
+
id: string;
|
|
2310
|
+
invite_link?: string;
|
|
2311
|
+
};
|
|
2312
|
+
type GroupInfoField = 'join_approval_mode' | 'subject' | 'description' | 'suspended' | 'creation_timestamp' | 'participants' | 'total_participant_count';
|
|
2313
|
+
type GroupInfoFieldsParam = GroupInfoField[] | string;
|
|
2314
|
+
type GroupParticipant = {
|
|
2315
|
+
wa_id: string;
|
|
2316
|
+
};
|
|
2317
|
+
type GroupInfoResponse = {
|
|
2318
|
+
messaging_product: 'whatsapp';
|
|
2319
|
+
id: string;
|
|
2320
|
+
subject?: string;
|
|
2321
|
+
description?: string;
|
|
2322
|
+
suspended?: boolean;
|
|
2323
|
+
creation_timestamp?: number;
|
|
2324
|
+
participants?: GroupParticipant[];
|
|
2325
|
+
total_participant_count?: number;
|
|
2326
|
+
join_approval_mode?: GroupJoinApprovalMode;
|
|
2327
|
+
};
|
|
2328
|
+
type GroupInviteLinkResponse = {
|
|
2329
|
+
messaging_product: 'whatsapp';
|
|
2330
|
+
invite_link: string;
|
|
2331
|
+
};
|
|
2332
|
+
type GroupJoinRequest = {
|
|
2333
|
+
join_request_id: string;
|
|
2334
|
+
wa_id: string;
|
|
2335
|
+
creation_timestamp: number;
|
|
2336
|
+
};
|
|
2337
|
+
type GroupJoinRequestError = {
|
|
2338
|
+
code: number;
|
|
2339
|
+
message: string;
|
|
2340
|
+
title?: string;
|
|
2341
|
+
error_data?: {
|
|
2342
|
+
details?: string;
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
type GroupJoinRequestFailure = {
|
|
2346
|
+
join_request_id: string;
|
|
2347
|
+
errors: GroupJoinRequestError[];
|
|
2348
|
+
};
|
|
2349
|
+
type GroupJoinRequestsResponse = {
|
|
2350
|
+
data: GroupJoinRequest[];
|
|
2351
|
+
paging?: PagingInfo$1;
|
|
2352
|
+
};
|
|
2353
|
+
type GroupJoinRequestsActionResponse = {
|
|
2354
|
+
messaging_product: 'whatsapp';
|
|
2355
|
+
approved_join_requests?: string[];
|
|
2356
|
+
rejected_join_requests?: string[];
|
|
2357
|
+
failed_join_requests?: GroupJoinRequestFailure[];
|
|
2358
|
+
errors?: GroupJoinRequestError[];
|
|
2359
|
+
};
|
|
2360
|
+
type GroupSummary = {
|
|
2361
|
+
id: string;
|
|
2362
|
+
subject: string;
|
|
2363
|
+
created_at: number;
|
|
2364
|
+
};
|
|
2365
|
+
type GroupListResponse = {
|
|
2366
|
+
data: {
|
|
2367
|
+
groups: GroupSummary[];
|
|
2368
|
+
};
|
|
2369
|
+
paging?: PagingInfo$1;
|
|
2370
|
+
};
|
|
2371
|
+
type GroupListParams = {
|
|
2372
|
+
limit?: number;
|
|
2373
|
+
after?: string;
|
|
2374
|
+
before?: string;
|
|
2375
|
+
};
|
|
2376
|
+
type UpdateGroupSettingsRequest = {
|
|
2377
|
+
subject?: string;
|
|
2378
|
+
description?: string;
|
|
2379
|
+
profilePictureFile?: Blob | Buffer;
|
|
2380
|
+
};
|
|
2381
|
+
type GroupSettingsResponse = ResponseSuccess;
|
|
2382
|
+
interface GroupsClass {
|
|
2383
|
+
createGroup(params: GroupCreateRequest): Promise<GroupCreateResponse>;
|
|
2384
|
+
deleteGroup(groupId: string): Promise<ResponseSuccess>;
|
|
2385
|
+
getGroupInfo(groupId: string, fields?: GroupInfoFieldsParam): Promise<GroupInfoResponse>;
|
|
2386
|
+
getActiveGroups(params?: GroupListParams): Promise<GroupListResponse>;
|
|
2387
|
+
getGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
2388
|
+
resetGroupInviteLink(groupId: string): Promise<GroupInviteLinkResponse>;
|
|
2389
|
+
getJoinRequests(groupId: string): Promise<GroupJoinRequestsResponse>;
|
|
2390
|
+
approveJoinRequests(groupId: string, joinRequestIds: string[]): Promise<GroupJoinRequestsActionResponse>;
|
|
2391
|
+
rejectJoinRequests(groupId: string, joinRequestIds: string[]): Promise<GroupJoinRequestsActionResponse>;
|
|
2392
|
+
removeParticipants(groupId: string, participants: string[]): Promise<ResponseSuccess>;
|
|
2393
|
+
updateGroupSettings(groupId: string, params: UpdateGroupSettingsRequest): Promise<GroupSettingsResponse>;
|
|
2394
|
+
}
|
|
2395
|
+
type PagingInfo$1 = {
|
|
2396
|
+
cursors?: {
|
|
2397
|
+
before?: string;
|
|
2398
|
+
after?: string;
|
|
2399
|
+
};
|
|
2400
|
+
previous?: string;
|
|
2401
|
+
next?: string;
|
|
2402
|
+
};
|
|
2403
|
+
//#endregion
|
|
2404
|
+
//#region src/api/calling/types/calling.d.ts
|
|
2405
|
+
/**
|
|
2406
|
+
* Calling API Types
|
|
2407
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/reference/
|
|
2408
|
+
*/
|
|
2409
|
+
type CallingStatus = 'ENABLED' | 'DISABLED';
|
|
2410
|
+
type CallIconVisibility = 'DEFAULT' | 'DISABLE_ALL';
|
|
2411
|
+
type CallbackPermissionStatus = 'ENABLED' | 'DISABLED';
|
|
2412
|
+
type CallHoursStatus = 'ENABLED' | 'DISABLED';
|
|
2413
|
+
type SipStatus = 'ENABLED' | 'DISABLED';
|
|
2414
|
+
type CallHoursDay = 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
2415
|
+
type WeeklyOperatingHours = {
|
|
2416
|
+
day_of_week: CallHoursDay;
|
|
2417
|
+
open_time: string;
|
|
2418
|
+
close_time: string;
|
|
2419
|
+
};
|
|
2420
|
+
type HolidaySchedule = {
|
|
2421
|
+
date: string;
|
|
2422
|
+
start_time: string;
|
|
2423
|
+
end_time: string;
|
|
2424
|
+
};
|
|
2425
|
+
type CallHours = {
|
|
2426
|
+
status: CallHoursStatus;
|
|
2427
|
+
timezone_id: string;
|
|
2428
|
+
weekly_operating_hours: WeeklyOperatingHours[];
|
|
2429
|
+
holiday_schedule?: HolidaySchedule[];
|
|
2430
|
+
};
|
|
2431
|
+
type SipServer = {
|
|
2432
|
+
hostname: string;
|
|
2433
|
+
port?: number;
|
|
2434
|
+
request_uri_user_params?: Record<string, string>;
|
|
2435
|
+
sip_user_password?: string;
|
|
2436
|
+
};
|
|
2437
|
+
type SipSettings = {
|
|
2438
|
+
status: SipStatus;
|
|
2439
|
+
servers?: SipServer[];
|
|
2440
|
+
};
|
|
2441
|
+
type CallingSettings = {
|
|
2442
|
+
status?: CallingStatus;
|
|
2443
|
+
call_icon_visibility?: CallIconVisibility;
|
|
2444
|
+
call_hours?: CallHours;
|
|
2445
|
+
callback_permission_status?: CallbackPermissionStatus;
|
|
2446
|
+
sip?: SipSettings;
|
|
2447
|
+
};
|
|
2448
|
+
type UpdateCallingSettingsRequest = {
|
|
2449
|
+
calling: CallingSettings;
|
|
2450
|
+
};
|
|
2451
|
+
type CallingSettingsResponse = {
|
|
2452
|
+
calling?: CallingSettings;
|
|
2453
|
+
[key: string]: unknown;
|
|
2454
|
+
};
|
|
2455
|
+
type CallPermission = {
|
|
2456
|
+
status: string;
|
|
2457
|
+
expiration_time?: number;
|
|
2458
|
+
};
|
|
2459
|
+
type CallPermissionLimit = {
|
|
2460
|
+
time_period: string;
|
|
2461
|
+
max_allowed: number;
|
|
2462
|
+
current_usage: number;
|
|
2463
|
+
limit_expiration_time?: number;
|
|
2464
|
+
};
|
|
2465
|
+
type CallPermissionAction = {
|
|
2466
|
+
action_name: string;
|
|
2467
|
+
can_perform_action: boolean;
|
|
2468
|
+
limits?: CallPermissionLimit[];
|
|
2469
|
+
};
|
|
2470
|
+
type CallPermissionsResponse = {
|
|
2471
|
+
messaging_product: 'whatsapp';
|
|
2472
|
+
permission: CallPermission;
|
|
2473
|
+
actions?: CallPermissionAction[];
|
|
2474
|
+
};
|
|
2475
|
+
type CallSdpType = 'offer' | 'answer';
|
|
2476
|
+
type CallSession = {
|
|
2477
|
+
sdp_type: CallSdpType;
|
|
2478
|
+
sdp: string;
|
|
2479
|
+
};
|
|
2480
|
+
type CallAction = 'connect' | 'pre_accept' | 'accept' | 'reject' | 'terminate';
|
|
2481
|
+
type InitiateCallRequest = {
|
|
2482
|
+
to: string;
|
|
2483
|
+
session: CallSession;
|
|
2484
|
+
biz_opaque_callback_data?: string;
|
|
2485
|
+
};
|
|
2486
|
+
type PreAcceptCallRequest = {
|
|
2487
|
+
call_id: string;
|
|
2488
|
+
session?: CallSession;
|
|
2489
|
+
};
|
|
2490
|
+
type AcceptCallRequest = {
|
|
2491
|
+
call_id: string;
|
|
2492
|
+
session?: CallSession;
|
|
2493
|
+
biz_opaque_callback_data?: string;
|
|
2494
|
+
};
|
|
2495
|
+
type RejectCallRequest = {
|
|
2496
|
+
call_id: string;
|
|
2497
|
+
};
|
|
2498
|
+
type TerminateCallRequest = {
|
|
2499
|
+
call_id: string;
|
|
2500
|
+
};
|
|
2501
|
+
type InitiateCallResponse = {
|
|
2502
|
+
messaging_product: 'whatsapp';
|
|
2503
|
+
calls: Array<{
|
|
2504
|
+
id: string;
|
|
2505
|
+
}>;
|
|
2506
|
+
};
|
|
2507
|
+
type CallActionResponse = {
|
|
2508
|
+
messaging_product: 'whatsapp';
|
|
2509
|
+
success: boolean;
|
|
2510
|
+
};
|
|
2511
|
+
interface CallingClass {
|
|
2512
|
+
updateCallingSettings(params: UpdateCallingSettingsRequest): Promise<ResponseSuccess>;
|
|
2513
|
+
getCallingSettings(params?: {
|
|
2514
|
+
fields?: string[] | string;
|
|
2515
|
+
include_sip_credentials?: boolean;
|
|
2516
|
+
}): Promise<CallingSettingsResponse>;
|
|
2517
|
+
getCallPermissions(params: {
|
|
2518
|
+
userWaId: string;
|
|
2519
|
+
}): Promise<CallPermissionsResponse>;
|
|
2520
|
+
initiateCall(params: InitiateCallRequest): Promise<InitiateCallResponse>;
|
|
2521
|
+
preAcceptCall(params: PreAcceptCallRequest): Promise<CallActionResponse>;
|
|
2522
|
+
acceptCall(params: AcceptCallRequest): Promise<CallActionResponse>;
|
|
2523
|
+
rejectCall(params: RejectCallRequest): Promise<CallActionResponse>;
|
|
2524
|
+
terminateCall(params: TerminateCallRequest): Promise<CallActionResponse>;
|
|
2525
|
+
}
|
|
2526
|
+
//#endregion
|
|
2527
|
+
//#region src/api/marketingMessages/types/marketingMessages.d.ts
|
|
2528
|
+
/**
|
|
2529
|
+
* Marketing Messages API Types
|
|
2530
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/send-marketing-messages/
|
|
2531
|
+
*/
|
|
2532
|
+
type MarketingMessageRequest = {
|
|
2533
|
+
to: string;
|
|
2534
|
+
template: MessageTemplateObject<ComponentTypesEnum>;
|
|
2535
|
+
message_activity_sharing?: boolean;
|
|
2536
|
+
};
|
|
2537
|
+
interface MarketingMessagesClass {
|
|
2538
|
+
sendTemplateMessage(params: MarketingMessageRequest): Promise<MessagesResponse>;
|
|
2539
|
+
}
|
|
2540
|
+
//#endregion
|
|
2541
|
+
//#region src/api/commerce/types/commerce.d.ts
|
|
2542
|
+
/**
|
|
2543
|
+
* Commerce Settings API Types
|
|
2544
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/catalogs/sell-products-and-services/set-commerce-settings/
|
|
2545
|
+
*/
|
|
2546
|
+
type CommerceSetting = {
|
|
2547
|
+
id: string;
|
|
2548
|
+
is_cart_enabled?: boolean;
|
|
2549
|
+
is_catalog_visible?: boolean;
|
|
2550
|
+
};
|
|
2551
|
+
type CommerceSettingsResponse = {
|
|
2552
|
+
data: CommerceSetting[];
|
|
2553
|
+
};
|
|
2554
|
+
type UpdateCommerceSettingsRequest = {
|
|
2555
|
+
is_cart_enabled?: boolean;
|
|
2556
|
+
is_catalog_visible?: boolean;
|
|
2557
|
+
};
|
|
2558
|
+
interface CommerceClass {
|
|
2559
|
+
getCommerceSettings(): Promise<CommerceSettingsResponse>;
|
|
2560
|
+
updateCommerceSettings(params: UpdateCommerceSettingsRequest): Promise<ResponseSuccess>;
|
|
2561
|
+
}
|
|
2562
|
+
//#endregion
|
|
2563
|
+
//#region src/api/payments/types/payments.d.ts
|
|
2564
|
+
/**
|
|
2565
|
+
* Payments API Types (India Payment Configuration)
|
|
2566
|
+
* @see https://developers.facebook.com/documentation/business-messaging/whatsapp/payments/payments-in/onboarding-apis/
|
|
2567
|
+
*/
|
|
2568
|
+
type PaymentConfigurationProvider = 'upi_vpa' | 'razorpay' | 'payu' | 'zaakpay';
|
|
2569
|
+
type PaymentConfigurationStatus = 'Active' | 'Needs_Connecting' | 'Needs_Testing';
|
|
2570
|
+
type PaymentConfigurationCode = {
|
|
2571
|
+
code: string;
|
|
2572
|
+
description?: string;
|
|
2573
|
+
};
|
|
2574
|
+
type PaymentConfiguration = {
|
|
2575
|
+
configuration_name: string;
|
|
2576
|
+
provider_name: string;
|
|
2577
|
+
provider_mid?: string;
|
|
2578
|
+
status?: PaymentConfigurationStatus;
|
|
2579
|
+
merchant_category_code?: PaymentConfigurationCode;
|
|
2580
|
+
purpose_code?: PaymentConfigurationCode;
|
|
2581
|
+
created_timestamp?: number;
|
|
2582
|
+
updated_timestamp?: number;
|
|
2583
|
+
};
|
|
2584
|
+
type PaymentConfigurationsResponse = {
|
|
2585
|
+
data: Array<{
|
|
2586
|
+
payment_configurations: PaymentConfiguration[];
|
|
2587
|
+
}>;
|
|
2588
|
+
};
|
|
2589
|
+
type PaymentConfigurationCreateRequest = {
|
|
2590
|
+
configuration_name: string;
|
|
2591
|
+
provider_name: PaymentConfigurationProvider;
|
|
2592
|
+
purpose_code?: string;
|
|
2593
|
+
merchant_category_code?: string;
|
|
2594
|
+
redirect_url?: string;
|
|
2595
|
+
merchant_vpa?: string;
|
|
2596
|
+
};
|
|
2597
|
+
type PaymentConfigurationUpdateRequest = {
|
|
2598
|
+
provider_name?: PaymentConfigurationProvider;
|
|
2599
|
+
purpose_code?: string;
|
|
2600
|
+
merchant_category_code?: string;
|
|
2601
|
+
redirect_url?: string;
|
|
2602
|
+
merchant_vpa?: string;
|
|
2603
|
+
};
|
|
2604
|
+
type PaymentConfigurationCreateResponse = {
|
|
2605
|
+
success: boolean;
|
|
2606
|
+
oauth_url?: string;
|
|
2607
|
+
expiration?: number;
|
|
2608
|
+
};
|
|
2609
|
+
type PaymentConfigurationUpdateResponse = PaymentConfigurationCreateResponse;
|
|
2610
|
+
type PaymentConfigurationOauthLinkRequest = {
|
|
2611
|
+
configuration_name: string;
|
|
2612
|
+
redirect_url?: string;
|
|
2613
|
+
};
|
|
2614
|
+
type PaymentConfigurationOauthLinkResponse = {
|
|
2615
|
+
oauth_url: string;
|
|
2616
|
+
expiration?: number;
|
|
2617
|
+
};
|
|
2618
|
+
type PaymentConfigurationDeleteRequest = {
|
|
2619
|
+
configuration_name: string;
|
|
2620
|
+
};
|
|
2621
|
+
interface PaymentsClass {
|
|
2622
|
+
listPaymentConfigurations(wabaId: string): Promise<PaymentConfigurationsResponse>;
|
|
2623
|
+
getPaymentConfiguration(wabaId: string, configurationName: string): Promise<PaymentConfigurationsResponse>;
|
|
2624
|
+
createPaymentConfiguration(wabaId: string, params: PaymentConfigurationCreateRequest): Promise<PaymentConfigurationCreateResponse>;
|
|
2625
|
+
updatePaymentConfiguration(wabaId: string, configurationName: string, params: PaymentConfigurationUpdateRequest): Promise<PaymentConfigurationUpdateResponse>;
|
|
2626
|
+
generatePaymentConfigurationOauthLink(wabaId: string, params: PaymentConfigurationOauthLinkRequest): Promise<PaymentConfigurationOauthLinkResponse>;
|
|
2627
|
+
deletePaymentConfiguration(wabaId: string, params: PaymentConfigurationDeleteRequest): Promise<ResponseSuccess>;
|
|
2628
|
+
}
|
|
2629
|
+
//#endregion
|
|
2245
2630
|
//#region src/utils/isMetaError.d.ts
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
details: string;
|
|
2254
|
-
};
|
|
2255
|
-
error_subcode?: number;
|
|
2256
|
-
fbtrace_id: string;
|
|
2631
|
+
type MetaErrorData = {
|
|
2632
|
+
message: string;
|
|
2633
|
+
type: string;
|
|
2634
|
+
code: number;
|
|
2635
|
+
error_data?: {
|
|
2636
|
+
messaging_product?: 'whatsapp';
|
|
2637
|
+
details?: string;
|
|
2257
2638
|
};
|
|
2639
|
+
error_subcode?: number;
|
|
2640
|
+
fbtrace_id: string;
|
|
2641
|
+
};
|
|
2642
|
+
interface MetaError extends Error {
|
|
2643
|
+
error: MetaErrorData;
|
|
2258
2644
|
}
|
|
2645
|
+
declare const WHATSAPP_ERROR_CODES: readonly [0, 1, 2, 3, 4, 10, 33, 100, 190, 200, 299, 368, 613, 80007, 130429, 130472, 130497, 131000, 131005, 131008, 131009, 131016, 131020, 131021, 131026, 131030, 131031, 131037, 131041, 131042, 131044, 131045, 131047, 131048, 131049, 131050, 131051, 131052, 131053, 131055, 131056, 131057, 131059, 131201, 131202, 131203, 131204, 131207, 131208, 131209, 131210, 131211, 131212, 131213, 131214, 131215, 132000, 132001, 132005, 132007, 132008, 132012, 132015, 132016, 132068, 132069, 133000, 133004, 133005, 133006, 133008, 133009, 133010, 133015, 133016, 134011, 134100, 134101, 134102, 135000, 137000, 138000, 138001, 138002, 138003, 138004, 138005, 138006, 138007, 138009, 138012, 138013, 138018, 139000, 139001, 139002, 139003, 139004, 139100, 139101, 139102, 139103, 200005, 200006, 200007, 1752041, 2388001, 2388012, 2388019, 2388040, 2388047, 2388072, 2388073, 2388091, 2388093, 2388103, 2388293, 2388299, 2494100, 2593079, 2593085, 2593107, 2593108];
|
|
2646
|
+
type ApiPermissionErrorCode = number;
|
|
2647
|
+
type WhatsAppErrorCode = (typeof WHATSAPP_ERROR_CODES)[number] | ApiPermissionErrorCode;
|
|
2259
2648
|
//#endregion
|
|
2260
2649
|
//#region src/api/flow/types/common.d.ts
|
|
2261
2650
|
/**
|
|
@@ -2742,5 +3131,5 @@ interface BlockUsersClass {
|
|
|
2742
3131
|
listBlockedUsers(params?: ListBlockedUsersParams): Promise<ListBlockedUsersResponse>;
|
|
2743
3132
|
}
|
|
2744
3133
|
//#endregion
|
|
2745
|
-
export { type AccountMode, 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 CarouselCard, type CarouselOptions, type CatalogButton, type CatalogTemplateOptions, CategoryEnum, type CodeVerificationStatus, 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 GroupMessage, type HeaderOptions, type HealthStatus, type HealthStatusEntity, HttpMethodsEnum, type HttpsClientClass, type HttpsClientResponseClass, type ImageMediaObject, ImageMediaTypesEnum, type ImageMessage, 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 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 MetaErrorDetail, type OTPButton, type OTPTemplateOptions, type OrderMessage, type Pagination, type PaginationCursors, type Paging, ParametersTypesEnum, type PhoneNumberButton, type PhoneNumberClass, type PhoneNumberResponse, type PhoneNumbersResponse, type PlatformType, 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, RequestCodeMethodsEnum, type RequestVerificationCodeRequest, type RequesterClass, type RequesterResponseInterface, type ResponseData, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type ResponsePagination, type ResponseSuccess, type SPMButton, type SPMTemplateOptions, 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 TextMessage, type TextMessageParams, type TextObject, type TextParameter, type Throughput, type ThroughputLevel, type TwoStepVerificationClass, type TwoStepVerificationParams, type TwoStepVerificationRequest, type URLButton, type UnsupportedMessage, type UpdateBusinessProfileRequest, type UpdateFlowResponse, 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 WhatsAppConfig, type WhatsAppMessage };
|
|
2746
|
-
//# sourceMappingURL=index.d.ts.map
|
|
3134
|
+
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 };
|
|
3135
|
+
//# sourceMappingURL=index-CNpKf-Cm.d.ts.map
|