syllable-sdk 1.0.72-rc.3 → 1.0.72-rc.4
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 +3 -1
- package/bin/mcp-server.js +343 -13
- package/bin/mcp-server.js.map +24 -12
- package/funcs/promptsCreate.d.ts +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +1 -1
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsUpdate.d.ts +1 -1
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +1 -1
- package/funcs/promptsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/promptllmconfig.d.ts +6 -0
- package/models/components/promptllmconfig.d.ts.map +1 -1
- package/models/components/promptllmconfig.js +5 -0
- package/models/components/promptllmconfig.js.map +1 -1
- package/models/components/promptrequestvalidationerrordetail.d.ts +33 -0
- package/models/components/promptrequestvalidationerrordetail.d.ts.map +1 -0
- package/models/components/promptrequestvalidationerrordetail.js +74 -0
- package/models/components/promptrequestvalidationerrordetail.js.map +1 -0
- package/models/components/reasoningeffort.d.ts +16 -0
- package/models/components/reasoningeffort.d.ts.map +1 -0
- package/models/components/reasoningeffort.js +53 -0
- package/models/components/reasoningeffort.js.map +1 -0
- package/models/components/reasoningendpoint.d.ts +12 -0
- package/models/components/reasoningendpoint.d.ts.map +1 -0
- package/models/components/reasoningendpoint.js +49 -0
- package/models/components/reasoningendpoint.js.map +1 -0
- package/models/components/reasoningtoolmode.d.ts +28 -0
- package/models/components/reasoningtoolmode.d.ts.map +1 -0
- package/models/components/reasoningtoolmode.js +58 -0
- package/models/components/reasoningtoolmode.js.map +1 -0
- package/models/components/reasoningvalidationissue.d.ts +53 -0
- package/models/components/reasoningvalidationissue.d.ts.map +1 -0
- package/models/components/reasoningvalidationissue.js +86 -0
- package/models/components/reasoningvalidationissue.js.map +1 -0
- package/models/components/supportedllm.d.ts +11 -0
- package/models/components/supportedllm.d.ts.map +1 -1
- package/models/components/supportedllm.js +7 -0
- package/models/components/supportedllm.js.map +1 -1
- package/models/components/supportedllmreasoningcapabilities.d.ts +27 -0
- package/models/components/supportedllmreasoningcapabilities.d.ts.map +1 -0
- package/models/components/supportedllmreasoningcapabilities.js +74 -0
- package/models/components/supportedllmreasoningcapabilities.js.map +1 -0
- package/models/components/supportedllmreasoningcombination.d.ts +42 -0
- package/models/components/supportedllmreasoningcombination.d.ts.map +1 -0
- package/models/components/supportedllmreasoningcombination.js +80 -0
- package/models/components/supportedllmreasoningcombination.js.map +1 -0
- package/models/components/supportedllmreasoningparameterconstraint.d.ts +29 -0
- package/models/components/supportedllmreasoningparameterconstraint.d.ts.map +1 -0
- package/models/components/supportedllmreasoningparameterconstraint.js +73 -0
- package/models/components/supportedllmreasoningparameterconstraint.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/promptreasoningerrorresponse.d.ts +37 -0
- package/models/errors/promptreasoningerrorresponse.d.ts.map +1 -0
- package/models/errors/promptreasoningerrorresponse.js +92 -0
- package/models/errors/promptreasoningerrorresponse.js.map +1 -0
- package/models/errors/promptschemavalidationerrorresponse.d.ts +25 -0
- package/models/errors/promptschemavalidationerrorresponse.d.ts.map +1 -0
- package/models/errors/promptschemavalidationerrorresponse.js +75 -0
- package/models/errors/promptschemavalidationerrorresponse.js.map +1 -0
- package/models/errors/promptscreate.d.ts +18 -0
- package/models/errors/promptscreate.d.ts.map +1 -0
- package/models/errors/promptscreate.js +62 -0
- package/models/errors/promptscreate.js.map +1 -0
- package/models/errors/promptsupdate.d.ts +18 -0
- package/models/errors/promptsupdate.d.ts.map +1 -0
- package/models/errors/promptsupdate.js +62 -0
- package/models/errors/promptsupdate.js.map +1 -0
- package/package.json +1 -1
- package/src/funcs/promptsCreate.ts +4 -4
- package/src/funcs/promptsUpdate.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/index.ts +8 -0
- package/src/models/components/promptllmconfig.ts +14 -0
- package/src/models/components/promptrequestvalidationerrordetail.ts +103 -0
- package/src/models/components/reasoningeffort.ts +25 -0
- package/src/models/components/reasoningendpoint.ts +21 -0
- package/src/models/components/reasoningtoolmode.ts +37 -0
- package/src/models/components/reasoningvalidationissue.ts +114 -0
- package/src/models/components/supportedllm.ts +29 -0
- package/src/models/components/supportedllmreasoningcapabilities.ts +86 -0
- package/src/models/components/supportedllmreasoningcombination.ts +109 -0
- package/src/models/components/supportedllmreasoningparameterconstraint.ts +93 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/promptreasoningerrorresponse.ts +110 -0
- package/src/models/errors/promptschemavalidationerrorresponse.ts +69 -0
- package/src/models/errors/promptscreate.ts +71 -0
- package/src/models/errors/promptsupdate.ts +71 -0
package/README.md
CHANGED
|
@@ -984,7 +984,7 @@ run();
|
|
|
984
984
|
* [`SyllableSDKError`](./src/models/errors/syllablesdkerror.ts): The base class for HTTP error responses.
|
|
985
985
|
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. *
|
|
986
986
|
|
|
987
|
-
<details><summary>Less common errors (
|
|
987
|
+
<details><summary>Less common errors (13)</summary>
|
|
988
988
|
|
|
989
989
|
<br />
|
|
990
990
|
|
|
@@ -998,6 +998,8 @@ run();
|
|
|
998
998
|
|
|
999
999
|
**Inherit from [`SyllableSDKError`](./src/models/errors/syllablesdkerror.ts)**:
|
|
1000
1000
|
* [`CustomMessageErrorResponse`](./src/models/errors/custommessageerrorresponse.ts): Applicable to 4 of 201 methods.*
|
|
1001
|
+
* [`PromptReasoningErrorResponse`](./src/models/errors/promptreasoningerrorresponse.ts): Unprocessable Entity. Status code `422`. Applicable to 2 of 201 methods.*
|
|
1002
|
+
* [`PromptSchemaValidationErrorResponse`](./src/models/errors/promptschemavalidationerrorresponse.ts): Unprocessable Entity. Status code `422`. Applicable to 2 of 201 methods.*
|
|
1001
1003
|
* [`SessionLabelsListResponseBody`](./src/models/errors/sessionlabelslistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 201 methods.*
|
|
1002
1004
|
* [`SessionsListResponseBody`](./src/models/errors/sessionslistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 201 methods.*
|
|
1003
1005
|
* [`DirectoryMemberListResponseBody`](./src/models/errors/directorymemberlistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 201 methods.*
|
package/bin/mcp-server.js
CHANGED
|
@@ -72051,9 +72051,9 @@ var init_config = __esm(() => {
|
|
|
72051
72051
|
SDK_METADATA = {
|
|
72052
72052
|
language: "typescript",
|
|
72053
72053
|
openapiDocVersion: "0.0.3",
|
|
72054
|
-
sdkVersion: "1.0.72-rc.
|
|
72054
|
+
sdkVersion: "1.0.72-rc.4",
|
|
72055
72055
|
genVersion: "2.950.13",
|
|
72056
|
-
userAgent: "speakeasy-sdk/typescript 1.0.72-rc.
|
|
72056
|
+
userAgent: "speakeasy-sdk/typescript 1.0.72-rc.4 2.950.13 0.0.3 syllable-sdk"
|
|
72057
72057
|
};
|
|
72058
72058
|
});
|
|
72059
72059
|
|
|
@@ -83540,22 +83540,41 @@ var init_promptllmprovider = __esm(() => {
|
|
|
83540
83540
|
PromptLlmProvider$outboundSchema = PromptLlmProvider$inboundSchema;
|
|
83541
83541
|
});
|
|
83542
83542
|
|
|
83543
|
+
// src/models/components/reasoningeffort.ts
|
|
83544
|
+
var ReasoningEffort, ReasoningEffort$inboundSchema, ReasoningEffort$outboundSchema;
|
|
83545
|
+
var init_reasoningeffort = __esm(() => {
|
|
83546
|
+
init_v3();
|
|
83547
|
+
ReasoningEffort = {
|
|
83548
|
+
None: "none",
|
|
83549
|
+
Minimal: "minimal",
|
|
83550
|
+
Low: "low",
|
|
83551
|
+
Medium: "medium",
|
|
83552
|
+
High: "high",
|
|
83553
|
+
Xhigh: "xhigh"
|
|
83554
|
+
};
|
|
83555
|
+
ReasoningEffort$inboundSchema = nativeEnumType(ReasoningEffort);
|
|
83556
|
+
ReasoningEffort$outboundSchema = ReasoningEffort$inboundSchema;
|
|
83557
|
+
});
|
|
83558
|
+
|
|
83543
83559
|
// src/models/components/promptllmconfig.ts
|
|
83544
83560
|
var PromptLlmConfig$inboundSchema, PromptLlmConfig$outboundSchema;
|
|
83545
83561
|
var init_promptllmconfig = __esm(() => {
|
|
83546
83562
|
init_v3();
|
|
83547
83563
|
init_primitives();
|
|
83548
83564
|
init_promptllmprovider();
|
|
83565
|
+
init_reasoningeffort();
|
|
83549
83566
|
PromptLlmConfig$inboundSchema = objectType({
|
|
83550
83567
|
provider: PromptLlmProvider$inboundSchema.optional(),
|
|
83551
83568
|
model: stringType().default("gpt-4o"),
|
|
83552
83569
|
version: nullableType(stringType()).optional(),
|
|
83553
83570
|
api_version: nullableType(stringType()).optional(),
|
|
83554
83571
|
temperature: nullableType(numberType()).optional(),
|
|
83572
|
+
reasoning_effort: nullableType(ReasoningEffort$inboundSchema).optional(),
|
|
83555
83573
|
seed: nullableType(numberType().int()).optional()
|
|
83556
83574
|
}).transform((v2) => {
|
|
83557
83575
|
return remap(v2, {
|
|
83558
|
-
api_version: "apiVersion"
|
|
83576
|
+
api_version: "apiVersion",
|
|
83577
|
+
reasoning_effort: "reasoningEffort"
|
|
83559
83578
|
});
|
|
83560
83579
|
});
|
|
83561
83580
|
PromptLlmConfig$outboundSchema = objectType({
|
|
@@ -83564,10 +83583,12 @@ var init_promptllmconfig = __esm(() => {
|
|
|
83564
83583
|
version: nullableType(stringType()).optional(),
|
|
83565
83584
|
apiVersion: nullableType(stringType()).optional(),
|
|
83566
83585
|
temperature: nullableType(numberType()).optional(),
|
|
83586
|
+
reasoningEffort: nullableType(ReasoningEffort$outboundSchema).optional(),
|
|
83567
83587
|
seed: nullableType(numberType().int()).optional()
|
|
83568
83588
|
}).transform((v2) => {
|
|
83569
83589
|
return remap(v2, {
|
|
83570
|
-
apiVersion: "api_version"
|
|
83590
|
+
apiVersion: "api_version",
|
|
83591
|
+
reasoningEffort: "reasoning_effort"
|
|
83571
83592
|
});
|
|
83572
83593
|
});
|
|
83573
83594
|
});
|
|
@@ -91238,6 +91259,24 @@ var init_promptproperties = __esm(() => {
|
|
|
91238
91259
|
PromptProperties$outboundSchema = PromptProperties$inboundSchema;
|
|
91239
91260
|
});
|
|
91240
91261
|
|
|
91262
|
+
// src/models/components/promptrequestvalidationerrordetail.ts
|
|
91263
|
+
var PromptRequestValidationErrorDetailLoc$inboundSchema, PromptRequestValidationErrorDetailLoc$outboundSchema, PromptRequestValidationErrorDetail$inboundSchema, PromptRequestValidationErrorDetail$outboundSchema;
|
|
91264
|
+
var init_promptrequestvalidationerrordetail = __esm(() => {
|
|
91265
|
+
init_v3();
|
|
91266
|
+
PromptRequestValidationErrorDetailLoc$inboundSchema = unionType([stringType(), numberType().int()]);
|
|
91267
|
+
PromptRequestValidationErrorDetailLoc$outboundSchema = unionType([stringType(), numberType().int()]);
|
|
91268
|
+
PromptRequestValidationErrorDetail$inboundSchema = objectType({
|
|
91269
|
+
loc: arrayType(unionType([stringType(), numberType().int()])),
|
|
91270
|
+
type: stringType(),
|
|
91271
|
+
msg: stringType()
|
|
91272
|
+
});
|
|
91273
|
+
PromptRequestValidationErrorDetail$outboundSchema = objectType({
|
|
91274
|
+
loc: arrayType(unionType([stringType(), numberType().int()])),
|
|
91275
|
+
type: stringType(),
|
|
91276
|
+
msg: stringType()
|
|
91277
|
+
});
|
|
91278
|
+
});
|
|
91279
|
+
|
|
91241
91280
|
// src/models/components/promptupdaterequest.ts
|
|
91242
91281
|
var PromptUpdateRequest$inboundSchema, PromptUpdateRequest$outboundSchema;
|
|
91243
91282
|
var init_promptupdaterequest = __esm(() => {
|
|
@@ -91405,6 +91444,70 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
|
91405
91444
|
});
|
|
91406
91445
|
});
|
|
91407
91446
|
|
|
91447
|
+
// src/models/components/reasoningendpoint.ts
|
|
91448
|
+
var ReasoningEndpoint, ReasoningEndpoint$inboundSchema, ReasoningEndpoint$outboundSchema;
|
|
91449
|
+
var init_reasoningendpoint = __esm(() => {
|
|
91450
|
+
init_v3();
|
|
91451
|
+
ReasoningEndpoint = {
|
|
91452
|
+
Chat: "chat",
|
|
91453
|
+
Responses: "responses"
|
|
91454
|
+
};
|
|
91455
|
+
ReasoningEndpoint$inboundSchema = nativeEnumType(ReasoningEndpoint);
|
|
91456
|
+
ReasoningEndpoint$outboundSchema = ReasoningEndpoint$inboundSchema;
|
|
91457
|
+
});
|
|
91458
|
+
|
|
91459
|
+
// src/models/components/reasoningtoolmode.ts
|
|
91460
|
+
var ReasoningToolMode, ReasoningToolMode$inboundSchema, ReasoningToolMode$outboundSchema;
|
|
91461
|
+
var init_reasoningtoolmode = __esm(() => {
|
|
91462
|
+
init_v3();
|
|
91463
|
+
ReasoningToolMode = {
|
|
91464
|
+
None: "none",
|
|
91465
|
+
Function: "function",
|
|
91466
|
+
ForcedFunction: "forced_function",
|
|
91467
|
+
ParallelFunction: "parallel_function"
|
|
91468
|
+
};
|
|
91469
|
+
ReasoningToolMode$inboundSchema = nativeEnumType(ReasoningToolMode);
|
|
91470
|
+
ReasoningToolMode$outboundSchema = ReasoningToolMode$inboundSchema;
|
|
91471
|
+
});
|
|
91472
|
+
|
|
91473
|
+
// src/models/components/reasoningvalidationissue.ts
|
|
91474
|
+
var ReasoningValidationIssueSeverity, ReasoningValidationIssueSeverity$inboundSchema, ReasoningValidationIssueSeverity$outboundSchema, ReasoningValidationIssue$inboundSchema, ReasoningValidationIssue$outboundSchema;
|
|
91475
|
+
var init_reasoningvalidationissue = __esm(() => {
|
|
91476
|
+
init_v3();
|
|
91477
|
+
init_primitives();
|
|
91478
|
+
ReasoningValidationIssueSeverity = {
|
|
91479
|
+
Info: "info",
|
|
91480
|
+
Warning: "warning",
|
|
91481
|
+
Error: "error"
|
|
91482
|
+
};
|
|
91483
|
+
ReasoningValidationIssueSeverity$inboundSchema = nativeEnumType(ReasoningValidationIssueSeverity);
|
|
91484
|
+
ReasoningValidationIssueSeverity$outboundSchema = ReasoningValidationIssueSeverity$inboundSchema;
|
|
91485
|
+
ReasoningValidationIssue$inboundSchema = objectType({
|
|
91486
|
+
id: stringType(),
|
|
91487
|
+
severity: ReasoningValidationIssueSeverity$inboundSchema.default("error"),
|
|
91488
|
+
message: stringType(),
|
|
91489
|
+
path: nullableType(stringType()).optional(),
|
|
91490
|
+
value: nullableType(stringType()).optional(),
|
|
91491
|
+
allowed_values: arrayType(stringType()).optional()
|
|
91492
|
+
}).transform((v2) => {
|
|
91493
|
+
return remap(v2, {
|
|
91494
|
+
allowed_values: "allowedValues"
|
|
91495
|
+
});
|
|
91496
|
+
});
|
|
91497
|
+
ReasoningValidationIssue$outboundSchema = objectType({
|
|
91498
|
+
id: stringType(),
|
|
91499
|
+
severity: ReasoningValidationIssueSeverity$outboundSchema.default("error"),
|
|
91500
|
+
message: stringType(),
|
|
91501
|
+
path: nullableType(stringType()).optional(),
|
|
91502
|
+
value: nullableType(stringType()).optional(),
|
|
91503
|
+
allowedValues: arrayType(stringType()).optional()
|
|
91504
|
+
}).transform((v2) => {
|
|
91505
|
+
return remap(v2, {
|
|
91506
|
+
allowedValues: "allowed_values"
|
|
91507
|
+
});
|
|
91508
|
+
});
|
|
91509
|
+
});
|
|
91510
|
+
|
|
91408
91511
|
// src/models/components/rolecreaterequest.ts
|
|
91409
91512
|
var RoleCreateRequest$inboundSchema, RoleCreateRequest$outboundSchema;
|
|
91410
91513
|
var init_rolecreaterequest = __esm(() => {
|
|
@@ -92001,6 +92104,95 @@ var init_sessiontranscriptionresponse = __esm(() => {
|
|
|
92001
92104
|
});
|
|
92002
92105
|
});
|
|
92003
92106
|
|
|
92107
|
+
// src/models/components/supportedllmreasoningcombination.ts
|
|
92108
|
+
var SupportedLlmReasoningCombination$inboundSchema, SupportedLlmReasoningCombination$outboundSchema;
|
|
92109
|
+
var init_supportedllmreasoningcombination = __esm(() => {
|
|
92110
|
+
init_v3();
|
|
92111
|
+
init_primitives();
|
|
92112
|
+
init_reasoningeffort();
|
|
92113
|
+
init_reasoningendpoint();
|
|
92114
|
+
init_reasoningtoolmode();
|
|
92115
|
+
SupportedLlmReasoningCombination$inboundSchema = objectType({
|
|
92116
|
+
endpoint: ReasoningEndpoint$inboundSchema,
|
|
92117
|
+
tool_mode: ReasoningToolMode$inboundSchema,
|
|
92118
|
+
allowed_efforts: arrayType(ReasoningEffort$inboundSchema),
|
|
92119
|
+
unverified_efforts: arrayType(ReasoningEffort$inboundSchema).optional()
|
|
92120
|
+
}).transform((v2) => {
|
|
92121
|
+
return remap(v2, {
|
|
92122
|
+
tool_mode: "toolMode",
|
|
92123
|
+
allowed_efforts: "allowedEfforts",
|
|
92124
|
+
unverified_efforts: "unverifiedEfforts"
|
|
92125
|
+
});
|
|
92126
|
+
});
|
|
92127
|
+
SupportedLlmReasoningCombination$outboundSchema = objectType({
|
|
92128
|
+
endpoint: ReasoningEndpoint$outboundSchema,
|
|
92129
|
+
toolMode: ReasoningToolMode$outboundSchema,
|
|
92130
|
+
allowedEfforts: arrayType(ReasoningEffort$outboundSchema),
|
|
92131
|
+
unverifiedEfforts: arrayType(ReasoningEffort$outboundSchema).optional()
|
|
92132
|
+
}).transform((v2) => {
|
|
92133
|
+
return remap(v2, {
|
|
92134
|
+
toolMode: "tool_mode",
|
|
92135
|
+
allowedEfforts: "allowed_efforts",
|
|
92136
|
+
unverifiedEfforts: "unverified_efforts"
|
|
92137
|
+
});
|
|
92138
|
+
});
|
|
92139
|
+
});
|
|
92140
|
+
|
|
92141
|
+
// src/models/components/supportedllmreasoningparameterconstraint.ts
|
|
92142
|
+
var SupportedLlmReasoningParameterConstraint$inboundSchema, SupportedLlmReasoningParameterConstraint$outboundSchema;
|
|
92143
|
+
var init_supportedllmreasoningparameterconstraint = __esm(() => {
|
|
92144
|
+
init_v3();
|
|
92145
|
+
init_primitives();
|
|
92146
|
+
init_reasoningeffort();
|
|
92147
|
+
init_reasoningendpoint();
|
|
92148
|
+
SupportedLlmReasoningParameterConstraint$inboundSchema = objectType({
|
|
92149
|
+
endpoint: ReasoningEndpoint$inboundSchema,
|
|
92150
|
+
parameter: stringType(),
|
|
92151
|
+
allowed_efforts: arrayType(ReasoningEffort$inboundSchema)
|
|
92152
|
+
}).transform((v2) => {
|
|
92153
|
+
return remap(v2, {
|
|
92154
|
+
allowed_efforts: "allowedEfforts"
|
|
92155
|
+
});
|
|
92156
|
+
});
|
|
92157
|
+
SupportedLlmReasoningParameterConstraint$outboundSchema = objectType({
|
|
92158
|
+
endpoint: ReasoningEndpoint$outboundSchema,
|
|
92159
|
+
parameter: stringType(),
|
|
92160
|
+
allowedEfforts: arrayType(ReasoningEffort$outboundSchema)
|
|
92161
|
+
}).transform((v2) => {
|
|
92162
|
+
return remap(v2, {
|
|
92163
|
+
allowedEfforts: "allowed_efforts"
|
|
92164
|
+
});
|
|
92165
|
+
});
|
|
92166
|
+
});
|
|
92167
|
+
|
|
92168
|
+
// src/models/components/supportedllmreasoningcapabilities.ts
|
|
92169
|
+
var SupportedLlmReasoningCapabilities$inboundSchema, SupportedLlmReasoningCapabilities$outboundSchema;
|
|
92170
|
+
var init_supportedllmreasoningcapabilities = __esm(() => {
|
|
92171
|
+
init_v3();
|
|
92172
|
+
init_primitives();
|
|
92173
|
+
init_rfcdate();
|
|
92174
|
+
init_supportedllmreasoningcombination();
|
|
92175
|
+
init_supportedllmreasoningparameterconstraint();
|
|
92176
|
+
SupportedLlmReasoningCapabilities$inboundSchema = objectType({
|
|
92177
|
+
combinations: arrayType(SupportedLlmReasoningCombination$inboundSchema),
|
|
92178
|
+
parameters: arrayType(SupportedLlmReasoningParameterConstraint$inboundSchema),
|
|
92179
|
+
reviewed_on: stringType().transform((v2) => new RFCDate(v2))
|
|
92180
|
+
}).transform((v2) => {
|
|
92181
|
+
return remap(v2, {
|
|
92182
|
+
reviewed_on: "reviewedOn"
|
|
92183
|
+
});
|
|
92184
|
+
});
|
|
92185
|
+
SupportedLlmReasoningCapabilities$outboundSchema = objectType({
|
|
92186
|
+
combinations: arrayType(SupportedLlmReasoningCombination$outboundSchema),
|
|
92187
|
+
parameters: arrayType(SupportedLlmReasoningParameterConstraint$outboundSchema),
|
|
92188
|
+
reviewedOn: instanceOfType(RFCDate).transform((v2) => v2.toString())
|
|
92189
|
+
}).transform((v2) => {
|
|
92190
|
+
return remap(v2, {
|
|
92191
|
+
reviewedOn: "reviewed_on"
|
|
92192
|
+
});
|
|
92193
|
+
});
|
|
92194
|
+
});
|
|
92195
|
+
|
|
92004
92196
|
// src/models/components/supportedllm.ts
|
|
92005
92197
|
var SupportedLlm$inboundSchema, SupportedLlm$outboundSchema;
|
|
92006
92198
|
var init_supportedllm = __esm(() => {
|
|
@@ -92009,6 +92201,7 @@ var init_supportedllm = __esm(() => {
|
|
|
92009
92201
|
init_rfcdate();
|
|
92010
92202
|
init_lifecyclestatus();
|
|
92011
92203
|
init_promptllmprovider();
|
|
92204
|
+
init_supportedllmreasoningcapabilities();
|
|
92012
92205
|
SupportedLlm$inboundSchema = objectType({
|
|
92013
92206
|
provider: PromptLlmProvider$inboundSchema.optional(),
|
|
92014
92207
|
model: stringType().default("gpt-4o"),
|
|
@@ -92020,12 +92213,15 @@ var init_supportedllm = __esm(() => {
|
|
|
92020
92213
|
removed: booleanType().default(false),
|
|
92021
92214
|
fallback: nullableType(stringType()).optional(),
|
|
92022
92215
|
replacement: nullableType(stringType()).optional(),
|
|
92023
|
-
status: nullableType(LifecycleStatus$inboundSchema).optional()
|
|
92216
|
+
status: nullableType(LifecycleStatus$inboundSchema).optional(),
|
|
92217
|
+
deployment: nullableType(stringType()).optional(),
|
|
92218
|
+
reasoning_capabilities: nullableType(SupportedLlmReasoningCapabilities$inboundSchema).optional()
|
|
92024
92219
|
}).transform((v2) => {
|
|
92025
92220
|
return remap(v2, {
|
|
92026
92221
|
display_name: "displayName",
|
|
92027
92222
|
api_version: "apiVersion",
|
|
92028
|
-
sunset_date: "sunsetDate"
|
|
92223
|
+
sunset_date: "sunsetDate",
|
|
92224
|
+
reasoning_capabilities: "reasoningCapabilities"
|
|
92029
92225
|
});
|
|
92030
92226
|
});
|
|
92031
92227
|
SupportedLlm$outboundSchema = objectType({
|
|
@@ -92039,12 +92235,15 @@ var init_supportedllm = __esm(() => {
|
|
|
92039
92235
|
removed: booleanType().default(false),
|
|
92040
92236
|
fallback: nullableType(stringType()).optional(),
|
|
92041
92237
|
replacement: nullableType(stringType()).optional(),
|
|
92042
|
-
status: nullableType(LifecycleStatus$outboundSchema).optional()
|
|
92238
|
+
status: nullableType(LifecycleStatus$outboundSchema).optional(),
|
|
92239
|
+
deployment: nullableType(stringType()).optional(),
|
|
92240
|
+
reasoningCapabilities: nullableType(SupportedLlmReasoningCapabilities$outboundSchema).optional()
|
|
92043
92241
|
}).transform((v2) => {
|
|
92044
92242
|
return remap(v2, {
|
|
92045
92243
|
displayName: "display_name",
|
|
92046
92244
|
apiVersion: "api_version",
|
|
92047
|
-
sunsetDate: "sunset_date"
|
|
92245
|
+
sunsetDate: "sunset_date",
|
|
92246
|
+
reasoningCapabilities: "reasoning_capabilities"
|
|
92048
92247
|
});
|
|
92049
92248
|
});
|
|
92050
92249
|
});
|
|
@@ -93105,11 +93304,16 @@ var init_components = __esm(() => {
|
|
|
93105
93304
|
init_promptllmconfig();
|
|
93106
93305
|
init_promptllmprovider();
|
|
93107
93306
|
init_promptproperties();
|
|
93307
|
+
init_promptrequestvalidationerrordetail();
|
|
93108
93308
|
init_promptresponse();
|
|
93109
93309
|
init_promptupdaterequest();
|
|
93110
93310
|
init_pronunciationoverride();
|
|
93111
93311
|
init_pronunciationoverridesdictionary();
|
|
93112
93312
|
init_pronunciationscsvuploadresponse();
|
|
93313
|
+
init_reasoningeffort();
|
|
93314
|
+
init_reasoningendpoint();
|
|
93315
|
+
init_reasoningtoolmode();
|
|
93316
|
+
init_reasoningvalidationissue();
|
|
93113
93317
|
init_requeststatus();
|
|
93114
93318
|
init_requeststatusbreakdown();
|
|
93115
93319
|
init_responsedisplayconfig();
|
|
@@ -93152,6 +93356,9 @@ var init_components = __esm(() => {
|
|
|
93152
93356
|
init_steptools();
|
|
93153
93357
|
init_summaryentry();
|
|
93154
93358
|
init_supportedllm();
|
|
93359
|
+
init_supportedllmreasoningcapabilities();
|
|
93360
|
+
init_supportedllmreasoningcombination();
|
|
93361
|
+
init_supportedllmreasoningparameterconstraint();
|
|
93155
93362
|
init_supportedsttprovider();
|
|
93156
93363
|
init_takeoutrequeststatus();
|
|
93157
93364
|
init_takeoutstatusresponse();
|
|
@@ -93350,6 +93557,125 @@ var init_outboundcampaignlist = __esm(() => {
|
|
|
93350
93557
|
}));
|
|
93351
93558
|
});
|
|
93352
93559
|
|
|
93560
|
+
// src/models/errors/promptreasoningerrorresponse.ts
|
|
93561
|
+
var PromptReasoningErrorResponse, PromptReasoningErrorResponse$inboundSchema, PromptReasoningErrorResponse$outboundSchema;
|
|
93562
|
+
var init_promptreasoningerrorresponse = __esm(() => {
|
|
93563
|
+
init_v3();
|
|
93564
|
+
init_primitives();
|
|
93565
|
+
init_components();
|
|
93566
|
+
init_syllablesdkerror();
|
|
93567
|
+
PromptReasoningErrorResponse = class PromptReasoningErrorResponse extends SyllableSDKError {
|
|
93568
|
+
detail;
|
|
93569
|
+
validationIssues;
|
|
93570
|
+
requestErrors;
|
|
93571
|
+
data$;
|
|
93572
|
+
constructor(err, httpMeta) {
|
|
93573
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
93574
|
+
super(message, httpMeta);
|
|
93575
|
+
this.data$ = err;
|
|
93576
|
+
this.detail = err.detail;
|
|
93577
|
+
this.validationIssues = err.validationIssues;
|
|
93578
|
+
if (err.requestErrors != null)
|
|
93579
|
+
this.requestErrors = err.requestErrors;
|
|
93580
|
+
this.name = "PromptReasoningErrorResponse";
|
|
93581
|
+
}
|
|
93582
|
+
};
|
|
93583
|
+
PromptReasoningErrorResponse$inboundSchema = objectType({
|
|
93584
|
+
detail: stringType(),
|
|
93585
|
+
validation_issues: arrayType(ReasoningValidationIssue$inboundSchema),
|
|
93586
|
+
request_errors: arrayType(PromptRequestValidationErrorDetail$inboundSchema).optional(),
|
|
93587
|
+
request$: instanceOfType(Request),
|
|
93588
|
+
response$: instanceOfType(Response),
|
|
93589
|
+
body$: stringType()
|
|
93590
|
+
}).transform((v2) => {
|
|
93591
|
+
const remapped = remap(v2, {
|
|
93592
|
+
validation_issues: "validationIssues",
|
|
93593
|
+
request_errors: "requestErrors"
|
|
93594
|
+
});
|
|
93595
|
+
return new PromptReasoningErrorResponse(remapped, {
|
|
93596
|
+
request: v2.request$,
|
|
93597
|
+
response: v2.response$,
|
|
93598
|
+
body: v2.body$
|
|
93599
|
+
});
|
|
93600
|
+
});
|
|
93601
|
+
PromptReasoningErrorResponse$outboundSchema = instanceOfType(PromptReasoningErrorResponse).transform((v2) => v2.data$).pipe(objectType({
|
|
93602
|
+
detail: stringType(),
|
|
93603
|
+
validationIssues: arrayType(ReasoningValidationIssue$outboundSchema),
|
|
93604
|
+
requestErrors: arrayType(PromptRequestValidationErrorDetail$outboundSchema).optional()
|
|
93605
|
+
}).transform((v2) => {
|
|
93606
|
+
return remap(v2, {
|
|
93607
|
+
validationIssues: "validation_issues",
|
|
93608
|
+
requestErrors: "request_errors"
|
|
93609
|
+
});
|
|
93610
|
+
}));
|
|
93611
|
+
});
|
|
93612
|
+
|
|
93613
|
+
// src/models/errors/promptschemavalidationerrorresponse.ts
|
|
93614
|
+
var PromptSchemaValidationErrorResponse, PromptSchemaValidationErrorResponse$inboundSchema, PromptSchemaValidationErrorResponse$outboundSchema;
|
|
93615
|
+
var init_promptschemavalidationerrorresponse = __esm(() => {
|
|
93616
|
+
init_v3();
|
|
93617
|
+
init_components();
|
|
93618
|
+
init_syllablesdkerror();
|
|
93619
|
+
PromptSchemaValidationErrorResponse = class PromptSchemaValidationErrorResponse extends SyllableSDKError {
|
|
93620
|
+
detail;
|
|
93621
|
+
data$;
|
|
93622
|
+
constructor(err, httpMeta) {
|
|
93623
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
93624
|
+
super(message, httpMeta);
|
|
93625
|
+
this.data$ = err;
|
|
93626
|
+
this.detail = err.detail;
|
|
93627
|
+
this.name = "PromptSchemaValidationErrorResponse";
|
|
93628
|
+
}
|
|
93629
|
+
};
|
|
93630
|
+
PromptSchemaValidationErrorResponse$inboundSchema = objectType({
|
|
93631
|
+
detail: arrayType(PromptRequestValidationErrorDetail$inboundSchema),
|
|
93632
|
+
request$: instanceOfType(Request),
|
|
93633
|
+
response$: instanceOfType(Response),
|
|
93634
|
+
body$: stringType()
|
|
93635
|
+
}).transform((v2) => {
|
|
93636
|
+
return new PromptSchemaValidationErrorResponse(v2, {
|
|
93637
|
+
request: v2.request$,
|
|
93638
|
+
response: v2.response$,
|
|
93639
|
+
body: v2.body$
|
|
93640
|
+
});
|
|
93641
|
+
});
|
|
93642
|
+
PromptSchemaValidationErrorResponse$outboundSchema = instanceOfType(PromptSchemaValidationErrorResponse).transform((v2) => v2.data$).pipe(objectType({
|
|
93643
|
+
detail: arrayType(PromptRequestValidationErrorDetail$outboundSchema)
|
|
93644
|
+
}));
|
|
93645
|
+
});
|
|
93646
|
+
|
|
93647
|
+
// src/models/errors/promptscreate.ts
|
|
93648
|
+
var PromptsCreateResponse422PromptsCreate$inboundSchema, PromptsCreateResponse422PromptsCreate$outboundSchema;
|
|
93649
|
+
var init_promptscreate = __esm(() => {
|
|
93650
|
+
init_v3();
|
|
93651
|
+
init_promptreasoningerrorresponse();
|
|
93652
|
+
init_promptschemavalidationerrorresponse();
|
|
93653
|
+
PromptsCreateResponse422PromptsCreate$inboundSchema = unionType([
|
|
93654
|
+
PromptReasoningErrorResponse$inboundSchema,
|
|
93655
|
+
PromptSchemaValidationErrorResponse$inboundSchema
|
|
93656
|
+
]);
|
|
93657
|
+
PromptsCreateResponse422PromptsCreate$outboundSchema = unionType([
|
|
93658
|
+
PromptReasoningErrorResponse$outboundSchema,
|
|
93659
|
+
PromptSchemaValidationErrorResponse$outboundSchema
|
|
93660
|
+
]);
|
|
93661
|
+
});
|
|
93662
|
+
|
|
93663
|
+
// src/models/errors/promptsupdate.ts
|
|
93664
|
+
var PromptsUpdateResponse422PromptsUpdate$inboundSchema, PromptsUpdateResponse422PromptsUpdate$outboundSchema;
|
|
93665
|
+
var init_promptsupdate = __esm(() => {
|
|
93666
|
+
init_v3();
|
|
93667
|
+
init_promptreasoningerrorresponse();
|
|
93668
|
+
init_promptschemavalidationerrorresponse();
|
|
93669
|
+
PromptsUpdateResponse422PromptsUpdate$inboundSchema = unionType([
|
|
93670
|
+
PromptReasoningErrorResponse$inboundSchema,
|
|
93671
|
+
PromptSchemaValidationErrorResponse$inboundSchema
|
|
93672
|
+
]);
|
|
93673
|
+
PromptsUpdateResponse422PromptsUpdate$outboundSchema = unionType([
|
|
93674
|
+
PromptReasoningErrorResponse$outboundSchema,
|
|
93675
|
+
PromptSchemaValidationErrorResponse$outboundSchema
|
|
93676
|
+
]);
|
|
93677
|
+
});
|
|
93678
|
+
|
|
93353
93679
|
// src/models/errors/sessionlabelslist.ts
|
|
93354
93680
|
var SessionLabelsListResponseBody, SessionLabelsListResponseBody$inboundSchema, SessionLabelsListResponseBody$outboundSchema;
|
|
93355
93681
|
var init_sessionlabelslist = __esm(() => {
|
|
@@ -93453,6 +93779,10 @@ var init_errors10 = __esm(() => {
|
|
|
93453
93779
|
init_httpclienterrors();
|
|
93454
93780
|
init_httpvalidationerror();
|
|
93455
93781
|
init_outboundcampaignlist();
|
|
93782
|
+
init_promptreasoningerrorresponse();
|
|
93783
|
+
init_promptschemavalidationerrorresponse();
|
|
93784
|
+
init_promptscreate();
|
|
93785
|
+
init_promptsupdate();
|
|
93456
93786
|
init_responsevalidationerror();
|
|
93457
93787
|
init_sdkerror();
|
|
93458
93788
|
init_sdkvalidationerror();
|
|
@@ -112498,7 +112828,7 @@ async function $do136(client, request, options) {
|
|
|
112498
112828
|
const responseFields = {
|
|
112499
112829
|
HttpMeta: { Response: response, Request: req }
|
|
112500
112830
|
};
|
|
112501
|
-
const [result] = await match(json(200, PromptResponse$inboundSchema), jsonErr(422,
|
|
112831
|
+
const [result] = await match(json(200, PromptResponse$inboundSchema), jsonErr(422, PromptsCreateResponse422PromptsCreate$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
112502
112832
|
if (!result.ok) {
|
|
112503
112833
|
return [result, { status: "complete", request: req, response }];
|
|
112504
112834
|
}
|
|
@@ -113251,7 +113581,7 @@ async function $do143(client, request, options) {
|
|
|
113251
113581
|
const responseFields = {
|
|
113252
113582
|
HttpMeta: { Response: response, Request: req }
|
|
113253
113583
|
};
|
|
113254
|
-
const [result] = await match(json(200, PromptResponse$inboundSchema), jsonErr(422,
|
|
113584
|
+
const [result] = await match(json(200, PromptResponse$inboundSchema), jsonErr(422, PromptsUpdateResponse422PromptsUpdate$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
113255
113585
|
if (!result.ok) {
|
|
113256
113586
|
return [result, { status: "complete", request: req, response }];
|
|
113257
113587
|
}
|
|
@@ -118742,7 +119072,7 @@ Generate voice sample.`,
|
|
|
118742
119072
|
function createMCPServer(deps) {
|
|
118743
119073
|
const server = new McpServer({
|
|
118744
119074
|
name: "SyllableSDK",
|
|
118745
|
-
version: "1.0.72-rc.
|
|
119075
|
+
version: "1.0.72-rc.4"
|
|
118746
119076
|
});
|
|
118747
119077
|
const client = new SyllableSDKCore({
|
|
118748
119078
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -120349,7 +120679,7 @@ var routes = ln({
|
|
|
120349
120679
|
var app = _e(routes, {
|
|
120350
120680
|
name: "mcp",
|
|
120351
120681
|
versionInfo: {
|
|
120352
|
-
currentVersion: "1.0.72-rc.
|
|
120682
|
+
currentVersion: "1.0.72-rc.4"
|
|
120353
120683
|
}
|
|
120354
120684
|
});
|
|
120355
120685
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -120357,5 +120687,5 @@ export {
|
|
|
120357
120687
|
app
|
|
120358
120688
|
};
|
|
120359
120689
|
|
|
120360
|
-
//# debugId=
|
|
120690
|
+
//# debugId=0D3377DE7CE0ED2E64756E2164756E21
|
|
120361
120691
|
//# sourceMappingURL=mcp-server.js.map
|