syllable-sdk 1.0.5-rc.1 → 1.0.5-rc.2
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 +5 -5
- package/bin/mcp-server.js.map +4 -4
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/openapi.json +33 -33
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
|
@@ -123,9 +123,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
123
123
|
|
|
124
124
|
async function run() {
|
|
125
125
|
const result = await syllableSDK.outbound.batches.create({
|
|
126
|
-
batchId: "
|
|
126
|
+
batchId: "20251021.9",
|
|
127
127
|
campaignId: 1,
|
|
128
|
-
expiresOn: new Date("2025-10-
|
|
128
|
+
expiresOn: new Date("2025-10-22T00:00:00Z"),
|
|
129
129
|
paused: true,
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -151,9 +151,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
151
151
|
|
|
152
152
|
async function run() {
|
|
153
153
|
const res = await outboundBatchesCreate(syllableSDK, {
|
|
154
|
-
batchId: "
|
|
154
|
+
batchId: "20251021.9",
|
|
155
155
|
campaignId: 1,
|
|
156
|
-
expiresOn: new Date("2025-10-
|
|
156
|
+
expiresOn: new Date("2025-10-22T00:00:00Z"),
|
|
157
157
|
paused: true,
|
|
158
158
|
});
|
|
159
159
|
if (res.ok) {
|
|
@@ -148,8 +148,8 @@ async function run() {
|
|
|
148
148
|
"sheet_name": "Q1 Sales Data",
|
|
149
149
|
},
|
|
150
150
|
},
|
|
151
|
-
startDatetime: new Date("2025-10-
|
|
152
|
-
endDatetime: new Date("2025-10-
|
|
151
|
+
startDatetime: new Date("2025-10-20T00:00:00Z"),
|
|
152
|
+
endDatetime: new Date("2025-10-21T00:00:00Z"),
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
console.log(result);
|
|
@@ -200,8 +200,8 @@ async function run() {
|
|
|
200
200
|
"sheet_name": "Q1 Sales Data",
|
|
201
201
|
},
|
|
202
202
|
},
|
|
203
|
-
startDatetime: new Date("2025-10-
|
|
204
|
-
endDatetime: new Date("2025-10-
|
|
203
|
+
startDatetime: new Date("2025-10-20T00:00:00Z"),
|
|
204
|
+
endDatetime: new Date("2025-10-21T00:00:00Z"),
|
|
205
205
|
});
|
|
206
206
|
if (res.ok) {
|
|
207
207
|
const { value: result } = res;
|
|
@@ -352,8 +352,8 @@ async function run() {
|
|
|
352
352
|
"sheet_name": "Q1 Sales Data",
|
|
353
353
|
},
|
|
354
354
|
},
|
|
355
|
-
startDatetime: new Date("2025-10-
|
|
356
|
-
endDatetime: new Date("2025-10-
|
|
355
|
+
startDatetime: new Date("2025-10-20T00:00:00Z"),
|
|
356
|
+
endDatetime: new Date("2025-10-21T00:00:00Z"),
|
|
357
357
|
},
|
|
358
358
|
});
|
|
359
359
|
|
|
@@ -407,8 +407,8 @@ async function run() {
|
|
|
407
407
|
"sheet_name": "Q1 Sales Data",
|
|
408
408
|
},
|
|
409
409
|
},
|
|
410
|
-
startDatetime: new Date("2025-10-
|
|
411
|
-
endDatetime: new Date("2025-10-
|
|
410
|
+
startDatetime: new Date("2025-10-20T00:00:00Z"),
|
|
411
|
+
endDatetime: new Date("2025-10-21T00:00:00Z"),
|
|
412
412
|
},
|
|
413
413
|
});
|
|
414
414
|
if (res.ok) {
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.2";
|
|
34
|
-
readonly sdkVersion: "1.0.5-rc.
|
|
34
|
+
readonly sdkVersion: "1.0.5-rc.2";
|
|
35
35
|
readonly genVersion: "2.727.9";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.0.5-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.5-rc.2 2.727.9 0.0.2 syllable-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "1.0.5-rc.
|
|
34
|
+
sdkVersion: "1.0.5-rc.2",
|
|
35
35
|
genVersion: "2.727.9",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.0.5-rc.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.0.5-rc.2 2.727.9 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "1.0.5-rc.
|
|
25
|
+
currentVersion: "1.0.5-rc.2",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -163,7 +163,7 @@ const voiceGroupsVoiceGroupsCreateVoiceSample_js_1 = require("./tools/voiceGroup
|
|
|
163
163
|
function createMCPServer(deps) {
|
|
164
164
|
const server = new mcp_js_1.McpServer({
|
|
165
165
|
name: "SyllableSDK",
|
|
166
|
-
version: "1.0.5-rc.
|
|
166
|
+
version: "1.0.5-rc.2",
|
|
167
167
|
});
|
|
168
168
|
const client = new core_js_1.SyllableSDKCore({
|
|
169
169
|
apiKeyHeader: deps.apiKeyHeader,
|
package/openapi.json
CHANGED
|
@@ -13650,7 +13650,7 @@
|
|
|
13650
13650
|
"title": "Batch Id",
|
|
13651
13651
|
"description": "Unique ID for conversation batch",
|
|
13652
13652
|
"examples": [
|
|
13653
|
-
"
|
|
13653
|
+
"20251021.9"
|
|
13654
13654
|
]
|
|
13655
13655
|
},
|
|
13656
13656
|
"campaign_id": {
|
|
@@ -13674,7 +13674,7 @@
|
|
|
13674
13674
|
"title": "Expires On",
|
|
13675
13675
|
"description": "Timestamp of batch expiration",
|
|
13676
13676
|
"examples": [
|
|
13677
|
-
"2025-10-
|
|
13677
|
+
"2025-10-22T00:00:00Z"
|
|
13678
13678
|
]
|
|
13679
13679
|
},
|
|
13680
13680
|
"paused": {
|
|
@@ -13727,7 +13727,7 @@
|
|
|
13727
13727
|
"title": "Created At",
|
|
13728
13728
|
"description": "Timestamp of batch creation",
|
|
13729
13729
|
"examples": [
|
|
13730
|
-
"2025-10-
|
|
13730
|
+
"2025-10-21T00:00:00Z"
|
|
13731
13731
|
]
|
|
13732
13732
|
},
|
|
13733
13733
|
"deleted_at": {
|
|
@@ -13743,7 +13743,7 @@
|
|
|
13743
13743
|
"title": "Deleted At",
|
|
13744
13744
|
"description": "Timestamp of batch deletion",
|
|
13745
13745
|
"examples": [
|
|
13746
|
-
"2025-10-
|
|
13746
|
+
"2025-10-21T00:00:00Z"
|
|
13747
13747
|
]
|
|
13748
13748
|
},
|
|
13749
13749
|
"deleted_reason": {
|
|
@@ -13774,7 +13774,7 @@
|
|
|
13774
13774
|
"title": "Last Updated At",
|
|
13775
13775
|
"description": "Timestamp of last change to batch",
|
|
13776
13776
|
"examples": [
|
|
13777
|
-
"2025-10-
|
|
13777
|
+
"2025-10-21T00:00:00Z"
|
|
13778
13778
|
]
|
|
13779
13779
|
},
|
|
13780
13780
|
"last_updated_by": {
|
|
@@ -14530,7 +14530,7 @@
|
|
|
14530
14530
|
"title": "Batch Id",
|
|
14531
14531
|
"description": "Unique ID for conversation batch",
|
|
14532
14532
|
"examples": [
|
|
14533
|
-
"
|
|
14533
|
+
"20251021.9"
|
|
14534
14534
|
]
|
|
14535
14535
|
},
|
|
14536
14536
|
"campaign_id": {
|
|
@@ -14554,7 +14554,7 @@
|
|
|
14554
14554
|
"title": "Expires On",
|
|
14555
14555
|
"description": "Timestamp of batch expiration",
|
|
14556
14556
|
"examples": [
|
|
14557
|
-
"2025-10-
|
|
14557
|
+
"2025-10-22T00:00:00Z"
|
|
14558
14558
|
]
|
|
14559
14559
|
},
|
|
14560
14560
|
"paused": {
|
|
@@ -14607,7 +14607,7 @@
|
|
|
14607
14607
|
"title": "Created At",
|
|
14608
14608
|
"description": "Timestamp of batch creation",
|
|
14609
14609
|
"examples": [
|
|
14610
|
-
"2025-10-
|
|
14610
|
+
"2025-10-21T00:00:00Z"
|
|
14611
14611
|
]
|
|
14612
14612
|
},
|
|
14613
14613
|
"deleted_at": {
|
|
@@ -14623,7 +14623,7 @@
|
|
|
14623
14623
|
"title": "Deleted At",
|
|
14624
14624
|
"description": "Timestamp of batch deletion",
|
|
14625
14625
|
"examples": [
|
|
14626
|
-
"2025-10-
|
|
14626
|
+
"2025-10-21T00:00:00Z"
|
|
14627
14627
|
]
|
|
14628
14628
|
},
|
|
14629
14629
|
"deleted_reason": {
|
|
@@ -14654,7 +14654,7 @@
|
|
|
14654
14654
|
"title": "Last Updated At",
|
|
14655
14655
|
"description": "Timestamp of last change to batch",
|
|
14656
14656
|
"examples": [
|
|
14657
|
-
"2025-10-
|
|
14657
|
+
"2025-10-21T00:00:00Z"
|
|
14658
14658
|
]
|
|
14659
14659
|
},
|
|
14660
14660
|
"last_updated_by": {
|
|
@@ -14697,7 +14697,7 @@
|
|
|
14697
14697
|
"title": "Batch Id",
|
|
14698
14698
|
"description": "Unique ID for conversation batch",
|
|
14699
14699
|
"examples": [
|
|
14700
|
-
"
|
|
14700
|
+
"20251021.9"
|
|
14701
14701
|
]
|
|
14702
14702
|
},
|
|
14703
14703
|
"campaign_id": {
|
|
@@ -14721,7 +14721,7 @@
|
|
|
14721
14721
|
"title": "Expires On",
|
|
14722
14722
|
"description": "Timestamp of batch expiration",
|
|
14723
14723
|
"examples": [
|
|
14724
|
-
"2025-10-
|
|
14724
|
+
"2025-10-22T00:00:00Z"
|
|
14725
14725
|
]
|
|
14726
14726
|
},
|
|
14727
14727
|
"paused": {
|
|
@@ -14870,7 +14870,7 @@
|
|
|
14870
14870
|
"title": "Created At",
|
|
14871
14871
|
"description": "Timestamp of request creation",
|
|
14872
14872
|
"examples": [
|
|
14873
|
-
"2025-10-
|
|
14873
|
+
"2025-10-20T00:00:00Z"
|
|
14874
14874
|
]
|
|
14875
14875
|
},
|
|
14876
14876
|
"sent_at": {
|
|
@@ -14886,7 +14886,7 @@
|
|
|
14886
14886
|
"title": "Sent At",
|
|
14887
14887
|
"description": "Timestamp at which request was sent",
|
|
14888
14888
|
"examples": [
|
|
14889
|
-
"2025-10-
|
|
14889
|
+
"2025-10-21T00:00:00Z"
|
|
14890
14890
|
]
|
|
14891
14891
|
},
|
|
14892
14892
|
"attempt_count": {
|
|
@@ -16827,7 +16827,7 @@
|
|
|
16827
16827
|
"title": "Created At",
|
|
16828
16828
|
"description": "Timestamp at which insight upload folder was created",
|
|
16829
16829
|
"examples": [
|
|
16830
|
-
"2025-10-
|
|
16830
|
+
"2025-10-20T00:00:00Z"
|
|
16831
16831
|
]
|
|
16832
16832
|
},
|
|
16833
16833
|
"updated_at": {
|
|
@@ -16836,7 +16836,7 @@
|
|
|
16836
16836
|
"title": "Updated At",
|
|
16837
16837
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16838
16838
|
"examples": [
|
|
16839
|
-
"2025-10-
|
|
16839
|
+
"2025-10-21T00:00:00Z"
|
|
16840
16840
|
]
|
|
16841
16841
|
},
|
|
16842
16842
|
"last_updated_by": {
|
|
@@ -17522,7 +17522,7 @@
|
|
|
17522
17522
|
"title": "Created At",
|
|
17523
17523
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
17524
17524
|
"examples": [
|
|
17525
|
-
"2025-10-
|
|
17525
|
+
"2025-10-20T00:00:00Z"
|
|
17526
17526
|
]
|
|
17527
17527
|
},
|
|
17528
17528
|
"updated_at": {
|
|
@@ -17531,7 +17531,7 @@
|
|
|
17531
17531
|
"title": "Updated At",
|
|
17532
17532
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
17533
17533
|
"examples": [
|
|
17534
|
-
"2025-10-
|
|
17534
|
+
"2025-10-21T00:00:00Z"
|
|
17535
17535
|
]
|
|
17536
17536
|
},
|
|
17537
17537
|
"last_updated_by": {
|
|
@@ -17912,7 +17912,7 @@
|
|
|
17912
17912
|
"title": "Start Datetime",
|
|
17913
17913
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17914
17914
|
"examples": [
|
|
17915
|
-
"2025-10-
|
|
17915
|
+
"2025-10-20T00:00:00Z"
|
|
17916
17916
|
]
|
|
17917
17917
|
},
|
|
17918
17918
|
"end_datetime": {
|
|
@@ -17928,7 +17928,7 @@
|
|
|
17928
17928
|
"title": "End Datetime",
|
|
17929
17929
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17930
17930
|
"examples": [
|
|
17931
|
-
"2025-10-
|
|
17931
|
+
"2025-10-21T00:00:00Z"
|
|
17932
17932
|
]
|
|
17933
17933
|
}
|
|
17934
17934
|
},
|
|
@@ -18003,7 +18003,7 @@
|
|
|
18003
18003
|
"title": "Start Datetime",
|
|
18004
18004
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
18005
18005
|
"examples": [
|
|
18006
|
-
"2025-10-
|
|
18006
|
+
"2025-10-20T00:00:00Z"
|
|
18007
18007
|
]
|
|
18008
18008
|
},
|
|
18009
18009
|
"end_datetime": {
|
|
@@ -18019,7 +18019,7 @@
|
|
|
18019
18019
|
"title": "End Datetime",
|
|
18020
18020
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
18021
18021
|
"examples": [
|
|
18022
|
-
"2025-10-
|
|
18022
|
+
"2025-10-21T00:00:00Z"
|
|
18023
18023
|
]
|
|
18024
18024
|
},
|
|
18025
18025
|
"id": {
|
|
@@ -18072,7 +18072,7 @@
|
|
|
18072
18072
|
"title": "Created At",
|
|
18073
18073
|
"description": "Timestamp at which the insight workflow was created",
|
|
18074
18074
|
"examples": [
|
|
18075
|
-
"2025-10-
|
|
18075
|
+
"2025-10-20T00:00:00Z"
|
|
18076
18076
|
]
|
|
18077
18077
|
},
|
|
18078
18078
|
"updated_at": {
|
|
@@ -18081,7 +18081,7 @@
|
|
|
18081
18081
|
"title": "Updated At",
|
|
18082
18082
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
18083
18083
|
"examples": [
|
|
18084
|
-
"2025-10-
|
|
18084
|
+
"2025-10-21T00:00:00Z"
|
|
18085
18085
|
]
|
|
18086
18086
|
},
|
|
18087
18087
|
"last_updated_by": {
|
|
@@ -18177,7 +18177,7 @@
|
|
|
18177
18177
|
"title": "Created At",
|
|
18178
18178
|
"description": "Timestamp at which insight upload folder was created",
|
|
18179
18179
|
"examples": [
|
|
18180
|
-
"2025-10-
|
|
18180
|
+
"2025-10-20T00:00:00Z"
|
|
18181
18181
|
]
|
|
18182
18182
|
},
|
|
18183
18183
|
"updated_at": {
|
|
@@ -18186,7 +18186,7 @@
|
|
|
18186
18186
|
"title": "Updated At",
|
|
18187
18187
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18188
18188
|
"examples": [
|
|
18189
|
-
"2025-10-
|
|
18189
|
+
"2025-10-21T00:00:00Z"
|
|
18190
18190
|
]
|
|
18191
18191
|
},
|
|
18192
18192
|
"last_updated_by": {
|
|
@@ -18421,7 +18421,7 @@
|
|
|
18421
18421
|
"title": "Created At",
|
|
18422
18422
|
"description": "Timestamp at which insight tool result was created",
|
|
18423
18423
|
"examples": [
|
|
18424
|
-
"2025-10-
|
|
18424
|
+
"2025-10-20T00:00:00Z"
|
|
18425
18425
|
]
|
|
18426
18426
|
},
|
|
18427
18427
|
"updated_at": {
|
|
@@ -18430,7 +18430,7 @@
|
|
|
18430
18430
|
"title": "Updated At",
|
|
18431
18431
|
"description": "Timestamp at which insight tool result was last updated",
|
|
18432
18432
|
"examples": [
|
|
18433
|
-
"2025-10-
|
|
18433
|
+
"2025-10-21T00:00:00Z"
|
|
18434
18434
|
]
|
|
18435
18435
|
},
|
|
18436
18436
|
"upload_file_metadata": {
|
|
@@ -18575,7 +18575,7 @@
|
|
|
18575
18575
|
"title": "Start Time",
|
|
18576
18576
|
"description": "Start time of the uploaded file",
|
|
18577
18577
|
"examples": [
|
|
18578
|
-
"2025-10-
|
|
18578
|
+
"2025-10-20T00:00:00Z"
|
|
18579
18579
|
]
|
|
18580
18580
|
},
|
|
18581
18581
|
"end_time": {
|
|
@@ -18591,7 +18591,7 @@
|
|
|
18591
18591
|
"title": "End Time",
|
|
18592
18592
|
"description": "End time of the uploaded file",
|
|
18593
18593
|
"examples": [
|
|
18594
|
-
"2025-10-
|
|
18594
|
+
"2025-10-21T00:00:00Z"
|
|
18595
18595
|
]
|
|
18596
18596
|
},
|
|
18597
18597
|
"error_message": {
|
|
@@ -18646,7 +18646,7 @@
|
|
|
18646
18646
|
"title": "Created At",
|
|
18647
18647
|
"description": "Timestamp at which insight upload file was created",
|
|
18648
18648
|
"examples": [
|
|
18649
|
-
"2025-10-
|
|
18649
|
+
"2025-10-20T00:00:00Z"
|
|
18650
18650
|
]
|
|
18651
18651
|
}
|
|
18652
18652
|
},
|
|
@@ -21816,7 +21816,7 @@
|
|
|
21816
21816
|
"title": "Created At",
|
|
21817
21817
|
"description": "Timestamp of campaign creation",
|
|
21818
21818
|
"examples": [
|
|
21819
|
-
"2025-10-
|
|
21819
|
+
"2025-10-21T00:00:00Z"
|
|
21820
21820
|
]
|
|
21821
21821
|
},
|
|
21822
21822
|
"updated_at": {
|
|
@@ -21825,7 +21825,7 @@
|
|
|
21825
21825
|
"title": "Updated At",
|
|
21826
21826
|
"description": "Timestamp of campaign update",
|
|
21827
21827
|
"examples": [
|
|
21828
|
-
"2025-10-
|
|
21828
|
+
"2025-10-21T00:00:00Z"
|
|
21829
21829
|
]
|
|
21830
21830
|
},
|
|
21831
21831
|
"last_updated_by": {
|
package/package.json
CHANGED
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.5-rc.
|
|
64
|
+
sdkVersion: "1.0.5-rc.2",
|
|
65
65
|
genVersion: "2.727.9",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.5-rc.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.5-rc.2 2.727.9 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED