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.
- package/README.md +22 -28
- package/docs/sdks/batches/README.md +26 -42
- package/docs/sdks/campaigns/README.md +25 -9
- package/docs/sdks/incidents/README.md +178 -84
- package/docs/sdks/insights/README.md +1 -1
- package/docs/sdks/latency/README.md +85 -0
- package/docs/sdks/syllablesdktools/README.md +82 -2
- package/docs/sdks/takeouts/README.md +11 -11
- package/docs/sdks/workflows/README.md +1 -1
- package/funcs/incidentsCreate.d.ts +1 -1
- package/funcs/incidentsCreate.d.ts.map +1 -1
- package/funcs/incidentsCreate.js +2 -2
- package/funcs/incidentsCreate.js.map +1 -1
- package/funcs/incidentsDelete.d.ts.map +1 -1
- package/funcs/incidentsDelete.js +4 -0
- package/funcs/incidentsDelete.js.map +1 -1
- package/funcs/incidentsGetById.d.ts +1 -1
- package/funcs/incidentsGetById.d.ts.map +1 -1
- package/funcs/incidentsGetById.js +1 -1
- package/funcs/incidentsGetById.js.map +1 -1
- package/funcs/incidentsIncidentGetOrganizations.d.ts +15 -0
- package/funcs/incidentsIncidentGetOrganizations.d.ts.map +1 -0
- package/funcs/{v1PostSessionsDashboard.js → incidentsIncidentGetOrganizations.js} +10 -15
- package/funcs/incidentsIncidentGetOrganizations.js.map +1 -0
- package/funcs/incidentsList.d.ts +2 -2
- package/funcs/incidentsList.d.ts.map +1 -1
- package/funcs/incidentsList.js +10 -4
- package/funcs/incidentsList.js.map +1 -1
- package/funcs/incidentsUpdate.d.ts +1 -2
- package/funcs/incidentsUpdate.d.ts.map +1 -1
- package/funcs/incidentsUpdate.js +4 -13
- package/funcs/incidentsUpdate.js.map +1 -1
- package/funcs/insightsList.d.ts +1 -1
- package/funcs/insightsList.js +1 -1
- package/funcs/insightsToolsCreate.d.ts +1 -1
- package/funcs/insightsToolsCreate.js +3 -3
- package/funcs/insightsToolsCreate.js.map +1 -1
- package/funcs/insightsToolsInsightsToolTest.d.ts +16 -0
- package/funcs/insightsToolsInsightsToolTest.d.ts.map +1 -0
- package/funcs/insightsToolsInsightsToolTest.js +103 -0
- package/funcs/insightsToolsInsightsToolTest.js.map +1 -0
- package/funcs/insightsToolsUpdate.d.ts +1 -1
- package/funcs/insightsToolsUpdate.js +1 -1
- package/funcs/insightsWorkflowsQueueSessionsWorkflow.d.ts +1 -1
- package/funcs/insightsWorkflowsQueueSessionsWorkflow.js +1 -1
- package/funcs/{outboundBatchesOutboundBatchAdd.d.ts → outboundBatchesAdd.d.ts} +2 -2
- package/funcs/outboundBatchesAdd.d.ts.map +1 -0
- package/funcs/{outboundBatchesOutboundBatchAdd.js → outboundBatchesAdd.js} +3 -3
- package/funcs/outboundBatchesAdd.js.map +1 -0
- package/funcs/outboundBatchesList.d.ts +1 -1
- package/funcs/outboundBatchesList.d.ts.map +1 -1
- package/funcs/outboundBatchesList.js +1 -2
- package/funcs/outboundBatchesList.js.map +1 -1
- package/funcs/{outboundBatchesOutboundBatchRemove.d.ts → outboundBatchesRemove.d.ts} +2 -2
- package/funcs/outboundBatchesRemove.d.ts.map +1 -0
- package/funcs/{outboundBatchesOutboundBatchRemove.js → outboundBatchesRemove.js} +3 -3
- package/funcs/outboundBatchesRemove.js.map +1 -0
- package/funcs/{outboundBatchesOutboundBatchResults.d.ts → outboundBatchesResults.d.ts} +2 -2
- package/funcs/outboundBatchesResults.d.ts.map +1 -0
- package/funcs/{outboundBatchesOutboundBatchResults.js → outboundBatchesResults.js} +8 -3
- package/funcs/outboundBatchesResults.js.map +1 -0
- package/funcs/outboundBatchesUpdate.js +1 -1
- package/funcs/outboundBatchesUpdate.js.map +1 -1
- package/funcs/outboundBatchesUpload.d.ts.map +1 -1
- package/funcs/outboundBatchesUpload.js +16 -12
- package/funcs/outboundBatchesUpload.js.map +1 -1
- package/funcs/outboundCampaignsList.d.ts +1 -1
- package/funcs/outboundCampaignsList.d.ts.map +1 -1
- package/funcs/outboundCampaignsList.js +1 -2
- package/funcs/outboundCampaignsList.js.map +1 -1
- package/funcs/{v1PostListDashboard.d.ts → sessionsLatencyGetById.d.ts} +3 -9
- package/funcs/sessionsLatencyGetById.d.ts.map +1 -0
- package/funcs/{v1PostGetDashboard.js → sessionsLatencyGetById.js} +15 -19
- package/funcs/sessionsLatencyGetById.js.map +1 -0
- package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts → takeoutsCreate.d.ts} +2 -2
- package/funcs/takeoutsCreate.d.ts.map +1 -0
- package/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js → takeoutsCreate.js} +4 -4
- package/funcs/takeoutsCreate.js.map +1 -0
- package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts → takeoutsTakeoutsGetByJobId.d.ts} +2 -2
- package/funcs/takeoutsTakeoutsGetByJobId.d.ts.map +1 -0
- package/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js → takeoutsTakeoutsGetByJobId.js} +5 -5
- package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/batchdetails.d.ts +8 -3
- package/models/components/batchdetails.d.ts.map +1 -1
- package/models/components/batchdetails.js +8 -2
- package/models/components/batchdetails.js.map +1 -1
- package/models/components/batchstatus.d.ts +3 -3
- package/models/components/batchstatus.js +1 -1
- package/models/components/batchstatus.js.map +1 -1
- package/models/components/bodyoutboundbatchdelete.d.ts +1 -1
- package/models/components/bodyoutboundbatchdelete.d.ts.map +1 -1
- package/models/components/bodyoutboundbatchdelete.js +10 -1
- package/models/components/bodyoutboundbatchdelete.js.map +1 -1
- package/models/components/bodyoutboundbatchupload.d.ts +2 -2
- package/models/components/bodyoutboundbatchupload.d.ts.map +1 -1
- package/models/components/bodyoutboundbatchupload.js +2 -2
- package/models/components/bodyoutboundbatchupload.js.map +1 -1
- package/models/components/communicationbatch.d.ts +8 -3
- package/models/components/communicationbatch.d.ts.map +1 -1
- package/models/components/communicationbatch.js +8 -2
- package/models/components/communicationbatch.js.map +1 -1
- package/models/components/communicationbatchupdate.d.ts +37 -0
- package/models/components/communicationbatchupdate.d.ts.map +1 -0
- package/models/components/communicationbatchupdate.js +70 -0
- package/models/components/communicationbatchupdate.js.map +1 -0
- package/models/components/communicationrequest.d.ts +0 -11
- package/models/components/communicationrequest.d.ts.map +1 -1
- package/models/components/communicationrequest.js +0 -9
- package/models/components/communicationrequest.js.map +1 -1
- package/models/components/communicationrequestresult.d.ts +44 -13
- package/models/components/communicationrequestresult.d.ts.map +1 -1
- package/models/components/communicationrequestresult.js +42 -13
- package/models/components/communicationrequestresult.js.map +1 -1
- package/models/components/conversation.d.ts +10 -0
- package/models/components/conversation.d.ts.map +1 -1
- package/models/components/conversation.js +8 -0
- package/models/components/conversation.js.map +1 -1
- package/models/components/daysofweek.d.ts +49 -0
- package/models/components/daysofweek.d.ts.map +1 -0
- package/models/components/daysofweek.js +59 -0
- package/models/components/daysofweek.js.map +1 -0
- package/models/components/incidentcreaterequest.d.ts +75 -0
- package/models/components/incidentcreaterequest.d.ts.map +1 -0
- package/models/components/{serviceincidentrequest.js → incidentcreaterequest.js} +29 -29
- package/models/components/incidentcreaterequest.js.map +1 -0
- package/models/components/incidentorganizationresponse.d.ts +33 -0
- package/models/components/incidentorganizationresponse.d.ts.map +1 -0
- package/models/components/incidentorganizationresponse.js +72 -0
- package/models/components/incidentorganizationresponse.js.map +1 -0
- package/models/components/incidentproperties.d.ts +64 -0
- package/models/components/incidentproperties.d.ts.map +1 -0
- package/models/components/incidentproperties.js +63 -0
- package/models/components/incidentproperties.js.map +1 -0
- package/models/components/incidentresponse.d.ts +90 -0
- package/models/components/incidentresponse.d.ts.map +1 -0
- package/models/components/{serviceincidentresponse.js → incidentresponse.js} +33 -33
- package/models/components/incidentresponse.js.map +1 -0
- package/models/components/incidentupdaterequest.d.ts +90 -0
- package/models/components/incidentupdaterequest.d.ts.map +1 -0
- package/models/{operations/incidentupdate.js → components/incidentupdaterequest.js} +43 -10
- package/models/components/incidentupdaterequest.js.map +1 -0
- package/models/components/index.d.ts +16 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -2
- package/models/components/index.js.map +1 -1
- package/models/components/insighttooltestinput.d.ts +40 -0
- package/models/components/insighttooltestinput.d.ts.map +1 -0
- package/models/components/insighttooltestinput.js +72 -0
- package/models/components/insighttooltestinput.js.map +1 -0
- package/models/components/inspectlatencyresponse.d.ts +42 -0
- package/models/components/inspectlatencyresponse.d.ts.map +1 -0
- package/models/components/inspectlatencyresponse.js +74 -0
- package/models/components/inspectlatencyresponse.js.map +1 -0
- package/models/components/latencycategory.d.ts +37 -0
- package/models/components/latencycategory.d.ts.map +1 -0
- package/models/components/latencycategory.js +53 -0
- package/models/components/latencycategory.js.map +1 -0
- package/models/components/latencyentry.d.ts +50 -0
- package/models/components/latencyentry.d.ts.map +1 -0
- package/models/components/latencyentry.js +92 -0
- package/models/components/latencyentry.js.map +1 -0
- package/models/components/latencyunittype.d.ts +37 -0
- package/models/components/latencyunittype.d.ts.map +1 -0
- package/models/components/latencyunittype.js +53 -0
- package/models/components/latencyunittype.js.map +1 -0
- package/models/components/listresponsecommunicationbatch.d.ts +53 -0
- package/models/components/listresponsecommunicationbatch.d.ts.map +1 -0
- package/models/components/listresponsecommunicationbatch.js +81 -0
- package/models/components/listresponsecommunicationbatch.js.map +1 -0
- package/models/components/listresponseincidentresponse.d.ts +53 -0
- package/models/components/listresponseincidentresponse.d.ts.map +1 -0
- package/models/components/listresponseincidentresponse.js +81 -0
- package/models/components/listresponseincidentresponse.js.map +1 -0
- package/models/components/listresponseoutboundcampaign.d.ts +53 -0
- package/models/components/listresponseoutboundcampaign.d.ts.map +1 -0
- package/models/components/listresponseoutboundcampaign.js +81 -0
- package/models/components/listresponseoutboundcampaign.js.map +1 -0
- package/models/components/outboundcampaign.d.ts +17 -6
- package/models/components/outboundcampaign.d.ts.map +1 -1
- package/models/components/outboundcampaign.js +13 -6
- package/models/components/outboundcampaign.js.map +1 -1
- package/models/components/outboundcampaigninput.d.ts +17 -6
- package/models/components/outboundcampaigninput.d.ts.map +1 -1
- package/models/components/outboundcampaigninput.js +13 -6
- package/models/components/outboundcampaigninput.js.map +1 -1
- package/models/components/summaryentry.d.ts +46 -0
- package/models/components/summaryentry.d.ts.map +1 -0
- package/models/components/summaryentry.js +87 -0
- package/models/components/summaryentry.js.map +1 -0
- package/models/operations/incidentdelete.d.ts +2 -0
- package/models/operations/incidentdelete.d.ts.map +1 -1
- package/models/operations/incidentdelete.js +2 -0
- package/models/operations/incidentdelete.js.map +1 -1
- package/models/operations/incidentlist.d.ts +44 -2
- package/models/operations/incidentlist.d.ts.map +1 -1
- package/models/operations/incidentlist.js +44 -4
- package/models/operations/incidentlist.js.map +1 -1
- package/models/operations/index.d.ts +2 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/outboundbatchresults.d.ts +4 -0
- package/models/operations/outboundbatchresults.d.ts.map +1 -1
- package/models/operations/outboundbatchresults.js +6 -0
- package/models/operations/outboundbatchresults.js.map +1 -1
- package/models/operations/outboundbatchupdate.d.ts +2 -2
- package/models/operations/outboundbatchupdate.d.ts.map +1 -1
- package/models/operations/outboundbatchupdate.js +4 -4
- package/models/operations/outboundbatchupdate.js.map +1 -1
- package/models/operations/outboundbatchupload.d.ts +2 -2
- package/models/operations/outboundbatchupload.d.ts.map +1 -1
- package/models/operations/outboundbatchupload.js +4 -2
- package/models/operations/outboundbatchupload.js.map +1 -1
- package/models/operations/outboundcampaigngetbyid.d.ts +2 -2
- package/models/operations/outboundcampaigngetbyid.js +2 -2
- package/models/operations/outboundcampaigngetbyid.js.map +1 -1
- package/models/operations/sessionlatencygetbyid.d.ts +29 -0
- package/models/operations/sessionlatencygetbyid.d.ts.map +1 -0
- package/models/operations/sessionlatencygetbyid.js +68 -0
- package/models/operations/sessionlatencygetbyid.js.map +1 -0
- package/models/operations/takeoutsgetbyjobid.d.ts +29 -0
- package/models/operations/takeoutsgetbyjobid.d.ts.map +1 -0
- package/models/operations/{gettakeoutapiv1takeoutsgetjobidget.js → takeoutsgetbyjobid.js} +17 -17
- package/models/operations/takeoutsgetbyjobid.js.map +1 -0
- package/openapi.json +1707 -727
- package/package.json +1 -1
- package/sdk/batches.d.ts +4 -4
- package/sdk/batches.d.ts.map +1 -1
- package/sdk/batches.js +9 -9
- package/sdk/batches.js.map +1 -1
- package/sdk/campaigns.d.ts +1 -1
- package/sdk/campaigns.d.ts.map +1 -1
- package/sdk/incidents.d.ts +20 -13
- package/sdk/incidents.d.ts.map +1 -1
- package/sdk/incidents.js +26 -16
- package/sdk/incidents.js.map +1 -1
- package/sdk/insights.d.ts +1 -1
- package/sdk/insights.js +1 -1
- package/sdk/latency.d.ts +10 -0
- package/sdk/latency.d.ts.map +1 -0
- package/sdk/latency.js +19 -0
- package/sdk/latency.js.map +1 -0
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessions.d.ts +3 -0
- package/sdk/sessions.d.ts.map +1 -1
- package/sdk/sessions.js +4 -0
- package/sdk/sessions.js.map +1 -1
- package/sdk/syllablesdktools.d.ts +9 -2
- package/sdk/syllablesdktools.d.ts.map +1 -1
- package/sdk/syllablesdktools.js +12 -2
- package/sdk/syllablesdktools.js.map +1 -1
- package/sdk/takeouts.d.ts +2 -2
- package/sdk/takeouts.d.ts.map +1 -1
- package/sdk/takeouts.js +6 -6
- package/sdk/takeouts.js.map +1 -1
- package/sdk/workflows.d.ts +1 -1
- package/sdk/workflows.js +1 -1
- package/src/funcs/incidentsCreate.ts +5 -5
- package/src/funcs/incidentsDelete.ts +6 -1
- package/src/funcs/incidentsGetById.ts +3 -3
- package/src/funcs/{v1PostSessionsDashboard.ts → incidentsIncidentGetOrganizations.ts} +10 -15
- package/src/funcs/incidentsList.ts +12 -6
- package/src/funcs/incidentsUpdate.ts +8 -18
- package/src/funcs/insightsList.ts +1 -1
- package/src/funcs/insightsToolsCreate.ts +4 -4
- package/src/funcs/{v1PostGetDashboard.ts → insightsToolsInsightsToolTest.ts} +17 -24
- package/src/funcs/insightsToolsUpdate.ts +1 -1
- package/src/funcs/insightsWorkflowsQueueSessionsWorkflow.ts +1 -1
- package/src/funcs/{outboundBatchesOutboundBatchAdd.ts → outboundBatchesAdd.ts} +1 -1
- package/src/funcs/outboundBatchesList.ts +3 -4
- package/src/funcs/{outboundBatchesOutboundBatchRemove.ts → outboundBatchesRemove.ts} +1 -1
- package/src/funcs/{outboundBatchesOutboundBatchResults.ts → outboundBatchesResults.ts} +8 -2
- package/src/funcs/outboundBatchesUpdate.ts +1 -1
- package/src/funcs/outboundBatchesUpload.ts +23 -20
- package/src/funcs/outboundCampaignsList.ts +3 -4
- package/src/funcs/sessionsLatencyGetById.ts +140 -0
- package/src/funcs/{takeoutsCreateTakeoutApiV1TakeoutsCreatePost.ts → takeoutsCreate.ts} +2 -2
- package/src/funcs/{takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.ts → takeoutsTakeoutsGetByJobId.ts} +4 -7
- package/src/lib/config.ts +2 -2
- package/src/models/components/batchdetails.ts +16 -5
- package/src/models/components/batchstatus.ts +1 -1
- package/src/models/components/bodyoutboundbatchdelete.ts +11 -2
- package/src/models/components/bodyoutboundbatchupload.ts +4 -4
- package/src/models/components/communicationbatch.ts +16 -5
- package/src/models/components/communicationbatchupdate.ts +85 -0
- package/src/models/components/communicationrequest.ts +0 -23
- package/src/models/components/communicationrequestresult.ts +87 -25
- package/src/models/components/conversation.ts +18 -0
- package/src/models/components/daysofweek.ts +42 -0
- package/src/models/components/{serviceincidentrequest.ts → incidentcreaterequest.ts} +69 -39
- package/src/models/components/incidentorganizationresponse.ts +85 -0
- package/src/models/components/incidentproperties.ts +49 -0
- package/src/models/components/incidentresponse.ts +182 -0
- package/src/models/components/incidentupdaterequest.ts +182 -0
- package/src/models/components/index.ts +16 -2
- package/src/models/components/insighttooltestinput.ts +90 -0
- package/src/models/components/inspectlatencyresponse.ts +102 -0
- package/src/models/components/latencycategory.ts +36 -0
- package/src/models/components/latencyentry.ts +124 -0
- package/src/models/components/latencyunittype.ts +36 -0
- package/src/models/components/listresponsecommunicationbatch.ts +118 -0
- package/src/models/components/listresponseincidentresponse.ts +118 -0
- package/src/models/components/listresponseoutboundcampaign.ts +118 -0
- package/src/models/components/outboundcampaign.ts +33 -12
- package/src/models/components/outboundcampaigninput.ts +33 -12
- package/src/models/components/summaryentry.ts +110 -0
- package/src/models/operations/incidentdelete.ts +4 -0
- package/src/models/operations/incidentlist.ts +87 -6
- package/src/models/operations/index.ts +2 -2
- package/src/models/operations/outboundbatchresults.ts +10 -0
- package/src/models/operations/outboundbatchupdate.ts +6 -6
- package/src/models/operations/outboundbatchupload.ts +8 -4
- package/src/models/operations/outboundcampaigngetbyid.ts +4 -4
- package/src/models/operations/sessionlatencygetbyid.ts +77 -0
- package/src/models/operations/takeoutsgetbyjobid.ts +75 -0
- package/src/sdk/batches.ts +10 -10
- package/src/sdk/campaigns.ts +1 -1
- package/src/sdk/incidents.ts +43 -27
- package/src/sdk/insights.ts +1 -1
- package/src/sdk/latency.ts +25 -0
- package/src/sdk/sdk.ts +0 -6
- package/src/sdk/sessions.ts +6 -0
- package/src/sdk/syllablesdktools.ts +20 -2
- package/src/sdk/takeouts.ts +7 -7
- package/src/sdk/workflows.ts +1 -1
- package/docs/sdks/v1/README.md +0 -497
- package/funcs/outboundBatchesOutboundBatchAdd.d.ts.map +0 -1
- package/funcs/outboundBatchesOutboundBatchAdd.js.map +0 -1
- package/funcs/outboundBatchesOutboundBatchRemove.d.ts.map +0 -1
- package/funcs/outboundBatchesOutboundBatchRemove.js.map +0 -1
- package/funcs/outboundBatchesOutboundBatchResults.d.ts.map +0 -1
- package/funcs/outboundBatchesOutboundBatchResults.js.map +0 -1
- package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.d.ts.map +0 -1
- package/funcs/takeoutsCreateTakeoutApiV1TakeoutsCreatePost.js.map +0 -1
- package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.d.ts.map +0 -1
- package/funcs/takeoutsGetTakeoutApiV1TakeoutsGetJobIdGet.js.map +0 -1
- package/funcs/v1PostGetDashboard.d.ts +0 -20
- package/funcs/v1PostGetDashboard.d.ts.map +0 -1
- package/funcs/v1PostGetDashboard.js.map +0 -1
- package/funcs/v1PostListDashboard.d.ts.map +0 -1
- package/funcs/v1PostListDashboard.js +0 -117
- package/funcs/v1PostListDashboard.js.map +0 -1
- package/funcs/v1PostSessionEventsDashboard.d.ts +0 -21
- package/funcs/v1PostSessionEventsDashboard.d.ts.map +0 -1
- package/funcs/v1PostSessionEventsDashboard.js +0 -94
- package/funcs/v1PostSessionEventsDashboard.js.map +0 -1
- package/funcs/v1PostSessionSummaryDashboard.d.ts +0 -21
- package/funcs/v1PostSessionSummaryDashboard.d.ts.map +0 -1
- package/funcs/v1PostSessionSummaryDashboard.js +0 -94
- package/funcs/v1PostSessionSummaryDashboard.js.map +0 -1
- package/funcs/v1PostSessionTransfersDashboard.d.ts +0 -21
- package/funcs/v1PostSessionTransfersDashboard.d.ts.map +0 -1
- package/funcs/v1PostSessionTransfersDashboard.js +0 -94
- package/funcs/v1PostSessionTransfersDashboard.js.map +0 -1
- package/funcs/v1PostSessionsDashboard.d.ts +0 -21
- package/funcs/v1PostSessionsDashboard.d.ts.map +0 -1
- package/funcs/v1PostSessionsDashboard.js.map +0 -1
- package/models/components/serviceincidentrequest.d.ts +0 -45
- package/models/components/serviceincidentrequest.d.ts.map +0 -1
- package/models/components/serviceincidentrequest.js.map +0 -1
- package/models/components/serviceincidentresponse.d.ts +0 -51
- package/models/components/serviceincidentresponse.d.ts.map +0 -1
- package/models/components/serviceincidentresponse.js.map +0 -1
- package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts +0 -29
- package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts.map +0 -1
- package/models/operations/gettakeoutapiv1takeoutsgetjobidget.js.map +0 -1
- package/models/operations/incidentupdate.d.ts +0 -32
- package/models/operations/incidentupdate.d.ts.map +0 -1
- package/models/operations/incidentupdate.js.map +0 -1
- package/sdk/v1.d.ts +0 -78
- package/sdk/v1.d.ts.map +0 -1
- package/sdk/v1.js +0 -102
- package/sdk/v1.js.map +0 -1
- package/src/funcs/v1PostListDashboard.ts +0 -151
- package/src/funcs/v1PostSessionEventsDashboard.ts +0 -117
- package/src/funcs/v1PostSessionSummaryDashboard.ts +0 -117
- package/src/funcs/v1PostSessionTransfersDashboard.ts +0 -117
- package/src/models/components/serviceincidentresponse.ts +0 -139
- package/src/models/operations/gettakeoutapiv1takeoutsgetjobidget.ts +0 -87
- package/src/models/operations/incidentupdate.ts +0 -82
- package/src/sdk/v1.ts +0 -140
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Response model for service incident operations.
|
|
13
|
+
*/
|
|
14
|
+
export type IncidentResponse = {
|
|
15
|
+
/**
|
|
16
|
+
* Description of the service incident
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* Start time of the incident
|
|
21
|
+
*/
|
|
22
|
+
startDatetime: Date;
|
|
23
|
+
/**
|
|
24
|
+
* Resolution time of the incident
|
|
25
|
+
*/
|
|
26
|
+
resolutionDatetime: Date;
|
|
27
|
+
/**
|
|
28
|
+
* Category of the impact
|
|
29
|
+
*/
|
|
30
|
+
impactCategory: string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of sessions impacted
|
|
33
|
+
*/
|
|
34
|
+
sessionsImpacted: number;
|
|
35
|
+
/**
|
|
36
|
+
* Detailed markdown description of the incident
|
|
37
|
+
*/
|
|
38
|
+
markdown: string;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of the organization
|
|
41
|
+
*/
|
|
42
|
+
organizationId?: number | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the sub-organization
|
|
45
|
+
*/
|
|
46
|
+
subOrganizationId?: number | null | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the sub-organization
|
|
49
|
+
*/
|
|
50
|
+
subOrganization?: string | null | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the incident to update
|
|
53
|
+
*/
|
|
54
|
+
id: number;
|
|
55
|
+
/**
|
|
56
|
+
* Creation time of the incident
|
|
57
|
+
*/
|
|
58
|
+
createdAt?: Date | null | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Last update time of the incident
|
|
61
|
+
*/
|
|
62
|
+
updatedAt?: Date | null | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const IncidentResponse$inboundSchema: z.ZodType<
|
|
67
|
+
IncidentResponse,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
description: z.string(),
|
|
72
|
+
start_datetime: z.string().datetime({ offset: true }).transform(v =>
|
|
73
|
+
new Date(v)
|
|
74
|
+
),
|
|
75
|
+
resolution_datetime: z.string().datetime({ offset: true }).transform(v =>
|
|
76
|
+
new Date(v)
|
|
77
|
+
),
|
|
78
|
+
impact_category: z.string(),
|
|
79
|
+
sessions_impacted: z.number().int(),
|
|
80
|
+
markdown: z.string(),
|
|
81
|
+
organization_id: z.nullable(z.number().int()).optional(),
|
|
82
|
+
sub_organization_id: z.nullable(z.number().int()).optional(),
|
|
83
|
+
sub_organization: z.nullable(z.string()).optional(),
|
|
84
|
+
id: z.number().int(),
|
|
85
|
+
created_at: z.nullable(
|
|
86
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
87
|
+
).optional(),
|
|
88
|
+
updated_at: z.nullable(
|
|
89
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
90
|
+
).optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return remap$(v, {
|
|
93
|
+
"start_datetime": "startDatetime",
|
|
94
|
+
"resolution_datetime": "resolutionDatetime",
|
|
95
|
+
"impact_category": "impactCategory",
|
|
96
|
+
"sessions_impacted": "sessionsImpacted",
|
|
97
|
+
"organization_id": "organizationId",
|
|
98
|
+
"sub_organization_id": "subOrganizationId",
|
|
99
|
+
"sub_organization": "subOrganization",
|
|
100
|
+
"created_at": "createdAt",
|
|
101
|
+
"updated_at": "updatedAt",
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type IncidentResponse$Outbound = {
|
|
107
|
+
description: string;
|
|
108
|
+
start_datetime: string;
|
|
109
|
+
resolution_datetime: string;
|
|
110
|
+
impact_category: string;
|
|
111
|
+
sessions_impacted: number;
|
|
112
|
+
markdown: string;
|
|
113
|
+
organization_id?: number | null | undefined;
|
|
114
|
+
sub_organization_id?: number | null | undefined;
|
|
115
|
+
sub_organization?: string | null | undefined;
|
|
116
|
+
id: number;
|
|
117
|
+
created_at?: string | null | undefined;
|
|
118
|
+
updated_at?: string | null | undefined;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const IncidentResponse$outboundSchema: z.ZodType<
|
|
123
|
+
IncidentResponse$Outbound,
|
|
124
|
+
z.ZodTypeDef,
|
|
125
|
+
IncidentResponse
|
|
126
|
+
> = z.object({
|
|
127
|
+
description: z.string(),
|
|
128
|
+
startDatetime: z.date().transform(v => v.toISOString()),
|
|
129
|
+
resolutionDatetime: z.date().transform(v => v.toISOString()),
|
|
130
|
+
impactCategory: z.string(),
|
|
131
|
+
sessionsImpacted: z.number().int(),
|
|
132
|
+
markdown: z.string(),
|
|
133
|
+
organizationId: z.nullable(z.number().int()).optional(),
|
|
134
|
+
subOrganizationId: z.nullable(z.number().int()).optional(),
|
|
135
|
+
subOrganization: z.nullable(z.string()).optional(),
|
|
136
|
+
id: z.number().int(),
|
|
137
|
+
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
138
|
+
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
139
|
+
}).transform((v) => {
|
|
140
|
+
return remap$(v, {
|
|
141
|
+
startDatetime: "start_datetime",
|
|
142
|
+
resolutionDatetime: "resolution_datetime",
|
|
143
|
+
impactCategory: "impact_category",
|
|
144
|
+
sessionsImpacted: "sessions_impacted",
|
|
145
|
+
organizationId: "organization_id",
|
|
146
|
+
subOrganizationId: "sub_organization_id",
|
|
147
|
+
subOrganization: "sub_organization",
|
|
148
|
+
createdAt: "created_at",
|
|
149
|
+
updatedAt: "updated_at",
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
156
|
+
*/
|
|
157
|
+
export namespace IncidentResponse$ {
|
|
158
|
+
/** @deprecated use `IncidentResponse$inboundSchema` instead. */
|
|
159
|
+
export const inboundSchema = IncidentResponse$inboundSchema;
|
|
160
|
+
/** @deprecated use `IncidentResponse$outboundSchema` instead. */
|
|
161
|
+
export const outboundSchema = IncidentResponse$outboundSchema;
|
|
162
|
+
/** @deprecated use `IncidentResponse$Outbound` instead. */
|
|
163
|
+
export type Outbound = IncidentResponse$Outbound;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function incidentResponseToJSON(
|
|
167
|
+
incidentResponse: IncidentResponse,
|
|
168
|
+
): string {
|
|
169
|
+
return JSON.stringify(
|
|
170
|
+
IncidentResponse$outboundSchema.parse(incidentResponse),
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function incidentResponseFromJSON(
|
|
175
|
+
jsonString: string,
|
|
176
|
+
): SafeParseResult<IncidentResponse, SDKValidationError> {
|
|
177
|
+
return safeParse(
|
|
178
|
+
jsonString,
|
|
179
|
+
(x) => IncidentResponse$inboundSchema.parse(JSON.parse(x)),
|
|
180
|
+
`Failed to parse 'IncidentResponse' from JSON`,
|
|
181
|
+
);
|
|
182
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Request model to update an existing service incident.
|
|
13
|
+
*/
|
|
14
|
+
export type IncidentUpdateRequest = {
|
|
15
|
+
/**
|
|
16
|
+
* Description of the service incident
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* Start time of the incident
|
|
21
|
+
*/
|
|
22
|
+
startDatetime: Date;
|
|
23
|
+
/**
|
|
24
|
+
* Resolution time of the incident
|
|
25
|
+
*/
|
|
26
|
+
resolutionDatetime: Date;
|
|
27
|
+
/**
|
|
28
|
+
* Category of the impact
|
|
29
|
+
*/
|
|
30
|
+
impactCategory: string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of sessions impacted
|
|
33
|
+
*/
|
|
34
|
+
sessionsImpacted: number;
|
|
35
|
+
/**
|
|
36
|
+
* Detailed markdown description of the incident
|
|
37
|
+
*/
|
|
38
|
+
markdown: string;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of the organization
|
|
41
|
+
*/
|
|
42
|
+
organizationId?: number | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the sub-organization
|
|
45
|
+
*/
|
|
46
|
+
subOrganizationId?: number | null | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the sub-organization
|
|
49
|
+
*/
|
|
50
|
+
subOrganization?: string | null | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the incident to update
|
|
53
|
+
*/
|
|
54
|
+
id: number;
|
|
55
|
+
/**
|
|
56
|
+
* Creation time of the incident
|
|
57
|
+
*/
|
|
58
|
+
createdAt?: Date | null | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Last update time of the incident
|
|
61
|
+
*/
|
|
62
|
+
updatedAt?: Date | null | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const IncidentUpdateRequest$inboundSchema: z.ZodType<
|
|
67
|
+
IncidentUpdateRequest,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
description: z.string(),
|
|
72
|
+
start_datetime: z.string().datetime({ offset: true }).transform(v =>
|
|
73
|
+
new Date(v)
|
|
74
|
+
),
|
|
75
|
+
resolution_datetime: z.string().datetime({ offset: true }).transform(v =>
|
|
76
|
+
new Date(v)
|
|
77
|
+
),
|
|
78
|
+
impact_category: z.string(),
|
|
79
|
+
sessions_impacted: z.number().int(),
|
|
80
|
+
markdown: z.string(),
|
|
81
|
+
organization_id: z.nullable(z.number().int()).optional(),
|
|
82
|
+
sub_organization_id: z.nullable(z.number().int()).optional(),
|
|
83
|
+
sub_organization: z.nullable(z.string()).optional(),
|
|
84
|
+
id: z.number().int(),
|
|
85
|
+
created_at: z.nullable(
|
|
86
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
87
|
+
).optional(),
|
|
88
|
+
updated_at: z.nullable(
|
|
89
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
90
|
+
).optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return remap$(v, {
|
|
93
|
+
"start_datetime": "startDatetime",
|
|
94
|
+
"resolution_datetime": "resolutionDatetime",
|
|
95
|
+
"impact_category": "impactCategory",
|
|
96
|
+
"sessions_impacted": "sessionsImpacted",
|
|
97
|
+
"organization_id": "organizationId",
|
|
98
|
+
"sub_organization_id": "subOrganizationId",
|
|
99
|
+
"sub_organization": "subOrganization",
|
|
100
|
+
"created_at": "createdAt",
|
|
101
|
+
"updated_at": "updatedAt",
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type IncidentUpdateRequest$Outbound = {
|
|
107
|
+
description: string;
|
|
108
|
+
start_datetime: string;
|
|
109
|
+
resolution_datetime: string;
|
|
110
|
+
impact_category: string;
|
|
111
|
+
sessions_impacted: number;
|
|
112
|
+
markdown: string;
|
|
113
|
+
organization_id?: number | null | undefined;
|
|
114
|
+
sub_organization_id?: number | null | undefined;
|
|
115
|
+
sub_organization?: string | null | undefined;
|
|
116
|
+
id: number;
|
|
117
|
+
created_at?: string | null | undefined;
|
|
118
|
+
updated_at?: string | null | undefined;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const IncidentUpdateRequest$outboundSchema: z.ZodType<
|
|
123
|
+
IncidentUpdateRequest$Outbound,
|
|
124
|
+
z.ZodTypeDef,
|
|
125
|
+
IncidentUpdateRequest
|
|
126
|
+
> = z.object({
|
|
127
|
+
description: z.string(),
|
|
128
|
+
startDatetime: z.date().transform(v => v.toISOString()),
|
|
129
|
+
resolutionDatetime: z.date().transform(v => v.toISOString()),
|
|
130
|
+
impactCategory: z.string(),
|
|
131
|
+
sessionsImpacted: z.number().int(),
|
|
132
|
+
markdown: z.string(),
|
|
133
|
+
organizationId: z.nullable(z.number().int()).optional(),
|
|
134
|
+
subOrganizationId: z.nullable(z.number().int()).optional(),
|
|
135
|
+
subOrganization: z.nullable(z.string()).optional(),
|
|
136
|
+
id: z.number().int(),
|
|
137
|
+
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
138
|
+
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
139
|
+
}).transform((v) => {
|
|
140
|
+
return remap$(v, {
|
|
141
|
+
startDatetime: "start_datetime",
|
|
142
|
+
resolutionDatetime: "resolution_datetime",
|
|
143
|
+
impactCategory: "impact_category",
|
|
144
|
+
sessionsImpacted: "sessions_impacted",
|
|
145
|
+
organizationId: "organization_id",
|
|
146
|
+
subOrganizationId: "sub_organization_id",
|
|
147
|
+
subOrganization: "sub_organization",
|
|
148
|
+
createdAt: "created_at",
|
|
149
|
+
updatedAt: "updated_at",
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
156
|
+
*/
|
|
157
|
+
export namespace IncidentUpdateRequest$ {
|
|
158
|
+
/** @deprecated use `IncidentUpdateRequest$inboundSchema` instead. */
|
|
159
|
+
export const inboundSchema = IncidentUpdateRequest$inboundSchema;
|
|
160
|
+
/** @deprecated use `IncidentUpdateRequest$outboundSchema` instead. */
|
|
161
|
+
export const outboundSchema = IncidentUpdateRequest$outboundSchema;
|
|
162
|
+
/** @deprecated use `IncidentUpdateRequest$Outbound` instead. */
|
|
163
|
+
export type Outbound = IncidentUpdateRequest$Outbound;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function incidentUpdateRequestToJSON(
|
|
167
|
+
incidentUpdateRequest: IncidentUpdateRequest,
|
|
168
|
+
): string {
|
|
169
|
+
return JSON.stringify(
|
|
170
|
+
IncidentUpdateRequest$outboundSchema.parse(incidentUpdateRequest),
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function incidentUpdateRequestFromJSON(
|
|
175
|
+
jsonString: string,
|
|
176
|
+
): SafeParseResult<IncidentUpdateRequest, SDKValidationError> {
|
|
177
|
+
return safeParse(
|
|
178
|
+
jsonString,
|
|
179
|
+
(x) => IncidentUpdateRequest$inboundSchema.parse(JSON.parse(x)),
|
|
180
|
+
`Failed to parse 'IncidentUpdateRequest' from JSON`,
|
|
181
|
+
);
|
|
182
|
+
}
|
|
@@ -33,6 +33,7 @@ export * from "./channeltargetresponse.js";
|
|
|
33
33
|
export * from "./channeltargetupdaterequest.js";
|
|
34
34
|
export * from "./communicationbatch.js";
|
|
35
35
|
export * from "./communicationbatchinput.js";
|
|
36
|
+
export * from "./communicationbatchupdate.js";
|
|
36
37
|
export * from "./communicationrequest.js";
|
|
37
38
|
export * from "./communicationrequestresult.js";
|
|
38
39
|
export * from "./conversation.js";
|
|
@@ -53,11 +54,17 @@ export * from "./datasourcemetadataresponse.js";
|
|
|
53
54
|
export * from "./datasourceproperties.js";
|
|
54
55
|
export * from "./datasourceupdaterequest.js";
|
|
55
56
|
export * from "./dayofweek.js";
|
|
57
|
+
export * from "./daysofweek.js";
|
|
56
58
|
export * from "./dialogmessage.js";
|
|
57
59
|
export * from "./dialogrole.js";
|
|
58
60
|
export * from "./dialogtoolcall.js";
|
|
59
61
|
export * from "./event.js";
|
|
60
62
|
export * from "./eventproperties.js";
|
|
63
|
+
export * from "./incidentcreaterequest.js";
|
|
64
|
+
export * from "./incidentorganizationresponse.js";
|
|
65
|
+
export * from "./incidentproperties.js";
|
|
66
|
+
export * from "./incidentresponse.js";
|
|
67
|
+
export * from "./incidentupdaterequest.js";
|
|
61
68
|
export * from "./insightsoutput.js";
|
|
62
69
|
export * from "./insightsproperties.js";
|
|
63
70
|
export * from "./insightsworkflowqueuesession.js";
|
|
@@ -65,9 +72,11 @@ export * from "./insighttooldefinition.js";
|
|
|
65
72
|
export * from "./insighttoolinput.js";
|
|
66
73
|
export * from "./insighttooloutput.js";
|
|
67
74
|
export * from "./insighttoolproperties.js";
|
|
75
|
+
export * from "./insighttooltestinput.js";
|
|
68
76
|
export * from "./insightworkflowinput.js";
|
|
69
77
|
export * from "./insightworkflowoutput.js";
|
|
70
78
|
export * from "./insightworkflowproperties.js";
|
|
79
|
+
export * from "./inspectlatencyresponse.js";
|
|
71
80
|
export * from "./internaltool.js";
|
|
72
81
|
export * from "./languagecode.js";
|
|
73
82
|
export * from "./languageconfig.js";
|
|
@@ -76,19 +85,25 @@ export * from "./languagegroupcreaterequest.js";
|
|
|
76
85
|
export * from "./languagegroupproperties.js";
|
|
77
86
|
export * from "./languagegroupresponse.js";
|
|
78
87
|
export * from "./languagegroupupdaterequest.js";
|
|
88
|
+
export * from "./latencycategory.js";
|
|
89
|
+
export * from "./latencyentry.js";
|
|
90
|
+
export * from "./latencyunittype.js";
|
|
79
91
|
export * from "./listresponseagentresponse.js";
|
|
80
92
|
export * from "./listresponseavailabletarget.js";
|
|
81
93
|
export * from "./listresponsechannel.js";
|
|
82
94
|
export * from "./listresponsechanneltargetresponse.js";
|
|
95
|
+
export * from "./listresponsecommunicationbatch.js";
|
|
83
96
|
export * from "./listresponseconversation.js";
|
|
84
97
|
export * from "./listresponsecustommessageresponse.js";
|
|
85
98
|
export * from "./listresponsedashboardresponse.js";
|
|
86
99
|
export * from "./listresponsedatasourcemetadataresponse.js";
|
|
87
100
|
export * from "./listresponseevent.js";
|
|
101
|
+
export * from "./listresponseincidentresponse.js";
|
|
88
102
|
export * from "./listresponseinsightsoutput.js";
|
|
89
103
|
export * from "./listresponseinsighttooloutput.js";
|
|
90
104
|
export * from "./listresponseinsightworkflowoutput.js";
|
|
91
105
|
export * from "./listresponselanguagegroupresponse.js";
|
|
106
|
+
export * from "./listresponseoutboundcampaign.js";
|
|
92
107
|
export * from "./listresponsepromptresponse.js";
|
|
93
108
|
export * from "./listresponseserviceresponse.js";
|
|
94
109
|
export * from "./listresponsesession.js";
|
|
@@ -107,8 +122,6 @@ export * from "./promptupdaterequest.js";
|
|
|
107
122
|
export * from "./requeststatus.js";
|
|
108
123
|
export * from "./security.js";
|
|
109
124
|
export * from "./servicecreaterequest.js";
|
|
110
|
-
export * from "./serviceincidentrequest.js";
|
|
111
|
-
export * from "./serviceincidentresponse.js";
|
|
112
125
|
export * from "./serviceproperties.js";
|
|
113
126
|
export * from "./serviceresponse.js";
|
|
114
127
|
export * from "./serviceupdaterequest.js";
|
|
@@ -126,6 +139,7 @@ export * from "./sessiontext.js";
|
|
|
126
139
|
export * from "./sessiontranscriptionresponse.js";
|
|
127
140
|
export * from "./statictoolparameter.js";
|
|
128
141
|
export * from "./statictoolparametertype.js";
|
|
142
|
+
export * from "./summaryentry.js";
|
|
129
143
|
export * from "./supportedllm.js";
|
|
130
144
|
export * from "./takeoutrequeststatus.js";
|
|
131
145
|
export * from "./takeoutstatusresponse.js";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Request model to test an insight tool.
|
|
13
|
+
*/
|
|
14
|
+
export type InsightToolTestInput = {
|
|
15
|
+
/**
|
|
16
|
+
* Human readable name of insight tool
|
|
17
|
+
*/
|
|
18
|
+
toolName: string;
|
|
19
|
+
/**
|
|
20
|
+
* The session ID of the session to run the tool against
|
|
21
|
+
*/
|
|
22
|
+
sessionId: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const InsightToolTestInput$inboundSchema: z.ZodType<
|
|
27
|
+
InsightToolTestInput,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
tool_name: z.string(),
|
|
32
|
+
session_id: z.number().int(),
|
|
33
|
+
}).transform((v) => {
|
|
34
|
+
return remap$(v, {
|
|
35
|
+
"tool_name": "toolName",
|
|
36
|
+
"session_id": "sessionId",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type InsightToolTestInput$Outbound = {
|
|
42
|
+
tool_name: string;
|
|
43
|
+
session_id: number;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const InsightToolTestInput$outboundSchema: z.ZodType<
|
|
48
|
+
InsightToolTestInput$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
InsightToolTestInput
|
|
51
|
+
> = z.object({
|
|
52
|
+
toolName: z.string(),
|
|
53
|
+
sessionId: z.number().int(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
toolName: "tool_name",
|
|
57
|
+
sessionId: "session_id",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
export namespace InsightToolTestInput$ {
|
|
66
|
+
/** @deprecated use `InsightToolTestInput$inboundSchema` instead. */
|
|
67
|
+
export const inboundSchema = InsightToolTestInput$inboundSchema;
|
|
68
|
+
/** @deprecated use `InsightToolTestInput$outboundSchema` instead. */
|
|
69
|
+
export const outboundSchema = InsightToolTestInput$outboundSchema;
|
|
70
|
+
/** @deprecated use `InsightToolTestInput$Outbound` instead. */
|
|
71
|
+
export type Outbound = InsightToolTestInput$Outbound;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function insightToolTestInputToJSON(
|
|
75
|
+
insightToolTestInput: InsightToolTestInput,
|
|
76
|
+
): string {
|
|
77
|
+
return JSON.stringify(
|
|
78
|
+
InsightToolTestInput$outboundSchema.parse(insightToolTestInput),
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function insightToolTestInputFromJSON(
|
|
83
|
+
jsonString: string,
|
|
84
|
+
): SafeParseResult<InsightToolTestInput, SDKValidationError> {
|
|
85
|
+
return safeParse(
|
|
86
|
+
jsonString,
|
|
87
|
+
(x) => InsightToolTestInput$inboundSchema.parse(JSON.parse(x)),
|
|
88
|
+
`Failed to parse 'InsightToolTestInput' from JSON`,
|
|
89
|
+
);
|
|
90
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
LatencyEntry,
|
|
12
|
+
LatencyEntry$inboundSchema,
|
|
13
|
+
LatencyEntry$Outbound,
|
|
14
|
+
LatencyEntry$outboundSchema,
|
|
15
|
+
} from "./latencyentry.js";
|
|
16
|
+
import {
|
|
17
|
+
SummaryEntry,
|
|
18
|
+
SummaryEntry$inboundSchema,
|
|
19
|
+
SummaryEntry$Outbound,
|
|
20
|
+
SummaryEntry$outboundSchema,
|
|
21
|
+
} from "./summaryentry.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* This is a report of the time spent in each operation during this session. It contains a timeline,
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* which lists the operations in the order they were executed, and a summary, which aggregates the
|
|
28
|
+
* operations by category and sub-category.
|
|
29
|
+
*/
|
|
30
|
+
export type InspectLatencyResponse = {
|
|
31
|
+
sessionId: string;
|
|
32
|
+
timeline: Array<LatencyEntry>;
|
|
33
|
+
summary?: Array<SummaryEntry> | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const InspectLatencyResponse$inboundSchema: z.ZodType<
|
|
38
|
+
InspectLatencyResponse,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
unknown
|
|
41
|
+
> = z.object({
|
|
42
|
+
session_id: z.string(),
|
|
43
|
+
timeline: z.array(LatencyEntry$inboundSchema),
|
|
44
|
+
summary: z.array(SummaryEntry$inboundSchema).optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
"session_id": "sessionId",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type InspectLatencyResponse$Outbound = {
|
|
53
|
+
session_id: string;
|
|
54
|
+
timeline: Array<LatencyEntry$Outbound>;
|
|
55
|
+
summary?: Array<SummaryEntry$Outbound> | undefined;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const InspectLatencyResponse$outboundSchema: z.ZodType<
|
|
60
|
+
InspectLatencyResponse$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
InspectLatencyResponse
|
|
63
|
+
> = z.object({
|
|
64
|
+
sessionId: z.string(),
|
|
65
|
+
timeline: z.array(LatencyEntry$outboundSchema),
|
|
66
|
+
summary: z.array(SummaryEntry$outboundSchema).optional(),
|
|
67
|
+
}).transform((v) => {
|
|
68
|
+
return remap$(v, {
|
|
69
|
+
sessionId: "session_id",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
+
*/
|
|
77
|
+
export namespace InspectLatencyResponse$ {
|
|
78
|
+
/** @deprecated use `InspectLatencyResponse$inboundSchema` instead. */
|
|
79
|
+
export const inboundSchema = InspectLatencyResponse$inboundSchema;
|
|
80
|
+
/** @deprecated use `InspectLatencyResponse$outboundSchema` instead. */
|
|
81
|
+
export const outboundSchema = InspectLatencyResponse$outboundSchema;
|
|
82
|
+
/** @deprecated use `InspectLatencyResponse$Outbound` instead. */
|
|
83
|
+
export type Outbound = InspectLatencyResponse$Outbound;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function inspectLatencyResponseToJSON(
|
|
87
|
+
inspectLatencyResponse: InspectLatencyResponse,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
InspectLatencyResponse$outboundSchema.parse(inspectLatencyResponse),
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function inspectLatencyResponseFromJSON(
|
|
95
|
+
jsonString: string,
|
|
96
|
+
): SafeParseResult<InspectLatencyResponse, SDKValidationError> {
|
|
97
|
+
return safeParse(
|
|
98
|
+
jsonString,
|
|
99
|
+
(x) => InspectLatencyResponse$inboundSchema.parse(JSON.parse(x)),
|
|
100
|
+
`Failed to parse 'InspectLatencyResponse' from JSON`,
|
|
101
|
+
);
|
|
102
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const LatencyCategory = {
|
|
9
|
+
Tts: "tts",
|
|
10
|
+
Stt: "stt",
|
|
11
|
+
Llm: "llm",
|
|
12
|
+
Tool: "tool",
|
|
13
|
+
Http: "http",
|
|
14
|
+
} as const;
|
|
15
|
+
export type LatencyCategory = ClosedEnum<typeof LatencyCategory>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const LatencyCategory$inboundSchema: z.ZodNativeEnum<
|
|
19
|
+
typeof LatencyCategory
|
|
20
|
+
> = z.nativeEnum(LatencyCategory);
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const LatencyCategory$outboundSchema: z.ZodNativeEnum<
|
|
24
|
+
typeof LatencyCategory
|
|
25
|
+
> = LatencyCategory$inboundSchema;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export namespace LatencyCategory$ {
|
|
32
|
+
/** @deprecated use `LatencyCategory$inboundSchema` instead. */
|
|
33
|
+
export const inboundSchema = LatencyCategory$inboundSchema;
|
|
34
|
+
/** @deprecated use `LatencyCategory$outboundSchema` instead. */
|
|
35
|
+
export const outboundSchema = LatencyCategory$outboundSchema;
|
|
36
|
+
}
|