syllable-sdk 1.0.7-rc.4 → 1.0.7-rc.6
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 +924 -756
- package/bin/mcp-server.js.map +13 -9
- package/docs/sdks/directory/README.md +77 -0
- package/examples/package-lock.json +1 -1
- package/funcs/directoryDirectoryMemberTestExtension.d.ts +19 -0
- package/funcs/directoryDirectoryMemberTestExtension.d.ts.map +1 -0
- package/funcs/directoryDirectoryMemberTestExtension.js +129 -0
- package/funcs/directoryDirectoryMemberTestExtension.js.map +1 -0
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/directoryDirectoryMemberTestExtension.d.ts +8 -0
- package/mcp-server/tools/directoryDirectoryMemberTestExtension.d.ts.map +1 -0
- package/mcp-server/tools/directoryDirectoryMemberTestExtension.js +64 -0
- package/mcp-server/tools/directoryDirectoryMemberTestExtension.js.map +1 -0
- package/models/components/directorymembertestresponse.d.ts +32 -0
- package/models/components/directorymembertestresponse.d.ts.map +1 -0
- package/models/components/directorymembertestresponse.js +69 -0
- package/models/components/directorymembertestresponse.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/toolhttpmethod.d.ts +6 -0
- package/models/components/toolhttpmethod.d.ts.map +1 -1
- package/models/components/toolhttpmethod.js +2 -0
- package/models/components/toolhttpmethod.js.map +1 -1
- package/models/operations/directorymembertestextension.d.ts +40 -0
- package/models/operations/directorymembertestextension.d.ts.map +1 -0
- package/models/operations/directorymembertestextension.js +85 -0
- package/models/operations/directorymembertestextension.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/openapi.json +99 -1
- package/package.json +1 -1
- package/sdk/directory.d.ts +7 -0
- package/sdk/directory.d.ts.map +1 -1
- package/sdk/directory.js +10 -0
- package/sdk/directory.js.map +1 -1
- package/src/funcs/directoryDirectoryMemberTestExtension.ts +187 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/directoryDirectoryMemberTestExtension.ts +39 -0
- package/src/models/components/directorymembertestresponse.ts +71 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/toolhttpmethod.ts +2 -0
- package/src/models/operations/directorymembertestextension.ts +97 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/directory.ts +18 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34419,9 +34419,9 @@ var init_config = __esm(() => {
|
|
|
34419
34419
|
SDK_METADATA = {
|
|
34420
34420
|
language: "typescript",
|
|
34421
34421
|
openapiDocVersion: "0.0.2",
|
|
34422
|
-
sdkVersion: "1.0.7-rc.
|
|
34422
|
+
sdkVersion: "1.0.7-rc.6",
|
|
34423
34423
|
genVersion: "2.731.4",
|
|
34424
|
-
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.
|
|
34424
|
+
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.6 2.731.4 0.0.2 syllable-sdk"
|
|
34425
34425
|
};
|
|
34426
34426
|
});
|
|
34427
34427
|
|
|
@@ -36841,7 +36841,9 @@ var init_toolhttpmethod = __esm(() => {
|
|
|
36841
36841
|
init_v3();
|
|
36842
36842
|
ToolHttpMethod = {
|
|
36843
36843
|
Get: "get",
|
|
36844
|
-
Post: "post"
|
|
36844
|
+
Post: "post",
|
|
36845
|
+
Put: "put",
|
|
36846
|
+
Delete: "delete"
|
|
36845
36847
|
};
|
|
36846
36848
|
ToolHttpMethod$inboundSchema = nativeEnumType(ToolHttpMethod);
|
|
36847
36849
|
ToolHttpMethod$outboundSchema = ToolHttpMethod$inboundSchema;
|
|
@@ -39416,6 +39418,22 @@ var init_directorymemberproperties = __esm(() => {
|
|
|
39416
39418
|
})(DirectoryMemberProperties$ ||= {});
|
|
39417
39419
|
});
|
|
39418
39420
|
|
|
39421
|
+
// src/models/components/directorymembertestresponse.ts
|
|
39422
|
+
var DirectoryMemberTestResponse$inboundSchema, DirectoryMemberTestResponse$outboundSchema, DirectoryMemberTestResponse$;
|
|
39423
|
+
var init_directorymembertestresponse = __esm(() => {
|
|
39424
|
+
init_v3();
|
|
39425
|
+
DirectoryMemberTestResponse$inboundSchema = objectType({
|
|
39426
|
+
extension: nullableType(stringType()).optional()
|
|
39427
|
+
});
|
|
39428
|
+
DirectoryMemberTestResponse$outboundSchema = objectType({
|
|
39429
|
+
extension: nullableType(stringType()).optional()
|
|
39430
|
+
});
|
|
39431
|
+
((DirectoryMemberTestResponse$) => {
|
|
39432
|
+
DirectoryMemberTestResponse$.inboundSchema = DirectoryMemberTestResponse$inboundSchema;
|
|
39433
|
+
DirectoryMemberTestResponse$.outboundSchema = DirectoryMemberTestResponse$outboundSchema;
|
|
39434
|
+
})(DirectoryMemberTestResponse$ ||= {});
|
|
39435
|
+
});
|
|
39436
|
+
|
|
39419
39437
|
// src/models/components/event.ts
|
|
39420
39438
|
var Attributes$inboundSchema, Attributes$outboundSchema, Attributes$, Event$inboundSchema, Event$outboundSchema, Event$;
|
|
39421
39439
|
var init_event = __esm(() => {
|
|
@@ -44534,6 +44552,7 @@ var init_components = __esm(() => {
|
|
|
44534
44552
|
init_directorymember();
|
|
44535
44553
|
init_directorymembercreate();
|
|
44536
44554
|
init_directorymemberproperties();
|
|
44555
|
+
init_directorymembertestresponse();
|
|
44537
44556
|
init_event();
|
|
44538
44557
|
init_eventproperties();
|
|
44539
44558
|
init_folderdetails();
|
|
@@ -45817,6 +45836,38 @@ var init_directorymemberlist = __esm(() => {
|
|
|
45817
45836
|
})(DirectoryMemberListRequest$ ||= {});
|
|
45818
45837
|
});
|
|
45819
45838
|
|
|
45839
|
+
// src/models/operations/directorymembertestextension.ts
|
|
45840
|
+
var DirectoryMemberTestExtensionRequest$inboundSchema, DirectoryMemberTestExtensionRequest$outboundSchema, DirectoryMemberTestExtensionRequest$;
|
|
45841
|
+
var init_directorymembertestextension = __esm(() => {
|
|
45842
|
+
init_v3();
|
|
45843
|
+
init_primitives();
|
|
45844
|
+
init_components();
|
|
45845
|
+
DirectoryMemberTestExtensionRequest$inboundSchema = objectType({
|
|
45846
|
+
member_id: numberType().int(),
|
|
45847
|
+
timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
45848
|
+
language_code: nullableType(LanguageCode$inboundSchema).optional()
|
|
45849
|
+
}).transform((v2) => {
|
|
45850
|
+
return remap(v2, {
|
|
45851
|
+
member_id: "memberId",
|
|
45852
|
+
language_code: "languageCode"
|
|
45853
|
+
});
|
|
45854
|
+
});
|
|
45855
|
+
DirectoryMemberTestExtensionRequest$outboundSchema = objectType({
|
|
45856
|
+
memberId: numberType().int(),
|
|
45857
|
+
timestamp: dateType().transform((v2) => v2.toISOString()),
|
|
45858
|
+
languageCode: nullableType(LanguageCode$outboundSchema).optional()
|
|
45859
|
+
}).transform((v2) => {
|
|
45860
|
+
return remap(v2, {
|
|
45861
|
+
memberId: "member_id",
|
|
45862
|
+
languageCode: "language_code"
|
|
45863
|
+
});
|
|
45864
|
+
});
|
|
45865
|
+
((DirectoryMemberTestExtensionRequest$) => {
|
|
45866
|
+
DirectoryMemberTestExtensionRequest$.inboundSchema = DirectoryMemberTestExtensionRequest$inboundSchema;
|
|
45867
|
+
DirectoryMemberTestExtensionRequest$.outboundSchema = DirectoryMemberTestExtensionRequest$outboundSchema;
|
|
45868
|
+
})(DirectoryMemberTestExtensionRequest$ ||= {});
|
|
45869
|
+
});
|
|
45870
|
+
|
|
45820
45871
|
// src/models/operations/directorymemberupdate.ts
|
|
45821
45872
|
var DirectoryMemberUpdateRequest$inboundSchema, DirectoryMemberUpdateRequest$outboundSchema, DirectoryMemberUpdateRequest$;
|
|
45822
45873
|
var init_directorymemberupdate = __esm(() => {
|
|
@@ -48337,6 +48388,7 @@ var init_operations = __esm(() => {
|
|
|
48337
48388
|
init_directorymemberdelete();
|
|
48338
48389
|
init_directorymembergetbyid();
|
|
48339
48390
|
init_directorymemberlist();
|
|
48391
|
+
init_directorymembertestextension();
|
|
48340
48392
|
init_directorymemberupdate();
|
|
48341
48393
|
init_eventslist();
|
|
48342
48394
|
init_generatesessionrecordingurls();
|
|
@@ -52842,11 +52894,125 @@ Download the entire directory as a JSON file.`,
|
|
|
52842
52894
|
};
|
|
52843
52895
|
});
|
|
52844
52896
|
|
|
52845
|
-
// src/funcs/
|
|
52846
|
-
function
|
|
52897
|
+
// src/funcs/directoryDirectoryMemberTestExtension.ts
|
|
52898
|
+
function directoryDirectoryMemberTestExtension(client, request, options) {
|
|
52847
52899
|
return new APIPromise($do44(client, request, options));
|
|
52848
52900
|
}
|
|
52849
52901
|
async function $do44(client, request, options) {
|
|
52902
|
+
const parsed = safeParse(request, (value) => DirectoryMemberTestExtensionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52903
|
+
if (!parsed.ok) {
|
|
52904
|
+
return [parsed, { status: "invalid" }];
|
|
52905
|
+
}
|
|
52906
|
+
const payload = parsed.value;
|
|
52907
|
+
const body = null;
|
|
52908
|
+
const pathParams = {
|
|
52909
|
+
member_id: encodeSimple("member_id", payload.member_id, {
|
|
52910
|
+
explode: false,
|
|
52911
|
+
charEncoding: "percent"
|
|
52912
|
+
})
|
|
52913
|
+
};
|
|
52914
|
+
const path = pathToFunc("/api/v1/directory_members/{member_id}/test")(pathParams);
|
|
52915
|
+
const query = encodeFormQuery({
|
|
52916
|
+
language_code: payload.language_code,
|
|
52917
|
+
timestamp: payload.timestamp
|
|
52918
|
+
});
|
|
52919
|
+
const headers = new Headers(compactMap({
|
|
52920
|
+
Accept: "application/json"
|
|
52921
|
+
}));
|
|
52922
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
52923
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
52924
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
52925
|
+
const context = {
|
|
52926
|
+
options: client._options,
|
|
52927
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
52928
|
+
operationID: "directory_member_test_extension",
|
|
52929
|
+
oAuth2Scopes: null,
|
|
52930
|
+
resolvedSecurity: requestSecurity,
|
|
52931
|
+
securitySource: client._options.apiKeyHeader,
|
|
52932
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
52933
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
52934
|
+
};
|
|
52935
|
+
const requestRes = client._createRequest(context, {
|
|
52936
|
+
security: requestSecurity,
|
|
52937
|
+
method: "GET",
|
|
52938
|
+
baseURL: options?.serverURL,
|
|
52939
|
+
path,
|
|
52940
|
+
headers,
|
|
52941
|
+
query,
|
|
52942
|
+
body,
|
|
52943
|
+
userAgent: client._options.userAgent,
|
|
52944
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
52945
|
+
}, options);
|
|
52946
|
+
if (!requestRes.ok) {
|
|
52947
|
+
return [requestRes, { status: "invalid" }];
|
|
52948
|
+
}
|
|
52949
|
+
const req = requestRes.value;
|
|
52950
|
+
const doResult = await client._do(req, {
|
|
52951
|
+
context,
|
|
52952
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
52953
|
+
retryConfig: context.retryConfig,
|
|
52954
|
+
retryCodes: context.retryCodes
|
|
52955
|
+
});
|
|
52956
|
+
if (!doResult.ok) {
|
|
52957
|
+
return [doResult, { status: "request-error", request: req }];
|
|
52958
|
+
}
|
|
52959
|
+
const response = doResult.value;
|
|
52960
|
+
const responseFields = {
|
|
52961
|
+
HttpMeta: { Response: response, Request: req }
|
|
52962
|
+
};
|
|
52963
|
+
const [result] = await match(json(200, DirectoryMemberTestResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
52964
|
+
if (!result.ok) {
|
|
52965
|
+
return [result, { status: "complete", request: req, response }];
|
|
52966
|
+
}
|
|
52967
|
+
return [result, { status: "complete", request: req, response }];
|
|
52968
|
+
}
|
|
52969
|
+
var init_directoryDirectoryMemberTestExtension = __esm(() => {
|
|
52970
|
+
init_encodings();
|
|
52971
|
+
init_matchers();
|
|
52972
|
+
init_primitives();
|
|
52973
|
+
init_schemas();
|
|
52974
|
+
init_security();
|
|
52975
|
+
init_url();
|
|
52976
|
+
init_components();
|
|
52977
|
+
init_errors2();
|
|
52978
|
+
init_operations();
|
|
52979
|
+
init_async();
|
|
52980
|
+
});
|
|
52981
|
+
|
|
52982
|
+
// src/mcp-server/tools/directoryDirectoryMemberTestExtension.ts
|
|
52983
|
+
var args38, tool$directoryDirectoryMemberTestExtension;
|
|
52984
|
+
var init_directoryDirectoryMemberTestExtension2 = __esm(() => {
|
|
52985
|
+
init_directoryDirectoryMemberTestExtension();
|
|
52986
|
+
init_operations();
|
|
52987
|
+
init_tools();
|
|
52988
|
+
args38 = {
|
|
52989
|
+
request: DirectoryMemberTestExtensionRequest$inboundSchema
|
|
52990
|
+
};
|
|
52991
|
+
tool$directoryDirectoryMemberTestExtension = {
|
|
52992
|
+
name: "directory-directory-member-test-extension",
|
|
52993
|
+
description: `Test Directory Member Extension
|
|
52994
|
+
|
|
52995
|
+
Test directory member extension at a specific timestamp and language.`,
|
|
52996
|
+
args: args38,
|
|
52997
|
+
tool: async (client, args39, ctx) => {
|
|
52998
|
+
const [result, apiCall] = await directoryDirectoryMemberTestExtension(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52999
|
+
if (!result.ok) {
|
|
53000
|
+
return {
|
|
53001
|
+
content: [{ type: "text", text: result.error.message }],
|
|
53002
|
+
isError: true
|
|
53003
|
+
};
|
|
53004
|
+
}
|
|
53005
|
+
const value = result.value;
|
|
53006
|
+
return formatResult(value, apiCall);
|
|
53007
|
+
}
|
|
53008
|
+
};
|
|
53009
|
+
});
|
|
53010
|
+
|
|
53011
|
+
// src/funcs/directoryGetById.ts
|
|
53012
|
+
function directoryGetById(client, request, options) {
|
|
53013
|
+
return new APIPromise($do45(client, request, options));
|
|
53014
|
+
}
|
|
53015
|
+
async function $do45(client, request, options) {
|
|
52850
53016
|
const parsed = safeParse(request, (value) => DirectoryMemberGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52851
53017
|
if (!parsed.ok) {
|
|
52852
53018
|
return [parsed, { status: "invalid" }];
|
|
@@ -52923,12 +53089,12 @@ var init_directoryGetById = __esm(() => {
|
|
|
52923
53089
|
});
|
|
52924
53090
|
|
|
52925
53091
|
// src/mcp-server/tools/directoryGetById.ts
|
|
52926
|
-
var
|
|
53092
|
+
var args39, tool$directoryGetById;
|
|
52927
53093
|
var init_directoryGetById2 = __esm(() => {
|
|
52928
53094
|
init_directoryGetById();
|
|
52929
53095
|
init_operations();
|
|
52930
53096
|
init_tools();
|
|
52931
|
-
|
|
53097
|
+
args39 = {
|
|
52932
53098
|
request: DirectoryMemberGetByIdRequest$inboundSchema
|
|
52933
53099
|
};
|
|
52934
53100
|
tool$directoryGetById = {
|
|
@@ -52936,9 +53102,9 @@ var init_directoryGetById2 = __esm(() => {
|
|
|
52936
53102
|
description: `Get Directory Member By Id
|
|
52937
53103
|
|
|
52938
53104
|
Get a DirectoryMember by ID.`,
|
|
52939
|
-
args:
|
|
52940
|
-
tool: async (client,
|
|
52941
|
-
const [result, apiCall] = await directoryGetById(client,
|
|
53105
|
+
args: args39,
|
|
53106
|
+
tool: async (client, args40, ctx) => {
|
|
53107
|
+
const [result, apiCall] = await directoryGetById(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52942
53108
|
if (!result.ok) {
|
|
52943
53109
|
return {
|
|
52944
53110
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52953,9 +53119,9 @@ Get a DirectoryMember by ID.`,
|
|
|
52953
53119
|
|
|
52954
53120
|
// src/funcs/directoryList.ts
|
|
52955
53121
|
function directoryList(client, request, options) {
|
|
52956
|
-
return new APIPromise($
|
|
53122
|
+
return new APIPromise($do46(client, request, options));
|
|
52957
53123
|
}
|
|
52958
|
-
async function $
|
|
53124
|
+
async function $do46(client, request, options) {
|
|
52959
53125
|
const parsed = safeParse(request, (value) => DirectoryMemberListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52960
53126
|
if (!parsed.ok) {
|
|
52961
53127
|
return [parsed, { status: "invalid" }];
|
|
@@ -53038,12 +53204,12 @@ var init_directoryList = __esm(() => {
|
|
|
53038
53204
|
});
|
|
53039
53205
|
|
|
53040
53206
|
// src/mcp-server/tools/directoryList.ts
|
|
53041
|
-
var
|
|
53207
|
+
var args40, tool$directoryList;
|
|
53042
53208
|
var init_directoryList2 = __esm(() => {
|
|
53043
53209
|
init_directoryList();
|
|
53044
53210
|
init_operations();
|
|
53045
53211
|
init_tools();
|
|
53046
|
-
|
|
53212
|
+
args40 = {
|
|
53047
53213
|
request: DirectoryMemberListRequest$inboundSchema
|
|
53048
53214
|
};
|
|
53049
53215
|
tool$directoryList = {
|
|
@@ -53051,9 +53217,9 @@ var init_directoryList2 = __esm(() => {
|
|
|
53051
53217
|
description: `Directory Member List
|
|
53052
53218
|
|
|
53053
53219
|
List the existing directory_members`,
|
|
53054
|
-
args:
|
|
53055
|
-
tool: async (client,
|
|
53056
|
-
const [result, apiCall] = await directoryList(client,
|
|
53220
|
+
args: args40,
|
|
53221
|
+
tool: async (client, args41, ctx) => {
|
|
53222
|
+
const [result, apiCall] = await directoryList(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53057
53223
|
if (!result.ok) {
|
|
53058
53224
|
return {
|
|
53059
53225
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53068,9 +53234,9 @@ List the existing directory_members`,
|
|
|
53068
53234
|
|
|
53069
53235
|
// src/funcs/directoryUpdate.ts
|
|
53070
53236
|
function directoryUpdate(client, request, options) {
|
|
53071
|
-
return new APIPromise($
|
|
53237
|
+
return new APIPromise($do47(client, request, options));
|
|
53072
53238
|
}
|
|
53073
|
-
async function $
|
|
53239
|
+
async function $do47(client, request, options) {
|
|
53074
53240
|
const parsed = safeParse(request, (value) => DirectoryMemberUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53075
53241
|
if (!parsed.ok) {
|
|
53076
53242
|
return [parsed, { status: "invalid" }];
|
|
@@ -53148,12 +53314,12 @@ var init_directoryUpdate = __esm(() => {
|
|
|
53148
53314
|
});
|
|
53149
53315
|
|
|
53150
53316
|
// src/mcp-server/tools/directoryUpdate.ts
|
|
53151
|
-
var
|
|
53317
|
+
var args41, tool$directoryUpdate;
|
|
53152
53318
|
var init_directoryUpdate2 = __esm(() => {
|
|
53153
53319
|
init_directoryUpdate();
|
|
53154
53320
|
init_operations();
|
|
53155
53321
|
init_tools();
|
|
53156
|
-
|
|
53322
|
+
args41 = {
|
|
53157
53323
|
request: DirectoryMemberUpdateRequest$inboundSchema
|
|
53158
53324
|
};
|
|
53159
53325
|
tool$directoryUpdate = {
|
|
@@ -53161,9 +53327,9 @@ var init_directoryUpdate2 = __esm(() => {
|
|
|
53161
53327
|
description: `Update Directory Member
|
|
53162
53328
|
|
|
53163
53329
|
Update a DirectoryMember.`,
|
|
53164
|
-
args:
|
|
53165
|
-
tool: async (client,
|
|
53166
|
-
const [result, apiCall] = await directoryUpdate(client,
|
|
53330
|
+
args: args41,
|
|
53331
|
+
tool: async (client, args42, ctx) => {
|
|
53332
|
+
const [result, apiCall] = await directoryUpdate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53167
53333
|
if (!result.ok) {
|
|
53168
53334
|
return {
|
|
53169
53335
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53178,9 +53344,9 @@ Update a DirectoryMember.`,
|
|
|
53178
53344
|
|
|
53179
53345
|
// src/funcs/eventsList.ts
|
|
53180
53346
|
function eventsList(client, request, options) {
|
|
53181
|
-
return new APIPromise($
|
|
53347
|
+
return new APIPromise($do48(client, request, options));
|
|
53182
53348
|
}
|
|
53183
|
-
async function $
|
|
53349
|
+
async function $do48(client, request, options) {
|
|
53184
53350
|
const parsed = safeParse(request, (value) => EventsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53185
53351
|
if (!parsed.ok) {
|
|
53186
53352
|
return [parsed, { status: "invalid" }];
|
|
@@ -53263,20 +53429,20 @@ var init_eventsList = __esm(() => {
|
|
|
53263
53429
|
});
|
|
53264
53430
|
|
|
53265
53431
|
// src/mcp-server/tools/eventsList.ts
|
|
53266
|
-
var
|
|
53432
|
+
var args42, tool$eventsList;
|
|
53267
53433
|
var init_eventsList2 = __esm(() => {
|
|
53268
53434
|
init_eventsList();
|
|
53269
53435
|
init_operations();
|
|
53270
53436
|
init_tools();
|
|
53271
|
-
|
|
53437
|
+
args42 = {
|
|
53272
53438
|
request: EventsListRequest$inboundSchema
|
|
53273
53439
|
};
|
|
53274
53440
|
tool$eventsList = {
|
|
53275
53441
|
name: "events-list",
|
|
53276
53442
|
description: `Events List`,
|
|
53277
|
-
args:
|
|
53278
|
-
tool: async (client,
|
|
53279
|
-
const [result, apiCall] = await eventsList(client,
|
|
53443
|
+
args: args42,
|
|
53444
|
+
tool: async (client, args43, ctx) => {
|
|
53445
|
+
const [result, apiCall] = await eventsList(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53280
53446
|
if (!result.ok) {
|
|
53281
53447
|
return {
|
|
53282
53448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53291,9 +53457,9 @@ var init_eventsList2 = __esm(() => {
|
|
|
53291
53457
|
|
|
53292
53458
|
// src/funcs/incidentsCreate.ts
|
|
53293
53459
|
function incidentsCreate(client, request, options) {
|
|
53294
|
-
return new APIPromise($
|
|
53460
|
+
return new APIPromise($do49(client, request, options));
|
|
53295
53461
|
}
|
|
53296
|
-
async function $
|
|
53462
|
+
async function $do49(client, request, options) {
|
|
53297
53463
|
const parsed = safeParse(request, (value) => IncidentCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53298
53464
|
if (!parsed.ok) {
|
|
53299
53465
|
return [parsed, { status: "invalid" }];
|
|
@@ -53364,12 +53530,12 @@ var init_incidentsCreate = __esm(() => {
|
|
|
53364
53530
|
});
|
|
53365
53531
|
|
|
53366
53532
|
// src/mcp-server/tools/incidentsCreate.ts
|
|
53367
|
-
var
|
|
53533
|
+
var args43, tool$incidentsCreate;
|
|
53368
53534
|
var init_incidentsCreate2 = __esm(() => {
|
|
53369
53535
|
init_incidentsCreate();
|
|
53370
53536
|
init_components();
|
|
53371
53537
|
init_tools();
|
|
53372
|
-
|
|
53538
|
+
args43 = {
|
|
53373
53539
|
request: IncidentCreateRequest$inboundSchema
|
|
53374
53540
|
};
|
|
53375
53541
|
tool$incidentsCreate = {
|
|
@@ -53377,9 +53543,9 @@ var init_incidentsCreate2 = __esm(() => {
|
|
|
53377
53543
|
description: `Create Incident
|
|
53378
53544
|
|
|
53379
53545
|
Create a new incident`,
|
|
53380
|
-
args:
|
|
53381
|
-
tool: async (client,
|
|
53382
|
-
const [result, apiCall] = await incidentsCreate(client,
|
|
53546
|
+
args: args43,
|
|
53547
|
+
tool: async (client, args44, ctx) => {
|
|
53548
|
+
const [result, apiCall] = await incidentsCreate(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53383
53549
|
if (!result.ok) {
|
|
53384
53550
|
return {
|
|
53385
53551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53394,9 +53560,9 @@ Create a new incident`,
|
|
|
53394
53560
|
|
|
53395
53561
|
// src/funcs/incidentsDelete.ts
|
|
53396
53562
|
function incidentsDelete(client, request, options) {
|
|
53397
|
-
return new APIPromise($
|
|
53563
|
+
return new APIPromise($do50(client, request, options));
|
|
53398
53564
|
}
|
|
53399
|
-
async function $
|
|
53565
|
+
async function $do50(client, request, options) {
|
|
53400
53566
|
const parsed = safeParse(request, (value) => IncidentDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53401
53567
|
if (!parsed.ok) {
|
|
53402
53568
|
return [parsed, { status: "invalid" }];
|
|
@@ -53477,12 +53643,12 @@ var init_incidentsDelete = __esm(() => {
|
|
|
53477
53643
|
});
|
|
53478
53644
|
|
|
53479
53645
|
// src/mcp-server/tools/incidentsDelete.ts
|
|
53480
|
-
var
|
|
53646
|
+
var args44, tool$incidentsDelete;
|
|
53481
53647
|
var init_incidentsDelete2 = __esm(() => {
|
|
53482
53648
|
init_incidentsDelete();
|
|
53483
53649
|
init_operations();
|
|
53484
53650
|
init_tools();
|
|
53485
|
-
|
|
53651
|
+
args44 = {
|
|
53486
53652
|
request: IncidentDeleteRequest$inboundSchema
|
|
53487
53653
|
};
|
|
53488
53654
|
tool$incidentsDelete = {
|
|
@@ -53490,9 +53656,9 @@ var init_incidentsDelete2 = __esm(() => {
|
|
|
53490
53656
|
description: `Delete Incident
|
|
53491
53657
|
|
|
53492
53658
|
Delete an incident by ID`,
|
|
53493
|
-
args:
|
|
53494
|
-
tool: async (client,
|
|
53495
|
-
const [result, apiCall] = await incidentsDelete(client,
|
|
53659
|
+
args: args44,
|
|
53660
|
+
tool: async (client, args45, ctx) => {
|
|
53661
|
+
const [result, apiCall] = await incidentsDelete(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53496
53662
|
if (!result.ok) {
|
|
53497
53663
|
return {
|
|
53498
53664
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53507,9 +53673,9 @@ Delete an incident by ID`,
|
|
|
53507
53673
|
|
|
53508
53674
|
// src/funcs/incidentsGetById.ts
|
|
53509
53675
|
function incidentsGetById(client, request, options) {
|
|
53510
|
-
return new APIPromise($
|
|
53676
|
+
return new APIPromise($do51(client, request, options));
|
|
53511
53677
|
}
|
|
53512
|
-
async function $
|
|
53678
|
+
async function $do51(client, request, options) {
|
|
53513
53679
|
const parsed = safeParse(request, (value) => IncidentGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53514
53680
|
if (!parsed.ok) {
|
|
53515
53681
|
return [parsed, { status: "invalid" }];
|
|
@@ -53586,12 +53752,12 @@ var init_incidentsGetById = __esm(() => {
|
|
|
53586
53752
|
});
|
|
53587
53753
|
|
|
53588
53754
|
// src/mcp-server/tools/incidentsGetById.ts
|
|
53589
|
-
var
|
|
53755
|
+
var args45, tool$incidentsGetById;
|
|
53590
53756
|
var init_incidentsGetById2 = __esm(() => {
|
|
53591
53757
|
init_incidentsGetById();
|
|
53592
53758
|
init_operations();
|
|
53593
53759
|
init_tools();
|
|
53594
|
-
|
|
53760
|
+
args45 = {
|
|
53595
53761
|
request: IncidentGetByIdRequest$inboundSchema
|
|
53596
53762
|
};
|
|
53597
53763
|
tool$incidentsGetById = {
|
|
@@ -53599,9 +53765,9 @@ var init_incidentsGetById2 = __esm(() => {
|
|
|
53599
53765
|
description: `Get Incident By Id
|
|
53600
53766
|
|
|
53601
53767
|
Get incident by ID`,
|
|
53602
|
-
args:
|
|
53603
|
-
tool: async (client,
|
|
53604
|
-
const [result, apiCall] = await incidentsGetById(client,
|
|
53768
|
+
args: args45,
|
|
53769
|
+
tool: async (client, args46, ctx) => {
|
|
53770
|
+
const [result, apiCall] = await incidentsGetById(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53605
53771
|
if (!result.ok) {
|
|
53606
53772
|
return {
|
|
53607
53773
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53616,9 +53782,9 @@ Get incident by ID`,
|
|
|
53616
53782
|
|
|
53617
53783
|
// src/funcs/incidentsIncidentGetOrganizations.ts
|
|
53618
53784
|
function incidentsIncidentGetOrganizations(client, options) {
|
|
53619
|
-
return new APIPromise($
|
|
53785
|
+
return new APIPromise($do52(client, options));
|
|
53620
53786
|
}
|
|
53621
|
-
async function $
|
|
53787
|
+
async function $do52(client, options) {
|
|
53622
53788
|
const path = pathToFunc("/api/v1/incidents/organizations")();
|
|
53623
53789
|
const headers = new Headers(compactMap({
|
|
53624
53790
|
Accept: "application/json"
|
|
@@ -53701,9 +53867,9 @@ Get all organizations`,
|
|
|
53701
53867
|
|
|
53702
53868
|
// src/funcs/incidentsList.ts
|
|
53703
53869
|
function incidentsList(client, request, options) {
|
|
53704
|
-
return new APIPromise($
|
|
53870
|
+
return new APIPromise($do53(client, request, options));
|
|
53705
53871
|
}
|
|
53706
|
-
async function $
|
|
53872
|
+
async function $do53(client, request, options) {
|
|
53707
53873
|
const parsed = safeParse(request, (value) => IncidentListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53708
53874
|
if (!parsed.ok) {
|
|
53709
53875
|
return [parsed, { status: "invalid" }];
|
|
@@ -53786,12 +53952,12 @@ var init_incidentsList = __esm(() => {
|
|
|
53786
53952
|
});
|
|
53787
53953
|
|
|
53788
53954
|
// src/mcp-server/tools/incidentsList.ts
|
|
53789
|
-
var
|
|
53955
|
+
var args46, tool$incidentsList;
|
|
53790
53956
|
var init_incidentsList2 = __esm(() => {
|
|
53791
53957
|
init_incidentsList();
|
|
53792
53958
|
init_operations();
|
|
53793
53959
|
init_tools();
|
|
53794
|
-
|
|
53960
|
+
args46 = {
|
|
53795
53961
|
request: IncidentListRequest$inboundSchema
|
|
53796
53962
|
};
|
|
53797
53963
|
tool$incidentsList = {
|
|
@@ -53799,9 +53965,9 @@ var init_incidentsList2 = __esm(() => {
|
|
|
53799
53965
|
description: `List Incidents
|
|
53800
53966
|
|
|
53801
53967
|
List service incidents with pagination and filtering`,
|
|
53802
|
-
args:
|
|
53803
|
-
tool: async (client,
|
|
53804
|
-
const [result, apiCall] = await incidentsList(client,
|
|
53968
|
+
args: args46,
|
|
53969
|
+
tool: async (client, args47, ctx) => {
|
|
53970
|
+
const [result, apiCall] = await incidentsList(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53805
53971
|
if (!result.ok) {
|
|
53806
53972
|
return {
|
|
53807
53973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53816,9 +53982,9 @@ List service incidents with pagination and filtering`,
|
|
|
53816
53982
|
|
|
53817
53983
|
// src/funcs/incidentsUpdate.ts
|
|
53818
53984
|
function incidentsUpdate(client, request, options) {
|
|
53819
|
-
return new APIPromise($
|
|
53985
|
+
return new APIPromise($do54(client, request, options));
|
|
53820
53986
|
}
|
|
53821
|
-
async function $
|
|
53987
|
+
async function $do54(client, request, options) {
|
|
53822
53988
|
const parsed = safeParse(request, (value) => IncidentUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53823
53989
|
if (!parsed.ok) {
|
|
53824
53990
|
return [parsed, { status: "invalid" }];
|
|
@@ -53889,12 +54055,12 @@ var init_incidentsUpdate = __esm(() => {
|
|
|
53889
54055
|
});
|
|
53890
54056
|
|
|
53891
54057
|
// src/mcp-server/tools/incidentsUpdate.ts
|
|
53892
|
-
var
|
|
54058
|
+
var args47, tool$incidentsUpdate;
|
|
53893
54059
|
var init_incidentsUpdate2 = __esm(() => {
|
|
53894
54060
|
init_incidentsUpdate();
|
|
53895
54061
|
init_components();
|
|
53896
54062
|
init_tools();
|
|
53897
|
-
|
|
54063
|
+
args47 = {
|
|
53898
54064
|
request: IncidentUpdateRequest$inboundSchema
|
|
53899
54065
|
};
|
|
53900
54066
|
tool$incidentsUpdate = {
|
|
@@ -53902,9 +54068,9 @@ var init_incidentsUpdate2 = __esm(() => {
|
|
|
53902
54068
|
description: `Update Incident
|
|
53903
54069
|
|
|
53904
54070
|
Update an existing incident`,
|
|
53905
|
-
args:
|
|
53906
|
-
tool: async (client,
|
|
53907
|
-
const [result, apiCall] = await incidentsUpdate(client,
|
|
54071
|
+
args: args47,
|
|
54072
|
+
tool: async (client, args48, ctx) => {
|
|
54073
|
+
const [result, apiCall] = await incidentsUpdate(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53908
54074
|
if (!result.ok) {
|
|
53909
54075
|
return {
|
|
53910
54076
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53919,9 +54085,9 @@ Update an existing incident`,
|
|
|
53919
54085
|
|
|
53920
54086
|
// src/funcs/insightsFoldersCreate.ts
|
|
53921
54087
|
function insightsFoldersCreate(client, request, options) {
|
|
53922
|
-
return new APIPromise($
|
|
54088
|
+
return new APIPromise($do55(client, request, options));
|
|
53923
54089
|
}
|
|
53924
|
-
async function $
|
|
54090
|
+
async function $do55(client, request, options) {
|
|
53925
54091
|
const parsed = safeParse(request, (value) => InsightsFolderInput$outboundSchema.parse(value), "Input validation failed");
|
|
53926
54092
|
if (!parsed.ok) {
|
|
53927
54093
|
return [parsed, { status: "invalid" }];
|
|
@@ -53992,20 +54158,20 @@ var init_insightsFoldersCreate = __esm(() => {
|
|
|
53992
54158
|
});
|
|
53993
54159
|
|
|
53994
54160
|
// src/mcp-server/tools/insightsFoldersCreate.ts
|
|
53995
|
-
var
|
|
54161
|
+
var args48, tool$insightsFoldersCreate;
|
|
53996
54162
|
var init_insightsFoldersCreate2 = __esm(() => {
|
|
53997
54163
|
init_insightsFoldersCreate();
|
|
53998
54164
|
init_components();
|
|
53999
54165
|
init_tools();
|
|
54000
|
-
|
|
54166
|
+
args48 = {
|
|
54001
54167
|
request: InsightsFolderInput$inboundSchema
|
|
54002
54168
|
};
|
|
54003
54169
|
tool$insightsFoldersCreate = {
|
|
54004
54170
|
name: "insights-folders-create",
|
|
54005
54171
|
description: `Create Insights Upload Folder`,
|
|
54006
|
-
args:
|
|
54007
|
-
tool: async (client,
|
|
54008
|
-
const [result, apiCall] = await insightsFoldersCreate(client,
|
|
54172
|
+
args: args48,
|
|
54173
|
+
tool: async (client, args49, ctx) => {
|
|
54174
|
+
const [result, apiCall] = await insightsFoldersCreate(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54009
54175
|
if (!result.ok) {
|
|
54010
54176
|
return {
|
|
54011
54177
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54020,9 +54186,9 @@ var init_insightsFoldersCreate2 = __esm(() => {
|
|
|
54020
54186
|
|
|
54021
54187
|
// src/funcs/insightsFoldersDelete.ts
|
|
54022
54188
|
function insightsFoldersDelete(client, request, options) {
|
|
54023
|
-
return new APIPromise($
|
|
54189
|
+
return new APIPromise($do56(client, request, options));
|
|
54024
54190
|
}
|
|
54025
|
-
async function $
|
|
54191
|
+
async function $do56(client, request, options) {
|
|
54026
54192
|
const parsed = safeParse(request, (value) => InsightsFolderDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54027
54193
|
if (!parsed.ok) {
|
|
54028
54194
|
return [parsed, { status: "invalid" }];
|
|
@@ -54099,20 +54265,20 @@ var init_insightsFoldersDelete = __esm(() => {
|
|
|
54099
54265
|
});
|
|
54100
54266
|
|
|
54101
54267
|
// src/mcp-server/tools/insightsFoldersDelete.ts
|
|
54102
|
-
var
|
|
54268
|
+
var args49, tool$insightsFoldersDelete;
|
|
54103
54269
|
var init_insightsFoldersDelete2 = __esm(() => {
|
|
54104
54270
|
init_insightsFoldersDelete();
|
|
54105
54271
|
init_operations();
|
|
54106
54272
|
init_tools();
|
|
54107
|
-
|
|
54273
|
+
args49 = {
|
|
54108
54274
|
request: InsightsFolderDeleteRequest$inboundSchema
|
|
54109
54275
|
};
|
|
54110
54276
|
tool$insightsFoldersDelete = {
|
|
54111
54277
|
name: "insights-folders-delete",
|
|
54112
54278
|
description: `Delete Insights Folder`,
|
|
54113
|
-
args:
|
|
54114
|
-
tool: async (client,
|
|
54115
|
-
const [result, apiCall] = await insightsFoldersDelete(client,
|
|
54279
|
+
args: args49,
|
|
54280
|
+
tool: async (client, args50, ctx) => {
|
|
54281
|
+
const [result, apiCall] = await insightsFoldersDelete(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54116
54282
|
if (!result.ok) {
|
|
54117
54283
|
return {
|
|
54118
54284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54127,9 +54293,9 @@ var init_insightsFoldersDelete2 = __esm(() => {
|
|
|
54127
54293
|
|
|
54128
54294
|
// src/funcs/insightsFoldersGetById.ts
|
|
54129
54295
|
function insightsFoldersGetById(client, request, options) {
|
|
54130
|
-
return new APIPromise($
|
|
54296
|
+
return new APIPromise($do57(client, request, options));
|
|
54131
54297
|
}
|
|
54132
|
-
async function $
|
|
54298
|
+
async function $do57(client, request, options) {
|
|
54133
54299
|
const parsed = safeParse(request, (value) => InsightsFolderGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54134
54300
|
if (!parsed.ok) {
|
|
54135
54301
|
return [parsed, { status: "invalid" }];
|
|
@@ -54206,20 +54372,20 @@ var init_insightsFoldersGetById = __esm(() => {
|
|
|
54206
54372
|
});
|
|
54207
54373
|
|
|
54208
54374
|
// src/mcp-server/tools/insightsFoldersGetById.ts
|
|
54209
|
-
var
|
|
54375
|
+
var args50, tool$insightsFoldersGetById;
|
|
54210
54376
|
var init_insightsFoldersGetById2 = __esm(() => {
|
|
54211
54377
|
init_insightsFoldersGetById();
|
|
54212
54378
|
init_operations();
|
|
54213
54379
|
init_tools();
|
|
54214
|
-
|
|
54380
|
+
args50 = {
|
|
54215
54381
|
request: InsightsFolderGetByIdRequest$inboundSchema
|
|
54216
54382
|
};
|
|
54217
54383
|
tool$insightsFoldersGetById = {
|
|
54218
54384
|
name: "insights-folders-get-by-id",
|
|
54219
54385
|
description: `Get Insights Folder Details`,
|
|
54220
|
-
args:
|
|
54221
|
-
tool: async (client,
|
|
54222
|
-
const [result, apiCall] = await insightsFoldersGetById(client,
|
|
54386
|
+
args: args50,
|
|
54387
|
+
tool: async (client, args51, ctx) => {
|
|
54388
|
+
const [result, apiCall] = await insightsFoldersGetById(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54223
54389
|
if (!result.ok) {
|
|
54224
54390
|
return {
|
|
54225
54391
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54234,9 +54400,9 @@ var init_insightsFoldersGetById2 = __esm(() => {
|
|
|
54234
54400
|
|
|
54235
54401
|
// src/funcs/insightsFoldersList.ts
|
|
54236
54402
|
function insightsFoldersList(client, request, options) {
|
|
54237
|
-
return new APIPromise($
|
|
54403
|
+
return new APIPromise($do58(client, request, options));
|
|
54238
54404
|
}
|
|
54239
|
-
async function $
|
|
54405
|
+
async function $do58(client, request, options) {
|
|
54240
54406
|
const parsed = safeParse(request, (value) => InsightsFolderListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54241
54407
|
if (!parsed.ok) {
|
|
54242
54408
|
return [parsed, { status: "invalid" }];
|
|
@@ -54319,20 +54485,20 @@ var init_insightsFoldersList = __esm(() => {
|
|
|
54319
54485
|
});
|
|
54320
54486
|
|
|
54321
54487
|
// src/mcp-server/tools/insightsFoldersList.ts
|
|
54322
|
-
var
|
|
54488
|
+
var args51, tool$insightsFoldersList;
|
|
54323
54489
|
var init_insightsFoldersList2 = __esm(() => {
|
|
54324
54490
|
init_insightsFoldersList();
|
|
54325
54491
|
init_operations();
|
|
54326
54492
|
init_tools();
|
|
54327
|
-
|
|
54493
|
+
args51 = {
|
|
54328
54494
|
request: InsightsFolderListRequest$inboundSchema
|
|
54329
54495
|
};
|
|
54330
54496
|
tool$insightsFoldersList = {
|
|
54331
54497
|
name: "insights-folders-list",
|
|
54332
54498
|
description: `List Insights Upload Folders`,
|
|
54333
|
-
args:
|
|
54334
|
-
tool: async (client,
|
|
54335
|
-
const [result, apiCall] = await insightsFoldersList(client,
|
|
54499
|
+
args: args51,
|
|
54500
|
+
tool: async (client, args52, ctx) => {
|
|
54501
|
+
const [result, apiCall] = await insightsFoldersList(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54336
54502
|
if (!result.ok) {
|
|
54337
54503
|
return {
|
|
54338
54504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54347,9 +54513,9 @@ var init_insightsFoldersList2 = __esm(() => {
|
|
|
54347
54513
|
|
|
54348
54514
|
// src/funcs/insightsFoldersListFiles.ts
|
|
54349
54515
|
function insightsFoldersListFiles(client, request, options) {
|
|
54350
|
-
return new APIPromise($
|
|
54516
|
+
return new APIPromise($do59(client, request, options));
|
|
54351
54517
|
}
|
|
54352
|
-
async function $
|
|
54518
|
+
async function $do59(client, request, options) {
|
|
54353
54519
|
const parsed = safeParse(request, (value) => InsightsUploadListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54354
54520
|
if (!parsed.ok) {
|
|
54355
54521
|
return [parsed, { status: "invalid" }];
|
|
@@ -54438,20 +54604,20 @@ var init_insightsFoldersListFiles = __esm(() => {
|
|
|
54438
54604
|
});
|
|
54439
54605
|
|
|
54440
54606
|
// src/mcp-server/tools/insightsFoldersListFiles.ts
|
|
54441
|
-
var
|
|
54607
|
+
var args52, tool$insightsFoldersListFiles;
|
|
54442
54608
|
var init_insightsFoldersListFiles2 = __esm(() => {
|
|
54443
54609
|
init_insightsFoldersListFiles();
|
|
54444
54610
|
init_operations();
|
|
54445
54611
|
init_tools();
|
|
54446
|
-
|
|
54612
|
+
args52 = {
|
|
54447
54613
|
request: InsightsUploadListFilesRequest$inboundSchema
|
|
54448
54614
|
};
|
|
54449
54615
|
tool$insightsFoldersListFiles = {
|
|
54450
54616
|
name: "insights-folders-list-files",
|
|
54451
54617
|
description: `Fetch Insights Upload Files`,
|
|
54452
|
-
args:
|
|
54453
|
-
tool: async (client,
|
|
54454
|
-
const [result, apiCall] = await insightsFoldersListFiles(client,
|
|
54618
|
+
args: args52,
|
|
54619
|
+
tool: async (client, args53, ctx) => {
|
|
54620
|
+
const [result, apiCall] = await insightsFoldersListFiles(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54455
54621
|
if (!result.ok) {
|
|
54456
54622
|
return {
|
|
54457
54623
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54466,9 +54632,9 @@ var init_insightsFoldersListFiles2 = __esm(() => {
|
|
|
54466
54632
|
|
|
54467
54633
|
// src/funcs/insightsFoldersMoveFiles.ts
|
|
54468
54634
|
function insightsFoldersMoveFiles(client, request, options) {
|
|
54469
|
-
return new APIPromise($
|
|
54635
|
+
return new APIPromise($do60(client, request, options));
|
|
54470
54636
|
}
|
|
54471
|
-
async function $
|
|
54637
|
+
async function $do60(client, request, options) {
|
|
54472
54638
|
const parsed = safeParse(request, (value) => InsightsUploadMoveFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54473
54639
|
if (!parsed.ok) {
|
|
54474
54640
|
return [parsed, { status: "invalid" }];
|
|
@@ -54549,20 +54715,20 @@ var init_insightsFoldersMoveFiles = __esm(() => {
|
|
|
54549
54715
|
});
|
|
54550
54716
|
|
|
54551
54717
|
// src/mcp-server/tools/insightsFoldersMoveFiles.ts
|
|
54552
|
-
var
|
|
54718
|
+
var args53, tool$insightsFoldersMoveFiles;
|
|
54553
54719
|
var init_insightsFoldersMoveFiles2 = __esm(() => {
|
|
54554
54720
|
init_insightsFoldersMoveFiles();
|
|
54555
54721
|
init_operations();
|
|
54556
54722
|
init_tools();
|
|
54557
|
-
|
|
54723
|
+
args53 = {
|
|
54558
54724
|
request: InsightsUploadMoveFilesRequest$inboundSchema
|
|
54559
54725
|
};
|
|
54560
54726
|
tool$insightsFoldersMoveFiles = {
|
|
54561
54727
|
name: "insights-folders-move-files",
|
|
54562
54728
|
description: `Move Insights Upload Files`,
|
|
54563
|
-
args:
|
|
54564
|
-
tool: async (client,
|
|
54565
|
-
const [result, apiCall] = await insightsFoldersMoveFiles(client,
|
|
54729
|
+
args: args53,
|
|
54730
|
+
tool: async (client, args54, ctx) => {
|
|
54731
|
+
const [result, apiCall] = await insightsFoldersMoveFiles(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54566
54732
|
if (!result.ok) {
|
|
54567
54733
|
return {
|
|
54568
54734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54577,9 +54743,9 @@ var init_insightsFoldersMoveFiles2 = __esm(() => {
|
|
|
54577
54743
|
|
|
54578
54744
|
// src/funcs/insightsFoldersUpdate.ts
|
|
54579
54745
|
function insightsFoldersUpdate(client, request, options) {
|
|
54580
|
-
return new APIPromise($
|
|
54746
|
+
return new APIPromise($do61(client, request, options));
|
|
54581
54747
|
}
|
|
54582
|
-
async function $
|
|
54748
|
+
async function $do61(client, request, options) {
|
|
54583
54749
|
const parsed = safeParse(request, (value) => InsightsFolderUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54584
54750
|
if (!parsed.ok) {
|
|
54585
54751
|
return [parsed, { status: "invalid" }];
|
|
@@ -54659,20 +54825,20 @@ var init_insightsFoldersUpdate = __esm(() => {
|
|
|
54659
54825
|
});
|
|
54660
54826
|
|
|
54661
54827
|
// src/mcp-server/tools/insightsFoldersUpdate.ts
|
|
54662
|
-
var
|
|
54828
|
+
var args54, tool$insightsFoldersUpdate;
|
|
54663
54829
|
var init_insightsFoldersUpdate2 = __esm(() => {
|
|
54664
54830
|
init_insightsFoldersUpdate();
|
|
54665
54831
|
init_operations();
|
|
54666
54832
|
init_tools();
|
|
54667
|
-
|
|
54833
|
+
args54 = {
|
|
54668
54834
|
request: InsightsFolderUpdateRequest$inboundSchema
|
|
54669
54835
|
};
|
|
54670
54836
|
tool$insightsFoldersUpdate = {
|
|
54671
54837
|
name: "insights-folders-update",
|
|
54672
54838
|
description: `Update Insights Folder`,
|
|
54673
|
-
args:
|
|
54674
|
-
tool: async (client,
|
|
54675
|
-
const [result, apiCall] = await insightsFoldersUpdate(client,
|
|
54839
|
+
args: args54,
|
|
54840
|
+
tool: async (client, args55, ctx) => {
|
|
54841
|
+
const [result, apiCall] = await insightsFoldersUpdate(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54676
54842
|
if (!result.ok) {
|
|
54677
54843
|
return {
|
|
54678
54844
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54687,9 +54853,9 @@ var init_insightsFoldersUpdate2 = __esm(() => {
|
|
|
54687
54853
|
|
|
54688
54854
|
// src/funcs/insightsFoldersUploadFile.ts
|
|
54689
54855
|
function insightsFoldersUploadFile(client, request, options) {
|
|
54690
|
-
return new APIPromise($
|
|
54856
|
+
return new APIPromise($do62(client, request, options));
|
|
54691
54857
|
}
|
|
54692
|
-
async function $
|
|
54858
|
+
async function $do62(client, request, options) {
|
|
54693
54859
|
const parsed = safeParse(request, (value) => InsightsFolderUploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54694
54860
|
if (!parsed.ok) {
|
|
54695
54861
|
return [parsed, { status: "invalid" }];
|
|
@@ -54794,20 +54960,20 @@ var init_insightsFoldersUploadFile = __esm(() => {
|
|
|
54794
54960
|
});
|
|
54795
54961
|
|
|
54796
54962
|
// src/mcp-server/tools/insightsFoldersUploadFile.ts
|
|
54797
|
-
var
|
|
54963
|
+
var args55, tool$insightsFoldersUploadFile;
|
|
54798
54964
|
var init_insightsFoldersUploadFile2 = __esm(() => {
|
|
54799
54965
|
init_insightsFoldersUploadFile();
|
|
54800
54966
|
init_operations();
|
|
54801
54967
|
init_tools();
|
|
54802
|
-
|
|
54968
|
+
args55 = {
|
|
54803
54969
|
request: InsightsFolderUploadFileRequest$inboundSchema
|
|
54804
54970
|
};
|
|
54805
54971
|
tool$insightsFoldersUploadFile = {
|
|
54806
54972
|
name: "insights-folders-upload-file",
|
|
54807
54973
|
description: `Upload Insights Upload Folder`,
|
|
54808
|
-
args:
|
|
54809
|
-
tool: async (client,
|
|
54810
|
-
const [result, apiCall] = await insightsFoldersUploadFile(client,
|
|
54974
|
+
args: args55,
|
|
54975
|
+
tool: async (client, args56, ctx) => {
|
|
54976
|
+
const [result, apiCall] = await insightsFoldersUploadFile(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54811
54977
|
if (!result.ok) {
|
|
54812
54978
|
return {
|
|
54813
54979
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54822,9 +54988,9 @@ var init_insightsFoldersUploadFile2 = __esm(() => {
|
|
|
54822
54988
|
|
|
54823
54989
|
// src/funcs/insightsList.ts
|
|
54824
54990
|
function insightsList(client, request, options) {
|
|
54825
|
-
return new APIPromise($
|
|
54991
|
+
return new APIPromise($do63(client, request, options));
|
|
54826
54992
|
}
|
|
54827
|
-
async function $
|
|
54993
|
+
async function $do63(client, request, options) {
|
|
54828
54994
|
const parsed = safeParse(request, (value) => InsightsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54829
54995
|
if (!parsed.ok) {
|
|
54830
54996
|
return [parsed, { status: "invalid" }];
|
|
@@ -54907,12 +55073,12 @@ var init_insightsList = __esm(() => {
|
|
|
54907
55073
|
});
|
|
54908
55074
|
|
|
54909
55075
|
// src/mcp-server/tools/insightsList.ts
|
|
54910
|
-
var
|
|
55076
|
+
var args56, tool$insightsList;
|
|
54911
55077
|
var init_insightsList2 = __esm(() => {
|
|
54912
55078
|
init_insightsList();
|
|
54913
55079
|
init_operations();
|
|
54914
55080
|
init_tools();
|
|
54915
|
-
|
|
55081
|
+
args56 = {
|
|
54916
55082
|
request: InsightsListRequest$inboundSchema
|
|
54917
55083
|
};
|
|
54918
55084
|
tool$insightsList = {
|
|
@@ -54920,9 +55086,9 @@ var init_insightsList2 = __esm(() => {
|
|
|
54920
55086
|
description: `Insights List
|
|
54921
55087
|
|
|
54922
55088
|
List the evaluated insights for sessions.`,
|
|
54923
|
-
args:
|
|
54924
|
-
tool: async (client,
|
|
54925
|
-
const [result, apiCall] = await insightsList(client,
|
|
55089
|
+
args: args56,
|
|
55090
|
+
tool: async (client, args57, ctx) => {
|
|
55091
|
+
const [result, apiCall] = await insightsList(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54926
55092
|
if (!result.ok) {
|
|
54927
55093
|
return {
|
|
54928
55094
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54937,9 +55103,9 @@ List the evaluated insights for sessions.`,
|
|
|
54937
55103
|
|
|
54938
55104
|
// src/funcs/insightsToolsCreate.ts
|
|
54939
55105
|
function insightsToolsCreate(client, request, options) {
|
|
54940
|
-
return new APIPromise($
|
|
55106
|
+
return new APIPromise($do64(client, request, options));
|
|
54941
55107
|
}
|
|
54942
|
-
async function $
|
|
55108
|
+
async function $do64(client, request, options) {
|
|
54943
55109
|
const parsed = safeParse(request, (value) => InsightToolInput$outboundSchema.parse(value), "Input validation failed");
|
|
54944
55110
|
if (!parsed.ok) {
|
|
54945
55111
|
return [parsed, { status: "invalid" }];
|
|
@@ -55010,12 +55176,12 @@ var init_insightsToolsCreate = __esm(() => {
|
|
|
55010
55176
|
});
|
|
55011
55177
|
|
|
55012
55178
|
// src/mcp-server/tools/insightsToolsCreate.ts
|
|
55013
|
-
var
|
|
55179
|
+
var args57, tool$insightsToolsCreate;
|
|
55014
55180
|
var init_insightsToolsCreate2 = __esm(() => {
|
|
55015
55181
|
init_insightsToolsCreate();
|
|
55016
55182
|
init_components();
|
|
55017
55183
|
init_tools();
|
|
55018
|
-
|
|
55184
|
+
args57 = {
|
|
55019
55185
|
request: InsightToolInput$inboundSchema
|
|
55020
55186
|
};
|
|
55021
55187
|
tool$insightsToolsCreate = {
|
|
@@ -55023,9 +55189,9 @@ var init_insightsToolsCreate2 = __esm(() => {
|
|
|
55023
55189
|
description: `Create Insight Tool Configuration
|
|
55024
55190
|
|
|
55025
55191
|
Create a new insight tool.`,
|
|
55026
|
-
args:
|
|
55027
|
-
tool: async (client,
|
|
55028
|
-
const [result, apiCall] = await insightsToolsCreate(client,
|
|
55192
|
+
args: args57,
|
|
55193
|
+
tool: async (client, args58, ctx) => {
|
|
55194
|
+
const [result, apiCall] = await insightsToolsCreate(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55029
55195
|
if (!result.ok) {
|
|
55030
55196
|
return {
|
|
55031
55197
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55040,9 +55206,9 @@ Create a new insight tool.`,
|
|
|
55040
55206
|
|
|
55041
55207
|
// src/funcs/insightsToolsDelete.ts
|
|
55042
55208
|
function insightsToolsDelete(client, request, options) {
|
|
55043
|
-
return new APIPromise($
|
|
55209
|
+
return new APIPromise($do65(client, request, options));
|
|
55044
55210
|
}
|
|
55045
|
-
async function $
|
|
55211
|
+
async function $do65(client, request, options) {
|
|
55046
55212
|
const parsed = safeParse(request, (value) => InsightsToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55047
55213
|
if (!parsed.ok) {
|
|
55048
55214
|
return [parsed, { status: "invalid" }];
|
|
@@ -55119,12 +55285,12 @@ var init_insightsToolsDelete = __esm(() => {
|
|
|
55119
55285
|
});
|
|
55120
55286
|
|
|
55121
55287
|
// src/mcp-server/tools/insightsToolsDelete.ts
|
|
55122
|
-
var
|
|
55288
|
+
var args58, tool$insightsToolsDelete;
|
|
55123
55289
|
var init_insightsToolsDelete2 = __esm(() => {
|
|
55124
55290
|
init_insightsToolsDelete();
|
|
55125
55291
|
init_operations();
|
|
55126
55292
|
init_tools();
|
|
55127
|
-
|
|
55293
|
+
args58 = {
|
|
55128
55294
|
request: InsightsToolDeleteRequest$inboundSchema
|
|
55129
55295
|
};
|
|
55130
55296
|
tool$insightsToolsDelete = {
|
|
@@ -55132,9 +55298,9 @@ var init_insightsToolsDelete2 = __esm(() => {
|
|
|
55132
55298
|
description: `Delete Insight Tool Configuration
|
|
55133
55299
|
|
|
55134
55300
|
Delete an Insights tool configuration.`,
|
|
55135
|
-
args:
|
|
55136
|
-
tool: async (client,
|
|
55137
|
-
const [result, apiCall] = await insightsToolsDelete(client,
|
|
55301
|
+
args: args58,
|
|
55302
|
+
tool: async (client, args59, ctx) => {
|
|
55303
|
+
const [result, apiCall] = await insightsToolsDelete(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55138
55304
|
if (!result.ok) {
|
|
55139
55305
|
return {
|
|
55140
55306
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55149,9 +55315,9 @@ Delete an Insights tool configuration.`,
|
|
|
55149
55315
|
|
|
55150
55316
|
// src/funcs/insightsToolsGetById.ts
|
|
55151
55317
|
function insightsToolsGetById(client, request, options) {
|
|
55152
|
-
return new APIPromise($
|
|
55318
|
+
return new APIPromise($do66(client, request, options));
|
|
55153
55319
|
}
|
|
55154
|
-
async function $
|
|
55320
|
+
async function $do66(client, request, options) {
|
|
55155
55321
|
const parsed = safeParse(request, (value) => InsightToolGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55156
55322
|
if (!parsed.ok) {
|
|
55157
55323
|
return [parsed, { status: "invalid" }];
|
|
@@ -55228,12 +55394,12 @@ var init_insightsToolsGetById = __esm(() => {
|
|
|
55228
55394
|
});
|
|
55229
55395
|
|
|
55230
55396
|
// src/mcp-server/tools/insightsToolsGetById.ts
|
|
55231
|
-
var
|
|
55397
|
+
var args59, tool$insightsToolsGetById;
|
|
55232
55398
|
var init_insightsToolsGetById2 = __esm(() => {
|
|
55233
55399
|
init_insightsToolsGetById();
|
|
55234
55400
|
init_operations();
|
|
55235
55401
|
init_tools();
|
|
55236
|
-
|
|
55402
|
+
args59 = {
|
|
55237
55403
|
request: InsightToolGetByIdRequest$inboundSchema
|
|
55238
55404
|
};
|
|
55239
55405
|
tool$insightsToolsGetById = {
|
|
@@ -55241,9 +55407,9 @@ var init_insightsToolsGetById2 = __esm(() => {
|
|
|
55241
55407
|
description: `Get Insight Tool Config By Id
|
|
55242
55408
|
|
|
55243
55409
|
Get a InsightTool by Name.`,
|
|
55244
|
-
args:
|
|
55245
|
-
tool: async (client,
|
|
55246
|
-
const [result, apiCall] = await insightsToolsGetById(client,
|
|
55410
|
+
args: args59,
|
|
55411
|
+
tool: async (client, args60, ctx) => {
|
|
55412
|
+
const [result, apiCall] = await insightsToolsGetById(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55247
55413
|
if (!result.ok) {
|
|
55248
55414
|
return {
|
|
55249
55415
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55258,9 +55424,9 @@ Get a InsightTool by Name.`,
|
|
|
55258
55424
|
|
|
55259
55425
|
// src/funcs/insightsToolsInsightsToolTest.ts
|
|
55260
55426
|
function insightsToolsInsightsToolTest(client, request, options) {
|
|
55261
|
-
return new APIPromise($
|
|
55427
|
+
return new APIPromise($do67(client, request, options));
|
|
55262
55428
|
}
|
|
55263
|
-
async function $
|
|
55429
|
+
async function $do67(client, request, options) {
|
|
55264
55430
|
const parsed = safeParse(request, (value) => InsightToolTestInput$outboundSchema.parse(value), "Input validation failed");
|
|
55265
55431
|
if (!parsed.ok) {
|
|
55266
55432
|
return [parsed, { status: "invalid" }];
|
|
@@ -55332,12 +55498,12 @@ var init_insightsToolsInsightsToolTest = __esm(() => {
|
|
|
55332
55498
|
});
|
|
55333
55499
|
|
|
55334
55500
|
// src/mcp-server/tools/insightsToolsInsightsToolTest.ts
|
|
55335
|
-
var
|
|
55501
|
+
var args60, tool$insightsToolsInsightsToolTest;
|
|
55336
55502
|
var init_insightsToolsInsightsToolTest2 = __esm(() => {
|
|
55337
55503
|
init_insightsToolsInsightsToolTest();
|
|
55338
55504
|
init_components();
|
|
55339
55505
|
init_tools();
|
|
55340
|
-
|
|
55506
|
+
args60 = {
|
|
55341
55507
|
request: InsightToolTestInput$inboundSchema
|
|
55342
55508
|
};
|
|
55343
55509
|
tool$insightsToolsInsightsToolTest = {
|
|
@@ -55345,9 +55511,9 @@ var init_insightsToolsInsightsToolTest2 = __esm(() => {
|
|
|
55345
55511
|
description: `Test Insights Tool
|
|
55346
55512
|
|
|
55347
55513
|
Manually run the given insight tool against a session and return the response.`,
|
|
55348
|
-
args:
|
|
55349
|
-
tool: async (client,
|
|
55350
|
-
const [result, apiCall] = await insightsToolsInsightsToolTest(client,
|
|
55514
|
+
args: args60,
|
|
55515
|
+
tool: async (client, args61, ctx) => {
|
|
55516
|
+
const [result, apiCall] = await insightsToolsInsightsToolTest(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55351
55517
|
if (!result.ok) {
|
|
55352
55518
|
return {
|
|
55353
55519
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55362,9 +55528,9 @@ Manually run the given insight tool against a session and return the response.`,
|
|
|
55362
55528
|
|
|
55363
55529
|
// src/funcs/insightsToolsInsightToolGetDefinitions.ts
|
|
55364
55530
|
function insightsToolsInsightToolGetDefinitions(client, options) {
|
|
55365
|
-
return new APIPromise($
|
|
55531
|
+
return new APIPromise($do68(client, options));
|
|
55366
55532
|
}
|
|
55367
|
-
async function $
|
|
55533
|
+
async function $do68(client, options) {
|
|
55368
55534
|
const path = pathToFunc("/api/v1/insights/tool-definitions")();
|
|
55369
55535
|
const headers = new Headers(compactMap({
|
|
55370
55536
|
Accept: "application/json"
|
|
@@ -55447,9 +55613,9 @@ Get a InsightTool by Name.`,
|
|
|
55447
55613
|
|
|
55448
55614
|
// src/funcs/insightsToolsList.ts
|
|
55449
55615
|
function insightsToolsList(client, request, options) {
|
|
55450
|
-
return new APIPromise($
|
|
55616
|
+
return new APIPromise($do69(client, request, options));
|
|
55451
55617
|
}
|
|
55452
|
-
async function $
|
|
55618
|
+
async function $do69(client, request, options) {
|
|
55453
55619
|
const parsed = safeParse(request, (value) => InsightToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55454
55620
|
if (!parsed.ok) {
|
|
55455
55621
|
return [parsed, { status: "invalid" }];
|
|
@@ -55532,12 +55698,12 @@ var init_insightsToolsList = __esm(() => {
|
|
|
55532
55698
|
});
|
|
55533
55699
|
|
|
55534
55700
|
// src/mcp-server/tools/insightsToolsList.ts
|
|
55535
|
-
var
|
|
55701
|
+
var args61, tool$insightsToolsList;
|
|
55536
55702
|
var init_insightsToolsList2 = __esm(() => {
|
|
55537
55703
|
init_insightsToolsList();
|
|
55538
55704
|
init_operations();
|
|
55539
55705
|
init_tools();
|
|
55540
|
-
|
|
55706
|
+
args61 = {
|
|
55541
55707
|
request: InsightToolListRequest$inboundSchema
|
|
55542
55708
|
};
|
|
55543
55709
|
tool$insightsToolsList = {
|
|
@@ -55545,9 +55711,9 @@ var init_insightsToolsList2 = __esm(() => {
|
|
|
55545
55711
|
description: `List Insight Tool Configurations
|
|
55546
55712
|
|
|
55547
55713
|
List the existing insight_tools`,
|
|
55548
|
-
args:
|
|
55549
|
-
tool: async (client,
|
|
55550
|
-
const [result, apiCall] = await insightsToolsList(client,
|
|
55714
|
+
args: args61,
|
|
55715
|
+
tool: async (client, args62, ctx) => {
|
|
55716
|
+
const [result, apiCall] = await insightsToolsList(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55551
55717
|
if (!result.ok) {
|
|
55552
55718
|
return {
|
|
55553
55719
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55562,9 +55728,9 @@ List the existing insight_tools`,
|
|
|
55562
55728
|
|
|
55563
55729
|
// src/funcs/insightsToolsUpdate.ts
|
|
55564
55730
|
function insightsToolsUpdate(client, request, options) {
|
|
55565
|
-
return new APIPromise($
|
|
55731
|
+
return new APIPromise($do70(client, request, options));
|
|
55566
55732
|
}
|
|
55567
|
-
async function $
|
|
55733
|
+
async function $do70(client, request, options) {
|
|
55568
55734
|
const parsed = safeParse(request, (value) => InsightsToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55569
55735
|
if (!parsed.ok) {
|
|
55570
55736
|
return [parsed, { status: "invalid" }];
|
|
@@ -55642,12 +55808,12 @@ var init_insightsToolsUpdate = __esm(() => {
|
|
|
55642
55808
|
});
|
|
55643
55809
|
|
|
55644
55810
|
// src/mcp-server/tools/insightsToolsUpdate.ts
|
|
55645
|
-
var
|
|
55811
|
+
var args62, tool$insightsToolsUpdate;
|
|
55646
55812
|
var init_insightsToolsUpdate2 = __esm(() => {
|
|
55647
55813
|
init_insightsToolsUpdate();
|
|
55648
55814
|
init_operations();
|
|
55649
55815
|
init_tools();
|
|
55650
|
-
|
|
55816
|
+
args62 = {
|
|
55651
55817
|
request: InsightsToolUpdateRequest$inboundSchema
|
|
55652
55818
|
};
|
|
55653
55819
|
tool$insightsToolsUpdate = {
|
|
@@ -55655,9 +55821,9 @@ var init_insightsToolsUpdate2 = __esm(() => {
|
|
|
55655
55821
|
description: `Update Insights Tool Configuration
|
|
55656
55822
|
|
|
55657
55823
|
Update an Insights tool.`,
|
|
55658
|
-
args:
|
|
55659
|
-
tool: async (client,
|
|
55660
|
-
const [result, apiCall] = await insightsToolsUpdate(client,
|
|
55824
|
+
args: args62,
|
|
55825
|
+
tool: async (client, args63, ctx) => {
|
|
55826
|
+
const [result, apiCall] = await insightsToolsUpdate(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55661
55827
|
if (!result.ok) {
|
|
55662
55828
|
return {
|
|
55663
55829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55672,9 +55838,9 @@ Update an Insights tool.`,
|
|
|
55672
55838
|
|
|
55673
55839
|
// src/funcs/insightsWorkflowsActivate.ts
|
|
55674
55840
|
function insightsWorkflowsActivate(client, request, options) {
|
|
55675
|
-
return new APIPromise($
|
|
55841
|
+
return new APIPromise($do71(client, request, options));
|
|
55676
55842
|
}
|
|
55677
|
-
async function $
|
|
55843
|
+
async function $do71(client, request, options) {
|
|
55678
55844
|
const parsed = safeParse(request, (value) => InsightsWorkflowActivateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55679
55845
|
if (!parsed.ok) {
|
|
55680
55846
|
return [parsed, { status: "invalid" }];
|
|
@@ -55754,12 +55920,12 @@ var init_insightsWorkflowsActivate = __esm(() => {
|
|
|
55754
55920
|
});
|
|
55755
55921
|
|
|
55756
55922
|
// src/mcp-server/tools/insightsWorkflowsActivate.ts
|
|
55757
|
-
var
|
|
55923
|
+
var args63, tool$insightsWorkflowsActivate;
|
|
55758
55924
|
var init_insightsWorkflowsActivate2 = __esm(() => {
|
|
55759
55925
|
init_insightsWorkflowsActivate();
|
|
55760
55926
|
init_operations();
|
|
55761
55927
|
init_tools();
|
|
55762
|
-
|
|
55928
|
+
args63 = {
|
|
55763
55929
|
request: InsightsWorkflowActivateRequest$inboundSchema
|
|
55764
55930
|
};
|
|
55765
55931
|
tool$insightsWorkflowsActivate = {
|
|
@@ -55767,9 +55933,9 @@ var init_insightsWorkflowsActivate2 = __esm(() => {
|
|
|
55767
55933
|
description: `Activate Insights Workflow
|
|
55768
55934
|
|
|
55769
55935
|
Activate an InsightWorkflow.`,
|
|
55770
|
-
args:
|
|
55771
|
-
tool: async (client,
|
|
55772
|
-
const [result, apiCall] = await insightsWorkflowsActivate(client,
|
|
55936
|
+
args: args63,
|
|
55937
|
+
tool: async (client, args64, ctx) => {
|
|
55938
|
+
const [result, apiCall] = await insightsWorkflowsActivate(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55773
55939
|
if (!result.ok) {
|
|
55774
55940
|
return {
|
|
55775
55941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55784,9 +55950,9 @@ Activate an InsightWorkflow.`,
|
|
|
55784
55950
|
|
|
55785
55951
|
// src/funcs/insightsWorkflowsCreate.ts
|
|
55786
55952
|
function insightsWorkflowsCreate(client, request, options) {
|
|
55787
|
-
return new APIPromise($
|
|
55953
|
+
return new APIPromise($do72(client, request, options));
|
|
55788
55954
|
}
|
|
55789
|
-
async function $
|
|
55955
|
+
async function $do72(client, request, options) {
|
|
55790
55956
|
const parsed = safeParse(request, (value) => InsightWorkflowInput$outboundSchema.parse(value), "Input validation failed");
|
|
55791
55957
|
if (!parsed.ok) {
|
|
55792
55958
|
return [parsed, { status: "invalid" }];
|
|
@@ -55857,12 +56023,12 @@ var init_insightsWorkflowsCreate = __esm(() => {
|
|
|
55857
56023
|
});
|
|
55858
56024
|
|
|
55859
56025
|
// src/mcp-server/tools/insightsWorkflowsCreate.ts
|
|
55860
|
-
var
|
|
56026
|
+
var args64, tool$insightsWorkflowsCreate;
|
|
55861
56027
|
var init_insightsWorkflowsCreate2 = __esm(() => {
|
|
55862
56028
|
init_insightsWorkflowsCreate();
|
|
55863
56029
|
init_components();
|
|
55864
56030
|
init_tools();
|
|
55865
|
-
|
|
56031
|
+
args64 = {
|
|
55866
56032
|
request: InsightWorkflowInput$inboundSchema
|
|
55867
56033
|
};
|
|
55868
56034
|
tool$insightsWorkflowsCreate = {
|
|
@@ -55870,9 +56036,9 @@ var init_insightsWorkflowsCreate2 = __esm(() => {
|
|
|
55870
56036
|
description: `Create Insight Workflow
|
|
55871
56037
|
|
|
55872
56038
|
Create a new tool in the insights`,
|
|
55873
|
-
args:
|
|
55874
|
-
tool: async (client,
|
|
55875
|
-
const [result, apiCall] = await insightsWorkflowsCreate(client,
|
|
56039
|
+
args: args64,
|
|
56040
|
+
tool: async (client, args65, ctx) => {
|
|
56041
|
+
const [result, apiCall] = await insightsWorkflowsCreate(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55876
56042
|
if (!result.ok) {
|
|
55877
56043
|
return {
|
|
55878
56044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55887,9 +56053,9 @@ Create a new tool in the insights`,
|
|
|
55887
56053
|
|
|
55888
56054
|
// src/funcs/insightsWorkflowsDelete.ts
|
|
55889
56055
|
function insightsWorkflowsDelete(client, request, options) {
|
|
55890
|
-
return new APIPromise($
|
|
56056
|
+
return new APIPromise($do73(client, request, options));
|
|
55891
56057
|
}
|
|
55892
|
-
async function $
|
|
56058
|
+
async function $do73(client, request, options) {
|
|
55893
56059
|
const parsed = safeParse(request, (value) => InsightsWorkflowDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55894
56060
|
if (!parsed.ok) {
|
|
55895
56061
|
return [parsed, { status: "invalid" }];
|
|
@@ -55966,12 +56132,12 @@ var init_insightsWorkflowsDelete = __esm(() => {
|
|
|
55966
56132
|
});
|
|
55967
56133
|
|
|
55968
56134
|
// src/mcp-server/tools/insightsWorkflowsDelete.ts
|
|
55969
|
-
var
|
|
56135
|
+
var args65, tool$insightsWorkflowsDelete;
|
|
55970
56136
|
var init_insightsWorkflowsDelete2 = __esm(() => {
|
|
55971
56137
|
init_insightsWorkflowsDelete();
|
|
55972
56138
|
init_operations();
|
|
55973
56139
|
init_tools();
|
|
55974
|
-
|
|
56140
|
+
args65 = {
|
|
55975
56141
|
request: InsightsWorkflowDeleteRequest$inboundSchema
|
|
55976
56142
|
};
|
|
55977
56143
|
tool$insightsWorkflowsDelete = {
|
|
@@ -55979,9 +56145,9 @@ var init_insightsWorkflowsDelete2 = __esm(() => {
|
|
|
55979
56145
|
description: `Delete Insights Workflow
|
|
55980
56146
|
|
|
55981
56147
|
Delete an Insights workflow.`,
|
|
55982
|
-
args:
|
|
55983
|
-
tool: async (client,
|
|
55984
|
-
const [result, apiCall] = await insightsWorkflowsDelete(client,
|
|
56148
|
+
args: args65,
|
|
56149
|
+
tool: async (client, args66, ctx) => {
|
|
56150
|
+
const [result, apiCall] = await insightsWorkflowsDelete(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55985
56151
|
if (!result.ok) {
|
|
55986
56152
|
return {
|
|
55987
56153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55996,9 +56162,9 @@ Delete an Insights workflow.`,
|
|
|
55996
56162
|
|
|
55997
56163
|
// src/funcs/insightsWorkflowsGetById.ts
|
|
55998
56164
|
function insightsWorkflowsGetById(client, request, options) {
|
|
55999
|
-
return new APIPromise($
|
|
56165
|
+
return new APIPromise($do74(client, request, options));
|
|
56000
56166
|
}
|
|
56001
|
-
async function $
|
|
56167
|
+
async function $do74(client, request, options) {
|
|
56002
56168
|
const parsed = safeParse(request, (value) => InsightsWorkflowGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56003
56169
|
if (!parsed.ok) {
|
|
56004
56170
|
return [parsed, { status: "invalid" }];
|
|
@@ -56075,12 +56241,12 @@ var init_insightsWorkflowsGetById = __esm(() => {
|
|
|
56075
56241
|
});
|
|
56076
56242
|
|
|
56077
56243
|
// src/mcp-server/tools/insightsWorkflowsGetById.ts
|
|
56078
|
-
var
|
|
56244
|
+
var args66, tool$insightsWorkflowsGetById;
|
|
56079
56245
|
var init_insightsWorkflowsGetById2 = __esm(() => {
|
|
56080
56246
|
init_insightsWorkflowsGetById();
|
|
56081
56247
|
init_operations();
|
|
56082
56248
|
init_tools();
|
|
56083
|
-
|
|
56249
|
+
args66 = {
|
|
56084
56250
|
request: InsightsWorkflowGetByIdRequest$inboundSchema
|
|
56085
56251
|
};
|
|
56086
56252
|
tool$insightsWorkflowsGetById = {
|
|
@@ -56088,9 +56254,9 @@ var init_insightsWorkflowsGetById2 = __esm(() => {
|
|
|
56088
56254
|
description: `Get Insight Workflow By Id
|
|
56089
56255
|
|
|
56090
56256
|
Get a InsightWorkflow by ID.`,
|
|
56091
|
-
args:
|
|
56092
|
-
tool: async (client,
|
|
56093
|
-
const [result, apiCall] = await insightsWorkflowsGetById(client,
|
|
56257
|
+
args: args66,
|
|
56258
|
+
tool: async (client, args67, ctx) => {
|
|
56259
|
+
const [result, apiCall] = await insightsWorkflowsGetById(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56094
56260
|
if (!result.ok) {
|
|
56095
56261
|
return {
|
|
56096
56262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56105,9 +56271,9 @@ Get a InsightWorkflow by ID.`,
|
|
|
56105
56271
|
|
|
56106
56272
|
// src/funcs/insightsWorkflowsInactivate.ts
|
|
56107
56273
|
function insightsWorkflowsInactivate(client, request, options) {
|
|
56108
|
-
return new APIPromise($
|
|
56274
|
+
return new APIPromise($do75(client, request, options));
|
|
56109
56275
|
}
|
|
56110
|
-
async function $
|
|
56276
|
+
async function $do75(client, request, options) {
|
|
56111
56277
|
const parsed = safeParse(request, (value) => InsightsWorkflowInactivateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56112
56278
|
if (!parsed.ok) {
|
|
56113
56279
|
return [parsed, { status: "invalid" }];
|
|
@@ -56184,12 +56350,12 @@ var init_insightsWorkflowsInactivate = __esm(() => {
|
|
|
56184
56350
|
});
|
|
56185
56351
|
|
|
56186
56352
|
// src/mcp-server/tools/insightsWorkflowsInactivate.ts
|
|
56187
|
-
var
|
|
56353
|
+
var args67, tool$insightsWorkflowsInactivate;
|
|
56188
56354
|
var init_insightsWorkflowsInactivate2 = __esm(() => {
|
|
56189
56355
|
init_insightsWorkflowsInactivate();
|
|
56190
56356
|
init_operations();
|
|
56191
56357
|
init_tools();
|
|
56192
|
-
|
|
56358
|
+
args67 = {
|
|
56193
56359
|
request: InsightsWorkflowInactivateRequest$inboundSchema
|
|
56194
56360
|
};
|
|
56195
56361
|
tool$insightsWorkflowsInactivate = {
|
|
@@ -56197,9 +56363,9 @@ var init_insightsWorkflowsInactivate2 = __esm(() => {
|
|
|
56197
56363
|
description: `Inactivate Insights Workflow
|
|
56198
56364
|
|
|
56199
56365
|
Inactivate an InsightWorkflow.`,
|
|
56200
|
-
args:
|
|
56201
|
-
tool: async (client,
|
|
56202
|
-
const [result, apiCall] = await insightsWorkflowsInactivate(client,
|
|
56366
|
+
args: args67,
|
|
56367
|
+
tool: async (client, args68, ctx) => {
|
|
56368
|
+
const [result, apiCall] = await insightsWorkflowsInactivate(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56203
56369
|
if (!result.ok) {
|
|
56204
56370
|
return {
|
|
56205
56371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56214,9 +56380,9 @@ Inactivate an InsightWorkflow.`,
|
|
|
56214
56380
|
|
|
56215
56381
|
// src/funcs/insightsWorkflowsList.ts
|
|
56216
56382
|
function insightsWorkflowsList(client, request, options) {
|
|
56217
|
-
return new APIPromise($
|
|
56383
|
+
return new APIPromise($do76(client, request, options));
|
|
56218
56384
|
}
|
|
56219
|
-
async function $
|
|
56385
|
+
async function $do76(client, request, options) {
|
|
56220
56386
|
const parsed = safeParse(request, (value) => InsightsWorkflowListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56221
56387
|
if (!parsed.ok) {
|
|
56222
56388
|
return [parsed, { status: "invalid" }];
|
|
@@ -56299,12 +56465,12 @@ var init_insightsWorkflowsList = __esm(() => {
|
|
|
56299
56465
|
});
|
|
56300
56466
|
|
|
56301
56467
|
// src/mcp-server/tools/insightsWorkflowsList.ts
|
|
56302
|
-
var
|
|
56468
|
+
var args68, tool$insightsWorkflowsList;
|
|
56303
56469
|
var init_insightsWorkflowsList2 = __esm(() => {
|
|
56304
56470
|
init_insightsWorkflowsList();
|
|
56305
56471
|
init_operations();
|
|
56306
56472
|
init_tools();
|
|
56307
|
-
|
|
56473
|
+
args68 = {
|
|
56308
56474
|
request: InsightsWorkflowListRequest$inboundSchema
|
|
56309
56475
|
};
|
|
56310
56476
|
tool$insightsWorkflowsList = {
|
|
@@ -56312,9 +56478,9 @@ var init_insightsWorkflowsList2 = __esm(() => {
|
|
|
56312
56478
|
description: `Insight Workflow List
|
|
56313
56479
|
|
|
56314
56480
|
List the existing insight_workflows`,
|
|
56315
|
-
args:
|
|
56316
|
-
tool: async (client,
|
|
56317
|
-
const [result, apiCall] = await insightsWorkflowsList(client,
|
|
56481
|
+
args: args68,
|
|
56482
|
+
tool: async (client, args69, ctx) => {
|
|
56483
|
+
const [result, apiCall] = await insightsWorkflowsList(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56318
56484
|
if (!result.ok) {
|
|
56319
56485
|
return {
|
|
56320
56486
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56329,9 +56495,9 @@ List the existing insight_workflows`,
|
|
|
56329
56495
|
|
|
56330
56496
|
// src/funcs/insightsWorkflowsQueueWork.ts
|
|
56331
56497
|
function insightsWorkflowsQueueWork(client, request, options) {
|
|
56332
|
-
return new APIPromise($
|
|
56498
|
+
return new APIPromise($do77(client, request, options));
|
|
56333
56499
|
}
|
|
56334
|
-
async function $
|
|
56500
|
+
async function $do77(client, request, options) {
|
|
56335
56501
|
const parsed = safeParse(request, (value) => InsightsWorkflowQueueSession$outboundSchema.parse(value), "Input validation failed");
|
|
56336
56502
|
if (!parsed.ok) {
|
|
56337
56503
|
return [parsed, { status: "invalid" }];
|
|
@@ -56403,12 +56569,12 @@ var init_insightsWorkflowsQueueWork = __esm(() => {
|
|
|
56403
56569
|
});
|
|
56404
56570
|
|
|
56405
56571
|
// src/mcp-server/tools/insightsWorkflowsQueueWork.ts
|
|
56406
|
-
var
|
|
56572
|
+
var args69, tool$insightsWorkflowsQueueWork;
|
|
56407
56573
|
var init_insightsWorkflowsQueueWork2 = __esm(() => {
|
|
56408
56574
|
init_insightsWorkflowsQueueWork();
|
|
56409
56575
|
init_components();
|
|
56410
56576
|
init_tools();
|
|
56411
|
-
|
|
56577
|
+
args69 = {
|
|
56412
56578
|
request: InsightsWorkflowQueueSession$inboundSchema
|
|
56413
56579
|
};
|
|
56414
56580
|
tool$insightsWorkflowsQueueWork = {
|
|
@@ -56416,9 +56582,9 @@ var init_insightsWorkflowsQueueWork2 = __esm(() => {
|
|
|
56416
56582
|
description: `Queue Insights Workflow For Sessions/Files
|
|
56417
56583
|
|
|
56418
56584
|
Manually queue sessions for insights workflow evaluation.`,
|
|
56419
|
-
args:
|
|
56420
|
-
tool: async (client,
|
|
56421
|
-
const [result, apiCall] = await insightsWorkflowsQueueWork(client,
|
|
56585
|
+
args: args69,
|
|
56586
|
+
tool: async (client, args70, ctx) => {
|
|
56587
|
+
const [result, apiCall] = await insightsWorkflowsQueueWork(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56422
56588
|
if (!result.ok) {
|
|
56423
56589
|
return {
|
|
56424
56590
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56433,9 +56599,9 @@ Manually queue sessions for insights workflow evaluation.`,
|
|
|
56433
56599
|
|
|
56434
56600
|
// src/funcs/insightsWorkflowsUpdate.ts
|
|
56435
56601
|
function insightsWorkflowsUpdate(client, request, options) {
|
|
56436
|
-
return new APIPromise($
|
|
56602
|
+
return new APIPromise($do78(client, request, options));
|
|
56437
56603
|
}
|
|
56438
|
-
async function $
|
|
56604
|
+
async function $do78(client, request, options) {
|
|
56439
56605
|
const parsed = safeParse(request, (value) => InsightsWorkflowUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56440
56606
|
if (!parsed.ok) {
|
|
56441
56607
|
return [parsed, { status: "invalid" }];
|
|
@@ -56515,12 +56681,12 @@ var init_insightsWorkflowsUpdate = __esm(() => {
|
|
|
56515
56681
|
});
|
|
56516
56682
|
|
|
56517
56683
|
// src/mcp-server/tools/insightsWorkflowsUpdate.ts
|
|
56518
|
-
var
|
|
56684
|
+
var args70, tool$insightsWorkflowsUpdate;
|
|
56519
56685
|
var init_insightsWorkflowsUpdate2 = __esm(() => {
|
|
56520
56686
|
init_insightsWorkflowsUpdate();
|
|
56521
56687
|
init_operations();
|
|
56522
56688
|
init_tools();
|
|
56523
|
-
|
|
56689
|
+
args70 = {
|
|
56524
56690
|
request: InsightsWorkflowUpdateRequest$inboundSchema
|
|
56525
56691
|
};
|
|
56526
56692
|
tool$insightsWorkflowsUpdate = {
|
|
@@ -56528,9 +56694,9 @@ var init_insightsWorkflowsUpdate2 = __esm(() => {
|
|
|
56528
56694
|
description: `Update Insights Workflow
|
|
56529
56695
|
|
|
56530
56696
|
Update a InsightWorkflow.`,
|
|
56531
|
-
args:
|
|
56532
|
-
tool: async (client,
|
|
56533
|
-
const [result, apiCall] = await insightsWorkflowsUpdate(client,
|
|
56697
|
+
args: args70,
|
|
56698
|
+
tool: async (client, args71, ctx) => {
|
|
56699
|
+
const [result, apiCall] = await insightsWorkflowsUpdate(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56534
56700
|
if (!result.ok) {
|
|
56535
56701
|
return {
|
|
56536
56702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56545,9 +56711,9 @@ Update a InsightWorkflow.`,
|
|
|
56545
56711
|
|
|
56546
56712
|
// src/funcs/languageGroupsCreate.ts
|
|
56547
56713
|
function languageGroupsCreate(client, request, options) {
|
|
56548
|
-
return new APIPromise($
|
|
56714
|
+
return new APIPromise($do79(client, request, options));
|
|
56549
56715
|
}
|
|
56550
|
-
async function $
|
|
56716
|
+
async function $do79(client, request, options) {
|
|
56551
56717
|
const parsed = safeParse(request, (value) => LanguageGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56552
56718
|
if (!parsed.ok) {
|
|
56553
56719
|
return [parsed, { status: "invalid" }];
|
|
@@ -56618,12 +56784,12 @@ var init_languageGroupsCreate = __esm(() => {
|
|
|
56618
56784
|
});
|
|
56619
56785
|
|
|
56620
56786
|
// src/mcp-server/tools/languageGroupsCreate.ts
|
|
56621
|
-
var
|
|
56787
|
+
var args71, tool$languageGroupsCreate;
|
|
56622
56788
|
var init_languageGroupsCreate2 = __esm(() => {
|
|
56623
56789
|
init_languageGroupsCreate();
|
|
56624
56790
|
init_components();
|
|
56625
56791
|
init_tools();
|
|
56626
|
-
|
|
56792
|
+
args71 = {
|
|
56627
56793
|
request: LanguageGroupCreateRequest$inboundSchema
|
|
56628
56794
|
};
|
|
56629
56795
|
tool$languageGroupsCreate = {
|
|
@@ -56631,9 +56797,9 @@ var init_languageGroupsCreate2 = __esm(() => {
|
|
|
56631
56797
|
description: `Create Language Group
|
|
56632
56798
|
|
|
56633
56799
|
Deprecated alias for \`POST /api/v1/voice_groups/\`.`,
|
|
56634
|
-
args:
|
|
56635
|
-
tool: async (client,
|
|
56636
|
-
const [result, apiCall] = await languageGroupsCreate(client,
|
|
56800
|
+
args: args71,
|
|
56801
|
+
tool: async (client, args72, ctx) => {
|
|
56802
|
+
const [result, apiCall] = await languageGroupsCreate(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56637
56803
|
if (!result.ok) {
|
|
56638
56804
|
return {
|
|
56639
56805
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56648,9 +56814,9 @@ Deprecated alias for \`POST /api/v1/voice_groups/\`.`,
|
|
|
56648
56814
|
|
|
56649
56815
|
// src/funcs/languageGroupsDelete.ts
|
|
56650
56816
|
function languageGroupsDelete(client, request, options) {
|
|
56651
|
-
return new APIPromise($
|
|
56817
|
+
return new APIPromise($do80(client, request, options));
|
|
56652
56818
|
}
|
|
56653
|
-
async function $
|
|
56819
|
+
async function $do80(client, request, options) {
|
|
56654
56820
|
const parsed = safeParse(request, (value) => LanguageGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56655
56821
|
if (!parsed.ok) {
|
|
56656
56822
|
return [parsed, { status: "invalid" }];
|
|
@@ -56728,12 +56894,12 @@ var init_languageGroupsDelete = __esm(() => {
|
|
|
56728
56894
|
});
|
|
56729
56895
|
|
|
56730
56896
|
// src/mcp-server/tools/languageGroupsDelete.ts
|
|
56731
|
-
var
|
|
56897
|
+
var args72, tool$languageGroupsDelete;
|
|
56732
56898
|
var init_languageGroupsDelete2 = __esm(() => {
|
|
56733
56899
|
init_languageGroupsDelete();
|
|
56734
56900
|
init_operations();
|
|
56735
56901
|
init_tools();
|
|
56736
|
-
|
|
56902
|
+
args72 = {
|
|
56737
56903
|
request: LanguageGroupsDeleteRequest$inboundSchema
|
|
56738
56904
|
};
|
|
56739
56905
|
tool$languageGroupsDelete = {
|
|
@@ -56741,9 +56907,9 @@ var init_languageGroupsDelete2 = __esm(() => {
|
|
|
56741
56907
|
description: `Delete Language Group
|
|
56742
56908
|
|
|
56743
56909
|
Deprecated alias for \`DELETE /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
56744
|
-
args:
|
|
56745
|
-
tool: async (client,
|
|
56746
|
-
const [result, apiCall] = await languageGroupsDelete(client,
|
|
56910
|
+
args: args72,
|
|
56911
|
+
tool: async (client, args73, ctx) => {
|
|
56912
|
+
const [result, apiCall] = await languageGroupsDelete(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56747
56913
|
if (!result.ok) {
|
|
56748
56914
|
return {
|
|
56749
56915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56758,9 +56924,9 @@ Deprecated alias for \`DELETE /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
|
56758
56924
|
|
|
56759
56925
|
// src/funcs/languageGroupsGetById.ts
|
|
56760
56926
|
function languageGroupsGetById(client, request, options) {
|
|
56761
|
-
return new APIPromise($
|
|
56927
|
+
return new APIPromise($do81(client, request, options));
|
|
56762
56928
|
}
|
|
56763
|
-
async function $
|
|
56929
|
+
async function $do81(client, request, options) {
|
|
56764
56930
|
const parsed = safeParse(request, (value) => LanguageGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56765
56931
|
if (!parsed.ok) {
|
|
56766
56932
|
return [parsed, { status: "invalid" }];
|
|
@@ -56834,12 +57000,12 @@ var init_languageGroupsGetById = __esm(() => {
|
|
|
56834
57000
|
});
|
|
56835
57001
|
|
|
56836
57002
|
// src/mcp-server/tools/languageGroupsGetById.ts
|
|
56837
|
-
var
|
|
57003
|
+
var args73, tool$languageGroupsGetById;
|
|
56838
57004
|
var init_languageGroupsGetById2 = __esm(() => {
|
|
56839
57005
|
init_languageGroupsGetById();
|
|
56840
57006
|
init_operations();
|
|
56841
57007
|
init_tools();
|
|
56842
|
-
|
|
57008
|
+
args73 = {
|
|
56843
57009
|
request: LanguageGroupsGetByIdRequest$inboundSchema
|
|
56844
57010
|
};
|
|
56845
57011
|
tool$languageGroupsGetById = {
|
|
@@ -56847,9 +57013,9 @@ var init_languageGroupsGetById2 = __esm(() => {
|
|
|
56847
57013
|
description: `Get Language Group
|
|
56848
57014
|
|
|
56849
57015
|
Deprecated alias for \`GET /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
56850
|
-
args:
|
|
56851
|
-
tool: async (client,
|
|
56852
|
-
const [result, apiCall] = await languageGroupsGetById(client,
|
|
57016
|
+
args: args73,
|
|
57017
|
+
tool: async (client, args74, ctx) => {
|
|
57018
|
+
const [result, apiCall] = await languageGroupsGetById(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56853
57019
|
if (!result.ok) {
|
|
56854
57020
|
return {
|
|
56855
57021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56864,9 +57030,9 @@ Deprecated alias for \`GET /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
|
56864
57030
|
|
|
56865
57031
|
// src/funcs/languageGroupsLanguageGroupsCreateVoiceSample.ts
|
|
56866
57032
|
function languageGroupsLanguageGroupsCreateVoiceSample(client, request, options) {
|
|
56867
|
-
return new APIPromise($
|
|
57033
|
+
return new APIPromise($do82(client, request, options));
|
|
56868
57034
|
}
|
|
56869
|
-
async function $
|
|
57035
|
+
async function $do82(client, request, options) {
|
|
56870
57036
|
const parsed = safeParse(request, (value) => LanguageSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56871
57037
|
if (!parsed.ok) {
|
|
56872
57038
|
return [parsed, { status: "invalid" }];
|
|
@@ -56938,12 +57104,12 @@ var init_languageGroupsLanguageGroupsCreateVoiceSample = __esm(() => {
|
|
|
56938
57104
|
});
|
|
56939
57105
|
|
|
56940
57106
|
// src/mcp-server/tools/languageGroupsLanguageGroupsCreateVoiceSample.ts
|
|
56941
|
-
var
|
|
57107
|
+
var args74, tool$languageGroupsLanguageGroupsCreateVoiceSample;
|
|
56942
57108
|
var init_languageGroupsLanguageGroupsCreateVoiceSample2 = __esm(() => {
|
|
56943
57109
|
init_languageGroupsLanguageGroupsCreateVoiceSample();
|
|
56944
57110
|
init_components();
|
|
56945
57111
|
init_tools();
|
|
56946
|
-
|
|
57112
|
+
args74 = {
|
|
56947
57113
|
request: LanguageSampleCreateRequest$inboundSchema
|
|
56948
57114
|
};
|
|
56949
57115
|
tool$languageGroupsLanguageGroupsCreateVoiceSample = {
|
|
@@ -56951,9 +57117,9 @@ var init_languageGroupsLanguageGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
56951
57117
|
description: `Create Voice Sample
|
|
56952
57118
|
|
|
56953
57119
|
Deprecated alias for \`POST /api/v1/voice_groups/voices/sample\`.`,
|
|
56954
|
-
args:
|
|
56955
|
-
tool: async (client,
|
|
56956
|
-
const [result, apiCall] = await languageGroupsLanguageGroupsCreateVoiceSample(client,
|
|
57120
|
+
args: args74,
|
|
57121
|
+
tool: async (client, args75, ctx) => {
|
|
57122
|
+
const [result, apiCall] = await languageGroupsLanguageGroupsCreateVoiceSample(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56957
57123
|
if (!result.ok) {
|
|
56958
57124
|
return {
|
|
56959
57125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56968,9 +57134,9 @@ Deprecated alias for \`POST /api/v1/voice_groups/voices/sample\`.`,
|
|
|
56968
57134
|
|
|
56969
57135
|
// src/funcs/languageGroupsList.ts
|
|
56970
57136
|
function languageGroupsList(client, request, options) {
|
|
56971
|
-
return new APIPromise($
|
|
57137
|
+
return new APIPromise($do83(client, request, options));
|
|
56972
57138
|
}
|
|
56973
|
-
async function $
|
|
57139
|
+
async function $do83(client, request, options) {
|
|
56974
57140
|
const parsed = safeParse(request, (value) => LanguageGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56975
57141
|
if (!parsed.ok) {
|
|
56976
57142
|
return [parsed, { status: "invalid" }];
|
|
@@ -57053,12 +57219,12 @@ var init_languageGroupsList = __esm(() => {
|
|
|
57053
57219
|
});
|
|
57054
57220
|
|
|
57055
57221
|
// src/mcp-server/tools/languageGroupsList.ts
|
|
57056
|
-
var
|
|
57222
|
+
var args75, tool$languageGroupsList;
|
|
57057
57223
|
var init_languageGroupsList2 = __esm(() => {
|
|
57058
57224
|
init_languageGroupsList();
|
|
57059
57225
|
init_operations();
|
|
57060
57226
|
init_tools();
|
|
57061
|
-
|
|
57227
|
+
args75 = {
|
|
57062
57228
|
request: LanguageGroupsListRequest$inboundSchema
|
|
57063
57229
|
};
|
|
57064
57230
|
tool$languageGroupsList = {
|
|
@@ -57066,9 +57232,9 @@ var init_languageGroupsList2 = __esm(() => {
|
|
|
57066
57232
|
description: `List Language Groups
|
|
57067
57233
|
|
|
57068
57234
|
Deprecated alias for \`GET /api/v1/voice_groups/\`.`,
|
|
57069
|
-
args:
|
|
57070
|
-
tool: async (client,
|
|
57071
|
-
const [result, apiCall] = await languageGroupsList(client,
|
|
57235
|
+
args: args75,
|
|
57236
|
+
tool: async (client, args76, ctx) => {
|
|
57237
|
+
const [result, apiCall] = await languageGroupsList(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57072
57238
|
if (!result.ok) {
|
|
57073
57239
|
return {
|
|
57074
57240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57083,9 +57249,9 @@ Deprecated alias for \`GET /api/v1/voice_groups/\`.`,
|
|
|
57083
57249
|
|
|
57084
57250
|
// src/funcs/languageGroupsUpdate.ts
|
|
57085
57251
|
function languageGroupsUpdate(client, request, options) {
|
|
57086
|
-
return new APIPromise($
|
|
57252
|
+
return new APIPromise($do84(client, request, options));
|
|
57087
57253
|
}
|
|
57088
|
-
async function $
|
|
57254
|
+
async function $do84(client, request, options) {
|
|
57089
57255
|
const parsed = safeParse(request, (value) => LanguageGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57090
57256
|
if (!parsed.ok) {
|
|
57091
57257
|
return [parsed, { status: "invalid" }];
|
|
@@ -57156,12 +57322,12 @@ var init_languageGroupsUpdate = __esm(() => {
|
|
|
57156
57322
|
});
|
|
57157
57323
|
|
|
57158
57324
|
// src/mcp-server/tools/languageGroupsUpdate.ts
|
|
57159
|
-
var
|
|
57325
|
+
var args76, tool$languageGroupsUpdate;
|
|
57160
57326
|
var init_languageGroupsUpdate2 = __esm(() => {
|
|
57161
57327
|
init_languageGroupsUpdate();
|
|
57162
57328
|
init_components();
|
|
57163
57329
|
init_tools();
|
|
57164
|
-
|
|
57330
|
+
args76 = {
|
|
57165
57331
|
request: LanguageGroupUpdateRequest$inboundSchema
|
|
57166
57332
|
};
|
|
57167
57333
|
tool$languageGroupsUpdate = {
|
|
@@ -57169,9 +57335,9 @@ var init_languageGroupsUpdate2 = __esm(() => {
|
|
|
57169
57335
|
description: `Update Language Group
|
|
57170
57336
|
|
|
57171
57337
|
Deprecated alias for \`PUT /api/v1/voice_groups/\`.`,
|
|
57172
|
-
args:
|
|
57173
|
-
tool: async (client,
|
|
57174
|
-
const [result, apiCall] = await languageGroupsUpdate(client,
|
|
57338
|
+
args: args76,
|
|
57339
|
+
tool: async (client, args77, ctx) => {
|
|
57340
|
+
const [result, apiCall] = await languageGroupsUpdate(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57175
57341
|
if (!result.ok) {
|
|
57176
57342
|
return {
|
|
57177
57343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57186,9 +57352,9 @@ Deprecated alias for \`PUT /api/v1/voice_groups/\`.`,
|
|
|
57186
57352
|
|
|
57187
57353
|
// src/funcs/organizationsCreate.ts
|
|
57188
57354
|
function organizationsCreate(client, request, options) {
|
|
57189
|
-
return new APIPromise($
|
|
57355
|
+
return new APIPromise($do85(client, request, options));
|
|
57190
57356
|
}
|
|
57191
|
-
async function $
|
|
57357
|
+
async function $do85(client, request, options) {
|
|
57192
57358
|
const parsed = safeParse(request, (value) => BodyOrganizationsCreate$outboundSchema.parse(value), "Input validation failed");
|
|
57193
57359
|
if (!parsed.ok) {
|
|
57194
57360
|
return [parsed, { status: "invalid" }];
|
|
@@ -57280,12 +57446,12 @@ var init_organizationsCreate = __esm(() => {
|
|
|
57280
57446
|
});
|
|
57281
57447
|
|
|
57282
57448
|
// src/mcp-server/tools/organizationsCreate.ts
|
|
57283
|
-
var
|
|
57449
|
+
var args77, tool$organizationsCreate;
|
|
57284
57450
|
var init_organizationsCreate2 = __esm(() => {
|
|
57285
57451
|
init_organizationsCreate();
|
|
57286
57452
|
init_components();
|
|
57287
57453
|
init_tools();
|
|
57288
|
-
|
|
57454
|
+
args77 = {
|
|
57289
57455
|
request: BodyOrganizationsCreate$inboundSchema
|
|
57290
57456
|
};
|
|
57291
57457
|
tool$organizationsCreate = {
|
|
@@ -57293,9 +57459,9 @@ var init_organizationsCreate2 = __esm(() => {
|
|
|
57293
57459
|
description: `Create Organization
|
|
57294
57460
|
|
|
57295
57461
|
Create a new organization.`,
|
|
57296
|
-
args:
|
|
57297
|
-
tool: async (client,
|
|
57298
|
-
const [result, apiCall] = await organizationsCreate(client,
|
|
57462
|
+
args: args77,
|
|
57463
|
+
tool: async (client, args78, ctx) => {
|
|
57464
|
+
const [result, apiCall] = await organizationsCreate(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57299
57465
|
if (!result.ok) {
|
|
57300
57466
|
return {
|
|
57301
57467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57310,9 +57476,9 @@ Create a new organization.`,
|
|
|
57310
57476
|
|
|
57311
57477
|
// src/funcs/organizationsDelete.ts
|
|
57312
57478
|
function organizationsDelete(client, request, options) {
|
|
57313
|
-
return new APIPromise($
|
|
57479
|
+
return new APIPromise($do86(client, request, options));
|
|
57314
57480
|
}
|
|
57315
|
-
async function $
|
|
57481
|
+
async function $do86(client, request, options) {
|
|
57316
57482
|
const parsed = safeParse(request, (value) => BodyOrganizationsDelete$outboundSchema.optional().parse(value), "Input validation failed");
|
|
57317
57483
|
if (!parsed.ok) {
|
|
57318
57484
|
return [parsed, { status: "invalid" }];
|
|
@@ -57386,12 +57552,12 @@ var init_organizationsDelete = __esm(() => {
|
|
|
57386
57552
|
});
|
|
57387
57553
|
|
|
57388
57554
|
// src/mcp-server/tools/organizationsDelete.ts
|
|
57389
|
-
var
|
|
57555
|
+
var args78, tool$organizationsDelete;
|
|
57390
57556
|
var init_organizationsDelete2 = __esm(() => {
|
|
57391
57557
|
init_organizationsDelete();
|
|
57392
57558
|
init_components();
|
|
57393
57559
|
init_tools();
|
|
57394
|
-
|
|
57560
|
+
args78 = {
|
|
57395
57561
|
request: BodyOrganizationsDelete$inboundSchema.optional()
|
|
57396
57562
|
};
|
|
57397
57563
|
tool$organizationsDelete = {
|
|
@@ -57399,9 +57565,9 @@ var init_organizationsDelete2 = __esm(() => {
|
|
|
57399
57565
|
description: `Delete Current Organization
|
|
57400
57566
|
|
|
57401
57567
|
Delete the current organization and all its users.`,
|
|
57402
|
-
args:
|
|
57403
|
-
tool: async (client,
|
|
57404
|
-
const [result, apiCall] = await organizationsDelete(client,
|
|
57568
|
+
args: args78,
|
|
57569
|
+
tool: async (client, args79, ctx) => {
|
|
57570
|
+
const [result, apiCall] = await organizationsDelete(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57405
57571
|
if (!result.ok) {
|
|
57406
57572
|
return {
|
|
57407
57573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57416,9 +57582,9 @@ Delete the current organization and all its users.`,
|
|
|
57416
57582
|
|
|
57417
57583
|
// src/funcs/organizationsOrganizationsGet.ts
|
|
57418
57584
|
function organizationsOrganizationsGet(client, options) {
|
|
57419
|
-
return new APIPromise($
|
|
57585
|
+
return new APIPromise($do87(client, options));
|
|
57420
57586
|
}
|
|
57421
|
-
async function $
|
|
57587
|
+
async function $do87(client, options) {
|
|
57422
57588
|
const path = pathToFunc("/api/v1/organizations/")();
|
|
57423
57589
|
const headers = new Headers(compactMap({
|
|
57424
57590
|
Accept: "application/json"
|
|
@@ -57500,9 +57666,9 @@ Fetch the current organization.`,
|
|
|
57500
57666
|
|
|
57501
57667
|
// src/funcs/organizationsUpdate.ts
|
|
57502
57668
|
function organizationsUpdate(client, request, options) {
|
|
57503
|
-
return new APIPromise($
|
|
57669
|
+
return new APIPromise($do88(client, request, options));
|
|
57504
57670
|
}
|
|
57505
|
-
async function $
|
|
57671
|
+
async function $do88(client, request, options) {
|
|
57506
57672
|
const parsed = safeParse(request, (value) => BodyOrganizationsUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
57507
57673
|
if (!parsed.ok) {
|
|
57508
57674
|
return [parsed, { status: "invalid" }];
|
|
@@ -57599,12 +57765,12 @@ var init_organizationsUpdate = __esm(() => {
|
|
|
57599
57765
|
});
|
|
57600
57766
|
|
|
57601
57767
|
// src/mcp-server/tools/organizationsUpdate.ts
|
|
57602
|
-
var
|
|
57768
|
+
var args79, tool$organizationsUpdate;
|
|
57603
57769
|
var init_organizationsUpdate2 = __esm(() => {
|
|
57604
57770
|
init_organizationsUpdate();
|
|
57605
57771
|
init_components();
|
|
57606
57772
|
init_tools();
|
|
57607
|
-
|
|
57773
|
+
args79 = {
|
|
57608
57774
|
request: BodyOrganizationsUpdate$inboundSchema
|
|
57609
57775
|
};
|
|
57610
57776
|
tool$organizationsUpdate = {
|
|
@@ -57612,9 +57778,9 @@ var init_organizationsUpdate2 = __esm(() => {
|
|
|
57612
57778
|
description: `Update Current Organization
|
|
57613
57779
|
|
|
57614
57780
|
Update the current organization.`,
|
|
57615
|
-
args:
|
|
57616
|
-
tool: async (client,
|
|
57617
|
-
const [result, apiCall] = await organizationsUpdate(client,
|
|
57781
|
+
args: args79,
|
|
57782
|
+
tool: async (client, args80, ctx) => {
|
|
57783
|
+
const [result, apiCall] = await organizationsUpdate(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57618
57784
|
if (!result.ok) {
|
|
57619
57785
|
return {
|
|
57620
57786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57629,9 +57795,9 @@ Update the current organization.`,
|
|
|
57629
57795
|
|
|
57630
57796
|
// src/funcs/outboundBatchesAdd.ts
|
|
57631
57797
|
function outboundBatchesAdd(client, request, options) {
|
|
57632
|
-
return new APIPromise($
|
|
57798
|
+
return new APIPromise($do89(client, request, options));
|
|
57633
57799
|
}
|
|
57634
|
-
async function $
|
|
57800
|
+
async function $do89(client, request, options) {
|
|
57635
57801
|
const parsed = safeParse(request, (value) => OutboundBatchAddRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57636
57802
|
if (!parsed.ok) {
|
|
57637
57803
|
return [parsed, { status: "invalid" }];
|
|
@@ -57711,20 +57877,20 @@ var init_outboundBatchesAdd = __esm(() => {
|
|
|
57711
57877
|
});
|
|
57712
57878
|
|
|
57713
57879
|
// src/mcp-server/tools/outboundBatchesAdd.ts
|
|
57714
|
-
var
|
|
57880
|
+
var args80, tool$outboundBatchesAdd;
|
|
57715
57881
|
var init_outboundBatchesAdd2 = __esm(() => {
|
|
57716
57882
|
init_outboundBatchesAdd();
|
|
57717
57883
|
init_operations();
|
|
57718
57884
|
init_tools();
|
|
57719
|
-
|
|
57885
|
+
args80 = {
|
|
57720
57886
|
request: OutboundBatchAddRequest$inboundSchema
|
|
57721
57887
|
};
|
|
57722
57888
|
tool$outboundBatchesAdd = {
|
|
57723
57889
|
name: "outbound-batches-add",
|
|
57724
57890
|
description: `Create Outbound Communication Request`,
|
|
57725
|
-
args:
|
|
57726
|
-
tool: async (client,
|
|
57727
|
-
const [result, apiCall] = await outboundBatchesAdd(client,
|
|
57891
|
+
args: args80,
|
|
57892
|
+
tool: async (client, args81, ctx) => {
|
|
57893
|
+
const [result, apiCall] = await outboundBatchesAdd(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57728
57894
|
if (!result.ok) {
|
|
57729
57895
|
return {
|
|
57730
57896
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57739,9 +57905,9 @@ var init_outboundBatchesAdd2 = __esm(() => {
|
|
|
57739
57905
|
|
|
57740
57906
|
// src/funcs/outboundBatchesCreate.ts
|
|
57741
57907
|
function outboundBatchesCreate(client, request, options) {
|
|
57742
|
-
return new APIPromise($
|
|
57908
|
+
return new APIPromise($do90(client, request, options));
|
|
57743
57909
|
}
|
|
57744
|
-
async function $
|
|
57910
|
+
async function $do90(client, request, options) {
|
|
57745
57911
|
const parsed = safeParse(request, (value) => CommunicationBatchInput$outboundSchema.parse(value), "Input validation failed");
|
|
57746
57912
|
if (!parsed.ok) {
|
|
57747
57913
|
return [parsed, { status: "invalid" }];
|
|
@@ -57812,20 +57978,20 @@ var init_outboundBatchesCreate = __esm(() => {
|
|
|
57812
57978
|
});
|
|
57813
57979
|
|
|
57814
57980
|
// src/mcp-server/tools/outboundBatchesCreate.ts
|
|
57815
|
-
var
|
|
57981
|
+
var args81, tool$outboundBatchesCreate;
|
|
57816
57982
|
var init_outboundBatchesCreate2 = __esm(() => {
|
|
57817
57983
|
init_outboundBatchesCreate();
|
|
57818
57984
|
init_components();
|
|
57819
57985
|
init_tools();
|
|
57820
|
-
|
|
57986
|
+
args81 = {
|
|
57821
57987
|
request: CommunicationBatchInput$inboundSchema
|
|
57822
57988
|
};
|
|
57823
57989
|
tool$outboundBatchesCreate = {
|
|
57824
57990
|
name: "outbound-batches-create",
|
|
57825
57991
|
description: `Create Outbound Communication Batch`,
|
|
57826
|
-
args:
|
|
57827
|
-
tool: async (client,
|
|
57828
|
-
const [result, apiCall] = await outboundBatchesCreate(client,
|
|
57992
|
+
args: args81,
|
|
57993
|
+
tool: async (client, args82, ctx) => {
|
|
57994
|
+
const [result, apiCall] = await outboundBatchesCreate(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57829
57995
|
if (!result.ok) {
|
|
57830
57996
|
return {
|
|
57831
57997
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57840,9 +58006,9 @@ var init_outboundBatchesCreate2 = __esm(() => {
|
|
|
57840
58006
|
|
|
57841
58007
|
// src/funcs/outboundBatchesDelete.ts
|
|
57842
58008
|
function outboundBatchesDelete(client, request, options) {
|
|
57843
|
-
return new APIPromise($
|
|
58009
|
+
return new APIPromise($do91(client, request, options));
|
|
57844
58010
|
}
|
|
57845
|
-
async function $
|
|
58011
|
+
async function $do91(client, request, options) {
|
|
57846
58012
|
const parsed = safeParse(request, (value) => OutboundBatchDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57847
58013
|
if (!parsed.ok) {
|
|
57848
58014
|
return [parsed, { status: "invalid" }];
|
|
@@ -57922,20 +58088,20 @@ var init_outboundBatchesDelete = __esm(() => {
|
|
|
57922
58088
|
});
|
|
57923
58089
|
|
|
57924
58090
|
// src/mcp-server/tools/outboundBatchesDelete.ts
|
|
57925
|
-
var
|
|
58091
|
+
var args82, tool$outboundBatchesDelete;
|
|
57926
58092
|
var init_outboundBatchesDelete2 = __esm(() => {
|
|
57927
58093
|
init_outboundBatchesDelete();
|
|
57928
58094
|
init_operations();
|
|
57929
58095
|
init_tools();
|
|
57930
|
-
|
|
58096
|
+
args82 = {
|
|
57931
58097
|
request: OutboundBatchDeleteRequest$inboundSchema
|
|
57932
58098
|
};
|
|
57933
58099
|
tool$outboundBatchesDelete = {
|
|
57934
58100
|
name: "outbound-batches-delete",
|
|
57935
58101
|
description: `Delete Outbound Communication Batch`,
|
|
57936
|
-
args:
|
|
57937
|
-
tool: async (client,
|
|
57938
|
-
const [result, apiCall] = await outboundBatchesDelete(client,
|
|
58102
|
+
args: args82,
|
|
58103
|
+
tool: async (client, args83, ctx) => {
|
|
58104
|
+
const [result, apiCall] = await outboundBatchesDelete(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57939
58105
|
if (!result.ok) {
|
|
57940
58106
|
return {
|
|
57941
58107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57950,9 +58116,9 @@ var init_outboundBatchesDelete2 = __esm(() => {
|
|
|
57950
58116
|
|
|
57951
58117
|
// src/funcs/outboundBatchesGetById.ts
|
|
57952
58118
|
function outboundBatchesGetById(client, request, options) {
|
|
57953
|
-
return new APIPromise($
|
|
58119
|
+
return new APIPromise($do92(client, request, options));
|
|
57954
58120
|
}
|
|
57955
|
-
async function $
|
|
58121
|
+
async function $do92(client, request, options) {
|
|
57956
58122
|
const parsed = safeParse(request, (value) => OutboundBatchGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57957
58123
|
if (!parsed.ok) {
|
|
57958
58124
|
return [parsed, { status: "invalid" }];
|
|
@@ -58029,20 +58195,20 @@ var init_outboundBatchesGetById = __esm(() => {
|
|
|
58029
58195
|
});
|
|
58030
58196
|
|
|
58031
58197
|
// src/mcp-server/tools/outboundBatchesGetById.ts
|
|
58032
|
-
var
|
|
58198
|
+
var args83, tool$outboundBatchesGetById;
|
|
58033
58199
|
var init_outboundBatchesGetById2 = __esm(() => {
|
|
58034
58200
|
init_outboundBatchesGetById();
|
|
58035
58201
|
init_operations();
|
|
58036
58202
|
init_tools();
|
|
58037
|
-
|
|
58203
|
+
args83 = {
|
|
58038
58204
|
request: OutboundBatchGetByIdRequest$inboundSchema
|
|
58039
58205
|
};
|
|
58040
58206
|
tool$outboundBatchesGetById = {
|
|
58041
58207
|
name: "outbound-batches-get-by-id",
|
|
58042
58208
|
description: `Get Outbound Communication Batch`,
|
|
58043
|
-
args:
|
|
58044
|
-
tool: async (client,
|
|
58045
|
-
const [result, apiCall] = await outboundBatchesGetById(client,
|
|
58209
|
+
args: args83,
|
|
58210
|
+
tool: async (client, args84, ctx) => {
|
|
58211
|
+
const [result, apiCall] = await outboundBatchesGetById(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58046
58212
|
if (!result.ok) {
|
|
58047
58213
|
return {
|
|
58048
58214
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58057,9 +58223,9 @@ var init_outboundBatchesGetById2 = __esm(() => {
|
|
|
58057
58223
|
|
|
58058
58224
|
// src/funcs/outboundBatchesList.ts
|
|
58059
58225
|
function outboundBatchesList(client, request, options) {
|
|
58060
|
-
return new APIPromise($
|
|
58226
|
+
return new APIPromise($do93(client, request, options));
|
|
58061
58227
|
}
|
|
58062
|
-
async function $
|
|
58228
|
+
async function $do93(client, request, options) {
|
|
58063
58229
|
const parsed = safeParse(request, (value) => OutboundBatchListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58064
58230
|
if (!parsed.ok) {
|
|
58065
58231
|
return [parsed, { status: "invalid" }];
|
|
@@ -58142,20 +58308,20 @@ var init_outboundBatchesList = __esm(() => {
|
|
|
58142
58308
|
});
|
|
58143
58309
|
|
|
58144
58310
|
// src/mcp-server/tools/outboundBatchesList.ts
|
|
58145
|
-
var
|
|
58311
|
+
var args84, tool$outboundBatchesList;
|
|
58146
58312
|
var init_outboundBatchesList2 = __esm(() => {
|
|
58147
58313
|
init_outboundBatchesList();
|
|
58148
58314
|
init_operations();
|
|
58149
58315
|
init_tools();
|
|
58150
|
-
|
|
58316
|
+
args84 = {
|
|
58151
58317
|
request: OutboundBatchListRequest$inboundSchema
|
|
58152
58318
|
};
|
|
58153
58319
|
tool$outboundBatchesList = {
|
|
58154
58320
|
name: "outbound-batches-list",
|
|
58155
58321
|
description: `List Outbound Communication Batches`,
|
|
58156
|
-
args:
|
|
58157
|
-
tool: async (client,
|
|
58158
|
-
const [result, apiCall] = await outboundBatchesList(client,
|
|
58322
|
+
args: args84,
|
|
58323
|
+
tool: async (client, args85, ctx) => {
|
|
58324
|
+
const [result, apiCall] = await outboundBatchesList(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58159
58325
|
if (!result.ok) {
|
|
58160
58326
|
return {
|
|
58161
58327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58170,9 +58336,9 @@ var init_outboundBatchesList2 = __esm(() => {
|
|
|
58170
58336
|
|
|
58171
58337
|
// src/funcs/outboundBatchesRemove.ts
|
|
58172
58338
|
function outboundBatchesRemove(client, request, options) {
|
|
58173
|
-
return new APIPromise($
|
|
58339
|
+
return new APIPromise($do94(client, request, options));
|
|
58174
58340
|
}
|
|
58175
|
-
async function $
|
|
58341
|
+
async function $do94(client, request, options) {
|
|
58176
58342
|
const parsed = safeParse(request, (value) => OutboundBatchRemoveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58177
58343
|
if (!parsed.ok) {
|
|
58178
58344
|
return [parsed, { status: "invalid" }];
|
|
@@ -58250,20 +58416,20 @@ var init_outboundBatchesRemove = __esm(() => {
|
|
|
58250
58416
|
});
|
|
58251
58417
|
|
|
58252
58418
|
// src/mcp-server/tools/outboundBatchesRemove.ts
|
|
58253
|
-
var
|
|
58419
|
+
var args85, tool$outboundBatchesRemove;
|
|
58254
58420
|
var init_outboundBatchesRemove2 = __esm(() => {
|
|
58255
58421
|
init_outboundBatchesRemove();
|
|
58256
58422
|
init_operations();
|
|
58257
58423
|
init_tools();
|
|
58258
|
-
|
|
58424
|
+
args85 = {
|
|
58259
58425
|
request: OutboundBatchRemoveRequest$inboundSchema
|
|
58260
58426
|
};
|
|
58261
58427
|
tool$outboundBatchesRemove = {
|
|
58262
58428
|
name: "outbound-batches-remove",
|
|
58263
58429
|
description: `Delete Requests By List Of Reference Ids`,
|
|
58264
|
-
args:
|
|
58265
|
-
tool: async (client,
|
|
58266
|
-
const [result, apiCall] = await outboundBatchesRemove(client,
|
|
58430
|
+
args: args85,
|
|
58431
|
+
tool: async (client, args86, ctx) => {
|
|
58432
|
+
const [result, apiCall] = await outboundBatchesRemove(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58267
58433
|
if (!result.ok) {
|
|
58268
58434
|
return {
|
|
58269
58435
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58278,9 +58444,9 @@ var init_outboundBatchesRemove2 = __esm(() => {
|
|
|
58278
58444
|
|
|
58279
58445
|
// src/funcs/outboundBatchesResults.ts
|
|
58280
58446
|
function outboundBatchesResults(client, request, options) {
|
|
58281
|
-
return new APIPromise($
|
|
58447
|
+
return new APIPromise($do95(client, request, options));
|
|
58282
58448
|
}
|
|
58283
|
-
async function $
|
|
58449
|
+
async function $do95(client, request, options) {
|
|
58284
58450
|
const parsed = safeParse(request, (value) => OutboundBatchResultsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58285
58451
|
if (!parsed.ok) {
|
|
58286
58452
|
return [parsed, { status: "invalid" }];
|
|
@@ -58364,20 +58530,20 @@ var init_outboundBatchesResults = __esm(() => {
|
|
|
58364
58530
|
});
|
|
58365
58531
|
|
|
58366
58532
|
// src/mcp-server/tools/outboundBatchesResults.ts
|
|
58367
|
-
var
|
|
58533
|
+
var args86, tool$outboundBatchesResults;
|
|
58368
58534
|
var init_outboundBatchesResults2 = __esm(() => {
|
|
58369
58535
|
init_outboundBatchesResults();
|
|
58370
58536
|
init_operations();
|
|
58371
58537
|
init_tools();
|
|
58372
|
-
|
|
58538
|
+
args86 = {
|
|
58373
58539
|
request: OutboundBatchResultsRequest$inboundSchema
|
|
58374
58540
|
};
|
|
58375
58541
|
tool$outboundBatchesResults = {
|
|
58376
58542
|
name: "outbound-batches-results",
|
|
58377
58543
|
description: `Fetch Outbound Communication Batch Results`,
|
|
58378
|
-
args:
|
|
58379
|
-
tool: async (client,
|
|
58380
|
-
const [result, apiCall] = await outboundBatchesResults(client,
|
|
58544
|
+
args: args86,
|
|
58545
|
+
tool: async (client, args87, ctx) => {
|
|
58546
|
+
const [result, apiCall] = await outboundBatchesResults(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58381
58547
|
if (!result.ok) {
|
|
58382
58548
|
return {
|
|
58383
58549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58392,9 +58558,9 @@ var init_outboundBatchesResults2 = __esm(() => {
|
|
|
58392
58558
|
|
|
58393
58559
|
// src/funcs/outboundBatchesUpdate.ts
|
|
58394
58560
|
function outboundBatchesUpdate(client, request, options) {
|
|
58395
|
-
return new APIPromise($
|
|
58561
|
+
return new APIPromise($do96(client, request, options));
|
|
58396
58562
|
}
|
|
58397
|
-
async function $
|
|
58563
|
+
async function $do96(client, request, options) {
|
|
58398
58564
|
const parsed = safeParse(request, (value) => OutboundBatchUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58399
58565
|
if (!parsed.ok) {
|
|
58400
58566
|
return [parsed, { status: "invalid" }];
|
|
@@ -58474,20 +58640,20 @@ var init_outboundBatchesUpdate = __esm(() => {
|
|
|
58474
58640
|
});
|
|
58475
58641
|
|
|
58476
58642
|
// src/mcp-server/tools/outboundBatchesUpdate.ts
|
|
58477
|
-
var
|
|
58643
|
+
var args87, tool$outboundBatchesUpdate;
|
|
58478
58644
|
var init_outboundBatchesUpdate2 = __esm(() => {
|
|
58479
58645
|
init_outboundBatchesUpdate();
|
|
58480
58646
|
init_operations();
|
|
58481
58647
|
init_tools();
|
|
58482
|
-
|
|
58648
|
+
args87 = {
|
|
58483
58649
|
request: OutboundBatchUpdateRequest$inboundSchema
|
|
58484
58650
|
};
|
|
58485
58651
|
tool$outboundBatchesUpdate = {
|
|
58486
58652
|
name: "outbound-batches-update",
|
|
58487
58653
|
description: `Update Outbound Communication Batch`,
|
|
58488
|
-
args:
|
|
58489
|
-
tool: async (client,
|
|
58490
|
-
const [result, apiCall] = await outboundBatchesUpdate(client,
|
|
58654
|
+
args: args87,
|
|
58655
|
+
tool: async (client, args88, ctx) => {
|
|
58656
|
+
const [result, apiCall] = await outboundBatchesUpdate(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58491
58657
|
if (!result.ok) {
|
|
58492
58658
|
return {
|
|
58493
58659
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58502,9 +58668,9 @@ var init_outboundBatchesUpdate2 = __esm(() => {
|
|
|
58502
58668
|
|
|
58503
58669
|
// src/funcs/outboundBatchesUpload.ts
|
|
58504
58670
|
function outboundBatchesUpload(client, request, options) {
|
|
58505
|
-
return new APIPromise($
|
|
58671
|
+
return new APIPromise($do97(client, request, options));
|
|
58506
58672
|
}
|
|
58507
|
-
async function $
|
|
58673
|
+
async function $do97(client, request, options) {
|
|
58508
58674
|
const parsed = safeParse(request, (value) => OutboundBatchUploadRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58509
58675
|
if (!parsed.ok) {
|
|
58510
58676
|
return [parsed, { status: "invalid" }];
|
|
@@ -58599,20 +58765,20 @@ var init_outboundBatchesUpload = __esm(() => {
|
|
|
58599
58765
|
});
|
|
58600
58766
|
|
|
58601
58767
|
// src/mcp-server/tools/outboundBatchesUpload.ts
|
|
58602
|
-
var
|
|
58768
|
+
var args88, tool$outboundBatchesUpload;
|
|
58603
58769
|
var init_outboundBatchesUpload2 = __esm(() => {
|
|
58604
58770
|
init_outboundBatchesUpload();
|
|
58605
58771
|
init_operations();
|
|
58606
58772
|
init_tools();
|
|
58607
|
-
|
|
58773
|
+
args88 = {
|
|
58608
58774
|
request: OutboundBatchUploadRequest$inboundSchema
|
|
58609
58775
|
};
|
|
58610
58776
|
tool$outboundBatchesUpload = {
|
|
58611
58777
|
name: "outbound-batches-upload",
|
|
58612
58778
|
description: `Upload Outbound Communication Batch`,
|
|
58613
|
-
args:
|
|
58614
|
-
tool: async (client,
|
|
58615
|
-
const [result, apiCall] = await outboundBatchesUpload(client,
|
|
58779
|
+
args: args88,
|
|
58780
|
+
tool: async (client, args89, ctx) => {
|
|
58781
|
+
const [result, apiCall] = await outboundBatchesUpload(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58616
58782
|
if (!result.ok) {
|
|
58617
58783
|
return {
|
|
58618
58784
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58627,9 +58793,9 @@ var init_outboundBatchesUpload2 = __esm(() => {
|
|
|
58627
58793
|
|
|
58628
58794
|
// src/funcs/outboundCampaignsCreate.ts
|
|
58629
58795
|
function outboundCampaignsCreate(client, request, options) {
|
|
58630
|
-
return new APIPromise($
|
|
58796
|
+
return new APIPromise($do98(client, request, options));
|
|
58631
58797
|
}
|
|
58632
|
-
async function $
|
|
58798
|
+
async function $do98(client, request, options) {
|
|
58633
58799
|
const parsed = safeParse(request, (value) => OutboundCampaignInput$outboundSchema.parse(value), "Input validation failed");
|
|
58634
58800
|
if (!parsed.ok) {
|
|
58635
58801
|
return [parsed, { status: "invalid" }];
|
|
@@ -58700,20 +58866,20 @@ var init_outboundCampaignsCreate = __esm(() => {
|
|
|
58700
58866
|
});
|
|
58701
58867
|
|
|
58702
58868
|
// src/mcp-server/tools/outboundCampaignsCreate.ts
|
|
58703
|
-
var
|
|
58869
|
+
var args89, tool$outboundCampaignsCreate;
|
|
58704
58870
|
var init_outboundCampaignsCreate2 = __esm(() => {
|
|
58705
58871
|
init_outboundCampaignsCreate();
|
|
58706
58872
|
init_components();
|
|
58707
58873
|
init_tools();
|
|
58708
|
-
|
|
58874
|
+
args89 = {
|
|
58709
58875
|
request: OutboundCampaignInput$inboundSchema
|
|
58710
58876
|
};
|
|
58711
58877
|
tool$outboundCampaignsCreate = {
|
|
58712
58878
|
name: "outbound-campaigns-create",
|
|
58713
58879
|
description: `Create Outbound Communication Campaign`,
|
|
58714
|
-
args:
|
|
58715
|
-
tool: async (client,
|
|
58716
|
-
const [result, apiCall] = await outboundCampaignsCreate(client,
|
|
58880
|
+
args: args89,
|
|
58881
|
+
tool: async (client, args90, ctx) => {
|
|
58882
|
+
const [result, apiCall] = await outboundCampaignsCreate(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58717
58883
|
if (!result.ok) {
|
|
58718
58884
|
return {
|
|
58719
58885
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58728,9 +58894,9 @@ var init_outboundCampaignsCreate2 = __esm(() => {
|
|
|
58728
58894
|
|
|
58729
58895
|
// src/funcs/outboundCampaignsDelete.ts
|
|
58730
58896
|
function outboundCampaignsDelete(client, request, options) {
|
|
58731
|
-
return new APIPromise($
|
|
58897
|
+
return new APIPromise($do99(client, request, options));
|
|
58732
58898
|
}
|
|
58733
|
-
async function $
|
|
58899
|
+
async function $do99(client, request, options) {
|
|
58734
58900
|
const parsed = safeParse(request, (value) => OutboundCampaignDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58735
58901
|
if (!parsed.ok) {
|
|
58736
58902
|
return [parsed, { status: "invalid" }];
|
|
@@ -58807,20 +58973,20 @@ var init_outboundCampaignsDelete = __esm(() => {
|
|
|
58807
58973
|
});
|
|
58808
58974
|
|
|
58809
58975
|
// src/mcp-server/tools/outboundCampaignsDelete.ts
|
|
58810
|
-
var
|
|
58976
|
+
var args90, tool$outboundCampaignsDelete;
|
|
58811
58977
|
var init_outboundCampaignsDelete2 = __esm(() => {
|
|
58812
58978
|
init_outboundCampaignsDelete();
|
|
58813
58979
|
init_operations();
|
|
58814
58980
|
init_tools();
|
|
58815
|
-
|
|
58981
|
+
args90 = {
|
|
58816
58982
|
request: OutboundCampaignDeleteRequest$inboundSchema
|
|
58817
58983
|
};
|
|
58818
58984
|
tool$outboundCampaignsDelete = {
|
|
58819
58985
|
name: "outbound-campaigns-delete",
|
|
58820
58986
|
description: `Delete Outbound Communication Campaign`,
|
|
58821
|
-
args:
|
|
58822
|
-
tool: async (client,
|
|
58823
|
-
const [result, apiCall] = await outboundCampaignsDelete(client,
|
|
58987
|
+
args: args90,
|
|
58988
|
+
tool: async (client, args91, ctx) => {
|
|
58989
|
+
const [result, apiCall] = await outboundCampaignsDelete(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58824
58990
|
if (!result.ok) {
|
|
58825
58991
|
return {
|
|
58826
58992
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58835,9 +59001,9 @@ var init_outboundCampaignsDelete2 = __esm(() => {
|
|
|
58835
59001
|
|
|
58836
59002
|
// src/funcs/outboundCampaignsGetById.ts
|
|
58837
59003
|
function outboundCampaignsGetById(client, request, options) {
|
|
58838
|
-
return new APIPromise($
|
|
59004
|
+
return new APIPromise($do100(client, request, options));
|
|
58839
59005
|
}
|
|
58840
|
-
async function $
|
|
59006
|
+
async function $do100(client, request, options) {
|
|
58841
59007
|
const parsed = safeParse(request, (value) => OutboundCampaignGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58842
59008
|
if (!parsed.ok) {
|
|
58843
59009
|
return [parsed, { status: "invalid" }];
|
|
@@ -58914,20 +59080,20 @@ var init_outboundCampaignsGetById = __esm(() => {
|
|
|
58914
59080
|
});
|
|
58915
59081
|
|
|
58916
59082
|
// src/mcp-server/tools/outboundCampaignsGetById.ts
|
|
58917
|
-
var
|
|
59083
|
+
var args91, tool$outboundCampaignsGetById;
|
|
58918
59084
|
var init_outboundCampaignsGetById2 = __esm(() => {
|
|
58919
59085
|
init_outboundCampaignsGetById();
|
|
58920
59086
|
init_operations();
|
|
58921
59087
|
init_tools();
|
|
58922
|
-
|
|
59088
|
+
args91 = {
|
|
58923
59089
|
request: OutboundCampaignGetByIdRequest$inboundSchema
|
|
58924
59090
|
};
|
|
58925
59091
|
tool$outboundCampaignsGetById = {
|
|
58926
59092
|
name: "outbound-campaigns-get-by-id",
|
|
58927
59093
|
description: `Get Outbound Communication Campaign`,
|
|
58928
|
-
args:
|
|
58929
|
-
tool: async (client,
|
|
58930
|
-
const [result, apiCall] = await outboundCampaignsGetById(client,
|
|
59094
|
+
args: args91,
|
|
59095
|
+
tool: async (client, args92, ctx) => {
|
|
59096
|
+
const [result, apiCall] = await outboundCampaignsGetById(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58931
59097
|
if (!result.ok) {
|
|
58932
59098
|
return {
|
|
58933
59099
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58942,9 +59108,9 @@ var init_outboundCampaignsGetById2 = __esm(() => {
|
|
|
58942
59108
|
|
|
58943
59109
|
// src/funcs/outboundCampaignsList.ts
|
|
58944
59110
|
function outboundCampaignsList(client, request, options) {
|
|
58945
|
-
return new APIPromise($
|
|
59111
|
+
return new APIPromise($do101(client, request, options));
|
|
58946
59112
|
}
|
|
58947
|
-
async function $
|
|
59113
|
+
async function $do101(client, request, options) {
|
|
58948
59114
|
const parsed = safeParse(request, (value) => OutboundCampaignListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58949
59115
|
if (!parsed.ok) {
|
|
58950
59116
|
return [parsed, { status: "invalid" }];
|
|
@@ -59027,20 +59193,20 @@ var init_outboundCampaignsList = __esm(() => {
|
|
|
59027
59193
|
});
|
|
59028
59194
|
|
|
59029
59195
|
// src/mcp-server/tools/outboundCampaignsList.ts
|
|
59030
|
-
var
|
|
59196
|
+
var args92, tool$outboundCampaignsList;
|
|
59031
59197
|
var init_outboundCampaignsList2 = __esm(() => {
|
|
59032
59198
|
init_outboundCampaignsList();
|
|
59033
59199
|
init_operations();
|
|
59034
59200
|
init_tools();
|
|
59035
|
-
|
|
59201
|
+
args92 = {
|
|
59036
59202
|
request: OutboundCampaignListRequest$inboundSchema
|
|
59037
59203
|
};
|
|
59038
59204
|
tool$outboundCampaignsList = {
|
|
59039
59205
|
name: "outbound-campaigns-list",
|
|
59040
59206
|
description: `List Outbound Communication Campaigns`,
|
|
59041
|
-
args:
|
|
59042
|
-
tool: async (client,
|
|
59043
|
-
const [result, apiCall] = await outboundCampaignsList(client,
|
|
59207
|
+
args: args92,
|
|
59208
|
+
tool: async (client, args93, ctx) => {
|
|
59209
|
+
const [result, apiCall] = await outboundCampaignsList(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59044
59210
|
if (!result.ok) {
|
|
59045
59211
|
return {
|
|
59046
59212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59055,9 +59221,9 @@ var init_outboundCampaignsList2 = __esm(() => {
|
|
|
59055
59221
|
|
|
59056
59222
|
// src/funcs/outboundCampaignsUpdate.ts
|
|
59057
59223
|
function outboundCampaignsUpdate(client, request, options) {
|
|
59058
|
-
return new APIPromise($
|
|
59224
|
+
return new APIPromise($do102(client, request, options));
|
|
59059
59225
|
}
|
|
59060
|
-
async function $
|
|
59226
|
+
async function $do102(client, request, options) {
|
|
59061
59227
|
const parsed = safeParse(request, (value) => OutboundCampaignUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59062
59228
|
if (!parsed.ok) {
|
|
59063
59229
|
return [parsed, { status: "invalid" }];
|
|
@@ -59137,20 +59303,20 @@ var init_outboundCampaignsUpdate = __esm(() => {
|
|
|
59137
59303
|
});
|
|
59138
59304
|
|
|
59139
59305
|
// src/mcp-server/tools/outboundCampaignsUpdate.ts
|
|
59140
|
-
var
|
|
59306
|
+
var args93, tool$outboundCampaignsUpdate;
|
|
59141
59307
|
var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
59142
59308
|
init_outboundCampaignsUpdate();
|
|
59143
59309
|
init_operations();
|
|
59144
59310
|
init_tools();
|
|
59145
|
-
|
|
59311
|
+
args93 = {
|
|
59146
59312
|
request: OutboundCampaignUpdateRequest$inboundSchema
|
|
59147
59313
|
};
|
|
59148
59314
|
tool$outboundCampaignsUpdate = {
|
|
59149
59315
|
name: "outbound-campaigns-update",
|
|
59150
59316
|
description: `Update Outbound Communication Campaign`,
|
|
59151
|
-
args:
|
|
59152
|
-
tool: async (client,
|
|
59153
|
-
const [result, apiCall] = await outboundCampaignsUpdate(client,
|
|
59317
|
+
args: args93,
|
|
59318
|
+
tool: async (client, args94, ctx) => {
|
|
59319
|
+
const [result, apiCall] = await outboundCampaignsUpdate(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59154
59320
|
if (!result.ok) {
|
|
59155
59321
|
return {
|
|
59156
59322
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59165,9 +59331,9 @@ var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
|
59165
59331
|
|
|
59166
59332
|
// src/funcs/permissionsList.ts
|
|
59167
59333
|
function permissionsList(client, options) {
|
|
59168
|
-
return new APIPromise($
|
|
59334
|
+
return new APIPromise($do103(client, options));
|
|
59169
59335
|
}
|
|
59170
|
-
async function $
|
|
59336
|
+
async function $do103(client, options) {
|
|
59171
59337
|
const path = pathToFunc("/api/v1/permissions/")();
|
|
59172
59338
|
const headers = new Headers(compactMap({
|
|
59173
59339
|
Accept: "application/json"
|
|
@@ -59250,9 +59416,9 @@ Get all available permissions in the system.`,
|
|
|
59250
59416
|
|
|
59251
59417
|
// src/funcs/promptsCreate.ts
|
|
59252
59418
|
function promptsCreate(client, request, options) {
|
|
59253
|
-
return new APIPromise($
|
|
59419
|
+
return new APIPromise($do104(client, request, options));
|
|
59254
59420
|
}
|
|
59255
|
-
async function $
|
|
59421
|
+
async function $do104(client, request, options) {
|
|
59256
59422
|
const parsed = safeParse(request, (value) => PromptCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59257
59423
|
if (!parsed.ok) {
|
|
59258
59424
|
return [parsed, { status: "invalid" }];
|
|
@@ -59323,12 +59489,12 @@ var init_promptsCreate = __esm(() => {
|
|
|
59323
59489
|
});
|
|
59324
59490
|
|
|
59325
59491
|
// src/mcp-server/tools/promptsCreate.ts
|
|
59326
|
-
var
|
|
59492
|
+
var args94, tool$promptsCreate;
|
|
59327
59493
|
var init_promptsCreate2 = __esm(() => {
|
|
59328
59494
|
init_promptsCreate();
|
|
59329
59495
|
init_components();
|
|
59330
59496
|
init_tools();
|
|
59331
|
-
|
|
59497
|
+
args94 = {
|
|
59332
59498
|
request: PromptCreateRequest$inboundSchema
|
|
59333
59499
|
};
|
|
59334
59500
|
tool$promptsCreate = {
|
|
@@ -59336,9 +59502,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
59336
59502
|
description: `Create Prompt
|
|
59337
59503
|
|
|
59338
59504
|
Create a new prompt`,
|
|
59339
|
-
args:
|
|
59340
|
-
tool: async (client,
|
|
59341
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
59505
|
+
args: args94,
|
|
59506
|
+
tool: async (client, args95, ctx) => {
|
|
59507
|
+
const [result, apiCall] = await promptsCreate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59342
59508
|
if (!result.ok) {
|
|
59343
59509
|
return {
|
|
59344
59510
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59353,9 +59519,9 @@ Create a new prompt`,
|
|
|
59353
59519
|
|
|
59354
59520
|
// src/funcs/promptsDelete.ts
|
|
59355
59521
|
function promptsDelete(client, request, options) {
|
|
59356
|
-
return new APIPromise($
|
|
59522
|
+
return new APIPromise($do105(client, request, options));
|
|
59357
59523
|
}
|
|
59358
|
-
async function $
|
|
59524
|
+
async function $do105(client, request, options) {
|
|
59359
59525
|
const parsed = safeParse(request, (value) => PromptsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59360
59526
|
if (!parsed.ok) {
|
|
59361
59527
|
return [parsed, { status: "invalid" }];
|
|
@@ -59436,12 +59602,12 @@ var init_promptsDelete = __esm(() => {
|
|
|
59436
59602
|
});
|
|
59437
59603
|
|
|
59438
59604
|
// src/mcp-server/tools/promptsDelete.ts
|
|
59439
|
-
var
|
|
59605
|
+
var args95, tool$promptsDelete;
|
|
59440
59606
|
var init_promptsDelete2 = __esm(() => {
|
|
59441
59607
|
init_promptsDelete();
|
|
59442
59608
|
init_operations();
|
|
59443
59609
|
init_tools();
|
|
59444
|
-
|
|
59610
|
+
args95 = {
|
|
59445
59611
|
request: PromptsDeleteRequest$inboundSchema
|
|
59446
59612
|
};
|
|
59447
59613
|
tool$promptsDelete = {
|
|
@@ -59449,9 +59615,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
59449
59615
|
description: `Delete Prompt
|
|
59450
59616
|
|
|
59451
59617
|
Delete a prompt`,
|
|
59452
|
-
args:
|
|
59453
|
-
tool: async (client,
|
|
59454
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
59618
|
+
args: args95,
|
|
59619
|
+
tool: async (client, args96, ctx) => {
|
|
59620
|
+
const [result, apiCall] = await promptsDelete(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59455
59621
|
if (!result.ok) {
|
|
59456
59622
|
return {
|
|
59457
59623
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59466,9 +59632,9 @@ Delete a prompt`,
|
|
|
59466
59632
|
|
|
59467
59633
|
// src/funcs/promptsGetById.ts
|
|
59468
59634
|
function promptsGetById(client, request, options) {
|
|
59469
|
-
return new APIPromise($
|
|
59635
|
+
return new APIPromise($do106(client, request, options));
|
|
59470
59636
|
}
|
|
59471
|
-
async function $
|
|
59637
|
+
async function $do106(client, request, options) {
|
|
59472
59638
|
const parsed = safeParse(request, (value) => PromptsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59473
59639
|
if (!parsed.ok) {
|
|
59474
59640
|
return [parsed, { status: "invalid" }];
|
|
@@ -59545,12 +59711,12 @@ var init_promptsGetById = __esm(() => {
|
|
|
59545
59711
|
});
|
|
59546
59712
|
|
|
59547
59713
|
// src/mcp-server/tools/promptsGetById.ts
|
|
59548
|
-
var
|
|
59714
|
+
var args96, tool$promptsGetById;
|
|
59549
59715
|
var init_promptsGetById2 = __esm(() => {
|
|
59550
59716
|
init_promptsGetById();
|
|
59551
59717
|
init_operations();
|
|
59552
59718
|
init_tools();
|
|
59553
|
-
|
|
59719
|
+
args96 = {
|
|
59554
59720
|
request: PromptsGetByIdRequest$inboundSchema
|
|
59555
59721
|
};
|
|
59556
59722
|
tool$promptsGetById = {
|
|
@@ -59558,9 +59724,9 @@ var init_promptsGetById2 = __esm(() => {
|
|
|
59558
59724
|
description: `Get Prompt By Id
|
|
59559
59725
|
|
|
59560
59726
|
Get a prompt by ID`,
|
|
59561
|
-
args:
|
|
59562
|
-
tool: async (client,
|
|
59563
|
-
const [result, apiCall] = await promptsGetById(client,
|
|
59727
|
+
args: args96,
|
|
59728
|
+
tool: async (client, args97, ctx) => {
|
|
59729
|
+
const [result, apiCall] = await promptsGetById(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59564
59730
|
if (!result.ok) {
|
|
59565
59731
|
return {
|
|
59566
59732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59575,9 +59741,9 @@ Get a prompt by ID`,
|
|
|
59575
59741
|
|
|
59576
59742
|
// src/funcs/promptsList.ts
|
|
59577
59743
|
function promptsList(client, request, options) {
|
|
59578
|
-
return new APIPromise($
|
|
59744
|
+
return new APIPromise($do107(client, request, options));
|
|
59579
59745
|
}
|
|
59580
|
-
async function $
|
|
59746
|
+
async function $do107(client, request, options) {
|
|
59581
59747
|
const parsed = safeParse(request, (value) => PromptsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59582
59748
|
if (!parsed.ok) {
|
|
59583
59749
|
return [parsed, { status: "invalid" }];
|
|
@@ -59660,12 +59826,12 @@ var init_promptsList = __esm(() => {
|
|
|
59660
59826
|
});
|
|
59661
59827
|
|
|
59662
59828
|
// src/mcp-server/tools/promptsList.ts
|
|
59663
|
-
var
|
|
59829
|
+
var args97, tool$promptsList;
|
|
59664
59830
|
var init_promptsList2 = __esm(() => {
|
|
59665
59831
|
init_promptsList();
|
|
59666
59832
|
init_operations();
|
|
59667
59833
|
init_tools();
|
|
59668
|
-
|
|
59834
|
+
args97 = {
|
|
59669
59835
|
request: PromptsListRequest$inboundSchema
|
|
59670
59836
|
};
|
|
59671
59837
|
tool$promptsList = {
|
|
@@ -59673,9 +59839,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
59673
59839
|
description: `Prompt List
|
|
59674
59840
|
|
|
59675
59841
|
List the existing prompts`,
|
|
59676
|
-
args:
|
|
59677
|
-
tool: async (client,
|
|
59678
|
-
const [result, apiCall] = await promptsList(client,
|
|
59842
|
+
args: args97,
|
|
59843
|
+
tool: async (client, args98, ctx) => {
|
|
59844
|
+
const [result, apiCall] = await promptsList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59679
59845
|
if (!result.ok) {
|
|
59680
59846
|
return {
|
|
59681
59847
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59690,9 +59856,9 @@ List the existing prompts`,
|
|
|
59690
59856
|
|
|
59691
59857
|
// src/funcs/promptsPromptGetSupportedLlms.ts
|
|
59692
59858
|
function promptsPromptGetSupportedLlms(client, options) {
|
|
59693
|
-
return new APIPromise($
|
|
59859
|
+
return new APIPromise($do108(client, options));
|
|
59694
59860
|
}
|
|
59695
|
-
async function $
|
|
59861
|
+
async function $do108(client, options) {
|
|
59696
59862
|
const path = pathToFunc("/api/v1/prompts/llms/supported")();
|
|
59697
59863
|
const headers = new Headers(compactMap({
|
|
59698
59864
|
Accept: "application/json"
|
|
@@ -59775,9 +59941,9 @@ Get supported LLM configs.`,
|
|
|
59775
59941
|
|
|
59776
59942
|
// src/funcs/promptsPromptsHistory.ts
|
|
59777
59943
|
function promptsPromptsHistory(client, request, options) {
|
|
59778
|
-
return new APIPromise($
|
|
59944
|
+
return new APIPromise($do109(client, request, options));
|
|
59779
59945
|
}
|
|
59780
|
-
async function $
|
|
59946
|
+
async function $do109(client, request, options) {
|
|
59781
59947
|
const parsed = safeParse(request, (value) => PromptsHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59782
59948
|
if (!parsed.ok) {
|
|
59783
59949
|
return [parsed, { status: "invalid" }];
|
|
@@ -59855,12 +60021,12 @@ var init_promptsPromptsHistory = __esm(() => {
|
|
|
59855
60021
|
});
|
|
59856
60022
|
|
|
59857
60023
|
// src/mcp-server/tools/promptsPromptsHistory.ts
|
|
59858
|
-
var
|
|
60024
|
+
var args98, tool$promptsPromptsHistory;
|
|
59859
60025
|
var init_promptsPromptsHistory2 = __esm(() => {
|
|
59860
60026
|
init_promptsPromptsHistory();
|
|
59861
60027
|
init_operations();
|
|
59862
60028
|
init_tools();
|
|
59863
|
-
|
|
60029
|
+
args98 = {
|
|
59864
60030
|
request: PromptsHistoryRequest$inboundSchema
|
|
59865
60031
|
};
|
|
59866
60032
|
tool$promptsPromptsHistory = {
|
|
@@ -59868,9 +60034,9 @@ var init_promptsPromptsHistory2 = __esm(() => {
|
|
|
59868
60034
|
description: `Get Prompt History
|
|
59869
60035
|
|
|
59870
60036
|
Get a list of historical versions of a prompt by its ID`,
|
|
59871
|
-
args:
|
|
59872
|
-
tool: async (client,
|
|
59873
|
-
const [result, apiCall] = await promptsPromptsHistory(client,
|
|
60037
|
+
args: args98,
|
|
60038
|
+
tool: async (client, args99, ctx) => {
|
|
60039
|
+
const [result, apiCall] = await promptsPromptsHistory(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59874
60040
|
if (!result.ok) {
|
|
59875
60041
|
return {
|
|
59876
60042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59885,9 +60051,9 @@ Get a list of historical versions of a prompt by its ID`,
|
|
|
59885
60051
|
|
|
59886
60052
|
// src/funcs/promptsUpdate.ts
|
|
59887
60053
|
function promptsUpdate(client, request, options) {
|
|
59888
|
-
return new APIPromise($
|
|
60054
|
+
return new APIPromise($do110(client, request, options));
|
|
59889
60055
|
}
|
|
59890
|
-
async function $
|
|
60056
|
+
async function $do110(client, request, options) {
|
|
59891
60057
|
const parsed = safeParse(request, (value) => PromptUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59892
60058
|
if (!parsed.ok) {
|
|
59893
60059
|
return [parsed, { status: "invalid" }];
|
|
@@ -59958,12 +60124,12 @@ var init_promptsUpdate = __esm(() => {
|
|
|
59958
60124
|
});
|
|
59959
60125
|
|
|
59960
60126
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
59961
|
-
var
|
|
60127
|
+
var args99, tool$promptsUpdate;
|
|
59962
60128
|
var init_promptsUpdate2 = __esm(() => {
|
|
59963
60129
|
init_promptsUpdate();
|
|
59964
60130
|
init_components();
|
|
59965
60131
|
init_tools();
|
|
59966
|
-
|
|
60132
|
+
args99 = {
|
|
59967
60133
|
request: PromptUpdateRequest$inboundSchema
|
|
59968
60134
|
};
|
|
59969
60135
|
tool$promptsUpdate = {
|
|
@@ -59971,9 +60137,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
59971
60137
|
description: `Update Prompt
|
|
59972
60138
|
|
|
59973
60139
|
Update an existing prompt`,
|
|
59974
|
-
args:
|
|
59975
|
-
tool: async (client,
|
|
59976
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
60140
|
+
args: args99,
|
|
60141
|
+
tool: async (client, args100, ctx) => {
|
|
60142
|
+
const [result, apiCall] = await promptsUpdate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59977
60143
|
if (!result.ok) {
|
|
59978
60144
|
return {
|
|
59979
60145
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59988,9 +60154,9 @@ Update an existing prompt`,
|
|
|
59988
60154
|
|
|
59989
60155
|
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
59990
60156
|
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
59991
|
-
return new APIPromise($
|
|
60157
|
+
return new APIPromise($do111(client, options));
|
|
59992
60158
|
}
|
|
59993
|
-
async function $
|
|
60159
|
+
async function $do111(client, options) {
|
|
59994
60160
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
59995
60161
|
const headers = new Headers(compactMap({
|
|
59996
60162
|
Accept: "*/*"
|
|
@@ -60069,9 +60235,9 @@ var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
|
|
|
60069
60235
|
|
|
60070
60236
|
// src/funcs/pronunciationsPronunciationsDownloadCsv.ts
|
|
60071
60237
|
function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
60072
|
-
return new APIPromise($
|
|
60238
|
+
return new APIPromise($do112(client, options));
|
|
60073
60239
|
}
|
|
60074
|
-
async function $
|
|
60240
|
+
async function $do112(client, options) {
|
|
60075
60241
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
60076
60242
|
const headers = new Headers(compactMap({
|
|
60077
60243
|
Accept: "text/csv"
|
|
@@ -60158,9 +60324,9 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
60158
60324
|
|
|
60159
60325
|
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
60160
60326
|
function pronunciationsPronunciationsGet(client, options) {
|
|
60161
|
-
return new APIPromise($
|
|
60327
|
+
return new APIPromise($do113(client, options));
|
|
60162
60328
|
}
|
|
60163
|
-
async function $
|
|
60329
|
+
async function $do113(client, options) {
|
|
60164
60330
|
const path = pathToFunc("/api/v1/pronunciations")();
|
|
60165
60331
|
const headers = new Headers(compactMap({
|
|
60166
60332
|
Accept: "application/json"
|
|
@@ -60240,9 +60406,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
|
60240
60406
|
|
|
60241
60407
|
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
60242
60408
|
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
60243
|
-
return new APIPromise($
|
|
60409
|
+
return new APIPromise($do114(client, options));
|
|
60244
60410
|
}
|
|
60245
|
-
async function $
|
|
60411
|
+
async function $do114(client, options) {
|
|
60246
60412
|
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
60247
60413
|
const headers = new Headers(compactMap({
|
|
60248
60414
|
Accept: "application/json"
|
|
@@ -60322,9 +60488,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
|
60322
60488
|
|
|
60323
60489
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
60324
60490
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
60325
|
-
return new APIPromise($
|
|
60491
|
+
return new APIPromise($do115(client, request, options));
|
|
60326
60492
|
}
|
|
60327
|
-
async function $
|
|
60493
|
+
async function $do115(client, request, options) {
|
|
60328
60494
|
const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
60329
60495
|
if (!parsed.ok) {
|
|
60330
60496
|
return [parsed, { status: "invalid" }];
|
|
@@ -60406,20 +60572,20 @@ var init_pronunciationsPronunciationsUploadCsv = __esm(() => {
|
|
|
60406
60572
|
});
|
|
60407
60573
|
|
|
60408
60574
|
// src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts
|
|
60409
|
-
var
|
|
60575
|
+
var args100, tool$pronunciationsPronunciationsUploadCsv;
|
|
60410
60576
|
var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
60411
60577
|
init_pronunciationsPronunciationsUploadCsv();
|
|
60412
60578
|
init_components();
|
|
60413
60579
|
init_tools();
|
|
60414
|
-
|
|
60580
|
+
args100 = {
|
|
60415
60581
|
request: BodyPronunciationsUploadCsv$inboundSchema
|
|
60416
60582
|
};
|
|
60417
60583
|
tool$pronunciationsPronunciationsUploadCsv = {
|
|
60418
60584
|
name: "pronunciations-pronunciations-upload-csv",
|
|
60419
60585
|
description: `Upload Pronunciations Csv`,
|
|
60420
|
-
args:
|
|
60421
|
-
tool: async (client,
|
|
60422
|
-
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client,
|
|
60586
|
+
args: args100,
|
|
60587
|
+
tool: async (client, args101, ctx) => {
|
|
60588
|
+
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60423
60589
|
if (!result.ok) {
|
|
60424
60590
|
return {
|
|
60425
60591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60434,9 +60600,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
60434
60600
|
|
|
60435
60601
|
// src/funcs/rolesCreate.ts
|
|
60436
60602
|
function rolesCreate(client, request, options) {
|
|
60437
|
-
return new APIPromise($
|
|
60603
|
+
return new APIPromise($do116(client, request, options));
|
|
60438
60604
|
}
|
|
60439
|
-
async function $
|
|
60605
|
+
async function $do116(client, request, options) {
|
|
60440
60606
|
const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60441
60607
|
if (!parsed.ok) {
|
|
60442
60608
|
return [parsed, { status: "invalid" }];
|
|
@@ -60507,12 +60673,12 @@ var init_rolesCreate = __esm(() => {
|
|
|
60507
60673
|
});
|
|
60508
60674
|
|
|
60509
60675
|
// src/mcp-server/tools/rolesCreate.ts
|
|
60510
|
-
var
|
|
60676
|
+
var args101, tool$rolesCreate;
|
|
60511
60677
|
var init_rolesCreate2 = __esm(() => {
|
|
60512
60678
|
init_rolesCreate();
|
|
60513
60679
|
init_components();
|
|
60514
60680
|
init_tools();
|
|
60515
|
-
|
|
60681
|
+
args101 = {
|
|
60516
60682
|
request: RoleCreateRequest$inboundSchema
|
|
60517
60683
|
};
|
|
60518
60684
|
tool$rolesCreate = {
|
|
@@ -60520,9 +60686,9 @@ var init_rolesCreate2 = __esm(() => {
|
|
|
60520
60686
|
description: `Create Role
|
|
60521
60687
|
|
|
60522
60688
|
Create a new role.`,
|
|
60523
|
-
args:
|
|
60524
|
-
tool: async (client,
|
|
60525
|
-
const [result, apiCall] = await rolesCreate(client,
|
|
60689
|
+
args: args101,
|
|
60690
|
+
tool: async (client, args102, ctx) => {
|
|
60691
|
+
const [result, apiCall] = await rolesCreate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60526
60692
|
if (!result.ok) {
|
|
60527
60693
|
return {
|
|
60528
60694
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60537,9 +60703,9 @@ Create a new role.`,
|
|
|
60537
60703
|
|
|
60538
60704
|
// src/funcs/rolesDelete.ts
|
|
60539
60705
|
function rolesDelete(client, request, options) {
|
|
60540
|
-
return new APIPromise($
|
|
60706
|
+
return new APIPromise($do117(client, request, options));
|
|
60541
60707
|
}
|
|
60542
|
-
async function $
|
|
60708
|
+
async function $do117(client, request, options) {
|
|
60543
60709
|
const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60544
60710
|
if (!parsed.ok) {
|
|
60545
60711
|
return [parsed, { status: "invalid" }];
|
|
@@ -60621,12 +60787,12 @@ var init_rolesDelete = __esm(() => {
|
|
|
60621
60787
|
});
|
|
60622
60788
|
|
|
60623
60789
|
// src/mcp-server/tools/rolesDelete.ts
|
|
60624
|
-
var
|
|
60790
|
+
var args102, tool$rolesDelete;
|
|
60625
60791
|
var init_rolesDelete2 = __esm(() => {
|
|
60626
60792
|
init_rolesDelete();
|
|
60627
60793
|
init_operations();
|
|
60628
60794
|
init_tools();
|
|
60629
|
-
|
|
60795
|
+
args102 = {
|
|
60630
60796
|
request: RolesDeleteRequest$inboundSchema
|
|
60631
60797
|
};
|
|
60632
60798
|
tool$rolesDelete = {
|
|
@@ -60634,9 +60800,9 @@ var init_rolesDelete2 = __esm(() => {
|
|
|
60634
60800
|
description: `Delete Role
|
|
60635
60801
|
|
|
60636
60802
|
Delete a role. Optionally, reassign existing users with that role to a new role.`,
|
|
60637
|
-
args:
|
|
60638
|
-
tool: async (client,
|
|
60639
|
-
const [result, apiCall] = await rolesDelete(client,
|
|
60803
|
+
args: args102,
|
|
60804
|
+
tool: async (client, args103, ctx) => {
|
|
60805
|
+
const [result, apiCall] = await rolesDelete(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60640
60806
|
if (!result.ok) {
|
|
60641
60807
|
return {
|
|
60642
60808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60651,9 +60817,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
60651
60817
|
|
|
60652
60818
|
// src/funcs/rolesGetById.ts
|
|
60653
60819
|
function rolesGetById(client, request, options) {
|
|
60654
|
-
return new APIPromise($
|
|
60820
|
+
return new APIPromise($do118(client, request, options));
|
|
60655
60821
|
}
|
|
60656
|
-
async function $
|
|
60822
|
+
async function $do118(client, request, options) {
|
|
60657
60823
|
const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60658
60824
|
if (!parsed.ok) {
|
|
60659
60825
|
return [parsed, { status: "invalid" }];
|
|
@@ -60730,12 +60896,12 @@ var init_rolesGetById = __esm(() => {
|
|
|
60730
60896
|
});
|
|
60731
60897
|
|
|
60732
60898
|
// src/mcp-server/tools/rolesGetById.ts
|
|
60733
|
-
var
|
|
60899
|
+
var args103, tool$rolesGetById;
|
|
60734
60900
|
var init_rolesGetById2 = __esm(() => {
|
|
60735
60901
|
init_rolesGetById();
|
|
60736
60902
|
init_operations();
|
|
60737
60903
|
init_tools();
|
|
60738
|
-
|
|
60904
|
+
args103 = {
|
|
60739
60905
|
request: RolesGetByIdRequest$inboundSchema
|
|
60740
60906
|
};
|
|
60741
60907
|
tool$rolesGetById = {
|
|
@@ -60743,9 +60909,9 @@ var init_rolesGetById2 = __esm(() => {
|
|
|
60743
60909
|
description: `Get Role
|
|
60744
60910
|
|
|
60745
60911
|
Fetch a given role.`,
|
|
60746
|
-
args:
|
|
60747
|
-
tool: async (client,
|
|
60748
|
-
const [result, apiCall] = await rolesGetById(client,
|
|
60912
|
+
args: args103,
|
|
60913
|
+
tool: async (client, args104, ctx) => {
|
|
60914
|
+
const [result, apiCall] = await rolesGetById(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60749
60915
|
if (!result.ok) {
|
|
60750
60916
|
return {
|
|
60751
60917
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60760,9 +60926,9 @@ Fetch a given role.`,
|
|
|
60760
60926
|
|
|
60761
60927
|
// src/funcs/rolesList.ts
|
|
60762
60928
|
function rolesList(client, request, options) {
|
|
60763
|
-
return new APIPromise($
|
|
60929
|
+
return new APIPromise($do119(client, request, options));
|
|
60764
60930
|
}
|
|
60765
|
-
async function $
|
|
60931
|
+
async function $do119(client, request, options) {
|
|
60766
60932
|
const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60767
60933
|
if (!parsed.ok) {
|
|
60768
60934
|
return [parsed, { status: "invalid" }];
|
|
@@ -60845,12 +61011,12 @@ var init_rolesList = __esm(() => {
|
|
|
60845
61011
|
});
|
|
60846
61012
|
|
|
60847
61013
|
// src/mcp-server/tools/rolesList.ts
|
|
60848
|
-
var
|
|
61014
|
+
var args104, tool$rolesList;
|
|
60849
61015
|
var init_rolesList2 = __esm(() => {
|
|
60850
61016
|
init_rolesList();
|
|
60851
61017
|
init_operations();
|
|
60852
61018
|
init_tools();
|
|
60853
|
-
|
|
61019
|
+
args104 = {
|
|
60854
61020
|
request: RolesListRequest$inboundSchema
|
|
60855
61021
|
};
|
|
60856
61022
|
tool$rolesList = {
|
|
@@ -60858,9 +61024,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
60858
61024
|
description: `List Roles
|
|
60859
61025
|
|
|
60860
61026
|
List the existing roles.`,
|
|
60861
|
-
args:
|
|
60862
|
-
tool: async (client,
|
|
60863
|
-
const [result, apiCall] = await rolesList(client,
|
|
61027
|
+
args: args104,
|
|
61028
|
+
tool: async (client, args105, ctx) => {
|
|
61029
|
+
const [result, apiCall] = await rolesList(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60864
61030
|
if (!result.ok) {
|
|
60865
61031
|
return {
|
|
60866
61032
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60875,9 +61041,9 @@ List the existing roles.`,
|
|
|
60875
61041
|
|
|
60876
61042
|
// src/funcs/rolesUpdate.ts
|
|
60877
61043
|
function rolesUpdate(client, request, options) {
|
|
60878
|
-
return new APIPromise($
|
|
61044
|
+
return new APIPromise($do120(client, request, options));
|
|
60879
61045
|
}
|
|
60880
|
-
async function $
|
|
61046
|
+
async function $do120(client, request, options) {
|
|
60881
61047
|
const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60882
61048
|
if (!parsed.ok) {
|
|
60883
61049
|
return [parsed, { status: "invalid" }];
|
|
@@ -60948,12 +61114,12 @@ var init_rolesUpdate = __esm(() => {
|
|
|
60948
61114
|
});
|
|
60949
61115
|
|
|
60950
61116
|
// src/mcp-server/tools/rolesUpdate.ts
|
|
60951
|
-
var
|
|
61117
|
+
var args105, tool$rolesUpdate;
|
|
60952
61118
|
var init_rolesUpdate2 = __esm(() => {
|
|
60953
61119
|
init_rolesUpdate();
|
|
60954
61120
|
init_components();
|
|
60955
61121
|
init_tools();
|
|
60956
|
-
|
|
61122
|
+
args105 = {
|
|
60957
61123
|
request: RoleUpdateRequest$inboundSchema
|
|
60958
61124
|
};
|
|
60959
61125
|
tool$rolesUpdate = {
|
|
@@ -60961,9 +61127,9 @@ var init_rolesUpdate2 = __esm(() => {
|
|
|
60961
61127
|
description: `Update Role
|
|
60962
61128
|
|
|
60963
61129
|
Update an existing role.`,
|
|
60964
|
-
args:
|
|
60965
|
-
tool: async (client,
|
|
60966
|
-
const [result, apiCall] = await rolesUpdate(client,
|
|
61130
|
+
args: args105,
|
|
61131
|
+
tool: async (client, args106, ctx) => {
|
|
61132
|
+
const [result, apiCall] = await rolesUpdate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60967
61133
|
if (!result.ok) {
|
|
60968
61134
|
return {
|
|
60969
61135
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60978,9 +61144,9 @@ Update an existing role.`,
|
|
|
60978
61144
|
|
|
60979
61145
|
// src/funcs/servicesCreate.ts
|
|
60980
61146
|
function servicesCreate(client, request, options) {
|
|
60981
|
-
return new APIPromise($
|
|
61147
|
+
return new APIPromise($do121(client, request, options));
|
|
60982
61148
|
}
|
|
60983
|
-
async function $
|
|
61149
|
+
async function $do121(client, request, options) {
|
|
60984
61150
|
const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60985
61151
|
if (!parsed.ok) {
|
|
60986
61152
|
return [parsed, { status: "invalid" }];
|
|
@@ -61051,12 +61217,12 @@ var init_servicesCreate = __esm(() => {
|
|
|
61051
61217
|
});
|
|
61052
61218
|
|
|
61053
61219
|
// src/mcp-server/tools/servicesCreate.ts
|
|
61054
|
-
var
|
|
61220
|
+
var args106, tool$servicesCreate;
|
|
61055
61221
|
var init_servicesCreate2 = __esm(() => {
|
|
61056
61222
|
init_servicesCreate();
|
|
61057
61223
|
init_components();
|
|
61058
61224
|
init_tools();
|
|
61059
|
-
|
|
61225
|
+
args106 = {
|
|
61060
61226
|
request: ServiceCreateRequest$inboundSchema
|
|
61061
61227
|
};
|
|
61062
61228
|
tool$servicesCreate = {
|
|
@@ -61064,9 +61230,9 @@ var init_servicesCreate2 = __esm(() => {
|
|
|
61064
61230
|
description: `Create Service
|
|
61065
61231
|
|
|
61066
61232
|
Create a new service.`,
|
|
61067
|
-
args:
|
|
61068
|
-
tool: async (client,
|
|
61069
|
-
const [result, apiCall] = await servicesCreate(client,
|
|
61233
|
+
args: args106,
|
|
61234
|
+
tool: async (client, args107, ctx) => {
|
|
61235
|
+
const [result, apiCall] = await servicesCreate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61070
61236
|
if (!result.ok) {
|
|
61071
61237
|
return {
|
|
61072
61238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61081,9 +61247,9 @@ Create a new service.`,
|
|
|
61081
61247
|
|
|
61082
61248
|
// src/funcs/servicesDelete.ts
|
|
61083
61249
|
function servicesDelete(client, request, options) {
|
|
61084
|
-
return new APIPromise($
|
|
61250
|
+
return new APIPromise($do122(client, request, options));
|
|
61085
61251
|
}
|
|
61086
|
-
async function $
|
|
61252
|
+
async function $do122(client, request, options) {
|
|
61087
61253
|
const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61088
61254
|
if (!parsed.ok) {
|
|
61089
61255
|
return [parsed, { status: "invalid" }];
|
|
@@ -61164,12 +61330,12 @@ var init_servicesDelete = __esm(() => {
|
|
|
61164
61330
|
});
|
|
61165
61331
|
|
|
61166
61332
|
// src/mcp-server/tools/servicesDelete.ts
|
|
61167
|
-
var
|
|
61333
|
+
var args107, tool$servicesDelete;
|
|
61168
61334
|
var init_servicesDelete2 = __esm(() => {
|
|
61169
61335
|
init_servicesDelete();
|
|
61170
61336
|
init_operations();
|
|
61171
61337
|
init_tools();
|
|
61172
|
-
|
|
61338
|
+
args107 = {
|
|
61173
61339
|
request: ServiceDeleteRequest$inboundSchema
|
|
61174
61340
|
};
|
|
61175
61341
|
tool$servicesDelete = {
|
|
@@ -61177,9 +61343,9 @@ var init_servicesDelete2 = __esm(() => {
|
|
|
61177
61343
|
description: `Delete Service
|
|
61178
61344
|
|
|
61179
61345
|
Delete a service. A service with linked tools cannot be deleted.`,
|
|
61180
|
-
args:
|
|
61181
|
-
tool: async (client,
|
|
61182
|
-
const [result, apiCall] = await servicesDelete(client,
|
|
61346
|
+
args: args107,
|
|
61347
|
+
tool: async (client, args108, ctx) => {
|
|
61348
|
+
const [result, apiCall] = await servicesDelete(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61183
61349
|
if (!result.ok) {
|
|
61184
61350
|
return {
|
|
61185
61351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61194,9 +61360,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
61194
61360
|
|
|
61195
61361
|
// src/funcs/servicesGetById.ts
|
|
61196
61362
|
function servicesGetById(client, request, options) {
|
|
61197
|
-
return new APIPromise($
|
|
61363
|
+
return new APIPromise($do123(client, request, options));
|
|
61198
61364
|
}
|
|
61199
|
-
async function $
|
|
61365
|
+
async function $do123(client, request, options) {
|
|
61200
61366
|
const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61201
61367
|
if (!parsed.ok) {
|
|
61202
61368
|
return [parsed, { status: "invalid" }];
|
|
@@ -61273,12 +61439,12 @@ var init_servicesGetById = __esm(() => {
|
|
|
61273
61439
|
});
|
|
61274
61440
|
|
|
61275
61441
|
// src/mcp-server/tools/servicesGetById.ts
|
|
61276
|
-
var
|
|
61442
|
+
var args108, tool$servicesGetById;
|
|
61277
61443
|
var init_servicesGetById2 = __esm(() => {
|
|
61278
61444
|
init_servicesGetById();
|
|
61279
61445
|
init_operations();
|
|
61280
61446
|
init_tools();
|
|
61281
|
-
|
|
61447
|
+
args108 = {
|
|
61282
61448
|
request: ServicesGetByIdRequest$inboundSchema
|
|
61283
61449
|
};
|
|
61284
61450
|
tool$servicesGetById = {
|
|
@@ -61286,9 +61452,9 @@ var init_servicesGetById2 = __esm(() => {
|
|
|
61286
61452
|
description: `Get Service By Id
|
|
61287
61453
|
|
|
61288
61454
|
Get a service by its ID`,
|
|
61289
|
-
args:
|
|
61290
|
-
tool: async (client,
|
|
61291
|
-
const [result, apiCall] = await servicesGetById(client,
|
|
61455
|
+
args: args108,
|
|
61456
|
+
tool: async (client, args109, ctx) => {
|
|
61457
|
+
const [result, apiCall] = await servicesGetById(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61292
61458
|
if (!result.ok) {
|
|
61293
61459
|
return {
|
|
61294
61460
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61303,9 +61469,9 @@ Get a service by its ID`,
|
|
|
61303
61469
|
|
|
61304
61470
|
// src/funcs/servicesList.ts
|
|
61305
61471
|
function servicesList(client, request, options) {
|
|
61306
|
-
return new APIPromise($
|
|
61472
|
+
return new APIPromise($do124(client, request, options));
|
|
61307
61473
|
}
|
|
61308
|
-
async function $
|
|
61474
|
+
async function $do124(client, request, options) {
|
|
61309
61475
|
const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61310
61476
|
if (!parsed.ok) {
|
|
61311
61477
|
return [parsed, { status: "invalid" }];
|
|
@@ -61388,12 +61554,12 @@ var init_servicesList = __esm(() => {
|
|
|
61388
61554
|
});
|
|
61389
61555
|
|
|
61390
61556
|
// src/mcp-server/tools/servicesList.ts
|
|
61391
|
-
var
|
|
61557
|
+
var args109, tool$servicesList;
|
|
61392
61558
|
var init_servicesList2 = __esm(() => {
|
|
61393
61559
|
init_servicesList();
|
|
61394
61560
|
init_operations();
|
|
61395
61561
|
init_tools();
|
|
61396
|
-
|
|
61562
|
+
args109 = {
|
|
61397
61563
|
request: ServiceListRequest$inboundSchema
|
|
61398
61564
|
};
|
|
61399
61565
|
tool$servicesList = {
|
|
@@ -61401,9 +61567,9 @@ var init_servicesList2 = __esm(() => {
|
|
|
61401
61567
|
description: `Service List
|
|
61402
61568
|
|
|
61403
61569
|
List the existing services`,
|
|
61404
|
-
args:
|
|
61405
|
-
tool: async (client,
|
|
61406
|
-
const [result, apiCall] = await servicesList(client,
|
|
61570
|
+
args: args109,
|
|
61571
|
+
tool: async (client, args110, ctx) => {
|
|
61572
|
+
const [result, apiCall] = await servicesList(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61407
61573
|
if (!result.ok) {
|
|
61408
61574
|
return {
|
|
61409
61575
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61418,9 +61584,9 @@ List the existing services`,
|
|
|
61418
61584
|
|
|
61419
61585
|
// src/funcs/servicesUpdate.ts
|
|
61420
61586
|
function servicesUpdate(client, request, options) {
|
|
61421
|
-
return new APIPromise($
|
|
61587
|
+
return new APIPromise($do125(client, request, options));
|
|
61422
61588
|
}
|
|
61423
|
-
async function $
|
|
61589
|
+
async function $do125(client, request, options) {
|
|
61424
61590
|
const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61425
61591
|
if (!parsed.ok) {
|
|
61426
61592
|
return [parsed, { status: "invalid" }];
|
|
@@ -61491,12 +61657,12 @@ var init_servicesUpdate = __esm(() => {
|
|
|
61491
61657
|
});
|
|
61492
61658
|
|
|
61493
61659
|
// src/mcp-server/tools/servicesUpdate.ts
|
|
61494
|
-
var
|
|
61660
|
+
var args110, tool$servicesUpdate;
|
|
61495
61661
|
var init_servicesUpdate2 = __esm(() => {
|
|
61496
61662
|
init_servicesUpdate();
|
|
61497
61663
|
init_components();
|
|
61498
61664
|
init_tools();
|
|
61499
|
-
|
|
61665
|
+
args110 = {
|
|
61500
61666
|
request: ServiceUpdateRequest$inboundSchema
|
|
61501
61667
|
};
|
|
61502
61668
|
tool$servicesUpdate = {
|
|
@@ -61504,9 +61670,9 @@ var init_servicesUpdate2 = __esm(() => {
|
|
|
61504
61670
|
description: `Update Service
|
|
61505
61671
|
|
|
61506
61672
|
Update an existing service.`,
|
|
61507
|
-
args:
|
|
61508
|
-
tool: async (client,
|
|
61509
|
-
const [result, apiCall] = await servicesUpdate(client,
|
|
61673
|
+
args: args110,
|
|
61674
|
+
tool: async (client, args111, ctx) => {
|
|
61675
|
+
const [result, apiCall] = await servicesUpdate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61510
61676
|
if (!result.ok) {
|
|
61511
61677
|
return {
|
|
61512
61678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61521,9 +61687,9 @@ Update an existing service.`,
|
|
|
61521
61687
|
|
|
61522
61688
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
61523
61689
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
61524
|
-
return new APIPromise($
|
|
61690
|
+
return new APIPromise($do126(client, request, options));
|
|
61525
61691
|
}
|
|
61526
|
-
async function $
|
|
61692
|
+
async function $do126(client, request, options) {
|
|
61527
61693
|
const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61528
61694
|
if (!parsed.ok) {
|
|
61529
61695
|
return [parsed, { status: "invalid" }];
|
|
@@ -61600,20 +61766,20 @@ var init_sessionDebugGetSessionDataBySessionId = __esm(() => {
|
|
|
61600
61766
|
});
|
|
61601
61767
|
|
|
61602
61768
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySessionId.ts
|
|
61603
|
-
var
|
|
61769
|
+
var args111, tool$sessionDebugGetSessionDataBySessionId;
|
|
61604
61770
|
var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
61605
61771
|
init_sessionDebugGetSessionDataBySessionId();
|
|
61606
61772
|
init_operations();
|
|
61607
61773
|
init_tools();
|
|
61608
|
-
|
|
61774
|
+
args111 = {
|
|
61609
61775
|
request: GetSessionDataBySessionIdRequest$inboundSchema
|
|
61610
61776
|
};
|
|
61611
61777
|
tool$sessionDebugGetSessionDataBySessionId = {
|
|
61612
61778
|
name: "session-debug-get-session-data-by-session-id",
|
|
61613
61779
|
description: `Get Session Data By Session Id`,
|
|
61614
|
-
args:
|
|
61615
|
-
tool: async (client,
|
|
61616
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client,
|
|
61780
|
+
args: args111,
|
|
61781
|
+
tool: async (client, args112, ctx) => {
|
|
61782
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61617
61783
|
if (!result.ok) {
|
|
61618
61784
|
return {
|
|
61619
61785
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61628,9 +61794,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
61628
61794
|
|
|
61629
61795
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
61630
61796
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
61631
|
-
return new APIPromise($
|
|
61797
|
+
return new APIPromise($do127(client, request, options));
|
|
61632
61798
|
}
|
|
61633
|
-
async function $
|
|
61799
|
+
async function $do127(client, request, options) {
|
|
61634
61800
|
const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61635
61801
|
if (!parsed.ok) {
|
|
61636
61802
|
return [parsed, { status: "invalid" }];
|
|
@@ -61705,20 +61871,20 @@ var init_sessionDebugGetSessionDataBySid = __esm(() => {
|
|
|
61705
61871
|
});
|
|
61706
61872
|
|
|
61707
61873
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySid.ts
|
|
61708
|
-
var
|
|
61874
|
+
var args112, tool$sessionDebugGetSessionDataBySid;
|
|
61709
61875
|
var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
61710
61876
|
init_sessionDebugGetSessionDataBySid();
|
|
61711
61877
|
init_operations();
|
|
61712
61878
|
init_tools();
|
|
61713
|
-
|
|
61879
|
+
args112 = {
|
|
61714
61880
|
request: GetSessionDataBySidRequest$inboundSchema
|
|
61715
61881
|
};
|
|
61716
61882
|
tool$sessionDebugGetSessionDataBySid = {
|
|
61717
61883
|
name: "session-debug-get-session-data-by-sid",
|
|
61718
61884
|
description: `Get Session Data By Sid`,
|
|
61719
|
-
args:
|
|
61720
|
-
tool: async (client,
|
|
61721
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client,
|
|
61885
|
+
args: args112,
|
|
61886
|
+
tool: async (client, args113, ctx) => {
|
|
61887
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61722
61888
|
if (!result.ok) {
|
|
61723
61889
|
return {
|
|
61724
61890
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61733,9 +61899,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
61733
61899
|
|
|
61734
61900
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
61735
61901
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
61736
|
-
return new APIPromise($
|
|
61902
|
+
return new APIPromise($do128(client, request, options));
|
|
61737
61903
|
}
|
|
61738
|
-
async function $
|
|
61904
|
+
async function $do128(client, request, options) {
|
|
61739
61905
|
const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61740
61906
|
if (!parsed.ok) {
|
|
61741
61907
|
return [parsed, { status: "invalid" }];
|
|
@@ -61816,20 +61982,20 @@ var init_sessionDebugGetSessionToolCallResultById = __esm(() => {
|
|
|
61816
61982
|
});
|
|
61817
61983
|
|
|
61818
61984
|
// src/mcp-server/tools/sessionDebugGetSessionToolCallResultById.ts
|
|
61819
|
-
var
|
|
61985
|
+
var args113, tool$sessionDebugGetSessionToolCallResultById;
|
|
61820
61986
|
var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
61821
61987
|
init_sessionDebugGetSessionToolCallResultById();
|
|
61822
61988
|
init_operations();
|
|
61823
61989
|
init_tools();
|
|
61824
|
-
|
|
61990
|
+
args113 = {
|
|
61825
61991
|
request: GetSessionToolCallResultByIdRequest$inboundSchema
|
|
61826
61992
|
};
|
|
61827
61993
|
tool$sessionDebugGetSessionToolCallResultById = {
|
|
61828
61994
|
name: "session-debug-get-session-tool-call-result-by-id",
|
|
61829
61995
|
description: `Get Session Tool Call Result By Id`,
|
|
61830
|
-
args:
|
|
61831
|
-
tool: async (client,
|
|
61832
|
-
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client,
|
|
61996
|
+
args: args113,
|
|
61997
|
+
tool: async (client, args114, ctx) => {
|
|
61998
|
+
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61833
61999
|
if (!result.ok) {
|
|
61834
62000
|
return {
|
|
61835
62001
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61844,9 +62010,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
61844
62010
|
|
|
61845
62011
|
// src/funcs/sessionLabelsCreate.ts
|
|
61846
62012
|
function sessionLabelsCreate(client, request, options) {
|
|
61847
|
-
return new APIPromise($
|
|
62013
|
+
return new APIPromise($do129(client, request, options));
|
|
61848
62014
|
}
|
|
61849
|
-
async function $
|
|
62015
|
+
async function $do129(client, request, options) {
|
|
61850
62016
|
const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
61851
62017
|
if (!parsed.ok) {
|
|
61852
62018
|
return [parsed, { status: "invalid" }];
|
|
@@ -61917,12 +62083,12 @@ var init_sessionLabelsCreate = __esm(() => {
|
|
|
61917
62083
|
});
|
|
61918
62084
|
|
|
61919
62085
|
// src/mcp-server/tools/sessionLabelsCreate.ts
|
|
61920
|
-
var
|
|
62086
|
+
var args114, tool$sessionLabelsCreate;
|
|
61921
62087
|
var init_sessionLabelsCreate2 = __esm(() => {
|
|
61922
62088
|
init_sessionLabelsCreate();
|
|
61923
62089
|
init_components();
|
|
61924
62090
|
init_tools();
|
|
61925
|
-
|
|
62091
|
+
args114 = {
|
|
61926
62092
|
request: SessionLabelCreate$inboundSchema
|
|
61927
62093
|
};
|
|
61928
62094
|
tool$sessionLabelsCreate = {
|
|
@@ -61930,9 +62096,9 @@ var init_sessionLabelsCreate2 = __esm(() => {
|
|
|
61930
62096
|
description: `Create Label
|
|
61931
62097
|
|
|
61932
62098
|
Create a new label`,
|
|
61933
|
-
args:
|
|
61934
|
-
tool: async (client,
|
|
61935
|
-
const [result, apiCall] = await sessionLabelsCreate(client,
|
|
62099
|
+
args: args114,
|
|
62100
|
+
tool: async (client, args115, ctx) => {
|
|
62101
|
+
const [result, apiCall] = await sessionLabelsCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61936
62102
|
if (!result.ok) {
|
|
61937
62103
|
return {
|
|
61938
62104
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61947,9 +62113,9 @@ Create a new label`,
|
|
|
61947
62113
|
|
|
61948
62114
|
// src/funcs/sessionLabelsGetById.ts
|
|
61949
62115
|
function sessionLabelsGetById(client, request, options) {
|
|
61950
|
-
return new APIPromise($
|
|
62116
|
+
return new APIPromise($do130(client, request, options));
|
|
61951
62117
|
}
|
|
61952
|
-
async function $
|
|
62118
|
+
async function $do130(client, request, options) {
|
|
61953
62119
|
const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61954
62120
|
if (!parsed.ok) {
|
|
61955
62121
|
return [parsed, { status: "invalid" }];
|
|
@@ -62023,20 +62189,20 @@ var init_sessionLabelsGetById = __esm(() => {
|
|
|
62023
62189
|
});
|
|
62024
62190
|
|
|
62025
62191
|
// src/mcp-server/tools/sessionLabelsGetById.ts
|
|
62026
|
-
var
|
|
62192
|
+
var args115, tool$sessionLabelsGetById;
|
|
62027
62193
|
var init_sessionLabelsGetById2 = __esm(() => {
|
|
62028
62194
|
init_sessionLabelsGetById();
|
|
62029
62195
|
init_operations();
|
|
62030
62196
|
init_tools();
|
|
62031
|
-
|
|
62197
|
+
args115 = {
|
|
62032
62198
|
request: SessionLabelGetByIdRequest$inboundSchema
|
|
62033
62199
|
};
|
|
62034
62200
|
tool$sessionLabelsGetById = {
|
|
62035
62201
|
name: "session-labels-get-by-id",
|
|
62036
62202
|
description: `Get Label By Id`,
|
|
62037
|
-
args:
|
|
62038
|
-
tool: async (client,
|
|
62039
|
-
const [result, apiCall] = await sessionLabelsGetById(client,
|
|
62203
|
+
args: args115,
|
|
62204
|
+
tool: async (client, args116, ctx) => {
|
|
62205
|
+
const [result, apiCall] = await sessionLabelsGetById(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62040
62206
|
if (!result.ok) {
|
|
62041
62207
|
return {
|
|
62042
62208
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62051,9 +62217,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
62051
62217
|
|
|
62052
62218
|
// src/funcs/sessionLabelsList.ts
|
|
62053
62219
|
function sessionLabelsList(client, request, options) {
|
|
62054
|
-
return new APIPromise($
|
|
62220
|
+
return new APIPromise($do131(client, request, options));
|
|
62055
62221
|
}
|
|
62056
|
-
async function $
|
|
62222
|
+
async function $do131(client, request, options) {
|
|
62057
62223
|
const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62058
62224
|
if (!parsed.ok) {
|
|
62059
62225
|
return [parsed, { status: "invalid" }];
|
|
@@ -62136,20 +62302,20 @@ var init_sessionLabelsList = __esm(() => {
|
|
|
62136
62302
|
});
|
|
62137
62303
|
|
|
62138
62304
|
// src/mcp-server/tools/sessionLabelsList.ts
|
|
62139
|
-
var
|
|
62305
|
+
var args116, tool$sessionLabelsList;
|
|
62140
62306
|
var init_sessionLabelsList2 = __esm(() => {
|
|
62141
62307
|
init_sessionLabelsList();
|
|
62142
62308
|
init_operations();
|
|
62143
62309
|
init_tools();
|
|
62144
|
-
|
|
62310
|
+
args116 = {
|
|
62145
62311
|
request: SessionLabelsListRequest$inboundSchema
|
|
62146
62312
|
};
|
|
62147
62313
|
tool$sessionLabelsList = {
|
|
62148
62314
|
name: "session-labels-list",
|
|
62149
62315
|
description: `Session Labels List`,
|
|
62150
|
-
args:
|
|
62151
|
-
tool: async (client,
|
|
62152
|
-
const [result, apiCall] = await sessionLabelsList(client,
|
|
62316
|
+
args: args116,
|
|
62317
|
+
tool: async (client, args117, ctx) => {
|
|
62318
|
+
const [result, apiCall] = await sessionLabelsList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62153
62319
|
if (!result.ok) {
|
|
62154
62320
|
return {
|
|
62155
62321
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62164,9 +62330,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
62164
62330
|
|
|
62165
62331
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
62166
62332
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
62167
|
-
return new APIPromise($
|
|
62333
|
+
return new APIPromise($do132(client, request, options));
|
|
62168
62334
|
}
|
|
62169
|
-
async function $
|
|
62335
|
+
async function $do132(client, request, options) {
|
|
62170
62336
|
const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62171
62337
|
if (!parsed.ok) {
|
|
62172
62338
|
return [parsed, { status: "invalid" }];
|
|
@@ -62243,20 +62409,20 @@ var init_sessionsFullSummaryGetById = __esm(() => {
|
|
|
62243
62409
|
});
|
|
62244
62410
|
|
|
62245
62411
|
// src/mcp-server/tools/sessionsFullSummaryGetById.ts
|
|
62246
|
-
var
|
|
62412
|
+
var args117, tool$sessionsFullSummaryGetById;
|
|
62247
62413
|
var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
62248
62414
|
init_sessionsFullSummaryGetById();
|
|
62249
62415
|
init_operations();
|
|
62250
62416
|
init_tools();
|
|
62251
|
-
|
|
62417
|
+
args117 = {
|
|
62252
62418
|
request: SessionFullSummaryGetByIdRequest$inboundSchema
|
|
62253
62419
|
};
|
|
62254
62420
|
tool$sessionsFullSummaryGetById = {
|
|
62255
62421
|
name: "sessions-full-summary-get-by-id",
|
|
62256
62422
|
description: `Get Full Session Summary By Id`,
|
|
62257
|
-
args:
|
|
62258
|
-
tool: async (client,
|
|
62259
|
-
const [result, apiCall] = await sessionsFullSummaryGetById(client,
|
|
62423
|
+
args: args117,
|
|
62424
|
+
tool: async (client, args118, ctx) => {
|
|
62425
|
+
const [result, apiCall] = await sessionsFullSummaryGetById(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62260
62426
|
if (!result.ok) {
|
|
62261
62427
|
return {
|
|
62262
62428
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62271,9 +62437,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
62271
62437
|
|
|
62272
62438
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
62273
62439
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
62274
|
-
return new APIPromise($
|
|
62440
|
+
return new APIPromise($do133(client, request, options));
|
|
62275
62441
|
}
|
|
62276
|
-
async function $
|
|
62442
|
+
async function $do133(client, request, options) {
|
|
62277
62443
|
const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62278
62444
|
if (!parsed.ok) {
|
|
62279
62445
|
return [parsed, { status: "invalid" }];
|
|
@@ -62350,20 +62516,20 @@ var init_sessionsGenerateSessionRecordingUrls = __esm(() => {
|
|
|
62350
62516
|
});
|
|
62351
62517
|
|
|
62352
62518
|
// src/mcp-server/tools/sessionsGenerateSessionRecordingUrls.ts
|
|
62353
|
-
var
|
|
62519
|
+
var args118, tool$sessionsGenerateSessionRecordingUrls;
|
|
62354
62520
|
var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
62355
62521
|
init_sessionsGenerateSessionRecordingUrls();
|
|
62356
62522
|
init_operations();
|
|
62357
62523
|
init_tools();
|
|
62358
|
-
|
|
62524
|
+
args118 = {
|
|
62359
62525
|
request: GenerateSessionRecordingUrlsRequest$inboundSchema
|
|
62360
62526
|
};
|
|
62361
62527
|
tool$sessionsGenerateSessionRecordingUrls = {
|
|
62362
62528
|
name: "sessions-generate-session-recording-urls",
|
|
62363
62529
|
description: `Generate Recording Urls`,
|
|
62364
|
-
args:
|
|
62365
|
-
tool: async (client,
|
|
62366
|
-
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client,
|
|
62530
|
+
args: args118,
|
|
62531
|
+
tool: async (client, args119, ctx) => {
|
|
62532
|
+
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62367
62533
|
if (!result.ok) {
|
|
62368
62534
|
return {
|
|
62369
62535
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62378,9 +62544,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
62378
62544
|
|
|
62379
62545
|
// src/funcs/sessionsGetById.ts
|
|
62380
62546
|
function sessionsGetById(client, request, options) {
|
|
62381
|
-
return new APIPromise($
|
|
62547
|
+
return new APIPromise($do134(client, request, options));
|
|
62382
62548
|
}
|
|
62383
|
-
async function $
|
|
62549
|
+
async function $do134(client, request, options) {
|
|
62384
62550
|
const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62385
62551
|
if (!parsed.ok) {
|
|
62386
62552
|
return [parsed, { status: "invalid" }];
|
|
@@ -62457,20 +62623,20 @@ var init_sessionsGetById = __esm(() => {
|
|
|
62457
62623
|
});
|
|
62458
62624
|
|
|
62459
62625
|
// src/mcp-server/tools/sessionsGetById.ts
|
|
62460
|
-
var
|
|
62626
|
+
var args119, tool$sessionsGetById;
|
|
62461
62627
|
var init_sessionsGetById2 = __esm(() => {
|
|
62462
62628
|
init_sessionsGetById();
|
|
62463
62629
|
init_operations();
|
|
62464
62630
|
init_tools();
|
|
62465
|
-
|
|
62631
|
+
args119 = {
|
|
62466
62632
|
request: SessionGetByIdRequest$inboundSchema
|
|
62467
62633
|
};
|
|
62468
62634
|
tool$sessionsGetById = {
|
|
62469
62635
|
name: "sessions-get-by-id",
|
|
62470
62636
|
description: `Get A Single Session By Id`,
|
|
62471
|
-
args:
|
|
62472
|
-
tool: async (client,
|
|
62473
|
-
const [result, apiCall] = await sessionsGetById(client,
|
|
62637
|
+
args: args119,
|
|
62638
|
+
tool: async (client, args120, ctx) => {
|
|
62639
|
+
const [result, apiCall] = await sessionsGetById(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62474
62640
|
if (!result.ok) {
|
|
62475
62641
|
return {
|
|
62476
62642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62485,9 +62651,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
62485
62651
|
|
|
62486
62652
|
// src/funcs/sessionsLatencyGetById.ts
|
|
62487
62653
|
function sessionsLatencyGetById(client, request, options) {
|
|
62488
|
-
return new APIPromise($
|
|
62654
|
+
return new APIPromise($do135(client, request, options));
|
|
62489
62655
|
}
|
|
62490
|
-
async function $
|
|
62656
|
+
async function $do135(client, request, options) {
|
|
62491
62657
|
const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62492
62658
|
if (!parsed.ok) {
|
|
62493
62659
|
return [parsed, { status: "invalid" }];
|
|
@@ -62564,20 +62730,20 @@ var init_sessionsLatencyGetById = __esm(() => {
|
|
|
62564
62730
|
});
|
|
62565
62731
|
|
|
62566
62732
|
// src/mcp-server/tools/sessionsLatencyGetById.ts
|
|
62567
|
-
var
|
|
62733
|
+
var args120, tool$sessionsLatencyGetById;
|
|
62568
62734
|
var init_sessionsLatencyGetById2 = __esm(() => {
|
|
62569
62735
|
init_sessionsLatencyGetById();
|
|
62570
62736
|
init_operations();
|
|
62571
62737
|
init_tools();
|
|
62572
|
-
|
|
62738
|
+
args120 = {
|
|
62573
62739
|
request: SessionLatencyGetByIdRequest$inboundSchema
|
|
62574
62740
|
};
|
|
62575
62741
|
tool$sessionsLatencyGetById = {
|
|
62576
62742
|
name: "sessions-latency-get-by-id",
|
|
62577
62743
|
description: `Inspect Latency For Session`,
|
|
62578
|
-
args:
|
|
62579
|
-
tool: async (client,
|
|
62580
|
-
const [result, apiCall] = await sessionsLatencyGetById(client,
|
|
62744
|
+
args: args120,
|
|
62745
|
+
tool: async (client, args121, ctx) => {
|
|
62746
|
+
const [result, apiCall] = await sessionsLatencyGetById(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62581
62747
|
if (!result.ok) {
|
|
62582
62748
|
return {
|
|
62583
62749
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62592,9 +62758,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
62592
62758
|
|
|
62593
62759
|
// src/funcs/sessionsList.ts
|
|
62594
62760
|
function sessionsList(client, request, options) {
|
|
62595
|
-
return new APIPromise($
|
|
62761
|
+
return new APIPromise($do136(client, request, options));
|
|
62596
62762
|
}
|
|
62597
|
-
async function $
|
|
62763
|
+
async function $do136(client, request, options) {
|
|
62598
62764
|
const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62599
62765
|
if (!parsed.ok) {
|
|
62600
62766
|
return [parsed, { status: "invalid" }];
|
|
@@ -62677,20 +62843,20 @@ var init_sessionsList = __esm(() => {
|
|
|
62677
62843
|
});
|
|
62678
62844
|
|
|
62679
62845
|
// src/mcp-server/tools/sessionsList.ts
|
|
62680
|
-
var
|
|
62846
|
+
var args121, tool$sessionsList;
|
|
62681
62847
|
var init_sessionsList2 = __esm(() => {
|
|
62682
62848
|
init_sessionsList();
|
|
62683
62849
|
init_operations();
|
|
62684
62850
|
init_tools();
|
|
62685
|
-
|
|
62851
|
+
args121 = {
|
|
62686
62852
|
request: SessionsListRequest$inboundSchema
|
|
62687
62853
|
};
|
|
62688
62854
|
tool$sessionsList = {
|
|
62689
62855
|
name: "sessions-list",
|
|
62690
62856
|
description: `Sessions List`,
|
|
62691
|
-
args:
|
|
62692
|
-
tool: async (client,
|
|
62693
|
-
const [result, apiCall] = await sessionsList(client,
|
|
62857
|
+
args: args121,
|
|
62858
|
+
tool: async (client, args122, ctx) => {
|
|
62859
|
+
const [result, apiCall] = await sessionsList(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62694
62860
|
if (!result.ok) {
|
|
62695
62861
|
return {
|
|
62696
62862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62705,9 +62871,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
62705
62871
|
|
|
62706
62872
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
62707
62873
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
62708
|
-
return new APIPromise($
|
|
62874
|
+
return new APIPromise($do137(client, request, options));
|
|
62709
62875
|
}
|
|
62710
|
-
async function $
|
|
62876
|
+
async function $do137(client, request, options) {
|
|
62711
62877
|
const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62712
62878
|
if (!parsed.ok) {
|
|
62713
62879
|
return [parsed, { status: "invalid" }];
|
|
@@ -62782,20 +62948,20 @@ var init_sessionsSessionRecordingStream = __esm(() => {
|
|
|
62782
62948
|
});
|
|
62783
62949
|
|
|
62784
62950
|
// src/mcp-server/tools/sessionsSessionRecordingStream.ts
|
|
62785
|
-
var
|
|
62951
|
+
var args122, tool$sessionsSessionRecordingStream;
|
|
62786
62952
|
var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
62787
62953
|
init_sessionsSessionRecordingStream();
|
|
62788
62954
|
init_operations();
|
|
62789
62955
|
init_tools();
|
|
62790
|
-
|
|
62956
|
+
args122 = {
|
|
62791
62957
|
request: SessionRecordingStreamRequest$inboundSchema
|
|
62792
62958
|
};
|
|
62793
62959
|
tool$sessionsSessionRecordingStream = {
|
|
62794
62960
|
name: "sessions-session-recording-stream",
|
|
62795
62961
|
description: `Stream Recording`,
|
|
62796
|
-
args:
|
|
62797
|
-
tool: async (client,
|
|
62798
|
-
const [result, apiCall] = await sessionsSessionRecordingStream(client,
|
|
62962
|
+
args: args122,
|
|
62963
|
+
tool: async (client, args123, ctx) => {
|
|
62964
|
+
const [result, apiCall] = await sessionsSessionRecordingStream(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62799
62965
|
if (!result.ok) {
|
|
62800
62966
|
return {
|
|
62801
62967
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62810,9 +62976,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
62810
62976
|
|
|
62811
62977
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
62812
62978
|
function sessionsTranscriptGetById(client, request, options) {
|
|
62813
|
-
return new APIPromise($
|
|
62979
|
+
return new APIPromise($do138(client, request, options));
|
|
62814
62980
|
}
|
|
62815
|
-
async function $
|
|
62981
|
+
async function $do138(client, request, options) {
|
|
62816
62982
|
const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62817
62983
|
if (!parsed.ok) {
|
|
62818
62984
|
return [parsed, { status: "invalid" }];
|
|
@@ -62889,20 +63055,20 @@ var init_sessionsTranscriptGetById = __esm(() => {
|
|
|
62889
63055
|
});
|
|
62890
63056
|
|
|
62891
63057
|
// src/mcp-server/tools/sessionsTranscriptGetById.ts
|
|
62892
|
-
var
|
|
63058
|
+
var args123, tool$sessionsTranscriptGetById;
|
|
62893
63059
|
var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
62894
63060
|
init_sessionsTranscriptGetById();
|
|
62895
63061
|
init_operations();
|
|
62896
63062
|
init_tools();
|
|
62897
|
-
|
|
63063
|
+
args123 = {
|
|
62898
63064
|
request: SessionTranscriptGetByIdRequest$inboundSchema
|
|
62899
63065
|
};
|
|
62900
63066
|
tool$sessionsTranscriptGetById = {
|
|
62901
63067
|
name: "sessions-transcript-get-by-id",
|
|
62902
63068
|
description: `Get Session Transcript By Id`,
|
|
62903
|
-
args:
|
|
62904
|
-
tool: async (client,
|
|
62905
|
-
const [result, apiCall] = await sessionsTranscriptGetById(client,
|
|
63069
|
+
args: args123,
|
|
63070
|
+
tool: async (client, args124, ctx) => {
|
|
63071
|
+
const [result, apiCall] = await sessionsTranscriptGetById(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62906
63072
|
if (!result.ok) {
|
|
62907
63073
|
return {
|
|
62908
63074
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62917,9 +63083,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
62917
63083
|
|
|
62918
63084
|
// src/funcs/takeoutsCreate.ts
|
|
62919
63085
|
function takeoutsCreate(client, options) {
|
|
62920
|
-
return new APIPromise($
|
|
63086
|
+
return new APIPromise($do139(client, options));
|
|
62921
63087
|
}
|
|
62922
|
-
async function $
|
|
63088
|
+
async function $do139(client, options) {
|
|
62923
63089
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
62924
63090
|
const headers = new Headers(compactMap({
|
|
62925
63091
|
Accept: "application/json"
|
|
@@ -62999,9 +63165,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
62999
63165
|
|
|
63000
63166
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
63001
63167
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
63002
|
-
return new APIPromise($
|
|
63168
|
+
return new APIPromise($do140(client, request, options));
|
|
63003
63169
|
}
|
|
63004
|
-
async function $
|
|
63170
|
+
async function $do140(client, request, options) {
|
|
63005
63171
|
const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63006
63172
|
if (!parsed.ok) {
|
|
63007
63173
|
return [parsed, { status: "invalid" }];
|
|
@@ -63078,20 +63244,20 @@ var init_takeoutsTakeoutsGetByJobId = __esm(() => {
|
|
|
63078
63244
|
});
|
|
63079
63245
|
|
|
63080
63246
|
// src/mcp-server/tools/takeoutsTakeoutsGetByJobId.ts
|
|
63081
|
-
var
|
|
63247
|
+
var args124, tool$takeoutsTakeoutsGetByJobId;
|
|
63082
63248
|
var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
63083
63249
|
init_takeoutsTakeoutsGetByJobId();
|
|
63084
63250
|
init_operations();
|
|
63085
63251
|
init_tools();
|
|
63086
|
-
|
|
63252
|
+
args124 = {
|
|
63087
63253
|
request: TakeoutsGetByJobIdRequest$inboundSchema
|
|
63088
63254
|
};
|
|
63089
63255
|
tool$takeoutsTakeoutsGetByJobId = {
|
|
63090
63256
|
name: "takeouts-takeouts-get-by-job-id",
|
|
63091
63257
|
description: `Get Takeout`,
|
|
63092
|
-
args:
|
|
63093
|
-
tool: async (client,
|
|
63094
|
-
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client,
|
|
63258
|
+
args: args124,
|
|
63259
|
+
tool: async (client, args125, ctx) => {
|
|
63260
|
+
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63095
63261
|
if (!result.ok) {
|
|
63096
63262
|
return {
|
|
63097
63263
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63106,9 +63272,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
63106
63272
|
|
|
63107
63273
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
63108
63274
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
63109
|
-
return new APIPromise($
|
|
63275
|
+
return new APIPromise($do141(client, request, options));
|
|
63110
63276
|
}
|
|
63111
|
-
async function $
|
|
63277
|
+
async function $do141(client, request, options) {
|
|
63112
63278
|
const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63113
63279
|
if (!parsed.ok) {
|
|
63114
63280
|
return [parsed, { status: "invalid" }];
|
|
@@ -63191,20 +63357,20 @@ var init_takeoutsTakeoutsGetFile = __esm(() => {
|
|
|
63191
63357
|
});
|
|
63192
63358
|
|
|
63193
63359
|
// src/mcp-server/tools/takeoutsTakeoutsGetFile.ts
|
|
63194
|
-
var
|
|
63360
|
+
var args125, tool$takeoutsTakeoutsGetFile;
|
|
63195
63361
|
var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
63196
63362
|
init_takeoutsTakeoutsGetFile();
|
|
63197
63363
|
init_operations();
|
|
63198
63364
|
init_tools();
|
|
63199
|
-
|
|
63365
|
+
args125 = {
|
|
63200
63366
|
request: TakeoutsGetFileRequest$inboundSchema
|
|
63201
63367
|
};
|
|
63202
63368
|
tool$takeoutsTakeoutsGetFile = {
|
|
63203
63369
|
name: "takeouts-takeouts-get-file",
|
|
63204
63370
|
description: `Get File`,
|
|
63205
|
-
args:
|
|
63206
|
-
tool: async (client,
|
|
63207
|
-
const [result, apiCall] = await takeoutsTakeoutsGetFile(client,
|
|
63371
|
+
args: args125,
|
|
63372
|
+
tool: async (client, args126, ctx) => {
|
|
63373
|
+
const [result, apiCall] = await takeoutsTakeoutsGetFile(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63208
63374
|
if (!result.ok) {
|
|
63209
63375
|
return {
|
|
63210
63376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63219,9 +63385,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
63219
63385
|
|
|
63220
63386
|
// src/funcs/toolsCreate.ts
|
|
63221
63387
|
function toolsCreate(client, request, options) {
|
|
63222
|
-
return new APIPromise($
|
|
63388
|
+
return new APIPromise($do142(client, request, options));
|
|
63223
63389
|
}
|
|
63224
|
-
async function $
|
|
63390
|
+
async function $do142(client, request, options) {
|
|
63225
63391
|
const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63226
63392
|
if (!parsed.ok) {
|
|
63227
63393
|
return [parsed, { status: "invalid" }];
|
|
@@ -63292,12 +63458,12 @@ var init_toolsCreate = __esm(() => {
|
|
|
63292
63458
|
});
|
|
63293
63459
|
|
|
63294
63460
|
// src/mcp-server/tools/toolsCreate.ts
|
|
63295
|
-
var
|
|
63461
|
+
var args126, tool$toolsCreate;
|
|
63296
63462
|
var init_toolsCreate2 = __esm(() => {
|
|
63297
63463
|
init_toolsCreate();
|
|
63298
63464
|
init_components();
|
|
63299
63465
|
init_tools();
|
|
63300
|
-
|
|
63466
|
+
args126 = {
|
|
63301
63467
|
request: ToolCreateRequest$inboundSchema
|
|
63302
63468
|
};
|
|
63303
63469
|
tool$toolsCreate = {
|
|
@@ -63305,9 +63471,9 @@ var init_toolsCreate2 = __esm(() => {
|
|
|
63305
63471
|
description: `Create Tool
|
|
63306
63472
|
|
|
63307
63473
|
Create a new tool`,
|
|
63308
|
-
args:
|
|
63309
|
-
tool: async (client,
|
|
63310
|
-
const [result, apiCall] = await toolsCreate(client,
|
|
63474
|
+
args: args126,
|
|
63475
|
+
tool: async (client, args127, ctx) => {
|
|
63476
|
+
const [result, apiCall] = await toolsCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63311
63477
|
if (!result.ok) {
|
|
63312
63478
|
return {
|
|
63313
63479
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63322,9 +63488,9 @@ Create a new tool`,
|
|
|
63322
63488
|
|
|
63323
63489
|
// src/funcs/toolsDelete.ts
|
|
63324
63490
|
function toolsDelete(client, request, options) {
|
|
63325
|
-
return new APIPromise($
|
|
63491
|
+
return new APIPromise($do143(client, request, options));
|
|
63326
63492
|
}
|
|
63327
|
-
async function $
|
|
63493
|
+
async function $do143(client, request, options) {
|
|
63328
63494
|
const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63329
63495
|
if (!parsed.ok) {
|
|
63330
63496
|
return [parsed, { status: "invalid" }];
|
|
@@ -63405,12 +63571,12 @@ var init_toolsDelete = __esm(() => {
|
|
|
63405
63571
|
});
|
|
63406
63572
|
|
|
63407
63573
|
// src/mcp-server/tools/toolsDelete.ts
|
|
63408
|
-
var
|
|
63574
|
+
var args127, tool$toolsDelete;
|
|
63409
63575
|
var init_toolsDelete2 = __esm(() => {
|
|
63410
63576
|
init_toolsDelete();
|
|
63411
63577
|
init_operations();
|
|
63412
63578
|
init_tools();
|
|
63413
|
-
|
|
63579
|
+
args127 = {
|
|
63414
63580
|
request: ToolDeleteRequest$inboundSchema
|
|
63415
63581
|
};
|
|
63416
63582
|
tool$toolsDelete = {
|
|
@@ -63418,9 +63584,9 @@ var init_toolsDelete2 = __esm(() => {
|
|
|
63418
63584
|
description: `Delete Tool
|
|
63419
63585
|
|
|
63420
63586
|
Delete a tool.`,
|
|
63421
|
-
args:
|
|
63422
|
-
tool: async (client,
|
|
63423
|
-
const [result, apiCall] = await toolsDelete(client,
|
|
63587
|
+
args: args127,
|
|
63588
|
+
tool: async (client, args128, ctx) => {
|
|
63589
|
+
const [result, apiCall] = await toolsDelete(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63424
63590
|
if (!result.ok) {
|
|
63425
63591
|
return {
|
|
63426
63592
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63435,9 +63601,9 @@ Delete a tool.`,
|
|
|
63435
63601
|
|
|
63436
63602
|
// src/funcs/toolsGetByName.ts
|
|
63437
63603
|
function toolsGetByName(client, request, options) {
|
|
63438
|
-
return new APIPromise($
|
|
63604
|
+
return new APIPromise($do144(client, request, options));
|
|
63439
63605
|
}
|
|
63440
|
-
async function $
|
|
63606
|
+
async function $do144(client, request, options) {
|
|
63441
63607
|
const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63442
63608
|
if (!parsed.ok) {
|
|
63443
63609
|
return [parsed, { status: "invalid" }];
|
|
@@ -63514,12 +63680,12 @@ var init_toolsGetByName = __esm(() => {
|
|
|
63514
63680
|
});
|
|
63515
63681
|
|
|
63516
63682
|
// src/mcp-server/tools/toolsGetByName.ts
|
|
63517
|
-
var
|
|
63683
|
+
var args128, tool$toolsGetByName;
|
|
63518
63684
|
var init_toolsGetByName2 = __esm(() => {
|
|
63519
63685
|
init_toolsGetByName();
|
|
63520
63686
|
init_operations();
|
|
63521
63687
|
init_tools();
|
|
63522
|
-
|
|
63688
|
+
args128 = {
|
|
63523
63689
|
request: ToolGetByNameRequest$inboundSchema
|
|
63524
63690
|
};
|
|
63525
63691
|
tool$toolsGetByName = {
|
|
@@ -63527,9 +63693,9 @@ var init_toolsGetByName2 = __esm(() => {
|
|
|
63527
63693
|
description: `Tool Info
|
|
63528
63694
|
|
|
63529
63695
|
Get the details of a specific tool`,
|
|
63530
|
-
args:
|
|
63531
|
-
tool: async (client,
|
|
63532
|
-
const [result, apiCall] = await toolsGetByName(client,
|
|
63696
|
+
args: args128,
|
|
63697
|
+
tool: async (client, args129, ctx) => {
|
|
63698
|
+
const [result, apiCall] = await toolsGetByName(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63533
63699
|
if (!result.ok) {
|
|
63534
63700
|
return {
|
|
63535
63701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63544,9 +63710,9 @@ Get the details of a specific tool`,
|
|
|
63544
63710
|
|
|
63545
63711
|
// src/funcs/toolsList.ts
|
|
63546
63712
|
function toolsList(client, request, options) {
|
|
63547
|
-
return new APIPromise($
|
|
63713
|
+
return new APIPromise($do145(client, request, options));
|
|
63548
63714
|
}
|
|
63549
|
-
async function $
|
|
63715
|
+
async function $do145(client, request, options) {
|
|
63550
63716
|
const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63551
63717
|
if (!parsed.ok) {
|
|
63552
63718
|
return [parsed, { status: "invalid" }];
|
|
@@ -63629,12 +63795,12 @@ var init_toolsList = __esm(() => {
|
|
|
63629
63795
|
});
|
|
63630
63796
|
|
|
63631
63797
|
// src/mcp-server/tools/toolsList.ts
|
|
63632
|
-
var
|
|
63798
|
+
var args129, tool$toolsList;
|
|
63633
63799
|
var init_toolsList2 = __esm(() => {
|
|
63634
63800
|
init_toolsList();
|
|
63635
63801
|
init_operations();
|
|
63636
63802
|
init_tools();
|
|
63637
|
-
|
|
63803
|
+
args129 = {
|
|
63638
63804
|
request: ToolListRequest$inboundSchema
|
|
63639
63805
|
};
|
|
63640
63806
|
tool$toolsList = {
|
|
@@ -63642,9 +63808,9 @@ var init_toolsList2 = __esm(() => {
|
|
|
63642
63808
|
description: `Tool List
|
|
63643
63809
|
|
|
63644
63810
|
List the existing tools`,
|
|
63645
|
-
args:
|
|
63646
|
-
tool: async (client,
|
|
63647
|
-
const [result, apiCall] = await toolsList(client,
|
|
63811
|
+
args: args129,
|
|
63812
|
+
tool: async (client, args130, ctx) => {
|
|
63813
|
+
const [result, apiCall] = await toolsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63648
63814
|
if (!result.ok) {
|
|
63649
63815
|
return {
|
|
63650
63816
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63659,9 +63825,9 @@ List the existing tools`,
|
|
|
63659
63825
|
|
|
63660
63826
|
// src/funcs/toolsUpdate.ts
|
|
63661
63827
|
function toolsUpdate(client, request, options) {
|
|
63662
|
-
return new APIPromise($
|
|
63828
|
+
return new APIPromise($do146(client, request, options));
|
|
63663
63829
|
}
|
|
63664
|
-
async function $
|
|
63830
|
+
async function $do146(client, request, options) {
|
|
63665
63831
|
const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63666
63832
|
if (!parsed.ok) {
|
|
63667
63833
|
return [parsed, { status: "invalid" }];
|
|
@@ -63732,12 +63898,12 @@ var init_toolsUpdate = __esm(() => {
|
|
|
63732
63898
|
});
|
|
63733
63899
|
|
|
63734
63900
|
// src/mcp-server/tools/toolsUpdate.ts
|
|
63735
|
-
var
|
|
63901
|
+
var args130, tool$toolsUpdate;
|
|
63736
63902
|
var init_toolsUpdate2 = __esm(() => {
|
|
63737
63903
|
init_toolsUpdate();
|
|
63738
63904
|
init_components();
|
|
63739
63905
|
init_tools();
|
|
63740
|
-
|
|
63906
|
+
args130 = {
|
|
63741
63907
|
request: ToolUpdateRequest$inboundSchema
|
|
63742
63908
|
};
|
|
63743
63909
|
tool$toolsUpdate = {
|
|
@@ -63745,9 +63911,9 @@ var init_toolsUpdate2 = __esm(() => {
|
|
|
63745
63911
|
description: `Update Tool
|
|
63746
63912
|
|
|
63747
63913
|
Update an existing tool`,
|
|
63748
|
-
args:
|
|
63749
|
-
tool: async (client,
|
|
63750
|
-
const [result, apiCall] = await toolsUpdate(client,
|
|
63914
|
+
args: args130,
|
|
63915
|
+
tool: async (client, args131, ctx) => {
|
|
63916
|
+
const [result, apiCall] = await toolsUpdate(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63751
63917
|
if (!result.ok) {
|
|
63752
63918
|
return {
|
|
63753
63919
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63762,9 +63928,9 @@ Update an existing tool`,
|
|
|
63762
63928
|
|
|
63763
63929
|
// src/funcs/usersCreate.ts
|
|
63764
63930
|
function usersCreate(client, request, options) {
|
|
63765
|
-
return new APIPromise($
|
|
63931
|
+
return new APIPromise($do147(client, request, options));
|
|
63766
63932
|
}
|
|
63767
|
-
async function $
|
|
63933
|
+
async function $do147(client, request, options) {
|
|
63768
63934
|
const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63769
63935
|
if (!parsed.ok) {
|
|
63770
63936
|
return [parsed, { status: "invalid" }];
|
|
@@ -63835,12 +64001,12 @@ var init_usersCreate = __esm(() => {
|
|
|
63835
64001
|
});
|
|
63836
64002
|
|
|
63837
64003
|
// src/mcp-server/tools/usersCreate.ts
|
|
63838
|
-
var
|
|
64004
|
+
var args131, tool$usersCreate;
|
|
63839
64005
|
var init_usersCreate2 = __esm(() => {
|
|
63840
64006
|
init_usersCreate();
|
|
63841
64007
|
init_components();
|
|
63842
64008
|
init_tools();
|
|
63843
|
-
|
|
64009
|
+
args131 = {
|
|
63844
64010
|
request: UserCreateRequest$inboundSchema
|
|
63845
64011
|
};
|
|
63846
64012
|
tool$usersCreate = {
|
|
@@ -63848,9 +64014,9 @@ var init_usersCreate2 = __esm(() => {
|
|
|
63848
64014
|
description: `Create User
|
|
63849
64015
|
|
|
63850
64016
|
Create a new user.`,
|
|
63851
|
-
args:
|
|
63852
|
-
tool: async (client,
|
|
63853
|
-
const [result, apiCall] = await usersCreate(client,
|
|
64017
|
+
args: args131,
|
|
64018
|
+
tool: async (client, args132, ctx) => {
|
|
64019
|
+
const [result, apiCall] = await usersCreate(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63854
64020
|
if (!result.ok) {
|
|
63855
64021
|
return {
|
|
63856
64022
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63865,9 +64031,9 @@ Create a new user.`,
|
|
|
63865
64031
|
|
|
63866
64032
|
// src/funcs/usersDelete.ts
|
|
63867
64033
|
function usersDelete(client, request, options) {
|
|
63868
|
-
return new APIPromise($
|
|
64034
|
+
return new APIPromise($do148(client, request, options));
|
|
63869
64035
|
}
|
|
63870
|
-
async function $
|
|
64036
|
+
async function $do148(client, request, options) {
|
|
63871
64037
|
const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63872
64038
|
if (!parsed.ok) {
|
|
63873
64039
|
return [parsed, { status: "invalid" }];
|
|
@@ -63939,12 +64105,12 @@ var init_usersDelete = __esm(() => {
|
|
|
63939
64105
|
});
|
|
63940
64106
|
|
|
63941
64107
|
// src/mcp-server/tools/usersDelete.ts
|
|
63942
|
-
var
|
|
64108
|
+
var args132, tool$usersDelete;
|
|
63943
64109
|
var init_usersDelete2 = __esm(() => {
|
|
63944
64110
|
init_usersDelete();
|
|
63945
64111
|
init_components();
|
|
63946
64112
|
init_tools();
|
|
63947
|
-
|
|
64113
|
+
args132 = {
|
|
63948
64114
|
request: UserDeleteRequest$inboundSchema
|
|
63949
64115
|
};
|
|
63950
64116
|
tool$usersDelete = {
|
|
@@ -63952,9 +64118,9 @@ var init_usersDelete2 = __esm(() => {
|
|
|
63952
64118
|
description: `Delete User
|
|
63953
64119
|
|
|
63954
64120
|
Delete a user.`,
|
|
63955
|
-
args:
|
|
63956
|
-
tool: async (client,
|
|
63957
|
-
const [result, apiCall] = await usersDelete(client,
|
|
64121
|
+
args: args132,
|
|
64122
|
+
tool: async (client, args133, ctx) => {
|
|
64123
|
+
const [result, apiCall] = await usersDelete(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63958
64124
|
if (!result.ok) {
|
|
63959
64125
|
return {
|
|
63960
64126
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63969,9 +64135,9 @@ Delete a user.`,
|
|
|
63969
64135
|
|
|
63970
64136
|
// src/funcs/usersList.ts
|
|
63971
64137
|
function usersList(client, request, options) {
|
|
63972
|
-
return new APIPromise($
|
|
64138
|
+
return new APIPromise($do149(client, request, options));
|
|
63973
64139
|
}
|
|
63974
|
-
async function $
|
|
64140
|
+
async function $do149(client, request, options) {
|
|
63975
64141
|
const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63976
64142
|
if (!parsed.ok) {
|
|
63977
64143
|
return [parsed, { status: "invalid" }];
|
|
@@ -64054,12 +64220,12 @@ var init_usersList = __esm(() => {
|
|
|
64054
64220
|
});
|
|
64055
64221
|
|
|
64056
64222
|
// src/mcp-server/tools/usersList.ts
|
|
64057
|
-
var
|
|
64223
|
+
var args133, tool$usersList;
|
|
64058
64224
|
var init_usersList2 = __esm(() => {
|
|
64059
64225
|
init_usersList();
|
|
64060
64226
|
init_operations();
|
|
64061
64227
|
init_tools();
|
|
64062
|
-
|
|
64228
|
+
args133 = {
|
|
64063
64229
|
request: UsersListRequest$inboundSchema
|
|
64064
64230
|
};
|
|
64065
64231
|
tool$usersList = {
|
|
@@ -64067,9 +64233,9 @@ var init_usersList2 = __esm(() => {
|
|
|
64067
64233
|
description: `List Users
|
|
64068
64234
|
|
|
64069
64235
|
List the existing users.`,
|
|
64070
|
-
args:
|
|
64071
|
-
tool: async (client,
|
|
64072
|
-
const [result, apiCall] = await usersList(client,
|
|
64236
|
+
args: args133,
|
|
64237
|
+
tool: async (client, args134, ctx) => {
|
|
64238
|
+
const [result, apiCall] = await usersList(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64073
64239
|
if (!result.ok) {
|
|
64074
64240
|
return {
|
|
64075
64241
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64084,9 +64250,9 @@ List the existing users.`,
|
|
|
64084
64250
|
|
|
64085
64251
|
// src/funcs/usersUpdate.ts
|
|
64086
64252
|
function usersUpdate(client, request, options) {
|
|
64087
|
-
return new APIPromise($
|
|
64253
|
+
return new APIPromise($do150(client, request, options));
|
|
64088
64254
|
}
|
|
64089
|
-
async function $
|
|
64255
|
+
async function $do150(client, request, options) {
|
|
64090
64256
|
const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64091
64257
|
if (!parsed.ok) {
|
|
64092
64258
|
return [parsed, { status: "invalid" }];
|
|
@@ -64157,12 +64323,12 @@ var init_usersUpdate = __esm(() => {
|
|
|
64157
64323
|
});
|
|
64158
64324
|
|
|
64159
64325
|
// src/mcp-server/tools/usersUpdate.ts
|
|
64160
|
-
var
|
|
64326
|
+
var args134, tool$usersUpdate;
|
|
64161
64327
|
var init_usersUpdate2 = __esm(() => {
|
|
64162
64328
|
init_usersUpdate();
|
|
64163
64329
|
init_components();
|
|
64164
64330
|
init_tools();
|
|
64165
|
-
|
|
64331
|
+
args134 = {
|
|
64166
64332
|
request: UserUpdateRequest$inboundSchema
|
|
64167
64333
|
};
|
|
64168
64334
|
tool$usersUpdate = {
|
|
@@ -64170,9 +64336,9 @@ var init_usersUpdate2 = __esm(() => {
|
|
|
64170
64336
|
description: `Update User
|
|
64171
64337
|
|
|
64172
64338
|
Update an existing user.`,
|
|
64173
|
-
args:
|
|
64174
|
-
tool: async (client,
|
|
64175
|
-
const [result, apiCall] = await usersUpdate(client,
|
|
64339
|
+
args: args134,
|
|
64340
|
+
tool: async (client, args135, ctx) => {
|
|
64341
|
+
const [result, apiCall] = await usersUpdate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64176
64342
|
if (!result.ok) {
|
|
64177
64343
|
return {
|
|
64178
64344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64187,9 +64353,9 @@ Update an existing user.`,
|
|
|
64187
64353
|
|
|
64188
64354
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
64189
64355
|
function usersUsersDeleteAccount(client, options) {
|
|
64190
|
-
return new APIPromise($
|
|
64356
|
+
return new APIPromise($do151(client, options));
|
|
64191
64357
|
}
|
|
64192
|
-
async function $
|
|
64358
|
+
async function $do151(client, options) {
|
|
64193
64359
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
64194
64360
|
const headers = new Headers(compactMap({
|
|
64195
64361
|
Accept: "application/json"
|
|
@@ -64272,9 +64438,9 @@ accounts.`,
|
|
|
64272
64438
|
|
|
64273
64439
|
// src/funcs/usersUsersGetByEmail.ts
|
|
64274
64440
|
function usersUsersGetByEmail(client, request, options) {
|
|
64275
|
-
return new APIPromise($
|
|
64441
|
+
return new APIPromise($do152(client, request, options));
|
|
64276
64442
|
}
|
|
64277
|
-
async function $
|
|
64443
|
+
async function $do152(client, request, options) {
|
|
64278
64444
|
const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64279
64445
|
if (!parsed.ok) {
|
|
64280
64446
|
return [parsed, { status: "invalid" }];
|
|
@@ -64351,12 +64517,12 @@ var init_usersUsersGetByEmail = __esm(() => {
|
|
|
64351
64517
|
});
|
|
64352
64518
|
|
|
64353
64519
|
// src/mcp-server/tools/usersUsersGetByEmail.ts
|
|
64354
|
-
var
|
|
64520
|
+
var args135, tool$usersUsersGetByEmail;
|
|
64355
64521
|
var init_usersUsersGetByEmail2 = __esm(() => {
|
|
64356
64522
|
init_usersUsersGetByEmail();
|
|
64357
64523
|
init_operations();
|
|
64358
64524
|
init_tools();
|
|
64359
|
-
|
|
64525
|
+
args135 = {
|
|
64360
64526
|
request: UsersGetByEmailRequest$inboundSchema
|
|
64361
64527
|
};
|
|
64362
64528
|
tool$usersUsersGetByEmail = {
|
|
@@ -64364,9 +64530,9 @@ var init_usersUsersGetByEmail2 = __esm(() => {
|
|
|
64364
64530
|
description: `Get User
|
|
64365
64531
|
|
|
64366
64532
|
Fetch a given user.`,
|
|
64367
|
-
args:
|
|
64368
|
-
tool: async (client,
|
|
64369
|
-
const [result, apiCall] = await usersUsersGetByEmail(client,
|
|
64533
|
+
args: args135,
|
|
64534
|
+
tool: async (client, args136, ctx) => {
|
|
64535
|
+
const [result, apiCall] = await usersUsersGetByEmail(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64370
64536
|
if (!result.ok) {
|
|
64371
64537
|
return {
|
|
64372
64538
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64381,9 +64547,9 @@ Fetch a given user.`,
|
|
|
64381
64547
|
|
|
64382
64548
|
// src/funcs/usersUsersSendEmail.ts
|
|
64383
64549
|
function usersUsersSendEmail(client, request, options) {
|
|
64384
|
-
return new APIPromise($
|
|
64550
|
+
return new APIPromise($do153(client, request, options));
|
|
64385
64551
|
}
|
|
64386
|
-
async function $
|
|
64552
|
+
async function $do153(client, request, options) {
|
|
64387
64553
|
const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64388
64554
|
if (!parsed.ok) {
|
|
64389
64555
|
return [parsed, { status: "invalid" }];
|
|
@@ -64464,12 +64630,12 @@ var init_usersUsersSendEmail = __esm(() => {
|
|
|
64464
64630
|
});
|
|
64465
64631
|
|
|
64466
64632
|
// src/mcp-server/tools/usersUsersSendEmail.ts
|
|
64467
|
-
var
|
|
64633
|
+
var args136, tool$usersUsersSendEmail;
|
|
64468
64634
|
var init_usersUsersSendEmail2 = __esm(() => {
|
|
64469
64635
|
init_usersUsersSendEmail();
|
|
64470
64636
|
init_operations();
|
|
64471
64637
|
init_tools();
|
|
64472
|
-
|
|
64638
|
+
args136 = {
|
|
64473
64639
|
request: UsersSendEmailRequest$inboundSchema
|
|
64474
64640
|
};
|
|
64475
64641
|
tool$usersUsersSendEmail = {
|
|
@@ -64477,9 +64643,9 @@ var init_usersUsersSendEmail2 = __esm(() => {
|
|
|
64477
64643
|
description: `Send User Email
|
|
64478
64644
|
|
|
64479
64645
|
Send a welcome email to a user.`,
|
|
64480
|
-
args:
|
|
64481
|
-
tool: async (client,
|
|
64482
|
-
const [result, apiCall] = await usersUsersSendEmail(client,
|
|
64646
|
+
args: args136,
|
|
64647
|
+
tool: async (client, args137, ctx) => {
|
|
64648
|
+
const [result, apiCall] = await usersUsersSendEmail(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64483
64649
|
if (!result.ok) {
|
|
64484
64650
|
return {
|
|
64485
64651
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64494,9 +64660,9 @@ Send a welcome email to a user.`,
|
|
|
64494
64660
|
|
|
64495
64661
|
// src/funcs/voiceGroupsCreate.ts
|
|
64496
64662
|
function voiceGroupsCreate(client, request, options) {
|
|
64497
|
-
return new APIPromise($
|
|
64663
|
+
return new APIPromise($do154(client, request, options));
|
|
64498
64664
|
}
|
|
64499
|
-
async function $
|
|
64665
|
+
async function $do154(client, request, options) {
|
|
64500
64666
|
const parsed = safeParse(request, (value) => VoiceGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64501
64667
|
if (!parsed.ok) {
|
|
64502
64668
|
return [parsed, { status: "invalid" }];
|
|
@@ -64567,12 +64733,12 @@ var init_voiceGroupsCreate = __esm(() => {
|
|
|
64567
64733
|
});
|
|
64568
64734
|
|
|
64569
64735
|
// src/mcp-server/tools/voiceGroupsCreate.ts
|
|
64570
|
-
var
|
|
64736
|
+
var args137, tool$voiceGroupsCreate;
|
|
64571
64737
|
var init_voiceGroupsCreate2 = __esm(() => {
|
|
64572
64738
|
init_voiceGroupsCreate();
|
|
64573
64739
|
init_components();
|
|
64574
64740
|
init_tools();
|
|
64575
|
-
|
|
64741
|
+
args137 = {
|
|
64576
64742
|
request: VoiceGroupCreateRequest$inboundSchema
|
|
64577
64743
|
};
|
|
64578
64744
|
tool$voiceGroupsCreate = {
|
|
@@ -64580,9 +64746,9 @@ var init_voiceGroupsCreate2 = __esm(() => {
|
|
|
64580
64746
|
description: `Create Voice Group
|
|
64581
64747
|
|
|
64582
64748
|
Create a new voice group.`,
|
|
64583
|
-
args:
|
|
64584
|
-
tool: async (client,
|
|
64585
|
-
const [result, apiCall] = await voiceGroupsCreate(client,
|
|
64749
|
+
args: args137,
|
|
64750
|
+
tool: async (client, args138, ctx) => {
|
|
64751
|
+
const [result, apiCall] = await voiceGroupsCreate(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64586
64752
|
if (!result.ok) {
|
|
64587
64753
|
return {
|
|
64588
64754
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64597,9 +64763,9 @@ Create a new voice group.`,
|
|
|
64597
64763
|
|
|
64598
64764
|
// src/funcs/voiceGroupsDelete.ts
|
|
64599
64765
|
function voiceGroupsDelete(client, request, options) {
|
|
64600
|
-
return new APIPromise($
|
|
64766
|
+
return new APIPromise($do155(client, request, options));
|
|
64601
64767
|
}
|
|
64602
|
-
async function $
|
|
64768
|
+
async function $do155(client, request, options) {
|
|
64603
64769
|
const parsed = safeParse(request, (value) => VoiceGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64604
64770
|
if (!parsed.ok) {
|
|
64605
64771
|
return [parsed, { status: "invalid" }];
|
|
@@ -64680,12 +64846,12 @@ var init_voiceGroupsDelete = __esm(() => {
|
|
|
64680
64846
|
});
|
|
64681
64847
|
|
|
64682
64848
|
// src/mcp-server/tools/voiceGroupsDelete.ts
|
|
64683
|
-
var
|
|
64849
|
+
var args138, tool$voiceGroupsDelete;
|
|
64684
64850
|
var init_voiceGroupsDelete2 = __esm(() => {
|
|
64685
64851
|
init_voiceGroupsDelete();
|
|
64686
64852
|
init_operations();
|
|
64687
64853
|
init_tools();
|
|
64688
|
-
|
|
64854
|
+
args138 = {
|
|
64689
64855
|
request: VoiceGroupsDeleteRequest$inboundSchema
|
|
64690
64856
|
};
|
|
64691
64857
|
tool$voiceGroupsDelete = {
|
|
@@ -64693,9 +64859,9 @@ var init_voiceGroupsDelete2 = __esm(() => {
|
|
|
64693
64859
|
description: `Delete Voice Group
|
|
64694
64860
|
|
|
64695
64861
|
Delete a voice group.`,
|
|
64696
|
-
args:
|
|
64697
|
-
tool: async (client,
|
|
64698
|
-
const [result, apiCall] = await voiceGroupsDelete(client,
|
|
64862
|
+
args: args138,
|
|
64863
|
+
tool: async (client, args139, ctx) => {
|
|
64864
|
+
const [result, apiCall] = await voiceGroupsDelete(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64699
64865
|
if (!result.ok) {
|
|
64700
64866
|
return {
|
|
64701
64867
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64710,9 +64876,9 @@ Delete a voice group.`,
|
|
|
64710
64876
|
|
|
64711
64877
|
// src/funcs/voiceGroupsGetById.ts
|
|
64712
64878
|
function voiceGroupsGetById(client, request, options) {
|
|
64713
|
-
return new APIPromise($
|
|
64879
|
+
return new APIPromise($do156(client, request, options));
|
|
64714
64880
|
}
|
|
64715
|
-
async function $
|
|
64881
|
+
async function $do156(client, request, options) {
|
|
64716
64882
|
const parsed = safeParse(request, (value) => VoiceGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64717
64883
|
if (!parsed.ok) {
|
|
64718
64884
|
return [parsed, { status: "invalid" }];
|
|
@@ -64789,12 +64955,12 @@ var init_voiceGroupsGetById = __esm(() => {
|
|
|
64789
64955
|
});
|
|
64790
64956
|
|
|
64791
64957
|
// src/mcp-server/tools/voiceGroupsGetById.ts
|
|
64792
|
-
var
|
|
64958
|
+
var args139, tool$voiceGroupsGetById;
|
|
64793
64959
|
var init_voiceGroupsGetById2 = __esm(() => {
|
|
64794
64960
|
init_voiceGroupsGetById();
|
|
64795
64961
|
init_operations();
|
|
64796
64962
|
init_tools();
|
|
64797
|
-
|
|
64963
|
+
args139 = {
|
|
64798
64964
|
request: VoiceGroupsGetByIdRequest$inboundSchema
|
|
64799
64965
|
};
|
|
64800
64966
|
tool$voiceGroupsGetById = {
|
|
@@ -64802,9 +64968,9 @@ var init_voiceGroupsGetById2 = __esm(() => {
|
|
|
64802
64968
|
description: `Get Voice Group
|
|
64803
64969
|
|
|
64804
64970
|
Fetch a given voice group.`,
|
|
64805
|
-
args:
|
|
64806
|
-
tool: async (client,
|
|
64807
|
-
const [result, apiCall] = await voiceGroupsGetById(client,
|
|
64971
|
+
args: args139,
|
|
64972
|
+
tool: async (client, args140, ctx) => {
|
|
64973
|
+
const [result, apiCall] = await voiceGroupsGetById(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64808
64974
|
if (!result.ok) {
|
|
64809
64975
|
return {
|
|
64810
64976
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64819,9 +64985,9 @@ Fetch a given voice group.`,
|
|
|
64819
64985
|
|
|
64820
64986
|
// src/funcs/voiceGroupsList.ts
|
|
64821
64987
|
function voiceGroupsList(client, request, options) {
|
|
64822
|
-
return new APIPromise($
|
|
64988
|
+
return new APIPromise($do157(client, request, options));
|
|
64823
64989
|
}
|
|
64824
|
-
async function $
|
|
64990
|
+
async function $do157(client, request, options) {
|
|
64825
64991
|
const parsed = safeParse(request, (value) => VoiceGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64826
64992
|
if (!parsed.ok) {
|
|
64827
64993
|
return [parsed, { status: "invalid" }];
|
|
@@ -64904,12 +65070,12 @@ var init_voiceGroupsList = __esm(() => {
|
|
|
64904
65070
|
});
|
|
64905
65071
|
|
|
64906
65072
|
// src/mcp-server/tools/voiceGroupsList.ts
|
|
64907
|
-
var
|
|
65073
|
+
var args140, tool$voiceGroupsList;
|
|
64908
65074
|
var init_voiceGroupsList2 = __esm(() => {
|
|
64909
65075
|
init_voiceGroupsList();
|
|
64910
65076
|
init_operations();
|
|
64911
65077
|
init_tools();
|
|
64912
|
-
|
|
65078
|
+
args140 = {
|
|
64913
65079
|
request: VoiceGroupsListRequest$inboundSchema
|
|
64914
65080
|
};
|
|
64915
65081
|
tool$voiceGroupsList = {
|
|
@@ -64917,9 +65083,9 @@ var init_voiceGroupsList2 = __esm(() => {
|
|
|
64917
65083
|
description: `List Voice Groups
|
|
64918
65084
|
|
|
64919
65085
|
Fetch voice groups.`,
|
|
64920
|
-
args:
|
|
64921
|
-
tool: async (client,
|
|
64922
|
-
const [result, apiCall] = await voiceGroupsList(client,
|
|
65086
|
+
args: args140,
|
|
65087
|
+
tool: async (client, args141, ctx) => {
|
|
65088
|
+
const [result, apiCall] = await voiceGroupsList(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64923
65089
|
if (!result.ok) {
|
|
64924
65090
|
return {
|
|
64925
65091
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64934,9 +65100,9 @@ Fetch voice groups.`,
|
|
|
64934
65100
|
|
|
64935
65101
|
// src/funcs/voiceGroupsUpdate.ts
|
|
64936
65102
|
function voiceGroupsUpdate(client, request, options) {
|
|
64937
|
-
return new APIPromise($
|
|
65103
|
+
return new APIPromise($do158(client, request, options));
|
|
64938
65104
|
}
|
|
64939
|
-
async function $
|
|
65105
|
+
async function $do158(client, request, options) {
|
|
64940
65106
|
const parsed = safeParse(request, (value) => VoiceGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64941
65107
|
if (!parsed.ok) {
|
|
64942
65108
|
return [parsed, { status: "invalid" }];
|
|
@@ -65007,12 +65173,12 @@ var init_voiceGroupsUpdate = __esm(() => {
|
|
|
65007
65173
|
});
|
|
65008
65174
|
|
|
65009
65175
|
// src/mcp-server/tools/voiceGroupsUpdate.ts
|
|
65010
|
-
var
|
|
65176
|
+
var args141, tool$voiceGroupsUpdate;
|
|
65011
65177
|
var init_voiceGroupsUpdate2 = __esm(() => {
|
|
65012
65178
|
init_voiceGroupsUpdate();
|
|
65013
65179
|
init_components();
|
|
65014
65180
|
init_tools();
|
|
65015
|
-
|
|
65181
|
+
args141 = {
|
|
65016
65182
|
request: VoiceGroupUpdateRequest$inboundSchema
|
|
65017
65183
|
};
|
|
65018
65184
|
tool$voiceGroupsUpdate = {
|
|
@@ -65020,9 +65186,9 @@ var init_voiceGroupsUpdate2 = __esm(() => {
|
|
|
65020
65186
|
description: `Update Voice Group
|
|
65021
65187
|
|
|
65022
65188
|
Update an existing voice group`,
|
|
65023
|
-
args:
|
|
65024
|
-
tool: async (client,
|
|
65025
|
-
const [result, apiCall] = await voiceGroupsUpdate(client,
|
|
65189
|
+
args: args141,
|
|
65190
|
+
tool: async (client, args142, ctx) => {
|
|
65191
|
+
const [result, apiCall] = await voiceGroupsUpdate(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65026
65192
|
if (!result.ok) {
|
|
65027
65193
|
return {
|
|
65028
65194
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65037,9 +65203,9 @@ Update an existing voice group`,
|
|
|
65037
65203
|
|
|
65038
65204
|
// src/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
65039
65205
|
function voiceGroupsVoiceGroupsCreateVoiceSample(client, request, options) {
|
|
65040
|
-
return new APIPromise($
|
|
65206
|
+
return new APIPromise($do159(client, request, options));
|
|
65041
65207
|
}
|
|
65042
|
-
async function $
|
|
65208
|
+
async function $do159(client, request, options) {
|
|
65043
65209
|
const parsed = safeParse(request, (value) => VoiceSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65044
65210
|
if (!parsed.ok) {
|
|
65045
65211
|
return [parsed, { status: "invalid" }];
|
|
@@ -65111,12 +65277,12 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
|
|
|
65111
65277
|
});
|
|
65112
65278
|
|
|
65113
65279
|
// src/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
65114
|
-
var
|
|
65280
|
+
var args142, tool$voiceGroupsVoiceGroupsCreateVoiceSample;
|
|
65115
65281
|
var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
65116
65282
|
init_voiceGroupsVoiceGroupsCreateVoiceSample();
|
|
65117
65283
|
init_components();
|
|
65118
65284
|
init_tools();
|
|
65119
|
-
|
|
65285
|
+
args142 = {
|
|
65120
65286
|
request: VoiceSampleCreateRequest$inboundSchema
|
|
65121
65287
|
};
|
|
65122
65288
|
tool$voiceGroupsVoiceGroupsCreateVoiceSample = {
|
|
@@ -65124,9 +65290,9 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
65124
65290
|
description: `Create Voice Sample
|
|
65125
65291
|
|
|
65126
65292
|
Generate voice sample.`,
|
|
65127
|
-
args:
|
|
65128
|
-
tool: async (client,
|
|
65129
|
-
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client,
|
|
65293
|
+
args: args142,
|
|
65294
|
+
tool: async (client, args143, ctx) => {
|
|
65295
|
+
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65130
65296
|
if (!result.ok) {
|
|
65131
65297
|
return {
|
|
65132
65298
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65143,7 +65309,7 @@ Generate voice sample.`,
|
|
|
65143
65309
|
function createMCPServer(deps) {
|
|
65144
65310
|
const server = new McpServer({
|
|
65145
65311
|
name: "SyllableSDK",
|
|
65146
|
-
version: "1.0.7-rc.
|
|
65312
|
+
version: "1.0.7-rc.6"
|
|
65147
65313
|
});
|
|
65148
65314
|
const client = new SyllableSDKCore({
|
|
65149
65315
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -65229,6 +65395,7 @@ function createMCPServer(deps) {
|
|
|
65229
65395
|
tool(tool$directoryGetById);
|
|
65230
65396
|
tool(tool$directoryUpdate);
|
|
65231
65397
|
tool(tool$directoryDelete);
|
|
65398
|
+
tool(tool$directoryDirectoryMemberTestExtension);
|
|
65232
65399
|
tool(tool$directoryDirectoryMemberBulkLoad);
|
|
65233
65400
|
tool(tool$directoryDirectoryMemberDownload);
|
|
65234
65401
|
tool(tool$dashboardsPostListDashboard);
|
|
@@ -65365,6 +65532,7 @@ var init_server2 = __esm(() => {
|
|
|
65365
65532
|
init_directoryDelete2();
|
|
65366
65533
|
init_directoryDirectoryMemberBulkLoad2();
|
|
65367
65534
|
init_directoryDirectoryMemberDownload2();
|
|
65535
|
+
init_directoryDirectoryMemberTestExtension2();
|
|
65368
65536
|
init_directoryGetById2();
|
|
65369
65537
|
init_directoryList2();
|
|
65370
65538
|
init_directoryUpdate2();
|
|
@@ -66675,7 +66843,7 @@ var routes = ln({
|
|
|
66675
66843
|
var app = _e(routes, {
|
|
66676
66844
|
name: "mcp",
|
|
66677
66845
|
versionInfo: {
|
|
66678
|
-
currentVersion: "1.0.7-rc.
|
|
66846
|
+
currentVersion: "1.0.7-rc.6"
|
|
66679
66847
|
}
|
|
66680
66848
|
});
|
|
66681
66849
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66683,5 +66851,5 @@ export {
|
|
|
66683
66851
|
app
|
|
66684
66852
|
};
|
|
66685
66853
|
|
|
66686
|
-
//# debugId=
|
|
66854
|
+
//# debugId=CE94BDB2B930322F64756E2164756E21
|
|
66687
66855
|
//# sourceMappingURL=mcp-server.js.map
|