syllable-sdk 1.0.1 → 1.0.2-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 (96) hide show
  1. package/README.md +8 -0
  2. package/bin/mcp-server.js +563 -84
  3. package/bin/mcp-server.js.map +20 -7
  4. package/docs/sdks/batches/README.md +4 -4
  5. package/docs/sdks/pronunciations/README.md +277 -1
  6. package/docs/sdks/workflows/README.md +8 -8
  7. package/examples/package-lock.json +1 -1
  8. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts +13 -0
  9. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  10. package/funcs/pronunciationsPronunciationsDeleteCsv.js +101 -0
  11. package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  12. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +13 -0
  13. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  14. package/funcs/pronunciationsPronunciationsDownloadCsv.js +101 -0
  15. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  16. package/funcs/pronunciationsPronunciationsGet.d.ts +14 -0
  17. package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -0
  18. package/funcs/pronunciationsPronunciationsGet.js +101 -0
  19. package/funcs/pronunciationsPronunciationsGet.js.map +1 -0
  20. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +14 -0
  21. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  22. package/funcs/pronunciationsPronunciationsGetMetadata.js +101 -0
  23. package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  24. package/jsr.json +1 -1
  25. package/lib/config.d.ts +3 -3
  26. package/lib/config.js +3 -3
  27. package/lib/config.js.map +1 -1
  28. package/mcp-server/mcp-server.js +1 -1
  29. package/mcp-server/mcp-server.js.map +1 -1
  30. package/mcp-server/server.d.ts.map +1 -1
  31. package/mcp-server/server.js +9 -1
  32. package/mcp-server/server.js.map +1 -1
  33. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
  34. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  35. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
  36. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  37. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts +3 -0
  38. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  39. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +23 -0
  40. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  41. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts +3 -0
  42. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts.map +1 -0
  43. package/mcp-server/tools/pronunciationsPronunciationsGet.js +24 -0
  44. package/mcp-server/tools/pronunciationsPronunciationsGet.js.map +1 -0
  45. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts +3 -0
  46. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  47. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js +24 -0
  48. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  49. package/models/components/dictionarymetadata.d.ts +36 -0
  50. package/models/components/dictionarymetadata.d.ts.map +1 -0
  51. package/models/components/dictionarymetadata.js +73 -0
  52. package/models/components/dictionarymetadata.js.map +1 -0
  53. package/models/components/index.d.ts +5 -0
  54. package/models/components/index.d.ts.map +1 -1
  55. package/models/components/index.js +5 -0
  56. package/models/components/index.js.map +1 -1
  57. package/models/components/matchtype.d.ts +31 -0
  58. package/models/components/matchtype.d.ts.map +1 -0
  59. package/models/components/matchtype.js +63 -0
  60. package/models/components/matchtype.js.map +1 -0
  61. package/models/components/pronunciationoverride.d.ts +73 -0
  62. package/models/components/pronunciationoverride.d.ts.map +1 -0
  63. package/models/components/pronunciationoverride.js +120 -0
  64. package/models/components/pronunciationoverride.js.map +1 -0
  65. package/models/components/pronunciationoverridesdictionary.d.ts +68 -0
  66. package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -0
  67. package/models/components/pronunciationoverridesdictionary.js +78 -0
  68. package/models/components/pronunciationoverridesdictionary.js.map +1 -0
  69. package/models/components/voicedisplayinfo.d.ts +34 -0
  70. package/models/components/voicedisplayinfo.d.ts.map +1 -0
  71. package/models/components/voicedisplayinfo.js +80 -0
  72. package/models/components/voicedisplayinfo.js.map +1 -0
  73. package/openapi.json +301 -33
  74. package/package.json +1 -1
  75. package/sdk/pronunciations.d.ts +16 -0
  76. package/sdk/pronunciations.d.ts.map +1 -1
  77. package/sdk/pronunciations.js +28 -0
  78. package/sdk/pronunciations.js.map +1 -1
  79. package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
  80. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +139 -0
  81. package/src/funcs/pronunciationsPronunciationsGet.ts +139 -0
  82. package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +139 -0
  83. package/src/lib/config.ts +3 -3
  84. package/src/mcp-server/mcp-server.ts +1 -1
  85. package/src/mcp-server/server.ts +9 -1
  86. package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
  87. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +26 -0
  88. package/src/mcp-server/tools/pronunciationsPronunciationsGet.ts +28 -0
  89. package/src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts +28 -0
  90. package/src/models/components/dictionarymetadata.ts +77 -0
  91. package/src/models/components/index.ts +5 -0
  92. package/src/models/components/matchtype.ts +36 -0
  93. package/src/models/components/pronunciationoverride.ts +166 -0
  94. package/src/models/components/pronunciationoverridesdictionary.ts +124 -0
  95. package/src/models/components/voicedisplayinfo.ts +82 -0
  96. package/src/sdk/pronunciations.ts +52 -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.2",
34418
+ genVersion: "2.723.8",
34419
+ userAgent: "speakeasy-sdk/typescript 1.0.2-rc.2 2.723.8 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,337 @@ Update an existing prompt`,
58270
58415
  };
58271
58416
  });
58272
58417
 
58418
+ // src/funcs/pronunciationsPronunciationsDeleteCsv.ts
58419
+ function pronunciationsPronunciationsDeleteCsv(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_delete_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: "DELETE",
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(204, 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_pronunciationsPronunciationsDeleteCsv = __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/pronunciationsPronunciationsDeleteCsv.ts
58479
+ var tool$pronunciationsPronunciationsDeleteCsv;
58480
+ var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
58481
+ init_pronunciationsPronunciationsDeleteCsv();
58482
+ init_tools();
58483
+ tool$pronunciationsPronunciationsDeleteCsv = {
58484
+ name: "pronunciations-pronunciations-delete-csv",
58485
+ description: `Delete Pronunciations Dictionary`,
58486
+ tool: async (client, ctx) => {
58487
+ const [result, apiCall] = await pronunciationsPronunciationsDeleteCsv(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/pronunciationsPronunciationsDownloadCsv.ts
58500
+ function pronunciationsPronunciationsDownloadCsv(client, options) {
58501
+ return new APIPromise($do104(client, options));
58502
+ }
58503
+ async function $do104(client, options) {
58504
+ const path = pathToFunc("/api/v1/pronunciations/csv")();
58505
+ const headers = new Headers(compactMap({
58506
+ Accept: "*/*"
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_download_csv",
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(nil(200, voidType()), 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_pronunciationsPronunciationsDownloadCsv = __esm(() => {
58551
+ init_zod();
58552
+ init_matchers();
58553
+ init_primitives();
58554
+ init_security();
58555
+ init_url();
58556
+ init_async();
58557
+ });
58558
+
58559
+ // src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts
58560
+ var tool$pronunciationsPronunciationsDownloadCsv;
58561
+ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
58562
+ init_pronunciationsPronunciationsDownloadCsv();
58563
+ init_tools();
58564
+ tool$pronunciationsPronunciationsDownloadCsv = {
58565
+ name: "pronunciations-pronunciations-download-csv",
58566
+ description: `Download Pronunciations Csv`,
58567
+ tool: async (client, ctx) => {
58568
+ const [result, apiCall] = await pronunciationsPronunciationsDownloadCsv(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
+ return formatResult(undefined, apiCall);
58576
+ }
58577
+ };
58578
+ });
58579
+
58580
+ // src/funcs/pronunciationsPronunciationsGet.ts
58581
+ function pronunciationsPronunciationsGet(client, options) {
58582
+ return new APIPromise($do105(client, options));
58583
+ }
58584
+ async function $do105(client, options) {
58585
+ const path = pathToFunc("/api/v1/pronunciations")();
58586
+ const headers = new Headers(compactMap({
58587
+ Accept: "application/json"
58588
+ }));
58589
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58590
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58591
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58592
+ const context = {
58593
+ options: client._options,
58594
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58595
+ operationID: "pronunciations_get",
58596
+ oAuth2Scopes: null,
58597
+ resolvedSecurity: requestSecurity,
58598
+ securitySource: client._options.apiKeyHeader,
58599
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58600
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58601
+ };
58602
+ const requestRes = client._createRequest(context, {
58603
+ security: requestSecurity,
58604
+ method: "GET",
58605
+ baseURL: options?.serverURL,
58606
+ path,
58607
+ headers,
58608
+ userAgent: client._options.userAgent,
58609
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58610
+ }, options);
58611
+ if (!requestRes.ok) {
58612
+ return [requestRes, { status: "invalid" }];
58613
+ }
58614
+ const req = requestRes.value;
58615
+ const doResult = await client._do(req, {
58616
+ context,
58617
+ errorCodes: ["4XX", "5XX"],
58618
+ retryConfig: context.retryConfig,
58619
+ retryCodes: context.retryCodes
58620
+ });
58621
+ if (!doResult.ok) {
58622
+ return [doResult, { status: "request-error", request: req }];
58623
+ }
58624
+ const response = doResult.value;
58625
+ const [result] = await match(json(200, PronunciationOverridesDictionary$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
58626
+ if (!result.ok) {
58627
+ return [result, { status: "complete", request: req, response }];
58628
+ }
58629
+ return [result, { status: "complete", request: req, response }];
58630
+ }
58631
+ var init_pronunciationsPronunciationsGet = __esm(() => {
58632
+ init_matchers();
58633
+ init_primitives();
58634
+ init_security();
58635
+ init_url();
58636
+ init_components();
58637
+ init_async();
58638
+ });
58639
+
58640
+ // src/mcp-server/tools/pronunciationsPronunciationsGet.ts
58641
+ var tool$pronunciationsPronunciationsGet;
58642
+ var init_pronunciationsPronunciationsGet2 = __esm(() => {
58643
+ init_pronunciationsPronunciationsGet();
58644
+ init_tools();
58645
+ tool$pronunciationsPronunciationsGet = {
58646
+ name: "pronunciations-pronunciations-get",
58647
+ description: `Get Pronunciations Dictionary`,
58648
+ tool: async (client, ctx) => {
58649
+ const [result, apiCall] = await pronunciationsPronunciationsGet(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58650
+ if (!result.ok) {
58651
+ return {
58652
+ content: [{ type: "text", text: result.error.message }],
58653
+ isError: true
58654
+ };
58655
+ }
58656
+ const value = result.value;
58657
+ return formatResult(value, apiCall);
58658
+ }
58659
+ };
58660
+ });
58661
+
58662
+ // src/funcs/pronunciationsPronunciationsGetMetadata.ts
58663
+ function pronunciationsPronunciationsGetMetadata(client, options) {
58664
+ return new APIPromise($do106(client, options));
58665
+ }
58666
+ async function $do106(client, options) {
58667
+ const path = pathToFunc("/api/v1/pronunciations/metadata")();
58668
+ const headers = new Headers(compactMap({
58669
+ Accept: "application/json"
58670
+ }));
58671
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58672
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58673
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58674
+ const context = {
58675
+ options: client._options,
58676
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58677
+ operationID: "pronunciations_get_metadata",
58678
+ oAuth2Scopes: null,
58679
+ resolvedSecurity: requestSecurity,
58680
+ securitySource: client._options.apiKeyHeader,
58681
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58682
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58683
+ };
58684
+ const requestRes = client._createRequest(context, {
58685
+ security: requestSecurity,
58686
+ method: "GET",
58687
+ baseURL: options?.serverURL,
58688
+ path,
58689
+ headers,
58690
+ userAgent: client._options.userAgent,
58691
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58692
+ }, options);
58693
+ if (!requestRes.ok) {
58694
+ return [requestRes, { status: "invalid" }];
58695
+ }
58696
+ const req = requestRes.value;
58697
+ const doResult = await client._do(req, {
58698
+ context,
58699
+ errorCodes: ["4XX", "5XX"],
58700
+ retryConfig: context.retryConfig,
58701
+ retryCodes: context.retryCodes
58702
+ });
58703
+ if (!doResult.ok) {
58704
+ return [doResult, { status: "request-error", request: req }];
58705
+ }
58706
+ const response = doResult.value;
58707
+ const [result] = await match(json(200, DictionaryMetadata$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
58708
+ if (!result.ok) {
58709
+ return [result, { status: "complete", request: req, response }];
58710
+ }
58711
+ return [result, { status: "complete", request: req, response }];
58712
+ }
58713
+ var init_pronunciationsPronunciationsGetMetadata = __esm(() => {
58714
+ init_matchers();
58715
+ init_primitives();
58716
+ init_security();
58717
+ init_url();
58718
+ init_components();
58719
+ init_async();
58720
+ });
58721
+
58722
+ // src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts
58723
+ var tool$pronunciationsPronunciationsGetMetadata;
58724
+ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
58725
+ init_pronunciationsPronunciationsGetMetadata();
58726
+ init_tools();
58727
+ tool$pronunciationsPronunciationsGetMetadata = {
58728
+ name: "pronunciations-pronunciations-get-metadata",
58729
+ description: `Get Pronunciations Metadata`,
58730
+ tool: async (client, ctx) => {
58731
+ const [result, apiCall] = await pronunciationsPronunciationsGetMetadata(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58732
+ if (!result.ok) {
58733
+ return {
58734
+ content: [{ type: "text", text: result.error.message }],
58735
+ isError: true
58736
+ };
58737
+ }
58738
+ const value = result.value;
58739
+ return formatResult(value, apiCall);
58740
+ }
58741
+ };
58742
+ });
58743
+
58273
58744
  // src/funcs/pronunciationsPronunciationsUploadCsv.ts
58274
58745
  function pronunciationsPronunciationsUploadCsv(client, request, options) {
58275
- return new APIPromise($do103(client, request, options));
58746
+ return new APIPromise($do107(client, request, options));
58276
58747
  }
58277
- async function $do103(client, request, options) {
58748
+ async function $do107(client, request, options) {
58278
58749
  const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
58279
58750
  if (!parsed.ok) {
58280
58751
  return [parsed, { status: "invalid" }];
@@ -58384,9 +58855,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
58384
58855
 
58385
58856
  // src/funcs/rolesCreate.ts
58386
58857
  function rolesCreate(client, request, options) {
58387
- return new APIPromise($do104(client, request, options));
58858
+ return new APIPromise($do108(client, request, options));
58388
58859
  }
58389
- async function $do104(client, request, options) {
58860
+ async function $do108(client, request, options) {
58390
58861
  const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
58391
58862
  if (!parsed.ok) {
58392
58863
  return [parsed, { status: "invalid" }];
@@ -58487,9 +58958,9 @@ Create a new role.`,
58487
58958
 
58488
58959
  // src/funcs/rolesDelete.ts
58489
58960
  function rolesDelete(client, request, options) {
58490
- return new APIPromise($do105(client, request, options));
58961
+ return new APIPromise($do109(client, request, options));
58491
58962
  }
58492
- async function $do105(client, request, options) {
58963
+ async function $do109(client, request, options) {
58493
58964
  const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
58494
58965
  if (!parsed.ok) {
58495
58966
  return [parsed, { status: "invalid" }];
@@ -58601,9 +59072,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
58601
59072
 
58602
59073
  // src/funcs/rolesGetById.ts
58603
59074
  function rolesGetById(client, request, options) {
58604
- return new APIPromise($do106(client, request, options));
59075
+ return new APIPromise($do110(client, request, options));
58605
59076
  }
58606
- async function $do106(client, request, options) {
59077
+ async function $do110(client, request, options) {
58607
59078
  const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
58608
59079
  if (!parsed.ok) {
58609
59080
  return [parsed, { status: "invalid" }];
@@ -58710,9 +59181,9 @@ Fetch a given role.`,
58710
59181
 
58711
59182
  // src/funcs/rolesList.ts
58712
59183
  function rolesList(client, request, options) {
58713
- return new APIPromise($do107(client, request, options));
59184
+ return new APIPromise($do111(client, request, options));
58714
59185
  }
58715
- async function $do107(client, request, options) {
59186
+ async function $do111(client, request, options) {
58716
59187
  const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
58717
59188
  if (!parsed.ok) {
58718
59189
  return [parsed, { status: "invalid" }];
@@ -58825,9 +59296,9 @@ List the existing roles.`,
58825
59296
 
58826
59297
  // src/funcs/rolesUpdate.ts
58827
59298
  function rolesUpdate(client, request, options) {
58828
- return new APIPromise($do108(client, request, options));
59299
+ return new APIPromise($do112(client, request, options));
58829
59300
  }
58830
- async function $do108(client, request, options) {
59301
+ async function $do112(client, request, options) {
58831
59302
  const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
58832
59303
  if (!parsed.ok) {
58833
59304
  return [parsed, { status: "invalid" }];
@@ -58928,9 +59399,9 @@ Update an existing role.`,
58928
59399
 
58929
59400
  // src/funcs/servicesCreate.ts
58930
59401
  function servicesCreate(client, request, options) {
58931
- return new APIPromise($do109(client, request, options));
59402
+ return new APIPromise($do113(client, request, options));
58932
59403
  }
58933
- async function $do109(client, request, options) {
59404
+ async function $do113(client, request, options) {
58934
59405
  const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
58935
59406
  if (!parsed.ok) {
58936
59407
  return [parsed, { status: "invalid" }];
@@ -59031,9 +59502,9 @@ Create a new service.`,
59031
59502
 
59032
59503
  // src/funcs/servicesDelete.ts
59033
59504
  function servicesDelete(client, request, options) {
59034
- return new APIPromise($do110(client, request, options));
59505
+ return new APIPromise($do114(client, request, options));
59035
59506
  }
59036
- async function $do110(client, request, options) {
59507
+ async function $do114(client, request, options) {
59037
59508
  const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
59038
59509
  if (!parsed.ok) {
59039
59510
  return [parsed, { status: "invalid" }];
@@ -59144,9 +59615,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
59144
59615
 
59145
59616
  // src/funcs/servicesGetById.ts
59146
59617
  function servicesGetById(client, request, options) {
59147
- return new APIPromise($do111(client, request, options));
59618
+ return new APIPromise($do115(client, request, options));
59148
59619
  }
59149
- async function $do111(client, request, options) {
59620
+ async function $do115(client, request, options) {
59150
59621
  const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
59151
59622
  if (!parsed.ok) {
59152
59623
  return [parsed, { status: "invalid" }];
@@ -59253,9 +59724,9 @@ Get a service by its ID`,
59253
59724
 
59254
59725
  // src/funcs/servicesList.ts
59255
59726
  function servicesList(client, request, options) {
59256
- return new APIPromise($do112(client, request, options));
59727
+ return new APIPromise($do116(client, request, options));
59257
59728
  }
59258
- async function $do112(client, request, options) {
59729
+ async function $do116(client, request, options) {
59259
59730
  const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
59260
59731
  if (!parsed.ok) {
59261
59732
  return [parsed, { status: "invalid" }];
@@ -59368,9 +59839,9 @@ List the existing services`,
59368
59839
 
59369
59840
  // src/funcs/servicesUpdate.ts
59370
59841
  function servicesUpdate(client, request, options) {
59371
- return new APIPromise($do113(client, request, options));
59842
+ return new APIPromise($do117(client, request, options));
59372
59843
  }
59373
- async function $do113(client, request, options) {
59844
+ async function $do117(client, request, options) {
59374
59845
  const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
59375
59846
  if (!parsed.ok) {
59376
59847
  return [parsed, { status: "invalid" }];
@@ -59471,9 +59942,9 @@ Update an existing service.`,
59471
59942
 
59472
59943
  // src/funcs/sessionDebugGetSessionDataBySessionId.ts
59473
59944
  function sessionDebugGetSessionDataBySessionId(client, request, options) {
59474
- return new APIPromise($do114(client, request, options));
59945
+ return new APIPromise($do118(client, request, options));
59475
59946
  }
59476
- async function $do114(client, request, options) {
59947
+ async function $do118(client, request, options) {
59477
59948
  const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
59478
59949
  if (!parsed.ok) {
59479
59950
  return [parsed, { status: "invalid" }];
@@ -59578,9 +60049,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
59578
60049
 
59579
60050
  // src/funcs/sessionDebugGetSessionDataBySid.ts
59580
60051
  function sessionDebugGetSessionDataBySid(client, request, options) {
59581
- return new APIPromise($do115(client, request, options));
60052
+ return new APIPromise($do119(client, request, options));
59582
60053
  }
59583
- async function $do115(client, request, options) {
60054
+ async function $do119(client, request, options) {
59584
60055
  const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
59585
60056
  if (!parsed.ok) {
59586
60057
  return [parsed, { status: "invalid" }];
@@ -59683,9 +60154,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
59683
60154
 
59684
60155
  // src/funcs/sessionDebugGetSessionToolCallResultById.ts
59685
60156
  function sessionDebugGetSessionToolCallResultById(client, request, options) {
59686
- return new APIPromise($do116(client, request, options));
60157
+ return new APIPromise($do120(client, request, options));
59687
60158
  }
59688
- async function $do116(client, request, options) {
60159
+ async function $do120(client, request, options) {
59689
60160
  const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
59690
60161
  if (!parsed.ok) {
59691
60162
  return [parsed, { status: "invalid" }];
@@ -59794,9 +60265,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
59794
60265
 
59795
60266
  // src/funcs/sessionLabelsCreate.ts
59796
60267
  function sessionLabelsCreate(client, request, options) {
59797
- return new APIPromise($do117(client, request, options));
60268
+ return new APIPromise($do121(client, request, options));
59798
60269
  }
59799
- async function $do117(client, request, options) {
60270
+ async function $do121(client, request, options) {
59800
60271
  const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
59801
60272
  if (!parsed.ok) {
59802
60273
  return [parsed, { status: "invalid" }];
@@ -59897,9 +60368,9 @@ Create a new label`,
59897
60368
 
59898
60369
  // src/funcs/sessionLabelsGetById.ts
59899
60370
  function sessionLabelsGetById(client, request, options) {
59900
- return new APIPromise($do118(client, request, options));
60371
+ return new APIPromise($do122(client, request, options));
59901
60372
  }
59902
- async function $do118(client, request, options) {
60373
+ async function $do122(client, request, options) {
59903
60374
  const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
59904
60375
  if (!parsed.ok) {
59905
60376
  return [parsed, { status: "invalid" }];
@@ -60001,9 +60472,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
60001
60472
 
60002
60473
  // src/funcs/sessionLabelsList.ts
60003
60474
  function sessionLabelsList(client, request, options) {
60004
- return new APIPromise($do119(client, request, options));
60475
+ return new APIPromise($do123(client, request, options));
60005
60476
  }
60006
- async function $do119(client, request, options) {
60477
+ async function $do123(client, request, options) {
60007
60478
  const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
60008
60479
  if (!parsed.ok) {
60009
60480
  return [parsed, { status: "invalid" }];
@@ -60114,9 +60585,9 @@ var init_sessionLabelsList2 = __esm(() => {
60114
60585
 
60115
60586
  // src/funcs/sessionsFullSummaryGetById.ts
60116
60587
  function sessionsFullSummaryGetById(client, request, options) {
60117
- return new APIPromise($do120(client, request, options));
60588
+ return new APIPromise($do124(client, request, options));
60118
60589
  }
60119
- async function $do120(client, request, options) {
60590
+ async function $do124(client, request, options) {
60120
60591
  const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60121
60592
  if (!parsed.ok) {
60122
60593
  return [parsed, { status: "invalid" }];
@@ -60221,9 +60692,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
60221
60692
 
60222
60693
  // src/funcs/sessionsGenerateSessionRecordingUrls.ts
60223
60694
  function sessionsGenerateSessionRecordingUrls(client, request, options) {
60224
- return new APIPromise($do121(client, request, options));
60695
+ return new APIPromise($do125(client, request, options));
60225
60696
  }
60226
- async function $do121(client, request, options) {
60697
+ async function $do125(client, request, options) {
60227
60698
  const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
60228
60699
  if (!parsed.ok) {
60229
60700
  return [parsed, { status: "invalid" }];
@@ -60328,9 +60799,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
60328
60799
 
60329
60800
  // src/funcs/sessionsGetById.ts
60330
60801
  function sessionsGetById(client, request, options) {
60331
- return new APIPromise($do122(client, request, options));
60802
+ return new APIPromise($do126(client, request, options));
60332
60803
  }
60333
- async function $do122(client, request, options) {
60804
+ async function $do126(client, request, options) {
60334
60805
  const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60335
60806
  if (!parsed.ok) {
60336
60807
  return [parsed, { status: "invalid" }];
@@ -60435,9 +60906,9 @@ var init_sessionsGetById2 = __esm(() => {
60435
60906
 
60436
60907
  // src/funcs/sessionsLatencyGetById.ts
60437
60908
  function sessionsLatencyGetById(client, request, options) {
60438
- return new APIPromise($do123(client, request, options));
60909
+ return new APIPromise($do127(client, request, options));
60439
60910
  }
60440
- async function $do123(client, request, options) {
60911
+ async function $do127(client, request, options) {
60441
60912
  const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60442
60913
  if (!parsed.ok) {
60443
60914
  return [parsed, { status: "invalid" }];
@@ -60542,9 +61013,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
60542
61013
 
60543
61014
  // src/funcs/sessionsList.ts
60544
61015
  function sessionsList(client, request, options) {
60545
- return new APIPromise($do124(client, request, options));
61016
+ return new APIPromise($do128(client, request, options));
60546
61017
  }
60547
- async function $do124(client, request, options) {
61018
+ async function $do128(client, request, options) {
60548
61019
  const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
60549
61020
  if (!parsed.ok) {
60550
61021
  return [parsed, { status: "invalid" }];
@@ -60655,9 +61126,9 @@ var init_sessionsList2 = __esm(() => {
60655
61126
 
60656
61127
  // src/funcs/sessionsSessionRecordingStream.ts
60657
61128
  function sessionsSessionRecordingStream(client, request, options) {
60658
- return new APIPromise($do125(client, request, options));
61129
+ return new APIPromise($do129(client, request, options));
60659
61130
  }
60660
- async function $do125(client, request, options) {
61131
+ async function $do129(client, request, options) {
60661
61132
  const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
60662
61133
  if (!parsed.ok) {
60663
61134
  return [parsed, { status: "invalid" }];
@@ -60760,9 +61231,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
60760
61231
 
60761
61232
  // src/funcs/sessionsTranscriptGetById.ts
60762
61233
  function sessionsTranscriptGetById(client, request, options) {
60763
- return new APIPromise($do126(client, request, options));
61234
+ return new APIPromise($do130(client, request, options));
60764
61235
  }
60765
- async function $do126(client, request, options) {
61236
+ async function $do130(client, request, options) {
60766
61237
  const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60767
61238
  if (!parsed.ok) {
60768
61239
  return [parsed, { status: "invalid" }];
@@ -60867,9 +61338,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
60867
61338
 
60868
61339
  // src/funcs/takeoutsCreate.ts
60869
61340
  function takeoutsCreate(client, options) {
60870
- return new APIPromise($do127(client, options));
61341
+ return new APIPromise($do131(client, options));
60871
61342
  }
60872
- async function $do127(client, options) {
61343
+ async function $do131(client, options) {
60873
61344
  const path = pathToFunc("/api/v1/takeouts/create")();
60874
61345
  const headers = new Headers(compactMap({
60875
61346
  Accept: "application/json"
@@ -60949,9 +61420,9 @@ var init_takeoutsCreate2 = __esm(() => {
60949
61420
 
60950
61421
  // src/funcs/takeoutsTakeoutsGetByJobId.ts
60951
61422
  function takeoutsTakeoutsGetByJobId(client, request, options) {
60952
- return new APIPromise($do128(client, request, options));
61423
+ return new APIPromise($do132(client, request, options));
60953
61424
  }
60954
- async function $do128(client, request, options) {
61425
+ async function $do132(client, request, options) {
60955
61426
  const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
60956
61427
  if (!parsed.ok) {
60957
61428
  return [parsed, { status: "invalid" }];
@@ -61056,9 +61527,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
61056
61527
 
61057
61528
  // src/funcs/takeoutsTakeoutsGetFile.ts
61058
61529
  function takeoutsTakeoutsGetFile(client, request, options) {
61059
- return new APIPromise($do129(client, request, options));
61530
+ return new APIPromise($do133(client, request, options));
61060
61531
  }
61061
- async function $do129(client, request, options) {
61532
+ async function $do133(client, request, options) {
61062
61533
  const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
61063
61534
  if (!parsed.ok) {
61064
61535
  return [parsed, { status: "invalid" }];
@@ -61169,9 +61640,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
61169
61640
 
61170
61641
  // src/funcs/toolsCreate.ts
61171
61642
  function toolsCreate(client, request, options) {
61172
- return new APIPromise($do130(client, request, options));
61643
+ return new APIPromise($do134(client, request, options));
61173
61644
  }
61174
- async function $do130(client, request, options) {
61645
+ async function $do134(client, request, options) {
61175
61646
  const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
61176
61647
  if (!parsed.ok) {
61177
61648
  return [parsed, { status: "invalid" }];
@@ -61272,9 +61743,9 @@ Create a new tool`,
61272
61743
 
61273
61744
  // src/funcs/toolsDelete.ts
61274
61745
  function toolsDelete(client, request, options) {
61275
- return new APIPromise($do131(client, request, options));
61746
+ return new APIPromise($do135(client, request, options));
61276
61747
  }
61277
- async function $do131(client, request, options) {
61748
+ async function $do135(client, request, options) {
61278
61749
  const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
61279
61750
  if (!parsed.ok) {
61280
61751
  return [parsed, { status: "invalid" }];
@@ -61385,9 +61856,9 @@ Delete a tool.`,
61385
61856
 
61386
61857
  // src/funcs/toolsGetByName.ts
61387
61858
  function toolsGetByName(client, request, options) {
61388
- return new APIPromise($do132(client, request, options));
61859
+ return new APIPromise($do136(client, request, options));
61389
61860
  }
61390
- async function $do132(client, request, options) {
61861
+ async function $do136(client, request, options) {
61391
61862
  const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
61392
61863
  if (!parsed.ok) {
61393
61864
  return [parsed, { status: "invalid" }];
@@ -61494,9 +61965,9 @@ Get the details of a specific tool`,
61494
61965
 
61495
61966
  // src/funcs/toolsList.ts
61496
61967
  function toolsList(client, request, options) {
61497
- return new APIPromise($do133(client, request, options));
61968
+ return new APIPromise($do137(client, request, options));
61498
61969
  }
61499
- async function $do133(client, request, options) {
61970
+ async function $do137(client, request, options) {
61500
61971
  const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
61501
61972
  if (!parsed.ok) {
61502
61973
  return [parsed, { status: "invalid" }];
@@ -61609,9 +62080,9 @@ List the existing tools`,
61609
62080
 
61610
62081
  // src/funcs/toolsUpdate.ts
61611
62082
  function toolsUpdate(client, request, options) {
61612
- return new APIPromise($do134(client, request, options));
62083
+ return new APIPromise($do138(client, request, options));
61613
62084
  }
61614
- async function $do134(client, request, options) {
62085
+ async function $do138(client, request, options) {
61615
62086
  const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
61616
62087
  if (!parsed.ok) {
61617
62088
  return [parsed, { status: "invalid" }];
@@ -61712,9 +62183,9 @@ Update an existing tool`,
61712
62183
 
61713
62184
  // src/funcs/usersCreate.ts
61714
62185
  function usersCreate(client, request, options) {
61715
- return new APIPromise($do135(client, request, options));
62186
+ return new APIPromise($do139(client, request, options));
61716
62187
  }
61717
- async function $do135(client, request, options) {
62188
+ async function $do139(client, request, options) {
61718
62189
  const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
61719
62190
  if (!parsed.ok) {
61720
62191
  return [parsed, { status: "invalid" }];
@@ -61815,9 +62286,9 @@ Create a new user.`,
61815
62286
 
61816
62287
  // src/funcs/usersDelete.ts
61817
62288
  function usersDelete(client, request, options) {
61818
- return new APIPromise($do136(client, request, options));
62289
+ return new APIPromise($do140(client, request, options));
61819
62290
  }
61820
- async function $do136(client, request, options) {
62291
+ async function $do140(client, request, options) {
61821
62292
  const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
61822
62293
  if (!parsed.ok) {
61823
62294
  return [parsed, { status: "invalid" }];
@@ -61919,9 +62390,9 @@ Delete a user.`,
61919
62390
 
61920
62391
  // src/funcs/usersList.ts
61921
62392
  function usersList(client, request, options) {
61922
- return new APIPromise($do137(client, request, options));
62393
+ return new APIPromise($do141(client, request, options));
61923
62394
  }
61924
- async function $do137(client, request, options) {
62395
+ async function $do141(client, request, options) {
61925
62396
  const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
61926
62397
  if (!parsed.ok) {
61927
62398
  return [parsed, { status: "invalid" }];
@@ -62034,9 +62505,9 @@ List the existing users.`,
62034
62505
 
62035
62506
  // src/funcs/usersUpdate.ts
62036
62507
  function usersUpdate(client, request, options) {
62037
- return new APIPromise($do138(client, request, options));
62508
+ return new APIPromise($do142(client, request, options));
62038
62509
  }
62039
- async function $do138(client, request, options) {
62510
+ async function $do142(client, request, options) {
62040
62511
  const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
62041
62512
  if (!parsed.ok) {
62042
62513
  return [parsed, { status: "invalid" }];
@@ -62137,9 +62608,9 @@ Update an existing user.`,
62137
62608
 
62138
62609
  // src/funcs/usersUsersDeleteAccount.ts
62139
62610
  function usersUsersDeleteAccount(client, options) {
62140
- return new APIPromise($do139(client, options));
62611
+ return new APIPromise($do143(client, options));
62141
62612
  }
62142
- async function $do139(client, options) {
62613
+ async function $do143(client, options) {
62143
62614
  const path = pathToFunc("/api/v1/users/delete_account")();
62144
62615
  const headers = new Headers(compactMap({
62145
62616
  Accept: "application/json"
@@ -62222,9 +62693,9 @@ accounts.`,
62222
62693
 
62223
62694
  // src/funcs/usersUsersGetByEmail.ts
62224
62695
  function usersUsersGetByEmail(client, request, options) {
62225
- return new APIPromise($do140(client, request, options));
62696
+ return new APIPromise($do144(client, request, options));
62226
62697
  }
62227
- async function $do140(client, request, options) {
62698
+ async function $do144(client, request, options) {
62228
62699
  const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
62229
62700
  if (!parsed.ok) {
62230
62701
  return [parsed, { status: "invalid" }];
@@ -62331,9 +62802,9 @@ Fetch a given user.`,
62331
62802
 
62332
62803
  // src/funcs/usersUsersSendEmail.ts
62333
62804
  function usersUsersSendEmail(client, request, options) {
62334
- return new APIPromise($do141(client, request, options));
62805
+ return new APIPromise($do145(client, request, options));
62335
62806
  }
62336
- async function $do141(client, request, options) {
62807
+ async function $do145(client, request, options) {
62337
62808
  const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
62338
62809
  if (!parsed.ok) {
62339
62810
  return [parsed, { status: "invalid" }];
@@ -62446,7 +62917,7 @@ Send a welcome email to a user.`,
62446
62917
  function createMCPServer(deps) {
62447
62918
  const server = new McpServer({
62448
62919
  name: "SyllableSDK",
62449
- version: "1.0.1"
62920
+ version: "1.0.2-rc.2"
62450
62921
  });
62451
62922
  const client = new SyllableSDKCore({
62452
62923
  apiKeyHeader: deps.apiKeyHeader,
@@ -62497,7 +62968,11 @@ function createMCPServer(deps) {
62497
62968
  tool(tool$promptsDelete);
62498
62969
  tool(tool$promptsPromptsHistory);
62499
62970
  tool(tool$promptsPromptGetSupportedLlms);
62971
+ tool(tool$pronunciationsPronunciationsGet);
62972
+ tool(tool$pronunciationsPronunciationsGetMetadata);
62973
+ tool(tool$pronunciationsPronunciationsDownloadCsv);
62500
62974
  tool(tool$pronunciationsPronunciationsUploadCsv);
62975
+ tool(tool$pronunciationsPronunciationsDeleteCsv);
62501
62976
  tool(tool$rolesList);
62502
62977
  tool(tool$rolesCreate);
62503
62978
  tool(tool$rolesUpdate);
@@ -62710,6 +63185,10 @@ var init_server2 = __esm(() => {
62710
63185
  init_promptsPromptGetSupportedLlms2();
62711
63186
  init_promptsPromptsHistory2();
62712
63187
  init_promptsUpdate2();
63188
+ init_pronunciationsPronunciationsDeleteCsv2();
63189
+ init_pronunciationsPronunciationsDownloadCsv2();
63190
+ init_pronunciationsPronunciationsGet2();
63191
+ init_pronunciationsPronunciationsGetMetadata2();
62713
63192
  init_pronunciationsPronunciationsUploadCsv2();
62714
63193
  init_rolesCreate2();
62715
63194
  init_rolesDelete2();
@@ -63944,7 +64423,7 @@ var routes = ln({
63944
64423
  var app = _e(routes, {
63945
64424
  name: "mcp",
63946
64425
  versionInfo: {
63947
- currentVersion: "1.0.1"
64426
+ currentVersion: "1.0.2-rc.2"
63948
64427
  }
63949
64428
  });
63950
64429
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -63952,5 +64431,5 @@ export {
63952
64431
  app
63953
64432
  };
63954
64433
 
63955
- //# debugId=57D396B68914CC1564756E2164756E21
64434
+ //# debugId=EE07EAB14F82CD9664756E2164756E21
63956
64435
  //# sourceMappingURL=mcp-server.js.map