@sinch/voice 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +18 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/v1/ace-request/ace-request.d.ts +26 -0
- package/dist/models/v1/ace-request/ace-request.js +9 -0
- package/dist/models/v1/ace-request/ace-request.js.map +1 -0
- package/dist/models/v1/ace-request/index.d.ts +1 -0
- package/dist/models/v1/ace-request/index.js +3 -0
- package/dist/models/v1/ace-request/index.js.map +1 -0
- package/dist/models/v1/ace-request-amd/ace-request-amd.d.ts +17 -0
- package/dist/models/v1/ace-request-amd/ace-request-amd.js +9 -0
- package/dist/models/v1/ace-request-amd/ace-request-amd.js.map +1 -0
- package/dist/models/v1/ace-request-amd/index.d.ts +1 -0
- package/dist/models/v1/ace-request-amd/index.js +3 -0
- package/dist/models/v1/ace-request-amd/index.js.map +1 -0
- package/dist/models/v1/ace-response/ace-response.d.ts +16 -0
- package/dist/models/v1/ace-response/ace-response.js +3 -0
- package/dist/models/v1/ace-response/ace-response.js.map +1 -0
- package/dist/models/v1/ace-response/index.d.ts +1 -0
- package/dist/models/v1/ace-response/index.js +3 -0
- package/dist/models/v1/ace-response/index.js.map +1 -0
- package/dist/models/v1/assign-numbers/assign-numbers.d.ts +15 -0
- package/dist/models/v1/assign-numbers/assign-numbers.js +9 -0
- package/dist/models/v1/assign-numbers/assign-numbers.js.map +1 -0
- package/dist/models/v1/assign-numbers/index.d.ts +1 -0
- package/dist/models/v1/assign-numbers/index.js +3 -0
- package/dist/models/v1/assign-numbers/index.js.map +1 -0
- package/dist/models/v1/call-header/call-header.d.ts +15 -0
- package/dist/models/v1/call-header/call-header.js +9 -0
- package/dist/models/v1/call-header/call-header.js.map +1 -0
- package/dist/models/v1/call-header/index.d.ts +1 -0
- package/dist/models/v1/call-header/index.js +3 -0
- package/dist/models/v1/call-header/index.js.map +1 -0
- package/dist/models/v1/callout-request/callout-request.d.ts +23 -0
- package/dist/models/v1/callout-request/callout-request.js +9 -0
- package/dist/models/v1/callout-request/callout-request.js.map +1 -0
- package/dist/models/v1/callout-request/index.d.ts +1 -0
- package/dist/models/v1/callout-request/index.js +3 -0
- package/dist/models/v1/callout-request/index.js.map +1 -0
- package/dist/models/v1/conference-callout-request/conference-callout-request.d.ts +40 -0
- package/dist/models/v1/conference-callout-request/conference-callout-request.js +9 -0
- package/dist/models/v1/conference-callout-request/conference-callout-request.js.map +1 -0
- package/dist/models/v1/conference-callout-request/index.d.ts +1 -0
- package/dist/models/v1/conference-callout-request/index.js +3 -0
- package/dist/models/v1/conference-callout-request/index.js.map +1 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.d.ts +17 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.js +9 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.js.map +1 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/index.d.ts +1 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/index.js +3 -0
- package/dist/models/v1/conference-callout-request-conference-dtmf-options/index.js.map +1 -0
- package/dist/models/v1/custom-callout-request/custom-callout-request.d.ts +28 -0
- package/dist/models/v1/custom-callout-request/custom-callout-request.js +9 -0
- package/dist/models/v1/custom-callout-request/custom-callout-request.js.map +1 -0
- package/dist/models/v1/custom-callout-request/index.d.ts +1 -0
- package/dist/models/v1/custom-callout-request/index.js +3 -0
- package/dist/models/v1/custom-callout-request/index.js.map +1 -0
- package/dist/models/v1/destination/destination.d.ts +16 -0
- package/dist/models/v1/destination/destination.js +9 -0
- package/dist/models/v1/destination/destination.js.map +1 -0
- package/dist/models/v1/destination/index.d.ts +1 -0
- package/dist/models/v1/destination/index.js +3 -0
- package/dist/models/v1/destination/index.js.map +1 -0
- package/dist/models/v1/dice-request/dice-request.d.ts +44 -0
- package/dist/models/v1/dice-request/dice-request.js +9 -0
- package/dist/models/v1/dice-request/dice-request.js.map +1 -0
- package/dist/models/v1/dice-request/index.d.ts +1 -0
- package/dist/models/v1/dice-request/index.js +3 -0
- package/dist/models/v1/dice-request/index.js.map +1 -0
- package/dist/models/v1/dice-request-debit/dice-request-debit.d.ts +15 -0
- package/dist/models/v1/dice-request-debit/dice-request-debit.js +9 -0
- package/dist/models/v1/dice-request-debit/dice-request-debit.js.map +1 -0
- package/dist/models/v1/dice-request-debit/index.d.ts +1 -0
- package/dist/models/v1/dice-request-debit/index.js +3 -0
- package/dist/models/v1/dice-request-debit/index.js.map +1 -0
- package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.d.ts +15 -0
- package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.js +9 -0
- package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.js.map +1 -0
- package/dist/models/v1/dice-request-user-rate/index.d.ts +1 -0
- package/dist/models/v1/dice-request-user-rate/index.js +3 -0
- package/dist/models/v1/dice-request-user-rate/index.js.map +1 -0
- package/dist/models/v1/enums.d.ts +11 -0
- package/dist/models/v1/enums.js +3 -0
- package/dist/models/v1/enums.js.map +1 -0
- package/dist/models/v1/get-call-response-obj/get-call-response-obj.d.ts +59 -0
- package/dist/models/v1/get-call-response-obj/get-call-response-obj.js +3 -0
- package/dist/models/v1/get-call-response-obj/get-call-response-obj.js.map +1 -0
- package/dist/models/v1/get-call-response-obj/index.d.ts +1 -0
- package/dist/models/v1/get-call-response-obj/index.js +3 -0
- package/dist/models/v1/get-call-response-obj/index.js.map +1 -0
- package/dist/models/v1/get-callbacks/get-callbacks.d.ts +11 -0
- package/dist/models/v1/get-callbacks/get-callbacks.js +9 -0
- package/dist/models/v1/get-callbacks/get-callbacks.js.map +1 -0
- package/dist/models/v1/get-callbacks/index.d.ts +1 -0
- package/dist/models/v1/get-callbacks/index.js +3 -0
- package/dist/models/v1/get-callbacks/index.js.map +1 -0
- package/dist/models/v1/get-callbacks-url/get-callbacks-url.d.ts +15 -0
- package/dist/models/v1/get-callbacks-url/get-callbacks-url.js +9 -0
- package/dist/models/v1/get-callbacks-url/get-callbacks-url.js.map +1 -0
- package/dist/models/v1/get-callbacks-url/index.d.ts +1 -0
- package/dist/models/v1/get-callbacks-url/index.js +3 -0
- package/dist/models/v1/get-callbacks-url/index.js.map +1 -0
- package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.d.ts +13 -0
- package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.js +9 -0
- package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.js.map +1 -0
- package/dist/models/v1/get-callout-response-obj/index.d.ts +1 -0
- package/dist/models/v1/get-callout-response-obj/index.js +3 -0
- package/dist/models/v1/get-callout-response-obj/index.js.map +1 -0
- package/dist/models/v1/get-conference-info-response/get-conference-info-response.d.ts +14 -0
- package/dist/models/v1/get-conference-info-response/get-conference-info-response.js +9 -0
- package/dist/models/v1/get-conference-info-response/get-conference-info-response.js.map +1 -0
- package/dist/models/v1/get-conference-info-response/index.d.ts +1 -0
- package/dist/models/v1/get-conference-info-response/index.js +3 -0
- package/dist/models/v1/get-conference-info-response/index.js.map +1 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.d.ts +16 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.js +9 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.js.map +1 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/index.d.ts +1 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/index.js +3 -0
- package/dist/models/v1/get-conference-info-response-participants-inner/index.js.map +1 -0
- package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.d.ts +11 -0
- package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.js +9 -0
- package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.js.map +1 -0
- package/dist/models/v1/get-numbers-response-obj/index.d.ts +1 -0
- package/dist/models/v1/get-numbers-response-obj/index.js +3 -0
- package/dist/models/v1/get-numbers-response-obj/index.js.map +1 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.d.ts +15 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.js +9 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.js.map +1 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/index.d.ts +1 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/index.js +3 -0
- package/dist/models/v1/get-numbers-response-obj-numbers-inner/index.js.map +1 -0
- package/dist/models/v1/get-query-number/get-query-number.d.ts +13 -0
- package/dist/models/v1/get-query-number/get-query-number.js +9 -0
- package/dist/models/v1/get-query-number/get-query-number.js.map +1 -0
- package/dist/models/v1/get-query-number/index.d.ts +1 -0
- package/dist/models/v1/get-query-number/index.js +3 -0
- package/dist/models/v1/get-query-number/index.js.map +1 -0
- package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.d.ts +23 -0
- package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.js +9 -0
- package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.js.map +1 -0
- package/dist/models/v1/get-query-number-number-item/index.d.ts +1 -0
- package/dist/models/v1/get-query-number-number-item/index.js +3 -0
- package/dist/models/v1/get-query-number-number-item/index.js.map +1 -0
- package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.d.ts +15 -0
- package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.js +9 -0
- package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.js.map +1 -0
- package/dist/models/v1/get-query-number-number-item-rate/index.d.ts +1 -0
- package/dist/models/v1/get-query-number-number-item-rate/index.js +3 -0
- package/dist/models/v1/get-query-number-number-item-rate/index.js.map +1 -0
- package/dist/models/v1/get-recording-file-info/get-recording-file-info.d.ts +13 -0
- package/dist/models/v1/get-recording-file-info/get-recording-file-info.js +9 -0
- package/dist/models/v1/get-recording-file-info/get-recording-file-info.js.map +1 -0
- package/dist/models/v1/get-recording-file-info/index.d.ts +1 -0
- package/dist/models/v1/get-recording-file-info/index.js +3 -0
- package/dist/models/v1/get-recording-file-info/index.js.map +1 -0
- package/dist/models/v1/ice-request/ice-request.d.ts +44 -0
- package/dist/models/v1/ice-request/ice-request.js +9 -0
- package/dist/models/v1/ice-request/ice-request.js.map +1 -0
- package/dist/models/v1/ice-request/index.d.ts +1 -0
- package/dist/models/v1/ice-request/index.js +3 -0
- package/dist/models/v1/ice-request/index.js.map +1 -0
- package/dist/models/v1/ice-request-to/ice-request-to.d.ts +15 -0
- package/dist/models/v1/ice-request-to/ice-request-to.js +9 -0
- package/dist/models/v1/ice-request-to/ice-request-to.js.map +1 -0
- package/dist/models/v1/ice-request-to/index.d.ts +1 -0
- package/dist/models/v1/ice-request-to/index.js +3 -0
- package/dist/models/v1/ice-request-to/index.js.map +1 -0
- package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.d.ts +15 -0
- package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.js +9 -0
- package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.js.map +1 -0
- package/dist/models/v1/ice-request-user-rate/index.d.ts +1 -0
- package/dist/models/v1/ice-request-user-rate/index.js +3 -0
- package/dist/models/v1/ice-request-user-rate/index.js.map +1 -0
- package/dist/models/v1/ice-response/ice-response.d.ts +21 -0
- package/dist/models/v1/ice-response/ice-response.js +3 -0
- package/dist/models/v1/ice-response/ice-response.js.map +1 -0
- package/dist/models/v1/ice-response/index.d.ts +1 -0
- package/dist/models/v1/ice-response/index.js +3 -0
- package/dist/models/v1/ice-response/index.js.map +1 -0
- package/dist/models/v1/index.d.ts +65 -0
- package/dist/models/v1/index.js +82 -0
- package/dist/models/v1/index.js.map +1 -0
- package/dist/models/v1/manage-conference-participant-request/index.d.ts +1 -0
- package/dist/models/v1/manage-conference-participant-request/index.js +3 -0
- package/dist/models/v1/manage-conference-participant-request/index.js.map +1 -0
- package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.d.ts +17 -0
- package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.js +9 -0
- package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.js.map +1 -0
- package/dist/models/v1/menu/index.d.ts +1 -0
- package/dist/models/v1/menu/index.js +3 -0
- package/dist/models/v1/menu/index.js.map +1 -0
- package/dist/models/v1/menu/menu.d.ts +28 -0
- package/dist/models/v1/menu/menu.js +9 -0
- package/dist/models/v1/menu/menu.js.map +1 -0
- package/dist/models/v1/notify-error-request/index.d.ts +1 -0
- package/dist/models/v1/notify-error-request/index.js +3 -0
- package/dist/models/v1/notify-error-request/index.js.map +1 -0
- package/dist/models/v1/notify-error-request/notify-error-request.d.ts +27 -0
- package/dist/models/v1/notify-error-request/notify-error-request.js +9 -0
- package/dist/models/v1/notify-error-request/notify-error-request.js.map +1 -0
- package/dist/models/v1/notify-request/index.d.ts +1 -0
- package/dist/models/v1/notify-request/index.js +3 -0
- package/dist/models/v1/notify-request/index.js.map +1 -0
- package/dist/models/v1/notify-request/notify-request.d.ts +21 -0
- package/dist/models/v1/notify-request/notify-request.js +9 -0
- package/dist/models/v1/notify-request/notify-request.js.map +1 -0
- package/dist/models/v1/option/index.d.ts +1 -0
- package/dist/models/v1/option/index.js +3 -0
- package/dist/models/v1/option/index.js.map +1 -0
- package/dist/models/v1/option/option.d.ts +15 -0
- package/dist/models/v1/option/option.js +9 -0
- package/dist/models/v1/option/option.js.map +1 -0
- package/dist/models/v1/pie-request/index.d.ts +1 -0
- package/dist/models/v1/pie-request/index.js +3 -0
- package/dist/models/v1/pie-request/index.js.map +1 -0
- package/dist/models/v1/pie-request/pie-request.d.ts +26 -0
- package/dist/models/v1/pie-request/pie-request.js +9 -0
- package/dist/models/v1/pie-request/pie-request.js.map +1 -0
- package/dist/models/v1/pie-request-menu-result/index.d.ts +1 -0
- package/dist/models/v1/pie-request-menu-result/index.js +3 -0
- package/dist/models/v1/pie-request-menu-result/index.js.map +1 -0
- package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.d.ts +19 -0
- package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.js +9 -0
- package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.js.map +1 -0
- package/dist/models/v1/pie-response/index.d.ts +1 -0
- package/dist/models/v1/pie-response/index.js +3 -0
- package/dist/models/v1/pie-response/index.js.map +1 -0
- package/dist/models/v1/pie-response/pie-response.d.ts +19 -0
- package/dist/models/v1/pie-response/pie-response.js +3 -0
- package/dist/models/v1/pie-response/pie-response.js.map +1 -0
- package/dist/models/v1/svaml-action/index.d.ts +1 -0
- package/dist/models/v1/svaml-action/index.js +3 -0
- package/dist/models/v1/svaml-action/index.js.map +1 -0
- package/dist/models/v1/svaml-action/svaml-action.d.ts +18 -0
- package/dist/models/v1/svaml-action/svaml-action.js +9 -0
- package/dist/models/v1/svaml-action/svaml-action.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-conf/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-conf/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-conf/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-conf/svaml-action-connect-conf.d.ts +20 -0
- package/dist/models/v1/svaml-action-connect-conf/svaml-action-connect-conf.js +9 -0
- package/dist/models/v1/svaml-action-connect-conf/svaml-action-connect-conf.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.d.ts +17 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.js +9 -0
- package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-mxp/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-mxp/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-mxp/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-mxp/svaml-action-connect-mxp.d.ts +19 -0
- package/dist/models/v1/svaml-action-connect-mxp/svaml-action-connect-mxp.js +9 -0
- package/dist/models/v1/svaml-action-connect-mxp/svaml-action-connect-mxp.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.d.ts +15 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.js +9 -0
- package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-pstn/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-pstn/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-pstn/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-pstn/svaml-action-connect-pstn.d.ts +32 -0
- package/dist/models/v1/svaml-action-connect-pstn/svaml-action-connect-pstn.js +9 -0
- package/dist/models/v1/svaml-action-connect-pstn/svaml-action-connect-pstn.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.d.ts +13 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.js +9 -0
- package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-sip/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-sip/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-sip/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-sip/svaml-action-connect-sip.d.ts +29 -0
- package/dist/models/v1/svaml-action-connect-sip/svaml-action-connect-sip.js +9 -0
- package/dist/models/v1/svaml-action-connect-sip/svaml-action-connect-sip.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/index.js +3 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/index.js.map +1 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.d.ts +13 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.js +9 -0
- package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.js.map +1 -0
- package/dist/models/v1/svaml-action-continue/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-continue/index.js +3 -0
- package/dist/models/v1/svaml-action-continue/index.js.map +1 -0
- package/dist/models/v1/svaml-action-continue/svaml-action-continue.d.ts +13 -0
- package/dist/models/v1/svaml-action-continue/svaml-action-continue.js +9 -0
- package/dist/models/v1/svaml-action-continue/svaml-action-continue.js.map +1 -0
- package/dist/models/v1/svaml-action-hangup/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-hangup/index.js +3 -0
- package/dist/models/v1/svaml-action-hangup/index.js.map +1 -0
- package/dist/models/v1/svaml-action-hangup/svaml-action-hangup.d.ts +13 -0
- package/dist/models/v1/svaml-action-hangup/svaml-action-hangup.js +9 -0
- package/dist/models/v1/svaml-action-hangup/svaml-action-hangup.js.map +1 -0
- package/dist/models/v1/svaml-action-park/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-park/index.js +3 -0
- package/dist/models/v1/svaml-action-park/index.js.map +1 -0
- package/dist/models/v1/svaml-action-park/svaml-action-park.d.ts +21 -0
- package/dist/models/v1/svaml-action-park/svaml-action-park.js +9 -0
- package/dist/models/v1/svaml-action-park/svaml-action-park.js.map +1 -0
- package/dist/models/v1/svaml-action-run-menu/index.d.ts +1 -0
- package/dist/models/v1/svaml-action-run-menu/index.js +3 -0
- package/dist/models/v1/svaml-action-run-menu/index.js.map +1 -0
- package/dist/models/v1/svaml-action-run-menu/svaml-action-run-menu.d.ts +24 -0
- package/dist/models/v1/svaml-action-run-menu/svaml-action-run-menu.js +9 -0
- package/dist/models/v1/svaml-action-run-menu/svaml-action-run-menu.js.map +1 -0
- package/dist/models/v1/svaml-instruction/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction/index.js +3 -0
- package/dist/models/v1/svaml-instruction/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction/svaml-instruction.d.ts +17 -0
- package/dist/models/v1/svaml-instruction/svaml-instruction.js +9 -0
- package/dist/models/v1/svaml-instruction/svaml-instruction.js.map +1 -0
- package/dist/models/v1/svaml-instruction-answer/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-answer/index.js +3 -0
- package/dist/models/v1/svaml-instruction-answer/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-answer/svaml-instruction-answer.d.ts +13 -0
- package/dist/models/v1/svaml-instruction-answer/svaml-instruction-answer.js +9 -0
- package/dist/models/v1/svaml-instruction-answer/svaml-instruction-answer.js.map +1 -0
- package/dist/models/v1/svaml-instruction-play-files/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-play-files/index.js +3 -0
- package/dist/models/v1/svaml-instruction-play-files/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-play-files/svaml-instruction-play-files.d.ts +17 -0
- package/dist/models/v1/svaml-instruction-play-files/svaml-instruction-play-files.js +9 -0
- package/dist/models/v1/svaml-instruction-play-files/svaml-instruction-play-files.js.map +1 -0
- package/dist/models/v1/svaml-instruction-say/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-say/index.js +3 -0
- package/dist/models/v1/svaml-instruction-say/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-say/svaml-instruction-say.d.ts +17 -0
- package/dist/models/v1/svaml-instruction-say/svaml-instruction-say.js +9 -0
- package/dist/models/v1/svaml-instruction-say/svaml-instruction-say.js.map +1 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/index.js +3 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.d.ts +15 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js +9 -0
- package/dist/models/v1/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js.map +1 -0
- package/dist/models/v1/svaml-instruction-set-cookie/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-set-cookie/index.js +3 -0
- package/dist/models/v1/svaml-instruction-set-cookie/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-set-cookie/svaml-instruction-set-cookie.d.ts +17 -0
- package/dist/models/v1/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js +9 -0
- package/dist/models/v1/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js.map +1 -0
- package/dist/models/v1/svaml-instruction-start-recording/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-start-recording/index.js +3 -0
- package/dist/models/v1/svaml-instruction-start-recording/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-start-recording/svaml-instruction-start-recording.d.ts +31 -0
- package/dist/models/v1/svaml-instruction-start-recording/svaml-instruction-start-recording.js +9 -0
- package/dist/models/v1/svaml-instruction-start-recording/svaml-instruction-start-recording.js.map +1 -0
- package/dist/models/v1/svaml-instruction-stop-recording/index.d.ts +1 -0
- package/dist/models/v1/svaml-instruction-stop-recording/index.js +3 -0
- package/dist/models/v1/svaml-instruction-stop-recording/index.js.map +1 -0
- package/dist/models/v1/svaml-instruction-stop-recording/svaml-instruction-stop-recording.d.ts +13 -0
- package/dist/models/v1/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js +9 -0
- package/dist/models/v1/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js.map +1 -0
- package/dist/models/v1/svaml-request-body/index.d.ts +1 -0
- package/dist/models/v1/svaml-request-body/index.js +3 -0
- package/dist/models/v1/svaml-request-body/index.js.map +1 -0
- package/dist/models/v1/svaml-request-body/svaml-request-body.d.ts +17 -0
- package/dist/models/v1/svaml-request-body/svaml-request-body.js +9 -0
- package/dist/models/v1/svaml-request-body/svaml-request-body.js.map +1 -0
- package/dist/models/v1/tts-callout-request/index.d.ts +1 -0
- package/dist/models/v1/tts-callout-request/index.js +3 -0
- package/dist/models/v1/tts-callout-request/index.js.map +1 -0
- package/dist/models/v1/tts-callout-request/tts-callout-request.d.ts +35 -0
- package/dist/models/v1/tts-callout-request/tts-callout-request.js +9 -0
- package/dist/models/v1/tts-callout-request/tts-callout-request.js.map +1 -0
- package/dist/models/v1/unassign-numbers/index.d.ts +1 -0
- package/dist/models/v1/unassign-numbers/index.js +3 -0
- package/dist/models/v1/unassign-numbers/index.js.map +1 -0
- package/dist/models/v1/unassign-numbers/unassign-numbers.d.ts +15 -0
- package/dist/models/v1/unassign-numbers/unassign-numbers.js +9 -0
- package/dist/models/v1/unassign-numbers/unassign-numbers.js.map +1 -0
- package/dist/models/v1/update-callbacks/index.d.ts +1 -0
- package/dist/models/v1/update-callbacks/index.js +3 -0
- package/dist/models/v1/update-callbacks/index.js.map +1 -0
- package/dist/models/v1/update-callbacks/update-callbacks.d.ts +11 -0
- package/dist/models/v1/update-callbacks/update-callbacks.js +9 -0
- package/dist/models/v1/update-callbacks/update-callbacks.js.map +1 -0
- package/dist/models/v1/update-callbacks-url/index.d.ts +1 -0
- package/dist/models/v1/update-callbacks-url/index.js +3 -0
- package/dist/models/v1/update-callbacks-url/index.js.map +1 -0
- package/dist/models/v1/update-callbacks-url/update-callbacks-url.d.ts +15 -0
- package/dist/models/v1/update-callbacks-url/update-callbacks-url.js +9 -0
- package/dist/models/v1/update-callbacks-url/update-callbacks-url.js.map +1 -0
- package/dist/models/v1/voice-error/index.d.ts +1 -0
- package/dist/models/v1/voice-error/index.js +3 -0
- package/dist/models/v1/voice-error/index.js.map +1 -0
- package/dist/models/v1/voice-error/voice-error.d.ts +16 -0
- package/dist/models/v1/voice-error/voice-error.js +9 -0
- package/dist/models/v1/voice-error/voice-error.js.map +1 -0
- package/dist/rest/index.d.ts +1 -0
- package/dist/rest/index.js +18 -0
- package/dist/rest/index.js.map +1 -0
- package/dist/rest/v1/applications/applications-api.d.ts +71 -0
- package/dist/rest/v1/applications/applications-api.jest.fixture.d.ts +29 -0
- package/dist/rest/v1/applications/applications-api.jest.fixture.js +33 -0
- package/dist/rest/v1/applications/applications-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/applications/applications-api.js +164 -0
- package/dist/rest/v1/applications/applications-api.js.map +1 -0
- package/dist/rest/v1/applications/index.d.ts +2 -0
- package/dist/rest/v1/applications/index.js +19 -0
- package/dist/rest/v1/applications/index.js.map +1 -0
- package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +3 -0
- package/dist/rest/v1/callbacks/callbacks-webhook.js +25 -0
- package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -0
- package/dist/rest/v1/callbacks/index.d.ts +1 -0
- package/dist/rest/v1/callbacks/index.js +18 -0
- package/dist/rest/v1/callbacks/index.js.map +1 -0
- package/dist/rest/v1/callouts/callouts-api.d.ts +53 -0
- package/dist/rest/v1/callouts/callouts-api.jest.fixture.d.ts +17 -0
- package/dist/rest/v1/callouts/callouts-api.jest.fixture.js +21 -0
- package/dist/rest/v1/callouts/callouts-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/callouts/callouts-api.js +88 -0
- package/dist/rest/v1/callouts/callouts-api.js.map +1 -0
- package/dist/rest/v1/callouts/index.d.ts +2 -0
- package/dist/rest/v1/callouts/index.js +19 -0
- package/dist/rest/v1/callouts/index.js.map +1 -0
- package/dist/rest/v1/calls/calls-api.d.ts +48 -0
- package/dist/rest/v1/calls/calls-api.jest.fixture.d.ts +17 -0
- package/dist/rest/v1/calls/calls-api.jest.fixture.js +21 -0
- package/dist/rest/v1/calls/calls-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/calls/calls-api.js +88 -0
- package/dist/rest/v1/calls/calls-api.js.map +1 -0
- package/dist/rest/v1/calls/index.d.ts +2 -0
- package/dist/rest/v1/calls/index.js +19 -0
- package/dist/rest/v1/calls/index.js.map +1 -0
- package/dist/rest/v1/conferences/conferences-api.d.ts +57 -0
- package/dist/rest/v1/conferences/conferences-api.jest.fixture.d.ts +21 -0
- package/dist/rest/v1/conferences/conferences-api.jest.fixture.js +25 -0
- package/dist/rest/v1/conferences/conferences-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/conferences/conferences-api.js +113 -0
- package/dist/rest/v1/conferences/conferences-api.js.map +1 -0
- package/dist/rest/v1/conferences/index.d.ts +2 -0
- package/dist/rest/v1/conferences/index.js +19 -0
- package/dist/rest/v1/conferences/index.js.map +1 -0
- package/dist/rest/v1/enums.d.ts +1 -0
- package/dist/rest/v1/enums.js +3 -0
- package/dist/rest/v1/enums.js.map +1 -0
- package/dist/rest/v1/fixtures.jest.d.ts +4 -0
- package/dist/rest/v1/fixtures.jest.js +12 -0
- package/dist/rest/v1/fixtures.jest.js.map +1 -0
- package/dist/rest/v1/index.d.ts +7 -0
- package/dist/rest/v1/index.js +24 -0
- package/dist/rest/v1/index.js.map +1 -0
- package/dist/rest/v1/voice-api.d.ts +31 -0
- package/dist/rest/v1/voice-api.js +91 -0
- package/dist/rest/v1/voice-api.js.map +1 -0
- package/dist/rest/v1/voice.d.ts +25 -0
- package/dist/rest/v1/voice.js +31 -0
- package/dist/rest/v1/voice.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CustomCalloutRequest } from './custom-callout-request';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/custom-callout-request/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: Destination
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The type of device and number or endpoint to call.
|
|
9
|
+
*/
|
|
10
|
+
export interface Destination {
|
|
11
|
+
/** Can be of type `number` for PSTN endpoints or of type `username` for data endpoints. */
|
|
12
|
+
type: TypeEnum;
|
|
13
|
+
/** If the type is `number` the value of the endpoint is a phone number. If the type is `username` the value is the username for a data endpoint. */
|
|
14
|
+
endpoint: string;
|
|
15
|
+
}
|
|
16
|
+
export type TypeEnum = 'number' | 'username';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destination.js","sourceRoot":"","sources":["../../../../src/models/v1/destination/destination.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Destination } from './destination';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/destination/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: DiceRequest
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import { CallHeader } from '../call-header';
|
|
8
|
+
import { DiceRequestDebit } from '../dice-request-debit';
|
|
9
|
+
import { DiceRequestUserRate } from '../dice-request-user-rate';
|
|
10
|
+
import { IceRequestTo } from '../ice-request-to';
|
|
11
|
+
import { ReasonEnum, ResultEnum } from '../enums';
|
|
12
|
+
/**
|
|
13
|
+
* The request body of a Disconnected Call Event.
|
|
14
|
+
*/
|
|
15
|
+
export interface DiceRequest {
|
|
16
|
+
/** Must have the value `dice`. */
|
|
17
|
+
event?: 'dice';
|
|
18
|
+
/** The unique ID assigned to this call. */
|
|
19
|
+
callid?: string;
|
|
20
|
+
/** The timestamp in UTC format. */
|
|
21
|
+
timestamp?: Date;
|
|
22
|
+
/** The reason the call was disconnected. */
|
|
23
|
+
reason?: ReasonEnum;
|
|
24
|
+
/** The result of the call. */
|
|
25
|
+
result?: ResultEnum;
|
|
26
|
+
/** The current API version. */
|
|
27
|
+
version?: number;
|
|
28
|
+
/** A string that can be used to pass custom information related to the call. */
|
|
29
|
+
custom?: string;
|
|
30
|
+
/** @see DiceRequestDebit */
|
|
31
|
+
debit?: DiceRequestDebit;
|
|
32
|
+
/** @see DiceRequestUserRate */
|
|
33
|
+
userRate?: DiceRequestUserRate;
|
|
34
|
+
/** @see IceRequestTo */
|
|
35
|
+
to?: IceRequestTo;
|
|
36
|
+
/** The duration of the call in seconds. */
|
|
37
|
+
duration?: number;
|
|
38
|
+
/** Information about the initiator of the call. */
|
|
39
|
+
from?: string;
|
|
40
|
+
/** If the call was initiated by a Sinch SDK client, call headers are the headers specified by the *caller* client. Read more about call headers [here](../../../call-headers/). */
|
|
41
|
+
callHeaders?: CallHeader[];
|
|
42
|
+
/** The unique application key. You can find it in the Sinch [dashboard](https://dashboard.sinch.com/voice/apps). */
|
|
43
|
+
applicationKey?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dice-request.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request/dice-request.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { DiceRequest } from './dice-request';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: DiceRequestDebit
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* An object containing currency and total amount charged for the call.
|
|
9
|
+
*/
|
|
10
|
+
export interface DiceRequestDebit {
|
|
11
|
+
/** The currency ID of the rate, for example, `USD`. */
|
|
12
|
+
currencyId?: string;
|
|
13
|
+
/** The total amount debited for the call. */
|
|
14
|
+
amount?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dice-request-debit.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request-debit/dice-request-debit.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { DiceRequestDebit } from './dice-request-debit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request-debit/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: DiceRequestUserRate
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* An object containing currency and rate per minute for the call.
|
|
9
|
+
*/
|
|
10
|
+
export interface DiceRequestUserRate {
|
|
11
|
+
/** The currency in which the call is charged. */
|
|
12
|
+
currencyId?: string;
|
|
13
|
+
/** The rate per minute that was charged for the call. */
|
|
14
|
+
amount?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dice-request-user-rate.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request-user-rate/dice-request-user-rate.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { DiceRequestUserRate } from './dice-request-user-rate';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/dice-request-user-rate/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { MethodEnum as CalloutRequestMethodEnum, } from './callout-request/callout-request';
|
|
2
|
+
export type { TypeEnum as DestinationTypeEnum, } from './destination/destination';
|
|
3
|
+
export type { DomainEnum as GetCallResponseObjDomainEnum, StatusEnum as GetCallResponseObjStatusEnum, } from './get-call-response-obj/get-call-response-obj';
|
|
4
|
+
export type { CapabilityEnum as GetNumbersResponseObjNumbersInnerCapabilityEnum, } from './get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner';
|
|
5
|
+
export type { NumberTypeEnum as GetQueryNumberNumberItemNumberTypeEnum, } from './get-query-number-number-item/get-query-number-number-item';
|
|
6
|
+
export type { DomainEnum as TtsCalloutRequestDomainEnum, } from './tts-callout-request/tts-callout-request';
|
|
7
|
+
export type { CapabilityEnum as UnassignNumbersCapabilityEnum, } from './unassign-numbers/unassign-numbers';
|
|
8
|
+
export type { CapabilityEnum as UpdateNumbersCapabilityEnum, } from './assign-numbers/assign-numbers';
|
|
9
|
+
export type { CommandEnum as ManageConferenceParticipantRequestCommandEnum, MohEnum as ManageConferenceParticipantRequestMohEnum, } from './manage-conference-participant-request/manage-conference-participant-request';
|
|
10
|
+
export type ResultEnum = 'N/A' | 'ANSWERED' | 'BUSY' | 'NOANSWER' | 'FAILED';
|
|
11
|
+
export type ReasonEnum = 'N/A' | 'TIMEOUT' | 'CALLERHANGUP' | 'CALLEEHANGUP' | 'BLOCKED' | 'NOCREDITPARTNER' | 'MANAGERHANGUP' | 'CANCEL' | 'GENERALERROR';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/models/v1/enums.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetCallResponseObj
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import { ReasonEnum, ResultEnum } from '../enums';
|
|
8
|
+
export interface GetCallResponseObj {
|
|
9
|
+
/** Contains the caller information. */
|
|
10
|
+
from?: GetCallResponseFrom;
|
|
11
|
+
/** Contains the callee information. */
|
|
12
|
+
to?: GetCallResponseTo;
|
|
13
|
+
/** Must be `pstn` for PSTN. */
|
|
14
|
+
domain?: DomainEnum;
|
|
15
|
+
/** The unique identifier of the call. */
|
|
16
|
+
callId?: string;
|
|
17
|
+
/** The duration of the call in seconds. */
|
|
18
|
+
duration?: number;
|
|
19
|
+
/** The status of the call. Either `ONGOING` or `FINAL` */
|
|
20
|
+
status?: StatusEnum;
|
|
21
|
+
/** Contains the result of a call. */
|
|
22
|
+
result?: ResultEnum;
|
|
23
|
+
/** Contains the reason why a call ended. */
|
|
24
|
+
reason?: ReasonEnum;
|
|
25
|
+
/** The date and time of the call. */
|
|
26
|
+
timestamp?: Date;
|
|
27
|
+
/** An object that can be used to pass custom information related to the call. */
|
|
28
|
+
custom?: string;
|
|
29
|
+
/** The rate per minute that was charged for the call. */
|
|
30
|
+
userRate?: GetCallResponseUserRate;
|
|
31
|
+
/** The total amount charged for the call. */
|
|
32
|
+
debit?: GetCallResponseDebit;
|
|
33
|
+
}
|
|
34
|
+
export interface GetCallResponseTo {
|
|
35
|
+
/** The type of the destination. */
|
|
36
|
+
type?: string;
|
|
37
|
+
/** The phone number, username, or other identifier of the destination. */
|
|
38
|
+
endpoint?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface GetCallResponseFrom {
|
|
41
|
+
/** The type of the destination. */
|
|
42
|
+
type?: string;
|
|
43
|
+
/** The phone number, username, or other identifier of the destination. */
|
|
44
|
+
endpoint?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface GetCallResponseUserRate {
|
|
47
|
+
/** The currency in which the call is charged. */
|
|
48
|
+
currencyId?: string;
|
|
49
|
+
/** The rate per minute that was charged for the call. */
|
|
50
|
+
amount?: number;
|
|
51
|
+
}
|
|
52
|
+
export interface GetCallResponseDebit {
|
|
53
|
+
/** The currency ID of the rate, for example, `USD`. */
|
|
54
|
+
currencyId?: string;
|
|
55
|
+
/** The total amount debited for the call. */
|
|
56
|
+
amount?: number;
|
|
57
|
+
}
|
|
58
|
+
export type DomainEnum = 'pstn';
|
|
59
|
+
export type StatusEnum = 'ONGOING' | 'FINAL';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-call-response-obj.js","sourceRoot":"","sources":["../../../../src/models/v1/get-call-response-obj/get-call-response-obj.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetCallResponseObj, GetCallResponseFrom, GetCallResponseTo, GetCallResponseUserRate, GetCallResponseDebit, } from './get-call-response-obj';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-call-response-obj/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-callbacks.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks/get-callbacks.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetCallbacks } from './get-callbacks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetCallbacksUrl
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Gets primary and if configured fallback callback URLs
|
|
9
|
+
*/
|
|
10
|
+
export interface GetCallbacksUrl {
|
|
11
|
+
/** Your primary callback URL */
|
|
12
|
+
primary?: string;
|
|
13
|
+
/** Your fallback callback URL (returned if configured). It is used only if Sinch platform gets a timeout or error from your primary callback URL. */
|
|
14
|
+
fallback?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-callbacks-url.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks-url/get-callbacks-url.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetCallbacksUrl } from './get-callbacks-url';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks-url/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetCalloutResponseObj
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The returned call ID.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetCalloutResponseObj {
|
|
11
|
+
/** The returned call identifier. */
|
|
12
|
+
callId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-callout-response-obj.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callout-response-obj/get-callout-response-obj.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetCalloutResponseObj } from './get-callout-response-obj';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callout-response-obj/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetConferenceInfoResponse
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import { GetConferenceInfoResponseParticipantsInner } from '../get-conference-info-response-participants-inner';
|
|
8
|
+
/**
|
|
9
|
+
* The response returns information about the participants in the conference.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetConferenceInfoResponse {
|
|
12
|
+
/** List of GetConferenceInfoResponseParticipantsInners */
|
|
13
|
+
participants?: GetConferenceInfoResponseParticipantsInner[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-conference-info-response.js","sourceRoot":"","sources":["../../../../src/models/v1/get-conference-info-response/get-conference-info-response.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetConferenceInfoResponse } from './get-conference-info-response';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-conference-info-response/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetConferenceInfoResponseParticipantsInner
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface GetConferenceInfoResponseParticipantsInner {
|
|
8
|
+
/** The phone number of the PSTN participant that was connected in the conference, or whatever was passed as CLI for data originated/terminated calls. */
|
|
9
|
+
cli?: string;
|
|
10
|
+
/** The callId of the call leg that the participant joined the conference. */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** The number of seconds that the participant has been connected to the conference. */
|
|
13
|
+
duration?: number;
|
|
14
|
+
muted?: boolean;
|
|
15
|
+
onhold?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Model: GetConferenceInfoResponseParticipantsInner
|
|
4
|
+
*
|
|
5
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=get-conference-info-response-participants-inner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-conference-info-response-participants-inner.js","sourceRoot":"","sources":["../../../../src/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetConferenceInfoResponseParticipantsInner } from './get-conference-info-response-participants-inner';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-conference-info-response-participants-inner/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetNumbersResponseObj
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import { GetNumbersResponseObjNumbersInner } from '../get-numbers-response-obj-numbers-inner';
|
|
8
|
+
export interface GetNumbersResponseObj {
|
|
9
|
+
/** The object type. Will always be list of numbers, associated application keys and capabilities */
|
|
10
|
+
numbers?: GetNumbersResponseObjNumbersInner[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-numbers-response-obj.js","sourceRoot":"","sources":["../../../../src/models/v1/get-numbers-response-obj/get-numbers-response-obj.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetNumbersResponseObj } from './get-numbers-response-obj';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-numbers-response-obj/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model: GetNumbersResponseObjNumbersInner
|
|
3
|
+
*
|
|
4
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface GetNumbersResponseObjNumbersInner {
|
|
8
|
+
/** Numbers that you own in E.164 format. */
|
|
9
|
+
number?: string;
|
|
10
|
+
/** Indicates the application where the number(s) will be assigned. If no number is assigned the applicationkey will not be returned. */
|
|
11
|
+
applicationkey?: string;
|
|
12
|
+
/** indicates the DID capability that needs to be assigned to the chosen application. Valid values are 'voice' and 'sms'. Please note that the DID needs to support the selected capability. */
|
|
13
|
+
capability?: CapabilityEnum;
|
|
14
|
+
}
|
|
15
|
+
export type CapabilityEnum = 'voice' | 'sms';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Model: GetNumbersResponseObjNumbersInner
|
|
4
|
+
*
|
|
5
|
+
* THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=get-numbers-response-obj-numbers-inner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-numbers-response-obj-numbers-inner.js","sourceRoot":"","sources":["../../../../src/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetNumbersResponseObjNumbersInner } from './get-numbers-response-obj-numbers-inner';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-numbers-response-obj-numbers-inner/index.ts"],"names":[],"mappings":""}
|