syllable-sdk 1.0.3-rc.3 → 1.0.3-rc.4
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 +6 -6
- package/docs/sdks/campaigns/README.md +8 -12
- 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/models/components/outboundcampaign.d.ts +1 -1
- package/models/components/outboundcampaigninput.d.ts +1 -1
- package/openapi.json +10 -14
- 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
- package/src/models/components/outboundcampaign.ts +1 -1
- package/src/models/components/outboundcampaigninput.ts +1 -1
|
@@ -147,9 +147,8 @@ async function run() {
|
|
|
147
147
|
],
|
|
148
148
|
voicemailDetection: {
|
|
149
149
|
"voicemail_detection_overall_timeout": 30,
|
|
150
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
151
|
-
"voicemail_detection_pre_speech_timeout": 5,
|
|
152
|
-
"voicemail_detection_speech_threshold": 2.4,
|
|
150
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
151
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
153
152
|
},
|
|
154
153
|
});
|
|
155
154
|
|
|
@@ -203,9 +202,8 @@ async function run() {
|
|
|
203
202
|
],
|
|
204
203
|
voicemailDetection: {
|
|
205
204
|
"voicemail_detection_overall_timeout": 30,
|
|
206
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
207
|
-
"voicemail_detection_pre_speech_timeout": 5,
|
|
208
|
-
"voicemail_detection_speech_threshold": 2.4,
|
|
205
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
206
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
209
207
|
},
|
|
210
208
|
});
|
|
211
209
|
if (res.ok) {
|
|
@@ -359,9 +357,8 @@ async function run() {
|
|
|
359
357
|
],
|
|
360
358
|
voicemailDetection: {
|
|
361
359
|
"voicemail_detection_overall_timeout": 30,
|
|
362
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
363
|
-
"voicemail_detection_pre_speech_timeout": 5,
|
|
364
|
-
"voicemail_detection_speech_threshold": 2.4,
|
|
360
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
361
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
365
362
|
},
|
|
366
363
|
},
|
|
367
364
|
});
|
|
@@ -418,9 +415,8 @@ async function run() {
|
|
|
418
415
|
],
|
|
419
416
|
voicemailDetection: {
|
|
420
417
|
"voicemail_detection_overall_timeout": 30,
|
|
421
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
422
|
-
"voicemail_detection_pre_speech_timeout": 5,
|
|
423
|
-
"voicemail_detection_speech_threshold": 2.4,
|
|
418
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
419
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
424
420
|
},
|
|
425
421
|
},
|
|
426
422
|
});
|
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.3-rc.
|
|
34
|
+
readonly sdkVersion: "1.0.3-rc.4";
|
|
35
35
|
readonly genVersion: "2.723.11";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.0.3-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.3-rc.4 2.723.11 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.3-rc.
|
|
34
|
+
sdkVersion: "1.0.3-rc.4",
|
|
35
35
|
genVersion: "2.723.11",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.0.3-rc.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.0.3-rc.4 2.723.11 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.3-rc.
|
|
25
|
+
currentVersion: "1.0.3-rc.4",
|
|
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.3-rc.
|
|
160
|
+
version: "1.0.3-rc.4",
|
|
161
161
|
});
|
|
162
162
|
const client = new core_js_1.SyllableSDKCore({
|
|
163
163
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -68,7 +68,7 @@ export type OutboundCampaign = {
|
|
|
68
68
|
*/
|
|
69
69
|
activeDays: Array<DaysOfWeek>;
|
|
70
70
|
/**
|
|
71
|
-
* Config for voicemail detection for voice campaigns
|
|
71
|
+
* Config for voicemail detection for voice campaigns. Set to None to disable.
|
|
72
72
|
*/
|
|
73
73
|
voicemailDetection?: {
|
|
74
74
|
[k: string]: number;
|
|
@@ -68,7 +68,7 @@ export type OutboundCampaignInput = {
|
|
|
68
68
|
*/
|
|
69
69
|
activeDays: Array<DaysOfWeek>;
|
|
70
70
|
/**
|
|
71
|
-
* Config for voicemail detection for voice campaigns
|
|
71
|
+
* Config for voicemail detection for voice campaigns. Set to None to disable.
|
|
72
72
|
*/
|
|
73
73
|
voicemailDetection?: {
|
|
74
74
|
[k: string]: number;
|
package/openapi.json
CHANGED
|
@@ -21123,19 +21123,17 @@
|
|
|
21123
21123
|
}
|
|
21124
21124
|
],
|
|
21125
21125
|
"title": "Voicemail Detection",
|
|
21126
|
-
"description": "Config for voicemail detection for voice campaigns",
|
|
21126
|
+
"description": "Config for voicemail detection for voice campaigns. Set to None to disable.",
|
|
21127
21127
|
"default": {
|
|
21128
21128
|
"voicemail_detection_overall_timeout": 30.0,
|
|
21129
|
-
"
|
|
21130
|
-
"
|
|
21131
|
-
"voicemail_detection_post_speech_timeout": 1.2
|
|
21129
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
21130
|
+
"voicemail_detection_post_speech_timeout": 1.75
|
|
21132
21131
|
},
|
|
21133
21132
|
"examples": [
|
|
21134
21133
|
{
|
|
21135
21134
|
"voicemail_detection_overall_timeout": 30.0,
|
|
21136
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
21137
|
-
"voicemail_detection_pre_speech_timeout": 5
|
|
21138
|
-
"voicemail_detection_speech_threshold": 2.4
|
|
21135
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
21136
|
+
"voicemail_detection_pre_speech_timeout": 3.5
|
|
21139
21137
|
}
|
|
21140
21138
|
]
|
|
21141
21139
|
},
|
|
@@ -21428,19 +21426,17 @@
|
|
|
21428
21426
|
}
|
|
21429
21427
|
],
|
|
21430
21428
|
"title": "Voicemail Detection",
|
|
21431
|
-
"description": "Config for voicemail detection for voice campaigns",
|
|
21429
|
+
"description": "Config for voicemail detection for voice campaigns. Set to None to disable.",
|
|
21432
21430
|
"default": {
|
|
21433
21431
|
"voicemail_detection_overall_timeout": 30.0,
|
|
21434
|
-
"
|
|
21435
|
-
"
|
|
21436
|
-
"voicemail_detection_post_speech_timeout": 1.2
|
|
21432
|
+
"voicemail_detection_pre_speech_timeout": 3.5,
|
|
21433
|
+
"voicemail_detection_post_speech_timeout": 1.75
|
|
21437
21434
|
},
|
|
21438
21435
|
"examples": [
|
|
21439
21436
|
{
|
|
21440
21437
|
"voicemail_detection_overall_timeout": 30.0,
|
|
21441
|
-
"voicemail_detection_post_speech_timeout": 1.
|
|
21442
|
-
"voicemail_detection_pre_speech_timeout": 5
|
|
21443
|
-
"voicemail_detection_speech_threshold": 2.4
|
|
21438
|
+
"voicemail_detection_post_speech_timeout": 1.75,
|
|
21439
|
+
"voicemail_detection_pre_speech_timeout": 3.5
|
|
21444
21440
|
}
|
|
21445
21441
|
]
|
|
21446
21442
|
}
|
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.3-rc.
|
|
64
|
+
sdkVersion: "1.0.3-rc.4",
|
|
65
65
|
genVersion: "2.723.11",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.3-rc.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.3-rc.4 2.723.11 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -77,7 +77,7 @@ export type OutboundCampaign = {
|
|
|
77
77
|
*/
|
|
78
78
|
activeDays: Array<DaysOfWeek>;
|
|
79
79
|
/**
|
|
80
|
-
* Config for voicemail detection for voice campaigns
|
|
80
|
+
* Config for voicemail detection for voice campaigns. Set to None to disable.
|
|
81
81
|
*/
|
|
82
82
|
voicemailDetection?: { [k: string]: number } | null | undefined;
|
|
83
83
|
/**
|
|
@@ -77,7 +77,7 @@ export type OutboundCampaignInput = {
|
|
|
77
77
|
*/
|
|
78
78
|
activeDays: Array<DaysOfWeek>;
|
|
79
79
|
/**
|
|
80
|
-
* Config for voicemail detection for voice campaigns
|
|
80
|
+
* Config for voicemail detection for voice campaigns. Set to None to disable.
|
|
81
81
|
*/
|
|
82
82
|
voicemailDetection?: { [k: string]: number } | null | undefined;
|
|
83
83
|
};
|