meta-cloud-api 0.2.11 → 0.2.13

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.
Files changed (297) hide show
  1. package/README.md +5 -2
  2. package/dist/api/index.d.mts +495 -27
  3. package/dist/api/index.mjs +1 -1
  4. package/dist/api/index.mjs.map +1 -1
  5. package/dist/chunk-KZQQJAPX.mjs +2 -0
  6. package/dist/chunk-KZQQJAPX.mjs.map +1 -0
  7. package/dist/chunk-N7A7DQDX.mjs +2 -0
  8. package/dist/chunk-N7A7DQDX.mjs.map +1 -0
  9. package/dist/chunk-QE4PKOSW.mjs +2 -0
  10. package/dist/chunk-QE4PKOSW.mjs.map +1 -0
  11. package/dist/chunk-R4CFE2XP.mjs +2 -0
  12. package/dist/chunk-R4CFE2XP.mjs.map +1 -0
  13. package/dist/chunk-XVYL7ZTG.mjs +2 -0
  14. package/dist/chunk-XVYL7ZTG.mjs.map +1 -0
  15. package/dist/index.d.mts +142 -43
  16. package/dist/index.mjs +2 -2
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/types/index.d.mts +512 -19
  19. package/dist/types/index.mjs +1 -1
  20. package/dist/types/index.mjs.map +1 -1
  21. package/dist/utils/index.d.mts +70 -21
  22. package/dist/utils/index.mjs +1 -1
  23. package/dist/utils/index.mjs.map +1 -1
  24. package/dist/waba-RRlZTQUG.d.mts +2229 -0
  25. package/dist/{types/whatsapp.d.ts → whatsapp-BNHXjrds.d.mts} +2 -17
  26. package/package.json +52 -18
  27. package/dist/api/base.d.mts +0 -15
  28. package/dist/api/base.d.ts +0 -15
  29. package/dist/api/base.js +0 -2
  30. package/dist/api/base.js.map +0 -1
  31. package/dist/api/base.mjs +0 -2
  32. package/dist/api/base.mjs.map +0 -1
  33. package/dist/api/businessProfile.d.mts +0 -145
  34. package/dist/api/businessProfile.d.ts +0 -145
  35. package/dist/api/businessProfile.js +0 -2
  36. package/dist/api/businessProfile.js.map +0 -1
  37. package/dist/api/businessProfile.mjs +0 -2
  38. package/dist/api/businessProfile.mjs.map +0 -1
  39. package/dist/api/encryption.d.mts +0 -15
  40. package/dist/api/encryption.d.ts +0 -15
  41. package/dist/api/encryption.js +0 -2
  42. package/dist/api/encryption.js.map +0 -1
  43. package/dist/api/encryption.mjs +0 -2
  44. package/dist/api/encryption.mjs.map +0 -1
  45. package/dist/api/flow.d.mts +0 -126
  46. package/dist/api/flow.d.ts +0 -126
  47. package/dist/api/flow.js +0 -2
  48. package/dist/api/flow.js.map +0 -1
  49. package/dist/api/flow.mjs +0 -2
  50. package/dist/api/flow.mjs.map +0 -1
  51. package/dist/api/index.d.ts +0 -28
  52. package/dist/api/index.js +0 -2
  53. package/dist/api/index.js.map +0 -1
  54. package/dist/api/media.d.mts +0 -17
  55. package/dist/api/media.d.ts +0 -17
  56. package/dist/api/media.js +0 -2
  57. package/dist/api/media.js.map +0 -1
  58. package/dist/api/media.mjs +0 -2
  59. package/dist/api/media.mjs.map +0 -1
  60. package/dist/api/messages.d.mts +0 -193
  61. package/dist/api/messages.d.ts +0 -193
  62. package/dist/api/messages.js +0 -2
  63. package/dist/api/messages.js.map +0 -1
  64. package/dist/api/messages.mjs +0 -2
  65. package/dist/api/messages.mjs.map +0 -1
  66. package/dist/api/phoneNumber.d.mts +0 -17
  67. package/dist/api/phoneNumber.d.ts +0 -17
  68. package/dist/api/phoneNumber.js +0 -2
  69. package/dist/api/phoneNumber.js.map +0 -1
  70. package/dist/api/phoneNumber.mjs +0 -2
  71. package/dist/api/phoneNumber.mjs.map +0 -1
  72. package/dist/api/qrCode.d.mts +0 -18
  73. package/dist/api/qrCode.d.ts +0 -18
  74. package/dist/api/qrCode.js +0 -2
  75. package/dist/api/qrCode.js.map +0 -1
  76. package/dist/api/qrCode.mjs +0 -2
  77. package/dist/api/qrCode.mjs.map +0 -1
  78. package/dist/api/registration.d.mts +0 -14
  79. package/dist/api/registration.d.ts +0 -14
  80. package/dist/api/registration.js +0 -2
  81. package/dist/api/registration.js.map +0 -1
  82. package/dist/api/registration.mjs +0 -2
  83. package/dist/api/registration.mjs.map +0 -1
  84. package/dist/api/template.d.mts +0 -18
  85. package/dist/api/template.d.ts +0 -18
  86. package/dist/api/template.js +0 -2
  87. package/dist/api/template.js.map +0 -1
  88. package/dist/api/template.mjs +0 -2
  89. package/dist/api/template.mjs.map +0 -1
  90. package/dist/api/twoStepVerification.d.mts +0 -13
  91. package/dist/api/twoStepVerification.d.ts +0 -13
  92. package/dist/api/twoStepVerification.js +0 -2
  93. package/dist/api/twoStepVerification.js.map +0 -1
  94. package/dist/api/twoStepVerification.mjs +0 -2
  95. package/dist/api/twoStepVerification.mjs.map +0 -1
  96. package/dist/api/waba.d.mts +0 -16
  97. package/dist/api/waba.d.ts +0 -16
  98. package/dist/api/waba.js +0 -2
  99. package/dist/api/waba.js.map +0 -1
  100. package/dist/api/waba.mjs +0 -2
  101. package/dist/api/waba.mjs.map +0 -1
  102. package/dist/enums-CI7vzKhn.d.mts +0 -687
  103. package/dist/enums-CI7vzKhn.d.ts +0 -687
  104. package/dist/httpsClient.d.mts +0 -22
  105. package/dist/httpsClient.d.ts +0 -22
  106. package/dist/httpsClient.js +0 -2
  107. package/dist/httpsClient.js.map +0 -1
  108. package/dist/httpsClient.mjs +0 -2
  109. package/dist/httpsClient.mjs.map +0 -1
  110. package/dist/index.d.ts +0 -46
  111. package/dist/index.js +0 -3
  112. package/dist/index.js.map +0 -1
  113. package/dist/request.d.mts +0 -25
  114. package/dist/request.d.ts +0 -25
  115. package/dist/request.js +0 -2
  116. package/dist/request.js.map +0 -1
  117. package/dist/request.mjs +0 -2
  118. package/dist/request.mjs.map +0 -1
  119. package/dist/types/base.d.mts +0 -8
  120. package/dist/types/base.d.ts +0 -8
  121. package/dist/types/base.js +0 -2
  122. package/dist/types/base.js.map +0 -1
  123. package/dist/types/base.mjs +0 -1
  124. package/dist/types/base.mjs.map +0 -1
  125. package/dist/types/businessProfile.d.mts +0 -153
  126. package/dist/types/businessProfile.d.ts +0 -153
  127. package/dist/types/businessProfile.js +0 -2
  128. package/dist/types/businessProfile.js.map +0 -1
  129. package/dist/types/businessProfile.mjs +0 -1
  130. package/dist/types/businessProfile.mjs.map +0 -1
  131. package/dist/types/config.d.mts +0 -62
  132. package/dist/types/config.d.ts +0 -62
  133. package/dist/types/config.js +0 -2
  134. package/dist/types/config.js.map +0 -1
  135. package/dist/types/config.mjs +0 -1
  136. package/dist/types/config.mjs.map +0 -1
  137. package/dist/types/encryption.d.mts +0 -13
  138. package/dist/types/encryption.d.ts +0 -13
  139. package/dist/types/encryption.js +0 -2
  140. package/dist/types/encryption.js.map +0 -1
  141. package/dist/types/encryption.mjs +0 -1
  142. package/dist/types/encryption.mjs.map +0 -1
  143. package/dist/types/enums.d.mts +0 -1
  144. package/dist/types/enums.d.ts +0 -1
  145. package/dist/types/enums.js +0 -2
  146. package/dist/types/enums.js.map +0 -1
  147. package/dist/types/enums.mjs +0 -2
  148. package/dist/types/enums.mjs.map +0 -1
  149. package/dist/types/flow.d.mts +0 -404
  150. package/dist/types/flow.d.ts +0 -404
  151. package/dist/types/flow.js +0 -2
  152. package/dist/types/flow.js.map +0 -1
  153. package/dist/types/flow.mjs +0 -2
  154. package/dist/types/flow.mjs.map +0 -1
  155. package/dist/types/httpsClient.d.mts +0 -19
  156. package/dist/types/httpsClient.d.ts +0 -19
  157. package/dist/types/httpsClient.js +0 -2
  158. package/dist/types/httpsClient.js.map +0 -1
  159. package/dist/types/httpsClient.mjs +0 -1
  160. package/dist/types/httpsClient.mjs.map +0 -1
  161. package/dist/types/index.d.ts +0 -20
  162. package/dist/types/index.js +0 -2
  163. package/dist/types/index.js.map +0 -1
  164. package/dist/types/logger.d.mts +0 -9
  165. package/dist/types/logger.d.ts +0 -9
  166. package/dist/types/logger.js +0 -2
  167. package/dist/types/logger.js.map +0 -1
  168. package/dist/types/logger.mjs +0 -1
  169. package/dist/types/logger.mjs.map +0 -1
  170. package/dist/types/media.d.mts +0 -31
  171. package/dist/types/media.d.ts +0 -31
  172. package/dist/types/media.js +0 -2
  173. package/dist/types/media.js.map +0 -1
  174. package/dist/types/media.mjs +0 -1
  175. package/dist/types/media.mjs.map +0 -1
  176. package/dist/types/messages.d.mts +0 -558
  177. package/dist/types/messages.d.ts +0 -558
  178. package/dist/types/messages.js +0 -2
  179. package/dist/types/messages.js.map +0 -1
  180. package/dist/types/messages.mjs +0 -1
  181. package/dist/types/messages.mjs.map +0 -1
  182. package/dist/types/phoneNumber.d.mts +0 -82
  183. package/dist/types/phoneNumber.d.ts +0 -82
  184. package/dist/types/phoneNumber.js +0 -2
  185. package/dist/types/phoneNumber.js.map +0 -1
  186. package/dist/types/phoneNumber.mjs +0 -1
  187. package/dist/types/phoneNumber.mjs.map +0 -1
  188. package/dist/types/qrCode.d.mts +0 -27
  189. package/dist/types/qrCode.d.ts +0 -27
  190. package/dist/types/qrCode.js +0 -2
  191. package/dist/types/qrCode.js.map +0 -1
  192. package/dist/types/qrCode.mjs +0 -1
  193. package/dist/types/qrCode.mjs.map +0 -1
  194. package/dist/types/registration.d.mts +0 -14
  195. package/dist/types/registration.d.ts +0 -14
  196. package/dist/types/registration.js +0 -2
  197. package/dist/types/registration.js.map +0 -1
  198. package/dist/types/registration.mjs +0 -1
  199. package/dist/types/registration.mjs.map +0 -1
  200. package/dist/types/request.d.mts +0 -50
  201. package/dist/types/request.d.ts +0 -50
  202. package/dist/types/request.js +0 -2
  203. package/dist/types/request.js.map +0 -1
  204. package/dist/types/request.mjs +0 -1
  205. package/dist/types/request.mjs.map +0 -1
  206. package/dist/types/template.d.mts +0 -106
  207. package/dist/types/template.d.ts +0 -106
  208. package/dist/types/template.js +0 -2
  209. package/dist/types/template.js.map +0 -1
  210. package/dist/types/template.mjs +0 -1
  211. package/dist/types/template.mjs.map +0 -1
  212. package/dist/types/twoStepVerification.d.mts +0 -11
  213. package/dist/types/twoStepVerification.d.ts +0 -11
  214. package/dist/types/twoStepVerification.js +0 -2
  215. package/dist/types/twoStepVerification.js.map +0 -1
  216. package/dist/types/twoStepVerification.mjs +0 -1
  217. package/dist/types/twoStepVerification.mjs.map +0 -1
  218. package/dist/types/waba.d.mts +0 -78
  219. package/dist/types/waba.d.ts +0 -78
  220. package/dist/types/waba.js +0 -2
  221. package/dist/types/waba.js.map +0 -1
  222. package/dist/types/waba.mjs +0 -2
  223. package/dist/types/waba.mjs.map +0 -1
  224. package/dist/types/webhook.d.mts +0 -486
  225. package/dist/types/webhook.d.ts +0 -486
  226. package/dist/types/webhook.js +0 -2
  227. package/dist/types/webhook.js.map +0 -1
  228. package/dist/types/webhook.mjs +0 -2
  229. package/dist/types/webhook.mjs.map +0 -1
  230. package/dist/types/whatsapp.d.mts +0 -61
  231. package/dist/types/whatsapp.js +0 -2
  232. package/dist/types/whatsapp.js.map +0 -1
  233. package/dist/types/whatsapp.mjs +0 -1
  234. package/dist/types/whatsapp.mjs.map +0 -1
  235. package/dist/utils/buildFieldsQueryString.d.mts +0 -3
  236. package/dist/utils/buildFieldsQueryString.d.ts +0 -3
  237. package/dist/utils/buildFieldsQueryString.js +0 -2
  238. package/dist/utils/buildFieldsQueryString.js.map +0 -1
  239. package/dist/utils/buildFieldsQueryString.mjs +0 -2
  240. package/dist/utils/buildFieldsQueryString.mjs.map +0 -1
  241. package/dist/utils/filters.d.mts +0 -144
  242. package/dist/utils/filters.d.ts +0 -144
  243. package/dist/utils/filters.js +0 -2
  244. package/dist/utils/filters.js.map +0 -1
  245. package/dist/utils/filters.mjs +0 -2
  246. package/dist/utils/filters.mjs.map +0 -1
  247. package/dist/utils/flowTypeGuards.d.mts +0 -46
  248. package/dist/utils/flowTypeGuards.d.ts +0 -46
  249. package/dist/utils/flowTypeGuards.js +0 -2
  250. package/dist/utils/flowTypeGuards.js.map +0 -1
  251. package/dist/utils/flowTypeGuards.mjs +0 -2
  252. package/dist/utils/flowTypeGuards.mjs.map +0 -1
  253. package/dist/utils/generateXHub256Sig.d.mts +0 -3
  254. package/dist/utils/generateXHub256Sig.d.ts +0 -3
  255. package/dist/utils/generateXHub256Sig.js +0 -2
  256. package/dist/utils/generateXHub256Sig.js.map +0 -1
  257. package/dist/utils/generateXHub256Sig.mjs +0 -2
  258. package/dist/utils/generateXHub256Sig.mjs.map +0 -1
  259. package/dist/utils/importConfig.d.mts +0 -21
  260. package/dist/utils/importConfig.d.ts +0 -21
  261. package/dist/utils/importConfig.js +0 -2
  262. package/dist/utils/importConfig.js.map +0 -1
  263. package/dist/utils/importConfig.mjs +0 -2
  264. package/dist/utils/importConfig.mjs.map +0 -1
  265. package/dist/utils/index.d.ts +0 -22
  266. package/dist/utils/index.js +0 -2
  267. package/dist/utils/index.js.map +0 -1
  268. package/dist/utils/isMetaError.d.mts +0 -21
  269. package/dist/utils/isMetaError.d.ts +0 -21
  270. package/dist/utils/isMetaError.js +0 -2
  271. package/dist/utils/isMetaError.js.map +0 -1
  272. package/dist/utils/isMetaError.mjs +0 -2
  273. package/dist/utils/isMetaError.mjs.map +0 -1
  274. package/dist/utils/logger.d.mts +0 -13
  275. package/dist/utils/logger.d.ts +0 -13
  276. package/dist/utils/logger.js +0 -2
  277. package/dist/utils/logger.js.map +0 -1
  278. package/dist/utils/logger.mjs +0 -2
  279. package/dist/utils/logger.mjs.map +0 -1
  280. package/dist/utils/objectToQueryString.d.mts +0 -3
  281. package/dist/utils/objectToQueryString.d.ts +0 -3
  282. package/dist/utils/objectToQueryString.js +0 -2
  283. package/dist/utils/objectToQueryString.js.map +0 -1
  284. package/dist/utils/objectToQueryString.mjs +0 -2
  285. package/dist/utils/objectToQueryString.mjs.map +0 -1
  286. package/dist/webhook.d.mts +0 -123
  287. package/dist/webhook.d.ts +0 -123
  288. package/dist/webhook.js +0 -3
  289. package/dist/webhook.js.map +0 -1
  290. package/dist/webhook.mjs +0 -3
  291. package/dist/webhook.mjs.map +0 -1
  292. package/dist/whatsapp.d.mts +0 -58
  293. package/dist/whatsapp.d.ts +0 -58
  294. package/dist/whatsapp.js +0 -2
  295. package/dist/whatsapp.js.map +0 -1
  296. package/dist/whatsapp.mjs +0 -2
  297. package/dist/whatsapp.mjs.map +0 -1
@@ -1,20 +1,513 @@
1
- export { BaseClass } from './base.mjs';
2
- export { BusinessProfileClass, BusinessProfileData, BusinessProfileField, BusinessProfileFieldsParam, BusinessProfileResponse, UpdateBusinessProfileRequest, UploadBusinessProfileResponse, UploadHandle, UploadSession, UploadSessionResponse } from './businessProfile.mjs';
3
- export { WabaConfigType } from './config.mjs';
4
- export { EncryptionClass, EncryptionPublicKeyResponse } from './encryption.mjs';
5
- export { A as AudioMediaTypesEnum, k as BusinessVerticalEnum, a as ButtonPositionEnum, B as ButtonTypesEnum, C as CategoryEnum, b as ComponentTypesEnum, c as ConversationTypesEnum, i as CurrencyCodesEnum, j as DataLocalizationRegionEnum, D as DocumentMediaTypesEnum, H as HttpMethodsEnum, e as ImageMediaTypesEnum, I as InteractiveTypesEnum, L as LanguagesEnum, M as MessageTypesEnum, P as ParametersTypesEnum, R as ReferralSourceTypesEnum, h as RequestCodeMethodsEnum, S as StatusEnum, d as StickerMediaTypesEnum, g as SystemChangeTypesEnum, T as TemplateStatusEnum, V as VideoMediaTypesEnum, W as WabaConfigEnum, f as WebhookTypesEnum } from '../enums-CI7vzKhn.mjs';
6
- export { CreateFlowResponse, Flow, FlowActionEnum, FlowAsset, FlowAssetsResponse, FlowCategoryEnum, FlowClass, FlowDataExchangeRequest, FlowDataExchangeResponse, FlowDecryptedRequestResponse, FlowEncryptedRequestPayload, FlowEndpointRequest, FlowEndpointResponse, FlowErrorNotificationRequest, FlowErrorNotificationResponse, FlowHealthCheckRequest, FlowHealthCheckResponse, FlowHttpRequest, FlowMigrationFailure, FlowMigrationResponse, FlowMigrationResult, FlowPreview, FlowPreviewResponse, FlowStatusEnum, FlowSuccessScreenResponse, FlowTypeEnum, FlowValidationError, FlowValidationErrorPointer, FlowsListResponse, Pagination, PaginationCursors, UpdateFlowResponse, ValidateFlowJsonResponse } from './flow.mjs';
7
- export { HttpsClientClass, HttpsClientResponseClass, ResponseHeaderValue, ResponseHeaders, ResponseJSONBody } from './httpsClient.mjs';
8
- export { LoggerInterface } from './logger.mjs';
9
- export { MediaClass, MediaResponse, MediasResponse, UploadMediaResponse } from './media.mjs';
10
- export { AudioMediaObject, AudioMessageRequestBody, ContactObject, ContactsMessageRequestBody, DocumentMediaObject, DocumentMessageRequestBody, GeneralMessageBody, ImageMediaObject, ImageMessageRequestBody, InteractiveMessageRequestBody, InteractiveObject, LocationMessageRequestBody, LocationObject, MessageRequestBody, MessageRequestParams, MessageTemplateObject, MessageTemplateRequestBody, MessagesClass, MessagesResponse, ReactionMessageRequestBody, ReactionParams, StatusObject, StatusParams, StatusRequestBody, StickerMediaObject, StickerMessageRequestBody, TextMessageParams, TextMessageRequestBody, TextObject, TypingIndicatorObject, VideoMediaObject, VideoMessageRequestBody } from './messages.mjs';
11
- export { AccountMode, CodeVerificationStatus, Cursors, HealthStatus, HealthStatusEntity, MessagingLimitTier, PhoneNumberClass, PhoneNumberResponse, PhoneNumbersResponse, PlatformType, QualityRating, QualityScore, RequestVerificationCodeRequest, Throughput, ThroughputLevel, TwoStepVerificationParams, VerifyCodeRequest } from './phoneNumber.mjs';
12
- export { CreateQrCodeRequest, QrCodeClass, QrCodeResponse, QrCodesResponse, UpdateQrCodeRequest } from './qrCode.mjs';
13
- export { RegistrationClass, RegistrationRequest } from './registration.mjs';
14
- export { GeneralHeaderInterface, GeneralRequestBody, Paging, RequesterClass, RequesterResponseInterface, ResponseData, ResponsePagination, ResponseSuccess } from './request.mjs';
15
- export { ComponentTypes, CopyCodeButton, FlowButton, MPMButton, OTPButton, PhoneNumberButton, QuickReplyButton, SPMButton, TemplateBody, TemplateButton, TemplateClass, TemplateDeleteParams, TemplateFooter, TemplateFormat, TemplateGetParams, TemplateHeader, TemplateHeaderExample, TemplateRequestBody, TemplateResponse, URLButton } from './template.mjs';
16
- export { TwoStepVerificationClass, TwoStepVerificationRequest } from './twoStepVerification.mjs';
17
- export { UpdateWabaSubscription, WABAClass, WabaAccount, WabaAccountFields, WabaAccountFieldsParam, WabaAccountReviewStatus, WabaAccountStatus, WabaBusinessVerificationStatus, WabaHealthStatus, WabaHealthStatusCanSendMessage, WabaHealthStatusEntity, WabaHealthStatusError, WabaSubscription, WabaSubscriptions } from './waba.mjs';
18
- export { EventField, EventHandler, MessageHandler, MessageStatus, WebhookContact, WebhookEvent, WebhookMessage } from './webhook.mjs';
19
- export { WhatsAppClass, WhatsAppConfig } from './whatsapp.mjs';
1
+ import { H as HttpMethodsEnum, e as MessageTypesEnum } from '../waba-RRlZTQUG.mjs';
2
+ export { a$ as AccountMode, aA as AudioMediaObject, G as AudioMediaTypesEnum, aB as AudioMessageRequestBody, h as BaseClass, B as BusinessProfileClass, k as BusinessProfileData, i as BusinessProfileField, j as BusinessProfileFieldsParam, l as BusinessProfileResponse, Z as BusinessVerticalEnum, u as ButtonPositionEnum, t as ButtonTypesEnum, C as CategoryEnum, b0 as CodeVerificationStatus, bE as ComponentTypes, v as ComponentTypesEnum, aC as ContactObject, aD as ContactsMessageRequestBody, x as ConversationTypesEnum, bu as CopyCodeButton, ad as CreateFlowResponse, bg as CreateQrCodeRequest, X as CurrencyCodesEnum, b9 as Cursors, Y as DataLocalizationRegionEnum, aE as DocumentMediaObject, D as DocumentMediaTypesEnum, aF as DocumentMessageRequestBody, E as EncryptionClass, q as EncryptionPublicKeyResponse, a3 as Flow, a0 as FlowActionEnum, a7 as FlowAsset, a8 as FlowAssetsResponse, bv as FlowButton, $ as FlowCategoryEnum, F as FlowClass, am as FlowDataExchangeRequest, an as FlowDataExchangeResponse, ai as FlowDecryptedRequestResponse, ah as FlowEncryptedRequestPayload, f as FlowEndpointRequest, ar as FlowEndpointResponse, ap as FlowErrorNotificationRequest, aq as FlowErrorNotificationResponse, ak as FlowHealthCheckRequest, al as FlowHealthCheckResponse, aj as FlowHttpRequest, ac as FlowMigrationFailure, af as FlowMigrationResponse, ab as FlowMigrationResult, a9 as FlowPreview, aa as FlowPreviewResponse, _ as FlowStatusEnum, ao as FlowSuccessScreenResponse, g as FlowTypeEnum, a2 as FlowValidationError, a1 as FlowValidationErrorPointer, a6 as FlowsListResponse, bk as GeneralHeaderInterface, av as GeneralMessageBody, bj as GeneralRequestBody, b5 as HealthStatus, b4 as HealthStatusEntity, aG as ImageMediaObject, A as ImageMediaTypesEnum, aH as ImageMessageRequestBody, aJ as InteractiveMessageRequestBody, aI as InteractiveObject, I as InteractiveTypesEnum, O as LanguagesEnum, aU as LocationMessageRequestBody, aT as LocationObject, bw as MPMButton, b as MediaClass, as as MediaResponse, at as MediasResponse, az as MessageRequestBody, aW as MessageRequestParams, aR as MessageTemplateObject, aS as MessageTemplateRequestBody, M as MessagesClass, aV as MessagesResponse, b1 as MessagingLimitTier, bx as OTPButton, a5 as Pagination, a4 as PaginationCursors, bp as Paging, s as ParametersTypesEnum, br as PhoneNumberButton, P as PhoneNumberClass, b8 as PhoneNumberResponse, ba as PhoneNumbersResponse, b2 as PlatformType, Q as QrCodeClass, be as QrCodeResponse, bf as QrCodesResponse, a_ as QualityRating, b6 as QualityScore, bt as QuickReplyButton, aM as ReactionMessageRequestBody, aY as ReactionParams, L as ReferralSourceTypesEnum, R as RegistrationClass, bi as RegistrationRequest, N as RequestCodeMethodsEnum, bb as RequestVerificationCodeRequest, c as RequesterClass, bl as RequesterResponseInterface, bn as ResponseData, bo as ResponsePagination, bm as ResponseSuccess, by as SPMButton, y as StatusEnum, aw as StatusObject, aZ as StatusParams, ay as StatusRequestBody, aK as StickerMediaObject, z as StickerMediaTypesEnum, aL as StickerMessageRequestBody, K as SystemChangeTypesEnum, bC as TemplateBody, bz as TemplateButton, T as TemplateClass, bI as TemplateDeleteParams, bD as TemplateFooter, bq as TemplateFormat, bH as TemplateGetParams, bB as TemplateHeader, bA as TemplateHeaderExample, bF as TemplateRequestBody, bG as TemplateResponse, r as TemplateStatusEnum, aX as TextMessageParams, aO as TextMessageRequestBody, aN as TextObject, b7 as Throughput, b3 as ThroughputLevel, a as TwoStepVerificationClass, bd as TwoStepVerificationParams, bJ as TwoStepVerificationRequest, ax as TypingIndicatorObject, bs as URLButton, U as UpdateBusinessProfileRequest, ae as UpdateFlowResponse, bh as UpdateQrCodeRequest, bL as UpdateWabaSubscription, o as UploadBusinessProfileResponse, p as UploadHandle, au as UploadMediaResponse, m as UploadSession, n as UploadSessionResponse, ag as ValidateFlowJsonResponse, bc as VerifyCodeRequest, aP as VideoMediaObject, V as VideoMediaTypesEnum, aQ as VideoMessageRequestBody, W as WABAClass, bU as WabaAccount, bV as WabaAccountFields, bW as WabaAccountFieldsParam, bN as WabaAccountReviewStatus, bP as WabaAccountStatus, bQ as WabaBusinessVerificationStatus, w as WabaConfigEnum, d as WabaConfigType, bT as WabaHealthStatus, bO as WabaHealthStatusCanSendMessage, bS as WabaHealthStatusEntity, bR as WabaHealthStatusError, bK as WabaSubscription, bM as WabaSubscriptions, J as WebhookTypesEnum } from '../waba-RRlZTQUG.mjs';
3
+ export { W as WhatsAppClass, a as WhatsAppConfig } from '../whatsapp-BNHXjrds.mjs';
20
4
  import 'http';
5
+
6
+ type ResponseHeaderValue = string | string[] | undefined;
7
+ type ResponseHeaders = Record<string, ResponseHeaderValue>;
8
+ type ResponseJSONBody = Record<string, unknown>;
9
+ declare class HttpsClientResponseClass {
10
+ constructor(resp: Response);
11
+ statusCode: () => number;
12
+ headers: () => ResponseHeaders;
13
+ rawResponse: () => Response;
14
+ json: () => Promise<ResponseJSONBody>;
15
+ }
16
+ declare class HttpsClientClass {
17
+ constructor();
18
+ clearSockets: () => boolean;
19
+ sendRequest: (host: string, path: string, method: HttpMethodsEnum, headers: HeadersInit, timeout: number, body?: BodyInit | null) => Promise<HttpsClientResponseClass>;
20
+ }
21
+
22
+ interface LoggerInterface {
23
+ log(...data: any[]): void;
24
+ error(...data: any[]): void;
25
+ warn(...data: any[]): void;
26
+ info(...data: any[]): void;
27
+ debug(...data: any[]): void;
28
+ }
29
+
30
+ interface WebhookContact {
31
+ /**
32
+ * WhatsApp ID of the contact. Business can respond to this contact using this ID.
33
+ */
34
+ wa_id: string;
35
+ /**
36
+ * Additional unique, alphanumeric identifier for a WhatsApp user
37
+ */
38
+ user_id?: string;
39
+ /**
40
+ * Profile of Whatsapp user
41
+ */
42
+ profile: {
43
+ /**
44
+ * The display name of the contact
45
+ */
46
+ name: string;
47
+ };
48
+ }
49
+ /**
50
+ * Represents a message received through the webhook
51
+ * Based on Meta's documentation: https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components#messages-object
52
+ */
53
+ interface WebhookMessage {
54
+ /**
55
+ * The message ID
56
+ */
57
+ id: string;
58
+ /**
59
+ * The sender's phone number
60
+ */
61
+ from: string;
62
+ /**
63
+ * The timestamp of the message
64
+ */
65
+ timestamp: string;
66
+ /**
67
+ * The type of message (text, image, etc.)
68
+ */
69
+ type: MessageTypesEnum;
70
+ /**
71
+ * The phone number ID that received the message
72
+ */
73
+ phoneNumberId: string;
74
+ /**
75
+ * The display phone number that received the message
76
+ */
77
+ displayPhoneNumber: string;
78
+ /**
79
+ * The profile name of the sender
80
+ */
81
+ profileName: string;
82
+ /**
83
+ * Text object for text messages
84
+ */
85
+ text?: {
86
+ /**
87
+ * The text content of the message
88
+ */
89
+ body: string;
90
+ };
91
+ /**
92
+ * Image object for image messages
93
+ */
94
+ image?: {
95
+ /**
96
+ * The image caption (if provided)
97
+ */
98
+ caption?: string;
99
+ /**
100
+ * The SHA256 hash of the image
101
+ */
102
+ sha256?: string;
103
+ /**
104
+ * The ID for the image
105
+ */
106
+ id: string;
107
+ /**
108
+ * The MIME type of the image
109
+ */
110
+ mime_type: string;
111
+ };
112
+ /**
113
+ * Video object for video messages
114
+ */
115
+ video?: {
116
+ /**
117
+ * The video caption (if provided)
118
+ */
119
+ caption?: string;
120
+ /**
121
+ * The SHA256 hash of the video
122
+ */
123
+ sha256?: string;
124
+ /**
125
+ * The ID for the video
126
+ */
127
+ id: string;
128
+ /**
129
+ * The MIME type of the video
130
+ */
131
+ mime_type: string;
132
+ };
133
+ /**
134
+ * Audio object for audio messages
135
+ */
136
+ audio?: {
137
+ /**
138
+ * The ID for the audio file
139
+ */
140
+ id: string;
141
+ /**
142
+ * The MIME type of the audio file
143
+ */
144
+ mime_type: string;
145
+ /**
146
+ * Whether the audio is a voice message
147
+ */
148
+ voice?: boolean;
149
+ };
150
+ /**
151
+ * Document object for document messages
152
+ */
153
+ document?: {
154
+ /**
155
+ * The document caption (if provided)
156
+ */
157
+ caption?: string;
158
+ /**
159
+ * The document filename
160
+ */
161
+ filename: string;
162
+ /**
163
+ * The SHA256 hash of the document
164
+ */
165
+ sha256?: string;
166
+ /**
167
+ * The ID for the document
168
+ */
169
+ id: string;
170
+ /**
171
+ * The MIME type of the document
172
+ */
173
+ mime_type: string;
174
+ };
175
+ /**
176
+ * Sticker object for sticker messages
177
+ */
178
+ sticker?: {
179
+ /**
180
+ * The ID for the sticker
181
+ */
182
+ id: string;
183
+ /**
184
+ * Whether this is an animated sticker
185
+ */
186
+ animated: boolean;
187
+ /**
188
+ * The MIME type of the sticker
189
+ */
190
+ mime_type: string;
191
+ };
192
+ /**
193
+ * Reaction object for reaction messages
194
+ */
195
+ reaction?: {
196
+ /**
197
+ * The ID of the message being reacted to
198
+ */
199
+ message_id: string;
200
+ /**
201
+ * Emoji used for the reaction
202
+ */
203
+ emoji: string;
204
+ };
205
+ /**
206
+ * Contacts object for contact messages
207
+ */
208
+ contacts?: Array<{
209
+ /**
210
+ * The contact's name
211
+ */
212
+ name: {
213
+ formatted_name: string;
214
+ first_name?: string;
215
+ last_name?: string;
216
+ middle_name?: string;
217
+ suffix?: string;
218
+ prefix?: string;
219
+ };
220
+ /**
221
+ * The contact's phone numbers
222
+ */
223
+ phones?: Array<{
224
+ phone: string;
225
+ type?: string;
226
+ wa_id?: string;
227
+ }>;
228
+ /**
229
+ * The contact's emails
230
+ */
231
+ emails?: Array<{
232
+ email: string;
233
+ type?: string;
234
+ }>;
235
+ /**
236
+ * The contact's addresses
237
+ */
238
+ addresses?: Array<{
239
+ street?: string;
240
+ city?: string;
241
+ state?: string;
242
+ zip?: string;
243
+ country?: string;
244
+ country_code?: string;
245
+ type?: string;
246
+ }>;
247
+ /**
248
+ * The contact's organizations
249
+ */
250
+ org?: {
251
+ company?: string;
252
+ department?: string;
253
+ title?: string;
254
+ };
255
+ /**
256
+ * The contact's URLs
257
+ */
258
+ urls?: Array<{
259
+ url: string;
260
+ type?: string;
261
+ }>;
262
+ /**
263
+ * The contact's birthday (YYYY-MM-DD format)
264
+ */
265
+ birthday?: string;
266
+ }>;
267
+ /**
268
+ * Location object for location messages
269
+ */
270
+ location?: {
271
+ /**
272
+ * Latitude of the location
273
+ */
274
+ latitude: number;
275
+ /**
276
+ * Longitude of the location
277
+ */
278
+ longitude: number;
279
+ /**
280
+ * Name of the location
281
+ */
282
+ name?: string;
283
+ /**
284
+ * Address of the location
285
+ */
286
+ address?: string;
287
+ };
288
+ /**
289
+ * Interactive object for interactive messages
290
+ */
291
+ interactive?: {
292
+ /**
293
+ * Type of the interactive message
294
+ * Can be: button_reply, list_reply, flow, nfm_reply, etc.
295
+ */
296
+ type: string;
297
+ /**
298
+ * ID for the button that was clicked
299
+ */
300
+ button_reply?: {
301
+ id: string;
302
+ title: string;
303
+ };
304
+ /**
305
+ * ID for the list item that was selected
306
+ */
307
+ list_reply?: {
308
+ id: string;
309
+ title: string;
310
+ description?: string;
311
+ };
312
+ /**
313
+ * NFM (No-Code Flow Message) reply data
314
+ */
315
+ nfm_reply?: {
316
+ /**
317
+ * Response data in JSON format
318
+ */
319
+ response_json: string;
320
+ /**
321
+ * Body text of the reply
322
+ */
323
+ body: string;
324
+ /**
325
+ * Name of the flow
326
+ */
327
+ name: string;
328
+ };
329
+ };
330
+ /**
331
+ * System object for system messages (like user phone number changes)
332
+ */
333
+ system?: {
334
+ /**
335
+ * The type of system update
336
+ */
337
+ type: string;
338
+ /**
339
+ * User's identity if the update is a customer identity change
340
+ */
341
+ identity?: string;
342
+ /**
343
+ * Old and new phone numbers if the update is a phone number change
344
+ */
345
+ customer?: {
346
+ /**
347
+ * The previous phone number
348
+ */
349
+ previous_wa_id: string;
350
+ /**
351
+ * The new phone number
352
+ */
353
+ wa_id: string;
354
+ };
355
+ };
356
+ /**
357
+ * Order object for order messages
358
+ */
359
+ order?: {
360
+ /**
361
+ * Catalog ID
362
+ */
363
+ catalog_id: string;
364
+ /**
365
+ * Product items in the order
366
+ */
367
+ product_items: Array<{
368
+ /**
369
+ * Product ID
370
+ */
371
+ product_retailer_id: string;
372
+ /**
373
+ * Quantity of the product
374
+ */
375
+ quantity: number;
376
+ /**
377
+ * Item price
378
+ */
379
+ item_price: number;
380
+ /**
381
+ * Currency code
382
+ */
383
+ currency: string;
384
+ }>;
385
+ /**
386
+ * Text message included with the order
387
+ */
388
+ text?: string;
389
+ };
390
+ /**
391
+ * Context object, included when a user replies or interacts
392
+ */
393
+ context?: {
394
+ /**
395
+ * ID of the message
396
+ */
397
+ id?: string;
398
+ /**
399
+ * ID of the sender
400
+ */
401
+ from?: string;
402
+ /**
403
+ * ID of the message being replied to or interacted with
404
+ */
405
+ message_id: string;
406
+ /**
407
+ * ID of the forwarded message, if applicable
408
+ */
409
+ forwarded?: boolean;
410
+ /**
411
+ * Frequently forwarded status
412
+ */
413
+ frequently_forwarded?: boolean;
414
+ /**
415
+ * Original message information if the message was referred
416
+ */
417
+ referred_product?: {
418
+ /**
419
+ * Catalog ID
420
+ */
421
+ catalog_id: string;
422
+ /**
423
+ * Product ID
424
+ */
425
+ product_retailer_id: string;
426
+ };
427
+ };
428
+ /**
429
+ * Errors array, if the message had errors
430
+ */
431
+ errors?: Array<{
432
+ /**
433
+ * Error code
434
+ */
435
+ code: number;
436
+ /**
437
+ * Error title
438
+ */
439
+ title: string;
440
+ /**
441
+ * Error message
442
+ */
443
+ message: string;
444
+ /**
445
+ * Error details object
446
+ */
447
+ error_data?: {
448
+ /**
449
+ * Describes the error details
450
+ */
451
+ details: string;
452
+ };
453
+ }>;
454
+ /**
455
+ * Button object for button messages
456
+ */
457
+ button?: {
458
+ /**
459
+ * The payload for the button
460
+ */
461
+ payload: string;
462
+ /**
463
+ * Button text
464
+ */
465
+ text: string;
466
+ };
467
+ /**
468
+ * The original message data as received from the webhook
469
+ */
470
+ originalData: any;
471
+ }
472
+ /**
473
+ * Represents a non-message event received through the webhook
474
+ */
475
+ interface WebhookEvent {
476
+ /**
477
+ * The field type of the event
478
+ */
479
+ field: string;
480
+ /**
481
+ * The event data
482
+ */
483
+ value: any;
484
+ }
485
+ /**
486
+ * Handler function for processing messages
487
+ */
488
+ type MessageHandler = (message: WebhookMessage) => void | Promise<void>;
489
+ /**
490
+ * Handler function for processing events
491
+ */
492
+ type EventHandler = (event: WebhookEvent) => void | Promise<void>;
493
+ /**
494
+ * Statuses that can be received in status updates
495
+ */
496
+ declare enum MessageStatus {
497
+ DELIVERED = "delivered",
498
+ READ = "read",
499
+ SENT = "sent"
500
+ }
501
+ /**
502
+ * Event fields that can be received through the webhook
503
+ */
504
+ declare enum EventField {
505
+ MESSAGES = "messages",
506
+ STATUSES = "statuses",
507
+ MESSAGE_TEMPLATE_STATUS_UPDATE = "message_template_status_update",
508
+ PHONE_NUMBER_QUALITY_UPDATE = "phone_number_quality_update",
509
+ PHONE_NUMBER_NAME_UPDATE = "phone_number_name_update",
510
+ UNKNOWN = "unknown"
511
+ }
512
+
513
+ export { EventField, type EventHandler, HttpMethodsEnum, HttpsClientClass, HttpsClientResponseClass, type LoggerInterface, type MessageHandler, MessageStatus, MessageTypesEnum, type ResponseHeaderValue, type ResponseHeaders, type ResponseJSONBody, type WebhookContact, type WebhookEvent, type WebhookMessage };
@@ -1,2 +1,2 @@
1
- var I=(p=>(p.Authentication="AUTHENTICATION",p.Marketing="MARKETING",p.Utility="UTILITY",p))(I||{}),x=(p=>(p.Approved="APPROVED",p.Pending="PENDING",p.Rejected="REJECTED",p))(x||{}),f=(A=>(A.Get="GET",A.Post="POST",A.Put="PUT",A.Delete="DELETE",A))(f||{}),B=(a=>(a.Audio="audio",a.Contacts="contacts",a.Document="document",a.Image="image",a.Interactive="interactive",a.Location="location",a.Reaction="reaction",a.Sticker="sticker",a.Template="template",a.Text="text",a.Video="video",a.Button="button",a.Order="order",a.System="system",a.Unknown="unknown",a["*"]="*",a))(B||{}),O=(D=>(D.Currency="currency",D.DateTime="date_time",D.Document="document",D.Image="image",D.Text="text",D.Video="video",D.Payload="payload",D))(O||{}),F=(R=>(R.Button="button",R.List="list",R.Product="product",R.ProductList="product_list",R.CtaUrl="cta_url",R.LocationRequest="location_request_message",R.AddressMessage="address_message",R.Flow="flow",R))(F||{}),G=(l=>(l.QuickReply="quick_reply",l.URL="url",l))(G||{}),r=(p=>(p[p.First=0]="First",p[p.Second=1]="Second",p[p.Third=2]="Third",p))(r||{}),w=(A=>(A.Header="HEADER",A.Body="BODY",A.Button="BUTTON",A.Footer="FOOTER",A))(w||{}),T=(a=>(a.AppId="M4D_APP_ID",a.Port="WA_PORT",a.AppSecret="M4D_APP_SECRET",a.PhoneNumberId="WA_PHONE_NUMBER_ID",a.BusinessAcctId="WA_BUSINESS_ACCOUNT_ID",a.APIVersion="CLOUD_API_VERSION",a.AccessToken="CLOUD_API_ACCESS_TOKEN",a.WebhookEndpoint="WEBHOOK_ENDPOINT",a.WebhookVerificationToken="WEBHOOK_VERIFICATION_TOKEN",a.ListenerPort="LISTENER_PORT",a.MaxRetriesAfterWait="MAX_RETRIES_AFTER_WAIT",a.RequestTimeout="REQUEST_TIMEOUT",a.Debug="DEBUG",a.PrivatePem="FLOW_API_PRIVATE_PEM",a.Passphrase="FLOW_API_PASSPHRASE",a))(T||{}),K=(p=>(p.BusinessInitiated="business_initiated",p.CustomerInitiated="customer_initiated",p.ReferralConversion="referral_conversion",p))(K||{}),M=(p=>(p.Delivered="delivered",p.Read="read",p.Sent="sent",p))(M||{}),H=(l=>(l.Mp4="video/mp4",l.Threegp="video/3gp",l))(H||{}),g=(U=>(U.Webp="image/webp",U))(g||{}),b=(l=>(l.Jpeg="image/jpeg",l.Png="image/png",l))(b||{}),e=(R=>(R.Text="text/plain",R.Pdf="application/pdf",R.Ppt="application/vnd.ms-powerpoint",R.Word="application/msword",R.Excel="application/vnd.ms-excel",R.OpenDoc="application/vnd.openxmlformats-officedocument.wordprocessingml.document",R.OpenPres="application/vnd.openxmlformats-officedocument.presentationml.presentation",R.OpenSheet="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",R))(e||{}),h=(S=>(S.Aac="audio/aac",S.Mp4="audio/mp4",S.Mpeg="audio/mpeg",S.Amr="audio/amr",S.Ogg="audio/ogg",S))(h||{}),L=(o=>(o.Audio="audio",o.Button="button",o.Document="document",o.Text="text",o.Image="image",o.Interactive="interactive",o.Order="order",o.Sticker="sticker",o.System="system",o.Unknown="unknown",o.Video="video",o))(L||{}),Y=(l=>(l.CustomerChangedNumber="customer_changed_number",l.CustomerIdentityChanged="customer_identity_changed",l))(Y||{}),X=(l=>(l.Ad="ad",l.Post="post",l))(X||{}),v=(l=>(l.Sms="SMS",l.Voice="VOICE",l))(v||{}),Z=(i=>(i.Afrikaans="af",i.Albanian="sq",i.Arabic="ar",i.Azerbaijani="az",i.Bengali="bn",i.Bulgarian="bg",i.Catalan="ca",i.Chinese_CHN="zh_CN",i.Chinese_HKG="zh_HK",i.Chinese_TAI="zh_TW",i.Croatian="hr",i.Czech="cs",i.Danish="da",i.Dutch="nl",i.English="en",i.English_UK="en_GB",i.English_US="en_US",i.Estonian="et",i.Filipino="fil",i.Finnish="fi",i.French="fr",i.Georgian="ka",i.German="de",i.Greek="el",i.Gujarati="gu",i.Hausa="ha",i.Hebrew="he",i.Hindi="hi",i.Hungarian="hu",i.Indonesian="id",i.Irish="ga",i.Italian="it",i.Japanese="ja",i.Kannada="kn",i.Kazakh="kk",i.Kinyarwanda="rw_RW",i.Korean="ko",i.Kyrgyz_Kyrgyzstan="ky_KG",i.Lao="lo",i.Latvian="lv",i.Lithuanian="lt",i.Macedonian="mk",i.Malay="ms",i.Malayalam="ml",i.Marathi="mr",i.Norwegian="nb",i.Persian="fa",i.Polish="pl",i.Portuguese_BR="pt_BR",i.Portuguese_POR="pt_PT",i.Punjabi="pa",i.Romanian="ro",i.Russian="ru",i.Serbian="sr",i.Slovak="sk",i.Slovenian="sl",i.Spanish="es",i.Spanish_ARG="es_AR",i.Spanish_SPA="es_ES",i.Spanish_MEX="es_MX",i.Swahili="sw",i.Swedish="sv",i.Tamil="ta",i.Telugu="te",i.Thai="th",i.Turkish="tr",i.Ukrainian="uk",i.Urdu="ur",i.Uzbek="uz",i.Vietnamese="vi",i.Zulu="zu",i))(Z||{}),W=(t=>(t.AFN="AFN",t.EUR="EUR",t.ALL="ALL",t.DZD="DZD",t.USD="USD",t.AOA="AOA",t.XCD="XCD",t.ARS="ARS",t.AMD="AMD",t.AWG="AWG",t.AUD="AUD",t.AZN="AZN",t.BSD="BSD",t.BHD="BHD",t.BDT="BDT",t.BBD="BBD",t.BYN="BYN",t.BZD="BZD",t.XOF="XOF",t.BMD="BMD",t.INR="INR",t.BTN="BTN",t.BOB="BOB",t.BOV="BOV",t.BAM="BAM",t.BWP="BWP",t.NOK="NOK",t.BRL="BRL",t.BND="BND",t.BGN="BGN",t.BIF="BIF",t.CVE="CVE",t.KHR="KHR",t.XAF="XAF",t.CAD="CAD",t.KYD="KYD",t.CLP="CLP",t.CLF="CLF",t.CNY="CNY",t.COP="COP",t.COU="COU",t.KMF="KMF",t.CDF="CDF",t.NZD="NZD",t.CRC="CRC",t.HRK="HRK",t.CUP="CUP",t.CUC="CUC",t.ANG="ANG",t.CZK="CZK",t.DKK="DKK",t.DJF="DJF",t.DOP="DOP",t.EGP="EGP",t.SVC="SVC",t.ERN="ERN",t.SZL="SZL",t.ETB="ETB",t.FKP="FKP",t.FJD="FJD",t.XPF="XPF",t.GMD="GMD",t.GEL="GEL",t.GHS="GHS",t.GIP="GIP",t.GTQ="GTQ",t.GBP="GBP",t.GNF="GNF",t.GYD="GYD",t.HTG="HTG",t.HNL="HNL",t.HKD="HKD",t.HUF="HUF",t.ISK="ISK",t.IDR="IDR",t.XDR="XDR",t.IRR="IRR",t.IQD="IQD",t.ILS="ILS",t.JMD="JMD",t.JPY="JPY",t.JOD="JOD",t.KZT="KZT",t.KES="KES",t.KPW="KPW",t.KRW="KRW",t.KWD="KWD",t.KGS="KGS",t.LAK="LAK",t.LBP="LBP",t.LSL="LSL",t.ZAR="ZAR",t.LRD="LRD",t.LYD="LYD",t.CHF="CHF",t.MOP="MOP",t.MKD="MKD",t.MGA="MGA",t.MWK="MWK",t.MYR="MYR",t.MVR="MVR",t.MRU="MRU",t.MUR="MUR",t.XUA="XUA",t.MXN="MXN",t.MXV="MXV",t.MDL="MDL",t.MNT="MNT",t.MAD="MAD",t.MZN="MZN",t.MMK="MMK",t.NAD="NAD",t.NPR="NPR",t.NIO="NIO",t.NGN="NGN",t.OMR="OMR",t.PKR="PKR",t.PAB="PAB",t.PGK="PGK",t.PYG="PYG",t.PEN="PEN",t.PHP="PHP",t.PLN="PLN",t.QAR="QAR",t.RON="RON",t.RUB="RUB",t.RWF="RWF",t.SHP="SHP",t.WST="WST",t.STN="STN",t.SAR="SAR",t.RSD="RSD",t.SCR="SCR",t.SLL="SLL",t.SGD="SGD",t.XSU="XSU",t.SBD="SBD",t.SOS="SOS",t.SSP="SSP",t.LKR="LKR",t.SDG="SDG",t.SRD="SRD",t.SEK="SEK",t.CHE="CHE",t.CHW="CHW",t.SYP="SYP",t.TWD="TWD",t.TJS="TJS",t.TZS="TZS",t.THB="THB",t.TOP="TOP",t.TTD="TTD",t.TND="TND",t.TRY="TRY",t.TMT="TMT",t.UGX="UGX",t.UAH="UAH",t.AED="AED",t.USN="USN",t.UYU="UYU",t.UYI="UYI",t.UYW="UYW",t.UZS="UZS",t.VUV="VUV",t.VES="VES",t.VND="VND",t.YER="YER",t.ZMW="ZMW",t.ZWL="ZWL",t.XBA="XBA",t.XBB="XBB",t.XBC="XBC",t.XBD="XBD",t.XTS="XTS",t.XXX="XXX",t.XAU="XAU",t.XPD="XPD",t.XPT="XPT",t.XAG="XAG",t.AFA="AFA",t.FIM="FIM",t.ALK="ALK",t.ADP="ADP",t.ESP="ESP",t.FRF="FRF",t.AOK="AOK",t.AON="AON",t.AOR="AOR",t.ARA="ARA",t.ARP="ARP",t.ARY="ARY",t.RUR="RUR",t.ATS="ATS",t.AYM="AYM",t.AZM="AZM",t.BYB="BYB",t.BYR="BYR",t.BEC="BEC",t.BEF="BEF",t.BEL="BEL",t.BOP="BOP",t.BAD="BAD",t.BRB="BRB",t.BRC="BRC",t.BRE="BRE",t.BRN="BRN",t.BRR="BRR",t.BGJ="BGJ",t.BGK="BGK",t.BGL="BGL",t.BUK="BUK",t.HRD="HRD",t.CYP="CYP",t.CSJ="CSJ",t.CSK="CSK",t.ECS="ECS",t.ECV="ECV",t.GQE="GQE",t.EEK="EEK",t.XEU="XEU",t.GEK="GEK",t.DDM="DDM",t.DEM="DEM",t.GHC="GHC",t.GHP="GHP",t.GRD="GRD",t.GNE="GNE",t.GNS="GNS",t.GWE="GWE",t.GWP="GWP",t.ITL="ITL",t.ISJ="ISJ",t.IEP="IEP",t.ILP="ILP",t.ILR="ILR",t.LAJ="LAJ",t.LVL="LVL",t.LVR="LVR",t.LSM="LSM",t.ZAL="ZAL",t.LTL="LTL",t.LTT="LTT",t.LUC="LUC",t.LUF="LUF",t.LUL="LUL",t.MGF="MGF",t.MVQ="MVQ",t.MLF="MLF",t.MTL="MTL",t.MTP="MTP",t.MRO="MRO",t.MXP="MXP",t.MZE="MZE",t.MZM="MZM",t.NLG="NLG",t.NIC="NIC",t.PEH="PEH",t.PEI="PEI",t.PES="PES",t.PLZ="PLZ",t.PTE="PTE",t.ROK="ROK",t.ROL="ROL",t.STD="STD",t.CSD="CSD",t.SKK="SKK",t.SIT="SIT",t.RHD="RHD",t.ESA="ESA",t.ESB="ESB",t.SDD="SDD",t.SDP="SDP",t.SRG="SRG",t.CHC="CHC",t.TJR="TJR",t.TPE="TPE",t.TRL="TRL",t.TMM="TMM",t.UGS="UGS",t.UGW="UGW",t.UAK="UAK",t.SUR="SUR",t.USS="USS",t.UYN="UYN",t.UYP="UYP",t.VEB="VEB",t.VEF="VEF",t.VNC="VNC",t.YDD="YDD",t.YUD="YUD",t.YUM="YUM",t.YUN="YUN",t.ZRN="ZRN",t.ZRZ="ZRZ",t.ZMK="ZMK",t.ZWC="ZWC",t.ZWD="ZWD",t.ZWN="ZWN",t.ZWR="ZWR",t.XFO="XFO",t.XRE="XRE",t.XFU="XFU",t))(W||{}),V=(P=>(P.AU="AU",P.ID="ID",P.IN="IN",P.JP="JP",P.SG="SG",P.KR="KR",P.DE="DE",P.CH="CH",P.GB="GB",P.BR="BR",P.BH="BH",P.ZA="ZA",P.AE="AE",P.CA="CA",P))(V||{}),k=(_=>(_.ALCOHOL="ALCOHOL",_.APPAREL="APPAREL",_.AUTO="AUTO",_.BEAUTY="BEAUTY",_.EDU="EDU",_.ENTERTAIN="ENTERTAIN",_.EVENT_PLAN="EVENT_PLAN",_.FINANCE="FINANCE",_.GOVT="GOVT",_.GROCERY="GROCERY",_.HEALTH="HEALTH",_.HOTEL="HOTEL",_.NONPROFIT="NONPROFIT",_.ONLINE_GAMBLING="ONLINE_GAMBLING",_.OTC_DRUGS="OTC_DRUGS",_.OTHER="OTHER",_.PHYSICAL_GAMBLING="PHYSICAL_GAMBLING",_.PROF_SERVICES="PROF_SERVICES",_.RESTAURANT="RESTAURANT",_.RETAIL="RETAIL",_.TRAVEL="TRAVEL",_))(k||{});var s=(S=>(S.Draft="DRAFT",S.Published="PUBLISHED",S.Throttled="THROTTLED",S.Blocked="BLOCKED",S.Deprecated="DEPRECATED",S))(s||{}),J=(R=>(R.SignUp="SIGN_UP",R.SignIn="SIGN_IN",R.AppointmentBooking="APPOINTMENT_BOOKING",R.LeadGeneration="LEAD_GENERATION",R.ContactUs="CONTACT_US",R.CustomerSupport="CUSTOMER_SUPPORT",R.Survey="SURVEY",R.Other="OTHER",R))(J||{}),q=(p=>(p.INIT="INIT",p.BACK="BACK",p.DATA_EXCHANGE="data_exchange",p))(q||{}),Q=(A=>(A.Ping="ping",A.Change="data_exchange",A.Error="error",A.All="*",A))(Q||{});var j=(A=>(A.Approved="APPROVED",A.Active="ACTIVE",A.Inactive="INACTIVE",A.Disabled="DISABLED",A))(j||{}),$=(p=>(p.Blocked="BLOCKED",p.Limited="LIMITED",p.Available="AVAILABLE",p))($||{}),z=(A=>(A.Approved="APPROVED",A.Active="ACTIVE",A.Inactive="INACTIVE",A.Disabled="DISABLED",A))(z||{}),d=(A=>(A.Verified="verified",A.PendingSubmission="pending_submission",A.Unverified="unverified",A.Rejected="rejected",A))(d||{});var c=(p=>(p.DELIVERED="delivered",p.READ="read",p.SENT="sent",p))(c||{}),y=(N=>(N.MESSAGES="messages",N.STATUSES="statuses",N.MESSAGE_TEMPLATE_STATUS_UPDATE="message_template_status_update",N.PHONE_NUMBER_QUALITY_UPDATE="phone_number_quality_update",N.PHONE_NUMBER_NAME_UPDATE="phone_number_name_update",N.UNKNOWN="unknown",N))(y||{});export{h as AudioMediaTypesEnum,k as BusinessVerticalEnum,r as ButtonPositionEnum,G as ButtonTypesEnum,I as CategoryEnum,w as ComponentTypesEnum,K as ConversationTypesEnum,W as CurrencyCodesEnum,V as DataLocalizationRegionEnum,e as DocumentMediaTypesEnum,y as EventField,q as FlowActionEnum,J as FlowCategoryEnum,s as FlowStatusEnum,Q as FlowTypeEnum,f as HttpMethodsEnum,b as ImageMediaTypesEnum,F as InteractiveTypesEnum,Z as LanguagesEnum,c as MessageStatus,B as MessageTypesEnum,O as ParametersTypesEnum,X as ReferralSourceTypesEnum,v as RequestCodeMethodsEnum,M as StatusEnum,g as StickerMediaTypesEnum,Y as SystemChangeTypesEnum,x as TemplateStatusEnum,H as VideoMediaTypesEnum,j as WabaAccountReviewStatus,z as WabaAccountStatus,d as WabaBusinessVerificationStatus,T as WabaConfigEnum,$ as WabaHealthStatusCanSendMessage,L as WebhookTypesEnum};
1
+ export{j as EventField,c as FlowActionEnum,b as FlowCategoryEnum,a as FlowStatusEnum,d as FlowTypeEnum,i as MessageStatus,e as WabaAccountReviewStatus,g as WabaAccountStatus,h as WabaBusinessVerificationStatus,f as WabaHealthStatusCanSendMessage}from'../chunk-KZQQJAPX.mjs';export{q as AudioMediaTypesEnum,y as BusinessVerticalEnum,h as ButtonPositionEnum,g as ButtonTypesEnum,a as CategoryEnum,i as ComponentTypesEnum,k as ConversationTypesEnum,w as CurrencyCodesEnum,x as DataLocalizationRegionEnum,p as DocumentMediaTypesEnum,c as HttpMethodsEnum,o as ImageMediaTypesEnum,f as InteractiveTypesEnum,v as LanguagesEnum,d as MessageTypesEnum,e as ParametersTypesEnum,t as ReferralSourceTypesEnum,u as RequestCodeMethodsEnum,l as StatusEnum,n as StickerMediaTypesEnum,s as SystemChangeTypesEnum,b as TemplateStatusEnum,m as VideoMediaTypesEnum,j as WabaConfigEnum,r as WebhookTypesEnum}from'../chunk-XVYL7ZTG.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map