syllable-sdk 1.0.2-rc.1 → 1.0.2-rc.10

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 (121) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +259 -138
  3. package/bin/mcp-server.js.map +25 -22
  4. package/docs/sdks/batches/README.md +4 -4
  5. package/docs/sdks/campaigns/README.md +24 -0
  6. package/docs/sdks/incidents/README.md +0 -8
  7. package/docs/sdks/prompts/README.md +4 -2
  8. package/docs/sdks/pronunciations/README.md +74 -5
  9. package/docs/sdks/workflows/README.md +8 -8
  10. package/examples/package-lock.json +1 -1
  11. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts +13 -0
  12. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  13. package/funcs/pronunciationsPronunciationsDeleteCsv.js +101 -0
  14. package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  15. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +2 -1
  16. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
  17. package/funcs/pronunciationsPronunciationsDownloadCsv.js +10 -3
  18. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +3 -3
  21. package/lib/config.js +3 -3
  22. package/lib/config.js.map +1 -1
  23. package/mcp-server/mcp-server.js +1 -1
  24. package/mcp-server/mcp-server.js.map +1 -1
  25. package/mcp-server/server.d.ts.map +1 -1
  26. package/mcp-server/server.js +3 -1
  27. package/mcp-server/server.js.map +1 -1
  28. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
  29. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  30. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
  31. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  32. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
  33. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +2 -1
  34. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
  35. package/models/components/campaignproperties.d.ts +3 -0
  36. package/models/components/campaignproperties.d.ts.map +1 -1
  37. package/models/components/campaignproperties.js +1 -0
  38. package/models/components/campaignproperties.js.map +1 -1
  39. package/models/components/dictionarymetadata.d.ts +2 -2
  40. package/models/components/dictionarymetadata.d.ts.map +1 -1
  41. package/models/components/dictionarymetadata.js +2 -2
  42. package/models/components/dictionarymetadata.js.map +1 -1
  43. package/models/components/incidentcreaterequest.d.ts +3 -1
  44. package/models/components/incidentcreaterequest.d.ts.map +1 -1
  45. package/models/components/incidentcreaterequest.js.map +1 -1
  46. package/models/components/incidentresponse.d.ts +3 -1
  47. package/models/components/incidentresponse.d.ts.map +1 -1
  48. package/models/components/incidentresponse.js.map +1 -1
  49. package/models/components/incidentupdaterequest.d.ts +3 -11
  50. package/models/components/incidentupdaterequest.d.ts.map +1 -1
  51. package/models/components/incidentupdaterequest.js +0 -8
  52. package/models/components/incidentupdaterequest.js.map +1 -1
  53. package/models/components/matchtype.d.ts +3 -0
  54. package/models/components/matchtype.d.ts.map +1 -1
  55. package/models/components/matchtype.js +1 -0
  56. package/models/components/matchtype.js.map +1 -1
  57. package/models/components/outboundcampaign.d.ts +9 -0
  58. package/models/components/outboundcampaign.d.ts.map +1 -1
  59. package/models/components/outboundcampaign.js +4 -0
  60. package/models/components/outboundcampaign.js.map +1 -1
  61. package/models/components/outboundcampaigninput.d.ts +9 -0
  62. package/models/components/outboundcampaigninput.d.ts.map +1 -1
  63. package/models/components/outboundcampaigninput.js +4 -0
  64. package/models/components/outboundcampaigninput.js.map +1 -1
  65. package/models/components/promptcreaterequest.d.ts +5 -0
  66. package/models/components/promptcreaterequest.d.ts.map +1 -1
  67. package/models/components/promptcreaterequest.js +4 -0
  68. package/models/components/promptcreaterequest.js.map +1 -1
  69. package/models/components/promptresponse.d.ts +5 -5
  70. package/models/components/promptresponse.d.ts.map +1 -1
  71. package/models/components/promptresponse.js +2 -2
  72. package/models/components/promptresponse.js.map +1 -1
  73. package/models/components/promptupdaterequest.d.ts +5 -5
  74. package/models/components/promptupdaterequest.d.ts.map +1 -1
  75. package/models/components/promptupdaterequest.js +2 -2
  76. package/models/components/promptupdaterequest.js.map +1 -1
  77. package/models/components/pronunciationoverride.d.ts +8 -29
  78. package/models/components/pronunciationoverride.d.ts.map +1 -1
  79. package/models/components/pronunciationoverride.js +9 -32
  80. package/models/components/pronunciationoverride.js.map +1 -1
  81. package/models/components/pronunciationscsvuploadresponse.d.ts +6 -6
  82. package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -1
  83. package/models/components/pronunciationscsvuploadresponse.js +6 -6
  84. package/models/components/pronunciationscsvuploadresponse.js.map +1 -1
  85. package/models/operations/index.d.ts +1 -0
  86. package/models/operations/index.d.ts.map +1 -1
  87. package/models/operations/index.js +1 -0
  88. package/models/operations/index.js.map +1 -1
  89. package/models/operations/pronunciationsdownloadcsv.d.ts +35 -0
  90. package/models/operations/pronunciationsdownloadcsv.d.ts.map +1 -0
  91. package/models/operations/pronunciationsdownloadcsv.js +82 -0
  92. package/models/operations/pronunciationsdownloadcsv.js.map +1 -0
  93. package/openapi.json +190 -164
  94. package/package.json +1 -1
  95. package/sdk/pronunciations.d.ts +6 -1
  96. package/sdk/pronunciations.d.ts.map +1 -1
  97. package/sdk/pronunciations.js +7 -0
  98. package/sdk/pronunciations.js.map +1 -1
  99. package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
  100. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +15 -7
  101. package/src/lib/config.ts +3 -3
  102. package/src/mcp-server/mcp-server.ts +1 -1
  103. package/src/mcp-server/server.ts +3 -1
  104. package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
  105. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +3 -1
  106. package/src/models/components/campaignproperties.ts +1 -0
  107. package/src/models/components/dictionarymetadata.ts +4 -4
  108. package/src/models/components/incidentcreaterequest.ts +3 -1
  109. package/src/models/components/incidentresponse.ts +3 -1
  110. package/src/models/components/incidentupdaterequest.ts +3 -23
  111. package/src/models/components/matchtype.ts +1 -0
  112. package/src/models/components/outboundcampaign.ts +9 -0
  113. package/src/models/components/outboundcampaigninput.ts +9 -0
  114. package/src/models/components/promptcreaterequest.ts +9 -0
  115. package/src/models/components/promptresponse.ts +7 -7
  116. package/src/models/components/promptupdaterequest.ts +7 -7
  117. package/src/models/components/pronunciationoverride.ts +16 -62
  118. package/src/models/components/pronunciationscsvuploadresponse.ts +12 -12
  119. package/src/models/operations/index.ts +1 -0
  120. package/src/models/operations/pronunciationsdownloadcsv.ts +84 -0
  121. package/src/sdk/pronunciations.ts +15 -1
package/bin/mcp-server.js CHANGED
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
34414
34414
  SDK_METADATA = {
34415
34415
  language: "typescript",
34416
34416
  openapiDocVersion: "0.0.2",
34417
- sdkVersion: "1.0.2-rc.1",
34418
- genVersion: "2.723.4",
34419
- userAgent: "speakeasy-sdk/typescript 1.0.2-rc.1 2.723.4 0.0.2 syllable-sdk"
34417
+ sdkVersion: "1.0.2-rc.10",
34418
+ genVersion: "2.723.11",
34419
+ userAgent: "speakeasy-sdk/typescript 1.0.2-rc.10 2.723.11 0.0.2 syllable-sdk"
34420
34420
  };
34421
34421
  });
34422
34422
 
@@ -37077,8 +37077,8 @@ var init_promptresponse = __esm(() => {
37077
37077
  tools: arrayType(stringType()).optional(),
37078
37078
  llm_config: PromptLlmConfig$inboundSchema,
37079
37079
  session_end_enabled: booleanType().default(false),
37080
- id: numberType().int(),
37081
37080
  edit_comments: nullableType(stringType()).optional(),
37081
+ id: numberType().int(),
37082
37082
  last_updated: nullableType(stringType()),
37083
37083
  last_updated_by: nullableType(stringType()).optional(),
37084
37084
  agent_count: nullableType(numberType().int()).optional(),
@@ -37104,8 +37104,8 @@ var init_promptresponse = __esm(() => {
37104
37104
  tools: arrayType(stringType()).optional(),
37105
37105
  llmConfig: PromptLlmConfig$outboundSchema,
37106
37106
  sessionEndEnabled: booleanType().default(false),
37107
- id: numberType().int(),
37108
37107
  editComments: nullableType(stringType()).optional(),
37108
+ id: numberType().int(),
37109
37109
  lastUpdated: nullableType(stringType()),
37110
37110
  lastUpdatedBy: nullableType(stringType()).optional(),
37111
37111
  agentCount: nullableType(numberType().int()).optional(),
@@ -38002,7 +38002,8 @@ var init_campaignproperties = __esm(() => {
38002
38002
  CallerId: "caller_id",
38003
38003
  UpdatedAt: "updated_at",
38004
38004
  Label: "label",
38005
- Labels: "labels"
38005
+ Labels: "labels",
38006
+ VoicemailDetection: "voicemail_detection"
38006
38007
  };
38007
38008
  CampaignProperties$inboundSchema = nativeEnumType(CampaignProperties);
38008
38009
  CampaignProperties$outboundSchema = CampaignProperties$inboundSchema;
@@ -39147,12 +39148,12 @@ var init_dictionarymetadata = __esm(() => {
39147
39148
  DictionaryMetadata$inboundSchema = objectType({
39148
39149
  entries: numberType().int(),
39149
39150
  hash: stringType(),
39150
- source: nullableType(stringType()).optional()
39151
+ source: stringType().default("")
39151
39152
  });
39152
39153
  DictionaryMetadata$outboundSchema = objectType({
39153
39154
  entries: numberType().int(),
39154
39155
  hash: stringType(),
39155
- source: nullableType(stringType()).optional()
39156
+ source: stringType().default("")
39156
39157
  });
39157
39158
  ((DictionaryMetadata$) => {
39158
39159
  DictionaryMetadata$.inboundSchema = DictionaryMetadata$inboundSchema;
@@ -39480,9 +39481,7 @@ var init_incidentupdaterequest = __esm(() => {
39480
39481
  organization_id: nullableType(numberType().int()).optional(),
39481
39482
  sub_organization_id: nullableType(numberType().int()).optional(),
39482
39483
  sub_organization: nullableType(stringType()).optional(),
39483
- id: numberType().int(),
39484
- created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
39485
- updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
39484
+ id: numberType().int()
39486
39485
  }).transform((v2) => {
39487
39486
  return remap(v2, {
39488
39487
  start_datetime: "startDatetime",
@@ -39491,9 +39490,7 @@ var init_incidentupdaterequest = __esm(() => {
39491
39490
  sessions_impacted: "sessionsImpacted",
39492
39491
  organization_id: "organizationId",
39493
39492
  sub_organization_id: "subOrganizationId",
39494
- sub_organization: "subOrganization",
39495
- created_at: "createdAt",
39496
- updated_at: "updatedAt"
39493
+ sub_organization: "subOrganization"
39497
39494
  });
39498
39495
  });
39499
39496
  IncidentUpdateRequest$outboundSchema = objectType({
@@ -39506,9 +39503,7 @@ var init_incidentupdaterequest = __esm(() => {
39506
39503
  organizationId: nullableType(numberType().int()).optional(),
39507
39504
  subOrganizationId: nullableType(numberType().int()).optional(),
39508
39505
  subOrganization: nullableType(stringType()).optional(),
39509
- id: numberType().int(),
39510
- createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
39511
- updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
39506
+ id: numberType().int()
39512
39507
  }).transform((v2) => {
39513
39508
  return remap(v2, {
39514
39509
  startDatetime: "start_datetime",
@@ -39517,9 +39512,7 @@ var init_incidentupdaterequest = __esm(() => {
39517
39512
  sessionsImpacted: "sessions_impacted",
39518
39513
  organizationId: "organization_id",
39519
39514
  subOrganizationId: "sub_organization_id",
39520
- subOrganization: "sub_organization",
39521
- createdAt: "created_at",
39522
- updatedAt: "updated_at"
39515
+ subOrganization: "sub_organization"
39523
39516
  });
39524
39517
  });
39525
39518
  ((IncidentUpdateRequest$) => {
@@ -41229,6 +41222,7 @@ var init_outboundcampaign = __esm(() => {
41229
41222
  retry_count: numberType().int().default(0),
41230
41223
  retry_interval: nullableType(stringType()).optional(),
41231
41224
  active_days: arrayType(DaysOfWeek$inboundSchema),
41225
+ voicemail_detection: nullableType(recordType(numberType())).optional(),
41232
41226
  id: numberType().int(),
41233
41227
  agent_id: nullableType(numberType().int()).optional(),
41234
41228
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -41246,6 +41240,7 @@ var init_outboundcampaign = __esm(() => {
41246
41240
  retry_count: "retryCount",
41247
41241
  retry_interval: "retryInterval",
41248
41242
  active_days: "activeDays",
41243
+ voicemail_detection: "voicemailDetection",
41249
41244
  agent_id: "agentId",
41250
41245
  created_at: "createdAt",
41251
41246
  updated_at: "updatedAt",
@@ -41268,6 +41263,7 @@ var init_outboundcampaign = __esm(() => {
41268
41263
  retryCount: numberType().int().default(0),
41269
41264
  retryInterval: nullableType(stringType()).optional(),
41270
41265
  activeDays: arrayType(DaysOfWeek$outboundSchema),
41266
+ voicemailDetection: nullableType(recordType(numberType())).optional(),
41271
41267
  id: numberType().int(),
41272
41268
  agentId: nullableType(numberType().int()).optional(),
41273
41269
  createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -41285,6 +41281,7 @@ var init_outboundcampaign = __esm(() => {
41285
41281
  retryCount: "retry_count",
41286
41282
  retryInterval: "retry_interval",
41287
41283
  activeDays: "active_days",
41284
+ voicemailDetection: "voicemail_detection",
41288
41285
  agentId: "agent_id",
41289
41286
  createdAt: "created_at",
41290
41287
  updatedAt: "updated_at",
@@ -41954,7 +41951,8 @@ var MatchType, MatchType$inboundSchema, MatchType$outboundSchema, MatchType$;
41954
41951
  var init_matchtype = __esm(() => {
41955
41952
  init_zod();
41956
41953
  MatchType = {
41957
- Exact: "exact"
41954
+ Exact: "exact",
41955
+ Substring: "substring"
41958
41956
  };
41959
41957
  MatchType$inboundSchema = nativeEnumType(MatchType);
41960
41958
  MatchType$outboundSchema = MatchType$inboundSchema;
@@ -42166,7 +42164,8 @@ var init_outboundcampaigninput = __esm(() => {
42166
42164
  hourly_rate: numberType().int().default(1),
42167
42165
  retry_count: numberType().int().default(0),
42168
42166
  retry_interval: nullableType(stringType()).optional(),
42169
- active_days: arrayType(DaysOfWeek$inboundSchema)
42167
+ active_days: arrayType(DaysOfWeek$inboundSchema),
42168
+ voicemail_detection: nullableType(recordType(numberType())).optional()
42170
42169
  }).transform((v2) => {
42171
42170
  return remap(v2, {
42172
42171
  campaign_name: "campaignName",
@@ -42178,7 +42177,8 @@ var init_outboundcampaigninput = __esm(() => {
42178
42177
  hourly_rate: "hourlyRate",
42179
42178
  retry_count: "retryCount",
42180
42179
  retry_interval: "retryInterval",
42181
- active_days: "activeDays"
42180
+ active_days: "activeDays",
42181
+ voicemail_detection: "voicemailDetection"
42182
42182
  });
42183
42183
  });
42184
42184
  OutboundCampaignInput$outboundSchema = objectType({
@@ -42196,7 +42196,8 @@ var init_outboundcampaigninput = __esm(() => {
42196
42196
  hourlyRate: numberType().int().default(1),
42197
42197
  retryCount: numberType().int().default(0),
42198
42198
  retryInterval: nullableType(stringType()).optional(),
42199
- activeDays: arrayType(DaysOfWeek$outboundSchema)
42199
+ activeDays: arrayType(DaysOfWeek$outboundSchema),
42200
+ voicemailDetection: nullableType(recordType(numberType())).optional()
42200
42201
  }).transform((v2) => {
42201
42202
  return remap(v2, {
42202
42203
  campaignName: "campaign_name",
@@ -42208,7 +42209,8 @@ var init_outboundcampaigninput = __esm(() => {
42208
42209
  hourlyRate: "hourly_rate",
42209
42210
  retryCount: "retry_count",
42210
42211
  retryInterval: "retry_interval",
42211
- activeDays: "active_days"
42212
+ activeDays: "active_days",
42213
+ voicemailDetection: "voicemail_detection"
42212
42214
  });
42213
42215
  });
42214
42216
  ((OutboundCampaignInput$) => {
@@ -42281,11 +42283,13 @@ var init_promptcreaterequest = __esm(() => {
42281
42283
  tools: arrayType(stringType()).optional(),
42282
42284
  llm_config: PromptLlmConfig$inboundSchema,
42283
42285
  session_end_enabled: booleanType().default(false),
42286
+ edit_comments: nullableType(stringType()).optional(),
42284
42287
  include_default_tools: booleanType().default(true)
42285
42288
  }).transform((v2) => {
42286
42289
  return remap(v2, {
42287
42290
  llm_config: "llmConfig",
42288
42291
  session_end_enabled: "sessionEndEnabled",
42292
+ edit_comments: "editComments",
42289
42293
  include_default_tools: "includeDefaultTools"
42290
42294
  });
42291
42295
  });
@@ -42297,11 +42301,13 @@ var init_promptcreaterequest = __esm(() => {
42297
42301
  tools: arrayType(stringType()).optional(),
42298
42302
  llmConfig: PromptLlmConfig$outboundSchema,
42299
42303
  sessionEndEnabled: booleanType().default(false),
42304
+ editComments: nullableType(stringType()).optional(),
42300
42305
  includeDefaultTools: booleanType().default(true)
42301
42306
  }).transform((v2) => {
42302
42307
  return remap(v2, {
42303
42308
  llmConfig: "llm_config",
42304
42309
  sessionEndEnabled: "session_end_enabled",
42310
+ editComments: "edit_comments",
42305
42311
  includeDefaultTools: "include_default_tools"
42306
42312
  });
42307
42313
  });
@@ -42449,8 +42455,8 @@ var init_promptupdaterequest = __esm(() => {
42449
42455
  tools: arrayType(stringType()).optional(),
42450
42456
  llm_config: PromptLlmConfig$inboundSchema,
42451
42457
  session_end_enabled: booleanType().default(false),
42452
- id: numberType().int(),
42453
42458
  edit_comments: nullableType(stringType()).optional(),
42459
+ id: numberType().int(),
42454
42460
  include_default_tools: booleanType().default(true)
42455
42461
  }).transform((v2) => {
42456
42462
  return remap(v2, {
@@ -42468,8 +42474,8 @@ var init_promptupdaterequest = __esm(() => {
42468
42474
  tools: arrayType(stringType()).optional(),
42469
42475
  llmConfig: PromptLlmConfig$outboundSchema,
42470
42476
  sessionEndEnabled: booleanType().default(false),
42471
- id: numberType().int(),
42472
42477
  editComments: nullableType(stringType()).optional(),
42478
+ id: numberType().int(),
42473
42479
  includeDefaultTools: booleanType().default(true)
42474
42480
  }).transform((v2) => {
42475
42481
  return remap(v2, {
@@ -42486,27 +42492,21 @@ var init_promptupdaterequest = __esm(() => {
42486
42492
  });
42487
42493
 
42488
42494
  // src/models/components/pronunciationoverride.ts
42489
- var Language$inboundSchema, Language$outboundSchema, Language$, PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
42495
+ var PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
42490
42496
  var init_pronunciationoverride = __esm(() => {
42491
42497
  init_zod();
42492
42498
  init_primitives();
42493
42499
  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
42500
  PronunciationOverride$inboundSchema = objectType({
42501
42501
  text: stringType(),
42502
42502
  replacement: stringType(),
42503
- language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42504
- provider: nullableType(stringType()).optional(),
42505
- voice: nullableType(stringType()).optional(),
42503
+ languages: arrayType(stringType()).optional(),
42504
+ provider: stringType().default(""),
42505
+ voice: stringType().default(""),
42506
42506
  match_type: MatchType$inboundSchema.optional(),
42507
42507
  match_options: arrayType(stringType()).optional(),
42508
42508
  enabled: booleanType().default(true),
42509
- notes: nullableType(stringType()).optional()
42509
+ notes: stringType().default("")
42510
42510
  }).transform((v2) => {
42511
42511
  return remap(v2, {
42512
42512
  match_type: "matchType",
@@ -42516,13 +42516,13 @@ var init_pronunciationoverride = __esm(() => {
42516
42516
  PronunciationOverride$outboundSchema = objectType({
42517
42517
  text: stringType(),
42518
42518
  replacement: stringType(),
42519
- language: nullableType(unionType([stringType(), arrayType(stringType())])).optional(),
42520
- provider: nullableType(stringType()).optional(),
42521
- voice: nullableType(stringType()).optional(),
42519
+ languages: arrayType(stringType()).optional(),
42520
+ provider: stringType().default(""),
42521
+ voice: stringType().default(""),
42522
42522
  matchType: MatchType$outboundSchema.optional(),
42523
42523
  matchOptions: arrayType(stringType()).optional(),
42524
42524
  enabled: booleanType().default(true),
42525
- notes: nullableType(stringType()).optional()
42525
+ notes: stringType().default("")
42526
42526
  }).transform((v2) => {
42527
42527
  return remap(v2, {
42528
42528
  matchType: "match_type",
@@ -42594,10 +42594,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
42594
42594
  init_primitives();
42595
42595
  PronunciationsCsvUploadResponse$inboundSchema = objectType({
42596
42596
  revision: numberType().int(),
42597
- hash: nullableType(stringType()).optional(),
42598
- entries: nullableType(numberType().int()).optional(),
42597
+ hash: stringType(),
42598
+ entries: numberType().int(),
42599
42599
  uploaded_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
42600
- uploaded_by: nullableType(stringType()).optional()
42600
+ uploaded_by: stringType()
42601
42601
  }).transform((v2) => {
42602
42602
  return remap(v2, {
42603
42603
  uploaded_at: "uploadedAt",
@@ -42606,10 +42606,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
42606
42606
  });
42607
42607
  PronunciationsCsvUploadResponse$outboundSchema = objectType({
42608
42608
  revision: numberType().int(),
42609
- hash: nullableType(stringType()).optional(),
42610
- entries: nullableType(numberType().int()).optional(),
42609
+ hash: stringType(),
42610
+ entries: numberType().int(),
42611
42611
  uploadedAt: dateType().transform((v2) => v2.toISOString()).optional(),
42612
- uploadedBy: nullableType(stringType()).optional()
42612
+ uploadedBy: stringType()
42613
42613
  }).transform((v2) => {
42614
42614
  return remap(v2, {
42615
42615
  uploadedAt: "uploaded_at",
@@ -46772,6 +46772,35 @@ var init_promptslist = __esm(() => {
46772
46772
  })(PromptsListRequest$ ||= {});
46773
46773
  });
46774
46774
 
46775
+ // src/models/operations/pronunciationsdownloadcsv.ts
46776
+ var PronunciationsDownloadCsvResponse$inboundSchema, PronunciationsDownloadCsvResponse$outboundSchema, PronunciationsDownloadCsvResponse$;
46777
+ var init_pronunciationsdownloadcsv = __esm(() => {
46778
+ init_zod();
46779
+ init_primitives();
46780
+ PronunciationsDownloadCsvResponse$inboundSchema = objectType({
46781
+ Headers: recordType(arrayType(stringType())),
46782
+ Result: instanceOfType(ReadableStream)
46783
+ }).transform((v2) => {
46784
+ return remap(v2, {
46785
+ Headers: "headers",
46786
+ Result: "result"
46787
+ });
46788
+ });
46789
+ PronunciationsDownloadCsvResponse$outboundSchema = objectType({
46790
+ headers: recordType(arrayType(stringType())),
46791
+ result: instanceOfType(ReadableStream)
46792
+ }).transform((v2) => {
46793
+ return remap(v2, {
46794
+ headers: "Headers",
46795
+ result: "Result"
46796
+ });
46797
+ });
46798
+ ((PronunciationsDownloadCsvResponse$) => {
46799
+ PronunciationsDownloadCsvResponse$.inboundSchema = PronunciationsDownloadCsvResponse$inboundSchema;
46800
+ PronunciationsDownloadCsvResponse$.outboundSchema = PronunciationsDownloadCsvResponse$outboundSchema;
46801
+ })(PronunciationsDownloadCsvResponse$ ||= {});
46802
+ });
46803
+
46775
46804
  // src/models/operations/rolesdelete.ts
46776
46805
  var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema, RolesDeleteRequest$;
46777
46806
  var init_rolesdelete = __esm(() => {
@@ -47563,6 +47592,7 @@ var init_operations = __esm(() => {
47563
47592
  init_promptsgetbyid();
47564
47593
  init_promptshistory();
47565
47594
  init_promptslist();
47595
+ init_pronunciationsdownloadcsv();
47566
47596
  init_rolesdelete();
47567
47597
  init_rolesgetbyid();
47568
47598
  init_roleslist();
@@ -58415,8 +58445,8 @@ Update an existing prompt`,
58415
58445
  };
58416
58446
  });
58417
58447
 
58418
- // src/funcs/pronunciationsPronunciationsDownloadCsv.ts
58419
- function pronunciationsPronunciationsDownloadCsv(client, options) {
58448
+ // src/funcs/pronunciationsPronunciationsDeleteCsv.ts
58449
+ function pronunciationsPronunciationsDeleteCsv(client, options) {
58420
58450
  return new APIPromise($do103(client, options));
58421
58451
  }
58422
58452
  async function $do103(client, options) {
@@ -58427,6 +58457,87 @@ async function $do103(client, options) {
58427
58457
  const secConfig = await extractSecurity(client._options.apiKeyHeader);
58428
58458
  const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58429
58459
  const requestSecurity = resolveGlobalSecurity(securityInput);
58460
+ const context = {
58461
+ options: client._options,
58462
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
58463
+ operationID: "pronunciations_delete_csv",
58464
+ oAuth2Scopes: null,
58465
+ resolvedSecurity: requestSecurity,
58466
+ securitySource: client._options.apiKeyHeader,
58467
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
58468
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
58469
+ };
58470
+ const requestRes = client._createRequest(context, {
58471
+ security: requestSecurity,
58472
+ method: "DELETE",
58473
+ baseURL: options?.serverURL,
58474
+ path,
58475
+ headers,
58476
+ userAgent: client._options.userAgent,
58477
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
58478
+ }, options);
58479
+ if (!requestRes.ok) {
58480
+ return [requestRes, { status: "invalid" }];
58481
+ }
58482
+ const req = requestRes.value;
58483
+ const doResult = await client._do(req, {
58484
+ context,
58485
+ errorCodes: ["4XX", "5XX"],
58486
+ retryConfig: context.retryConfig,
58487
+ retryCodes: context.retryCodes
58488
+ });
58489
+ if (!doResult.ok) {
58490
+ return [doResult, { status: "request-error", request: req }];
58491
+ }
58492
+ const response = doResult.value;
58493
+ const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
58494
+ if (!result.ok) {
58495
+ return [result, { status: "complete", request: req, response }];
58496
+ }
58497
+ return [result, { status: "complete", request: req, response }];
58498
+ }
58499
+ var init_pronunciationsPronunciationsDeleteCsv = __esm(() => {
58500
+ init_zod();
58501
+ init_matchers();
58502
+ init_primitives();
58503
+ init_security();
58504
+ init_url();
58505
+ init_async();
58506
+ });
58507
+
58508
+ // src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts
58509
+ var tool$pronunciationsPronunciationsDeleteCsv;
58510
+ var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
58511
+ init_pronunciationsPronunciationsDeleteCsv();
58512
+ init_tools();
58513
+ tool$pronunciationsPronunciationsDeleteCsv = {
58514
+ name: "pronunciations-pronunciations-delete-csv",
58515
+ description: `Delete Pronunciations Dictionary`,
58516
+ tool: async (client, ctx) => {
58517
+ const [result, apiCall] = await pronunciationsPronunciationsDeleteCsv(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
58518
+ if (!result.ok) {
58519
+ return {
58520
+ content: [{ type: "text", text: result.error.message }],
58521
+ isError: true
58522
+ };
58523
+ }
58524
+ return formatResult(undefined, apiCall);
58525
+ }
58526
+ };
58527
+ });
58528
+
58529
+ // src/funcs/pronunciationsPronunciationsDownloadCsv.ts
58530
+ function pronunciationsPronunciationsDownloadCsv(client, options) {
58531
+ return new APIPromise($do104(client, options));
58532
+ }
58533
+ async function $do104(client, options) {
58534
+ const path = pathToFunc("/api/v1/pronunciations/csv")();
58535
+ const headers = new Headers(compactMap({
58536
+ Accept: "text/csv"
58537
+ }));
58538
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
58539
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
58540
+ const requestSecurity = resolveGlobalSecurity(securityInput);
58430
58541
  const context = {
58431
58542
  options: client._options,
58432
58543
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -58460,18 +58571,25 @@ async function $do103(client, options) {
58460
58571
  return [doResult, { status: "request-error", request: req }];
58461
58572
  }
58462
58573
  const response = doResult.value;
58463
- const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
58574
+ const responseFields = {
58575
+ HttpMeta: { Response: response, Request: req }
58576
+ };
58577
+ const [result] = await match(stream(200, PronunciationsDownloadCsvResponse$inboundSchema, {
58578
+ ctype: "text/csv",
58579
+ hdrs: true,
58580
+ key: "Result"
58581
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
58464
58582
  if (!result.ok) {
58465
58583
  return [result, { status: "complete", request: req, response }];
58466
58584
  }
58467
58585
  return [result, { status: "complete", request: req, response }];
58468
58586
  }
58469
58587
  var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
58470
- init_zod();
58471
58588
  init_matchers();
58472
58589
  init_primitives();
58473
58590
  init_security();
58474
58591
  init_url();
58592
+ init_operations();
58475
58593
  init_async();
58476
58594
  });
58477
58595
 
@@ -58491,16 +58609,17 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
58491
58609
  isError: true
58492
58610
  };
58493
58611
  }
58494
- return formatResult(undefined, apiCall);
58612
+ const value = result.value.result;
58613
+ return formatResult(value, apiCall);
58495
58614
  }
58496
58615
  };
58497
58616
  });
58498
58617
 
58499
58618
  // src/funcs/pronunciationsPronunciationsGet.ts
58500
58619
  function pronunciationsPronunciationsGet(client, options) {
58501
- return new APIPromise($do104(client, options));
58620
+ return new APIPromise($do105(client, options));
58502
58621
  }
58503
- async function $do104(client, options) {
58622
+ async function $do105(client, options) {
58504
58623
  const path = pathToFunc("/api/v1/pronunciations")();
58505
58624
  const headers = new Headers(compactMap({
58506
58625
  Accept: "application/json"
@@ -58580,9 +58699,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
58580
58699
 
58581
58700
  // src/funcs/pronunciationsPronunciationsGetMetadata.ts
58582
58701
  function pronunciationsPronunciationsGetMetadata(client, options) {
58583
- return new APIPromise($do105(client, options));
58702
+ return new APIPromise($do106(client, options));
58584
58703
  }
58585
- async function $do105(client, options) {
58704
+ async function $do106(client, options) {
58586
58705
  const path = pathToFunc("/api/v1/pronunciations/metadata")();
58587
58706
  const headers = new Headers(compactMap({
58588
58707
  Accept: "application/json"
@@ -58662,9 +58781,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
58662
58781
 
58663
58782
  // src/funcs/pronunciationsPronunciationsUploadCsv.ts
58664
58783
  function pronunciationsPronunciationsUploadCsv(client, request, options) {
58665
- return new APIPromise($do106(client, request, options));
58784
+ return new APIPromise($do107(client, request, options));
58666
58785
  }
58667
- async function $do106(client, request, options) {
58786
+ async function $do107(client, request, options) {
58668
58787
  const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
58669
58788
  if (!parsed.ok) {
58670
58789
  return [parsed, { status: "invalid" }];
@@ -58774,9 +58893,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
58774
58893
 
58775
58894
  // src/funcs/rolesCreate.ts
58776
58895
  function rolesCreate(client, request, options) {
58777
- return new APIPromise($do107(client, request, options));
58896
+ return new APIPromise($do108(client, request, options));
58778
58897
  }
58779
- async function $do107(client, request, options) {
58898
+ async function $do108(client, request, options) {
58780
58899
  const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
58781
58900
  if (!parsed.ok) {
58782
58901
  return [parsed, { status: "invalid" }];
@@ -58877,9 +58996,9 @@ Create a new role.`,
58877
58996
 
58878
58997
  // src/funcs/rolesDelete.ts
58879
58998
  function rolesDelete(client, request, options) {
58880
- return new APIPromise($do108(client, request, options));
58999
+ return new APIPromise($do109(client, request, options));
58881
59000
  }
58882
- async function $do108(client, request, options) {
59001
+ async function $do109(client, request, options) {
58883
59002
  const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
58884
59003
  if (!parsed.ok) {
58885
59004
  return [parsed, { status: "invalid" }];
@@ -58991,9 +59110,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
58991
59110
 
58992
59111
  // src/funcs/rolesGetById.ts
58993
59112
  function rolesGetById(client, request, options) {
58994
- return new APIPromise($do109(client, request, options));
59113
+ return new APIPromise($do110(client, request, options));
58995
59114
  }
58996
- async function $do109(client, request, options) {
59115
+ async function $do110(client, request, options) {
58997
59116
  const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
58998
59117
  if (!parsed.ok) {
58999
59118
  return [parsed, { status: "invalid" }];
@@ -59100,9 +59219,9 @@ Fetch a given role.`,
59100
59219
 
59101
59220
  // src/funcs/rolesList.ts
59102
59221
  function rolesList(client, request, options) {
59103
- return new APIPromise($do110(client, request, options));
59222
+ return new APIPromise($do111(client, request, options));
59104
59223
  }
59105
- async function $do110(client, request, options) {
59224
+ async function $do111(client, request, options) {
59106
59225
  const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
59107
59226
  if (!parsed.ok) {
59108
59227
  return [parsed, { status: "invalid" }];
@@ -59215,9 +59334,9 @@ List the existing roles.`,
59215
59334
 
59216
59335
  // src/funcs/rolesUpdate.ts
59217
59336
  function rolesUpdate(client, request, options) {
59218
- return new APIPromise($do111(client, request, options));
59337
+ return new APIPromise($do112(client, request, options));
59219
59338
  }
59220
- async function $do111(client, request, options) {
59339
+ async function $do112(client, request, options) {
59221
59340
  const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
59222
59341
  if (!parsed.ok) {
59223
59342
  return [parsed, { status: "invalid" }];
@@ -59318,9 +59437,9 @@ Update an existing role.`,
59318
59437
 
59319
59438
  // src/funcs/servicesCreate.ts
59320
59439
  function servicesCreate(client, request, options) {
59321
- return new APIPromise($do112(client, request, options));
59440
+ return new APIPromise($do113(client, request, options));
59322
59441
  }
59323
- async function $do112(client, request, options) {
59442
+ async function $do113(client, request, options) {
59324
59443
  const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
59325
59444
  if (!parsed.ok) {
59326
59445
  return [parsed, { status: "invalid" }];
@@ -59421,9 +59540,9 @@ Create a new service.`,
59421
59540
 
59422
59541
  // src/funcs/servicesDelete.ts
59423
59542
  function servicesDelete(client, request, options) {
59424
- return new APIPromise($do113(client, request, options));
59543
+ return new APIPromise($do114(client, request, options));
59425
59544
  }
59426
- async function $do113(client, request, options) {
59545
+ async function $do114(client, request, options) {
59427
59546
  const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
59428
59547
  if (!parsed.ok) {
59429
59548
  return [parsed, { status: "invalid" }];
@@ -59534,9 +59653,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
59534
59653
 
59535
59654
  // src/funcs/servicesGetById.ts
59536
59655
  function servicesGetById(client, request, options) {
59537
- return new APIPromise($do114(client, request, options));
59656
+ return new APIPromise($do115(client, request, options));
59538
59657
  }
59539
- async function $do114(client, request, options) {
59658
+ async function $do115(client, request, options) {
59540
59659
  const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
59541
59660
  if (!parsed.ok) {
59542
59661
  return [parsed, { status: "invalid" }];
@@ -59643,9 +59762,9 @@ Get a service by its ID`,
59643
59762
 
59644
59763
  // src/funcs/servicesList.ts
59645
59764
  function servicesList(client, request, options) {
59646
- return new APIPromise($do115(client, request, options));
59765
+ return new APIPromise($do116(client, request, options));
59647
59766
  }
59648
- async function $do115(client, request, options) {
59767
+ async function $do116(client, request, options) {
59649
59768
  const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
59650
59769
  if (!parsed.ok) {
59651
59770
  return [parsed, { status: "invalid" }];
@@ -59758,9 +59877,9 @@ List the existing services`,
59758
59877
 
59759
59878
  // src/funcs/servicesUpdate.ts
59760
59879
  function servicesUpdate(client, request, options) {
59761
- return new APIPromise($do116(client, request, options));
59880
+ return new APIPromise($do117(client, request, options));
59762
59881
  }
59763
- async function $do116(client, request, options) {
59882
+ async function $do117(client, request, options) {
59764
59883
  const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
59765
59884
  if (!parsed.ok) {
59766
59885
  return [parsed, { status: "invalid" }];
@@ -59861,9 +59980,9 @@ Update an existing service.`,
59861
59980
 
59862
59981
  // src/funcs/sessionDebugGetSessionDataBySessionId.ts
59863
59982
  function sessionDebugGetSessionDataBySessionId(client, request, options) {
59864
- return new APIPromise($do117(client, request, options));
59983
+ return new APIPromise($do118(client, request, options));
59865
59984
  }
59866
- async function $do117(client, request, options) {
59985
+ async function $do118(client, request, options) {
59867
59986
  const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
59868
59987
  if (!parsed.ok) {
59869
59988
  return [parsed, { status: "invalid" }];
@@ -59968,9 +60087,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
59968
60087
 
59969
60088
  // src/funcs/sessionDebugGetSessionDataBySid.ts
59970
60089
  function sessionDebugGetSessionDataBySid(client, request, options) {
59971
- return new APIPromise($do118(client, request, options));
60090
+ return new APIPromise($do119(client, request, options));
59972
60091
  }
59973
- async function $do118(client, request, options) {
60092
+ async function $do119(client, request, options) {
59974
60093
  const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
59975
60094
  if (!parsed.ok) {
59976
60095
  return [parsed, { status: "invalid" }];
@@ -60073,9 +60192,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
60073
60192
 
60074
60193
  // src/funcs/sessionDebugGetSessionToolCallResultById.ts
60075
60194
  function sessionDebugGetSessionToolCallResultById(client, request, options) {
60076
- return new APIPromise($do119(client, request, options));
60195
+ return new APIPromise($do120(client, request, options));
60077
60196
  }
60078
- async function $do119(client, request, options) {
60197
+ async function $do120(client, request, options) {
60079
60198
  const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
60080
60199
  if (!parsed.ok) {
60081
60200
  return [parsed, { status: "invalid" }];
@@ -60184,9 +60303,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
60184
60303
 
60185
60304
  // src/funcs/sessionLabelsCreate.ts
60186
60305
  function sessionLabelsCreate(client, request, options) {
60187
- return new APIPromise($do120(client, request, options));
60306
+ return new APIPromise($do121(client, request, options));
60188
60307
  }
60189
- async function $do120(client, request, options) {
60308
+ async function $do121(client, request, options) {
60190
60309
  const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
60191
60310
  if (!parsed.ok) {
60192
60311
  return [parsed, { status: "invalid" }];
@@ -60287,9 +60406,9 @@ Create a new label`,
60287
60406
 
60288
60407
  // src/funcs/sessionLabelsGetById.ts
60289
60408
  function sessionLabelsGetById(client, request, options) {
60290
- return new APIPromise($do121(client, request, options));
60409
+ return new APIPromise($do122(client, request, options));
60291
60410
  }
60292
- async function $do121(client, request, options) {
60411
+ async function $do122(client, request, options) {
60293
60412
  const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60294
60413
  if (!parsed.ok) {
60295
60414
  return [parsed, { status: "invalid" }];
@@ -60391,9 +60510,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
60391
60510
 
60392
60511
  // src/funcs/sessionLabelsList.ts
60393
60512
  function sessionLabelsList(client, request, options) {
60394
- return new APIPromise($do122(client, request, options));
60513
+ return new APIPromise($do123(client, request, options));
60395
60514
  }
60396
- async function $do122(client, request, options) {
60515
+ async function $do123(client, request, options) {
60397
60516
  const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
60398
60517
  if (!parsed.ok) {
60399
60518
  return [parsed, { status: "invalid" }];
@@ -60504,9 +60623,9 @@ var init_sessionLabelsList2 = __esm(() => {
60504
60623
 
60505
60624
  // src/funcs/sessionsFullSummaryGetById.ts
60506
60625
  function sessionsFullSummaryGetById(client, request, options) {
60507
- return new APIPromise($do123(client, request, options));
60626
+ return new APIPromise($do124(client, request, options));
60508
60627
  }
60509
- async function $do123(client, request, options) {
60628
+ async function $do124(client, request, options) {
60510
60629
  const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60511
60630
  if (!parsed.ok) {
60512
60631
  return [parsed, { status: "invalid" }];
@@ -60611,9 +60730,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
60611
60730
 
60612
60731
  // src/funcs/sessionsGenerateSessionRecordingUrls.ts
60613
60732
  function sessionsGenerateSessionRecordingUrls(client, request, options) {
60614
- return new APIPromise($do124(client, request, options));
60733
+ return new APIPromise($do125(client, request, options));
60615
60734
  }
60616
- async function $do124(client, request, options) {
60735
+ async function $do125(client, request, options) {
60617
60736
  const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
60618
60737
  if (!parsed.ok) {
60619
60738
  return [parsed, { status: "invalid" }];
@@ -60718,9 +60837,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
60718
60837
 
60719
60838
  // src/funcs/sessionsGetById.ts
60720
60839
  function sessionsGetById(client, request, options) {
60721
- return new APIPromise($do125(client, request, options));
60840
+ return new APIPromise($do126(client, request, options));
60722
60841
  }
60723
- async function $do125(client, request, options) {
60842
+ async function $do126(client, request, options) {
60724
60843
  const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60725
60844
  if (!parsed.ok) {
60726
60845
  return [parsed, { status: "invalid" }];
@@ -60825,9 +60944,9 @@ var init_sessionsGetById2 = __esm(() => {
60825
60944
 
60826
60945
  // src/funcs/sessionsLatencyGetById.ts
60827
60946
  function sessionsLatencyGetById(client, request, options) {
60828
- return new APIPromise($do126(client, request, options));
60947
+ return new APIPromise($do127(client, request, options));
60829
60948
  }
60830
- async function $do126(client, request, options) {
60949
+ async function $do127(client, request, options) {
60831
60950
  const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
60832
60951
  if (!parsed.ok) {
60833
60952
  return [parsed, { status: "invalid" }];
@@ -60932,9 +61051,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
60932
61051
 
60933
61052
  // src/funcs/sessionsList.ts
60934
61053
  function sessionsList(client, request, options) {
60935
- return new APIPromise($do127(client, request, options));
61054
+ return new APIPromise($do128(client, request, options));
60936
61055
  }
60937
- async function $do127(client, request, options) {
61056
+ async function $do128(client, request, options) {
60938
61057
  const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
60939
61058
  if (!parsed.ok) {
60940
61059
  return [parsed, { status: "invalid" }];
@@ -61045,9 +61164,9 @@ var init_sessionsList2 = __esm(() => {
61045
61164
 
61046
61165
  // src/funcs/sessionsSessionRecordingStream.ts
61047
61166
  function sessionsSessionRecordingStream(client, request, options) {
61048
- return new APIPromise($do128(client, request, options));
61167
+ return new APIPromise($do129(client, request, options));
61049
61168
  }
61050
- async function $do128(client, request, options) {
61169
+ async function $do129(client, request, options) {
61051
61170
  const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
61052
61171
  if (!parsed.ok) {
61053
61172
  return [parsed, { status: "invalid" }];
@@ -61150,9 +61269,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
61150
61269
 
61151
61270
  // src/funcs/sessionsTranscriptGetById.ts
61152
61271
  function sessionsTranscriptGetById(client, request, options) {
61153
- return new APIPromise($do129(client, request, options));
61272
+ return new APIPromise($do130(client, request, options));
61154
61273
  }
61155
- async function $do129(client, request, options) {
61274
+ async function $do130(client, request, options) {
61156
61275
  const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
61157
61276
  if (!parsed.ok) {
61158
61277
  return [parsed, { status: "invalid" }];
@@ -61257,9 +61376,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
61257
61376
 
61258
61377
  // src/funcs/takeoutsCreate.ts
61259
61378
  function takeoutsCreate(client, options) {
61260
- return new APIPromise($do130(client, options));
61379
+ return new APIPromise($do131(client, options));
61261
61380
  }
61262
- async function $do130(client, options) {
61381
+ async function $do131(client, options) {
61263
61382
  const path = pathToFunc("/api/v1/takeouts/create")();
61264
61383
  const headers = new Headers(compactMap({
61265
61384
  Accept: "application/json"
@@ -61339,9 +61458,9 @@ var init_takeoutsCreate2 = __esm(() => {
61339
61458
 
61340
61459
  // src/funcs/takeoutsTakeoutsGetByJobId.ts
61341
61460
  function takeoutsTakeoutsGetByJobId(client, request, options) {
61342
- return new APIPromise($do131(client, request, options));
61461
+ return new APIPromise($do132(client, request, options));
61343
61462
  }
61344
- async function $do131(client, request, options) {
61463
+ async function $do132(client, request, options) {
61345
61464
  const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
61346
61465
  if (!parsed.ok) {
61347
61466
  return [parsed, { status: "invalid" }];
@@ -61446,9 +61565,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
61446
61565
 
61447
61566
  // src/funcs/takeoutsTakeoutsGetFile.ts
61448
61567
  function takeoutsTakeoutsGetFile(client, request, options) {
61449
- return new APIPromise($do132(client, request, options));
61568
+ return new APIPromise($do133(client, request, options));
61450
61569
  }
61451
- async function $do132(client, request, options) {
61570
+ async function $do133(client, request, options) {
61452
61571
  const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
61453
61572
  if (!parsed.ok) {
61454
61573
  return [parsed, { status: "invalid" }];
@@ -61559,9 +61678,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
61559
61678
 
61560
61679
  // src/funcs/toolsCreate.ts
61561
61680
  function toolsCreate(client, request, options) {
61562
- return new APIPromise($do133(client, request, options));
61681
+ return new APIPromise($do134(client, request, options));
61563
61682
  }
61564
- async function $do133(client, request, options) {
61683
+ async function $do134(client, request, options) {
61565
61684
  const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
61566
61685
  if (!parsed.ok) {
61567
61686
  return [parsed, { status: "invalid" }];
@@ -61662,9 +61781,9 @@ Create a new tool`,
61662
61781
 
61663
61782
  // src/funcs/toolsDelete.ts
61664
61783
  function toolsDelete(client, request, options) {
61665
- return new APIPromise($do134(client, request, options));
61784
+ return new APIPromise($do135(client, request, options));
61666
61785
  }
61667
- async function $do134(client, request, options) {
61786
+ async function $do135(client, request, options) {
61668
61787
  const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
61669
61788
  if (!parsed.ok) {
61670
61789
  return [parsed, { status: "invalid" }];
@@ -61775,9 +61894,9 @@ Delete a tool.`,
61775
61894
 
61776
61895
  // src/funcs/toolsGetByName.ts
61777
61896
  function toolsGetByName(client, request, options) {
61778
- return new APIPromise($do135(client, request, options));
61897
+ return new APIPromise($do136(client, request, options));
61779
61898
  }
61780
- async function $do135(client, request, options) {
61899
+ async function $do136(client, request, options) {
61781
61900
  const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
61782
61901
  if (!parsed.ok) {
61783
61902
  return [parsed, { status: "invalid" }];
@@ -61884,9 +62003,9 @@ Get the details of a specific tool`,
61884
62003
 
61885
62004
  // src/funcs/toolsList.ts
61886
62005
  function toolsList(client, request, options) {
61887
- return new APIPromise($do136(client, request, options));
62006
+ return new APIPromise($do137(client, request, options));
61888
62007
  }
61889
- async function $do136(client, request, options) {
62008
+ async function $do137(client, request, options) {
61890
62009
  const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
61891
62010
  if (!parsed.ok) {
61892
62011
  return [parsed, { status: "invalid" }];
@@ -61999,9 +62118,9 @@ List the existing tools`,
61999
62118
 
62000
62119
  // src/funcs/toolsUpdate.ts
62001
62120
  function toolsUpdate(client, request, options) {
62002
- return new APIPromise($do137(client, request, options));
62121
+ return new APIPromise($do138(client, request, options));
62003
62122
  }
62004
- async function $do137(client, request, options) {
62123
+ async function $do138(client, request, options) {
62005
62124
  const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
62006
62125
  if (!parsed.ok) {
62007
62126
  return [parsed, { status: "invalid" }];
@@ -62102,9 +62221,9 @@ Update an existing tool`,
62102
62221
 
62103
62222
  // src/funcs/usersCreate.ts
62104
62223
  function usersCreate(client, request, options) {
62105
- return new APIPromise($do138(client, request, options));
62224
+ return new APIPromise($do139(client, request, options));
62106
62225
  }
62107
- async function $do138(client, request, options) {
62226
+ async function $do139(client, request, options) {
62108
62227
  const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
62109
62228
  if (!parsed.ok) {
62110
62229
  return [parsed, { status: "invalid" }];
@@ -62205,9 +62324,9 @@ Create a new user.`,
62205
62324
 
62206
62325
  // src/funcs/usersDelete.ts
62207
62326
  function usersDelete(client, request, options) {
62208
- return new APIPromise($do139(client, request, options));
62327
+ return new APIPromise($do140(client, request, options));
62209
62328
  }
62210
- async function $do139(client, request, options) {
62329
+ async function $do140(client, request, options) {
62211
62330
  const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
62212
62331
  if (!parsed.ok) {
62213
62332
  return [parsed, { status: "invalid" }];
@@ -62309,9 +62428,9 @@ Delete a user.`,
62309
62428
 
62310
62429
  // src/funcs/usersList.ts
62311
62430
  function usersList(client, request, options) {
62312
- return new APIPromise($do140(client, request, options));
62431
+ return new APIPromise($do141(client, request, options));
62313
62432
  }
62314
- async function $do140(client, request, options) {
62433
+ async function $do141(client, request, options) {
62315
62434
  const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
62316
62435
  if (!parsed.ok) {
62317
62436
  return [parsed, { status: "invalid" }];
@@ -62424,9 +62543,9 @@ List the existing users.`,
62424
62543
 
62425
62544
  // src/funcs/usersUpdate.ts
62426
62545
  function usersUpdate(client, request, options) {
62427
- return new APIPromise($do141(client, request, options));
62546
+ return new APIPromise($do142(client, request, options));
62428
62547
  }
62429
- async function $do141(client, request, options) {
62548
+ async function $do142(client, request, options) {
62430
62549
  const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
62431
62550
  if (!parsed.ok) {
62432
62551
  return [parsed, { status: "invalid" }];
@@ -62527,9 +62646,9 @@ Update an existing user.`,
62527
62646
 
62528
62647
  // src/funcs/usersUsersDeleteAccount.ts
62529
62648
  function usersUsersDeleteAccount(client, options) {
62530
- return new APIPromise($do142(client, options));
62649
+ return new APIPromise($do143(client, options));
62531
62650
  }
62532
- async function $do142(client, options) {
62651
+ async function $do143(client, options) {
62533
62652
  const path = pathToFunc("/api/v1/users/delete_account")();
62534
62653
  const headers = new Headers(compactMap({
62535
62654
  Accept: "application/json"
@@ -62612,9 +62731,9 @@ accounts.`,
62612
62731
 
62613
62732
  // src/funcs/usersUsersGetByEmail.ts
62614
62733
  function usersUsersGetByEmail(client, request, options) {
62615
- return new APIPromise($do143(client, request, options));
62734
+ return new APIPromise($do144(client, request, options));
62616
62735
  }
62617
- async function $do143(client, request, options) {
62736
+ async function $do144(client, request, options) {
62618
62737
  const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
62619
62738
  if (!parsed.ok) {
62620
62739
  return [parsed, { status: "invalid" }];
@@ -62721,9 +62840,9 @@ Fetch a given user.`,
62721
62840
 
62722
62841
  // src/funcs/usersUsersSendEmail.ts
62723
62842
  function usersUsersSendEmail(client, request, options) {
62724
- return new APIPromise($do144(client, request, options));
62843
+ return new APIPromise($do145(client, request, options));
62725
62844
  }
62726
- async function $do144(client, request, options) {
62845
+ async function $do145(client, request, options) {
62727
62846
  const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
62728
62847
  if (!parsed.ok) {
62729
62848
  return [parsed, { status: "invalid" }];
@@ -62836,7 +62955,7 @@ Send a welcome email to a user.`,
62836
62955
  function createMCPServer(deps) {
62837
62956
  const server = new McpServer({
62838
62957
  name: "SyllableSDK",
62839
- version: "1.0.2-rc.1"
62958
+ version: "1.0.2-rc.10"
62840
62959
  });
62841
62960
  const client = new SyllableSDKCore({
62842
62961
  apiKeyHeader: deps.apiKeyHeader,
@@ -62891,6 +63010,7 @@ function createMCPServer(deps) {
62891
63010
  tool(tool$pronunciationsPronunciationsGetMetadata);
62892
63011
  tool(tool$pronunciationsPronunciationsDownloadCsv);
62893
63012
  tool(tool$pronunciationsPronunciationsUploadCsv);
63013
+ tool(tool$pronunciationsPronunciationsDeleteCsv);
62894
63014
  tool(tool$rolesList);
62895
63015
  tool(tool$rolesCreate);
62896
63016
  tool(tool$rolesUpdate);
@@ -63103,6 +63223,7 @@ var init_server2 = __esm(() => {
63103
63223
  init_promptsPromptGetSupportedLlms2();
63104
63224
  init_promptsPromptsHistory2();
63105
63225
  init_promptsUpdate2();
63226
+ init_pronunciationsPronunciationsDeleteCsv2();
63106
63227
  init_pronunciationsPronunciationsDownloadCsv2();
63107
63228
  init_pronunciationsPronunciationsGet2();
63108
63229
  init_pronunciationsPronunciationsGetMetadata2();
@@ -64340,7 +64461,7 @@ var routes = ln({
64340
64461
  var app = _e(routes, {
64341
64462
  name: "mcp",
64342
64463
  versionInfo: {
64343
- currentVersion: "1.0.2-rc.1"
64464
+ currentVersion: "1.0.2-rc.10"
64344
64465
  }
64345
64466
  });
64346
64467
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -64348,5 +64469,5 @@ export {
64348
64469
  app
64349
64470
  };
64350
64471
 
64351
- //# debugId=2F8EDF0654B51CF764756E2164756E21
64472
+ //# debugId=AAA415706E44C61464756E2164756E21
64352
64473
  //# sourceMappingURL=mcp-server.js.map