syllable-sdk 1.0.27-rc.4 → 1.0.27
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 +40 -10
- package/bin/mcp-server.js.map +15 -15
- package/funcs/directoryDirectoryMemberBulkLoad.js +7 -0
- package/funcs/directoryDirectoryMemberBulkLoad.js.map +1 -1
- package/funcs/insightsFoldersUploadFile.js +7 -0
- package/funcs/insightsFoldersUploadFile.js.map +1 -1
- package/funcs/organizationsCreate.js +7 -0
- package/funcs/organizationsCreate.js.map +1 -1
- package/funcs/organizationsUpdate.js +7 -0
- package/funcs/organizationsUpdate.js.map +1 -1
- package/funcs/outboundBatchesUpload.js +7 -0
- package/funcs/outboundBatchesUpload.js.map +1 -1
- package/funcs/pronunciationsPronunciationsUploadCsv.js +7 -0
- package/funcs/pronunciationsPronunciationsUploadCsv.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- package/lib/security.js.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -2
- package/mcp-server/cli/start/impl.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/mcp-server/shared.js +1 -1
- package/mcp-server/shared.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/directoryDirectoryMemberBulkLoad.ts +11 -0
- package/src/funcs/insightsFoldersUploadFile.ts +18 -0
- package/src/funcs/organizationsCreate.ts +11 -0
- package/src/funcs/organizationsUpdate.ts +11 -0
- package/src/funcs/outboundBatchesUpload.ts +16 -0
- package/src/funcs/pronunciationsPronunciationsUploadCsv.ts +11 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/cli/start/impl.ts +4 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/shared.ts +2 -2
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.27
|
|
53076
|
-
genVersion: "2.
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.27
|
|
53075
|
+
sdkVersion: "1.0.27",
|
|
53076
|
+
genVersion: "2.849.6",
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.27 2.849.6 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -53966,7 +53966,7 @@ async function consumeStream(stream) {
|
|
|
53966
53966
|
while (true) {
|
|
53967
53967
|
const { done, value } = await reader.read();
|
|
53968
53968
|
if (value != null)
|
|
53969
|
-
chunks.push(value);
|
|
53969
|
+
chunks.push(new Uint8Array(value).buffer);
|
|
53970
53970
|
if (done)
|
|
53971
53971
|
break;
|
|
53972
53972
|
}
|
|
@@ -54528,7 +54528,7 @@ function resolveSecurity(...options) {
|
|
|
54528
54528
|
applyBearer(state, spec);
|
|
54529
54529
|
break;
|
|
54530
54530
|
default:
|
|
54531
|
-
throw SecurityError.unrecognizedType(type);
|
|
54531
|
+
throw SecurityError.unrecognizedType((spec, type));
|
|
54532
54532
|
}
|
|
54533
54533
|
});
|
|
54534
54534
|
return state;
|
|
@@ -72271,6 +72271,11 @@ async function $do44(client, request, options) {
|
|
|
72271
72271
|
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
72272
72272
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
72273
72273
|
appendForm(body, "file", blob, payload.file.fileName);
|
|
72274
|
+
} else if (payload.file.content instanceof Uint8Array) {
|
|
72275
|
+
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
72276
|
+
appendForm(body, "file", new Blob([new Uint8Array(payload.file.content).buffer], {
|
|
72277
|
+
type: contentType2
|
|
72278
|
+
}), payload.file.fileName);
|
|
72274
72279
|
} else {
|
|
72275
72280
|
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
72276
72281
|
appendForm(body, "file", new Blob([payload.file.content], { type: contentType2 }), payload.file.fileName);
|
|
@@ -74691,6 +74696,11 @@ async function $do66(client, request, options) {
|
|
|
74691
74696
|
const contentType2 = getContentTypeFromFileName(payload.Body_insights_folder_upload_file.file.fileName) || "application/octet-stream";
|
|
74692
74697
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
74693
74698
|
appendForm(body, "file", blob, payload.Body_insights_folder_upload_file.file.fileName);
|
|
74699
|
+
} else if (payload.Body_insights_folder_upload_file.file.content instanceof Uint8Array) {
|
|
74700
|
+
const contentType2 = getContentTypeFromFileName(payload.Body_insights_folder_upload_file.file.fileName) || "application/octet-stream";
|
|
74701
|
+
appendForm(body, "file", new Blob([
|
|
74702
|
+
new Uint8Array(payload.Body_insights_folder_upload_file.file.content).buffer
|
|
74703
|
+
], { type: contentType2 }), payload.Body_insights_folder_upload_file.file.fileName);
|
|
74694
74704
|
} else {
|
|
74695
74705
|
const contentType2 = getContentTypeFromFileName(payload.Body_insights_folder_upload_file.file.fileName) || "application/octet-stream";
|
|
74696
74706
|
appendForm(body, "file", new Blob([payload.Body_insights_folder_upload_file.file.content], {
|
|
@@ -77189,6 +77199,11 @@ async function $do89(client, request, options) {
|
|
|
77189
77199
|
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77190
77200
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
77191
77201
|
appendForm(body, "logo", blob, payload.logo.fileName);
|
|
77202
|
+
} else if (payload.logo.content instanceof Uint8Array) {
|
|
77203
|
+
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77204
|
+
appendForm(body, "logo", new Blob([new Uint8Array(payload.logo.content).buffer], {
|
|
77205
|
+
type: contentType2
|
|
77206
|
+
}), payload.logo.fileName);
|
|
77192
77207
|
} else {
|
|
77193
77208
|
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77194
77209
|
appendForm(body, "logo", new Blob([payload.logo.content], { type: contentType2 }), payload.logo.fileName);
|
|
@@ -77510,6 +77525,11 @@ async function $do92(client, request, options) {
|
|
|
77510
77525
|
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77511
77526
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
77512
77527
|
appendForm(body, "logo", blob, payload.logo.fileName);
|
|
77528
|
+
} else if (payload.logo.content instanceof Uint8Array) {
|
|
77529
|
+
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77530
|
+
appendForm(body, "logo", new Blob([new Uint8Array(payload.logo.content).buffer], {
|
|
77531
|
+
type: contentType2
|
|
77532
|
+
}), payload.logo.fileName);
|
|
77513
77533
|
} else {
|
|
77514
77534
|
const contentType2 = getContentTypeFromFileName(payload.logo.fileName) || "application/octet-stream";
|
|
77515
77535
|
appendForm(body, "logo", new Blob([payload.logo.content], { type: contentType2 }), payload.logo.fileName);
|
|
@@ -78506,6 +78526,11 @@ async function $do101(client, request, options) {
|
|
|
78506
78526
|
const contentType2 = getContentTypeFromFileName(payload.Body_outbound_batch_upload.file.fileName) || "application/octet-stream";
|
|
78507
78527
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
78508
78528
|
appendForm(body, "file", blob, payload.Body_outbound_batch_upload.file.fileName);
|
|
78529
|
+
} else if (payload.Body_outbound_batch_upload.file.content instanceof Uint8Array) {
|
|
78530
|
+
const contentType2 = getContentTypeFromFileName(payload.Body_outbound_batch_upload.file.fileName) || "application/octet-stream";
|
|
78531
|
+
appendForm(body, "file", new Blob([
|
|
78532
|
+
new Uint8Array(payload.Body_outbound_batch_upload.file.content).buffer
|
|
78533
|
+
], { type: contentType2 }), payload.Body_outbound_batch_upload.file.fileName);
|
|
78509
78534
|
} else {
|
|
78510
78535
|
const contentType2 = getContentTypeFromFileName(payload.Body_outbound_batch_upload.file.fileName) || "application/octet-stream";
|
|
78511
78536
|
appendForm(body, "file", new Blob([payload.Body_outbound_batch_upload.file.content], {
|
|
@@ -80319,6 +80344,11 @@ async function $do119(client, request, options) {
|
|
|
80319
80344
|
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
80320
80345
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
80321
80346
|
appendForm(body, "file", blob, payload.file.fileName);
|
|
80347
|
+
} else if (payload.file.content instanceof Uint8Array) {
|
|
80348
|
+
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
80349
|
+
appendForm(body, "file", new Blob([new Uint8Array(payload.file.content).buffer], {
|
|
80350
|
+
type: contentType2
|
|
80351
|
+
}), payload.file.fileName);
|
|
80322
80352
|
} else {
|
|
80323
80353
|
const contentType2 = getContentTypeFromFileName(payload.file.fileName) || "application/octet-stream";
|
|
80324
80354
|
appendForm(body, "file", new Blob([payload.file.content], { type: contentType2 }), payload.file.fileName);
|
|
@@ -85124,7 +85154,7 @@ Generate voice sample.`,
|
|
|
85124
85154
|
function createMCPServer(deps) {
|
|
85125
85155
|
const server = new McpServer({
|
|
85126
85156
|
name: "SyllableSDK",
|
|
85127
|
-
version: "1.0.27
|
|
85157
|
+
version: "1.0.27"
|
|
85128
85158
|
});
|
|
85129
85159
|
const client = new SyllableSDKCore({
|
|
85130
85160
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -85499,7 +85529,7 @@ async function startStdio(flags) {
|
|
|
85499
85529
|
const server = createMCPServer({
|
|
85500
85530
|
logger,
|
|
85501
85531
|
allowedTools: flags.tool,
|
|
85502
|
-
|
|
85532
|
+
apiKeyHeader: flags["api-key-header"] ?? "",
|
|
85503
85533
|
serverURL: flags["server-url"],
|
|
85504
85534
|
serverIdx: flags["server-index"]
|
|
85505
85535
|
});
|
|
@@ -85517,7 +85547,7 @@ async function startSSE(flags) {
|
|
|
85517
85547
|
const mcpServer = createMCPServer({
|
|
85518
85548
|
logger,
|
|
85519
85549
|
allowedTools: flags.tool,
|
|
85520
|
-
|
|
85550
|
+
apiKeyHeader: flags["api-key-header"] ?? "",
|
|
85521
85551
|
serverURL: flags["server-url"],
|
|
85522
85552
|
serverIdx: flags["server-index"]
|
|
85523
85553
|
});
|
|
@@ -86666,7 +86696,7 @@ var routes = ln({
|
|
|
86666
86696
|
var app = _e(routes, {
|
|
86667
86697
|
name: "mcp",
|
|
86668
86698
|
versionInfo: {
|
|
86669
|
-
currentVersion: "1.0.27
|
|
86699
|
+
currentVersion: "1.0.27"
|
|
86670
86700
|
}
|
|
86671
86701
|
});
|
|
86672
86702
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -86674,5 +86704,5 @@ export {
|
|
|
86674
86704
|
app
|
|
86675
86705
|
};
|
|
86676
86706
|
|
|
86677
|
-
//# debugId=
|
|
86707
|
+
//# debugId=E0B6C9D888EF5AEF64756E2164756E21
|
|
86678
86708
|
//# sourceMappingURL=mcp-server.js.map
|