syllable-sdk 1.0.11 → 1.0.12-rc.2

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.
Files changed (38) hide show
  1. package/bin/mcp-server.js +11 -42
  2. package/bin/mcp-server.js.map +9 -10
  3. package/examples/package-lock.json +2 -10
  4. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +1 -2
  5. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
  6. package/funcs/pronunciationsPronunciationsDownloadCsv.js +3 -8
  7. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
  8. package/jsr.json +1 -1
  9. package/lib/config.d.ts +3 -3
  10. package/lib/config.js +3 -3
  11. package/lib/config.js.map +1 -1
  12. package/mcp-server/mcp-server.js +1 -1
  13. package/mcp-server/mcp-server.js.map +1 -1
  14. package/mcp-server/server.js +1 -1
  15. package/mcp-server/server.js.map +1 -1
  16. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +1 -1
  17. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
  18. package/models/operations/index.d.ts +0 -1
  19. package/models/operations/index.d.ts.map +1 -1
  20. package/models/operations/index.js +0 -1
  21. package/models/operations/index.js.map +1 -1
  22. package/openapi.json +36 -42
  23. package/package.json +3 -6
  24. package/sdk/pronunciations.d.ts +1 -2
  25. package/sdk/pronunciations.d.ts.map +1 -1
  26. package/sdk/pronunciations.js.map +1 -1
  27. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +6 -12
  28. package/src/lib/config.ts +3 -3
  29. package/src/mcp-server/mcp-server.ts +1 -1
  30. package/src/mcp-server/server.ts +1 -1
  31. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +1 -1
  32. package/src/models/operations/index.ts +0 -1
  33. package/src/sdk/pronunciations.ts +1 -2
  34. package/models/operations/pronunciationsdownloadcsv.d.ts +0 -23
  35. package/models/operations/pronunciationsdownloadcsv.d.ts.map +0 -1
  36. package/models/operations/pronunciationsdownloadcsv.js +0 -71
  37. package/models/operations/pronunciationsdownloadcsv.js.map +0 -1
  38. package/src/models/operations/pronunciationsdownloadcsv.ts +0 -68
package/bin/mcp-server.js CHANGED
@@ -34419,9 +34419,9 @@ var init_config = __esm(() => {
34419
34419
  SDK_METADATA = {
34420
34420
  language: "typescript",
34421
34421
  openapiDocVersion: "0.0.2",
34422
- sdkVersion: "1.0.11",
34423
- genVersion: "2.753.6",
34424
- userAgent: "speakeasy-sdk/typescript 1.0.11 2.753.6 0.0.2 syllable-sdk"
34422
+ sdkVersion: "1.0.12-rc.2",
34423
+ genVersion: "2.755.0",
34424
+ userAgent: "speakeasy-sdk/typescript 1.0.12-rc.2 2.755.0 0.0.2 syllable-sdk"
34425
34425
  };
34426
34426
  });
34427
34427
 
@@ -46322,31 +46322,6 @@ var init_promptslist = __esm(() => {
46322
46322
  });
46323
46323
  });
46324
46324
 
46325
- // src/models/operations/pronunciationsdownloadcsv.ts
46326
- var PronunciationsDownloadCsvResponse$inboundSchema, PronunciationsDownloadCsvResponse$outboundSchema;
46327
- var init_pronunciationsdownloadcsv = __esm(() => {
46328
- init_v3();
46329
- init_primitives();
46330
- PronunciationsDownloadCsvResponse$inboundSchema = objectType({
46331
- Headers: recordType(arrayType(stringType())).default({}),
46332
- Result: instanceOfType(ReadableStream)
46333
- }).transform((v2) => {
46334
- return remap(v2, {
46335
- Headers: "headers",
46336
- Result: "result"
46337
- });
46338
- });
46339
- PronunciationsDownloadCsvResponse$outboundSchema = objectType({
46340
- headers: recordType(arrayType(stringType())),
46341
- result: instanceOfType(ReadableStream)
46342
- }).transform((v2) => {
46343
- return remap(v2, {
46344
- headers: "Headers",
46345
- result: "Result"
46346
- });
46347
- });
46348
- });
46349
-
46350
46325
  // src/models/operations/rolesdelete.ts
46351
46326
  var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema;
46352
46327
  var init_rolesdelete = __esm(() => {
@@ -47147,7 +47122,6 @@ var init_operations = __esm(() => {
47147
47122
  init_promptsgetbyid();
47148
47123
  init_promptshistory();
47149
47124
  init_promptslist();
47150
- init_pronunciationsdownloadcsv();
47151
47125
  init_rolesdelete();
47152
47126
  init_rolesgetbyid();
47153
47127
  init_roleslist();
@@ -58990,25 +58964,20 @@ async function $do112(client, options) {
58990
58964
  return [doResult, { status: "request-error", request: req }];
58991
58965
  }
58992
58966
  const response = doResult.value;
58993
- const responseFields = {
58994
- HttpMeta: { Response: response, Request: req }
58995
- };
58996
- const [result] = await match(stream(200, PronunciationsDownloadCsvResponse$inboundSchema, {
58997
- ctype: "text/csv",
58998
- hdrs: true,
58999
- key: "Result"
59000
- }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
58967
+ const [result] = await match(stream(200, instanceOfType(ReadableStream), {
58968
+ ctype: "text/csv"
58969
+ }), fail("4XX"), fail("5XX"))(response, req);
59001
58970
  if (!result.ok) {
59002
58971
  return [result, { status: "complete", request: req, response }];
59003
58972
  }
59004
58973
  return [result, { status: "complete", request: req, response }];
59005
58974
  }
59006
58975
  var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
58976
+ init_v3();
59007
58977
  init_matchers();
59008
58978
  init_primitives();
59009
58979
  init_security();
59010
58980
  init_url();
59011
- init_operations();
59012
58981
  init_async();
59013
58982
  });
59014
58983
 
@@ -59028,7 +58997,7 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
59028
58997
  isError: true
59029
58998
  };
59030
58999
  }
59031
- const value = result.value.result;
59000
+ const value = result.value;
59032
59001
  return formatResult(value, apiCall);
59033
59002
  }
59034
59003
  };
@@ -64021,7 +63990,7 @@ Generate voice sample.`,
64021
63990
  function createMCPServer(deps) {
64022
63991
  const server = new McpServer({
64023
63992
  name: "SyllableSDK",
64024
- version: "1.0.11"
63993
+ version: "1.0.12-rc.2"
64025
63994
  });
64026
63995
  const client = new SyllableSDKCore({
64027
63996
  apiKeyHeader: deps.apiKeyHeader,
@@ -65555,7 +65524,7 @@ var routes = ln({
65555
65524
  var app = _e(routes, {
65556
65525
  name: "mcp",
65557
65526
  versionInfo: {
65558
- currentVersion: "1.0.11"
65527
+ currentVersion: "1.0.12-rc.2"
65559
65528
  }
65560
65529
  });
65561
65530
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -65563,5 +65532,5 @@ export {
65563
65532
  app
65564
65533
  };
65565
65534
 
65566
- //# debugId=5940C783F13DAF0664756E2164756E21
65535
+ //# debugId=9002075AA94902B364756E2164756E21
65567
65536
  //# sourceMappingURL=mcp-server.js.map