syllable-sdk 1.0.2-rc.4 → 1.0.2-rc.5
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 +20 -11
- package/bin/mcp-server.js.map +8 -8
- package/docs/sdks/campaigns/README.md +24 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/campaignproperties.d.ts +3 -0
- package/models/components/campaignproperties.d.ts.map +1 -1
- package/models/components/campaignproperties.js +1 -0
- package/models/components/campaignproperties.js.map +1 -1
- package/models/components/outboundcampaign.d.ts +9 -0
- package/models/components/outboundcampaign.d.ts.map +1 -1
- package/models/components/outboundcampaign.js +4 -0
- package/models/components/outboundcampaign.js.map +1 -1
- package/models/components/outboundcampaigninput.d.ts +9 -0
- package/models/components/outboundcampaigninput.d.ts.map +1 -1
- package/models/components/outboundcampaigninput.js +4 -0
- package/models/components/outboundcampaigninput.js.map +1 -1
- package/openapi.json +60 -1
- package/package.json +1 -1
- 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/campaignproperties.ts +1 -0
- package/src/models/components/outboundcampaign.ts +9 -0
- package/src/models/components/outboundcampaigninput.ts +9 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
|
|
|
34414
34414
|
SDK_METADATA = {
|
|
34415
34415
|
language: "typescript",
|
|
34416
34416
|
openapiDocVersion: "0.0.2",
|
|
34417
|
-
sdkVersion: "1.0.2-rc.
|
|
34418
|
-
genVersion: "2.723.
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
34417
|
+
sdkVersion: "1.0.2-rc.5",
|
|
34418
|
+
genVersion: "2.723.11",
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.5 2.723.11 0.0.2 syllable-sdk"
|
|
34420
34420
|
};
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
@@ -38002,7 +38002,8 @@ var init_campaignproperties = __esm(() => {
|
|
|
38002
38002
|
CallerId: "caller_id",
|
|
38003
38003
|
UpdatedAt: "updated_at",
|
|
38004
38004
|
Label: "label",
|
|
38005
|
-
Labels: "labels"
|
|
38005
|
+
Labels: "labels",
|
|
38006
|
+
VoicemailDetection: "voicemail_detection"
|
|
38006
38007
|
};
|
|
38007
38008
|
CampaignProperties$inboundSchema = nativeEnumType(CampaignProperties);
|
|
38008
38009
|
CampaignProperties$outboundSchema = CampaignProperties$inboundSchema;
|
|
@@ -41229,6 +41230,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41229
41230
|
retry_count: numberType().int().default(0),
|
|
41230
41231
|
retry_interval: nullableType(stringType()).optional(),
|
|
41231
41232
|
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
41233
|
+
voicemail_detection: nullableType(recordType(numberType())).optional(),
|
|
41232
41234
|
id: numberType().int(),
|
|
41233
41235
|
agent_id: nullableType(numberType().int()).optional(),
|
|
41234
41236
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
@@ -41246,6 +41248,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41246
41248
|
retry_count: "retryCount",
|
|
41247
41249
|
retry_interval: "retryInterval",
|
|
41248
41250
|
active_days: "activeDays",
|
|
41251
|
+
voicemail_detection: "voicemailDetection",
|
|
41249
41252
|
agent_id: "agentId",
|
|
41250
41253
|
created_at: "createdAt",
|
|
41251
41254
|
updated_at: "updatedAt",
|
|
@@ -41268,6 +41271,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41268
41271
|
retryCount: numberType().int().default(0),
|
|
41269
41272
|
retryInterval: nullableType(stringType()).optional(),
|
|
41270
41273
|
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
41274
|
+
voicemailDetection: nullableType(recordType(numberType())).optional(),
|
|
41271
41275
|
id: numberType().int(),
|
|
41272
41276
|
agentId: nullableType(numberType().int()).optional(),
|
|
41273
41277
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -41285,6 +41289,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41285
41289
|
retryCount: "retry_count",
|
|
41286
41290
|
retryInterval: "retry_interval",
|
|
41287
41291
|
activeDays: "active_days",
|
|
41292
|
+
voicemailDetection: "voicemail_detection",
|
|
41288
41293
|
agentId: "agent_id",
|
|
41289
41294
|
createdAt: "created_at",
|
|
41290
41295
|
updatedAt: "updated_at",
|
|
@@ -42166,7 +42171,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42166
42171
|
hourly_rate: numberType().int().default(1),
|
|
42167
42172
|
retry_count: numberType().int().default(0),
|
|
42168
42173
|
retry_interval: nullableType(stringType()).optional(),
|
|
42169
|
-
active_days: arrayType(DaysOfWeek$inboundSchema)
|
|
42174
|
+
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
42175
|
+
voicemail_detection: nullableType(recordType(numberType())).optional()
|
|
42170
42176
|
}).transform((v2) => {
|
|
42171
42177
|
return remap(v2, {
|
|
42172
42178
|
campaign_name: "campaignName",
|
|
@@ -42178,7 +42184,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42178
42184
|
hourly_rate: "hourlyRate",
|
|
42179
42185
|
retry_count: "retryCount",
|
|
42180
42186
|
retry_interval: "retryInterval",
|
|
42181
|
-
active_days: "activeDays"
|
|
42187
|
+
active_days: "activeDays",
|
|
42188
|
+
voicemail_detection: "voicemailDetection"
|
|
42182
42189
|
});
|
|
42183
42190
|
});
|
|
42184
42191
|
OutboundCampaignInput$outboundSchema = objectType({
|
|
@@ -42196,7 +42203,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42196
42203
|
hourlyRate: numberType().int().default(1),
|
|
42197
42204
|
retryCount: numberType().int().default(0),
|
|
42198
42205
|
retryInterval: nullableType(stringType()).optional(),
|
|
42199
|
-
activeDays: arrayType(DaysOfWeek$outboundSchema)
|
|
42206
|
+
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
42207
|
+
voicemailDetection: nullableType(recordType(numberType())).optional()
|
|
42200
42208
|
}).transform((v2) => {
|
|
42201
42209
|
return remap(v2, {
|
|
42202
42210
|
campaignName: "campaign_name",
|
|
@@ -42208,7 +42216,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42208
42216
|
hourlyRate: "hourly_rate",
|
|
42209
42217
|
retryCount: "retry_count",
|
|
42210
42218
|
retryInterval: "retry_interval",
|
|
42211
|
-
activeDays: "active_days"
|
|
42219
|
+
activeDays: "active_days",
|
|
42220
|
+
voicemailDetection: "voicemail_detection"
|
|
42212
42221
|
});
|
|
42213
42222
|
});
|
|
42214
42223
|
((OutboundCampaignInput$) => {
|
|
@@ -62955,7 +62964,7 @@ Send a welcome email to a user.`,
|
|
|
62955
62964
|
function createMCPServer(deps) {
|
|
62956
62965
|
const server = new McpServer({
|
|
62957
62966
|
name: "SyllableSDK",
|
|
62958
|
-
version: "1.0.2-rc.
|
|
62967
|
+
version: "1.0.2-rc.5"
|
|
62959
62968
|
});
|
|
62960
62969
|
const client = new SyllableSDKCore({
|
|
62961
62970
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64461,7 +64470,7 @@ var routes = ln({
|
|
|
64461
64470
|
var app = _e(routes, {
|
|
64462
64471
|
name: "mcp",
|
|
64463
64472
|
versionInfo: {
|
|
64464
|
-
currentVersion: "1.0.2-rc.
|
|
64473
|
+
currentVersion: "1.0.2-rc.5"
|
|
64465
64474
|
}
|
|
64466
64475
|
});
|
|
64467
64476
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64469,5 +64478,5 @@ export {
|
|
|
64469
64478
|
app
|
|
64470
64479
|
};
|
|
64471
64480
|
|
|
64472
|
-
//# debugId=
|
|
64481
|
+
//# debugId=9F8FEAB7A70FA73564756E2164756E21
|
|
64473
64482
|
//# sourceMappingURL=mcp-server.js.map
|