syllable-sdk 1.0.2-rc.2 → 1.0.2-rc.3
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: "20251009.9",
|
|
127
127
|
campaignId: 1,
|
|
128
|
-
expiresOn: new Date("2025-10-
|
|
128
|
+
expiresOn: new Date("2025-10-10T00: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: "20251009.9",
|
|
155
155
|
campaignId: 1,
|
|
156
|
-
expiresOn: new Date("2025-10-
|
|
156
|
+
expiresOn: new Date("2025-10-10T00: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-08T00:00:00Z"),
|
|
152
|
+
endDatetime: new Date("2025-10-09T00: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-08T00:00:00Z"),
|
|
204
|
+
endDatetime: new Date("2025-10-09T00: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-08T00:00:00Z"),
|
|
356
|
+
endDatetime: new Date("2025-10-09T00: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-08T00:00:00Z"),
|
|
411
|
+
endDatetime: new Date("2025-10-09T00: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.2-rc.
|
|
34
|
+
readonly sdkVersion: "1.0.2-rc.3";
|
|
35
35
|
readonly genVersion: "2.723.8";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.2-rc.3 2.723.8 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.2-rc.
|
|
34
|
+
sdkVersion: "1.0.2-rc.3",
|
|
35
35
|
genVersion: "2.723.8",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.3 2.723.8 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.2-rc.
|
|
25
|
+
currentVersion: "1.0.2-rc.3",
|
|
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
|
@@ -157,7 +157,7 @@ const usersUsersSendEmail_js_1 = require("./tools/usersUsersSendEmail.js");
|
|
|
157
157
|
function createMCPServer(deps) {
|
|
158
158
|
const server = new mcp_js_1.McpServer({
|
|
159
159
|
name: "SyllableSDK",
|
|
160
|
-
version: "1.0.2-rc.
|
|
160
|
+
version: "1.0.2-rc.3",
|
|
161
161
|
});
|
|
162
162
|
const client = new core_js_1.SyllableSDKCore({
|
|
163
163
|
apiKeyHeader: deps.apiKeyHeader,
|
package/openapi.json
CHANGED
|
@@ -13172,7 +13172,7 @@
|
|
|
13172
13172
|
"title": "Batch Id",
|
|
13173
13173
|
"description": "Unique ID for conversation batch",
|
|
13174
13174
|
"examples": [
|
|
13175
|
-
"
|
|
13175
|
+
"20251009.9"
|
|
13176
13176
|
]
|
|
13177
13177
|
},
|
|
13178
13178
|
"campaign_id": {
|
|
@@ -13196,7 +13196,7 @@
|
|
|
13196
13196
|
"title": "Expires On",
|
|
13197
13197
|
"description": "Timestamp of batch expiration",
|
|
13198
13198
|
"examples": [
|
|
13199
|
-
"2025-10-
|
|
13199
|
+
"2025-10-10T00:00:00Z"
|
|
13200
13200
|
]
|
|
13201
13201
|
},
|
|
13202
13202
|
"paused": {
|
|
@@ -13249,7 +13249,7 @@
|
|
|
13249
13249
|
"title": "Created At",
|
|
13250
13250
|
"description": "Timestamp of batch creation",
|
|
13251
13251
|
"examples": [
|
|
13252
|
-
"2025-10-
|
|
13252
|
+
"2025-10-09T00:00:00Z"
|
|
13253
13253
|
]
|
|
13254
13254
|
},
|
|
13255
13255
|
"deleted_at": {
|
|
@@ -13265,7 +13265,7 @@
|
|
|
13265
13265
|
"title": "Deleted At",
|
|
13266
13266
|
"description": "Timestamp of batch deletion",
|
|
13267
13267
|
"examples": [
|
|
13268
|
-
"2025-10-
|
|
13268
|
+
"2025-10-09T00:00:00Z"
|
|
13269
13269
|
]
|
|
13270
13270
|
},
|
|
13271
13271
|
"deleted_reason": {
|
|
@@ -13296,7 +13296,7 @@
|
|
|
13296
13296
|
"title": "Last Updated At",
|
|
13297
13297
|
"description": "Timestamp of last change to batch",
|
|
13298
13298
|
"examples": [
|
|
13299
|
-
"2025-10-
|
|
13299
|
+
"2025-10-09T00:00:00Z"
|
|
13300
13300
|
]
|
|
13301
13301
|
},
|
|
13302
13302
|
"last_updated_by": {
|
|
@@ -14050,7 +14050,7 @@
|
|
|
14050
14050
|
"title": "Batch Id",
|
|
14051
14051
|
"description": "Unique ID for conversation batch",
|
|
14052
14052
|
"examples": [
|
|
14053
|
-
"
|
|
14053
|
+
"20251009.9"
|
|
14054
14054
|
]
|
|
14055
14055
|
},
|
|
14056
14056
|
"campaign_id": {
|
|
@@ -14074,7 +14074,7 @@
|
|
|
14074
14074
|
"title": "Expires On",
|
|
14075
14075
|
"description": "Timestamp of batch expiration",
|
|
14076
14076
|
"examples": [
|
|
14077
|
-
"2025-10-
|
|
14077
|
+
"2025-10-10T00:00:00Z"
|
|
14078
14078
|
]
|
|
14079
14079
|
},
|
|
14080
14080
|
"paused": {
|
|
@@ -14127,7 +14127,7 @@
|
|
|
14127
14127
|
"title": "Created At",
|
|
14128
14128
|
"description": "Timestamp of batch creation",
|
|
14129
14129
|
"examples": [
|
|
14130
|
-
"2025-10-
|
|
14130
|
+
"2025-10-09T00:00:00Z"
|
|
14131
14131
|
]
|
|
14132
14132
|
},
|
|
14133
14133
|
"deleted_at": {
|
|
@@ -14143,7 +14143,7 @@
|
|
|
14143
14143
|
"title": "Deleted At",
|
|
14144
14144
|
"description": "Timestamp of batch deletion",
|
|
14145
14145
|
"examples": [
|
|
14146
|
-
"2025-10-
|
|
14146
|
+
"2025-10-09T00:00:00Z"
|
|
14147
14147
|
]
|
|
14148
14148
|
},
|
|
14149
14149
|
"deleted_reason": {
|
|
@@ -14174,7 +14174,7 @@
|
|
|
14174
14174
|
"title": "Last Updated At",
|
|
14175
14175
|
"description": "Timestamp of last change to batch",
|
|
14176
14176
|
"examples": [
|
|
14177
|
-
"2025-10-
|
|
14177
|
+
"2025-10-09T00:00:00Z"
|
|
14178
14178
|
]
|
|
14179
14179
|
},
|
|
14180
14180
|
"last_updated_by": {
|
|
@@ -14217,7 +14217,7 @@
|
|
|
14217
14217
|
"title": "Batch Id",
|
|
14218
14218
|
"description": "Unique ID for conversation batch",
|
|
14219
14219
|
"examples": [
|
|
14220
|
-
"
|
|
14220
|
+
"20251009.9"
|
|
14221
14221
|
]
|
|
14222
14222
|
},
|
|
14223
14223
|
"campaign_id": {
|
|
@@ -14241,7 +14241,7 @@
|
|
|
14241
14241
|
"title": "Expires On",
|
|
14242
14242
|
"description": "Timestamp of batch expiration",
|
|
14243
14243
|
"examples": [
|
|
14244
|
-
"2025-10-
|
|
14244
|
+
"2025-10-10T00:00:00Z"
|
|
14245
14245
|
]
|
|
14246
14246
|
},
|
|
14247
14247
|
"paused": {
|
|
@@ -14390,7 +14390,7 @@
|
|
|
14390
14390
|
"title": "Created At",
|
|
14391
14391
|
"description": "Timestamp of request creation",
|
|
14392
14392
|
"examples": [
|
|
14393
|
-
"2025-10-
|
|
14393
|
+
"2025-10-08T00:00:00Z"
|
|
14394
14394
|
]
|
|
14395
14395
|
},
|
|
14396
14396
|
"sent_at": {
|
|
@@ -14406,7 +14406,7 @@
|
|
|
14406
14406
|
"title": "Sent At",
|
|
14407
14407
|
"description": "Timestamp at which request was sent",
|
|
14408
14408
|
"examples": [
|
|
14409
|
-
"2025-10-
|
|
14409
|
+
"2025-10-09T00:00:00Z"
|
|
14410
14410
|
]
|
|
14411
14411
|
},
|
|
14412
14412
|
"attempt_count": {
|
|
@@ -16353,7 +16353,7 @@
|
|
|
16353
16353
|
"title": "Created At",
|
|
16354
16354
|
"description": "Timestamp at which insight upload folder was created",
|
|
16355
16355
|
"examples": [
|
|
16356
|
-
"2025-10-
|
|
16356
|
+
"2025-10-08T00:00:00Z"
|
|
16357
16357
|
]
|
|
16358
16358
|
},
|
|
16359
16359
|
"updated_at": {
|
|
@@ -16362,7 +16362,7 @@
|
|
|
16362
16362
|
"title": "Updated At",
|
|
16363
16363
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16364
16364
|
"examples": [
|
|
16365
|
-
"2025-10-
|
|
16365
|
+
"2025-10-09T00:00:00Z"
|
|
16366
16366
|
]
|
|
16367
16367
|
},
|
|
16368
16368
|
"last_updated_by": {
|
|
@@ -17077,7 +17077,7 @@
|
|
|
17077
17077
|
"title": "Created At",
|
|
17078
17078
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
17079
17079
|
"examples": [
|
|
17080
|
-
"2025-10-
|
|
17080
|
+
"2025-10-08T00:00:00Z"
|
|
17081
17081
|
]
|
|
17082
17082
|
},
|
|
17083
17083
|
"updated_at": {
|
|
@@ -17086,7 +17086,7 @@
|
|
|
17086
17086
|
"title": "Updated At",
|
|
17087
17087
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
17088
17088
|
"examples": [
|
|
17089
|
-
"2025-10-
|
|
17089
|
+
"2025-10-09T00:00:00Z"
|
|
17090
17090
|
]
|
|
17091
17091
|
},
|
|
17092
17092
|
"last_updated_by": {
|
|
@@ -17467,7 +17467,7 @@
|
|
|
17467
17467
|
"title": "Start Datetime",
|
|
17468
17468
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17469
17469
|
"examples": [
|
|
17470
|
-
"2025-10-
|
|
17470
|
+
"2025-10-08T00:00:00Z"
|
|
17471
17471
|
]
|
|
17472
17472
|
},
|
|
17473
17473
|
"end_datetime": {
|
|
@@ -17483,7 +17483,7 @@
|
|
|
17483
17483
|
"title": "End Datetime",
|
|
17484
17484
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17485
17485
|
"examples": [
|
|
17486
|
-
"2025-10-
|
|
17486
|
+
"2025-10-09T00:00:00Z"
|
|
17487
17487
|
]
|
|
17488
17488
|
}
|
|
17489
17489
|
},
|
|
@@ -17558,7 +17558,7 @@
|
|
|
17558
17558
|
"title": "Start Datetime",
|
|
17559
17559
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17560
17560
|
"examples": [
|
|
17561
|
-
"2025-10-
|
|
17561
|
+
"2025-10-08T00:00:00Z"
|
|
17562
17562
|
]
|
|
17563
17563
|
},
|
|
17564
17564
|
"end_datetime": {
|
|
@@ -17574,7 +17574,7 @@
|
|
|
17574
17574
|
"title": "End Datetime",
|
|
17575
17575
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17576
17576
|
"examples": [
|
|
17577
|
-
"2025-10-
|
|
17577
|
+
"2025-10-09T00:00:00Z"
|
|
17578
17578
|
]
|
|
17579
17579
|
},
|
|
17580
17580
|
"id": {
|
|
@@ -17627,7 +17627,7 @@
|
|
|
17627
17627
|
"title": "Created At",
|
|
17628
17628
|
"description": "Timestamp at which the insight workflow was created",
|
|
17629
17629
|
"examples": [
|
|
17630
|
-
"2025-10-
|
|
17630
|
+
"2025-10-08T00:00:00Z"
|
|
17631
17631
|
]
|
|
17632
17632
|
},
|
|
17633
17633
|
"updated_at": {
|
|
@@ -17636,7 +17636,7 @@
|
|
|
17636
17636
|
"title": "Updated At",
|
|
17637
17637
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
17638
17638
|
"examples": [
|
|
17639
|
-
"2025-10-
|
|
17639
|
+
"2025-10-09T00:00:00Z"
|
|
17640
17640
|
]
|
|
17641
17641
|
},
|
|
17642
17642
|
"last_updated_by": {
|
|
@@ -17732,7 +17732,7 @@
|
|
|
17732
17732
|
"title": "Created At",
|
|
17733
17733
|
"description": "Timestamp at which insight upload folder was created",
|
|
17734
17734
|
"examples": [
|
|
17735
|
-
"2025-10-
|
|
17735
|
+
"2025-10-08T00:00:00Z"
|
|
17736
17736
|
]
|
|
17737
17737
|
},
|
|
17738
17738
|
"updated_at": {
|
|
@@ -17741,7 +17741,7 @@
|
|
|
17741
17741
|
"title": "Updated At",
|
|
17742
17742
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17743
17743
|
"examples": [
|
|
17744
|
-
"2025-10-
|
|
17744
|
+
"2025-10-09T00:00:00Z"
|
|
17745
17745
|
]
|
|
17746
17746
|
},
|
|
17747
17747
|
"last_updated_by": {
|
|
@@ -17976,7 +17976,7 @@
|
|
|
17976
17976
|
"title": "Created At",
|
|
17977
17977
|
"description": "Timestamp at which insight tool result was created",
|
|
17978
17978
|
"examples": [
|
|
17979
|
-
"2025-10-
|
|
17979
|
+
"2025-10-08T00:00:00Z"
|
|
17980
17980
|
]
|
|
17981
17981
|
},
|
|
17982
17982
|
"updated_at": {
|
|
@@ -17985,7 +17985,7 @@
|
|
|
17985
17985
|
"title": "Updated At",
|
|
17986
17986
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17987
17987
|
"examples": [
|
|
17988
|
-
"2025-10-
|
|
17988
|
+
"2025-10-09T00:00:00Z"
|
|
17989
17989
|
]
|
|
17990
17990
|
}
|
|
17991
17991
|
},
|
|
@@ -18120,7 +18120,7 @@
|
|
|
18120
18120
|
"title": "Start Time",
|
|
18121
18121
|
"description": "Start time of the uploaded file",
|
|
18122
18122
|
"examples": [
|
|
18123
|
-
"2025-10-
|
|
18123
|
+
"2025-10-08T00:00:00Z"
|
|
18124
18124
|
]
|
|
18125
18125
|
},
|
|
18126
18126
|
"end_time": {
|
|
@@ -18136,7 +18136,7 @@
|
|
|
18136
18136
|
"title": "End Time",
|
|
18137
18137
|
"description": "End time of the uploaded file",
|
|
18138
18138
|
"examples": [
|
|
18139
|
-
"2025-10-
|
|
18139
|
+
"2025-10-09T00:00:00Z"
|
|
18140
18140
|
]
|
|
18141
18141
|
},
|
|
18142
18142
|
"error_message": {
|
|
@@ -18191,7 +18191,7 @@
|
|
|
18191
18191
|
"title": "Created At",
|
|
18192
18192
|
"description": "Timestamp at which insight upload file was created",
|
|
18193
18193
|
"examples": [
|
|
18194
|
-
"2025-10-
|
|
18194
|
+
"2025-10-08T00:00:00Z"
|
|
18195
18195
|
]
|
|
18196
18196
|
}
|
|
18197
18197
|
},
|
|
@@ -21147,7 +21147,7 @@
|
|
|
21147
21147
|
"title": "Created At",
|
|
21148
21148
|
"description": "Timestamp of campaign creation",
|
|
21149
21149
|
"examples": [
|
|
21150
|
-
"2025-10-
|
|
21150
|
+
"2025-10-09T00:00:00Z"
|
|
21151
21151
|
]
|
|
21152
21152
|
},
|
|
21153
21153
|
"updated_at": {
|
|
@@ -21156,7 +21156,7 @@
|
|
|
21156
21156
|
"title": "Updated At",
|
|
21157
21157
|
"description": "Timestamp of campaign update",
|
|
21158
21158
|
"examples": [
|
|
21159
|
-
"2025-10-
|
|
21159
|
+
"2025-10-09T00:00:00Z"
|
|
21160
21160
|
]
|
|
21161
21161
|
},
|
|
21162
21162
|
"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.2-rc.
|
|
64
|
+
sdkVersion: "1.0.2-rc.3",
|
|
65
65
|
genVersion: "2.723.8",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.3 2.723.8 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED