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

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 (277) hide show
  1. package/README.md +17 -13
  2. package/docs/sdks/batches/README.md +30 -32
  3. package/docs/sdks/campaigns/README.md +11 -3
  4. package/docs/sdks/incidents/README.md +178 -84
  5. package/docs/sdks/insights/README.md +1 -1
  6. package/docs/sdks/syllablesdktools/README.md +82 -2
  7. package/docs/sdks/takeouts/README.md +11 -11
  8. package/docs/sdks/workflows/README.md +1 -1
  9. package/funcs/incidentsCreate.d.ts +1 -1
  10. package/funcs/incidentsCreate.d.ts.map +1 -1
  11. package/funcs/incidentsCreate.js +2 -2
  12. package/funcs/incidentsCreate.js.map +1 -1
  13. package/funcs/incidentsDelete.d.ts.map +1 -1
  14. package/funcs/incidentsDelete.js +4 -0
  15. package/funcs/incidentsDelete.js.map +1 -1
  16. package/funcs/incidentsGetById.d.ts +1 -1
  17. package/funcs/incidentsGetById.d.ts.map +1 -1
  18. package/funcs/incidentsGetById.js +1 -1
  19. package/funcs/incidentsGetById.js.map +1 -1
  20. package/funcs/incidentsIncidentGetOrganizations.d.ts +15 -0
  21. package/funcs/incidentsIncidentGetOrganizations.d.ts.map +1 -0
  22. package/funcs/incidentsIncidentGetOrganizations.js +89 -0
  23. package/funcs/incidentsIncidentGetOrganizations.js.map +1 -0
  24. package/funcs/incidentsList.d.ts +2 -2
  25. package/funcs/incidentsList.d.ts.map +1 -1
  26. package/funcs/incidentsList.js +10 -4
  27. package/funcs/incidentsList.js.map +1 -1
  28. package/funcs/incidentsUpdate.d.ts +1 -2
  29. package/funcs/incidentsUpdate.d.ts.map +1 -1
  30. package/funcs/incidentsUpdate.js +4 -13
  31. package/funcs/incidentsUpdate.js.map +1 -1
  32. package/funcs/insightsList.d.ts +1 -1
  33. package/funcs/insightsList.js +1 -1
  34. package/funcs/insightsToolsCreate.d.ts +1 -1
  35. package/funcs/insightsToolsCreate.js +3 -3
  36. package/funcs/insightsToolsCreate.js.map +1 -1
  37. package/funcs/insightsToolsInsightsToolTest.d.ts +16 -0
  38. package/funcs/insightsToolsInsightsToolTest.d.ts.map +1 -0
  39. package/funcs/insightsToolsInsightsToolTest.js +103 -0
  40. package/funcs/insightsToolsInsightsToolTest.js.map +1 -0
  41. package/funcs/insightsToolsUpdate.d.ts +1 -1
  42. package/funcs/insightsToolsUpdate.js +1 -1
  43. package/funcs/insightsWorkflowsQueueSessionsWorkflow.d.ts +1 -1
  44. package/funcs/insightsWorkflowsQueueSessionsWorkflow.js +1 -1
  45. package/funcs/{outboundBatchesOutboundBatchAdd.d.ts → outboundBatchesAdd.d.ts} +2 -2
  46. package/funcs/outboundBatchesAdd.d.ts.map +1 -0
  47. package/funcs/{outboundBatchesOutboundBatchAdd.js → outboundBatchesAdd.js} +3 -3
  48. package/funcs/outboundBatchesAdd.js.map +1 -0
  49. package/funcs/outboundBatchesList.d.ts +1 -1
  50. package/funcs/outboundBatchesList.d.ts.map +1 -1
  51. package/funcs/outboundBatchesList.js +1 -2
  52. package/funcs/outboundBatchesList.js.map +1 -1
  53. package/funcs/{outboundBatchesOutboundBatchRemove.d.ts → outboundBatchesRemove.d.ts} +2 -2
  54. package/funcs/outboundBatchesRemove.d.ts.map +1 -0
  55. package/funcs/{outboundBatchesOutboundBatchRemove.js → outboundBatchesRemove.js} +3 -3
  56. package/funcs/outboundBatchesRemove.js.map +1 -0
  57. package/funcs/{outboundBatchesOutboundBatchResults.d.ts → outboundBatchesResults.d.ts} +2 -2
  58. package/funcs/outboundBatchesResults.d.ts.map +1 -0
  59. package/funcs/{outboundBatchesOutboundBatchResults.js → outboundBatchesResults.js} +8 -3
  60. package/funcs/outboundBatchesResults.js.map +1 -0
  61. package/funcs/outboundBatchesUpload.d.ts.map +1 -1
  62. package/funcs/outboundBatchesUpload.js +16 -12
  63. package/funcs/outboundBatchesUpload.js.map +1 -1
  64. package/funcs/outboundCampaignsList.d.ts +1 -1
  65. package/funcs/outboundCampaignsList.d.ts.map +1 -1
  66. package/funcs/outboundCampaignsList.js +1 -2
  67. package/funcs/outboundCampaignsList.js.map +1 -1
  68. package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts → takeoutsCreate.d.ts} +2 -2
  69. package/funcs/takeoutsCreate.d.ts.map +1 -0
  70. package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js → takeoutsCreate.js} +4 -4
  71. package/funcs/takeoutsCreate.js.map +1 -0
  72. package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts → takeoutsTakeoutsGetByJobId.d.ts} +2 -2
  73. package/funcs/takeoutsTakeoutsGetByJobId.d.ts.map +1 -0
  74. package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js → takeoutsTakeoutsGetByJobId.js} +5 -5
  75. package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -0
  76. package/jsr.json +1 -1
  77. package/lib/config.d.ts +2 -2
  78. package/lib/config.js +2 -2
  79. package/models/components/bodyoutboundbatchdelete.d.ts +1 -1
  80. package/models/components/bodyoutboundbatchdelete.d.ts.map +1 -1
  81. package/models/components/bodyoutboundbatchdelete.js +10 -1
  82. package/models/components/bodyoutboundbatchdelete.js.map +1 -1
  83. package/models/components/bodyoutboundbatchupload.d.ts +2 -2
  84. package/models/components/bodyoutboundbatchupload.d.ts.map +1 -1
  85. package/models/components/bodyoutboundbatchupload.js +2 -2
  86. package/models/components/bodyoutboundbatchupload.js.map +1 -1
  87. package/models/components/communicationrequest.d.ts +0 -11
  88. package/models/components/communicationrequest.d.ts.map +1 -1
  89. package/models/components/communicationrequest.js +0 -9
  90. package/models/components/communicationrequest.js.map +1 -1
  91. package/models/components/communicationrequestresult.d.ts +39 -14
  92. package/models/components/communicationrequestresult.d.ts.map +1 -1
  93. package/models/components/communicationrequestresult.js +38 -14
  94. package/models/components/communicationrequestresult.js.map +1 -1
  95. package/models/components/conversation.d.ts +10 -0
  96. package/models/components/conversation.d.ts.map +1 -1
  97. package/models/components/conversation.js +8 -0
  98. package/models/components/conversation.js.map +1 -1
  99. package/models/components/incidentcreaterequest.d.ts +75 -0
  100. package/models/components/incidentcreaterequest.d.ts.map +1 -0
  101. package/models/components/{serviceincidentrequest.js → incidentcreaterequest.js} +29 -29
  102. package/models/components/incidentcreaterequest.js.map +1 -0
  103. package/models/components/incidentorganizationresponse.d.ts +33 -0
  104. package/models/components/incidentorganizationresponse.d.ts.map +1 -0
  105. package/models/components/incidentorganizationresponse.js +72 -0
  106. package/models/components/incidentorganizationresponse.js.map +1 -0
  107. package/models/components/incidentproperties.d.ts +64 -0
  108. package/models/components/incidentproperties.d.ts.map +1 -0
  109. package/models/components/{requeststatus.js → incidentproperties.js} +25 -19
  110. package/models/components/incidentproperties.js.map +1 -0
  111. package/models/components/incidentresponse.d.ts +90 -0
  112. package/models/components/incidentresponse.d.ts.map +1 -0
  113. package/models/components/{serviceincidentresponse.js → incidentresponse.js} +33 -33
  114. package/models/components/incidentresponse.js.map +1 -0
  115. package/models/components/incidentupdaterequest.d.ts +90 -0
  116. package/models/components/incidentupdaterequest.d.ts.map +1 -0
  117. package/models/{operations/incidentupdate.js → components/incidentupdaterequest.js} +43 -10
  118. package/models/components/incidentupdaterequest.js.map +1 -0
  119. package/models/components/index.d.ts +9 -3
  120. package/models/components/index.d.ts.map +1 -1
  121. package/models/components/index.js +9 -3
  122. package/models/components/index.js.map +1 -1
  123. package/models/components/insighttooltestinput.d.ts +40 -0
  124. package/models/components/insighttooltestinput.d.ts.map +1 -0
  125. package/models/components/insighttooltestinput.js +72 -0
  126. package/models/components/insighttooltestinput.js.map +1 -0
  127. package/models/components/listresponsecommunicationbatch.d.ts +53 -0
  128. package/models/components/listresponsecommunicationbatch.d.ts.map +1 -0
  129. package/models/components/listresponsecommunicationbatch.js +81 -0
  130. package/models/components/listresponsecommunicationbatch.js.map +1 -0
  131. package/models/components/listresponseincidentresponse.d.ts +53 -0
  132. package/models/components/listresponseincidentresponse.d.ts.map +1 -0
  133. package/models/components/listresponseincidentresponse.js +81 -0
  134. package/models/components/listresponseincidentresponse.js.map +1 -0
  135. package/models/components/listresponseoutboundcampaign.d.ts +53 -0
  136. package/models/components/listresponseoutboundcampaign.d.ts.map +1 -0
  137. package/models/components/listresponseoutboundcampaign.js +81 -0
  138. package/models/components/listresponseoutboundcampaign.js.map +1 -0
  139. package/models/components/outboundcampaign.d.ts +10 -0
  140. package/models/components/outboundcampaign.d.ts.map +1 -1
  141. package/models/components/outboundcampaign.js +4 -0
  142. package/models/components/outboundcampaign.js.map +1 -1
  143. package/models/components/outboundcampaigninput.d.ts +10 -0
  144. package/models/components/outboundcampaigninput.d.ts.map +1 -1
  145. package/models/components/outboundcampaigninput.js +4 -0
  146. package/models/components/outboundcampaigninput.js.map +1 -1
  147. package/models/components/promptcreaterequest.d.ts +1 -1
  148. package/models/components/promptupdaterequest.d.ts +1 -1
  149. package/models/operations/incidentdelete.d.ts +2 -0
  150. package/models/operations/incidentdelete.d.ts.map +1 -1
  151. package/models/operations/incidentdelete.js +2 -0
  152. package/models/operations/incidentdelete.js.map +1 -1
  153. package/models/operations/incidentlist.d.ts +44 -2
  154. package/models/operations/incidentlist.d.ts.map +1 -1
  155. package/models/operations/incidentlist.js +44 -4
  156. package/models/operations/incidentlist.js.map +1 -1
  157. package/models/operations/index.d.ts +1 -2
  158. package/models/operations/index.d.ts.map +1 -1
  159. package/models/operations/index.js +1 -2
  160. package/models/operations/index.js.map +1 -1
  161. package/models/operations/outboundbatchresults.d.ts +4 -0
  162. package/models/operations/outboundbatchresults.d.ts.map +1 -1
  163. package/models/operations/outboundbatchresults.js +6 -0
  164. package/models/operations/outboundbatchresults.js.map +1 -1
  165. package/models/operations/outboundbatchupload.d.ts +2 -2
  166. package/models/operations/outboundbatchupload.d.ts.map +1 -1
  167. package/models/operations/outboundbatchupload.js +4 -2
  168. package/models/operations/outboundbatchupload.js.map +1 -1
  169. package/models/operations/takeoutsgetbyjobid.d.ts +29 -0
  170. package/models/operations/takeoutsgetbyjobid.d.ts.map +1 -0
  171. package/models/operations/{gettakeoutapiv1takeoutsgetjobidget.js → takeoutsgetbyjobid.js} +17 -17
  172. package/models/operations/takeoutsgetbyjobid.js.map +1 -0
  173. package/openapi.json +1206 -423
  174. package/package.json +1 -1
  175. package/sdk/batches.d.ts +4 -4
  176. package/sdk/batches.d.ts.map +1 -1
  177. package/sdk/batches.js +9 -9
  178. package/sdk/batches.js.map +1 -1
  179. package/sdk/campaigns.d.ts +1 -1
  180. package/sdk/campaigns.d.ts.map +1 -1
  181. package/sdk/incidents.d.ts +20 -13
  182. package/sdk/incidents.d.ts.map +1 -1
  183. package/sdk/incidents.js +26 -16
  184. package/sdk/incidents.js.map +1 -1
  185. package/sdk/insights.d.ts +1 -1
  186. package/sdk/insights.js +1 -1
  187. package/sdk/syllablesdktools.d.ts +9 -2
  188. package/sdk/syllablesdktools.d.ts.map +1 -1
  189. package/sdk/syllablesdktools.js +12 -2
  190. package/sdk/syllablesdktools.js.map +1 -1
  191. package/sdk/takeouts.d.ts +2 -2
  192. package/sdk/takeouts.d.ts.map +1 -1
  193. package/sdk/takeouts.js +6 -6
  194. package/sdk/takeouts.js.map +1 -1
  195. package/sdk/workflows.d.ts +1 -1
  196. package/sdk/workflows.js +1 -1
  197. package/src/funcs/incidentsCreate.ts +5 -5
  198. package/src/funcs/incidentsDelete.ts +6 -1
  199. package/src/funcs/incidentsGetById.ts +3 -3
  200. package/src/funcs/incidentsIncidentGetOrganizations.ts +112 -0
  201. package/src/funcs/incidentsList.ts +12 -6
  202. package/src/funcs/incidentsUpdate.ts +8 -18
  203. package/src/funcs/insightsList.ts +1 -1
  204. package/src/funcs/insightsToolsCreate.ts +4 -4
  205. package/src/funcs/insightsToolsInsightsToolTest.ts +136 -0
  206. package/src/funcs/insightsToolsUpdate.ts +1 -1
  207. package/src/funcs/insightsWorkflowsQueueSessionsWorkflow.ts +1 -1
  208. package/src/funcs/{outboundBatchesOutboundBatchAdd.ts → outboundBatchesAdd.ts} +1 -1
  209. package/src/funcs/outboundBatchesList.ts +3 -4
  210. package/src/funcs/{outboundBatchesOutboundBatchRemove.ts → outboundBatchesRemove.ts} +1 -1
  211. package/src/funcs/{outboundBatchesOutboundBatchResults.ts → outboundBatchesResults.ts} +8 -2
  212. package/src/funcs/outboundBatchesUpload.ts +23 -20
  213. package/src/funcs/outboundCampaignsList.ts +3 -4
  214. package/src/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.ts → takeoutsCreate.ts} +2 -2
  215. package/src/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.ts → takeoutsTakeoutsGetByJobId.ts} +4 -7
  216. package/src/lib/config.ts +2 -2
  217. package/src/models/components/bodyoutboundbatchdelete.ts +11 -2
  218. package/src/models/components/bodyoutboundbatchupload.ts +4 -4
  219. package/src/models/components/communicationrequest.ts +0 -23
  220. package/src/models/components/communicationrequestresult.ts +78 -30
  221. package/src/models/components/conversation.ts +18 -0
  222. package/src/models/components/{serviceincidentrequest.ts → incidentcreaterequest.ts} +69 -39
  223. package/src/models/components/incidentorganizationresponse.ts +85 -0
  224. package/src/models/components/incidentproperties.ts +49 -0
  225. package/src/models/components/incidentresponse.ts +182 -0
  226. package/src/models/components/incidentupdaterequest.ts +182 -0
  227. package/src/models/components/index.ts +9 -3
  228. package/src/models/components/insighttooltestinput.ts +90 -0
  229. package/src/models/components/listresponsecommunicationbatch.ts +118 -0
  230. package/src/models/components/listresponseincidentresponse.ts +118 -0
  231. package/src/models/components/listresponseoutboundcampaign.ts +118 -0
  232. package/src/models/components/outboundcampaign.ts +14 -0
  233. package/src/models/components/outboundcampaigninput.ts +14 -0
  234. package/src/models/components/promptcreaterequest.ts +1 -1
  235. package/src/models/components/promptupdaterequest.ts +1 -1
  236. package/src/models/operations/incidentdelete.ts +4 -0
  237. package/src/models/operations/incidentlist.ts +87 -6
  238. package/src/models/operations/index.ts +1 -2
  239. package/src/models/operations/outboundbatchresults.ts +10 -0
  240. package/src/models/operations/outboundbatchupload.ts +8 -4
  241. package/src/models/operations/takeoutsgetbyjobid.ts +75 -0
  242. package/src/sdk/batches.ts +10 -10
  243. package/src/sdk/campaigns.ts +1 -1
  244. package/src/sdk/incidents.ts +43 -27
  245. package/src/sdk/insights.ts +1 -1
  246. package/src/sdk/syllablesdktools.ts +20 -2
  247. package/src/sdk/takeouts.ts +7 -7
  248. package/src/sdk/workflows.ts +1 -1
  249. package/funcs/outboundBatchesOutboundBatchAdd.d.ts.map +0 -1
  250. package/funcs/outboundBatchesOutboundBatchAdd.js.map +0 -1
  251. package/funcs/outboundBatchesOutboundBatchRemove.d.ts.map +0 -1
  252. package/funcs/outboundBatchesOutboundBatchRemove.js.map +0 -1
  253. package/funcs/outboundBatchesOutboundBatchResults.d.ts.map +0 -1
  254. package/funcs/outboundBatchesOutboundBatchResults.js.map +0 -1
  255. package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts.map +0 -1
  256. package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js.map +0 -1
  257. package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts.map +0 -1
  258. package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js.map +0 -1
  259. package/models/components/requeststatus.d.ts +0 -46
  260. package/models/components/requeststatus.d.ts.map +0 -1
  261. package/models/components/requeststatus.js.map +0 -1
  262. package/models/components/serviceincidentrequest.d.ts +0 -45
  263. package/models/components/serviceincidentrequest.d.ts.map +0 -1
  264. package/models/components/serviceincidentrequest.js.map +0 -1
  265. package/models/components/serviceincidentresponse.d.ts +0 -51
  266. package/models/components/serviceincidentresponse.d.ts.map +0 -1
  267. package/models/components/serviceincidentresponse.js.map +0 -1
  268. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts +0 -29
  269. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts.map +0 -1
  270. package/models/operations/gettakeoutapiv1takeoutsgetjobidget.js.map +0 -1
  271. package/models/operations/incidentupdate.d.ts +0 -32
  272. package/models/operations/incidentupdate.d.ts.map +0 -1
  273. package/models/operations/incidentupdate.js.map +0 -1
  274. package/src/models/components/requeststatus.ts +0 -43
  275. package/src/models/components/serviceincidentresponse.ts +0 -139
  276. package/src/models/operations/gettakeoutapiv1takeoutsgetjobidget.ts +0 -87
  277. package/src/models/operations/incidentupdate.ts +0 -82
package/openapi.json CHANGED
@@ -1592,15 +1592,15 @@
1592
1592
  }
1593
1593
  }
1594
1594
  },
1595
- "/api/v1/incidents/{incident_id}": {
1595
+ "/api/v1/incidents/": {
1596
1596
  "get": {
1597
1597
  "tags": [
1598
1598
  "incidents",
1599
1599
  "V1"
1600
1600
  ],
1601
- "summary": "Get Incident By Id",
1602
- "description": "Get incident by ID",
1603
- "operationId": "incident_get_by_id",
1601
+ "summary": "List Incidents",
1602
+ "description": "List service incidents with pagination and filtering",
1603
+ "operationId": "incident_list",
1604
1604
  "security": [
1605
1605
  {
1606
1606
  "APIKeyHeader": []
@@ -1608,13 +1608,182 @@
1608
1608
  ],
1609
1609
  "parameters": [
1610
1610
  {
1611
- "name": "incident_id",
1612
- "in": "path",
1613
- "required": true,
1611
+ "name": "page",
1612
+ "in": "query",
1613
+ "required": false,
1614
+ "schema": {
1615
+ "anyOf": [
1616
+ {
1617
+ "type": "integer",
1618
+ "minimum": 0
1619
+ },
1620
+ {
1621
+ "type": "null"
1622
+ }
1623
+ ],
1624
+ "description": "The page number from which to start (0-based)",
1625
+ "examples": [
1626
+ 0
1627
+ ],
1628
+ "default": 0,
1629
+ "title": "Page"
1630
+ },
1631
+ "description": "The page number from which to start (0-based)"
1632
+ },
1633
+ {
1634
+ "name": "limit",
1635
+ "in": "query",
1636
+ "required": false,
1614
1637
  "schema": {
1615
1638
  "type": "integer",
1616
- "title": "Incident Id"
1617
- }
1639
+ "minimum": 0,
1640
+ "description": "The maximum number of items to return",
1641
+ "examples": [
1642
+ 25
1643
+ ],
1644
+ "default": 25,
1645
+ "title": "Limit"
1646
+ },
1647
+ "description": "The maximum number of items to return"
1648
+ },
1649
+ {
1650
+ "name": "search_fields",
1651
+ "in": "query",
1652
+ "required": false,
1653
+ "schema": {
1654
+ "type": "array",
1655
+ "items": {
1656
+ "$ref": "#/components/schemas/IncidentProperties"
1657
+ },
1658
+ "description": "String names of fields to search. Correspond by index to search field values",
1659
+ "examples": [
1660
+ "name"
1661
+ ],
1662
+ "default": [],
1663
+ "title": "Search Fields"
1664
+ },
1665
+ "description": "String names of fields to search. Correspond by index to search field values"
1666
+ },
1667
+ {
1668
+ "name": "search_field_values",
1669
+ "in": "query",
1670
+ "required": false,
1671
+ "schema": {
1672
+ "type": "array",
1673
+ "items": {
1674
+ "type": "string"
1675
+ },
1676
+ "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",
1677
+ "examples": [
1678
+ "Some Object Name"
1679
+ ],
1680
+ "default": [],
1681
+ "title": "Search Field Values"
1682
+ },
1683
+ "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"
1684
+ },
1685
+ {
1686
+ "name": "order_by",
1687
+ "in": "query",
1688
+ "required": false,
1689
+ "schema": {
1690
+ "anyOf": [
1691
+ {
1692
+ "$ref": "#/components/schemas/IncidentProperties"
1693
+ },
1694
+ {
1695
+ "type": "null"
1696
+ }
1697
+ ],
1698
+ "description": "The field whose value should be used to order the results",
1699
+ "examples": [
1700
+ "name"
1701
+ ],
1702
+ "title": "Order By"
1703
+ },
1704
+ "description": "The field whose value should be used to order the results"
1705
+ },
1706
+ {
1707
+ "name": "order_by_direction",
1708
+ "in": "query",
1709
+ "required": false,
1710
+ "schema": {
1711
+ "anyOf": [
1712
+ {
1713
+ "$ref": "#/components/schemas/OrderByDirection"
1714
+ },
1715
+ {
1716
+ "type": "null"
1717
+ }
1718
+ ],
1719
+ "description": "The direction in which to order the results",
1720
+ "title": "Order By Direction"
1721
+ },
1722
+ "description": "The direction in which to order the results"
1723
+ },
1724
+ {
1725
+ "name": "fields",
1726
+ "in": "query",
1727
+ "required": false,
1728
+ "schema": {
1729
+ "anyOf": [
1730
+ {
1731
+ "type": "array",
1732
+ "items": {
1733
+ "$ref": "#/components/schemas/IncidentProperties"
1734
+ }
1735
+ },
1736
+ {
1737
+ "type": "null"
1738
+ }
1739
+ ],
1740
+ "description": "The fields to include in the response",
1741
+ "default": [],
1742
+ "title": "Fields"
1743
+ },
1744
+ "description": "The fields to include in the response"
1745
+ },
1746
+ {
1747
+ "name": "start_datetime",
1748
+ "in": "query",
1749
+ "required": false,
1750
+ "schema": {
1751
+ "anyOf": [
1752
+ {
1753
+ "type": "string"
1754
+ },
1755
+ {
1756
+ "type": "null"
1757
+ }
1758
+ ],
1759
+ "description": "The start datetime for filtering results",
1760
+ "examples": [
1761
+ "2023-01-01T00:00:00Z"
1762
+ ],
1763
+ "title": "Start Datetime"
1764
+ },
1765
+ "description": "The start datetime for filtering results"
1766
+ },
1767
+ {
1768
+ "name": "end_datetime",
1769
+ "in": "query",
1770
+ "required": false,
1771
+ "schema": {
1772
+ "anyOf": [
1773
+ {
1774
+ "type": "string"
1775
+ },
1776
+ {
1777
+ "type": "null"
1778
+ }
1779
+ ],
1780
+ "description": "The end datetime for filtering results",
1781
+ "examples": [
1782
+ "2024-01-01T00:00:00Z"
1783
+ ],
1784
+ "title": "End Datetime"
1785
+ },
1786
+ "description": "The end datetime for filtering results"
1618
1787
  }
1619
1788
  ],
1620
1789
  "responses": {
@@ -1623,15 +1792,7 @@
1623
1792
  "content": {
1624
1793
  "application/json": {
1625
1794
  "schema": {
1626
- "anyOf": [
1627
- {
1628
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1629
- },
1630
- {
1631
- "type": "null"
1632
- }
1633
- ],
1634
- "title": "Response Incident Get By Id"
1795
+ "$ref": "#/components/schemas/ListResponse_IncidentResponse_"
1635
1796
  }
1636
1797
  }
1637
1798
  }
@@ -1648,36 +1809,25 @@
1648
1809
  }
1649
1810
  }
1650
1811
  },
1651
- "put": {
1812
+ "post": {
1652
1813
  "tags": [
1653
1814
  "incidents",
1654
1815
  "V1"
1655
1816
  ],
1656
- "summary": "Update Incident",
1657
- "description": "Update an existing incident",
1658
- "operationId": "incident_update",
1817
+ "summary": "Create Incident",
1818
+ "description": "Create a new incident",
1819
+ "operationId": "incident_create",
1659
1820
  "security": [
1660
1821
  {
1661
1822
  "APIKeyHeader": []
1662
1823
  }
1663
1824
  ],
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
1825
  "requestBody": {
1676
1826
  "required": true,
1677
1827
  "content": {
1678
1828
  "application/json": {
1679
1829
  "schema": {
1680
- "$ref": "#/components/schemas/ServiceIncidentRequest"
1830
+ "$ref": "#/components/schemas/IncidentCreateRequest"
1681
1831
  }
1682
1832
  }
1683
1833
  }
@@ -1688,7 +1838,7 @@
1688
1838
  "content": {
1689
1839
  "application/json": {
1690
1840
  "schema": {
1691
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1841
+ "$ref": "#/components/schemas/IncidentResponse"
1692
1842
  }
1693
1843
  }
1694
1844
  }
@@ -1705,36 +1855,37 @@
1705
1855
  }
1706
1856
  }
1707
1857
  },
1708
- "delete": {
1858
+ "put": {
1709
1859
  "tags": [
1710
1860
  "incidents",
1711
1861
  "V1"
1712
1862
  ],
1713
- "summary": "Delete Incident",
1714
- "description": "Delete an incident by ID",
1715
- "operationId": "incident_delete",
1863
+ "summary": "Update Incident",
1864
+ "description": "Update an existing incident",
1865
+ "operationId": "incident_update",
1716
1866
  "security": [
1717
1867
  {
1718
1868
  "APIKeyHeader": []
1719
1869
  }
1720
1870
  ],
1721
- "parameters": [
1722
- {
1723
- "name": "incident_id",
1724
- "in": "path",
1725
- "required": true,
1726
- "schema": {
1727
- "type": "integer",
1728
- "title": "Incident Id"
1871
+ "requestBody": {
1872
+ "required": true,
1873
+ "content": {
1874
+ "application/json": {
1875
+ "schema": {
1876
+ "$ref": "#/components/schemas/IncidentUpdateRequest"
1877
+ }
1729
1878
  }
1730
1879
  }
1731
- ],
1880
+ },
1732
1881
  "responses": {
1733
1882
  "200": {
1734
1883
  "description": "Successful Response",
1735
1884
  "content": {
1736
1885
  "application/json": {
1737
- "schema": {}
1886
+ "schema": {
1887
+ "$ref": "#/components/schemas/IncidentResponse"
1888
+ }
1738
1889
  }
1739
1890
  }
1740
1891
  },
@@ -1751,37 +1902,70 @@
1751
1902
  }
1752
1903
  }
1753
1904
  },
1754
- "/api/v1/incidents/": {
1755
- "post": {
1905
+ "/api/v1/incidents/organizations": {
1906
+ "get": {
1756
1907
  "tags": [
1757
1908
  "incidents",
1758
1909
  "V1"
1759
1910
  ],
1760
- "summary": "Create Incident",
1761
- "description": "Create a new incident",
1762
- "operationId": "incident_create",
1763
- "security": [
1764
- {
1765
- "APIKeyHeader": []
1766
- }
1767
- ],
1768
- "requestBody": {
1769
- "required": true,
1770
- "content": {
1771
- "application/json": {
1772
- "schema": {
1773
- "$ref": "#/components/schemas/ServiceIncidentRequest"
1774
- }
1775
- }
1776
- }
1777
- },
1911
+ "summary": "Get Organizations",
1912
+ "description": "Get all organizations",
1913
+ "operationId": "incident_get_organizations",
1778
1914
  "responses": {
1779
1915
  "200": {
1780
1916
  "description": "Successful Response",
1781
1917
  "content": {
1782
1918
  "application/json": {
1783
1919
  "schema": {
1784
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1920
+ "items": {
1921
+ "$ref": "#/components/schemas/IncidentOrganizationResponse"
1922
+ },
1923
+ "type": "array",
1924
+ "title": "Response Incident Get Organizations"
1925
+ }
1926
+ }
1927
+ }
1928
+ }
1929
+ },
1930
+ "security": [
1931
+ {
1932
+ "APIKeyHeader": []
1933
+ }
1934
+ ]
1935
+ }
1936
+ },
1937
+ "/api/v1/incidents/{incident_id}": {
1938
+ "get": {
1939
+ "tags": [
1940
+ "incidents",
1941
+ "V1"
1942
+ ],
1943
+ "summary": "Get Incident By Id",
1944
+ "description": "Get incident by ID",
1945
+ "operationId": "incident_get_by_id",
1946
+ "security": [
1947
+ {
1948
+ "APIKeyHeader": []
1949
+ }
1950
+ ],
1951
+ "parameters": [
1952
+ {
1953
+ "name": "incident_id",
1954
+ "in": "path",
1955
+ "required": true,
1956
+ "schema": {
1957
+ "type": "integer",
1958
+ "title": "Incident Id"
1959
+ }
1960
+ }
1961
+ ],
1962
+ "responses": {
1963
+ "200": {
1964
+ "description": "Successful Response",
1965
+ "content": {
1966
+ "application/json": {
1967
+ "schema": {
1968
+ "$ref": "#/components/schemas/IncidentResponse"
1785
1969
  }
1786
1970
  }
1787
1971
  }
@@ -1798,14 +1982,14 @@
1798
1982
  }
1799
1983
  }
1800
1984
  },
1801
- "get": {
1985
+ "delete": {
1802
1986
  "tags": [
1803
1987
  "incidents",
1804
1988
  "V1"
1805
1989
  ],
1806
- "summary": "List Incidents",
1807
- "description": "List service incidents with pagination",
1808
- "operationId": "incident_list",
1990
+ "summary": "Delete Incident",
1991
+ "description": "Delete an incident by ID",
1992
+ "operationId": "incident_delete",
1809
1993
  "security": [
1810
1994
  {
1811
1995
  "APIKeyHeader": []
@@ -1813,23 +1997,21 @@
1813
1997
  ],
1814
1998
  "parameters": [
1815
1999
  {
1816
- "name": "limit",
1817
- "in": "query",
1818
- "required": false,
2000
+ "name": "incident_id",
2001
+ "in": "path",
2002
+ "required": true,
1819
2003
  "schema": {
1820
2004
  "type": "integer",
1821
- "default": 10,
1822
- "title": "Limit"
2005
+ "title": "Incident Id"
1823
2006
  }
1824
2007
  },
1825
2008
  {
1826
- "name": "offset",
2009
+ "name": "reason",
1827
2010
  "in": "query",
1828
- "required": false,
2011
+ "required": true,
1829
2012
  "schema": {
1830
- "type": "integer",
1831
- "default": 0,
1832
- "title": "Offset"
2013
+ "type": "string",
2014
+ "title": "Reason"
1833
2015
  }
1834
2016
  }
1835
2017
  ],
@@ -1838,13 +2020,7 @@
1838
2020
  "description": "Successful Response",
1839
2021
  "content": {
1840
2022
  "application/json": {
1841
- "schema": {
1842
- "type": "array",
1843
- "items": {
1844
- "$ref": "#/components/schemas/ServiceIncidentResponse"
1845
- },
1846
- "title": "Response Incident List"
1847
- }
2023
+ "schema": {}
1848
2024
  }
1849
2025
  }
1850
2026
  },
@@ -1868,7 +2044,7 @@
1868
2044
  "V1"
1869
2045
  ],
1870
2046
  "summary": "Insights List",
1871
- "description": "List the existing insight_tools",
2047
+ "description": "List the evaluated insights for sessions.",
1872
2048
  "operationId": "insights_list",
1873
2049
  "security": [
1874
2050
  {
@@ -2522,7 +2698,7 @@
2522
2698
  "V1"
2523
2699
  ],
2524
2700
  "summary": "Queue Insights Workflow For Sessions",
2525
- "description": "Delete a Insights workflow.",
2701
+ "description": "Manually queue sessions for insights workflow evaluation.",
2526
2702
  "operationId": "queue_sessions_workflow",
2527
2703
  "requestBody": {
2528
2704
  "content": {
@@ -2793,7 +2969,7 @@
2793
2969
  "V1"
2794
2970
  ],
2795
2971
  "summary": "Create Insight Tool",
2796
- "description": "Create a new tool in the insights",
2972
+ "description": "Create a new insight tool.",
2797
2973
  "operationId": "insights_tool_create",
2798
2974
  "security": [
2799
2975
  {
@@ -2821,6 +2997,12 @@
2821
2997
  }
2822
2998
  }
2823
2999
  },
3000
+ "400": {
3001
+ "description": "Bad Request"
3002
+ },
3003
+ "500": {
3004
+ "description": "Internal Server Error"
3005
+ },
2824
3006
  "422": {
2825
3007
  "description": "Validation Error",
2826
3008
  "content": {
@@ -2888,7 +3070,7 @@
2888
3070
  "V1"
2889
3071
  ],
2890
3072
  "summary": "Update Insights Tool",
2891
- "description": "Update a InsightTool.",
3073
+ "description": "Update an Insights tool.",
2892
3074
  "operationId": "insights_tool_update",
2893
3075
  "security": [
2894
3076
  {
@@ -2952,6 +3134,61 @@
2952
3134
  }
2953
3135
  }
2954
3136
  },
3137
+ "/api/v1/insights/tools-test": {
3138
+ "post": {
3139
+ "tags": [
3140
+ "insights.tools",
3141
+ "V1"
3142
+ ],
3143
+ "summary": "Test Insights Tool",
3144
+ "description": "Manually run the given insight tool against a session and return the response.",
3145
+ "operationId": "insights_tool_test",
3146
+ "requestBody": {
3147
+ "content": {
3148
+ "application/json": {
3149
+ "schema": {
3150
+ "$ref": "#/components/schemas/InsightToolTestInput"
3151
+ }
3152
+ }
3153
+ },
3154
+ "required": true
3155
+ },
3156
+ "responses": {
3157
+ "200": {
3158
+ "description": "Successful Response",
3159
+ "content": {
3160
+ "application/json": {
3161
+ "schema": {}
3162
+ }
3163
+ }
3164
+ },
3165
+ "400": {
3166
+ "description": "Bad Request"
3167
+ },
3168
+ "404": {
3169
+ "description": "Not Found"
3170
+ },
3171
+ "500": {
3172
+ "description": "Internal Server Error"
3173
+ },
3174
+ "422": {
3175
+ "description": "Validation Error",
3176
+ "content": {
3177
+ "application/json": {
3178
+ "schema": {
3179
+ "$ref": "#/components/schemas/HTTPValidationError"
3180
+ }
3181
+ }
3182
+ }
3183
+ }
3184
+ },
3185
+ "security": [
3186
+ {
3187
+ "APIKeyHeader": []
3188
+ }
3189
+ ]
3190
+ }
3191
+ },
2955
3192
  "/api/v1/insights/tool-definitions": {
2956
3193
  "get": {
2957
3194
  "tags": [
@@ -7443,11 +7680,7 @@
7443
7680
  "content": {
7444
7681
  "application/json": {
7445
7682
  "schema": {
7446
- "type": "array",
7447
- "items": {
7448
- "$ref": "#/components/schemas/CommunicationBatch"
7449
- },
7450
- "title": "Response Outbound Batch List"
7683
+ "$ref": "#/components/schemas/ListResponse_CommunicationBatch_"
7451
7684
  }
7452
7685
  }
7453
7686
  }
@@ -7701,7 +7934,6 @@
7701
7934
  }
7702
7935
  ],
7703
7936
  "requestBody": {
7704
- "required": true,
7705
7937
  "content": {
7706
7938
  "multipart/form-data": {
7707
7939
  "schema": {
@@ -7754,6 +7986,24 @@
7754
7986
  "type": "string",
7755
7987
  "title": "Batch Id"
7756
7988
  }
7989
+ },
7990
+ {
7991
+ "name": "reference_id",
7992
+ "in": "query",
7993
+ "required": false,
7994
+ "schema": {
7995
+ "type": "string",
7996
+ "title": "Reference Id"
7997
+ }
7998
+ },
7999
+ {
8000
+ "name": "status",
8001
+ "in": "query",
8002
+ "required": false,
8003
+ "schema": {
8004
+ "type": "string",
8005
+ "title": "Status"
8006
+ }
7757
8007
  }
7758
8008
  ],
7759
8009
  "responses": {
@@ -8101,10 +8351,7 @@
8101
8351
  "schema": {
8102
8352
  "anyOf": [
8103
8353
  {
8104
- "type": "array",
8105
- "items": {
8106
- "$ref": "#/components/schemas/OutboundCampaign"
8107
- }
8354
+ "$ref": "#/components/schemas/ListResponse_OutboundCampaign_"
8108
8355
  },
8109
8356
  {
8110
8357
  "type": "null"
@@ -8705,7 +8952,7 @@
8705
8952
  "V1"
8706
8953
  ],
8707
8954
  "summary": "Create Takeout",
8708
- "operationId": "create_takeout_api_v1_takeouts_create_post",
8955
+ "operationId": "takeouts_create",
8709
8956
  "responses": {
8710
8957
  "200": {
8711
8958
  "description": "Successful Response",
@@ -8732,7 +8979,7 @@
8732
8979
  "V1"
8733
8980
  ],
8734
8981
  "summary": "Get Takeout",
8735
- "operationId": "get_takeout_api_v1_takeouts_get__job_id__get",
8982
+ "operationId": "takeouts_get_by_job_id",
8736
8983
  "security": [
8737
8984
  {
8738
8985
  "APIKeyHeader": []
@@ -9910,7 +10157,7 @@
9910
10157
  "title": "Batch Id",
9911
10158
  "description": "Unique ID for conversation batch",
9912
10159
  "examples": [
9913
- "20250117.9"
10160
+ "20250407.9"
9914
10161
  ]
9915
10162
  },
9916
10163
  "campaign_id": {
@@ -9933,7 +10180,7 @@
9933
10180
  "title": "Expires On",
9934
10181
  "description": "Timestamp of batch expiration",
9935
10182
  "examples": [
9936
- "2024-01-01T00:00:00Z"
10183
+ "2025-04-07T00:00:00Z"
9937
10184
  ]
9938
10185
  },
9939
10186
  "status": {
@@ -9969,7 +10216,7 @@
9969
10216
  "title": "Created At",
9970
10217
  "description": "Timestamp of batch creation",
9971
10218
  "examples": [
9972
- "2024-01-01T00:00:00Z"
10219
+ "2025-04-07T00:00:00Z"
9973
10220
  ]
9974
10221
  },
9975
10222
  "deleted_at": {
@@ -9984,7 +10231,7 @@
9984
10231
  "title": "Deleted At",
9985
10232
  "description": "Timestamp of batch deletion",
9986
10233
  "examples": [
9987
- "2024-01-01T00:00:00Z"
10234
+ "2025-04-07T00:00:00Z"
9988
10235
  ]
9989
10236
  },
9990
10237
  "deleted_reason": {
@@ -10014,7 +10261,7 @@
10014
10261
  "title": "Last Worked On",
10015
10262
  "description": "Timestamp of last batch activity",
10016
10263
  "examples": [
10017
- "2024-01-01T00:00:00Z"
10264
+ "2025-04-07T00:00:00Z"
10018
10265
  ]
10019
10266
  },
10020
10267
  "last_updated_by": {
@@ -10095,14 +10342,14 @@
10095
10342
  },
10096
10343
  "Body_outbound_batch_delete": {
10097
10344
  "properties": {
10098
- "deleteReason": {
10345
+ "delete_reason": {
10099
10346
  "type": "string",
10100
- "title": "Deletereason"
10347
+ "title": "Delete Reason"
10101
10348
  }
10102
10349
  },
10103
10350
  "type": "object",
10104
10351
  "required": [
10105
- "deleteReason"
10352
+ "delete_reason"
10106
10353
  ],
10107
10354
  "title": "Body_outbound_batch_delete"
10108
10355
  },
@@ -10115,9 +10362,6 @@
10115
10362
  }
10116
10363
  },
10117
10364
  "type": "object",
10118
- "required": [
10119
- "file"
10120
- ],
10121
10365
  "title": "Body_outbound_batch_upload"
10122
10366
  },
10123
10367
  "CampaignProperties": {
@@ -10489,7 +10733,7 @@
10489
10733
  "title": "Batch Id",
10490
10734
  "description": "Unique ID for conversation batch",
10491
10735
  "examples": [
10492
- "20250117.9"
10736
+ "20250407.9"
10493
10737
  ]
10494
10738
  },
10495
10739
  "campaign_id": {
@@ -10512,7 +10756,7 @@
10512
10756
  "title": "Expires On",
10513
10757
  "description": "Timestamp of batch expiration",
10514
10758
  "examples": [
10515
- "2024-01-01T00:00:00Z"
10759
+ "2025-04-07T00:00:00Z"
10516
10760
  ]
10517
10761
  },
10518
10762
  "status": {
@@ -10548,7 +10792,7 @@
10548
10792
  "title": "Created At",
10549
10793
  "description": "Timestamp of batch creation",
10550
10794
  "examples": [
10551
- "2024-01-01T00:00:00Z"
10795
+ "2025-04-07T00:00:00Z"
10552
10796
  ]
10553
10797
  },
10554
10798
  "deleted_at": {
@@ -10563,7 +10807,7 @@
10563
10807
  "title": "Deleted At",
10564
10808
  "description": "Timestamp of batch deletion",
10565
10809
  "examples": [
10566
- "2024-01-01T00:00:00Z"
10810
+ "2025-04-07T00:00:00Z"
10567
10811
  ]
10568
10812
  },
10569
10813
  "deleted_reason": {
@@ -10593,7 +10837,7 @@
10593
10837
  "title": "Last Worked On",
10594
10838
  "description": "Timestamp of last batch activity",
10595
10839
  "examples": [
10596
- "2024-01-01T00:00:00Z"
10840
+ "2025-04-07T00:00:00Z"
10597
10841
  ]
10598
10842
  },
10599
10843
  "last_updated_by": {
@@ -10620,7 +10864,7 @@
10620
10864
  "title": "Batch Id",
10621
10865
  "description": "Unique ID for conversation batch",
10622
10866
  "examples": [
10623
- "20250117.9"
10867
+ "20250407.9"
10624
10868
  ]
10625
10869
  },
10626
10870
  "campaign_id": {
@@ -10643,7 +10887,7 @@
10643
10887
  "title": "Expires On",
10644
10888
  "description": "Timestamp of batch expiration",
10645
10889
  "examples": [
10646
- "2024-01-01T00:00:00Z"
10890
+ "2025-04-07T00:00:00Z"
10647
10891
  ]
10648
10892
  }
10649
10893
  },
@@ -10656,14 +10900,6 @@
10656
10900
  },
10657
10901
  "CommunicationRequest": {
10658
10902
  "properties": {
10659
- "batch_id": {
10660
- "type": "string",
10661
- "title": "Batch Id",
10662
- "description": "Unique ID for conversation batch",
10663
- "examples": [
10664
- "20250117.9"
10665
- ]
10666
- },
10667
10903
  "reference_id": {
10668
10904
  "type": "string",
10669
10905
  "title": "Reference Id",
@@ -10680,19 +10916,6 @@
10680
10916
  "user@email.com"
10681
10917
  ]
10682
10918
  },
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
10919
  "request_variables": {
10697
10920
  "type": "object",
10698
10921
  "title": "Request Variables",
@@ -10701,7 +10924,6 @@
10701
10924
  },
10702
10925
  "type": "object",
10703
10926
  "required": [
10704
- "batch_id",
10705
10927
  "reference_id",
10706
10928
  "target",
10707
10929
  "request_variables"
@@ -10710,14 +10932,6 @@
10710
10932
  },
10711
10933
  "CommunicationRequestResult": {
10712
10934
  "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
10935
  "reference_id": {
10722
10936
  "type": "string",
10723
10937
  "title": "Reference Id",
@@ -10734,25 +10948,12 @@
10734
10948
  "user@email.com"
10735
10949
  ]
10736
10950
  },
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
10951
  "request_variables": {
10751
10952
  "type": "object",
10752
10953
  "title": "Request Variables",
10753
10954
  "description": "Variables for request"
10754
10955
  },
10755
- "call_manager_sid": {
10956
+ "channel_manager_sid": {
10756
10957
  "anyOf": [
10757
10958
  {
10758
10959
  "type": "string"
@@ -10761,8 +10962,8 @@
10761
10962
  "type": "null"
10762
10963
  }
10763
10964
  ],
10764
- "title": "Call Manager Sid",
10765
- "description": "Call manager SID",
10965
+ "title": "Channel Manager Sid",
10966
+ "description": "Channel manager SID",
10766
10967
  "examples": [
10767
10968
  "LMc4b16a9df2ce33d84b3d30581fe6598c"
10768
10969
  ]
@@ -10772,7 +10973,7 @@
10772
10973
  "title": "Created At",
10773
10974
  "description": "Timestamp of request creation",
10774
10975
  "examples": [
10775
- "2024-01-01T00:00:00Z"
10976
+ "2025-04-06T00:00:00Z"
10776
10977
  ]
10777
10978
  },
10778
10979
  "sent_at": {
@@ -10787,7 +10988,7 @@
10787
10988
  "title": "Sent At",
10788
10989
  "description": "Timestamp at which request was sent",
10789
10990
  "examples": [
10790
- "2024-01-02T00:00:00Z"
10991
+ "2025-04-07T00:00:00Z"
10791
10992
  ]
10792
10993
  },
10793
10994
  "attempt_count": {
@@ -10828,11 +11029,64 @@
10828
11029
  "examples": [
10829
11030
  1
10830
11031
  ]
11032
+ },
11033
+ "channel_manager_status": {
11034
+ "anyOf": [
11035
+ {
11036
+ "type": "string"
11037
+ },
11038
+ {
11039
+ "type": "null"
11040
+ }
11041
+ ],
11042
+ "title": "Channel Manager Status",
11043
+ "description": "Status of request in channel manager",
11044
+ "examples": [
11045
+ "COMPLETED",
11046
+ "FAILED",
11047
+ "NO_ANSWER",
11048
+ "BUSY"
11049
+ ]
11050
+ },
11051
+ "insights_status": {
11052
+ "anyOf": [
11053
+ {
11054
+ "type": "string"
11055
+ },
11056
+ {
11057
+ "type": "null"
11058
+ }
11059
+ ],
11060
+ "title": "Insights Status",
11061
+ "description": "Status of session in insight workflow",
11062
+ "examples": [
11063
+ "PENDING",
11064
+ "PROCESSING",
11065
+ "COMPLETED",
11066
+ "FAILED"
11067
+ ]
11068
+ },
11069
+ "insights": {
11070
+ "anyOf": [
11071
+ {
11072
+ "type": "object"
11073
+ },
11074
+ {
11075
+ "type": "null"
11076
+ }
11077
+ ],
11078
+ "title": "Insights",
11079
+ "description": "Insights from call",
11080
+ "examples": [
11081
+ {
11082
+ "rating": "Good",
11083
+ "summary": "The customer service agent successfully assisted the caller with their inquiry and the call ended positively."
11084
+ }
11085
+ ]
10831
11086
  }
10832
11087
  },
10833
11088
  "type": "object",
10834
11089
  "required": [
10835
- "batch_id",
10836
11090
  "reference_id",
10837
11091
  "target",
10838
11092
  "request_variables"
@@ -10960,6 +11214,30 @@
10960
11214
  "title": "Llm Version",
10961
11215
  "description": "Version for the LLM used in the conversation (see PromptResponse.llm_config.version)"
10962
11216
  },
11217
+ "llm_temperature": {
11218
+ "anyOf": [
11219
+ {
11220
+ "type": "number"
11221
+ },
11222
+ {
11223
+ "type": "null"
11224
+ }
11225
+ ],
11226
+ "title": "Llm Temperature",
11227
+ "description": "Temperature for the LLM used in the conversation (see PromptResponse.llm_config.temperature)"
11228
+ },
11229
+ "llm_seed": {
11230
+ "anyOf": [
11231
+ {
11232
+ "type": "integer"
11233
+ },
11234
+ {
11235
+ "type": "null"
11236
+ }
11237
+ ],
11238
+ "title": "Llm Seed",
11239
+ "description": "Seed for the LLM used in the conversation (see PromptResponse.llm_config.seed)."
11240
+ },
10963
11241
  "is_legacy": {
10964
11242
  "anyOf": [
10965
11243
  {
@@ -12506,39 +12784,427 @@
12506
12784
  },
12507
12785
  "type": "object",
12508
12786
  "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",
12787
+ "timestamp"
12788
+ ],
12789
+ "title": "Event",
12790
+ "description": "An event represents a specific occurrence during a session."
12791
+ },
12792
+ "EventProperties": {
12793
+ "type": "string",
12794
+ "enum": [
12795
+ "timestamp",
12796
+ "session_id",
12797
+ "conversation_id",
12798
+ "source",
12799
+ "source_id",
12800
+ "category",
12801
+ "type",
12802
+ "user_id",
12803
+ "description",
12804
+ "attributes"
12805
+ ],
12806
+ "title": "EventProperties"
12807
+ },
12808
+ "HTTPValidationError": {
12809
+ "properties": {
12810
+ "detail": {
12811
+ "items": {
12812
+ "$ref": "#/components/schemas/ValidationError"
12813
+ },
12814
+ "type": "array",
12815
+ "title": "Detail"
12816
+ }
12817
+ },
12818
+ "type": "object",
12819
+ "title": "HTTPValidationError"
12820
+ },
12821
+ "IncidentCreateRequest": {
12822
+ "properties": {
12823
+ "description": {
12824
+ "type": "string",
12825
+ "title": "Description",
12826
+ "description": "Description of the service incident",
12827
+ "example": "Service outage in region X"
12828
+ },
12829
+ "start_datetime": {
12830
+ "type": "string",
12831
+ "format": "date-time",
12832
+ "title": "Start Datetime",
12833
+ "description": "Start time of the incident",
12834
+ "example": "2023-10-01T08:00:00Z"
12835
+ },
12836
+ "resolution_datetime": {
12837
+ "type": "string",
12838
+ "format": "date-time",
12839
+ "title": "Resolution Datetime",
12840
+ "description": "Resolution time of the incident",
12841
+ "example": "2023-10-01T12:00:00Z"
12842
+ },
12843
+ "impact_category": {
12844
+ "type": "string",
12845
+ "title": "Impact Category",
12846
+ "description": "Category of the impact",
12847
+ "example": "High"
12848
+ },
12849
+ "sessions_impacted": {
12850
+ "type": "integer",
12851
+ "title": "Sessions Impacted",
12852
+ "description": "Number of sessions impacted",
12853
+ "example": 1500
12854
+ },
12855
+ "markdown": {
12856
+ "type": "string",
12857
+ "title": "Markdown",
12858
+ "description": "Detailed markdown description of the incident",
12859
+ "example": "**Incident Details**"
12860
+ },
12861
+ "organization_id": {
12862
+ "anyOf": [
12863
+ {
12864
+ "type": "integer"
12865
+ },
12866
+ {
12867
+ "type": "null"
12868
+ }
12869
+ ],
12870
+ "title": "Organization Id",
12871
+ "description": "The ID of the organization",
12872
+ "example": 123
12873
+ },
12874
+ "sub_organization_id": {
12875
+ "anyOf": [
12876
+ {
12877
+ "type": "integer"
12878
+ },
12879
+ {
12880
+ "type": "null"
12881
+ }
12882
+ ],
12883
+ "title": "Sub Organization Id",
12884
+ "description": "The ID of the sub-organization",
12885
+ "example": 456
12886
+ },
12887
+ "sub_organization": {
12888
+ "anyOf": [
12889
+ {
12890
+ "type": "string"
12891
+ },
12892
+ {
12893
+ "type": "null"
12894
+ }
12895
+ ],
12896
+ "title": "Sub Organization",
12897
+ "description": "The name of the sub-organization",
12898
+ "example": "SubOrg A"
12899
+ }
12900
+ },
12901
+ "type": "object",
12902
+ "required": [
12903
+ "description",
12904
+ "start_datetime",
12905
+ "resolution_datetime",
12906
+ "impact_category",
12907
+ "sessions_impacted",
12908
+ "markdown"
12909
+ ],
12910
+ "title": "IncidentCreateRequest",
12911
+ "description": "Request model to create a service incident."
12912
+ },
12913
+ "IncidentOrganizationResponse": {
12914
+ "properties": {
12915
+ "id": {
12916
+ "type": "integer",
12917
+ "title": "Id"
12918
+ },
12919
+ "name": {
12920
+ "type": "string",
12921
+ "title": "Name"
12922
+ },
12923
+ "display_name": {
12924
+ "type": "string",
12925
+ "title": "Display Name"
12926
+ }
12927
+ },
12928
+ "type": "object",
12929
+ "required": [
12930
+ "id",
12931
+ "name",
12932
+ "display_name"
12933
+ ],
12934
+ "title": "IncidentOrganizationResponse"
12935
+ },
12936
+ "IncidentProperties": {
12937
+ "type": "string",
12938
+ "enum": [
12939
+ "id",
12940
+ "description",
12941
+ "impact_category",
12942
+ "sessions_impacted",
12943
+ "markdown",
12944
+ "created_at",
12945
+ "updated_at",
12946
+ "organization_id",
12947
+ "sub_organization_id",
12948
+ "start_datetime",
12949
+ "end_datetime",
12950
+ "resolution_datetime"
12951
+ ],
12952
+ "title": "IncidentProperties",
12953
+ "description": "Names of agent fields supported for filtering/sorting on list endpoint."
12954
+ },
12955
+ "IncidentResponse": {
12956
+ "properties": {
12957
+ "description": {
12958
+ "type": "string",
12959
+ "title": "Description",
12960
+ "description": "Description of the service incident",
12961
+ "example": "Service outage in region X"
12962
+ },
12963
+ "start_datetime": {
12964
+ "type": "string",
12965
+ "format": "date-time",
12966
+ "title": "Start Datetime",
12967
+ "description": "Start time of the incident",
12968
+ "example": "2023-10-01T08:00:00Z"
12969
+ },
12970
+ "resolution_datetime": {
12971
+ "type": "string",
12972
+ "format": "date-time",
12973
+ "title": "Resolution Datetime",
12974
+ "description": "Resolution time of the incident",
12975
+ "example": "2023-10-01T12:00:00Z"
12976
+ },
12977
+ "impact_category": {
12978
+ "type": "string",
12979
+ "title": "Impact Category",
12980
+ "description": "Category of the impact",
12981
+ "example": "High"
12982
+ },
12983
+ "sessions_impacted": {
12984
+ "type": "integer",
12985
+ "title": "Sessions Impacted",
12986
+ "description": "Number of sessions impacted",
12987
+ "example": 1500
12988
+ },
12989
+ "markdown": {
12990
+ "type": "string",
12991
+ "title": "Markdown",
12992
+ "description": "Detailed markdown description of the incident",
12993
+ "example": "**Incident Details**"
12994
+ },
12995
+ "organization_id": {
12996
+ "anyOf": [
12997
+ {
12998
+ "type": "integer"
12999
+ },
13000
+ {
13001
+ "type": "null"
13002
+ }
13003
+ ],
13004
+ "title": "Organization Id",
13005
+ "description": "The ID of the organization",
13006
+ "example": 123
13007
+ },
13008
+ "sub_organization_id": {
13009
+ "anyOf": [
13010
+ {
13011
+ "type": "integer"
13012
+ },
13013
+ {
13014
+ "type": "null"
13015
+ }
13016
+ ],
13017
+ "title": "Sub Organization Id",
13018
+ "description": "The ID of the sub-organization",
13019
+ "example": 456
13020
+ },
13021
+ "sub_organization": {
13022
+ "anyOf": [
13023
+ {
13024
+ "type": "string"
13025
+ },
13026
+ {
13027
+ "type": "null"
13028
+ }
13029
+ ],
13030
+ "title": "Sub Organization",
13031
+ "description": "The name of the sub-organization",
13032
+ "example": "SubOrg A"
13033
+ },
13034
+ "id": {
13035
+ "type": "integer",
13036
+ "title": "Id",
13037
+ "description": "The ID of the incident to update",
13038
+ "example": 1
13039
+ },
13040
+ "created_at": {
13041
+ "anyOf": [
13042
+ {
13043
+ "type": "string",
13044
+ "format": "date-time"
13045
+ },
13046
+ {
13047
+ "type": "null"
13048
+ }
13049
+ ],
13050
+ "title": "Created At",
13051
+ "description": "Creation time of the incident",
13052
+ "example": "2023-10-01T08:00:00Z"
13053
+ },
13054
+ "updated_at": {
13055
+ "anyOf": [
13056
+ {
13057
+ "type": "string",
13058
+ "format": "date-time"
13059
+ },
13060
+ {
13061
+ "type": "null"
13062
+ }
13063
+ ],
13064
+ "title": "Updated At",
13065
+ "description": "Last update time of the incident",
13066
+ "example": "2023-10-01T08:00:00Z"
13067
+ }
13068
+ },
13069
+ "type": "object",
13070
+ "required": [
13071
+ "description",
13072
+ "start_datetime",
13073
+ "resolution_datetime",
13074
+ "impact_category",
13075
+ "sessions_impacted",
13076
+ "markdown",
13077
+ "id"
13078
+ ],
13079
+ "title": "IncidentResponse",
13080
+ "description": "Response model for service incident operations."
13081
+ },
13082
+ "IncidentUpdateRequest": {
13083
+ "properties": {
13084
+ "description": {
13085
+ "type": "string",
13086
+ "title": "Description",
13087
+ "description": "Description of the service incident",
13088
+ "example": "Service outage in region X"
13089
+ },
13090
+ "start_datetime": {
13091
+ "type": "string",
13092
+ "format": "date-time",
13093
+ "title": "Start Datetime",
13094
+ "description": "Start time of the incident",
13095
+ "example": "2023-10-01T08:00:00Z"
13096
+ },
13097
+ "resolution_datetime": {
13098
+ "type": "string",
13099
+ "format": "date-time",
13100
+ "title": "Resolution Datetime",
13101
+ "description": "Resolution time of the incident",
13102
+ "example": "2023-10-01T12:00:00Z"
13103
+ },
13104
+ "impact_category": {
13105
+ "type": "string",
13106
+ "title": "Impact Category",
13107
+ "description": "Category of the impact",
13108
+ "example": "High"
13109
+ },
13110
+ "sessions_impacted": {
13111
+ "type": "integer",
13112
+ "title": "Sessions Impacted",
13113
+ "description": "Number of sessions impacted",
13114
+ "example": 1500
13115
+ },
13116
+ "markdown": {
13117
+ "type": "string",
13118
+ "title": "Markdown",
13119
+ "description": "Detailed markdown description of the incident",
13120
+ "example": "**Incident Details**"
13121
+ },
13122
+ "organization_id": {
13123
+ "anyOf": [
13124
+ {
13125
+ "type": "integer"
13126
+ },
13127
+ {
13128
+ "type": "null"
13129
+ }
13130
+ ],
13131
+ "title": "Organization Id",
13132
+ "description": "The ID of the organization",
13133
+ "example": 123
13134
+ },
13135
+ "sub_organization_id": {
13136
+ "anyOf": [
13137
+ {
13138
+ "type": "integer"
13139
+ },
13140
+ {
13141
+ "type": "null"
13142
+ }
13143
+ ],
13144
+ "title": "Sub Organization Id",
13145
+ "description": "The ID of the sub-organization",
13146
+ "example": 456
13147
+ },
13148
+ "sub_organization": {
13149
+ "anyOf": [
13150
+ {
13151
+ "type": "string"
13152
+ },
13153
+ {
13154
+ "type": "null"
13155
+ }
13156
+ ],
13157
+ "title": "Sub Organization",
13158
+ "description": "The name of the sub-organization",
13159
+ "example": "SubOrg A"
13160
+ },
13161
+ "id": {
13162
+ "type": "integer",
13163
+ "title": "Id",
13164
+ "description": "The ID of the incident to update",
13165
+ "example": 1
13166
+ },
13167
+ "created_at": {
13168
+ "anyOf": [
13169
+ {
13170
+ "type": "string",
13171
+ "format": "date-time"
13172
+ },
13173
+ {
13174
+ "type": "null"
13175
+ }
13176
+ ],
13177
+ "title": "Created At",
13178
+ "description": "Creation time of the incident",
13179
+ "example": "2023-10-01T08:00:00Z"
13180
+ },
13181
+ "updated_at": {
13182
+ "anyOf": [
13183
+ {
13184
+ "type": "string",
13185
+ "format": "date-time"
13186
+ },
13187
+ {
13188
+ "type": "null"
13189
+ }
13190
+ ],
13191
+ "title": "Updated At",
13192
+ "description": "Last update time of the incident",
13193
+ "example": "2023-10-01T08:00:00Z"
13194
+ }
13195
+ },
13196
+ "type": "object",
13197
+ "required": [
12525
13198
  "description",
12526
- "attributes"
13199
+ "start_datetime",
13200
+ "resolution_datetime",
13201
+ "impact_category",
13202
+ "sessions_impacted",
13203
+ "markdown",
13204
+ "id"
12527
13205
  ],
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"
13206
+ "title": "IncidentUpdateRequest",
13207
+ "description": "Request model to update an existing service incident."
12542
13208
  },
12543
13209
  "InsightToolDefinition": {
12544
13210
  "properties": {
@@ -12729,7 +13395,7 @@
12729
13395
  "title": "Created At",
12730
13396
  "description": "Timestamp of at which insight tool was created",
12731
13397
  "examples": [
12732
- "2024-01-01T00:00:00Z"
13398
+ "2025-04-06T00:00:00Z"
12733
13399
  ]
12734
13400
  },
12735
13401
  "updated_at": {
@@ -12738,7 +13404,7 @@
12738
13404
  "title": "Updated At",
12739
13405
  "description": "Timestamp at which insight tool was last updated",
12740
13406
  "examples": [
12741
- "2024-01-02T00:00:00Z"
13407
+ "2025-04-07T00:00:00Z"
12742
13408
  ]
12743
13409
  },
12744
13410
  "last_updated_by": {
@@ -12775,6 +13441,33 @@
12775
13441
  ],
12776
13442
  "title": "InsightToolProperties"
12777
13443
  },
13444
+ "InsightToolTestInput": {
13445
+ "properties": {
13446
+ "tool_name": {
13447
+ "type": "string",
13448
+ "title": "Tool Name",
13449
+ "description": "Human readable name of insight tool",
13450
+ "examples": [
13451
+ "summary-tool"
13452
+ ]
13453
+ },
13454
+ "session_id": {
13455
+ "type": "integer",
13456
+ "title": "Session Id",
13457
+ "description": "The session ID of the session to run the tool against",
13458
+ "examples": [
13459
+ "283467"
13460
+ ]
13461
+ }
13462
+ },
13463
+ "type": "object",
13464
+ "required": [
13465
+ "tool_name",
13466
+ "session_id"
13467
+ ],
13468
+ "title": "InsightToolTestInput",
13469
+ "description": "Request model to test an insight tool."
13470
+ },
12778
13471
  "InsightWorkflowInput": {
12779
13472
  "properties": {
12780
13473
  "name": {
@@ -12907,7 +13600,7 @@
12907
13600
  "title": "Created At",
12908
13601
  "description": "Timestamp at which the insight workflow was created",
12909
13602
  "examples": [
12910
- "2024-01-01T00:00:00Z"
13603
+ "2025-04-06T00:00:00Z"
12911
13604
  ]
12912
13605
  },
12913
13606
  "updated_at": {
@@ -12916,7 +13609,7 @@
12916
13609
  "title": "Updated At",
12917
13610
  "description": "Timestamp of most recent update to the insight workflow",
12918
13611
  "examples": [
12919
- "2024-01-02T00:00:00Z"
13612
+ "2025-04-07T00:00:00Z"
12920
13613
  ]
12921
13614
  },
12922
13615
  "last_updated_by": {
@@ -13045,7 +13738,7 @@
13045
13738
  "title": "Created At",
13046
13739
  "description": "Timestamp at which insight tool result was created",
13047
13740
  "examples": [
13048
- "2024-01-01T00:00:00Z"
13741
+ "2025-04-06T00:00:00Z"
13049
13742
  ]
13050
13743
  },
13051
13744
  "updated_at": {
@@ -13054,7 +13747,7 @@
13054
13747
  "title": "Updated At",
13055
13748
  "description": "Timestamp at which insight tool result was last updated",
13056
13749
  "examples": [
13057
- "2024-01-02T00:00:00Z"
13750
+ "2025-04-07T00:00:00Z"
13058
13751
  ]
13059
13752
  }
13060
13753
  },
@@ -13785,6 +14478,72 @@
13785
14478
  ],
13786
14479
  "title": "ListResponse[Channel]"
13787
14480
  },
14481
+ "ListResponse_CommunicationBatch_": {
14482
+ "properties": {
14483
+ "items": {
14484
+ "items": {
14485
+ "$ref": "#/components/schemas/CommunicationBatch"
14486
+ },
14487
+ "type": "array",
14488
+ "title": "Items",
14489
+ "description": "List of items returned from the query",
14490
+ "examples": []
14491
+ },
14492
+ "page": {
14493
+ "type": "integer",
14494
+ "title": "Page",
14495
+ "description": "The page number of the results (0-based)",
14496
+ "examples": [
14497
+ 0
14498
+ ]
14499
+ },
14500
+ "page_size": {
14501
+ "type": "integer",
14502
+ "title": "Page Size",
14503
+ "description": "The number of items returned per page",
14504
+ "examples": [
14505
+ 25
14506
+ ]
14507
+ },
14508
+ "total_pages": {
14509
+ "anyOf": [
14510
+ {
14511
+ "type": "integer"
14512
+ },
14513
+ {
14514
+ "type": "null"
14515
+ }
14516
+ ],
14517
+ "title": "Total Pages",
14518
+ "description": "The total number of pages of results given the indicated page size",
14519
+ "examples": [
14520
+ 4
14521
+ ]
14522
+ },
14523
+ "total_count": {
14524
+ "anyOf": [
14525
+ {
14526
+ "type": "integer"
14527
+ },
14528
+ {
14529
+ "type": "null"
14530
+ }
14531
+ ],
14532
+ "title": "Total Count",
14533
+ "description": "The total number of items returned from the query",
14534
+ "examples": [
14535
+ 100
14536
+ ]
14537
+ }
14538
+ },
14539
+ "type": "object",
14540
+ "required": [
14541
+ "items",
14542
+ "page",
14543
+ "page_size"
14544
+ ],
14545
+ "title": "ListResponse[CommunicationBatch]"
14546
+ },
13788
14547
  "ListResponse_Conversation_": {
13789
14548
  "properties": {
13790
14549
  "items": {
@@ -13855,7 +14614,139 @@
13855
14614
  "properties": {
13856
14615
  "items": {
13857
14616
  "items": {
13858
- "$ref": "#/components/schemas/CustomMessageResponse"
14617
+ "$ref": "#/components/schemas/CustomMessageResponse"
14618
+ },
14619
+ "type": "array",
14620
+ "title": "Items",
14621
+ "description": "List of items returned from the query",
14622
+ "examples": []
14623
+ },
14624
+ "page": {
14625
+ "type": "integer",
14626
+ "title": "Page",
14627
+ "description": "The page number of the results (0-based)",
14628
+ "examples": [
14629
+ 0
14630
+ ]
14631
+ },
14632
+ "page_size": {
14633
+ "type": "integer",
14634
+ "title": "Page Size",
14635
+ "description": "The number of items returned per page",
14636
+ "examples": [
14637
+ 25
14638
+ ]
14639
+ },
14640
+ "total_pages": {
14641
+ "anyOf": [
14642
+ {
14643
+ "type": "integer"
14644
+ },
14645
+ {
14646
+ "type": "null"
14647
+ }
14648
+ ],
14649
+ "title": "Total Pages",
14650
+ "description": "The total number of pages of results given the indicated page size",
14651
+ "examples": [
14652
+ 4
14653
+ ]
14654
+ },
14655
+ "total_count": {
14656
+ "anyOf": [
14657
+ {
14658
+ "type": "integer"
14659
+ },
14660
+ {
14661
+ "type": "null"
14662
+ }
14663
+ ],
14664
+ "title": "Total Count",
14665
+ "description": "The total number of items returned from the query",
14666
+ "examples": [
14667
+ 100
14668
+ ]
14669
+ }
14670
+ },
14671
+ "type": "object",
14672
+ "required": [
14673
+ "items",
14674
+ "page",
14675
+ "page_size"
14676
+ ],
14677
+ "title": "ListResponse[CustomMessageResponse]"
14678
+ },
14679
+ "ListResponse_DashboardResponse_": {
14680
+ "properties": {
14681
+ "items": {
14682
+ "items": {
14683
+ "$ref": "#/components/schemas/DashboardResponse"
14684
+ },
14685
+ "type": "array",
14686
+ "title": "Items",
14687
+ "description": "List of items returned from the query",
14688
+ "examples": []
14689
+ },
14690
+ "page": {
14691
+ "type": "integer",
14692
+ "title": "Page",
14693
+ "description": "The page number of the results (0-based)",
14694
+ "examples": [
14695
+ 0
14696
+ ]
14697
+ },
14698
+ "page_size": {
14699
+ "type": "integer",
14700
+ "title": "Page Size",
14701
+ "description": "The number of items returned per page",
14702
+ "examples": [
14703
+ 25
14704
+ ]
14705
+ },
14706
+ "total_pages": {
14707
+ "anyOf": [
14708
+ {
14709
+ "type": "integer"
14710
+ },
14711
+ {
14712
+ "type": "null"
14713
+ }
14714
+ ],
14715
+ "title": "Total Pages",
14716
+ "description": "The total number of pages of results given the indicated page size",
14717
+ "examples": [
14718
+ 4
14719
+ ]
14720
+ },
14721
+ "total_count": {
14722
+ "anyOf": [
14723
+ {
14724
+ "type": "integer"
14725
+ },
14726
+ {
14727
+ "type": "null"
14728
+ }
14729
+ ],
14730
+ "title": "Total Count",
14731
+ "description": "The total number of items returned from the query",
14732
+ "examples": [
14733
+ 100
14734
+ ]
14735
+ }
14736
+ },
14737
+ "type": "object",
14738
+ "required": [
14739
+ "items",
14740
+ "page",
14741
+ "page_size"
14742
+ ],
14743
+ "title": "ListResponse[DashboardResponse]"
14744
+ },
14745
+ "ListResponse_DataSourceMetadataResponse_": {
14746
+ "properties": {
14747
+ "items": {
14748
+ "items": {
14749
+ "$ref": "#/components/schemas/DataSourceMetadataResponse"
13859
14750
  },
13860
14751
  "type": "array",
13861
14752
  "title": "Items",
@@ -13915,13 +14806,13 @@
13915
14806
  "page",
13916
14807
  "page_size"
13917
14808
  ],
13918
- "title": "ListResponse[CustomMessageResponse]"
14809
+ "title": "ListResponse[DataSourceMetadataResponse]"
13919
14810
  },
13920
- "ListResponse_DashboardResponse_": {
14811
+ "ListResponse_DirectoryMember_": {
13921
14812
  "properties": {
13922
14813
  "items": {
13923
14814
  "items": {
13924
- "$ref": "#/components/schemas/DashboardResponse"
14815
+ "$ref": "#/components/schemas/DirectoryMember"
13925
14816
  },
13926
14817
  "type": "array",
13927
14818
  "title": "Items",
@@ -13981,13 +14872,13 @@
13981
14872
  "page",
13982
14873
  "page_size"
13983
14874
  ],
13984
- "title": "ListResponse[DashboardResponse]"
14875
+ "title": "ListResponse[DirectoryMember]"
13985
14876
  },
13986
- "ListResponse_DataSourceMetadataResponse_": {
14877
+ "ListResponse_Event_": {
13987
14878
  "properties": {
13988
14879
  "items": {
13989
14880
  "items": {
13990
- "$ref": "#/components/schemas/DataSourceMetadataResponse"
14881
+ "$ref": "#/components/schemas/Event"
13991
14882
  },
13992
14883
  "type": "array",
13993
14884
  "title": "Items",
@@ -14047,13 +14938,13 @@
14047
14938
  "page",
14048
14939
  "page_size"
14049
14940
  ],
14050
- "title": "ListResponse[DataSourceMetadataResponse]"
14941
+ "title": "ListResponse[Event]"
14051
14942
  },
14052
- "ListResponse_DirectoryMember_": {
14943
+ "ListResponse_IncidentResponse_": {
14053
14944
  "properties": {
14054
14945
  "items": {
14055
14946
  "items": {
14056
- "$ref": "#/components/schemas/DirectoryMember"
14947
+ "$ref": "#/components/schemas/IncidentResponse"
14057
14948
  },
14058
14949
  "type": "array",
14059
14950
  "title": "Items",
@@ -14113,13 +15004,13 @@
14113
15004
  "page",
14114
15005
  "page_size"
14115
15006
  ],
14116
- "title": "ListResponse[DirectoryMember]"
15007
+ "title": "ListResponse[IncidentResponse]"
14117
15008
  },
14118
- "ListResponse_Event_": {
15009
+ "ListResponse_InsightToolOutput_": {
14119
15010
  "properties": {
14120
15011
  "items": {
14121
15012
  "items": {
14122
- "$ref": "#/components/schemas/Event"
15013
+ "$ref": "#/components/schemas/InsightToolOutput"
14123
15014
  },
14124
15015
  "type": "array",
14125
15016
  "title": "Items",
@@ -14179,13 +15070,13 @@
14179
15070
  "page",
14180
15071
  "page_size"
14181
15072
  ],
14182
- "title": "ListResponse[Event]"
15073
+ "title": "ListResponse[InsightToolOutput]"
14183
15074
  },
14184
- "ListResponse_InsightToolOutput_": {
15075
+ "ListResponse_InsightWorkflowOutput_": {
14185
15076
  "properties": {
14186
15077
  "items": {
14187
15078
  "items": {
14188
- "$ref": "#/components/schemas/InsightToolOutput"
15079
+ "$ref": "#/components/schemas/InsightWorkflowOutput"
14189
15080
  },
14190
15081
  "type": "array",
14191
15082
  "title": "Items",
@@ -14245,13 +15136,13 @@
14245
15136
  "page",
14246
15137
  "page_size"
14247
15138
  ],
14248
- "title": "ListResponse[InsightToolOutput]"
15139
+ "title": "ListResponse[InsightWorkflowOutput]"
14249
15140
  },
14250
- "ListResponse_InsightWorkflowOutput_": {
15141
+ "ListResponse_InsightsOutput_": {
14251
15142
  "properties": {
14252
15143
  "items": {
14253
15144
  "items": {
14254
- "$ref": "#/components/schemas/InsightWorkflowOutput"
15145
+ "$ref": "#/components/schemas/InsightsOutput"
14255
15146
  },
14256
15147
  "type": "array",
14257
15148
  "title": "Items",
@@ -14311,13 +15202,13 @@
14311
15202
  "page",
14312
15203
  "page_size"
14313
15204
  ],
14314
- "title": "ListResponse[InsightWorkflowOutput]"
15205
+ "title": "ListResponse[InsightsOutput]"
14315
15206
  },
14316
- "ListResponse_InsightsOutput_": {
15207
+ "ListResponse_LanguageGroupResponse_": {
14317
15208
  "properties": {
14318
15209
  "items": {
14319
15210
  "items": {
14320
- "$ref": "#/components/schemas/InsightsOutput"
15211
+ "$ref": "#/components/schemas/LanguageGroupResponse"
14321
15212
  },
14322
15213
  "type": "array",
14323
15214
  "title": "Items",
@@ -14377,13 +15268,13 @@
14377
15268
  "page",
14378
15269
  "page_size"
14379
15270
  ],
14380
- "title": "ListResponse[InsightsOutput]"
15271
+ "title": "ListResponse[LanguageGroupResponse]"
14381
15272
  },
14382
- "ListResponse_LanguageGroupResponse_": {
15273
+ "ListResponse_OutboundCampaign_": {
14383
15274
  "properties": {
14384
15275
  "items": {
14385
15276
  "items": {
14386
- "$ref": "#/components/schemas/LanguageGroupResponse"
15277
+ "$ref": "#/components/schemas/OutboundCampaign"
14387
15278
  },
14388
15279
  "type": "array",
14389
15280
  "title": "Items",
@@ -14443,7 +15334,7 @@
14443
15334
  "page",
14444
15335
  "page_size"
14445
15336
  ],
14446
- "title": "ListResponse[LanguageGroupResponse]"
15337
+ "title": "ListResponse[OutboundCampaign]"
14447
15338
  },
14448
15339
  "ListResponse_PromptResponse_": {
14449
15340
  "properties": {
@@ -14794,6 +15685,37 @@
14794
15685
  "Outbound Campaign 1"
14795
15686
  ]
14796
15687
  },
15688
+ "description": {
15689
+ "anyOf": [
15690
+ {
15691
+ "type": "string"
15692
+ },
15693
+ {
15694
+ "type": "null"
15695
+ }
15696
+ ],
15697
+ "title": "Description",
15698
+ "description": "Description of campaign",
15699
+ "examples": [
15700
+ "This is a test campaign"
15701
+ ]
15702
+ },
15703
+ "label": {
15704
+ "anyOf": [
15705
+ {
15706
+ "type": "string"
15707
+ },
15708
+ {
15709
+ "type": "null"
15710
+ }
15711
+ ],
15712
+ "title": "Label",
15713
+ "description": "Label for campaign",
15714
+ "examples": [
15715
+ "test",
15716
+ "demo"
15717
+ ]
15718
+ },
14797
15719
  "campaign_variables": {
14798
15720
  "type": "object",
14799
15721
  "title": "Campaign Variables",
@@ -14923,7 +15845,7 @@
14923
15845
  "title": "Created At",
14924
15846
  "description": "Timestamp of campaign creation",
14925
15847
  "examples": [
14926
- "2024-01-01T00:00:00Z"
15848
+ "2025-04-07T00:00:00Z"
14927
15849
  ]
14928
15850
  },
14929
15851
  "updated_at": {
@@ -14931,7 +15853,7 @@
14931
15853
  "title": "Updated At",
14932
15854
  "description": "Timestamp of campaign update",
14933
15855
  "examples": [
14934
- "2024-01-01T00:00:00Z"
15856
+ "2025-04-07T00:00:00Z"
14935
15857
  ]
14936
15858
  },
14937
15859
  "last_updated_by": {
@@ -14966,6 +15888,37 @@
14966
15888
  "Outbound Campaign 1"
14967
15889
  ]
14968
15890
  },
15891
+ "description": {
15892
+ "anyOf": [
15893
+ {
15894
+ "type": "string"
15895
+ },
15896
+ {
15897
+ "type": "null"
15898
+ }
15899
+ ],
15900
+ "title": "Description",
15901
+ "description": "Description of campaign",
15902
+ "examples": [
15903
+ "This is a test campaign"
15904
+ ]
15905
+ },
15906
+ "label": {
15907
+ "anyOf": [
15908
+ {
15909
+ "type": "string"
15910
+ },
15911
+ {
15912
+ "type": "null"
15913
+ }
15914
+ ],
15915
+ "title": "Label",
15916
+ "description": "Label for campaign",
15917
+ "examples": [
15918
+ "test",
15919
+ "demo"
15920
+ ]
15921
+ },
14969
15922
  "campaign_variables": {
14970
15923
  "type": "object",
14971
15924
  "title": "Campaign Variables",
@@ -15171,7 +16124,7 @@
15171
16124
  "include_default_tools": {
15172
16125
  "type": "boolean",
15173
16126
  "title": "Include Default Tools",
15174
- "description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
16127
+ "description": "Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
15175
16128
  "default": true,
15176
16129
  "examples": [
15177
16130
  true
@@ -15666,7 +16619,7 @@
15666
16619
  "include_default_tools": {
15667
16620
  "type": "boolean",
15668
16621
  "title": "Include Default Tools",
15669
- "description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
16622
+ "description": "Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
15670
16623
  "default": true,
15671
16624
  "examples": [
15672
16625
  true
@@ -15683,19 +16636,6 @@
15683
16636
  "title": "PromptUpdateRequest",
15684
16637
  "description": "Request model to update an existing prompt."
15685
16638
  },
15686
- "RequestStatus": {
15687
- "type": "string",
15688
- "enum": [
15689
- "PENDING",
15690
- "DUPLICATE",
15691
- "INITIATED",
15692
- "CONNECTED",
15693
- "FAILED",
15694
- "CANCELED"
15695
- ],
15696
- "title": "RequestStatus",
15697
- "description": "Status of a communication request."
15698
- },
15699
16639
  "ServiceCreateRequest": {
15700
16640
  "properties": {
15701
16641
  "name": {
@@ -15723,175 +16663,6 @@
15723
16663
  "title": "ServiceCreateRequest",
15724
16664
  "description": "Request model to create a service."
15725
16665
  },
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
16666
  "ServiceProperties": {
15896
16667
  "type": "string",
15897
16668
  "enum": [
@@ -18214,6 +18985,18 @@
18214
18985
  {
18215
18986
  "operationId": ".*_get_by_name$",
18216
18987
  "methodNameOverride": "get_by_name"
18988
+ },
18989
+ {
18990
+ "operationId": ".*_add$",
18991
+ "methodNameOverride": "add"
18992
+ },
18993
+ {
18994
+ "operationId": ".*_remove$",
18995
+ "methodNameOverride": "remove"
18996
+ },
18997
+ {
18998
+ "operationId": ".*_results$",
18999
+ "methodNameOverride": "results"
18217
19000
  }
18218
19001
  ]
18219
19002
  }