@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.
- package/dist/models/v1/app-message/app-message.d.ts +10 -7
- package/dist/models/v1/audit-record/audit-record.d.ts +18 -0
- package/dist/models/v1/audit-record/audit-record.js +3 -0
- package/dist/models/v1/audit-record/audit-record.js.map +1 -0
- package/dist/models/v1/audit-record/index.d.ts +1 -0
- package/dist/models/v1/audit-record/index.js.map +1 -0
- package/dist/models/v1/audit-records-list/audit-records-list.d.ts +8 -0
- package/dist/models/v1/audit-records-list/audit-records-list.js +3 -0
- package/dist/models/v1/audit-records-list/audit-records-list.js.map +1 -0
- package/dist/models/v1/audit-records-list/index.d.ts +1 -0
- package/dist/models/v1/audit-records-list/index.js.map +1 -0
- package/dist/models/v1/calendar-message/calendar-message.d.ts +14 -0
- package/dist/models/v1/calendar-message/calendar-message.js +3 -0
- package/dist/models/v1/calendar-message/calendar-message.js.map +1 -0
- package/dist/models/v1/calendar-message/index.d.ts +1 -0
- package/dist/models/v1/calendar-message/index.js.map +1 -0
- package/dist/models/v1/callback-settings/callback-settings.d.ts +1 -1
- package/dist/models/v1/card-message/card-message.d.ts +13 -4
- package/dist/models/v1/card-message/index.d.ts +1 -1
- package/dist/models/v1/carousel-message/carousel-message.d.ts +5 -2
- package/dist/models/v1/channel-identity/channel-identity.d.ts +1 -1
- package/dist/models/v1/channel-specific-contact-message/channel-specific-contact-message.d.ts +1 -1
- package/dist/models/v1/channel-specific-message/channel-specific-message.d.ts +40 -5
- package/dist/models/v1/channel-specific-message/index.d.ts +1 -1
- package/dist/models/v1/choice/choice.d.ts +47 -1
- package/dist/models/v1/choice-item/choice-item.d.ts +3 -3
- package/dist/models/v1/choice-message/choice-message.d.ts +8 -2
- package/dist/models/v1/client-credentials/client-credentials.d.ts +6 -0
- package/dist/models/v1/consent-identity/consent-identity.d.ts +7 -0
- package/dist/models/v1/consent-identity/consent-identity.js +3 -0
- package/dist/models/v1/consent-identity/consent-identity.js.map +1 -0
- package/dist/models/v1/consent-identity/index.d.ts +1 -0
- package/dist/models/v1/consent-identity/index.js.map +1 -0
- package/dist/models/v1/contact-create-request/contact-create-request.d.ts +1 -1
- package/dist/models/v1/contact-message/contact-message.d.ts +4 -4
- package/dist/models/v1/contact-message-event/contact-message-event.d.ts +47 -2
- package/dist/models/v1/contact-message-event/index.d.ts +1 -1
- package/dist/models/v1/contact-settings/contact-settings.d.ts +7 -0
- package/dist/models/v1/contact-settings/contact-settings.js +3 -0
- package/dist/models/v1/contact-settings/contact-settings.js.map +1 -0
- package/dist/models/v1/contact-settings/index.d.ts +1 -0
- package/dist/models/v1/contact-settings/index.js.map +1 -0
- package/dist/models/v1/conversation-channel/conversation-channel.d.ts +2 -2
- package/dist/models/v1/conversation-channel-credential/conversation-channel-credential.d.ts +18 -5
- package/dist/models/v1/conversation-channel-credential/index.d.ts +1 -1
- package/dist/models/v1/conversation-event/conversation-event.d.ts +1 -1
- package/dist/models/v1/conversation-message/conversation-message.d.ts +2 -2
- package/dist/models/v1/create-conversation-request/create-conversation-request.d.ts +7 -1
- package/dist/models/v1/delivery-report-based-fallback/delivery-report-based-fallback.d.ts +1 -1
- package/dist/models/v1/dispatch-retention-policy/dispatch-retention-policy.d.ts +2 -2
- package/dist/models/v1/enums.d.ts +29 -14
- package/dist/models/v1/helper.d.ts +5 -5
- package/dist/models/v1/helper.js.map +1 -1
- package/dist/models/v1/identified-by/identified-by.d.ts +4 -2
- package/dist/models/v1/identified-by/index.d.ts +1 -1
- package/dist/models/v1/identity-conflict/identity-conflict.d.ts +8 -0
- package/dist/models/v1/identity-conflict/identity-conflict.js +3 -0
- package/dist/models/v1/identity-conflict/identity-conflict.js.map +1 -0
- package/dist/models/v1/identity-conflict/index.d.ts +1 -0
- package/dist/models/v1/identity-conflict/index.js.map +1 -0
- package/dist/models/v1/index.d.ts +29 -12
- package/dist/models/v1/index.js +29 -12
- package/dist/models/v1/index.js.map +1 -1
- package/dist/models/v1/inject-conversation-event-request/inject-conversation-event-request.d.ts +1 -1
- package/dist/models/v1/inject-message-request/inject-message-request.d.ts +5 -7
- package/dist/models/v1/kakaotalk-button/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-button/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-button/kakaotalk-button.d.ts +27 -0
- package/dist/models/v1/kakaotalk-button/kakaotalk-button.js +3 -0
- package/dist/models/v1/kakaotalk-button/kakaotalk-button.js.map +1 -0
- package/dist/models/v1/kakaotalk-carousel/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-carousel/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.d.ts +38 -0
- package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js +3 -0
- package/dist/models/v1/kakaotalk-carousel/kakaotalk-carousel.js.map +1 -0
- package/dist/models/v1/kakaotalk-carousel-commerce/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-carousel-commerce/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.d.ts +12 -0
- package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js +3 -0
- package/dist/models/v1/kakaotalk-carousel-commerce/kakaotalk-carousel-commerce.js.map +1 -0
- package/dist/models/v1/kakaotalk-commerce/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-commerce/index.js +3 -0
- package/dist/models/v1/kakaotalk-commerce/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.d.ts +7 -0
- package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js +3 -0
- package/dist/models/v1/kakaotalk-commerce/kakaotalk-commerce.js.map +1 -0
- package/dist/models/v1/kakaotalk-coupon/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-coupon/index.js +3 -0
- package/dist/models/v1/kakaotalk-coupon/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.d.ts +79 -0
- package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js +3 -0
- package/dist/models/v1/kakaotalk-coupon/kakaotalk-coupon.js.map +1 -0
- package/dist/models/v1/kakaotalk-image/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-image/index.js +3 -0
- package/dist/models/v1/kakaotalk-image/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-image/kakaotalk-image.d.ts +6 -0
- package/dist/models/v1/kakaotalk-image/kakaotalk-image.js +3 -0
- package/dist/models/v1/kakaotalk-image/kakaotalk-image.js.map +1 -0
- package/dist/models/v1/kakaotalk-message/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-message/index.js +3 -0
- package/dist/models/v1/kakaotalk-message/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-message/kakaotalk-message.d.ts +16 -0
- package/dist/models/v1/kakaotalk-message/kakaotalk-message.js +3 -0
- package/dist/models/v1/kakaotalk-message/kakaotalk-message.js.map +1 -0
- package/dist/models/v1/kakaotalk-pricing/index.d.ts +1 -0
- package/dist/models/v1/kakaotalk-pricing/index.js +3 -0
- package/dist/models/v1/kakaotalk-pricing/index.js.map +1 -0
- package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.d.ts +33 -0
- package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js +3 -0
- package/dist/models/v1/kakaotalk-pricing/kakao-talk-pricing.js.map +1 -0
- package/dist/models/v1/line-notification-template/index.d.ts +1 -0
- package/dist/models/v1/line-notification-template/index.js +3 -0
- package/dist/models/v1/line-notification-template/index.js.map +1 -0
- package/dist/models/v1/line-notification-template/line-notification-template.d.ts +10 -0
- package/dist/models/v1/line-notification-template/line-notification-template.js +3 -0
- package/dist/models/v1/line-notification-template/line-notification-template.js.map +1 -0
- package/dist/models/v1/line-notification-template-body/index.d.ts +1 -0
- package/dist/models/v1/line-notification-template-body/index.js +3 -0
- package/dist/models/v1/line-notification-template-body/index.js.map +1 -0
- package/dist/models/v1/line-notification-template-body/line-notification-template-body.d.ts +13 -0
- package/dist/models/v1/line-notification-template-body/line-notification-template-body.js +3 -0
- package/dist/models/v1/line-notification-template-body/line-notification-template-body.js.map +1 -0
- package/dist/models/v1/line-notification-template-button/index.d.ts +1 -0
- package/dist/models/v1/line-notification-template-button/index.js +3 -0
- package/dist/models/v1/line-notification-template-button/index.js.map +1 -0
- package/dist/models/v1/line-notification-template-button/line-notification-template-button.d.ts +9 -0
- package/dist/models/v1/line-notification-template-button/line-notification-template-button.js +3 -0
- package/dist/models/v1/line-notification-template-button/line-notification-template-button.js.map +1 -0
- package/dist/models/v1/line-notification-template-item/index.d.ts +1 -0
- package/dist/models/v1/line-notification-template-item/index.js +3 -0
- package/dist/models/v1/line-notification-template-item/index.js.map +1 -0
- package/dist/models/v1/line-notification-template-item/line-notification-template-item.d.ts +9 -0
- package/dist/models/v1/line-notification-template-item/line-notification-template-item.js +3 -0
- package/dist/models/v1/line-notification-template-item/line-notification-template-item.js.map +1 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/index.d.ts +1 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js +3 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/index.js.map +1 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.d.ts +29 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js +3 -0
- package/dist/models/v1/list-last-messages-by-channel-identity-request/list-last-messages-by-channel-identity-request.js.map +1 -0
- package/dist/models/v1/list-message/list-message.d.ts +6 -1
- package/dist/models/v1/list-section/list-section.d.ts +1 -1
- package/dist/models/v1/media-message/index.d.ts +1 -1
- package/dist/models/v1/media-message/media-message.d.ts +2 -2
- package/dist/models/v1/mod-callback-events/capability-event/capability-event.d.ts +1 -1
- package/dist/models/v1/mod-callback-events/conversation-callback-event/conversation-callback-event.d.ts +2 -2
- package/dist/models/v1/mod-callback-events/event-inbound/event-inbound.d.ts +30 -3
- package/dist/models/v1/mod-callback-events/event-inbound/index.d.ts +1 -1
- package/dist/models/v1/mod-callback-events/smart-conversations-event/smart-conversations-event.d.ts +6 -3
- package/dist/models/v1/mod-credentials/index.d.ts +1 -0
- package/dist/models/v1/mod-credentials/index.js +1 -0
- package/dist/models/v1/mod-credentials/index.js.map +1 -1
- package/dist/models/v1/mod-credentials/line-credentials/line-credentials.d.ts +3 -1
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.d.ts +1 -0
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.js +3 -0
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/index.js.map +1 -0
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.d.ts +24 -0
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.js +3 -0
- package/dist/models/v1/mod-credentials/line-enterprise-credentials/line-enterprise-credentials.js.map +1 -0
- package/dist/models/v1/project-settings/index.d.ts +1 -0
- package/dist/models/v1/project-settings/index.js +3 -0
- package/dist/models/v1/project-settings/index.js.map +1 -0
- package/dist/models/v1/project-settings/project-settings.d.ts +10 -0
- package/dist/models/v1/project-settings/project-settings.js +3 -0
- package/dist/models/v1/project-settings/project-settings.js.map +1 -0
- package/dist/models/v1/project-settings-request/index.d.ts +1 -0
- package/dist/models/v1/project-settings-request/index.js +3 -0
- package/dist/models/v1/project-settings-request/index.js.map +1 -0
- package/dist/models/v1/project-settings-request/project-settings-request.d.ts +10 -0
- package/dist/models/v1/project-settings-request/project-settings-request.js +3 -0
- package/dist/models/v1/project-settings-request/project-settings-request.js.map +1 -0
- package/dist/models/v1/queue-stats/queue-stats.d.ts +2 -2
- package/dist/models/v1/requests/consents/consents-request-data.d.ts +17 -0
- package/dist/models/v1/requests/consents/consents-request-data.js +3 -0
- package/dist/models/v1/requests/consents/consents-request-data.js.map +1 -0
- package/dist/models/v1/requests/contact/contact-request-data.d.ts +9 -3
- package/dist/models/v1/requests/conversation/conversation-request-data.d.ts +1 -1
- package/dist/models/v1/requests/index.d.ts +2 -0
- package/dist/models/v1/requests/index.js +2 -0
- package/dist/models/v1/requests/index.js.map +1 -1
- package/dist/models/v1/requests/messages/messages-request-data.d.ts +9 -2
- package/dist/models/v1/requests/project-settings/project-settings-request-data.d.ts +13 -0
- package/dist/models/v1/{flow-channel-specific-message/flow-channel-specific-message.js → requests/project-settings/project-settings-request-data.js} +1 -1
- package/dist/models/v1/requests/project-settings/project-settings-request-data.js.map +1 -0
- package/dist/models/v1/retention-policy/retention-policy.d.ts +1 -1
- package/dist/models/v1/runtime-error/index.d.ts +1 -1
- package/dist/models/v1/runtime-error/runtime-error.d.ts +3 -1
- package/dist/models/v1/send-message-request/send-message-request.d.ts +6 -4
- package/dist/models/v1/share-location-message/index.d.ts +1 -0
- package/dist/models/v1/share-location-message/index.js +3 -0
- package/dist/models/v1/share-location-message/index.js.map +1 -0
- package/dist/models/v1/share-location-message/share-location-message.d.ts +6 -0
- package/dist/models/v1/{media-carousel-message/media-carousel-message.js → share-location-message/share-location-message.js} +1 -1
- package/dist/models/v1/share-location-message/share-location-message.js.map +1 -0
- package/dist/models/v1/smart-conversation/smart-conversation.d.ts +1 -1
- package/dist/models/v1/template-message/template-message.d.ts +6 -3
- package/dist/models/v1/template-reference/index.d.ts +1 -1
- package/dist/models/v1/template-reference/template-reference.d.ts +15 -3
- package/dist/models/v1/webhook/webhook.d.ts +3 -3
- package/dist/models/v1/webhook-trigger/webhook-trigger.d.ts +1 -0
- package/dist/models/v1/whatsapp-flow/index.d.ts +1 -0
- package/dist/models/v1/whatsapp-flow/index.js +3 -0
- package/dist/models/v1/whatsapp-flow/index.js.map +1 -0
- package/dist/models/v1/whatsapp-flow/whatsapp-flow.d.ts +28 -0
- package/dist/models/v1/whatsapp-flow/whatsapp-flow.js +3 -0
- package/dist/models/v1/whatsapp-flow/whatsapp-flow.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.d.ts +5 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.js +22 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header/whatsapp-interactive-document-header.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media/whatsapp-interactive-header-media.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header/whatsapp-interactive-image-header.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header/whatsapp-interactive-text-header.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header/whatsapp-interactive-video-header.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/index.d.ts +4 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/index.js +21 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-body/whatsapp-interactive-body.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-footer/whatsapp-interactive-footer.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.d.ts +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.d.ts +4 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/common/whatsapp-interactive-header/whatsapp-interactive-header.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/index.d.ts +2 -0
- package/dist/models/v1/whatsapp-interactive-message-base/index.js +18 -0
- package/dist/models/v1/whatsapp-interactive-message-base/index.js.map +1 -0
- package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.d.ts +9 -0
- package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.js +3 -0
- package/dist/models/v1/whatsapp-interactive-message-base/whatsapp-interactive-message-base.js.map +1 -0
- package/dist/models/v1/whatsapp-payment-order-details/index.d.ts +1 -0
- package/dist/models/v1/whatsapp-payment-order-details/index.js +3 -0
- package/dist/models/v1/whatsapp-payment-order-details/index.js.map +1 -0
- package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.d.ts +117 -0
- package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.js +3 -0
- package/dist/models/v1/whatsapp-payment-order-details/whatsapp-payment-order-details.js.map +1 -0
- package/dist/models/v1/whatsapp-payment-order-status/index.d.ts +1 -0
- package/dist/models/v1/whatsapp-payment-order-status/index.js +3 -0
- package/dist/models/v1/whatsapp-payment-order-status/index.js.map +1 -0
- package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.d.ts +32 -0
- package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.js +3 -0
- package/dist/models/v1/whatsapp-payment-order-status/whatsapp-payment-order-status.js.map +1 -0
- package/dist/rest/v1/app/app-api.d.ts +4 -9
- package/dist/rest/v1/app/app-api.js +4 -14
- package/dist/rest/v1/app/app-api.js.map +1 -1
- package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +7 -0
- package/dist/rest/v1/callbacks/callbacks-webhook.js +13 -0
- package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
- package/dist/rest/v1/capability/capability-api.d.ts +2 -7
- package/dist/rest/v1/capability/capability-api.js +2 -8
- package/dist/rest/v1/capability/capability-api.js.map +1 -1
- package/dist/rest/v1/consents/consents-api.d.ts +20 -0
- package/dist/rest/v1/consents/consents-api.jest.fixture.d.ts +13 -0
- package/dist/rest/v1/consents/consents-api.jest.fixture.js +17 -0
- package/dist/rest/v1/consents/consents-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/consents/consents-api.js +61 -0
- package/dist/rest/v1/consents/consents-api.js.map +1 -0
- package/dist/rest/v1/consents/index.d.ts +2 -0
- package/dist/rest/v1/consents/index.js +19 -0
- package/dist/rest/v1/consents/index.js.map +1 -0
- package/dist/rest/v1/contact/contact-api.d.ts +13 -10
- package/dist/rest/v1/contact/contact-api.jest.fixture.d.ts +5 -1
- package/dist/rest/v1/contact/contact-api.jest.fixture.js +4 -0
- package/dist/rest/v1/contact/contact-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/contact/contact-api.js +31 -16
- package/dist/rest/v1/contact/contact-api.js.map +1 -1
- package/dist/rest/v1/conversation/conversation-api.d.ts +5 -9
- package/dist/rest/v1/conversation/conversation-api.js +4 -18
- package/dist/rest/v1/conversation/conversation-api.js.map +1 -1
- package/dist/rest/v1/conversation-domain-api.d.ts +13 -14
- package/dist/rest/v1/conversation-domain-api.js +29 -52
- package/dist/rest/v1/conversation-domain-api.js.map +1 -1
- package/dist/rest/v1/conversation-service.d.ts +31 -2
- package/dist/rest/v1/conversation-service.js +126 -32
- package/dist/rest/v1/conversation-service.js.map +1 -1
- package/dist/rest/v1/events/events-api.d.ts +4 -8
- package/dist/rest/v1/events/events-api.js +3 -12
- package/dist/rest/v1/events/events-api.js.map +1 -1
- package/dist/rest/v1/index.d.ts +3 -0
- package/dist/rest/v1/index.js +3 -0
- package/dist/rest/v1/index.js.map +1 -1
- package/dist/rest/v1/messages/messages-api.d.ts +13 -11
- package/dist/rest/v1/messages/messages-api.jest.fixture.d.ts +7 -1
- package/dist/rest/v1/messages/messages-api.jest.fixture.js +4 -0
- package/dist/rest/v1/messages/messages-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/messages/messages-api.js +33 -16
- package/dist/rest/v1/messages/messages-api.js.map +1 -1
- package/dist/rest/v1/project-settings/index.d.ts +2 -0
- package/dist/rest/v1/project-settings/index.js +19 -0
- package/dist/rest/v1/project-settings/index.js.map +1 -0
- package/dist/rest/v1/project-settings/project-settings-api.d.ts +30 -0
- package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.d.ts +20 -0
- package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js +25 -0
- package/dist/rest/v1/project-settings/project-settings-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/project-settings/project-settings-api.js +101 -0
- package/dist/rest/v1/project-settings/project-settings-api.js.map +1 -0
- package/dist/rest/v1/templates-v1/templates-v1-api.d.ts +8 -8
- package/dist/rest/v1/templates-v1/templates-v1-api.js +8 -13
- package/dist/rest/v1/templates-v1/templates-v1-api.js.map +1 -1
- package/dist/rest/v1/templates-v2/templates-v2-api.d.ts +3 -8
- package/dist/rest/v1/templates-v2/templates-v2-api.js +3 -14
- package/dist/rest/v1/templates-v2/templates-v2-api.js.map +1 -1
- package/dist/rest/v1/transcoding/transcoding-api.d.ts +2 -7
- package/dist/rest/v1/transcoding/transcoding-api.js +2 -8
- package/dist/rest/v1/transcoding/transcoding-api.js.map +1 -1
- package/dist/rest/v1/webhooks/webhooks-api.d.ts +2 -7
- package/dist/rest/v1/webhooks/webhooks-api.js +2 -12
- package/dist/rest/v1/webhooks/webhooks-api.js.map +1 -1
- package/package.json +2 -2
- package/dist/models/v1/flow-channel-specific-message/flow-channel-specific-message.d.ts +0 -37
- package/dist/models/v1/flow-channel-specific-message/flow-channel-specific-message.js.map +0 -1
- package/dist/models/v1/flow-channel-specific-message/index.d.ts +0 -1
- package/dist/models/v1/flow-channel-specific-message/index.js.map +0 -1
- package/dist/models/v1/media-carousel-message/index.d.ts +0 -1
- package/dist/models/v1/media-carousel-message/index.js.map +0 -1
- package/dist/models/v1/media-carousel-message/media-carousel-message.d.ts +0 -7
- package/dist/models/v1/media-carousel-message/media-carousel-message.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-body/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-body/whatsapp-interactive-body.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-document-header/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-document-header/whatsapp-interactive-document-header.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-footer/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-footer/whatsapp-interactive-footer.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-header-media/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-header-media/whatsapp-interactive-header-media.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-image-header/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-image-header/whatsapp-interactive-image-header.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-text-header/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-text-header/whatsapp-interactive-text-header.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-video-header/index.js.map +0 -1
- package/dist/models/v1/whatsapp-interactive-video-header/whatsapp-interactive-video-header.js.map +0 -1
- /package/dist/models/v1/{flow-channel-specific-message → audit-record}/index.js +0 -0
- /package/dist/models/v1/{media-carousel-message → audit-records-list}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-body → calendar-message}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-document-header → consent-identity}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-footer → contact-settings}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-header-media → identity-conflict}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-image-header → kakaotalk-button}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-video-header → kakaotalk-carousel}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-text-header → kakaotalk-carousel-commerce}/index.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-document-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-document-header}/index.d.ts +0 -0
- /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
- /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
- /package/dist/models/v1/{whatsapp-interactive-header-media → whatsapp-interactive-message-base/common/header/whatsapp-interactive-header-media}/index.d.ts +0 -0
- /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
- /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
- /package/dist/models/v1/{whatsapp-interactive-image-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-image-header}/index.d.ts +0 -0
- /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
- /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
- /package/dist/models/v1/{whatsapp-interactive-text-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-text-header}/index.d.ts +0 -0
- /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
- /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
- /package/dist/models/v1/{whatsapp-interactive-video-header → whatsapp-interactive-message-base/common/header/whatsapp-interactive-video-header}/index.d.ts +0 -0
- /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
- /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
- /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/index.d.ts +0 -0
- /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/whatsapp-interactive-body.d.ts +0 -0
- /package/dist/models/v1/{whatsapp-interactive-body → whatsapp-interactive-message-base/common/whatsapp-interactive-body}/whatsapp-interactive-body.js +0 -0
- /package/dist/models/v1/{whatsapp-interactive-footer → whatsapp-interactive-message-base/common/whatsapp-interactive-footer}/index.d.ts +0 -0
- /package/dist/models/v1/{whatsapp-interactive-footer → whatsapp-interactive-message-base/common/whatsapp-interactive-footer}/whatsapp-interactive-footer.d.ts +0 -0
- /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/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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/kakaotalk-image/index.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/line-notification-template-button/index.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/line-notification-template-button/line-notification-template-button.d.ts
ADDED
|
@@ -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
|
+
}
|
package/dist/models/v1/line-notification-template-button/line-notification-template-button.js.map
ADDED
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ListSection } from '../list-section';
|
|
2
|
+
import { MediaProperties } from '../media-message';
|
|
2
3
|
/**
|
|
3
|
-
* A message containing a list of options to choose from
|
|
4
|
+
* A message containing a list of options to choose from. All items must be of the same type.
|
|
4
5
|
*/
|
|
5
6
|
export interface ListMessage {
|
|
6
7
|
/** A message containing a list of options to choose from */
|
|
@@ -11,6 +12,8 @@ export interface ListMessageItem {
|
|
|
11
12
|
title: string;
|
|
12
13
|
/** This is an optional field, containing a description for the message. */
|
|
13
14
|
description?: string;
|
|
15
|
+
/** @see MediaProperties */
|
|
16
|
+
media?: MediaProperties;
|
|
14
17
|
/** List of ListSection objects containing choices to be presented in the list message. */
|
|
15
18
|
sections: ListSection[];
|
|
16
19
|
/** Additional properties for the message. Required if sending a product list message. */
|
|
@@ -21,4 +24,6 @@ export interface ListMessageItemProperties {
|
|
|
21
24
|
catalog_id?: string;
|
|
22
25
|
/** Optional. Sets the text for the menu of a choice list message. */
|
|
23
26
|
menu?: string;
|
|
27
|
+
/** Optional. Sets the text for the header of a WhatsApp choice list message. Ignored for other channels. */
|
|
28
|
+
whatsapp_header?: string;
|
|
24
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { MediaMessage,
|
|
1
|
+
export type { MediaMessage, MediaProperties } from './media-message';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface MediaMessage {
|
|
5
5
|
/** A message containing a media component, such as an image, document, or video. */
|
|
6
|
-
media_message:
|
|
6
|
+
media_message: MediaProperties;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface MediaProperties {
|
|
9
9
|
/** An optional parameter. Will be used where it is natively supported. */
|
|
10
10
|
thumbnail_url?: string;
|
|
11
11
|
/** Url to the media file. */
|
|
@@ -19,7 +19,7 @@ export interface CapabilityNotification {
|
|
|
19
19
|
channel?: ConversationChannel;
|
|
20
20
|
/** The channel identity. For example, a phone number for SMS, WhatsApp, and Viber Business. */
|
|
21
21
|
identity?: string;
|
|
22
|
-
/** Status indicating the recipient
|
|
22
|
+
/** Status indicating the recipient's capability on the channel. */
|
|
23
23
|
capability_status?: 'CAPABILITY_UNKNOWN' | 'CAPABILITY_FULL' | 'CAPABILITY_PARTIAL' | 'NO_CAPABILITY';
|
|
24
24
|
/** When capability_status is set to CAPABILITY_PARTIAL, this field includes a list of the supported channel-specific capabilities reported by the channel. */
|
|
25
25
|
channel_capabilities?: string[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { WebhookTrigger } from '../../webhook-trigger';
|
|
2
2
|
export interface ConversationCallbackEvent {
|
|
3
3
|
/** Id of the subscribed app. */
|
|
4
|
-
app_id
|
|
4
|
+
app_id: string;
|
|
5
5
|
/** Timestamp marking when the channel callback was accepted/received by the Conversation API. */
|
|
6
6
|
accepted_time?: Date;
|
|
7
7
|
/** Timestamp of the event as provided by the underlying channels. */
|
|
8
8
|
event_time?: Date;
|
|
9
9
|
/** The project ID of the app which has subscribed for the callback. */
|
|
10
|
-
project_id
|
|
10
|
+
project_id: string;
|
|
11
11
|
/** Context-dependent metadata. Refer to specific callback's documentation for exact information provided. */
|
|
12
12
|
message_metadata?: string;
|
|
13
13
|
/** The value provided in field correlation_id of a send message request. */
|