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