syllable-sdk 1.0.1 → 1.0.2-rc.1

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 (86) hide show
  1. package/README.md +6 -0
  2. package/bin/mcp-server.js +480 -84
  3. package/bin/mcp-server.js.map +18 -7
  4. package/docs/sdks/batches/README.md +4 -4
  5. package/docs/sdks/pronunciations/README.md +207 -0
  6. package/docs/sdks/workflows/README.md +8 -8
  7. package/examples/package-lock.json +1 -1
  8. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +13 -0
  9. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  10. package/funcs/pronunciationsPronunciationsDownloadCsv.js +101 -0
  11. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  12. package/funcs/pronunciationsPronunciationsGet.d.ts +14 -0
  13. package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -0
  14. package/funcs/pronunciationsPronunciationsGet.js +101 -0
  15. package/funcs/pronunciationsPronunciationsGet.js.map +1 -0
  16. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +14 -0
  17. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  18. package/funcs/pronunciationsPronunciationsGetMetadata.js +101 -0
  19. package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  20. package/jsr.json +1 -1
  21. package/lib/config.d.ts +3 -3
  22. package/lib/config.js +3 -3
  23. package/lib/config.js.map +1 -1
  24. package/mcp-server/mcp-server.js +1 -1
  25. package/mcp-server/mcp-server.js.map +1 -1
  26. package/mcp-server/server.d.ts.map +1 -1
  27. package/mcp-server/server.js +7 -1
  28. package/mcp-server/server.js.map +1 -1
  29. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts +3 -0
  30. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  31. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +23 -0
  32. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  33. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts +3 -0
  34. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts.map +1 -0
  35. package/mcp-server/tools/pronunciationsPronunciationsGet.js +24 -0
  36. package/mcp-server/tools/pronunciationsPronunciationsGet.js.map +1 -0
  37. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts +3 -0
  38. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  39. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js +24 -0
  40. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  41. package/models/components/dictionarymetadata.d.ts +36 -0
  42. package/models/components/dictionarymetadata.d.ts.map +1 -0
  43. package/models/components/dictionarymetadata.js +73 -0
  44. package/models/components/dictionarymetadata.js.map +1 -0
  45. package/models/components/index.d.ts +5 -0
  46. package/models/components/index.d.ts.map +1 -1
  47. package/models/components/index.js +5 -0
  48. package/models/components/index.js.map +1 -1
  49. package/models/components/matchtype.d.ts +31 -0
  50. package/models/components/matchtype.d.ts.map +1 -0
  51. package/models/components/matchtype.js +63 -0
  52. package/models/components/matchtype.js.map +1 -0
  53. package/models/components/pronunciationoverride.d.ts +73 -0
  54. package/models/components/pronunciationoverride.d.ts.map +1 -0
  55. package/models/components/pronunciationoverride.js +120 -0
  56. package/models/components/pronunciationoverride.js.map +1 -0
  57. package/models/components/pronunciationoverridesdictionary.d.ts +68 -0
  58. package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -0
  59. package/models/components/pronunciationoverridesdictionary.js +78 -0
  60. package/models/components/pronunciationoverridesdictionary.js.map +1 -0
  61. package/models/components/voicedisplayinfo.d.ts +34 -0
  62. package/models/components/voicedisplayinfo.d.ts.map +1 -0
  63. package/models/components/voicedisplayinfo.js +80 -0
  64. package/models/components/voicedisplayinfo.js.map +1 -0
  65. package/openapi.json +284 -33
  66. package/package.json +1 -1
  67. package/sdk/pronunciations.d.ts +12 -0
  68. package/sdk/pronunciations.d.ts.map +1 -1
  69. package/sdk/pronunciations.js +21 -0
  70. package/sdk/pronunciations.js.map +1 -1
  71. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +139 -0
  72. package/src/funcs/pronunciationsPronunciationsGet.ts +139 -0
  73. package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +139 -0
  74. package/src/lib/config.ts +3 -3
  75. package/src/mcp-server/mcp-server.ts +1 -1
  76. package/src/mcp-server/server.ts +7 -1
  77. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +26 -0
  78. package/src/mcp-server/tools/pronunciationsPronunciationsGet.ts +28 -0
  79. package/src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts +28 -0
  80. package/src/models/components/dictionarymetadata.ts +77 -0
  81. package/src/models/components/index.ts +5 -0
  82. package/src/models/components/matchtype.ts +36 -0
  83. package/src/models/components/pronunciationoverride.ts +166 -0
  84. package/src/models/components/pronunciationoverridesdictionary.ts +124 -0
  85. package/src/models/components/voicedisplayinfo.ts +82 -0
  86. package/src/sdk/pronunciations.ts +39 -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.1",
34418
- genVersion: "2.723.2",
34419
- userAgent: "speakeasy-sdk/typescript 1.0.1 2.723.2 0.0.2 syllable-sdk"
34417
+ sdkVersion: "1.0.2-rc.1",
34418
+ genVersion: "2.723.4",
34419
+ userAgent: "speakeasy-sdk/typescript 1.0.2-rc.1 2.723.4 0.0.2 syllable-sdk"
34420
34420
  };
34421
34421
  });
34422
34422
 
@@ -35611,6 +35611,9 @@ function json(codes, schema, options) {
35611
35611
  function stream(codes, schema, options) {
35612
35612
  return { ...options, enc: "stream", codes, schema };
35613
35613
  }
35614
+ function nil(codes, schema, options) {
35615
+ return { ...options, enc: "nil", codes, schema };
35616
+ }
35614
35617
  function fail(codes) {
35615
35618
  return { enc: "fail", codes };
35616
35619
  }
@@ -39137,6 +39140,26 @@ var init_dialogtoolcall = __esm(() => {
39137
39140
  })(DialogToolCall$ ||= {});
39138
39141
  });
39139
39142
 
39143
+ // src/models/components/dictionarymetadata.ts
39144
+ var DictionaryMetadata$inboundSchema, DictionaryMetadata$outboundSchema, DictionaryMetadata$;
39145
+ var init_dictionarymetadata = __esm(() => {
39146
+ init_zod();
39147
+ DictionaryMetadata$inboundSchema = objectType({
39148
+ entries: numberType().int(),
39149
+ hash: stringType(),
39150
+ source: nullableType(stringType()).optional()
39151
+ });
39152
+ DictionaryMetadata$outboundSchema = objectType({
39153
+ entries: numberType().int(),
39154
+ hash: stringType(),
39155
+ source: nullableType(stringType()).optional()
39156
+ });
39157
+ ((DictionaryMetadata$) => {
39158
+ DictionaryMetadata$.inboundSchema = DictionaryMetadata$inboundSchema;
39159
+ DictionaryMetadata$.outboundSchema = DictionaryMetadata$outboundSchema;
39160
+ })(DictionaryMetadata$ ||= {});
39161
+ });
39162
+
39140
39163
  // src/models/components/event.ts
39141
39164
  var Attributes$inboundSchema, Attributes$outboundSchema, Attributes$, Event$inboundSchema, Event$outboundSchema, Event$;
39142
39165
  var init_event = __esm(() => {
@@ -41926,6 +41949,21 @@ var init_logintype = __esm(() => {
41926
41949
  })(LoginType$ ||= {});
41927
41950
  });
41928
41951
 
41952
+ // src/models/components/matchtype.ts
41953
+ var MatchType, MatchType$inboundSchema, MatchType$outboundSchema, MatchType$;
41954
+ var init_matchtype = __esm(() => {
41955
+ init_zod();
41956
+ MatchType = {
41957
+ Exact: "exact"
41958
+ };
41959
+ MatchType$inboundSchema = nativeEnumType(MatchType);
41960
+ MatchType$outboundSchema = MatchType$inboundSchema;
41961
+ ((MatchType$) => {
41962
+ MatchType$.inboundSchema = MatchType$inboundSchema;
41963
+ MatchType$.outboundSchema = MatchType$outboundSchema;
41964
+ })(MatchType$ ||= {});
41965
+ });
41966
+
41929
41967
  // src/models/components/orderbydirection.ts
41930
41968
  var OrderByDirection, OrderByDirection$inboundSchema, OrderByDirection$outboundSchema, OrderByDirection$;
41931
41969
  var init_orderbydirection = __esm(() => {
@@ -42447,6 +42485,108 @@ var init_promptupdaterequest = __esm(() => {
42447
42485
  })(PromptUpdateRequest$ ||= {});
42448
42486
  });
42449
42487
 
42488
+ // src/models/components/pronunciationoverride.ts
42489
+ var Language$inboundSchema, Language$outboundSchema, Language$, PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
42490
+ var init_pronunciationoverride = __esm(() => {
42491
+ init_zod();
42492
+ init_primitives();
42493
+ init_matchtype();
42494
+ Language$inboundSchema = unionType([stringType(), arrayType(stringType())]);
42495
+ Language$outboundSchema = unionType([stringType(), arrayType(stringType())]);
42496
+ ((Language$) => {
42497
+ Language$.inboundSchema = Language$inboundSchema;
42498
+ Language$.outboundSchema = Language$outboundSchema;
42499
+ })(Language$ ||= {});
42500
+ PronunciationOverride$inboundSchema = objectType({
42501
+ text: stringType(),
42502
+ replacement: stringType(),
42503
+ language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42504
+ provider: nullableType(stringType()).optional(),
42505
+ voice: nullableType(stringType()).optional(),
42506
+ match_type: MatchType$inboundSchema.optional(),
42507
+ match_options: arrayType(stringType()).optional(),
42508
+ enabled: booleanType().default(true),
42509
+ notes: nullableType(stringType()).optional()
42510
+ }).transform((v2) => {
42511
+ return remap(v2, {
42512
+ match_type: "matchType",
42513
+ match_options: "matchOptions"
42514
+ });
42515
+ });
42516
+ PronunciationOverride$outboundSchema = objectType({
42517
+ text: stringType(),
42518
+ replacement: stringType(),
42519
+ language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42520
+ provider: nullableType(stringType()).optional(),
42521
+ voice: nullableType(stringType()).optional(),
42522
+ matchType: MatchType$outboundSchema.optional(),
42523
+ matchOptions: arrayType(stringType()).optional(),
42524
+ enabled: booleanType().default(true),
42525
+ notes: nullableType(stringType()).optional()
42526
+ }).transform((v2) => {
42527
+ return remap(v2, {
42528
+ matchType: "match_type",
42529
+ matchOptions: "match_options"
42530
+ });
42531
+ });
42532
+ ((PronunciationOverride$) => {
42533
+ PronunciationOverride$.inboundSchema = PronunciationOverride$inboundSchema;
42534
+ PronunciationOverride$.outboundSchema = PronunciationOverride$outboundSchema;
42535
+ })(PronunciationOverride$ ||= {});
42536
+ });
42537
+
42538
+ // src/models/components/voicedisplayinfo.ts
42539
+ var VoiceDisplayInfo$inboundSchema, VoiceDisplayInfo$outboundSchema, VoiceDisplayInfo$;
42540
+ var init_voicedisplayinfo = __esm(() => {
42541
+ init_zod();
42542
+ init_primitives();
42543
+ VoiceDisplayInfo$inboundSchema = objectType({
42544
+ display_name: stringType(),
42545
+ provider: stringType()
42546
+ }).transform((v2) => {
42547
+ return remap(v2, {
42548
+ display_name: "displayName"
42549
+ });
42550
+ });
42551
+ VoiceDisplayInfo$outboundSchema = objectType({
42552
+ displayName: stringType(),
42553
+ provider: stringType()
42554
+ }).transform((v2) => {
42555
+ return remap(v2, {
42556
+ displayName: "display_name"
42557
+ });
42558
+ });
42559
+ ((VoiceDisplayInfo$) => {
42560
+ VoiceDisplayInfo$.inboundSchema = VoiceDisplayInfo$inboundSchema;
42561
+ VoiceDisplayInfo$.outboundSchema = VoiceDisplayInfo$outboundSchema;
42562
+ })(VoiceDisplayInfo$ ||= {});
42563
+ });
42564
+
42565
+ // src/models/components/pronunciationoverridesdictionary.ts
42566
+ var PronunciationOverridesDictionary$inboundSchema, PronunciationOverridesDictionary$outboundSchema, PronunciationOverridesDictionary$;
42567
+ var init_pronunciationoverridesdictionary = __esm(() => {
42568
+ init_zod();
42569
+ init_dictionarymetadata();
42570
+ init_pronunciationoverride();
42571
+ init_voicedisplayinfo();
42572
+ PronunciationOverridesDictionary$inboundSchema = objectType({
42573
+ type: stringType().default("pronunciations_v1"),
42574
+ pronunciations: arrayType(PronunciationOverride$inboundSchema),
42575
+ voices: recordType(VoiceDisplayInfo$inboundSchema).optional(),
42576
+ metadata: DictionaryMetadata$inboundSchema
42577
+ });
42578
+ PronunciationOverridesDictionary$outboundSchema = objectType({
42579
+ type: stringType().default("pronunciations_v1"),
42580
+ pronunciations: arrayType(PronunciationOverride$outboundSchema),
42581
+ voices: recordType(VoiceDisplayInfo$outboundSchema).optional(),
42582
+ metadata: DictionaryMetadata$outboundSchema
42583
+ });
42584
+ ((PronunciationOverridesDictionary$) => {
42585
+ PronunciationOverridesDictionary$.inboundSchema = PronunciationOverridesDictionary$inboundSchema;
42586
+ PronunciationOverridesDictionary$.outboundSchema = PronunciationOverridesDictionary$outboundSchema;
42587
+ })(PronunciationOverridesDictionary$ ||= {});
42588
+ });
42589
+
42450
42590
  // src/models/components/pronunciationscsvuploadresponse.ts
42451
42591
  var PronunciationsCsvUploadResponse$inboundSchema, PronunciationsCsvUploadResponse$outboundSchema, PronunciationsCsvUploadResponse$;
42452
42592
  var init_pronunciationscsvuploadresponse = __esm(() => {
@@ -43847,6 +43987,7 @@ var init_components = __esm(() => {
43847
43987
  init_dialogmessage();
43848
43988
  init_dialogrole();
43849
43989
  init_dialogtoolcall();
43990
+ init_dictionarymetadata();
43850
43991
  init_event();
43851
43992
  init_eventproperties();
43852
43993
  init_folderdetails();
@@ -43913,6 +44054,7 @@ var init_components = __esm(() => {
43913
44054
  init_listresponsetoolresponse();
43914
44055
  init_listresponseuserresponse();
43915
44056
  init_logintype();
44057
+ init_matchtype();
43916
44058
  init_orderbydirection();
43917
44059
  init_organizationchannelconfig();
43918
44060
  init_organizationchannelcreaterequest();
@@ -43930,6 +44072,8 @@ var init_components = __esm(() => {
43930
44072
  init_promptproperties();
43931
44073
  init_promptresponse();
43932
44074
  init_promptupdaterequest();
44075
+ init_pronunciationoverride();
44076
+ init_pronunciationoverridesdictionary();
43933
44077
  init_pronunciationscsvuploadresponse();
43934
44078
  init_requeststatus();
43935
44079
  init_rolecreaterequest();
@@ -43999,6 +44143,7 @@ var init_components = __esm(() => {
43999
44143
  init_userresponse();
44000
44144
  init_userupdaterequest();
44001
44145
  init_validationerror();
44146
+ init_voicedisplayinfo();
44002
44147
  init_voicesamplecreaterequest();
44003
44148
  });
44004
44149
 
@@ -58270,11 +58415,256 @@ Update an existing prompt`,
58270
58415
  };
58271
58416
  });
58272
58417
 
58418
+ // src/funcs/pronunciationsPronunciationsDownloadCsv.ts
58419
+ function pronunciationsPronunciationsDownloadCsv(client, options) {
58420
+ return new APIPromise($do103(client, options));
58421
+ }
58422
+ async function $do103(client, options) {
58423
+ const path = pathToFunc("/api/v1/pronunciations/csv")();
58424
+ const headers = new Headers(compactMap({
58425
+ Accept: "*/*"
58426
+ }));
58427
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58428
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58429
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58430
+ const context = {
58431
+ options: client._options,
58432
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58433
+ operationID: "pronunciations_download_csv",
58434
+ oAuth2Scopes: null,
58435
+ resolvedSecurity: requestSecurity,
58436
+ securitySource: client._options.apiKeyHeader,
58437
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58438
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58439
+ };
58440
+ const requestRes = client._createRequest(context, {
58441
+ security: requestSecurity,
58442
+ method: "GET",
58443
+ baseURL: options?.serverURL,
58444
+ path,
58445
+ headers,
58446
+ userAgent: client._options.userAgent,
58447
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58448
+ }, options);
58449
+ if (!requestRes.ok) {
58450
+ return [requestRes, { status: "invalid" }];
58451
+ }
58452
+ const req = requestRes.value;
58453
+ const doResult = await client._do(req, {
58454
+ context,
58455
+ errorCodes: ["4XX", "5XX"],
58456
+ retryConfig: context.retryConfig,
58457
+ retryCodes: context.retryCodes
58458
+ });
58459
+ if (!doResult.ok) {
58460
+ return [doResult, { status: "request-error", request: req }];
58461
+ }
58462
+ const response = doResult.value;
58463
+ const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
58464
+ if (!result.ok) {
58465
+ return [result, { status: "complete", request: req, response }];
58466
+ }
58467
+ return [result, { status: "complete", request: req, response }];
58468
+ }
58469
+ var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
58470
+ init_zod();
58471
+ init_matchers();
58472
+ init_primitives();
58473
+ init_security();
58474
+ init_url();
58475
+ init_async();
58476
+ });
58477
+
58478
+ // src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts
58479
+ var tool$pronunciationsPronunciationsDownloadCsv;
58480
+ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
58481
+ init_pronunciationsPronunciationsDownloadCsv();
58482
+ init_tools();
58483
+ tool$pronunciationsPronunciationsDownloadCsv = {
58484
+ name: "pronunciations-pronunciations-download-csv",
58485
+ description: `Download Pronunciations Csv`,
58486
+ tool: async (client, ctx) => {
58487
+ const [result, apiCall] = await pronunciationsPronunciationsDownloadCsv(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58488
+ if (!result.ok) {
58489
+ return {
58490
+ content: [{ type: "text", text: result.error.message }],
58491
+ isError: true
58492
+ };
58493
+ }
58494
+ return formatResult(undefined, apiCall);
58495
+ }
58496
+ };
58497
+ });
58498
+
58499
+ // src/funcs/pronunciationsPronunciationsGet.ts
58500
+ function pronunciationsPronunciationsGet(client, options) {
58501
+ return new APIPromise($do104(client, options));
58502
+ }
58503
+ async function $do104(client, options) {
58504
+ const path = pathToFunc("/api/v1/pronunciations")();
58505
+ const headers = new Headers(compactMap({
58506
+ Accept: "application/json"
58507
+ }));
58508
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58509
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58510
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58511
+ const context = {
58512
+ options: client._options,
58513
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58514
+ operationID: "pronunciations_get",
58515
+ oAuth2Scopes: null,
58516
+ resolvedSecurity: requestSecurity,
58517
+ securitySource: client._options.apiKeyHeader,
58518
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58519
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58520
+ };
58521
+ const requestRes = client._createRequest(context, {
58522
+ security: requestSecurity,
58523
+ method: "GET",
58524
+ baseURL: options?.serverURL,
58525
+ path,
58526
+ headers,
58527
+ userAgent: client._options.userAgent,
58528
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58529
+ }, options);
58530
+ if (!requestRes.ok) {
58531
+ return [requestRes, { status: "invalid" }];
58532
+ }
58533
+ const req = requestRes.value;
58534
+ const doResult = await client._do(req, {
58535
+ context,
58536
+ errorCodes: ["4XX", "5XX"],
58537
+ retryConfig: context.retryConfig,
58538
+ retryCodes: context.retryCodes
58539
+ });
58540
+ if (!doResult.ok) {
58541
+ return [doResult, { status: "request-error", request: req }];
58542
+ }
58543
+ const response = doResult.value;
58544
+ const [result] = await match(json(200, PronunciationOverridesDictionary$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
58545
+ if (!result.ok) {
58546
+ return [result, { status: "complete", request: req, response }];
58547
+ }
58548
+ return [result, { status: "complete", request: req, response }];
58549
+ }
58550
+ var init_pronunciationsPronunciationsGet = __esm(() => {
58551
+ init_matchers();
58552
+ init_primitives();
58553
+ init_security();
58554
+ init_url();
58555
+ init_components();
58556
+ init_async();
58557
+ });
58558
+
58559
+ // src/mcp-server/tools/pronunciationsPronunciationsGet.ts
58560
+ var tool$pronunciationsPronunciationsGet;
58561
+ var init_pronunciationsPronunciationsGet2 = __esm(() => {
58562
+ init_pronunciationsPronunciationsGet();
58563
+ init_tools();
58564
+ tool$pronunciationsPronunciationsGet = {
58565
+ name: "pronunciations-pronunciations-get",
58566
+ description: `Get Pronunciations Dictionary`,
58567
+ tool: async (client, ctx) => {
58568
+ const [result, apiCall] = await pronunciationsPronunciationsGet(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58569
+ if (!result.ok) {
58570
+ return {
58571
+ content: [{ type: "text", text: result.error.message }],
58572
+ isError: true
58573
+ };
58574
+ }
58575
+ const value = result.value;
58576
+ return formatResult(value, apiCall);
58577
+ }
58578
+ };
58579
+ });
58580
+
58581
+ // src/funcs/pronunciationsPronunciationsGetMetadata.ts
58582
+ function pronunciationsPronunciationsGetMetadata(client, options) {
58583
+ return new APIPromise($do105(client, options));
58584
+ }
58585
+ async function $do105(client, options) {
58586
+ const path = pathToFunc("/api/v1/pronunciations/metadata")();
58587
+ const headers = new Headers(compactMap({
58588
+ Accept: "application/json"
58589
+ }));
58590
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58591
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58592
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58593
+ const context = {
58594
+ options: client._options,
58595
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58596
+ operationID: "pronunciations_get_metadata",
58597
+ oAuth2Scopes: null,
58598
+ resolvedSecurity: requestSecurity,
58599
+ securitySource: client._options.apiKeyHeader,
58600
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58601
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58602
+ };
58603
+ const requestRes = client._createRequest(context, {
58604
+ security: requestSecurity,
58605
+ method: "GET",
58606
+ baseURL: options?.serverURL,
58607
+ path,
58608
+ headers,
58609
+ userAgent: client._options.userAgent,
58610
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58611
+ }, options);
58612
+ if (!requestRes.ok) {
58613
+ return [requestRes, { status: "invalid" }];
58614
+ }
58615
+ const req = requestRes.value;
58616
+ const doResult = await client._do(req, {
58617
+ context,
58618
+ errorCodes: ["4XX", "5XX"],
58619
+ retryConfig: context.retryConfig,
58620
+ retryCodes: context.retryCodes
58621
+ });
58622
+ if (!doResult.ok) {
58623
+ return [doResult, { status: "request-error", request: req }];
58624
+ }
58625
+ const response = doResult.value;
58626
+ const [result] = await match(json(200, DictionaryMetadata$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
58627
+ if (!result.ok) {
58628
+ return [result, { status: "complete", request: req, response }];
58629
+ }
58630
+ return [result, { status: "complete", request: req, response }];
58631
+ }
58632
+ var init_pronunciationsPronunciationsGetMetadata = __esm(() => {
58633
+ init_matchers();
58634
+ init_primitives();
58635
+ init_security();
58636
+ init_url();
58637
+ init_components();
58638
+ init_async();
58639
+ });
58640
+
58641
+ // src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts
58642
+ var tool$pronunciationsPronunciationsGetMetadata;
58643
+ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
58644
+ init_pronunciationsPronunciationsGetMetadata();
58645
+ init_tools();
58646
+ tool$pronunciationsPronunciationsGetMetadata = {
58647
+ name: "pronunciations-pronunciations-get-metadata",
58648
+ description: `Get Pronunciations Metadata`,
58649
+ tool: async (client, ctx) => {
58650
+ const [result, apiCall] = await pronunciationsPronunciationsGetMetadata(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58651
+ if (!result.ok) {
58652
+ return {
58653
+ content: [{ type: "text", text: result.error.message }],
58654
+ isError: true
58655
+ };
58656
+ }
58657
+ const value = result.value;
58658
+ return formatResult(value, apiCall);
58659
+ }
58660
+ };
58661
+ });
58662
+
58273
58663
  // src/funcs/pronunciationsPronunciationsUploadCsv.ts
58274
58664
  function pronunciationsPronunciationsUploadCsv(client, request, options) {
58275
- return new APIPromise($do103(client, request, options));
58665
+ return new APIPromise($do106(client, request, options));
58276
58666
  }
58277
- async function $do103(client, request, options) {
58667
+ async function $do106(client, request, options) {
58278
58668
  const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
58279
58669
  if (!parsed.ok) {
58280
58670
  return [parsed, { status: "invalid" }];
@@ -58384,9 +58774,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
58384
58774
 
58385
58775
  // src/funcs/rolesCreate.ts
58386
58776
  function rolesCreate(client, request, options) {
58387
- return new APIPromise($do104(client, request, options));
58777
+ return new APIPromise($do107(client, request, options));
58388
58778
  }
58389
- async function $do104(client, request, options) {
58779
+ async function $do107(client, request, options) {
58390
58780
  const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
58391
58781
  if (!parsed.ok) {
58392
58782
  return [parsed, { status: "invalid" }];
@@ -58487,9 +58877,9 @@ Create a new role.`,
58487
58877
 
58488
58878
  // src/funcs/rolesDelete.ts
58489
58879
  function rolesDelete(client, request, options) {
58490
- return new APIPromise($do105(client, request, options));
58880
+ return new APIPromise($do108(client, request, options));
58491
58881
  }
58492
- async function $do105(client, request, options) {
58882
+ async function $do108(client, request, options) {
58493
58883
  const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
58494
58884
  if (!parsed.ok) {
58495
58885
  return [parsed, { status: "invalid" }];
@@ -58601,9 +58991,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
58601
58991
 
58602
58992
  // src/funcs/rolesGetById.ts
58603
58993
  function rolesGetById(client, request, options) {
58604
- return new APIPromise($do106(client, request, options));
58994
+ return new APIPromise($do109(client, request, options));
58605
58995
  }
58606
- async function $do106(client, request, options) {
58996
+ async function $do109(client, request, options) {
58607
58997
  const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
58608
58998
  if (!parsed.ok) {
58609
58999
  return [parsed, { status: "invalid" }];
@@ -58710,9 +59100,9 @@ Fetch a given role.`,
58710
59100
 
58711
59101
  // src/funcs/rolesList.ts
58712
59102
  function rolesList(client, request, options) {
58713
- return new APIPromise($do107(client, request, options));
59103
+ return new APIPromise($do110(client, request, options));
58714
59104
  }
58715
- async function $do107(client, request, options) {
59105
+ async function $do110(client, request, options) {
58716
59106
  const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
58717
59107
  if (!parsed.ok) {
58718
59108
  return [parsed, { status: "invalid" }];
@@ -58825,9 +59215,9 @@ List the existing roles.`,
58825
59215
 
58826
59216
  // src/funcs/rolesUpdate.ts
58827
59217
  function rolesUpdate(client, request, options) {
58828
- return new APIPromise($do108(client, request, options));
59218
+ return new APIPromise($do111(client, request, options));
58829
59219
  }
58830
- async function $do108(client, request, options) {
59220
+ async function $do111(client, request, options) {
58831
59221
  const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
58832
59222
  if (!parsed.ok) {
58833
59223
  return [parsed, { status: "invalid" }];
@@ -58928,9 +59318,9 @@ Update an existing role.`,
58928
59318
 
58929
59319
  // src/funcs/servicesCreate.ts
58930
59320
  function servicesCreate(client, request, options) {
58931
- return new APIPromise($do109(client, request, options));
59321
+ return new APIPromise($do112(client, request, options));
58932
59322
  }
58933
- async function $do109(client, request, options) {
59323
+ async function $do112(client, request, options) {
58934
59324
  const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
58935
59325
  if (!parsed.ok) {
58936
59326
  return [parsed, { status: "invalid" }];
@@ -59031,9 +59421,9 @@ Create a new service.`,
59031
59421
 
59032
59422
  // src/funcs/servicesDelete.ts
59033
59423
  function servicesDelete(client, request, options) {
59034
- return new APIPromise($do110(client, request, options));
59424
+ return new APIPromise($do113(client, request, options));
59035
59425
  }
59036
- async function $do110(client, request, options) {
59426
+ async function $do113(client, request, options) {
59037
59427
  const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
59038
59428
  if (!parsed.ok) {
59039
59429
  return [parsed, { status: "invalid" }];
@@ -59144,9 +59534,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
59144
59534
 
59145
59535
  // src/funcs/servicesGetById.ts
59146
59536
  function servicesGetById(client, request, options) {
59147
- return new APIPromise($do111(client, request, options));
59537
+ return new APIPromise($do114(client, request, options));
59148
59538
  }
59149
- async function $do111(client, request, options) {
59539
+ async function $do114(client, request, options) {
59150
59540
  const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
59151
59541
  if (!parsed.ok) {
59152
59542
  return [parsed, { status: "invalid" }];
@@ -59253,9 +59643,9 @@ Get a service by its ID`,
59253
59643
 
59254
59644
  // src/funcs/servicesList.ts
59255
59645
  function servicesList(client, request, options) {
59256
- return new APIPromise($do112(client, request, options));
59646
+ return new APIPromise($do115(client, request, options));
59257
59647
  }
59258
- async function $do112(client, request, options) {
59648
+ async function $do115(client, request, options) {
59259
59649
  const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
59260
59650
  if (!parsed.ok) {
59261
59651
  return [parsed, { status: "invalid" }];
@@ -59368,9 +59758,9 @@ List the existing services`,
59368
59758
 
59369
59759
  // src/funcs/servicesUpdate.ts
59370
59760
  function servicesUpdate(client, request, options) {
59371
- return new APIPromise($do113(client, request, options));
59761
+ return new APIPromise($do116(client, request, options));
59372
59762
  }
59373
- async function $do113(client, request, options) {
59763
+ async function $do116(client, request, options) {
59374
59764
  const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
59375
59765
  if (!parsed.ok) {
59376
59766
  return [parsed, { status: "invalid" }];
@@ -59471,9 +59861,9 @@ Update an existing service.`,
59471
59861
 
59472
59862
  // src/funcs/sessionDebugGetSessionDataBySessionId.ts
59473
59863
  function sessionDebugGetSessionDataBySessionId(client, request, options) {
59474
- return new APIPromise($do114(client, request, options));
59864
+ return new APIPromise($do117(client, request, options));
59475
59865
  }
59476
- async function $do114(client, request, options) {
59866
+ async function $do117(client, request, options) {
59477
59867
  const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
59478
59868
  if (!parsed.ok) {
59479
59869
  return [parsed, { status: "invalid" }];
@@ -59578,9 +59968,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
59578
59968
 
59579
59969
  // src/funcs/sessionDebugGetSessionDataBySid.ts
59580
59970
  function sessionDebugGetSessionDataBySid(client, request, options) {
59581
- return new APIPromise($do115(client, request, options));
59971
+ return new APIPromise($do118(client, request, options));
59582
59972
  }
59583
- async function $do115(client, request, options) {
59973
+ async function $do118(client, request, options) {
59584
59974
  const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
59585
59975
  if (!parsed.ok) {
59586
59976
  return [parsed, { status: "invalid" }];
@@ -59683,9 +60073,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
59683
60073
 
59684
60074
  // src/funcs/sessionDebugGetSessionToolCallResultById.ts
59685
60075
  function sessionDebugGetSessionToolCallResultById(client, request, options) {
59686
- return new APIPromise($do116(client, request, options));
60076
+ return new APIPromise($do119(client, request, options));
59687
60077
  }
59688
- async function $do116(client, request, options) {
60078
+ async function $do119(client, request, options) {
59689
60079
  const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
59690
60080
  if (!parsed.ok) {
59691
60081
  return [parsed, { status: "invalid" }];
@@ -59794,9 +60184,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
59794
60184
 
59795
60185
  // src/funcs/sessionLabelsCreate.ts
59796
60186
  function sessionLabelsCreate(client, request, options) {
59797
- return new APIPromise($do117(client, request, options));
60187
+ return new APIPromise($do120(client, request, options));
59798
60188
  }
59799
- async function $do117(client, request, options) {
60189
+ async function $do120(client, request, options) {
59800
60190
  const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
59801
60191
  if (!parsed.ok) {
59802
60192
  return [parsed, { status: "invalid" }];
@@ -59897,9 +60287,9 @@ Create a new label`,
59897
60287
 
59898
60288
  // src/funcs/sessionLabelsGetById.ts
59899
60289
  function sessionLabelsGetById(client, request, options) {
59900
- return new APIPromise($do118(client, request, options));
60290
+ return new APIPromise($do121(client, request, options));
59901
60291
  }
59902
- async function $do118(client, request, options) {
60292
+ async function $do121(client, request, options) {
59903
60293
  const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
59904
60294
  if (!parsed.ok) {
59905
60295
  return [parsed, { status: "invalid" }];
@@ -60001,9 +60391,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
60001
60391
 
60002
60392
  // src/funcs/sessionLabelsList.ts
60003
60393
  function sessionLabelsList(client, request, options) {
60004
- return new APIPromise($do119(client, request, options));
60394
+ return new APIPromise($do122(client, request, options));
60005
60395
  }
60006
- async function $do119(client, request, options) {
60396
+ async function $do122(client, request, options) {
60007
60397
  const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
60008
60398
  if (!parsed.ok) {
60009
60399
  return [parsed, { status: "invalid" }];
@@ -60114,9 +60504,9 @@ var init_sessionLabelsList2 = __esm(() => {
60114
60504
 
60115
60505
  // src/funcs/sessionsFullSummaryGetById.ts
60116
60506
  function sessionsFullSummaryGetById(client, request, options) {
60117
- return new APIPromise($do120(client, request, options));
60507
+ return new APIPromise($do123(client, request, options));
60118
60508
  }
60119
- async function $do120(client, request, options) {
60509
+ async function $do123(client, request, options) {
60120
60510
  const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60121
60511
  if (!parsed.ok) {
60122
60512
  return [parsed, { status: "invalid" }];
@@ -60221,9 +60611,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
60221
60611
 
60222
60612
  // src/funcs/sessionsGenerateSessionRecordingUrls.ts
60223
60613
  function sessionsGenerateSessionRecordingUrls(client, request, options) {
60224
- return new APIPromise($do121(client, request, options));
60614
+ return new APIPromise($do124(client, request, options));
60225
60615
  }
60226
- async function $do121(client, request, options) {
60616
+ async function $do124(client, request, options) {
60227
60617
  const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
60228
60618
  if (!parsed.ok) {
60229
60619
  return [parsed, { status: "invalid" }];
@@ -60328,9 +60718,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
60328
60718
 
60329
60719
  // src/funcs/sessionsGetById.ts
60330
60720
  function sessionsGetById(client, request, options) {
60331
- return new APIPromise($do122(client, request, options));
60721
+ return new APIPromise($do125(client, request, options));
60332
60722
  }
60333
- async function $do122(client, request, options) {
60723
+ async function $do125(client, request, options) {
60334
60724
  const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60335
60725
  if (!parsed.ok) {
60336
60726
  return [parsed, { status: "invalid" }];
@@ -60435,9 +60825,9 @@ var init_sessionsGetById2 = __esm(() => {
60435
60825
 
60436
60826
  // src/funcs/sessionsLatencyGetById.ts
60437
60827
  function sessionsLatencyGetById(client, request, options) {
60438
- return new APIPromise($do123(client, request, options));
60828
+ return new APIPromise($do126(client, request, options));
60439
60829
  }
60440
- async function $do123(client, request, options) {
60830
+ async function $do126(client, request, options) {
60441
60831
  const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60442
60832
  if (!parsed.ok) {
60443
60833
  return [parsed, { status: "invalid" }];
@@ -60542,9 +60932,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
60542
60932
 
60543
60933
  // src/funcs/sessionsList.ts
60544
60934
  function sessionsList(client, request, options) {
60545
- return new APIPromise($do124(client, request, options));
60935
+ return new APIPromise($do127(client, request, options));
60546
60936
  }
60547
- async function $do124(client, request, options) {
60937
+ async function $do127(client, request, options) {
60548
60938
  const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
60549
60939
  if (!parsed.ok) {
60550
60940
  return [parsed, { status: "invalid" }];
@@ -60655,9 +61045,9 @@ var init_sessionsList2 = __esm(() => {
60655
61045
 
60656
61046
  // src/funcs/sessionsSessionRecordingStream.ts
60657
61047
  function sessionsSessionRecordingStream(client, request, options) {
60658
- return new APIPromise($do125(client, request, options));
61048
+ return new APIPromise($do128(client, request, options));
60659
61049
  }
60660
- async function $do125(client, request, options) {
61050
+ async function $do128(client, request, options) {
60661
61051
  const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
60662
61052
  if (!parsed.ok) {
60663
61053
  return [parsed, { status: "invalid" }];
@@ -60760,9 +61150,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
60760
61150
 
60761
61151
  // src/funcs/sessionsTranscriptGetById.ts
60762
61152
  function sessionsTranscriptGetById(client, request, options) {
60763
- return new APIPromise($do126(client, request, options));
61153
+ return new APIPromise($do129(client, request, options));
60764
61154
  }
60765
- async function $do126(client, request, options) {
61155
+ async function $do129(client, request, options) {
60766
61156
  const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60767
61157
  if (!parsed.ok) {
60768
61158
  return [parsed, { status: "invalid" }];
@@ -60867,9 +61257,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
60867
61257
 
60868
61258
  // src/funcs/takeoutsCreate.ts
60869
61259
  function takeoutsCreate(client, options) {
60870
- return new APIPromise($do127(client, options));
61260
+ return new APIPromise($do130(client, options));
60871
61261
  }
60872
- async function $do127(client, options) {
61262
+ async function $do130(client, options) {
60873
61263
  const path = pathToFunc("/api/v1/takeouts/create")();
60874
61264
  const headers = new Headers(compactMap({
60875
61265
  Accept: "application/json"
@@ -60949,9 +61339,9 @@ var init_takeoutsCreate2 = __esm(() => {
60949
61339
 
60950
61340
  // src/funcs/takeoutsTakeoutsGetByJobId.ts
60951
61341
  function takeoutsTakeoutsGetByJobId(client, request, options) {
60952
- return new APIPromise($do128(client, request, options));
61342
+ return new APIPromise($do131(client, request, options));
60953
61343
  }
60954
- async function $do128(client, request, options) {
61344
+ async function $do131(client, request, options) {
60955
61345
  const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
60956
61346
  if (!parsed.ok) {
60957
61347
  return [parsed, { status: "invalid" }];
@@ -61056,9 +61446,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
61056
61446
 
61057
61447
  // src/funcs/takeoutsTakeoutsGetFile.ts
61058
61448
  function takeoutsTakeoutsGetFile(client, request, options) {
61059
- return new APIPromise($do129(client, request, options));
61449
+ return new APIPromise($do132(client, request, options));
61060
61450
  }
61061
- async function $do129(client, request, options) {
61451
+ async function $do132(client, request, options) {
61062
61452
  const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
61063
61453
  if (!parsed.ok) {
61064
61454
  return [parsed, { status: "invalid" }];
@@ -61169,9 +61559,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
61169
61559
 
61170
61560
  // src/funcs/toolsCreate.ts
61171
61561
  function toolsCreate(client, request, options) {
61172
- return new APIPromise($do130(client, request, options));
61562
+ return new APIPromise($do133(client, request, options));
61173
61563
  }
61174
- async function $do130(client, request, options) {
61564
+ async function $do133(client, request, options) {
61175
61565
  const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
61176
61566
  if (!parsed.ok) {
61177
61567
  return [parsed, { status: "invalid" }];
@@ -61272,9 +61662,9 @@ Create a new tool`,
61272
61662
 
61273
61663
  // src/funcs/toolsDelete.ts
61274
61664
  function toolsDelete(client, request, options) {
61275
- return new APIPromise($do131(client, request, options));
61665
+ return new APIPromise($do134(client, request, options));
61276
61666
  }
61277
- async function $do131(client, request, options) {
61667
+ async function $do134(client, request, options) {
61278
61668
  const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
61279
61669
  if (!parsed.ok) {
61280
61670
  return [parsed, { status: "invalid" }];
@@ -61385,9 +61775,9 @@ Delete a tool.`,
61385
61775
 
61386
61776
  // src/funcs/toolsGetByName.ts
61387
61777
  function toolsGetByName(client, request, options) {
61388
- return new APIPromise($do132(client, request, options));
61778
+ return new APIPromise($do135(client, request, options));
61389
61779
  }
61390
- async function $do132(client, request, options) {
61780
+ async function $do135(client, request, options) {
61391
61781
  const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
61392
61782
  if (!parsed.ok) {
61393
61783
  return [parsed, { status: "invalid" }];
@@ -61494,9 +61884,9 @@ Get the details of a specific tool`,
61494
61884
 
61495
61885
  // src/funcs/toolsList.ts
61496
61886
  function toolsList(client, request, options) {
61497
- return new APIPromise($do133(client, request, options));
61887
+ return new APIPromise($do136(client, request, options));
61498
61888
  }
61499
- async function $do133(client, request, options) {
61889
+ async function $do136(client, request, options) {
61500
61890
  const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
61501
61891
  if (!parsed.ok) {
61502
61892
  return [parsed, { status: "invalid" }];
@@ -61609,9 +61999,9 @@ List the existing tools`,
61609
61999
 
61610
62000
  // src/funcs/toolsUpdate.ts
61611
62001
  function toolsUpdate(client, request, options) {
61612
- return new APIPromise($do134(client, request, options));
62002
+ return new APIPromise($do137(client, request, options));
61613
62003
  }
61614
- async function $do134(client, request, options) {
62004
+ async function $do137(client, request, options) {
61615
62005
  const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
61616
62006
  if (!parsed.ok) {
61617
62007
  return [parsed, { status: "invalid" }];
@@ -61712,9 +62102,9 @@ Update an existing tool`,
61712
62102
 
61713
62103
  // src/funcs/usersCreate.ts
61714
62104
  function usersCreate(client, request, options) {
61715
- return new APIPromise($do135(client, request, options));
62105
+ return new APIPromise($do138(client, request, options));
61716
62106
  }
61717
- async function $do135(client, request, options) {
62107
+ async function $do138(client, request, options) {
61718
62108
  const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
61719
62109
  if (!parsed.ok) {
61720
62110
  return [parsed, { status: "invalid" }];
@@ -61815,9 +62205,9 @@ Create a new user.`,
61815
62205
 
61816
62206
  // src/funcs/usersDelete.ts
61817
62207
  function usersDelete(client, request, options) {
61818
- return new APIPromise($do136(client, request, options));
62208
+ return new APIPromise($do139(client, request, options));
61819
62209
  }
61820
- async function $do136(client, request, options) {
62210
+ async function $do139(client, request, options) {
61821
62211
  const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
61822
62212
  if (!parsed.ok) {
61823
62213
  return [parsed, { status: "invalid" }];
@@ -61919,9 +62309,9 @@ Delete a user.`,
61919
62309
 
61920
62310
  // src/funcs/usersList.ts
61921
62311
  function usersList(client, request, options) {
61922
- return new APIPromise($do137(client, request, options));
62312
+ return new APIPromise($do140(client, request, options));
61923
62313
  }
61924
- async function $do137(client, request, options) {
62314
+ async function $do140(client, request, options) {
61925
62315
  const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
61926
62316
  if (!parsed.ok) {
61927
62317
  return [parsed, { status: "invalid" }];
@@ -62034,9 +62424,9 @@ List the existing users.`,
62034
62424
 
62035
62425
  // src/funcs/usersUpdate.ts
62036
62426
  function usersUpdate(client, request, options) {
62037
- return new APIPromise($do138(client, request, options));
62427
+ return new APIPromise($do141(client, request, options));
62038
62428
  }
62039
- async function $do138(client, request, options) {
62429
+ async function $do141(client, request, options) {
62040
62430
  const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
62041
62431
  if (!parsed.ok) {
62042
62432
  return [parsed, { status: "invalid" }];
@@ -62137,9 +62527,9 @@ Update an existing user.`,
62137
62527
 
62138
62528
  // src/funcs/usersUsersDeleteAccount.ts
62139
62529
  function usersUsersDeleteAccount(client, options) {
62140
- return new APIPromise($do139(client, options));
62530
+ return new APIPromise($do142(client, options));
62141
62531
  }
62142
- async function $do139(client, options) {
62532
+ async function $do142(client, options) {
62143
62533
  const path = pathToFunc("/api/v1/users/delete_account")();
62144
62534
  const headers = new Headers(compactMap({
62145
62535
  Accept: "application/json"
@@ -62222,9 +62612,9 @@ accounts.`,
62222
62612
 
62223
62613
  // src/funcs/usersUsersGetByEmail.ts
62224
62614
  function usersUsersGetByEmail(client, request, options) {
62225
- return new APIPromise($do140(client, request, options));
62615
+ return new APIPromise($do143(client, request, options));
62226
62616
  }
62227
- async function $do140(client, request, options) {
62617
+ async function $do143(client, request, options) {
62228
62618
  const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
62229
62619
  if (!parsed.ok) {
62230
62620
  return [parsed, { status: "invalid" }];
@@ -62331,9 +62721,9 @@ Fetch a given user.`,
62331
62721
 
62332
62722
  // src/funcs/usersUsersSendEmail.ts
62333
62723
  function usersUsersSendEmail(client, request, options) {
62334
- return new APIPromise($do141(client, request, options));
62724
+ return new APIPromise($do144(client, request, options));
62335
62725
  }
62336
- async function $do141(client, request, options) {
62726
+ async function $do144(client, request, options) {
62337
62727
  const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
62338
62728
  if (!parsed.ok) {
62339
62729
  return [parsed, { status: "invalid" }];
@@ -62446,7 +62836,7 @@ Send a welcome email to a user.`,
62446
62836
  function createMCPServer(deps) {
62447
62837
  const server = new McpServer({
62448
62838
  name: "SyllableSDK",
62449
- version: "1.0.1"
62839
+ version: "1.0.2-rc.1"
62450
62840
  });
62451
62841
  const client = new SyllableSDKCore({
62452
62842
  apiKeyHeader: deps.apiKeyHeader,
@@ -62497,6 +62887,9 @@ function createMCPServer(deps) {
62497
62887
  tool(tool$promptsDelete);
62498
62888
  tool(tool$promptsPromptsHistory);
62499
62889
  tool(tool$promptsPromptGetSupportedLlms);
62890
+ tool(tool$pronunciationsPronunciationsGet);
62891
+ tool(tool$pronunciationsPronunciationsGetMetadata);
62892
+ tool(tool$pronunciationsPronunciationsDownloadCsv);
62500
62893
  tool(tool$pronunciationsPronunciationsUploadCsv);
62501
62894
  tool(tool$rolesList);
62502
62895
  tool(tool$rolesCreate);
@@ -62710,6 +63103,9 @@ var init_server2 = __esm(() => {
62710
63103
  init_promptsPromptGetSupportedLlms2();
62711
63104
  init_promptsPromptsHistory2();
62712
63105
  init_promptsUpdate2();
63106
+ init_pronunciationsPronunciationsDownloadCsv2();
63107
+ init_pronunciationsPronunciationsGet2();
63108
+ init_pronunciationsPronunciationsGetMetadata2();
62713
63109
  init_pronunciationsPronunciationsUploadCsv2();
62714
63110
  init_rolesCreate2();
62715
63111
  init_rolesDelete2();
@@ -63944,7 +64340,7 @@ var routes = ln({
63944
64340
  var app = _e(routes, {
63945
64341
  name: "mcp",
63946
64342
  versionInfo: {
63947
- currentVersion: "1.0.1"
64343
+ currentVersion: "1.0.2-rc.1"
63948
64344
  }
63949
64345
  });
63950
64346
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -63952,5 +64348,5 @@ export {
63952
64348
  app
63953
64349
  };
63954
64350
 
63955
- //# debugId=57D396B68914CC1564756E2164756E21
64351
+ //# debugId=2F8EDF0654B51CF764756E2164756E21
63956
64352
  //# sourceMappingURL=mcp-server.js.map