syllable-sdk 1.0.2-rc.1 → 1.0.2-rc.11
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/README.md +2 -0
- package/bin/mcp-server.js +269 -142
- package/bin/mcp-server.js.map +26 -23
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/campaigns/README.md +24 -0
- package/docs/sdks/incidents/README.md +0 -8
- package/docs/sdks/prompts/README.md +4 -2
- package/docs/sdks/pronunciations/README.md +74 -5
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts +13 -0
- package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
- package/funcs/pronunciationsPronunciationsDeleteCsv.js +101 -0
- package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
- package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +2 -1
- package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
- package/funcs/pronunciationsPronunciationsDownloadCsv.js +10 -3
- package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +2 -1
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
- package/models/components/campaignproperties.d.ts +3 -0
- package/models/components/campaignproperties.d.ts.map +1 -1
- package/models/components/campaignproperties.js +1 -0
- package/models/components/campaignproperties.js.map +1 -1
- package/models/components/dictionarymetadata.d.ts +2 -2
- package/models/components/dictionarymetadata.d.ts.map +1 -1
- package/models/components/dictionarymetadata.js +2 -2
- package/models/components/dictionarymetadata.js.map +1 -1
- package/models/components/incidentcreaterequest.d.ts +3 -1
- package/models/components/incidentcreaterequest.d.ts.map +1 -1
- package/models/components/incidentcreaterequest.js.map +1 -1
- package/models/components/incidentresponse.d.ts +3 -1
- package/models/components/incidentresponse.d.ts.map +1 -1
- package/models/components/incidentresponse.js.map +1 -1
- package/models/components/incidentupdaterequest.d.ts +3 -11
- package/models/components/incidentupdaterequest.d.ts.map +1 -1
- package/models/components/incidentupdaterequest.js +0 -8
- package/models/components/incidentupdaterequest.js.map +1 -1
- package/models/components/matchtype.d.ts +3 -0
- package/models/components/matchtype.d.ts.map +1 -1
- package/models/components/matchtype.js +1 -0
- package/models/components/matchtype.js.map +1 -1
- package/models/components/outboundcampaign.d.ts +9 -0
- package/models/components/outboundcampaign.d.ts.map +1 -1
- package/models/components/outboundcampaign.js +4 -0
- package/models/components/outboundcampaign.js.map +1 -1
- package/models/components/outboundcampaigninput.d.ts +9 -0
- package/models/components/outboundcampaigninput.d.ts.map +1 -1
- package/models/components/outboundcampaigninput.js +4 -0
- package/models/components/outboundcampaigninput.js.map +1 -1
- package/models/components/promptcreaterequest.d.ts +5 -0
- package/models/components/promptcreaterequest.d.ts.map +1 -1
- package/models/components/promptcreaterequest.js +4 -0
- package/models/components/promptcreaterequest.js.map +1 -1
- package/models/components/promptresponse.d.ts +5 -5
- package/models/components/promptresponse.d.ts.map +1 -1
- package/models/components/promptresponse.js +2 -2
- package/models/components/promptresponse.js.map +1 -1
- package/models/components/promptupdaterequest.d.ts +5 -5
- package/models/components/promptupdaterequest.d.ts.map +1 -1
- package/models/components/promptupdaterequest.js +2 -2
- package/models/components/promptupdaterequest.js.map +1 -1
- package/models/components/pronunciationoverride.d.ts +8 -29
- package/models/components/pronunciationoverride.d.ts.map +1 -1
- package/models/components/pronunciationoverride.js +9 -32
- package/models/components/pronunciationoverride.js.map +1 -1
- package/models/components/pronunciationscsvuploadresponse.d.ts +6 -6
- package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -1
- package/models/components/pronunciationscsvuploadresponse.js +6 -6
- package/models/components/pronunciationscsvuploadresponse.js.map +1 -1
- package/models/components/voicesamplecreaterequest.d.ts +10 -0
- package/models/components/voicesamplecreaterequest.d.ts.map +1 -1
- package/models/components/voicesamplecreaterequest.js +6 -0
- package/models/components/voicesamplecreaterequest.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/pronunciationsdownloadcsv.d.ts +35 -0
- package/models/operations/pronunciationsdownloadcsv.d.ts.map +1 -0
- package/models/operations/pronunciationsdownloadcsv.js +82 -0
- package/models/operations/pronunciationsdownloadcsv.js.map +1 -0
- package/openapi.json +202 -164
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +6 -1
- package/sdk/pronunciations.d.ts.map +1 -1
- package/sdk/pronunciations.js +7 -0
- package/sdk/pronunciations.js.map +1 -1
- package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
- package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +15 -7
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
- package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +3 -1
- package/src/models/components/campaignproperties.ts +1 -0
- package/src/models/components/dictionarymetadata.ts +4 -4
- package/src/models/components/incidentcreaterequest.ts +3 -1
- package/src/models/components/incidentresponse.ts +3 -1
- package/src/models/components/incidentupdaterequest.ts +3 -23
- package/src/models/components/matchtype.ts +1 -0
- package/src/models/components/outboundcampaign.ts +9 -0
- package/src/models/components/outboundcampaigninput.ts +9 -0
- package/src/models/components/promptcreaterequest.ts +9 -0
- package/src/models/components/promptresponse.ts +7 -7
- package/src/models/components/promptupdaterequest.ts +7 -7
- package/src/models/components/pronunciationoverride.ts +16 -62
- package/src/models/components/pronunciationscsvuploadresponse.ts +12 -12
- package/src/models/components/voicesamplecreaterequest.ts +16 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/pronunciationsdownloadcsv.ts +84 -0
- 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.
|
|
34418
|
-
genVersion: "2.723.
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
34417
|
+
sdkVersion: "1.0.2-rc.11",
|
|
34418
|
+
genVersion: "2.723.11",
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.11 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:
|
|
39151
|
+
source: stringType().default("")
|
|
39151
39152
|
});
|
|
39152
39153
|
DictionaryMetadata$outboundSchema = objectType({
|
|
39153
39154
|
entries: numberType().int(),
|
|
39154
39155
|
hash: stringType(),
|
|
39155
|
-
source:
|
|
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
|
|
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
|
-
|
|
42504
|
-
provider:
|
|
42505
|
-
voice:
|
|
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:
|
|
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
|
-
|
|
42520
|
-
provider:
|
|
42521
|
-
voice:
|
|
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:
|
|
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:
|
|
42598
|
-
entries:
|
|
42597
|
+
hash: stringType(),
|
|
42598
|
+
entries: numberType().int(),
|
|
42599
42599
|
uploaded_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42600
|
-
uploaded_by:
|
|
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:
|
|
42610
|
-
entries:
|
|
42609
|
+
hash: stringType(),
|
|
42610
|
+
entries: numberType().int(),
|
|
42611
42611
|
uploadedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42612
|
-
uploadedBy:
|
|
42612
|
+
uploadedBy: stringType()
|
|
42613
42613
|
}).transform((v2) => {
|
|
42614
42614
|
return remap(v2, {
|
|
42615
42615
|
uploadedAt: "uploaded_at",
|
|
@@ -43892,14 +43892,17 @@ var init_voicesamplecreaterequest = __esm(() => {
|
|
|
43892
43892
|
voice_provider: TtsProvider$inboundSchema,
|
|
43893
43893
|
voice_display_name: AgentVoiceDisplayName$inboundSchema,
|
|
43894
43894
|
voice_speed: nullableType(numberType()).optional(),
|
|
43895
|
-
voice_pitch: nullableType(numberType()).optional()
|
|
43895
|
+
voice_pitch: nullableType(numberType()).optional(),
|
|
43896
|
+
text: stringType().default(""),
|
|
43897
|
+
apply_pronunciation_overrides: booleanType().default(false)
|
|
43896
43898
|
}).transform((v2) => {
|
|
43897
43899
|
return remap(v2, {
|
|
43898
43900
|
language_code: "languageCode",
|
|
43899
43901
|
voice_provider: "voiceProvider",
|
|
43900
43902
|
voice_display_name: "voiceDisplayName",
|
|
43901
43903
|
voice_speed: "voiceSpeed",
|
|
43902
|
-
voice_pitch: "voicePitch"
|
|
43904
|
+
voice_pitch: "voicePitch",
|
|
43905
|
+
apply_pronunciation_overrides: "applyPronunciationOverrides"
|
|
43903
43906
|
});
|
|
43904
43907
|
});
|
|
43905
43908
|
VoiceSampleCreateRequest$outboundSchema = objectType({
|
|
@@ -43907,14 +43910,17 @@ var init_voicesamplecreaterequest = __esm(() => {
|
|
|
43907
43910
|
voiceProvider: TtsProvider$outboundSchema,
|
|
43908
43911
|
voiceDisplayName: AgentVoiceDisplayName$outboundSchema,
|
|
43909
43912
|
voiceSpeed: nullableType(numberType()).optional(),
|
|
43910
|
-
voicePitch: nullableType(numberType()).optional()
|
|
43913
|
+
voicePitch: nullableType(numberType()).optional(),
|
|
43914
|
+
text: stringType().default(""),
|
|
43915
|
+
applyPronunciationOverrides: booleanType().default(false)
|
|
43911
43916
|
}).transform((v2) => {
|
|
43912
43917
|
return remap(v2, {
|
|
43913
43918
|
languageCode: "language_code",
|
|
43914
43919
|
voiceProvider: "voice_provider",
|
|
43915
43920
|
voiceDisplayName: "voice_display_name",
|
|
43916
43921
|
voiceSpeed: "voice_speed",
|
|
43917
|
-
voicePitch: "voice_pitch"
|
|
43922
|
+
voicePitch: "voice_pitch",
|
|
43923
|
+
applyPronunciationOverrides: "apply_pronunciation_overrides"
|
|
43918
43924
|
});
|
|
43919
43925
|
});
|
|
43920
43926
|
((VoiceSampleCreateRequest$) => {
|
|
@@ -46772,6 +46778,35 @@ var init_promptslist = __esm(() => {
|
|
|
46772
46778
|
})(PromptsListRequest$ ||= {});
|
|
46773
46779
|
});
|
|
46774
46780
|
|
|
46781
|
+
// src/models/operations/pronunciationsdownloadcsv.ts
|
|
46782
|
+
var PronunciationsDownloadCsvResponse$inboundSchema, PronunciationsDownloadCsvResponse$outboundSchema, PronunciationsDownloadCsvResponse$;
|
|
46783
|
+
var init_pronunciationsdownloadcsv = __esm(() => {
|
|
46784
|
+
init_zod();
|
|
46785
|
+
init_primitives();
|
|
46786
|
+
PronunciationsDownloadCsvResponse$inboundSchema = objectType({
|
|
46787
|
+
Headers: recordType(arrayType(stringType())),
|
|
46788
|
+
Result: instanceOfType(ReadableStream)
|
|
46789
|
+
}).transform((v2) => {
|
|
46790
|
+
return remap(v2, {
|
|
46791
|
+
Headers: "headers",
|
|
46792
|
+
Result: "result"
|
|
46793
|
+
});
|
|
46794
|
+
});
|
|
46795
|
+
PronunciationsDownloadCsvResponse$outboundSchema = objectType({
|
|
46796
|
+
headers: recordType(arrayType(stringType())),
|
|
46797
|
+
result: instanceOfType(ReadableStream)
|
|
46798
|
+
}).transform((v2) => {
|
|
46799
|
+
return remap(v2, {
|
|
46800
|
+
headers: "Headers",
|
|
46801
|
+
result: "Result"
|
|
46802
|
+
});
|
|
46803
|
+
});
|
|
46804
|
+
((PronunciationsDownloadCsvResponse$) => {
|
|
46805
|
+
PronunciationsDownloadCsvResponse$.inboundSchema = PronunciationsDownloadCsvResponse$inboundSchema;
|
|
46806
|
+
PronunciationsDownloadCsvResponse$.outboundSchema = PronunciationsDownloadCsvResponse$outboundSchema;
|
|
46807
|
+
})(PronunciationsDownloadCsvResponse$ ||= {});
|
|
46808
|
+
});
|
|
46809
|
+
|
|
46775
46810
|
// src/models/operations/rolesdelete.ts
|
|
46776
46811
|
var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema, RolesDeleteRequest$;
|
|
46777
46812
|
var init_rolesdelete = __esm(() => {
|
|
@@ -47563,6 +47598,7 @@ var init_operations = __esm(() => {
|
|
|
47563
47598
|
init_promptsgetbyid();
|
|
47564
47599
|
init_promptshistory();
|
|
47565
47600
|
init_promptslist();
|
|
47601
|
+
init_pronunciationsdownloadcsv();
|
|
47566
47602
|
init_rolesdelete();
|
|
47567
47603
|
init_rolesgetbyid();
|
|
47568
47604
|
init_roleslist();
|
|
@@ -58415,8 +58451,8 @@ Update an existing prompt`,
|
|
|
58415
58451
|
};
|
|
58416
58452
|
});
|
|
58417
58453
|
|
|
58418
|
-
// src/funcs/
|
|
58419
|
-
function
|
|
58454
|
+
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
58455
|
+
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
58420
58456
|
return new APIPromise($do103(client, options));
|
|
58421
58457
|
}
|
|
58422
58458
|
async function $do103(client, options) {
|
|
@@ -58427,6 +58463,87 @@ async function $do103(client, options) {
|
|
|
58427
58463
|
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58428
58464
|
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
58429
58465
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58466
|
+
const context = {
|
|
58467
|
+
options: client._options,
|
|
58468
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
58469
|
+
operationID: "pronunciations_delete_csv",
|
|
58470
|
+
oAuth2Scopes: null,
|
|
58471
|
+
resolvedSecurity: requestSecurity,
|
|
58472
|
+
securitySource: client._options.apiKeyHeader,
|
|
58473
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
58474
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
58475
|
+
};
|
|
58476
|
+
const requestRes = client._createRequest(context, {
|
|
58477
|
+
security: requestSecurity,
|
|
58478
|
+
method: "DELETE",
|
|
58479
|
+
baseURL: options?.serverURL,
|
|
58480
|
+
path,
|
|
58481
|
+
headers,
|
|
58482
|
+
userAgent: client._options.userAgent,
|
|
58483
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
58484
|
+
}, options);
|
|
58485
|
+
if (!requestRes.ok) {
|
|
58486
|
+
return [requestRes, { status: "invalid" }];
|
|
58487
|
+
}
|
|
58488
|
+
const req = requestRes.value;
|
|
58489
|
+
const doResult = await client._do(req, {
|
|
58490
|
+
context,
|
|
58491
|
+
errorCodes: ["4XX", "5XX"],
|
|
58492
|
+
retryConfig: context.retryConfig,
|
|
58493
|
+
retryCodes: context.retryCodes
|
|
58494
|
+
});
|
|
58495
|
+
if (!doResult.ok) {
|
|
58496
|
+
return [doResult, { status: "request-error", request: req }];
|
|
58497
|
+
}
|
|
58498
|
+
const response = doResult.value;
|
|
58499
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
58500
|
+
if (!result.ok) {
|
|
58501
|
+
return [result, { status: "complete", request: req, response }];
|
|
58502
|
+
}
|
|
58503
|
+
return [result, { status: "complete", request: req, response }];
|
|
58504
|
+
}
|
|
58505
|
+
var init_pronunciationsPronunciationsDeleteCsv = __esm(() => {
|
|
58506
|
+
init_zod();
|
|
58507
|
+
init_matchers();
|
|
58508
|
+
init_primitives();
|
|
58509
|
+
init_security();
|
|
58510
|
+
init_url();
|
|
58511
|
+
init_async();
|
|
58512
|
+
});
|
|
58513
|
+
|
|
58514
|
+
// src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts
|
|
58515
|
+
var tool$pronunciationsPronunciationsDeleteCsv;
|
|
58516
|
+
var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
|
|
58517
|
+
init_pronunciationsPronunciationsDeleteCsv();
|
|
58518
|
+
init_tools();
|
|
58519
|
+
tool$pronunciationsPronunciationsDeleteCsv = {
|
|
58520
|
+
name: "pronunciations-pronunciations-delete-csv",
|
|
58521
|
+
description: `Delete Pronunciations Dictionary`,
|
|
58522
|
+
tool: async (client, ctx) => {
|
|
58523
|
+
const [result, apiCall] = await pronunciationsPronunciationsDeleteCsv(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58524
|
+
if (!result.ok) {
|
|
58525
|
+
return {
|
|
58526
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58527
|
+
isError: true
|
|
58528
|
+
};
|
|
58529
|
+
}
|
|
58530
|
+
return formatResult(undefined, apiCall);
|
|
58531
|
+
}
|
|
58532
|
+
};
|
|
58533
|
+
});
|
|
58534
|
+
|
|
58535
|
+
// src/funcs/pronunciationsPronunciationsDownloadCsv.ts
|
|
58536
|
+
function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
58537
|
+
return new APIPromise($do104(client, options));
|
|
58538
|
+
}
|
|
58539
|
+
async function $do104(client, options) {
|
|
58540
|
+
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58541
|
+
const headers = new Headers(compactMap({
|
|
58542
|
+
Accept: "text/csv"
|
|
58543
|
+
}));
|
|
58544
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58545
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
58546
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58430
58547
|
const context = {
|
|
58431
58548
|
options: client._options,
|
|
58432
58549
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
@@ -58460,18 +58577,25 @@ async function $do103(client, options) {
|
|
|
58460
58577
|
return [doResult, { status: "request-error", request: req }];
|
|
58461
58578
|
}
|
|
58462
58579
|
const response = doResult.value;
|
|
58463
|
-
const
|
|
58580
|
+
const responseFields = {
|
|
58581
|
+
HttpMeta: { Response: response, Request: req }
|
|
58582
|
+
};
|
|
58583
|
+
const [result] = await match(stream(200, PronunciationsDownloadCsvResponse$inboundSchema, {
|
|
58584
|
+
ctype: "text/csv",
|
|
58585
|
+
hdrs: true,
|
|
58586
|
+
key: "Result"
|
|
58587
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
58464
58588
|
if (!result.ok) {
|
|
58465
58589
|
return [result, { status: "complete", request: req, response }];
|
|
58466
58590
|
}
|
|
58467
58591
|
return [result, { status: "complete", request: req, response }];
|
|
58468
58592
|
}
|
|
58469
58593
|
var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
|
|
58470
|
-
init_zod();
|
|
58471
58594
|
init_matchers();
|
|
58472
58595
|
init_primitives();
|
|
58473
58596
|
init_security();
|
|
58474
58597
|
init_url();
|
|
58598
|
+
init_operations();
|
|
58475
58599
|
init_async();
|
|
58476
58600
|
});
|
|
58477
58601
|
|
|
@@ -58491,16 +58615,17 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
58491
58615
|
isError: true
|
|
58492
58616
|
};
|
|
58493
58617
|
}
|
|
58494
|
-
|
|
58618
|
+
const value = result.value.result;
|
|
58619
|
+
return formatResult(value, apiCall);
|
|
58495
58620
|
}
|
|
58496
58621
|
};
|
|
58497
58622
|
});
|
|
58498
58623
|
|
|
58499
58624
|
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
58500
58625
|
function pronunciationsPronunciationsGet(client, options) {
|
|
58501
|
-
return new APIPromise($
|
|
58626
|
+
return new APIPromise($do105(client, options));
|
|
58502
58627
|
}
|
|
58503
|
-
async function $
|
|
58628
|
+
async function $do105(client, options) {
|
|
58504
58629
|
const path = pathToFunc("/api/v1/pronunciations")();
|
|
58505
58630
|
const headers = new Headers(compactMap({
|
|
58506
58631
|
Accept: "application/json"
|
|
@@ -58580,9 +58705,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
|
58580
58705
|
|
|
58581
58706
|
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
58582
58707
|
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
58583
|
-
return new APIPromise($
|
|
58708
|
+
return new APIPromise($do106(client, options));
|
|
58584
58709
|
}
|
|
58585
|
-
async function $
|
|
58710
|
+
async function $do106(client, options) {
|
|
58586
58711
|
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
58587
58712
|
const headers = new Headers(compactMap({
|
|
58588
58713
|
Accept: "application/json"
|
|
@@ -58662,9 +58787,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
|
58662
58787
|
|
|
58663
58788
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
58664
58789
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
58665
|
-
return new APIPromise($
|
|
58790
|
+
return new APIPromise($do107(client, request, options));
|
|
58666
58791
|
}
|
|
58667
|
-
async function $
|
|
58792
|
+
async function $do107(client, request, options) {
|
|
58668
58793
|
const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
58669
58794
|
if (!parsed.ok) {
|
|
58670
58795
|
return [parsed, { status: "invalid" }];
|
|
@@ -58774,9 +58899,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
58774
58899
|
|
|
58775
58900
|
// src/funcs/rolesCreate.ts
|
|
58776
58901
|
function rolesCreate(client, request, options) {
|
|
58777
|
-
return new APIPromise($
|
|
58902
|
+
return new APIPromise($do108(client, request, options));
|
|
58778
58903
|
}
|
|
58779
|
-
async function $
|
|
58904
|
+
async function $do108(client, request, options) {
|
|
58780
58905
|
const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58781
58906
|
if (!parsed.ok) {
|
|
58782
58907
|
return [parsed, { status: "invalid" }];
|
|
@@ -58877,9 +59002,9 @@ Create a new role.`,
|
|
|
58877
59002
|
|
|
58878
59003
|
// src/funcs/rolesDelete.ts
|
|
58879
59004
|
function rolesDelete(client, request, options) {
|
|
58880
|
-
return new APIPromise($
|
|
59005
|
+
return new APIPromise($do109(client, request, options));
|
|
58881
59006
|
}
|
|
58882
|
-
async function $
|
|
59007
|
+
async function $do109(client, request, options) {
|
|
58883
59008
|
const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58884
59009
|
if (!parsed.ok) {
|
|
58885
59010
|
return [parsed, { status: "invalid" }];
|
|
@@ -58991,9 +59116,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
58991
59116
|
|
|
58992
59117
|
// src/funcs/rolesGetById.ts
|
|
58993
59118
|
function rolesGetById(client, request, options) {
|
|
58994
|
-
return new APIPromise($
|
|
59119
|
+
return new APIPromise($do110(client, request, options));
|
|
58995
59120
|
}
|
|
58996
|
-
async function $
|
|
59121
|
+
async function $do110(client, request, options) {
|
|
58997
59122
|
const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58998
59123
|
if (!parsed.ok) {
|
|
58999
59124
|
return [parsed, { status: "invalid" }];
|
|
@@ -59100,9 +59225,9 @@ Fetch a given role.`,
|
|
|
59100
59225
|
|
|
59101
59226
|
// src/funcs/rolesList.ts
|
|
59102
59227
|
function rolesList(client, request, options) {
|
|
59103
|
-
return new APIPromise($
|
|
59228
|
+
return new APIPromise($do111(client, request, options));
|
|
59104
59229
|
}
|
|
59105
|
-
async function $
|
|
59230
|
+
async function $do111(client, request, options) {
|
|
59106
59231
|
const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59107
59232
|
if (!parsed.ok) {
|
|
59108
59233
|
return [parsed, { status: "invalid" }];
|
|
@@ -59215,9 +59340,9 @@ List the existing roles.`,
|
|
|
59215
59340
|
|
|
59216
59341
|
// src/funcs/rolesUpdate.ts
|
|
59217
59342
|
function rolesUpdate(client, request, options) {
|
|
59218
|
-
return new APIPromise($
|
|
59343
|
+
return new APIPromise($do112(client, request, options));
|
|
59219
59344
|
}
|
|
59220
|
-
async function $
|
|
59345
|
+
async function $do112(client, request, options) {
|
|
59221
59346
|
const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59222
59347
|
if (!parsed.ok) {
|
|
59223
59348
|
return [parsed, { status: "invalid" }];
|
|
@@ -59318,9 +59443,9 @@ Update an existing role.`,
|
|
|
59318
59443
|
|
|
59319
59444
|
// src/funcs/servicesCreate.ts
|
|
59320
59445
|
function servicesCreate(client, request, options) {
|
|
59321
|
-
return new APIPromise($
|
|
59446
|
+
return new APIPromise($do113(client, request, options));
|
|
59322
59447
|
}
|
|
59323
|
-
async function $
|
|
59448
|
+
async function $do113(client, request, options) {
|
|
59324
59449
|
const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59325
59450
|
if (!parsed.ok) {
|
|
59326
59451
|
return [parsed, { status: "invalid" }];
|
|
@@ -59421,9 +59546,9 @@ Create a new service.`,
|
|
|
59421
59546
|
|
|
59422
59547
|
// src/funcs/servicesDelete.ts
|
|
59423
59548
|
function servicesDelete(client, request, options) {
|
|
59424
|
-
return new APIPromise($
|
|
59549
|
+
return new APIPromise($do114(client, request, options));
|
|
59425
59550
|
}
|
|
59426
|
-
async function $
|
|
59551
|
+
async function $do114(client, request, options) {
|
|
59427
59552
|
const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59428
59553
|
if (!parsed.ok) {
|
|
59429
59554
|
return [parsed, { status: "invalid" }];
|
|
@@ -59534,9 +59659,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
59534
59659
|
|
|
59535
59660
|
// src/funcs/servicesGetById.ts
|
|
59536
59661
|
function servicesGetById(client, request, options) {
|
|
59537
|
-
return new APIPromise($
|
|
59662
|
+
return new APIPromise($do115(client, request, options));
|
|
59538
59663
|
}
|
|
59539
|
-
async function $
|
|
59664
|
+
async function $do115(client, request, options) {
|
|
59540
59665
|
const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59541
59666
|
if (!parsed.ok) {
|
|
59542
59667
|
return [parsed, { status: "invalid" }];
|
|
@@ -59643,9 +59768,9 @@ Get a service by its ID`,
|
|
|
59643
59768
|
|
|
59644
59769
|
// src/funcs/servicesList.ts
|
|
59645
59770
|
function servicesList(client, request, options) {
|
|
59646
|
-
return new APIPromise($
|
|
59771
|
+
return new APIPromise($do116(client, request, options));
|
|
59647
59772
|
}
|
|
59648
|
-
async function $
|
|
59773
|
+
async function $do116(client, request, options) {
|
|
59649
59774
|
const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59650
59775
|
if (!parsed.ok) {
|
|
59651
59776
|
return [parsed, { status: "invalid" }];
|
|
@@ -59758,9 +59883,9 @@ List the existing services`,
|
|
|
59758
59883
|
|
|
59759
59884
|
// src/funcs/servicesUpdate.ts
|
|
59760
59885
|
function servicesUpdate(client, request, options) {
|
|
59761
|
-
return new APIPromise($
|
|
59886
|
+
return new APIPromise($do117(client, request, options));
|
|
59762
59887
|
}
|
|
59763
|
-
async function $
|
|
59888
|
+
async function $do117(client, request, options) {
|
|
59764
59889
|
const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59765
59890
|
if (!parsed.ok) {
|
|
59766
59891
|
return [parsed, { status: "invalid" }];
|
|
@@ -59861,9 +59986,9 @@ Update an existing service.`,
|
|
|
59861
59986
|
|
|
59862
59987
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
59863
59988
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
59864
|
-
return new APIPromise($
|
|
59989
|
+
return new APIPromise($do118(client, request, options));
|
|
59865
59990
|
}
|
|
59866
|
-
async function $
|
|
59991
|
+
async function $do118(client, request, options) {
|
|
59867
59992
|
const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59868
59993
|
if (!parsed.ok) {
|
|
59869
59994
|
return [parsed, { status: "invalid" }];
|
|
@@ -59968,9 +60093,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
59968
60093
|
|
|
59969
60094
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
59970
60095
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
59971
|
-
return new APIPromise($
|
|
60096
|
+
return new APIPromise($do119(client, request, options));
|
|
59972
60097
|
}
|
|
59973
|
-
async function $
|
|
60098
|
+
async function $do119(client, request, options) {
|
|
59974
60099
|
const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59975
60100
|
if (!parsed.ok) {
|
|
59976
60101
|
return [parsed, { status: "invalid" }];
|
|
@@ -60073,9 +60198,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
60073
60198
|
|
|
60074
60199
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
60075
60200
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
60076
|
-
return new APIPromise($
|
|
60201
|
+
return new APIPromise($do120(client, request, options));
|
|
60077
60202
|
}
|
|
60078
|
-
async function $
|
|
60203
|
+
async function $do120(client, request, options) {
|
|
60079
60204
|
const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60080
60205
|
if (!parsed.ok) {
|
|
60081
60206
|
return [parsed, { status: "invalid" }];
|
|
@@ -60184,9 +60309,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
60184
60309
|
|
|
60185
60310
|
// src/funcs/sessionLabelsCreate.ts
|
|
60186
60311
|
function sessionLabelsCreate(client, request, options) {
|
|
60187
|
-
return new APIPromise($
|
|
60312
|
+
return new APIPromise($do121(client, request, options));
|
|
60188
60313
|
}
|
|
60189
|
-
async function $
|
|
60314
|
+
async function $do121(client, request, options) {
|
|
60190
60315
|
const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
60191
60316
|
if (!parsed.ok) {
|
|
60192
60317
|
return [parsed, { status: "invalid" }];
|
|
@@ -60287,9 +60412,9 @@ Create a new label`,
|
|
|
60287
60412
|
|
|
60288
60413
|
// src/funcs/sessionLabelsGetById.ts
|
|
60289
60414
|
function sessionLabelsGetById(client, request, options) {
|
|
60290
|
-
return new APIPromise($
|
|
60415
|
+
return new APIPromise($do122(client, request, options));
|
|
60291
60416
|
}
|
|
60292
|
-
async function $
|
|
60417
|
+
async function $do122(client, request, options) {
|
|
60293
60418
|
const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60294
60419
|
if (!parsed.ok) {
|
|
60295
60420
|
return [parsed, { status: "invalid" }];
|
|
@@ -60391,9 +60516,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
60391
60516
|
|
|
60392
60517
|
// src/funcs/sessionLabelsList.ts
|
|
60393
60518
|
function sessionLabelsList(client, request, options) {
|
|
60394
|
-
return new APIPromise($
|
|
60519
|
+
return new APIPromise($do123(client, request, options));
|
|
60395
60520
|
}
|
|
60396
|
-
async function $
|
|
60521
|
+
async function $do123(client, request, options) {
|
|
60397
60522
|
const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60398
60523
|
if (!parsed.ok) {
|
|
60399
60524
|
return [parsed, { status: "invalid" }];
|
|
@@ -60504,9 +60629,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
60504
60629
|
|
|
60505
60630
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
60506
60631
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
60507
|
-
return new APIPromise($
|
|
60632
|
+
return new APIPromise($do124(client, request, options));
|
|
60508
60633
|
}
|
|
60509
|
-
async function $
|
|
60634
|
+
async function $do124(client, request, options) {
|
|
60510
60635
|
const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60511
60636
|
if (!parsed.ok) {
|
|
60512
60637
|
return [parsed, { status: "invalid" }];
|
|
@@ -60611,9 +60736,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
60611
60736
|
|
|
60612
60737
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
60613
60738
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
60614
|
-
return new APIPromise($
|
|
60739
|
+
return new APIPromise($do125(client, request, options));
|
|
60615
60740
|
}
|
|
60616
|
-
async function $
|
|
60741
|
+
async function $do125(client, request, options) {
|
|
60617
60742
|
const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60618
60743
|
if (!parsed.ok) {
|
|
60619
60744
|
return [parsed, { status: "invalid" }];
|
|
@@ -60718,9 +60843,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
60718
60843
|
|
|
60719
60844
|
// src/funcs/sessionsGetById.ts
|
|
60720
60845
|
function sessionsGetById(client, request, options) {
|
|
60721
|
-
return new APIPromise($
|
|
60846
|
+
return new APIPromise($do126(client, request, options));
|
|
60722
60847
|
}
|
|
60723
|
-
async function $
|
|
60848
|
+
async function $do126(client, request, options) {
|
|
60724
60849
|
const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60725
60850
|
if (!parsed.ok) {
|
|
60726
60851
|
return [parsed, { status: "invalid" }];
|
|
@@ -60825,9 +60950,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
60825
60950
|
|
|
60826
60951
|
// src/funcs/sessionsLatencyGetById.ts
|
|
60827
60952
|
function sessionsLatencyGetById(client, request, options) {
|
|
60828
|
-
return new APIPromise($
|
|
60953
|
+
return new APIPromise($do127(client, request, options));
|
|
60829
60954
|
}
|
|
60830
|
-
async function $
|
|
60955
|
+
async function $do127(client, request, options) {
|
|
60831
60956
|
const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60832
60957
|
if (!parsed.ok) {
|
|
60833
60958
|
return [parsed, { status: "invalid" }];
|
|
@@ -60932,9 +61057,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
60932
61057
|
|
|
60933
61058
|
// src/funcs/sessionsList.ts
|
|
60934
61059
|
function sessionsList(client, request, options) {
|
|
60935
|
-
return new APIPromise($
|
|
61060
|
+
return new APIPromise($do128(client, request, options));
|
|
60936
61061
|
}
|
|
60937
|
-
async function $
|
|
61062
|
+
async function $do128(client, request, options) {
|
|
60938
61063
|
const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60939
61064
|
if (!parsed.ok) {
|
|
60940
61065
|
return [parsed, { status: "invalid" }];
|
|
@@ -61045,9 +61170,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
61045
61170
|
|
|
61046
61171
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
61047
61172
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
61048
|
-
return new APIPromise($
|
|
61173
|
+
return new APIPromise($do129(client, request, options));
|
|
61049
61174
|
}
|
|
61050
|
-
async function $
|
|
61175
|
+
async function $do129(client, request, options) {
|
|
61051
61176
|
const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61052
61177
|
if (!parsed.ok) {
|
|
61053
61178
|
return [parsed, { status: "invalid" }];
|
|
@@ -61150,9 +61275,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
61150
61275
|
|
|
61151
61276
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
61152
61277
|
function sessionsTranscriptGetById(client, request, options) {
|
|
61153
|
-
return new APIPromise($
|
|
61278
|
+
return new APIPromise($do130(client, request, options));
|
|
61154
61279
|
}
|
|
61155
|
-
async function $
|
|
61280
|
+
async function $do130(client, request, options) {
|
|
61156
61281
|
const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61157
61282
|
if (!parsed.ok) {
|
|
61158
61283
|
return [parsed, { status: "invalid" }];
|
|
@@ -61257,9 +61382,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
61257
61382
|
|
|
61258
61383
|
// src/funcs/takeoutsCreate.ts
|
|
61259
61384
|
function takeoutsCreate(client, options) {
|
|
61260
|
-
return new APIPromise($
|
|
61385
|
+
return new APIPromise($do131(client, options));
|
|
61261
61386
|
}
|
|
61262
|
-
async function $
|
|
61387
|
+
async function $do131(client, options) {
|
|
61263
61388
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
61264
61389
|
const headers = new Headers(compactMap({
|
|
61265
61390
|
Accept: "application/json"
|
|
@@ -61339,9 +61464,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
61339
61464
|
|
|
61340
61465
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
61341
61466
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
61342
|
-
return new APIPromise($
|
|
61467
|
+
return new APIPromise($do132(client, request, options));
|
|
61343
61468
|
}
|
|
61344
|
-
async function $
|
|
61469
|
+
async function $do132(client, request, options) {
|
|
61345
61470
|
const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61346
61471
|
if (!parsed.ok) {
|
|
61347
61472
|
return [parsed, { status: "invalid" }];
|
|
@@ -61446,9 +61571,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
61446
61571
|
|
|
61447
61572
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
61448
61573
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
61449
|
-
return new APIPromise($
|
|
61574
|
+
return new APIPromise($do133(client, request, options));
|
|
61450
61575
|
}
|
|
61451
|
-
async function $
|
|
61576
|
+
async function $do133(client, request, options) {
|
|
61452
61577
|
const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61453
61578
|
if (!parsed.ok) {
|
|
61454
61579
|
return [parsed, { status: "invalid" }];
|
|
@@ -61559,9 +61684,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
61559
61684
|
|
|
61560
61685
|
// src/funcs/toolsCreate.ts
|
|
61561
61686
|
function toolsCreate(client, request, options) {
|
|
61562
|
-
return new APIPromise($
|
|
61687
|
+
return new APIPromise($do134(client, request, options));
|
|
61563
61688
|
}
|
|
61564
|
-
async function $
|
|
61689
|
+
async function $do134(client, request, options) {
|
|
61565
61690
|
const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61566
61691
|
if (!parsed.ok) {
|
|
61567
61692
|
return [parsed, { status: "invalid" }];
|
|
@@ -61662,9 +61787,9 @@ Create a new tool`,
|
|
|
61662
61787
|
|
|
61663
61788
|
// src/funcs/toolsDelete.ts
|
|
61664
61789
|
function toolsDelete(client, request, options) {
|
|
61665
|
-
return new APIPromise($
|
|
61790
|
+
return new APIPromise($do135(client, request, options));
|
|
61666
61791
|
}
|
|
61667
|
-
async function $
|
|
61792
|
+
async function $do135(client, request, options) {
|
|
61668
61793
|
const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61669
61794
|
if (!parsed.ok) {
|
|
61670
61795
|
return [parsed, { status: "invalid" }];
|
|
@@ -61775,9 +61900,9 @@ Delete a tool.`,
|
|
|
61775
61900
|
|
|
61776
61901
|
// src/funcs/toolsGetByName.ts
|
|
61777
61902
|
function toolsGetByName(client, request, options) {
|
|
61778
|
-
return new APIPromise($
|
|
61903
|
+
return new APIPromise($do136(client, request, options));
|
|
61779
61904
|
}
|
|
61780
|
-
async function $
|
|
61905
|
+
async function $do136(client, request, options) {
|
|
61781
61906
|
const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61782
61907
|
if (!parsed.ok) {
|
|
61783
61908
|
return [parsed, { status: "invalid" }];
|
|
@@ -61884,9 +62009,9 @@ Get the details of a specific tool`,
|
|
|
61884
62009
|
|
|
61885
62010
|
// src/funcs/toolsList.ts
|
|
61886
62011
|
function toolsList(client, request, options) {
|
|
61887
|
-
return new APIPromise($
|
|
62012
|
+
return new APIPromise($do137(client, request, options));
|
|
61888
62013
|
}
|
|
61889
|
-
async function $
|
|
62014
|
+
async function $do137(client, request, options) {
|
|
61890
62015
|
const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61891
62016
|
if (!parsed.ok) {
|
|
61892
62017
|
return [parsed, { status: "invalid" }];
|
|
@@ -61999,9 +62124,9 @@ List the existing tools`,
|
|
|
61999
62124
|
|
|
62000
62125
|
// src/funcs/toolsUpdate.ts
|
|
62001
62126
|
function toolsUpdate(client, request, options) {
|
|
62002
|
-
return new APIPromise($
|
|
62127
|
+
return new APIPromise($do138(client, request, options));
|
|
62003
62128
|
}
|
|
62004
|
-
async function $
|
|
62129
|
+
async function $do138(client, request, options) {
|
|
62005
62130
|
const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62006
62131
|
if (!parsed.ok) {
|
|
62007
62132
|
return [parsed, { status: "invalid" }];
|
|
@@ -62102,9 +62227,9 @@ Update an existing tool`,
|
|
|
62102
62227
|
|
|
62103
62228
|
// src/funcs/usersCreate.ts
|
|
62104
62229
|
function usersCreate(client, request, options) {
|
|
62105
|
-
return new APIPromise($
|
|
62230
|
+
return new APIPromise($do139(client, request, options));
|
|
62106
62231
|
}
|
|
62107
|
-
async function $
|
|
62232
|
+
async function $do139(client, request, options) {
|
|
62108
62233
|
const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62109
62234
|
if (!parsed.ok) {
|
|
62110
62235
|
return [parsed, { status: "invalid" }];
|
|
@@ -62205,9 +62330,9 @@ Create a new user.`,
|
|
|
62205
62330
|
|
|
62206
62331
|
// src/funcs/usersDelete.ts
|
|
62207
62332
|
function usersDelete(client, request, options) {
|
|
62208
|
-
return new APIPromise($
|
|
62333
|
+
return new APIPromise($do140(client, request, options));
|
|
62209
62334
|
}
|
|
62210
|
-
async function $
|
|
62335
|
+
async function $do140(client, request, options) {
|
|
62211
62336
|
const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62212
62337
|
if (!parsed.ok) {
|
|
62213
62338
|
return [parsed, { status: "invalid" }];
|
|
@@ -62309,9 +62434,9 @@ Delete a user.`,
|
|
|
62309
62434
|
|
|
62310
62435
|
// src/funcs/usersList.ts
|
|
62311
62436
|
function usersList(client, request, options) {
|
|
62312
|
-
return new APIPromise($
|
|
62437
|
+
return new APIPromise($do141(client, request, options));
|
|
62313
62438
|
}
|
|
62314
|
-
async function $
|
|
62439
|
+
async function $do141(client, request, options) {
|
|
62315
62440
|
const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62316
62441
|
if (!parsed.ok) {
|
|
62317
62442
|
return [parsed, { status: "invalid" }];
|
|
@@ -62424,9 +62549,9 @@ List the existing users.`,
|
|
|
62424
62549
|
|
|
62425
62550
|
// src/funcs/usersUpdate.ts
|
|
62426
62551
|
function usersUpdate(client, request, options) {
|
|
62427
|
-
return new APIPromise($
|
|
62552
|
+
return new APIPromise($do142(client, request, options));
|
|
62428
62553
|
}
|
|
62429
|
-
async function $
|
|
62554
|
+
async function $do142(client, request, options) {
|
|
62430
62555
|
const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62431
62556
|
if (!parsed.ok) {
|
|
62432
62557
|
return [parsed, { status: "invalid" }];
|
|
@@ -62527,9 +62652,9 @@ Update an existing user.`,
|
|
|
62527
62652
|
|
|
62528
62653
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
62529
62654
|
function usersUsersDeleteAccount(client, options) {
|
|
62530
|
-
return new APIPromise($
|
|
62655
|
+
return new APIPromise($do143(client, options));
|
|
62531
62656
|
}
|
|
62532
|
-
async function $
|
|
62657
|
+
async function $do143(client, options) {
|
|
62533
62658
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
62534
62659
|
const headers = new Headers(compactMap({
|
|
62535
62660
|
Accept: "application/json"
|
|
@@ -62612,9 +62737,9 @@ accounts.`,
|
|
|
62612
62737
|
|
|
62613
62738
|
// src/funcs/usersUsersGetByEmail.ts
|
|
62614
62739
|
function usersUsersGetByEmail(client, request, options) {
|
|
62615
|
-
return new APIPromise($
|
|
62740
|
+
return new APIPromise($do144(client, request, options));
|
|
62616
62741
|
}
|
|
62617
|
-
async function $
|
|
62742
|
+
async function $do144(client, request, options) {
|
|
62618
62743
|
const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62619
62744
|
if (!parsed.ok) {
|
|
62620
62745
|
return [parsed, { status: "invalid" }];
|
|
@@ -62721,9 +62846,9 @@ Fetch a given user.`,
|
|
|
62721
62846
|
|
|
62722
62847
|
// src/funcs/usersUsersSendEmail.ts
|
|
62723
62848
|
function usersUsersSendEmail(client, request, options) {
|
|
62724
|
-
return new APIPromise($
|
|
62849
|
+
return new APIPromise($do145(client, request, options));
|
|
62725
62850
|
}
|
|
62726
|
-
async function $
|
|
62851
|
+
async function $do145(client, request, options) {
|
|
62727
62852
|
const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62728
62853
|
if (!parsed.ok) {
|
|
62729
62854
|
return [parsed, { status: "invalid" }];
|
|
@@ -62836,7 +62961,7 @@ Send a welcome email to a user.`,
|
|
|
62836
62961
|
function createMCPServer(deps) {
|
|
62837
62962
|
const server = new McpServer({
|
|
62838
62963
|
name: "SyllableSDK",
|
|
62839
|
-
version: "1.0.2-rc.
|
|
62964
|
+
version: "1.0.2-rc.11"
|
|
62840
62965
|
});
|
|
62841
62966
|
const client = new SyllableSDKCore({
|
|
62842
62967
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -62891,6 +63016,7 @@ function createMCPServer(deps) {
|
|
|
62891
63016
|
tool(tool$pronunciationsPronunciationsGetMetadata);
|
|
62892
63017
|
tool(tool$pronunciationsPronunciationsDownloadCsv);
|
|
62893
63018
|
tool(tool$pronunciationsPronunciationsUploadCsv);
|
|
63019
|
+
tool(tool$pronunciationsPronunciationsDeleteCsv);
|
|
62894
63020
|
tool(tool$rolesList);
|
|
62895
63021
|
tool(tool$rolesCreate);
|
|
62896
63022
|
tool(tool$rolesUpdate);
|
|
@@ -63103,6 +63229,7 @@ var init_server2 = __esm(() => {
|
|
|
63103
63229
|
init_promptsPromptGetSupportedLlms2();
|
|
63104
63230
|
init_promptsPromptsHistory2();
|
|
63105
63231
|
init_promptsUpdate2();
|
|
63232
|
+
init_pronunciationsPronunciationsDeleteCsv2();
|
|
63106
63233
|
init_pronunciationsPronunciationsDownloadCsv2();
|
|
63107
63234
|
init_pronunciationsPronunciationsGet2();
|
|
63108
63235
|
init_pronunciationsPronunciationsGetMetadata2();
|
|
@@ -64340,7 +64467,7 @@ var routes = ln({
|
|
|
64340
64467
|
var app = _e(routes, {
|
|
64341
64468
|
name: "mcp",
|
|
64342
64469
|
versionInfo: {
|
|
64343
|
-
currentVersion: "1.0.2-rc.
|
|
64470
|
+
currentVersion: "1.0.2-rc.11"
|
|
64344
64471
|
}
|
|
64345
64472
|
});
|
|
64346
64473
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64348,5 +64475,5 @@ export {
|
|
|
64348
64475
|
app
|
|
64349
64476
|
};
|
|
64350
64477
|
|
|
64351
|
-
//# debugId=
|
|
64478
|
+
//# debugId=F6A5C4F4F4EF6D6C64756E2164756E21
|
|
64352
64479
|
//# sourceMappingURL=mcp-server.js.map
|