syllable-sdk 1.0.1 → 1.0.2-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +8 -0
  2. package/bin/mcp-server.js +628 -111
  3. package/bin/mcp-server.js.map +32 -18
  4. package/docs/sdks/batches/README.md +4 -4
  5. package/docs/sdks/campaigns/README.md +24 -0
  6. package/docs/sdks/incidents/README.md +0 -8
  7. package/docs/sdks/prompts/README.md +4 -2
  8. package/docs/sdks/pronunciations/README.md +277 -1
  9. package/docs/sdks/workflows/README.md +8 -8
  10. package/examples/package-lock.json +1 -1
  11. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts +13 -0
  12. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  13. package/funcs/pronunciationsPronunciationsDeleteCsv.js +101 -0
  14. package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  15. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +14 -0
  16. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  17. package/funcs/pronunciationsPronunciationsDownloadCsv.js +108 -0
  18. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  19. package/funcs/pronunciationsPronunciationsGet.d.ts +14 -0
  20. package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -0
  21. package/funcs/pronunciationsPronunciationsGet.js +101 -0
  22. package/funcs/pronunciationsPronunciationsGet.js.map +1 -0
  23. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +14 -0
  24. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  25. package/funcs/pronunciationsPronunciationsGetMetadata.js +101 -0
  26. package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  27. package/jsr.json +1 -1
  28. package/lib/config.d.ts +3 -3
  29. package/lib/config.js +3 -3
  30. package/lib/config.js.map +1 -1
  31. package/mcp-server/mcp-server.js +1 -1
  32. package/mcp-server/mcp-server.js.map +1 -1
  33. package/mcp-server/server.d.ts.map +1 -1
  34. package/mcp-server/server.js +9 -1
  35. package/mcp-server/server.js.map +1 -1
  36. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
  37. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  38. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
  39. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  40. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts +3 -0
  41. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  42. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +24 -0
  43. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  44. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts +3 -0
  45. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts.map +1 -0
  46. package/mcp-server/tools/pronunciationsPronunciationsGet.js +24 -0
  47. package/mcp-server/tools/pronunciationsPronunciationsGet.js.map +1 -0
  48. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts +3 -0
  49. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  50. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js +24 -0
  51. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  52. package/models/components/campaignproperties.d.ts +3 -0
  53. package/models/components/campaignproperties.d.ts.map +1 -1
  54. package/models/components/campaignproperties.js +1 -0
  55. package/models/components/campaignproperties.js.map +1 -1
  56. package/models/components/dictionarymetadata.d.ts +36 -0
  57. package/models/components/dictionarymetadata.d.ts.map +1 -0
  58. package/models/components/dictionarymetadata.js +73 -0
  59. package/models/components/dictionarymetadata.js.map +1 -0
  60. package/models/components/incidentcreaterequest.d.ts +3 -1
  61. package/models/components/incidentcreaterequest.d.ts.map +1 -1
  62. package/models/components/incidentcreaterequest.js.map +1 -1
  63. package/models/components/incidentresponse.d.ts +3 -1
  64. package/models/components/incidentresponse.d.ts.map +1 -1
  65. package/models/components/incidentresponse.js.map +1 -1
  66. package/models/components/incidentupdaterequest.d.ts +3 -11
  67. package/models/components/incidentupdaterequest.d.ts.map +1 -1
  68. package/models/components/incidentupdaterequest.js +0 -8
  69. package/models/components/incidentupdaterequest.js.map +1 -1
  70. package/models/components/index.d.ts +5 -0
  71. package/models/components/index.d.ts.map +1 -1
  72. package/models/components/index.js +5 -0
  73. package/models/components/index.js.map +1 -1
  74. package/models/components/matchtype.d.ts +34 -0
  75. package/models/components/matchtype.d.ts.map +1 -0
  76. package/models/components/matchtype.js +64 -0
  77. package/models/components/matchtype.js.map +1 -0
  78. package/models/components/outboundcampaign.d.ts +9 -0
  79. package/models/components/outboundcampaign.d.ts.map +1 -1
  80. package/models/components/outboundcampaign.js +4 -0
  81. package/models/components/outboundcampaign.js.map +1 -1
  82. package/models/components/outboundcampaigninput.d.ts +9 -0
  83. package/models/components/outboundcampaigninput.d.ts.map +1 -1
  84. package/models/components/outboundcampaigninput.js +4 -0
  85. package/models/components/outboundcampaigninput.js.map +1 -1
  86. package/models/components/promptcreaterequest.d.ts +5 -0
  87. package/models/components/promptcreaterequest.d.ts.map +1 -1
  88. package/models/components/promptcreaterequest.js +4 -0
  89. package/models/components/promptcreaterequest.js.map +1 -1
  90. package/models/components/promptresponse.d.ts +5 -5
  91. package/models/components/promptresponse.d.ts.map +1 -1
  92. package/models/components/promptresponse.js +2 -2
  93. package/models/components/promptresponse.js.map +1 -1
  94. package/models/components/promptupdaterequest.d.ts +5 -5
  95. package/models/components/promptupdaterequest.d.ts.map +1 -1
  96. package/models/components/promptupdaterequest.js +2 -2
  97. package/models/components/promptupdaterequest.js.map +1 -1
  98. package/models/components/pronunciationoverride.d.ts +52 -0
  99. package/models/components/pronunciationoverride.d.ts.map +1 -0
  100. package/models/components/pronunciationoverride.js +97 -0
  101. package/models/components/pronunciationoverride.js.map +1 -0
  102. package/models/components/pronunciationoverridesdictionary.d.ts +68 -0
  103. package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -0
  104. package/models/components/pronunciationoverridesdictionary.js +78 -0
  105. package/models/components/pronunciationoverridesdictionary.js.map +1 -0
  106. package/models/components/pronunciationscsvuploadresponse.d.ts +6 -6
  107. package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -1
  108. package/models/components/pronunciationscsvuploadresponse.js +6 -6
  109. package/models/components/pronunciationscsvuploadresponse.js.map +1 -1
  110. package/models/components/voicedisplayinfo.d.ts +34 -0
  111. package/models/components/voicedisplayinfo.d.ts.map +1 -0
  112. package/models/components/voicedisplayinfo.js +80 -0
  113. package/models/components/voicedisplayinfo.js.map +1 -0
  114. package/models/operations/index.d.ts +1 -0
  115. package/models/operations/index.d.ts.map +1 -1
  116. package/models/operations/index.js +1 -0
  117. package/models/operations/index.js.map +1 -1
  118. package/models/operations/pronunciationsdownloadcsv.d.ts +35 -0
  119. package/models/operations/pronunciationsdownloadcsv.d.ts.map +1 -0
  120. package/models/operations/pronunciationsdownloadcsv.js +82 -0
  121. package/models/operations/pronunciationsdownloadcsv.js.map +1 -0
  122. package/openapi.json +387 -110
  123. package/package.json +1 -1
  124. package/sdk/pronunciations.d.ts +17 -0
  125. package/sdk/pronunciations.d.ts.map +1 -1
  126. package/sdk/pronunciations.js +28 -0
  127. package/sdk/pronunciations.js.map +1 -1
  128. package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
  129. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +147 -0
  130. package/src/funcs/pronunciationsPronunciationsGet.ts +139 -0
  131. package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +139 -0
  132. package/src/lib/config.ts +3 -3
  133. package/src/mcp-server/mcp-server.ts +1 -1
  134. package/src/mcp-server/server.ts +9 -1
  135. package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
  136. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +28 -0
  137. package/src/mcp-server/tools/pronunciationsPronunciationsGet.ts +28 -0
  138. package/src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts +28 -0
  139. package/src/models/components/campaignproperties.ts +1 -0
  140. package/src/models/components/dictionarymetadata.ts +77 -0
  141. package/src/models/components/incidentcreaterequest.ts +3 -1
  142. package/src/models/components/incidentresponse.ts +3 -1
  143. package/src/models/components/incidentupdaterequest.ts +3 -23
  144. package/src/models/components/index.ts +5 -0
  145. package/src/models/components/matchtype.ts +37 -0
  146. package/src/models/components/outboundcampaign.ts +9 -0
  147. package/src/models/components/outboundcampaigninput.ts +9 -0
  148. package/src/models/components/promptcreaterequest.ts +9 -0
  149. package/src/models/components/promptresponse.ts +7 -7
  150. package/src/models/components/promptupdaterequest.ts +7 -7
  151. package/src/models/components/pronunciationoverride.ts +120 -0
  152. package/src/models/components/pronunciationoverridesdictionary.ts +124 -0
  153. package/src/models/components/pronunciationscsvuploadresponse.ts +12 -12
  154. package/src/models/components/voicedisplayinfo.ts +82 -0
  155. package/src/models/operations/index.ts +1 -0
  156. package/src/models/operations/pronunciationsdownloadcsv.ts +84 -0
  157. package/src/sdk/pronunciations.ts +53 -0
package/openapi.json CHANGED
@@ -5553,7 +5553,91 @@
5553
5553
  ]
5554
5554
  }
5555
5555
  },
5556
+ "/api/v1/pronunciations": {
5557
+ "get": {
5558
+ "tags": [
5559
+ "pronunciations"
5560
+ ],
5561
+ "summary": "Get Pronunciations Dictionary",
5562
+ "operationId": "pronunciations_get",
5563
+ "responses": {
5564
+ "200": {
5565
+ "description": "Successful Response",
5566
+ "content": {
5567
+ "application/json": {
5568
+ "schema": {
5569
+ "$ref": "#/components/schemas/PronunciationOverridesDictionary"
5570
+ }
5571
+ }
5572
+ }
5573
+ }
5574
+ },
5575
+ "security": [
5576
+ {
5577
+ "APIKeyHeader": []
5578
+ }
5579
+ ]
5580
+ }
5581
+ },
5582
+ "/api/v1/pronunciations/metadata": {
5583
+ "get": {
5584
+ "tags": [
5585
+ "pronunciations"
5586
+ ],
5587
+ "summary": "Get Pronunciations Metadata",
5588
+ "operationId": "pronunciations_get_metadata",
5589
+ "responses": {
5590
+ "200": {
5591
+ "description": "Successful Response",
5592
+ "content": {
5593
+ "application/json": {
5594
+ "schema": {
5595
+ "$ref": "#/components/schemas/DictionaryMetadata"
5596
+ }
5597
+ }
5598
+ }
5599
+ }
5600
+ },
5601
+ "security": [
5602
+ {
5603
+ "APIKeyHeader": []
5604
+ }
5605
+ ]
5606
+ }
5607
+ },
5556
5608
  "/api/v1/pronunciations/csv": {
5609
+ "get": {
5610
+ "tags": [
5611
+ "pronunciations"
5612
+ ],
5613
+ "summary": "Download Pronunciations Csv",
5614
+ "operationId": "pronunciations_download_csv",
5615
+ "responses": {
5616
+ "200": {
5617
+ "description": "CSV download",
5618
+ "headers": {
5619
+ "Content-Disposition": {
5620
+ "schema": {
5621
+ "type": "string"
5622
+ }
5623
+ }
5624
+ },
5625
+ "content": {
5626
+ "text/csv": {
5627
+ "schema": {
5628
+ "type": "string",
5629
+ "format": "binary"
5630
+ }
5631
+ }
5632
+ }
5633
+ }
5634
+ },
5635
+ "security": [
5636
+ {
5637
+ "APIKeyHeader": []
5638
+ }
5639
+ ]
5640
+ },
5557
5641
  "post": {
5558
5642
  "tags": [
5559
5643
  "pronunciations"
@@ -5597,6 +5681,23 @@
5597
5681
  "APIKeyHeader": []
5598
5682
  }
5599
5683
  ]
5684
+ },
5685
+ "delete": {
5686
+ "tags": [
5687
+ "pronunciations"
5688
+ ],
5689
+ "summary": "Delete Pronunciations Dictionary",
5690
+ "operationId": "pronunciations_delete_csv",
5691
+ "responses": {
5692
+ "204": {
5693
+ "description": "Successful Response"
5694
+ }
5695
+ },
5696
+ "security": [
5697
+ {
5698
+ "APIKeyHeader": []
5699
+ }
5700
+ ]
5600
5701
  }
5601
5702
  },
5602
5703
  "/api/v1/roles/": {
@@ -13086,7 +13187,7 @@
13086
13187
  "title": "Batch Id",
13087
13188
  "description": "Unique ID for conversation batch",
13088
13189
  "examples": [
13089
- "20251007.9"
13190
+ "20251013.9"
13090
13191
  ]
13091
13192
  },
13092
13193
  "campaign_id": {
@@ -13110,7 +13211,7 @@
13110
13211
  "title": "Expires On",
13111
13212
  "description": "Timestamp of batch expiration",
13112
13213
  "examples": [
13113
- "2025-10-08T00:00:00Z"
13214
+ "2025-10-14T00:00:00Z"
13114
13215
  ]
13115
13216
  },
13116
13217
  "paused": {
@@ -13163,7 +13264,7 @@
13163
13264
  "title": "Created At",
13164
13265
  "description": "Timestamp of batch creation",
13165
13266
  "examples": [
13166
- "2025-10-07T00:00:00Z"
13267
+ "2025-10-13T00:00:00Z"
13167
13268
  ]
13168
13269
  },
13169
13270
  "deleted_at": {
@@ -13179,7 +13280,7 @@
13179
13280
  "title": "Deleted At",
13180
13281
  "description": "Timestamp of batch deletion",
13181
13282
  "examples": [
13182
- "2025-10-07T00:00:00Z"
13283
+ "2025-10-13T00:00:00Z"
13183
13284
  ]
13184
13285
  },
13185
13286
  "deleted_reason": {
@@ -13210,7 +13311,7 @@
13210
13311
  "title": "Last Updated At",
13211
13312
  "description": "Timestamp of last change to batch",
13212
13313
  "examples": [
13213
- "2025-10-07T00:00:00Z"
13314
+ "2025-10-13T00:00:00Z"
13214
13315
  ]
13215
13316
  },
13216
13317
  "last_updated_by": {
@@ -13549,7 +13650,8 @@
13549
13650
  "caller_id",
13550
13651
  "updated_at",
13551
13652
  "label",
13552
- "labels"
13653
+ "labels",
13654
+ "voicemail_detection"
13553
13655
  ],
13554
13656
  "title": "CampaignProperties"
13555
13657
  },
@@ -13964,7 +14066,7 @@
13964
14066
  "title": "Batch Id",
13965
14067
  "description": "Unique ID for conversation batch",
13966
14068
  "examples": [
13967
- "20251007.9"
14069
+ "20251013.9"
13968
14070
  ]
13969
14071
  },
13970
14072
  "campaign_id": {
@@ -13988,7 +14090,7 @@
13988
14090
  "title": "Expires On",
13989
14091
  "description": "Timestamp of batch expiration",
13990
14092
  "examples": [
13991
- "2025-10-08T00:00:00Z"
14093
+ "2025-10-14T00:00:00Z"
13992
14094
  ]
13993
14095
  },
13994
14096
  "paused": {
@@ -14041,7 +14143,7 @@
14041
14143
  "title": "Created At",
14042
14144
  "description": "Timestamp of batch creation",
14043
14145
  "examples": [
14044
- "2025-10-07T00:00:00Z"
14146
+ "2025-10-13T00:00:00Z"
14045
14147
  ]
14046
14148
  },
14047
14149
  "deleted_at": {
@@ -14057,7 +14159,7 @@
14057
14159
  "title": "Deleted At",
14058
14160
  "description": "Timestamp of batch deletion",
14059
14161
  "examples": [
14060
- "2025-10-07T00:00:00Z"
14162
+ "2025-10-13T00:00:00Z"
14061
14163
  ]
14062
14164
  },
14063
14165
  "deleted_reason": {
@@ -14088,7 +14190,7 @@
14088
14190
  "title": "Last Updated At",
14089
14191
  "description": "Timestamp of last change to batch",
14090
14192
  "examples": [
14091
- "2025-10-07T00:00:00Z"
14193
+ "2025-10-13T00:00:00Z"
14092
14194
  ]
14093
14195
  },
14094
14196
  "last_updated_by": {
@@ -14131,7 +14233,7 @@
14131
14233
  "title": "Batch Id",
14132
14234
  "description": "Unique ID for conversation batch",
14133
14235
  "examples": [
14134
- "20251007.9"
14236
+ "20251013.9"
14135
14237
  ]
14136
14238
  },
14137
14239
  "campaign_id": {
@@ -14155,7 +14257,7 @@
14155
14257
  "title": "Expires On",
14156
14258
  "description": "Timestamp of batch expiration",
14157
14259
  "examples": [
14158
- "2025-10-08T00:00:00Z"
14260
+ "2025-10-14T00:00:00Z"
14159
14261
  ]
14160
14262
  },
14161
14263
  "paused": {
@@ -14304,7 +14406,7 @@
14304
14406
  "title": "Created At",
14305
14407
  "description": "Timestamp of request creation",
14306
14408
  "examples": [
14307
- "2025-10-06T00:00:00Z"
14409
+ "2025-10-12T00:00:00Z"
14308
14410
  ]
14309
14411
  },
14310
14412
  "sent_at": {
@@ -14320,7 +14422,7 @@
14320
14422
  "title": "Sent At",
14321
14423
  "description": "Timestamp at which request was sent",
14322
14424
  "examples": [
14323
- "2025-10-07T00:00:00Z"
14425
+ "2025-10-13T00:00:00Z"
14324
14426
  ]
14325
14427
  },
14326
14428
  "attempt_count": {
@@ -15779,6 +15881,31 @@
15779
15881
  ],
15780
15882
  "title": "DialogToolCall"
15781
15883
  },
15884
+ "DictionaryMetadata": {
15885
+ "properties": {
15886
+ "entries": {
15887
+ "type": "integer",
15888
+ "title": "Entries"
15889
+ },
15890
+ "hash": {
15891
+ "type": "string",
15892
+ "title": "Hash"
15893
+ },
15894
+ "source": {
15895
+ "type": "string",
15896
+ "title": "Source",
15897
+ "default": ""
15898
+ }
15899
+ },
15900
+ "additionalProperties": false,
15901
+ "type": "object",
15902
+ "required": [
15903
+ "entries",
15904
+ "hash"
15905
+ ],
15906
+ "title": "DictionaryMetadata",
15907
+ "description": "Audit metadata associated with a dictionary."
15908
+ },
15782
15909
  "DirectoryExtension": {
15783
15910
  "properties": {
15784
15911
  "name": {
@@ -16236,7 +16363,7 @@
16236
16363
  "title": "Created At",
16237
16364
  "description": "Timestamp at which insight upload folder was created",
16238
16365
  "examples": [
16239
- "2025-10-06T00:00:00Z"
16366
+ "2025-10-12T00:00:00Z"
16240
16367
  ]
16241
16368
  },
16242
16369
  "updated_at": {
@@ -16245,7 +16372,7 @@
16245
16372
  "title": "Updated At",
16246
16373
  "description": "Timestamp at which insight upload folder was last updated",
16247
16374
  "examples": [
16248
- "2025-10-07T00:00:00Z"
16375
+ "2025-10-13T00:00:00Z"
16249
16376
  ]
16250
16377
  },
16251
16378
  "last_updated_by": {
@@ -16397,7 +16524,8 @@
16397
16524
  }
16398
16525
  ],
16399
16526
  "title": "Sub Organization",
16400
- "description": "The name of the sub-organization",
16527
+ "description": "The name of the sub-organization (DEPRECATED)",
16528
+ "deprecated": true,
16401
16529
  "examples": [
16402
16530
  "SubOrg A"
16403
16531
  ]
@@ -16549,7 +16677,8 @@
16549
16677
  }
16550
16678
  ],
16551
16679
  "title": "Sub Organization",
16552
- "description": "The name of the sub-organization",
16680
+ "description": "The name of the sub-organization (DEPRECATED)",
16681
+ "deprecated": true,
16553
16682
  "examples": [
16554
16683
  "SubOrg A"
16555
16684
  ]
@@ -16716,7 +16845,8 @@
16716
16845
  }
16717
16846
  ],
16718
16847
  "title": "Sub Organization",
16719
- "description": "The name of the sub-organization",
16848
+ "description": "The name of the sub-organization (DEPRECATED)",
16849
+ "deprecated": true,
16720
16850
  "examples": [
16721
16851
  "SubOrg A"
16722
16852
  ]
@@ -16728,38 +16858,6 @@
16728
16858
  "examples": [
16729
16859
  1
16730
16860
  ]
16731
- },
16732
- "created_at": {
16733
- "anyOf": [
16734
- {
16735
- "type": "string",
16736
- "format": "date-time"
16737
- },
16738
- {
16739
- "type": "null"
16740
- }
16741
- ],
16742
- "title": "Created At",
16743
- "description": "Creation time of the incident",
16744
- "examples": [
16745
- "2023-10-01T08:00:00Z"
16746
- ]
16747
- },
16748
- "updated_at": {
16749
- "anyOf": [
16750
- {
16751
- "type": "string",
16752
- "format": "date-time"
16753
- },
16754
- {
16755
- "type": "null"
16756
- }
16757
- ],
16758
- "title": "Updated At",
16759
- "description": "Last update time of the incident",
16760
- "examples": [
16761
- "2023-10-01T08:00:00Z"
16762
- ]
16763
16861
  }
16764
16862
  },
16765
16863
  "type": "object",
@@ -16960,7 +17058,7 @@
16960
17058
  "title": "Created At",
16961
17059
  "description": "Timestamp of at which insight tool configuration was created",
16962
17060
  "examples": [
16963
- "2025-10-06T00:00:00Z"
17061
+ "2025-10-12T00:00:00Z"
16964
17062
  ]
16965
17063
  },
16966
17064
  "updated_at": {
@@ -16969,7 +17067,7 @@
16969
17067
  "title": "Updated At",
16970
17068
  "description": "Timestamp at which insight tool configuration was last updated",
16971
17069
  "examples": [
16972
- "2025-10-07T00:00:00Z"
17070
+ "2025-10-13T00:00:00Z"
16973
17071
  ]
16974
17072
  },
16975
17073
  "last_updated_by": {
@@ -17350,7 +17448,7 @@
17350
17448
  "title": "Start Datetime",
17351
17449
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17352
17450
  "examples": [
17353
- "2025-10-06T00:00:00Z"
17451
+ "2025-10-12T00:00:00Z"
17354
17452
  ]
17355
17453
  },
17356
17454
  "end_datetime": {
@@ -17366,7 +17464,7 @@
17366
17464
  "title": "End Datetime",
17367
17465
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17368
17466
  "examples": [
17369
- "2025-10-07T00:00:00Z"
17467
+ "2025-10-13T00:00:00Z"
17370
17468
  ]
17371
17469
  }
17372
17470
  },
@@ -17441,7 +17539,7 @@
17441
17539
  "title": "Start Datetime",
17442
17540
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17443
17541
  "examples": [
17444
- "2025-10-06T00:00:00Z"
17542
+ "2025-10-12T00:00:00Z"
17445
17543
  ]
17446
17544
  },
17447
17545
  "end_datetime": {
@@ -17457,7 +17555,7 @@
17457
17555
  "title": "End Datetime",
17458
17556
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17459
17557
  "examples": [
17460
- "2025-10-07T00:00:00Z"
17558
+ "2025-10-13T00:00:00Z"
17461
17559
  ]
17462
17560
  },
17463
17561
  "id": {
@@ -17510,7 +17608,7 @@
17510
17608
  "title": "Created At",
17511
17609
  "description": "Timestamp at which the insight workflow was created",
17512
17610
  "examples": [
17513
- "2025-10-06T00:00:00Z"
17611
+ "2025-10-12T00:00:00Z"
17514
17612
  ]
17515
17613
  },
17516
17614
  "updated_at": {
@@ -17519,7 +17617,7 @@
17519
17617
  "title": "Updated At",
17520
17618
  "description": "Timestamp of most recent update to the insight workflow",
17521
17619
  "examples": [
17522
- "2025-10-07T00:00:00Z"
17620
+ "2025-10-13T00:00:00Z"
17523
17621
  ]
17524
17622
  },
17525
17623
  "last_updated_by": {
@@ -17615,7 +17713,7 @@
17615
17713
  "title": "Created At",
17616
17714
  "description": "Timestamp at which insight upload folder was created",
17617
17715
  "examples": [
17618
- "2025-10-06T00:00:00Z"
17716
+ "2025-10-12T00:00:00Z"
17619
17717
  ]
17620
17718
  },
17621
17719
  "updated_at": {
@@ -17624,7 +17722,7 @@
17624
17722
  "title": "Updated At",
17625
17723
  "description": "Timestamp at which insight upload folder was last updated",
17626
17724
  "examples": [
17627
- "2025-10-07T00:00:00Z"
17725
+ "2025-10-13T00:00:00Z"
17628
17726
  ]
17629
17727
  },
17630
17728
  "last_updated_by": {
@@ -17859,7 +17957,7 @@
17859
17957
  "title": "Created At",
17860
17958
  "description": "Timestamp at which insight tool result was created",
17861
17959
  "examples": [
17862
- "2025-10-06T00:00:00Z"
17960
+ "2025-10-12T00:00:00Z"
17863
17961
  ]
17864
17962
  },
17865
17963
  "updated_at": {
@@ -17868,7 +17966,7 @@
17868
17966
  "title": "Updated At",
17869
17967
  "description": "Timestamp at which insight tool result was last updated",
17870
17968
  "examples": [
17871
- "2025-10-07T00:00:00Z"
17969
+ "2025-10-13T00:00:00Z"
17872
17970
  ]
17873
17971
  }
17874
17972
  },
@@ -18003,7 +18101,7 @@
18003
18101
  "title": "Start Time",
18004
18102
  "description": "Start time of the uploaded file",
18005
18103
  "examples": [
18006
- "2025-10-06T00:00:00Z"
18104
+ "2025-10-12T00:00:00Z"
18007
18105
  ]
18008
18106
  },
18009
18107
  "end_time": {
@@ -18019,7 +18117,7 @@
18019
18117
  "title": "End Time",
18020
18118
  "description": "End time of the uploaded file",
18021
18119
  "examples": [
18022
- "2025-10-07T00:00:00Z"
18120
+ "2025-10-13T00:00:00Z"
18023
18121
  ]
18024
18122
  },
18025
18123
  "error_message": {
@@ -18074,7 +18172,7 @@
18074
18172
  "title": "Created At",
18075
18173
  "description": "Timestamp at which insight upload file was created",
18076
18174
  "examples": [
18077
- "2025-10-06T00:00:00Z"
18175
+ "2025-10-12T00:00:00Z"
18078
18176
  ]
18079
18177
  }
18080
18178
  },
@@ -20440,6 +20538,15 @@
20440
20538
  "title": "LoginType",
20441
20539
  "description": "The type of login to use for the user."
20442
20540
  },
20541
+ "MatchType": {
20542
+ "type": "string",
20543
+ "enum": [
20544
+ "exact",
20545
+ "substring"
20546
+ ],
20547
+ "title": "MatchType",
20548
+ "description": "Matching strategy for override text."
20549
+ },
20443
20550
  "OrderByDirection": {
20444
20551
  "type": "string",
20445
20552
  "enum": [
@@ -20993,6 +21100,35 @@
20993
21100
  "[\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"]"
20994
21101
  ]
20995
21102
  },
21103
+ "voicemail_detection": {
21104
+ "anyOf": [
21105
+ {
21106
+ "additionalProperties": {
21107
+ "type": "number"
21108
+ },
21109
+ "type": "object"
21110
+ },
21111
+ {
21112
+ "type": "null"
21113
+ }
21114
+ ],
21115
+ "title": "Voicemail Detection",
21116
+ "description": "Config for voicemail detection for voice campaigns",
21117
+ "default": {
21118
+ "voicemail_detection_overall_timeout": 30.0,
21119
+ "voicemail_detection_speech_threshold": 2.4,
21120
+ "voicemail_detection_pre_speech_timeout": 5.0,
21121
+ "voicemail_detection_post_speech_timeout": 1.2
21122
+ },
21123
+ "examples": [
21124
+ {
21125
+ "voicemail_detection_overall_timeout": 30.0,
21126
+ "voicemail_detection_post_speech_timeout": 1.2,
21127
+ "voicemail_detection_pre_speech_timeout": 5.0,
21128
+ "voicemail_detection_speech_threshold": 2.4
21129
+ }
21130
+ ]
21131
+ },
20996
21132
  "id": {
20997
21133
  "type": "integer",
20998
21134
  "title": "Id",
@@ -21022,7 +21158,7 @@
21022
21158
  "title": "Created At",
21023
21159
  "description": "Timestamp of campaign creation",
21024
21160
  "examples": [
21025
- "2025-10-07T00:00:00Z"
21161
+ "2025-10-13T00:00:00Z"
21026
21162
  ]
21027
21163
  },
21028
21164
  "updated_at": {
@@ -21031,7 +21167,7 @@
21031
21167
  "title": "Updated At",
21032
21168
  "description": "Timestamp of campaign update",
21033
21169
  "examples": [
21034
- "2025-10-07T00:00:00Z"
21170
+ "2025-10-13T00:00:00Z"
21035
21171
  ]
21036
21172
  },
21037
21173
  "last_updated_by": {
@@ -21268,6 +21404,35 @@
21268
21404
  "examples": [
21269
21405
  "[\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"]"
21270
21406
  ]
21407
+ },
21408
+ "voicemail_detection": {
21409
+ "anyOf": [
21410
+ {
21411
+ "additionalProperties": {
21412
+ "type": "number"
21413
+ },
21414
+ "type": "object"
21415
+ },
21416
+ {
21417
+ "type": "null"
21418
+ }
21419
+ ],
21420
+ "title": "Voicemail Detection",
21421
+ "description": "Config for voicemail detection for voice campaigns",
21422
+ "default": {
21423
+ "voicemail_detection_overall_timeout": 30.0,
21424
+ "voicemail_detection_speech_threshold": 2.4,
21425
+ "voicemail_detection_pre_speech_timeout": 5.0,
21426
+ "voicemail_detection_post_speech_timeout": 1.2
21427
+ },
21428
+ "examples": [
21429
+ {
21430
+ "voicemail_detection_overall_timeout": 30.0,
21431
+ "voicemail_detection_post_speech_timeout": 1.2,
21432
+ "voicemail_detection_pre_speech_timeout": 5.0,
21433
+ "voicemail_detection_speech_threshold": 2.4
21434
+ }
21435
+ ]
21271
21436
  }
21272
21437
  },
21273
21438
  "type": "object",
@@ -21437,6 +21602,21 @@
21437
21602
  false
21438
21603
  ]
21439
21604
  },
21605
+ "edit_comments": {
21606
+ "anyOf": [
21607
+ {
21608
+ "type": "string"
21609
+ },
21610
+ {
21611
+ "type": "null"
21612
+ }
21613
+ ],
21614
+ "title": "Edit Comments",
21615
+ "description": "The comments for the most recent edit to the prompt",
21616
+ "examples": [
21617
+ "Updated prompt text to include requirement to not answer questions that aren't about weather."
21618
+ ]
21619
+ },
21440
21620
  "include_default_tools": {
21441
21621
  "type": "boolean",
21442
21622
  "title": "Include Default Tools",
@@ -21821,14 +22001,6 @@
21821
22001
  false
21822
22002
  ]
21823
22003
  },
21824
- "id": {
21825
- "type": "integer",
21826
- "title": "Id",
21827
- "description": "The internal ID of the prompt",
21828
- "examples": [
21829
- 1
21830
- ]
21831
- },
21832
22004
  "edit_comments": {
21833
22005
  "anyOf": [
21834
22006
  {
@@ -21844,6 +22016,14 @@
21844
22016
  "Updated prompt text to include requirement to not answer questions that aren't about weather."
21845
22017
  ]
21846
22018
  },
22019
+ "id": {
22020
+ "type": "integer",
22021
+ "title": "Id",
22022
+ "description": "The internal ID of the prompt",
22023
+ "examples": [
22024
+ 1
22025
+ ]
22026
+ },
21847
22027
  "last_updated": {
21848
22028
  "anyOf": [
21849
22029
  {
@@ -22012,14 +22192,6 @@
22012
22192
  false
22013
22193
  ]
22014
22194
  },
22015
- "id": {
22016
- "type": "integer",
22017
- "title": "Id",
22018
- "description": "The internal ID of the prompt",
22019
- "examples": [
22020
- 1
22021
- ]
22022
- },
22023
22195
  "edit_comments": {
22024
22196
  "anyOf": [
22025
22197
  {
@@ -22035,6 +22207,14 @@
22035
22207
  "Updated prompt text to include requirement to not answer questions that aren't about weather."
22036
22208
  ]
22037
22209
  },
22210
+ "id": {
22211
+ "type": "integer",
22212
+ "title": "Id",
22213
+ "description": "The internal ID of the prompt",
22214
+ "examples": [
22215
+ 1
22216
+ ]
22217
+ },
22038
22218
  "include_default_tools": {
22039
22219
  "type": "boolean",
22040
22220
  "title": "Include Default Tools",
@@ -22055,6 +22235,101 @@
22055
22235
  "title": "PromptUpdateRequest",
22056
22236
  "description": "Request model to update an existing prompt."
22057
22237
  },
22238
+ "PronunciationOverride": {
22239
+ "properties": {
22240
+ "text": {
22241
+ "type": "string",
22242
+ "minLength": 1,
22243
+ "title": "Text"
22244
+ },
22245
+ "replacement": {
22246
+ "type": "string",
22247
+ "minLength": 1,
22248
+ "title": "Replacement"
22249
+ },
22250
+ "languages": {
22251
+ "items": {
22252
+ "type": "string"
22253
+ },
22254
+ "type": "array",
22255
+ "title": "Languages"
22256
+ },
22257
+ "provider": {
22258
+ "type": "string",
22259
+ "title": "Provider",
22260
+ "default": ""
22261
+ },
22262
+ "voice": {
22263
+ "type": "string",
22264
+ "title": "Voice",
22265
+ "default": ""
22266
+ },
22267
+ "match_type": {
22268
+ "$ref": "#/components/schemas/MatchType",
22269
+ "default": "exact"
22270
+ },
22271
+ "match_options": {
22272
+ "items": {
22273
+ "type": "string"
22274
+ },
22275
+ "type": "array",
22276
+ "title": "Match Options"
22277
+ },
22278
+ "enabled": {
22279
+ "type": "boolean",
22280
+ "title": "Enabled",
22281
+ "default": true
22282
+ },
22283
+ "notes": {
22284
+ "type": "string",
22285
+ "title": "Notes",
22286
+ "default": ""
22287
+ }
22288
+ },
22289
+ "additionalProperties": false,
22290
+ "type": "object",
22291
+ "required": [
22292
+ "text",
22293
+ "replacement"
22294
+ ],
22295
+ "title": "PronunciationOverride",
22296
+ "description": "A single text replacement rule."
22297
+ },
22298
+ "PronunciationOverridesDictionary": {
22299
+ "properties": {
22300
+ "type": {
22301
+ "type": "string",
22302
+ "pattern": "^pronunciations_v\\d+$",
22303
+ "title": "Type",
22304
+ "default": "pronunciations_v1"
22305
+ },
22306
+ "pronunciations": {
22307
+ "items": {
22308
+ "$ref": "#/components/schemas/PronunciationOverride"
22309
+ },
22310
+ "type": "array",
22311
+ "title": "Pronunciations"
22312
+ },
22313
+ "voices": {
22314
+ "additionalProperties": {
22315
+ "$ref": "#/components/schemas/VoiceDisplayInfo"
22316
+ },
22317
+ "type": "object",
22318
+ "title": "Voices"
22319
+ },
22320
+ "metadata": {
22321
+ "$ref": "#/components/schemas/DictionaryMetadata"
22322
+ }
22323
+ },
22324
+ "additionalProperties": false,
22325
+ "type": "object",
22326
+ "required": [
22327
+ "pronunciations",
22328
+ "metadata"
22329
+ ],
22330
+ "title": "PronunciationOverridesDictionary",
22331
+ "description": "Container for all TTS pronunciation overrides belonging to the sub-organisation.\n\nStored in the `config_values` table via ConfigDao. The Syllable API persists uploaded CSV\npronunciation rules, and Bubblegum's PronunciationOverridesPlugin reads them to apply text\nreplacements before TTS processing.\n\nExample:\n dao = ConfigDao(db_session)\n await dao.register_model('tts.pronunciations', PronunciationOverridesDictionary)\n\n pod = PronunciationOverridesDictionary(\n pronunciations=[...],\n metadata=DictionaryMetadata(entries=10, hash='sha256:...'),\n )\n result = await dao.upsert('pronunciations_v1', pod)\n\n record = await dao.get('pronunciations_v1', PronunciationOverridesDictionary)\n if record:\n pronunciations = record.value.pronunciations"
22332
+ },
22058
22333
  "PronunciationsCsvUploadResponse": {
22059
22334
  "properties": {
22060
22335
  "revision": {
@@ -22062,25 +22337,11 @@
22062
22337
  "title": "Revision"
22063
22338
  },
22064
22339
  "hash": {
22065
- "anyOf": [
22066
- {
22067
- "type": "string"
22068
- },
22069
- {
22070
- "type": "null"
22071
- }
22072
- ],
22340
+ "type": "string",
22073
22341
  "title": "Hash"
22074
22342
  },
22075
22343
  "entries": {
22076
- "anyOf": [
22077
- {
22078
- "type": "integer"
22079
- },
22080
- {
22081
- "type": "null"
22082
- }
22083
- ],
22344
+ "type": "integer",
22084
22345
  "title": "Entries"
22085
22346
  },
22086
22347
  "uploaded_at": {
@@ -22089,20 +22350,16 @@
22089
22350
  "title": "Uploaded At"
22090
22351
  },
22091
22352
  "uploaded_by": {
22092
- "anyOf": [
22093
- {
22094
- "type": "string"
22095
- },
22096
- {
22097
- "type": "null"
22098
- }
22099
- ],
22353
+ "type": "string",
22100
22354
  "title": "Uploaded By"
22101
22355
  }
22102
22356
  },
22103
22357
  "type": "object",
22104
22358
  "required": [
22105
- "revision"
22359
+ "revision",
22360
+ "hash",
22361
+ "entries",
22362
+ "uploaded_by"
22106
22363
  ],
22107
22364
  "title": "PronunciationsCsvUploadResponse",
22108
22365
  "description": "Placeholder response returned after accepting a pronunciations CSV upload."
@@ -25518,6 +25775,26 @@
25518
25775
  ],
25519
25776
  "title": "ValidationError"
25520
25777
  },
25778
+ "VoiceDisplayInfo": {
25779
+ "properties": {
25780
+ "display_name": {
25781
+ "type": "string",
25782
+ "title": "Display Name"
25783
+ },
25784
+ "provider": {
25785
+ "type": "string",
25786
+ "title": "Provider"
25787
+ }
25788
+ },
25789
+ "additionalProperties": false,
25790
+ "type": "object",
25791
+ "required": [
25792
+ "display_name",
25793
+ "provider"
25794
+ ],
25795
+ "title": "VoiceDisplayInfo",
25796
+ "description": "Display metadata for a canonical voice identifier."
25797
+ },
25521
25798
  "VoiceSampleCreateRequest": {
25522
25799
  "properties": {
25523
25800
  "language_code": {