syllable-sdk 1.0.2-rc.3 → 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 +62 -15
- package/bin/mcp-server.js.map +13 -12
- package/docs/sdks/campaigns/README.md +24 -0
- package/docs/sdks/pronunciations/README.md +4 -4
- package/examples/package-lock.json +1 -1
- package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +2 -1
- package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
- package/funcs/pronunciationsPronunciationsDownloadCsv.js +10 -3
- package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +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/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +2 -1
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +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/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/pronunciationsdownloadcsv.d.ts +35 -0
- package/models/operations/pronunciationsdownloadcsv.d.ts.map +1 -0
- package/models/operations/pronunciationsdownloadcsv.js +82 -0
- package/models/operations/pronunciationsdownloadcsv.js.map +1 -0
- package/openapi.json +76 -2
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +2 -1
- package/sdk/pronunciations.d.ts.map +1 -1
- package/sdk/pronunciations.js.map +1 -1
- package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +15 -7
- 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/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +3 -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/src/models/operations/index.ts +1 -0
- package/src/models/operations/pronunciationsdownloadcsv.ts +84 -0
- package/src/sdk/pronunciations.ts +2 -1
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$) => {
|
|
@@ -46772,6 +46781,35 @@ var init_promptslist = __esm(() => {
|
|
|
46772
46781
|
})(PromptsListRequest$ ||= {});
|
|
46773
46782
|
});
|
|
46774
46783
|
|
|
46784
|
+
// src/models/operations/pronunciationsdownloadcsv.ts
|
|
46785
|
+
var PronunciationsDownloadCsvResponse$inboundSchema, PronunciationsDownloadCsvResponse$outboundSchema, PronunciationsDownloadCsvResponse$;
|
|
46786
|
+
var init_pronunciationsdownloadcsv = __esm(() => {
|
|
46787
|
+
init_zod();
|
|
46788
|
+
init_primitives();
|
|
46789
|
+
PronunciationsDownloadCsvResponse$inboundSchema = objectType({
|
|
46790
|
+
Headers: recordType(arrayType(stringType())),
|
|
46791
|
+
Result: instanceOfType(ReadableStream)
|
|
46792
|
+
}).transform((v2) => {
|
|
46793
|
+
return remap(v2, {
|
|
46794
|
+
Headers: "headers",
|
|
46795
|
+
Result: "result"
|
|
46796
|
+
});
|
|
46797
|
+
});
|
|
46798
|
+
PronunciationsDownloadCsvResponse$outboundSchema = objectType({
|
|
46799
|
+
headers: recordType(arrayType(stringType())),
|
|
46800
|
+
result: instanceOfType(ReadableStream)
|
|
46801
|
+
}).transform((v2) => {
|
|
46802
|
+
return remap(v2, {
|
|
46803
|
+
headers: "Headers",
|
|
46804
|
+
result: "Result"
|
|
46805
|
+
});
|
|
46806
|
+
});
|
|
46807
|
+
((PronunciationsDownloadCsvResponse$) => {
|
|
46808
|
+
PronunciationsDownloadCsvResponse$.inboundSchema = PronunciationsDownloadCsvResponse$inboundSchema;
|
|
46809
|
+
PronunciationsDownloadCsvResponse$.outboundSchema = PronunciationsDownloadCsvResponse$outboundSchema;
|
|
46810
|
+
})(PronunciationsDownloadCsvResponse$ ||= {});
|
|
46811
|
+
});
|
|
46812
|
+
|
|
46775
46813
|
// src/models/operations/rolesdelete.ts
|
|
46776
46814
|
var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema, RolesDeleteRequest$;
|
|
46777
46815
|
var init_rolesdelete = __esm(() => {
|
|
@@ -47563,6 +47601,7 @@ var init_operations = __esm(() => {
|
|
|
47563
47601
|
init_promptsgetbyid();
|
|
47564
47602
|
init_promptshistory();
|
|
47565
47603
|
init_promptslist();
|
|
47604
|
+
init_pronunciationsdownloadcsv();
|
|
47566
47605
|
init_rolesdelete();
|
|
47567
47606
|
init_rolesgetbyid();
|
|
47568
47607
|
init_roleslist();
|
|
@@ -58503,7 +58542,7 @@ function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
|
58503
58542
|
async function $do104(client, options) {
|
|
58504
58543
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58505
58544
|
const headers = new Headers(compactMap({
|
|
58506
|
-
Accept: "
|
|
58545
|
+
Accept: "text/csv"
|
|
58507
58546
|
}));
|
|
58508
58547
|
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58509
58548
|
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
@@ -58541,18 +58580,25 @@ async function $do104(client, options) {
|
|
|
58541
58580
|
return [doResult, { status: "request-error", request: req }];
|
|
58542
58581
|
}
|
|
58543
58582
|
const response = doResult.value;
|
|
58544
|
-
const
|
|
58583
|
+
const responseFields = {
|
|
58584
|
+
HttpMeta: { Response: response, Request: req }
|
|
58585
|
+
};
|
|
58586
|
+
const [result] = await match(stream(200, PronunciationsDownloadCsvResponse$inboundSchema, {
|
|
58587
|
+
ctype: "text/csv",
|
|
58588
|
+
hdrs: true,
|
|
58589
|
+
key: "Result"
|
|
58590
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
58545
58591
|
if (!result.ok) {
|
|
58546
58592
|
return [result, { status: "complete", request: req, response }];
|
|
58547
58593
|
}
|
|
58548
58594
|
return [result, { status: "complete", request: req, response }];
|
|
58549
58595
|
}
|
|
58550
58596
|
var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
|
|
58551
|
-
init_zod();
|
|
58552
58597
|
init_matchers();
|
|
58553
58598
|
init_primitives();
|
|
58554
58599
|
init_security();
|
|
58555
58600
|
init_url();
|
|
58601
|
+
init_operations();
|
|
58556
58602
|
init_async();
|
|
58557
58603
|
});
|
|
58558
58604
|
|
|
@@ -58572,7 +58618,8 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
58572
58618
|
isError: true
|
|
58573
58619
|
};
|
|
58574
58620
|
}
|
|
58575
|
-
|
|
58621
|
+
const value = result.value.result;
|
|
58622
|
+
return formatResult(value, apiCall);
|
|
58576
58623
|
}
|
|
58577
58624
|
};
|
|
58578
58625
|
});
|
|
@@ -62917,7 +62964,7 @@ Send a welcome email to a user.`,
|
|
|
62917
62964
|
function createMCPServer(deps) {
|
|
62918
62965
|
const server = new McpServer({
|
|
62919
62966
|
name: "SyllableSDK",
|
|
62920
|
-
version: "1.0.2-rc.
|
|
62967
|
+
version: "1.0.2-rc.5"
|
|
62921
62968
|
});
|
|
62922
62969
|
const client = new SyllableSDKCore({
|
|
62923
62970
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64423,7 +64470,7 @@ var routes = ln({
|
|
|
64423
64470
|
var app = _e(routes, {
|
|
64424
64471
|
name: "mcp",
|
|
64425
64472
|
versionInfo: {
|
|
64426
|
-
currentVersion: "1.0.2-rc.
|
|
64473
|
+
currentVersion: "1.0.2-rc.5"
|
|
64427
64474
|
}
|
|
64428
64475
|
});
|
|
64429
64476
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64431,5 +64478,5 @@ export {
|
|
|
64431
64478
|
app
|
|
64432
64479
|
};
|
|
64433
64480
|
|
|
64434
|
-
//# debugId=
|
|
64481
|
+
//# debugId=9F8FEAB7A70FA73564756E2164756E21
|
|
64435
64482
|
//# sourceMappingURL=mcp-server.js.map
|