syllable-sdk 1.0.2-rc.1 → 1.0.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/bin/mcp-server.js +173 -90
- package/bin/mcp-server.js.map +8 -6
- package/docs/sdks/pronunciations/README.md +70 -1
- 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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
- package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
- package/openapi.json +17 -0
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +4 -0
- package/sdk/pronunciations.d.ts.map +1 -1
- package/sdk/pronunciations.js +7 -0
- package/sdk/pronunciations.js.map +1 -1
- package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
- package/src/sdk/pronunciations.ts +13 -0
package/README.md
CHANGED
|
@@ -407,6 +407,7 @@ run();
|
|
|
407
407
|
* [pronunciationsGetMetadata](docs/sdks/pronunciations/README.md#pronunciationsgetmetadata) - Get Pronunciations Metadata
|
|
408
408
|
* [pronunciationsDownloadCsv](docs/sdks/pronunciations/README.md#pronunciationsdownloadcsv) - Download Pronunciations Csv
|
|
409
409
|
* [pronunciationsUploadCsv](docs/sdks/pronunciations/README.md#pronunciationsuploadcsv) - Upload Pronunciations Csv
|
|
410
|
+
* [pronunciationsDeleteCsv](docs/sdks/pronunciations/README.md#pronunciationsdeletecsv) - Delete Pronunciations Dictionary
|
|
410
411
|
|
|
411
412
|
### [roles](docs/sdks/roles/README.md)
|
|
412
413
|
|
|
@@ -605,6 +606,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
605
606
|
- [`promptsPromptGetSupportedLlms`](docs/sdks/prompts/README.md#promptgetsupportedllms) - Get Supported Llm Configs
|
|
606
607
|
- [`promptsPromptsHistory`](docs/sdks/prompts/README.md#promptshistory) - Get Prompt History
|
|
607
608
|
- [`promptsUpdate`](docs/sdks/prompts/README.md#update) - Update Prompt
|
|
609
|
+
- [`pronunciationsPronunciationsDeleteCsv`](docs/sdks/pronunciations/README.md#pronunciationsdeletecsv) - Delete Pronunciations Dictionary
|
|
608
610
|
- [`pronunciationsPronunciationsDownloadCsv`](docs/sdks/pronunciations/README.md#pronunciationsdownloadcsv) - Download Pronunciations Csv
|
|
609
611
|
- [`pronunciationsPronunciationsGet`](docs/sdks/pronunciations/README.md#pronunciationsget) - Get Pronunciations Dictionary
|
|
610
612
|
- [`pronunciationsPronunciationsGetMetadata`](docs/sdks/pronunciations/README.md#pronunciationsgetmetadata) - Get Pronunciations Metadata
|
package/bin/mcp-server.js
CHANGED
|
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
|
|
|
34414
34414
|
SDK_METADATA = {
|
|
34415
34415
|
language: "typescript",
|
|
34416
34416
|
openapiDocVersion: "0.0.2",
|
|
34417
|
-
sdkVersion: "1.0.2-rc.
|
|
34418
|
-
genVersion: "2.723.
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
34417
|
+
sdkVersion: "1.0.2-rc.2",
|
|
34418
|
+
genVersion: "2.723.8",
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.2 2.723.8 0.0.2 syllable-sdk"
|
|
34420
34420
|
};
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
@@ -58415,11 +58415,92 @@ Update an existing prompt`,
|
|
|
58415
58415
|
};
|
|
58416
58416
|
});
|
|
58417
58417
|
|
|
58418
|
-
// src/funcs/
|
|
58419
|
-
function
|
|
58418
|
+
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
58419
|
+
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
58420
58420
|
return new APIPromise($do103(client, options));
|
|
58421
58421
|
}
|
|
58422
58422
|
async function $do103(client, options) {
|
|
58423
|
+
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58424
|
+
const headers = new Headers(compactMap({
|
|
58425
|
+
Accept: "*/*"
|
|
58426
|
+
}));
|
|
58427
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
58428
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
58429
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58430
|
+
const context = {
|
|
58431
|
+
options: client._options,
|
|
58432
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
58433
|
+
operationID: "pronunciations_delete_csv",
|
|
58434
|
+
oAuth2Scopes: null,
|
|
58435
|
+
resolvedSecurity: requestSecurity,
|
|
58436
|
+
securitySource: client._options.apiKeyHeader,
|
|
58437
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
58438
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
58439
|
+
};
|
|
58440
|
+
const requestRes = client._createRequest(context, {
|
|
58441
|
+
security: requestSecurity,
|
|
58442
|
+
method: "DELETE",
|
|
58443
|
+
baseURL: options?.serverURL,
|
|
58444
|
+
path,
|
|
58445
|
+
headers,
|
|
58446
|
+
userAgent: client._options.userAgent,
|
|
58447
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
58448
|
+
}, options);
|
|
58449
|
+
if (!requestRes.ok) {
|
|
58450
|
+
return [requestRes, { status: "invalid" }];
|
|
58451
|
+
}
|
|
58452
|
+
const req = requestRes.value;
|
|
58453
|
+
const doResult = await client._do(req, {
|
|
58454
|
+
context,
|
|
58455
|
+
errorCodes: ["4XX", "5XX"],
|
|
58456
|
+
retryConfig: context.retryConfig,
|
|
58457
|
+
retryCodes: context.retryCodes
|
|
58458
|
+
});
|
|
58459
|
+
if (!doResult.ok) {
|
|
58460
|
+
return [doResult, { status: "request-error", request: req }];
|
|
58461
|
+
}
|
|
58462
|
+
const response = doResult.value;
|
|
58463
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
58464
|
+
if (!result.ok) {
|
|
58465
|
+
return [result, { status: "complete", request: req, response }];
|
|
58466
|
+
}
|
|
58467
|
+
return [result, { status: "complete", request: req, response }];
|
|
58468
|
+
}
|
|
58469
|
+
var init_pronunciationsPronunciationsDeleteCsv = __esm(() => {
|
|
58470
|
+
init_zod();
|
|
58471
|
+
init_matchers();
|
|
58472
|
+
init_primitives();
|
|
58473
|
+
init_security();
|
|
58474
|
+
init_url();
|
|
58475
|
+
init_async();
|
|
58476
|
+
});
|
|
58477
|
+
|
|
58478
|
+
// src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts
|
|
58479
|
+
var tool$pronunciationsPronunciationsDeleteCsv;
|
|
58480
|
+
var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
|
|
58481
|
+
init_pronunciationsPronunciationsDeleteCsv();
|
|
58482
|
+
init_tools();
|
|
58483
|
+
tool$pronunciationsPronunciationsDeleteCsv = {
|
|
58484
|
+
name: "pronunciations-pronunciations-delete-csv",
|
|
58485
|
+
description: `Delete Pronunciations Dictionary`,
|
|
58486
|
+
tool: async (client, ctx) => {
|
|
58487
|
+
const [result, apiCall] = await pronunciationsPronunciationsDeleteCsv(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58488
|
+
if (!result.ok) {
|
|
58489
|
+
return {
|
|
58490
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58491
|
+
isError: true
|
|
58492
|
+
};
|
|
58493
|
+
}
|
|
58494
|
+
return formatResult(undefined, apiCall);
|
|
58495
|
+
}
|
|
58496
|
+
};
|
|
58497
|
+
});
|
|
58498
|
+
|
|
58499
|
+
// src/funcs/pronunciationsPronunciationsDownloadCsv.ts
|
|
58500
|
+
function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
58501
|
+
return new APIPromise($do104(client, options));
|
|
58502
|
+
}
|
|
58503
|
+
async function $do104(client, options) {
|
|
58423
58504
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
58424
58505
|
const headers = new Headers(compactMap({
|
|
58425
58506
|
Accept: "*/*"
|
|
@@ -58498,9 +58579,9 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
58498
58579
|
|
|
58499
58580
|
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
58500
58581
|
function pronunciationsPronunciationsGet(client, options) {
|
|
58501
|
-
return new APIPromise($
|
|
58582
|
+
return new APIPromise($do105(client, options));
|
|
58502
58583
|
}
|
|
58503
|
-
async function $
|
|
58584
|
+
async function $do105(client, options) {
|
|
58504
58585
|
const path = pathToFunc("/api/v1/pronunciations")();
|
|
58505
58586
|
const headers = new Headers(compactMap({
|
|
58506
58587
|
Accept: "application/json"
|
|
@@ -58580,9 +58661,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
|
58580
58661
|
|
|
58581
58662
|
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
58582
58663
|
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
58583
|
-
return new APIPromise($
|
|
58664
|
+
return new APIPromise($do106(client, options));
|
|
58584
58665
|
}
|
|
58585
|
-
async function $
|
|
58666
|
+
async function $do106(client, options) {
|
|
58586
58667
|
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
58587
58668
|
const headers = new Headers(compactMap({
|
|
58588
58669
|
Accept: "application/json"
|
|
@@ -58662,9 +58743,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
|
58662
58743
|
|
|
58663
58744
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
58664
58745
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
58665
|
-
return new APIPromise($
|
|
58746
|
+
return new APIPromise($do107(client, request, options));
|
|
58666
58747
|
}
|
|
58667
|
-
async function $
|
|
58748
|
+
async function $do107(client, request, options) {
|
|
58668
58749
|
const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
58669
58750
|
if (!parsed.ok) {
|
|
58670
58751
|
return [parsed, { status: "invalid" }];
|
|
@@ -58774,9 +58855,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
58774
58855
|
|
|
58775
58856
|
// src/funcs/rolesCreate.ts
|
|
58776
58857
|
function rolesCreate(client, request, options) {
|
|
58777
|
-
return new APIPromise($
|
|
58858
|
+
return new APIPromise($do108(client, request, options));
|
|
58778
58859
|
}
|
|
58779
|
-
async function $
|
|
58860
|
+
async function $do108(client, request, options) {
|
|
58780
58861
|
const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58781
58862
|
if (!parsed.ok) {
|
|
58782
58863
|
return [parsed, { status: "invalid" }];
|
|
@@ -58877,9 +58958,9 @@ Create a new role.`,
|
|
|
58877
58958
|
|
|
58878
58959
|
// src/funcs/rolesDelete.ts
|
|
58879
58960
|
function rolesDelete(client, request, options) {
|
|
58880
|
-
return new APIPromise($
|
|
58961
|
+
return new APIPromise($do109(client, request, options));
|
|
58881
58962
|
}
|
|
58882
|
-
async function $
|
|
58963
|
+
async function $do109(client, request, options) {
|
|
58883
58964
|
const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58884
58965
|
if (!parsed.ok) {
|
|
58885
58966
|
return [parsed, { status: "invalid" }];
|
|
@@ -58991,9 +59072,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
58991
59072
|
|
|
58992
59073
|
// src/funcs/rolesGetById.ts
|
|
58993
59074
|
function rolesGetById(client, request, options) {
|
|
58994
|
-
return new APIPromise($
|
|
59075
|
+
return new APIPromise($do110(client, request, options));
|
|
58995
59076
|
}
|
|
58996
|
-
async function $
|
|
59077
|
+
async function $do110(client, request, options) {
|
|
58997
59078
|
const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58998
59079
|
if (!parsed.ok) {
|
|
58999
59080
|
return [parsed, { status: "invalid" }];
|
|
@@ -59100,9 +59181,9 @@ Fetch a given role.`,
|
|
|
59100
59181
|
|
|
59101
59182
|
// src/funcs/rolesList.ts
|
|
59102
59183
|
function rolesList(client, request, options) {
|
|
59103
|
-
return new APIPromise($
|
|
59184
|
+
return new APIPromise($do111(client, request, options));
|
|
59104
59185
|
}
|
|
59105
|
-
async function $
|
|
59186
|
+
async function $do111(client, request, options) {
|
|
59106
59187
|
const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59107
59188
|
if (!parsed.ok) {
|
|
59108
59189
|
return [parsed, { status: "invalid" }];
|
|
@@ -59215,9 +59296,9 @@ List the existing roles.`,
|
|
|
59215
59296
|
|
|
59216
59297
|
// src/funcs/rolesUpdate.ts
|
|
59217
59298
|
function rolesUpdate(client, request, options) {
|
|
59218
|
-
return new APIPromise($
|
|
59299
|
+
return new APIPromise($do112(client, request, options));
|
|
59219
59300
|
}
|
|
59220
|
-
async function $
|
|
59301
|
+
async function $do112(client, request, options) {
|
|
59221
59302
|
const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59222
59303
|
if (!parsed.ok) {
|
|
59223
59304
|
return [parsed, { status: "invalid" }];
|
|
@@ -59318,9 +59399,9 @@ Update an existing role.`,
|
|
|
59318
59399
|
|
|
59319
59400
|
// src/funcs/servicesCreate.ts
|
|
59320
59401
|
function servicesCreate(client, request, options) {
|
|
59321
|
-
return new APIPromise($
|
|
59402
|
+
return new APIPromise($do113(client, request, options));
|
|
59322
59403
|
}
|
|
59323
|
-
async function $
|
|
59404
|
+
async function $do113(client, request, options) {
|
|
59324
59405
|
const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59325
59406
|
if (!parsed.ok) {
|
|
59326
59407
|
return [parsed, { status: "invalid" }];
|
|
@@ -59421,9 +59502,9 @@ Create a new service.`,
|
|
|
59421
59502
|
|
|
59422
59503
|
// src/funcs/servicesDelete.ts
|
|
59423
59504
|
function servicesDelete(client, request, options) {
|
|
59424
|
-
return new APIPromise($
|
|
59505
|
+
return new APIPromise($do114(client, request, options));
|
|
59425
59506
|
}
|
|
59426
|
-
async function $
|
|
59507
|
+
async function $do114(client, request, options) {
|
|
59427
59508
|
const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59428
59509
|
if (!parsed.ok) {
|
|
59429
59510
|
return [parsed, { status: "invalid" }];
|
|
@@ -59534,9 +59615,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
59534
59615
|
|
|
59535
59616
|
// src/funcs/servicesGetById.ts
|
|
59536
59617
|
function servicesGetById(client, request, options) {
|
|
59537
|
-
return new APIPromise($
|
|
59618
|
+
return new APIPromise($do115(client, request, options));
|
|
59538
59619
|
}
|
|
59539
|
-
async function $
|
|
59620
|
+
async function $do115(client, request, options) {
|
|
59540
59621
|
const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59541
59622
|
if (!parsed.ok) {
|
|
59542
59623
|
return [parsed, { status: "invalid" }];
|
|
@@ -59643,9 +59724,9 @@ Get a service by its ID`,
|
|
|
59643
59724
|
|
|
59644
59725
|
// src/funcs/servicesList.ts
|
|
59645
59726
|
function servicesList(client, request, options) {
|
|
59646
|
-
return new APIPromise($
|
|
59727
|
+
return new APIPromise($do116(client, request, options));
|
|
59647
59728
|
}
|
|
59648
|
-
async function $
|
|
59729
|
+
async function $do116(client, request, options) {
|
|
59649
59730
|
const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59650
59731
|
if (!parsed.ok) {
|
|
59651
59732
|
return [parsed, { status: "invalid" }];
|
|
@@ -59758,9 +59839,9 @@ List the existing services`,
|
|
|
59758
59839
|
|
|
59759
59840
|
// src/funcs/servicesUpdate.ts
|
|
59760
59841
|
function servicesUpdate(client, request, options) {
|
|
59761
|
-
return new APIPromise($
|
|
59842
|
+
return new APIPromise($do117(client, request, options));
|
|
59762
59843
|
}
|
|
59763
|
-
async function $
|
|
59844
|
+
async function $do117(client, request, options) {
|
|
59764
59845
|
const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59765
59846
|
if (!parsed.ok) {
|
|
59766
59847
|
return [parsed, { status: "invalid" }];
|
|
@@ -59861,9 +59942,9 @@ Update an existing service.`,
|
|
|
59861
59942
|
|
|
59862
59943
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
59863
59944
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
59864
|
-
return new APIPromise($
|
|
59945
|
+
return new APIPromise($do118(client, request, options));
|
|
59865
59946
|
}
|
|
59866
|
-
async function $
|
|
59947
|
+
async function $do118(client, request, options) {
|
|
59867
59948
|
const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59868
59949
|
if (!parsed.ok) {
|
|
59869
59950
|
return [parsed, { status: "invalid" }];
|
|
@@ -59968,9 +60049,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
59968
60049
|
|
|
59969
60050
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
59970
60051
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
59971
|
-
return new APIPromise($
|
|
60052
|
+
return new APIPromise($do119(client, request, options));
|
|
59972
60053
|
}
|
|
59973
|
-
async function $
|
|
60054
|
+
async function $do119(client, request, options) {
|
|
59974
60055
|
const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59975
60056
|
if (!parsed.ok) {
|
|
59976
60057
|
return [parsed, { status: "invalid" }];
|
|
@@ -60073,9 +60154,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
60073
60154
|
|
|
60074
60155
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
60075
60156
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
60076
|
-
return new APIPromise($
|
|
60157
|
+
return new APIPromise($do120(client, request, options));
|
|
60077
60158
|
}
|
|
60078
|
-
async function $
|
|
60159
|
+
async function $do120(client, request, options) {
|
|
60079
60160
|
const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60080
60161
|
if (!parsed.ok) {
|
|
60081
60162
|
return [parsed, { status: "invalid" }];
|
|
@@ -60184,9 +60265,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
60184
60265
|
|
|
60185
60266
|
// src/funcs/sessionLabelsCreate.ts
|
|
60186
60267
|
function sessionLabelsCreate(client, request, options) {
|
|
60187
|
-
return new APIPromise($
|
|
60268
|
+
return new APIPromise($do121(client, request, options));
|
|
60188
60269
|
}
|
|
60189
|
-
async function $
|
|
60270
|
+
async function $do121(client, request, options) {
|
|
60190
60271
|
const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
60191
60272
|
if (!parsed.ok) {
|
|
60192
60273
|
return [parsed, { status: "invalid" }];
|
|
@@ -60287,9 +60368,9 @@ Create a new label`,
|
|
|
60287
60368
|
|
|
60288
60369
|
// src/funcs/sessionLabelsGetById.ts
|
|
60289
60370
|
function sessionLabelsGetById(client, request, options) {
|
|
60290
|
-
return new APIPromise($
|
|
60371
|
+
return new APIPromise($do122(client, request, options));
|
|
60291
60372
|
}
|
|
60292
|
-
async function $
|
|
60373
|
+
async function $do122(client, request, options) {
|
|
60293
60374
|
const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60294
60375
|
if (!parsed.ok) {
|
|
60295
60376
|
return [parsed, { status: "invalid" }];
|
|
@@ -60391,9 +60472,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
60391
60472
|
|
|
60392
60473
|
// src/funcs/sessionLabelsList.ts
|
|
60393
60474
|
function sessionLabelsList(client, request, options) {
|
|
60394
|
-
return new APIPromise($
|
|
60475
|
+
return new APIPromise($do123(client, request, options));
|
|
60395
60476
|
}
|
|
60396
|
-
async function $
|
|
60477
|
+
async function $do123(client, request, options) {
|
|
60397
60478
|
const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60398
60479
|
if (!parsed.ok) {
|
|
60399
60480
|
return [parsed, { status: "invalid" }];
|
|
@@ -60504,9 +60585,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
60504
60585
|
|
|
60505
60586
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
60506
60587
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
60507
|
-
return new APIPromise($
|
|
60588
|
+
return new APIPromise($do124(client, request, options));
|
|
60508
60589
|
}
|
|
60509
|
-
async function $
|
|
60590
|
+
async function $do124(client, request, options) {
|
|
60510
60591
|
const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60511
60592
|
if (!parsed.ok) {
|
|
60512
60593
|
return [parsed, { status: "invalid" }];
|
|
@@ -60611,9 +60692,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
60611
60692
|
|
|
60612
60693
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
60613
60694
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
60614
|
-
return new APIPromise($
|
|
60695
|
+
return new APIPromise($do125(client, request, options));
|
|
60615
60696
|
}
|
|
60616
|
-
async function $
|
|
60697
|
+
async function $do125(client, request, options) {
|
|
60617
60698
|
const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60618
60699
|
if (!parsed.ok) {
|
|
60619
60700
|
return [parsed, { status: "invalid" }];
|
|
@@ -60718,9 +60799,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
60718
60799
|
|
|
60719
60800
|
// src/funcs/sessionsGetById.ts
|
|
60720
60801
|
function sessionsGetById(client, request, options) {
|
|
60721
|
-
return new APIPromise($
|
|
60802
|
+
return new APIPromise($do126(client, request, options));
|
|
60722
60803
|
}
|
|
60723
|
-
async function $
|
|
60804
|
+
async function $do126(client, request, options) {
|
|
60724
60805
|
const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60725
60806
|
if (!parsed.ok) {
|
|
60726
60807
|
return [parsed, { status: "invalid" }];
|
|
@@ -60825,9 +60906,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
60825
60906
|
|
|
60826
60907
|
// src/funcs/sessionsLatencyGetById.ts
|
|
60827
60908
|
function sessionsLatencyGetById(client, request, options) {
|
|
60828
|
-
return new APIPromise($
|
|
60909
|
+
return new APIPromise($do127(client, request, options));
|
|
60829
60910
|
}
|
|
60830
|
-
async function $
|
|
60911
|
+
async function $do127(client, request, options) {
|
|
60831
60912
|
const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60832
60913
|
if (!parsed.ok) {
|
|
60833
60914
|
return [parsed, { status: "invalid" }];
|
|
@@ -60932,9 +61013,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
60932
61013
|
|
|
60933
61014
|
// src/funcs/sessionsList.ts
|
|
60934
61015
|
function sessionsList(client, request, options) {
|
|
60935
|
-
return new APIPromise($
|
|
61016
|
+
return new APIPromise($do128(client, request, options));
|
|
60936
61017
|
}
|
|
60937
|
-
async function $
|
|
61018
|
+
async function $do128(client, request, options) {
|
|
60938
61019
|
const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60939
61020
|
if (!parsed.ok) {
|
|
60940
61021
|
return [parsed, { status: "invalid" }];
|
|
@@ -61045,9 +61126,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
61045
61126
|
|
|
61046
61127
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
61047
61128
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
61048
|
-
return new APIPromise($
|
|
61129
|
+
return new APIPromise($do129(client, request, options));
|
|
61049
61130
|
}
|
|
61050
|
-
async function $
|
|
61131
|
+
async function $do129(client, request, options) {
|
|
61051
61132
|
const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61052
61133
|
if (!parsed.ok) {
|
|
61053
61134
|
return [parsed, { status: "invalid" }];
|
|
@@ -61150,9 +61231,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
61150
61231
|
|
|
61151
61232
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
61152
61233
|
function sessionsTranscriptGetById(client, request, options) {
|
|
61153
|
-
return new APIPromise($
|
|
61234
|
+
return new APIPromise($do130(client, request, options));
|
|
61154
61235
|
}
|
|
61155
|
-
async function $
|
|
61236
|
+
async function $do130(client, request, options) {
|
|
61156
61237
|
const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61157
61238
|
if (!parsed.ok) {
|
|
61158
61239
|
return [parsed, { status: "invalid" }];
|
|
@@ -61257,9 +61338,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
61257
61338
|
|
|
61258
61339
|
// src/funcs/takeoutsCreate.ts
|
|
61259
61340
|
function takeoutsCreate(client, options) {
|
|
61260
|
-
return new APIPromise($
|
|
61341
|
+
return new APIPromise($do131(client, options));
|
|
61261
61342
|
}
|
|
61262
|
-
async function $
|
|
61343
|
+
async function $do131(client, options) {
|
|
61263
61344
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
61264
61345
|
const headers = new Headers(compactMap({
|
|
61265
61346
|
Accept: "application/json"
|
|
@@ -61339,9 +61420,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
61339
61420
|
|
|
61340
61421
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
61341
61422
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
61342
|
-
return new APIPromise($
|
|
61423
|
+
return new APIPromise($do132(client, request, options));
|
|
61343
61424
|
}
|
|
61344
|
-
async function $
|
|
61425
|
+
async function $do132(client, request, options) {
|
|
61345
61426
|
const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61346
61427
|
if (!parsed.ok) {
|
|
61347
61428
|
return [parsed, { status: "invalid" }];
|
|
@@ -61446,9 +61527,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
61446
61527
|
|
|
61447
61528
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
61448
61529
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
61449
|
-
return new APIPromise($
|
|
61530
|
+
return new APIPromise($do133(client, request, options));
|
|
61450
61531
|
}
|
|
61451
|
-
async function $
|
|
61532
|
+
async function $do133(client, request, options) {
|
|
61452
61533
|
const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61453
61534
|
if (!parsed.ok) {
|
|
61454
61535
|
return [parsed, { status: "invalid" }];
|
|
@@ -61559,9 +61640,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
61559
61640
|
|
|
61560
61641
|
// src/funcs/toolsCreate.ts
|
|
61561
61642
|
function toolsCreate(client, request, options) {
|
|
61562
|
-
return new APIPromise($
|
|
61643
|
+
return new APIPromise($do134(client, request, options));
|
|
61563
61644
|
}
|
|
61564
|
-
async function $
|
|
61645
|
+
async function $do134(client, request, options) {
|
|
61565
61646
|
const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61566
61647
|
if (!parsed.ok) {
|
|
61567
61648
|
return [parsed, { status: "invalid" }];
|
|
@@ -61662,9 +61743,9 @@ Create a new tool`,
|
|
|
61662
61743
|
|
|
61663
61744
|
// src/funcs/toolsDelete.ts
|
|
61664
61745
|
function toolsDelete(client, request, options) {
|
|
61665
|
-
return new APIPromise($
|
|
61746
|
+
return new APIPromise($do135(client, request, options));
|
|
61666
61747
|
}
|
|
61667
|
-
async function $
|
|
61748
|
+
async function $do135(client, request, options) {
|
|
61668
61749
|
const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61669
61750
|
if (!parsed.ok) {
|
|
61670
61751
|
return [parsed, { status: "invalid" }];
|
|
@@ -61775,9 +61856,9 @@ Delete a tool.`,
|
|
|
61775
61856
|
|
|
61776
61857
|
// src/funcs/toolsGetByName.ts
|
|
61777
61858
|
function toolsGetByName(client, request, options) {
|
|
61778
|
-
return new APIPromise($
|
|
61859
|
+
return new APIPromise($do136(client, request, options));
|
|
61779
61860
|
}
|
|
61780
|
-
async function $
|
|
61861
|
+
async function $do136(client, request, options) {
|
|
61781
61862
|
const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61782
61863
|
if (!parsed.ok) {
|
|
61783
61864
|
return [parsed, { status: "invalid" }];
|
|
@@ -61884,9 +61965,9 @@ Get the details of a specific tool`,
|
|
|
61884
61965
|
|
|
61885
61966
|
// src/funcs/toolsList.ts
|
|
61886
61967
|
function toolsList(client, request, options) {
|
|
61887
|
-
return new APIPromise($
|
|
61968
|
+
return new APIPromise($do137(client, request, options));
|
|
61888
61969
|
}
|
|
61889
|
-
async function $
|
|
61970
|
+
async function $do137(client, request, options) {
|
|
61890
61971
|
const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61891
61972
|
if (!parsed.ok) {
|
|
61892
61973
|
return [parsed, { status: "invalid" }];
|
|
@@ -61999,9 +62080,9 @@ List the existing tools`,
|
|
|
61999
62080
|
|
|
62000
62081
|
// src/funcs/toolsUpdate.ts
|
|
62001
62082
|
function toolsUpdate(client, request, options) {
|
|
62002
|
-
return new APIPromise($
|
|
62083
|
+
return new APIPromise($do138(client, request, options));
|
|
62003
62084
|
}
|
|
62004
|
-
async function $
|
|
62085
|
+
async function $do138(client, request, options) {
|
|
62005
62086
|
const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62006
62087
|
if (!parsed.ok) {
|
|
62007
62088
|
return [parsed, { status: "invalid" }];
|
|
@@ -62102,9 +62183,9 @@ Update an existing tool`,
|
|
|
62102
62183
|
|
|
62103
62184
|
// src/funcs/usersCreate.ts
|
|
62104
62185
|
function usersCreate(client, request, options) {
|
|
62105
|
-
return new APIPromise($
|
|
62186
|
+
return new APIPromise($do139(client, request, options));
|
|
62106
62187
|
}
|
|
62107
|
-
async function $
|
|
62188
|
+
async function $do139(client, request, options) {
|
|
62108
62189
|
const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62109
62190
|
if (!parsed.ok) {
|
|
62110
62191
|
return [parsed, { status: "invalid" }];
|
|
@@ -62205,9 +62286,9 @@ Create a new user.`,
|
|
|
62205
62286
|
|
|
62206
62287
|
// src/funcs/usersDelete.ts
|
|
62207
62288
|
function usersDelete(client, request, options) {
|
|
62208
|
-
return new APIPromise($
|
|
62289
|
+
return new APIPromise($do140(client, request, options));
|
|
62209
62290
|
}
|
|
62210
|
-
async function $
|
|
62291
|
+
async function $do140(client, request, options) {
|
|
62211
62292
|
const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62212
62293
|
if (!parsed.ok) {
|
|
62213
62294
|
return [parsed, { status: "invalid" }];
|
|
@@ -62309,9 +62390,9 @@ Delete a user.`,
|
|
|
62309
62390
|
|
|
62310
62391
|
// src/funcs/usersList.ts
|
|
62311
62392
|
function usersList(client, request, options) {
|
|
62312
|
-
return new APIPromise($
|
|
62393
|
+
return new APIPromise($do141(client, request, options));
|
|
62313
62394
|
}
|
|
62314
|
-
async function $
|
|
62395
|
+
async function $do141(client, request, options) {
|
|
62315
62396
|
const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62316
62397
|
if (!parsed.ok) {
|
|
62317
62398
|
return [parsed, { status: "invalid" }];
|
|
@@ -62424,9 +62505,9 @@ List the existing users.`,
|
|
|
62424
62505
|
|
|
62425
62506
|
// src/funcs/usersUpdate.ts
|
|
62426
62507
|
function usersUpdate(client, request, options) {
|
|
62427
|
-
return new APIPromise($
|
|
62508
|
+
return new APIPromise($do142(client, request, options));
|
|
62428
62509
|
}
|
|
62429
|
-
async function $
|
|
62510
|
+
async function $do142(client, request, options) {
|
|
62430
62511
|
const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62431
62512
|
if (!parsed.ok) {
|
|
62432
62513
|
return [parsed, { status: "invalid" }];
|
|
@@ -62527,9 +62608,9 @@ Update an existing user.`,
|
|
|
62527
62608
|
|
|
62528
62609
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
62529
62610
|
function usersUsersDeleteAccount(client, options) {
|
|
62530
|
-
return new APIPromise($
|
|
62611
|
+
return new APIPromise($do143(client, options));
|
|
62531
62612
|
}
|
|
62532
|
-
async function $
|
|
62613
|
+
async function $do143(client, options) {
|
|
62533
62614
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
62534
62615
|
const headers = new Headers(compactMap({
|
|
62535
62616
|
Accept: "application/json"
|
|
@@ -62612,9 +62693,9 @@ accounts.`,
|
|
|
62612
62693
|
|
|
62613
62694
|
// src/funcs/usersUsersGetByEmail.ts
|
|
62614
62695
|
function usersUsersGetByEmail(client, request, options) {
|
|
62615
|
-
return new APIPromise($
|
|
62696
|
+
return new APIPromise($do144(client, request, options));
|
|
62616
62697
|
}
|
|
62617
|
-
async function $
|
|
62698
|
+
async function $do144(client, request, options) {
|
|
62618
62699
|
const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62619
62700
|
if (!parsed.ok) {
|
|
62620
62701
|
return [parsed, { status: "invalid" }];
|
|
@@ -62721,9 +62802,9 @@ Fetch a given user.`,
|
|
|
62721
62802
|
|
|
62722
62803
|
// src/funcs/usersUsersSendEmail.ts
|
|
62723
62804
|
function usersUsersSendEmail(client, request, options) {
|
|
62724
|
-
return new APIPromise($
|
|
62805
|
+
return new APIPromise($do145(client, request, options));
|
|
62725
62806
|
}
|
|
62726
|
-
async function $
|
|
62807
|
+
async function $do145(client, request, options) {
|
|
62727
62808
|
const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62728
62809
|
if (!parsed.ok) {
|
|
62729
62810
|
return [parsed, { status: "invalid" }];
|
|
@@ -62836,7 +62917,7 @@ Send a welcome email to a user.`,
|
|
|
62836
62917
|
function createMCPServer(deps) {
|
|
62837
62918
|
const server = new McpServer({
|
|
62838
62919
|
name: "SyllableSDK",
|
|
62839
|
-
version: "1.0.2-rc.
|
|
62920
|
+
version: "1.0.2-rc.2"
|
|
62840
62921
|
});
|
|
62841
62922
|
const client = new SyllableSDKCore({
|
|
62842
62923
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -62891,6 +62972,7 @@ function createMCPServer(deps) {
|
|
|
62891
62972
|
tool(tool$pronunciationsPronunciationsGetMetadata);
|
|
62892
62973
|
tool(tool$pronunciationsPronunciationsDownloadCsv);
|
|
62893
62974
|
tool(tool$pronunciationsPronunciationsUploadCsv);
|
|
62975
|
+
tool(tool$pronunciationsPronunciationsDeleteCsv);
|
|
62894
62976
|
tool(tool$rolesList);
|
|
62895
62977
|
tool(tool$rolesCreate);
|
|
62896
62978
|
tool(tool$rolesUpdate);
|
|
@@ -63103,6 +63185,7 @@ var init_server2 = __esm(() => {
|
|
|
63103
63185
|
init_promptsPromptGetSupportedLlms2();
|
|
63104
63186
|
init_promptsPromptsHistory2();
|
|
63105
63187
|
init_promptsUpdate2();
|
|
63188
|
+
init_pronunciationsPronunciationsDeleteCsv2();
|
|
63106
63189
|
init_pronunciationsPronunciationsDownloadCsv2();
|
|
63107
63190
|
init_pronunciationsPronunciationsGet2();
|
|
63108
63191
|
init_pronunciationsPronunciationsGetMetadata2();
|
|
@@ -64340,7 +64423,7 @@ var routes = ln({
|
|
|
64340
64423
|
var app = _e(routes, {
|
|
64341
64424
|
name: "mcp",
|
|
64342
64425
|
versionInfo: {
|
|
64343
|
-
currentVersion: "1.0.2-rc.
|
|
64426
|
+
currentVersion: "1.0.2-rc.2"
|
|
64344
64427
|
}
|
|
64345
64428
|
});
|
|
64346
64429
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64348,5 +64431,5 @@ export {
|
|
|
64348
64431
|
app
|
|
64349
64432
|
};
|
|
64350
64433
|
|
|
64351
|
-
//# debugId=
|
|
64434
|
+
//# debugId=EE07EAB14F82CD9664756E2164756E21
|
|
64352
64435
|
//# sourceMappingURL=mcp-server.js.map
|