syllable-sdk 1.0.16-rc.3 → 1.0.16-rc.7
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/bin/mcp-server.js +30 -49
- package/bin/mcp-server.js.map +12 -13
- package/examples/package-lock.json +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.js +1 -1
- package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/agentsttprovider.d.ts +1 -0
- package/models/components/agentsttprovider.d.ts.map +1 -1
- package/models/components/agentsttprovider.js +1 -0
- package/models/components/agentsttprovider.js.map +1 -1
- package/models/components/bridgephrasesconfig.d.ts +0 -6
- package/models/components/bridgephrasesconfig.d.ts.map +1 -1
- package/models/components/bridgephrasesconfig.js +0 -5
- package/models/components/bridgephrasesconfig.js.map +1 -1
- package/models/components/dictionarymetadata.d.ts +24 -0
- package/models/components/dictionarymetadata.d.ts.map +1 -0
- package/models/components/{schemasttsv1pronunciationsdictionarymetadata.js → dictionarymetadata.js} +10 -10
- package/models/components/dictionarymetadata.js.map +1 -0
- package/models/components/index.d.ts +1 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -2
- package/models/components/index.js.map +1 -1
- package/models/components/pronunciationoverridesdictionary.d.ts +3 -3
- package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -1
- package/models/components/pronunciationoverridesdictionary.js +3 -3
- package/models/components/pronunciationoverridesdictionary.js.map +1 -1
- package/openapi.json +64 -101
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +1 -1
- package/sdk/pronunciations.d.ts.map +1 -1
- package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +4 -7
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/agentsttprovider.ts +1 -0
- package/src/models/components/bridgephrasesconfig.ts +0 -17
- package/src/models/components/dictionarymetadata.ts +62 -0
- package/src/models/components/index.ts +1 -2
- package/src/models/components/pronunciationoverridesdictionary.ts +10 -10
- package/src/sdk/pronunciations.ts +1 -1
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.d.ts +0 -33
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.d.ts.map +0 -1
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.js +0 -62
- package/models/components/schemascortexv1bridgephrasesdictionarymetadata.js.map +0 -1
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.d.ts +0 -24
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.d.ts.map +0 -1
- package/models/components/schemasttsv1pronunciationsdictionarymetadata.js.map +0 -1
- package/src/models/components/schemascortexv1bridgephrasesdictionarymetadata.ts +0 -82
- package/src/models/components/schemasttsv1pronunciationsdictionarymetadata.ts +0 -73
package/openapi.json
CHANGED
|
@@ -5752,7 +5752,7 @@
|
|
|
5752
5752
|
"content": {
|
|
5753
5753
|
"application/json": {
|
|
5754
5754
|
"schema": {
|
|
5755
|
-
"$ref": "#/components/schemas/
|
|
5755
|
+
"$ref": "#/components/schemas/DictionaryMetadata"
|
|
5756
5756
|
}
|
|
5757
5757
|
}
|
|
5758
5758
|
}
|
|
@@ -12713,6 +12713,7 @@
|
|
|
12713
12713
|
"description": "Speech-to-text provider for the agent.",
|
|
12714
12714
|
"examples": [
|
|
12715
12715
|
"Google STT V2 (Chirp 2)",
|
|
12716
|
+
"Deepgram Nova 3 (On-Prem)",
|
|
12716
12717
|
"Deepgram Nova 3",
|
|
12717
12718
|
"Google STT V2",
|
|
12718
12719
|
"Google STT V1",
|
|
@@ -13002,6 +13003,7 @@
|
|
|
13002
13003
|
"description": "Speech-to-text provider for the agent.",
|
|
13003
13004
|
"examples": [
|
|
13004
13005
|
"Google STT V2 (Chirp 2)",
|
|
13006
|
+
"Deepgram Nova 3 (On-Prem)",
|
|
13005
13007
|
"Deepgram Nova 3",
|
|
13006
13008
|
"Google STT V2",
|
|
13007
13009
|
"Google STT V1",
|
|
@@ -13147,6 +13149,7 @@
|
|
|
13147
13149
|
"type": "string",
|
|
13148
13150
|
"enum": [
|
|
13149
13151
|
"Google STT V2 (Chirp 2)",
|
|
13152
|
+
"Deepgram Nova 3 (On-Prem)",
|
|
13150
13153
|
"Deepgram Nova 3",
|
|
13151
13154
|
"Google STT V2",
|
|
13152
13155
|
"Google STT V1",
|
|
@@ -13416,6 +13419,7 @@
|
|
|
13416
13419
|
"description": "Speech-to-text provider for the agent.",
|
|
13417
13420
|
"examples": [
|
|
13418
13421
|
"Google STT V2 (Chirp 2)",
|
|
13422
|
+
"Deepgram Nova 3 (On-Prem)",
|
|
13419
13423
|
"Deepgram Nova 3",
|
|
13420
13424
|
"Google STT V2",
|
|
13421
13425
|
"Google STT V1",
|
|
@@ -13938,7 +13942,7 @@
|
|
|
13938
13942
|
"title": "Batch Id",
|
|
13939
13943
|
"description": "Unique ID for conversation batch",
|
|
13940
13944
|
"examples": [
|
|
13941
|
-
"
|
|
13945
|
+
"20251212.9"
|
|
13942
13946
|
]
|
|
13943
13947
|
},
|
|
13944
13948
|
"campaign_id": {
|
|
@@ -13962,7 +13966,7 @@
|
|
|
13962
13966
|
"title": "Expires On",
|
|
13963
13967
|
"description": "Timestamp of batch expiration",
|
|
13964
13968
|
"examples": [
|
|
13965
|
-
"2025-12-
|
|
13969
|
+
"2025-12-13T00:00:00Z"
|
|
13966
13970
|
]
|
|
13967
13971
|
},
|
|
13968
13972
|
"paused": {
|
|
@@ -14015,7 +14019,7 @@
|
|
|
14015
14019
|
"title": "Created At",
|
|
14016
14020
|
"description": "Timestamp of batch creation",
|
|
14017
14021
|
"examples": [
|
|
14018
|
-
"2025-12-
|
|
14022
|
+
"2025-12-12T00:00:00Z"
|
|
14019
14023
|
]
|
|
14020
14024
|
},
|
|
14021
14025
|
"deleted_at": {
|
|
@@ -14031,7 +14035,7 @@
|
|
|
14031
14035
|
"title": "Deleted At",
|
|
14032
14036
|
"description": "Timestamp of batch deletion",
|
|
14033
14037
|
"examples": [
|
|
14034
|
-
"2025-12-
|
|
14038
|
+
"2025-12-12T00:00:00Z"
|
|
14035
14039
|
]
|
|
14036
14040
|
},
|
|
14037
14041
|
"deleted_reason": {
|
|
@@ -14062,7 +14066,7 @@
|
|
|
14062
14066
|
"title": "Last Updated At",
|
|
14063
14067
|
"description": "Timestamp of last change to batch",
|
|
14064
14068
|
"examples": [
|
|
14065
|
-
"2025-12-
|
|
14069
|
+
"2025-12-12T00:00:00Z"
|
|
14066
14070
|
]
|
|
14067
14071
|
},
|
|
14068
14072
|
"last_updated_by": {
|
|
@@ -14413,10 +14417,6 @@
|
|
|
14413
14417
|
"type": "array",
|
|
14414
14418
|
"title": "Tool Responses",
|
|
14415
14419
|
"description": "Messages to say when a tool call is in progress."
|
|
14416
|
-
},
|
|
14417
|
-
"metadata": {
|
|
14418
|
-
"$ref": "#/components/schemas/schemas__cortex__v1__bridge_phrases__DictionaryMetadata",
|
|
14419
|
-
"description": "Metadata about the configuration."
|
|
14420
14420
|
}
|
|
14421
14421
|
},
|
|
14422
14422
|
"type": "object",
|
|
@@ -14973,7 +14973,7 @@
|
|
|
14973
14973
|
"title": "Batch Id",
|
|
14974
14974
|
"description": "Unique ID for conversation batch",
|
|
14975
14975
|
"examples": [
|
|
14976
|
-
"
|
|
14976
|
+
"20251212.9"
|
|
14977
14977
|
]
|
|
14978
14978
|
},
|
|
14979
14979
|
"campaign_id": {
|
|
@@ -14997,7 +14997,7 @@
|
|
|
14997
14997
|
"title": "Expires On",
|
|
14998
14998
|
"description": "Timestamp of batch expiration",
|
|
14999
14999
|
"examples": [
|
|
15000
|
-
"2025-12-
|
|
15000
|
+
"2025-12-13T00:00:00Z"
|
|
15001
15001
|
]
|
|
15002
15002
|
},
|
|
15003
15003
|
"paused": {
|
|
@@ -15050,7 +15050,7 @@
|
|
|
15050
15050
|
"title": "Created At",
|
|
15051
15051
|
"description": "Timestamp of batch creation",
|
|
15052
15052
|
"examples": [
|
|
15053
|
-
"2025-12-
|
|
15053
|
+
"2025-12-12T00:00:00Z"
|
|
15054
15054
|
]
|
|
15055
15055
|
},
|
|
15056
15056
|
"deleted_at": {
|
|
@@ -15066,7 +15066,7 @@
|
|
|
15066
15066
|
"title": "Deleted At",
|
|
15067
15067
|
"description": "Timestamp of batch deletion",
|
|
15068
15068
|
"examples": [
|
|
15069
|
-
"2025-12-
|
|
15069
|
+
"2025-12-12T00:00:00Z"
|
|
15070
15070
|
]
|
|
15071
15071
|
},
|
|
15072
15072
|
"deleted_reason": {
|
|
@@ -15097,7 +15097,7 @@
|
|
|
15097
15097
|
"title": "Last Updated At",
|
|
15098
15098
|
"description": "Timestamp of last change to batch",
|
|
15099
15099
|
"examples": [
|
|
15100
|
-
"2025-12-
|
|
15100
|
+
"2025-12-12T00:00:00Z"
|
|
15101
15101
|
]
|
|
15102
15102
|
},
|
|
15103
15103
|
"last_updated_by": {
|
|
@@ -15140,7 +15140,7 @@
|
|
|
15140
15140
|
"title": "Batch Id",
|
|
15141
15141
|
"description": "Unique ID for conversation batch",
|
|
15142
15142
|
"examples": [
|
|
15143
|
-
"
|
|
15143
|
+
"20251212.9"
|
|
15144
15144
|
]
|
|
15145
15145
|
},
|
|
15146
15146
|
"campaign_id": {
|
|
@@ -15164,7 +15164,7 @@
|
|
|
15164
15164
|
"title": "Expires On",
|
|
15165
15165
|
"description": "Timestamp of batch expiration",
|
|
15166
15166
|
"examples": [
|
|
15167
|
-
"2025-12-
|
|
15167
|
+
"2025-12-13T00:00:00Z"
|
|
15168
15168
|
]
|
|
15169
15169
|
},
|
|
15170
15170
|
"paused": {
|
|
@@ -15313,7 +15313,7 @@
|
|
|
15313
15313
|
"title": "Created At",
|
|
15314
15314
|
"description": "Timestamp of request creation",
|
|
15315
15315
|
"examples": [
|
|
15316
|
-
"2025-12-
|
|
15316
|
+
"2025-12-11T00:00:00Z"
|
|
15317
15317
|
]
|
|
15318
15318
|
},
|
|
15319
15319
|
"sent_at": {
|
|
@@ -15329,7 +15329,7 @@
|
|
|
15329
15329
|
"title": "Sent At",
|
|
15330
15330
|
"description": "Timestamp at which request was sent",
|
|
15331
15331
|
"examples": [
|
|
15332
|
-
"2025-12-
|
|
15332
|
+
"2025-12-12T00:00:00Z"
|
|
15333
15333
|
]
|
|
15334
15334
|
},
|
|
15335
15335
|
"attempt_count": {
|
|
@@ -17208,6 +17208,31 @@
|
|
|
17208
17208
|
],
|
|
17209
17209
|
"title": "DialogToolCall"
|
|
17210
17210
|
},
|
|
17211
|
+
"DictionaryMetadata": {
|
|
17212
|
+
"properties": {
|
|
17213
|
+
"entries": {
|
|
17214
|
+
"type": "integer",
|
|
17215
|
+
"title": "Entries"
|
|
17216
|
+
},
|
|
17217
|
+
"hash": {
|
|
17218
|
+
"type": "string",
|
|
17219
|
+
"title": "Hash"
|
|
17220
|
+
},
|
|
17221
|
+
"source": {
|
|
17222
|
+
"type": "string",
|
|
17223
|
+
"title": "Source",
|
|
17224
|
+
"default": ""
|
|
17225
|
+
}
|
|
17226
|
+
},
|
|
17227
|
+
"additionalProperties": false,
|
|
17228
|
+
"type": "object",
|
|
17229
|
+
"required": [
|
|
17230
|
+
"entries",
|
|
17231
|
+
"hash"
|
|
17232
|
+
],
|
|
17233
|
+
"title": "DictionaryMetadata",
|
|
17234
|
+
"description": "Audit metadata associated with a dictionary."
|
|
17235
|
+
},
|
|
17211
17236
|
"DirectoryExtension": {
|
|
17212
17237
|
"properties": {
|
|
17213
17238
|
"name": {
|
|
@@ -18179,7 +18204,7 @@
|
|
|
18179
18204
|
"title": "Created At",
|
|
18180
18205
|
"description": "Timestamp at which insight upload folder was created",
|
|
18181
18206
|
"examples": [
|
|
18182
|
-
"2025-12-
|
|
18207
|
+
"2025-12-11T00:00:00Z"
|
|
18183
18208
|
]
|
|
18184
18209
|
},
|
|
18185
18210
|
"updated_at": {
|
|
@@ -18188,7 +18213,7 @@
|
|
|
18188
18213
|
"title": "Updated At",
|
|
18189
18214
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18190
18215
|
"examples": [
|
|
18191
|
-
"2025-12-
|
|
18216
|
+
"2025-12-12T00:00:00Z"
|
|
18192
18217
|
]
|
|
18193
18218
|
},
|
|
18194
18219
|
"last_updated_by": {
|
|
@@ -19158,7 +19183,7 @@
|
|
|
19158
19183
|
"title": "Created At",
|
|
19159
19184
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
19160
19185
|
"examples": [
|
|
19161
|
-
"2025-12-
|
|
19186
|
+
"2025-12-11T00:00:00Z"
|
|
19162
19187
|
]
|
|
19163
19188
|
},
|
|
19164
19189
|
"updated_at": {
|
|
@@ -19167,7 +19192,7 @@
|
|
|
19167
19192
|
"title": "Updated At",
|
|
19168
19193
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
19169
19194
|
"examples": [
|
|
19170
|
-
"2025-12-
|
|
19195
|
+
"2025-12-12T00:00:00Z"
|
|
19171
19196
|
]
|
|
19172
19197
|
},
|
|
19173
19198
|
"last_updated_by": {
|
|
@@ -19548,7 +19573,7 @@
|
|
|
19548
19573
|
"title": "Start Datetime",
|
|
19549
19574
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19550
19575
|
"examples": [
|
|
19551
|
-
"2025-12-
|
|
19576
|
+
"2025-12-11T00:00:00Z"
|
|
19552
19577
|
]
|
|
19553
19578
|
},
|
|
19554
19579
|
"end_datetime": {
|
|
@@ -19564,7 +19589,7 @@
|
|
|
19564
19589
|
"title": "End Datetime",
|
|
19565
19590
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19566
19591
|
"examples": [
|
|
19567
|
-
"2025-12-
|
|
19592
|
+
"2025-12-12T00:00:00Z"
|
|
19568
19593
|
]
|
|
19569
19594
|
}
|
|
19570
19595
|
},
|
|
@@ -19639,7 +19664,7 @@
|
|
|
19639
19664
|
"title": "Start Datetime",
|
|
19640
19665
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19641
19666
|
"examples": [
|
|
19642
|
-
"2025-12-
|
|
19667
|
+
"2025-12-11T00:00:00Z"
|
|
19643
19668
|
]
|
|
19644
19669
|
},
|
|
19645
19670
|
"end_datetime": {
|
|
@@ -19655,7 +19680,7 @@
|
|
|
19655
19680
|
"title": "End Datetime",
|
|
19656
19681
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19657
19682
|
"examples": [
|
|
19658
|
-
"2025-12-
|
|
19683
|
+
"2025-12-12T00:00:00Z"
|
|
19659
19684
|
]
|
|
19660
19685
|
},
|
|
19661
19686
|
"id": {
|
|
@@ -19708,7 +19733,7 @@
|
|
|
19708
19733
|
"title": "Created At",
|
|
19709
19734
|
"description": "Timestamp at which the insight workflow was created",
|
|
19710
19735
|
"examples": [
|
|
19711
|
-
"2025-12-
|
|
19736
|
+
"2025-12-11T00:00:00Z"
|
|
19712
19737
|
]
|
|
19713
19738
|
},
|
|
19714
19739
|
"updated_at": {
|
|
@@ -19717,7 +19742,7 @@
|
|
|
19717
19742
|
"title": "Updated At",
|
|
19718
19743
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
19719
19744
|
"examples": [
|
|
19720
|
-
"2025-12-
|
|
19745
|
+
"2025-12-12T00:00:00Z"
|
|
19721
19746
|
]
|
|
19722
19747
|
},
|
|
19723
19748
|
"last_updated_by": {
|
|
@@ -19813,7 +19838,7 @@
|
|
|
19813
19838
|
"title": "Created At",
|
|
19814
19839
|
"description": "Timestamp at which insight upload folder was created",
|
|
19815
19840
|
"examples": [
|
|
19816
|
-
"2025-12-
|
|
19841
|
+
"2025-12-11T00:00:00Z"
|
|
19817
19842
|
]
|
|
19818
19843
|
},
|
|
19819
19844
|
"updated_at": {
|
|
@@ -19822,7 +19847,7 @@
|
|
|
19822
19847
|
"title": "Updated At",
|
|
19823
19848
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
19824
19849
|
"examples": [
|
|
19825
|
-
"2025-12-
|
|
19850
|
+
"2025-12-12T00:00:00Z"
|
|
19826
19851
|
]
|
|
19827
19852
|
},
|
|
19828
19853
|
"last_updated_by": {
|
|
@@ -20057,7 +20082,7 @@
|
|
|
20057
20082
|
"title": "Created At",
|
|
20058
20083
|
"description": "Timestamp at which insight tool result was created",
|
|
20059
20084
|
"examples": [
|
|
20060
|
-
"2025-12-
|
|
20085
|
+
"2025-12-11T00:00:00Z"
|
|
20061
20086
|
]
|
|
20062
20087
|
},
|
|
20063
20088
|
"updated_at": {
|
|
@@ -20066,7 +20091,7 @@
|
|
|
20066
20091
|
"title": "Updated At",
|
|
20067
20092
|
"description": "Timestamp at which insight tool result was last updated",
|
|
20068
20093
|
"examples": [
|
|
20069
|
-
"2025-12-
|
|
20094
|
+
"2025-12-12T00:00:00Z"
|
|
20070
20095
|
]
|
|
20071
20096
|
},
|
|
20072
20097
|
"upload_file_metadata": {
|
|
@@ -20211,7 +20236,7 @@
|
|
|
20211
20236
|
"title": "Start Time",
|
|
20212
20237
|
"description": "Start time of the uploaded file",
|
|
20213
20238
|
"examples": [
|
|
20214
|
-
"2025-12-
|
|
20239
|
+
"2025-12-11T00:00:00Z"
|
|
20215
20240
|
]
|
|
20216
20241
|
},
|
|
20217
20242
|
"end_time": {
|
|
@@ -20227,7 +20252,7 @@
|
|
|
20227
20252
|
"title": "End Time",
|
|
20228
20253
|
"description": "End time of the uploaded file",
|
|
20229
20254
|
"examples": [
|
|
20230
|
-
"2025-12-
|
|
20255
|
+
"2025-12-12T00:00:00Z"
|
|
20231
20256
|
]
|
|
20232
20257
|
},
|
|
20233
20258
|
"error_message": {
|
|
@@ -20282,7 +20307,7 @@
|
|
|
20282
20307
|
"title": "Created At",
|
|
20283
20308
|
"description": "Timestamp at which insight upload file was created",
|
|
20284
20309
|
"examples": [
|
|
20285
|
-
"2025-12-
|
|
20310
|
+
"2025-12-11T00:00:00Z"
|
|
20286
20311
|
]
|
|
20287
20312
|
}
|
|
20288
20313
|
},
|
|
@@ -23641,7 +23666,7 @@
|
|
|
23641
23666
|
"title": "Created At",
|
|
23642
23667
|
"description": "Timestamp of campaign creation",
|
|
23643
23668
|
"examples": [
|
|
23644
|
-
"2025-12-
|
|
23669
|
+
"2025-12-12T00:00:00Z"
|
|
23645
23670
|
]
|
|
23646
23671
|
},
|
|
23647
23672
|
"updated_at": {
|
|
@@ -23650,7 +23675,7 @@
|
|
|
23650
23675
|
"title": "Updated At",
|
|
23651
23676
|
"description": "Timestamp of campaign update",
|
|
23652
23677
|
"examples": [
|
|
23653
|
-
"2025-12-
|
|
23678
|
+
"2025-12-12T00:00:00Z"
|
|
23654
23679
|
]
|
|
23655
23680
|
},
|
|
23656
23681
|
"last_updated_by": {
|
|
@@ -24867,7 +24892,7 @@
|
|
|
24867
24892
|
"title": "Voices"
|
|
24868
24893
|
},
|
|
24869
24894
|
"metadata": {
|
|
24870
|
-
"$ref": "#/components/schemas/
|
|
24895
|
+
"$ref": "#/components/schemas/DictionaryMetadata"
|
|
24871
24896
|
}
|
|
24872
24897
|
},
|
|
24873
24898
|
"additionalProperties": false,
|
|
@@ -29539,68 +29564,6 @@
|
|
|
29539
29564
|
],
|
|
29540
29565
|
"title": "VoiceSampleCreateRequest",
|
|
29541
29566
|
"description": "Request model to generate a sample audio file for a given voice and language."
|
|
29542
|
-
},
|
|
29543
|
-
"schemas__cortex__v1__bridge_phrases__DictionaryMetadata": {
|
|
29544
|
-
"properties": {
|
|
29545
|
-
"hash": {
|
|
29546
|
-
"anyOf": [
|
|
29547
|
-
{
|
|
29548
|
-
"type": "string"
|
|
29549
|
-
},
|
|
29550
|
-
{
|
|
29551
|
-
"type": "null"
|
|
29552
|
-
}
|
|
29553
|
-
],
|
|
29554
|
-
"title": "Hash",
|
|
29555
|
-
"description": "Hash of the dictionary content."
|
|
29556
|
-
},
|
|
29557
|
-
"source": {
|
|
29558
|
-
"anyOf": [
|
|
29559
|
-
{
|
|
29560
|
-
"type": "string"
|
|
29561
|
-
},
|
|
29562
|
-
{
|
|
29563
|
-
"type": "null"
|
|
29564
|
-
}
|
|
29565
|
-
],
|
|
29566
|
-
"title": "Source",
|
|
29567
|
-
"description": "Source of the dictionary (e.g. filename)."
|
|
29568
|
-
},
|
|
29569
|
-
"entries": {
|
|
29570
|
-
"type": "integer",
|
|
29571
|
-
"title": "Entries",
|
|
29572
|
-
"description": "Number of entries in the dictionary.",
|
|
29573
|
-
"default": 0
|
|
29574
|
-
}
|
|
29575
|
-
},
|
|
29576
|
-
"type": "object",
|
|
29577
|
-
"title": "DictionaryMetadata",
|
|
29578
|
-
"description": "Metadata for the bridge phrases dictionary."
|
|
29579
|
-
},
|
|
29580
|
-
"schemas__tts__v1__pronunciations__DictionaryMetadata": {
|
|
29581
|
-
"properties": {
|
|
29582
|
-
"entries": {
|
|
29583
|
-
"type": "integer",
|
|
29584
|
-
"title": "Entries"
|
|
29585
|
-
},
|
|
29586
|
-
"hash": {
|
|
29587
|
-
"type": "string",
|
|
29588
|
-
"title": "Hash"
|
|
29589
|
-
},
|
|
29590
|
-
"source": {
|
|
29591
|
-
"type": "string",
|
|
29592
|
-
"title": "Source",
|
|
29593
|
-
"default": ""
|
|
29594
|
-
}
|
|
29595
|
-
},
|
|
29596
|
-
"additionalProperties": false,
|
|
29597
|
-
"type": "object",
|
|
29598
|
-
"required": [
|
|
29599
|
-
"entries",
|
|
29600
|
-
"hash"
|
|
29601
|
-
],
|
|
29602
|
-
"title": "DictionaryMetadata",
|
|
29603
|
-
"description": "Audit metadata associated with a dictionary."
|
|
29604
29567
|
}
|
|
29605
29568
|
},
|
|
29606
29569
|
"securitySchemes": {
|
package/package.json
CHANGED
package/sdk/pronunciations.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class Pronunciations extends ClientSDK {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get Pronunciations Metadata
|
|
10
10
|
*/
|
|
11
|
-
pronunciationsGetMetadata(options?: RequestOptions): Promise<components.
|
|
11
|
+
pronunciationsGetMetadata(options?: RequestOptions): Promise<components.DictionaryMetadata>;
|
|
12
12
|
/**
|
|
13
13
|
* Download Pronunciations Csv
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pronunciations.d.ts","sourceRoot":"","sources":["../src/sdk/pronunciations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,cAAe,SAAQ,SAAS;IAC3C;;OAEG;IACG,iBAAiB,CACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAOvD;;OAEG;IACG,yBAAyB,CAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"pronunciations.d.ts","sourceRoot":"","sources":["../src/sdk/pronunciations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,cAAe,SAAQ,SAAS;IAC3C;;OAEG;IACG,iBAAiB,CACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAOvD;;OAEG;IACG,yBAAyB,CAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAOzC;;OAEG;IACG,yBAAyB,CAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IAOtC;;OAEG;IACG,uBAAuB,CAC3B,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;IAQtD;;OAEG;IACG,uBAAuB,CAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -30,7 +30,7 @@ export function pronunciationsPronunciationsGetMetadata(
|
|
|
30
30
|
options?: RequestOptions,
|
|
31
31
|
): APIPromise<
|
|
32
32
|
Result<
|
|
33
|
-
components.
|
|
33
|
+
components.DictionaryMetadata,
|
|
34
34
|
| SyllableSDKError
|
|
35
35
|
| ResponseValidationError
|
|
36
36
|
| ConnectionError
|
|
@@ -53,7 +53,7 @@ async function $do(
|
|
|
53
53
|
): Promise<
|
|
54
54
|
[
|
|
55
55
|
Result<
|
|
56
|
-
components.
|
|
56
|
+
components.DictionaryMetadata,
|
|
57
57
|
| SyllableSDKError
|
|
58
58
|
| ResponseValidationError
|
|
59
59
|
| ConnectionError
|
|
@@ -117,7 +117,7 @@ async function $do(
|
|
|
117
117
|
const response = doResult.value;
|
|
118
118
|
|
|
119
119
|
const [result] = await M.match<
|
|
120
|
-
components.
|
|
120
|
+
components.DictionaryMetadata,
|
|
121
121
|
| SyllableSDKError
|
|
122
122
|
| ResponseValidationError
|
|
123
123
|
| ConnectionError
|
|
@@ -127,10 +127,7 @@ async function $do(
|
|
|
127
127
|
| UnexpectedClientError
|
|
128
128
|
| SDKValidationError
|
|
129
129
|
>(
|
|
130
|
-
M.json(
|
|
131
|
-
200,
|
|
132
|
-
components.SchemasTtsV1PronunciationsDictionaryMetadata$inboundSchema,
|
|
133
|
-
),
|
|
130
|
+
M.json(200, components.DictionaryMetadata$inboundSchema),
|
|
134
131
|
M.fail("4XX"),
|
|
135
132
|
M.fail("5XX"),
|
|
136
133
|
)(response, req);
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "1.0.16-rc.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.16-rc.
|
|
64
|
+
sdkVersion: "1.0.16-rc.7",
|
|
65
|
+
genVersion: "2.779.2",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.16-rc.7 2.779.2 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export const AgentSttProvider = {
|
|
12
12
|
GoogleSTTV2Chirp2: "Google STT V2 (Chirp 2)",
|
|
13
|
+
DeepgramNova3OnPrem: "Deepgram Nova 3 (On-Prem)",
|
|
13
14
|
DeepgramNova3: "Deepgram Nova 3",
|
|
14
15
|
GoogleSTTV2: "Google STT V2",
|
|
15
16
|
GoogleSTTV1: "Google STT V1",
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata,
|
|
12
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata$inboundSchema,
|
|
13
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata$Outbound,
|
|
14
|
-
SchemasCortexV1BridgePhrasesDictionaryMetadata$outboundSchema,
|
|
15
|
-
} from "./schemascortexv1bridgephrasesdictionarymetadata.js";
|
|
16
10
|
|
|
17
11
|
/**
|
|
18
12
|
* Configuration for conversational bridge phrases.
|
|
@@ -30,10 +24,6 @@ export type BridgePhrasesConfig = {
|
|
|
30
24
|
* Messages to say when a tool call is in progress.
|
|
31
25
|
*/
|
|
32
26
|
toolResponses?: Array<string> | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Metadata for the bridge phrases dictionary.
|
|
35
|
-
*/
|
|
36
|
-
metadata?: SchemasCortexV1BridgePhrasesDictionaryMetadata | undefined;
|
|
37
27
|
};
|
|
38
28
|
|
|
39
29
|
/** @internal */
|
|
@@ -45,8 +35,6 @@ export const BridgePhrasesConfig$inboundSchema: z.ZodType<
|
|
|
45
35
|
first_slow_messages: z.array(z.string()).optional(),
|
|
46
36
|
very_slow_messages: z.array(z.string()).optional(),
|
|
47
37
|
tool_responses: z.array(z.string()).optional(),
|
|
48
|
-
metadata: SchemasCortexV1BridgePhrasesDictionaryMetadata$inboundSchema
|
|
49
|
-
.optional(),
|
|
50
38
|
}).transform((v) => {
|
|
51
39
|
return remap$(v, {
|
|
52
40
|
"first_slow_messages": "firstSlowMessages",
|
|
@@ -59,9 +47,6 @@ export type BridgePhrasesConfig$Outbound = {
|
|
|
59
47
|
first_slow_messages?: Array<string> | undefined;
|
|
60
48
|
very_slow_messages?: Array<string> | undefined;
|
|
61
49
|
tool_responses?: Array<string> | undefined;
|
|
62
|
-
metadata?:
|
|
63
|
-
| SchemasCortexV1BridgePhrasesDictionaryMetadata$Outbound
|
|
64
|
-
| undefined;
|
|
65
50
|
};
|
|
66
51
|
|
|
67
52
|
/** @internal */
|
|
@@ -73,8 +58,6 @@ export const BridgePhrasesConfig$outboundSchema: z.ZodType<
|
|
|
73
58
|
firstSlowMessages: z.array(z.string()).optional(),
|
|
74
59
|
verySlowMessages: z.array(z.string()).optional(),
|
|
75
60
|
toolResponses: z.array(z.string()).optional(),
|
|
76
|
-
metadata: SchemasCortexV1BridgePhrasesDictionaryMetadata$outboundSchema
|
|
77
|
-
.optional(),
|
|
78
61
|
}).transform((v) => {
|
|
79
62
|
return remap$(v, {
|
|
80
63
|
firstSlowMessages: "first_slow_messages",
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Audit metadata associated with a dictionary.
|
|
12
|
+
*/
|
|
13
|
+
export type DictionaryMetadata = {
|
|
14
|
+
entries: number;
|
|
15
|
+
hash: string;
|
|
16
|
+
source?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const DictionaryMetadata$inboundSchema: z.ZodType<
|
|
21
|
+
DictionaryMetadata,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
entries: z.number().int(),
|
|
26
|
+
hash: z.string(),
|
|
27
|
+
source: z.string().default(""),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type DictionaryMetadata$Outbound = {
|
|
31
|
+
entries: number;
|
|
32
|
+
hash: string;
|
|
33
|
+
source: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const DictionaryMetadata$outboundSchema: z.ZodType<
|
|
38
|
+
DictionaryMetadata$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
DictionaryMetadata
|
|
41
|
+
> = z.object({
|
|
42
|
+
entries: z.number().int(),
|
|
43
|
+
hash: z.string(),
|
|
44
|
+
source: z.string().default(""),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function dictionaryMetadataToJSON(
|
|
48
|
+
dictionaryMetadata: DictionaryMetadata,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
DictionaryMetadata$outboundSchema.parse(dictionaryMetadata),
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export function dictionaryMetadataFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<DictionaryMetadata, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => DictionaryMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'DictionaryMetadata' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -75,6 +75,7 @@ export * from "./daysofweek.js";
|
|
|
75
75
|
export * from "./dialogmessage.js";
|
|
76
76
|
export * from "./dialogrole.js";
|
|
77
77
|
export * from "./dialogtoolcall.js";
|
|
78
|
+
export * from "./dictionarymetadata.js";
|
|
78
79
|
export * from "./directoryextension.js";
|
|
79
80
|
export * from "./directoryextensionnumber.js";
|
|
80
81
|
export * from "./directorymember.js";
|
|
@@ -189,8 +190,6 @@ export * from "./roleresponse.js";
|
|
|
189
190
|
export * from "./roleupdaterequest.js";
|
|
190
191
|
export * from "./saveaction.js";
|
|
191
192
|
export * from "./sayaction.js";
|
|
192
|
-
export * from "./schemascortexv1bridgephrasesdictionarymetadata.js";
|
|
193
|
-
export * from "./schemasttsv1pronunciationsdictionarymetadata.js";
|
|
194
193
|
export * from "./security.js";
|
|
195
194
|
export * from "./servicecreaterequest.js";
|
|
196
195
|
export * from "./serviceproperties.js";
|