syllable-sdk 1.0.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.
- package/README.md +8 -0
- package/bin/mcp-server.js +628 -111
- package/bin/mcp-server.js.map +32 -18
- 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 +277 -1
- 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 +14 -0
- package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
- package/funcs/pronunciationsPronunciationsDownloadCsv.js +108 -0
- package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
- package/funcs/pronunciationsPronunciationsGet.d.ts +14 -0
- package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -0
- package/funcs/pronunciationsPronunciationsGet.js +101 -0
- package/funcs/pronunciationsPronunciationsGet.js.map +1 -0
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +14 -0
- package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
- package/funcs/pronunciationsPronunciationsGetMetadata.js +101 -0
- package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -0
- 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 +9 -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 +3 -0
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +24 -0
- package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts +3 -0
- package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsGet.js +24 -0
- package/mcp-server/tools/pronunciationsPronunciationsGet.js.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts +3 -0
- package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js +24 -0
- package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js.map +1 -0
- 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 +36 -0
- package/models/components/dictionarymetadata.d.ts.map +1 -0
- package/models/components/dictionarymetadata.js +73 -0
- package/models/components/dictionarymetadata.js.map +1 -0
- 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/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/matchtype.d.ts +34 -0
- package/models/components/matchtype.d.ts.map +1 -0
- package/models/components/matchtype.js +64 -0
- package/models/components/matchtype.js.map +1 -0
- 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 +52 -0
- package/models/components/pronunciationoverride.d.ts.map +1 -0
- package/models/components/pronunciationoverride.js +97 -0
- package/models/components/pronunciationoverride.js.map +1 -0
- package/models/components/pronunciationoverridesdictionary.d.ts +68 -0
- package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -0
- package/models/components/pronunciationoverridesdictionary.js +78 -0
- package/models/components/pronunciationoverridesdictionary.js.map +1 -0
- 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/voicedisplayinfo.d.ts +34 -0
- package/models/components/voicedisplayinfo.d.ts.map +1 -0
- package/models/components/voicedisplayinfo.js +80 -0
- package/models/components/voicedisplayinfo.js.map +1 -0
- 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 +387 -110
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +17 -0
- package/sdk/pronunciations.d.ts.map +1 -1
- package/sdk/pronunciations.js +28 -0
- package/sdk/pronunciations.js.map +1 -1
- package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
- package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +147 -0
- package/src/funcs/pronunciationsPronunciationsGet.ts +139 -0
- package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +139 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
- package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +28 -0
- package/src/mcp-server/tools/pronunciationsPronunciationsGet.ts +28 -0
- package/src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts +28 -0
- package/src/models/components/campaignproperties.ts +1 -0
- package/src/models/components/dictionarymetadata.ts +77 -0
- 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/index.ts +5 -0
- package/src/models/components/matchtype.ts +37 -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 +120 -0
- package/src/models/components/pronunciationoverridesdictionary.ts +124 -0
- package/src/models/components/pronunciationscsvuploadresponse.ts +12 -12
- package/src/models/components/voicedisplayinfo.ts +82 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/pronunciationsdownloadcsv.ts +84 -0
- package/src/sdk/pronunciations.ts +53 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
|
|
|
34414
34414
|
SDK_METADATA = {
|
|
34415
34415
|
language: "typescript",
|
|
34416
34416
|
openapiDocVersion: "0.0.2",
|
|
34417
|
-
sdkVersion: "1.0.
|
|
34418
|
-
genVersion: "2.723.
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
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
|
|
|
@@ -35611,6 +35611,9 @@ function json(codes, schema, options) {
|
|
|
35611
35611
|
function stream(codes, schema, options) {
|
|
35612
35612
|
return { ...options, enc: "stream", codes, schema };
|
|
35613
35613
|
}
|
|
35614
|
+
function nil(codes, schema, options) {
|
|
35615
|
+
return { ...options, enc: "nil", codes, schema };
|
|
35616
|
+
}
|
|
35614
35617
|
function fail(codes) {
|
|
35615
35618
|
return { enc: "fail", codes };
|
|
35616
35619
|
}
|
|
@@ -37074,8 +37077,8 @@ var init_promptresponse = __esm(() => {
|
|
|
37074
37077
|
tools: arrayType(stringType()).optional(),
|
|
37075
37078
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
37076
37079
|
session_end_enabled: booleanType().default(false),
|
|
37077
|
-
id: numberType().int(),
|
|
37078
37080
|
edit_comments: nullableType(stringType()).optional(),
|
|
37081
|
+
id: numberType().int(),
|
|
37079
37082
|
last_updated: nullableType(stringType()),
|
|
37080
37083
|
last_updated_by: nullableType(stringType()).optional(),
|
|
37081
37084
|
agent_count: nullableType(numberType().int()).optional(),
|
|
@@ -37101,8 +37104,8 @@ var init_promptresponse = __esm(() => {
|
|
|
37101
37104
|
tools: arrayType(stringType()).optional(),
|
|
37102
37105
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
37103
37106
|
sessionEndEnabled: booleanType().default(false),
|
|
37104
|
-
id: numberType().int(),
|
|
37105
37107
|
editComments: nullableType(stringType()).optional(),
|
|
37108
|
+
id: numberType().int(),
|
|
37106
37109
|
lastUpdated: nullableType(stringType()),
|
|
37107
37110
|
lastUpdatedBy: nullableType(stringType()).optional(),
|
|
37108
37111
|
agentCount: nullableType(numberType().int()).optional(),
|
|
@@ -37999,7 +38002,8 @@ var init_campaignproperties = __esm(() => {
|
|
|
37999
38002
|
CallerId: "caller_id",
|
|
38000
38003
|
UpdatedAt: "updated_at",
|
|
38001
38004
|
Label: "label",
|
|
38002
|
-
Labels: "labels"
|
|
38005
|
+
Labels: "labels",
|
|
38006
|
+
VoicemailDetection: "voicemail_detection"
|
|
38003
38007
|
};
|
|
38004
38008
|
CampaignProperties$inboundSchema = nativeEnumType(CampaignProperties);
|
|
38005
38009
|
CampaignProperties$outboundSchema = CampaignProperties$inboundSchema;
|
|
@@ -39137,6 +39141,26 @@ var init_dialogtoolcall = __esm(() => {
|
|
|
39137
39141
|
})(DialogToolCall$ ||= {});
|
|
39138
39142
|
});
|
|
39139
39143
|
|
|
39144
|
+
// src/models/components/dictionarymetadata.ts
|
|
39145
|
+
var DictionaryMetadata$inboundSchema, DictionaryMetadata$outboundSchema, DictionaryMetadata$;
|
|
39146
|
+
var init_dictionarymetadata = __esm(() => {
|
|
39147
|
+
init_zod();
|
|
39148
|
+
DictionaryMetadata$inboundSchema = objectType({
|
|
39149
|
+
entries: numberType().int(),
|
|
39150
|
+
hash: stringType(),
|
|
39151
|
+
source: stringType().default("")
|
|
39152
|
+
});
|
|
39153
|
+
DictionaryMetadata$outboundSchema = objectType({
|
|
39154
|
+
entries: numberType().int(),
|
|
39155
|
+
hash: stringType(),
|
|
39156
|
+
source: stringType().default("")
|
|
39157
|
+
});
|
|
39158
|
+
((DictionaryMetadata$) => {
|
|
39159
|
+
DictionaryMetadata$.inboundSchema = DictionaryMetadata$inboundSchema;
|
|
39160
|
+
DictionaryMetadata$.outboundSchema = DictionaryMetadata$outboundSchema;
|
|
39161
|
+
})(DictionaryMetadata$ ||= {});
|
|
39162
|
+
});
|
|
39163
|
+
|
|
39140
39164
|
// src/models/components/event.ts
|
|
39141
39165
|
var Attributes$inboundSchema, Attributes$outboundSchema, Attributes$, Event$inboundSchema, Event$outboundSchema, Event$;
|
|
39142
39166
|
var init_event = __esm(() => {
|
|
@@ -39457,9 +39481,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39457
39481
|
organization_id: nullableType(numberType().int()).optional(),
|
|
39458
39482
|
sub_organization_id: nullableType(numberType().int()).optional(),
|
|
39459
39483
|
sub_organization: nullableType(stringType()).optional(),
|
|
39460
|
-
id: numberType().int()
|
|
39461
|
-
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
39462
|
-
updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
|
|
39484
|
+
id: numberType().int()
|
|
39463
39485
|
}).transform((v2) => {
|
|
39464
39486
|
return remap(v2, {
|
|
39465
39487
|
start_datetime: "startDatetime",
|
|
@@ -39468,9 +39490,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39468
39490
|
sessions_impacted: "sessionsImpacted",
|
|
39469
39491
|
organization_id: "organizationId",
|
|
39470
39492
|
sub_organization_id: "subOrganizationId",
|
|
39471
|
-
sub_organization: "subOrganization"
|
|
39472
|
-
created_at: "createdAt",
|
|
39473
|
-
updated_at: "updatedAt"
|
|
39493
|
+
sub_organization: "subOrganization"
|
|
39474
39494
|
});
|
|
39475
39495
|
});
|
|
39476
39496
|
IncidentUpdateRequest$outboundSchema = objectType({
|
|
@@ -39483,9 +39503,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39483
39503
|
organizationId: nullableType(numberType().int()).optional(),
|
|
39484
39504
|
subOrganizationId: nullableType(numberType().int()).optional(),
|
|
39485
39505
|
subOrganization: nullableType(stringType()).optional(),
|
|
39486
|
-
id: numberType().int()
|
|
39487
|
-
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
39488
|
-
updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
39506
|
+
id: numberType().int()
|
|
39489
39507
|
}).transform((v2) => {
|
|
39490
39508
|
return remap(v2, {
|
|
39491
39509
|
startDatetime: "start_datetime",
|
|
@@ -39494,9 +39512,7 @@ var init_incidentupdaterequest = __esm(() => {
|
|
|
39494
39512
|
sessionsImpacted: "sessions_impacted",
|
|
39495
39513
|
organizationId: "organization_id",
|
|
39496
39514
|
subOrganizationId: "sub_organization_id",
|
|
39497
|
-
subOrganization: "sub_organization"
|
|
39498
|
-
createdAt: "created_at",
|
|
39499
|
-
updatedAt: "updated_at"
|
|
39515
|
+
subOrganization: "sub_organization"
|
|
39500
39516
|
});
|
|
39501
39517
|
});
|
|
39502
39518
|
((IncidentUpdateRequest$) => {
|
|
@@ -41206,6 +41222,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41206
41222
|
retry_count: numberType().int().default(0),
|
|
41207
41223
|
retry_interval: nullableType(stringType()).optional(),
|
|
41208
41224
|
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
41225
|
+
voicemail_detection: nullableType(recordType(numberType())).optional(),
|
|
41209
41226
|
id: numberType().int(),
|
|
41210
41227
|
agent_id: nullableType(numberType().int()).optional(),
|
|
41211
41228
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
@@ -41223,6 +41240,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41223
41240
|
retry_count: "retryCount",
|
|
41224
41241
|
retry_interval: "retryInterval",
|
|
41225
41242
|
active_days: "activeDays",
|
|
41243
|
+
voicemail_detection: "voicemailDetection",
|
|
41226
41244
|
agent_id: "agentId",
|
|
41227
41245
|
created_at: "createdAt",
|
|
41228
41246
|
updated_at: "updatedAt",
|
|
@@ -41245,6 +41263,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41245
41263
|
retryCount: numberType().int().default(0),
|
|
41246
41264
|
retryInterval: nullableType(stringType()).optional(),
|
|
41247
41265
|
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
41266
|
+
voicemailDetection: nullableType(recordType(numberType())).optional(),
|
|
41248
41267
|
id: numberType().int(),
|
|
41249
41268
|
agentId: nullableType(numberType().int()).optional(),
|
|
41250
41269
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -41262,6 +41281,7 @@ var init_outboundcampaign = __esm(() => {
|
|
|
41262
41281
|
retryCount: "retry_count",
|
|
41263
41282
|
retryInterval: "retry_interval",
|
|
41264
41283
|
activeDays: "active_days",
|
|
41284
|
+
voicemailDetection: "voicemail_detection",
|
|
41265
41285
|
agentId: "agent_id",
|
|
41266
41286
|
createdAt: "created_at",
|
|
41267
41287
|
updatedAt: "updated_at",
|
|
@@ -41926,6 +41946,22 @@ var init_logintype = __esm(() => {
|
|
|
41926
41946
|
})(LoginType$ ||= {});
|
|
41927
41947
|
});
|
|
41928
41948
|
|
|
41949
|
+
// src/models/components/matchtype.ts
|
|
41950
|
+
var MatchType, MatchType$inboundSchema, MatchType$outboundSchema, MatchType$;
|
|
41951
|
+
var init_matchtype = __esm(() => {
|
|
41952
|
+
init_zod();
|
|
41953
|
+
MatchType = {
|
|
41954
|
+
Exact: "exact",
|
|
41955
|
+
Substring: "substring"
|
|
41956
|
+
};
|
|
41957
|
+
MatchType$inboundSchema = nativeEnumType(MatchType);
|
|
41958
|
+
MatchType$outboundSchema = MatchType$inboundSchema;
|
|
41959
|
+
((MatchType$) => {
|
|
41960
|
+
MatchType$.inboundSchema = MatchType$inboundSchema;
|
|
41961
|
+
MatchType$.outboundSchema = MatchType$outboundSchema;
|
|
41962
|
+
})(MatchType$ ||= {});
|
|
41963
|
+
});
|
|
41964
|
+
|
|
41929
41965
|
// src/models/components/orderbydirection.ts
|
|
41930
41966
|
var OrderByDirection, OrderByDirection$inboundSchema, OrderByDirection$outboundSchema, OrderByDirection$;
|
|
41931
41967
|
var init_orderbydirection = __esm(() => {
|
|
@@ -42128,7 +42164,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42128
42164
|
hourly_rate: numberType().int().default(1),
|
|
42129
42165
|
retry_count: numberType().int().default(0),
|
|
42130
42166
|
retry_interval: nullableType(stringType()).optional(),
|
|
42131
|
-
active_days: arrayType(DaysOfWeek$inboundSchema)
|
|
42167
|
+
active_days: arrayType(DaysOfWeek$inboundSchema),
|
|
42168
|
+
voicemail_detection: nullableType(recordType(numberType())).optional()
|
|
42132
42169
|
}).transform((v2) => {
|
|
42133
42170
|
return remap(v2, {
|
|
42134
42171
|
campaign_name: "campaignName",
|
|
@@ -42140,7 +42177,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42140
42177
|
hourly_rate: "hourlyRate",
|
|
42141
42178
|
retry_count: "retryCount",
|
|
42142
42179
|
retry_interval: "retryInterval",
|
|
42143
|
-
active_days: "activeDays"
|
|
42180
|
+
active_days: "activeDays",
|
|
42181
|
+
voicemail_detection: "voicemailDetection"
|
|
42144
42182
|
});
|
|
42145
42183
|
});
|
|
42146
42184
|
OutboundCampaignInput$outboundSchema = objectType({
|
|
@@ -42158,7 +42196,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42158
42196
|
hourlyRate: numberType().int().default(1),
|
|
42159
42197
|
retryCount: numberType().int().default(0),
|
|
42160
42198
|
retryInterval: nullableType(stringType()).optional(),
|
|
42161
|
-
activeDays: arrayType(DaysOfWeek$outboundSchema)
|
|
42199
|
+
activeDays: arrayType(DaysOfWeek$outboundSchema),
|
|
42200
|
+
voicemailDetection: nullableType(recordType(numberType())).optional()
|
|
42162
42201
|
}).transform((v2) => {
|
|
42163
42202
|
return remap(v2, {
|
|
42164
42203
|
campaignName: "campaign_name",
|
|
@@ -42170,7 +42209,8 @@ var init_outboundcampaigninput = __esm(() => {
|
|
|
42170
42209
|
hourlyRate: "hourly_rate",
|
|
42171
42210
|
retryCount: "retry_count",
|
|
42172
42211
|
retryInterval: "retry_interval",
|
|
42173
|
-
activeDays: "active_days"
|
|
42212
|
+
activeDays: "active_days",
|
|
42213
|
+
voicemailDetection: "voicemail_detection"
|
|
42174
42214
|
});
|
|
42175
42215
|
});
|
|
42176
42216
|
((OutboundCampaignInput$) => {
|
|
@@ -42243,11 +42283,13 @@ var init_promptcreaterequest = __esm(() => {
|
|
|
42243
42283
|
tools: arrayType(stringType()).optional(),
|
|
42244
42284
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
42245
42285
|
session_end_enabled: booleanType().default(false),
|
|
42286
|
+
edit_comments: nullableType(stringType()).optional(),
|
|
42246
42287
|
include_default_tools: booleanType().default(true)
|
|
42247
42288
|
}).transform((v2) => {
|
|
42248
42289
|
return remap(v2, {
|
|
42249
42290
|
llm_config: "llmConfig",
|
|
42250
42291
|
session_end_enabled: "sessionEndEnabled",
|
|
42292
|
+
edit_comments: "editComments",
|
|
42251
42293
|
include_default_tools: "includeDefaultTools"
|
|
42252
42294
|
});
|
|
42253
42295
|
});
|
|
@@ -42259,11 +42301,13 @@ var init_promptcreaterequest = __esm(() => {
|
|
|
42259
42301
|
tools: arrayType(stringType()).optional(),
|
|
42260
42302
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
42261
42303
|
sessionEndEnabled: booleanType().default(false),
|
|
42304
|
+
editComments: nullableType(stringType()).optional(),
|
|
42262
42305
|
includeDefaultTools: booleanType().default(true)
|
|
42263
42306
|
}).transform((v2) => {
|
|
42264
42307
|
return remap(v2, {
|
|
42265
42308
|
llmConfig: "llm_config",
|
|
42266
42309
|
sessionEndEnabled: "session_end_enabled",
|
|
42310
|
+
editComments: "edit_comments",
|
|
42267
42311
|
includeDefaultTools: "include_default_tools"
|
|
42268
42312
|
});
|
|
42269
42313
|
});
|
|
@@ -42411,8 +42455,8 @@ var init_promptupdaterequest = __esm(() => {
|
|
|
42411
42455
|
tools: arrayType(stringType()).optional(),
|
|
42412
42456
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
42413
42457
|
session_end_enabled: booleanType().default(false),
|
|
42414
|
-
id: numberType().int(),
|
|
42415
42458
|
edit_comments: nullableType(stringType()).optional(),
|
|
42459
|
+
id: numberType().int(),
|
|
42416
42460
|
include_default_tools: booleanType().default(true)
|
|
42417
42461
|
}).transform((v2) => {
|
|
42418
42462
|
return remap(v2, {
|
|
@@ -42430,8 +42474,8 @@ var init_promptupdaterequest = __esm(() => {
|
|
|
42430
42474
|
tools: arrayType(stringType()).optional(),
|
|
42431
42475
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
42432
42476
|
sessionEndEnabled: booleanType().default(false),
|
|
42433
|
-
id: numberType().int(),
|
|
42434
42477
|
editComments: nullableType(stringType()).optional(),
|
|
42478
|
+
id: numberType().int(),
|
|
42435
42479
|
includeDefaultTools: booleanType().default(true)
|
|
42436
42480
|
}).transform((v2) => {
|
|
42437
42481
|
return remap(v2, {
|
|
@@ -42447,6 +42491,102 @@ var init_promptupdaterequest = __esm(() => {
|
|
|
42447
42491
|
})(PromptUpdateRequest$ ||= {});
|
|
42448
42492
|
});
|
|
42449
42493
|
|
|
42494
|
+
// src/models/components/pronunciationoverride.ts
|
|
42495
|
+
var PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
|
|
42496
|
+
var init_pronunciationoverride = __esm(() => {
|
|
42497
|
+
init_zod();
|
|
42498
|
+
init_primitives();
|
|
42499
|
+
init_matchtype();
|
|
42500
|
+
PronunciationOverride$inboundSchema = objectType({
|
|
42501
|
+
text: stringType(),
|
|
42502
|
+
replacement: stringType(),
|
|
42503
|
+
languages: arrayType(stringType()).optional(),
|
|
42504
|
+
provider: stringType().default(""),
|
|
42505
|
+
voice: stringType().default(""),
|
|
42506
|
+
match_type: MatchType$inboundSchema.optional(),
|
|
42507
|
+
match_options: arrayType(stringType()).optional(),
|
|
42508
|
+
enabled: booleanType().default(true),
|
|
42509
|
+
notes: stringType().default("")
|
|
42510
|
+
}).transform((v2) => {
|
|
42511
|
+
return remap(v2, {
|
|
42512
|
+
match_type: "matchType",
|
|
42513
|
+
match_options: "matchOptions"
|
|
42514
|
+
});
|
|
42515
|
+
});
|
|
42516
|
+
PronunciationOverride$outboundSchema = objectType({
|
|
42517
|
+
text: stringType(),
|
|
42518
|
+
replacement: stringType(),
|
|
42519
|
+
languages: arrayType(stringType()).optional(),
|
|
42520
|
+
provider: stringType().default(""),
|
|
42521
|
+
voice: stringType().default(""),
|
|
42522
|
+
matchType: MatchType$outboundSchema.optional(),
|
|
42523
|
+
matchOptions: arrayType(stringType()).optional(),
|
|
42524
|
+
enabled: booleanType().default(true),
|
|
42525
|
+
notes: stringType().default("")
|
|
42526
|
+
}).transform((v2) => {
|
|
42527
|
+
return remap(v2, {
|
|
42528
|
+
matchType: "match_type",
|
|
42529
|
+
matchOptions: "match_options"
|
|
42530
|
+
});
|
|
42531
|
+
});
|
|
42532
|
+
((PronunciationOverride$) => {
|
|
42533
|
+
PronunciationOverride$.inboundSchema = PronunciationOverride$inboundSchema;
|
|
42534
|
+
PronunciationOverride$.outboundSchema = PronunciationOverride$outboundSchema;
|
|
42535
|
+
})(PronunciationOverride$ ||= {});
|
|
42536
|
+
});
|
|
42537
|
+
|
|
42538
|
+
// src/models/components/voicedisplayinfo.ts
|
|
42539
|
+
var VoiceDisplayInfo$inboundSchema, VoiceDisplayInfo$outboundSchema, VoiceDisplayInfo$;
|
|
42540
|
+
var init_voicedisplayinfo = __esm(() => {
|
|
42541
|
+
init_zod();
|
|
42542
|
+
init_primitives();
|
|
42543
|
+
VoiceDisplayInfo$inboundSchema = objectType({
|
|
42544
|
+
display_name: stringType(),
|
|
42545
|
+
provider: stringType()
|
|
42546
|
+
}).transform((v2) => {
|
|
42547
|
+
return remap(v2, {
|
|
42548
|
+
display_name: "displayName"
|
|
42549
|
+
});
|
|
42550
|
+
});
|
|
42551
|
+
VoiceDisplayInfo$outboundSchema = objectType({
|
|
42552
|
+
displayName: stringType(),
|
|
42553
|
+
provider: stringType()
|
|
42554
|
+
}).transform((v2) => {
|
|
42555
|
+
return remap(v2, {
|
|
42556
|
+
displayName: "display_name"
|
|
42557
|
+
});
|
|
42558
|
+
});
|
|
42559
|
+
((VoiceDisplayInfo$) => {
|
|
42560
|
+
VoiceDisplayInfo$.inboundSchema = VoiceDisplayInfo$inboundSchema;
|
|
42561
|
+
VoiceDisplayInfo$.outboundSchema = VoiceDisplayInfo$outboundSchema;
|
|
42562
|
+
})(VoiceDisplayInfo$ ||= {});
|
|
42563
|
+
});
|
|
42564
|
+
|
|
42565
|
+
// src/models/components/pronunciationoverridesdictionary.ts
|
|
42566
|
+
var PronunciationOverridesDictionary$inboundSchema, PronunciationOverridesDictionary$outboundSchema, PronunciationOverridesDictionary$;
|
|
42567
|
+
var init_pronunciationoverridesdictionary = __esm(() => {
|
|
42568
|
+
init_zod();
|
|
42569
|
+
init_dictionarymetadata();
|
|
42570
|
+
init_pronunciationoverride();
|
|
42571
|
+
init_voicedisplayinfo();
|
|
42572
|
+
PronunciationOverridesDictionary$inboundSchema = objectType({
|
|
42573
|
+
type: stringType().default("pronunciations_v1"),
|
|
42574
|
+
pronunciations: arrayType(PronunciationOverride$inboundSchema),
|
|
42575
|
+
voices: recordType(VoiceDisplayInfo$inboundSchema).optional(),
|
|
42576
|
+
metadata: DictionaryMetadata$inboundSchema
|
|
42577
|
+
});
|
|
42578
|
+
PronunciationOverridesDictionary$outboundSchema = objectType({
|
|
42579
|
+
type: stringType().default("pronunciations_v1"),
|
|
42580
|
+
pronunciations: arrayType(PronunciationOverride$outboundSchema),
|
|
42581
|
+
voices: recordType(VoiceDisplayInfo$outboundSchema).optional(),
|
|
42582
|
+
metadata: DictionaryMetadata$outboundSchema
|
|
42583
|
+
});
|
|
42584
|
+
((PronunciationOverridesDictionary$) => {
|
|
42585
|
+
PronunciationOverridesDictionary$.inboundSchema = PronunciationOverridesDictionary$inboundSchema;
|
|
42586
|
+
PronunciationOverridesDictionary$.outboundSchema = PronunciationOverridesDictionary$outboundSchema;
|
|
42587
|
+
})(PronunciationOverridesDictionary$ ||= {});
|
|
42588
|
+
});
|
|
42589
|
+
|
|
42450
42590
|
// src/models/components/pronunciationscsvuploadresponse.ts
|
|
42451
42591
|
var PronunciationsCsvUploadResponse$inboundSchema, PronunciationsCsvUploadResponse$outboundSchema, PronunciationsCsvUploadResponse$;
|
|
42452
42592
|
var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
@@ -42454,10 +42594,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
|
42454
42594
|
init_primitives();
|
|
42455
42595
|
PronunciationsCsvUploadResponse$inboundSchema = objectType({
|
|
42456
42596
|
revision: numberType().int(),
|
|
42457
|
-
hash:
|
|
42458
|
-
entries:
|
|
42597
|
+
hash: stringType(),
|
|
42598
|
+
entries: numberType().int(),
|
|
42459
42599
|
uploaded_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42460
|
-
uploaded_by:
|
|
42600
|
+
uploaded_by: stringType()
|
|
42461
42601
|
}).transform((v2) => {
|
|
42462
42602
|
return remap(v2, {
|
|
42463
42603
|
uploaded_at: "uploadedAt",
|
|
@@ -42466,10 +42606,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
|
42466
42606
|
});
|
|
42467
42607
|
PronunciationsCsvUploadResponse$outboundSchema = objectType({
|
|
42468
42608
|
revision: numberType().int(),
|
|
42469
|
-
hash:
|
|
42470
|
-
entries:
|
|
42609
|
+
hash: stringType(),
|
|
42610
|
+
entries: numberType().int(),
|
|
42471
42611
|
uploadedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42472
|
-
uploadedBy:
|
|
42612
|
+
uploadedBy: stringType()
|
|
42473
42613
|
}).transform((v2) => {
|
|
42474
42614
|
return remap(v2, {
|
|
42475
42615
|
uploadedAt: "uploaded_at",
|
|
@@ -43847,6 +43987,7 @@ var init_components = __esm(() => {
|
|
|
43847
43987
|
init_dialogmessage();
|
|
43848
43988
|
init_dialogrole();
|
|
43849
43989
|
init_dialogtoolcall();
|
|
43990
|
+
init_dictionarymetadata();
|
|
43850
43991
|
init_event();
|
|
43851
43992
|
init_eventproperties();
|
|
43852
43993
|
init_folderdetails();
|
|
@@ -43913,6 +44054,7 @@ var init_components = __esm(() => {
|
|
|
43913
44054
|
init_listresponsetoolresponse();
|
|
43914
44055
|
init_listresponseuserresponse();
|
|
43915
44056
|
init_logintype();
|
|
44057
|
+
init_matchtype();
|
|
43916
44058
|
init_orderbydirection();
|
|
43917
44059
|
init_organizationchannelconfig();
|
|
43918
44060
|
init_organizationchannelcreaterequest();
|
|
@@ -43930,6 +44072,8 @@ var init_components = __esm(() => {
|
|
|
43930
44072
|
init_promptproperties();
|
|
43931
44073
|
init_promptresponse();
|
|
43932
44074
|
init_promptupdaterequest();
|
|
44075
|
+
init_pronunciationoverride();
|
|
44076
|
+
init_pronunciationoverridesdictionary();
|
|
43933
44077
|
init_pronunciationscsvuploadresponse();
|
|
43934
44078
|
init_requeststatus();
|
|
43935
44079
|
init_rolecreaterequest();
|
|
@@ -43999,6 +44143,7 @@ var init_components = __esm(() => {
|
|
|
43999
44143
|
init_userresponse();
|
|
44000
44144
|
init_userupdaterequest();
|
|
44001
44145
|
init_validationerror();
|
|
44146
|
+
init_voicedisplayinfo();
|
|
44002
44147
|
init_voicesamplecreaterequest();
|
|
44003
44148
|
});
|
|
44004
44149
|
|
|
@@ -46627,6 +46772,35 @@ var init_promptslist = __esm(() => {
|
|
|
46627
46772
|
})(PromptsListRequest$ ||= {});
|
|
46628
46773
|
});
|
|
46629
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
|
+
|
|
46630
46804
|
// src/models/operations/rolesdelete.ts
|
|
46631
46805
|
var RolesDeleteRequest$inboundSchema, RolesDeleteRequest$outboundSchema, RolesDeleteRequest$;
|
|
46632
46806
|
var init_rolesdelete = __esm(() => {
|
|
@@ -47418,6 +47592,7 @@ var init_operations = __esm(() => {
|
|
|
47418
47592
|
init_promptsgetbyid();
|
|
47419
47593
|
init_promptshistory();
|
|
47420
47594
|
init_promptslist();
|
|
47595
|
+
init_pronunciationsdownloadcsv();
|
|
47421
47596
|
init_rolesdelete();
|
|
47422
47597
|
init_rolesgetbyid();
|
|
47423
47598
|
init_roleslist();
|
|
@@ -58270,11 +58445,345 @@ Update an existing prompt`,
|
|
|
58270
58445
|
};
|
|
58271
58446
|
});
|
|
58272
58447
|
|
|
58448
|
+
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
58449
|
+
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
58450
|
+
return new APIPromise($do103(client, options));
|
|
58451
|
+
}
|
|
58452
|
+
async function $do103(client, options) {
|
|
58453
|
+
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58454
|
+
const headers = new Headers(compactMap({
|
|
58455
|
+
Accept: "*/*"
|
|
58456
|
+
}));
|
|
58457
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58458
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
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);
|
|
58541
|
+
const context = {
|
|
58542
|
+
options: client._options,
|
|
58543
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
58544
|
+
operationID: "pronunciations_download_csv",
|
|
58545
|
+
oAuth2Scopes: null,
|
|
58546
|
+
resolvedSecurity: requestSecurity,
|
|
58547
|
+
securitySource: client._options.apiKeyHeader,
|
|
58548
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
58549
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
58550
|
+
};
|
|
58551
|
+
const requestRes = client._createRequest(context, {
|
|
58552
|
+
security: requestSecurity,
|
|
58553
|
+
method: "GET",
|
|
58554
|
+
baseURL: options?.serverURL,
|
|
58555
|
+
path,
|
|
58556
|
+
headers,
|
|
58557
|
+
userAgent: client._options.userAgent,
|
|
58558
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
58559
|
+
}, options);
|
|
58560
|
+
if (!requestRes.ok) {
|
|
58561
|
+
return [requestRes, { status: "invalid" }];
|
|
58562
|
+
}
|
|
58563
|
+
const req = requestRes.value;
|
|
58564
|
+
const doResult = await client._do(req, {
|
|
58565
|
+
context,
|
|
58566
|
+
errorCodes: ["4XX", "5XX"],
|
|
58567
|
+
retryConfig: context.retryConfig,
|
|
58568
|
+
retryCodes: context.retryCodes
|
|
58569
|
+
});
|
|
58570
|
+
if (!doResult.ok) {
|
|
58571
|
+
return [doResult, { status: "request-error", request: req }];
|
|
58572
|
+
}
|
|
58573
|
+
const response = doResult.value;
|
|
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 });
|
|
58582
|
+
if (!result.ok) {
|
|
58583
|
+
return [result, { status: "complete", request: req, response }];
|
|
58584
|
+
}
|
|
58585
|
+
return [result, { status: "complete", request: req, response }];
|
|
58586
|
+
}
|
|
58587
|
+
var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
|
|
58588
|
+
init_matchers();
|
|
58589
|
+
init_primitives();
|
|
58590
|
+
init_security();
|
|
58591
|
+
init_url();
|
|
58592
|
+
init_operations();
|
|
58593
|
+
init_async();
|
|
58594
|
+
});
|
|
58595
|
+
|
|
58596
|
+
// src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts
|
|
58597
|
+
var tool$pronunciationsPronunciationsDownloadCsv;
|
|
58598
|
+
var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
58599
|
+
init_pronunciationsPronunciationsDownloadCsv();
|
|
58600
|
+
init_tools();
|
|
58601
|
+
tool$pronunciationsPronunciationsDownloadCsv = {
|
|
58602
|
+
name: "pronunciations-pronunciations-download-csv",
|
|
58603
|
+
description: `Download Pronunciations Csv`,
|
|
58604
|
+
tool: async (client, ctx) => {
|
|
58605
|
+
const [result, apiCall] = await pronunciationsPronunciationsDownloadCsv(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58606
|
+
if (!result.ok) {
|
|
58607
|
+
return {
|
|
58608
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58609
|
+
isError: true
|
|
58610
|
+
};
|
|
58611
|
+
}
|
|
58612
|
+
const value = result.value.result;
|
|
58613
|
+
return formatResult(value, apiCall);
|
|
58614
|
+
}
|
|
58615
|
+
};
|
|
58616
|
+
});
|
|
58617
|
+
|
|
58618
|
+
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
58619
|
+
function pronunciationsPronunciationsGet(client, options) {
|
|
58620
|
+
return new APIPromise($do105(client, options));
|
|
58621
|
+
}
|
|
58622
|
+
async function $do105(client, options) {
|
|
58623
|
+
const path = pathToFunc("/api/v1/pronunciations")();
|
|
58624
|
+
const headers = new Headers(compactMap({
|
|
58625
|
+
Accept: "application/json"
|
|
58626
|
+
}));
|
|
58627
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58628
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
58629
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58630
|
+
const context = {
|
|
58631
|
+
options: client._options,
|
|
58632
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
58633
|
+
operationID: "pronunciations_get",
|
|
58634
|
+
oAuth2Scopes: null,
|
|
58635
|
+
resolvedSecurity: requestSecurity,
|
|
58636
|
+
securitySource: client._options.apiKeyHeader,
|
|
58637
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
58638
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
58639
|
+
};
|
|
58640
|
+
const requestRes = client._createRequest(context, {
|
|
58641
|
+
security: requestSecurity,
|
|
58642
|
+
method: "GET",
|
|
58643
|
+
baseURL: options?.serverURL,
|
|
58644
|
+
path,
|
|
58645
|
+
headers,
|
|
58646
|
+
userAgent: client._options.userAgent,
|
|
58647
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
58648
|
+
}, options);
|
|
58649
|
+
if (!requestRes.ok) {
|
|
58650
|
+
return [requestRes, { status: "invalid" }];
|
|
58651
|
+
}
|
|
58652
|
+
const req = requestRes.value;
|
|
58653
|
+
const doResult = await client._do(req, {
|
|
58654
|
+
context,
|
|
58655
|
+
errorCodes: ["4XX", "5XX"],
|
|
58656
|
+
retryConfig: context.retryConfig,
|
|
58657
|
+
retryCodes: context.retryCodes
|
|
58658
|
+
});
|
|
58659
|
+
if (!doResult.ok) {
|
|
58660
|
+
return [doResult, { status: "request-error", request: req }];
|
|
58661
|
+
}
|
|
58662
|
+
const response = doResult.value;
|
|
58663
|
+
const [result] = await match(json(200, PronunciationOverridesDictionary$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
58664
|
+
if (!result.ok) {
|
|
58665
|
+
return [result, { status: "complete", request: req, response }];
|
|
58666
|
+
}
|
|
58667
|
+
return [result, { status: "complete", request: req, response }];
|
|
58668
|
+
}
|
|
58669
|
+
var init_pronunciationsPronunciationsGet = __esm(() => {
|
|
58670
|
+
init_matchers();
|
|
58671
|
+
init_primitives();
|
|
58672
|
+
init_security();
|
|
58673
|
+
init_url();
|
|
58674
|
+
init_components();
|
|
58675
|
+
init_async();
|
|
58676
|
+
});
|
|
58677
|
+
|
|
58678
|
+
// src/mcp-server/tools/pronunciationsPronunciationsGet.ts
|
|
58679
|
+
var tool$pronunciationsPronunciationsGet;
|
|
58680
|
+
var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
58681
|
+
init_pronunciationsPronunciationsGet();
|
|
58682
|
+
init_tools();
|
|
58683
|
+
tool$pronunciationsPronunciationsGet = {
|
|
58684
|
+
name: "pronunciations-pronunciations-get",
|
|
58685
|
+
description: `Get Pronunciations Dictionary`,
|
|
58686
|
+
tool: async (client, ctx) => {
|
|
58687
|
+
const [result, apiCall] = await pronunciationsPronunciationsGet(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58688
|
+
if (!result.ok) {
|
|
58689
|
+
return {
|
|
58690
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58691
|
+
isError: true
|
|
58692
|
+
};
|
|
58693
|
+
}
|
|
58694
|
+
const value = result.value;
|
|
58695
|
+
return formatResult(value, apiCall);
|
|
58696
|
+
}
|
|
58697
|
+
};
|
|
58698
|
+
});
|
|
58699
|
+
|
|
58700
|
+
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
58701
|
+
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
58702
|
+
return new APIPromise($do106(client, options));
|
|
58703
|
+
}
|
|
58704
|
+
async function $do106(client, options) {
|
|
58705
|
+
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
58706
|
+
const headers = new Headers(compactMap({
|
|
58707
|
+
Accept: "application/json"
|
|
58708
|
+
}));
|
|
58709
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58710
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
58711
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58712
|
+
const context = {
|
|
58713
|
+
options: client._options,
|
|
58714
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
58715
|
+
operationID: "pronunciations_get_metadata",
|
|
58716
|
+
oAuth2Scopes: null,
|
|
58717
|
+
resolvedSecurity: requestSecurity,
|
|
58718
|
+
securitySource: client._options.apiKeyHeader,
|
|
58719
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
58720
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
58721
|
+
};
|
|
58722
|
+
const requestRes = client._createRequest(context, {
|
|
58723
|
+
security: requestSecurity,
|
|
58724
|
+
method: "GET",
|
|
58725
|
+
baseURL: options?.serverURL,
|
|
58726
|
+
path,
|
|
58727
|
+
headers,
|
|
58728
|
+
userAgent: client._options.userAgent,
|
|
58729
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
58730
|
+
}, options);
|
|
58731
|
+
if (!requestRes.ok) {
|
|
58732
|
+
return [requestRes, { status: "invalid" }];
|
|
58733
|
+
}
|
|
58734
|
+
const req = requestRes.value;
|
|
58735
|
+
const doResult = await client._do(req, {
|
|
58736
|
+
context,
|
|
58737
|
+
errorCodes: ["4XX", "5XX"],
|
|
58738
|
+
retryConfig: context.retryConfig,
|
|
58739
|
+
retryCodes: context.retryCodes
|
|
58740
|
+
});
|
|
58741
|
+
if (!doResult.ok) {
|
|
58742
|
+
return [doResult, { status: "request-error", request: req }];
|
|
58743
|
+
}
|
|
58744
|
+
const response = doResult.value;
|
|
58745
|
+
const [result] = await match(json(200, DictionaryMetadata$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
58746
|
+
if (!result.ok) {
|
|
58747
|
+
return [result, { status: "complete", request: req, response }];
|
|
58748
|
+
}
|
|
58749
|
+
return [result, { status: "complete", request: req, response }];
|
|
58750
|
+
}
|
|
58751
|
+
var init_pronunciationsPronunciationsGetMetadata = __esm(() => {
|
|
58752
|
+
init_matchers();
|
|
58753
|
+
init_primitives();
|
|
58754
|
+
init_security();
|
|
58755
|
+
init_url();
|
|
58756
|
+
init_components();
|
|
58757
|
+
init_async();
|
|
58758
|
+
});
|
|
58759
|
+
|
|
58760
|
+
// src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts
|
|
58761
|
+
var tool$pronunciationsPronunciationsGetMetadata;
|
|
58762
|
+
var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
58763
|
+
init_pronunciationsPronunciationsGetMetadata();
|
|
58764
|
+
init_tools();
|
|
58765
|
+
tool$pronunciationsPronunciationsGetMetadata = {
|
|
58766
|
+
name: "pronunciations-pronunciations-get-metadata",
|
|
58767
|
+
description: `Get Pronunciations Metadata`,
|
|
58768
|
+
tool: async (client, ctx) => {
|
|
58769
|
+
const [result, apiCall] = await pronunciationsPronunciationsGetMetadata(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58770
|
+
if (!result.ok) {
|
|
58771
|
+
return {
|
|
58772
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58773
|
+
isError: true
|
|
58774
|
+
};
|
|
58775
|
+
}
|
|
58776
|
+
const value = result.value;
|
|
58777
|
+
return formatResult(value, apiCall);
|
|
58778
|
+
}
|
|
58779
|
+
};
|
|
58780
|
+
});
|
|
58781
|
+
|
|
58273
58782
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
58274
58783
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
58275
|
-
return new APIPromise($
|
|
58784
|
+
return new APIPromise($do107(client, request, options));
|
|
58276
58785
|
}
|
|
58277
|
-
async function $
|
|
58786
|
+
async function $do107(client, request, options) {
|
|
58278
58787
|
const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
58279
58788
|
if (!parsed.ok) {
|
|
58280
58789
|
return [parsed, { status: "invalid" }];
|
|
@@ -58384,9 +58893,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
58384
58893
|
|
|
58385
58894
|
// src/funcs/rolesCreate.ts
|
|
58386
58895
|
function rolesCreate(client, request, options) {
|
|
58387
|
-
return new APIPromise($
|
|
58896
|
+
return new APIPromise($do108(client, request, options));
|
|
58388
58897
|
}
|
|
58389
|
-
async function $
|
|
58898
|
+
async function $do108(client, request, options) {
|
|
58390
58899
|
const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58391
58900
|
if (!parsed.ok) {
|
|
58392
58901
|
return [parsed, { status: "invalid" }];
|
|
@@ -58487,9 +58996,9 @@ Create a new role.`,
|
|
|
58487
58996
|
|
|
58488
58997
|
// src/funcs/rolesDelete.ts
|
|
58489
58998
|
function rolesDelete(client, request, options) {
|
|
58490
|
-
return new APIPromise($
|
|
58999
|
+
return new APIPromise($do109(client, request, options));
|
|
58491
59000
|
}
|
|
58492
|
-
async function $
|
|
59001
|
+
async function $do109(client, request, options) {
|
|
58493
59002
|
const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58494
59003
|
if (!parsed.ok) {
|
|
58495
59004
|
return [parsed, { status: "invalid" }];
|
|
@@ -58601,9 +59110,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
58601
59110
|
|
|
58602
59111
|
// src/funcs/rolesGetById.ts
|
|
58603
59112
|
function rolesGetById(client, request, options) {
|
|
58604
|
-
return new APIPromise($
|
|
59113
|
+
return new APIPromise($do110(client, request, options));
|
|
58605
59114
|
}
|
|
58606
|
-
async function $
|
|
59115
|
+
async function $do110(client, request, options) {
|
|
58607
59116
|
const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58608
59117
|
if (!parsed.ok) {
|
|
58609
59118
|
return [parsed, { status: "invalid" }];
|
|
@@ -58710,9 +59219,9 @@ Fetch a given role.`,
|
|
|
58710
59219
|
|
|
58711
59220
|
// src/funcs/rolesList.ts
|
|
58712
59221
|
function rolesList(client, request, options) {
|
|
58713
|
-
return new APIPromise($
|
|
59222
|
+
return new APIPromise($do111(client, request, options));
|
|
58714
59223
|
}
|
|
58715
|
-
async function $
|
|
59224
|
+
async function $do111(client, request, options) {
|
|
58716
59225
|
const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58717
59226
|
if (!parsed.ok) {
|
|
58718
59227
|
return [parsed, { status: "invalid" }];
|
|
@@ -58825,9 +59334,9 @@ List the existing roles.`,
|
|
|
58825
59334
|
|
|
58826
59335
|
// src/funcs/rolesUpdate.ts
|
|
58827
59336
|
function rolesUpdate(client, request, options) {
|
|
58828
|
-
return new APIPromise($
|
|
59337
|
+
return new APIPromise($do112(client, request, options));
|
|
58829
59338
|
}
|
|
58830
|
-
async function $
|
|
59339
|
+
async function $do112(client, request, options) {
|
|
58831
59340
|
const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58832
59341
|
if (!parsed.ok) {
|
|
58833
59342
|
return [parsed, { status: "invalid" }];
|
|
@@ -58928,9 +59437,9 @@ Update an existing role.`,
|
|
|
58928
59437
|
|
|
58929
59438
|
// src/funcs/servicesCreate.ts
|
|
58930
59439
|
function servicesCreate(client, request, options) {
|
|
58931
|
-
return new APIPromise($
|
|
59440
|
+
return new APIPromise($do113(client, request, options));
|
|
58932
59441
|
}
|
|
58933
|
-
async function $
|
|
59442
|
+
async function $do113(client, request, options) {
|
|
58934
59443
|
const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58935
59444
|
if (!parsed.ok) {
|
|
58936
59445
|
return [parsed, { status: "invalid" }];
|
|
@@ -59031,9 +59540,9 @@ Create a new service.`,
|
|
|
59031
59540
|
|
|
59032
59541
|
// src/funcs/servicesDelete.ts
|
|
59033
59542
|
function servicesDelete(client, request, options) {
|
|
59034
|
-
return new APIPromise($
|
|
59543
|
+
return new APIPromise($do114(client, request, options));
|
|
59035
59544
|
}
|
|
59036
|
-
async function $
|
|
59545
|
+
async function $do114(client, request, options) {
|
|
59037
59546
|
const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59038
59547
|
if (!parsed.ok) {
|
|
59039
59548
|
return [parsed, { status: "invalid" }];
|
|
@@ -59144,9 +59653,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
59144
59653
|
|
|
59145
59654
|
// src/funcs/servicesGetById.ts
|
|
59146
59655
|
function servicesGetById(client, request, options) {
|
|
59147
|
-
return new APIPromise($
|
|
59656
|
+
return new APIPromise($do115(client, request, options));
|
|
59148
59657
|
}
|
|
59149
|
-
async function $
|
|
59658
|
+
async function $do115(client, request, options) {
|
|
59150
59659
|
const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59151
59660
|
if (!parsed.ok) {
|
|
59152
59661
|
return [parsed, { status: "invalid" }];
|
|
@@ -59253,9 +59762,9 @@ Get a service by its ID`,
|
|
|
59253
59762
|
|
|
59254
59763
|
// src/funcs/servicesList.ts
|
|
59255
59764
|
function servicesList(client, request, options) {
|
|
59256
|
-
return new APIPromise($
|
|
59765
|
+
return new APIPromise($do116(client, request, options));
|
|
59257
59766
|
}
|
|
59258
|
-
async function $
|
|
59767
|
+
async function $do116(client, request, options) {
|
|
59259
59768
|
const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59260
59769
|
if (!parsed.ok) {
|
|
59261
59770
|
return [parsed, { status: "invalid" }];
|
|
@@ -59368,9 +59877,9 @@ List the existing services`,
|
|
|
59368
59877
|
|
|
59369
59878
|
// src/funcs/servicesUpdate.ts
|
|
59370
59879
|
function servicesUpdate(client, request, options) {
|
|
59371
|
-
return new APIPromise($
|
|
59880
|
+
return new APIPromise($do117(client, request, options));
|
|
59372
59881
|
}
|
|
59373
|
-
async function $
|
|
59882
|
+
async function $do117(client, request, options) {
|
|
59374
59883
|
const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59375
59884
|
if (!parsed.ok) {
|
|
59376
59885
|
return [parsed, { status: "invalid" }];
|
|
@@ -59471,9 +59980,9 @@ Update an existing service.`,
|
|
|
59471
59980
|
|
|
59472
59981
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
59473
59982
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
59474
|
-
return new APIPromise($
|
|
59983
|
+
return new APIPromise($do118(client, request, options));
|
|
59475
59984
|
}
|
|
59476
|
-
async function $
|
|
59985
|
+
async function $do118(client, request, options) {
|
|
59477
59986
|
const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59478
59987
|
if (!parsed.ok) {
|
|
59479
59988
|
return [parsed, { status: "invalid" }];
|
|
@@ -59578,9 +60087,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
59578
60087
|
|
|
59579
60088
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
59580
60089
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
59581
|
-
return new APIPromise($
|
|
60090
|
+
return new APIPromise($do119(client, request, options));
|
|
59582
60091
|
}
|
|
59583
|
-
async function $
|
|
60092
|
+
async function $do119(client, request, options) {
|
|
59584
60093
|
const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59585
60094
|
if (!parsed.ok) {
|
|
59586
60095
|
return [parsed, { status: "invalid" }];
|
|
@@ -59683,9 +60192,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
59683
60192
|
|
|
59684
60193
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
59685
60194
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
59686
|
-
return new APIPromise($
|
|
60195
|
+
return new APIPromise($do120(client, request, options));
|
|
59687
60196
|
}
|
|
59688
|
-
async function $
|
|
60197
|
+
async function $do120(client, request, options) {
|
|
59689
60198
|
const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59690
60199
|
if (!parsed.ok) {
|
|
59691
60200
|
return [parsed, { status: "invalid" }];
|
|
@@ -59794,9 +60303,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
59794
60303
|
|
|
59795
60304
|
// src/funcs/sessionLabelsCreate.ts
|
|
59796
60305
|
function sessionLabelsCreate(client, request, options) {
|
|
59797
|
-
return new APIPromise($
|
|
60306
|
+
return new APIPromise($do121(client, request, options));
|
|
59798
60307
|
}
|
|
59799
|
-
async function $
|
|
60308
|
+
async function $do121(client, request, options) {
|
|
59800
60309
|
const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
59801
60310
|
if (!parsed.ok) {
|
|
59802
60311
|
return [parsed, { status: "invalid" }];
|
|
@@ -59897,9 +60406,9 @@ Create a new label`,
|
|
|
59897
60406
|
|
|
59898
60407
|
// src/funcs/sessionLabelsGetById.ts
|
|
59899
60408
|
function sessionLabelsGetById(client, request, options) {
|
|
59900
|
-
return new APIPromise($
|
|
60409
|
+
return new APIPromise($do122(client, request, options));
|
|
59901
60410
|
}
|
|
59902
|
-
async function $
|
|
60411
|
+
async function $do122(client, request, options) {
|
|
59903
60412
|
const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59904
60413
|
if (!parsed.ok) {
|
|
59905
60414
|
return [parsed, { status: "invalid" }];
|
|
@@ -60001,9 +60510,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
60001
60510
|
|
|
60002
60511
|
// src/funcs/sessionLabelsList.ts
|
|
60003
60512
|
function sessionLabelsList(client, request, options) {
|
|
60004
|
-
return new APIPromise($
|
|
60513
|
+
return new APIPromise($do123(client, request, options));
|
|
60005
60514
|
}
|
|
60006
|
-
async function $
|
|
60515
|
+
async function $do123(client, request, options) {
|
|
60007
60516
|
const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60008
60517
|
if (!parsed.ok) {
|
|
60009
60518
|
return [parsed, { status: "invalid" }];
|
|
@@ -60114,9 +60623,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
60114
60623
|
|
|
60115
60624
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
60116
60625
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
60117
|
-
return new APIPromise($
|
|
60626
|
+
return new APIPromise($do124(client, request, options));
|
|
60118
60627
|
}
|
|
60119
|
-
async function $
|
|
60628
|
+
async function $do124(client, request, options) {
|
|
60120
60629
|
const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60121
60630
|
if (!parsed.ok) {
|
|
60122
60631
|
return [parsed, { status: "invalid" }];
|
|
@@ -60221,9 +60730,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
60221
60730
|
|
|
60222
60731
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
60223
60732
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
60224
|
-
return new APIPromise($
|
|
60733
|
+
return new APIPromise($do125(client, request, options));
|
|
60225
60734
|
}
|
|
60226
|
-
async function $
|
|
60735
|
+
async function $do125(client, request, options) {
|
|
60227
60736
|
const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60228
60737
|
if (!parsed.ok) {
|
|
60229
60738
|
return [parsed, { status: "invalid" }];
|
|
@@ -60328,9 +60837,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
60328
60837
|
|
|
60329
60838
|
// src/funcs/sessionsGetById.ts
|
|
60330
60839
|
function sessionsGetById(client, request, options) {
|
|
60331
|
-
return new APIPromise($
|
|
60840
|
+
return new APIPromise($do126(client, request, options));
|
|
60332
60841
|
}
|
|
60333
|
-
async function $
|
|
60842
|
+
async function $do126(client, request, options) {
|
|
60334
60843
|
const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60335
60844
|
if (!parsed.ok) {
|
|
60336
60845
|
return [parsed, { status: "invalid" }];
|
|
@@ -60435,9 +60944,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
60435
60944
|
|
|
60436
60945
|
// src/funcs/sessionsLatencyGetById.ts
|
|
60437
60946
|
function sessionsLatencyGetById(client, request, options) {
|
|
60438
|
-
return new APIPromise($
|
|
60947
|
+
return new APIPromise($do127(client, request, options));
|
|
60439
60948
|
}
|
|
60440
|
-
async function $
|
|
60949
|
+
async function $do127(client, request, options) {
|
|
60441
60950
|
const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60442
60951
|
if (!parsed.ok) {
|
|
60443
60952
|
return [parsed, { status: "invalid" }];
|
|
@@ -60542,9 +61051,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
60542
61051
|
|
|
60543
61052
|
// src/funcs/sessionsList.ts
|
|
60544
61053
|
function sessionsList(client, request, options) {
|
|
60545
|
-
return new APIPromise($
|
|
61054
|
+
return new APIPromise($do128(client, request, options));
|
|
60546
61055
|
}
|
|
60547
|
-
async function $
|
|
61056
|
+
async function $do128(client, request, options) {
|
|
60548
61057
|
const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60549
61058
|
if (!parsed.ok) {
|
|
60550
61059
|
return [parsed, { status: "invalid" }];
|
|
@@ -60655,9 +61164,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
60655
61164
|
|
|
60656
61165
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
60657
61166
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
60658
|
-
return new APIPromise($
|
|
61167
|
+
return new APIPromise($do129(client, request, options));
|
|
60659
61168
|
}
|
|
60660
|
-
async function $
|
|
61169
|
+
async function $do129(client, request, options) {
|
|
60661
61170
|
const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60662
61171
|
if (!parsed.ok) {
|
|
60663
61172
|
return [parsed, { status: "invalid" }];
|
|
@@ -60760,9 +61269,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
60760
61269
|
|
|
60761
61270
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
60762
61271
|
function sessionsTranscriptGetById(client, request, options) {
|
|
60763
|
-
return new APIPromise($
|
|
61272
|
+
return new APIPromise($do130(client, request, options));
|
|
60764
61273
|
}
|
|
60765
|
-
async function $
|
|
61274
|
+
async function $do130(client, request, options) {
|
|
60766
61275
|
const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60767
61276
|
if (!parsed.ok) {
|
|
60768
61277
|
return [parsed, { status: "invalid" }];
|
|
@@ -60867,9 +61376,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
60867
61376
|
|
|
60868
61377
|
// src/funcs/takeoutsCreate.ts
|
|
60869
61378
|
function takeoutsCreate(client, options) {
|
|
60870
|
-
return new APIPromise($
|
|
61379
|
+
return new APIPromise($do131(client, options));
|
|
60871
61380
|
}
|
|
60872
|
-
async function $
|
|
61381
|
+
async function $do131(client, options) {
|
|
60873
61382
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
60874
61383
|
const headers = new Headers(compactMap({
|
|
60875
61384
|
Accept: "application/json"
|
|
@@ -60949,9 +61458,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
60949
61458
|
|
|
60950
61459
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
60951
61460
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
60952
|
-
return new APIPromise($
|
|
61461
|
+
return new APIPromise($do132(client, request, options));
|
|
60953
61462
|
}
|
|
60954
|
-
async function $
|
|
61463
|
+
async function $do132(client, request, options) {
|
|
60955
61464
|
const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60956
61465
|
if (!parsed.ok) {
|
|
60957
61466
|
return [parsed, { status: "invalid" }];
|
|
@@ -61056,9 +61565,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
61056
61565
|
|
|
61057
61566
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
61058
61567
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
61059
|
-
return new APIPromise($
|
|
61568
|
+
return new APIPromise($do133(client, request, options));
|
|
61060
61569
|
}
|
|
61061
|
-
async function $
|
|
61570
|
+
async function $do133(client, request, options) {
|
|
61062
61571
|
const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61063
61572
|
if (!parsed.ok) {
|
|
61064
61573
|
return [parsed, { status: "invalid" }];
|
|
@@ -61169,9 +61678,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
61169
61678
|
|
|
61170
61679
|
// src/funcs/toolsCreate.ts
|
|
61171
61680
|
function toolsCreate(client, request, options) {
|
|
61172
|
-
return new APIPromise($
|
|
61681
|
+
return new APIPromise($do134(client, request, options));
|
|
61173
61682
|
}
|
|
61174
|
-
async function $
|
|
61683
|
+
async function $do134(client, request, options) {
|
|
61175
61684
|
const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61176
61685
|
if (!parsed.ok) {
|
|
61177
61686
|
return [parsed, { status: "invalid" }];
|
|
@@ -61272,9 +61781,9 @@ Create a new tool`,
|
|
|
61272
61781
|
|
|
61273
61782
|
// src/funcs/toolsDelete.ts
|
|
61274
61783
|
function toolsDelete(client, request, options) {
|
|
61275
|
-
return new APIPromise($
|
|
61784
|
+
return new APIPromise($do135(client, request, options));
|
|
61276
61785
|
}
|
|
61277
|
-
async function $
|
|
61786
|
+
async function $do135(client, request, options) {
|
|
61278
61787
|
const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61279
61788
|
if (!parsed.ok) {
|
|
61280
61789
|
return [parsed, { status: "invalid" }];
|
|
@@ -61385,9 +61894,9 @@ Delete a tool.`,
|
|
|
61385
61894
|
|
|
61386
61895
|
// src/funcs/toolsGetByName.ts
|
|
61387
61896
|
function toolsGetByName(client, request, options) {
|
|
61388
|
-
return new APIPromise($
|
|
61897
|
+
return new APIPromise($do136(client, request, options));
|
|
61389
61898
|
}
|
|
61390
|
-
async function $
|
|
61899
|
+
async function $do136(client, request, options) {
|
|
61391
61900
|
const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61392
61901
|
if (!parsed.ok) {
|
|
61393
61902
|
return [parsed, { status: "invalid" }];
|
|
@@ -61494,9 +62003,9 @@ Get the details of a specific tool`,
|
|
|
61494
62003
|
|
|
61495
62004
|
// src/funcs/toolsList.ts
|
|
61496
62005
|
function toolsList(client, request, options) {
|
|
61497
|
-
return new APIPromise($
|
|
62006
|
+
return new APIPromise($do137(client, request, options));
|
|
61498
62007
|
}
|
|
61499
|
-
async function $
|
|
62008
|
+
async function $do137(client, request, options) {
|
|
61500
62009
|
const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61501
62010
|
if (!parsed.ok) {
|
|
61502
62011
|
return [parsed, { status: "invalid" }];
|
|
@@ -61609,9 +62118,9 @@ List the existing tools`,
|
|
|
61609
62118
|
|
|
61610
62119
|
// src/funcs/toolsUpdate.ts
|
|
61611
62120
|
function toolsUpdate(client, request, options) {
|
|
61612
|
-
return new APIPromise($
|
|
62121
|
+
return new APIPromise($do138(client, request, options));
|
|
61613
62122
|
}
|
|
61614
|
-
async function $
|
|
62123
|
+
async function $do138(client, request, options) {
|
|
61615
62124
|
const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61616
62125
|
if (!parsed.ok) {
|
|
61617
62126
|
return [parsed, { status: "invalid" }];
|
|
@@ -61712,9 +62221,9 @@ Update an existing tool`,
|
|
|
61712
62221
|
|
|
61713
62222
|
// src/funcs/usersCreate.ts
|
|
61714
62223
|
function usersCreate(client, request, options) {
|
|
61715
|
-
return new APIPromise($
|
|
62224
|
+
return new APIPromise($do139(client, request, options));
|
|
61716
62225
|
}
|
|
61717
|
-
async function $
|
|
62226
|
+
async function $do139(client, request, options) {
|
|
61718
62227
|
const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61719
62228
|
if (!parsed.ok) {
|
|
61720
62229
|
return [parsed, { status: "invalid" }];
|
|
@@ -61815,9 +62324,9 @@ Create a new user.`,
|
|
|
61815
62324
|
|
|
61816
62325
|
// src/funcs/usersDelete.ts
|
|
61817
62326
|
function usersDelete(client, request, options) {
|
|
61818
|
-
return new APIPromise($
|
|
62327
|
+
return new APIPromise($do140(client, request, options));
|
|
61819
62328
|
}
|
|
61820
|
-
async function $
|
|
62329
|
+
async function $do140(client, request, options) {
|
|
61821
62330
|
const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61822
62331
|
if (!parsed.ok) {
|
|
61823
62332
|
return [parsed, { status: "invalid" }];
|
|
@@ -61919,9 +62428,9 @@ Delete a user.`,
|
|
|
61919
62428
|
|
|
61920
62429
|
// src/funcs/usersList.ts
|
|
61921
62430
|
function usersList(client, request, options) {
|
|
61922
|
-
return new APIPromise($
|
|
62431
|
+
return new APIPromise($do141(client, request, options));
|
|
61923
62432
|
}
|
|
61924
|
-
async function $
|
|
62433
|
+
async function $do141(client, request, options) {
|
|
61925
62434
|
const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61926
62435
|
if (!parsed.ok) {
|
|
61927
62436
|
return [parsed, { status: "invalid" }];
|
|
@@ -62034,9 +62543,9 @@ List the existing users.`,
|
|
|
62034
62543
|
|
|
62035
62544
|
// src/funcs/usersUpdate.ts
|
|
62036
62545
|
function usersUpdate(client, request, options) {
|
|
62037
|
-
return new APIPromise($
|
|
62546
|
+
return new APIPromise($do142(client, request, options));
|
|
62038
62547
|
}
|
|
62039
|
-
async function $
|
|
62548
|
+
async function $do142(client, request, options) {
|
|
62040
62549
|
const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62041
62550
|
if (!parsed.ok) {
|
|
62042
62551
|
return [parsed, { status: "invalid" }];
|
|
@@ -62137,9 +62646,9 @@ Update an existing user.`,
|
|
|
62137
62646
|
|
|
62138
62647
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
62139
62648
|
function usersUsersDeleteAccount(client, options) {
|
|
62140
|
-
return new APIPromise($
|
|
62649
|
+
return new APIPromise($do143(client, options));
|
|
62141
62650
|
}
|
|
62142
|
-
async function $
|
|
62651
|
+
async function $do143(client, options) {
|
|
62143
62652
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
62144
62653
|
const headers = new Headers(compactMap({
|
|
62145
62654
|
Accept: "application/json"
|
|
@@ -62222,9 +62731,9 @@ accounts.`,
|
|
|
62222
62731
|
|
|
62223
62732
|
// src/funcs/usersUsersGetByEmail.ts
|
|
62224
62733
|
function usersUsersGetByEmail(client, request, options) {
|
|
62225
|
-
return new APIPromise($
|
|
62734
|
+
return new APIPromise($do144(client, request, options));
|
|
62226
62735
|
}
|
|
62227
|
-
async function $
|
|
62736
|
+
async function $do144(client, request, options) {
|
|
62228
62737
|
const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62229
62738
|
if (!parsed.ok) {
|
|
62230
62739
|
return [parsed, { status: "invalid" }];
|
|
@@ -62331,9 +62840,9 @@ Fetch a given user.`,
|
|
|
62331
62840
|
|
|
62332
62841
|
// src/funcs/usersUsersSendEmail.ts
|
|
62333
62842
|
function usersUsersSendEmail(client, request, options) {
|
|
62334
|
-
return new APIPromise($
|
|
62843
|
+
return new APIPromise($do145(client, request, options));
|
|
62335
62844
|
}
|
|
62336
|
-
async function $
|
|
62845
|
+
async function $do145(client, request, options) {
|
|
62337
62846
|
const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62338
62847
|
if (!parsed.ok) {
|
|
62339
62848
|
return [parsed, { status: "invalid" }];
|
|
@@ -62446,7 +62955,7 @@ Send a welcome email to a user.`,
|
|
|
62446
62955
|
function createMCPServer(deps) {
|
|
62447
62956
|
const server = new McpServer({
|
|
62448
62957
|
name: "SyllableSDK",
|
|
62449
|
-
version: "1.0.
|
|
62958
|
+
version: "1.0.2-rc.10"
|
|
62450
62959
|
});
|
|
62451
62960
|
const client = new SyllableSDKCore({
|
|
62452
62961
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -62497,7 +63006,11 @@ function createMCPServer(deps) {
|
|
|
62497
63006
|
tool(tool$promptsDelete);
|
|
62498
63007
|
tool(tool$promptsPromptsHistory);
|
|
62499
63008
|
tool(tool$promptsPromptGetSupportedLlms);
|
|
63009
|
+
tool(tool$pronunciationsPronunciationsGet);
|
|
63010
|
+
tool(tool$pronunciationsPronunciationsGetMetadata);
|
|
63011
|
+
tool(tool$pronunciationsPronunciationsDownloadCsv);
|
|
62500
63012
|
tool(tool$pronunciationsPronunciationsUploadCsv);
|
|
63013
|
+
tool(tool$pronunciationsPronunciationsDeleteCsv);
|
|
62501
63014
|
tool(tool$rolesList);
|
|
62502
63015
|
tool(tool$rolesCreate);
|
|
62503
63016
|
tool(tool$rolesUpdate);
|
|
@@ -62710,6 +63223,10 @@ var init_server2 = __esm(() => {
|
|
|
62710
63223
|
init_promptsPromptGetSupportedLlms2();
|
|
62711
63224
|
init_promptsPromptsHistory2();
|
|
62712
63225
|
init_promptsUpdate2();
|
|
63226
|
+
init_pronunciationsPronunciationsDeleteCsv2();
|
|
63227
|
+
init_pronunciationsPronunciationsDownloadCsv2();
|
|
63228
|
+
init_pronunciationsPronunciationsGet2();
|
|
63229
|
+
init_pronunciationsPronunciationsGetMetadata2();
|
|
62713
63230
|
init_pronunciationsPronunciationsUploadCsv2();
|
|
62714
63231
|
init_rolesCreate2();
|
|
62715
63232
|
init_rolesDelete2();
|
|
@@ -63944,7 +64461,7 @@ var routes = ln({
|
|
|
63944
64461
|
var app = _e(routes, {
|
|
63945
64462
|
name: "mcp",
|
|
63946
64463
|
versionInfo: {
|
|
63947
|
-
currentVersion: "1.0.
|
|
64464
|
+
currentVersion: "1.0.2-rc.10"
|
|
63948
64465
|
}
|
|
63949
64466
|
});
|
|
63950
64467
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -63952,5 +64469,5 @@ export {
|
|
|
63952
64469
|
app
|
|
63953
64470
|
};
|
|
63954
64471
|
|
|
63955
|
-
//# debugId=
|
|
64472
|
+
//# debugId=AAA415706E44C61464756E2164756E21
|
|
63956
64473
|
//# sourceMappingURL=mcp-server.js.map
|