@sinch/voice 1.4.3 → 1.6.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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +24 -0
- package/dist/models/index.js.map +1 -1
- package/dist/models/v1/helper.js +0 -4
- package/dist/models/v1/helper.js.map +1 -1
- package/dist/models/v1/requests/calls/calls-request-data.d.ts +3 -3
- package/dist/models/v1/svaml-request-body/index.d.ts +1 -1
- package/dist/models/v1/svaml-request-body/svaml-request-body.d.ts +16 -1
- package/dist/models/v2/batch-details/batch-details.d.ts +17 -0
- package/dist/models/v2/batch-details/batch-details.js +3 -0
- package/dist/models/v2/batch-details/batch-details.js.map +1 -0
- package/dist/models/v2/batch-details/index.d.ts +1 -0
- package/dist/models/v2/batch-details/index.js +3 -0
- package/dist/models/v2/batch-details/index.js.map +1 -0
- package/dist/models/v2/batch-options/batch-options.d.ts +9 -0
- package/dist/models/v2/batch-options/batch-options.js +3 -0
- package/dist/models/v2/batch-options/batch-options.js.map +1 -0
- package/dist/models/v2/batch-options/index.d.ts +1 -0
- package/dist/models/v2/batch-options/index.js +3 -0
- package/dist/models/v2/batch-options/index.js.map +1 -0
- package/dist/models/v2/batch-request/batch-request.d.ts +16 -0
- package/dist/models/v2/batch-request/batch-request.js +3 -0
- package/dist/models/v2/batch-request/batch-request.js.map +1 -0
- package/dist/models/v2/batch-request/index.d.ts +1 -0
- package/dist/models/v2/batch-request/index.js +3 -0
- package/dist/models/v2/batch-request/index.js.map +1 -0
- package/dist/models/v2/batch-response/batch-response.d.ts +11 -0
- package/dist/models/v2/batch-response/batch-response.js +3 -0
- package/dist/models/v2/batch-response/batch-response.js.map +1 -0
- package/dist/models/v2/batch-response/index.d.ts +1 -0
- package/dist/models/v2/batch-response/index.js +3 -0
- package/dist/models/v2/batch-response/index.js.map +1 -0
- package/dist/models/v2/batch-stop-response/batch-stop-response.d.ts +9 -0
- package/dist/models/v2/batch-stop-response/batch-stop-response.js +3 -0
- package/dist/models/v2/batch-stop-response/batch-stop-response.js.map +1 -0
- package/dist/models/v2/batch-stop-response/index.d.ts +1 -0
- package/dist/models/v2/batch-stop-response/index.js +3 -0
- package/dist/models/v2/batch-stop-response/index.js.map +1 -0
- package/dist/models/v2/batch-summary/batch-summary.d.ts +23 -0
- package/dist/models/v2/batch-summary/batch-summary.js +3 -0
- package/dist/models/v2/batch-summary/batch-summary.js.map +1 -0
- package/dist/models/v2/batch-summary/index.d.ts +1 -0
- package/dist/models/v2/batch-summary/index.js +3 -0
- package/dist/models/v2/batch-summary/index.js.map +1 -0
- package/dist/models/v2/call/call.d.ts +103 -0
- package/dist/models/v2/call/call.js +3 -0
- package/dist/models/v2/call/call.js.map +1 -0
- package/dist/models/v2/call/index.d.ts +1 -0
- package/dist/models/v2/call/index.js +3 -0
- package/dist/models/v2/call/index.js.map +1 -0
- package/dist/models/v2/call-behaviors/call-behaviors.d.ts +34 -0
- package/dist/models/v2/call-behaviors/call-behaviors.js +3 -0
- package/dist/models/v2/call-behaviors/call-behaviors.js.map +1 -0
- package/dist/models/v2/call-behaviors/index.d.ts +1 -0
- package/dist/models/v2/call-behaviors/index.js +3 -0
- package/dist/models/v2/call-behaviors/index.js.map +1 -0
- package/dist/models/v2/call-destination/call-destination.d.ts +8 -0
- package/dist/models/v2/call-destination/call-destination.js +3 -0
- package/dist/models/v2/call-destination/call-destination.js.map +1 -0
- package/dist/models/v2/call-destination/index.d.ts +1 -0
- package/dist/models/v2/call-destination/index.js +3 -0
- package/dist/models/v2/call-destination/index.js.map +1 -0
- package/dist/models/v2/call-headers-inner/call-headers-inner.d.ts +10 -0
- package/dist/models/v2/call-headers-inner/call-headers-inner.js +8 -0
- package/dist/models/v2/call-headers-inner/call-headers-inner.js.map +1 -0
- package/dist/models/v2/call-headers-inner/index.d.ts +1 -0
- package/dist/models/v2/call-headers-inner/index.js +3 -0
- package/dist/models/v2/call-headers-inner/index.js.map +1 -0
- package/dist/models/v2/call-origin/call-origin.d.ts +6 -0
- package/dist/models/v2/call-origin/call-origin.js +3 -0
- package/dist/models/v2/call-origin/call-origin.js.map +1 -0
- package/dist/models/v2/call-origin/index.d.ts +1 -0
- package/dist/models/v2/call-origin/index.js +3 -0
- package/dist/models/v2/call-origin/index.js.map +1 -0
- package/dist/models/v2/call-patch-request/call-patch-request.d.ts +8 -0
- package/dist/models/v2/call-patch-request/call-patch-request.js +3 -0
- package/dist/models/v2/call-patch-request/call-patch-request.js.map +1 -0
- package/dist/models/v2/call-patch-request/index.d.ts +1 -0
- package/dist/models/v2/call-patch-request/index.js +3 -0
- package/dist/models/v2/call-patch-request/index.js.map +1 -0
- package/dist/models/v2/call-request/call-request.d.ts +8 -0
- package/dist/models/v2/call-request/call-request.js +3 -0
- package/dist/models/v2/call-request/call-request.js.map +1 -0
- package/dist/models/v2/call-request/index.d.ts +1 -0
- package/dist/models/v2/call-request/index.js +3 -0
- package/dist/models/v2/call-request/index.js.map +1 -0
- package/dist/models/v2/call-response/call-response.d.ts +13 -0
- package/dist/models/v2/call-response/call-response.js +3 -0
- package/dist/models/v2/call-response/call-response.js.map +1 -0
- package/dist/models/v2/call-response/index.d.ts +1 -0
- package/dist/models/v2/call-response/index.js +3 -0
- package/dist/models/v2/call-response/index.js.map +1 -0
- package/dist/models/v2/calls-list/calls-list.d.ts +14 -0
- package/dist/models/v2/calls-list/calls-list.js +3 -0
- package/dist/models/v2/calls-list/calls-list.js.map +1 -0
- package/dist/models/v2/calls-list/index.d.ts +1 -0
- package/dist/models/v2/calls-list/index.js +3 -0
- package/dist/models/v2/calls-list/index.js.map +1 -0
- package/dist/models/v2/create-service/create-service.d.ts +17 -0
- package/dist/models/v2/create-service/create-service.js +3 -0
- package/dist/models/v2/create-service/create-service.js.map +1 -0
- package/dist/models/v2/create-service/index.d.ts +1 -0
- package/dist/models/v2/create-service/index.js +3 -0
- package/dist/models/v2/create-service/index.js.map +1 -0
- package/dist/models/v2/describe-svaml-request/describe-svaml-request.d.ts +8 -0
- package/dist/models/v2/describe-svaml-request/describe-svaml-request.js +3 -0
- package/dist/models/v2/describe-svaml-request/describe-svaml-request.js.map +1 -0
- package/dist/models/v2/describe-svaml-request/index.d.ts +1 -0
- package/dist/models/v2/describe-svaml-request/index.js +3 -0
- package/dist/models/v2/describe-svaml-request/index.js.map +1 -0
- package/dist/models/v2/enums.d.ts +14 -0
- package/dist/models/v2/enums.js +3 -0
- package/dist/models/v2/enums.js.map +1 -0
- package/dist/models/v2/index.d.ts +60 -0
- package/dist/models/v2/index.js +77 -0
- package/dist/models/v2/index.js.map +1 -0
- package/dist/models/v2/menu-item/index.d.ts +1 -0
- package/dist/models/v2/menu-item/index.js +3 -0
- package/dist/models/v2/menu-item/index.js.map +1 -0
- package/dist/models/v2/menu-item/menu-item.d.ts +32 -0
- package/dist/models/v2/menu-item/menu-item.js +6 -0
- package/dist/models/v2/menu-item/menu-item.js.map +1 -0
- package/dist/models/v2/menu-prompt/index.d.ts +1 -0
- package/dist/models/v2/menu-prompt/index.js +3 -0
- package/dist/models/v2/menu-prompt/index.js.map +1 -0
- package/dist/models/v2/menu-prompt/menu-prompt.d.ts +10 -0
- package/dist/models/v2/menu-prompt/menu-prompt.js +3 -0
- package/dist/models/v2/menu-prompt/menu-prompt.js.map +1 -0
- package/dist/models/v2/message/index.d.ts +1 -0
- package/dist/models/v2/message/index.js +3 -0
- package/dist/models/v2/message/index.js.map +1 -0
- package/dist/models/v2/message/message.d.ts +6 -0
- package/dist/models/v2/message/message.js +3 -0
- package/dist/models/v2/message/message.js.map +1 -0
- package/dist/models/v2/money/index.d.ts +1 -0
- package/dist/models/v2/money/index.js +3 -0
- package/dist/models/v2/money/index.js.map +1 -0
- package/dist/models/v2/money/money.d.ts +9 -0
- package/dist/models/v2/money/money.js +3 -0
- package/dist/models/v2/money/money.js.map +1 -0
- package/dist/models/v2/pagination-links/index.d.ts +1 -0
- package/dist/models/v2/pagination-links/index.js +3 -0
- package/dist/models/v2/pagination-links/index.js.map +1 -0
- package/dist/models/v2/pagination-links/pagination-links.d.ts +22 -0
- package/dist/models/v2/pagination-links/pagination-links.js +3 -0
- package/dist/models/v2/pagination-links/pagination-links.js.map +1 -0
- package/dist/models/v2/pagination-meta/index.d.ts +1 -0
- package/dist/models/v2/pagination-meta/index.js +3 -0
- package/dist/models/v2/pagination-meta/index.js.map +1 -0
- package/dist/models/v2/pagination-meta/pagination-meta.d.ts +9 -0
- package/dist/models/v2/pagination-meta/pagination-meta.js +3 -0
- package/dist/models/v2/pagination-meta/pagination-meta.js.map +1 -0
- package/dist/models/v2/phone/index.d.ts +1 -0
- package/dist/models/v2/phone/index.js +3 -0
- package/dist/models/v2/phone/index.js.map +1 -0
- package/dist/models/v2/phone/phone.d.ts +11 -0
- package/dist/models/v2/phone/phone.js +3 -0
- package/dist/models/v2/phone/phone.js.map +1 -0
- package/dist/models/v2/phone-details/index.d.ts +1 -0
- package/dist/models/v2/phone-details/index.js +3 -0
- package/dist/models/v2/phone-details/index.js.map +1 -0
- package/dist/models/v2/phone-details/phone-details.d.ts +6 -0
- package/dist/models/v2/phone-details/phone-details.js +6 -0
- package/dist/models/v2/phone-details/phone-details.js.map +1 -0
- package/dist/models/v2/play/index.d.ts +1 -0
- package/dist/models/v2/play/index.js +3 -0
- package/dist/models/v2/play/index.js.map +1 -0
- package/dist/models/v2/play/play.d.ts +4 -0
- package/dist/models/v2/play/play.js +3 -0
- package/dist/models/v2/play/play.js.map +1 -0
- package/dist/models/v2/play-message/index.d.ts +1 -0
- package/dist/models/v2/play-message/index.js +3 -0
- package/dist/models/v2/play-message/index.js.map +1 -0
- package/dist/models/v2/play-message/play-message.d.ts +11 -0
- package/dist/models/v2/play-message/play-message.js +3 -0
- package/dist/models/v2/play-message/play-message.js.map +1 -0
- package/dist/models/v2/recording-destination-type/index.d.ts +1 -0
- package/dist/models/v2/recording-destination-type/index.js +3 -0
- package/dist/models/v2/recording-destination-type/index.js.map +1 -0
- package/dist/models/v2/recording-destination-type/recording-destination-type.d.ts +4 -0
- package/dist/models/v2/recording-destination-type/recording-destination-type.js +3 -0
- package/dist/models/v2/recording-destination-type/recording-destination-type.js.map +1 -0
- package/dist/models/v2/recording-format-type/index.d.ts +1 -0
- package/dist/models/v2/recording-format-type/index.js +3 -0
- package/dist/models/v2/recording-format-type/index.js.map +1 -0
- package/dist/models/v2/recording-format-type/recording-format-type.d.ts +4 -0
- package/dist/models/v2/recording-format-type/recording-format-type.js +3 -0
- package/dist/models/v2/recording-format-type/recording-format-type.js.map +1 -0
- package/dist/models/v2/recording-options/index.d.ts +1 -0
- package/dist/models/v2/recording-options/index.js +3 -0
- package/dist/models/v2/recording-options/index.js.map +1 -0
- package/dist/models/v2/recording-options/recording-options.d.ts +21 -0
- package/dist/models/v2/recording-options/recording-options.js +3 -0
- package/dist/models/v2/recording-options/recording-options.js.map +1 -0
- package/dist/models/v2/recording-type/index.d.ts +1 -0
- package/dist/models/v2/recording-type/index.js +3 -0
- package/dist/models/v2/recording-type/index.js.map +1 -0
- package/dist/models/v2/recording-type/recording-type.d.ts +4 -0
- package/dist/models/v2/recording-type/recording-type.js +3 -0
- package/dist/models/v2/recording-type/recording-type.js.map +1 -0
- package/dist/models/v2/requests/batches/batches-request-data.d.ts +21 -0
- package/dist/models/v2/requests/batches/batches-request-data.js +3 -0
- package/dist/models/v2/requests/batches/batches-request-data.js.map +1 -0
- package/dist/models/v2/requests/calls/calls-request-data.d.ts +87 -0
- package/dist/models/v2/requests/calls/calls-request-data.js +3 -0
- package/dist/models/v2/requests/calls/calls-request-data.js.map +1 -0
- package/dist/models/v2/requests/index.d.ts +5 -0
- package/dist/models/v2/requests/index.js +22 -0
- package/dist/models/v2/requests/index.js.map +1 -0
- package/dist/models/v2/requests/services/services-request-data.d.ts +37 -0
- package/dist/models/v2/requests/services/services-request-data.js +3 -0
- package/dist/models/v2/requests/services/services-request-data.js.map +1 -0
- package/dist/models/v2/requests/sessions/sessions-request-data.d.ts +4 -0
- package/dist/models/v2/requests/sessions/sessions-request-data.js +3 -0
- package/dist/models/v2/requests/sessions/sessions-request-data.js.map +1 -0
- package/dist/models/v2/requests/svaml/svaml-request-data.d.ts +10 -0
- package/dist/models/v2/requests/svaml/svaml-request-data.js +3 -0
- package/dist/models/v2/requests/svaml/svaml-request-data.js.map +1 -0
- package/dist/models/v2/say/index.d.ts +1 -0
- package/dist/models/v2/say/index.js +3 -0
- package/dist/models/v2/say/index.js.map +1 -0
- package/dist/models/v2/say/say.d.ts +9 -0
- package/dist/models/v2/say/say.js +3 -0
- package/dist/models/v2/say/say.js.map +1 -0
- package/dist/models/v2/say-message/index.d.ts +1 -0
- package/dist/models/v2/say-message/index.js +3 -0
- package/dist/models/v2/say-message/index.js.map +1 -0
- package/dist/models/v2/say-message/say-message.d.ts +11 -0
- package/dist/models/v2/say-message/say-message.js +3 -0
- package/dist/models/v2/say-message/say-message.js.map +1 -0
- package/dist/models/v2/service-list/index.d.ts +1 -0
- package/dist/models/v2/service-list/index.js +3 -0
- package/dist/models/v2/service-list/index.js.map +1 -0
- package/dist/models/v2/service-list/service-list.d.ts +14 -0
- package/dist/models/v2/service-list/service-list.js +3 -0
- package/dist/models/v2/service-list/service-list.js.map +1 -0
- package/dist/models/v2/service-response/index.d.ts +1 -0
- package/dist/models/v2/service-response/index.js +3 -0
- package/dist/models/v2/service-response/index.js.map +1 -0
- package/dist/models/v2/service-response/service-response.d.ts +29 -0
- package/dist/models/v2/service-response/service-response.js +3 -0
- package/dist/models/v2/service-response/service-response.js.map +1 -0
- package/dist/models/v2/service-short-response/index.d.ts +1 -0
- package/dist/models/v2/service-short-response/index.js +3 -0
- package/dist/models/v2/service-short-response/index.js.map +1 -0
- package/dist/models/v2/service-short-response/service-short-response.d.ts +26 -0
- package/dist/models/v2/service-short-response/service-short-response.js +3 -0
- package/dist/models/v2/service-short-response/service-short-response.js.map +1 -0
- package/dist/models/v2/session/index.d.ts +1 -0
- package/dist/models/v2/session/index.js +3 -0
- package/dist/models/v2/session/index.js.map +1 -0
- package/dist/models/v2/session/session.d.ts +26 -0
- package/dist/models/v2/session/session.js +3 -0
- package/dist/models/v2/session/session.js.map +1 -0
- package/dist/models/v2/session-state/index.d.ts +1 -0
- package/dist/models/v2/session-state/index.js +3 -0
- package/dist/models/v2/session-state/index.js.map +1 -0
- package/dist/models/v2/session-state/session-state.d.ts +11 -0
- package/dist/models/v2/session-state/session-state.js +3 -0
- package/dist/models/v2/session-state/session-state.js.map +1 -0
- package/dist/models/v2/sip/index.d.ts +1 -0
- package/dist/models/v2/sip/index.js +3 -0
- package/dist/models/v2/sip/index.js.map +1 -0
- package/dist/models/v2/sip/sip.d.ts +8 -0
- package/dist/models/v2/sip/sip.js +3 -0
- package/dist/models/v2/sip/sip.js.map +1 -0
- package/dist/models/v2/sip-call-headers-inner/index.d.ts +1 -0
- package/dist/models/v2/sip-call-headers-inner/index.js +3 -0
- package/dist/models/v2/sip-call-headers-inner/index.js.map +1 -0
- package/dist/models/v2/sip-call-headers-inner/sip-call-headers-inner.d.ts +8 -0
- package/dist/models/v2/sip-call-headers-inner/sip-call-headers-inner.js +6 -0
- package/dist/models/v2/sip-call-headers-inner/sip-call-headers-inner.js.map +1 -0
- package/dist/models/v2/sip-details/index.d.ts +1 -0
- package/dist/models/v2/sip-details/index.js +3 -0
- package/dist/models/v2/sip-details/index.js.map +1 -0
- package/dist/models/v2/sip-details/sip-details.d.ts +12 -0
- package/dist/models/v2/sip-details/sip-details.js +6 -0
- package/dist/models/v2/sip-details/sip-details.js.map +1 -0
- package/dist/models/v2/sip-from/index.d.ts +1 -0
- package/dist/models/v2/sip-from/index.js +3 -0
- package/dist/models/v2/sip-from/index.js.map +1 -0
- package/dist/models/v2/sip-from/sip-from.d.ts +8 -0
- package/dist/models/v2/sip-from/sip-from.js +3 -0
- package/dist/models/v2/sip-from/sip-from.js.map +1 -0
- package/dist/models/v2/sip-from-details/index.d.ts +1 -0
- package/dist/models/v2/sip-from-details/index.js +3 -0
- package/dist/models/v2/sip-from-details/index.js.map +1 -0
- package/dist/models/v2/sip-from-details/sip-from-details.d.ts +8 -0
- package/dist/models/v2/sip-from-details/sip-from-details.js +6 -0
- package/dist/models/v2/sip-from-details/sip-from-details.js.map +1 -0
- package/dist/models/v2/stream/index.d.ts +1 -0
- package/dist/models/v2/stream/index.js +3 -0
- package/dist/models/v2/stream/index.js.map +1 -0
- package/dist/models/v2/stream/stream.d.ts +11 -0
- package/dist/models/v2/stream/stream.js +3 -0
- package/dist/models/v2/stream/stream.js.map +1 -0
- package/dist/models/v2/stream-details/index.d.ts +1 -0
- package/dist/models/v2/stream-details/index.js +3 -0
- package/dist/models/v2/stream-details/index.js.map +1 -0
- package/dist/models/v2/stream-details/stream-details.d.ts +10 -0
- package/dist/models/v2/stream-details/stream-details.js +3 -0
- package/dist/models/v2/stream-details/stream-details.js.map +1 -0
- package/dist/models/v2/stream-options/index.d.ts +1 -0
- package/dist/models/v2/stream-options/index.js +3 -0
- package/dist/models/v2/stream-options/index.js.map +1 -0
- package/dist/models/v2/stream-options/stream-options.d.ts +10 -0
- package/dist/models/v2/stream-options/stream-options.js +3 -0
- package/dist/models/v2/stream-options/stream-options.js.map +1 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-command.d.ts +10 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-command.js +3 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-events.d.ts +14 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-events.js +3 -0
- package/dist/models/v2/svaml-commands/amd-command/amd-events.js.map +1 -0
- package/dist/models/v2/svaml-commands/amd-command/index.d.ts +2 -0
- package/dist/models/v2/svaml-commands/amd-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/amd-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/answer-command/answer-command.d.ts +7 -0
- package/dist/models/v2/svaml-commands/answer-command/answer-command.js +3 -0
- package/dist/models/v2/svaml-commands/answer-command/answer-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/answer-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/answer-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/answer-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/bridge-call-command.d.ts +11 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/bridge-call-command.js +6 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/bridge-call-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/bridge-call-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/dial-command/call-events.d.ts +18 -0
- package/dist/models/v2/svaml-commands/dial-command/call-events.js +3 -0
- package/dist/models/v2/svaml-commands/dial-command/call-events.js.map +1 -0
- package/dist/models/v2/svaml-commands/dial-command/dial-command.d.ts +24 -0
- package/dist/models/v2/svaml-commands/dial-command/dial-command.js +6 -0
- package/dist/models/v2/svaml-commands/dial-command/dial-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/dial-command/index.d.ts +2 -0
- package/dist/models/v2/svaml-commands/dial-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/dial-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/goto-menu-command.d.ts +9 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/goto-menu-command.js +3 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/goto-menu-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/goto-menu-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/hangup-command/hangup-command.d.ts +11 -0
- package/dist/models/v2/svaml-commands/hangup-command/hangup-command.js +6 -0
- package/dist/models/v2/svaml-commands/hangup-command/hangup-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/hangup-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/hangup-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/hangup-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/index.d.ts +14 -0
- package/dist/models/v2/svaml-commands/index.js +31 -0
- package/dist/models/v2/svaml-commands/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/menu-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/menu-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/menu-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/menu-command/menu-command.d.ts +14 -0
- package/dist/models/v2/svaml-commands/menu-command/menu-command.js +3 -0
- package/dist/models/v2/svaml-commands/menu-command/menu-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/messages-command/index.d.ts +2 -0
- package/dist/models/v2/svaml-commands/messages-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/messages-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/messages-command/message-events.d.ts +8 -0
- package/dist/models/v2/svaml-commands/messages-command/message-events.js +3 -0
- package/dist/models/v2/svaml-commands/messages-command/message-events.js.map +1 -0
- package/dist/models/v2/svaml-commands/messages-command/messages-command.d.ts +17 -0
- package/dist/models/v2/svaml-commands/messages-command/messages-command.js +6 -0
- package/dist/models/v2/svaml-commands/messages-command/messages-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/pause-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/pause-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/pause-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/pause-command/pause-command.d.ts +9 -0
- package/dist/models/v2/svaml-commands/pause-command/pause-command.js +3 -0
- package/dist/models/v2/svaml-commands/pause-command/pause-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/start-recording-command/index.d.ts +2 -0
- package/dist/models/v2/svaml-commands/start-recording-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/start-recording-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/start-recording-command/recording-events.d.ts +10 -0
- package/dist/models/v2/svaml-commands/start-recording-command/recording-events.js +3 -0
- package/dist/models/v2/svaml-commands/start-recording-command/recording-events.js.map +1 -0
- package/dist/models/v2/svaml-commands/start-recording-command/start-recording-command.d.ts +17 -0
- package/dist/models/v2/svaml-commands/start-recording-command/start-recording-command.js +6 -0
- package/dist/models/v2/svaml-commands/start-recording-command/start-recording-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/stop-messages-command.d.ts +11 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/stop-messages-command.js +6 -0
- package/dist/models/v2/svaml-commands/stop-messages-command/stop-messages-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/stop-recording-command.d.ts +11 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/stop-recording-command.js +6 -0
- package/dist/models/v2/svaml-commands/stop-recording-command/stop-recording-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/svaml-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/svaml-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/svaml-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/svaml-command/svaml-command.d.ts +17 -0
- package/dist/models/v2/svaml-commands/svaml-command/svaml-command.js +3 -0
- package/dist/models/v2/svaml-commands/svaml-command/svaml-command.js.map +1 -0
- package/dist/models/v2/svaml-commands/webhook-command/index.d.ts +1 -0
- package/dist/models/v2/svaml-commands/webhook-command/index.js +3 -0
- package/dist/models/v2/svaml-commands/webhook-command/index.js.map +1 -0
- package/dist/models/v2/svaml-commands/webhook-command/webhook-command.d.ts +15 -0
- package/dist/models/v2/svaml-commands/webhook-command/webhook-command.js +6 -0
- package/dist/models/v2/svaml-commands/webhook-command/webhook-command.js.map +1 -0
- package/dist/models/v2/svaml-description-response/index.d.ts +1 -0
- package/dist/models/v2/svaml-description-response/index.js +3 -0
- package/dist/models/v2/svaml-description-response/index.js.map +1 -0
- package/dist/models/v2/svaml-description-response/svaml-description-response.d.ts +7 -0
- package/dist/models/v2/svaml-description-response/svaml-description-response.js +3 -0
- package/dist/models/v2/svaml-description-response/svaml-description-response.js.map +1 -0
- package/dist/models/v2/svaml-input/index.d.ts +1 -0
- package/dist/models/v2/svaml-input/index.js +3 -0
- package/dist/models/v2/svaml-input/index.js.map +1 -0
- package/dist/models/v2/svaml-input/svaml-input.d.ts +20 -0
- package/dist/models/v2/svaml-input/svaml-input.js +3 -0
- package/dist/models/v2/svaml-input/svaml-input.js.map +1 -0
- package/dist/models/v2/transcription-options/index.d.ts +1 -0
- package/dist/models/v2/transcription-options/index.js +3 -0
- package/dist/models/v2/transcription-options/index.js.map +1 -0
- package/dist/models/v2/transcription-options/transcription-options.d.ts +9 -0
- package/dist/models/v2/transcription-options/transcription-options.js +3 -0
- package/dist/models/v2/transcription-options/transcription-options.js.map +1 -0
- package/dist/models/v2/update-service/index.d.ts +1 -0
- package/dist/models/v2/update-service/index.js +3 -0
- package/dist/models/v2/update-service/index.js.map +1 -0
- package/dist/models/v2/update-service/update-service.d.ts +18 -0
- package/dist/models/v2/update-service/update-service.js +3 -0
- package/dist/models/v2/update-service/update-service.js.map +1 -0
- package/dist/models/v2/validate-svaml-request/index.d.ts +1 -0
- package/dist/models/v2/validate-svaml-request/index.js +3 -0
- package/dist/models/v2/validate-svaml-request/index.js.map +1 -0
- package/dist/models/v2/validate-svaml-request/validate-svaml-request.d.ts +18 -0
- package/dist/models/v2/validate-svaml-request/validate-svaml-request.js +3 -0
- package/dist/models/v2/validate-svaml-request/validate-svaml-request.js.map +1 -0
- package/dist/models/v2/validate-svaml-response/index.d.ts +1 -0
- package/dist/models/v2/validate-svaml-response/index.js +3 -0
- package/dist/models/v2/validate-svaml-response/index.js.map +1 -0
- package/dist/models/v2/validate-svaml-response/validate-svaml-response.d.ts +17 -0
- package/dist/models/v2/validate-svaml-response/validate-svaml-response.js +3 -0
- package/dist/models/v2/validate-svaml-response/validate-svaml-response.js.map +1 -0
- package/dist/models/v2/voice-relay/index.d.ts +1 -0
- package/dist/models/v2/voice-relay/index.js +3 -0
- package/dist/models/v2/voice-relay/index.js.map +1 -0
- package/dist/models/v2/voice-relay/voice-relay.d.ts +11 -0
- package/dist/models/v2/voice-relay/voice-relay.js +3 -0
- package/dist/models/v2/voice-relay/voice-relay.js.map +1 -0
- package/dist/models/v2/voice-relay-details/index.d.ts +1 -0
- package/dist/models/v2/voice-relay-details/index.js +3 -0
- package/dist/models/v2/voice-relay-details/index.js.map +1 -0
- package/dist/models/v2/voice-relay-details/voice-relay-details.d.ts +15 -0
- package/dist/models/v2/voice-relay-details/voice-relay-details.js +6 -0
- package/dist/models/v2/voice-relay-details/voice-relay-details.js.map +1 -0
- package/dist/models/v2/webhook-configuration/index.d.ts +1 -0
- package/dist/models/v2/webhook-configuration/index.js +3 -0
- package/dist/models/v2/webhook-configuration/index.js.map +1 -0
- package/dist/models/v2/webhook-configuration/webhook-configuration.d.ts +14 -0
- package/dist/models/v2/webhook-configuration/webhook-configuration.js +3 -0
- package/dist/models/v2/webhook-configuration/webhook-configuration.js.map +1 -0
- package/dist/models/v2/webhook-request/index.d.ts +1 -0
- package/dist/models/v2/webhook-request/index.js +3 -0
- package/dist/models/v2/webhook-request/index.js.map +1 -0
- package/dist/models/v2/webhook-request/webhook-request.d.ts +46 -0
- package/dist/models/v2/webhook-request/webhook-request.js +3 -0
- package/dist/models/v2/webhook-request/webhook-request.js.map +1 -0
- package/dist/models/v2/webhook-response/index.d.ts +1 -0
- package/dist/models/v2/webhook-response/index.js +3 -0
- package/dist/models/v2/webhook-response/index.js.map +1 -0
- package/dist/models/v2/webhook-response/webhook-response.d.ts +27 -0
- package/dist/models/v2/webhook-response/webhook-response.js +3 -0
- package/dist/models/v2/webhook-response/webhook-response.js.map +1 -0
- package/dist/rest/index.d.ts +1 -0
- package/dist/rest/index.js +1 -0
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/v1/applications/applications-api.d.ts +2 -1
- package/dist/rest/v1/applications/applications-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/applications/applications-api.js +1 -0
- package/dist/rest/v1/applications/applications-api.js.map +1 -1
- package/dist/rest/v1/callbacks/callbacks-webhook.js +1 -2
- package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
- package/dist/rest/v1/callouts/callouts-api.d.ts +2 -1
- package/dist/rest/v1/callouts/callouts-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/callouts/callouts-api.js +1 -0
- package/dist/rest/v1/callouts/callouts-api.js.map +1 -1
- package/dist/rest/v1/calls/calls-api.d.ts +2 -1
- package/dist/rest/v1/calls/calls-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/calls/calls-api.js +1 -0
- package/dist/rest/v1/calls/calls-api.js.map +1 -1
- package/dist/rest/v1/conferences/conferences-api.d.ts +2 -1
- package/dist/rest/v1/conferences/conferences-api.jest.fixture.js.map +1 -1
- package/dist/rest/v1/conferences/conferences-api.js +1 -0
- package/dist/rest/v1/conferences/conferences-api.js.map +1 -1
- package/dist/rest/v1/lazy-voice-api-client.d.ts +10 -0
- package/dist/rest/v1/lazy-voice-api-client.js +38 -0
- package/dist/rest/v1/lazy-voice-api-client.js.map +1 -0
- package/dist/rest/v1/voice-domain-api.d.ts +15 -2
- package/dist/rest/v1/voice-domain-api.js +13 -2
- package/dist/rest/v1/voice-domain-api.js.map +1 -1
- package/dist/rest/v1/voice-service.d.ts +2 -68
- package/dist/rest/v1/voice-service.js +5 -137
- package/dist/rest/v1/voice-service.js.map +1 -1
- package/dist/rest/v2/batches/batches-api.d.ts +35 -0
- package/dist/rest/v2/batches/batches-api.jest.fixture.d.ts +20 -0
- package/dist/rest/v2/batches/batches-api.jest.fixture.js +25 -0
- package/dist/rest/v2/batches/batches-api.jest.fixture.js.map +1 -0
- package/dist/rest/v2/batches/batches-api.js +108 -0
- package/dist/rest/v2/batches/batches-api.js.map +1 -0
- package/dist/rest/v2/batches/index.d.ts +2 -0
- package/dist/rest/v2/batches/index.js +19 -0
- package/dist/rest/v2/batches/index.js.map +1 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.d.ts +63 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.jest.fixture.d.ts +17 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.jest.fixture.js +21 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.jest.fixture.js.map +1 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.js +174 -0
- package/dist/rest/v2/callbacks/callbacks-webhook.js.map +1 -0
- package/dist/rest/v2/callbacks/index.d.ts +2 -0
- package/dist/rest/v2/callbacks/index.js +19 -0
- package/dist/rest/v2/callbacks/index.js.map +1 -0
- package/dist/rest/v2/calls/calls-api.d.ts +43 -0
- package/dist/rest/v2/calls/calls-api.jest.fixture.d.ts +25 -0
- package/dist/rest/v2/calls/calls-api.jest.fixture.js +29 -0
- package/dist/rest/v2/calls/calls-api.jest.fixture.js.map +1 -0
- package/dist/rest/v2/calls/calls-api.js +153 -0
- package/dist/rest/v2/calls/calls-api.js.map +1 -0
- package/dist/rest/v2/calls/index.d.ts +2 -0
- package/dist/rest/v2/calls/index.js +19 -0
- package/dist/rest/v2/calls/index.js.map +1 -0
- package/dist/rest/v2/index.d.ts +9 -0
- package/dist/rest/v2/index.js +38 -0
- package/dist/rest/v2/index.js.map +1 -0
- package/dist/rest/v2/services/index.d.ts +2 -0
- package/dist/rest/v2/services/index.js +19 -0
- package/dist/rest/v2/services/index.js.map +1 -0
- package/dist/rest/v2/services/services-api.d.ts +51 -0
- package/dist/rest/v2/services/services-api.jest.fixture.d.ts +25 -0
- package/dist/rest/v2/services/services-api.jest.fixture.js +29 -0
- package/dist/rest/v2/services/services-api.jest.fixture.js.map +1 -0
- package/dist/rest/v2/services/services-api.js +152 -0
- package/dist/rest/v2/services/services-api.js.map +1 -0
- package/dist/rest/v2/sessions/index.d.ts +2 -0
- package/dist/rest/v2/sessions/index.js +19 -0
- package/dist/rest/v2/sessions/index.js.map +1 -0
- package/dist/rest/v2/sessions/sessions-api.d.ts +13 -0
- package/dist/rest/v2/sessions/sessions-api.jest.fixture.d.ts +8 -0
- package/dist/rest/v2/sessions/sessions-api.jest.fixture.js +13 -0
- package/dist/rest/v2/sessions/sessions-api.jest.fixture.js.map +1 -0
- package/dist/rest/v2/sessions/sessions-api.js +34 -0
- package/dist/rest/v2/sessions/sessions-api.js.map +1 -0
- package/dist/rest/v2/svaml/index.d.ts +2 -0
- package/dist/rest/v2/svaml/index.js +19 -0
- package/dist/rest/v2/svaml/index.js.map +1 -0
- package/dist/rest/v2/svaml/svaml-api.d.ts +22 -0
- package/dist/rest/v2/svaml/svaml-api.jest.fixture.d.ts +12 -0
- package/dist/rest/v2/svaml/svaml-api.jest.fixture.js +17 -0
- package/dist/rest/v2/svaml/svaml-api.jest.fixture.js.map +1 -0
- package/dist/rest/v2/svaml/svaml-api.js +63 -0
- package/dist/rest/v2/svaml/svaml-api.js.map +1 -0
- package/dist/rest/v2/voice-v2-domain-api.d.ts +28 -0
- package/dist/rest/v2/voice-v2-domain-api.js +49 -0
- package/dist/rest/v2/voice-v2-domain-api.js.map +1 -0
- package/dist/rest/v2/voice-v2-service.d.ts +41 -0
- package/dist/rest/v2/voice-v2-service.js +82 -0
- package/dist/rest/v2/voice-v2-service.js.map +1 -0
- package/dist/rest/voice-service.d.ts +72 -0
- package/dist/rest/voice-service.js +122 -0
- package/dist/rest/voice-service.js.map +1 -0
- package/package.json +7 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination-links.js","sourceRoot":"","sources":["../../../../src/models/v2/pagination-links/pagination-links.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PaginationMeta } from './pagination-meta';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/pagination-meta/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination-meta.js","sourceRoot":"","sources":["../../../../src/models/v2/pagination-meta/pagination-meta.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Phone } from './phone';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/phone/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PhoneDetails } from '../phone-details';
|
|
2
|
+
/**
|
|
3
|
+
* Routes the call to a phone number on the Public Switched Telephone Network (PSTN).
|
|
4
|
+
*/
|
|
5
|
+
export interface Phone {
|
|
6
|
+
/** Routes the call to a phone number on the Public Switched Telephone Network (PSTN). The number must be in E.164 format. */
|
|
7
|
+
type: TypeEnum;
|
|
8
|
+
/** @see PhoneDetails */
|
|
9
|
+
phone: PhoneDetails;
|
|
10
|
+
}
|
|
11
|
+
export type TypeEnum = 'PHONE' | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../src/models/v2/phone/phone.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PhoneDetails } from './phone-details';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/phone-details/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-details.js","sourceRoot":"","sources":["../../../../src/models/v2/phone-details/phone-details.ts"],"names":[],"mappings":";;;AAIA,kCAAkC;AACrB,QAAA,aAAa,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Play } from './play';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/play/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"play.js","sourceRoot":"","sources":["../../../../src/models/v2/play/play.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PlayMessage } from './play-message';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/play-message/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Play } from '../play';
|
|
2
|
+
/**
|
|
3
|
+
* An audio file playback message item. The platform fetches and plays the audio file at the provided URL on the call.
|
|
4
|
+
*/
|
|
5
|
+
export interface PlayMessage {
|
|
6
|
+
/** Audio file playback during the call. */
|
|
7
|
+
type: TypeEnum;
|
|
8
|
+
/** @see Play */
|
|
9
|
+
play: Play;
|
|
10
|
+
}
|
|
11
|
+
export type TypeEnum = 'PLAY' | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"play-message.js","sourceRoot":"","sources":["../../../../src/models/v2/play-message/play-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RecordingDestinationType } from './recording-destination-type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-destination-type/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording-destination-type.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-destination-type/recording-destination-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RecordingFormatType } from './recording-format-type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-format-type/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording-format-type.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-format-type/recording-format-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RecordingOptions } from './recording-options';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-options/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RecordingDestinationType } from '../recording-destination-type';
|
|
2
|
+
import { RecordingFormatType } from '../recording-format-type';
|
|
3
|
+
import { RecordingType } from '../recording-type';
|
|
4
|
+
import { TranscriptionOptions } from '../transcription-options';
|
|
5
|
+
/**
|
|
6
|
+
* Recording options for this recording.
|
|
7
|
+
*/
|
|
8
|
+
export interface RecordingOptions {
|
|
9
|
+
/** @see RecordingFormatType */
|
|
10
|
+
format?: RecordingFormatType;
|
|
11
|
+
/** @see RecordingType */
|
|
12
|
+
recordingType?: RecordingType;
|
|
13
|
+
/** @see RecordingDestinationType */
|
|
14
|
+
destination: RecordingDestinationType;
|
|
15
|
+
/** Destination URL for the recording. */
|
|
16
|
+
destinationUrl: string;
|
|
17
|
+
/** Credentials to third party storage. */
|
|
18
|
+
credentials: string;
|
|
19
|
+
/** @see TranscriptionOptions */
|
|
20
|
+
transcriptionOptions?: TranscriptionOptions;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording-options.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-options/recording-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RecordingType } from './recording-type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-type/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recording-type.js","sourceRoot":"","sources":["../../../../src/models/v2/recording-type/recording-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BatchRequest } from '../../batch-request';
|
|
2
|
+
export interface StartBatchRequestData {
|
|
3
|
+
/** The ID of the service. If omitted, the project's default service is used. */
|
|
4
|
+
'serviceId'?: string;
|
|
5
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. */
|
|
6
|
+
'Idempotency-Key'?: string;
|
|
7
|
+
/** Request payload to initiate a batch of outbound call sessions. */
|
|
8
|
+
'startBatchRequestBody'?: BatchRequest;
|
|
9
|
+
}
|
|
10
|
+
export interface GetBatchCallSummaryRequestData {
|
|
11
|
+
/** Unique identifier of the batch call operation (ULID). */
|
|
12
|
+
'batchId': string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetBatchDetailsRequestData {
|
|
15
|
+
/** Unique identifier of the batch call operation (ULID). */
|
|
16
|
+
'batchId': string;
|
|
17
|
+
}
|
|
18
|
+
export interface StopBatchProcessingRequestData {
|
|
19
|
+
/** Unique identifier of the batch call operation (ULID). */
|
|
20
|
+
'batchId': string;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batches-request-data.js","sourceRoot":"","sources":["../../../../../src/models/v2/requests/batches/batches-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { CallPatchRequest } from '../../call-patch-request';
|
|
2
|
+
import { CallReason, CallResult, CallType } from '../../call';
|
|
3
|
+
import { CallRequest } from '../../call-request';
|
|
4
|
+
export interface CreateCallRequestData {
|
|
5
|
+
/** The ID of the service. If omitted, the project's default service is used. */
|
|
6
|
+
'serviceId'?: string;
|
|
7
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. If omitted, the SDK generates a UUID v4. */
|
|
8
|
+
'Idempotency-Key'?: string;
|
|
9
|
+
/** Request payload to initiate a single outbound call. */
|
|
10
|
+
'createCallRequestBody'?: CallRequest;
|
|
11
|
+
}
|
|
12
|
+
export interface ListCallsRequestData {
|
|
13
|
+
/** The ID of the service. */
|
|
14
|
+
'serviceId'?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Only include calls where `from` matches this origin. For inbound
|
|
17
|
+
* calls, this is the caller; for outbound calls, this is the calling
|
|
18
|
+
* party.
|
|
19
|
+
*/
|
|
20
|
+
'from'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Only include calls where `to` matches this destination. For inbound
|
|
23
|
+
* calls, this is the called party; for outbound calls, this is the
|
|
24
|
+
* callee/recipient.
|
|
25
|
+
*/
|
|
26
|
+
'to'?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Only include calls of the specified type.
|
|
29
|
+
*
|
|
30
|
+
* If omitted, calls of all types are included.
|
|
31
|
+
*/
|
|
32
|
+
'callType'?: CallType;
|
|
33
|
+
/**
|
|
34
|
+
* Only include calls that started **at or after** `startTime`.
|
|
35
|
+
*
|
|
36
|
+
* Use a more precise timestamp to narrow the results. For example:
|
|
37
|
+
* - `2025-02-01` matches calls starting from 2025-02-01T00:00:00Z
|
|
38
|
+
* - `2025-02-01T14:00:00Z` matches calls starting from 14:00:00Z on 2025-02-01
|
|
39
|
+
*/
|
|
40
|
+
'startTime'?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* Only include calls that ended **before** `endTime` (exclusive).
|
|
43
|
+
*
|
|
44
|
+
* Use a more precise timestamp to narrow the results. For example:
|
|
45
|
+
* - `2025-03-01` matches calls ending up to 2025-03-01T00:00:00Z
|
|
46
|
+
* - `2025-03-01T14:00:00Z` matches calls ending up to 14:00:00Z on 2025-03-01
|
|
47
|
+
*/
|
|
48
|
+
'endTime'?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* Filter results to only include calls whose `callResult` matches the specified value.
|
|
51
|
+
*
|
|
52
|
+
* If omitted, calls with any result are included.
|
|
53
|
+
*/
|
|
54
|
+
'callResult'?: CallResult;
|
|
55
|
+
/**
|
|
56
|
+
* Filter results to only include calls whose `callReason` matches the specified value.
|
|
57
|
+
*
|
|
58
|
+
* If omitted, calls with any reason are included.
|
|
59
|
+
*/
|
|
60
|
+
'callReason'?: CallReason;
|
|
61
|
+
/** Number of items to be returned on each page. */
|
|
62
|
+
'pageSize'?: number;
|
|
63
|
+
/** Page number (1-based) */
|
|
64
|
+
'page'?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface GetCallByIdRequestData {
|
|
67
|
+
/** The ID of the call. */
|
|
68
|
+
'callId': string;
|
|
69
|
+
}
|
|
70
|
+
export interface PatchCallByIdRequestData {
|
|
71
|
+
/** The ID of the call. */
|
|
72
|
+
'callId': string;
|
|
73
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. If omitted, the SDK generates a UUID v4. */
|
|
74
|
+
'Idempotency-Key'?: string;
|
|
75
|
+
/** Request body for patching an ongoing call with SVAML commands. */
|
|
76
|
+
'callPatchRequestBody': CallPatchRequest;
|
|
77
|
+
}
|
|
78
|
+
export interface PatchCallBySessionAndNameRequestData {
|
|
79
|
+
/** The ID of the session. */
|
|
80
|
+
'sessionId': string;
|
|
81
|
+
/** The name of the call leg within the session, as assigned by the `callName` property in the `dial` command. */
|
|
82
|
+
'callName': string;
|
|
83
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. If omitted, the SDK generates a UUID v4. */
|
|
84
|
+
'Idempotency-Key'?: string;
|
|
85
|
+
/** Request body for patching an ongoing call with SVAML commands. */
|
|
86
|
+
'callPatchRequestBody': CallPatchRequest;
|
|
87
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calls-request-data.js","sourceRoot":"","sources":["../../../../../src/models/v2/requests/calls/calls-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./calls/calls-request-data"), exports);
|
|
18
|
+
__exportStar(require("./batches/batches-request-data"), exports);
|
|
19
|
+
__exportStar(require("./sessions/sessions-request-data"), exports);
|
|
20
|
+
__exportStar(require("./services/services-request-data"), exports);
|
|
21
|
+
__exportStar(require("./svaml/svaml-request-data"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,iEAA+C;AAC/C,mEAAiD;AACjD,mEAAiD;AACjD,6DAA2C"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CreateService } from '../../create-service';
|
|
2
|
+
import { UpdateService } from '../../update-service';
|
|
3
|
+
export interface ListServicesRequestData {
|
|
4
|
+
/**
|
|
5
|
+
* Filter services by name or description. Returns all services where either the name or
|
|
6
|
+
* description contains the specified value (case-insensitive partial match).
|
|
7
|
+
*/
|
|
8
|
+
'filter'?: string;
|
|
9
|
+
/** Return the default service only. */
|
|
10
|
+
'isDefault'?: boolean;
|
|
11
|
+
/** Number of items to be returned on each page. */
|
|
12
|
+
'pageSize'?: number;
|
|
13
|
+
/** Page number (1-based) */
|
|
14
|
+
'page'?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface CreateServiceRequestData {
|
|
17
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. If omitted, the SDK generates a UUID v4. */
|
|
18
|
+
'Idempotency-Key'?: string;
|
|
19
|
+
/** Request body for creating a new voice service. */
|
|
20
|
+
'createServiceRequestBody': CreateService;
|
|
21
|
+
}
|
|
22
|
+
export interface GetServiceRequestData {
|
|
23
|
+
/** The ID of the service. */
|
|
24
|
+
'serviceId': string;
|
|
25
|
+
}
|
|
26
|
+
export interface UpdateServiceRequestData {
|
|
27
|
+
/** The ID of the service. */
|
|
28
|
+
'serviceId': string;
|
|
29
|
+
/** Client-generated idempotency key to safely retry requests. The server uses this key to recognize retries of the same request. If a request with the same key is received within 10 minutes, the server returns the cached response from the original request. Using a random UUID (v4) is strongly recommended. If omitted, the SDK generates a UUID v4. */
|
|
30
|
+
'Idempotency-Key'?: string;
|
|
31
|
+
/** Request body for updating an existing voice service. */
|
|
32
|
+
'updateServiceRequestBody'?: UpdateService;
|
|
33
|
+
}
|
|
34
|
+
export interface DeleteServiceRequestData {
|
|
35
|
+
/** The ID of the service. */
|
|
36
|
+
'serviceId': string;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services-request-data.js","sourceRoot":"","sources":["../../../../../src/models/v2/requests/services/services-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessions-request-data.js","sourceRoot":"","sources":["../../../../../src/models/v2/requests/sessions/sessions-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DescribeSvamlRequest } from '../../describe-svaml-request';
|
|
2
|
+
import { ValidateSvamlRequest } from '../../validate-svaml-request';
|
|
3
|
+
export interface DescribeSvamlRequestData {
|
|
4
|
+
/** Request payload for describing a SVAML document before using it in a call. */
|
|
5
|
+
'describeSvamlRequestBody': DescribeSvamlRequest;
|
|
6
|
+
}
|
|
7
|
+
export interface ValidateSvamlRequestData {
|
|
8
|
+
/** Request payload for validating a SVAML document before using it in a call. */
|
|
9
|
+
'validateSvamlRequestBody': ValidateSvamlRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svaml-request-data.js","sourceRoot":"","sources":["../../../../../src/models/v2/requests/svaml/svaml-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Say } from './say';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/say/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface Say {
|
|
2
|
+
/** The text to be synthesized into speech. If `format` is `TEXT` (default), provide plain text. If `format` is `SSML`, provide a valid SSML document (for example, `<speak>...</speak>`). */
|
|
3
|
+
text: string;
|
|
4
|
+
/** Format of the message */
|
|
5
|
+
format?: FormatEnum;
|
|
6
|
+
/** The name of the voice to use for text-to-speech synthesis. Supported voices include: Emma, Brian, and others. For a complete list of available voices and their characteristics, see the [Text-to-Speech Voices documentation](/docs/voice/api-reference/text-to-speech-voices). */
|
|
7
|
+
voiceName: string;
|
|
8
|
+
}
|
|
9
|
+
export type FormatEnum = 'TEXT' | 'SSML' | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"say.js","sourceRoot":"","sources":["../../../../src/models/v2/say/say.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { SayMessage } from './say-message';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v2/say-message/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Say } from '../say';
|
|
2
|
+
/**
|
|
3
|
+
* A text-to-speech (TTS) message item. The platform synthesizes the provided text into speech and plays it on the call.
|
|
4
|
+
*/
|
|
5
|
+
export interface SayMessage {
|
|
6
|
+
/** Text-to-speech message to be played during the call. */
|
|
7
|
+
type: TypeEnum;
|
|
8
|
+
/** @see Say */
|
|
9
|
+
say: Say;
|
|
10
|
+
}
|
|
11
|
+
export type TypeEnum = 'SAY' | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"say-message.js","sourceRoot":"","sources":["../../../../src/models/v2/say-message/say-message.ts"],"names":[],"mappings":""}
|