@sinch/voice 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/README.md +14 -14
  2. package/dist/models/v1/assign-numbers/assign-numbers.d.ts +1 -8
  3. package/dist/models/v1/assign-numbers/assign-numbers.js +0 -6
  4. package/dist/models/v1/assign-numbers/assign-numbers.js.map +1 -1
  5. package/dist/models/v1/call-header/call-header.d.ts +0 -6
  6. package/dist/models/v1/call-header/call-header.js +0 -6
  7. package/dist/models/v1/call-header/call-header.js.map +1 -1
  8. package/dist/models/v1/callout-response/callout-response.d.ts +7 -0
  9. package/dist/models/v1/callout-response/callout-response.js +3 -0
  10. package/dist/models/v1/callout-response/callout-response.js.map +1 -0
  11. package/dist/models/v1/callout-response/index.d.ts +1 -0
  12. package/dist/models/v1/callout-response/index.js.map +1 -0
  13. package/dist/models/v1/conference-callout-request/conference-callout-request.d.ts +3 -9
  14. package/dist/models/v1/conference-callout-request/conference-callout-request.js +0 -6
  15. package/dist/models/v1/conference-callout-request/conference-callout-request.js.map +1 -1
  16. package/dist/models/v1/{svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.d.ts → conference-dtmf-options/conference-dtmf-options.d.ts} +2 -8
  17. package/dist/models/v1/conference-dtmf-options/conference-dtmf-options.js +3 -0
  18. package/dist/models/v1/conference-dtmf-options/conference-dtmf-options.js.map +1 -0
  19. package/dist/models/v1/conference-dtmf-options/index.d.ts +1 -0
  20. package/dist/models/v1/conference-dtmf-options/index.js.map +1 -0
  21. package/dist/models/v1/custom-callout-request/custom-callout-request.d.ts +0 -6
  22. package/dist/models/v1/custom-callout-request/custom-callout-request.js +0 -6
  23. package/dist/models/v1/custom-callout-request/custom-callout-request.js.map +1 -1
  24. package/dist/models/v1/destination/destination.d.ts +1 -8
  25. package/dist/models/v1/destination/destination.js +0 -6
  26. package/dist/models/v1/destination/destination.js.map +1 -1
  27. package/dist/models/v1/enums.d.ts +3 -10
  28. package/dist/models/v1/get-call-information/get-call-information.d.ts +29 -0
  29. package/dist/models/v1/get-call-information/get-call-information.js +3 -0
  30. package/dist/models/v1/get-call-information/get-call-information.js.map +1 -0
  31. package/dist/models/v1/get-call-information/index.d.ts +1 -0
  32. package/dist/models/v1/get-call-information/index.js.map +1 -0
  33. package/dist/models/v1/get-callbacks/get-callbacks.d.ts +7 -8
  34. package/dist/models/v1/get-callbacks/get-callbacks.js +0 -6
  35. package/dist/models/v1/get-callbacks/get-callbacks.js.map +1 -1
  36. package/dist/models/v1/get-callbacks/index.d.ts +1 -1
  37. package/dist/models/v1/get-conference-info-response/get-conference-info-response.d.ts +11 -8
  38. package/dist/models/v1/get-conference-info-response/get-conference-info-response.js +0 -6
  39. package/dist/models/v1/get-conference-info-response/get-conference-info-response.js.map +1 -1
  40. package/dist/models/v1/get-conference-info-response/index.d.ts +1 -1
  41. package/dist/models/v1/helper.d.ts +85 -0
  42. package/dist/models/v1/helper.js +201 -0
  43. package/dist/models/v1/helper.js.map +1 -0
  44. package/dist/models/v1/index.d.ts +10 -49
  45. package/dist/models/v1/index.js +12 -49
  46. package/dist/models/v1/index.js.map +1 -1
  47. package/dist/models/v1/list-numbers-response/index.d.ts +1 -0
  48. package/dist/models/v1/list-numbers-response/index.js.map +1 -0
  49. package/dist/models/v1/{get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.d.ts → list-numbers-response/list-numbers-response.d.ts} +6 -9
  50. package/dist/models/v1/list-numbers-response/list-numbers-response.js +3 -0
  51. package/dist/models/v1/list-numbers-response/list-numbers-response.js.map +1 -0
  52. package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.d.ts +3 -10
  53. package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.js +0 -6
  54. package/dist/models/v1/manage-conference-participant-request/manage-conference-participant-request.js.map +1 -1
  55. package/dist/models/v1/menu/menu.d.ts +0 -6
  56. package/dist/models/v1/menu/menu.js +0 -6
  57. package/dist/models/v1/menu/menu.js.map +1 -1
  58. package/dist/models/v1/{ace-request → mod-callbacks/ace-request}/ace-request.d.ts +10 -9
  59. package/dist/models/v1/mod-callbacks/ace-request/ace-request.js +3 -0
  60. package/dist/models/v1/mod-callbacks/ace-request/ace-request.js.map +1 -0
  61. package/dist/models/v1/mod-callbacks/ace-request/index.d.ts +1 -0
  62. package/dist/models/v1/mod-callbacks/ace-request/index.js.map +1 -0
  63. package/dist/models/v1/mod-callbacks/ace-response/ace-response.d.ts +9 -0
  64. package/dist/models/v1/mod-callbacks/ace-response/ace-response.js.map +1 -0
  65. package/dist/models/v1/mod-callbacks/ace-response/index.d.ts +1 -0
  66. package/dist/models/v1/mod-callbacks/ace-response/index.js.map +1 -0
  67. package/dist/models/v1/mod-callbacks/callback-response/callback-response.d.ts +4 -0
  68. package/dist/models/v1/mod-callbacks/callback-response/callback-response.js +3 -0
  69. package/dist/models/v1/mod-callbacks/callback-response/callback-response.js.map +1 -0
  70. package/dist/models/v1/mod-callbacks/callback-response/index.d.ts +1 -0
  71. package/dist/models/v1/mod-callbacks/callback-response/index.js.map +1 -0
  72. package/dist/models/v1/{dice-request → mod-callbacks/dice-request}/dice-request.d.ts +10 -17
  73. package/dist/models/v1/mod-callbacks/dice-request/dice-request.js +3 -0
  74. package/dist/models/v1/mod-callbacks/dice-request/dice-request.js.map +1 -0
  75. package/dist/models/v1/mod-callbacks/dice-request/index.js.map +1 -0
  76. package/dist/models/v1/{ice-request → mod-callbacks/ice-request}/ice-request.d.ts +7 -13
  77. package/dist/models/v1/mod-callbacks/ice-request/ice-request.js +3 -0
  78. package/dist/models/v1/mod-callbacks/ice-request/ice-request.js.map +1 -0
  79. package/dist/models/v1/mod-callbacks/ice-request/index.js.map +1 -0
  80. package/dist/models/v1/mod-callbacks/ice-response/ice-response.d.ts +9 -0
  81. package/dist/models/v1/mod-callbacks/ice-response/ice-response.js.map +1 -0
  82. package/dist/models/v1/mod-callbacks/ice-response/index.d.ts +1 -0
  83. package/dist/models/v1/mod-callbacks/ice-response/index.js.map +1 -0
  84. package/dist/models/v1/mod-callbacks/index.d.ts +10 -0
  85. package/dist/models/v1/mod-callbacks/index.js +27 -0
  86. package/dist/models/v1/mod-callbacks/index.js.map +1 -0
  87. package/dist/models/v1/mod-callbacks/notify-error-request/index.js.map +1 -0
  88. package/dist/models/v1/{notify-error-request → mod-callbacks/notify-error-request}/notify-error-request.d.ts +0 -6
  89. package/dist/models/v1/mod-callbacks/notify-error-request/notify-error-request.js +3 -0
  90. package/dist/models/v1/mod-callbacks/notify-error-request/notify-error-request.js.map +1 -0
  91. package/dist/models/v1/mod-callbacks/notify-request/index.js.map +1 -0
  92. package/dist/models/v1/mod-callbacks/notify-request/notify-request.d.ts +29 -0
  93. package/dist/models/v1/mod-callbacks/notify-request/notify-request.js +3 -0
  94. package/dist/models/v1/mod-callbacks/notify-request/notify-request.js.map +1 -0
  95. package/dist/models/v1/mod-callbacks/pie-request/index.d.ts +1 -0
  96. package/dist/models/v1/mod-callbacks/pie-request/index.js.map +1 -0
  97. package/dist/models/v1/{pie-request → mod-callbacks/pie-request}/pie-request.d.ts +12 -9
  98. package/dist/models/v1/mod-callbacks/pie-request/pie-request.js +3 -0
  99. package/dist/models/v1/mod-callbacks/pie-request/pie-request.js.map +1 -0
  100. package/dist/models/v1/mod-callbacks/pie-response/index.d.ts +1 -0
  101. package/dist/models/v1/mod-callbacks/pie-response/index.js.map +1 -0
  102. package/dist/models/v1/mod-callbacks/pie-response/pie-response.d.ts +12 -0
  103. package/dist/models/v1/mod-callbacks/pie-response/pie-response.js.map +1 -0
  104. package/dist/models/v1/mod-svaml/index.d.ts +17 -0
  105. package/dist/models/v1/mod-svaml/index.js +34 -0
  106. package/dist/models/v1/mod-svaml/index.js.map +1 -0
  107. package/dist/models/v1/mod-svaml/svaml-action/index.js.map +1 -0
  108. package/dist/models/v1/{svaml-action → mod-svaml/svaml-action}/svaml-action.d.ts +0 -6
  109. package/dist/models/v1/mod-svaml/svaml-action/svaml-action.js +3 -0
  110. package/dist/models/v1/mod-svaml/svaml-action/svaml-action.js.map +1 -0
  111. package/dist/models/v1/mod-svaml/svaml-action-connect-conf/index.d.ts +1 -0
  112. package/dist/models/v1/mod-svaml/svaml-action-connect-conf/index.js.map +1 -0
  113. package/dist/models/v1/{svaml-action-connect-conf → mod-svaml/svaml-action-connect-conf}/svaml-action-connect-conf.d.ts +6 -10
  114. package/dist/models/v1/mod-svaml/svaml-action-connect-conf/svaml-action-connect-conf.js +3 -0
  115. package/dist/models/v1/mod-svaml/svaml-action-connect-conf/svaml-action-connect-conf.js.map +1 -0
  116. package/dist/models/v1/mod-svaml/svaml-action-connect-mxp/index.d.ts +1 -0
  117. package/dist/models/v1/mod-svaml/svaml-action-connect-mxp/index.js.map +1 -0
  118. package/dist/models/v1/{svaml-action-connect-mxp → mod-svaml/svaml-action-connect-mxp}/svaml-action-connect-mxp.d.ts +6 -11
  119. package/dist/models/v1/mod-svaml/svaml-action-connect-mxp/svaml-action-connect-mxp.js +3 -0
  120. package/dist/models/v1/mod-svaml/svaml-action-connect-mxp/svaml-action-connect-mxp.js.map +1 -0
  121. package/dist/models/v1/mod-svaml/svaml-action-connect-pstn/index.d.ts +1 -0
  122. package/dist/models/v1/mod-svaml/svaml-action-connect-pstn/index.js.map +1 -0
  123. package/dist/models/v1/{svaml-action-connect-pstn → mod-svaml/svaml-action-connect-pstn}/svaml-action-connect-pstn.d.ts +12 -10
  124. package/dist/models/v1/mod-svaml/svaml-action-connect-pstn/svaml-action-connect-pstn.js +3 -0
  125. package/dist/models/v1/mod-svaml/svaml-action-connect-pstn/svaml-action-connect-pstn.js.map +1 -0
  126. package/dist/models/v1/mod-svaml/svaml-action-connect-sip/index.d.ts +1 -0
  127. package/dist/models/v1/mod-svaml/svaml-action-connect-sip/index.js.map +1 -0
  128. package/dist/models/v1/{svaml-action-connect-sip → mod-svaml/svaml-action-connect-sip}/svaml-action-connect-sip.d.ts +13 -12
  129. package/dist/models/v1/mod-svaml/svaml-action-connect-sip/svaml-action-connect-sip.js +3 -0
  130. package/dist/models/v1/mod-svaml/svaml-action-connect-sip/svaml-action-connect-sip.js.map +1 -0
  131. package/dist/models/v1/mod-svaml/svaml-action-continue/index.js.map +1 -0
  132. package/dist/models/v1/{svaml-action-continue → mod-svaml/svaml-action-continue}/svaml-action-continue.d.ts +0 -6
  133. package/dist/models/v1/mod-svaml/svaml-action-continue/svaml-action-continue.js +3 -0
  134. package/dist/models/v1/mod-svaml/svaml-action-continue/svaml-action-continue.js.map +1 -0
  135. package/dist/models/v1/mod-svaml/svaml-action-hangup/index.js.map +1 -0
  136. package/dist/models/v1/{svaml-action-hangup → mod-svaml/svaml-action-hangup}/svaml-action-hangup.d.ts +0 -6
  137. package/dist/models/v1/mod-svaml/svaml-action-hangup/svaml-action-hangup.js +3 -0
  138. package/dist/models/v1/mod-svaml/svaml-action-hangup/svaml-action-hangup.js.map +1 -0
  139. package/dist/models/v1/mod-svaml/svaml-action-park/index.d.ts +1 -0
  140. package/dist/models/v1/mod-svaml/svaml-action-park/index.js.map +1 -0
  141. package/dist/models/v1/{svaml-action-park → mod-svaml/svaml-action-park}/svaml-action-park.d.ts +3 -7
  142. package/dist/models/v1/mod-svaml/svaml-action-park/svaml-action-park.js +3 -0
  143. package/dist/models/v1/mod-svaml/svaml-action-park/svaml-action-park.js.map +1 -0
  144. package/dist/models/v1/mod-svaml/svaml-action-run-menu/index.d.ts +1 -0
  145. package/dist/models/v1/mod-svaml/svaml-action-run-menu/index.js.map +1 -0
  146. package/dist/models/v1/{svaml-action-run-menu → mod-svaml/svaml-action-run-menu}/svaml-action-run-menu.d.ts +4 -8
  147. package/dist/models/v1/mod-svaml/svaml-action-run-menu/svaml-action-run-menu.js +3 -0
  148. package/dist/models/v1/mod-svaml/svaml-action-run-menu/svaml-action-run-menu.js.map +1 -0
  149. package/dist/models/v1/mod-svaml/svaml-instruction/index.js.map +1 -0
  150. package/dist/models/v1/{svaml-instruction → mod-svaml/svaml-instruction}/svaml-instruction.d.ts +0 -6
  151. package/dist/models/v1/mod-svaml/svaml-instruction/svaml-instruction.js +3 -0
  152. package/dist/models/v1/mod-svaml/svaml-instruction/svaml-instruction.js.map +1 -0
  153. package/dist/models/v1/mod-svaml/svaml-instruction-answer/index.js.map +1 -0
  154. package/dist/models/v1/{svaml-instruction-answer → mod-svaml/svaml-instruction-answer}/svaml-instruction-answer.d.ts +0 -6
  155. package/dist/models/v1/mod-svaml/svaml-instruction-answer/svaml-instruction-answer.js +3 -0
  156. package/dist/models/v1/mod-svaml/svaml-instruction-answer/svaml-instruction-answer.js.map +1 -0
  157. package/dist/models/v1/mod-svaml/svaml-instruction-play-files/index.d.ts +1 -0
  158. package/dist/models/v1/mod-svaml/svaml-instruction-play-files/index.js.map +1 -0
  159. package/dist/models/v1/{svaml-instruction-play-files → mod-svaml/svaml-instruction-play-files}/svaml-instruction-play-files.d.ts +3 -7
  160. package/dist/models/v1/mod-svaml/svaml-instruction-play-files/svaml-instruction-play-files.js +3 -0
  161. package/dist/models/v1/mod-svaml/svaml-instruction-play-files/svaml-instruction-play-files.js.map +1 -0
  162. package/dist/models/v1/mod-svaml/svaml-instruction-say/index.d.ts +1 -0
  163. package/dist/models/v1/mod-svaml/svaml-instruction-say/index.js.map +1 -0
  164. package/dist/models/v1/{svaml-instruction-say → mod-svaml/svaml-instruction-say}/svaml-instruction-say.d.ts +3 -7
  165. package/dist/models/v1/mod-svaml/svaml-instruction-say/svaml-instruction-say.js +3 -0
  166. package/dist/models/v1/mod-svaml/svaml-instruction-say/svaml-instruction-say.js.map +1 -0
  167. package/dist/models/v1/mod-svaml/svaml-instruction-send-dtmf/index.d.ts +1 -0
  168. package/dist/models/v1/mod-svaml/svaml-instruction-send-dtmf/index.js.map +1 -0
  169. package/dist/models/v1/{svaml-instruction-send-dtmf → mod-svaml/svaml-instruction-send-dtmf}/svaml-instruction-send-dtmf.d.ts +1 -6
  170. package/dist/models/v1/mod-svaml/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js +3 -0
  171. package/dist/models/v1/mod-svaml/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js.map +1 -0
  172. package/dist/models/v1/mod-svaml/svaml-instruction-set-cookie/index.d.ts +1 -0
  173. package/dist/models/v1/mod-svaml/svaml-instruction-set-cookie/index.js.map +1 -0
  174. package/dist/models/v1/{svaml-instruction-set-cookie → mod-svaml/svaml-instruction-set-cookie}/svaml-instruction-set-cookie.d.ts +1 -6
  175. package/dist/models/v1/mod-svaml/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js +3 -0
  176. package/dist/models/v1/mod-svaml/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js.map +1 -0
  177. package/dist/models/v1/mod-svaml/svaml-instruction-start-recording/index.d.ts +1 -0
  178. package/dist/models/v1/mod-svaml/svaml-instruction-start-recording/index.js.map +1 -0
  179. package/dist/models/v1/{svaml-instruction-start-recording → mod-svaml/svaml-instruction-start-recording}/svaml-instruction-start-recording.d.ts +6 -7
  180. package/dist/models/v1/mod-svaml/svaml-instruction-start-recording/svaml-instruction-start-recording.js +3 -0
  181. package/dist/models/v1/mod-svaml/svaml-instruction-start-recording/svaml-instruction-start-recording.js.map +1 -0
  182. package/dist/models/v1/mod-svaml/svaml-instruction-stop-recording/index.js.map +1 -0
  183. package/dist/models/v1/{svaml-instruction-stop-recording → mod-svaml/svaml-instruction-stop-recording}/svaml-instruction-stop-recording.d.ts +0 -6
  184. package/dist/models/v1/mod-svaml/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js +3 -0
  185. package/dist/models/v1/mod-svaml/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js.map +1 -0
  186. package/dist/models/v1/option/option.d.ts +0 -6
  187. package/dist/models/v1/option/option.js +0 -6
  188. package/dist/models/v1/option/option.js.map +1 -1
  189. package/dist/models/v1/participant/index.d.ts +1 -0
  190. package/dist/models/v1/participant/index.js.map +1 -0
  191. package/dist/models/v1/participant/participant.d.ts +9 -0
  192. package/dist/models/v1/participant/participant.js +3 -0
  193. package/dist/models/v1/participant/participant.js.map +1 -0
  194. package/dist/models/v1/query-number-response/index.d.ts +1 -0
  195. package/dist/models/v1/query-number-response/index.js.map +1 -0
  196. package/dist/models/v1/query-number-response/query-number-response.d.ts +19 -0
  197. package/dist/models/v1/query-number-response/query-number-response.js +3 -0
  198. package/dist/models/v1/query-number-response/query-number-response.js.map +1 -0
  199. package/dist/models/v1/svaml-request-body/svaml-request-body.d.ts +1 -8
  200. package/dist/models/v1/svaml-request-body/svaml-request-body.js +0 -6
  201. package/dist/models/v1/svaml-request-body/svaml-request-body.js.map +1 -1
  202. package/dist/models/v1/tts-callout-request/tts-callout-request.d.ts +4 -10
  203. package/dist/models/v1/tts-callout-request/tts-callout-request.js +0 -6
  204. package/dist/models/v1/tts-callout-request/tts-callout-request.js.map +1 -1
  205. package/dist/models/v1/unassign-numbers/unassign-numbers.d.ts +1 -8
  206. package/dist/models/v1/unassign-numbers/unassign-numbers.js +0 -6
  207. package/dist/models/v1/unassign-numbers/unassign-numbers.js.map +1 -1
  208. package/dist/models/v1/update-callbacks/index.d.ts +1 -1
  209. package/dist/models/v1/update-callbacks/update-callbacks.d.ts +10 -8
  210. package/dist/models/v1/update-callbacks/update-callbacks.js +0 -6
  211. package/dist/models/v1/update-callbacks/update-callbacks.js.map +1 -1
  212. package/dist/models/v1/voice-error/voice-error.d.ts +0 -6
  213. package/dist/models/v1/voice-error/voice-error.js +0 -6
  214. package/dist/models/v1/voice-error/voice-error.js.map +1 -1
  215. package/dist/models/v1/voice-price/index.d.ts +1 -0
  216. package/dist/models/v1/voice-price/index.js.map +1 -0
  217. package/dist/models/v1/voice-price/voice-price.d.ts +6 -0
  218. package/dist/models/v1/voice-price/voice-price.js +3 -0
  219. package/dist/models/v1/voice-price/voice-price.js.map +1 -0
  220. package/dist/rest/v1/applications/applications-api.d.ts +5 -5
  221. package/dist/rest/v1/applications/applications-api.jest.fixture.d.ts +3 -3
  222. package/dist/rest/v1/applications/applications-api.jest.fixture.js +1 -1
  223. package/dist/rest/v1/applications/applications-api.jest.fixture.js.map +1 -1
  224. package/dist/rest/v1/applications/applications-api.js +3 -3
  225. package/dist/rest/v1/applications/applications-api.js.map +1 -1
  226. package/dist/rest/v1/callbacks/callbacks-webhook.d.ts +23 -1
  227. package/dist/rest/v1/callbacks/callbacks-webhook.js +49 -20
  228. package/dist/rest/v1/callbacks/callbacks-webhook.js.map +1 -1
  229. package/dist/rest/v1/callouts/callouts-api.d.ts +6 -6
  230. package/dist/rest/v1/callouts/callouts-api.jest.fixture.d.ts +4 -4
  231. package/dist/rest/v1/callouts/callouts-api.jest.fixture.js.map +1 -1
  232. package/dist/rest/v1/callouts/callouts-api.js +2 -2
  233. package/dist/rest/v1/callouts/callouts-api.js.map +1 -1
  234. package/dist/rest/v1/calls/calls-api.d.ts +7 -8
  235. package/dist/rest/v1/calls/calls-api.jest.fixture.d.ts +2 -2
  236. package/dist/rest/v1/calls/calls-api.js +6 -4
  237. package/dist/rest/v1/calls/calls-api.js.map +1 -1
  238. package/dist/rest/v1/conferences/conferences-api.d.ts +11 -3
  239. package/dist/rest/v1/conferences/conferences-api.jest.fixture.d.ts +6 -1
  240. package/dist/rest/v1/conferences/conferences-api.jest.fixture.js +4 -0
  241. package/dist/rest/v1/conferences/conferences-api.jest.fixture.js.map +1 -1
  242. package/dist/rest/v1/conferences/conferences-api.js +12 -2
  243. package/dist/rest/v1/conferences/conferences-api.js.map +1 -1
  244. package/dist/rest/v1/enums.d.ts +1 -1
  245. package/dist/rest/v1/index.d.ts +1 -1
  246. package/dist/rest/v1/index.js +1 -1
  247. package/dist/rest/v1/index.js.map +1 -1
  248. package/dist/rest/v1/{voice-api.d.ts → voice-domain-api.d.ts} +1 -1
  249. package/dist/rest/v1/{voice-api.js → voice-domain-api.js} +4 -4
  250. package/dist/rest/v1/voice-domain-api.js.map +1 -0
  251. package/dist/rest/v1/{voice.d.ts → voice-service.d.ts} +1 -7
  252. package/dist/rest/v1/{voice.js → voice-service.js} +4 -4
  253. package/dist/rest/v1/voice-service.js.map +1 -0
  254. package/package.json +2 -2
  255. package/dist/models/v1/ace-request/ace-request.js +0 -9
  256. package/dist/models/v1/ace-request/ace-request.js.map +0 -1
  257. package/dist/models/v1/ace-request/index.d.ts +0 -1
  258. package/dist/models/v1/ace-request/index.js.map +0 -1
  259. package/dist/models/v1/ace-request-amd/ace-request-amd.d.ts +0 -17
  260. package/dist/models/v1/ace-request-amd/ace-request-amd.js +0 -9
  261. package/dist/models/v1/ace-request-amd/ace-request-amd.js.map +0 -1
  262. package/dist/models/v1/ace-request-amd/index.d.ts +0 -1
  263. package/dist/models/v1/ace-request-amd/index.js.map +0 -1
  264. package/dist/models/v1/ace-response/ace-response.d.ts +0 -16
  265. package/dist/models/v1/ace-response/ace-response.js.map +0 -1
  266. package/dist/models/v1/ace-response/index.d.ts +0 -1
  267. package/dist/models/v1/ace-response/index.js.map +0 -1
  268. package/dist/models/v1/callout-request/callout-request.d.ts +0 -23
  269. package/dist/models/v1/callout-request/callout-request.js +0 -9
  270. package/dist/models/v1/callout-request/callout-request.js.map +0 -1
  271. package/dist/models/v1/callout-request/index.d.ts +0 -1
  272. package/dist/models/v1/callout-request/index.js.map +0 -1
  273. package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.d.ts +0 -17
  274. package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.js +0 -9
  275. package/dist/models/v1/conference-callout-request-conference-dtmf-options/conference-callout-request-conference-dtmf-options.js.map +0 -1
  276. package/dist/models/v1/conference-callout-request-conference-dtmf-options/index.d.ts +0 -1
  277. package/dist/models/v1/conference-callout-request-conference-dtmf-options/index.js.map +0 -1
  278. package/dist/models/v1/dice-request/dice-request.js +0 -9
  279. package/dist/models/v1/dice-request/dice-request.js.map +0 -1
  280. package/dist/models/v1/dice-request/index.js.map +0 -1
  281. package/dist/models/v1/dice-request-debit/dice-request-debit.d.ts +0 -15
  282. package/dist/models/v1/dice-request-debit/dice-request-debit.js +0 -9
  283. package/dist/models/v1/dice-request-debit/dice-request-debit.js.map +0 -1
  284. package/dist/models/v1/dice-request-debit/index.d.ts +0 -1
  285. package/dist/models/v1/dice-request-debit/index.js.map +0 -1
  286. package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.d.ts +0 -15
  287. package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.js +0 -9
  288. package/dist/models/v1/dice-request-user-rate/dice-request-user-rate.js.map +0 -1
  289. package/dist/models/v1/dice-request-user-rate/index.d.ts +0 -1
  290. package/dist/models/v1/dice-request-user-rate/index.js.map +0 -1
  291. package/dist/models/v1/get-call-response-obj/get-call-response-obj.d.ts +0 -59
  292. package/dist/models/v1/get-call-response-obj/get-call-response-obj.js +0 -3
  293. package/dist/models/v1/get-call-response-obj/get-call-response-obj.js.map +0 -1
  294. package/dist/models/v1/get-call-response-obj/index.d.ts +0 -1
  295. package/dist/models/v1/get-call-response-obj/index.js.map +0 -1
  296. package/dist/models/v1/get-callbacks-url/get-callbacks-url.d.ts +0 -15
  297. package/dist/models/v1/get-callbacks-url/get-callbacks-url.js +0 -9
  298. package/dist/models/v1/get-callbacks-url/get-callbacks-url.js.map +0 -1
  299. package/dist/models/v1/get-callbacks-url/index.d.ts +0 -1
  300. package/dist/models/v1/get-callbacks-url/index.js.map +0 -1
  301. package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.d.ts +0 -13
  302. package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.js +0 -9
  303. package/dist/models/v1/get-callout-response-obj/get-callout-response-obj.js.map +0 -1
  304. package/dist/models/v1/get-callout-response-obj/index.d.ts +0 -1
  305. package/dist/models/v1/get-callout-response-obj/index.js.map +0 -1
  306. package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.d.ts +0 -16
  307. package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.js +0 -9
  308. package/dist/models/v1/get-conference-info-response-participants-inner/get-conference-info-response-participants-inner.js.map +0 -1
  309. package/dist/models/v1/get-conference-info-response-participants-inner/index.d.ts +0 -1
  310. package/dist/models/v1/get-conference-info-response-participants-inner/index.js.map +0 -1
  311. package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.d.ts +0 -11
  312. package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.js +0 -9
  313. package/dist/models/v1/get-numbers-response-obj/get-numbers-response-obj.js.map +0 -1
  314. package/dist/models/v1/get-numbers-response-obj/index.d.ts +0 -1
  315. package/dist/models/v1/get-numbers-response-obj/index.js.map +0 -1
  316. package/dist/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.js +0 -9
  317. package/dist/models/v1/get-numbers-response-obj-numbers-inner/get-numbers-response-obj-numbers-inner.js.map +0 -1
  318. package/dist/models/v1/get-numbers-response-obj-numbers-inner/index.d.ts +0 -1
  319. package/dist/models/v1/get-numbers-response-obj-numbers-inner/index.js.map +0 -1
  320. package/dist/models/v1/get-query-number/get-query-number.d.ts +0 -13
  321. package/dist/models/v1/get-query-number/get-query-number.js +0 -9
  322. package/dist/models/v1/get-query-number/get-query-number.js.map +0 -1
  323. package/dist/models/v1/get-query-number/index.d.ts +0 -1
  324. package/dist/models/v1/get-query-number/index.js.map +0 -1
  325. package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.d.ts +0 -23
  326. package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.js +0 -9
  327. package/dist/models/v1/get-query-number-number-item/get-query-number-number-item.js.map +0 -1
  328. package/dist/models/v1/get-query-number-number-item/index.d.ts +0 -1
  329. package/dist/models/v1/get-query-number-number-item/index.js.map +0 -1
  330. package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.d.ts +0 -15
  331. package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.js +0 -9
  332. package/dist/models/v1/get-query-number-number-item-rate/get-query-number-number-item-rate.js.map +0 -1
  333. package/dist/models/v1/get-query-number-number-item-rate/index.d.ts +0 -1
  334. package/dist/models/v1/get-query-number-number-item-rate/index.js.map +0 -1
  335. package/dist/models/v1/get-recording-file-info/get-recording-file-info.d.ts +0 -13
  336. package/dist/models/v1/get-recording-file-info/get-recording-file-info.js +0 -9
  337. package/dist/models/v1/get-recording-file-info/get-recording-file-info.js.map +0 -1
  338. package/dist/models/v1/get-recording-file-info/index.d.ts +0 -1
  339. package/dist/models/v1/get-recording-file-info/index.js.map +0 -1
  340. package/dist/models/v1/ice-request/ice-request.js +0 -9
  341. package/dist/models/v1/ice-request/ice-request.js.map +0 -1
  342. package/dist/models/v1/ice-request/index.js.map +0 -1
  343. package/dist/models/v1/ice-request-to/ice-request-to.d.ts +0 -15
  344. package/dist/models/v1/ice-request-to/ice-request-to.js +0 -9
  345. package/dist/models/v1/ice-request-to/ice-request-to.js.map +0 -1
  346. package/dist/models/v1/ice-request-to/index.d.ts +0 -1
  347. package/dist/models/v1/ice-request-to/index.js.map +0 -1
  348. package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.d.ts +0 -15
  349. package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.js +0 -9
  350. package/dist/models/v1/ice-request-user-rate/ice-request-user-rate.js.map +0 -1
  351. package/dist/models/v1/ice-request-user-rate/index.d.ts +0 -1
  352. package/dist/models/v1/ice-request-user-rate/index.js.map +0 -1
  353. package/dist/models/v1/ice-response/ice-response.d.ts +0 -21
  354. package/dist/models/v1/ice-response/ice-response.js.map +0 -1
  355. package/dist/models/v1/ice-response/index.d.ts +0 -1
  356. package/dist/models/v1/ice-response/index.js.map +0 -1
  357. package/dist/models/v1/notify-error-request/index.js.map +0 -1
  358. package/dist/models/v1/notify-error-request/notify-error-request.js +0 -9
  359. package/dist/models/v1/notify-error-request/notify-error-request.js.map +0 -1
  360. package/dist/models/v1/notify-request/index.js.map +0 -1
  361. package/dist/models/v1/notify-request/notify-request.d.ts +0 -21
  362. package/dist/models/v1/notify-request/notify-request.js +0 -9
  363. package/dist/models/v1/notify-request/notify-request.js.map +0 -1
  364. package/dist/models/v1/pie-request/index.d.ts +0 -1
  365. package/dist/models/v1/pie-request/index.js.map +0 -1
  366. package/dist/models/v1/pie-request/pie-request.js +0 -9
  367. package/dist/models/v1/pie-request/pie-request.js.map +0 -1
  368. package/dist/models/v1/pie-request-menu-result/index.d.ts +0 -1
  369. package/dist/models/v1/pie-request-menu-result/index.js.map +0 -1
  370. package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.d.ts +0 -19
  371. package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.js +0 -9
  372. package/dist/models/v1/pie-request-menu-result/pie-request-menu-result.js.map +0 -1
  373. package/dist/models/v1/pie-response/index.d.ts +0 -1
  374. package/dist/models/v1/pie-response/index.js.map +0 -1
  375. package/dist/models/v1/pie-response/pie-response.d.ts +0 -19
  376. package/dist/models/v1/pie-response/pie-response.js.map +0 -1
  377. package/dist/models/v1/svaml-action/index.js +0 -3
  378. package/dist/models/v1/svaml-action/index.js.map +0 -1
  379. package/dist/models/v1/svaml-action/svaml-action.js +0 -9
  380. package/dist/models/v1/svaml-action/svaml-action.js.map +0 -1
  381. package/dist/models/v1/svaml-action-connect-conf/index.d.ts +0 -1
  382. package/dist/models/v1/svaml-action-connect-conf/index.js.map +0 -1
  383. package/dist/models/v1/svaml-action-connect-conf/svaml-action-connect-conf.js +0 -9
  384. package/dist/models/v1/svaml-action-connect-conf/svaml-action-connect-conf.js.map +0 -1
  385. package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/index.d.ts +0 -1
  386. package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/index.js.map +0 -1
  387. package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.js +0 -9
  388. package/dist/models/v1/svaml-action-connect-conf-conference-dtmf-options/svaml-action-connect-conf-conference-dtmf-options.js.map +0 -1
  389. package/dist/models/v1/svaml-action-connect-mxp/index.d.ts +0 -1
  390. package/dist/models/v1/svaml-action-connect-mxp/index.js.map +0 -1
  391. package/dist/models/v1/svaml-action-connect-mxp/svaml-action-connect-mxp.js +0 -9
  392. package/dist/models/v1/svaml-action-connect-mxp/svaml-action-connect-mxp.js.map +0 -1
  393. package/dist/models/v1/svaml-action-connect-mxp-destination/index.d.ts +0 -1
  394. package/dist/models/v1/svaml-action-connect-mxp-destination/index.js.map +0 -1
  395. package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.d.ts +0 -15
  396. package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.js +0 -9
  397. package/dist/models/v1/svaml-action-connect-mxp-destination/svaml-action-connect-mxp-destination.js.map +0 -1
  398. package/dist/models/v1/svaml-action-connect-pstn/index.d.ts +0 -1
  399. package/dist/models/v1/svaml-action-connect-pstn/index.js.map +0 -1
  400. package/dist/models/v1/svaml-action-connect-pstn/svaml-action-connect-pstn.js +0 -9
  401. package/dist/models/v1/svaml-action-connect-pstn/svaml-action-connect-pstn.js.map +0 -1
  402. package/dist/models/v1/svaml-action-connect-pstn-amd/index.d.ts +0 -1
  403. package/dist/models/v1/svaml-action-connect-pstn-amd/index.js.map +0 -1
  404. package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.d.ts +0 -13
  405. package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.js +0 -9
  406. package/dist/models/v1/svaml-action-connect-pstn-amd/svaml-action-connect-pstn-amd.js.map +0 -1
  407. package/dist/models/v1/svaml-action-connect-sip/index.d.ts +0 -1
  408. package/dist/models/v1/svaml-action-connect-sip/index.js +0 -3
  409. package/dist/models/v1/svaml-action-connect-sip/index.js.map +0 -1
  410. package/dist/models/v1/svaml-action-connect-sip/svaml-action-connect-sip.js +0 -9
  411. package/dist/models/v1/svaml-action-connect-sip/svaml-action-connect-sip.js.map +0 -1
  412. package/dist/models/v1/svaml-action-connect-sip-destination/index.d.ts +0 -1
  413. package/dist/models/v1/svaml-action-connect-sip-destination/index.js.map +0 -1
  414. package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.d.ts +0 -13
  415. package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.js +0 -9
  416. package/dist/models/v1/svaml-action-connect-sip-destination/svaml-action-connect-sip-destination.js.map +0 -1
  417. package/dist/models/v1/svaml-action-continue/index.js +0 -3
  418. package/dist/models/v1/svaml-action-continue/index.js.map +0 -1
  419. package/dist/models/v1/svaml-action-continue/svaml-action-continue.js +0 -9
  420. package/dist/models/v1/svaml-action-continue/svaml-action-continue.js.map +0 -1
  421. package/dist/models/v1/svaml-action-hangup/index.js +0 -3
  422. package/dist/models/v1/svaml-action-hangup/index.js.map +0 -1
  423. package/dist/models/v1/svaml-action-hangup/svaml-action-hangup.js +0 -9
  424. package/dist/models/v1/svaml-action-hangup/svaml-action-hangup.js.map +0 -1
  425. package/dist/models/v1/svaml-action-park/index.d.ts +0 -1
  426. package/dist/models/v1/svaml-action-park/index.js +0 -3
  427. package/dist/models/v1/svaml-action-park/index.js.map +0 -1
  428. package/dist/models/v1/svaml-action-park/svaml-action-park.js +0 -9
  429. package/dist/models/v1/svaml-action-park/svaml-action-park.js.map +0 -1
  430. package/dist/models/v1/svaml-action-run-menu/index.d.ts +0 -1
  431. package/dist/models/v1/svaml-action-run-menu/index.js +0 -3
  432. package/dist/models/v1/svaml-action-run-menu/index.js.map +0 -1
  433. package/dist/models/v1/svaml-action-run-menu/svaml-action-run-menu.js +0 -9
  434. package/dist/models/v1/svaml-action-run-menu/svaml-action-run-menu.js.map +0 -1
  435. package/dist/models/v1/svaml-instruction/index.js +0 -3
  436. package/dist/models/v1/svaml-instruction/index.js.map +0 -1
  437. package/dist/models/v1/svaml-instruction/svaml-instruction.js +0 -9
  438. package/dist/models/v1/svaml-instruction/svaml-instruction.js.map +0 -1
  439. package/dist/models/v1/svaml-instruction-answer/index.js +0 -3
  440. package/dist/models/v1/svaml-instruction-answer/index.js.map +0 -1
  441. package/dist/models/v1/svaml-instruction-answer/svaml-instruction-answer.js +0 -9
  442. package/dist/models/v1/svaml-instruction-answer/svaml-instruction-answer.js.map +0 -1
  443. package/dist/models/v1/svaml-instruction-play-files/index.d.ts +0 -1
  444. package/dist/models/v1/svaml-instruction-play-files/index.js +0 -3
  445. package/dist/models/v1/svaml-instruction-play-files/index.js.map +0 -1
  446. package/dist/models/v1/svaml-instruction-play-files/svaml-instruction-play-files.js +0 -9
  447. package/dist/models/v1/svaml-instruction-play-files/svaml-instruction-play-files.js.map +0 -1
  448. package/dist/models/v1/svaml-instruction-say/index.d.ts +0 -1
  449. package/dist/models/v1/svaml-instruction-say/index.js +0 -3
  450. package/dist/models/v1/svaml-instruction-say/index.js.map +0 -1
  451. package/dist/models/v1/svaml-instruction-say/svaml-instruction-say.js +0 -9
  452. package/dist/models/v1/svaml-instruction-say/svaml-instruction-say.js.map +0 -1
  453. package/dist/models/v1/svaml-instruction-send-dtmf/index.d.ts +0 -1
  454. package/dist/models/v1/svaml-instruction-send-dtmf/index.js +0 -3
  455. package/dist/models/v1/svaml-instruction-send-dtmf/index.js.map +0 -1
  456. package/dist/models/v1/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js +0 -9
  457. package/dist/models/v1/svaml-instruction-send-dtmf/svaml-instruction-send-dtmf.js.map +0 -1
  458. package/dist/models/v1/svaml-instruction-set-cookie/index.d.ts +0 -1
  459. package/dist/models/v1/svaml-instruction-set-cookie/index.js +0 -3
  460. package/dist/models/v1/svaml-instruction-set-cookie/index.js.map +0 -1
  461. package/dist/models/v1/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js +0 -9
  462. package/dist/models/v1/svaml-instruction-set-cookie/svaml-instruction-set-cookie.js.map +0 -1
  463. package/dist/models/v1/svaml-instruction-start-recording/index.d.ts +0 -1
  464. package/dist/models/v1/svaml-instruction-start-recording/index.js +0 -3
  465. package/dist/models/v1/svaml-instruction-start-recording/index.js.map +0 -1
  466. package/dist/models/v1/svaml-instruction-start-recording/svaml-instruction-start-recording.js +0 -9
  467. package/dist/models/v1/svaml-instruction-start-recording/svaml-instruction-start-recording.js.map +0 -1
  468. package/dist/models/v1/svaml-instruction-stop-recording/index.js +0 -3
  469. package/dist/models/v1/svaml-instruction-stop-recording/index.js.map +0 -1
  470. package/dist/models/v1/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js +0 -9
  471. package/dist/models/v1/svaml-instruction-stop-recording/svaml-instruction-stop-recording.js.map +0 -1
  472. package/dist/models/v1/update-callbacks-url/index.d.ts +0 -1
  473. package/dist/models/v1/update-callbacks-url/index.js +0 -3
  474. package/dist/models/v1/update-callbacks-url/index.js.map +0 -1
  475. package/dist/models/v1/update-callbacks-url/update-callbacks-url.d.ts +0 -15
  476. package/dist/models/v1/update-callbacks-url/update-callbacks-url.js +0 -9
  477. package/dist/models/v1/update-callbacks-url/update-callbacks-url.js.map +0 -1
  478. package/dist/rest/v1/voice-api.js.map +0 -1
  479. package/dist/rest/v1/voice.js.map +0 -1
  480. /package/dist/models/v1/{ace-request-amd → callout-response}/index.js +0 -0
  481. /package/dist/models/v1/{ace-request → conference-dtmf-options}/index.js +0 -0
  482. /package/dist/models/v1/{ace-response → get-call-information}/index.js +0 -0
  483. /package/dist/models/v1/{callout-request → list-numbers-response}/index.js +0 -0
  484. /package/dist/models/v1/{conference-callout-request-conference-dtmf-options → mod-callbacks/ace-request}/index.js +0 -0
  485. /package/dist/models/v1/{ace-response → mod-callbacks/ace-response}/ace-response.js +0 -0
  486. /package/dist/models/v1/{dice-request-debit → mod-callbacks/ace-response}/index.js +0 -0
  487. /package/dist/models/v1/{dice-request-user-rate → mod-callbacks/callback-response}/index.js +0 -0
  488. /package/dist/models/v1/{dice-request → mod-callbacks/dice-request}/index.d.ts +0 -0
  489. /package/dist/models/v1/{dice-request → mod-callbacks/dice-request}/index.js +0 -0
  490. /package/dist/models/v1/{ice-request → mod-callbacks/ice-request}/index.d.ts +0 -0
  491. /package/dist/models/v1/{get-call-response-obj → mod-callbacks/ice-request}/index.js +0 -0
  492. /package/dist/models/v1/{ice-response → mod-callbacks/ice-response}/ice-response.js +0 -0
  493. /package/dist/models/v1/{get-callbacks-url → mod-callbacks/ice-response}/index.js +0 -0
  494. /package/dist/models/v1/{notify-error-request → mod-callbacks/notify-error-request}/index.d.ts +0 -0
  495. /package/dist/models/v1/{get-callout-response-obj → mod-callbacks/notify-error-request}/index.js +0 -0
  496. /package/dist/models/v1/{notify-request → mod-callbacks/notify-request}/index.d.ts +0 -0
  497. /package/dist/models/v1/{get-conference-info-response-participants-inner → mod-callbacks/notify-request}/index.js +0 -0
  498. /package/dist/models/v1/{get-numbers-response-obj-numbers-inner → mod-callbacks/pie-request}/index.js +0 -0
  499. /package/dist/models/v1/{get-numbers-response-obj → mod-callbacks/pie-response}/index.js +0 -0
  500. /package/dist/models/v1/{pie-response → mod-callbacks/pie-response}/pie-response.js +0 -0
  501. /package/dist/models/v1/{svaml-action → mod-svaml/svaml-action}/index.d.ts +0 -0
  502. /package/dist/models/v1/{notify-error-request → mod-svaml/svaml-action}/index.js +0 -0
  503. /package/dist/models/v1/{get-query-number-number-item-rate → mod-svaml/svaml-action-connect-conf}/index.js +0 -0
  504. /package/dist/models/v1/{get-query-number-number-item → mod-svaml/svaml-action-connect-mxp}/index.js +0 -0
  505. /package/dist/models/v1/{get-query-number → mod-svaml/svaml-action-connect-pstn}/index.js +0 -0
  506. /package/dist/models/v1/{get-recording-file-info → mod-svaml/svaml-action-connect-sip}/index.js +0 -0
  507. /package/dist/models/v1/{svaml-action-continue → mod-svaml/svaml-action-continue}/index.d.ts +0 -0
  508. /package/dist/models/v1/{ice-request-to → mod-svaml/svaml-action-continue}/index.js +0 -0
  509. /package/dist/models/v1/{svaml-action-hangup → mod-svaml/svaml-action-hangup}/index.d.ts +0 -0
  510. /package/dist/models/v1/{ice-request-user-rate → mod-svaml/svaml-action-hangup}/index.js +0 -0
  511. /package/dist/models/v1/{ice-request → mod-svaml/svaml-action-park}/index.js +0 -0
  512. /package/dist/models/v1/{ice-response → mod-svaml/svaml-action-run-menu}/index.js +0 -0
  513. /package/dist/models/v1/{svaml-instruction → mod-svaml/svaml-instruction}/index.d.ts +0 -0
  514. /package/dist/models/v1/{svaml-action-connect-mxp → mod-svaml/svaml-instruction}/index.js +0 -0
  515. /package/dist/models/v1/{svaml-instruction-answer → mod-svaml/svaml-instruction-answer}/index.d.ts +0 -0
  516. /package/dist/models/v1/{notify-request → mod-svaml/svaml-instruction-answer}/index.js +0 -0
  517. /package/dist/models/v1/{pie-request-menu-result → mod-svaml/svaml-instruction-play-files}/index.js +0 -0
  518. /package/dist/models/v1/{pie-request → mod-svaml/svaml-instruction-say}/index.js +0 -0
  519. /package/dist/models/v1/{pie-response → mod-svaml/svaml-instruction-send-dtmf}/index.js +0 -0
  520. /package/dist/models/v1/{svaml-action-connect-conf-conference-dtmf-options → mod-svaml/svaml-instruction-set-cookie}/index.js +0 -0
  521. /package/dist/models/v1/{svaml-action-connect-conf → mod-svaml/svaml-instruction-start-recording}/index.js +0 -0
  522. /package/dist/models/v1/{svaml-instruction-stop-recording → mod-svaml/svaml-instruction-stop-recording}/index.d.ts +0 -0
  523. /package/dist/models/v1/{svaml-action-connect-mxp-destination → mod-svaml/svaml-instruction-stop-recording}/index.js +0 -0
  524. /package/dist/models/v1/{svaml-action-connect-pstn-amd → participant}/index.js +0 -0
  525. /package/dist/models/v1/{svaml-action-connect-pstn → query-number-response}/index.js +0 -0
  526. /package/dist/models/v1/{svaml-action-connect-sip-destination → voice-price}/index.js +0 -0
package/README.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  This package contains the Sinch Voice SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.
4
4
 
5
- <span style="color:red; font-weight:bold">Warning:</span>
6
- **This SDK is currently available for preview purposes only. It should not be used in production environments.**
5
+ > <span style="color:red; font-weight:bold">Warning:</span>
6
+ > **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
7
7
 
8
8
 
9
9
  ## Installation
10
10
 
11
- We recommend to use this SDK as part of the `@sinch/sdk-core` package as it will take care about the authentication plugins to use.
11
+ We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
12
12
 
13
- However, it's still possible to use this SDK standalone is you need to access the Verification API only.
13
+ However, it's still possible to use this SDK standalone is you need to access the Voice API only.
14
14
 
15
15
  ### With NPM
16
16
 
@@ -41,10 +41,10 @@ import {
41
41
  TtsCalloutRequestData,
42
42
  GetCalloutResponseObj,
43
43
  SinchClient,
44
- SinchClientParameters,
44
+ ApplicationCredentials,
45
45
  } from '@sinch/sdk-core';
46
46
 
47
- const credentials: SinchClientParameters = {
47
+ const credentials: ApplicationCredentials = {
48
48
  applicationKey: 'APPLICATION_ID',
49
49
  applicationSecret: 'APPLICATION_SECRET',
50
50
  };
@@ -65,7 +65,7 @@ const requestData: TtsCalloutRequestData = {
65
65
  },
66
66
  };
67
67
 
68
- // Access the 'voice' domain registered on the Sinch Client
68
+ // Access the 'voice' controller registered on the Sinch Client
69
69
  const calloutResponse: GetCalloutResponseObj
70
70
  = await sinch.voice.callouts.tts(requestData);
71
71
  ```
@@ -76,7 +76,7 @@ The SDK can be used standalone if you need to use only the Voice APIs.
76
76
 
77
77
  ```typescript
78
78
  import {
79
- SinchClientParameters
79
+ ApplicationCredentials
80
80
  } from '@sinch/sdk-client';
81
81
  import {
82
82
  TtsCalloutRequestData,
@@ -84,12 +84,12 @@ import {
84
84
  Voice,
85
85
  } from '@sinch/voice';
86
86
 
87
- const credentials: SinchClientParameters = {
87
+ const credentials: ApplicationCredentials = {
88
88
  applicationKey: 'APPLICATION_ID',
89
89
  applicationSecret: 'APPLICATION_SECRET',
90
90
  };
91
91
 
92
- // Declare the 'verification' in a standalone way
92
+ // Declare the 'voice' controller in a standalone way
93
93
  const voice = new Voice(credentials);
94
94
 
95
95
  const requestData: TtsCalloutRequestData = {
@@ -107,21 +107,21 @@ const requestData: TtsCalloutRequestData = {
107
107
  },
108
108
  };
109
109
 
110
- // Use the standalone declaration of the 'verification' domain
110
+ // Use the standalone declaration of the 'voice' controller
111
111
  const calloutResponse: GetCalloutResponseObj
112
112
  = await voice.callouts.tts(requestData);
113
113
  ```
114
114
 
115
115
  ## Promises
116
116
 
117
- All the methods that interact with the Sinch APIs use Promises. You can use `await` in an `async` method to wait for the response or you can resolve them yourself with `then()` / `catch()`.
117
+ All the methods that interact with the Sinch APIs use Promises. You can use `await` in an `async` method to wait for the response, or you can resolve them yourself with `then()` / `catch()`.
118
118
 
119
119
  ```typescript
120
- // Method 1: Wait for the Promise to complete
120
+ // Method 1: Wait for the Promise to complete (you need to be in an 'async' method)
121
121
  let calloutResponse: GetCalloutResponseObj;
122
122
  try {
123
123
  calloutResponse = await sinch.voice.callouts.tts(requestData);
124
- console.log(`callId = ${response.callId}`);
124
+ console.log(`callId = ${calloutResponse.callId}`);
125
125
  } catch (error: any) {
126
126
  console.error(`ERROR ${error.statusCode}: Impossible to make a TTS callout to the number ${requestData.ttsCalloutRequestBody.ttsCallout.destination.endpoint}`);
127
127
  }
@@ -1,15 +1,8 @@
1
- /**
2
- * Model: AssignNumbers
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
1
  export interface AssignNumbers {
8
2
  /** The phone number or list of numbers in E.164 format. */
9
3
  numbers?: string[];
10
4
  /** indicates the application where the number(s) will be assigned. If empty, the application key that is used to sign the request will be used. */
11
5
  applicationkey?: string;
12
6
  /** 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;
7
+ capability?: 'voice' | 'sms';
14
8
  }
15
- export type CapabilityEnum = 'voice' | 'sms';
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: AssignNumbers
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=assign-numbers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assign-numbers.js","sourceRoot":"","sources":["../../../../src/models/v1/assign-numbers/assign-numbers.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"assign-numbers.js","sourceRoot":"","sources":["../../../../src/models/v1/assign-numbers/assign-numbers.ts"],"names":[],"mappings":""}
@@ -1,9 +1,3 @@
1
- /**
2
- * Model: CallHeader
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
1
  /**
8
2
  * Call Headers can be used to pass custom data from a Sinch SDK client to another, or specified in an ICE response to be made available to the receiving client. Further, if Call Headers is specified they will be available in ICE and DICE events.
9
3
  */
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: CallHeader
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=call-header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"call-header.js","sourceRoot":"","sources":["../../../../src/models/v1/call-header/call-header.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"call-header.js","sourceRoot":"","sources":["../../../../src/models/v1/call-header/call-header.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The returned call ID.
3
+ */
4
+ export interface CalloutResponse {
5
+ /** The returned call identifier. */
6
+ callId?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=callout-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-response.js","sourceRoot":"","sources":["../../../../src/models/v1/callout-response/callout-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { CalloutResponse } from './callout-response';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/callout-response/index.ts"],"names":[],"mappings":""}
@@ -1,11 +1,5 @@
1
- /**
2
- * Model: ConferenceCalloutRequest
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
- import { ConferenceCalloutRequestConferenceDtmfOptions } from '../conference-callout-request-conference-dtmf-options';
8
1
  import { Destination } from '../destination';
2
+ import { ConferenceDtmfOptions } from '../conference-dtmf-options';
9
3
  /**
10
4
  * The conference callout calls a phone number or a user. When the call is answered, it's connected to a conference room.
11
5
  */
@@ -16,8 +10,8 @@ export interface ConferenceCalloutRequest {
16
10
  destination: Destination;
17
11
  /** The conferenceId of the conference to which you want the callee to join. If the conferenceId doesn't exist a conference room will be created. */
18
12
  conferenceId: string;
19
- /** @see ConferenceCalloutRequestConferenceDtmfOptions */
20
- conferenceDtmfOptions?: ConferenceCalloutRequestConferenceDtmfOptions;
13
+ /** Options to control how DTMF signals are used by the participant in the conference. For information on how to use this feature, read more [here](../../../conference-dtmf). */
14
+ conferenceDtmfOptions?: ConferenceDtmfOptions;
21
15
  /** When the destination picks up, this DTMF tones will be played to the callee. Valid characters in the string are "0"-"9", "#" and "w". A "w" will render a 500 ms pause. Example: "ww1234#w#" will render a 1s pause, the DTMF tones "1", "2", "3", "4" and "#" followed by a 0.5s pause and finally the DTMF tone for "#". This can be used if the callout destination for instance require a conference PIN code or an extension to be entered. */
22
16
  dtmf?: string;
23
17
  maxDuration?: number;
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: ConferenceCalloutRequest
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=conference-callout-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conference-callout-request.js","sourceRoot":"","sources":["../../../../src/models/v1/conference-callout-request/conference-callout-request.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"conference-callout-request.js","sourceRoot":"","sources":["../../../../src/models/v1/conference-callout-request/conference-callout-request.ts"],"names":[],"mappings":""}
@@ -1,15 +1,9 @@
1
- /**
2
- * Model: SvamlActionConnectConfConferenceDtmfOptions
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
1
  /**
8
2
  * Options to control how DTMF signals are used by the participant in the conference. For information on how to use this feature, read more [here](../../conference-dtmf).
9
3
  */
10
- export interface SvamlActionConnectConfConferenceDtmfOptions {
4
+ export interface ConferenceDtmfOptions {
11
5
  /** Determines what DTMF mode the participant will use in the call. */
12
- mode?: string;
6
+ mode?: 'ignore' | 'forward' | 'detect';
13
7
  /** The maximum number of accepted digits before sending the collected input via a PIE callback. The default value is `1`. If the value is greater than `1`, the PIE callback is triggered by one of the three following events: - No additional digit is entered before the `timeoutMills` timeout period has elapsed. - The `#` character is entered. - The maximum number of digits has been entered. */
14
8
  maxDigits?: number;
15
9
  /** The number of milliseconds that the system will wait between entered digits before triggering the PIE callback. The default value is `3000`. */
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=conference-dtmf-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conference-dtmf-options.js","sourceRoot":"","sources":["../../../../src/models/v1/conference-dtmf-options/conference-dtmf-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { ConferenceDtmfOptions } from './conference-dtmf-options';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/conference-dtmf-options/index.ts"],"names":[],"mappings":""}
@@ -1,9 +1,3 @@
1
- /**
2
- * Model: CustomCalloutRequest
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
1
  import { Destination } from '../destination';
8
2
  /**
9
3
  * The custom callout, the server initiates a call from the servers that can be controlled by specifying how the call should progress at each call event.
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: CustomCalloutRequest
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=custom-callout-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-callout-request.js","sourceRoot":"","sources":["../../../../src/models/v1/custom-callout-request/custom-callout-request.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"custom-callout-request.js","sourceRoot":"","sources":["../../../../src/models/v1/custom-callout-request/custom-callout-request.ts"],"names":[],"mappings":""}
@@ -1,16 +1,9 @@
1
- /**
2
- * Model: Destination
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
1
  /**
8
2
  * The type of device and number or endpoint to call.
9
3
  */
10
4
  export interface Destination {
11
5
  /** Can be of type `number` for PSTN endpoints or of type `username` for data endpoints. */
12
- type: TypeEnum;
6
+ type: 'number' | 'username';
13
7
  /** 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
8
  endpoint: string;
15
9
  }
16
- export type TypeEnum = 'number' | 'username';
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: Destination
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=destination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"destination.js","sourceRoot":"","sources":["../../../../src/models/v1/destination/destination.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"destination.js","sourceRoot":"","sources":["../../../../src/models/v1/destination/destination.ts"],"names":[],"mappings":""}
@@ -1,11 +1,4 @@
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
1
  export type ResultEnum = 'N/A' | 'ANSWERED' | 'BUSY' | 'NOANSWER' | 'FAILED';
11
- export type ReasonEnum = 'N/A' | 'TIMEOUT' | 'CALLERHANGUP' | 'CALLEEHANGUP' | 'BLOCKED' | 'NOCREDITPARTNER' | 'MANAGERHANGUP' | 'CANCEL' | 'GENERALERROR';
2
+ export type ReasonEnum = 'N/A' | 'TIMEOUT' | 'CALLERHANGUP' | 'CALLEEHANGUP' | 'BLOCKED' | 'NOCREDITPARTNER' | 'MANAGERHANGUP' | 'CANCEL' | 'GENERALERROR' | 'INVALIDSVAMLACTION';
3
+ export type TtsVoice = 'arb' | 'arb/female' | 'Zeina' | 'az-AZ' | 'az-AZ/female' | 'az-AZ/male' | 'Banu' | 'Babek' | 'ca-ES' | 'ca-ES/female' | 'Arlet' | 'zh-HK' | 'zh-HK/female' | 'zh-HK/male' | 'HiuGaai' | 'HiuMaan' | 'WanLung' | 'cmn-CN' | 'cmn-CN/female' | 'Zhiyu' | 'hr-HR' | 'hr-HR/female' | 'hr-HR/male' | 'Gabrijela' | 'Srecko' | 'cs-CZ' | 'cs-CZ/female' | 'cs-CZ/male' | 'Vlasta' | 'Antonin' | 'da-DK' | 'da-DK/female' | 'da-DK/male' | 'Naja' | 'Mads' | 'nl-NL' | 'nl-NL/female' | 'nl-NL/male' | 'Lotte' | 'Ruben' | 'en-AU' | 'en-AU/female' | 'en-AU/male' | 'Nicole' | 'Olivia' | 'Russell' | 'en-GB' | 'en-GB/female' | 'en-GB/male' | 'Amy' | 'Emma' | 'Brian' | 'Arthur' | 'en-IN' | 'en-IN/female' | 'Aditi' | 'Raveena' | 'Kajal' | 'en-NZ' | 'en-NZ/female' | 'Aria' | 'en-ZA' | 'en-ZA/female' | 'Ayanda' | 'en-US' | 'en-US/female' | 'en-US/male' | 'Ivy' | 'Joanna' | 'Kendra' | 'Kimberly' | 'Salli' | 'Joey' | 'Justin' | 'Kevin' | 'Matthew' | 'en-GB-WLS' | 'en-GB-WLS/male' | 'Geraint' | 'et-EE' | 'et-EE/female' | 'et-EE/male' | 'Anu' | 'Kert' | 'fil-PH' | 'fil-PH/female' | 'fil-PH/male' | 'Angelo' | 'Blessica' | 'fi-FI' | 'fi-FI/female' | 'Suvi' | 'fr-FR' | 'fr-FR/female' | 'fr-FR/male' | 'Céline' | 'Celine' | 'Léa' | 'Mathieu' | 'fr-CA' | 'fr-CA/female' | 'fr-CA/male' | 'Chantal' | 'Gabrielle' | 'Liam' | 'ka-GE' | 'ka-GE/female' | 'ka-GE/male' | 'Eka' | 'Giorgi' | 'de-DE' | 'de-DE/female' | 'de-DE/male' | 'Marlene' | 'Vicki' | 'Hans' | 'Daniel' | 'de-AT' | 'de-AT/female' | 'Hannah' | 'el-GR' | 'el-GR/female' | 'el-GR/male' | 'Athina' | 'Nestoras' | 'hi-IN' | 'hi-IN/female' | 'Aditi' | 'Kajal' | 'hu-HU' | 'hu-HU/female' | 'hu-HU/male' | 'Noemi' | 'Tamas' | 'is-IS' | 'is-IS/female' | 'is-IS/male' | 'Dóra' | 'Dora' | 'Karl' | 'id-ID' | 'id-ID/female' | 'id-ID/male' | 'Ardi' | 'Gadis' | 'it-IT' | 'it-IT/female' | 'it-IT/male' | 'Carla' | 'Bianca' | 'Giorgio' | 'ja-JP' | 'ja-JP/female' | 'ja-JP/male' | 'Mizuki' | 'Takumi' | 'ko-KR' | 'ko-KR/female' | 'Seoyeon' | 'mt-MT' | 'mt-MT/female' | 'mt-MT/male' | 'Grace' | 'Joseph' | 'ms-MY' | 'ms-MY/female' | 'ms-MY/male' | 'Osman' | 'Yasmin' | 'nb-NO' | 'nb-NO/female' | 'Liv' | 'lv-LV' | 'lv-LV/female' | 'lv-LV/male' | 'Everita' | 'Nils' | 'lt-LT' | 'lt-LT/female' | 'lt-LT/male' | 'Ona' | 'Leonas' | 'pl-PL' | 'pl-PL/female' | 'pl-PL/male' | 'Ewa' | 'Maja' | 'Jacek' | 'Jan' | 'pt-BR' | 'pt-BR/female' | 'pt-BR/male' | 'Camila' | 'Vitória' | 'Vitoria' | 'Ricardo' | 'pt-PT' | 'pt-PT/female' | 'pt-PT/male' | 'Inês' | 'Ines' | 'Cristiano' | 'ro-RO' | 'ro-RO/female' | 'Carmen' | 'ru-RU' | 'ru-RU/female' | 'ru-RU/male' | 'Tatyana' | 'Maxim' | 'es-ES' | 'es-ES/female' | 'es-ES/male' | 'Conchita' | 'Lucia' | 'Enrique' | 'es-MX' | 'es-MX/female' | 'Mia' | 'es-US' | 'es-US/female' | 'es-US/male' | 'Lupe' | 'Penélope' | 'Penelope' | 'Miguel' | 'Pedro' | 'sk-SK' | 'sk-SK/female' | 'sk-SK/male' | 'Viktoria' | 'Lukas' | 'sl-SI' | 'sl-SI/female' | 'sl-SI/male' | 'Petra' | 'Rok' | 'sv-SE' | 'sv-SE/female' | 'Astrid' | 'th-TH' | 'th-TH/female' | 'th-TH/male' | 'Achara' | 'Niwat' | 'Premwadee' | 'tr-TR' | 'tr-TR/male' | 'Filiz' | 'uk-UA' | 'uk-UA/female' | 'uk-UA/male' | 'Polina' | 'Ostap' | 'uz-UZ' | 'uz-UZ/female' | 'uz-UZ/male' | 'Madina' | 'Sardor' | 'vi-VN' | 'vi-VN/female' | 'vi-VN/male' | 'HoaiMy' | 'NamMinh' | 'cy-GB' | 'cy-GB/female' | 'Gwyneth';
4
+ export type MusicOnHold = 'ring' | 'music1' | 'music2' | 'music3';
@@ -0,0 +1,29 @@
1
+ import { ReasonEnum, ResultEnum } from '../enums';
2
+ import { VoicePrice } from '../voice-price';
3
+ import { Participant } from '../participant';
4
+ export interface GetCallInformation {
5
+ /** Contains the caller information. */
6
+ from?: Participant;
7
+ /** Contains the callee information. */
8
+ to?: Participant;
9
+ /** Must be `pstn` for PSTN. */
10
+ domain?: 'pstn';
11
+ /** The unique identifier of the call. */
12
+ callId?: string;
13
+ /** The duration of the call in seconds. */
14
+ duration?: number;
15
+ /** The status of the call. Either `ONGOING` or `FINAL` */
16
+ status?: 'ONGOING' | 'FINAL';
17
+ /** Contains the result of a call. */
18
+ result?: ResultEnum;
19
+ /** Contains the reason why a call ended. */
20
+ reason?: ReasonEnum;
21
+ /** The date and time of the call. */
22
+ timestamp?: Date;
23
+ /** An object that can be used to pass custom information related to the call. */
24
+ custom?: string;
25
+ /** The rate per minute that was charged for the call. */
26
+ userRate?: VoicePrice;
27
+ /** The total amount charged for the call. */
28
+ debit?: VoicePrice;
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=get-call-information.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-call-information.js","sourceRoot":"","sources":["../../../../src/models/v1/get-call-information/get-call-information.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type { GetCallInformation } from './get-call-information';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/get-call-information/index.ts"],"names":[],"mappings":""}
@@ -1,11 +1,10 @@
1
- /**
2
- * Model: GetCallbacks
3
- *
4
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
5
- *
6
- */
7
- import { GetCallbacksUrl } from '../get-callbacks-url';
8
1
  export interface GetCallbacks {
9
- /** @see GetCallbacksUrl */
2
+ /** Gets primary and if configured fallback callback URLs */
10
3
  url?: GetCallbacksUrl;
11
4
  }
5
+ export interface GetCallbacksUrl {
6
+ /** Your primary callback URL */
7
+ primary?: string;
8
+ /** Your fallback callback URL (returned if configured). It is used only if Sinch platform gets a timeout or error from your primary callback URL. */
9
+ fallback?: string;
10
+ }
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: GetCallbacks
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=get-callbacks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-callbacks.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks/get-callbacks.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
1
+ {"version":3,"file":"get-callbacks.js","sourceRoot":"","sources":["../../../../src/models/v1/get-callbacks/get-callbacks.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- export type { GetCallbacks } from './get-callbacks';
1
+ export type { GetCallbacks, GetCallbacksUrl } from './get-callbacks';
@@ -1,14 +1,17 @@
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
1
  /**
9
2
  * The response returns information about the participants in the conference.
10
3
  */
11
4
  export interface GetConferenceInfoResponse {
12
5
  /** List of GetConferenceInfoResponseParticipantsInners */
13
- participants?: GetConferenceInfoResponseParticipantsInner[];
6
+ participants?: ParticipantDetails[];
7
+ }
8
+ export interface ParticipantDetails {
9
+ /** The phone number of the PSTN participant that was connected in the conference, or whatever was passed as CLI for data originated/terminated calls. */
10
+ cli?: string;
11
+ /** The callId of the call leg that the participant joined the conference. */
12
+ id?: string;
13
+ /** The number of seconds that the participant has been connected to the conference. */
14
+ duration?: number;
15
+ muted?: boolean;
16
+ onhold?: boolean;
14
17
  }
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * Model: GetConferenceInfoResponse
4
- *
5
- * THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.
6
- *
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
3
  //# sourceMappingURL=get-conference-info-response.js.map
@@ -1 +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"}
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":""}
@@ -1 +1 @@
1
- export type { GetConferenceInfoResponse } from './get-conference-info-response';
1
+ export type { GetConferenceInfoResponse, ParticipantDetails } from './get-conference-info-response';
@@ -0,0 +1,85 @@
1
+ import { ConnectConfProps, ConnectMxpProps, ConnectPstnProps, ConnectSipProps, ParkProps, RunMenuProps, StartRecordingOptions, SvamlActionConnectConf, SvamlActionConnectMxp, SvamlActionConnectPstn, SvamlActionConnectSip, SvamlActionContinue, SvamlActionHangup, SvamlActionPark, SvamlActionRunMenu, SvamlInstructionAnswer, SvamlInstructionPlayFiles, SvamlInstructionSay, SvamlInstructionSendDtmf, SvamlInstructionSetCookie, SvamlInstructionStartRecording, SvamlInstructionStopRecording } from './mod-svaml';
2
+ import { AceResponse, AceSvamlAction, AceSvamlInstruction, CallbackResponse, IceResponse, IceSvamlAction, IceSvamlInstruction, PieResponse, PieSvamlAction, PieSvamlInstruction } from './mod-callbacks';
3
+ import { TtsVoice } from './enums';
4
+ declare class SvamletBuilder<A, I, R extends CallbackResponse<A, I>> {
5
+ protected action: A | undefined;
6
+ protected instructions: I[] | undefined;
7
+ setAction: (action: A) => this;
8
+ addInstruction: (instruction: I) => this;
9
+ build: () => R;
10
+ }
11
+ export declare class AceSvamletBuilder extends SvamletBuilder<AceSvamlAction, AceSvamlInstruction, AceResponse> {
12
+ }
13
+ export declare class IceSvamletBuilder extends SvamletBuilder<IceSvamlAction, IceSvamlInstruction, IceResponse> {
14
+ }
15
+ export declare class PieSvamletBuilder extends SvamletBuilder<PieSvamlAction, PieSvamlInstruction, PieResponse> {
16
+ }
17
+ export declare const customCalloutHelper: {
18
+ formatIceResponse: (action?: IceSvamlAction, ...instructions: IceSvamlInstruction[]) => string;
19
+ formatAceResponse: (action?: AceSvamlAction, ...instructions: AceSvamlInstruction[]) => string;
20
+ formatPieResponse: (action?: PieSvamlAction, ...instructions: PieSvamlInstruction[]) => string;
21
+ };
22
+ export declare const svamlActionHelper: {
23
+ buildConnectConf: (connectConfProps: ConnectConfProps) => SvamlActionConnectConf;
24
+ buildConnectMxp: (connectMxpProps: ConnectMxpProps) => SvamlActionConnectMxp;
25
+ buildConnectPstn: (connectPstnProps: ConnectPstnProps) => SvamlActionConnectPstn;
26
+ buildConnectSip: (connectSipProps: ConnectSipProps) => SvamlActionConnectSip;
27
+ buildContinue: () => SvamlActionContinue;
28
+ buildHangup: () => SvamlActionHangup;
29
+ buildPark: (parkProps: ParkProps) => SvamlActionPark;
30
+ buildRunMenu: (runMenuProps: RunMenuProps) => SvamlActionRunMenu;
31
+ };
32
+ export declare const svamlInstructionHelper: {
33
+ buildAnswer: () => SvamlInstructionAnswer;
34
+ buildPlayFiles: (ids: string[], locale?: TtsVoice) => SvamlInstructionPlayFiles;
35
+ buildSay: (text: string, locale?: TtsVoice) => SvamlInstructionSay;
36
+ buildSendDtmf: (dtmfValue: string) => SvamlInstructionSendDtmf;
37
+ buildSetCookie: (name: string, value: string) => SvamlInstructionSetCookie;
38
+ buildStartRecording: (startRecordingOptions: StartRecordingOptions) => SvamlInstructionStartRecording;
39
+ buildStopRecording: () => SvamlInstructionStopRecording;
40
+ };
41
+ export declare const aceActionHelper: {
42
+ hangup: () => SvamlActionHangup;
43
+ continue: () => SvamlActionContinue;
44
+ connectConf: (connectConfProps: ConnectConfProps) => SvamlActionConnectConf;
45
+ runMenu: (runMenuProps: RunMenuProps) => SvamlActionRunMenu;
46
+ };
47
+ export declare const aceInstructionHelper: {
48
+ playFiles: (ids: string[], locale?: TtsVoice) => SvamlInstructionPlayFiles;
49
+ say: (text: string, locale?: TtsVoice) => SvamlInstructionSay;
50
+ setCookie: (name: string, value: string) => SvamlInstructionSetCookie;
51
+ startRecording: (startRecordingOptions: StartRecordingOptions) => SvamlInstructionStartRecording;
52
+ };
53
+ export declare const iceActionHelper: {
54
+ hangup: () => SvamlActionHangup;
55
+ connectPstn: (connectPstnProps: ConnectPstnProps) => SvamlActionConnectPstn;
56
+ connectMxp: (connectMxpProps: ConnectMxpProps) => SvamlActionConnectMxp;
57
+ connectConf: (connectConfProps: ConnectConfProps) => SvamlActionConnectConf;
58
+ connectSip: (connectSipProps: ConnectSipProps) => SvamlActionConnectSip;
59
+ runMenu: (runMenuProps: RunMenuProps) => SvamlActionRunMenu;
60
+ park: (parkProps: ParkProps) => SvamlActionPark;
61
+ };
62
+ export declare const iceInstructionHelper: {
63
+ playFiles: (ids: string[], locale?: TtsVoice) => SvamlInstructionPlayFiles;
64
+ say: (text: string, locale?: TtsVoice) => SvamlInstructionSay;
65
+ sendDtmf: (dtmfValue: string) => SvamlInstructionSendDtmf;
66
+ setCookie: (name: string, value: string) => SvamlInstructionSetCookie;
67
+ startRecording: (startRecordingOptions: StartRecordingOptions) => SvamlInstructionStartRecording;
68
+ answer: () => SvamlInstructionAnswer;
69
+ };
70
+ export declare const pieActionHelper: {
71
+ hangup: () => SvamlActionHangup;
72
+ continue: () => SvamlActionContinue;
73
+ connectConf: (connectConfProps: ConnectConfProps) => SvamlActionConnectConf;
74
+ connectSip: (connectSipProps: ConnectSipProps) => SvamlActionConnectSip;
75
+ runMenu: (runMenuProps: RunMenuProps) => SvamlActionRunMenu;
76
+ };
77
+ export declare const pieInstructionHelper: {
78
+ playFiles: (ids: string[], locale?: TtsVoice) => SvamlInstructionPlayFiles;
79
+ say: (text: string, locale?: TtsVoice) => SvamlInstructionSay;
80
+ sendDtmf: (dtmfValue: string) => SvamlInstructionSendDtmf;
81
+ setCookie: (name: string, value: string) => SvamlInstructionSetCookie;
82
+ startRecording: (startRecordingOptions: StartRecordingOptions) => SvamlInstructionStartRecording;
83
+ stopRecording: () => SvamlInstructionStopRecording;
84
+ };
85
+ export {};