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.
- package/README.md +17 -13
- package/docs/sdks/batches/README.md +30 -32
- package/docs/sdks/campaigns/README.md +11 -3
- package/docs/sdks/incidents/README.md +178 -84
- package/docs/sdks/insights/README.md +1 -1
- 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/incidentsIncidentGetOrganizations.js +89 -0
- 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/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/{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/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/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 +39 -14
- package/models/components/communicationrequestresult.d.ts.map +1 -1
- package/models/components/communicationrequestresult.js +38 -14
- 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/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/{requeststatus.js → incidentproperties.js} +25 -19
- 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 +9 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -3
- 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/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 +10 -0
- package/models/components/outboundcampaign.d.ts.map +1 -1
- package/models/components/outboundcampaign.js +4 -0
- package/models/components/outboundcampaign.js.map +1 -1
- package/models/components/outboundcampaigninput.d.ts +10 -0
- package/models/components/outboundcampaigninput.d.ts.map +1 -1
- package/models/components/outboundcampaigninput.js +4 -0
- package/models/components/outboundcampaigninput.js.map +1 -1
- package/models/components/promptcreaterequest.d.ts +1 -1
- package/models/components/promptupdaterequest.d.ts +1 -1
- 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 +1 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -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/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/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 +1206 -423
- 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/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/incidentsIncidentGetOrganizations.ts +112 -0
- 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/insightsToolsInsightsToolTest.ts +136 -0
- 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/outboundBatchesUpload.ts +23 -20
- package/src/funcs/outboundCampaignsList.ts +3 -4
- 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/bodyoutboundbatchdelete.ts +11 -2
- package/src/models/components/bodyoutboundbatchupload.ts +4 -4
- package/src/models/components/communicationrequest.ts +0 -23
- package/src/models/components/communicationrequestresult.ts +78 -30
- package/src/models/components/conversation.ts +18 -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 +9 -3
- package/src/models/components/insighttooltestinput.ts +90 -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 +14 -0
- package/src/models/components/outboundcampaigninput.ts +14 -0
- package/src/models/components/promptcreaterequest.ts +1 -1
- package/src/models/components/promptupdaterequest.ts +1 -1
- package/src/models/operations/incidentdelete.ts +4 -0
- package/src/models/operations/incidentlist.ts +87 -6
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/outboundbatchresults.ts +10 -0
- package/src/models/operations/outboundbatchupload.ts +8 -4
- 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/syllablesdktools.ts +20 -2
- package/src/sdk/takeouts.ts +7 -7
- package/src/sdk/workflows.ts +1 -1
- 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/models/components/requeststatus.d.ts +0 -46
- package/models/components/requeststatus.d.ts.map +0 -1
- package/models/components/requeststatus.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/src/models/components/requeststatus.ts +0 -43
- 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/README.md
CHANGED
|
@@ -197,11 +197,12 @@ run();
|
|
|
197
197
|
|
|
198
198
|
### [incidents](docs/sdks/incidents/README.md)
|
|
199
199
|
|
|
200
|
-
* [
|
|
200
|
+
* [list](docs/sdks/incidents/README.md#list) - List Incidents
|
|
201
|
+
* [create](docs/sdks/incidents/README.md#create) - Create Incident
|
|
201
202
|
* [update](docs/sdks/incidents/README.md#update) - Update Incident
|
|
203
|
+
* [incidentGetOrganizations](docs/sdks/incidents/README.md#incidentgetorganizations) - Get Organizations
|
|
204
|
+
* [getById](docs/sdks/incidents/README.md#getbyid) - Get Incident By Id
|
|
202
205
|
* [delete](docs/sdks/incidents/README.md#delete) - Delete Incident
|
|
203
|
-
* [create](docs/sdks/incidents/README.md#create) - Create Incident
|
|
204
|
-
* [list](docs/sdks/incidents/README.md#list) - List Incidents
|
|
205
206
|
|
|
206
207
|
### [insights](docs/sdks/insights/README.md)
|
|
207
208
|
|
|
@@ -213,6 +214,7 @@ run();
|
|
|
213
214
|
* [create](docs/sdks/syllablesdktools/README.md#create) - Create Insight Tool
|
|
214
215
|
* [getById](docs/sdks/syllablesdktools/README.md#getbyid) - Get Insight Tool By Id
|
|
215
216
|
* [update](docs/sdks/syllablesdktools/README.md#update) - Update Insights Tool
|
|
217
|
+
* [insightsToolTest](docs/sdks/syllablesdktools/README.md#insightstooltest) - Test Insights Tool
|
|
216
218
|
* [insightToolGetDefinitions](docs/sdks/syllablesdktools/README.md#insighttoolgetdefinitions) - Get Insight Tool Definitions
|
|
217
219
|
|
|
218
220
|
#### [insights.workflows](docs/sdks/workflows/README.md)
|
|
@@ -243,9 +245,9 @@ run();
|
|
|
243
245
|
* [update](docs/sdks/batches/README.md#update) - Update Outbound Communication Batch
|
|
244
246
|
* [delete](docs/sdks/batches/README.md#delete) - Delete Outbound Communication Batch
|
|
245
247
|
* [upload](docs/sdks/batches/README.md#upload) - Upload Outbound Communication Batch
|
|
246
|
-
* [
|
|
247
|
-
* [
|
|
248
|
-
* [
|
|
248
|
+
* [results](docs/sdks/batches/README.md#results) - Fetch Outbound Communication Batch Results
|
|
249
|
+
* [add](docs/sdks/batches/README.md#add) - Create Outbound Communication Request
|
|
250
|
+
* [remove](docs/sdks/batches/README.md#remove) - Delete Requests By List Of Reference Ids
|
|
249
251
|
|
|
250
252
|
#### [outbound.campaigns](docs/sdks/campaigns/README.md)
|
|
251
253
|
|
|
@@ -302,8 +304,8 @@ run();
|
|
|
302
304
|
|
|
303
305
|
### [takeouts](docs/sdks/takeouts/README.md)
|
|
304
306
|
|
|
305
|
-
* [
|
|
306
|
-
* [
|
|
307
|
+
* [create](docs/sdks/takeouts/README.md#create) - Create Takeout
|
|
308
|
+
* [takeoutsGetByJobId](docs/sdks/takeouts/README.md#takeoutsgetbyjobid) - Get Takeout
|
|
307
309
|
|
|
308
310
|
### [tools](docs/sdks/tools/README.md)
|
|
309
311
|
|
|
@@ -371,11 +373,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
371
373
|
- [`incidentsCreate`](docs/sdks/incidents/README.md#create) - Create Incident
|
|
372
374
|
- [`incidentsDelete`](docs/sdks/incidents/README.md#delete) - Delete Incident
|
|
373
375
|
- [`incidentsGetById`](docs/sdks/incidents/README.md#getbyid) - Get Incident By Id
|
|
376
|
+
- [`incidentsIncidentGetOrganizations`](docs/sdks/incidents/README.md#incidentgetorganizations) - Get Organizations
|
|
374
377
|
- [`incidentsList`](docs/sdks/incidents/README.md#list) - List Incidents
|
|
375
378
|
- [`incidentsUpdate`](docs/sdks/incidents/README.md#update) - Update Incident
|
|
376
379
|
- [`insightsList`](docs/sdks/insights/README.md#list) - Insights List
|
|
377
380
|
- [`insightsToolsCreate`](docs/sdks/syllablesdktools/README.md#create) - Create Insight Tool
|
|
378
381
|
- [`insightsToolsGetById`](docs/sdks/syllablesdktools/README.md#getbyid) - Get Insight Tool By Id
|
|
382
|
+
- [`insightsToolsInsightsToolTest`](docs/sdks/syllablesdktools/README.md#insightstooltest) - Test Insights Tool
|
|
379
383
|
- [`insightsToolsInsightToolGetDefinitions`](docs/sdks/syllablesdktools/README.md#insighttoolgetdefinitions) - Get Insight Tool Definitions
|
|
380
384
|
- [`insightsToolsList`](docs/sdks/syllablesdktools/README.md#list) - Insight Tool List
|
|
381
385
|
- [`insightsToolsUpdate`](docs/sdks/syllablesdktools/README.md#update) - Update Insights Tool
|
|
@@ -390,13 +394,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
390
394
|
- [`languageGroupsGetById`](docs/sdks/languagegroups/README.md#getbyid) - Get Language Group
|
|
391
395
|
- [`languageGroupsList`](docs/sdks/languagegroups/README.md#list) - List Language Groups
|
|
392
396
|
- [`languageGroupsUpdate`](docs/sdks/languagegroups/README.md#update) - Update Language Group
|
|
397
|
+
- [`outboundBatchesAdd`](docs/sdks/batches/README.md#add) - Create Outbound Communication Request
|
|
393
398
|
- [`outboundBatchesCreate`](docs/sdks/batches/README.md#create) - Create Outbound Communication Batch
|
|
394
399
|
- [`outboundBatchesDelete`](docs/sdks/batches/README.md#delete) - Delete Outbound Communication Batch
|
|
395
400
|
- [`outboundBatchesGetById`](docs/sdks/batches/README.md#getbyid) - Get Outbound Communication Batch
|
|
396
401
|
- [`outboundBatchesList`](docs/sdks/batches/README.md#list) - List Outbound Communication Batches
|
|
397
|
-
- [`
|
|
398
|
-
- [`
|
|
399
|
-
- [`outboundBatchesOutboundBatchResults`](docs/sdks/batches/README.md#outboundbatchresults) - Fetch Outbound Communication Batch Results
|
|
402
|
+
- [`outboundBatchesRemove`](docs/sdks/batches/README.md#remove) - Delete Requests By List Of Reference Ids
|
|
403
|
+
- [`outboundBatchesResults`](docs/sdks/batches/README.md#results) - Fetch Outbound Communication Batch Results
|
|
400
404
|
- [`outboundBatchesUpdate`](docs/sdks/batches/README.md#update) - Update Outbound Communication Batch
|
|
401
405
|
- [`outboundBatchesUpload`](docs/sdks/batches/README.md#upload) - Upload Outbound Communication Batch
|
|
402
406
|
- [`outboundCampaignsCreate`](docs/sdks/campaigns/README.md#create) - Create Outbound Communication Campaign
|
|
@@ -427,8 +431,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
427
431
|
- [`sessionsList`](docs/sdks/sessions/README.md#list) - Sessions List
|
|
428
432
|
- [`sessionsSessionRecordingStream`](docs/sdks/sessions/README.md#sessionrecordingstream) - Stream Recording
|
|
429
433
|
- [`sessionsTranscriptGetById`](docs/sdks/transcript/README.md#getbyid) - Get Session Transcript By Id
|
|
430
|
-
- [`
|
|
431
|
-
- [`
|
|
434
|
+
- [`takeoutsCreate`](docs/sdks/takeouts/README.md#create) - Create Takeout
|
|
435
|
+
- [`takeoutsTakeoutsGetByJobId`](docs/sdks/takeouts/README.md#takeoutsgetbyjobid) - Get Takeout
|
|
432
436
|
- [`toolsCreate`](docs/sdks/tools/README.md#create) - Create Tool
|
|
433
437
|
- [`toolsDelete`](docs/sdks/tools/README.md#delete) - Delete Tool
|
|
434
438
|
- [`toolsGetByName`](docs/sdks/tools/README.md#getbyname) - Tool Info
|
|
@@ -13,9 +13,9 @@ Operations related to outbound campaign batches
|
|
|
13
13
|
* [update](#update) - Update Outbound Communication Batch
|
|
14
14
|
* [delete](#delete) - Delete Outbound Communication Batch
|
|
15
15
|
* [upload](#upload) - Upload Outbound Communication Batch
|
|
16
|
-
* [
|
|
17
|
-
* [
|
|
18
|
-
* [
|
|
16
|
+
* [results](#results) - Fetch Outbound Communication Batch Results
|
|
17
|
+
* [add](#add) - Create Outbound Communication Request
|
|
18
|
+
* [remove](#remove) - Delete Requests By List Of Reference Ids
|
|
19
19
|
|
|
20
20
|
## list
|
|
21
21
|
|
|
@@ -101,7 +101,7 @@ run();
|
|
|
101
101
|
|
|
102
102
|
### Response
|
|
103
103
|
|
|
104
|
-
**Promise\<[components.
|
|
104
|
+
**Promise\<[components.ListResponseCommunicationBatch](../../models/components/listresponsecommunicationbatch.md)\>**
|
|
105
105
|
|
|
106
106
|
### Errors
|
|
107
107
|
|
|
@@ -125,9 +125,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
125
125
|
|
|
126
126
|
async function run() {
|
|
127
127
|
const result = await syllableSDK.outbound.batches.create({
|
|
128
|
-
batchId: "
|
|
128
|
+
batchId: "20250407.9",
|
|
129
129
|
campaignId: 1,
|
|
130
|
-
expiresOn: "
|
|
130
|
+
expiresOn: "2025-04-07T00:00:00Z",
|
|
131
131
|
});
|
|
132
132
|
|
|
133
133
|
// Handle the result
|
|
@@ -153,9 +153,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
153
153
|
|
|
154
154
|
async function run() {
|
|
155
155
|
const res = await outboundBatchesCreate(syllableSDK, {
|
|
156
|
-
batchId: "
|
|
156
|
+
batchId: "20250407.9",
|
|
157
157
|
campaignId: 1,
|
|
158
|
-
expiresOn: "
|
|
158
|
+
expiresOn: "2025-04-07T00:00:00Z",
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
if (!res.ok) {
|
|
@@ -285,14 +285,14 @@ async function run() {
|
|
|
285
285
|
const result = await syllableSDK.outbound.batches.update({
|
|
286
286
|
batchId: "<id>",
|
|
287
287
|
communicationBatch: {
|
|
288
|
-
batchId: "
|
|
288
|
+
batchId: "20250407.9",
|
|
289
289
|
campaignId: 1,
|
|
290
|
-
expiresOn: "
|
|
290
|
+
expiresOn: "2025-04-07T00:00:00Z",
|
|
291
291
|
count: 152,
|
|
292
|
-
createdAt: "
|
|
293
|
-
deletedAt: "
|
|
292
|
+
createdAt: "2025-04-07T00:00:00Z",
|
|
293
|
+
deletedAt: "2025-04-07T00:00:00Z",
|
|
294
294
|
deletedReason: "User request",
|
|
295
|
-
lastWorkedOn: "
|
|
295
|
+
lastWorkedOn: "2025-04-07T00:00:00Z",
|
|
296
296
|
lastUpdatedBy: "user@email.com",
|
|
297
297
|
},
|
|
298
298
|
});
|
|
@@ -322,14 +322,14 @@ async function run() {
|
|
|
322
322
|
const res = await outboundBatchesUpdate(syllableSDK, {
|
|
323
323
|
batchId: "<id>",
|
|
324
324
|
communicationBatch: {
|
|
325
|
-
batchId: "
|
|
325
|
+
batchId: "20250407.9",
|
|
326
326
|
campaignId: 1,
|
|
327
|
-
expiresOn: "
|
|
327
|
+
expiresOn: "2025-04-07T00:00:00Z",
|
|
328
328
|
count: 152,
|
|
329
|
-
createdAt: "
|
|
330
|
-
deletedAt: "
|
|
329
|
+
createdAt: "2025-04-07T00:00:00Z",
|
|
330
|
+
deletedAt: "2025-04-07T00:00:00Z",
|
|
331
331
|
deletedReason: "User request",
|
|
332
|
-
lastWorkedOn: "
|
|
332
|
+
lastWorkedOn: "2025-04-07T00:00:00Z",
|
|
333
333
|
lastUpdatedBy: "user@email.com",
|
|
334
334
|
},
|
|
335
335
|
});
|
|
@@ -535,7 +535,7 @@ run();
|
|
|
535
535
|
| errors.HTTPValidationError | 422 | application/json |
|
|
536
536
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
537
537
|
|
|
538
|
-
##
|
|
538
|
+
## results
|
|
539
539
|
|
|
540
540
|
Fetch Outbound Communication Batch Results
|
|
541
541
|
|
|
@@ -549,7 +549,7 @@ const syllableSDK = new SyllableSDK({
|
|
|
549
549
|
});
|
|
550
550
|
|
|
551
551
|
async function run() {
|
|
552
|
-
const result = await syllableSDK.outbound.batches.
|
|
552
|
+
const result = await syllableSDK.outbound.batches.results({
|
|
553
553
|
batchId: "<id>",
|
|
554
554
|
});
|
|
555
555
|
|
|
@@ -566,7 +566,7 @@ The standalone function version of this method:
|
|
|
566
566
|
|
|
567
567
|
```typescript
|
|
568
568
|
import { SyllableSDKCore } from "syllable-sdk/core.js";
|
|
569
|
-
import {
|
|
569
|
+
import { outboundBatchesResults } from "syllable-sdk/funcs/outboundBatchesResults.js";
|
|
570
570
|
|
|
571
571
|
// Use `SyllableSDKCore` for best tree-shaking performance.
|
|
572
572
|
// You can create one instance of it to use across an application.
|
|
@@ -575,7 +575,7 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
575
575
|
});
|
|
576
576
|
|
|
577
577
|
async function run() {
|
|
578
|
-
const res = await
|
|
578
|
+
const res = await outboundBatchesResults(syllableSDK, {
|
|
579
579
|
batchId: "<id>",
|
|
580
580
|
});
|
|
581
581
|
|
|
@@ -612,7 +612,7 @@ run();
|
|
|
612
612
|
| errors.HTTPValidationError | 422 | application/json |
|
|
613
613
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
614
614
|
|
|
615
|
-
##
|
|
615
|
+
## add
|
|
616
616
|
|
|
617
617
|
Create Outbound Communication Request
|
|
618
618
|
|
|
@@ -626,10 +626,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
626
626
|
});
|
|
627
627
|
|
|
628
628
|
async function run() {
|
|
629
|
-
const result = await syllableSDK.outbound.batches.
|
|
629
|
+
const result = await syllableSDK.outbound.batches.add({
|
|
630
630
|
batchId: "<id>",
|
|
631
631
|
communicationRequest: {
|
|
632
|
-
batchId: "20250117.9",
|
|
633
632
|
referenceId: "12345",
|
|
634
633
|
target: "user@email.com",
|
|
635
634
|
requestVariables: {},
|
|
@@ -649,7 +648,7 @@ The standalone function version of this method:
|
|
|
649
648
|
|
|
650
649
|
```typescript
|
|
651
650
|
import { SyllableSDKCore } from "syllable-sdk/core.js";
|
|
652
|
-
import {
|
|
651
|
+
import { outboundBatchesAdd } from "syllable-sdk/funcs/outboundBatchesAdd.js";
|
|
653
652
|
|
|
654
653
|
// Use `SyllableSDKCore` for best tree-shaking performance.
|
|
655
654
|
// You can create one instance of it to use across an application.
|
|
@@ -658,10 +657,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
658
657
|
});
|
|
659
658
|
|
|
660
659
|
async function run() {
|
|
661
|
-
const res = await
|
|
660
|
+
const res = await outboundBatchesAdd(syllableSDK, {
|
|
662
661
|
batchId: "<id>",
|
|
663
662
|
communicationRequest: {
|
|
664
|
-
batchId: "20250117.9",
|
|
665
663
|
referenceId: "12345",
|
|
666
664
|
target: "user@email.com",
|
|
667
665
|
requestVariables: {},
|
|
@@ -701,7 +699,7 @@ run();
|
|
|
701
699
|
| errors.HTTPValidationError | 422 | application/json |
|
|
702
700
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
703
701
|
|
|
704
|
-
##
|
|
702
|
+
## remove
|
|
705
703
|
|
|
706
704
|
Delete Requests By List Of Reference Ids
|
|
707
705
|
|
|
@@ -715,7 +713,7 @@ const syllableSDK = new SyllableSDK({
|
|
|
715
713
|
});
|
|
716
714
|
|
|
717
715
|
async function run() {
|
|
718
|
-
const result = await syllableSDK.outbound.batches.
|
|
716
|
+
const result = await syllableSDK.outbound.batches.remove({
|
|
719
717
|
batchId: "<id>",
|
|
720
718
|
requestBody: [
|
|
721
719
|
"<value>",
|
|
@@ -736,7 +734,7 @@ The standalone function version of this method:
|
|
|
736
734
|
|
|
737
735
|
```typescript
|
|
738
736
|
import { SyllableSDKCore } from "syllable-sdk/core.js";
|
|
739
|
-
import {
|
|
737
|
+
import { outboundBatchesRemove } from "syllable-sdk/funcs/outboundBatchesRemove.js";
|
|
740
738
|
|
|
741
739
|
// Use `SyllableSDKCore` for best tree-shaking performance.
|
|
742
740
|
// You can create one instance of it to use across an application.
|
|
@@ -745,7 +743,7 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
745
743
|
});
|
|
746
744
|
|
|
747
745
|
async function run() {
|
|
748
|
-
const res = await
|
|
746
|
+
const res = await outboundBatchesRemove(syllableSDK, {
|
|
749
747
|
batchId: "<id>",
|
|
750
748
|
requestBody: [
|
|
751
749
|
"<value>",
|
|
@@ -96,7 +96,7 @@ run();
|
|
|
96
96
|
|
|
97
97
|
### Response
|
|
98
98
|
|
|
99
|
-
**Promise\<[components.
|
|
99
|
+
**Promise\<[components.ListResponseOutboundCampaign](../../models/components/listresponseoutboundcampaign.md)\>**
|
|
100
100
|
|
|
101
101
|
### Errors
|
|
102
102
|
|
|
@@ -121,11 +121,13 @@ const syllableSDK = new SyllableSDK({
|
|
|
121
121
|
async function run() {
|
|
122
122
|
const result = await syllableSDK.outbound.campaigns.create({
|
|
123
123
|
campaignName: "Outbound Campaign 1",
|
|
124
|
+
description: "This is a test campaign",
|
|
125
|
+
label: "test",
|
|
124
126
|
campaignVariables: {},
|
|
125
127
|
dailyStartTime: "09:00:00",
|
|
126
128
|
dailyEndTime: "17:00:00",
|
|
127
129
|
timezone: "America/New_York",
|
|
128
|
-
source: "
|
|
130
|
+
source: "account@email.com",
|
|
129
131
|
callerId: "19995551234",
|
|
130
132
|
retryInterval: "12h",
|
|
131
133
|
pauseSeconds: 30,
|
|
@@ -155,11 +157,13 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
155
157
|
async function run() {
|
|
156
158
|
const res = await outboundCampaignsCreate(syllableSDK, {
|
|
157
159
|
campaignName: "Outbound Campaign 1",
|
|
160
|
+
description: "This is a test campaign",
|
|
161
|
+
label: "test",
|
|
158
162
|
campaignVariables: {},
|
|
159
163
|
dailyStartTime: "09:00:00",
|
|
160
164
|
dailyEndTime: "17:00:00",
|
|
161
165
|
timezone: "America/New_York",
|
|
162
|
-
source: "
|
|
166
|
+
source: "account@email.com",
|
|
163
167
|
callerId: "19995551234",
|
|
164
168
|
retryInterval: "12h",
|
|
165
169
|
pauseSeconds: 30,
|
|
@@ -293,6 +297,8 @@ async function run() {
|
|
|
293
297
|
campaignId: 344620,
|
|
294
298
|
outboundCampaignInput: {
|
|
295
299
|
campaignName: "Outbound Campaign 1",
|
|
300
|
+
description: "This is a test campaign",
|
|
301
|
+
label: "demo",
|
|
296
302
|
campaignVariables: {},
|
|
297
303
|
dailyStartTime: "09:00:00",
|
|
298
304
|
dailyEndTime: "17:00:00",
|
|
@@ -330,6 +336,8 @@ async function run() {
|
|
|
330
336
|
campaignId: 344620,
|
|
331
337
|
outboundCampaignInput: {
|
|
332
338
|
campaignName: "Outbound Campaign 1",
|
|
339
|
+
description: "This is a test campaign",
|
|
340
|
+
label: "demo",
|
|
333
341
|
campaignVariables: {},
|
|
334
342
|
dailyStartTime: "09:00:00",
|
|
335
343
|
dailyEndTime: "17:00:00",
|