@sinch/conversation 1.2.1 → 1.4.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.
Files changed (376) hide show
  1. package/dist/models/v1/app-message/app-message.d.ts +10 -7
  2. package/dist/models/v1/audit-record/audit-record.d.ts +18 -0
  3. package/dist/models/v1/audit-record/audit-record.js +3 -0
  4. package/dist/models/v1/audit-record/audit-record.js.map +1 -0
  5. package/dist/models/v1/audit-record/index.d.ts +1 -0
  6. package/dist/models/v1/audit-record/index.js.map +1 -0
  7. package/dist/models/v1/audit-records-list/audit-records-list.d.ts +8 -0
  8. package/dist/models/v1/audit-records-list/audit-records-list.js +3 -0
  9. package/dist/models/v1/audit-records-list/audit-records-list.js.map +1 -0
  10. package/dist/models/v1/audit-records-list/index.d.ts +1 -0
  11. package/dist/models/v1/audit-records-list/index.js.map +1 -0
  12. package/dist/models/v1/calendar-message/calendar-message.d.ts +14 -0
  13. package/dist/models/v1/calendar-message/calendar-message.js +3 -0
  14. package/dist/models/v1/calendar-message/calendar-message.js.map +1 -0
  15. package/dist/models/v1/calendar-message/index.d.ts +1 -0
  16. package/dist/models/v1/calendar-message/index.js.map +1 -0
  17. package/dist/models/v1/callback-settings/callback-settings.d.ts +1 -1
  18. package/dist/models/v1/card-message/card-message.d.ts +13 -4
  19. package/dist/models/v1/card-message/index.d.ts +1 -1
  20. package/dist/models/v1/carousel-message/carousel-message.d.ts +5 -2
  21. package/dist/models/v1/channel-identity/channel-identity.d.ts +1 -1
  22. package/dist/models/v1/channel-specific-contact-message/channel-specific-contact-message.d.ts +1 -1
  23. package/dist/models/v1/channel-specific-message/channel-specific-message.d.ts +40 -5
  24. package/dist/models/v1/channel-specific-message/index.d.ts +1 -1
  25. package/dist/models/v1/choice/choice.d.ts +47 -1
  26. package/dist/models/v1/choice-item/choice-item.d.ts +3 -3
  27. package/dist/models/v1/choice-message/choice-message.d.ts +8 -2
  28. package/dist/models/v1/client-credentials/client-credentials.d.ts +6 -0
  29. package/dist/models/v1/consent-identity/consent-identity.d.ts +7 -0
  30. package/dist/models/v1/consent-identity/consent-identity.js +3 -0
  31. package/dist/models/v1/consent-identity/consent-identity.js.map +1 -0
  32. package/dist/models/v1/consent-identity/index.d.ts +1 -0
  33. package/dist/models/v1/consent-identity/index.js.map +1 -0
  34. package/dist/models/v1/contact-create-request/contact-create-request.d.ts +1 -1
  35. package/dist/models/v1/contact-message/contact-message.d.ts +4 -4
  36. package/dist/models/v1/contact-message-event/contact-message-event.d.ts +47 -2
  37. package/dist/models/v1/contact-message-event/index.d.ts +1 -1
  38. package/dist/models/v1/contact-settings/contact-settings.d.ts +7 -0
  39. package/dist/models/v1/contact-settings/contact-settings.js +3 -0
  40. package/dist/models/v1/contact-settings/contact-settings.js.map +1 -0
  41. package/dist/models/v1/contact-settings/index.d.ts +1 -0
  42. package/dist/models/v1/contact-settings/index.js.map +1 -0
  43. package/dist/models/v1/conversation-channel/conversation-channel.d.ts +2 -2
  44. package/dist/models/v1/conversation-channel-credential/conversation-channel-credential.d.ts +18 -5
  45. package/dist/models/v1/conversation-channel-credential/index.d.ts +1 -1
  46. package/dist/models/v1/conversation-event/conversation-event.d.ts +1 -1
  47. package/dist/models/v1/conversation-message/conversation-message.d.ts +2 -2
  48. package/dist/models/v1/create-conversation-request/create-conversation-request.d.ts +7 -1
  49. package/dist/models/v1/delivery-report-based-fallback/delivery-report-based-fallback.d.ts +1 -1
  50. package/dist/models/v1/dispatch-retention-policy/dispatch-retention-policy.d.ts +2 -2
  51. package/dist/models/v1/enums.d.ts +29 -14
  52. package/dist/models/v1/helper.d.ts +5 -5
  53. package/dist/models/v1/helper.js.map +1 -1
  54. package/dist/models/v1/identified-by/identified-by.d.ts +4 -2
  55. package/dist/models/v1/identified-by/index.d.ts +1 -1
  56. package/dist/models/v1/identity-conflict/identity-conflict.d.ts +8 -0
  57. package/dist/models/v1/identity-conflict/identity-conflict.js +3 -0
  58. package/dist/models/v1/identity-conflict/identity-conflict.js.map +1 -0
  59. package/dist/models/v1/identity-conflict/index.d.ts +1 -0
  60. package/dist/models/v1/identity-conflict/index.js.map +1 -0
  61. package/dist/models/v1/index.d.ts +29 -12
  62. package/dist/models/v1/index.js +29 -12
  63. package/dist/models/v1/index.js.map +1 -1
  64. package/dist/models/v1/inject-conversation-event-request/inject-conversation-event-request.d.ts +1 -1
  65. package/dist/models/v1/inject-message-request/inject-message-request.d.ts +5 -7
  66. package/dist/models/v1/kakaotalk-button/index.d.ts +1 -0
  67. package/dist/models/v1/kakaotalk-button/index.js.map +1 -0
  68. package/dist/models/v1/kakaotalk-button/kakaotalk-button.d.ts +27 -0
  69. package/dist/models/v1/kakaotalk-button/kakaotalk-button.js +3 -0
  70. package/dist/models/v1/kakaotalk-button/kakaotalk-button.js.map +1 -0
  71. package/dist/models/v1/kakaotalk-carousel/index.d.ts +1 -0
  72. package/dist/models/v1/kakaotalk-carousel/index.js.map +1 -0
  73. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.d.ts +38 -0
  74. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js +3 -0
  75. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js.map +1 -0
  76. package/dist/models/v1/kakaotalk-carousel-commerce/index.d.ts +1 -0
  77. package/dist/models/v1/kakaotalk-carousel-commerce/index.js.map +1 -0
  78. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.d.ts +12 -0
  79. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js +3 -0
  80. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js.map +1 -0
  81. package/dist/models/v1/kakaotalk-commerce/index.d.ts +1 -0
  82. package/dist/models/v1/kakaotalk-commerce/index.js +3 -0
  83. package/dist/models/v1/kakaotalk-commerce/index.js.map +1 -0
  84. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.d.ts +7 -0
  85. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js +3 -0
  86. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js.map +1 -0
  87. package/dist/models/v1/kakaotalk-coupon/index.d.ts +1 -0
  88. package/dist/models/v1/kakaotalk-coupon/index.js +3 -0
  89. package/dist/models/v1/kakaotalk-coupon/index.js.map +1 -0
  90. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.d.ts +79 -0
  91. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js +3 -0
  92. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js.map +1 -0
  93. package/dist/models/v1/kakaotalk-image/index.d.ts +1 -0
  94. package/dist/models/v1/kakaotalk-image/index.js +3 -0
  95. package/dist/models/v1/kakaotalk-image/index.js.map +1 -0
  96. package/dist/models/v1/kakaotalk-image/kakaotalk-image.d.ts +6 -0
  97. package/dist/models/v1/kakaotalk-image/kakaotalk-image.js +3 -0
  98. package/dist/models/v1/kakaotalk-image/kakaotalk-image.js.map +1 -0
  99. package/dist/models/v1/kakaotalk-message/index.d.ts +1 -0
  100. package/dist/models/v1/kakaotalk-message/index.js +3 -0
  101. package/dist/models/v1/kakaotalk-message/index.js.map +1 -0
  102. package/dist/models/v1/kakaotalk-message/kakaotalk-message.d.ts +16 -0
  103. package/dist/models/v1/kakaotalk-message/kakaotalk-message.js +3 -0
  104. package/dist/models/v1/kakaotalk-message/kakaotalk-message.js.map +1 -0
  105. package/dist/models/v1/kakaotalk-pricing/index.d.ts +1 -0
  106. package/dist/models/v1/kakaotalk-pricing/index.js +3 -0
  107. package/dist/models/v1/kakaotalk-pricing/index.js.map +1 -0
  108. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.d.ts +33 -0
  109. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js +3 -0
  110. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js.map +1 -0
  111. package/dist/models/v1/line-notification-template/index.d.ts +1 -0
  112. package/dist/models/v1/line-notification-template/index.js +3 -0
  113. package/dist/models/v1/line-notification-template/index.js.map +1 -0
  114. package/dist/models/v1/line-notification-template/line-notification-template.d.ts +10 -0
  115. package/dist/models/v1/line-notification-template/line-notification-template.js +3 -0
  116. package/dist/models/v1/line-notification-template/line-notification-template.js.map +1 -0
  117. package/dist/models/v1/line-notification-template-body/index.d.ts +1 -0
  118. package/dist/models/v1/line-notification-template-body/index.js +3 -0
  119. package/dist/models/v1/line-notification-template-body/index.js.map +1 -0
  120. package/dist/models/v1/line-notification-template-body/line-notification-template-body.d.ts +13 -0
  121. package/dist/models/v1/line-notification-template-body/line-notification-template-body.js +3 -0
  122. package/dist/models/v1/line-notification-template-body/line-notification-template-body.js.map +1 -0
  123. package/dist/models/v1/line-notification-template-button/index.d.ts +1 -0
  124. package/dist/models/v1/line-notification-template-button/index.js +3 -0
  125. package/dist/models/v1/line-notification-template-button/index.js.map +1 -0
  126. package/dist/models/v1/line-notification-template-button/line-notification-template-button.d.ts +9 -0
  127. package/dist/models/v1/line-notification-template-button/line-notification-template-button.js +3 -0
  128. package/dist/models/v1/line-notification-template-button/line-notification-template-button.js.map +1 -0
  129. package/dist/models/v1/line-notification-template-item/index.d.ts +1 -0
  130. package/dist/models/v1/line-notification-template-item/index.js +3 -0
  131. package/dist/models/v1/line-notification-template-item/index.js.map +1 -0
  132. package/dist/models/v1/line-notification-template-item/line-notification-template-item.d.ts +9 -0
  133. package/dist/models/v1/line-notification-template-item/line-notification-template-item.js +3 -0
  134. package/dist/models/v1/line-notification-template-item/line-notification-template-item.js.map +1 -0
  135. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.d.ts +1 -0
  136. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js +3 -0
  137. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js.map +1 -0
  138. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.d.ts +29 -0
  139. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js +3 -0
  140. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js.map +1 -0
  141. package/dist/models/v1/list-message/list-message.d.ts +6 -1
  142. package/dist/models/v1/list-section/list-section.d.ts +1 -1
  143. package/dist/models/v1/media-message/index.d.ts +1 -1
  144. package/dist/models/v1/media-message/media-message.d.ts +2 -2
  145. package/dist/models/v1/mod-callback-events/capability-event/capability-event.d.ts +1 -1
  146. package/dist/models/v1/mod-callback-events/conversation-callback-event/conversation-callback-event.d.ts +2 -2
  147. package/dist/models/v1/mod-callback-events/event-inbound/event-inbound.d.ts +30 -3
  148. package/dist/models/v1/mod-callback-events/event-inbound/index.d.ts +1 -1
  149. package/dist/models/v1/mod-callback-events/smart-conversations-event/smart-conversations-event.d.ts +6 -3
  150. package/dist/models/v1/mod-credentials/index.d.ts +1 -0
  151. package/dist/models/v1/mod-credentials/index.js +1 -0
  152. package/dist/models/v1/mod-credentials/index.js.map +1 -1
  153. package/dist/models/v1/mod-credentials/line-credentials/line-credentials.d.ts +3 -1
  154. package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.d.ts +1 -0
  155. package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.js +3 -0
  156. package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.js.map +1 -0
  157. package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.d.ts +24 -0
  158. package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.js +3 -0
  159. package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.js.map +1 -0
  160. package/dist/models/v1/project-settings/index.d.ts +1 -0
  161. package/dist/models/v1/project-settings/index.js +3 -0
  162. package/dist/models/v1/project-settings/index.js.map +1 -0
  163. package/dist/models/v1/project-settings/project-settings.d.ts +10 -0
  164. package/dist/models/v1/project-settings/project-settings.js +3 -0
  165. package/dist/models/v1/project-settings/project-settings.js.map +1 -0
  166. package/dist/models/v1/project-settings-request/index.d.ts +1 -0
  167. package/dist/models/v1/project-settings-request/index.js +3 -0
  168. package/dist/models/v1/project-settings-request/index.js.map +1 -0
  169. package/dist/models/v1/project-settings-request/project-settings-request.d.ts +10 -0
  170. package/dist/models/v1/project-settings-request/project-settings-request.js +3 -0
  171. package/dist/models/v1/project-settings-request/project-settings-request.js.map +1 -0
  172. package/dist/models/v1/queue-stats/queue-stats.d.ts +2 -2
  173. package/dist/models/v1/requests/consents/consents-request-data.d.ts +17 -0
  174. package/dist/models/v1/requests/consents/consents-request-data.js +3 -0
  175. package/dist/models/v1/requests/consents/consents-request-data.js.map +1 -0
  176. package/dist/models/v1/requests/contact/contact-request-data.d.ts +9 -3
  177. package/dist/models/v1/requests/conversation/conversation-request-data.d.ts +1 -1
  178. package/dist/models/v1/requests/index.d.ts +2 -0
  179. package/dist/models/v1/requests/index.js +2 -0
  180. package/dist/models/v1/requests/index.js.map +1 -1
  181. package/dist/models/v1/requests/messages/messages-request-data.d.ts +9 -2
  182. package/dist/models/v1/requests/project-settings/project-settings-request-data.d.ts +13 -0
  183. package/dist/models/v1/{flow-channel-specific-message/flow-channel-specific-message.js → requests/project-settings/project-settings-request-data.js} +1 -1
  184. package/dist/models/v1/requests/project-settings/project-settings-request-data.js.map +1 -0
  185. package/dist/models/v1/retention-policy/retention-policy.d.ts +1 -1
  186. package/dist/models/v1/runtime-error/index.d.ts +1 -1
  187. package/dist/models/v1/runtime-error/runtime-error.d.ts +3 -1
  188. package/dist/models/v1/send-message-request/send-message-request.d.ts +6 -4
  189. package/dist/models/v1/share-location-message/index.d.ts +1 -0
  190. package/dist/models/v1/share-location-message/index.js +3 -0
  191. package/dist/models/v1/share-location-message/index.js.map +1 -0
  192. package/dist/models/v1/share-location-message/share-location-message.d.ts +6 -0
  193. package/dist/models/v1/{media-carousel-message/media-carousel-message.js → share-location-message/share-location-message.js} +1 -1
  194. package/dist/models/v1/share-location-message/share-location-message.js.map +1 -0
  195. package/dist/models/v1/smart-conversation/smart-conversation.d.ts +1 -1
  196. package/dist/models/v1/template-message/template-message.d.ts +6 -3
  197. package/dist/models/v1/template-reference/index.d.ts +1 -1
  198. package/dist/models/v1/template-reference/template-reference.d.ts +15 -3
  199. package/dist/models/v1/webhook/webhook.d.ts +3 -3
  200. package/dist/models/v1/webhook-trigger/webhook-trigger.d.ts +1 -0
  201. package/dist/models/v1/whatsapp-flow/index.d.ts +1 -0
  202. package/dist/models/v1/whatsapp-flow/index.js +3 -0
  203. package/dist/models/v1/whatsapp-flow/index.js.map +1 -0
  204. package/dist/models/v1/whatsapp-flow/whatsapp-flow.d.ts +28 -0
  205. package/dist/models/v1/whatsapp-flow/whatsapp-flow.js +3 -0
  206. package/dist/models/v1/whatsapp-flow/whatsapp-flow.js.map +1 -0
  207. package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.d.ts +5 -0
  208. package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.js +22 -0
  209. package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.js.map +1 -0
  210. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/index.js +3 -0
  211. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/index.js.map +1 -0
  212. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/whatsapp-interactive-document-header.js.map +1 -0
  213. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/index.js +3 -0
  214. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/index.js.map +1 -0
  215. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/whatsapp-interactive-header-media.js.map +1 -0
  216. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/index.js +3 -0
  217. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/index.js.map +1 -0
  218. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/whatsapp-interactive-image-header.js.map +1 -0
  219. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/index.js +3 -0
  220. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/index.js.map +1 -0
  221. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/whatsapp-interactive-text-header.js.map +1 -0
  222. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/index.js +3 -0
  223. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/index.js.map +1 -0
  224. package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/whatsapp-interactive-video-header.js.map +1 -0
  225. package/dist/models/v1/whatsapp-interactive-message-base/common/index.d.ts +4 -0
  226. package/dist/models/v1/whatsapp-interactive-message-base/common/index.js +21 -0
  227. package/dist/models/v1/whatsapp-interactive-message-base/common/index.js.map +1 -0
  228. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/index.js +3 -0
  229. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/index.js.map +1 -0
  230. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/whatsapp-interactive-body.js.map +1 -0
  231. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/index.js +3 -0
  232. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/index.js.map +1 -0
  233. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/whatsapp-interactive-footer.js.map +1 -0
  234. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.d.ts +1 -0
  235. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.js +3 -0
  236. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.js.map +1 -0
  237. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.d.ts +4 -0
  238. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.js +3 -0
  239. package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.js.map +1 -0
  240. package/dist/models/v1/whatsapp-interactive-message-base/index.d.ts +2 -0
  241. package/dist/models/v1/whatsapp-interactive-message-base/index.js +18 -0
  242. package/dist/models/v1/whatsapp-interactive-message-base/index.js.map +1 -0
  243. package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.d.ts +9 -0
  244. package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.js +3 -0
  245. package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.js.map +1 -0
  246. package/dist/models/v1/whatsapp-payment-order-details/index.d.ts +1 -0
  247. package/dist/models/v1/whatsapp-payment-order-details/index.js +3 -0
  248. package/dist/models/v1/whatsapp-payment-order-details/index.js.map +1 -0
  249. package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.d.ts +117 -0
  250. package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.js +3 -0
  251. package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.js.map +1 -0
  252. package/dist/models/v1/whatsapp-payment-order-status/index.d.ts +1 -0
  253. package/dist/models/v1/whatsapp-payment-order-status/index.js +3 -0
  254. package/dist/models/v1/whatsapp-payment-order-status/index.js.map +1 -0
  255. package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.d.ts +32 -0
  256. package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.js +3 -0
  257. package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.js.map +1 -0
  258. package/dist/rest/v1/app/app-api.d.ts +4 -9
  259. package/dist/rest/v1/app/app-api.js +4 -14
  260. package/dist/rest/v1/app/app-api.js.map +1 -1
  261. package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +7 -0
  262. package/dist/rest/v1/callbacks/callbacks-webhook.js +13 -0
  263. package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
  264. package/dist/rest/v1/capability/capability-api.d.ts +2 -7
  265. package/dist/rest/v1/capability/capability-api.js +2 -8
  266. package/dist/rest/v1/capability/capability-api.js.map +1 -1
  267. package/dist/rest/v1/consents/consents-api.d.ts +20 -0
  268. package/dist/rest/v1/consents/consents-api.jest.fixture.d.ts +13 -0
  269. package/dist/rest/v1/consents/consents-api.jest.fixture.js +17 -0
  270. package/dist/rest/v1/consents/consents-api.jest.fixture.js.map +1 -0
  271. package/dist/rest/v1/consents/consents-api.js +61 -0
  272. package/dist/rest/v1/consents/consents-api.js.map +1 -0
  273. package/dist/rest/v1/consents/index.d.ts +2 -0
  274. package/dist/rest/v1/consents/index.js +19 -0
  275. package/dist/rest/v1/consents/index.js.map +1 -0
  276. package/dist/rest/v1/contact/contact-api.d.ts +13 -10
  277. package/dist/rest/v1/contact/contact-api.jest.fixture.d.ts +5 -1
  278. package/dist/rest/v1/contact/contact-api.jest.fixture.js +4 -0
  279. package/dist/rest/v1/contact/contact-api.jest.fixture.js.map +1 -1
  280. package/dist/rest/v1/contact/contact-api.js +31 -16
  281. package/dist/rest/v1/contact/contact-api.js.map +1 -1
  282. package/dist/rest/v1/conversation/conversation-api.d.ts +5 -9
  283. package/dist/rest/v1/conversation/conversation-api.js +4 -18
  284. package/dist/rest/v1/conversation/conversation-api.js.map +1 -1
  285. package/dist/rest/v1/conversation-domain-api.d.ts +13 -14
  286. package/dist/rest/v1/conversation-domain-api.js +29 -52
  287. package/dist/rest/v1/conversation-domain-api.js.map +1 -1
  288. package/dist/rest/v1/conversation-service.d.ts +31 -2
  289. package/dist/rest/v1/conversation-service.js +126 -32
  290. package/dist/rest/v1/conversation-service.js.map +1 -1
  291. package/dist/rest/v1/events/events-api.d.ts +4 -8
  292. package/dist/rest/v1/events/events-api.js +3 -12
  293. package/dist/rest/v1/events/events-api.js.map +1 -1
  294. package/dist/rest/v1/index.d.ts +3 -0
  295. package/dist/rest/v1/index.js +3 -0
  296. package/dist/rest/v1/index.js.map +1 -1
  297. package/dist/rest/v1/messages/messages-api.d.ts +13 -11
  298. package/dist/rest/v1/messages/messages-api.jest.fixture.d.ts +7 -1
  299. package/dist/rest/v1/messages/messages-api.jest.fixture.js +4 -0
  300. package/dist/rest/v1/messages/messages-api.jest.fixture.js.map +1 -1
  301. package/dist/rest/v1/messages/messages-api.js +33 -16
  302. package/dist/rest/v1/messages/messages-api.js.map +1 -1
  303. package/dist/rest/v1/project-settings/index.d.ts +2 -0
  304. package/dist/rest/v1/project-settings/index.js +19 -0
  305. package/dist/rest/v1/project-settings/index.js.map +1 -0
  306. package/dist/rest/v1/project-settings/project-settings-api.d.ts +30 -0
  307. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.d.ts +20 -0
  308. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js +25 -0
  309. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js.map +1 -0
  310. package/dist/rest/v1/project-settings/project-settings-api.js +101 -0
  311. package/dist/rest/v1/project-settings/project-settings-api.js.map +1 -0
  312. package/dist/rest/v1/templates-v1/templates-v1-api.d.ts +8 -8
  313. package/dist/rest/v1/templates-v1/templates-v1-api.js +8 -13
  314. package/dist/rest/v1/templates-v1/templates-v1-api.js.map +1 -1
  315. package/dist/rest/v1/templates-v2/templates-v2-api.d.ts +3 -8
  316. package/dist/rest/v1/templates-v2/templates-v2-api.js +3 -14
  317. package/dist/rest/v1/templates-v2/templates-v2-api.js.map +1 -1
  318. package/dist/rest/v1/transcoding/transcoding-api.d.ts +2 -7
  319. package/dist/rest/v1/transcoding/transcoding-api.js +2 -8
  320. package/dist/rest/v1/transcoding/transcoding-api.js.map +1 -1
  321. package/dist/rest/v1/webhooks/webhooks-api.d.ts +2 -7
  322. package/dist/rest/v1/webhooks/webhooks-api.js +2 -12
  323. package/dist/rest/v1/webhooks/webhooks-api.js.map +1 -1
  324. package/package.json +2 -2
  325. package/dist/models/v1/flow-channel-specific-message/flow-channel-specific-message.d.ts +0 -37
  326. package/dist/models/v1/flow-channel-specific-message/flow-channel-specific-message.js.map +0 -1
  327. package/dist/models/v1/flow-channel-specific-message/index.d.ts +0 -1
  328. package/dist/models/v1/flow-channel-specific-message/index.js.map +0 -1
  329. package/dist/models/v1/media-carousel-message/index.d.ts +0 -1
  330. package/dist/models/v1/media-carousel-message/index.js.map +0 -1
  331. package/dist/models/v1/media-carousel-message/media-carousel-message.d.ts +0 -7
  332. package/dist/models/v1/media-carousel-message/media-carousel-message.js.map +0 -1
  333. package/dist/models/v1/whatsapp-interactive-body/index.js.map +0 -1
  334. package/dist/models/v1/whatsapp-interactive-body/whatsapp-interactive-body.js.map +0 -1
  335. package/dist/models/v1/whatsapp-interactive-document-header/index.js.map +0 -1
  336. package/dist/models/v1/whatsapp-interactive-document-header/whatsapp-interactive-document-header.js.map +0 -1
  337. package/dist/models/v1/whatsapp-interactive-footer/index.js.map +0 -1
  338. package/dist/models/v1/whatsapp-interactive-footer/whatsapp-interactive-footer.js.map +0 -1
  339. package/dist/models/v1/whatsapp-interactive-header-media/index.js.map +0 -1
  340. package/dist/models/v1/whatsapp-interactive-header-media/whatsapp-interactive-header-media.js.map +0 -1
  341. package/dist/models/v1/whatsapp-interactive-image-header/index.js.map +0 -1
  342. package/dist/models/v1/whatsapp-interactive-image-header/whatsapp-interactive-image-header.js.map +0 -1
  343. package/dist/models/v1/whatsapp-interactive-text-header/index.js.map +0 -1
  344. package/dist/models/v1/whatsapp-interactive-text-header/whatsapp-interactive-text-header.js.map +0 -1
  345. package/dist/models/v1/whatsapp-interactive-video-header/index.js.map +0 -1
  346. package/dist/models/v1/whatsapp-interactive-video-header/whatsapp-interactive-video-header.js.map +0 -1
  347. /package/dist/models/v1/{flow-channel-specific-message → audit-record}/index.js +0 -0
  348. /package/dist/models/v1/{media-carousel-message → audit-records-list}/index.js +0 -0
  349. /package/dist/models/v1/{whatsapp-interactive-body → calendar-message}/index.js +0 -0
  350. /package/dist/models/v1/{whatsapp-interactive-document-header → consent-identity}/index.js +0 -0
  351. /package/dist/models/v1/{whatsapp-interactive-footer → contact-settings}/index.js +0 -0
  352. /package/dist/models/v1/{whatsapp-interactive-header-media → identity-conflict}/index.js +0 -0
  353. /package/dist/models/v1/{whatsapp-interactive-image-header → kakaotalk-button}/index.js +0 -0
  354. /package/dist/models/v1/{whatsapp-interactive-video-header → kakaotalk-carousel}/index.js +0 -0
  355. /package/dist/models/v1/{whatsapp-interactive-text-header → kakaotalk-carousel-commerce}/index.js +0 -0
  356. /package/dist/models/v1/{whatsapp-interactive-document-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header}/index.d.ts +0 -0
  357. /package/dist/models/v1/{whatsapp-interactive-document-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header}/whatsapp-interactive-document-header.d.ts +0 -0
  358. /package/dist/models/v1/{whatsapp-interactive-document-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header}/whatsapp-interactive-document-header.js +0 -0
  359. /package/dist/models/v1/{whatsapp-interactive-header-media → whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media}/index.d.ts +0 -0
  360. /package/dist/models/v1/{whatsapp-interactive-header-media → whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media}/whatsapp-interactive-header-media.d.ts +0 -0
  361. /package/dist/models/v1/{whatsapp-interactive-header-media → whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media}/whatsapp-interactive-header-media.js +0 -0
  362. /package/dist/models/v1/{whatsapp-interactive-image-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header}/index.d.ts +0 -0
  363. /package/dist/models/v1/{whatsapp-interactive-image-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header}/whatsapp-interactive-image-header.d.ts +0 -0
  364. /package/dist/models/v1/{whatsapp-interactive-image-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header}/whatsapp-interactive-image-header.js +0 -0
  365. /package/dist/models/v1/{whatsapp-interactive-text-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header}/index.d.ts +0 -0
  366. /package/dist/models/v1/{whatsapp-interactive-text-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header}/whatsapp-interactive-text-header.d.ts +0 -0
  367. /package/dist/models/v1/{whatsapp-interactive-text-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header}/whatsapp-interactive-text-header.js +0 -0
  368. /package/dist/models/v1/{whatsapp-interactive-video-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header}/index.d.ts +0 -0
  369. /package/dist/models/v1/{whatsapp-interactive-video-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header}/whatsapp-interactive-video-header.d.ts +0 -0
  370. /package/dist/models/v1/{whatsapp-interactive-video-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header}/whatsapp-interactive-video-header.js +0 -0
  371. /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/index.d.ts +0 -0
  372. /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/whatsapp-interactive-body.d.ts +0 -0
  373. /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/whatsapp-interactive-body.js +0 -0
  374. /package/dist/models/v1/{whatsapp-interactive-footer → whatsapp-interactive-message-base/common/whatsapp-interactive-footer}/index.d.ts +0 -0
  375. /package/dist/models/v1/{whatsapp-interactive-footer → whatsapp-interactive-message-base/common/whatsapp-interactive-footer}/whatsapp-interactive-footer.d.ts +0 -0
  376. /package/dist/models/v1/{whatsapp-interactive-footer → whatsapp-interactive-message-base/common/whatsapp-interactive-footer}/whatsapp-interactive-footer.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-flow/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import { WhatsAppInteractiveMessageBase } from '../whatsapp-interactive-message-base';
2
+ /** @deprecated */
3
+ export type FlowChannelSpecificMessage = WhatsAppFlow;
4
+ /**
5
+ * A message type for sending WhatsApp Flows.
6
+ */
7
+ export interface WhatsAppFlow extends WhatsAppInteractiveMessageBase {
8
+ /** ID of the Flow. */
9
+ flow_id: string;
10
+ /** Generated token which is an identifier. */
11
+ flow_token?: string;
12
+ /** The mode in which the flow is. */
13
+ flow_mode?: 'draft' | 'published';
14
+ /** Text which is displayed on the Call To Action button (20 characters maximum, emoji not supported). */
15
+ flow_cta: string;
16
+ /** */
17
+ flow_action?: 'navigate' | 'data_exchange';
18
+ /** @see FlowActionPayload */
19
+ flow_action_payload?: FlowActionPayload;
20
+ }
21
+ /** @deprecated */
22
+ export type FlowChannelSpecificMessageFlowActionPayload = FlowActionPayload;
23
+ export interface FlowActionPayload {
24
+ /** The ID of the screen displayed first. This must be an entry screen. */
25
+ screen?: string;
26
+ /** Data for the first screen. */
27
+ data?: object;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=whatsapp-flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-flow.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-flow/whatsapp-flow.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from './whatsapp-interactive-document-header';
2
+ export * from './whatsapp-interactive-image-header';
3
+ export * from './whatsapp-interactive-text-header';
4
+ export * from './whatsapp-interactive-video-header';
5
+ export * from './whatsapp-interactive-header-media';
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./whatsapp-interactive-document-header"), exports);
18
+ __exportStar(require("./whatsapp-interactive-image-header"), exports);
19
+ __exportStar(require("./whatsapp-interactive-text-header"), exports);
20
+ __exportStar(require("./whatsapp-interactive-video-header"), exports);
21
+ __exportStar(require("./whatsapp-interactive-header-media"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,sEAAoD;AACpD,qEAAmD;AACnD,sEAAoD;AACpD,sEAAoD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-document-header.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/whatsapp-interactive-document-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-header-media.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/whatsapp-interactive-header-media.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-image-header.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/whatsapp-interactive-image-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-text-header.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/whatsapp-interactive-text-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-video-header.js","sourceRoot":"","sources":["../../../../../../../src/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/whatsapp-interactive-video-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './header';
2
+ export * from './whatsapp-interactive-body';
3
+ export * from './whatsapp-interactive-footer';
4
+ export * from './whatsapp-interactive-header';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./header"), exports);
18
+ __exportStar(require("./whatsapp-interactive-body"), exports);
19
+ __exportStar(require("./whatsapp-interactive-footer"), exports);
20
+ __exportStar(require("./whatsapp-interactive-header"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/v1/whatsapp-interactive-message-base/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,8DAA4C;AAC5C,gEAA8C;AAC9C,gEAA8C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-body.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/whatsapp-interactive-body.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-footer.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/whatsapp-interactive-footer.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export { WhatsAppInteractiveHeader, WhatsappInteractiveHeader } from './whatsapp-interactive-header';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { WhatsAppInteractiveDocumentHeader, WhatsAppInteractiveImageHeader, WhatsAppInteractiveTextHeader, WhatsAppInteractiveVideoHeader } from '../header';
2
+ /** @deprecated */
3
+ export type WhatsappInteractiveHeader = WhatsAppInteractiveHeader;
4
+ export type WhatsAppInteractiveHeader = WhatsAppInteractiveTextHeader | WhatsAppInteractiveImageHeader | WhatsAppInteractiveDocumentHeader | WhatsAppInteractiveVideoHeader;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=whatsapp-interactive-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-header.js","sourceRoot":"","sources":["../../../../../../src/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export type { WhatsAppInteractiveMessageBase } from './whatsapp-interactive-message-base';
2
+ export * from './common';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./common"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-message-base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,2CAAyB"}
@@ -0,0 +1,9 @@
1
+ import { WhatsAppInteractiveBody, WhatsAppInteractiveFooter, WhatsAppInteractiveHeader } from './common';
2
+ export interface WhatsAppInteractiveMessageBase {
3
+ /** @see WhatsAppInteractiveHeader */
4
+ header?: WhatsAppInteractiveHeader;
5
+ /** @see WhatsAppInteractiveBody */
6
+ body?: WhatsAppInteractiveBody;
7
+ /** @see WhatsAppInteractiveFooter */
8
+ footer?: WhatsAppInteractiveFooter;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=whatsapp-interactive-message-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-interactive-message-base.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { WhatsAppPaymentOrderDetails, OrderDetailsPayment, OrderDetailsPaymentOrder, OrderDetailsPaymentOrderItems, OrderDetailsPaymentSettings, OrderDetailsPaymentButton, PaymentOrderDetailsChannelSpecificMessage, PaymentOrderDetailsChannelSpecificMessagePayment, PaymentOrderDetailsChannelSpecificMessagePaymentOrder, PaymentOrderDetailsChannelSpecificMessagePaymentOrderItems, PaymentOrderDetailsChannelSpecificMessagePaymentPaymentSettings, PaymentOrderDetailsChannelSpecificMessagePaymentPaymentSettingsDynamicPix, DynamicPix, PaymentLink, Boleto, } from './whatsapp-payment-order-details';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-payment-order-details/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,117 @@
1
+ import { WhatsAppInteractiveMessageBase } from '../whatsapp-interactive-message-base';
2
+ /** @deprecated */
3
+ export type PaymentOrderDetailsChannelSpecificMessage = WhatsAppPaymentOrderDetails;
4
+ /**
5
+ * A message type for sending WhatsApp Payment Requests.
6
+ */
7
+ export interface WhatsAppPaymentOrderDetails extends WhatsAppInteractiveMessageBase {
8
+ /** @see OrderDetailsPayment */
9
+ payment: OrderDetailsPayment;
10
+ }
11
+ /** @deprecated */
12
+ export type PaymentOrderDetailsChannelSpecificMessagePayment = OrderDetailsPayment;
13
+ /**
14
+ * The payment order details content.
15
+ */
16
+ export interface OrderDetailsPayment {
17
+ /** The country/currency associated with the payment message. */
18
+ type: 'br' | 'sg' | string;
19
+ /** Unique reference ID. */
20
+ reference_id: string;
21
+ /** The type of good associated with this order. */
22
+ type_of_goods: 'digital-goods' | 'physical-goods' | string;
23
+ /** @deprecated Use `payment_buttons` instead
24
+ * @see OrderDetailsPaymentSettings */
25
+ payment_settings?: OrderDetailsPaymentSettings;
26
+ /** Array of payment buttons (1 to 2 items). */
27
+ payment_buttons?: OrderDetailsPaymentButton[];
28
+ /** Integer representing the total amount of the transaction. */
29
+ total_amount_value: number;
30
+ /** @see OrderDetailsPaymentOrder */
31
+ order: OrderDetailsPaymentOrder;
32
+ }
33
+ /** @deprecated */
34
+ export type PaymentOrderDetailsChannelSpecificMessagePaymentOrder = OrderDetailsPaymentOrder;
35
+ /**
36
+ * The payment order.
37
+ */
38
+ export interface OrderDetailsPaymentOrder {
39
+ /** Unique ID of the Facebook catalog being used by the business. */
40
+ catalog_id?: string;
41
+ /** UTC timestamp indicating when the order should expire. The timestamp must be given in seconds. The minimum threshold for the timestamp is 300 seconds.*/
42
+ expiration_time?: string;
43
+ /** Description of the expiration. */
44
+ expiration_description?: string;
45
+ /** Value representing the subtotal amount of this order. */
46
+ subtotal_value: number;
47
+ /** Value representing the tax amount for this order. */
48
+ tax_value: number;
49
+ /** Description of the tax for this order. */
50
+ tax_description?: string;
51
+ /** Value representing the shipping amount for this order. */
52
+ shipping_value?: number;
53
+ /** Shipping description for this order. */
54
+ shipping_description?: string;
55
+ /** Value of the discount for this order. */
56
+ discount_value?: number;
57
+ /** Description of the discount for this order. */
58
+ discount_description?: string;
59
+ /** Discount program name for this order. */
60
+ discount_program_name?: string;
61
+ /** The items list for this order. */
62
+ items: OrderDetailsPaymentOrderItems[];
63
+ }
64
+ /** @deprecated */
65
+ export type PaymentOrderDetailsChannelSpecificMessagePaymentOrderItems = OrderDetailsPaymentOrderItems;
66
+ export interface OrderDetailsPaymentOrderItems {
67
+ /** Unique ID of the retailer. */
68
+ retailer_id: string;
69
+ /** Item's name as displayed to the user. */
70
+ name: string;
71
+ /** Price per item. */
72
+ amount_value: number;
73
+ /** Number of items in this order. */
74
+ quantity: number;
75
+ /** Discounted price per item. */
76
+ sale_amount_value?: number;
77
+ }
78
+ /** @deprecated */
79
+ export type PaymentOrderDetailsChannelSpecificMessagePaymentPaymentSettings = OrderDetailsPaymentButton;
80
+ /**
81
+ * The payment settings.
82
+ * @deprecated
83
+ */
84
+ export interface OrderDetailsPaymentSettings {
85
+ /** @see DynamicPix */
86
+ dynamic_pix: DynamicPix;
87
+ }
88
+ export type OrderDetailsPaymentButton = DynamicPix | PaymentLink | Boleto;
89
+ /** @deprecated */
90
+ export type PaymentOrderDetailsChannelSpecificMessagePaymentPaymentSettingsDynamicPix = DynamicPix;
91
+ /**
92
+ * The dynamic Pix payment settings.
93
+ */
94
+ export interface DynamicPix {
95
+ /** The dynamic Pix code button identifier */
96
+ type: 'pix_dynamic_code';
97
+ /** The dynamic Pix code to be used by the buyer to pay. */
98
+ code: string;
99
+ /** Account holder name. */
100
+ merchant_name: string;
101
+ /** Pix key. */
102
+ key: string;
103
+ /** Pix key type. */
104
+ key_type: 'CPF' | 'CNPJ' | 'EMAIL' | 'PHONE' | 'EVP' | string;
105
+ }
106
+ export interface PaymentLink {
107
+ /** The payment link button identifier */
108
+ type: 'payment_link';
109
+ /** The payment link to be used by the buyer to pay. */
110
+ uri: string;
111
+ }
112
+ export interface Boleto {
113
+ /** The Boleto button identifier */
114
+ type: 'boleto';
115
+ /** The Boleto digitable line which will be copied to the clipboard when the user taps the Boleto button. */
116
+ digitable_line: string;
117
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=whatsapp-payment-order-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-payment-order-details.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { WhatsAppPaymentOrderStatus, OrderStatusPayment, OrderStatusPaymentDetails, PaymentOrderStatusChannelSpecificMessage, PaymentOrderStatusChannelSpecificMessagePayment, PaymentOrderStatusChannelSpecificMessagePaymentOrder, } from './whatsapp-payment-order-status';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-payment-order-status/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { WhatsAppInteractiveMessageBase } from '../whatsapp-interactive-message-base';
2
+ /** @deprecated */
3
+ export type PaymentOrderStatusChannelSpecificMessage = WhatsAppPaymentOrderStatus;
4
+ /**
5
+ * A message type for sending WhatsApp Payment Status Requests.
6
+ */
7
+ export interface WhatsAppPaymentOrderStatus extends WhatsAppInteractiveMessageBase {
8
+ /** @see OrderStatusPayment */
9
+ payment: OrderStatusPayment;
10
+ }
11
+ /** @deprecated */
12
+ export type PaymentOrderStatusChannelSpecificMessagePayment = OrderStatusPayment;
13
+ /**
14
+ * The payment order status message content
15
+ */
16
+ export interface OrderStatusPayment {
17
+ /** Unique ID used to query the current payment status. */
18
+ reference_id: string;
19
+ /** @see OrderStatusPaymentDetails */
20
+ order: OrderStatusPaymentDetails;
21
+ }
22
+ /** @deprecated */
23
+ export type PaymentOrderStatusChannelSpecificMessagePaymentOrder = OrderStatusPaymentDetails;
24
+ /**
25
+ * The payment order.
26
+ */
27
+ export interface OrderStatusPaymentDetails {
28
+ /** The new payment message status. */
29
+ status: 'pending' | 'processing' | 'partially-shipped' | 'shipped' | 'completed' | 'canceled';
30
+ /** The description of payment message status update (120 characters maximum). */
31
+ description?: string;
32
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=whatsapp-payment-order-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"whatsapp-payment-order-status.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.ts"],"names":[],"mappings":""}
@@ -1,13 +1,8 @@
1
- import { SinchClientParameters } from '@sinch/sdk-client';
2
1
  import { AppResponse, CreateAppRequestData, DeleteAppRequestData, GetAppRequestData, ListAppsRequestData, ListAppsResponse, UpdateAppRequestData } from '../../../models';
3
2
  import { ConversationDomainApi } from '../conversation-domain-api';
3
+ import { LazyConversationApiClient } from '../conversation-service';
4
4
  export declare class AppApi extends ConversationDomainApi {
5
- /**
6
- * Initialize your interface
7
- *
8
- * @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
9
- */
10
- constructor(sinchClientParameters: SinchClientParameters);
5
+ constructor(lazyApiClient: LazyConversationApiClient);
11
6
  /**
12
7
  * Create an app
13
8
  * You can create a new Conversation API app using the API. You can create an app for one or more channels at once. The ID of the app is generated at creation and will be returned in the response.
@@ -31,10 +26,10 @@ export declare class AppApi extends ConversationDomainApi {
31
26
  * Get a list of all apps in the specified project.
32
27
  * @param { ListAppsRequestData } data - The data to provide to the API call.
33
28
  */
34
- list(data: ListAppsRequestData): Promise<ListAppsResponse>;
29
+ list(data?: ListAppsRequestData): Promise<ListAppsResponse>;
35
30
  /**
36
31
  * Update an app
37
- * Updates a particular app as specified by the App ID. Note that this is a &#x60;PATCH&#x60; operation, so any specified field values will replace existing values. Therefore, **if you\&#39;d like to add additional configurations to an existing Conversation API app, ensure that you include existing values AND new values in the call**. For example, if you\&#39;d like to add new &#x60;channel_credentials&#x60;, you can [get](/docs/conversation/api-reference/conversation/tag/App/#tag/App/operation/App_GetApp) your existing Conversation API app, extract the existing &#x60;channel_credentials&#x60; list, append your new configuration to that list, and include the updated &#x60;channel_credentials&#x60; list in this update call.
32
+ * Updates a particular app as specified by the App ID. Note that this is a &#x60;PATCH&#x60; operation, so any specified field values will replace existing values. Therefore, **if you\&#39;d like to add additional configurations to an existing Conversation API app, ensure that you include existing values AND new values in the call**. For example, if you\&#39;d like to add new &#x60;channel_credentials&#x60;, you can [get](https://developers.sinch.com/docs/conversation/api-reference/conversation/tag/App/#tag/App/operation/App_GetApp) your existing Conversation API app, extract the existing &#x60;channel_credentials&#x60; list, append your new configuration to that list, and include the updated &#x60;channel_credentials&#x60; list in this update call.
38
33
  * @param { UpdateAppRequestData } data - The data to provide to the API call.
39
34
  */
40
35
  update(data: UpdateAppRequestData): Promise<AppResponse>;
@@ -3,13 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AppApi = void 0;
4
4
  const conversation_domain_api_1 = require("../conversation-domain-api");
5
5
  class AppApi extends conversation_domain_api_1.ConversationDomainApi {
6
- /**
7
- * Initialize your interface
8
- *
9
- * @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
10
- */
11
- constructor(sinchClientParameters) {
12
- super(sinchClientParameters, 'AppApi');
6
+ constructor(lazyApiClient) {
7
+ super(lazyApiClient, 'AppApi');
13
8
  }
14
9
  /**
15
10
  * Create an app
@@ -17,7 +12,6 @@ class AppApi extends conversation_domain_api_1.ConversationDomainApi {
17
12
  * @param { CreateAppRequestData } data - The data to provide to the API call.
18
13
  */
19
14
  async create(data) {
20
- this.client = this.getSinchClient();
21
15
  const getParams = this.client.extractQueryParams(data, []);
22
16
  const headers = {
23
17
  'Content-Type': 'application/json',
@@ -40,7 +34,6 @@ class AppApi extends conversation_domain_api_1.ConversationDomainApi {
40
34
  * @param { DeleteAppRequestData } data - The data to provide to the API call.
41
35
  */
42
36
  async delete(data) {
43
- this.client = this.getSinchClient();
44
37
  const getParams = this.client.extractQueryParams(data, []);
45
38
  const headers = {
46
39
  'Content-Type': 'application/json',
@@ -63,7 +56,6 @@ class AppApi extends conversation_domain_api_1.ConversationDomainApi {
63
56
  * @param { GetAppRequestData } data - The data to provide to the API call.
64
57
  */
65
58
  async get(data) {
66
- this.client = this.getSinchClient();
67
59
  const getParams = this.client.extractQueryParams(data, []);
68
60
  const headers = {
69
61
  'Content-Type': 'application/json',
@@ -86,8 +78,7 @@ class AppApi extends conversation_domain_api_1.ConversationDomainApi {
86
78
  * @param { ListAppsRequestData } data - The data to provide to the API call.
87
79
  */
88
80
  async list(data) {
89
- this.client = this.getSinchClient();
90
- const getParams = this.client.extractQueryParams(data, []);
81
+ const getParams = this.client.extractQueryParams(data ?? {}, []);
91
82
  const headers = {
92
83
  'Content-Type': 'application/json',
93
84
  'Accept': 'application/json',
@@ -105,11 +96,10 @@ class AppApi extends conversation_domain_api_1.ConversationDomainApi {
105
96
  }
106
97
  /**
107
98
  * Update an app
108
- * Updates a particular app as specified by the App ID. Note that this is a &#x60;PATCH&#x60; operation, so any specified field values will replace existing values. Therefore, **if you\&#39;d like to add additional configurations to an existing Conversation API app, ensure that you include existing values AND new values in the call**. For example, if you\&#39;d like to add new &#x60;channel_credentials&#x60;, you can [get](/docs/conversation/api-reference/conversation/tag/App/#tag/App/operation/App_GetApp) your existing Conversation API app, extract the existing &#x60;channel_credentials&#x60; list, append your new configuration to that list, and include the updated &#x60;channel_credentials&#x60; list in this update call.
99
+ * Updates a particular app as specified by the App ID. Note that this is a &#x60;PATCH&#x60; operation, so any specified field values will replace existing values. Therefore, **if you\&#39;d like to add additional configurations to an existing Conversation API app, ensure that you include existing values AND new values in the call**. For example, if you\&#39;d like to add new &#x60;channel_credentials&#x60;, you can [get](https://developers.sinch.com/docs/conversation/api-reference/conversation/tag/App/#tag/App/operation/App_GetApp) your existing Conversation API app, extract the existing &#x60;channel_credentials&#x60; list, append your new configuration to that list, and include the updated &#x60;channel_credentials&#x60; list in this update call.
109
100
  * @param { UpdateAppRequestData } data - The data to provide to the API call.
110
101
  */
111
102
  async update(data) {
112
- this.client = this.getSinchClient();
113
103
  const getParams = this.client.extractQueryParams(data, ['update_mask']);
114
104
  const headers = {
115
105
  'Content-Type': 'application/json',
@@ -1 +1 @@
1
- {"version":3,"file":"app-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/app/app-api.ts"],"names":[],"mappings":";;;AAaA,wEAAmE;AAEnE,MAAa,MAAO,SAAQ,+CAAqB;IAE/C;;;;OAIG;IACH,YAAY,qBAA4C;QACtD,KAAK,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CAAC,IAA0B;QAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACpC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAuB,IAAI,EAAE,EAAa,CAAC,CAAC;QAC5F,MAAM,OAAO,GAA0C;YACrD,cAAc,EAAE,kBAAkB;YAClC,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;QAEF,MAAM,IAAI,GAAgB,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7G,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,gBAAgB,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,OAAO,CAAC;QAE1H,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,CAAC,CAAC;QACpH,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAc;YAC1C,GAAG;YACH,cAAc;YACd,OAAO,EAAE,I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OAAO;YACrB,WAAW,EAAE,WAAW;SACzB,CAAC,CAAC;IACL,CAAC;CAEF;AA1ID,wBA0IC"}
@@ -45,5 +45,12 @@ export declare class ConversationCallbackWebhooks implements CallbackProcessor<C
45
45
  * @throws {Error} If the eventBody is not valid or cannot be parsed.
46
46
  */
47
47
  parseEvent(eventBody: any): ConversationWebhookEventParsed;
48
+ /**
49
+ * Static reviver for a Conversation Event.
50
+ * This method ensures the object can be treated as a Conversation Event.
51
+ * @param {any} eventBody - The event body containing the Conversation event notification.
52
+ * @return {ConversationWebhookEventParsed} - The parsed Conversation event object
53
+ */
54
+ static parseEvent(eventBody: any): ConversationWebhookEventParsed;
48
55
  }
49
56
  export {};