@sinch/conversation 1.3.0 → 1.4.1

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 (232) hide show
  1. package/dist/models/v1/audit-record/audit-record.d.ts +18 -0
  2. package/dist/models/v1/audit-record/audit-record.js +3 -0
  3. package/dist/models/v1/audit-record/audit-record.js.map +1 -0
  4. package/dist/models/v1/audit-record/index.d.ts +1 -0
  5. package/dist/models/v1/audit-record/index.js +3 -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 +3 -0
  12. package/dist/models/v1/audit-records-list/index.js.map +1 -0
  13. package/dist/models/v1/calendar-message/calendar-message.d.ts +14 -0
  14. package/dist/models/v1/calendar-message/calendar-message.js +3 -0
  15. package/dist/models/v1/calendar-message/calendar-message.js.map +1 -0
  16. package/dist/models/v1/calendar-message/index.d.ts +1 -0
  17. package/dist/models/v1/calendar-message/index.js +3 -0
  18. package/dist/models/v1/calendar-message/index.js.map +1 -0
  19. package/dist/models/v1/card-message/card-message.d.ts +7 -1
  20. package/dist/models/v1/card-message/index.d.ts +1 -1
  21. package/dist/models/v1/channel-identity/channel-identity.d.ts +1 -1
  22. package/dist/models/v1/channel-specific-message/channel-specific-message.d.ts +22 -1
  23. package/dist/models/v1/channel-specific-message/index.d.ts +1 -1
  24. package/dist/models/v1/choice/choice.d.ts +47 -1
  25. package/dist/models/v1/choice-item/choice-item.d.ts +1 -1
  26. package/dist/models/v1/choice-message/choice-message.d.ts +2 -2
  27. package/dist/models/v1/client-credentials/client-credentials.d.ts +6 -0
  28. package/dist/models/v1/consent-identity/consent-identity.d.ts +7 -0
  29. package/dist/models/v1/consent-identity/consent-identity.js +3 -0
  30. package/dist/models/v1/consent-identity/consent-identity.js.map +1 -0
  31. package/dist/models/v1/consent-identity/index.d.ts +1 -0
  32. package/dist/models/v1/consent-identity/index.js +3 -0
  33. package/dist/models/v1/consent-identity/index.js.map +1 -0
  34. package/dist/models/v1/contact-settings/contact-settings.d.ts +7 -0
  35. package/dist/models/v1/contact-settings/contact-settings.js +3 -0
  36. package/dist/models/v1/contact-settings/contact-settings.js.map +1 -0
  37. package/dist/models/v1/contact-settings/index.d.ts +1 -0
  38. package/dist/models/v1/contact-settings/index.js +3 -0
  39. package/dist/models/v1/contact-settings/index.js.map +1 -0
  40. package/dist/models/v1/conversation-channel/conversation-channel.d.ts +2 -2
  41. package/dist/models/v1/conversation-channel-credential/conversation-channel-credential.d.ts +3 -2
  42. package/dist/models/v1/conversation-message/conversation-message.d.ts +1 -1
  43. package/dist/models/v1/enums.d.ts +7 -1
  44. package/dist/models/v1/identity-conflict/identity-conflict.d.ts +8 -0
  45. package/dist/models/v1/identity-conflict/identity-conflict.js +3 -0
  46. package/dist/models/v1/identity-conflict/identity-conflict.js.map +1 -0
  47. package/dist/models/v1/identity-conflict/index.d.ts +1 -0
  48. package/dist/models/v1/identity-conflict/index.js +3 -0
  49. package/dist/models/v1/identity-conflict/index.js.map +1 -0
  50. package/dist/models/v1/index.d.ts +25 -3
  51. package/dist/models/v1/index.js +25 -3
  52. package/dist/models/v1/index.js.map +1 -1
  53. package/dist/models/v1/inject-message-request/inject-message-request.d.ts +1 -1
  54. package/dist/models/v1/kakaotalk-button/index.d.ts +1 -0
  55. package/dist/models/v1/kakaotalk-button/index.js +3 -0
  56. package/dist/models/v1/kakaotalk-button/index.js.map +1 -0
  57. package/dist/models/v1/kakaotalk-button/kakaotalk-button.d.ts +27 -0
  58. package/dist/models/v1/kakaotalk-button/kakaotalk-button.js +3 -0
  59. package/dist/models/v1/kakaotalk-button/kakaotalk-button.js.map +1 -0
  60. package/dist/models/v1/kakaotalk-carousel/index.d.ts +1 -0
  61. package/dist/models/v1/kakaotalk-carousel/index.js +3 -0
  62. package/dist/models/v1/kakaotalk-carousel/index.js.map +1 -0
  63. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.d.ts +38 -0
  64. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js +3 -0
  65. package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js.map +1 -0
  66. package/dist/models/v1/kakaotalk-carousel-commerce/index.d.ts +1 -0
  67. package/dist/models/v1/kakaotalk-carousel-commerce/index.js +3 -0
  68. package/dist/models/v1/kakaotalk-carousel-commerce/index.js.map +1 -0
  69. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.d.ts +12 -0
  70. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js +3 -0
  71. package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js.map +1 -0
  72. package/dist/models/v1/kakaotalk-commerce/index.d.ts +1 -0
  73. package/dist/models/v1/kakaotalk-commerce/index.js +3 -0
  74. package/dist/models/v1/kakaotalk-commerce/index.js.map +1 -0
  75. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.d.ts +7 -0
  76. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js +3 -0
  77. package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js.map +1 -0
  78. package/dist/models/v1/kakaotalk-coupon/index.d.ts +1 -0
  79. package/dist/models/v1/kakaotalk-coupon/index.js +3 -0
  80. package/dist/models/v1/kakaotalk-coupon/index.js.map +1 -0
  81. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.d.ts +79 -0
  82. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js +3 -0
  83. package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js.map +1 -0
  84. package/dist/models/v1/kakaotalk-image/index.d.ts +1 -0
  85. package/dist/models/v1/kakaotalk-image/index.js +3 -0
  86. package/dist/models/v1/kakaotalk-image/index.js.map +1 -0
  87. package/dist/models/v1/kakaotalk-image/kakaotalk-image.d.ts +6 -0
  88. package/dist/models/v1/kakaotalk-image/kakaotalk-image.js +3 -0
  89. package/dist/models/v1/kakaotalk-image/kakaotalk-image.js.map +1 -0
  90. package/dist/models/v1/kakaotalk-message/index.d.ts +1 -0
  91. package/dist/models/v1/kakaotalk-message/index.js +3 -0
  92. package/dist/models/v1/kakaotalk-message/index.js.map +1 -0
  93. package/dist/models/v1/kakaotalk-message/kakaotalk-message.d.ts +16 -0
  94. package/dist/models/v1/kakaotalk-message/kakaotalk-message.js +3 -0
  95. package/dist/models/v1/kakaotalk-message/kakaotalk-message.js.map +1 -0
  96. package/dist/models/v1/kakaotalk-pricing/index.d.ts +1 -0
  97. package/dist/models/v1/kakaotalk-pricing/index.js +3 -0
  98. package/dist/models/v1/kakaotalk-pricing/index.js.map +1 -0
  99. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.d.ts +33 -0
  100. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js +3 -0
  101. package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js.map +1 -0
  102. package/dist/models/v1/line-notification-template/index.d.ts +1 -0
  103. package/dist/models/v1/line-notification-template/index.js +3 -0
  104. package/dist/models/v1/line-notification-template/index.js.map +1 -0
  105. package/dist/models/v1/line-notification-template/line-notification-template.d.ts +10 -0
  106. package/dist/models/v1/line-notification-template/line-notification-template.js +3 -0
  107. package/dist/models/v1/line-notification-template/line-notification-template.js.map +1 -0
  108. package/dist/models/v1/line-notification-template-body/index.d.ts +1 -0
  109. package/dist/models/v1/line-notification-template-body/index.js +3 -0
  110. package/dist/models/v1/line-notification-template-body/index.js.map +1 -0
  111. package/dist/models/v1/line-notification-template-body/line-notification-template-body.d.ts +13 -0
  112. package/dist/models/v1/line-notification-template-body/line-notification-template-body.js +3 -0
  113. package/dist/models/v1/line-notification-template-body/line-notification-template-body.js.map +1 -0
  114. package/dist/models/v1/line-notification-template-button/index.d.ts +1 -0
  115. package/dist/models/v1/line-notification-template-button/index.js +3 -0
  116. package/dist/models/v1/line-notification-template-button/index.js.map +1 -0
  117. package/dist/models/v1/line-notification-template-button/line-notification-template-button.d.ts +9 -0
  118. package/dist/models/v1/line-notification-template-button/line-notification-template-button.js +3 -0
  119. package/dist/models/v1/line-notification-template-button/line-notification-template-button.js.map +1 -0
  120. package/dist/models/v1/line-notification-template-item/index.d.ts +1 -0
  121. package/dist/models/v1/line-notification-template-item/index.js +3 -0
  122. package/dist/models/v1/line-notification-template-item/index.js.map +1 -0
  123. package/dist/models/v1/line-notification-template-item/line-notification-template-item.d.ts +9 -0
  124. package/dist/models/v1/line-notification-template-item/line-notification-template-item.js +3 -0
  125. package/dist/models/v1/line-notification-template-item/line-notification-template-item.js.map +1 -0
  126. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.d.ts +1 -0
  127. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js +3 -0
  128. package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js.map +1 -0
  129. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.d.ts +29 -0
  130. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js +3 -0
  131. package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js.map +1 -0
  132. package/dist/models/v1/mod-callback-events/conversation-callback-event/conversation-callback-event.d.ts +2 -2
  133. package/dist/models/v1/project-settings/index.d.ts +1 -0
  134. package/dist/models/v1/project-settings/index.js +3 -0
  135. package/dist/models/v1/project-settings/index.js.map +1 -0
  136. package/dist/models/v1/project-settings/project-settings.d.ts +10 -0
  137. package/dist/models/v1/project-settings/project-settings.js +3 -0
  138. package/dist/models/v1/project-settings/project-settings.js.map +1 -0
  139. package/dist/models/v1/project-settings-request/index.d.ts +1 -0
  140. package/dist/models/v1/project-settings-request/index.js +3 -0
  141. package/dist/models/v1/project-settings-request/index.js.map +1 -0
  142. package/dist/models/v1/project-settings-request/project-settings-request.d.ts +10 -0
  143. package/dist/models/v1/project-settings-request/project-settings-request.js +3 -0
  144. package/dist/models/v1/project-settings-request/project-settings-request.js.map +1 -0
  145. package/dist/models/v1/requests/consents/consents-request-data.d.ts +17 -0
  146. package/dist/models/v1/requests/consents/consents-request-data.js +3 -0
  147. package/dist/models/v1/requests/consents/consents-request-data.js.map +1 -0
  148. package/dist/models/v1/requests/contact/contact-request-data.d.ts +6 -0
  149. package/dist/models/v1/requests/index.d.ts +2 -0
  150. package/dist/models/v1/requests/index.js +2 -0
  151. package/dist/models/v1/requests/index.js.map +1 -1
  152. package/dist/models/v1/requests/messages/messages-request-data.d.ts +8 -1
  153. package/dist/models/v1/requests/project-settings/project-settings-request-data.d.ts +13 -0
  154. package/dist/models/v1/requests/project-settings/project-settings-request-data.js +3 -0
  155. package/dist/models/v1/requests/project-settings/project-settings-request-data.js.map +1 -0
  156. package/dist/models/v1/send-message-request/send-message-request.d.ts +2 -2
  157. package/dist/models/v1/share-location-message/index.d.ts +1 -0
  158. package/dist/models/v1/share-location-message/index.js +3 -0
  159. package/dist/models/v1/share-location-message/index.js.map +1 -0
  160. package/dist/models/v1/share-location-message/share-location-message.d.ts +6 -0
  161. package/dist/models/v1/share-location-message/share-location-message.js +3 -0
  162. package/dist/models/v1/share-location-message/share-location-message.js.map +1 -0
  163. package/dist/models/v1/smart-conversation/smart-conversation.d.ts +1 -1
  164. package/dist/models/v1/whatsapp-payment-order-details/index.d.ts +1 -1
  165. package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.d.ts +25 -6
  166. package/dist/rest/v1/app/app-api.d.ts +3 -8
  167. package/dist/rest/v1/app/app-api.js +3 -13
  168. package/dist/rest/v1/app/app-api.js.map +1 -1
  169. package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +7 -0
  170. package/dist/rest/v1/callbacks/callbacks-webhook.js +10 -0
  171. package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
  172. package/dist/rest/v1/capability/capability-api.d.ts +2 -7
  173. package/dist/rest/v1/capability/capability-api.js +2 -8
  174. package/dist/rest/v1/capability/capability-api.js.map +1 -1
  175. package/dist/rest/v1/consents/consents-api.d.ts +20 -0
  176. package/dist/rest/v1/consents/consents-api.jest.fixture.d.ts +13 -0
  177. package/dist/rest/v1/consents/consents-api.jest.fixture.js +17 -0
  178. package/dist/rest/v1/consents/consents-api.jest.fixture.js.map +1 -0
  179. package/dist/rest/v1/consents/consents-api.js +61 -0
  180. package/dist/rest/v1/consents/consents-api.js.map +1 -0
  181. package/dist/rest/v1/consents/index.d.ts +2 -0
  182. package/dist/rest/v1/consents/index.js +19 -0
  183. package/dist/rest/v1/consents/index.js.map +1 -0
  184. package/dist/rest/v1/contact/contact-api.d.ts +12 -9
  185. package/dist/rest/v1/contact/contact-api.jest.fixture.d.ts +5 -1
  186. package/dist/rest/v1/contact/contact-api.jest.fixture.js +4 -0
  187. package/dist/rest/v1/contact/contact-api.jest.fixture.js.map +1 -1
  188. package/dist/rest/v1/contact/contact-api.js +30 -15
  189. package/dist/rest/v1/contact/contact-api.js.map +1 -1
  190. package/dist/rest/v1/conversation/conversation-api.d.ts +4 -8
  191. package/dist/rest/v1/conversation/conversation-api.js +3 -17
  192. package/dist/rest/v1/conversation/conversation-api.js.map +1 -1
  193. package/dist/rest/v1/conversation-domain-api.d.ts +12 -14
  194. package/dist/rest/v1/conversation-domain-api.js +25 -69
  195. package/dist/rest/v1/conversation-domain-api.js.map +1 -1
  196. package/dist/rest/v1/conversation-service.d.ts +31 -2
  197. package/dist/rest/v1/conversation-service.js +126 -32
  198. package/dist/rest/v1/conversation-service.js.map +1 -1
  199. package/dist/rest/v1/events/events-api.d.ts +4 -8
  200. package/dist/rest/v1/events/events-api.js +3 -12
  201. package/dist/rest/v1/events/events-api.js.map +1 -1
  202. package/dist/rest/v1/index.d.ts +3 -0
  203. package/dist/rest/v1/index.js +3 -0
  204. package/dist/rest/v1/index.js.map +1 -1
  205. package/dist/rest/v1/messages/messages-api.d.ts +12 -10
  206. package/dist/rest/v1/messages/messages-api.jest.fixture.d.ts +7 -1
  207. package/dist/rest/v1/messages/messages-api.jest.fixture.js +4 -0
  208. package/dist/rest/v1/messages/messages-api.jest.fixture.js.map +1 -1
  209. package/dist/rest/v1/messages/messages-api.js +32 -15
  210. package/dist/rest/v1/messages/messages-api.js.map +1 -1
  211. package/dist/rest/v1/project-settings/index.d.ts +2 -0
  212. package/dist/rest/v1/project-settings/index.js +19 -0
  213. package/dist/rest/v1/project-settings/index.js.map +1 -0
  214. package/dist/rest/v1/project-settings/project-settings-api.d.ts +30 -0
  215. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.d.ts +20 -0
  216. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js +25 -0
  217. package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js.map +1 -0
  218. package/dist/rest/v1/project-settings/project-settings-api.js +101 -0
  219. package/dist/rest/v1/project-settings/project-settings-api.js.map +1 -0
  220. package/dist/rest/v1/templates-v1/templates-v1-api.d.ts +8 -8
  221. package/dist/rest/v1/templates-v1/templates-v1-api.js +8 -13
  222. package/dist/rest/v1/templates-v1/templates-v1-api.js.map +1 -1
  223. package/dist/rest/v1/templates-v2/templates-v2-api.d.ts +3 -8
  224. package/dist/rest/v1/templates-v2/templates-v2-api.js +3 -14
  225. package/dist/rest/v1/templates-v2/templates-v2-api.js.map +1 -1
  226. package/dist/rest/v1/transcoding/transcoding-api.d.ts +2 -7
  227. package/dist/rest/v1/transcoding/transcoding-api.js +2 -8
  228. package/dist/rest/v1/transcoding/transcoding-api.js.map +1 -1
  229. package/dist/rest/v1/webhooks/webhooks-api.d.ts +2 -7
  230. package/dist/rest/v1/webhooks/webhooks-api.js +2 -12
  231. package/dist/rest/v1/webhooks/webhooks-api.js.map +1 -1
  232. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C;AAC7C,qEAAmD;AACnD,6DAA2C;AAC3C,2CAAyB;AACzB,gDAA8B;AAC9B,mDAAiC;AACjC,4DAA0C;AAC1C,uDAAqC;AACrC,kDAAgC;AAChC,wDAAsC;AACtC,wDAAsC;AACtC,oDAAkC;AAClC,4CAA0B;AAC1B,2DAAyC;AACzC,kDAAgC;AAChC,+CAA6B;AAC7B,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,0DAAwC;AACxC,iDAA+B;AAC/B,yDAAuC;AACvC,oEAAkD;AAClD,+DAA6C;AAC7C,uDAAqC;AACrC,yDAAuC;AACvC,gEAA8C;AAC9C,gDAA8B;AAC9B,gEAA8C;AAC9C,mEAAiD;AACjD,8DAA4C;AAC5C,qDAAmC;AACnC,kDAAgC;AAChC,gEAA8C;AAC9C,iEAA+C;AAC/C,kDAAgC;AAChC,sEAAoD;AACpD,0DAAwC;AACxC,2DAAyC;AACzC,uDAAqC;AACrC,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,qDAAmC;AACnC,uDAAqC;AACrC,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,iDAA+B;AAC/B,6DAA2C;AAC3C,iDAA+B;AAC/B,8DAA4C;AAC5C,+DAA6C;AAC7C,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,8DAA4C;AAC5C,+DAA6C;AAC7C,2DAAyC;AACzC,gDAA8B;AAC9B,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,gDAA8B;AAC9B,yDAAuC;AACvC,4DAA0C;AAC1C,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,mEAAiD;AACjD,sEAAoD;AACpD,mEAAiD;AACjD,kEAAgD;AAChD,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,wDAAsC;AACtC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,uDAAqC;AACrC,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C;AAC7C,qEAAmD;AACnD,6DAA2C;AAC3C,2CAAyB;AACzB,gDAA8B;AAC9B,mDAAiC;AACjC,4DAA0C;AAC1C,uDAAqC;AACrC,kDAAgC;AAChC,wDAAsC;AACtC,wDAAsC;AACtC,oDAAkC;AAClC,qDAAmC;AACnC,4CAA0B;AAC1B,2DAAyC;AACzC,kDAAgC;AAChC,+CAA6B;AAC7B,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,0DAAwC;AACxC,qDAAmC;AACnC,iDAA+B;AAC/B,yDAAuC;AACvC,oEAAkD;AAClD,+DAA6C;AAC7C,uDAAqC;AACrC,yDAAuC;AACvC,gEAA8C;AAC9C,gDAA8B;AAC9B,gEAA8C;AAC9C,mEAAiD;AACjD,8DAA4C;AAC5C,iDAA+B;AAC/B,qDAAmC;AACnC,kDAAgC;AAChC,gEAA8C;AAC9C,iEAA+C;AAC/C,kDAAgC;AAChC,sDAAoC;AACpC,sEAAoD;AACpD,0DAAwC;AACxC,2DAAyC;AACzC,qDAAmC;AACnC,uDAAqC;AACrC,gEAA8C;AAC9C,uDAAqC;AACrC,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,sDAAoC;AACpC,+DAA6C;AAC7C,oEAAkD;AAClD,sEAAoD;AACpD,oEAAkD;AAClD,uDAAqC;AACrC,mFAAiE;AACjE,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,uDAAqC;AACrC,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,iDAA+B;AAC/B,6DAA2C;AAC3C,qDAAmC;AACnC,6DAA2C;AAC3C,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,8DAA4C;AAC5C,+DAA6C;AAC7C,2DAAyC;AACzC,gDAA8B;AAC9B,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,gDAA8B;AAC9B,yDAAuC;AACvC,4DAA0C;AAC1C,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,mEAAiD;AACjD,sEAAoD;AACpD,mEAAiD;AACjD,kEAAgD;AAChD,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,wDAAsC;AACtC,oDAAkC"}
@@ -17,7 +17,7 @@ interface InjectMessageRequestBase {
17
17
  direction: ConversationDirection;
18
18
  /** The ID of the conversation. */
19
19
  conversation_id?: string;
20
- /** For Contact Messages the sender ID is the contact sent the message to. For App Messages the sender that was used to send the message, if applicable. */
20
+ /** For Contact Messages (MO messages), the sender ID represents the recipient to which the message was sent. This may be a phone number (in the case of SMS and MMS) or a unique ID (in the case of WhatsApp). This is field is not supported on all channels, nor is it supported for MT messages. */
21
21
  sender_id?: string;
22
22
  /** Whether or not Conversation API should store contacts and conversations for the app. For more information, see [Processing Modes](../../../../../conversation/processing-modes/). */
23
23
  processing_mode?: ProcessingMode;
@@ -0,0 +1 @@
1
+ export type { KakaoTalkButton, KakaoTalkWebLinkButton, KakaoTalkAppLinkButton, KakaoTalkBotKeywordButton, } from './kakaotalk-button';
@@ -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/kakaotalk-button/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ export type KakaoTalkButton = KakaoTalkWebLinkButton | KakaoTalkAppLinkButton | KakaoTalkBotKeywordButton;
2
+ export interface KakaoTalkWebLinkButton {
3
+ /** Button type */
4
+ type: 'WL';
5
+ /** Text displayed on the button */
6
+ name: string;
7
+ /** URL opened on a mobile device */
8
+ link_mo: string;
9
+ /** URL opened on a desktop device */
10
+ link_pc?: string;
11
+ }
12
+ export interface KakaoTalkAppLinkButton {
13
+ /** Button type */
14
+ type: 'AL';
15
+ /** Text displayed on the button */
16
+ name: string;
17
+ /** App link opened on an iOS device (e.g. tel://PHONE_NUMBER) */
18
+ scheme_ios: string;
19
+ /** App link opened on an Android device (e.g. tel://PHONE_NUMBER) */
20
+ scheme_android: string;
21
+ }
22
+ export interface KakaoTalkBotKeywordButton {
23
+ /** Button type */
24
+ type: 'BK';
25
+ /** Text displayed on the button */
26
+ name: string;
27
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-button.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-button/kakaotalk-button.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkCarousel, KakaoTalkCarouselHead, KakaoTalkCarouselTail, } from './kakaotalk-carousel';
@@ -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/kakaotalk-carousel/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ import { KakaoTalkMessage } from '../kakaotalk-message';
2
+ /**
3
+ * Carousel content
4
+ */
5
+ export interface KakaoTalkCarousel {
6
+ /** Carousel introduction */
7
+ head?: KakaoTalkCarouselHead;
8
+ /** List of carousel cards */
9
+ list: KakaoTalkMessage[];
10
+ /** "More" button */
11
+ tail?: KakaoTalkCarouselTail;
12
+ }
13
+ export interface KakaoTalkCarouselHead {
14
+ /** Carousel introduction title */
15
+ header: string;
16
+ /** Carousel introduction description */
17
+ content: string;
18
+ /** URL to the image displayed in the introduction */
19
+ image_url: string;
20
+ /** URL opened on a mobile device */
21
+ link_mo?: string;
22
+ /** URL opened on a desktop device */
23
+ link_pc?: string;
24
+ /** App link opened on an iOS device (e.g. `tel://PHONE_NUMBER`) */
25
+ scheme_ios?: string;
26
+ /** App link opened on an Android device (e.g. `tel://PHONE_NUMBER`) */
27
+ scheme_android?: string;
28
+ }
29
+ export interface KakaoTalkCarouselTail {
30
+ /** URL opened on a mobile device */
31
+ link_mo: string;
32
+ /** URL opened on a desktop device */
33
+ link_pc?: string;
34
+ /** App link opened on an iOS device (e.g. `tel://PHONE_NUMBER`) */
35
+ scheme_ios?: string;
36
+ /** App link opened on an Android device (e.g. `tel://PHONE_NUMBER`) */
37
+ scheme_android?: string;
38
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-carousel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-carousel.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-carousel/kakaotalk-carousel.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkCarouselCommerce } from './kakaotalk-carousel-commerce';
@@ -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/kakaotalk-carousel-commerce/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { KakaoTalkCarousel } from '../kakaotalk-carousel';
2
+ /**
3
+ * Carousel content
4
+ */
5
+ export interface KakaoTalkCarouselCommerce {
6
+ /** Set to `true` if a push alarm should be sent to a device. */
7
+ push_alarm?: boolean;
8
+ /** Set to `true` if a message contains adult content. Set to `false` by default. */
9
+ adult?: boolean;
10
+ /** @see KakaoTalkCarousel */
11
+ carousel: KakaoTalkCarousel;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-carousel-commerce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-carousel-commerce.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkCommerce } from './kakaotalk-commerce';
@@ -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/kakaotalk-commerce/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { KakaoTalkMessage } from '../kakaotalk-message';
2
+ export interface KakaoTalkCommerce extends KakaoTalkMessage {
3
+ /** Set to `true` if a push alarm should be sent to a device. */
4
+ push_alarm?: boolean;
5
+ /** Set to `true` if a message contains adult content. Set to `false` by default. */
6
+ adult?: boolean;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-commerce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-commerce.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-commerce/kakaotalk-commerce.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkCoupon, KakaoTalkFixedDiscountCoupon, KakaoTalkDiscountRateCoupon, KakaoTalkShippingDiscountCoupon, KakaoTalkFreeCoupon, KakaoTalkUPCoupon, } from './kakaotalk-coupon';
@@ -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/kakaotalk-coupon/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,79 @@
1
+ export type KakaoTalkCoupon = KakaoTalkFixedDiscountCoupon | KakaoTalkDiscountRateCoupon | KakaoTalkShippingDiscountCoupon | KakaoTalkFreeCoupon | KakaoTalkUPCoupon;
2
+ export interface KakaoTalkFixedDiscountCoupon {
3
+ /** Coupon type */
4
+ type: 'FIXED_DISCOUNT_COUPON';
5
+ /** Fixed discount */
6
+ discount_fixed: number;
7
+ /** Coupon description */
8
+ description?: string;
9
+ /** Coupon URL opened on a mobile device */
10
+ link_mo?: string;
11
+ /** Coupon URL opened on a desktop device */
12
+ link_pc?: string;
13
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
14
+ scheme_android?: string;
15
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
16
+ scheme_ios?: string;
17
+ }
18
+ export interface KakaoTalkDiscountRateCoupon {
19
+ /** Coupon type */
20
+ type: 'PERCENTAGE_DISCOUNT_COUPON';
21
+ /** Discount rate (%) */
22
+ discount_rate: number;
23
+ /** Coupon description */
24
+ description?: string;
25
+ /** Coupon URL opened on a mobile device */
26
+ link_mo?: string;
27
+ /** Coupon URL opened on a desktop device */
28
+ link_pc?: string;
29
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
30
+ scheme_android?: string;
31
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
32
+ scheme_ios?: string;
33
+ }
34
+ export interface KakaoTalkShippingDiscountCoupon {
35
+ /** Coupon type */
36
+ type: 'SHIPPING_DISCOUNT_COUPON';
37
+ /** Coupon description */
38
+ description?: string;
39
+ /** Coupon URL opened on a mobile device */
40
+ link_mo?: string;
41
+ /** Coupon URL opened on a desktop device */
42
+ link_pc?: string;
43
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
44
+ scheme_android?: string;
45
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
46
+ scheme_ios?: string;
47
+ }
48
+ export interface KakaoTalkFreeCoupon {
49
+ /** Coupon type */
50
+ type: 'FREE_COUPON';
51
+ /** Coupon title */
52
+ title: string;
53
+ /** Coupon description */
54
+ description?: string;
55
+ /** Coupon URL opened on a mobile device */
56
+ link_mo?: string;
57
+ /** Coupon URL opened on a desktop device */
58
+ link_pc?: string;
59
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
60
+ scheme_android?: string;
61
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
62
+ scheme_ios?: string;
63
+ }
64
+ export interface KakaoTalkUPCoupon {
65
+ /** Coupon type */
66
+ type: 'UP_COUPON';
67
+ /** Coupon title */
68
+ title: string;
69
+ /** Coupon description */
70
+ description?: string;
71
+ /** Coupon URL opened on a mobile device */
72
+ link_mo?: string;
73
+ /** Coupon URL opened on a desktop device */
74
+ link_pc?: string;
75
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
76
+ scheme_android?: string;
77
+ /** Channel coupon URL (format: alimtalk=coupon://...) */
78
+ scheme_ios?: string;
79
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-coupon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-coupon.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-coupon/kakaotalk-coupon.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkImage } from './kakaotalk-image';
@@ -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/kakaotalk-image/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface KakaoTalkImage {
2
+ /** URL to the product image */
3
+ image_url: string;
4
+ /** URL opened when a user clicks on the image */
5
+ image_link?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-image.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-image/kakaotalk-image.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkMessage } from './kakaotalk-message';
@@ -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/kakaotalk-message/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { KakaoTalkImage } from '../kakaotalk-image';
2
+ import { KakaoTalkPricing } from '../kakaotalk-pricing';
3
+ import { KakaoTalkButton } from '../kakaotalk-button';
4
+ import { KakaoTalkCoupon } from '../kakaotalk-coupon';
5
+ export interface KakaoTalkMessage {
6
+ /** Additional information */
7
+ additional_content?: string;
8
+ /** @see KakaoTalkCommerceImage */
9
+ image: KakaoTalkImage;
10
+ /** Product information */
11
+ commerce?: KakaoTalkPricing;
12
+ /** Buttons list */
13
+ buttons: KakaoTalkButton[];
14
+ /** Discount coupon */
15
+ coupon?: KakaoTalkCoupon;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakaotalk-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakaotalk-message.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-message/kakaotalk-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { KakaoTalkPricing, KakaoTalkRegularPriceCommerce, KakaoTalkDiscountFixedCommerce, KakaoTalkDiscountRateCommerce, } from './kakao-talk-pricing';
@@ -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/kakaotalk-pricing/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ export type KakaoTalkPricing = KakaoTalkRegularPriceCommerce | KakaoTalkDiscountFixedCommerce | KakaoTalkDiscountRateCommerce;
2
+ export interface KakaoTalkRegularPriceCommerce {
3
+ /** Commerce with regular price */
4
+ type: 'REGULAR_PRICE_COMMERCE';
5
+ /** Product title */
6
+ title: string;
7
+ /** Regular price of the product */
8
+ regular_price: number;
9
+ }
10
+ export interface KakaoTalkDiscountFixedCommerce {
11
+ /** Commerce with fixed discount */
12
+ type: 'FIXED_DISCOUNT_COMMERCE';
13
+ /** Product title */
14
+ title: string;
15
+ /** Regular price of the product */
16
+ regular_price: number;
17
+ /** Discounted price of the product */
18
+ discount_price: number;
19
+ /** Fixed discount */
20
+ discount_fixed: number;
21
+ }
22
+ export interface KakaoTalkDiscountRateCommerce {
23
+ /** Commerce with percentage discount */
24
+ type: 'PERCENTAGE_DISCOUNT_COMMERCE';
25
+ /** Product title */
26
+ title: string;
27
+ /** Regular price of the product */
28
+ regular_price: number;
29
+ /** Discounted price of the product */
30
+ discount_price: number;
31
+ /** Discount rate (%) */
32
+ discount_rate: number;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kakao-talk-pricing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kakao-talk-pricing.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-pricing/kakao-talk-pricing.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { LineNotificationTemplate } from './line-notification-template';
@@ -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/line-notification-template/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { LineNotificationTemplateBody } from '../line-notification-template-body';
2
+ /**
3
+ * A message type for sending LINE notification messages (template)
4
+ */
5
+ export interface LineNotificationTemplate {
6
+ /** Template key. See [LINE documentation](https://developers.line.biz/en/docs/partner-docs/line-notification-messages/template/?r=jp#templates) for available keys */
7
+ template_key: string;
8
+ /** @see LineNotificationTemplateBody */
9
+ body?: LineNotificationTemplateBody;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=line-notification-template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-notification-template.js","sourceRoot":"","sources":["../../../../src/models/v1/line-notification-template/line-notification-template.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { LineNotificationTemplateBody } from './line-notification-template-body';
@@ -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/line-notification-template-body/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { LineNotificationTemplateItem } from '../line-notification-template-item';
2
+ import { LineNotificationTemplateButton } from '../line-notification-template-button';
3
+ /**
4
+ * Template body
5
+ */
6
+ export interface LineNotificationTemplateBody {
7
+ /** Template emphasized item */
8
+ emphasized_item?: LineNotificationTemplateItem;
9
+ /** List of template items */
10
+ items?: LineNotificationTemplateItem[];
11
+ /** List of template buttons */
12
+ buttons?: LineNotificationTemplateButton[];
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=line-notification-template-body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-notification-template-body.js","sourceRoot":"","sources":["../../../../src/models/v1/line-notification-template-body/line-notification-template-body.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { LineNotificationTemplateButton } from './line-notification-template-button';
@@ -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/line-notification-template-button/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Template button
3
+ */
4
+ export interface LineNotificationTemplateButton {
5
+ /** Button key. See [LINE documentation](https://developers.line.biz/en/docs/partner-docs/line-notification-messages/template/?r=jp#buttons) for available keys */
6
+ button_key: string;
7
+ /** Button URL */
8
+ url: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=line-notification-template-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-notification-template-button.js","sourceRoot":"","sources":["../../../../src/models/v1/line-notification-template-button/line-notification-template-button.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { LineNotificationTemplateItem } from './line-notification-template-item';
@@ -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/line-notification-template-item/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Template item
3
+ */
4
+ export interface LineNotificationTemplateItem {
5
+ /** Item key. See [LINE documentation](https://developers.line.biz/en/docs/partner-docs/line-notification-messages/template/?r=jp#items) for available keys */
6
+ item_key: string;
7
+ /** Item value */
8
+ content: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=line-notification-template-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-notification-template-item.js","sourceRoot":"","sources":["../../../../src/models/v1/line-notification-template-item/line-notification-template-item.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { ListLastMessagesByChannelIdentityRequest } from './list-last-messages-by-channel-identity-request';
@@ -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/list-last-messages-by-channel-identity-request/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { ConversationChannel } from '../conversation-channel';
2
+ import { ConversationDirection, ConversationMessagesView, MessageSource } from '../enums';
3
+ /**
4
+ * Request body for listing messages by channel identity. NOTE: You can use either contact_ids OR channel_identities, but not both in the same request.
5
+ */
6
+ export interface ListLastMessagesByChannelIdentityRequest {
7
+ /** Optional. Filter messages by `channel_identity`. */
8
+ channel_identities?: string[];
9
+ /** Optional. Resource name (id) of the contact. In case the messages source is set to `CONVERSATION_SOURCE`: Can list last messages by contact_id. In case the messages source is set to `DISPATCH_SOURCE`: The field is unsupported and cannot be set. */
10
+ contact_ids?: string[];
11
+ /** Optional. Resource name (id) of the app. */
12
+ app_id?: string;
13
+ /** Optional. Specifies the message source for which the request will be processed. Default is `DISPATCH_SOURCE`. */
14
+ messages_source?: MessageSource;
15
+ /** Optional. Maximum number of messages to fetch. Defaults to 10 and the maximum is 1000. */
16
+ page_size?: number;
17
+ /** Optional. Next page token previously returned if any. */
18
+ page_token?: string;
19
+ /** Optional. Specifies the representation in which messages should be returned. Default to `WITH_METADATA`. */
20
+ view?: ConversationMessagesView;
21
+ /** Optional. Only fetch messages with `accept_time` after this date. */
22
+ start_time?: Date;
23
+ /** Optional. Only fetch messages with `accept_time` before this date. */
24
+ end_time?: Date;
25
+ /** Optional. Only fetch messages from the `channel`. */
26
+ channel?: ConversationChannel;
27
+ /** Optional. Only fetch messages with the specified `direction`. If direction is not specified, it will list both TO_APP and TO_CONTACT messages. */
28
+ direction?: ConversationDirection;
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-last-messages-by-channel-identity-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-last-messages-by-channel-identity-request.js","sourceRoot":"","sources":["../../../../src/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.ts"],"names":[],"mappings":""}