syllable-sdk 1.0.2-rc.7 → 1.0.2-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/mcp-server.js CHANGED
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
34414
34414
  SDK_METADATA = {
34415
34415
  language: "typescript",
34416
34416
  openapiDocVersion: "0.0.2",
34417
- sdkVersion: "1.0.2-rc.7",
34417
+ sdkVersion: "1.0.2-rc.8",
34418
34418
  genVersion: "2.723.11",
34419
- userAgent: "speakeasy-sdk/typescript 1.0.2-rc.7 2.723.11 0.0.2 syllable-sdk"
34419
+ userAgent: "speakeasy-sdk/typescript 1.0.2-rc.8 2.723.11 0.0.2 syllable-sdk"
34420
34420
  };
34421
34421
  });
34422
34422
 
@@ -39148,12 +39148,12 @@ var init_dictionarymetadata = __esm(() => {
39148
39148
  DictionaryMetadata$inboundSchema = objectType({
39149
39149
  entries: numberType().int(),
39150
39150
  hash: stringType(),
39151
- source: nullableType(stringType()).optional()
39151
+ source: stringType().default("")
39152
39152
  });
39153
39153
  DictionaryMetadata$outboundSchema = objectType({
39154
39154
  entries: numberType().int(),
39155
39155
  hash: stringType(),
39156
- source: nullableType(stringType()).optional()
39156
+ source: stringType().default("")
39157
39157
  });
39158
39158
  ((DictionaryMetadata$) => {
39159
39159
  DictionaryMetadata$.inboundSchema = DictionaryMetadata$inboundSchema;
@@ -42491,27 +42491,21 @@ var init_promptupdaterequest = __esm(() => {
42491
42491
  });
42492
42492
 
42493
42493
  // src/models/components/pronunciationoverride.ts
42494
- var Language$inboundSchema, Language$outboundSchema, Language$, PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
42494
+ var PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
42495
42495
  var init_pronunciationoverride = __esm(() => {
42496
42496
  init_zod();
42497
42497
  init_primitives();
42498
42498
  init_matchtype();
42499
- Language$inboundSchema = unionType([stringType(), arrayType(stringType())]);
42500
- Language$outboundSchema = unionType([stringType(), arrayType(stringType())]);
42501
- ((Language$) => {
42502
- Language$.inboundSchema = Language$inboundSchema;
42503
- Language$.outboundSchema = Language$outboundSchema;
42504
- })(Language$ ||= {});
42505
42499
  PronunciationOverride$inboundSchema = objectType({
42506
42500
  text: stringType(),
42507
42501
  replacement: stringType(),
42508
- language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42509
- provider: nullableType(stringType()).optional(),
42510
- voice: nullableType(stringType()).optional(),
42502
+ languages: arrayType(stringType()).optional(),
42503
+ provider: stringType().default(""),
42504
+ voice: stringType().default(""),
42511
42505
  match_type: MatchType$inboundSchema.optional(),
42512
42506
  match_options: arrayType(stringType()).optional(),
42513
42507
  enabled: booleanType().default(true),
42514
- notes: nullableType(stringType()).optional()
42508
+ notes: stringType().default("")
42515
42509
  }).transform((v2) => {
42516
42510
  return remap(v2, {
42517
42511
  match_type: "matchType",
@@ -42521,13 +42515,13 @@ var init_pronunciationoverride = __esm(() => {
42521
42515
  PronunciationOverride$outboundSchema = objectType({
42522
42516
  text: stringType(),
42523
42517
  replacement: stringType(),
42524
- language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42525
- provider: nullableType(stringType()).optional(),
42526
- voice: nullableType(stringType()).optional(),
42518
+ languages: arrayType(stringType()).optional(),
42519
+ provider: stringType().default(""),
42520
+ voice: stringType().default(""),
42527
42521
  matchType: MatchType$outboundSchema.optional(),
42528
42522
  matchOptions: arrayType(stringType()).optional(),
42529
42523
  enabled: booleanType().default(true),
42530
- notes: nullableType(stringType()).optional()
42524
+ notes: stringType().default("")
42531
42525
  }).transform((v2) => {
42532
42526
  return remap(v2, {
42533
42527
  matchType: "match_type",
@@ -42599,10 +42593,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
42599
42593
  init_primitives();
42600
42594
  PronunciationsCsvUploadResponse$inboundSchema = objectType({
42601
42595
  revision: numberType().int(),
42602
- hash: nullableType(stringType()).optional(),
42603
- entries: nullableType(numberType().int()).optional(),
42596
+ hash: stringType(),
42597
+ entries: numberType().int(),
42604
42598
  uploaded_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
42605
- uploaded_by: nullableType(stringType()).optional()
42599
+ uploaded_by: stringType()
42606
42600
  }).transform((v2) => {
42607
42601
  return remap(v2, {
42608
42602
  uploaded_at: "uploadedAt",
@@ -42611,10 +42605,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
42611
42605
  });
42612
42606
  PronunciationsCsvUploadResponse$outboundSchema = objectType({
42613
42607
  revision: numberType().int(),
42614
- hash: nullableType(stringType()).optional(),
42615
- entries: nullableType(numberType().int()).optional(),
42608
+ hash: stringType(),
42609
+ entries: numberType().int(),
42616
42610
  uploadedAt: dateType().transform((v2) => v2.toISOString()).optional(),
42617
- uploadedBy: nullableType(stringType()).optional()
42611
+ uploadedBy: stringType()
42618
42612
  }).transform((v2) => {
42619
42613
  return remap(v2, {
42620
42614
  uploadedAt: "uploaded_at",
@@ -62960,7 +62954,7 @@ Send a welcome email to a user.`,
62960
62954
  function createMCPServer(deps) {
62961
62955
  const server = new McpServer({
62962
62956
  name: "SyllableSDK",
62963
- version: "1.0.2-rc.7"
62957
+ version: "1.0.2-rc.8"
62964
62958
  });
62965
62959
  const client = new SyllableSDKCore({
62966
62960
  apiKeyHeader: deps.apiKeyHeader,
@@ -64466,7 +64460,7 @@ var routes = ln({
64466
64460
  var app = _e(routes, {
64467
64461
  name: "mcp",
64468
64462
  versionInfo: {
64469
- currentVersion: "1.0.2-rc.7"
64463
+ currentVersion: "1.0.2-rc.8"
64470
64464
  }
64471
64465
  });
64472
64466
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -64474,5 +64468,5 @@ export {
64474
64468
  app
64475
64469
  };
64476
64470
 
64477
- //# debugId=A61EF178531706C264756E2164756E21
64471
+ //# debugId=74000A2987C36DF964756E2164756E21
64478
64472
  //# sourceMappingURL=mcp-server.js.map