syllable-sdk 0.1.0-alpha.73 → 0.1.0-alpha.75

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 (387) hide show
  1. package/README.md +22 -28
  2. package/docs/sdks/batches/README.md +26 -42
  3. package/docs/sdks/campaigns/README.md +25 -9
  4. package/docs/sdks/incidents/README.md +178 -84
  5. package/docs/sdks/insights/README.md +1 -1
  6. package/docs/sdks/latency/README.md +85 -0
  7. package/docs/sdks/syllablesdktools/README.md +82 -2
  8. package/docs/sdks/takeouts/README.md +11 -11
  9. package/docs/sdks/workflows/README.md +1 -1
  10. package/funcs/incidentsCreate.d.ts +1 -1
  11. package/funcs/incidentsCreate.d.ts.map +1 -1
  12. package/funcs/incidentsCreate.js +2 -2
  13. package/funcs/incidentsCreate.js.map +1 -1
  14. package/funcs/incidentsDelete.d.ts.map +1 -1
  15. package/funcs/incidentsDelete.js +4 -0
  16. package/funcs/incidentsDelete.js.map +1 -1
  17. package/funcs/incidentsGetById.d.ts +1 -1
  18. package/funcs/incidentsGetById.d.ts.map +1 -1
  19. package/funcs/incidentsGetById.js +1 -1
  20. package/funcs/incidentsGetById.js.map +1 -1
  21. package/funcs/incidentsIncidentGetOrganizations.d.ts +15 -0
  22. package/funcs/incidentsIncidentGetOrganizations.d.ts.map +1 -0
  23. package/funcs/{v1PostSessionsDashboard.js → incidentsIncidentGetOrganizations.js} +10 -15
  24. package/funcs/incidentsIncidentGetOrganizations.js.map +1 -0
  25. package/funcs/incidentsList.d.ts +2 -2
  26. package/funcs/incidentsList.d.ts.map +1 -1
  27. package/funcs/incidentsList.js +10 -4
  28. package/funcs/incidentsList.js.map +1 -1
  29. package/funcs/incidentsUpdate.d.ts +1 -2
  30. package/funcs/incidentsUpdate.d.ts.map +1 -1
  31. package/funcs/incidentsUpdate.js +4 -13
  32. package/funcs/incidentsUpdate.js.map +1 -1
  33. package/funcs/insightsList.d.ts +1 -1
  34. package/funcs/insightsList.js +1 -1
  35. package/funcs/insightsToolsCreate.d.ts +1 -1
  36. package/funcs/insightsToolsCreate.js +3 -3
  37. package/funcs/insightsToolsCreate.js.map +1 -1
  38. package/funcs/insightsToolsInsightsToolTest.d.ts +16 -0
  39. package/funcs/insightsToolsInsightsToolTest.d.ts.map +1 -0
  40. package/funcs/insightsToolsInsightsToolTest.js +103 -0
  41. package/funcs/insightsToolsInsightsToolTest.js.map +1 -0
  42. package/funcs/insightsToolsUpdate.d.ts +1 -1
  43. package/funcs/insightsToolsUpdate.js +1 -1
  44. package/funcs/insightsWorkflowsQueueSessionsWorkflow.d.ts +1 -1
  45. package/funcs/insightsWorkflowsQueueSessionsWorkflow.js +1 -1
  46. package/funcs/{outboundBatchesOutboundBatchAdd.d.ts → outboundBatchesAdd.d.ts} +2 -2
  47. package/funcs/outboundBatchesAdd.d.ts.map +1 -0
  48. package/funcs/{outboundBatchesOutboundBatchAdd.js → outboundBatchesAdd.js} +3 -3
  49. package/funcs/outboundBatchesAdd.js.map +1 -0
  50. package/funcs/outboundBatchesList.d.ts +1 -1
  51. package/funcs/outboundBatchesList.d.ts.map +1 -1
  52. package/funcs/outboundBatchesList.js +1 -2
  53. package/funcs/outboundBatchesList.js.map +1 -1
  54. package/funcs/{outboundBatchesOutboundBatchRemove.d.ts → outboundBatchesRemove.d.ts} +2 -2
  55. package/funcs/outboundBatchesRemove.d.ts.map +1 -0
  56. package/funcs/{outboundBatchesOutboundBatchRemove.js → outboundBatchesRemove.js} +3 -3
  57. package/funcs/outboundBatchesRemove.js.map +1 -0
  58. package/funcs/{outboundBatchesOutboundBatchResults.d.ts → outboundBatchesResults.d.ts} +2 -2
  59. package/funcs/outboundBatchesResults.d.ts.map +1 -0
  60. package/funcs/{outboundBatchesOutboundBatchResults.js → outboundBatchesResults.js} +8 -3
  61. package/funcs/outboundBatchesResults.js.map +1 -0
  62. package/funcs/outboundBatchesUpdate.js +1 -1
  63. package/funcs/outboundBatchesUpdate.js.map +1 -1
  64. package/funcs/outboundBatchesUpload.d.ts.map +1 -1
  65. package/funcs/outboundBatchesUpload.js +16 -12
  66. package/funcs/outboundBatchesUpload.js.map +1 -1
  67. package/funcs/outboundCampaignsList.d.ts +1 -1
  68. package/funcs/outboundCampaignsList.d.ts.map +1 -1
  69. package/funcs/outboundCampaignsList.js +1 -2
  70. package/funcs/outboundCampaignsList.js.map +1 -1
  71. package/funcs/{v1PostListDashboard.d.ts → sessionsLatencyGetById.d.ts} +3 -9
  72. package/funcs/sessionsLatencyGetById.d.ts.map +1 -0
  73. package/funcs/{v1PostGetDashboard.js → sessionsLatencyGetById.js} +15 -19
  74. package/funcs/sessionsLatencyGetById.js.map +1 -0
  75. package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts → takeoutsCreate.d.ts} +2 -2
  76. package/funcs/takeoutsCreate.d.ts.map +1 -0
  77. package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js → takeoutsCreate.js} +4 -4
  78. package/funcs/takeoutsCreate.js.map +1 -0
  79. package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts → takeoutsTakeoutsGetByJobId.d.ts} +2 -2
  80. package/funcs/takeoutsTakeoutsGetByJobId.d.ts.map +1 -0
  81. package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js → takeoutsTakeoutsGetByJobId.js} +5 -5
  82. package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -0
  83. package/jsr.json +1 -1
  84. package/lib/config.d.ts +2 -2
  85. package/lib/config.js +2 -2
  86. package/models/components/batchdetails.d.ts +8 -3
  87. package/models/components/batchdetails.d.ts.map +1 -1
  88. package/models/components/batchdetails.js +8 -2
  89. package/models/components/batchdetails.js.map +1 -1
  90. package/models/components/batchstatus.d.ts +3 -3
  91. package/models/components/batchstatus.js +1 -1
  92. package/models/components/batchstatus.js.map +1 -1
  93. package/models/components/bodyoutboundbatchdelete.d.ts +1 -1
  94. package/models/components/bodyoutboundbatchdelete.d.ts.map +1 -1
  95. package/models/components/bodyoutboundbatchdelete.js +10 -1
  96. package/models/components/bodyoutboundbatchdelete.js.map +1 -1
  97. package/models/components/bodyoutboundbatchupload.d.ts +2 -2
  98. package/models/components/bodyoutboundbatchupload.d.ts.map +1 -1
  99. package/models/components/bodyoutboundbatchupload.js +2 -2
  100. package/models/components/bodyoutboundbatchupload.js.map +1 -1
  101. package/models/components/communicationbatch.d.ts +8 -3
  102. package/models/components/communicationbatch.d.ts.map +1 -1
  103. package/models/components/communicationbatch.js +8 -2
  104. package/models/components/communicationbatch.js.map +1 -1
  105. package/models/components/communicationbatchupdate.d.ts +37 -0
  106. package/models/components/communicationbatchupdate.d.ts.map +1 -0
  107. package/models/components/communicationbatchupdate.js +70 -0
  108. package/models/components/communicationbatchupdate.js.map +1 -0
  109. package/models/components/communicationrequest.d.ts +0 -11
  110. package/models/components/communicationrequest.d.ts.map +1 -1
  111. package/models/components/communicationrequest.js +0 -9
  112. package/models/components/communicationrequest.js.map +1 -1
  113. package/models/components/communicationrequestresult.d.ts +44 -13
  114. package/models/components/communicationrequestresult.d.ts.map +1 -1
  115. package/models/components/communicationrequestresult.js +42 -13
  116. package/models/components/communicationrequestresult.js.map +1 -1
  117. package/models/components/conversation.d.ts +10 -0
  118. package/models/components/conversation.d.ts.map +1 -1
  119. package/models/components/conversation.js +8 -0
  120. package/models/components/conversation.js.map +1 -1
  121. package/models/components/daysofweek.d.ts +49 -0
  122. package/models/components/daysofweek.d.ts.map +1 -0
  123. package/models/components/daysofweek.js +59 -0
  124. package/models/components/daysofweek.js.map +1 -0
  125. package/models/components/incidentcreaterequest.d.ts +75 -0
  126. package/models/components/incidentcreaterequest.d.ts.map +1 -0
  127. package/models/components/{serviceincidentrequest.js → incidentcreaterequest.js} +29 -29
  128. package/models/components/incidentcreaterequest.js.map +1 -0
  129. package/models/components/incidentorganizationresponse.d.ts +33 -0
  130. package/models/components/incidentorganizationresponse.d.ts.map +1 -0
  131. package/models/components/incidentorganizationresponse.js +72 -0
  132. package/models/components/incidentorganizationresponse.js.map +1 -0
  133. package/models/components/incidentproperties.d.ts +64 -0
  134. package/models/components/incidentproperties.d.ts.map +1 -0
  135. package/models/components/incidentproperties.js +63 -0
  136. package/models/components/incidentproperties.js.map +1 -0
  137. package/models/components/incidentresponse.d.ts +90 -0
  138. package/models/components/incidentresponse.d.ts.map +1 -0
  139. package/models/components/{serviceincidentresponse.js → incidentresponse.js} +33 -33
  140. package/models/components/incidentresponse.js.map +1 -0
  141. package/models/components/incidentupdaterequest.d.ts +90 -0
  142. package/models/components/incidentupdaterequest.d.ts.map +1 -0
  143. package/models/{operations/incidentupdate.js → components/incidentupdaterequest.js} +43 -10
  144. package/models/components/incidentupdaterequest.js.map +1 -0
  145. package/models/components/index.d.ts +16 -2
  146. package/models/components/index.d.ts.map +1 -1
  147. package/models/components/index.js +16 -2
  148. package/models/components/index.js.map +1 -1
  149. package/models/components/insighttooltestinput.d.ts +40 -0
  150. package/models/components/insighttooltestinput.d.ts.map +1 -0
  151. package/models/components/insighttooltestinput.js +72 -0
  152. package/models/components/insighttooltestinput.js.map +1 -0
  153. package/models/components/inspectlatencyresponse.d.ts +42 -0
  154. package/models/components/inspectlatencyresponse.d.ts.map +1 -0
  155. package/models/components/inspectlatencyresponse.js +74 -0
  156. package/models/components/inspectlatencyresponse.js.map +1 -0
  157. package/models/components/latencycategory.d.ts +37 -0
  158. package/models/components/latencycategory.d.ts.map +1 -0
  159. package/models/components/latencycategory.js +53 -0
  160. package/models/components/latencycategory.js.map +1 -0
  161. package/models/components/latencyentry.d.ts +50 -0
  162. package/models/components/latencyentry.d.ts.map +1 -0
  163. package/models/components/latencyentry.js +92 -0
  164. package/models/components/latencyentry.js.map +1 -0
  165. package/models/components/latencyunittype.d.ts +37 -0
  166. package/models/components/latencyunittype.d.ts.map +1 -0
  167. package/models/components/latencyunittype.js +53 -0
  168. package/models/components/latencyunittype.js.map +1 -0
  169. package/models/components/listresponsecommunicationbatch.d.ts +53 -0
  170. package/models/components/listresponsecommunicationbatch.d.ts.map +1 -0
  171. package/models/components/listresponsecommunicationbatch.js +81 -0
  172. package/models/components/listresponsecommunicationbatch.js.map +1 -0
  173. package/models/components/listresponseincidentresponse.d.ts +53 -0
  174. package/models/components/listresponseincidentresponse.d.ts.map +1 -0
  175. package/models/components/listresponseincidentresponse.js +81 -0
  176. package/models/components/listresponseincidentresponse.js.map +1 -0
  177. package/models/components/listresponseoutboundcampaign.d.ts +53 -0
  178. package/models/components/listresponseoutboundcampaign.d.ts.map +1 -0
  179. package/models/components/listresponseoutboundcampaign.js +81 -0
  180. package/models/components/listresponseoutboundcampaign.js.map +1 -0
  181. package/models/components/outboundcampaign.d.ts +17 -6
  182. package/models/components/outboundcampaign.d.ts.map +1 -1
  183. package/models/components/outboundcampaign.js +13 -6
  184. package/models/components/outboundcampaign.js.map +1 -1
  185. package/models/components/outboundcampaigninput.d.ts +17 -6
  186. package/models/components/outboundcampaigninput.d.ts.map +1 -1
  187. package/models/components/outboundcampaigninput.js +13 -6
  188. package/models/components/outboundcampaigninput.js.map +1 -1
  189. package/models/components/summaryentry.d.ts +46 -0
  190. package/models/components/summaryentry.d.ts.map +1 -0
  191. package/models/components/summaryentry.js +87 -0
  192. package/models/components/summaryentry.js.map +1 -0
  193. package/models/operations/incidentdelete.d.ts +2 -0
  194. package/models/operations/incidentdelete.d.ts.map +1 -1
  195. package/models/operations/incidentdelete.js +2 -0
  196. package/models/operations/incidentdelete.js.map +1 -1
  197. package/models/operations/incidentlist.d.ts +44 -2
  198. package/models/operations/incidentlist.d.ts.map +1 -1
  199. package/models/operations/incidentlist.js +44 -4
  200. package/models/operations/incidentlist.js.map +1 -1
  201. package/models/operations/index.d.ts +2 -2
  202. package/models/operations/index.d.ts.map +1 -1
  203. package/models/operations/index.js +2 -2
  204. package/models/operations/index.js.map +1 -1
  205. package/models/operations/outboundbatchresults.d.ts +4 -0
  206. package/models/operations/outboundbatchresults.d.ts.map +1 -1
  207. package/models/operations/outboundbatchresults.js +6 -0
  208. package/models/operations/outboundbatchresults.js.map +1 -1
  209. package/models/operations/outboundbatchupdate.d.ts +2 -2
  210. package/models/operations/outboundbatchupdate.d.ts.map +1 -1
  211. package/models/operations/outboundbatchupdate.js +4 -4
  212. package/models/operations/outboundbatchupdate.js.map +1 -1
  213. package/models/operations/outboundbatchupload.d.ts +2 -2
  214. package/models/operations/outboundbatchupload.d.ts.map +1 -1
  215. package/models/operations/outboundbatchupload.js +4 -2
  216. package/models/operations/outboundbatchupload.js.map +1 -1
  217. package/models/operations/outboundcampaigngetbyid.d.ts +2 -2
  218. package/models/operations/outboundcampaigngetbyid.js +2 -2
  219. package/models/operations/outboundcampaigngetbyid.js.map +1 -1
  220. package/models/operations/sessionlatencygetbyid.d.ts +29 -0
  221. package/models/operations/sessionlatencygetbyid.d.ts.map +1 -0
  222. package/models/operations/sessionlatencygetbyid.js +68 -0
  223. package/models/operations/sessionlatencygetbyid.js.map +1 -0
  224. package/models/operations/takeoutsgetbyjobid.d.ts +29 -0
  225. package/models/operations/takeoutsgetbyjobid.d.ts.map +1 -0
  226. package/models/operations/{gettakeoutapiv1takeoutsgetjobidget.js → takeoutsgetbyjobid.js} +17 -17
  227. package/models/operations/takeoutsgetbyjobid.js.map +1 -0
  228. package/openapi.json +1707 -727
  229. package/package.json +1 -1
  230. package/sdk/batches.d.ts +4 -4
  231. package/sdk/batches.d.ts.map +1 -1
  232. package/sdk/batches.js +9 -9
  233. package/sdk/batches.js.map +1 -1
  234. package/sdk/campaigns.d.ts +1 -1
  235. package/sdk/campaigns.d.ts.map +1 -1
  236. package/sdk/incidents.d.ts +20 -13
  237. package/sdk/incidents.d.ts.map +1 -1
  238. package/sdk/incidents.js +26 -16
  239. package/sdk/incidents.js.map +1 -1
  240. package/sdk/insights.d.ts +1 -1
  241. package/sdk/insights.js +1 -1
  242. package/sdk/latency.d.ts +10 -0
  243. package/sdk/latency.d.ts.map +1 -0
  244. package/sdk/latency.js +19 -0
  245. package/sdk/latency.js.map +1 -0
  246. package/sdk/sdk.d.ts +0 -3
  247. package/sdk/sdk.d.ts.map +1 -1
  248. package/sdk/sdk.js +0 -4
  249. package/sdk/sdk.js.map +1 -1
  250. package/sdk/sessions.d.ts +3 -0
  251. package/sdk/sessions.d.ts.map +1 -1
  252. package/sdk/sessions.js +4 -0
  253. package/sdk/sessions.js.map +1 -1
  254. package/sdk/syllablesdktools.d.ts +9 -2
  255. package/sdk/syllablesdktools.d.ts.map +1 -1
  256. package/sdk/syllablesdktools.js +12 -2
  257. package/sdk/syllablesdktools.js.map +1 -1
  258. package/sdk/takeouts.d.ts +2 -2
  259. package/sdk/takeouts.d.ts.map +1 -1
  260. package/sdk/takeouts.js +6 -6
  261. package/sdk/takeouts.js.map +1 -1
  262. package/sdk/workflows.d.ts +1 -1
  263. package/sdk/workflows.js +1 -1
  264. package/src/funcs/incidentsCreate.ts +5 -5
  265. package/src/funcs/incidentsDelete.ts +6 -1
  266. package/src/funcs/incidentsGetById.ts +3 -3
  267. package/src/funcs/{v1PostSessionsDashboard.ts → incidentsIncidentGetOrganizations.ts} +10 -15
  268. package/src/funcs/incidentsList.ts +12 -6
  269. package/src/funcs/incidentsUpdate.ts +8 -18
  270. package/src/funcs/insightsList.ts +1 -1
  271. package/src/funcs/insightsToolsCreate.ts +4 -4
  272. package/src/funcs/{v1PostGetDashboard.ts → insightsToolsInsightsToolTest.ts} +17 -24
  273. package/src/funcs/insightsToolsUpdate.ts +1 -1
  274. package/src/funcs/insightsWorkflowsQueueSessionsWorkflow.ts +1 -1
  275. package/src/funcs/{outboundBatchesOutboundBatchAdd.ts → outboundBatchesAdd.ts} +1 -1
  276. package/src/funcs/outboundBatchesList.ts +3 -4
  277. package/src/funcs/{outboundBatchesOutboundBatchRemove.ts → outboundBatchesRemove.ts} +1 -1
  278. package/src/funcs/{outboundBatchesOutboundBatchResults.ts → outboundBatchesResults.ts} +8 -2
  279. package/src/funcs/outboundBatchesUpdate.ts +1 -1
  280. package/src/funcs/outboundBatchesUpload.ts +23 -20
  281. package/src/funcs/outboundCampaignsList.ts +3 -4
  282. package/src/funcs/sessionsLatencyGetById.ts +140 -0
  283. package/src/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.ts → takeoutsCreate.ts} +2 -2
  284. package/src/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.ts → takeoutsTakeoutsGetByJobId.ts} +4 -7
  285. package/src/lib/config.ts +2 -2
  286. package/src/models/components/batchdetails.ts +16 -5
  287. package/src/models/components/batchstatus.ts +1 -1
  288. package/src/models/components/bodyoutboundbatchdelete.ts +11 -2
  289. package/src/models/components/bodyoutboundbatchupload.ts +4 -4
  290. package/src/models/components/communicationbatch.ts +16 -5
  291. package/src/models/components/communicationbatchupdate.ts +85 -0
  292. package/src/models/components/communicationrequest.ts +0 -23
  293. package/src/models/components/communicationrequestresult.ts +87 -25
  294. package/src/models/components/conversation.ts +18 -0
  295. package/src/models/components/daysofweek.ts +42 -0
  296. package/src/models/components/{serviceincidentrequest.ts → incidentcreaterequest.ts} +69 -39
  297. package/src/models/components/incidentorganizationresponse.ts +85 -0
  298. package/src/models/components/incidentproperties.ts +49 -0
  299. package/src/models/components/incidentresponse.ts +182 -0
  300. package/src/models/components/incidentupdaterequest.ts +182 -0
  301. package/src/models/components/index.ts +16 -2
  302. package/src/models/components/insighttooltestinput.ts +90 -0
  303. package/src/models/components/inspectlatencyresponse.ts +102 -0
  304. package/src/models/components/latencycategory.ts +36 -0
  305. package/src/models/components/latencyentry.ts +124 -0
  306. package/src/models/components/latencyunittype.ts +36 -0
  307. package/src/models/components/listresponsecommunicationbatch.ts +118 -0
  308. package/src/models/components/listresponseincidentresponse.ts +118 -0
  309. package/src/models/components/listresponseoutboundcampaign.ts +118 -0
  310. package/src/models/components/outboundcampaign.ts +33 -12
  311. package/src/models/components/outboundcampaigninput.ts +33 -12
  312. package/src/models/components/summaryentry.ts +110 -0
  313. package/src/models/operations/incidentdelete.ts +4 -0
  314. package/src/models/operations/incidentlist.ts +87 -6
  315. package/src/models/operations/index.ts +2 -2
  316. package/src/models/operations/outboundbatchresults.ts +10 -0
  317. package/src/models/operations/outboundbatchupdate.ts +6 -6
  318. package/src/models/operations/outboundbatchupload.ts +8 -4
  319. package/src/models/operations/outboundcampaigngetbyid.ts +4 -4
  320. package/src/models/operations/sessionlatencygetbyid.ts +77 -0
  321. package/src/models/operations/takeoutsgetbyjobid.ts +75 -0
  322. package/src/sdk/batches.ts +10 -10
  323. package/src/sdk/campaigns.ts +1 -1
  324. package/src/sdk/incidents.ts +43 -27
  325. package/src/sdk/insights.ts +1 -1
  326. package/src/sdk/latency.ts +25 -0
  327. package/src/sdk/sdk.ts +0 -6
  328. package/src/sdk/sessions.ts +6 -0
  329. package/src/sdk/syllablesdktools.ts +20 -2
  330. package/src/sdk/takeouts.ts +7 -7
  331. package/src/sdk/workflows.ts +1 -1
  332. package/docs/sdks/v1/README.md +0 -497
  333. package/funcs/outboundBatchesOutboundBatchAdd.d.ts.map +0 -1
  334. package/funcs/outboundBatchesOutboundBatchAdd.js.map +0 -1
  335. package/funcs/outboundBatchesOutboundBatchRemove.d.ts.map +0 -1
  336. package/funcs/outboundBatchesOutboundBatchRemove.js.map +0 -1
  337. package/funcs/outboundBatchesOutboundBatchResults.d.ts.map +0 -1
  338. package/funcs/outboundBatchesOutboundBatchResults.js.map +0 -1
  339. package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts.map +0 -1
  340. package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js.map +0 -1
  341. package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts.map +0 -1
  342. package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js.map +0 -1
  343. package/funcs/v1PostGetDashboard.d.ts +0 -20
  344. package/funcs/v1PostGetDashboard.d.ts.map +0 -1
  345. package/funcs/v1PostGetDashboard.js.map +0 -1
  346. package/funcs/v1PostListDashboard.d.ts.map +0 -1
  347. package/funcs/v1PostListDashboard.js +0 -117
  348. package/funcs/v1PostListDashboard.js.map +0 -1
  349. package/funcs/v1PostSessionEventsDashboard.d.ts +0 -21
  350. package/funcs/v1PostSessionEventsDashboard.d.ts.map +0 -1
  351. package/funcs/v1PostSessionEventsDashboard.js +0 -94
  352. package/funcs/v1PostSessionEventsDashboard.js.map +0 -1
  353. package/funcs/v1PostSessionSummaryDashboard.d.ts +0 -21
  354. package/funcs/v1PostSessionSummaryDashboard.d.ts.map +0 -1
  355. package/funcs/v1PostSessionSummaryDashboard.js +0 -94
  356. package/funcs/v1PostSessionSummaryDashboard.js.map +0 -1
  357. package/funcs/v1PostSessionTransfersDashboard.d.ts +0 -21
  358. package/funcs/v1PostSessionTransfersDashboard.d.ts.map +0 -1
  359. package/funcs/v1PostSessionTransfersDashboard.js +0 -94
  360. package/funcs/v1PostSessionTransfersDashboard.js.map +0 -1
  361. package/funcs/v1PostSessionsDashboard.d.ts +0 -21
  362. package/funcs/v1PostSessionsDashboard.d.ts.map +0 -1
  363. package/funcs/v1PostSessionsDashboard.js.map +0 -1
  364. package/models/components/serviceincidentrequest.d.ts +0 -45
  365. package/models/components/serviceincidentrequest.d.ts.map +0 -1
  366. package/models/components/serviceincidentrequest.js.map +0 -1
  367. package/models/components/serviceincidentresponse.d.ts +0 -51
  368. package/models/components/serviceincidentresponse.d.ts.map +0 -1
  369. package/models/components/serviceincidentresponse.js.map +0 -1
  370. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts +0 -29
  371. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts.map +0 -1
  372. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.js.map +0 -1
  373. package/models/operations/incidentupdate.d.ts +0 -32
  374. package/models/operations/incidentupdate.d.ts.map +0 -1
  375. package/models/operations/incidentupdate.js.map +0 -1
  376. package/sdk/v1.d.ts +0 -78
  377. package/sdk/v1.d.ts.map +0 -1
  378. package/sdk/v1.js +0 -102
  379. package/sdk/v1.js.map +0 -1
  380. package/src/funcs/v1PostListDashboard.ts +0 -151
  381. package/src/funcs/v1PostSessionEventsDashboard.ts +0 -117
  382. package/src/funcs/v1PostSessionSummaryDashboard.ts +0 -117
  383. package/src/funcs/v1PostSessionTransfersDashboard.ts +0 -117
  384. package/src/models/components/serviceincidentresponse.ts +0 -139
  385. package/src/models/operations/gettakeoutapiv1takeoutsgetjobidget.ts +0 -87
  386. package/src/models/operations/incidentupdate.ts +0 -82
  387. package/src/sdk/v1.ts +0 -140
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type TakeoutsGetByJobIdRequest = {
12
+ jobId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const TakeoutsGetByJobIdRequest$inboundSchema: z.ZodType<
17
+ TakeoutsGetByJobIdRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ job_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "job_id": "jobId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type TakeoutsGetByJobIdRequest$Outbound = {
30
+ job_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const TakeoutsGetByJobIdRequest$outboundSchema: z.ZodType<
35
+ TakeoutsGetByJobIdRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ TakeoutsGetByJobIdRequest
38
+ > = z.object({
39
+ jobId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ jobId: "job_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace TakeoutsGetByJobIdRequest$ {
51
+ /** @deprecated use `TakeoutsGetByJobIdRequest$inboundSchema` instead. */
52
+ export const inboundSchema = TakeoutsGetByJobIdRequest$inboundSchema;
53
+ /** @deprecated use `TakeoutsGetByJobIdRequest$outboundSchema` instead. */
54
+ export const outboundSchema = TakeoutsGetByJobIdRequest$outboundSchema;
55
+ /** @deprecated use `TakeoutsGetByJobIdRequest$Outbound` instead. */
56
+ export type Outbound = TakeoutsGetByJobIdRequest$Outbound;
57
+ }
58
+
59
+ export function takeoutsGetByJobIdRequestToJSON(
60
+ takeoutsGetByJobIdRequest: TakeoutsGetByJobIdRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ TakeoutsGetByJobIdRequest$outboundSchema.parse(takeoutsGetByJobIdRequest),
64
+ );
65
+ }
66
+
67
+ export function takeoutsGetByJobIdRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<TakeoutsGetByJobIdRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => TakeoutsGetByJobIdRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'TakeoutsGetByJobIdRequest' from JSON`,
74
+ );
75
+ }
@@ -2,13 +2,13 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { outboundBatchesAdd } from "../funcs/outboundBatchesAdd.js";
5
6
  import { outboundBatchesCreate } from "../funcs/outboundBatchesCreate.js";
6
7
  import { outboundBatchesDelete } from "../funcs/outboundBatchesDelete.js";
7
8
  import { outboundBatchesGetById } from "../funcs/outboundBatchesGetById.js";
8
9
  import { outboundBatchesList } from "../funcs/outboundBatchesList.js";
9
- import { outboundBatchesOutboundBatchAdd } from "../funcs/outboundBatchesOutboundBatchAdd.js";
10
- import { outboundBatchesOutboundBatchRemove } from "../funcs/outboundBatchesOutboundBatchRemove.js";
11
- import { outboundBatchesOutboundBatchResults } from "../funcs/outboundBatchesOutboundBatchResults.js";
10
+ import { outboundBatchesRemove } from "../funcs/outboundBatchesRemove.js";
11
+ import { outboundBatchesResults } from "../funcs/outboundBatchesResults.js";
12
12
  import { outboundBatchesUpdate } from "../funcs/outboundBatchesUpdate.js";
13
13
  import { outboundBatchesUpload } from "../funcs/outboundBatchesUpload.js";
14
14
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -23,7 +23,7 @@ export class Batches extends ClientSDK {
23
23
  async list(
24
24
  request: operations.OutboundBatchListRequest,
25
25
  options?: RequestOptions,
26
- ): Promise<Array<components.CommunicationBatch>> {
26
+ ): Promise<components.ListResponseCommunicationBatch> {
27
27
  return unwrapAsync(outboundBatchesList(
28
28
  this,
29
29
  request,
@@ -104,11 +104,11 @@ export class Batches extends ClientSDK {
104
104
  /**
105
105
  * Fetch Outbound Communication Batch Results
106
106
  */
107
- async outboundBatchResults(
107
+ async results(
108
108
  request: operations.OutboundBatchResultsRequest,
109
109
  options?: RequestOptions,
110
110
  ): Promise<Array<components.CommunicationRequestResult>> {
111
- return unwrapAsync(outboundBatchesOutboundBatchResults(
111
+ return unwrapAsync(outboundBatchesResults(
112
112
  this,
113
113
  request,
114
114
  options,
@@ -118,11 +118,11 @@ export class Batches extends ClientSDK {
118
118
  /**
119
119
  * Create Outbound Communication Request
120
120
  */
121
- async outboundBatchAdd(
121
+ async add(
122
122
  request: operations.OutboundBatchAddRequest,
123
123
  options?: RequestOptions,
124
124
  ): Promise<any> {
125
- return unwrapAsync(outboundBatchesOutboundBatchAdd(
125
+ return unwrapAsync(outboundBatchesAdd(
126
126
  this,
127
127
  request,
128
128
  options,
@@ -132,11 +132,11 @@ export class Batches extends ClientSDK {
132
132
  /**
133
133
  * Delete Requests By List Of Reference Ids
134
134
  */
135
- async outboundBatchRemove(
135
+ async remove(
136
136
  request: operations.OutboundBatchRemoveRequest,
137
137
  options?: RequestOptions,
138
138
  ): Promise<any> {
139
- return unwrapAsync(outboundBatchesOutboundBatchRemove(
139
+ return unwrapAsync(outboundBatchesRemove(
140
140
  this,
141
141
  request,
142
142
  options,
@@ -18,7 +18,7 @@ export class Campaigns extends ClientSDK {
18
18
  async list(
19
19
  request: operations.OutboundCampaignListRequest,
20
20
  options?: RequestOptions,
21
- ): Promise<Array<components.OutboundCampaign>> {
21
+ ): Promise<components.ListResponseOutboundCampaign> {
22
22
  return unwrapAsync(outboundCampaignsList(
23
23
  this,
24
24
  request,
@@ -5,6 +5,7 @@
5
5
  import { incidentsCreate } from "../funcs/incidentsCreate.js";
6
6
  import { incidentsDelete } from "../funcs/incidentsDelete.js";
7
7
  import { incidentsGetById } from "../funcs/incidentsGetById.js";
8
+ import { incidentsIncidentGetOrganizations } from "../funcs/incidentsIncidentGetOrganizations.js";
8
9
  import { incidentsList } from "../funcs/incidentsList.js";
9
10
  import { incidentsUpdate } from "../funcs/incidentsUpdate.js";
10
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -14,16 +15,33 @@ import { unwrapAsync } from "../types/fp.js";
14
15
 
15
16
  export class Incidents extends ClientSDK {
16
17
  /**
17
- * Get Incident By Id
18
+ * List Incidents
18
19
  *
19
20
  * @remarks
20
- * Get incident by ID
21
+ * List service incidents with pagination and filtering
21
22
  */
22
- async getById(
23
- request: operations.IncidentGetByIdRequest,
23
+ async list(
24
+ request: operations.IncidentListRequest,
24
25
  options?: RequestOptions,
25
- ): Promise<components.ServiceIncidentResponse> {
26
- return unwrapAsync(incidentsGetById(
26
+ ): Promise<components.ListResponseIncidentResponse> {
27
+ return unwrapAsync(incidentsList(
28
+ this,
29
+ request,
30
+ options,
31
+ ));
32
+ }
33
+
34
+ /**
35
+ * Create Incident
36
+ *
37
+ * @remarks
38
+ * Create a new incident
39
+ */
40
+ async create(
41
+ request: components.IncidentCreateRequest,
42
+ options?: RequestOptions,
43
+ ): Promise<components.IncidentResponse> {
44
+ return unwrapAsync(incidentsCreate(
27
45
  this,
28
46
  request,
29
47
  options,
@@ -37,9 +55,9 @@ export class Incidents extends ClientSDK {
37
55
  * Update an existing incident
38
56
  */
39
57
  async update(
40
- request: operations.IncidentUpdateRequest,
58
+ request: components.IncidentUpdateRequest,
41
59
  options?: RequestOptions,
42
- ): Promise<components.ServiceIncidentResponse> {
60
+ ): Promise<components.IncidentResponse> {
43
61
  return unwrapAsync(incidentsUpdate(
44
62
  this,
45
63
  request,
@@ -48,33 +66,31 @@ export class Incidents extends ClientSDK {
48
66
  }
49
67
 
50
68
  /**
51
- * Delete Incident
69
+ * Get Organizations
52
70
  *
53
71
  * @remarks
54
- * Delete an incident by ID
72
+ * Get all organizations
55
73
  */
56
- async delete(
57
- request: operations.IncidentDeleteRequest,
74
+ async incidentGetOrganizations(
58
75
  options?: RequestOptions,
59
- ): Promise<any> {
60
- return unwrapAsync(incidentsDelete(
76
+ ): Promise<Array<components.IncidentOrganizationResponse>> {
77
+ return unwrapAsync(incidentsIncidentGetOrganizations(
61
78
  this,
62
- request,
63
79
  options,
64
80
  ));
65
81
  }
66
82
 
67
83
  /**
68
- * Create Incident
84
+ * Get Incident By Id
69
85
  *
70
86
  * @remarks
71
- * Create a new incident
87
+ * Get incident by ID
72
88
  */
73
- async create(
74
- request: components.ServiceIncidentRequest,
89
+ async getById(
90
+ request: operations.IncidentGetByIdRequest,
75
91
  options?: RequestOptions,
76
- ): Promise<components.ServiceIncidentResponse> {
77
- return unwrapAsync(incidentsCreate(
92
+ ): Promise<components.IncidentResponse> {
93
+ return unwrapAsync(incidentsGetById(
78
94
  this,
79
95
  request,
80
96
  options,
@@ -82,16 +98,16 @@ export class Incidents extends ClientSDK {
82
98
  }
83
99
 
84
100
  /**
85
- * List Incidents
101
+ * Delete Incident
86
102
  *
87
103
  * @remarks
88
- * List service incidents with pagination
104
+ * Delete an incident by ID
89
105
  */
90
- async list(
91
- request: operations.IncidentListRequest,
106
+ async delete(
107
+ request: operations.IncidentDeleteRequest,
92
108
  options?: RequestOptions,
93
- ): Promise<Array<components.ServiceIncidentResponse>> {
94
- return unwrapAsync(incidentsList(
109
+ ): Promise<any> {
110
+ return unwrapAsync(incidentsDelete(
95
111
  this,
96
112
  request,
97
113
  options,
@@ -25,7 +25,7 @@ export class Insights extends ClientSDK {
25
25
  * Insights List
26
26
  *
27
27
  * @remarks
28
- * List the existing insight_tools
28
+ * List the evaluated insights for sessions.
29
29
  */
30
30
  async list(
31
31
  request: operations.InsightsListRequest,
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { sessionsLatencyGetById } from "../funcs/sessionsLatencyGetById.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as components from "../models/components/index.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { unwrapAsync } from "../types/fp.js";
10
+
11
+ export class Latency extends ClientSDK {
12
+ /**
13
+ * Inspect Latency For Session
14
+ */
15
+ async getById(
16
+ request: operations.SessionLatencyGetByIdRequest,
17
+ options?: RequestOptions,
18
+ ): Promise<components.InspectLatencyResponse> {
19
+ return unwrapAsync(sessionsLatencyGetById(
20
+ this,
21
+ request,
22
+ options,
23
+ ));
24
+ }
25
+ }
package/src/sdk/sdk.ts CHANGED
@@ -21,7 +21,6 @@ import { SessionLabels } from "./sessionlabels.js";
21
21
  import { Sessions } from "./sessions.js";
22
22
  import { Takeouts } from "./takeouts.js";
23
23
  import { Tools } from "./tools.js";
24
- import { V1 } from "./v1.js";
25
24
 
26
25
  export class SyllableSDK extends ClientSDK {
27
26
  private _agents?: Agents;
@@ -99,11 +98,6 @@ export class SyllableSDK extends ClientSDK {
99
98
  return (this._dashboards ??= new Dashboards(this._options));
100
99
  }
101
100
 
102
- private _v1?: V1;
103
- get v1(): V1 {
104
- return (this._v1 ??= new V1(this._options));
105
- }
106
-
107
101
  private _outbound?: Outbound;
108
102
  get outbound(): Outbound {
109
103
  return (this._outbound ??= new Outbound(this._options));
@@ -11,6 +11,7 @@ import * as components from "../models/components/index.js";
11
11
  import * as operations from "../models/operations/index.js";
12
12
  import { unwrapAsync } from "../types/fp.js";
13
13
  import { FullSummary } from "./fullsummary.js";
14
+ import { Latency } from "./latency.js";
14
15
  import { Transcript } from "./transcript.js";
15
16
 
16
17
  export class Sessions extends ClientSDK {
@@ -24,6 +25,11 @@ export class Sessions extends ClientSDK {
24
25
  return (this._fullSummary ??= new FullSummary(this._options));
25
26
  }
26
27
 
28
+ private _latency?: Latency;
29
+ get latency(): Latency {
30
+ return (this._latency ??= new Latency(this._options));
31
+ }
32
+
27
33
  /**
28
34
  * Sessions List
29
35
  */
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { insightsToolsCreate } from "../funcs/insightsToolsCreate.js";
6
6
  import { insightsToolsGetById } from "../funcs/insightsToolsGetById.js";
7
+ import { insightsToolsInsightsToolTest } from "../funcs/insightsToolsInsightsToolTest.js";
7
8
  import { insightsToolsInsightToolGetDefinitions } from "../funcs/insightsToolsInsightToolGetDefinitions.js";
8
9
  import { insightsToolsList } from "../funcs/insightsToolsList.js";
9
10
  import { insightsToolsUpdate } from "../funcs/insightsToolsUpdate.js";
@@ -34,7 +35,7 @@ export class SyllableSDKTools extends ClientSDK {
34
35
  * Create Insight Tool
35
36
  *
36
37
  * @remarks
37
- * Create a new tool in the insights
38
+ * Create a new insight tool.
38
39
  */
39
40
  async create(
40
41
  request: components.InsightToolInput,
@@ -68,7 +69,7 @@ export class SyllableSDKTools extends ClientSDK {
68
69
  * Update Insights Tool
69
70
  *
70
71
  * @remarks
71
- * Update a InsightTool.
72
+ * Update an Insights tool.
72
73
  */
73
74
  async update(
74
75
  request: operations.InsightsToolUpdateRequest,
@@ -81,6 +82,23 @@ export class SyllableSDKTools extends ClientSDK {
81
82
  ));
82
83
  }
83
84
 
85
+ /**
86
+ * Test Insights Tool
87
+ *
88
+ * @remarks
89
+ * Manually run the given insight tool against a session and return the response.
90
+ */
91
+ async insightsToolTest(
92
+ request: components.InsightToolTestInput,
93
+ options?: RequestOptions,
94
+ ): Promise<any> {
95
+ return unwrapAsync(insightsToolsInsightsToolTest(
96
+ this,
97
+ request,
98
+ options,
99
+ ));
100
+ }
101
+
84
102
  /**
85
103
  * Get Insight Tool Definitions
86
104
  *
@@ -2,8 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { takeoutsCreateTakeoutApiV1TakeoutsCreatePost } from "../funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js";
6
- import { takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet } from "../funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js";
5
+ import { takeoutsCreate } from "../funcs/takeoutsCreate.js";
6
+ import { takeoutsTakeoutsGetByJobId } from "../funcs/takeoutsTakeoutsGetByJobId.js";
7
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
8
  import * as components from "../models/components/index.js";
9
9
  import * as operations from "../models/operations/index.js";
@@ -13,10 +13,10 @@ export class Takeouts extends ClientSDK {
13
13
  /**
14
14
  * Create Takeout
15
15
  */
16
- async createTakeoutApiV1TakeoutsCreatePost(
16
+ async create(
17
17
  options?: RequestOptions,
18
18
  ): Promise<components.CreateTakeoutResponse> {
19
- return unwrapAsync(takeoutsCreateTakeoutApiV1TakeoutsCreatePost(
19
+ return unwrapAsync(takeoutsCreate(
20
20
  this,
21
21
  options,
22
22
  ));
@@ -25,11 +25,11 @@ export class Takeouts extends ClientSDK {
25
25
  /**
26
26
  * Get Takeout
27
27
  */
28
- async getTakeoutApiV1TakeoutsGetJobIdGet(
29
- request: operations.GetTakeoutApiV1TakeoutsGetJobIdGetRequest,
28
+ async takeoutsGetByJobId(
29
+ request: operations.TakeoutsGetByJobIdRequest,
30
30
  options?: RequestOptions,
31
31
  ): Promise<components.TakeoutStatusResponse> {
32
- return unwrapAsync(takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet(
32
+ return unwrapAsync(takeoutsTakeoutsGetByJobId(
33
33
  this,
34
34
  request,
35
35
  options,
@@ -103,7 +103,7 @@ export class Workflows extends ClientSDK {
103
103
  * Queue Insights Workflow For Sessions
104
104
  *
105
105
  * @remarks
106
- * Delete a Insights workflow.
106
+ * Manually queue sessions for insights workflow evaluation.
107
107
  */
108
108
  async queueSessionsWorkflow(
109
109
  request: components.InsightsWorkflowQueueSession,