syllable-sdk 1.0.2-rc.4 → 1.0.2-rc.6
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 +24 -23
- package/bin/mcp-server.js.map +11 -11
- package/docs/sdks/campaigns/README.md +24 -0
- package/docs/sdks/incidents/README.md +0 -8
- 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/incidentcreaterequest.d.ts +3 -1
- package/models/components/incidentcreaterequest.d.ts.map +1 -1
- package/models/components/incidentcreaterequest.js.map +1 -1
- package/models/components/incidentresponse.d.ts +3 -1
- package/models/components/incidentresponse.d.ts.map +1 -1
- package/models/components/incidentresponse.js.map +1 -1
- package/models/components/incidentupdaterequest.d.ts +3 -11
- package/models/components/incidentupdaterequest.d.ts.map +1 -1
- package/models/components/incidentupdaterequest.js +0 -8
- package/models/components/incidentupdaterequest.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 +66 -36
- 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/incidentcreaterequest.ts +3 -1
- package/src/models/components/incidentresponse.ts +3 -1
- package/src/models/components/incidentupdaterequest.ts +3 -23
- 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.6",
|
|
34418
|
+
genVersion: "2.723.11",
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.6 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;
|
|
@@ -39480,9 +39481,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39480
39481
|
organization_id: nullableType(numberType().int()).optional(),
|
|
39481
39482
|
sub_organization_id: nullableType(numberType().int()).optional(),
|
|
39482
39483
|
sub_organization: nullableType(stringType()).optional(),
|
|
39483
|
-
id: numberType().int()
|
|
39484
|
-
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
39485
|
-
updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
|
|
39484
|
+
id: numberType().int()
|
|
39486
39485
|
}).transform((v2) => {
|
|
39487
39486
|
return remap(v2, {
|
|
39488
39487
|
start_datetime: "startDatetime",
|
|
@@ -39491,9 +39490,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39491
39490
|
sessions_impacted: "sessionsImpacted",
|
|
39492
39491
|
organization_id: "organizationId",
|
|
39493
39492
|
sub_organization_id: "subOrganizationId",
|
|
39494
|
-
sub_organization: "subOrganization"
|
|
39495
|
-
created_at: "createdAt",
|
|
39496
|
-
updated_at: "updatedAt"
|
|
39493
|
+
sub_organization: "subOrganization"
|
|
39497
39494
|
});
|
|
39498
39495
|
});
|
|
39499
39496
|
IncidentUpdateRequest$outboundSchema = objectType({
|
|
@@ -39506,9 +39503,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39506
39503
|
organizationId: nullableType(numberType().int()).optional(),
|
|
39507
39504
|
subOrganizationId: nullableType(numberType().int()).optional(),
|
|
39508
39505
|
subOrganization: nullableType(stringType()).optional(),
|
|
39509
|
-
id: numberType().int()
|
|
39510
|
-
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
39511
|
-
updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
39506
|
+
id: numberType().int()
|
|
39512
39507
|
}).transform((v2) => {
|
|
39513
39508
|
return remap(v2, {
|
|
39514
39509
|
startDatetime: "start_datetime",
|
|
@@ -39517,9 +39512,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39517
39512
|
sessionsImpacted: "sessions_impacted",
|
|
39518
39513
|
organizationId: "organization_id",
|
|
39519
39514
|
subOrganizationId: "sub_organization_id",
|
|
39520
|
-
subOrganization: "sub_organization"
|
|
39521
|
-
createdAt: "created_at",
|
|
39522
|
-
updatedAt: "updated_at"
|
|
39515
|
+
subOrganization: "sub_organization"
|
|
39523
39516
|
});
|
|
39524
39517
|
});
|
|
39525
39518
|
((IncidentUpdateRequest$) => {
|
|
@@ -41229,6 +41222,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41229
41222
|
retry_count: numberType().int().default(0),
|
|
41230
41223
|
retry_interval: nullableType(stringType()).optional(),
|
|
41231
41224
|
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
41225
|
+
voicemail_detection: nullableType(recordType(numberType())).optional(),
|
|
41232
41226
|
id: numberType().int(),
|
|
41233
41227
|
agent_id: nullableType(numberType().int()).optional(),
|
|
41234
41228
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
@@ -41246,6 +41240,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41246
41240
|
retry_count: "retryCount",
|
|
41247
41241
|
retry_interval: "retryInterval",
|
|
41248
41242
|
active_days: "activeDays",
|
|
41243
|
+
voicemail_detection: "voicemailDetection",
|
|
41249
41244
|
agent_id: "agentId",
|
|
41250
41245
|
created_at: "createdAt",
|
|
41251
41246
|
updated_at: "updatedAt",
|
|
@@ -41268,6 +41263,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41268
41263
|
retryCount: numberType().int().default(0),
|
|
41269
41264
|
retryInterval: nullableType(stringType()).optional(),
|
|
41270
41265
|
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
41266
|
+
voicemailDetection: nullableType(recordType(numberType())).optional(),
|
|
41271
41267
|
id: numberType().int(),
|
|
41272
41268
|
agentId: nullableType(numberType().int()).optional(),
|
|
41273
41269
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -41285,6 +41281,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41285
41281
|
retryCount: "retry_count",
|
|
41286
41282
|
retryInterval: "retry_interval",
|
|
41287
41283
|
activeDays: "active_days",
|
|
41284
|
+
voicemailDetection: "voicemail_detection",
|
|
41288
41285
|
agentId: "agent_id",
|
|
41289
41286
|
createdAt: "created_at",
|
|
41290
41287
|
updatedAt: "updated_at",
|
|
@@ -42166,7 +42163,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42166
42163
|
hourly_rate: numberType().int().default(1),
|
|
42167
42164
|
retry_count: numberType().int().default(0),
|
|
42168
42165
|
retry_interval: nullableType(stringType()).optional(),
|
|
42169
|
-
active_days: arrayType(DaysOfWeek$inboundSchema)
|
|
42166
|
+
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
42167
|
+
voicemail_detection: nullableType(recordType(numberType())).optional()
|
|
42170
42168
|
}).transform((v2) => {
|
|
42171
42169
|
return remap(v2, {
|
|
42172
42170
|
campaign_name: "campaignName",
|
|
@@ -42178,7 +42176,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42178
42176
|
hourly_rate: "hourlyRate",
|
|
42179
42177
|
retry_count: "retryCount",
|
|
42180
42178
|
retry_interval: "retryInterval",
|
|
42181
|
-
active_days: "activeDays"
|
|
42179
|
+
active_days: "activeDays",
|
|
42180
|
+
voicemail_detection: "voicemailDetection"
|
|
42182
42181
|
});
|
|
42183
42182
|
});
|
|
42184
42183
|
OutboundCampaignInput$outboundSchema = objectType({
|
|
@@ -42196,7 +42195,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42196
42195
|
hourlyRate: numberType().int().default(1),
|
|
42197
42196
|
retryCount: numberType().int().default(0),
|
|
42198
42197
|
retryInterval: nullableType(stringType()).optional(),
|
|
42199
|
-
activeDays: arrayType(DaysOfWeek$outboundSchema)
|
|
42198
|
+
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
42199
|
+
voicemailDetection: nullableType(recordType(numberType())).optional()
|
|
42200
42200
|
}).transform((v2) => {
|
|
42201
42201
|
return remap(v2, {
|
|
42202
42202
|
campaignName: "campaign_name",
|
|
@@ -42208,7 +42208,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42208
42208
|
hourlyRate: "hourly_rate",
|
|
42209
42209
|
retryCount: "retry_count",
|
|
42210
42210
|
retryInterval: "retry_interval",
|
|
42211
|
-
activeDays: "active_days"
|
|
42211
|
+
activeDays: "active_days",
|
|
42212
|
+
voicemailDetection: "voicemail_detection"
|
|
42212
42213
|
});
|
|
42213
42214
|
});
|
|
42214
42215
|
((OutboundCampaignInput$) => {
|
|
@@ -62955,7 +62956,7 @@ Send a welcome email to a user.`,
|
|
|
62955
62956
|
function createMCPServer(deps) {
|
|
62956
62957
|
const server = new McpServer({
|
|
62957
62958
|
name: "SyllableSDK",
|
|
62958
|
-
version: "1.0.2-rc.
|
|
62959
|
+
version: "1.0.2-rc.6"
|
|
62959
62960
|
});
|
|
62960
62961
|
const client = new SyllableSDKCore({
|
|
62961
62962
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64461,7 +64462,7 @@ var routes = ln({
|
|
|
64461
64462
|
var app = _e(routes, {
|
|
64462
64463
|
name: "mcp",
|
|
64463
64464
|
versionInfo: {
|
|
64464
|
-
currentVersion: "1.0.2-rc.
|
|
64465
|
+
currentVersion: "1.0.2-rc.6"
|
|
64465
64466
|
}
|
|
64466
64467
|
});
|
|
64467
64468
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64469,5 +64470,5 @@ export {
|
|
|
64469
64470
|
app
|
|
64470
64471
|
};
|
|
64471
64472
|
|
|
64472
|
-
//# debugId=
|
|
64473
|
+
//# debugId=BD5D3E909EF5EBBE64756E2164756E21
|
|
64473
64474
|
//# sourceMappingURL=mcp-server.js.map
|