syllable-sdk 1.0.26-rc.6 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +85 -18
- package/bin/mcp-server.js.map +13 -11
- 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.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/components/batchdetails.d.ts +10 -0
- package/models/components/batchdetails.d.ts.map +1 -1
- package/models/components/batchdetails.js +5 -0
- package/models/components/batchdetails.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/organizationresponse.d.ts +3 -3
- package/models/components/organizationresponse.d.ts.map +1 -1
- package/models/components/organizationresponse.js +2 -2
- package/models/components/organizationresponse.js.map +1 -1
- package/models/components/requeststatusbreakdown.d.ts +32 -0
- package/models/components/requeststatusbreakdown.d.ts.map +1 -0
- package/models/components/requeststatusbreakdown.js +69 -0
- package/models/components/requeststatusbreakdown.js.map +1 -0
- package/models/components/tooldetailresponse.d.ts +6 -0
- package/models/components/tooldetailresponse.d.ts.map +1 -1
- package/models/components/tooldetailresponse.js +7 -0
- package/models/components/tooldetailresponse.js.map +1 -1
- package/models/components/toolresponse.d.ts +6 -0
- package/models/components/toolresponse.d.ts.map +1 -1
- package/models/components/toolresponse.js +7 -0
- package/models/components/toolresponse.js.map +1 -1
- package/models/components/validationissue.d.ts +51 -0
- package/models/components/validationissue.d.ts.map +1 -0
- package/models/components/validationissue.js +76 -0
- package/models/components/validationissue.js.map +1 -0
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/batchdetails.ts +25 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/organizationresponse.ts +5 -5
- package/src/models/components/requeststatusbreakdown.ts +73 -0
- package/src/models/components/tooldetailresponse.ts +17 -0
- package/src/models/components/toolresponse.ts +17 -0
- package/src/models/components/validationissue.ts +95 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53072,9 +53072,9 @@ var init_config = __esm(() => {
|
|
|
53072
53072
|
SDK_METADATA = {
|
|
53073
53073
|
language: "typescript",
|
|
53074
53074
|
openapiDocVersion: "0.0.3",
|
|
53075
|
-
sdkVersion: "1.0.26
|
|
53076
|
-
genVersion: "2.
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.26
|
|
53075
|
+
sdkVersion: "1.0.26",
|
|
53076
|
+
genVersion: "2.845.1",
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.26 2.845.1 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -57113,6 +57113,33 @@ var init_promptllmconfig = __esm(() => {
|
|
|
57113
57113
|
});
|
|
57114
57114
|
});
|
|
57115
57115
|
|
|
57116
|
+
// src/models/components/validationissue.ts
|
|
57117
|
+
var Severity, Severity$inboundSchema, Severity$outboundSchema, ValidationIssue$inboundSchema, ValidationIssue$outboundSchema;
|
|
57118
|
+
var init_validationissue = __esm(() => {
|
|
57119
|
+
init_v3();
|
|
57120
|
+
Severity = {
|
|
57121
|
+
Info: "info",
|
|
57122
|
+
Warning: "warning",
|
|
57123
|
+
Error: "error"
|
|
57124
|
+
};
|
|
57125
|
+
Severity$inboundSchema = nativeEnumType(Severity);
|
|
57126
|
+
Severity$outboundSchema = Severity$inboundSchema;
|
|
57127
|
+
ValidationIssue$inboundSchema = objectType({
|
|
57128
|
+
id: stringType(),
|
|
57129
|
+
severity: Severity$inboundSchema.default("error"),
|
|
57130
|
+
message: stringType(),
|
|
57131
|
+
path: nullableType(stringType()).optional(),
|
|
57132
|
+
value: nullableType(stringType()).optional()
|
|
57133
|
+
});
|
|
57134
|
+
ValidationIssue$outboundSchema = objectType({
|
|
57135
|
+
id: stringType(),
|
|
57136
|
+
severity: Severity$outboundSchema.default("error"),
|
|
57137
|
+
message: stringType(),
|
|
57138
|
+
path: nullableType(stringType()).optional(),
|
|
57139
|
+
value: nullableType(stringType()).optional()
|
|
57140
|
+
});
|
|
57141
|
+
});
|
|
57142
|
+
|
|
57116
57143
|
// src/models/components/toolresponse.ts
|
|
57117
57144
|
var ToolResponse$inboundSchema, ToolResponse$outboundSchema;
|
|
57118
57145
|
var init_toolresponse = __esm(() => {
|
|
@@ -57121,6 +57148,7 @@ var init_toolresponse = __esm(() => {
|
|
|
57121
57148
|
init_toolagentinfo();
|
|
57122
57149
|
init_tooldefinition();
|
|
57123
57150
|
init_toolpromptinfo();
|
|
57151
|
+
init_validationissue();
|
|
57124
57152
|
ToolResponse$inboundSchema = objectType({
|
|
57125
57153
|
name: stringType(),
|
|
57126
57154
|
definition: ToolDefinition$inboundSchema,
|
|
@@ -57131,7 +57159,8 @@ var init_toolresponse = __esm(() => {
|
|
|
57131
57159
|
prompts_info: nullableType(arrayType(ToolPromptInfo$inboundSchema)).optional(),
|
|
57132
57160
|
agents_info: nullableType(arrayType(ToolAgentInfo$inboundSchema)).optional(),
|
|
57133
57161
|
last_updated: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
57134
|
-
last_updated_by: stringType()
|
|
57162
|
+
last_updated_by: stringType(),
|
|
57163
|
+
validation_issues: nullableType(arrayType(ValidationIssue$inboundSchema)).optional()
|
|
57135
57164
|
}).transform((v2) => {
|
|
57136
57165
|
return remap(v2, {
|
|
57137
57166
|
service_id: "serviceId",
|
|
@@ -57140,7 +57169,8 @@ var init_toolresponse = __esm(() => {
|
|
|
57140
57169
|
prompts_info: "promptsInfo",
|
|
57141
57170
|
agents_info: "agentsInfo",
|
|
57142
57171
|
last_updated: "lastUpdated",
|
|
57143
|
-
last_updated_by: "lastUpdatedBy"
|
|
57172
|
+
last_updated_by: "lastUpdatedBy",
|
|
57173
|
+
validation_issues: "validationIssues"
|
|
57144
57174
|
});
|
|
57145
57175
|
});
|
|
57146
57176
|
ToolResponse$outboundSchema = objectType({
|
|
@@ -57153,7 +57183,8 @@ var init_toolresponse = __esm(() => {
|
|
|
57153
57183
|
promptsInfo: nullableType(arrayType(ToolPromptInfo$outboundSchema)).optional(),
|
|
57154
57184
|
agentsInfo: nullableType(arrayType(ToolAgentInfo$outboundSchema)).optional(),
|
|
57155
57185
|
lastUpdated: dateType().transform((v2) => v2.toISOString()),
|
|
57156
|
-
lastUpdatedBy: stringType()
|
|
57186
|
+
lastUpdatedBy: stringType(),
|
|
57187
|
+
validationIssues: nullableType(arrayType(ValidationIssue$outboundSchema)).optional()
|
|
57157
57188
|
}).transform((v2) => {
|
|
57158
57189
|
return remap(v2, {
|
|
57159
57190
|
serviceId: "service_id",
|
|
@@ -57162,7 +57193,8 @@ var init_toolresponse = __esm(() => {
|
|
|
57162
57193
|
promptsInfo: "prompts_info",
|
|
57163
57194
|
agentsInfo: "agents_info",
|
|
57164
57195
|
lastUpdated: "last_updated",
|
|
57165
|
-
lastUpdatedBy: "last_updated_by"
|
|
57196
|
+
lastUpdatedBy: "last_updated_by",
|
|
57197
|
+
validationIssues: "validation_issues"
|
|
57166
57198
|
});
|
|
57167
57199
|
});
|
|
57168
57200
|
});
|
|
@@ -57691,12 +57723,36 @@ var init_batchstatus = __esm(() => {
|
|
|
57691
57723
|
BatchStatus$outboundSchema = BatchStatus$inboundSchema;
|
|
57692
57724
|
});
|
|
57693
57725
|
|
|
57726
|
+
// src/models/components/requeststatusbreakdown.ts
|
|
57727
|
+
var RequestStatusBreakdown$inboundSchema, RequestStatusBreakdown$outboundSchema;
|
|
57728
|
+
var init_requeststatusbreakdown = __esm(() => {
|
|
57729
|
+
init_v3();
|
|
57730
|
+
init_primitives();
|
|
57731
|
+
RequestStatusBreakdown$inboundSchema = objectType({
|
|
57732
|
+
total_count: numberType().int(),
|
|
57733
|
+
counts: nullableType(recordType(numberType().int())).optional()
|
|
57734
|
+
}).transform((v2) => {
|
|
57735
|
+
return remap(v2, {
|
|
57736
|
+
total_count: "totalCount"
|
|
57737
|
+
});
|
|
57738
|
+
});
|
|
57739
|
+
RequestStatusBreakdown$outboundSchema = objectType({
|
|
57740
|
+
totalCount: numberType().int(),
|
|
57741
|
+
counts: nullableType(recordType(numberType().int())).optional()
|
|
57742
|
+
}).transform((v2) => {
|
|
57743
|
+
return remap(v2, {
|
|
57744
|
+
totalCount: "total_count"
|
|
57745
|
+
});
|
|
57746
|
+
});
|
|
57747
|
+
});
|
|
57748
|
+
|
|
57694
57749
|
// src/models/components/batchdetails.ts
|
|
57695
57750
|
var BatchDetails$inboundSchema, BatchDetails$outboundSchema;
|
|
57696
57751
|
var init_batchdetails = __esm(() => {
|
|
57697
57752
|
init_v3();
|
|
57698
57753
|
init_primitives();
|
|
57699
57754
|
init_batchstatus();
|
|
57755
|
+
init_requeststatusbreakdown();
|
|
57700
57756
|
BatchDetails$inboundSchema = objectType({
|
|
57701
57757
|
batch_id: stringType(),
|
|
57702
57758
|
campaign_id: numberType().int(),
|
|
@@ -57710,7 +57766,8 @@ var init_batchdetails = __esm(() => {
|
|
|
57710
57766
|
last_updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
57711
57767
|
last_updated_by: stringType(),
|
|
57712
57768
|
error_message: nullableType(stringType()).optional(),
|
|
57713
|
-
status_counts: nullableType(recordType(numberType().int())).optional()
|
|
57769
|
+
status_counts: nullableType(recordType(numberType().int())).optional(),
|
|
57770
|
+
detailed_status_counts: nullableType(recordType(RequestStatusBreakdown$inboundSchema)).optional()
|
|
57714
57771
|
}).transform((v2) => {
|
|
57715
57772
|
return remap(v2, {
|
|
57716
57773
|
batch_id: "batchId",
|
|
@@ -57723,7 +57780,8 @@ var init_batchdetails = __esm(() => {
|
|
|
57723
57780
|
last_updated_at: "lastUpdatedAt",
|
|
57724
57781
|
last_updated_by: "lastUpdatedBy",
|
|
57725
57782
|
error_message: "errorMessage",
|
|
57726
|
-
status_counts: "statusCounts"
|
|
57783
|
+
status_counts: "statusCounts",
|
|
57784
|
+
detailed_status_counts: "detailedStatusCounts"
|
|
57727
57785
|
});
|
|
57728
57786
|
});
|
|
57729
57787
|
BatchDetails$outboundSchema = objectType({
|
|
@@ -57739,7 +57797,8 @@ var init_batchdetails = __esm(() => {
|
|
|
57739
57797
|
lastUpdatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
57740
57798
|
lastUpdatedBy: stringType(),
|
|
57741
57799
|
errorMessage: nullableType(stringType()).optional(),
|
|
57742
|
-
statusCounts: nullableType(recordType(numberType().int())).optional()
|
|
57800
|
+
statusCounts: nullableType(recordType(numberType().int())).optional(),
|
|
57801
|
+
detailedStatusCounts: nullableType(recordType(RequestStatusBreakdown$outboundSchema)).optional()
|
|
57743
57802
|
}).transform((v2) => {
|
|
57744
57803
|
return remap(v2, {
|
|
57745
57804
|
batchId: "batch_id",
|
|
@@ -57752,7 +57811,8 @@ var init_batchdetails = __esm(() => {
|
|
|
57752
57811
|
lastUpdatedAt: "last_updated_at",
|
|
57753
57812
|
lastUpdatedBy: "last_updated_by",
|
|
57754
57813
|
errorMessage: "error_message",
|
|
57755
|
-
statusCounts: "status_counts"
|
|
57814
|
+
statusCounts: "status_counts",
|
|
57815
|
+
detailedStatusCounts: "detailed_status_counts"
|
|
57756
57816
|
});
|
|
57757
57817
|
});
|
|
57758
57818
|
});
|
|
@@ -62161,7 +62221,7 @@ var init_organizationresponse = __esm(() => {
|
|
|
62161
62221
|
saml_provider_id: nullableType(stringType()).optional(),
|
|
62162
62222
|
id: numberType().int(),
|
|
62163
62223
|
last_updated_comments: nullableType(stringType()).optional(),
|
|
62164
|
-
slug: stringType(),
|
|
62224
|
+
slug: nullableType(stringType()).optional(),
|
|
62165
62225
|
last_updated: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62166
62226
|
last_updated_by: nullableType(stringType()).optional(),
|
|
62167
62227
|
logo_url: nullableType(stringType()).optional()
|
|
@@ -62182,7 +62242,7 @@ var init_organizationresponse = __esm(() => {
|
|
|
62182
62242
|
samlProviderId: nullableType(stringType()).optional(),
|
|
62183
62243
|
id: numberType().int(),
|
|
62184
62244
|
lastUpdatedComments: nullableType(stringType()).optional(),
|
|
62185
|
-
slug: stringType(),
|
|
62245
|
+
slug: nullableType(stringType()).optional(),
|
|
62186
62246
|
lastUpdated: dateType().transform((v2) => v2.toISOString()),
|
|
62187
62247
|
lastUpdatedBy: nullableType(stringType()).optional(),
|
|
62188
62248
|
logoUrl: nullableType(stringType()).optional()
|
|
@@ -63256,6 +63316,7 @@ var init_tooldetailresponse = __esm(() => {
|
|
|
63256
63316
|
init_toolagentinfo();
|
|
63257
63317
|
init_tooldefinition();
|
|
63258
63318
|
init_toolpromptinfo();
|
|
63319
|
+
init_validationissue();
|
|
63259
63320
|
ToolDetailResponse$inboundSchema = objectType({
|
|
63260
63321
|
name: stringType(),
|
|
63261
63322
|
definition: ToolDefinition$inboundSchema,
|
|
@@ -63267,6 +63328,7 @@ var init_tooldetailresponse = __esm(() => {
|
|
|
63267
63328
|
agents_info: nullableType(arrayType(ToolAgentInfo$inboundSchema)).optional(),
|
|
63268
63329
|
last_updated: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63269
63330
|
last_updated_by: stringType(),
|
|
63331
|
+
validation_issues: nullableType(arrayType(ValidationIssue$inboundSchema)).optional(),
|
|
63270
63332
|
fields: arrayType(stringType())
|
|
63271
63333
|
}).transform((v2) => {
|
|
63272
63334
|
return remap(v2, {
|
|
@@ -63276,7 +63338,8 @@ var init_tooldetailresponse = __esm(() => {
|
|
|
63276
63338
|
prompts_info: "promptsInfo",
|
|
63277
63339
|
agents_info: "agentsInfo",
|
|
63278
63340
|
last_updated: "lastUpdated",
|
|
63279
|
-
last_updated_by: "lastUpdatedBy"
|
|
63341
|
+
last_updated_by: "lastUpdatedBy",
|
|
63342
|
+
validation_issues: "validationIssues"
|
|
63280
63343
|
});
|
|
63281
63344
|
});
|
|
63282
63345
|
ToolDetailResponse$outboundSchema = objectType({
|
|
@@ -63290,6 +63353,7 @@ var init_tooldetailresponse = __esm(() => {
|
|
|
63290
63353
|
agentsInfo: nullableType(arrayType(ToolAgentInfo$outboundSchema)).optional(),
|
|
63291
63354
|
lastUpdated: dateType().transform((v2) => v2.toISOString()),
|
|
63292
63355
|
lastUpdatedBy: stringType(),
|
|
63356
|
+
validationIssues: nullableType(arrayType(ValidationIssue$outboundSchema)).optional(),
|
|
63293
63357
|
fields: arrayType(stringType())
|
|
63294
63358
|
}).transform((v2) => {
|
|
63295
63359
|
return remap(v2, {
|
|
@@ -63299,7 +63363,8 @@ var init_tooldetailresponse = __esm(() => {
|
|
|
63299
63363
|
promptsInfo: "prompts_info",
|
|
63300
63364
|
agentsInfo: "agents_info",
|
|
63301
63365
|
lastUpdated: "last_updated",
|
|
63302
|
-
lastUpdatedBy: "last_updated_by"
|
|
63366
|
+
lastUpdatedBy: "last_updated_by",
|
|
63367
|
+
validationIssues: "validation_issues"
|
|
63303
63368
|
});
|
|
63304
63369
|
});
|
|
63305
63370
|
});
|
|
@@ -64044,6 +64109,7 @@ var init_components = __esm(() => {
|
|
|
64044
64109
|
init_pronunciationoverridesdictionary();
|
|
64045
64110
|
init_pronunciationscsvuploadresponse();
|
|
64046
64111
|
init_requeststatus();
|
|
64112
|
+
init_requeststatusbreakdown();
|
|
64047
64113
|
init_rolecreaterequest();
|
|
64048
64114
|
init_roleproperties();
|
|
64049
64115
|
init_roleresponse();
|
|
@@ -64118,6 +64184,7 @@ var init_components = __esm(() => {
|
|
|
64118
64184
|
init_userresponse();
|
|
64119
64185
|
init_userupdaterequest();
|
|
64120
64186
|
init_validationerror();
|
|
64187
|
+
init_validationissue();
|
|
64121
64188
|
init_variable();
|
|
64122
64189
|
init_voicedisplayinfo();
|
|
64123
64190
|
init_voicegroupcreaterequest();
|
|
@@ -84666,7 +84733,7 @@ Generate voice sample.`,
|
|
|
84666
84733
|
function createMCPServer(deps) {
|
|
84667
84734
|
const server = new McpServer({
|
|
84668
84735
|
name: "SyllableSDK",
|
|
84669
|
-
version: "1.0.26
|
|
84736
|
+
version: "1.0.26"
|
|
84670
84737
|
});
|
|
84671
84738
|
const client = new SyllableSDKCore({
|
|
84672
84739
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -86204,7 +86271,7 @@ var routes = ln({
|
|
|
86204
86271
|
var app = _e(routes, {
|
|
86205
86272
|
name: "mcp",
|
|
86206
86273
|
versionInfo: {
|
|
86207
|
-
currentVersion: "1.0.26
|
|
86274
|
+
currentVersion: "1.0.26"
|
|
86208
86275
|
}
|
|
86209
86276
|
});
|
|
86210
86277
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -86212,5 +86279,5 @@ export {
|
|
|
86212
86279
|
app
|
|
86213
86280
|
};
|
|
86214
86281
|
|
|
86215
|
-
//# debugId=
|
|
86282
|
+
//# debugId=DE0705EFB929A27064756E2164756E21
|
|
86216
86283
|
//# sourceMappingURL=mcp-server.js.map
|