syllable-sdk 0.1.0-alpha.72 → 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 +28 -11
- package/docs/sdks/batches/README.md +30 -32
- package/docs/sdks/campaigns/README.md +11 -3
- package/docs/sdks/incidents/README.md +527 -0
- package/docs/sdks/insights/README.md +1 -1
- package/docs/sdks/syllablesdk/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/{outboundBatchesOutboundBatchRemove.d.ts → incidentsCreate.d.ts} +7 -4
- package/funcs/incidentsCreate.d.ts.map +1 -0
- package/funcs/incidentsCreate.js +102 -0
- package/funcs/incidentsCreate.js.map +1 -0
- package/funcs/incidentsDelete.d.ts +16 -0
- package/funcs/incidentsDelete.d.ts.map +1 -0
- package/funcs/incidentsDelete.js +112 -0
- package/funcs/incidentsDelete.js.map +1 -0
- package/funcs/incidentsGetById.d.ts +17 -0
- package/funcs/incidentsGetById.d.ts.map +1 -0
- package/funcs/incidentsGetById.js +108 -0
- package/funcs/incidentsGetById.js.map +1 -0
- 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 +17 -0
- package/funcs/incidentsList.d.ts.map +1 -0
- package/funcs/incidentsList.js +114 -0
- package/funcs/incidentsList.js.map +1 -0
- package/funcs/incidentsUpdate.d.ts +16 -0
- package/funcs/incidentsUpdate.d.ts.map +1 -0
- package/funcs/incidentsUpdate.js +102 -0
- package/funcs/incidentsUpdate.js.map +1 -0
- 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/outboundBatchesRemove.d.ts +13 -0
- 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/incidentcreaterequest.js +96 -0
- 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/incidentresponse.js +106 -0
- 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/components/incidentupdaterequest.js +106 -0
- package/models/components/incidentupdaterequest.js.map +1 -0
- package/models/components/index.d.ts +9 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -1
- 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 +31 -0
- package/models/operations/incidentdelete.d.ts.map +1 -0
- package/models/operations/incidentdelete.js +70 -0
- package/models/operations/incidentdelete.js.map +1 -0
- package/models/operations/incidentgetbyid.d.ts +29 -0
- package/models/operations/incidentgetbyid.d.ts.map +1 -0
- package/models/operations/incidentgetbyid.js +68 -0
- package/models/operations/incidentgetbyid.js.map +1 -0
- package/models/operations/incidentlist.d.ts +73 -0
- package/models/operations/incidentlist.d.ts.map +1 -0
- package/models/operations/incidentlist.js +101 -0
- package/models/operations/incidentlist.js.map +1 -0
- package/models/operations/index.d.ts +4 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -1
- 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 +1449 -224
- 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 +48 -0
- package/sdk/incidents.d.ts.map +1 -0
- package/sdk/incidents.js +72 -0
- package/sdk/incidents.js.map +1 -0
- package/sdk/insights.d.ts +1 -1
- package/sdk/insights.js +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.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 +135 -0
- package/src/funcs/incidentsDelete.ts +147 -0
- package/src/funcs/incidentsGetById.ts +142 -0
- package/src/funcs/incidentsIncidentGetOrganizations.ts +112 -0
- package/src/funcs/incidentsList.ts +148 -0
- package/src/funcs/incidentsUpdate.ts +135 -0
- 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/incidentcreaterequest.ts +153 -0
- 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 -1
- 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 +79 -0
- package/src/models/operations/incidentgetbyid.ts +75 -0
- package/src/models/operations/incidentlist.ts +151 -0
- package/src/models/operations/index.ts +4 -1
- 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 +116 -0
- package/src/sdk/insights.ts +1 -1
- package/src/sdk/sdk.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/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/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts +0 -29
- package/models/operations/gettakeoutapiv1takeoutsgetjobidget.d.ts.map +0 -1
- package/models/operations/gettakeoutapiv1takeoutsgetjobidget.js.map +0 -1
- package/src/models/components/requeststatus.ts +0 -43
- package/src/models/operations/gettakeoutapiv1takeoutsgetjobidget.ts +0 -87
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Syllable SDK gives you the power of awesome AI agentry. 🚀
|
|
|
19
19
|
|
|
20
20
|
## Overview
|
|
21
21
|
|
|
22
|
-
The Syllable SDK provides a comprehensive set of tools and APIs to integrate powerful AI
|
|
22
|
+
The Syllable SDK provides a comprehensive set of tools and APIs to integrate powerful AI
|
|
23
23
|
capabilities into your communication applications. Whether you're building chatbots, virtual
|
|
24
24
|
assistants, or any other AI-driven solutions, Syllable SDK has got you covered.
|
|
25
25
|
|
|
@@ -195,6 +195,15 @@ run();
|
|
|
195
195
|
|
|
196
196
|
* [list](docs/sdks/events/README.md#list) - Events List
|
|
197
197
|
|
|
198
|
+
### [incidents](docs/sdks/incidents/README.md)
|
|
199
|
+
|
|
200
|
+
* [list](docs/sdks/incidents/README.md#list) - List Incidents
|
|
201
|
+
* [create](docs/sdks/incidents/README.md#create) - Create Incident
|
|
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
|
|
205
|
+
* [delete](docs/sdks/incidents/README.md#delete) - Delete Incident
|
|
206
|
+
|
|
198
207
|
### [insights](docs/sdks/insights/README.md)
|
|
199
208
|
|
|
200
209
|
* [list](docs/sdks/insights/README.md#list) - Insights List
|
|
@@ -205,6 +214,7 @@ run();
|
|
|
205
214
|
* [create](docs/sdks/syllablesdktools/README.md#create) - Create Insight Tool
|
|
206
215
|
* [getById](docs/sdks/syllablesdktools/README.md#getbyid) - Get Insight Tool By Id
|
|
207
216
|
* [update](docs/sdks/syllablesdktools/README.md#update) - Update Insights Tool
|
|
217
|
+
* [insightsToolTest](docs/sdks/syllablesdktools/README.md#insightstooltest) - Test Insights Tool
|
|
208
218
|
* [insightToolGetDefinitions](docs/sdks/syllablesdktools/README.md#insighttoolgetdefinitions) - Get Insight Tool Definitions
|
|
209
219
|
|
|
210
220
|
#### [insights.workflows](docs/sdks/workflows/README.md)
|
|
@@ -235,9 +245,9 @@ run();
|
|
|
235
245
|
* [update](docs/sdks/batches/README.md#update) - Update Outbound Communication Batch
|
|
236
246
|
* [delete](docs/sdks/batches/README.md#delete) - Delete Outbound Communication Batch
|
|
237
247
|
* [upload](docs/sdks/batches/README.md#upload) - Upload Outbound Communication Batch
|
|
238
|
-
* [
|
|
239
|
-
* [
|
|
240
|
-
* [
|
|
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
|
|
241
251
|
|
|
242
252
|
#### [outbound.campaigns](docs/sdks/campaigns/README.md)
|
|
243
253
|
|
|
@@ -294,8 +304,8 @@ run();
|
|
|
294
304
|
|
|
295
305
|
### [takeouts](docs/sdks/takeouts/README.md)
|
|
296
306
|
|
|
297
|
-
* [
|
|
298
|
-
* [
|
|
307
|
+
* [create](docs/sdks/takeouts/README.md#create) - Create Takeout
|
|
308
|
+
* [takeoutsGetByJobId](docs/sdks/takeouts/README.md#takeoutsgetbyjobid) - Get Takeout
|
|
299
309
|
|
|
300
310
|
### [tools](docs/sdks/tools/README.md)
|
|
301
311
|
|
|
@@ -360,9 +370,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
360
370
|
- [`dataSourcesList`](docs/sdks/datasources/README.md#list) - List Data Sources
|
|
361
371
|
- [`dataSourcesUpdate`](docs/sdks/datasources/README.md#update) - Update Data Source
|
|
362
372
|
- [`eventsList`](docs/sdks/events/README.md#list) - Events List
|
|
373
|
+
- [`incidentsCreate`](docs/sdks/incidents/README.md#create) - Create Incident
|
|
374
|
+
- [`incidentsDelete`](docs/sdks/incidents/README.md#delete) - Delete Incident
|
|
375
|
+
- [`incidentsGetById`](docs/sdks/incidents/README.md#getbyid) - Get Incident By Id
|
|
376
|
+
- [`incidentsIncidentGetOrganizations`](docs/sdks/incidents/README.md#incidentgetorganizations) - Get Organizations
|
|
377
|
+
- [`incidentsList`](docs/sdks/incidents/README.md#list) - List Incidents
|
|
378
|
+
- [`incidentsUpdate`](docs/sdks/incidents/README.md#update) - Update Incident
|
|
363
379
|
- [`insightsList`](docs/sdks/insights/README.md#list) - Insights List
|
|
364
380
|
- [`insightsToolsCreate`](docs/sdks/syllablesdktools/README.md#create) - Create Insight Tool
|
|
365
381
|
- [`insightsToolsGetById`](docs/sdks/syllablesdktools/README.md#getbyid) - Get Insight Tool By Id
|
|
382
|
+
- [`insightsToolsInsightsToolTest`](docs/sdks/syllablesdktools/README.md#insightstooltest) - Test Insights Tool
|
|
366
383
|
- [`insightsToolsInsightToolGetDefinitions`](docs/sdks/syllablesdktools/README.md#insighttoolgetdefinitions) - Get Insight Tool Definitions
|
|
367
384
|
- [`insightsToolsList`](docs/sdks/syllablesdktools/README.md#list) - Insight Tool List
|
|
368
385
|
- [`insightsToolsUpdate`](docs/sdks/syllablesdktools/README.md#update) - Update Insights Tool
|
|
@@ -377,13 +394,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
377
394
|
- [`languageGroupsGetById`](docs/sdks/languagegroups/README.md#getbyid) - Get Language Group
|
|
378
395
|
- [`languageGroupsList`](docs/sdks/languagegroups/README.md#list) - List Language Groups
|
|
379
396
|
- [`languageGroupsUpdate`](docs/sdks/languagegroups/README.md#update) - Update Language Group
|
|
397
|
+
- [`outboundBatchesAdd`](docs/sdks/batches/README.md#add) - Create Outbound Communication Request
|
|
380
398
|
- [`outboundBatchesCreate`](docs/sdks/batches/README.md#create) - Create Outbound Communication Batch
|
|
381
399
|
- [`outboundBatchesDelete`](docs/sdks/batches/README.md#delete) - Delete Outbound Communication Batch
|
|
382
400
|
- [`outboundBatchesGetById`](docs/sdks/batches/README.md#getbyid) - Get Outbound Communication Batch
|
|
383
401
|
- [`outboundBatchesList`](docs/sdks/batches/README.md#list) - List Outbound Communication Batches
|
|
384
|
-
- [`
|
|
385
|
-
- [`
|
|
386
|
-
- [`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
|
|
387
404
|
- [`outboundBatchesUpdate`](docs/sdks/batches/README.md#update) - Update Outbound Communication Batch
|
|
388
405
|
- [`outboundBatchesUpload`](docs/sdks/batches/README.md#upload) - Upload Outbound Communication Batch
|
|
389
406
|
- [`outboundCampaignsCreate`](docs/sdks/campaigns/README.md#create) - Create Outbound Communication Campaign
|
|
@@ -414,8 +431,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
414
431
|
- [`sessionsList`](docs/sdks/sessions/README.md#list) - Sessions List
|
|
415
432
|
- [`sessionsSessionRecordingStream`](docs/sdks/sessions/README.md#sessionrecordingstream) - Stream Recording
|
|
416
433
|
- [`sessionsTranscriptGetById`](docs/sdks/transcript/README.md#getbyid) - Get Session Transcript By Id
|
|
417
|
-
- [`
|
|
418
|
-
- [`
|
|
434
|
+
- [`takeoutsCreate`](docs/sdks/takeouts/README.md#create) - Create Takeout
|
|
435
|
+
- [`takeoutsTakeoutsGetByJobId`](docs/sdks/takeouts/README.md#takeoutsgetbyjobid) - Get Takeout
|
|
419
436
|
- [`toolsCreate`](docs/sdks/tools/README.md#create) - Create Tool
|
|
420
437
|
- [`toolsDelete`](docs/sdks/tools/README.md#delete) - Delete Tool
|
|
421
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",
|