@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates-v1-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/templates-v1/templates-v1-api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"templates-v1-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/templates-v1/templates-v1-api.ts"],"names":[],"mappings":";;;AAYA,wEAAmE;AAGnE,MAAa,cAAe,SAAQ,+CAAqB;IAEvD,YAAY,aAAgD;QAC1D,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;IACzC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,MAAM,CAAC,IAA+B;QACjD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAA4B,IAAI,EAAE,EAAa,CAAC,CAAC;QACjG,MAAM,OAAO,GAA0C;YACrD,cAAc,EAAE,kBAAkB;YAClC,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;QAEF,MAAM,IAAI,GACN,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACjG,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,gBAAgB,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,YAAY,CAAC;QAE/H,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EA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c,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAa;YACzC,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,gBAAgB;SAC9B,CAAC,CAAC;IACL,CAAC;CAEF;AAjJD,wCAiJC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { V2CreateTemplateRequestData, V2DeleteTemplateRequestData, V2GetTemplateRequestData, V2ListTemplatesRequestData, V2ListTemplatesResponse, V2ListTranslationsRequestData, V2ListTranslationsResponse, V2TemplateResponse, V2UpdateTemplateRequestData } from '../../../models';
|
|
2
|
-
import { SinchClientParameters } from '@sinch/sdk-client';
|
|
3
2
|
import { ConversationDomainApi } from '../conversation-domain-api';
|
|
3
|
+
import { LazyConversationTemplateApiClient } from '../conversation-service';
|
|
4
4
|
export declare class TemplatesV2Api extends ConversationDomainApi {
|
|
5
|
-
|
|
6
|
-
* Initialize your interface
|
|
7
|
-
*
|
|
8
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
9
|
-
*/
|
|
10
|
-
constructor(sinchClientParameters: SinchClientParameters);
|
|
5
|
+
constructor(lazyApiClient: LazyConversationTemplateApiClient);
|
|
11
6
|
/**
|
|
12
7
|
* Creates a template
|
|
13
8
|
*
|
|
@@ -31,7 +26,7 @@ export declare class TemplatesV2Api extends ConversationDomainApi {
|
|
|
31
26
|
*
|
|
32
27
|
* @param { V2ListTemplatesRequestData } data - The data to provide to the API call.
|
|
33
28
|
*/
|
|
34
|
-
list(data
|
|
29
|
+
list(data?: V2ListTemplatesRequestData): Promise<V2ListTemplatesResponse>;
|
|
35
30
|
/**
|
|
36
31
|
* List translations for a template
|
|
37
32
|
*
|
|
@@ -3,13 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TemplatesV2Api = void 0;
|
|
4
4
|
const conversation_domain_api_1 = require("../conversation-domain-api");
|
|
5
5
|
class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(sinchClientParameters) {
|
|
12
|
-
super(sinchClientParameters, 'TemplatesV2Api');
|
|
6
|
+
constructor(lazyApiClient) {
|
|
7
|
+
super(lazyApiClient, 'TemplatesV2Api');
|
|
13
8
|
}
|
|
14
9
|
/**
|
|
15
10
|
* Creates a template
|
|
@@ -17,7 +12,6 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
17
12
|
* @param { V2CreateTemplateRequestData } data - The data to provide to the API call.
|
|
18
13
|
*/
|
|
19
14
|
async create(data) {
|
|
20
|
-
this.client = this.getSinchClient();
|
|
21
15
|
const getParams = this.client.extractQueryParams(data, []);
|
|
22
16
|
const headers = {
|
|
23
17
|
'Content-Type': 'application/json',
|
|
@@ -40,7 +34,6 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
40
34
|
* @param { V2DeleteTemplateRequestData } data - The data to provide to the API call.
|
|
41
35
|
*/
|
|
42
36
|
async delete(data) {
|
|
43
|
-
this.client = this.getSinchClient();
|
|
44
37
|
const getParams = this.client.extractQueryParams(data, []);
|
|
45
38
|
const headers = {
|
|
46
39
|
'Content-Type': 'application/json',
|
|
@@ -63,7 +56,6 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
63
56
|
* @param { V2GetTemplateRequestData } data - The data to provide to the API call.
|
|
64
57
|
*/
|
|
65
58
|
async get(data) {
|
|
66
|
-
this.client = this.getSinchClient();
|
|
67
59
|
const getParams = this.client.extractQueryParams(data, []);
|
|
68
60
|
const headers = {
|
|
69
61
|
'Content-Type': 'application/json',
|
|
@@ -86,8 +78,7 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
86
78
|
* @param { V2ListTemplatesRequestData } data - The data to provide to the API call.
|
|
87
79
|
*/
|
|
88
80
|
async list(data) {
|
|
89
|
-
|
|
90
|
-
const getParams = this.client.extractQueryParams(data, []);
|
|
81
|
+
const getParams = this.client.extractQueryParams(data ?? {}, []);
|
|
91
82
|
const headers = {
|
|
92
83
|
'Content-Type': 'application/json',
|
|
93
84
|
'Accept': 'application/json',
|
|
@@ -109,7 +100,6 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
109
100
|
* @param { V2ListTranslationsRequestData } data - The data to provide to the API call.
|
|
110
101
|
*/
|
|
111
102
|
async listTranslations(data) {
|
|
112
|
-
this.client = this.getSinchClient();
|
|
113
103
|
const getParams = this.client.extractQueryParams(data, ['language_code', 'translation_version']);
|
|
114
104
|
const headers = {
|
|
115
105
|
'Content-Type': 'application/json',
|
|
@@ -132,7 +122,6 @@ class TemplatesV2Api extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
132
122
|
* @param { V2UpdateTemplateRequestData } data - The data to provide to the API call.
|
|
133
123
|
*/
|
|
134
124
|
async update(data) {
|
|
135
|
-
this.client = this.getSinchClient();
|
|
136
125
|
const getParams = this.client.extractQueryParams(data, []);
|
|
137
126
|
const headers = {
|
|
138
127
|
'Content-Type': 'application/json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates-v2-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/templates-v2/templates-v2-api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"templates-v2-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/templates-v2/templates-v2-api.ts"],"names":[],"mappings":";;;AAcA,wEAAmE;AAGnE,MAAa,cAAe,SAAQ,+CAAqB;IAEvD,YAAY,aAAgD;QAC1D,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MA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AC,SAAS,cAAc,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;QAEtJ,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,CAAC,CAAC;QACnH,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAqB;YACjD,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACL,CAAC;CAEF;AAvKD,wCAuKC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { SinchClientParameters } from '@sinch/sdk-client';
|
|
2
1
|
import { TranscodeMessageRequestData, TranscodeMessageResponse } from '../../../models';
|
|
3
2
|
import { ConversationDomainApi } from '../conversation-domain-api';
|
|
3
|
+
import { LazyConversationApiClient } from '../conversation-service';
|
|
4
4
|
export declare class TranscodingApi extends ConversationDomainApi {
|
|
5
|
-
|
|
6
|
-
* Initialize your interface
|
|
7
|
-
*
|
|
8
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
9
|
-
*/
|
|
10
|
-
constructor(sinchClientParameters: SinchClientParameters);
|
|
5
|
+
constructor(lazyApiClient: LazyConversationApiClient);
|
|
11
6
|
/**
|
|
12
7
|
* Transcode a message
|
|
13
8
|
* Transcodes the message from the Conversation API format to the channel-specific formats for the requested channels. No message is sent to the contact.
|
|
@@ -3,13 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TranscodingApi = void 0;
|
|
4
4
|
const conversation_domain_api_1 = require("../conversation-domain-api");
|
|
5
5
|
class TranscodingApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(sinchClientParameters) {
|
|
12
|
-
super(sinchClientParameters, 'TranscodingApi');
|
|
6
|
+
constructor(lazyApiClient) {
|
|
7
|
+
super(lazyApiClient, 'TranscodingApi');
|
|
13
8
|
}
|
|
14
9
|
/**
|
|
15
10
|
* Transcode a message
|
|
@@ -17,7 +12,6 @@ class TranscodingApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
17
12
|
* @param { TranscodeMessageRequestData } data - The data to provide to the API call.
|
|
18
13
|
*/
|
|
19
14
|
async transcodeMessage(data) {
|
|
20
|
-
this.client = this.getSinchClient();
|
|
21
15
|
const getParams = this.client.extractQueryParams(data, []);
|
|
22
16
|
const headers = {
|
|
23
17
|
'Content-Type': 'application/json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcoding-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/transcoding/transcoding-api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"transcoding-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/transcoding/transcoding-api.ts"],"names":[],"mappings":";;;AAOA,wEAAmE;AAInE,MAAa,cAAe,SAAQ,+CAAqB;IAEvD,YAAY,aAAwC;QAClD,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,gBAAgB,CAAC,IAAiC;QAC7D,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAA8B,IAAI,EAAE,EAAa,CAAC,CAAC;QACnG,MAAM,OAAO,GAA0C;YACrD,cAAc,EAAE,kBAAkB;YAClC,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;QAEF,MAAM,IAAI,GACN,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACrG,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,gBAAgB,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,qBAAqB,CAAC;QAExI,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,CAAC,CAAC;QACpH,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAA2B;YACvD,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACL,CAAC;CAEF;AAjCD,wCAiCC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { SinchClientParameters } from '@sinch/sdk-client';
|
|
2
1
|
import { CreateWebhookRequestData, DeleteWebhookRequestData, GetWebhookRequestData, ListWebhooksRequestData, ListWebhooksResponse, UpdateWebhookRequestData, Webhook } from '../../../models';
|
|
3
2
|
import { ConversationDomainApi } from '../conversation-domain-api';
|
|
3
|
+
import { LazyConversationApiClient } from '../conversation-service';
|
|
4
4
|
export declare class WebhooksApi extends ConversationDomainApi {
|
|
5
|
-
|
|
6
|
-
* Initialize your interface
|
|
7
|
-
*
|
|
8
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
9
|
-
*/
|
|
10
|
-
constructor(sinchClientParameters: SinchClientParameters);
|
|
5
|
+
constructor(lazyApiClient: LazyConversationApiClient);
|
|
11
6
|
/**
|
|
12
7
|
* Create a new webhook
|
|
13
8
|
* Creates a webhook for receiving callbacks on specific triggers. You can create up to 5 webhooks per app.
|
|
@@ -3,13 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.WebhooksApi = void 0;
|
|
4
4
|
const conversation_domain_api_1 = require("../conversation-domain-api");
|
|
5
5
|
class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* @param {SinchClientParameters} sinchClientParameters - The parameters used to initialize the API Client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(sinchClientParameters) {
|
|
12
|
-
super(sinchClientParameters, 'WebhooksApi');
|
|
6
|
+
constructor(lazyApiClient) {
|
|
7
|
+
super(lazyApiClient, 'WebhooksApi');
|
|
13
8
|
}
|
|
14
9
|
/**
|
|
15
10
|
* Create a new webhook
|
|
@@ -17,7 +12,6 @@ class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
17
12
|
* @param { CreateWebhookRequestData } data - The data to provide to the API call.
|
|
18
13
|
*/
|
|
19
14
|
async create(data) {
|
|
20
|
-
this.client = this.getSinchClient();
|
|
21
15
|
const getParams = this.client.extractQueryParams(data, []);
|
|
22
16
|
const headers = {
|
|
23
17
|
'Content-Type': 'application/json',
|
|
@@ -42,7 +36,6 @@ class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
42
36
|
* @param { DeleteWebhookRequestData } data - The data to provide to the API call.
|
|
43
37
|
*/
|
|
44
38
|
async delete(data) {
|
|
45
|
-
this.client = this.getSinchClient();
|
|
46
39
|
const getParams = this.client.extractQueryParams(data, []);
|
|
47
40
|
const headers = {
|
|
48
41
|
'Content-Type': 'application/json',
|
|
@@ -65,7 +58,6 @@ class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
65
58
|
* @param { GetWebhookRequestData } data - The data to provide to the API call.
|
|
66
59
|
*/
|
|
67
60
|
async get(data) {
|
|
68
|
-
this.client = this.getSinchClient();
|
|
69
61
|
const getParams = this.client.extractQueryParams(data, []);
|
|
70
62
|
const headers = {
|
|
71
63
|
'Content-Type': 'application/json',
|
|
@@ -88,7 +80,6 @@ class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
88
80
|
* @param { ListWebhooksRequestData } data - The data to provide to the API call.
|
|
89
81
|
*/
|
|
90
82
|
async list(data) {
|
|
91
|
-
this.client = this.getSinchClient();
|
|
92
83
|
const getParams = this.client.extractQueryParams(data, []);
|
|
93
84
|
const headers = {
|
|
94
85
|
'Content-Type': 'application/json',
|
|
@@ -111,7 +102,6 @@ class WebhooksApi extends conversation_domain_api_1.ConversationDomainApi {
|
|
|
111
102
|
* @param { UpdateWebhookRequestData } data - The data to provide to the API call.
|
|
112
103
|
*/
|
|
113
104
|
async update(data) {
|
|
114
|
-
this.client = this.getSinchClient();
|
|
115
105
|
const getParams = this.client.extractQueryParams(data, ['update_mask']);
|
|
116
106
|
const headers = {
|
|
117
107
|
'Content-Type': 'application/json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/webhooks/webhooks-api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"webhooks-api.js","sourceRoot":"","sources":["../../../../src/rest/v1/webhooks/webhooks-api.ts"],"names":[],"mappings":";;;AAYA,wEAAmE;AAGnE,MAAa,WAAY,SAAQ,+CAAqB;IAEpD,YAAY,aAAwC;QAClD,KAAK,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CAAC,IAA8B;QAChD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAA2B,IAAI,EAAE,EAAa,CAAC,CAAC;QAChG,MAAM,OAAO,GAA0C;YACrD,cAAc,EAAE,kBAAkB;YAClC,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;QAEF,MAAM,IAAI,GA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,CAAC,IAAI,CAAC;QACT,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,gBAAgB,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,aAAa,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;QAEpJ,MAAM,cAAc,GAChB,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,CAAC,CAAC;QAClG,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;QAExF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAU;YACtC,GAAG;YACH,cAAc;YACd,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,eAAe;SAC7B,CAAC,CAAC;IACL,CAAC;CAEF;AA9ID,kCA8IC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sinch/conversation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Sinch Conversation API",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test:e2e": "cucumber-js"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@sinch/sdk-client": "^1.
|
|
32
|
+
"@sinch/sdk-client": "^1.4.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {},
|
|
35
35
|
"publishConfig": {
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { WhatsAppInteractiveBody } from '../whatsapp-interactive-body';
|
|
2
|
-
import { WhatsAppInteractiveFooter } from '../whatsapp-interactive-footer';
|
|
3
|
-
import { WhatsAppInteractiveTextHeader } from '../whatsapp-interactive-text-header';
|
|
4
|
-
import { WhatsAppInteractiveImageHeader } from '../whatsapp-interactive-image-header';
|
|
5
|
-
import { WhatsAppInteractiveDocumentHeader } from '../whatsapp-interactive-document-header';
|
|
6
|
-
import { WhatsAppInteractiveVideoHeader } from '../whatsapp-interactive-video-header';
|
|
7
|
-
/**
|
|
8
|
-
* A message type for sending WhatsApp Flows.
|
|
9
|
-
*/
|
|
10
|
-
export interface FlowChannelSpecificMessage {
|
|
11
|
-
/** @see FlowChannelSpecificMessageHeader */
|
|
12
|
-
header?: FlowChannelSpecificMessageHeader;
|
|
13
|
-
/** @see WhatsAppInteractiveBody */
|
|
14
|
-
body?: WhatsAppInteractiveBody;
|
|
15
|
-
/** @see WhatsAppInteractiveFooter */
|
|
16
|
-
footer?: WhatsAppInteractiveFooter;
|
|
17
|
-
/** ID of the Flow. */
|
|
18
|
-
flow_id: string;
|
|
19
|
-
/** Generated token which is an identifier. */
|
|
20
|
-
flow_token?: string;
|
|
21
|
-
/** The mode in which the flow is. */
|
|
22
|
-
flow_mode?: 'draft' | 'published';
|
|
23
|
-
/** Text which is displayed on the Call To Action button (20 characters maximum, emoji not supported). */
|
|
24
|
-
flow_cta: string;
|
|
25
|
-
/** */
|
|
26
|
-
flow_action?: 'navigate' | 'data_exchange';
|
|
27
|
-
/** @see FlowChannelSpecificMessageFlowActionPayload */
|
|
28
|
-
flow_action_payload?: FlowChannelSpecificMessageFlowActionPayload;
|
|
29
|
-
}
|
|
30
|
-
type FlowChannelSpecificMessageHeader = WhatsAppInteractiveTextHeader | WhatsAppInteractiveImageHeader | WhatsAppInteractiveDocumentHeader | WhatsAppInteractiveVideoHeader;
|
|
31
|
-
interface FlowChannelSpecificMessageFlowActionPayload {
|
|
32
|
-
/** The ID of the screen displayed first. This must be an entry screen. */
|
|
33
|
-
screen?: string;
|
|
34
|
-
/** Data for the first screen. */
|
|
35
|
-
data?: object;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flow-channel-specific-message.js","sourceRoot":"","sources":["../../../../src/models/v1/flow-channel-specific-message/flow-channel-specific-message.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { FlowChannelSpecificMessage } from './flow-channel-specific-message';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/flow-channel-specific-message/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { MediaCarouselMessage } from './media-carousel-message';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/media-carousel-message/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-carousel-message.js","sourceRoot":"","sources":["../../../../src/models/v1/media-carousel-message/media-carousel-message.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-body/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-body.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-body/whatsapp-interactive-body.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-document-header/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-document-header.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-document-header/whatsapp-interactive-document-header.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-footer/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-footer.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-footer/whatsapp-interactive-footer.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-header-media/index.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/whatsapp-interactive-header-media/whatsapp-interactive-header-media.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-header-media.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-header-media/whatsapp-interactive-header-media.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-image-header/index.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/whatsapp-interactive-image-header/whatsapp-interactive-image-header.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-image-header.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-image-header/whatsapp-interactive-image-header.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-text-header/index.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/whatsapp-interactive-text-header/whatsapp-interactive-text-header.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-text-header.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-text-header/whatsapp-interactive-text-header.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-video-header/index.ts"],"names":[],"mappings":""}
|
package/dist/models/v1/whatsapp-interactive-video-header/whatsapp-interactive-video-header.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-interactive-video-header.js","sourceRoot":"","sources":["../../../../src/models/v1/whatsapp-interactive-video-header/whatsapp-interactive-video-header.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/models/v1/{whatsapp-interactive-text-header → kakaotalk-carousel-commerce}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|