syllable-sdk 1.0.2-rc.3 → 1.0.2-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 +47 -9
- package/bin/mcp-server.js.map +10 -9
- 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 +2 -2
- package/lib/config.js +2 -2
- 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/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 +16 -1
- 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 +2 -2
- 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/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.
|
|
34417
|
+
sdkVersion: "1.0.2-rc.4",
|
|
34418
34418
|
genVersion: "2.723.8",
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.4 2.723.8 0.0.2 syllable-sdk"
|
|
34420
34420
|
};
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
@@ -46772,6 +46772,35 @@ var init_promptslist = __esm(() => {
|
|
|
46772
46772
|
})(PromptsListRequest$ ||= {});
|
|
46773
46773
|
});
|
|
46774
46774
|
|
|
46775
|
+
// src/models/operations/pronunciationsdownloadcsv.ts
|
|
46776
|
+
var PronunciationsDownloadCsvResponse$inboundSchema, PronunciationsDownloadCsvResponse$outboundSchema, PronunciationsDownloadCsvResponse$;
|
|
46777
|
+
var init_pronunciationsdownloadcsv = __esm(() => {
|
|
46778
|
+
init_zod();
|
|
46779
|
+
init_primitives();
|
|
46780
|
+
PronunciationsDownloadCsvResponse$inboundSchema = objectType({
|
|
46781
|
+
Headers: recordType(arrayType(stringType())),
|
|
46782
|
+
Result: instanceOfType(ReadableStream)
|
|
46783
|
+
}).transform((v2) => {
|
|
46784
|
+
return remap(v2, {
|
|
46785
|
+
Headers: "headers",
|
|
46786
|
+
Result: "result"
|
|
46787
|
+
});
|
|
46788
|
+
});
|
|
46789
|
+
PronunciationsDownloadCsvResponse$outboundSchema = 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$) => {
|
|
46799
|
+
PronunciationsDownloadCsvResponse$.inboundSchema = PronunciationsDownloadCsvResponse$inboundSchema;
|
|
46800
|
+
PronunciationsDownloadCsvResponse$.outboundSchema = PronunciationsDownloadCsvResponse$outboundSchema;
|
|
46801
|
+
})(PronunciationsDownloadCsvResponse$ ||= {});
|
|
46802
|
+
});
|
|
46803
|
+
|
|
46775
46804
|
// src/models/operations/rolesdelete.ts
|
|
46776
46805
|
var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema, RolesDeleteRequest$;
|
|
46777
46806
|
var init_rolesdelete = __esm(() => {
|
|
@@ -47563,6 +47592,7 @@ var init_operations = __esm(() => {
|
|
|
47563
47592
|
init_promptsgetbyid();
|
|
47564
47593
|
init_promptshistory();
|
|
47565
47594
|
init_promptslist();
|
|
47595
|
+
init_pronunciationsdownloadcsv();
|
|
47566
47596
|
init_rolesdelete();
|
|
47567
47597
|
init_rolesgetbyid();
|
|
47568
47598
|
init_roleslist();
|
|
@@ -58503,7 +58533,7 @@ function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
|
58503
58533
|
async function $do104(client, options) {
|
|
58504
58534
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58505
58535
|
const headers = new Headers(compactMap({
|
|
58506
|
-
Accept: "
|
|
58536
|
+
Accept: "text/csv"
|
|
58507
58537
|
}));
|
|
58508
58538
|
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58509
58539
|
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
@@ -58541,18 +58571,25 @@ async function $do104(client, options) {
|
|
|
58541
58571
|
return [doResult, { status: "request-error", request: req }];
|
|
58542
58572
|
}
|
|
58543
58573
|
const response = doResult.value;
|
|
58544
|
-
const
|
|
58574
|
+
const responseFields = {
|
|
58575
|
+
HttpMeta: { Response: response, Request: req }
|
|
58576
|
+
};
|
|
58577
|
+
const [result] = await match(stream(200, PronunciationsDownloadCsvResponse$inboundSchema, {
|
|
58578
|
+
ctype: "text/csv",
|
|
58579
|
+
hdrs: true,
|
|
58580
|
+
key: "Result"
|
|
58581
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
58545
58582
|
if (!result.ok) {
|
|
58546
58583
|
return [result, { status: "complete", request: req, response }];
|
|
58547
58584
|
}
|
|
58548
58585
|
return [result, { status: "complete", request: req, response }];
|
|
58549
58586
|
}
|
|
58550
58587
|
var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
|
|
58551
|
-
init_zod();
|
|
58552
58588
|
init_matchers();
|
|
58553
58589
|
init_primitives();
|
|
58554
58590
|
init_security();
|
|
58555
58591
|
init_url();
|
|
58592
|
+
init_operations();
|
|
58556
58593
|
init_async();
|
|
58557
58594
|
});
|
|
58558
58595
|
|
|
@@ -58572,7 +58609,8 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
58572
58609
|
isError: true
|
|
58573
58610
|
};
|
|
58574
58611
|
}
|
|
58575
|
-
|
|
58612
|
+
const value = result.value.result;
|
|
58613
|
+
return formatResult(value, apiCall);
|
|
58576
58614
|
}
|
|
58577
58615
|
};
|
|
58578
58616
|
});
|
|
@@ -62917,7 +62955,7 @@ Send a welcome email to a user.`,
|
|
|
62917
62955
|
function createMCPServer(deps) {
|
|
62918
62956
|
const server = new McpServer({
|
|
62919
62957
|
name: "SyllableSDK",
|
|
62920
|
-
version: "1.0.2-rc.
|
|
62958
|
+
version: "1.0.2-rc.4"
|
|
62921
62959
|
});
|
|
62922
62960
|
const client = new SyllableSDKCore({
|
|
62923
62961
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64423,7 +64461,7 @@ var routes = ln({
|
|
|
64423
64461
|
var app = _e(routes, {
|
|
64424
64462
|
name: "mcp",
|
|
64425
64463
|
versionInfo: {
|
|
64426
|
-
currentVersion: "1.0.2-rc.
|
|
64464
|
+
currentVersion: "1.0.2-rc.4"
|
|
64427
64465
|
}
|
|
64428
64466
|
});
|
|
64429
64467
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64431,5 +64469,5 @@ export {
|
|
|
64431
64469
|
app
|
|
64432
64470
|
};
|
|
64433
64471
|
|
|
64434
|
-
//# debugId=
|
|
64472
|
+
//# debugId=CB47730F8F7DD7CD64756E2164756E21
|
|
64435
64473
|
//# sourceMappingURL=mcp-server.js.map
|