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
package/openapi.json CHANGED
@@ -15,8 +15,7 @@
15
15
  "/api/v1/agents/": {
16
16
  "get": {
17
17
  "tags": [
18
- "agents",
19
- "V1"
18
+ "agents"
20
19
  ],
21
20
  "summary": "Agent List",
22
21
  "description": "List the existing agents",
@@ -231,8 +230,7 @@
231
230
  },
232
231
  "post": {
233
232
  "tags": [
234
- "agents",
235
- "V1"
233
+ "agents"
236
234
  ],
237
235
  "summary": "Create Agent",
238
236
  "description": "Create a new agent",
@@ -283,8 +281,7 @@
283
281
  },
284
282
  "put": {
285
283
  "tags": [
286
- "agents",
287
- "V1"
284
+ "agents"
288
285
  ],
289
286
  "summary": "Update Agent",
290
287
  "description": "Update an existing agent",
@@ -340,8 +337,7 @@
340
337
  "/api/v1/agents/{agent_id}": {
341
338
  "get": {
342
339
  "tags": [
343
- "agents",
344
- "V1"
340
+ "agents"
345
341
  ],
346
342
  "summary": "Get Agent By Id",
347
343
  "description": "Get an agent by ID.",
@@ -387,8 +383,7 @@
387
383
  },
388
384
  "delete": {
389
385
  "tags": [
390
- "agents",
391
- "V1"
386
+ "agents"
392
387
  ],
393
388
  "summary": "Delete Agent",
394
389
  "operationId": "agent_delete",
@@ -451,8 +446,7 @@
451
446
  "/api/v1/agents/voices/available": {
452
447
  "get": {
453
448
  "tags": [
454
- "agents",
455
- "V1"
449
+ "agents"
456
450
  ],
457
451
  "summary": "Get Available Agent Voices",
458
452
  "description": "Get available agent voices.",
@@ -483,8 +477,7 @@
483
477
  "/api/v1/channels/": {
484
478
  "get": {
485
479
  "tags": [
486
- "channels",
487
- "V1"
480
+ "channels"
488
481
  ],
489
482
  "summary": "Get Channels",
490
483
  "operationId": "channels_list",
@@ -700,8 +693,7 @@
700
693
  "/api/v1/agents/test/messages": {
701
694
  "post": {
702
695
  "tags": [
703
- "agents.test",
704
- "V1"
696
+ "agents.test"
705
697
  ],
706
698
  "summary": "Send New Message",
707
699
  "description": "Send a new message",
@@ -748,8 +740,7 @@
748
740
  "/api/v1/conversations/": {
749
741
  "get": {
750
742
  "tags": [
751
- "conversations",
752
- "V1"
743
+ "conversations"
753
744
  ],
754
745
  "summary": "Conversations List",
755
746
  "operationId": "conversations_list",
@@ -965,8 +956,7 @@
965
956
  "/api/v1/data_sources/": {
966
957
  "get": {
967
958
  "tags": [
968
- "data_sources",
969
- "V1"
959
+ "data_sources"
970
960
  ],
971
961
  "summary": "List Data Sources",
972
962
  "description": "Fetch metadata about all data sources, not including their text.",
@@ -1181,8 +1171,7 @@
1181
1171
  },
1182
1172
  "post": {
1183
1173
  "tags": [
1184
- "data_sources",
1185
- "V1"
1174
+ "data_sources"
1186
1175
  ],
1187
1176
  "summary": "Create Data Source",
1188
1177
  "description": "Create a new data source.",
@@ -1227,8 +1216,7 @@
1227
1216
  },
1228
1217
  "put": {
1229
1218
  "tags": [
1230
- "data_sources",
1231
- "V1"
1219
+ "data_sources"
1232
1220
  ],
1233
1221
  "summary": "Update Data Source",
1234
1222
  "description": "Update an existing data source.",
@@ -1275,8 +1263,7 @@
1275
1263
  "/api/v1/data_sources/{data_source_id}": {
1276
1264
  "get": {
1277
1265
  "tags": [
1278
- "data_sources",
1279
- "V1"
1266
+ "data_sources"
1280
1267
  ],
1281
1268
  "summary": "Get Data Source",
1282
1269
  "description": "Fetch a given data source, including its text.",
@@ -1322,8 +1309,7 @@
1322
1309
  },
1323
1310
  "delete": {
1324
1311
  "tags": [
1325
- "data_sources",
1326
- "V1"
1312
+ "data_sources"
1327
1313
  ],
1328
1314
  "summary": "Delete Data Source",
1329
1315
  "description": "Delete a given data source.",
@@ -1378,8 +1364,7 @@
1378
1364
  "/api/v1/events/": {
1379
1365
  "get": {
1380
1366
  "tags": [
1381
- "events",
1382
- "V1"
1367
+ "events"
1383
1368
  ],
1384
1369
  "summary": "Events List",
1385
1370
  "operationId": "events_list",
@@ -1592,15 +1577,14 @@
1592
1577
  }
1593
1578
  }
1594
1579
  },
1595
- "/api/v1/incidents/{incident_id}": {
1580
+ "/api/v1/incidents/": {
1596
1581
  "get": {
1597
1582
  "tags": [
1598
- "incidents",
1599
- "V1"
1583
+ "incidents"
1600
1584
  ],
1601
- "summary": "Get Incident By Id",
1602
- "description": "Get incident by ID",
1603
- "operationId": "incident_get_by_id",
1585
+ "summary": "List Incidents",
1586
+ "description": "List service incidents with pagination and filtering",
1587
+ "operationId": "incident_list",
1604
1588
  "security": [
1605
1589
  {
1606
1590
  "APIKeyHeader": []
@@ -1608,13 +1592,182 @@
1608
1592
  ],
1609
1593
  "parameters": [
1610
1594
  {
1611
- "name": "incident_id",
1612
- "in": "path",
1613
- "required": true,
1595
+ "name": "page",
1596
+ "in": "query",
1597
+ "required": false,
1598
+ "schema": {
1599
+ "anyOf": [
1600
+ {
1601
+ "type": "integer",
1602
+ "minimum": 0
1603
+ },
1604
+ {
1605
+ "type": "null"
1606
+ }
1607
+ ],
1608
+ "description": "The page number from which to start (0-based)",
1609
+ "examples": [
1610
+ 0
1611
+ ],
1612
+ "default": 0,
1613
+ "title": "Page"
1614
+ },
1615
+ "description": "The page number from which to start (0-based)"
1616
+ },
1617
+ {
1618
+ "name": "limit",
1619
+ "in": "query",
1620
+ "required": false,
1614
1621
  "schema": {
1615
1622
  "type": "integer",
1616
- "title": "Incident Id"
1617
- }
1623
+ "minimum": 0,
1624
+ "description": "The maximum number of items to return",
1625
+ "examples": [
1626
+ 25
1627
+ ],
1628
+ "default": 25,
1629
+ "title": "Limit"
1630
+ },
1631
+ "description": "The maximum number of items to return"
1632
+ },
1633
+ {
1634
+ "name": "search_fields",
1635
+ "in": "query",
1636
+ "required": false,
1637
+ "schema": {
1638
+ "type": "array",
1639
+ "items": {
1640
+ "$ref": "#/components/schemas/IncidentProperties"
1641
+ },
1642
+ "description": "String names of fields to search. Correspond by index to search field values",
1643
+ "examples": [
1644
+ "name"
1645
+ ],
1646
+ "default": [],
1647
+ "title": "Search Fields"
1648
+ },
1649
+ "description": "String names of fields to search. Correspond by index to search field values"
1650
+ },
1651
+ {
1652
+ "name": "search_field_values",
1653
+ "in": "query",
1654
+ "required": false,
1655
+ "schema": {
1656
+ "type": "array",
1657
+ "items": {
1658
+ "type": "string"
1659
+ },
1660
+ "description": "Values of fields to search. Correspond by index to search fields. Unless field name contains \"list\", an individual search field value cannot be a list",
1661
+ "examples": [
1662
+ "Some Object Name"
1663
+ ],
1664
+ "default": [],
1665
+ "title": "Search Field Values"
1666
+ },
1667
+ "description": "Values of fields to search. Correspond by index to search fields. Unless field name contains \"list\", an individual search field value cannot be a list"
1668
+ },
1669
+ {
1670
+ "name": "order_by",
1671
+ "in": "query",
1672
+ "required": false,
1673
+ "schema": {
1674
+ "anyOf": [
1675
+ {
1676
+ "$ref": "#/components/schemas/IncidentProperties"
1677
+ },
1678
+ {
1679
+ "type": "null"
1680
+ }
1681
+ ],
1682
+ "description": "The field whose value should be used to order the results",
1683
+ "examples": [
1684
+ "name"
1685
+ ],
1686
+ "title": "Order By"
1687
+ },
1688
+ "description": "The field whose value should be used to order the results"
1689
+ },
1690
+ {
1691
+ "name": "order_by_direction",
1692
+ "in": "query",
1693
+ "required": false,
1694
+ "schema": {
1695
+ "anyOf": [
1696
+ {
1697
+ "$ref": "#/components/schemas/OrderByDirection"
1698
+ },
1699
+ {
1700
+ "type": "null"
1701
+ }
1702
+ ],
1703
+ "description": "The direction in which to order the results",
1704
+ "title": "Order By Direction"
1705
+ },
1706
+ "description": "The direction in which to order the results"
1707
+ },
1708
+ {
1709
+ "name": "fields",
1710
+ "in": "query",
1711
+ "required": false,
1712
+ "schema": {
1713
+ "anyOf": [
1714
+ {
1715
+ "type": "array",
1716
+ "items": {
1717
+ "$ref": "#/components/schemas/IncidentProperties"
1718
+ }
1719
+ },
1720
+ {
1721
+ "type": "null"
1722
+ }
1723
+ ],
1724
+ "description": "The fields to include in the response",
1725
+ "default": [],
1726
+ "title": "Fields"
1727
+ },
1728
+ "description": "The fields to include in the response"
1729
+ },
1730
+ {
1731
+ "name": "start_datetime",
1732
+ "in": "query",
1733
+ "required": false,
1734
+ "schema": {
1735
+ "anyOf": [
1736
+ {
1737
+ "type": "string"
1738
+ },
1739
+ {
1740
+ "type": "null"
1741
+ }
1742
+ ],
1743
+ "description": "The start datetime for filtering results",
1744
+ "examples": [
1745
+ "2023-01-01T00:00:00Z"
1746
+ ],
1747
+ "title": "Start Datetime"
1748
+ },
1749
+ "description": "The start datetime for filtering results"
1750
+ },
1751
+ {
1752
+ "name": "end_datetime",
1753
+ "in": "query",
1754
+ "required": false,
1755
+ "schema": {
1756
+ "anyOf": [
1757
+ {
1758
+ "type": "string"
1759
+ },
1760
+ {
1761
+ "type": "null"
1762
+ }
1763
+ ],
1764
+ "description": "The end datetime for filtering results",
1765
+ "examples": [
1766
+ "2024-01-01T00:00:00Z"
1767
+ ],
1768
+ "title": "End Datetime"
1769
+ },
1770
+ "description": "The end datetime for filtering results"
1618
1771
  }
1619
1772
  ],
1620
1773
  "responses": {
@@ -1623,15 +1776,7 @@
1623
1776
  "content": {
1624
1777
  "application/json": {
1625
1778
  "schema": {
1626
- "anyOf": [
1627
- {
1628
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1629
- },
1630
- {
1631
- "type": "null"
1632
- }
1633
- ],
1634
- "title": "Response Incident Get By Id"
1779
+ "$ref": "#/components/schemas/ListResponse_IncidentResponse_"
1635
1780
  }
1636
1781
  }
1637
1782
  }
@@ -1648,36 +1793,24 @@
1648
1793
  }
1649
1794
  }
1650
1795
  },
1651
- "put": {
1796
+ "post": {
1652
1797
  "tags": [
1653
- "incidents",
1654
- "V1"
1798
+ "incidents"
1655
1799
  ],
1656
- "summary": "Update Incident",
1657
- "description": "Update an existing incident",
1658
- "operationId": "incident_update",
1800
+ "summary": "Create Incident",
1801
+ "description": "Create a new incident",
1802
+ "operationId": "incident_create",
1659
1803
  "security": [
1660
1804
  {
1661
1805
  "APIKeyHeader": []
1662
1806
  }
1663
1807
  ],
1664
- "parameters": [
1665
- {
1666
- "name": "incident_id",
1667
- "in": "path",
1668
- "required": true,
1669
- "schema": {
1670
- "type": "integer",
1671
- "title": "Incident Id"
1672
- }
1673
- }
1674
- ],
1675
1808
  "requestBody": {
1676
1809
  "required": true,
1677
1810
  "content": {
1678
1811
  "application/json": {
1679
1812
  "schema": {
1680
- "$ref": "#/components/schemas/ServiceIncidentRequest"
1813
+ "$ref": "#/components/schemas/IncidentCreateRequest"
1681
1814
  }
1682
1815
  }
1683
1816
  }
@@ -1688,7 +1821,7 @@
1688
1821
  "content": {
1689
1822
  "application/json": {
1690
1823
  "schema": {
1691
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1824
+ "$ref": "#/components/schemas/IncidentResponse"
1692
1825
  }
1693
1826
  }
1694
1827
  }
@@ -1705,36 +1838,36 @@
1705
1838
  }
1706
1839
  }
1707
1840
  },
1708
- "delete": {
1841
+ "put": {
1709
1842
  "tags": [
1710
- "incidents",
1711
- "V1"
1843
+ "incidents"
1712
1844
  ],
1713
- "summary": "Delete Incident",
1714
- "description": "Delete an incident by ID",
1715
- "operationId": "incident_delete",
1845
+ "summary": "Update Incident",
1846
+ "description": "Update an existing incident",
1847
+ "operationId": "incident_update",
1716
1848
  "security": [
1717
1849
  {
1718
1850
  "APIKeyHeader": []
1719
1851
  }
1720
1852
  ],
1721
- "parameters": [
1722
- {
1723
- "name": "incident_id",
1724
- "in": "path",
1725
- "required": true,
1726
- "schema": {
1727
- "type": "integer",
1728
- "title": "Incident Id"
1853
+ "requestBody": {
1854
+ "required": true,
1855
+ "content": {
1856
+ "application/json": {
1857
+ "schema": {
1858
+ "$ref": "#/components/schemas/IncidentUpdateRequest"
1859
+ }
1729
1860
  }
1730
1861
  }
1731
- ],
1862
+ },
1732
1863
  "responses": {
1733
1864
  "200": {
1734
1865
  "description": "Successful Response",
1735
1866
  "content": {
1736
1867
  "application/json": {
1737
- "schema": {}
1868
+ "schema": {
1869
+ "$ref": "#/components/schemas/IncidentResponse"
1870
+ }
1738
1871
  }
1739
1872
  }
1740
1873
  },
@@ -1751,37 +1884,68 @@
1751
1884
  }
1752
1885
  }
1753
1886
  },
1754
- "/api/v1/incidents/": {
1755
- "post": {
1887
+ "/api/v1/incidents/organizations": {
1888
+ "get": {
1756
1889
  "tags": [
1757
- "incidents",
1758
- "V1"
1890
+ "incidents"
1759
1891
  ],
1760
- "summary": "Create Incident",
1761
- "description": "Create a new incident",
1762
- "operationId": "incident_create",
1892
+ "summary": "Get Organizations",
1893
+ "description": "Get all organizations",
1894
+ "operationId": "incident_get_organizations",
1895
+ "responses": {
1896
+ "200": {
1897
+ "description": "Successful Response",
1898
+ "content": {
1899
+ "application/json": {
1900
+ "schema": {
1901
+ "items": {
1902
+ "$ref": "#/components/schemas/IncidentOrganizationResponse"
1903
+ },
1904
+ "type": "array",
1905
+ "title": "Response Incident Get Organizations"
1906
+ }
1907
+ }
1908
+ }
1909
+ }
1910
+ },
1911
+ "security": [
1912
+ {
1913
+ "APIKeyHeader": []
1914
+ }
1915
+ ]
1916
+ }
1917
+ },
1918
+ "/api/v1/incidents/{incident_id}": {
1919
+ "get": {
1920
+ "tags": [
1921
+ "incidents"
1922
+ ],
1923
+ "summary": "Get Incident By Id",
1924
+ "description": "Get incident by ID",
1925
+ "operationId": "incident_get_by_id",
1763
1926
  "security": [
1764
1927
  {
1765
1928
  "APIKeyHeader": []
1766
1929
  }
1767
1930
  ],
1768
- "requestBody": {
1769
- "required": true,
1770
- "content": {
1771
- "application/json": {
1772
- "schema": {
1773
- "$ref": "#/components/schemas/ServiceIncidentRequest"
1774
- }
1931
+ "parameters": [
1932
+ {
1933
+ "name": "incident_id",
1934
+ "in": "path",
1935
+ "required": true,
1936
+ "schema": {
1937
+ "type": "integer",
1938
+ "title": "Incident Id"
1775
1939
  }
1776
1940
  }
1777
- },
1941
+ ],
1778
1942
  "responses": {
1779
1943
  "200": {
1780
1944
  "description": "Successful Response",
1781
1945
  "content": {
1782
1946
  "application/json": {
1783
1947
  "schema": {
1784
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1948
+ "$ref": "#/components/schemas/IncidentResponse"
1785
1949
  }
1786
1950
  }
1787
1951
  }
@@ -1798,14 +1962,13 @@
1798
1962
  }
1799
1963
  }
1800
1964
  },
1801
- "get": {
1965
+ "delete": {
1802
1966
  "tags": [
1803
- "incidents",
1804
- "V1"
1967
+ "incidents"
1805
1968
  ],
1806
- "summary": "List Incidents",
1807
- "description": "List service incidents with pagination",
1808
- "operationId": "incident_list",
1969
+ "summary": "Delete Incident",
1970
+ "description": "Delete an incident by ID",
1971
+ "operationId": "incident_delete",
1809
1972
  "security": [
1810
1973
  {
1811
1974
  "APIKeyHeader": []
@@ -1813,23 +1976,21 @@
1813
1976
  ],
1814
1977
  "parameters": [
1815
1978
  {
1816
- "name": "limit",
1817
- "in": "query",
1818
- "required": false,
1979
+ "name": "incident_id",
1980
+ "in": "path",
1981
+ "required": true,
1819
1982
  "schema": {
1820
1983
  "type": "integer",
1821
- "default": 10,
1822
- "title": "Limit"
1984
+ "title": "Incident Id"
1823
1985
  }
1824
1986
  },
1825
1987
  {
1826
- "name": "offset",
1988
+ "name": "reason",
1827
1989
  "in": "query",
1828
- "required": false,
1990
+ "required": true,
1829
1991
  "schema": {
1830
- "type": "integer",
1831
- "default": 0,
1832
- "title": "Offset"
1992
+ "type": "string",
1993
+ "title": "Reason"
1833
1994
  }
1834
1995
  }
1835
1996
  ],
@@ -1838,13 +1999,7 @@
1838
1999
  "description": "Successful Response",
1839
2000
  "content": {
1840
2001
  "application/json": {
1841
- "schema": {
1842
- "type": "array",
1843
- "items": {
1844
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1845
- },
1846
- "title": "Response Incident List"
1847
- }
2002
+ "schema": {}
1848
2003
  }
1849
2004
  }
1850
2005
  },
@@ -1864,11 +2019,10 @@
1864
2019
  "/api/v1/insights/": {
1865
2020
  "get": {
1866
2021
  "tags": [
1867
- "insights",
1868
- "V1"
2022
+ "insights"
1869
2023
  ],
1870
2024
  "summary": "Insights List",
1871
- "description": "List the existing insight_tools",
2025
+ "description": "List the evaluated insights for sessions.",
1872
2026
  "operationId": "insights_list",
1873
2027
  "security": [
1874
2028
  {
@@ -2082,8 +2236,7 @@
2082
2236
  "/api/v1/insights/workflows/": {
2083
2237
  "get": {
2084
2238
  "tags": [
2085
- "insights.workflows",
2086
- "V1"
2239
+ "insights.workflows"
2087
2240
  ],
2088
2241
  "summary": "Insight Workflow List",
2089
2242
  "description": "List the existing insight_workflows",
@@ -2298,8 +2451,7 @@
2298
2451
  },
2299
2452
  "post": {
2300
2453
  "tags": [
2301
- "insights.workflows",
2302
- "V1"
2454
+ "insights.workflows"
2303
2455
  ],
2304
2456
  "summary": "Create Insight Workflow",
2305
2457
  "description": "Create a new tool in the insights",
@@ -2346,8 +2498,7 @@
2346
2498
  "/api/v1/insights/workflows/{workflow_id}": {
2347
2499
  "get": {
2348
2500
  "tags": [
2349
- "insights.workflows",
2350
- "V1"
2501
+ "insights.workflows"
2351
2502
  ],
2352
2503
  "summary": "Get Insight Workflow By Id",
2353
2504
  "description": "Get a InsightWorkflow by ID.",
@@ -2393,8 +2544,7 @@
2393
2544
  },
2394
2545
  "put": {
2395
2546
  "tags": [
2396
- "insights.workflows",
2397
- "V1"
2547
+ "insights.workflows"
2398
2548
  ],
2399
2549
  "summary": "Update Insights Workflow",
2400
2550
  "description": "Update a InsightWorkflow.",
@@ -2462,8 +2612,7 @@
2462
2612
  },
2463
2613
  "delete": {
2464
2614
  "tags": [
2465
- "insights.workflows",
2466
- "V1"
2615
+ "insights.workflows"
2467
2616
  ],
2468
2617
  "summary": "Delete Insights Workflow",
2469
2618
  "description": "Delete a Insights workflow.",
@@ -2518,11 +2667,10 @@
2518
2667
  "/api/v1/insights/workflows/queue-session": {
2519
2668
  "post": {
2520
2669
  "tags": [
2521
- "insights.workflows",
2522
- "V1"
2670
+ "insights.workflows"
2523
2671
  ],
2524
2672
  "summary": "Queue Insights Workflow For Sessions",
2525
- "description": "Delete a Insights workflow.",
2673
+ "description": "Manually queue sessions for insights workflow evaluation.",
2526
2674
  "operationId": "queue_sessions_workflow",
2527
2675
  "requestBody": {
2528
2676
  "content": {
@@ -2573,8 +2721,7 @@
2573
2721
  "/api/v1/insights/tools": {
2574
2722
  "get": {
2575
2723
  "tags": [
2576
- "insights.tools",
2577
- "V1"
2724
+ "insights.tools"
2578
2725
  ],
2579
2726
  "summary": "Insight Tool List",
2580
2727
  "description": "List the existing insight_tools",
@@ -2789,11 +2936,10 @@
2789
2936
  },
2790
2937
  "post": {
2791
2938
  "tags": [
2792
- "insights.tools",
2793
- "V1"
2939
+ "insights.tools"
2794
2940
  ],
2795
2941
  "summary": "Create Insight Tool",
2796
- "description": "Create a new tool in the insights",
2942
+ "description": "Create a new insight tool.",
2797
2943
  "operationId": "insights_tool_create",
2798
2944
  "security": [
2799
2945
  {
@@ -2821,6 +2967,12 @@
2821
2967
  }
2822
2968
  }
2823
2969
  },
2970
+ "400": {
2971
+ "description": "Bad Request"
2972
+ },
2973
+ "500": {
2974
+ "description": "Internal Server Error"
2975
+ },
2824
2976
  "422": {
2825
2977
  "description": "Validation Error",
2826
2978
  "content": {
@@ -2837,8 +2989,7 @@
2837
2989
  "/api/v1/insights/tools/{tool_id}": {
2838
2990
  "get": {
2839
2991
  "tags": [
2840
- "insights.tools",
2841
- "V1"
2992
+ "insights.tools"
2842
2993
  ],
2843
2994
  "summary": "Get Insight Tool By Id",
2844
2995
  "description": "Get a InsightTool by Name.",
@@ -2884,11 +3035,10 @@
2884
3035
  },
2885
3036
  "put": {
2886
3037
  "tags": [
2887
- "insights.tools",
2888
- "V1"
3038
+ "insights.tools"
2889
3039
  ],
2890
3040
  "summary": "Update Insights Tool",
2891
- "description": "Update a InsightTool.",
3041
+ "description": "Update an Insights tool.",
2892
3042
  "operationId": "insights_tool_update",
2893
3043
  "security": [
2894
3044
  {
@@ -2952,11 +3102,64 @@
2952
3102
  }
2953
3103
  }
2954
3104
  },
3105
+ "/api/v1/insights/tools-test": {
3106
+ "post": {
3107
+ "tags": [
3108
+ "insights.tools"
3109
+ ],
3110
+ "summary": "Test Insights Tool",
3111
+ "description": "Manually run the given insight tool against a session and return the response.",
3112
+ "operationId": "insights_tool_test",
3113
+ "requestBody": {
3114
+ "content": {
3115
+ "application/json": {
3116
+ "schema": {
3117
+ "$ref": "#/components/schemas/InsightToolTestInput"
3118
+ }
3119
+ }
3120
+ },
3121
+ "required": true
3122
+ },
3123
+ "responses": {
3124
+ "200": {
3125
+ "description": "Successful Response",
3126
+ "content": {
3127
+ "application/json": {
3128
+ "schema": {}
3129
+ }
3130
+ }
3131
+ },
3132
+ "400": {
3133
+ "description": "Bad Request"
3134
+ },
3135
+ "404": {
3136
+ "description": "Not Found"
3137
+ },
3138
+ "500": {
3139
+ "description": "Internal Server Error"
3140
+ },
3141
+ "422": {
3142
+ "description": "Validation Error",
3143
+ "content": {
3144
+ "application/json": {
3145
+ "schema": {
3146
+ "$ref": "#/components/schemas/HTTPValidationError"
3147
+ }
3148
+ }
3149
+ }
3150
+ }
3151
+ },
3152
+ "security": [
3153
+ {
3154
+ "APIKeyHeader": []
3155
+ }
3156
+ ]
3157
+ }
3158
+ },
2955
3159
  "/api/v1/insights/tool-definitions": {
2956
3160
  "get": {
2957
3161
  "tags": [
2958
- "insights.tools",
2959
- "V1"
3162
+ "insights.tools"
2960
3163
  ],
2961
3164
  "summary": "Get Insight Tool Definitions",
2962
3165
  "description": "Get a InsightTool by Name.",
@@ -2987,8 +3190,7 @@
2987
3190
  "/api/v1/custom_messages/": {
2988
3191
  "get": {
2989
3192
  "tags": [
2990
- "custom_messages",
2991
- "V1"
3193
+ "custom_messages"
2992
3194
  ],
2993
3195
  "summary": "Custom Messages List",
2994
3196
  "description": "List the existing custom_messages",
@@ -3203,8 +3405,7 @@
3203
3405
  },
3204
3406
  "post": {
3205
3407
  "tags": [
3206
- "custom_messages",
3207
- "V1"
3408
+ "custom_messages"
3208
3409
  ],
3209
3410
  "summary": "Create Custom Message",
3210
3411
  "description": "Create a new custom message",
@@ -3249,8 +3450,7 @@
3249
3450
  },
3250
3451
  "put": {
3251
3452
  "tags": [
3252
- "custom_messages",
3253
- "V1"
3453
+ "custom_messages"
3254
3454
  ],
3255
3455
  "summary": "Update Custom Message",
3256
3456
  "description": "Update a custom message",
@@ -3297,8 +3497,7 @@
3297
3497
  "/api/v1/custom_messages/{custom_message_id}": {
3298
3498
  "get": {
3299
3499
  "tags": [
3300
- "custom_messages",
3301
- "V1"
3500
+ "custom_messages"
3302
3501
  ],
3303
3502
  "summary": "Get Custom Message By Id",
3304
3503
  "description": "Get the custom message by its ID",
@@ -3344,8 +3543,7 @@
3344
3543
  },
3345
3544
  "delete": {
3346
3545
  "tags": [
3347
- "custom_messages",
3348
- "V1"
3546
+ "custom_messages"
3349
3547
  ],
3350
3548
  "summary": "Delete Custom Message",
3351
3549
  "description": "Delete custom message by ID",
@@ -3400,8 +3598,7 @@
3400
3598
  "/api/v1/prompts/": {
3401
3599
  "get": {
3402
3600
  "tags": [
3403
- "prompts",
3404
- "V1"
3601
+ "prompts"
3405
3602
  ],
3406
3603
  "summary": "Prompt List",
3407
3604
  "description": "List the existing prompts",
@@ -3616,8 +3813,7 @@
3616
3813
  },
3617
3814
  "post": {
3618
3815
  "tags": [
3619
- "prompts",
3620
- "V1"
3816
+ "prompts"
3621
3817
  ],
3622
3818
  "summary": "Create Prompt",
3623
3819
  "description": "Create a new prompt",
@@ -3662,8 +3858,7 @@
3662
3858
  },
3663
3859
  "put": {
3664
3860
  "tags": [
3665
- "prompts",
3666
- "V1"
3861
+ "prompts"
3667
3862
  ],
3668
3863
  "summary": "Update Prompt",
3669
3864
  "description": "Update an existing prompt",
@@ -3710,8 +3905,7 @@
3710
3905
  "/api/v1/prompts/{prompt_id}": {
3711
3906
  "get": {
3712
3907
  "tags": [
3713
- "prompts",
3714
- "V1"
3908
+ "prompts"
3715
3909
  ],
3716
3910
  "summary": "Get Prompt By Id",
3717
3911
  "description": "Get a prompt by ID",
@@ -3757,8 +3951,7 @@
3757
3951
  },
3758
3952
  "delete": {
3759
3953
  "tags": [
3760
- "prompts",
3761
- "V1"
3954
+ "prompts"
3762
3955
  ],
3763
3956
  "summary": "Delete Prompt",
3764
3957
  "description": "Delete a prompt",
@@ -3813,8 +4006,7 @@
3813
4006
  "/api/v1/prompts/{prompt_id}/history": {
3814
4007
  "get": {
3815
4008
  "tags": [
3816
- "prompts",
3817
- "V1"
4009
+ "prompts"
3818
4010
  ],
3819
4011
  "summary": "Get Prompt History",
3820
4012
  "description": "Get a prompt by ID",
@@ -3866,8 +4058,7 @@
3866
4058
  "/api/v1/prompts/llms/supported": {
3867
4059
  "get": {
3868
4060
  "tags": [
3869
- "prompts",
3870
- "V1"
4061
+ "prompts"
3871
4062
  ],
3872
4063
  "summary": "Get Supported Llm Configs",
3873
4064
  "description": "Get supported LLM configs.",
@@ -3898,8 +4089,7 @@
3898
4089
  "/api/v1/services/": {
3899
4090
  "get": {
3900
4091
  "tags": [
3901
- "services",
3902
- "V1"
4092
+ "services"
3903
4093
  ],
3904
4094
  "summary": "Service List",
3905
4095
  "description": "List the existing services",
@@ -4114,8 +4304,7 @@
4114
4304
  },
4115
4305
  "post": {
4116
4306
  "tags": [
4117
- "services",
4118
- "V1"
4307
+ "services"
4119
4308
  ],
4120
4309
  "summary": "Create Service",
4121
4310
  "description": "Create a new service.",
@@ -4160,8 +4349,7 @@
4160
4349
  },
4161
4350
  "put": {
4162
4351
  "tags": [
4163
- "services",
4164
- "V1"
4352
+ "services"
4165
4353
  ],
4166
4354
  "summary": "Update Service",
4167
4355
  "description": "Update an existing service.",
@@ -4208,8 +4396,7 @@
4208
4396
  "/api/v1/services/{service_id}": {
4209
4397
  "get": {
4210
4398
  "tags": [
4211
- "services",
4212
- "V1"
4399
+ "services"
4213
4400
  ],
4214
4401
  "summary": "Get Service By Id",
4215
4402
  "description": "Get a service by its ID",
@@ -4255,8 +4442,7 @@
4255
4442
  },
4256
4443
  "delete": {
4257
4444
  "tags": [
4258
- "services",
4259
- "V1"
4445
+ "services"
4260
4446
  ],
4261
4447
  "summary": "Delete Service",
4262
4448
  "description": "Delete a service. A service with linked tools cannot be deleted.",
@@ -4311,8 +4497,7 @@
4311
4497
  "/api/v1/session_labels/{session_label_id}": {
4312
4498
  "get": {
4313
4499
  "tags": [
4314
- "session_labels",
4315
- "V1"
4500
+ "session_labels"
4316
4501
  ],
4317
4502
  "summary": "Get Label By Id",
4318
4503
  "operationId": "session_label_get_by_id",
@@ -4359,8 +4544,7 @@
4359
4544
  "/api/v1/session_labels/": {
4360
4545
  "post": {
4361
4546
  "tags": [
4362
- "session_labels",
4363
- "V1"
4547
+ "session_labels"
4364
4548
  ],
4365
4549
  "summary": "Create Label",
4366
4550
  "description": "Create a new label",
@@ -4405,8 +4589,7 @@
4405
4589
  },
4406
4590
  "get": {
4407
4591
  "tags": [
4408
- "session_labels",
4409
- "V1"
4592
+ "session_labels"
4410
4593
  ],
4411
4594
  "summary": "Session Labels List",
4412
4595
  "operationId": "session_labels_list",
@@ -4622,8 +4805,7 @@
4622
4805
  "/api/v1/sessions/": {
4623
4806
  "get": {
4624
4807
  "tags": [
4625
- "sessions",
4626
- "V1"
4808
+ "sessions"
4627
4809
  ],
4628
4810
  "summary": "Sessions List",
4629
4811
  "operationId": "sessions_list",
@@ -4839,8 +5021,7 @@
4839
5021
  "/api/v1/sessions/transcript/{session_id}": {
4840
5022
  "get": {
4841
5023
  "tags": [
4842
- "sessions",
4843
- "V1"
5024
+ "sessions"
4844
5025
  ],
4845
5026
  "summary": "Get Session Transcript By Id",
4846
5027
  "operationId": "session_transcript_get_by_id",
@@ -4887,8 +5068,7 @@
4887
5068
  "/api/v1/sessions/full-summary/{session_id}": {
4888
5069
  "get": {
4889
5070
  "tags": [
4890
- "sessions",
4891
- "V1"
5071
+ "sessions"
4892
5072
  ],
4893
5073
  "summary": "Get Full Session Summary By Id",
4894
5074
  "operationId": "session_full_summary_get_by_id",
@@ -4935,8 +5115,7 @@
4935
5115
  "/api/v1/sessions/{session_id}": {
4936
5116
  "get": {
4937
5117
  "tags": [
4938
- "sessions",
4939
- "V1"
5118
+ "sessions"
4940
5119
  ],
4941
5120
  "summary": "Get A Single Session By Id",
4942
5121
  "operationId": "session_get_by_id",
@@ -4962,7 +5141,54 @@
4962
5141
  "content": {
4963
5142
  "application/json": {
4964
5143
  "schema": {
4965
- "$ref": "#/components/schemas/Session"
5144
+ "$ref": "#/components/schemas/Session"
5145
+ }
5146
+ }
5147
+ }
5148
+ },
5149
+ "422": {
5150
+ "description": "Validation Error",
5151
+ "content": {
5152
+ "application/json": {
5153
+ "schema": {
5154
+ "$ref": "#/components/schemas/HTTPValidationError"
5155
+ }
5156
+ }
5157
+ }
5158
+ }
5159
+ }
5160
+ }
5161
+ },
5162
+ "/api/v1/sessions/recording/{session_id}": {
5163
+ "post": {
5164
+ "tags": [
5165
+ "sessions"
5166
+ ],
5167
+ "summary": "Generate Recording Urls",
5168
+ "operationId": "generate_session_recording_urls",
5169
+ "security": [
5170
+ {
5171
+ "APIKeyHeader": []
5172
+ }
5173
+ ],
5174
+ "parameters": [
5175
+ {
5176
+ "name": "session_id",
5177
+ "in": "path",
5178
+ "required": true,
5179
+ "schema": {
5180
+ "type": "string",
5181
+ "title": "Session Id"
5182
+ }
5183
+ }
5184
+ ],
5185
+ "responses": {
5186
+ "200": {
5187
+ "description": "Successful Response",
5188
+ "content": {
5189
+ "application/json": {
5190
+ "schema": {
5191
+ "$ref": "#/components/schemas/SessionRecordingResponse"
4966
5192
  }
4967
5193
  }
4968
5194
  }
@@ -4980,14 +5206,13 @@
4980
5206
  }
4981
5207
  }
4982
5208
  },
4983
- "/api/v1/sessions/recording/{session_id}": {
4984
- "post": {
5209
+ "/api/v1/sessions/recording/stream": {
5210
+ "get": {
4985
5211
  "tags": [
4986
- "sessions",
4987
- "V1"
5212
+ "sessions"
4988
5213
  ],
4989
- "summary": "Generate Recording Urls",
4990
- "operationId": "generate_session_recording_urls",
5214
+ "summary": "Stream Recording",
5215
+ "operationId": "session_recording_stream",
4991
5216
  "security": [
4992
5217
  {
4993
5218
  "APIKeyHeader": []
@@ -4995,12 +5220,12 @@
4995
5220
  ],
4996
5221
  "parameters": [
4997
5222
  {
4998
- "name": "session_id",
4999
- "in": "path",
5223
+ "name": "token",
5224
+ "in": "query",
5000
5225
  "required": true,
5001
5226
  "schema": {
5002
5227
  "type": "string",
5003
- "title": "Session Id"
5228
+ "title": "Token"
5004
5229
  }
5005
5230
  }
5006
5231
  ],
@@ -5008,9 +5233,9 @@
5008
5233
  "200": {
5009
5234
  "description": "Successful Response",
5010
5235
  "content": {
5011
- "application/json": {
5236
+ "application/octet-stream": {
5012
5237
  "schema": {
5013
- "$ref": "#/components/schemas/SessionRecordingResponse"
5238
+ "type": "string"
5014
5239
  }
5015
5240
  }
5016
5241
  }
@@ -5028,14 +5253,13 @@
5028
5253
  }
5029
5254
  }
5030
5255
  },
5031
- "/api/v1/sessions/recording/stream": {
5256
+ "/api/v1/sessions/latency/{session_id}": {
5032
5257
  "get": {
5033
5258
  "tags": [
5034
- "sessions",
5035
- "V1"
5259
+ "sessions"
5036
5260
  ],
5037
- "summary": "Stream Recording",
5038
- "operationId": "session_recording_stream",
5261
+ "summary": "Inspect Latency For Session",
5262
+ "operationId": "session_latency_get_by_id",
5039
5263
  "security": [
5040
5264
  {
5041
5265
  "APIKeyHeader": []
@@ -5043,12 +5267,12 @@
5043
5267
  ],
5044
5268
  "parameters": [
5045
5269
  {
5046
- "name": "token",
5047
- "in": "query",
5270
+ "name": "session_id",
5271
+ "in": "path",
5048
5272
  "required": true,
5049
5273
  "schema": {
5050
5274
  "type": "string",
5051
- "title": "Token"
5275
+ "title": "Session Id"
5052
5276
  }
5053
5277
  }
5054
5278
  ],
@@ -5056,9 +5280,9 @@
5056
5280
  "200": {
5057
5281
  "description": "Successful Response",
5058
5282
  "content": {
5059
- "application/octet-stream": {
5283
+ "application/json": {
5060
5284
  "schema": {
5061
- "type": "string"
5285
+ "$ref": "#/components/schemas/InspectLatencyResponse"
5062
5286
  }
5063
5287
  }
5064
5288
  }
@@ -5079,8 +5303,7 @@
5079
5303
  "/api/v1/session_debug/sid/{channel_manager_service}/{channel_manager_sid}": {
5080
5304
  "get": {
5081
5305
  "tags": [
5082
- "session.debug",
5083
- "V1"
5306
+ "session.debug"
5084
5307
  ],
5085
5308
  "summary": "Get Session Data By Sid",
5086
5309
  "operationId": "get_session_data_by_sid",
@@ -5136,8 +5359,7 @@
5136
5359
  "/api/v1/session_debug/session_id/{session_id}": {
5137
5360
  "get": {
5138
5361
  "tags": [
5139
- "session.debug",
5140
- "V1"
5362
+ "session.debug"
5141
5363
  ],
5142
5364
  "summary": "Get Session Data By Session Id",
5143
5365
  "operationId": "get_session_data_by_session_id",
@@ -5184,8 +5406,7 @@
5184
5406
  "/api/v1/session_debug/tool_result/{session_id}/{tool_call_id}": {
5185
5407
  "get": {
5186
5408
  "tags": [
5187
- "session.debug",
5188
- "V1"
5409
+ "session.debug"
5189
5410
  ],
5190
5411
  "summary": "Get Session Tool Call Result By Id",
5191
5412
  "operationId": "get_session_tool_call_result_by_id",
@@ -5241,8 +5462,7 @@
5241
5462
  "/api/v1/tools/": {
5242
5463
  "get": {
5243
5464
  "tags": [
5244
- "tools",
5245
- "V1"
5465
+ "tools"
5246
5466
  ],
5247
5467
  "summary": "Tool List",
5248
5468
  "description": "List the existing tools",
@@ -5457,8 +5677,7 @@
5457
5677
  },
5458
5678
  "post": {
5459
5679
  "tags": [
5460
- "tools",
5461
- "V1"
5680
+ "tools"
5462
5681
  ],
5463
5682
  "summary": "Create Tool",
5464
5683
  "description": "Create a new tool",
@@ -5503,8 +5722,7 @@
5503
5722
  },
5504
5723
  "put": {
5505
5724
  "tags": [
5506
- "tools",
5507
- "V1"
5725
+ "tools"
5508
5726
  ],
5509
5727
  "summary": "Update Tool",
5510
5728
  "description": "Update an existing tool",
@@ -5551,8 +5769,7 @@
5551
5769
  "/api/v1/tools/{tool_name}": {
5552
5770
  "get": {
5553
5771
  "tags": [
5554
- "tools",
5555
- "V1"
5772
+ "tools"
5556
5773
  ],
5557
5774
  "summary": "Tool Info",
5558
5775
  "description": "Get the details of a specific tool",
@@ -5598,8 +5815,7 @@
5598
5815
  },
5599
5816
  "delete": {
5600
5817
  "tags": [
5601
- "tools",
5602
- "V1"
5818
+ "tools"
5603
5819
  ],
5604
5820
  "summary": "Delete Tool",
5605
5821
  "description": "Delete a tool.",
@@ -5655,9 +5871,7 @@
5655
5871
  "get": {
5656
5872
  "tags": [
5657
5873
  "channels.targets",
5658
- "V1",
5659
- "channels.targets",
5660
- "V1"
5874
+ "channels.targets"
5661
5875
  ],
5662
5876
  "summary": "Available Targets List",
5663
5877
  "description": "List the available phone numbers",
@@ -5875,9 +6089,7 @@
5875
6089
  "get": {
5876
6090
  "tags": [
5877
6091
  "channels.targets",
5878
- "V1",
5879
- "channels.targets",
5880
- "V1"
6092
+ "channels.targets"
5881
6093
  ],
5882
6094
  "summary": "Get Channel Targets",
5883
6095
  "operationId": "channel_targets_list",
@@ -6094,9 +6306,7 @@
6094
6306
  "post": {
6095
6307
  "tags": [
6096
6308
  "channels.targets",
6097
- "V1",
6098
- "channels.targets",
6099
- "V1"
6309
+ "channels.targets"
6100
6310
  ],
6101
6311
  "summary": "Assign A Channel Target",
6102
6312
  "operationId": "channel_targets_create",
@@ -6154,9 +6364,7 @@
6154
6364
  "get": {
6155
6365
  "tags": [
6156
6366
  "channels.targets",
6157
- "V1",
6158
- "channels.targets",
6159
- "V1"
6367
+ "channels.targets"
6160
6368
  ],
6161
6369
  "summary": "Get A Channel Target",
6162
6370
  "operationId": "channel_targets_get_by_id",
@@ -6210,8 +6418,7 @@
6210
6418
  },
6211
6419
  "put": {
6212
6420
  "tags": [
6213
- "channels.targets",
6214
- "V1"
6421
+ "channels.targets"
6215
6422
  ],
6216
6423
  "summary": "Edit Channel Target",
6217
6424
  "description": "Update channel target by ID",
@@ -6278,8 +6485,7 @@
6278
6485
  "/api/v1/channels/{channel_id}": {
6279
6486
  "delete": {
6280
6487
  "tags": [
6281
- "channels.targets",
6282
- "V1"
6488
+ "channels.targets"
6283
6489
  ],
6284
6490
  "summary": "Delete Channel Target",
6285
6491
  "description": "Hard-delete a channel target by ID",
@@ -6334,8 +6540,7 @@
6334
6540
  "/api/v1/directory_members/": {
6335
6541
  "get": {
6336
6542
  "tags": [
6337
- "directory",
6338
- "V1"
6543
+ "directory"
6339
6544
  ],
6340
6545
  "summary": "Directory Member List",
6341
6546
  "description": "List the existing directory_members",
@@ -6551,8 +6756,7 @@
6551
6756
  },
6552
6757
  "post": {
6553
6758
  "tags": [
6554
- "directory",
6555
- "V1"
6759
+ "directory"
6556
6760
  ],
6557
6761
  "summary": "Create Directory Member",
6558
6762
  "description": "Create a new member in the directory",
@@ -6600,8 +6804,7 @@
6600
6804
  "/api/v1/directory_members/{member_id}": {
6601
6805
  "get": {
6602
6806
  "tags": [
6603
- "directory",
6604
- "V1"
6807
+ "directory"
6605
6808
  ],
6606
6809
  "summary": "Get Directory Member By Id",
6607
6810
  "description": "Get a DirectoryMember by ID.",
@@ -6648,8 +6851,7 @@
6648
6851
  },
6649
6852
  "put": {
6650
6853
  "tags": [
6651
- "directory",
6652
- "V1"
6854
+ "directory"
6653
6855
  ],
6654
6856
  "summary": "Update Directory Member",
6655
6857
  "description": "Update a DirectoryMember.",
@@ -6718,8 +6920,7 @@
6718
6920
  },
6719
6921
  "delete": {
6720
6922
  "tags": [
6721
- "directory",
6722
- "V1"
6923
+ "directory"
6723
6924
  ],
6724
6925
  "summary": "Delete Directory Member",
6725
6926
  "description": "Delete a DirectoryMember.",
@@ -6775,8 +6976,7 @@
6775
6976
  "/api/v1/directory_members/upload/": {
6776
6977
  "put": {
6777
6978
  "tags": [
6778
- "directory",
6779
- "V1"
6979
+ "directory"
6780
6980
  ],
6781
6981
  "summary": "Bulk Load Directory Members",
6782
6982
  "description": "Update Directory Members in chunks of 100.",
@@ -6834,8 +7034,7 @@
6834
7034
  "/api/v1/directory_members/download/": {
6835
7035
  "get": {
6836
7036
  "tags": [
6837
- "directory",
6838
- "V1"
7037
+ "directory"
6839
7038
  ],
6840
7039
  "summary": "Download Directory Members",
6841
7040
  "description": "Download the entire directory as a JSON file.",
@@ -6864,8 +7063,7 @@
6864
7063
  "/api/v1/dashboards/list": {
6865
7064
  "post": {
6866
7065
  "tags": [
6867
- "dashboards",
6868
- "V1"
7066
+ "dashboards"
6869
7067
  ],
6870
7068
  "summary": "Post List Dashboards",
6871
7069
  "description": "METHOD: POST\nURL: /dashboard/list\nARGUMENTS: None\nRETURNS: List of dashboards",
@@ -7082,8 +7280,7 @@
7082
7280
  "/api/v1/dashboards/fetch_info": {
7083
7281
  "post": {
7084
7282
  "tags": [
7085
- "dashboards",
7086
- "V1"
7283
+ "dashboards"
7087
7284
  ],
7088
7285
  "summary": "Post Fetch Info",
7089
7286
  "description": "METHOD: POST\nURL: /dashboard/fetch_info\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
@@ -7131,8 +7328,7 @@
7131
7328
  "/api/v1/dashboards/session_events": {
7132
7329
  "post": {
7133
7330
  "tags": [
7134
- "dashboards",
7135
- "V1"
7331
+ "dashboards"
7136
7332
  ],
7137
7333
  "summary": "Post Session Events",
7138
7334
  "description": "METHOD: POST\nURL: /dashboard/session_events\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
@@ -7160,8 +7356,7 @@
7160
7356
  "/api/v1/dashboards/session_summary": {
7161
7357
  "post": {
7162
7358
  "tags": [
7163
- "dashboards",
7164
- "V1"
7359
+ "dashboards"
7165
7360
  ],
7166
7361
  "summary": "Post Session Summary",
7167
7362
  "description": "METHOD: POST\nURL: /dashboard/session_summary\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
@@ -7189,8 +7384,7 @@
7189
7384
  "/api/v1/dashboards/session_transfers": {
7190
7385
  "post": {
7191
7386
  "tags": [
7192
- "dashboards",
7193
- "V1"
7387
+ "dashboards"
7194
7388
  ],
7195
7389
  "summary": "Post Session Transfers",
7196
7390
  "description": "METHOD: POST\nURL: /dashboard/session_transfers\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
@@ -7218,8 +7412,7 @@
7218
7412
  "/api/v1/dashboards/sessions": {
7219
7413
  "post": {
7220
7414
  "tags": [
7221
- "dashboards",
7222
- "V1"
7415
+ "dashboards"
7223
7416
  ],
7224
7417
  "summary": "Post Sessions",
7225
7418
  "description": "METHOD: POST\nURL: /dashboard/sessions\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
@@ -7247,8 +7440,7 @@
7247
7440
  "/api/v1/outbound/batches": {
7248
7441
  "get": {
7249
7442
  "tags": [
7250
- "outbound.batches",
7251
- "V1"
7443
+ "outbound.batches"
7252
7444
  ],
7253
7445
  "summary": "List Outbound Communication Batches",
7254
7446
  "operationId": "outbound_batch_list",
@@ -7443,11 +7635,7 @@
7443
7635
  "content": {
7444
7636
  "application/json": {
7445
7637
  "schema": {
7446
- "type": "array",
7447
- "items": {
7448
- "$ref": "#/components/schemas/CommunicationBatch"
7449
- },
7450
- "title": "Response Outbound Batch List"
7638
+ "$ref": "#/components/schemas/ListResponse_CommunicationBatch_"
7451
7639
  }
7452
7640
  }
7453
7641
  }
@@ -7466,8 +7654,7 @@
7466
7654
  },
7467
7655
  "post": {
7468
7656
  "tags": [
7469
- "outbound.batches",
7470
- "V1"
7657
+ "outbound.batches"
7471
7658
  ],
7472
7659
  "summary": "Create Outbound Communication Batch",
7473
7660
  "operationId": "outbound_batch_create",
@@ -7521,8 +7708,7 @@
7521
7708
  "/api/v1/outbound/batches/{batch_id}": {
7522
7709
  "get": {
7523
7710
  "tags": [
7524
- "outbound.batches",
7525
- "V1"
7711
+ "outbound.batches"
7526
7712
  ],
7527
7713
  "summary": "Get Outbound Communication Batch",
7528
7714
  "operationId": "outbound_batch_get_by_id",
@@ -7567,8 +7753,7 @@
7567
7753
  },
7568
7754
  "put": {
7569
7755
  "tags": [
7570
- "outbound.batches",
7571
- "V1"
7756
+ "outbound.batches"
7572
7757
  ],
7573
7758
  "summary": "Update Outbound Communication Batch",
7574
7759
  "operationId": "outbound_batch_update",
@@ -7593,7 +7778,7 @@
7593
7778
  "content": {
7594
7779
  "application/json": {
7595
7780
  "schema": {
7596
- "$ref": "#/components/schemas/CommunicationBatch"
7781
+ "$ref": "#/components/schemas/CommunicationBatchUpdate"
7597
7782
  }
7598
7783
  }
7599
7784
  }
@@ -7623,8 +7808,7 @@
7623
7808
  },
7624
7809
  "delete": {
7625
7810
  "tags": [
7626
- "outbound.batches",
7627
- "V1"
7811
+ "outbound.batches"
7628
7812
  ],
7629
7813
  "summary": "Delete Outbound Communication Batch",
7630
7814
  "operationId": "outbound_batch_delete",
@@ -7679,8 +7863,7 @@
7679
7863
  "/api/v1/outbound/batches/{batch_id}/upload_batch": {
7680
7864
  "post": {
7681
7865
  "tags": [
7682
- "outbound.batches",
7683
- "V1"
7866
+ "outbound.batches"
7684
7867
  ],
7685
7868
  "summary": "Upload Outbound Communication Batch",
7686
7869
  "operationId": "outbound_batch_upload",
@@ -7701,7 +7884,6 @@
7701
7884
  }
7702
7885
  ],
7703
7886
  "requestBody": {
7704
- "required": true,
7705
7887
  "content": {
7706
7888
  "multipart/form-data": {
7707
7889
  "schema": {
@@ -7735,8 +7917,7 @@
7735
7917
  "/api/v1/outbound/batches/{batch_id}/results": {
7736
7918
  "get": {
7737
7919
  "tags": [
7738
- "outbound.batches",
7739
- "V1"
7920
+ "outbound.batches"
7740
7921
  ],
7741
7922
  "summary": "Fetch Outbound Communication Batch Results",
7742
7923
  "operationId": "outbound_batch_results",
@@ -7754,6 +7935,24 @@
7754
7935
  "type": "string",
7755
7936
  "title": "Batch Id"
7756
7937
  }
7938
+ },
7939
+ {
7940
+ "name": "reference_id",
7941
+ "in": "query",
7942
+ "required": false,
7943
+ "schema": {
7944
+ "type": "string",
7945
+ "title": "Reference Id"
7946
+ }
7947
+ },
7948
+ {
7949
+ "name": "status",
7950
+ "in": "query",
7951
+ "required": false,
7952
+ "schema": {
7953
+ "type": "string",
7954
+ "title": "Status"
7955
+ }
7757
7956
  }
7758
7957
  ],
7759
7958
  "responses": {
@@ -7787,8 +7986,7 @@
7787
7986
  "/api/v1/outbound/batches/{batch_id}/requests": {
7788
7987
  "post": {
7789
7988
  "tags": [
7790
- "outbound.batches",
7791
- "V1"
7989
+ "outbound.batches"
7792
7990
  ],
7793
7991
  "summary": "Create Outbound Communication Request",
7794
7992
  "operationId": "outbound_batch_add",
@@ -7843,8 +8041,7 @@
7843
8041
  "/api/v1/outbound/batches/{batch_id}/remove-requests": {
7844
8042
  "post": {
7845
8043
  "tags": [
7846
- "outbound.batches",
7847
- "V1"
8044
+ "outbound.batches"
7848
8045
  ],
7849
8046
  "summary": "Delete Requests By List Of Reference Ids",
7850
8047
  "operationId": "outbound_batch_remove",
@@ -7903,8 +8100,7 @@
7903
8100
  "/api/v1/outbound/campaigns": {
7904
8101
  "get": {
7905
8102
  "tags": [
7906
- "outbound.campaigns",
7907
- "V1"
8103
+ "outbound.campaigns"
7908
8104
  ],
7909
8105
  "summary": "List Outbound Communication Campaigns",
7910
8106
  "operationId": "outbound_campaign_list",
@@ -8101,10 +8297,7 @@
8101
8297
  "schema": {
8102
8298
  "anyOf": [
8103
8299
  {
8104
- "type": "array",
8105
- "items": {
8106
- "$ref": "#/components/schemas/OutboundCampaign"
8107
- }
8300
+ "$ref": "#/components/schemas/ListResponse_OutboundCampaign_"
8108
8301
  },
8109
8302
  {
8110
8303
  "type": "null"
@@ -8129,8 +8322,7 @@
8129
8322
  },
8130
8323
  "post": {
8131
8324
  "tags": [
8132
- "outbound.campaigns",
8133
- "V1"
8325
+ "outbound.campaigns"
8134
8326
  ],
8135
8327
  "summary": "Create Outbound Communication Campaign",
8136
8328
  "operationId": "outbound_campaign_create",
@@ -8184,8 +8376,7 @@
8184
8376
  "/api/v1/outbound/campaigns/{campaign_id}": {
8185
8377
  "get": {
8186
8378
  "tags": [
8187
- "outbound.campaigns",
8188
- "V1"
8379
+ "outbound.campaigns"
8189
8380
  ],
8190
8381
  "summary": "Get Outbound Communication Campaign",
8191
8382
  "operationId": "outbound_campaign_get_by_id",
@@ -8200,7 +8391,7 @@
8200
8391
  "in": "path",
8201
8392
  "required": true,
8202
8393
  "schema": {
8203
- "type": "string",
8394
+ "type": "integer",
8204
8395
  "title": "Campaign Id"
8205
8396
  }
8206
8397
  }
@@ -8230,8 +8421,7 @@
8230
8421
  },
8231
8422
  "put": {
8232
8423
  "tags": [
8233
- "outbound.campaigns",
8234
- "V1"
8424
+ "outbound.campaigns"
8235
8425
  ],
8236
8426
  "summary": "Update Outbound Communication Campaign",
8237
8427
  "operationId": "outbound_campaign_update",
@@ -8288,8 +8478,7 @@
8288
8478
  "/api/v1/language_groups/": {
8289
8479
  "get": {
8290
8480
  "tags": [
8291
- "language_groups",
8292
- "V1"
8481
+ "language_groups"
8293
8482
  ],
8294
8483
  "summary": "List Language Groups",
8295
8484
  "description": "Fetch language groups.",
@@ -8504,8 +8693,7 @@
8504
8693
  },
8505
8694
  "post": {
8506
8695
  "tags": [
8507
- "language_groups",
8508
- "V1"
8696
+ "language_groups"
8509
8697
  ],
8510
8698
  "summary": "Create Language Group",
8511
8699
  "description": "Create a new language group.",
@@ -8550,8 +8738,7 @@
8550
8738
  },
8551
8739
  "put": {
8552
8740
  "tags": [
8553
- "language_groups",
8554
- "V1"
8741
+ "language_groups"
8555
8742
  ],
8556
8743
  "summary": "Update Language Group",
8557
8744
  "description": "Update an existing language group",
@@ -8598,8 +8785,7 @@
8598
8785
  "/api/v1/language_groups/{language_group_id}": {
8599
8786
  "get": {
8600
8787
  "tags": [
8601
- "language_groups",
8602
- "V1"
8788
+ "language_groups"
8603
8789
  ],
8604
8790
  "summary": "Get Language Group",
8605
8791
  "description": "Fetch a given language group.",
@@ -8645,8 +8831,7 @@
8645
8831
  },
8646
8832
  "delete": {
8647
8833
  "tags": [
8648
- "language_groups",
8649
- "V1"
8834
+ "language_groups"
8650
8835
  ],
8651
8836
  "summary": "Delete Language Group",
8652
8837
  "description": "Delete a language group.",
@@ -8701,11 +8886,10 @@
8701
8886
  "/api/v1/takeouts/create": {
8702
8887
  "post": {
8703
8888
  "tags": [
8704
- "takeouts",
8705
- "V1"
8889
+ "takeouts"
8706
8890
  ],
8707
8891
  "summary": "Create Takeout",
8708
- "operationId": "create_takeout_api_v1_takeouts_create_post",
8892
+ "operationId": "takeouts_create",
8709
8893
  "responses": {
8710
8894
  "200": {
8711
8895
  "description": "Successful Response",
@@ -8728,11 +8912,10 @@
8728
8912
  "/api/v1/takeouts/get/{job_id}": {
8729
8913
  "get": {
8730
8914
  "tags": [
8731
- "takeouts",
8732
- "V1"
8915
+ "takeouts"
8733
8916
  ],
8734
8917
  "summary": "Get Takeout",
8735
- "operationId": "get_takeout_api_v1_takeouts_get__job_id__get",
8918
+ "operationId": "takeouts_get_by_job_id",
8736
8919
  "security": [
8737
8920
  {
8738
8921
  "APIKeyHeader": []
@@ -9910,7 +10093,7 @@
9910
10093
  "title": "Batch Id",
9911
10094
  "description": "Unique ID for conversation batch",
9912
10095
  "examples": [
9913
- "20250117.9"
10096
+ "20250409.9"
9914
10097
  ]
9915
10098
  },
9916
10099
  "campaign_id": {
@@ -9933,7 +10116,7 @@
9933
10116
  "title": "Expires On",
9934
10117
  "description": "Timestamp of batch expiration",
9935
10118
  "examples": [
9936
- "2024-01-01T00:00:00Z"
10119
+ "2025-04-10T00:00:00Z"
9937
10120
  ]
9938
10121
  },
9939
10122
  "status": {
@@ -9944,24 +10127,24 @@
9944
10127
  "PENDING",
9945
10128
  "ACTIVE",
9946
10129
  "PAUSED",
9947
- "IDLE",
10130
+ "FAILED",
9948
10131
  "CANCELED",
9949
10132
  "EXPIRED"
9950
10133
  ]
9951
10134
  },
9952
- "count": {
10135
+ "upload_filename": {
9953
10136
  "anyOf": [
9954
10137
  {
9955
- "type": "integer"
10138
+ "type": "string"
9956
10139
  },
9957
10140
  {
9958
10141
  "type": "null"
9959
10142
  }
9960
10143
  ],
9961
- "title": "Count",
9962
- "description": "Number of requests in batch",
10144
+ "title": "Upload Filename",
10145
+ "description": "Name of file used to create batch",
9963
10146
  "examples": [
9964
- 152
10147
+ "LATE_PAYMENTS_20250401.csv"
9965
10148
  ]
9966
10149
  },
9967
10150
  "created_at": {
@@ -9969,7 +10152,7 @@
9969
10152
  "title": "Created At",
9970
10153
  "description": "Timestamp of batch creation",
9971
10154
  "examples": [
9972
- "2024-01-01T00:00:00Z"
10155
+ "2025-04-09T00:00:00Z"
9973
10156
  ]
9974
10157
  },
9975
10158
  "deleted_at": {
@@ -9984,7 +10167,7 @@
9984
10167
  "title": "Deleted At",
9985
10168
  "description": "Timestamp of batch deletion",
9986
10169
  "examples": [
9987
- "2024-01-01T00:00:00Z"
10170
+ "2025-04-09T00:00:00Z"
9988
10171
  ]
9989
10172
  },
9990
10173
  "deleted_reason": {
@@ -10014,7 +10197,7 @@
10014
10197
  "title": "Last Worked On",
10015
10198
  "description": "Timestamp of last batch activity",
10016
10199
  "examples": [
10017
- "2024-01-01T00:00:00Z"
10200
+ "2025-04-09T00:00:00Z"
10018
10201
  ]
10019
10202
  },
10020
10203
  "last_updated_by": {
@@ -10025,6 +10208,22 @@
10025
10208
  "user@email.com"
10026
10209
  ]
10027
10210
  },
10211
+ "error_message": {
10212
+ "anyOf": [
10213
+ {
10214
+ "type": "string"
10215
+ },
10216
+ {
10217
+ "type": "null"
10218
+ }
10219
+ ],
10220
+ "title": "Error Message",
10221
+ "description": "Error message if batch upload failed",
10222
+ "examples": [
10223
+ "Invalid file format",
10224
+ "Missing required fields"
10225
+ ]
10226
+ },
10028
10227
  "status_counts": {
10029
10228
  "anyOf": [
10030
10229
  {
@@ -10072,7 +10271,7 @@
10072
10271
  "PENDING",
10073
10272
  "ACTIVE",
10074
10273
  "PAUSED",
10075
- "IDLE",
10274
+ "FAILED",
10076
10275
  "CANCELED",
10077
10276
  "EXPIRED"
10078
10277
  ],
@@ -10095,14 +10294,14 @@
10095
10294
  },
10096
10295
  "Body_outbound_batch_delete": {
10097
10296
  "properties": {
10098
- "deleteReason": {
10297
+ "delete_reason": {
10099
10298
  "type": "string",
10100
- "title": "Deletereason"
10299
+ "title": "Delete Reason"
10101
10300
  }
10102
10301
  },
10103
10302
  "type": "object",
10104
10303
  "required": [
10105
- "deleteReason"
10304
+ "delete_reason"
10106
10305
  ],
10107
10306
  "title": "Body_outbound_batch_delete"
10108
10307
  },
@@ -10115,9 +10314,6 @@
10115
10314
  }
10116
10315
  },
10117
10316
  "type": "object",
10118
- "required": [
10119
- "file"
10120
- ],
10121
10317
  "title": "Body_outbound_batch_upload"
10122
10318
  },
10123
10319
  "CampaignProperties": {
@@ -10489,7 +10685,7 @@
10489
10685
  "title": "Batch Id",
10490
10686
  "description": "Unique ID for conversation batch",
10491
10687
  "examples": [
10492
- "20250117.9"
10688
+ "20250409.9"
10493
10689
  ]
10494
10690
  },
10495
10691
  "campaign_id": {
@@ -10512,7 +10708,7 @@
10512
10708
  "title": "Expires On",
10513
10709
  "description": "Timestamp of batch expiration",
10514
10710
  "examples": [
10515
- "2024-01-01T00:00:00Z"
10711
+ "2025-04-10T00:00:00Z"
10516
10712
  ]
10517
10713
  },
10518
10714
  "status": {
@@ -10523,24 +10719,24 @@
10523
10719
  "PENDING",
10524
10720
  "ACTIVE",
10525
10721
  "PAUSED",
10526
- "IDLE",
10722
+ "FAILED",
10527
10723
  "CANCELED",
10528
10724
  "EXPIRED"
10529
10725
  ]
10530
10726
  },
10531
- "count": {
10727
+ "upload_filename": {
10532
10728
  "anyOf": [
10533
10729
  {
10534
- "type": "integer"
10730
+ "type": "string"
10535
10731
  },
10536
10732
  {
10537
10733
  "type": "null"
10538
10734
  }
10539
10735
  ],
10540
- "title": "Count",
10541
- "description": "Number of requests in batch",
10736
+ "title": "Upload Filename",
10737
+ "description": "Name of file used to create batch",
10542
10738
  "examples": [
10543
- 152
10739
+ "LATE_PAYMENTS_20250401.csv"
10544
10740
  ]
10545
10741
  },
10546
10742
  "created_at": {
@@ -10548,7 +10744,7 @@
10548
10744
  "title": "Created At",
10549
10745
  "description": "Timestamp of batch creation",
10550
10746
  "examples": [
10551
- "2024-01-01T00:00:00Z"
10747
+ "2025-04-09T00:00:00Z"
10552
10748
  ]
10553
10749
  },
10554
10750
  "deleted_at": {
@@ -10563,7 +10759,7 @@
10563
10759
  "title": "Deleted At",
10564
10760
  "description": "Timestamp of batch deletion",
10565
10761
  "examples": [
10566
- "2024-01-01T00:00:00Z"
10762
+ "2025-04-09T00:00:00Z"
10567
10763
  ]
10568
10764
  },
10569
10765
  "deleted_reason": {
@@ -10593,7 +10789,7 @@
10593
10789
  "title": "Last Worked On",
10594
10790
  "description": "Timestamp of last batch activity",
10595
10791
  "examples": [
10596
- "2024-01-01T00:00:00Z"
10792
+ "2025-04-09T00:00:00Z"
10597
10793
  ]
10598
10794
  },
10599
10795
  "last_updated_by": {
@@ -10603,6 +10799,22 @@
10603
10799
  "examples": [
10604
10800
  "user@email.com"
10605
10801
  ]
10802
+ },
10803
+ "error_message": {
10804
+ "anyOf": [
10805
+ {
10806
+ "type": "string"
10807
+ },
10808
+ {
10809
+ "type": "null"
10810
+ }
10811
+ ],
10812
+ "title": "Error Message",
10813
+ "description": "Error message if batch upload failed",
10814
+ "examples": [
10815
+ "Invalid file format",
10816
+ "Missing required fields"
10817
+ ]
10606
10818
  }
10607
10819
  },
10608
10820
  "type": "object",
@@ -10620,7 +10832,7 @@
10620
10832
  "title": "Batch Id",
10621
10833
  "description": "Unique ID for conversation batch",
10622
10834
  "examples": [
10623
- "20250117.9"
10835
+ "20250409.9"
10624
10836
  ]
10625
10837
  },
10626
10838
  "campaign_id": {
@@ -10643,7 +10855,7 @@
10643
10855
  "title": "Expires On",
10644
10856
  "description": "Timestamp of batch expiration",
10645
10857
  "examples": [
10646
- "2024-01-01T00:00:00Z"
10858
+ "2025-04-10T00:00:00Z"
10647
10859
  ]
10648
10860
  }
10649
10861
  },
@@ -10654,16 +10866,45 @@
10654
10866
  ],
10655
10867
  "title": "CommunicationBatchInput"
10656
10868
  },
10657
- "CommunicationRequest": {
10869
+ "CommunicationBatchUpdate": {
10658
10870
  "properties": {
10659
- "batch_id": {
10660
- "type": "string",
10661
- "title": "Batch Id",
10662
- "description": "Unique ID for conversation batch",
10871
+ "paused": {
10872
+ "anyOf": [
10873
+ {
10874
+ "type": "boolean"
10875
+ },
10876
+ {
10877
+ "type": "null"
10878
+ }
10879
+ ],
10880
+ "title": "Paused",
10881
+ "description": "Whether the batch is on HOLD. When on HOLD, no outreach will be made.",
10663
10882
  "examples": [
10664
- "20250117.9"
10883
+ true,
10884
+ false
10665
10885
  ]
10666
10886
  },
10887
+ "expires_on": {
10888
+ "anyOf": [
10889
+ {
10890
+ "type": "string"
10891
+ },
10892
+ {
10893
+ "type": "null"
10894
+ }
10895
+ ],
10896
+ "title": "Expires On",
10897
+ "description": "Timestamp of batch expiration",
10898
+ "examples": [
10899
+ "2027-01-01T06:00:00Z"
10900
+ ]
10901
+ }
10902
+ },
10903
+ "type": "object",
10904
+ "title": "CommunicationBatchUpdate"
10905
+ },
10906
+ "CommunicationRequest": {
10907
+ "properties": {
10667
10908
  "reference_id": {
10668
10909
  "type": "string",
10669
10910
  "title": "Reference Id",
@@ -10680,19 +10921,6 @@
10680
10921
  "user@email.com"
10681
10922
  ]
10682
10923
  },
10683
- "request_status": {
10684
- "$ref": "#/components/schemas/RequestStatus",
10685
- "description": "Status of request",
10686
- "default": "PENDING",
10687
- "examples": [
10688
- "PENDING",
10689
- "DUPLICATE",
10690
- "INITIATED",
10691
- "CONNECTED",
10692
- "FAILED",
10693
- "CANCELED"
10694
- ]
10695
- },
10696
10924
  "request_variables": {
10697
10925
  "type": "object",
10698
10926
  "title": "Request Variables",
@@ -10701,7 +10929,6 @@
10701
10929
  },
10702
10930
  "type": "object",
10703
10931
  "required": [
10704
- "batch_id",
10705
10932
  "reference_id",
10706
10933
  "target",
10707
10934
  "request_variables"
@@ -10710,14 +10937,6 @@
10710
10937
  },
10711
10938
  "CommunicationRequestResult": {
10712
10939
  "properties": {
10713
- "batch_id": {
10714
- "type": "string",
10715
- "title": "Batch Id",
10716
- "description": "Unique ID for conversation batch",
10717
- "examples": [
10718
- "20250117.9"
10719
- ]
10720
- },
10721
10940
  "reference_id": {
10722
10941
  "type": "string",
10723
10942
  "title": "Reference Id",
@@ -10734,25 +10953,12 @@
10734
10953
  "user@email.com"
10735
10954
  ]
10736
10955
  },
10737
- "request_status": {
10738
- "$ref": "#/components/schemas/RequestStatus",
10739
- "description": "Status of request",
10740
- "default": "PENDING",
10741
- "examples": [
10742
- "PENDING",
10743
- "DUPLICATE",
10744
- "INITIATED",
10745
- "CONNECTED",
10746
- "FAILED",
10747
- "CANCELED"
10748
- ]
10749
- },
10750
10956
  "request_variables": {
10751
10957
  "type": "object",
10752
10958
  "title": "Request Variables",
10753
10959
  "description": "Variables for request"
10754
10960
  },
10755
- "call_manager_sid": {
10961
+ "channel_manager_sid": {
10756
10962
  "anyOf": [
10757
10963
  {
10758
10964
  "type": "string"
@@ -10761,8 +10967,8 @@
10761
10967
  "type": "null"
10762
10968
  }
10763
10969
  ],
10764
- "title": "Call Manager Sid",
10765
- "description": "Call manager SID",
10970
+ "title": "Channel Manager Sid",
10971
+ "description": "Channel manager SID",
10766
10972
  "examples": [
10767
10973
  "LMc4b16a9df2ce33d84b3d30581fe6598c"
10768
10974
  ]
@@ -10772,7 +10978,7 @@
10772
10978
  "title": "Created At",
10773
10979
  "description": "Timestamp of request creation",
10774
10980
  "examples": [
10775
- "2024-01-01T00:00:00Z"
10981
+ "2025-04-08T00:00:00Z"
10776
10982
  ]
10777
10983
  },
10778
10984
  "sent_at": {
@@ -10787,7 +10993,7 @@
10787
10993
  "title": "Sent At",
10788
10994
  "description": "Timestamp at which request was sent",
10789
10995
  "examples": [
10790
- "2024-01-02T00:00:00Z"
10996
+ "2025-04-09T00:00:00Z"
10791
10997
  ]
10792
10998
  },
10793
10999
  "attempt_count": {
@@ -10828,11 +11034,77 @@
10828
11034
  "examples": [
10829
11035
  1
10830
11036
  ]
11037
+ },
11038
+ "request_status": {
11039
+ "$ref": "#/components/schemas/RequestStatus",
11040
+ "description": "Status of request",
11041
+ "default": "PENDING",
11042
+ "examples": [
11043
+ "PENDING",
11044
+ "DUPLICATE",
11045
+ "INITIATED",
11046
+ "CONNECTED",
11047
+ "FAILED",
11048
+ "CANCELED"
11049
+ ]
11050
+ },
11051
+ "channel_manager_status": {
11052
+ "anyOf": [
11053
+ {
11054
+ "type": "string"
11055
+ },
11056
+ {
11057
+ "type": "null"
11058
+ }
11059
+ ],
11060
+ "title": "Channel Manager Status",
11061
+ "description": "Status of request in channel manager",
11062
+ "examples": [
11063
+ "COMPLETED",
11064
+ "FAILED",
11065
+ "NO_ANSWER",
11066
+ "BUSY"
11067
+ ]
11068
+ },
11069
+ "insights_status": {
11070
+ "anyOf": [
11071
+ {
11072
+ "type": "string"
11073
+ },
11074
+ {
11075
+ "type": "null"
11076
+ }
11077
+ ],
11078
+ "title": "Insights Status",
11079
+ "description": "Status of session in insight workflow",
11080
+ "examples": [
11081
+ "PENDING",
11082
+ "PROCESSING",
11083
+ "COMPLETED",
11084
+ "FAILED"
11085
+ ]
11086
+ },
11087
+ "insights": {
11088
+ "anyOf": [
11089
+ {
11090
+ "type": "object"
11091
+ },
11092
+ {
11093
+ "type": "null"
11094
+ }
11095
+ ],
11096
+ "title": "Insights",
11097
+ "description": "Insights from call",
11098
+ "examples": [
11099
+ {
11100
+ "rating": "Good",
11101
+ "summary": "The customer service agent successfully assisted the caller with their inquiry and the call ended positively."
11102
+ }
11103
+ ]
10831
11104
  }
10832
11105
  },
10833
11106
  "type": "object",
10834
11107
  "required": [
10835
- "batch_id",
10836
11108
  "reference_id",
10837
11109
  "target",
10838
11110
  "request_variables"
@@ -10936,29 +11208,53 @@
10936
11208
  "title": "Llm Provider",
10937
11209
  "description": "Provider for the LLM used in the conversation (see PromptResponse.llm_config.provider)"
10938
11210
  },
10939
- "llm_model": {
11211
+ "llm_model": {
11212
+ "anyOf": [
11213
+ {
11214
+ "type": "string"
11215
+ },
11216
+ {
11217
+ "type": "null"
11218
+ }
11219
+ ],
11220
+ "title": "Llm Model",
11221
+ "description": "Model for the LLM used in the conversation (see PromptResponse.llm_config.model)"
11222
+ },
11223
+ "llm_version": {
11224
+ "anyOf": [
11225
+ {
11226
+ "type": "string"
11227
+ },
11228
+ {
11229
+ "type": "null"
11230
+ }
11231
+ ],
11232
+ "title": "Llm Version",
11233
+ "description": "Version for the LLM used in the conversation (see PromptResponse.llm_config.version)"
11234
+ },
11235
+ "llm_temperature": {
10940
11236
  "anyOf": [
10941
11237
  {
10942
- "type": "string"
11238
+ "type": "number"
10943
11239
  },
10944
11240
  {
10945
11241
  "type": "null"
10946
11242
  }
10947
11243
  ],
10948
- "title": "Llm Model",
10949
- "description": "Model for the LLM used in the conversation (see PromptResponse.llm_config.model)"
11244
+ "title": "Llm Temperature",
11245
+ "description": "Temperature for the LLM used in the conversation (see PromptResponse.llm_config.temperature)"
10950
11246
  },
10951
- "llm_version": {
11247
+ "llm_seed": {
10952
11248
  "anyOf": [
10953
11249
  {
10954
- "type": "string"
11250
+ "type": "integer"
10955
11251
  },
10956
11252
  {
10957
11253
  "type": "null"
10958
11254
  }
10959
11255
  ],
10960
- "title": "Llm Version",
10961
- "description": "Version for the LLM used in the conversation (see PromptResponse.llm_config.version)"
11256
+ "title": "Llm Seed",
11257
+ "description": "Seed for the LLM used in the conversation (see PromptResponse.llm_config.seed)."
10962
11258
  },
10963
11259
  "is_legacy": {
10964
11260
  "anyOf": [
@@ -12052,6 +12348,20 @@
12052
12348
  "title": "DayOfWeek",
12053
12349
  "description": "Available options for day of the week for use in message rules."
12054
12350
  },
12351
+ "DaysOfWeek": {
12352
+ "type": "string",
12353
+ "enum": [
12354
+ "mon",
12355
+ "tue",
12356
+ "wed",
12357
+ "thu",
12358
+ "fri",
12359
+ "sat",
12360
+ "sun"
12361
+ ],
12362
+ "title": "DaysOfWeek",
12363
+ "description": "Enum representing days of the week."
12364
+ },
12055
12365
  "DialogMessage": {
12056
12366
  "properties": {
12057
12367
  "text": {
@@ -12348,63 +12658,399 @@
12348
12658
  "type": "null"
12349
12659
  }
12350
12660
  ],
12351
- "title": "Last Updated By",
12352
- "description": ""
12661
+ "title": "Last Updated By",
12662
+ "description": ""
12663
+ }
12664
+ },
12665
+ "type": "object",
12666
+ "required": [
12667
+ "name",
12668
+ "type"
12669
+ ],
12670
+ "title": "DirectoryMemberCreate",
12671
+ "description": "Request model to create a directory member."
12672
+ },
12673
+ "DirectoryMemberProperties": {
12674
+ "type": "string",
12675
+ "enum": [
12676
+ "id",
12677
+ "name",
12678
+ "type",
12679
+ "extensions",
12680
+ "contact_tags",
12681
+ "updated_at"
12682
+ ],
12683
+ "title": "DirectoryMemberProperties"
12684
+ },
12685
+ "Event": {
12686
+ "properties": {
12687
+ "timestamp": {
12688
+ "type": "string",
12689
+ "format": "date-time",
12690
+ "title": "Timestamp",
12691
+ "description": "Timestamp at which the event occurred"
12692
+ },
12693
+ "session_id": {
12694
+ "anyOf": [
12695
+ {
12696
+ "type": "string"
12697
+ },
12698
+ {
12699
+ "type": "null"
12700
+ }
12701
+ ],
12702
+ "title": "Session Id",
12703
+ "description": "ID of the session in which the event occurred"
12704
+ },
12705
+ "conversation_id": {
12706
+ "anyOf": [
12707
+ {
12708
+ "type": "string"
12709
+ },
12710
+ {
12711
+ "type": "null"
12712
+ }
12713
+ ],
12714
+ "title": "Conversation Id",
12715
+ "description": "ID of the conversation associated with the session in which the event occurred"
12716
+ },
12717
+ "source": {
12718
+ "anyOf": [
12719
+ {
12720
+ "type": "string"
12721
+ },
12722
+ {
12723
+ "type": "null"
12724
+ }
12725
+ ],
12726
+ "title": "Source",
12727
+ "description": "Source of the event (either a tool call or an LLM prompt)",
12728
+ "examples": [
12729
+ "tool-call"
12730
+ ]
12731
+ },
12732
+ "source_id": {
12733
+ "anyOf": [
12734
+ {
12735
+ "type": "string"
12736
+ },
12737
+ {
12738
+ "type": "null"
12739
+ }
12740
+ ],
12741
+ "title": "Source Id",
12742
+ "description": "ID of the source of the event (either a tool ID or a prompt ID)"
12743
+ },
12744
+ "category": {
12745
+ "anyOf": [
12746
+ {
12747
+ "type": "string"
12748
+ },
12749
+ {
12750
+ "type": "null"
12751
+ }
12752
+ ],
12753
+ "title": "Category",
12754
+ "description": "Broad categorization of the event",
12755
+ "examples": [
12756
+ "automation"
12757
+ ]
12758
+ },
12759
+ "type": {
12760
+ "anyOf": [
12761
+ {
12762
+ "type": "string"
12763
+ },
12764
+ {
12765
+ "type": "null"
12766
+ }
12767
+ ],
12768
+ "title": "Type",
12769
+ "description": "More specific class of the event",
12770
+ "examples": [
12771
+ "phone-transfer"
12772
+ ]
12773
+ },
12774
+ "user_id": {
12775
+ "anyOf": [
12776
+ {
12777
+ "type": "string"
12778
+ },
12779
+ {
12780
+ "type": "null"
12781
+ }
12782
+ ],
12783
+ "title": "User Id",
12784
+ "description": "ID of the user interacting with the system when the event occurred (e.g., their phone number)",
12785
+ "examples": [
12786
+ "+18042221111"
12787
+ ]
12788
+ },
12789
+ "description": {
12790
+ "anyOf": [
12791
+ {
12792
+ "type": "string"
12793
+ },
12794
+ {
12795
+ "type": "null"
12796
+ }
12797
+ ],
12798
+ "title": "Description",
12799
+ "description": "Human-readable description of the event",
12800
+ "examples": [
12801
+ "Transfer to phone number +18042221111"
12802
+ ]
12803
+ },
12804
+ "attributes": {
12805
+ "anyOf": [
12806
+ {
12807
+ "type": "object"
12808
+ },
12809
+ {
12810
+ "type": "null"
12811
+ }
12812
+ ],
12813
+ "title": "Attributes",
12814
+ "description": "Arbitrary additional metadata for the event"
12815
+ }
12816
+ },
12817
+ "type": "object",
12818
+ "required": [
12819
+ "timestamp"
12820
+ ],
12821
+ "title": "Event",
12822
+ "description": "An event represents a specific occurrence during a session."
12823
+ },
12824
+ "EventProperties": {
12825
+ "type": "string",
12826
+ "enum": [
12827
+ "timestamp",
12828
+ "session_id",
12829
+ "conversation_id",
12830
+ "source",
12831
+ "source_id",
12832
+ "category",
12833
+ "type",
12834
+ "user_id",
12835
+ "description",
12836
+ "attributes"
12837
+ ],
12838
+ "title": "EventProperties"
12839
+ },
12840
+ "HTTPValidationError": {
12841
+ "properties": {
12842
+ "detail": {
12843
+ "items": {
12844
+ "$ref": "#/components/schemas/ValidationError"
12845
+ },
12846
+ "type": "array",
12847
+ "title": "Detail"
12848
+ }
12849
+ },
12850
+ "type": "object",
12851
+ "title": "HTTPValidationError"
12852
+ },
12853
+ "IncidentCreateRequest": {
12854
+ "properties": {
12855
+ "description": {
12856
+ "type": "string",
12857
+ "title": "Description",
12858
+ "description": "Description of the service incident",
12859
+ "example": "Service outage in region X"
12860
+ },
12861
+ "start_datetime": {
12862
+ "type": "string",
12863
+ "format": "date-time",
12864
+ "title": "Start Datetime",
12865
+ "description": "Start time of the incident",
12866
+ "example": "2023-10-01T08:00:00Z"
12867
+ },
12868
+ "resolution_datetime": {
12869
+ "type": "string",
12870
+ "format": "date-time",
12871
+ "title": "Resolution Datetime",
12872
+ "description": "Resolution time of the incident",
12873
+ "example": "2023-10-01T12:00:00Z"
12874
+ },
12875
+ "impact_category": {
12876
+ "type": "string",
12877
+ "title": "Impact Category",
12878
+ "description": "Category of the impact",
12879
+ "example": "High"
12880
+ },
12881
+ "sessions_impacted": {
12882
+ "type": "integer",
12883
+ "title": "Sessions Impacted",
12884
+ "description": "Number of sessions impacted",
12885
+ "example": 1500
12886
+ },
12887
+ "markdown": {
12888
+ "type": "string",
12889
+ "title": "Markdown",
12890
+ "description": "Detailed markdown description of the incident",
12891
+ "example": "**Incident Details**"
12892
+ },
12893
+ "organization_id": {
12894
+ "anyOf": [
12895
+ {
12896
+ "type": "integer"
12897
+ },
12898
+ {
12899
+ "type": "null"
12900
+ }
12901
+ ],
12902
+ "title": "Organization Id",
12903
+ "description": "The ID of the organization",
12904
+ "example": 123
12905
+ },
12906
+ "sub_organization_id": {
12907
+ "anyOf": [
12908
+ {
12909
+ "type": "integer"
12910
+ },
12911
+ {
12912
+ "type": "null"
12913
+ }
12914
+ ],
12915
+ "title": "Sub Organization Id",
12916
+ "description": "The ID of the sub-organization",
12917
+ "example": 456
12918
+ },
12919
+ "sub_organization": {
12920
+ "anyOf": [
12921
+ {
12922
+ "type": "string"
12923
+ },
12924
+ {
12925
+ "type": "null"
12926
+ }
12927
+ ],
12928
+ "title": "Sub Organization",
12929
+ "description": "The name of the sub-organization",
12930
+ "example": "SubOrg A"
12931
+ }
12932
+ },
12933
+ "type": "object",
12934
+ "required": [
12935
+ "description",
12936
+ "start_datetime",
12937
+ "resolution_datetime",
12938
+ "impact_category",
12939
+ "sessions_impacted",
12940
+ "markdown"
12941
+ ],
12942
+ "title": "IncidentCreateRequest",
12943
+ "description": "Request model to create a service incident."
12944
+ },
12945
+ "IncidentOrganizationResponse": {
12946
+ "properties": {
12947
+ "id": {
12948
+ "type": "integer",
12949
+ "title": "Id"
12950
+ },
12951
+ "name": {
12952
+ "type": "string",
12953
+ "title": "Name"
12954
+ },
12955
+ "display_name": {
12956
+ "type": "string",
12957
+ "title": "Display Name"
12353
12958
  }
12354
12959
  },
12355
12960
  "type": "object",
12356
12961
  "required": [
12962
+ "id",
12357
12963
  "name",
12358
- "type"
12964
+ "display_name"
12359
12965
  ],
12360
- "title": "DirectoryMemberCreate",
12361
- "description": "Request model to create a directory member."
12966
+ "title": "IncidentOrganizationResponse"
12362
12967
  },
12363
- "DirectoryMemberProperties": {
12968
+ "IncidentProperties": {
12364
12969
  "type": "string",
12365
12970
  "enum": [
12366
12971
  "id",
12367
- "name",
12368
- "type",
12369
- "extensions",
12370
- "contact_tags",
12371
- "updated_at"
12972
+ "description",
12973
+ "impact_category",
12974
+ "sessions_impacted",
12975
+ "markdown",
12976
+ "created_at",
12977
+ "updated_at",
12978
+ "organization_id",
12979
+ "sub_organization_id",
12980
+ "start_datetime",
12981
+ "end_datetime",
12982
+ "resolution_datetime"
12372
12983
  ],
12373
- "title": "DirectoryMemberProperties"
12984
+ "title": "IncidentProperties",
12985
+ "description": "Names of agent fields supported for filtering/sorting on list endpoint."
12374
12986
  },
12375
- "Event": {
12987
+ "IncidentResponse": {
12376
12988
  "properties": {
12377
- "timestamp": {
12989
+ "description": {
12990
+ "type": "string",
12991
+ "title": "Description",
12992
+ "description": "Description of the service incident",
12993
+ "example": "Service outage in region X"
12994
+ },
12995
+ "start_datetime": {
12378
12996
  "type": "string",
12379
12997
  "format": "date-time",
12380
- "title": "Timestamp",
12381
- "description": "Timestamp at which the event occurred"
12998
+ "title": "Start Datetime",
12999
+ "description": "Start time of the incident",
13000
+ "example": "2023-10-01T08:00:00Z"
12382
13001
  },
12383
- "session_id": {
13002
+ "resolution_datetime": {
13003
+ "type": "string",
13004
+ "format": "date-time",
13005
+ "title": "Resolution Datetime",
13006
+ "description": "Resolution time of the incident",
13007
+ "example": "2023-10-01T12:00:00Z"
13008
+ },
13009
+ "impact_category": {
13010
+ "type": "string",
13011
+ "title": "Impact Category",
13012
+ "description": "Category of the impact",
13013
+ "example": "High"
13014
+ },
13015
+ "sessions_impacted": {
13016
+ "type": "integer",
13017
+ "title": "Sessions Impacted",
13018
+ "description": "Number of sessions impacted",
13019
+ "example": 1500
13020
+ },
13021
+ "markdown": {
13022
+ "type": "string",
13023
+ "title": "Markdown",
13024
+ "description": "Detailed markdown description of the incident",
13025
+ "example": "**Incident Details**"
13026
+ },
13027
+ "organization_id": {
12384
13028
  "anyOf": [
12385
13029
  {
12386
- "type": "string"
13030
+ "type": "integer"
12387
13031
  },
12388
13032
  {
12389
13033
  "type": "null"
12390
13034
  }
12391
13035
  ],
12392
- "title": "Session Id",
12393
- "description": "ID of the session in which the event occurred"
13036
+ "title": "Organization Id",
13037
+ "description": "The ID of the organization",
13038
+ "example": 123
12394
13039
  },
12395
- "conversation_id": {
13040
+ "sub_organization_id": {
12396
13041
  "anyOf": [
12397
13042
  {
12398
- "type": "string"
13043
+ "type": "integer"
12399
13044
  },
12400
13045
  {
12401
13046
  "type": "null"
12402
13047
  }
12403
13048
  ],
12404
- "title": "Conversation Id",
12405
- "description": "ID of the conversation associated with the session in which the event occurred"
13049
+ "title": "Sub Organization Id",
13050
+ "description": "The ID of the sub-organization",
13051
+ "example": 456
12406
13052
  },
12407
- "source": {
13053
+ "sub_organization": {
12408
13054
  "anyOf": [
12409
13055
  {
12410
13056
  "type": "string"
@@ -12413,70 +13059,125 @@
12413
13059
  "type": "null"
12414
13060
  }
12415
13061
  ],
12416
- "title": "Source",
12417
- "description": "Source of the event (either a tool call or an LLM prompt)",
12418
- "examples": [
12419
- "tool-call"
12420
- ]
13062
+ "title": "Sub Organization",
13063
+ "description": "The name of the sub-organization",
13064
+ "example": "SubOrg A"
12421
13065
  },
12422
- "source_id": {
13066
+ "id": {
13067
+ "type": "integer",
13068
+ "title": "Id",
13069
+ "description": "The ID of the incident to update",
13070
+ "example": 1
13071
+ },
13072
+ "created_at": {
12423
13073
  "anyOf": [
12424
13074
  {
12425
- "type": "string"
13075
+ "type": "string",
13076
+ "format": "date-time"
12426
13077
  },
12427
13078
  {
12428
13079
  "type": "null"
12429
13080
  }
12430
13081
  ],
12431
- "title": "Source Id",
12432
- "description": "ID of the source of the event (either a tool ID or a prompt ID)"
13082
+ "title": "Created At",
13083
+ "description": "Creation time of the incident",
13084
+ "example": "2023-10-01T08:00:00Z"
12433
13085
  },
12434
- "category": {
13086
+ "updated_at": {
12435
13087
  "anyOf": [
12436
13088
  {
12437
- "type": "string"
13089
+ "type": "string",
13090
+ "format": "date-time"
12438
13091
  },
12439
13092
  {
12440
13093
  "type": "null"
12441
13094
  }
12442
13095
  ],
12443
- "title": "Category",
12444
- "description": "Broad categorization of the event",
12445
- "examples": [
12446
- "automation"
12447
- ]
13096
+ "title": "Updated At",
13097
+ "description": "Last update time of the incident",
13098
+ "example": "2023-10-01T08:00:00Z"
13099
+ }
13100
+ },
13101
+ "type": "object",
13102
+ "required": [
13103
+ "description",
13104
+ "start_datetime",
13105
+ "resolution_datetime",
13106
+ "impact_category",
13107
+ "sessions_impacted",
13108
+ "markdown",
13109
+ "id"
13110
+ ],
13111
+ "title": "IncidentResponse",
13112
+ "description": "Response model for service incident operations."
13113
+ },
13114
+ "IncidentUpdateRequest": {
13115
+ "properties": {
13116
+ "description": {
13117
+ "type": "string",
13118
+ "title": "Description",
13119
+ "description": "Description of the service incident",
13120
+ "example": "Service outage in region X"
12448
13121
  },
12449
- "type": {
13122
+ "start_datetime": {
13123
+ "type": "string",
13124
+ "format": "date-time",
13125
+ "title": "Start Datetime",
13126
+ "description": "Start time of the incident",
13127
+ "example": "2023-10-01T08:00:00Z"
13128
+ },
13129
+ "resolution_datetime": {
13130
+ "type": "string",
13131
+ "format": "date-time",
13132
+ "title": "Resolution Datetime",
13133
+ "description": "Resolution time of the incident",
13134
+ "example": "2023-10-01T12:00:00Z"
13135
+ },
13136
+ "impact_category": {
13137
+ "type": "string",
13138
+ "title": "Impact Category",
13139
+ "description": "Category of the impact",
13140
+ "example": "High"
13141
+ },
13142
+ "sessions_impacted": {
13143
+ "type": "integer",
13144
+ "title": "Sessions Impacted",
13145
+ "description": "Number of sessions impacted",
13146
+ "example": 1500
13147
+ },
13148
+ "markdown": {
13149
+ "type": "string",
13150
+ "title": "Markdown",
13151
+ "description": "Detailed markdown description of the incident",
13152
+ "example": "**Incident Details**"
13153
+ },
13154
+ "organization_id": {
12450
13155
  "anyOf": [
12451
13156
  {
12452
- "type": "string"
13157
+ "type": "integer"
12453
13158
  },
12454
13159
  {
12455
13160
  "type": "null"
12456
13161
  }
12457
13162
  ],
12458
- "title": "Type",
12459
- "description": "More specific class of the event",
12460
- "examples": [
12461
- "phone-transfer"
12462
- ]
13163
+ "title": "Organization Id",
13164
+ "description": "The ID of the organization",
13165
+ "example": 123
12463
13166
  },
12464
- "user_id": {
13167
+ "sub_organization_id": {
12465
13168
  "anyOf": [
12466
13169
  {
12467
- "type": "string"
13170
+ "type": "integer"
12468
13171
  },
12469
13172
  {
12470
13173
  "type": "null"
12471
13174
  }
12472
13175
  ],
12473
- "title": "User Id",
12474
- "description": "ID of the user interacting with the system when the event occurred (e.g., their phone number)",
12475
- "examples": [
12476
- "+18042221111"
12477
- ]
13176
+ "title": "Sub Organization Id",
13177
+ "description": "The ID of the sub-organization",
13178
+ "example": 456
12478
13179
  },
12479
- "description": {
13180
+ "sub_organization": {
12480
13181
  "anyOf": [
12481
13182
  {
12482
13183
  "type": "string"
@@ -12485,60 +13186,57 @@
12485
13186
  "type": "null"
12486
13187
  }
12487
13188
  ],
12488
- "title": "Description",
12489
- "description": "Human-readable description of the event",
12490
- "examples": [
12491
- "Transfer to phone number +18042221111"
12492
- ]
13189
+ "title": "Sub Organization",
13190
+ "description": "The name of the sub-organization",
13191
+ "example": "SubOrg A"
12493
13192
  },
12494
- "attributes": {
13193
+ "id": {
13194
+ "type": "integer",
13195
+ "title": "Id",
13196
+ "description": "The ID of the incident to update",
13197
+ "example": 1
13198
+ },
13199
+ "created_at": {
12495
13200
  "anyOf": [
12496
13201
  {
12497
- "type": "object"
13202
+ "type": "string",
13203
+ "format": "date-time"
12498
13204
  },
12499
13205
  {
12500
13206
  "type": "null"
12501
13207
  }
12502
13208
  ],
12503
- "title": "Attributes",
12504
- "description": "Arbitrary additional metadata for the event"
13209
+ "title": "Created At",
13210
+ "description": "Creation time of the incident",
13211
+ "example": "2023-10-01T08:00:00Z"
13212
+ },
13213
+ "updated_at": {
13214
+ "anyOf": [
13215
+ {
13216
+ "type": "string",
13217
+ "format": "date-time"
13218
+ },
13219
+ {
13220
+ "type": "null"
13221
+ }
13222
+ ],
13223
+ "title": "Updated At",
13224
+ "description": "Last update time of the incident",
13225
+ "example": "2023-10-01T08:00:00Z"
12505
13226
  }
12506
13227
  },
12507
13228
  "type": "object",
12508
13229
  "required": [
12509
- "timestamp"
12510
- ],
12511
- "title": "Event",
12512
- "description": "An event represents a specific occurrence during a session."
12513
- },
12514
- "EventProperties": {
12515
- "type": "string",
12516
- "enum": [
12517
- "timestamp",
12518
- "session_id",
12519
- "conversation_id",
12520
- "source",
12521
- "source_id",
12522
- "category",
12523
- "type",
12524
- "user_id",
12525
13230
  "description",
12526
- "attributes"
13231
+ "start_datetime",
13232
+ "resolution_datetime",
13233
+ "impact_category",
13234
+ "sessions_impacted",
13235
+ "markdown",
13236
+ "id"
12527
13237
  ],
12528
- "title": "EventProperties"
12529
- },
12530
- "HTTPValidationError": {
12531
- "properties": {
12532
- "detail": {
12533
- "items": {
12534
- "$ref": "#/components/schemas/ValidationError"
12535
- },
12536
- "type": "array",
12537
- "title": "Detail"
12538
- }
12539
- },
12540
- "type": "object",
12541
- "title": "HTTPValidationError"
13238
+ "title": "IncidentUpdateRequest",
13239
+ "description": "Request model to update an existing service incident."
12542
13240
  },
12543
13241
  "InsightToolDefinition": {
12544
13242
  "properties": {
@@ -12729,7 +13427,7 @@
12729
13427
  "title": "Created At",
12730
13428
  "description": "Timestamp of at which insight tool was created",
12731
13429
  "examples": [
12732
- "2024-01-01T00:00:00Z"
13430
+ "2025-04-08T00:00:00Z"
12733
13431
  ]
12734
13432
  },
12735
13433
  "updated_at": {
@@ -12738,7 +13436,7 @@
12738
13436
  "title": "Updated At",
12739
13437
  "description": "Timestamp at which insight tool was last updated",
12740
13438
  "examples": [
12741
- "2024-01-02T00:00:00Z"
13439
+ "2025-04-09T00:00:00Z"
12742
13440
  ]
12743
13441
  },
12744
13442
  "last_updated_by": {
@@ -12775,6 +13473,33 @@
12775
13473
  ],
12776
13474
  "title": "InsightToolProperties"
12777
13475
  },
13476
+ "InsightToolTestInput": {
13477
+ "properties": {
13478
+ "tool_name": {
13479
+ "type": "string",
13480
+ "title": "Tool Name",
13481
+ "description": "Human readable name of insight tool",
13482
+ "examples": [
13483
+ "summary-tool"
13484
+ ]
13485
+ },
13486
+ "session_id": {
13487
+ "type": "integer",
13488
+ "title": "Session Id",
13489
+ "description": "The session ID of the session to run the tool against",
13490
+ "examples": [
13491
+ "283467"
13492
+ ]
13493
+ }
13494
+ },
13495
+ "type": "object",
13496
+ "required": [
13497
+ "tool_name",
13498
+ "session_id"
13499
+ ],
13500
+ "title": "InsightToolTestInput",
13501
+ "description": "Request model to test an insight tool."
13502
+ },
12778
13503
  "InsightWorkflowInput": {
12779
13504
  "properties": {
12780
13505
  "name": {
@@ -12907,7 +13632,7 @@
12907
13632
  "title": "Created At",
12908
13633
  "description": "Timestamp at which the insight workflow was created",
12909
13634
  "examples": [
12910
- "2024-01-01T00:00:00Z"
13635
+ "2025-04-08T00:00:00Z"
12911
13636
  ]
12912
13637
  },
12913
13638
  "updated_at": {
@@ -12916,7 +13641,7 @@
12916
13641
  "title": "Updated At",
12917
13642
  "description": "Timestamp of most recent update to the insight workflow",
12918
13643
  "examples": [
12919
- "2024-01-02T00:00:00Z"
13644
+ "2025-04-09T00:00:00Z"
12920
13645
  ]
12921
13646
  },
12922
13647
  "last_updated_by": {
@@ -13045,7 +13770,7 @@
13045
13770
  "title": "Created At",
13046
13771
  "description": "Timestamp at which insight tool result was created",
13047
13772
  "examples": [
13048
- "2024-01-01T00:00:00Z"
13773
+ "2025-04-08T00:00:00Z"
13049
13774
  ]
13050
13775
  },
13051
13776
  "updated_at": {
@@ -13054,7 +13779,7 @@
13054
13779
  "title": "Updated At",
13055
13780
  "description": "Timestamp at which insight tool result was last updated",
13056
13781
  "examples": [
13057
- "2024-01-02T00:00:00Z"
13782
+ "2025-04-09T00:00:00Z"
13058
13783
  ]
13059
13784
  }
13060
13785
  },
@@ -13110,6 +13835,35 @@
13110
13835
  "title": "InsightsWorkflowQueueSession",
13111
13836
  "description": "Session identifier for workflow queue."
13112
13837
  },
13838
+ "InspectLatencyResponse": {
13839
+ "properties": {
13840
+ "session_id": {
13841
+ "type": "string",
13842
+ "title": "Session Id"
13843
+ },
13844
+ "timeline": {
13845
+ "items": {
13846
+ "$ref": "#/components/schemas/LatencyEntry"
13847
+ },
13848
+ "type": "array",
13849
+ "title": "Timeline"
13850
+ },
13851
+ "summary": {
13852
+ "items": {
13853
+ "$ref": "#/components/schemas/SummaryEntry"
13854
+ },
13855
+ "type": "array",
13856
+ "title": "Summary"
13857
+ }
13858
+ },
13859
+ "type": "object",
13860
+ "required": [
13861
+ "session_id",
13862
+ "timeline"
13863
+ ],
13864
+ "title": "InspectLatencyResponse",
13865
+ "description": "This is a report of the time spent in each operation during this session. It contains a timeline,\nwhich lists the operations in the order they were executed, and a summary, which aggregates the\noperations by category and sub-category."
13866
+ },
13113
13867
  "InternalTool": {
13114
13868
  "properties": {
13115
13869
  "type": {
@@ -13521,6 +14275,91 @@
13521
14275
  "title": "LanguageGroupUpdateRequest",
13522
14276
  "description": "Request model to update an existing language group."
13523
14277
  },
14278
+ "LatencyCategory": {
14279
+ "type": "string",
14280
+ "enum": [
14281
+ "tts",
14282
+ "stt",
14283
+ "llm",
14284
+ "tool",
14285
+ "http"
14286
+ ],
14287
+ "title": "LatencyCategory"
14288
+ },
14289
+ "LatencyEntry": {
14290
+ "properties": {
14291
+ "timestamp": {
14292
+ "type": "string",
14293
+ "format": "date-time",
14294
+ "title": "Timestamp"
14295
+ },
14296
+ "measurement_start": {
14297
+ "type": "string",
14298
+ "format": "date-time",
14299
+ "title": "Measurement Start"
14300
+ },
14301
+ "category": {
14302
+ "$ref": "#/components/schemas/LatencyCategory"
14303
+ },
14304
+ "label": {
14305
+ "type": "string",
14306
+ "title": "Label"
14307
+ },
14308
+ "metadata": {
14309
+ "anyOf": [
14310
+ {
14311
+ "items": {
14312
+ "type": "string"
14313
+ },
14314
+ "type": "array"
14315
+ },
14316
+ {
14317
+ "type": "null"
14318
+ }
14319
+ ],
14320
+ "title": "Metadata"
14321
+ },
14322
+ "unit_type": {
14323
+ "$ref": "#/components/schemas/LatencyUnitType"
14324
+ },
14325
+ "value": {
14326
+ "type": "number",
14327
+ "title": "Value"
14328
+ },
14329
+ "value_str": {
14330
+ "type": "string",
14331
+ "title": "Value Str"
14332
+ },
14333
+ "time_delta": {
14334
+ "type": "string",
14335
+ "title": "Time Delta"
14336
+ }
14337
+ },
14338
+ "type": "object",
14339
+ "required": [
14340
+ "timestamp",
14341
+ "measurement_start",
14342
+ "category",
14343
+ "label",
14344
+ "unit_type",
14345
+ "value",
14346
+ "value_str",
14347
+ "time_delta"
14348
+ ],
14349
+ "title": "LatencyEntry",
14350
+ "description": "Data model for latency entries."
14351
+ },
14352
+ "LatencyUnitType": {
14353
+ "type": "string",
14354
+ "enum": [
14355
+ "minutes",
14356
+ "seconds",
14357
+ "milliseconds",
14358
+ "microseconds",
14359
+ "nanoseconds"
14360
+ ],
14361
+ "title": "LatencyUnitType"
14362
+ },
13524
14363
  "ListResponse_AgentResponse_": {
13525
14364
  "properties": {
13526
14365
  "items": {
@@ -13785,6 +14624,72 @@
13785
14624
  ],
13786
14625
  "title": "ListResponse[Channel]"
13787
14626
  },
14627
+ "ListResponse_CommunicationBatch_": {
14628
+ "properties": {
14629
+ "items": {
14630
+ "items": {
14631
+ "$ref": "#/components/schemas/CommunicationBatch"
14632
+ },
14633
+ "type": "array",
14634
+ "title": "Items",
14635
+ "description": "List of items returned from the query",
14636
+ "examples": []
14637
+ },
14638
+ "page": {
14639
+ "type": "integer",
14640
+ "title": "Page",
14641
+ "description": "The page number of the results (0-based)",
14642
+ "examples": [
14643
+ 0
14644
+ ]
14645
+ },
14646
+ "page_size": {
14647
+ "type": "integer",
14648
+ "title": "Page Size",
14649
+ "description": "The number of items returned per page",
14650
+ "examples": [
14651
+ 25
14652
+ ]
14653
+ },
14654
+ "total_pages": {
14655
+ "anyOf": [
14656
+ {
14657
+ "type": "integer"
14658
+ },
14659
+ {
14660
+ "type": "null"
14661
+ }
14662
+ ],
14663
+ "title": "Total Pages",
14664
+ "description": "The total number of pages of results given the indicated page size",
14665
+ "examples": [
14666
+ 4
14667
+ ]
14668
+ },
14669
+ "total_count": {
14670
+ "anyOf": [
14671
+ {
14672
+ "type": "integer"
14673
+ },
14674
+ {
14675
+ "type": "null"
14676
+ }
14677
+ ],
14678
+ "title": "Total Count",
14679
+ "description": "The total number of items returned from the query",
14680
+ "examples": [
14681
+ 100
14682
+ ]
14683
+ }
14684
+ },
14685
+ "type": "object",
14686
+ "required": [
14687
+ "items",
14688
+ "page",
14689
+ "page_size"
14690
+ ],
14691
+ "title": "ListResponse[CommunicationBatch]"
14692
+ },
13788
14693
  "ListResponse_Conversation_": {
13789
14694
  "properties": {
13790
14695
  "items": {
@@ -14181,6 +15086,72 @@
14181
15086
  ],
14182
15087
  "title": "ListResponse[Event]"
14183
15088
  },
15089
+ "ListResponse_IncidentResponse_": {
15090
+ "properties": {
15091
+ "items": {
15092
+ "items": {
15093
+ "$ref": "#/components/schemas/IncidentResponse"
15094
+ },
15095
+ "type": "array",
15096
+ "title": "Items",
15097
+ "description": "List of items returned from the query",
15098
+ "examples": []
15099
+ },
15100
+ "page": {
15101
+ "type": "integer",
15102
+ "title": "Page",
15103
+ "description": "The page number of the results (0-based)",
15104
+ "examples": [
15105
+ 0
15106
+ ]
15107
+ },
15108
+ "page_size": {
15109
+ "type": "integer",
15110
+ "title": "Page Size",
15111
+ "description": "The number of items returned per page",
15112
+ "examples": [
15113
+ 25
15114
+ ]
15115
+ },
15116
+ "total_pages": {
15117
+ "anyOf": [
15118
+ {
15119
+ "type": "integer"
15120
+ },
15121
+ {
15122
+ "type": "null"
15123
+ }
15124
+ ],
15125
+ "title": "Total Pages",
15126
+ "description": "The total number of pages of results given the indicated page size",
15127
+ "examples": [
15128
+ 4
15129
+ ]
15130
+ },
15131
+ "total_count": {
15132
+ "anyOf": [
15133
+ {
15134
+ "type": "integer"
15135
+ },
15136
+ {
15137
+ "type": "null"
15138
+ }
15139
+ ],
15140
+ "title": "Total Count",
15141
+ "description": "The total number of items returned from the query",
15142
+ "examples": [
15143
+ 100
15144
+ ]
15145
+ }
15146
+ },
15147
+ "type": "object",
15148
+ "required": [
15149
+ "items",
15150
+ "page",
15151
+ "page_size"
15152
+ ],
15153
+ "title": "ListResponse[IncidentResponse]"
15154
+ },
14184
15155
  "ListResponse_InsightToolOutput_": {
14185
15156
  "properties": {
14186
15157
  "items": {
@@ -14445,6 +15416,72 @@
14445
15416
  ],
14446
15417
  "title": "ListResponse[LanguageGroupResponse]"
14447
15418
  },
15419
+ "ListResponse_OutboundCampaign_": {
15420
+ "properties": {
15421
+ "items": {
15422
+ "items": {
15423
+ "$ref": "#/components/schemas/OutboundCampaign"
15424
+ },
15425
+ "type": "array",
15426
+ "title": "Items",
15427
+ "description": "List of items returned from the query",
15428
+ "examples": []
15429
+ },
15430
+ "page": {
15431
+ "type": "integer",
15432
+ "title": "Page",
15433
+ "description": "The page number of the results (0-based)",
15434
+ "examples": [
15435
+ 0
15436
+ ]
15437
+ },
15438
+ "page_size": {
15439
+ "type": "integer",
15440
+ "title": "Page Size",
15441
+ "description": "The number of items returned per page",
15442
+ "examples": [
15443
+ 25
15444
+ ]
15445
+ },
15446
+ "total_pages": {
15447
+ "anyOf": [
15448
+ {
15449
+ "type": "integer"
15450
+ },
15451
+ {
15452
+ "type": "null"
15453
+ }
15454
+ ],
15455
+ "title": "Total Pages",
15456
+ "description": "The total number of pages of results given the indicated page size",
15457
+ "examples": [
15458
+ 4
15459
+ ]
15460
+ },
15461
+ "total_count": {
15462
+ "anyOf": [
15463
+ {
15464
+ "type": "integer"
15465
+ },
15466
+ {
15467
+ "type": "null"
15468
+ }
15469
+ ],
15470
+ "title": "Total Count",
15471
+ "description": "The total number of items returned from the query",
15472
+ "examples": [
15473
+ 100
15474
+ ]
15475
+ }
15476
+ },
15477
+ "type": "object",
15478
+ "required": [
15479
+ "items",
15480
+ "page",
15481
+ "page_size"
15482
+ ],
15483
+ "title": "ListResponse[OutboundCampaign]"
15484
+ },
14448
15485
  "ListResponse_PromptResponse_": {
14449
15486
  "properties": {
14450
15487
  "items": {
@@ -14794,6 +15831,37 @@
14794
15831
  "Outbound Campaign 1"
14795
15832
  ]
14796
15833
  },
15834
+ "description": {
15835
+ "anyOf": [
15836
+ {
15837
+ "type": "string"
15838
+ },
15839
+ {
15840
+ "type": "null"
15841
+ }
15842
+ ],
15843
+ "title": "Description",
15844
+ "description": "Description of campaign",
15845
+ "examples": [
15846
+ "This is a test campaign"
15847
+ ]
15848
+ },
15849
+ "label": {
15850
+ "anyOf": [
15851
+ {
15852
+ "type": "string"
15853
+ },
15854
+ {
15855
+ "type": "null"
15856
+ }
15857
+ ],
15858
+ "title": "Label",
15859
+ "description": "Label for campaign",
15860
+ "examples": [
15861
+ "test",
15862
+ "demo"
15863
+ ]
15864
+ },
14797
15865
  "campaign_variables": {
14798
15866
  "type": "object",
14799
15867
  "title": "Campaign Variables",
@@ -14860,13 +15928,13 @@
14860
15928
  19995551234
14861
15929
  ]
14862
15930
  },
14863
- "rate": {
15931
+ "hourly_rate": {
14864
15932
  "type": "integer",
14865
- "title": "Rate",
14866
- "description": "Target number of outreach calls per minute",
15933
+ "title": "Hourly Rate",
15934
+ "description": "Target number of outreach calls per hour",
14867
15935
  "default": 1,
14868
15936
  "examples": [
14869
- 5
15937
+ 25
14870
15938
  ]
14871
15939
  },
14872
15940
  "retry_count": {
@@ -14895,19 +15963,15 @@
14895
15963
  "7d"
14896
15964
  ]
14897
15965
  },
14898
- "pause_seconds": {
14899
- "anyOf": [
14900
- {
14901
- "type": "integer"
14902
- },
14903
- {
14904
- "type": "null"
14905
- }
14906
- ],
14907
- "title": "Pause Seconds",
14908
- "description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute",
15966
+ "active_days": {
15967
+ "items": {
15968
+ "$ref": "#/components/schemas/DaysOfWeek"
15969
+ },
15970
+ "type": "array",
15971
+ "title": "Active Days",
15972
+ "description": "Days of the week when campaign is active",
14909
15973
  "examples": [
14910
- 30
15974
+ "[\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"]"
14911
15975
  ]
14912
15976
  },
14913
15977
  "id": {
@@ -14923,7 +15987,7 @@
14923
15987
  "title": "Created At",
14924
15988
  "description": "Timestamp of campaign creation",
14925
15989
  "examples": [
14926
- "2024-01-01T00:00:00Z"
15990
+ "2025-04-09T00:00:00Z"
14927
15991
  ]
14928
15992
  },
14929
15993
  "updated_at": {
@@ -14931,7 +15995,7 @@
14931
15995
  "title": "Updated At",
14932
15996
  "description": "Timestamp of campaign update",
14933
15997
  "examples": [
14934
- "2024-01-01T00:00:00Z"
15998
+ "2025-04-09T00:00:00Z"
14935
15999
  ]
14936
16000
  },
14937
16001
  "last_updated_by": {
@@ -14951,6 +16015,7 @@
14951
16015
  "daily_end_time",
14952
16016
  "timezone",
14953
16017
  "caller_id",
16018
+ "active_days",
14954
16019
  "id",
14955
16020
  "last_updated_by"
14956
16021
  ],
@@ -14966,6 +16031,37 @@
14966
16031
  "Outbound Campaign 1"
14967
16032
  ]
14968
16033
  },
16034
+ "description": {
16035
+ "anyOf": [
16036
+ {
16037
+ "type": "string"
16038
+ },
16039
+ {
16040
+ "type": "null"
16041
+ }
16042
+ ],
16043
+ "title": "Description",
16044
+ "description": "Description of campaign",
16045
+ "examples": [
16046
+ "This is a test campaign"
16047
+ ]
16048
+ },
16049
+ "label": {
16050
+ "anyOf": [
16051
+ {
16052
+ "type": "string"
16053
+ },
16054
+ {
16055
+ "type": "null"
16056
+ }
16057
+ ],
16058
+ "title": "Label",
16059
+ "description": "Label for campaign",
16060
+ "examples": [
16061
+ "test",
16062
+ "demo"
16063
+ ]
16064
+ },
14969
16065
  "campaign_variables": {
14970
16066
  "type": "object",
14971
16067
  "title": "Campaign Variables",
@@ -15032,13 +16128,13 @@
15032
16128
  19995551234
15033
16129
  ]
15034
16130
  },
15035
- "rate": {
16131
+ "hourly_rate": {
15036
16132
  "type": "integer",
15037
- "title": "Rate",
15038
- "description": "Target number of outreach calls per minute",
16133
+ "title": "Hourly Rate",
16134
+ "description": "Target number of outreach calls per hour",
15039
16135
  "default": 1,
15040
16136
  "examples": [
15041
- 5
16137
+ 25
15042
16138
  ]
15043
16139
  },
15044
16140
  "retry_count": {
@@ -15067,19 +16163,15 @@
15067
16163
  "7d"
15068
16164
  ]
15069
16165
  },
15070
- "pause_seconds": {
15071
- "anyOf": [
15072
- {
15073
- "type": "integer"
15074
- },
15075
- {
15076
- "type": "null"
15077
- }
15078
- ],
15079
- "title": "Pause Seconds",
15080
- "description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute",
16166
+ "active_days": {
16167
+ "items": {
16168
+ "$ref": "#/components/schemas/DaysOfWeek"
16169
+ },
16170
+ "type": "array",
16171
+ "title": "Active Days",
16172
+ "description": "Days of the week when campaign is active",
15081
16173
  "examples": [
15082
- 30
16174
+ "[\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"]"
15083
16175
  ]
15084
16176
  }
15085
16177
  },
@@ -15090,7 +16182,8 @@
15090
16182
  "daily_start_time",
15091
16183
  "daily_end_time",
15092
16184
  "timezone",
15093
- "caller_id"
16185
+ "caller_id",
16186
+ "active_days"
15094
16187
  ],
15095
16188
  "title": "OutboundCampaignInput"
15096
16189
  },
@@ -15723,175 +16816,6 @@
15723
16816
  "title": "ServiceCreateRequest",
15724
16817
  "description": "Request model to create a service."
15725
16818
  },
15726
- "ServiceIncidentRequest": {
15727
- "properties": {
15728
- "organization_id": {
15729
- "anyOf": [
15730
- {
15731
- "type": "integer"
15732
- },
15733
- {
15734
- "type": "null"
15735
- }
15736
- ],
15737
- "title": "Organization Id"
15738
- },
15739
- "sub_organization_id": {
15740
- "anyOf": [
15741
- {
15742
- "type": "integer"
15743
- },
15744
- {
15745
- "type": "null"
15746
- }
15747
- ],
15748
- "title": "Sub Organization Id"
15749
- },
15750
- "sub_organization": {
15751
- "anyOf": [
15752
- {
15753
- "type": "string"
15754
- },
15755
- {
15756
- "type": "null"
15757
- }
15758
- ],
15759
- "title": "Sub Organization"
15760
- },
15761
- "description": {
15762
- "type": "string",
15763
- "title": "Description"
15764
- },
15765
- "start_datetime": {
15766
- "type": "string",
15767
- "format": "date-time",
15768
- "title": "Start Datetime"
15769
- },
15770
- "resolution_datetime": {
15771
- "type": "string",
15772
- "format": "date-time",
15773
- "title": "Resolution Datetime"
15774
- },
15775
- "impact_category": {
15776
- "type": "string",
15777
- "title": "Impact Category"
15778
- },
15779
- "sessions_impacted": {
15780
- "type": "integer",
15781
- "title": "Sessions Impacted"
15782
- },
15783
- "markdown": {
15784
- "type": "string",
15785
- "title": "Markdown"
15786
- }
15787
- },
15788
- "type": "object",
15789
- "required": [
15790
- "organization_id",
15791
- "sub_organization_id",
15792
- "sub_organization",
15793
- "description",
15794
- "start_datetime",
15795
- "resolution_datetime",
15796
- "impact_category",
15797
- "sessions_impacted",
15798
- "markdown"
15799
- ],
15800
- "title": "ServiceIncidentRequest"
15801
- },
15802
- "ServiceIncidentResponse": {
15803
- "properties": {
15804
- "organization_id": {
15805
- "anyOf": [
15806
- {
15807
- "type": "integer"
15808
- },
15809
- {
15810
- "type": "null"
15811
- }
15812
- ],
15813
- "title": "Organization Id"
15814
- },
15815
- "sub_organization_id": {
15816
- "anyOf": [
15817
- {
15818
- "type": "integer"
15819
- },
15820
- {
15821
- "type": "null"
15822
- }
15823
- ],
15824
- "title": "Sub Organization Id"
15825
- },
15826
- "sub_organization": {
15827
- "anyOf": [
15828
- {
15829
- "type": "string"
15830
- },
15831
- {
15832
- "type": "null"
15833
- }
15834
- ],
15835
- "title": "Sub Organization"
15836
- },
15837
- "description": {
15838
- "type": "string",
15839
- "title": "Description"
15840
- },
15841
- "start_datetime": {
15842
- "type": "string",
15843
- "format": "date-time",
15844
- "title": "Start Datetime"
15845
- },
15846
- "resolution_datetime": {
15847
- "type": "string",
15848
- "format": "date-time",
15849
- "title": "Resolution Datetime"
15850
- },
15851
- "impact_category": {
15852
- "type": "string",
15853
- "title": "Impact Category"
15854
- },
15855
- "sessions_impacted": {
15856
- "type": "integer",
15857
- "title": "Sessions Impacted"
15858
- },
15859
- "markdown": {
15860
- "type": "string",
15861
- "title": "Markdown"
15862
- },
15863
- "created_at": {
15864
- "type": "string",
15865
- "format": "date-time",
15866
- "title": "Created At"
15867
- },
15868
- "updated_at": {
15869
- "type": "string",
15870
- "format": "date-time",
15871
- "title": "Updated At"
15872
- },
15873
- "id": {
15874
- "type": "integer",
15875
- "title": "Id"
15876
- }
15877
- },
15878
- "type": "object",
15879
- "required": [
15880
- "organization_id",
15881
- "sub_organization_id",
15882
- "sub_organization",
15883
- "description",
15884
- "start_datetime",
15885
- "resolution_datetime",
15886
- "impact_category",
15887
- "sessions_impacted",
15888
- "markdown",
15889
- "created_at",
15890
- "updated_at",
15891
- "id"
15892
- ],
15893
- "title": "ServiceIncidentResponse"
15894
- },
15895
16819
  "ServiceProperties": {
15896
16820
  "type": "string",
15897
16821
  "enum": [
@@ -16914,6 +17838,50 @@
16914
17838
  "title": "StaticToolParameterType",
16915
17839
  "description": "The expected type for a static tool parameter."
16916
17840
  },
17841
+ "SummaryEntry": {
17842
+ "properties": {
17843
+ "category": {
17844
+ "$ref": "#/components/schemas/LatencyCategory"
17845
+ },
17846
+ "sub_category": {
17847
+ "anyOf": [
17848
+ {
17849
+ "type": "string"
17850
+ },
17851
+ {
17852
+ "type": "null"
17853
+ }
17854
+ ],
17855
+ "title": "Sub Category"
17856
+ },
17857
+ "sum_ms": {
17858
+ "type": "number",
17859
+ "title": "Sum Ms"
17860
+ },
17861
+ "sum_str": {
17862
+ "type": "string",
17863
+ "title": "Sum Str"
17864
+ },
17865
+ "average_ms": {
17866
+ "type": "number",
17867
+ "title": "Average Ms"
17868
+ },
17869
+ "average_str": {
17870
+ "type": "string",
17871
+ "title": "Average Str"
17872
+ }
17873
+ },
17874
+ "type": "object",
17875
+ "required": [
17876
+ "category",
17877
+ "sum_ms",
17878
+ "sum_str",
17879
+ "average_ms",
17880
+ "average_str"
17881
+ ],
17882
+ "title": "SummaryEntry",
17883
+ "description": "A summary entry is an aggregation of latency entries by category and sub-category.\nIt contains the total and average latency for each category."
17884
+ },
16917
17885
  "SupportedLlm": {
16918
17886
  "properties": {
16919
17887
  "provider": {
@@ -18214,6 +19182,18 @@
18214
19182
  {
18215
19183
  "operationId": ".*_get_by_name$",
18216
19184
  "methodNameOverride": "get_by_name"
19185
+ },
19186
+ {
19187
+ "operationId": ".*_add$",
19188
+ "methodNameOverride": "add"
19189
+ },
19190
+ {
19191
+ "operationId": ".*_remove$",
19192
+ "methodNameOverride": "remove"
19193
+ },
19194
+ {
19195
+ "operationId": ".*_results$",
19196
+ "methodNameOverride": "results"
18217
19197
  }
18218
19198
  ]
18219
- }
19199
+ }