syllable-sdk 1.0.7-rc.3 → 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 +932 -774
- package/bin/mcp-server.js.map +14 -10
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/directory/README.md +85 -0
- package/docs/sdks/workflows/README.md +8 -8
- 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 +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/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/directorymember.d.ts +13 -4
- package/models/components/directorymember.d.ts.map +1 -1
- package/models/components/directorymember.js +4 -4
- package/models/components/directorymember.js.map +1 -1
- package/models/components/directorymembercreate.d.ts +3 -4
- package/models/components/directorymembercreate.d.ts.map +1 -1
- package/models/components/directorymembercreate.js +0 -8
- package/models/components/directorymembercreate.js.map +1 -1
- 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 +160 -77
- 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 +3 -3
- 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/directorymember.ts +17 -10
- package/src/models/components/directorymembercreate.ts +3 -14
- 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.
|
|
34423
|
-
genVersion: "2.
|
|
34424
|
-
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.
|
|
34422
|
+
sdkVersion: "1.0.7-rc.5",
|
|
34423
|
+
genVersion: "2.731.4",
|
|
34424
|
+
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.5 2.731.4 0.0.2 syllable-sdk"
|
|
34425
34425
|
};
|
|
34426
34426
|
});
|
|
34427
34427
|
|
|
@@ -39326,9 +39326,9 @@ var init_directorymember = __esm(() => {
|
|
|
39326
39326
|
type: stringType(),
|
|
39327
39327
|
extensions: nullableType(arrayType(DirectoryExtension$inboundSchema)).optional(),
|
|
39328
39328
|
contact_tags: nullableType(lazyType(() => ContactTags$inboundSchema)).optional(),
|
|
39329
|
-
|
|
39330
|
-
|
|
39331
|
-
|
|
39329
|
+
id: nullableType(numberType().int()).optional(),
|
|
39330
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
39331
|
+
last_updated_by: nullableType(stringType()).optional()
|
|
39332
39332
|
}).transform((v2) => {
|
|
39333
39333
|
return remap(v2, {
|
|
39334
39334
|
contact_tags: "contactTags",
|
|
@@ -39341,9 +39341,9 @@ var init_directorymember = __esm(() => {
|
|
|
39341
39341
|
type: stringType(),
|
|
39342
39342
|
extensions: nullableType(arrayType(DirectoryExtension$outboundSchema)).optional(),
|
|
39343
39343
|
contactTags: nullableType(lazyType(() => ContactTags$outboundSchema)).optional(),
|
|
39344
|
-
|
|
39345
|
-
|
|
39346
|
-
|
|
39344
|
+
id: nullableType(numberType().int()).optional(),
|
|
39345
|
+
updatedAt: dateType().transform((v2) => v2.toISOString()),
|
|
39346
|
+
lastUpdatedBy: nullableType(stringType()).optional()
|
|
39347
39347
|
}).transform((v2) => {
|
|
39348
39348
|
return remap(v2, {
|
|
39349
39349
|
contactTags: "contact_tags",
|
|
@@ -39373,28 +39373,20 @@ var init_directorymembercreate = __esm(() => {
|
|
|
39373
39373
|
name: stringType(),
|
|
39374
39374
|
type: stringType(),
|
|
39375
39375
|
extensions: nullableType(arrayType(DirectoryExtension$inboundSchema)).optional(),
|
|
39376
|
-
contact_tags: nullableType(lazyType(() => DirectoryMemberCreateContactTags$inboundSchema)).optional()
|
|
39377
|
-
updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
39378
|
-
last_updated_by: nullableType(stringType()).optional()
|
|
39376
|
+
contact_tags: nullableType(lazyType(() => DirectoryMemberCreateContactTags$inboundSchema)).optional()
|
|
39379
39377
|
}).transform((v2) => {
|
|
39380
39378
|
return remap(v2, {
|
|
39381
|
-
contact_tags: "contactTags"
|
|
39382
|
-
updated_at: "updatedAt",
|
|
39383
|
-
last_updated_by: "lastUpdatedBy"
|
|
39379
|
+
contact_tags: "contactTags"
|
|
39384
39380
|
});
|
|
39385
39381
|
});
|
|
39386
39382
|
DirectoryMemberCreate$outboundSchema = objectType({
|
|
39387
39383
|
name: stringType(),
|
|
39388
39384
|
type: stringType(),
|
|
39389
39385
|
extensions: nullableType(arrayType(DirectoryExtension$outboundSchema)).optional(),
|
|
39390
|
-
contactTags: nullableType(lazyType(() => DirectoryMemberCreateContactTags$outboundSchema)).optional()
|
|
39391
|
-
updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
39392
|
-
lastUpdatedBy: nullableType(stringType()).optional()
|
|
39386
|
+
contactTags: nullableType(lazyType(() => DirectoryMemberCreateContactTags$outboundSchema)).optional()
|
|
39393
39387
|
}).transform((v2) => {
|
|
39394
39388
|
return remap(v2, {
|
|
39395
|
-
contactTags: "contact_tags"
|
|
39396
|
-
updatedAt: "updated_at",
|
|
39397
|
-
lastUpdatedBy: "last_updated_by"
|
|
39389
|
+
contactTags: "contact_tags"
|
|
39398
39390
|
});
|
|
39399
39391
|
});
|
|
39400
39392
|
((DirectoryMemberCreate$) => {
|
|
@@ -39424,6 +39416,22 @@ var init_directorymemberproperties = __esm(() => {
|
|
|
39424
39416
|
})(DirectoryMemberProperties$ ||= {});
|
|
39425
39417
|
});
|
|
39426
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
|
+
|
|
39427
39435
|
// src/models/components/event.ts
|
|
39428
39436
|
var Attributes$inboundSchema, Attributes$outboundSchema, Attributes$, Event$inboundSchema, Event$outboundSchema, Event$;
|
|
39429
39437
|
var init_event = __esm(() => {
|
|
@@ -44542,6 +44550,7 @@ var init_components = __esm(() => {
|
|
|
44542
44550
|
init_directorymember();
|
|
44543
44551
|
init_directorymembercreate();
|
|
44544
44552
|
init_directorymemberproperties();
|
|
44553
|
+
init_directorymembertestresponse();
|
|
44545
44554
|
init_event();
|
|
44546
44555
|
init_eventproperties();
|
|
44547
44556
|
init_folderdetails();
|
|
@@ -45825,6 +45834,38 @@ var init_directorymemberlist = __esm(() => {
|
|
|
45825
45834
|
})(DirectoryMemberListRequest$ ||= {});
|
|
45826
45835
|
});
|
|
45827
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
|
+
|
|
45828
45869
|
// src/models/operations/directorymemberupdate.ts
|
|
45829
45870
|
var DirectoryMemberUpdateRequest$inboundSchema, DirectoryMemberUpdateRequest$outboundSchema, DirectoryMemberUpdateRequest$;
|
|
45830
45871
|
var init_directorymemberupdate = __esm(() => {
|
|
@@ -48345,6 +48386,7 @@ var init_operations = __esm(() => {
|
|
|
48345
48386
|
init_directorymemberdelete();
|
|
48346
48387
|
init_directorymembergetbyid();
|
|
48347
48388
|
init_directorymemberlist();
|
|
48389
|
+
init_directorymembertestextension();
|
|
48348
48390
|
init_directorymemberupdate();
|
|
48349
48391
|
init_eventslist();
|
|
48350
48392
|
init_generatesessionrecordingurls();
|
|
@@ -52850,11 +52892,125 @@ Download the entire directory as a JSON file.`,
|
|
|
52850
52892
|
};
|
|
52851
52893
|
});
|
|
52852
52894
|
|
|
52853
|
-
// src/funcs/
|
|
52854
|
-
function
|
|
52895
|
+
// src/funcs/directoryDirectoryMemberTestExtension.ts
|
|
52896
|
+
function directoryDirectoryMemberTestExtension(client, request, options) {
|
|
52855
52897
|
return new APIPromise($do44(client, request, options));
|
|
52856
52898
|
}
|
|
52857
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) {
|
|
52858
53014
|
const parsed = safeParse(request, (value) => DirectoryMemberGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52859
53015
|
if (!parsed.ok) {
|
|
52860
53016
|
return [parsed, { status: "invalid" }];
|
|
@@ -52931,12 +53087,12 @@ var init_directoryGetById = __esm(() => {
|
|
|
52931
53087
|
});
|
|
52932
53088
|
|
|
52933
53089
|
// src/mcp-server/tools/directoryGetById.ts
|
|
52934
|
-
var
|
|
53090
|
+
var args39, tool$directoryGetById;
|
|
52935
53091
|
var init_directoryGetById2 = __esm(() => {
|
|
52936
53092
|
init_directoryGetById();
|
|
52937
53093
|
init_operations();
|
|
52938
53094
|
init_tools();
|
|
52939
|
-
|
|
53095
|
+
args39 = {
|
|
52940
53096
|
request: DirectoryMemberGetByIdRequest$inboundSchema
|
|
52941
53097
|
};
|
|
52942
53098
|
tool$directoryGetById = {
|
|
@@ -52944,9 +53100,9 @@ var init_directoryGetById2 = __esm(() => {
|
|
|
52944
53100
|
description: `Get Directory Member By Id
|
|
52945
53101
|
|
|
52946
53102
|
Get a DirectoryMember by ID.`,
|
|
52947
|
-
args:
|
|
52948
|
-
tool: async (client,
|
|
52949
|
-
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();
|
|
52950
53106
|
if (!result.ok) {
|
|
52951
53107
|
return {
|
|
52952
53108
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52961,9 +53117,9 @@ Get a DirectoryMember by ID.`,
|
|
|
52961
53117
|
|
|
52962
53118
|
// src/funcs/directoryList.ts
|
|
52963
53119
|
function directoryList(client, request, options) {
|
|
52964
|
-
return new APIPromise($
|
|
53120
|
+
return new APIPromise($do46(client, request, options));
|
|
52965
53121
|
}
|
|
52966
|
-
async function $
|
|
53122
|
+
async function $do46(client, request, options) {
|
|
52967
53123
|
const parsed = safeParse(request, (value) => DirectoryMemberListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52968
53124
|
if (!parsed.ok) {
|
|
52969
53125
|
return [parsed, { status: "invalid" }];
|
|
@@ -53046,12 +53202,12 @@ var init_directoryList = __esm(() => {
|
|
|
53046
53202
|
});
|
|
53047
53203
|
|
|
53048
53204
|
// src/mcp-server/tools/directoryList.ts
|
|
53049
|
-
var
|
|
53205
|
+
var args40, tool$directoryList;
|
|
53050
53206
|
var init_directoryList2 = __esm(() => {
|
|
53051
53207
|
init_directoryList();
|
|
53052
53208
|
init_operations();
|
|
53053
53209
|
init_tools();
|
|
53054
|
-
|
|
53210
|
+
args40 = {
|
|
53055
53211
|
request: DirectoryMemberListRequest$inboundSchema
|
|
53056
53212
|
};
|
|
53057
53213
|
tool$directoryList = {
|
|
@@ -53059,9 +53215,9 @@ var init_directoryList2 = __esm(() => {
|
|
|
53059
53215
|
description: `Directory Member List
|
|
53060
53216
|
|
|
53061
53217
|
List the existing directory_members`,
|
|
53062
|
-
args:
|
|
53063
|
-
tool: async (client,
|
|
53064
|
-
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();
|
|
53065
53221
|
if (!result.ok) {
|
|
53066
53222
|
return {
|
|
53067
53223
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53076,9 +53232,9 @@ List the existing directory_members`,
|
|
|
53076
53232
|
|
|
53077
53233
|
// src/funcs/directoryUpdate.ts
|
|
53078
53234
|
function directoryUpdate(client, request, options) {
|
|
53079
|
-
return new APIPromise($
|
|
53235
|
+
return new APIPromise($do47(client, request, options));
|
|
53080
53236
|
}
|
|
53081
|
-
async function $
|
|
53237
|
+
async function $do47(client, request, options) {
|
|
53082
53238
|
const parsed = safeParse(request, (value) => DirectoryMemberUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53083
53239
|
if (!parsed.ok) {
|
|
53084
53240
|
return [parsed, { status: "invalid" }];
|
|
@@ -53156,12 +53312,12 @@ var init_directoryUpdate = __esm(() => {
|
|
|
53156
53312
|
});
|
|
53157
53313
|
|
|
53158
53314
|
// src/mcp-server/tools/directoryUpdate.ts
|
|
53159
|
-
var
|
|
53315
|
+
var args41, tool$directoryUpdate;
|
|
53160
53316
|
var init_directoryUpdate2 = __esm(() => {
|
|
53161
53317
|
init_directoryUpdate();
|
|
53162
53318
|
init_operations();
|
|
53163
53319
|
init_tools();
|
|
53164
|
-
|
|
53320
|
+
args41 = {
|
|
53165
53321
|
request: DirectoryMemberUpdateRequest$inboundSchema
|
|
53166
53322
|
};
|
|
53167
53323
|
tool$directoryUpdate = {
|
|
@@ -53169,9 +53325,9 @@ var init_directoryUpdate2 = __esm(() => {
|
|
|
53169
53325
|
description: `Update Directory Member
|
|
53170
53326
|
|
|
53171
53327
|
Update a DirectoryMember.`,
|
|
53172
|
-
args:
|
|
53173
|
-
tool: async (client,
|
|
53174
|
-
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();
|
|
53175
53331
|
if (!result.ok) {
|
|
53176
53332
|
return {
|
|
53177
53333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53186,9 +53342,9 @@ Update a DirectoryMember.`,
|
|
|
53186
53342
|
|
|
53187
53343
|
// src/funcs/eventsList.ts
|
|
53188
53344
|
function eventsList(client, request, options) {
|
|
53189
|
-
return new APIPromise($
|
|
53345
|
+
return new APIPromise($do48(client, request, options));
|
|
53190
53346
|
}
|
|
53191
|
-
async function $
|
|
53347
|
+
async function $do48(client, request, options) {
|
|
53192
53348
|
const parsed = safeParse(request, (value) => EventsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53193
53349
|
if (!parsed.ok) {
|
|
53194
53350
|
return [parsed, { status: "invalid" }];
|
|
@@ -53271,20 +53427,20 @@ var init_eventsList = __esm(() => {
|
|
|
53271
53427
|
});
|
|
53272
53428
|
|
|
53273
53429
|
// src/mcp-server/tools/eventsList.ts
|
|
53274
|
-
var
|
|
53430
|
+
var args42, tool$eventsList;
|
|
53275
53431
|
var init_eventsList2 = __esm(() => {
|
|
53276
53432
|
init_eventsList();
|
|
53277
53433
|
init_operations();
|
|
53278
53434
|
init_tools();
|
|
53279
|
-
|
|
53435
|
+
args42 = {
|
|
53280
53436
|
request: EventsListRequest$inboundSchema
|
|
53281
53437
|
};
|
|
53282
53438
|
tool$eventsList = {
|
|
53283
53439
|
name: "events-list",
|
|
53284
53440
|
description: `Events List`,
|
|
53285
|
-
args:
|
|
53286
|
-
tool: async (client,
|
|
53287
|
-
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();
|
|
53288
53444
|
if (!result.ok) {
|
|
53289
53445
|
return {
|
|
53290
53446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53299,9 +53455,9 @@ var init_eventsList2 = __esm(() => {
|
|
|
53299
53455
|
|
|
53300
53456
|
// src/funcs/incidentsCreate.ts
|
|
53301
53457
|
function incidentsCreate(client, request, options) {
|
|
53302
|
-
return new APIPromise($
|
|
53458
|
+
return new APIPromise($do49(client, request, options));
|
|
53303
53459
|
}
|
|
53304
|
-
async function $
|
|
53460
|
+
async function $do49(client, request, options) {
|
|
53305
53461
|
const parsed = safeParse(request, (value) => IncidentCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53306
53462
|
if (!parsed.ok) {
|
|
53307
53463
|
return [parsed, { status: "invalid" }];
|
|
@@ -53372,12 +53528,12 @@ var init_incidentsCreate = __esm(() => {
|
|
|
53372
53528
|
});
|
|
53373
53529
|
|
|
53374
53530
|
// src/mcp-server/tools/incidentsCreate.ts
|
|
53375
|
-
var
|
|
53531
|
+
var args43, tool$incidentsCreate;
|
|
53376
53532
|
var init_incidentsCreate2 = __esm(() => {
|
|
53377
53533
|
init_incidentsCreate();
|
|
53378
53534
|
init_components();
|
|
53379
53535
|
init_tools();
|
|
53380
|
-
|
|
53536
|
+
args43 = {
|
|
53381
53537
|
request: IncidentCreateRequest$inboundSchema
|
|
53382
53538
|
};
|
|
53383
53539
|
tool$incidentsCreate = {
|
|
@@ -53385,9 +53541,9 @@ var init_incidentsCreate2 = __esm(() => {
|
|
|
53385
53541
|
description: `Create Incident
|
|
53386
53542
|
|
|
53387
53543
|
Create a new incident`,
|
|
53388
|
-
args:
|
|
53389
|
-
tool: async (client,
|
|
53390
|
-
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();
|
|
53391
53547
|
if (!result.ok) {
|
|
53392
53548
|
return {
|
|
53393
53549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53402,9 +53558,9 @@ Create a new incident`,
|
|
|
53402
53558
|
|
|
53403
53559
|
// src/funcs/incidentsDelete.ts
|
|
53404
53560
|
function incidentsDelete(client, request, options) {
|
|
53405
|
-
return new APIPromise($
|
|
53561
|
+
return new APIPromise($do50(client, request, options));
|
|
53406
53562
|
}
|
|
53407
|
-
async function $
|
|
53563
|
+
async function $do50(client, request, options) {
|
|
53408
53564
|
const parsed = safeParse(request, (value) => IncidentDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53409
53565
|
if (!parsed.ok) {
|
|
53410
53566
|
return [parsed, { status: "invalid" }];
|
|
@@ -53485,12 +53641,12 @@ var init_incidentsDelete = __esm(() => {
|
|
|
53485
53641
|
});
|
|
53486
53642
|
|
|
53487
53643
|
// src/mcp-server/tools/incidentsDelete.ts
|
|
53488
|
-
var
|
|
53644
|
+
var args44, tool$incidentsDelete;
|
|
53489
53645
|
var init_incidentsDelete2 = __esm(() => {
|
|
53490
53646
|
init_incidentsDelete();
|
|
53491
53647
|
init_operations();
|
|
53492
53648
|
init_tools();
|
|
53493
|
-
|
|
53649
|
+
args44 = {
|
|
53494
53650
|
request: IncidentDeleteRequest$inboundSchema
|
|
53495
53651
|
};
|
|
53496
53652
|
tool$incidentsDelete = {
|
|
@@ -53498,9 +53654,9 @@ var init_incidentsDelete2 = __esm(() => {
|
|
|
53498
53654
|
description: `Delete Incident
|
|
53499
53655
|
|
|
53500
53656
|
Delete an incident by ID`,
|
|
53501
|
-
args:
|
|
53502
|
-
tool: async (client,
|
|
53503
|
-
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();
|
|
53504
53660
|
if (!result.ok) {
|
|
53505
53661
|
return {
|
|
53506
53662
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53515,9 +53671,9 @@ Delete an incident by ID`,
|
|
|
53515
53671
|
|
|
53516
53672
|
// src/funcs/incidentsGetById.ts
|
|
53517
53673
|
function incidentsGetById(client, request, options) {
|
|
53518
|
-
return new APIPromise($
|
|
53674
|
+
return new APIPromise($do51(client, request, options));
|
|
53519
53675
|
}
|
|
53520
|
-
async function $
|
|
53676
|
+
async function $do51(client, request, options) {
|
|
53521
53677
|
const parsed = safeParse(request, (value) => IncidentGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53522
53678
|
if (!parsed.ok) {
|
|
53523
53679
|
return [parsed, { status: "invalid" }];
|
|
@@ -53594,12 +53750,12 @@ var init_incidentsGetById = __esm(() => {
|
|
|
53594
53750
|
});
|
|
53595
53751
|
|
|
53596
53752
|
// src/mcp-server/tools/incidentsGetById.ts
|
|
53597
|
-
var
|
|
53753
|
+
var args45, tool$incidentsGetById;
|
|
53598
53754
|
var init_incidentsGetById2 = __esm(() => {
|
|
53599
53755
|
init_incidentsGetById();
|
|
53600
53756
|
init_operations();
|
|
53601
53757
|
init_tools();
|
|
53602
|
-
|
|
53758
|
+
args45 = {
|
|
53603
53759
|
request: IncidentGetByIdRequest$inboundSchema
|
|
53604
53760
|
};
|
|
53605
53761
|
tool$incidentsGetById = {
|
|
@@ -53607,9 +53763,9 @@ var init_incidentsGetById2 = __esm(() => {
|
|
|
53607
53763
|
description: `Get Incident By Id
|
|
53608
53764
|
|
|
53609
53765
|
Get incident by ID`,
|
|
53610
|
-
args:
|
|
53611
|
-
tool: async (client,
|
|
53612
|
-
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();
|
|
53613
53769
|
if (!result.ok) {
|
|
53614
53770
|
return {
|
|
53615
53771
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53624,9 +53780,9 @@ Get incident by ID`,
|
|
|
53624
53780
|
|
|
53625
53781
|
// src/funcs/incidentsIncidentGetOrganizations.ts
|
|
53626
53782
|
function incidentsIncidentGetOrganizations(client, options) {
|
|
53627
|
-
return new APIPromise($
|
|
53783
|
+
return new APIPromise($do52(client, options));
|
|
53628
53784
|
}
|
|
53629
|
-
async function $
|
|
53785
|
+
async function $do52(client, options) {
|
|
53630
53786
|
const path = pathToFunc("/api/v1/incidents/organizations")();
|
|
53631
53787
|
const headers = new Headers(compactMap({
|
|
53632
53788
|
Accept: "application/json"
|
|
@@ -53709,9 +53865,9 @@ Get all organizations`,
|
|
|
53709
53865
|
|
|
53710
53866
|
// src/funcs/incidentsList.ts
|
|
53711
53867
|
function incidentsList(client, request, options) {
|
|
53712
|
-
return new APIPromise($
|
|
53868
|
+
return new APIPromise($do53(client, request, options));
|
|
53713
53869
|
}
|
|
53714
|
-
async function $
|
|
53870
|
+
async function $do53(client, request, options) {
|
|
53715
53871
|
const parsed = safeParse(request, (value) => IncidentListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53716
53872
|
if (!parsed.ok) {
|
|
53717
53873
|
return [parsed, { status: "invalid" }];
|
|
@@ -53794,12 +53950,12 @@ var init_incidentsList = __esm(() => {
|
|
|
53794
53950
|
});
|
|
53795
53951
|
|
|
53796
53952
|
// src/mcp-server/tools/incidentsList.ts
|
|
53797
|
-
var
|
|
53953
|
+
var args46, tool$incidentsList;
|
|
53798
53954
|
var init_incidentsList2 = __esm(() => {
|
|
53799
53955
|
init_incidentsList();
|
|
53800
53956
|
init_operations();
|
|
53801
53957
|
init_tools();
|
|
53802
|
-
|
|
53958
|
+
args46 = {
|
|
53803
53959
|
request: IncidentListRequest$inboundSchema
|
|
53804
53960
|
};
|
|
53805
53961
|
tool$incidentsList = {
|
|
@@ -53807,9 +53963,9 @@ var init_incidentsList2 = __esm(() => {
|
|
|
53807
53963
|
description: `List Incidents
|
|
53808
53964
|
|
|
53809
53965
|
List service incidents with pagination and filtering`,
|
|
53810
|
-
args:
|
|
53811
|
-
tool: async (client,
|
|
53812
|
-
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();
|
|
53813
53969
|
if (!result.ok) {
|
|
53814
53970
|
return {
|
|
53815
53971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53824,9 +53980,9 @@ List service incidents with pagination and filtering`,
|
|
|
53824
53980
|
|
|
53825
53981
|
// src/funcs/incidentsUpdate.ts
|
|
53826
53982
|
function incidentsUpdate(client, request, options) {
|
|
53827
|
-
return new APIPromise($
|
|
53983
|
+
return new APIPromise($do54(client, request, options));
|
|
53828
53984
|
}
|
|
53829
|
-
async function $
|
|
53985
|
+
async function $do54(client, request, options) {
|
|
53830
53986
|
const parsed = safeParse(request, (value) => IncidentUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53831
53987
|
if (!parsed.ok) {
|
|
53832
53988
|
return [parsed, { status: "invalid" }];
|
|
@@ -53897,12 +54053,12 @@ var init_incidentsUpdate = __esm(() => {
|
|
|
53897
54053
|
});
|
|
53898
54054
|
|
|
53899
54055
|
// src/mcp-server/tools/incidentsUpdate.ts
|
|
53900
|
-
var
|
|
54056
|
+
var args47, tool$incidentsUpdate;
|
|
53901
54057
|
var init_incidentsUpdate2 = __esm(() => {
|
|
53902
54058
|
init_incidentsUpdate();
|
|
53903
54059
|
init_components();
|
|
53904
54060
|
init_tools();
|
|
53905
|
-
|
|
54061
|
+
args47 = {
|
|
53906
54062
|
request: IncidentUpdateRequest$inboundSchema
|
|
53907
54063
|
};
|
|
53908
54064
|
tool$incidentsUpdate = {
|
|
@@ -53910,9 +54066,9 @@ var init_incidentsUpdate2 = __esm(() => {
|
|
|
53910
54066
|
description: `Update Incident
|
|
53911
54067
|
|
|
53912
54068
|
Update an existing incident`,
|
|
53913
|
-
args:
|
|
53914
|
-
tool: async (client,
|
|
53915
|
-
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();
|
|
53916
54072
|
if (!result.ok) {
|
|
53917
54073
|
return {
|
|
53918
54074
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53927,9 +54083,9 @@ Update an existing incident`,
|
|
|
53927
54083
|
|
|
53928
54084
|
// src/funcs/insightsFoldersCreate.ts
|
|
53929
54085
|
function insightsFoldersCreate(client, request, options) {
|
|
53930
|
-
return new APIPromise($
|
|
54086
|
+
return new APIPromise($do55(client, request, options));
|
|
53931
54087
|
}
|
|
53932
|
-
async function $
|
|
54088
|
+
async function $do55(client, request, options) {
|
|
53933
54089
|
const parsed = safeParse(request, (value) => InsightsFolderInput$outboundSchema.parse(value), "Input validation failed");
|
|
53934
54090
|
if (!parsed.ok) {
|
|
53935
54091
|
return [parsed, { status: "invalid" }];
|
|
@@ -54000,20 +54156,20 @@ var init_insightsFoldersCreate = __esm(() => {
|
|
|
54000
54156
|
});
|
|
54001
54157
|
|
|
54002
54158
|
// src/mcp-server/tools/insightsFoldersCreate.ts
|
|
54003
|
-
var
|
|
54159
|
+
var args48, tool$insightsFoldersCreate;
|
|
54004
54160
|
var init_insightsFoldersCreate2 = __esm(() => {
|
|
54005
54161
|
init_insightsFoldersCreate();
|
|
54006
54162
|
init_components();
|
|
54007
54163
|
init_tools();
|
|
54008
|
-
|
|
54164
|
+
args48 = {
|
|
54009
54165
|
request: InsightsFolderInput$inboundSchema
|
|
54010
54166
|
};
|
|
54011
54167
|
tool$insightsFoldersCreate = {
|
|
54012
54168
|
name: "insights-folders-create",
|
|
54013
54169
|
description: `Create Insights Upload Folder`,
|
|
54014
|
-
args:
|
|
54015
|
-
tool: async (client,
|
|
54016
|
-
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();
|
|
54017
54173
|
if (!result.ok) {
|
|
54018
54174
|
return {
|
|
54019
54175
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54028,9 +54184,9 @@ var init_insightsFoldersCreate2 = __esm(() => {
|
|
|
54028
54184
|
|
|
54029
54185
|
// src/funcs/insightsFoldersDelete.ts
|
|
54030
54186
|
function insightsFoldersDelete(client, request, options) {
|
|
54031
|
-
return new APIPromise($
|
|
54187
|
+
return new APIPromise($do56(client, request, options));
|
|
54032
54188
|
}
|
|
54033
|
-
async function $
|
|
54189
|
+
async function $do56(client, request, options) {
|
|
54034
54190
|
const parsed = safeParse(request, (value) => InsightsFolderDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54035
54191
|
if (!parsed.ok) {
|
|
54036
54192
|
return [parsed, { status: "invalid" }];
|
|
@@ -54107,20 +54263,20 @@ var init_insightsFoldersDelete = __esm(() => {
|
|
|
54107
54263
|
});
|
|
54108
54264
|
|
|
54109
54265
|
// src/mcp-server/tools/insightsFoldersDelete.ts
|
|
54110
|
-
var
|
|
54266
|
+
var args49, tool$insightsFoldersDelete;
|
|
54111
54267
|
var init_insightsFoldersDelete2 = __esm(() => {
|
|
54112
54268
|
init_insightsFoldersDelete();
|
|
54113
54269
|
init_operations();
|
|
54114
54270
|
init_tools();
|
|
54115
|
-
|
|
54271
|
+
args49 = {
|
|
54116
54272
|
request: InsightsFolderDeleteRequest$inboundSchema
|
|
54117
54273
|
};
|
|
54118
54274
|
tool$insightsFoldersDelete = {
|
|
54119
54275
|
name: "insights-folders-delete",
|
|
54120
54276
|
description: `Delete Insights Folder`,
|
|
54121
|
-
args:
|
|
54122
|
-
tool: async (client,
|
|
54123
|
-
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();
|
|
54124
54280
|
if (!result.ok) {
|
|
54125
54281
|
return {
|
|
54126
54282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54135,9 +54291,9 @@ var init_insightsFoldersDelete2 = __esm(() => {
|
|
|
54135
54291
|
|
|
54136
54292
|
// src/funcs/insightsFoldersGetById.ts
|
|
54137
54293
|
function insightsFoldersGetById(client, request, options) {
|
|
54138
|
-
return new APIPromise($
|
|
54294
|
+
return new APIPromise($do57(client, request, options));
|
|
54139
54295
|
}
|
|
54140
|
-
async function $
|
|
54296
|
+
async function $do57(client, request, options) {
|
|
54141
54297
|
const parsed = safeParse(request, (value) => InsightsFolderGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54142
54298
|
if (!parsed.ok) {
|
|
54143
54299
|
return [parsed, { status: "invalid" }];
|
|
@@ -54214,20 +54370,20 @@ var init_insightsFoldersGetById = __esm(() => {
|
|
|
54214
54370
|
});
|
|
54215
54371
|
|
|
54216
54372
|
// src/mcp-server/tools/insightsFoldersGetById.ts
|
|
54217
|
-
var
|
|
54373
|
+
var args50, tool$insightsFoldersGetById;
|
|
54218
54374
|
var init_insightsFoldersGetById2 = __esm(() => {
|
|
54219
54375
|
init_insightsFoldersGetById();
|
|
54220
54376
|
init_operations();
|
|
54221
54377
|
init_tools();
|
|
54222
|
-
|
|
54378
|
+
args50 = {
|
|
54223
54379
|
request: InsightsFolderGetByIdRequest$inboundSchema
|
|
54224
54380
|
};
|
|
54225
54381
|
tool$insightsFoldersGetById = {
|
|
54226
54382
|
name: "insights-folders-get-by-id",
|
|
54227
54383
|
description: `Get Insights Folder Details`,
|
|
54228
|
-
args:
|
|
54229
|
-
tool: async (client,
|
|
54230
|
-
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();
|
|
54231
54387
|
if (!result.ok) {
|
|
54232
54388
|
return {
|
|
54233
54389
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54242,9 +54398,9 @@ var init_insightsFoldersGetById2 = __esm(() => {
|
|
|
54242
54398
|
|
|
54243
54399
|
// src/funcs/insightsFoldersList.ts
|
|
54244
54400
|
function insightsFoldersList(client, request, options) {
|
|
54245
|
-
return new APIPromise($
|
|
54401
|
+
return new APIPromise($do58(client, request, options));
|
|
54246
54402
|
}
|
|
54247
|
-
async function $
|
|
54403
|
+
async function $do58(client, request, options) {
|
|
54248
54404
|
const parsed = safeParse(request, (value) => InsightsFolderListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54249
54405
|
if (!parsed.ok) {
|
|
54250
54406
|
return [parsed, { status: "invalid" }];
|
|
@@ -54327,20 +54483,20 @@ var init_insightsFoldersList = __esm(() => {
|
|
|
54327
54483
|
});
|
|
54328
54484
|
|
|
54329
54485
|
// src/mcp-server/tools/insightsFoldersList.ts
|
|
54330
|
-
var
|
|
54486
|
+
var args51, tool$insightsFoldersList;
|
|
54331
54487
|
var init_insightsFoldersList2 = __esm(() => {
|
|
54332
54488
|
init_insightsFoldersList();
|
|
54333
54489
|
init_operations();
|
|
54334
54490
|
init_tools();
|
|
54335
|
-
|
|
54491
|
+
args51 = {
|
|
54336
54492
|
request: InsightsFolderListRequest$inboundSchema
|
|
54337
54493
|
};
|
|
54338
54494
|
tool$insightsFoldersList = {
|
|
54339
54495
|
name: "insights-folders-list",
|
|
54340
54496
|
description: `List Insights Upload Folders`,
|
|
54341
|
-
args:
|
|
54342
|
-
tool: async (client,
|
|
54343
|
-
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();
|
|
54344
54500
|
if (!result.ok) {
|
|
54345
54501
|
return {
|
|
54346
54502
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54355,9 +54511,9 @@ var init_insightsFoldersList2 = __esm(() => {
|
|
|
54355
54511
|
|
|
54356
54512
|
// src/funcs/insightsFoldersListFiles.ts
|
|
54357
54513
|
function insightsFoldersListFiles(client, request, options) {
|
|
54358
|
-
return new APIPromise($
|
|
54514
|
+
return new APIPromise($do59(client, request, options));
|
|
54359
54515
|
}
|
|
54360
|
-
async function $
|
|
54516
|
+
async function $do59(client, request, options) {
|
|
54361
54517
|
const parsed = safeParse(request, (value) => InsightsUploadListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54362
54518
|
if (!parsed.ok) {
|
|
54363
54519
|
return [parsed, { status: "invalid" }];
|
|
@@ -54446,20 +54602,20 @@ var init_insightsFoldersListFiles = __esm(() => {
|
|
|
54446
54602
|
});
|
|
54447
54603
|
|
|
54448
54604
|
// src/mcp-server/tools/insightsFoldersListFiles.ts
|
|
54449
|
-
var
|
|
54605
|
+
var args52, tool$insightsFoldersListFiles;
|
|
54450
54606
|
var init_insightsFoldersListFiles2 = __esm(() => {
|
|
54451
54607
|
init_insightsFoldersListFiles();
|
|
54452
54608
|
init_operations();
|
|
54453
54609
|
init_tools();
|
|
54454
|
-
|
|
54610
|
+
args52 = {
|
|
54455
54611
|
request: InsightsUploadListFilesRequest$inboundSchema
|
|
54456
54612
|
};
|
|
54457
54613
|
tool$insightsFoldersListFiles = {
|
|
54458
54614
|
name: "insights-folders-list-files",
|
|
54459
54615
|
description: `Fetch Insights Upload Files`,
|
|
54460
|
-
args:
|
|
54461
|
-
tool: async (client,
|
|
54462
|
-
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();
|
|
54463
54619
|
if (!result.ok) {
|
|
54464
54620
|
return {
|
|
54465
54621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54474,9 +54630,9 @@ var init_insightsFoldersListFiles2 = __esm(() => {
|
|
|
54474
54630
|
|
|
54475
54631
|
// src/funcs/insightsFoldersMoveFiles.ts
|
|
54476
54632
|
function insightsFoldersMoveFiles(client, request, options) {
|
|
54477
|
-
return new APIPromise($
|
|
54633
|
+
return new APIPromise($do60(client, request, options));
|
|
54478
54634
|
}
|
|
54479
|
-
async function $
|
|
54635
|
+
async function $do60(client, request, options) {
|
|
54480
54636
|
const parsed = safeParse(request, (value) => InsightsUploadMoveFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54481
54637
|
if (!parsed.ok) {
|
|
54482
54638
|
return [parsed, { status: "invalid" }];
|
|
@@ -54557,20 +54713,20 @@ var init_insightsFoldersMoveFiles = __esm(() => {
|
|
|
54557
54713
|
});
|
|
54558
54714
|
|
|
54559
54715
|
// src/mcp-server/tools/insightsFoldersMoveFiles.ts
|
|
54560
|
-
var
|
|
54716
|
+
var args53, tool$insightsFoldersMoveFiles;
|
|
54561
54717
|
var init_insightsFoldersMoveFiles2 = __esm(() => {
|
|
54562
54718
|
init_insightsFoldersMoveFiles();
|
|
54563
54719
|
init_operations();
|
|
54564
54720
|
init_tools();
|
|
54565
|
-
|
|
54721
|
+
args53 = {
|
|
54566
54722
|
request: InsightsUploadMoveFilesRequest$inboundSchema
|
|
54567
54723
|
};
|
|
54568
54724
|
tool$insightsFoldersMoveFiles = {
|
|
54569
54725
|
name: "insights-folders-move-files",
|
|
54570
54726
|
description: `Move Insights Upload Files`,
|
|
54571
|
-
args:
|
|
54572
|
-
tool: async (client,
|
|
54573
|
-
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();
|
|
54574
54730
|
if (!result.ok) {
|
|
54575
54731
|
return {
|
|
54576
54732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54585,9 +54741,9 @@ var init_insightsFoldersMoveFiles2 = __esm(() => {
|
|
|
54585
54741
|
|
|
54586
54742
|
// src/funcs/insightsFoldersUpdate.ts
|
|
54587
54743
|
function insightsFoldersUpdate(client, request, options) {
|
|
54588
|
-
return new APIPromise($
|
|
54744
|
+
return new APIPromise($do61(client, request, options));
|
|
54589
54745
|
}
|
|
54590
|
-
async function $
|
|
54746
|
+
async function $do61(client, request, options) {
|
|
54591
54747
|
const parsed = safeParse(request, (value) => InsightsFolderUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54592
54748
|
if (!parsed.ok) {
|
|
54593
54749
|
return [parsed, { status: "invalid" }];
|
|
@@ -54667,20 +54823,20 @@ var init_insightsFoldersUpdate = __esm(() => {
|
|
|
54667
54823
|
});
|
|
54668
54824
|
|
|
54669
54825
|
// src/mcp-server/tools/insightsFoldersUpdate.ts
|
|
54670
|
-
var
|
|
54826
|
+
var args54, tool$insightsFoldersUpdate;
|
|
54671
54827
|
var init_insightsFoldersUpdate2 = __esm(() => {
|
|
54672
54828
|
init_insightsFoldersUpdate();
|
|
54673
54829
|
init_operations();
|
|
54674
54830
|
init_tools();
|
|
54675
|
-
|
|
54831
|
+
args54 = {
|
|
54676
54832
|
request: InsightsFolderUpdateRequest$inboundSchema
|
|
54677
54833
|
};
|
|
54678
54834
|
tool$insightsFoldersUpdate = {
|
|
54679
54835
|
name: "insights-folders-update",
|
|
54680
54836
|
description: `Update Insights Folder`,
|
|
54681
|
-
args:
|
|
54682
|
-
tool: async (client,
|
|
54683
|
-
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();
|
|
54684
54840
|
if (!result.ok) {
|
|
54685
54841
|
return {
|
|
54686
54842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54695,9 +54851,9 @@ var init_insightsFoldersUpdate2 = __esm(() => {
|
|
|
54695
54851
|
|
|
54696
54852
|
// src/funcs/insightsFoldersUploadFile.ts
|
|
54697
54853
|
function insightsFoldersUploadFile(client, request, options) {
|
|
54698
|
-
return new APIPromise($
|
|
54854
|
+
return new APIPromise($do62(client, request, options));
|
|
54699
54855
|
}
|
|
54700
|
-
async function $
|
|
54856
|
+
async function $do62(client, request, options) {
|
|
54701
54857
|
const parsed = safeParse(request, (value) => InsightsFolderUploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54702
54858
|
if (!parsed.ok) {
|
|
54703
54859
|
return [parsed, { status: "invalid" }];
|
|
@@ -54802,20 +54958,20 @@ var init_insightsFoldersUploadFile = __esm(() => {
|
|
|
54802
54958
|
});
|
|
54803
54959
|
|
|
54804
54960
|
// src/mcp-server/tools/insightsFoldersUploadFile.ts
|
|
54805
|
-
var
|
|
54961
|
+
var args55, tool$insightsFoldersUploadFile;
|
|
54806
54962
|
var init_insightsFoldersUploadFile2 = __esm(() => {
|
|
54807
54963
|
init_insightsFoldersUploadFile();
|
|
54808
54964
|
init_operations();
|
|
54809
54965
|
init_tools();
|
|
54810
|
-
|
|
54966
|
+
args55 = {
|
|
54811
54967
|
request: InsightsFolderUploadFileRequest$inboundSchema
|
|
54812
54968
|
};
|
|
54813
54969
|
tool$insightsFoldersUploadFile = {
|
|
54814
54970
|
name: "insights-folders-upload-file",
|
|
54815
54971
|
description: `Upload Insights Upload Folder`,
|
|
54816
|
-
args:
|
|
54817
|
-
tool: async (client,
|
|
54818
|
-
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();
|
|
54819
54975
|
if (!result.ok) {
|
|
54820
54976
|
return {
|
|
54821
54977
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54830,9 +54986,9 @@ var init_insightsFoldersUploadFile2 = __esm(() => {
|
|
|
54830
54986
|
|
|
54831
54987
|
// src/funcs/insightsList.ts
|
|
54832
54988
|
function insightsList(client, request, options) {
|
|
54833
|
-
return new APIPromise($
|
|
54989
|
+
return new APIPromise($do63(client, request, options));
|
|
54834
54990
|
}
|
|
54835
|
-
async function $
|
|
54991
|
+
async function $do63(client, request, options) {
|
|
54836
54992
|
const parsed = safeParse(request, (value) => InsightsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54837
54993
|
if (!parsed.ok) {
|
|
54838
54994
|
return [parsed, { status: "invalid" }];
|
|
@@ -54915,12 +55071,12 @@ var init_insightsList = __esm(() => {
|
|
|
54915
55071
|
});
|
|
54916
55072
|
|
|
54917
55073
|
// src/mcp-server/tools/insightsList.ts
|
|
54918
|
-
var
|
|
55074
|
+
var args56, tool$insightsList;
|
|
54919
55075
|
var init_insightsList2 = __esm(() => {
|
|
54920
55076
|
init_insightsList();
|
|
54921
55077
|
init_operations();
|
|
54922
55078
|
init_tools();
|
|
54923
|
-
|
|
55079
|
+
args56 = {
|
|
54924
55080
|
request: InsightsListRequest$inboundSchema
|
|
54925
55081
|
};
|
|
54926
55082
|
tool$insightsList = {
|
|
@@ -54928,9 +55084,9 @@ var init_insightsList2 = __esm(() => {
|
|
|
54928
55084
|
description: `Insights List
|
|
54929
55085
|
|
|
54930
55086
|
List the evaluated insights for sessions.`,
|
|
54931
|
-
args:
|
|
54932
|
-
tool: async (client,
|
|
54933
|
-
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();
|
|
54934
55090
|
if (!result.ok) {
|
|
54935
55091
|
return {
|
|
54936
55092
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54945,9 +55101,9 @@ List the evaluated insights for sessions.`,
|
|
|
54945
55101
|
|
|
54946
55102
|
// src/funcs/insightsToolsCreate.ts
|
|
54947
55103
|
function insightsToolsCreate(client, request, options) {
|
|
54948
|
-
return new APIPromise($
|
|
55104
|
+
return new APIPromise($do64(client, request, options));
|
|
54949
55105
|
}
|
|
54950
|
-
async function $
|
|
55106
|
+
async function $do64(client, request, options) {
|
|
54951
55107
|
const parsed = safeParse(request, (value) => InsightToolInput$outboundSchema.parse(value), "Input validation failed");
|
|
54952
55108
|
if (!parsed.ok) {
|
|
54953
55109
|
return [parsed, { status: "invalid" }];
|
|
@@ -55018,12 +55174,12 @@ var init_insightsToolsCreate = __esm(() => {
|
|
|
55018
55174
|
});
|
|
55019
55175
|
|
|
55020
55176
|
// src/mcp-server/tools/insightsToolsCreate.ts
|
|
55021
|
-
var
|
|
55177
|
+
var args57, tool$insightsToolsCreate;
|
|
55022
55178
|
var init_insightsToolsCreate2 = __esm(() => {
|
|
55023
55179
|
init_insightsToolsCreate();
|
|
55024
55180
|
init_components();
|
|
55025
55181
|
init_tools();
|
|
55026
|
-
|
|
55182
|
+
args57 = {
|
|
55027
55183
|
request: InsightToolInput$inboundSchema
|
|
55028
55184
|
};
|
|
55029
55185
|
tool$insightsToolsCreate = {
|
|
@@ -55031,9 +55187,9 @@ var init_insightsToolsCreate2 = __esm(() => {
|
|
|
55031
55187
|
description: `Create Insight Tool Configuration
|
|
55032
55188
|
|
|
55033
55189
|
Create a new insight tool.`,
|
|
55034
|
-
args:
|
|
55035
|
-
tool: async (client,
|
|
55036
|
-
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();
|
|
55037
55193
|
if (!result.ok) {
|
|
55038
55194
|
return {
|
|
55039
55195
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55048,9 +55204,9 @@ Create a new insight tool.`,
|
|
|
55048
55204
|
|
|
55049
55205
|
// src/funcs/insightsToolsDelete.ts
|
|
55050
55206
|
function insightsToolsDelete(client, request, options) {
|
|
55051
|
-
return new APIPromise($
|
|
55207
|
+
return new APIPromise($do65(client, request, options));
|
|
55052
55208
|
}
|
|
55053
|
-
async function $
|
|
55209
|
+
async function $do65(client, request, options) {
|
|
55054
55210
|
const parsed = safeParse(request, (value) => InsightsToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55055
55211
|
if (!parsed.ok) {
|
|
55056
55212
|
return [parsed, { status: "invalid" }];
|
|
@@ -55127,12 +55283,12 @@ var init_insightsToolsDelete = __esm(() => {
|
|
|
55127
55283
|
});
|
|
55128
55284
|
|
|
55129
55285
|
// src/mcp-server/tools/insightsToolsDelete.ts
|
|
55130
|
-
var
|
|
55286
|
+
var args58, tool$insightsToolsDelete;
|
|
55131
55287
|
var init_insightsToolsDelete2 = __esm(() => {
|
|
55132
55288
|
init_insightsToolsDelete();
|
|
55133
55289
|
init_operations();
|
|
55134
55290
|
init_tools();
|
|
55135
|
-
|
|
55291
|
+
args58 = {
|
|
55136
55292
|
request: InsightsToolDeleteRequest$inboundSchema
|
|
55137
55293
|
};
|
|
55138
55294
|
tool$insightsToolsDelete = {
|
|
@@ -55140,9 +55296,9 @@ var init_insightsToolsDelete2 = __esm(() => {
|
|
|
55140
55296
|
description: `Delete Insight Tool Configuration
|
|
55141
55297
|
|
|
55142
55298
|
Delete an Insights tool configuration.`,
|
|
55143
|
-
args:
|
|
55144
|
-
tool: async (client,
|
|
55145
|
-
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();
|
|
55146
55302
|
if (!result.ok) {
|
|
55147
55303
|
return {
|
|
55148
55304
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55157,9 +55313,9 @@ Delete an Insights tool configuration.`,
|
|
|
55157
55313
|
|
|
55158
55314
|
// src/funcs/insightsToolsGetById.ts
|
|
55159
55315
|
function insightsToolsGetById(client, request, options) {
|
|
55160
|
-
return new APIPromise($
|
|
55316
|
+
return new APIPromise($do66(client, request, options));
|
|
55161
55317
|
}
|
|
55162
|
-
async function $
|
|
55318
|
+
async function $do66(client, request, options) {
|
|
55163
55319
|
const parsed = safeParse(request, (value) => InsightToolGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55164
55320
|
if (!parsed.ok) {
|
|
55165
55321
|
return [parsed, { status: "invalid" }];
|
|
@@ -55236,12 +55392,12 @@ var init_insightsToolsGetById = __esm(() => {
|
|
|
55236
55392
|
});
|
|
55237
55393
|
|
|
55238
55394
|
// src/mcp-server/tools/insightsToolsGetById.ts
|
|
55239
|
-
var
|
|
55395
|
+
var args59, tool$insightsToolsGetById;
|
|
55240
55396
|
var init_insightsToolsGetById2 = __esm(() => {
|
|
55241
55397
|
init_insightsToolsGetById();
|
|
55242
55398
|
init_operations();
|
|
55243
55399
|
init_tools();
|
|
55244
|
-
|
|
55400
|
+
args59 = {
|
|
55245
55401
|
request: InsightToolGetByIdRequest$inboundSchema
|
|
55246
55402
|
};
|
|
55247
55403
|
tool$insightsToolsGetById = {
|
|
@@ -55249,9 +55405,9 @@ var init_insightsToolsGetById2 = __esm(() => {
|
|
|
55249
55405
|
description: `Get Insight Tool Config By Id
|
|
55250
55406
|
|
|
55251
55407
|
Get a InsightTool by Name.`,
|
|
55252
|
-
args:
|
|
55253
|
-
tool: async (client,
|
|
55254
|
-
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();
|
|
55255
55411
|
if (!result.ok) {
|
|
55256
55412
|
return {
|
|
55257
55413
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55266,9 +55422,9 @@ Get a InsightTool by Name.`,
|
|
|
55266
55422
|
|
|
55267
55423
|
// src/funcs/insightsToolsInsightsToolTest.ts
|
|
55268
55424
|
function insightsToolsInsightsToolTest(client, request, options) {
|
|
55269
|
-
return new APIPromise($
|
|
55425
|
+
return new APIPromise($do67(client, request, options));
|
|
55270
55426
|
}
|
|
55271
|
-
async function $
|
|
55427
|
+
async function $do67(client, request, options) {
|
|
55272
55428
|
const parsed = safeParse(request, (value) => InsightToolTestInput$outboundSchema.parse(value), "Input validation failed");
|
|
55273
55429
|
if (!parsed.ok) {
|
|
55274
55430
|
return [parsed, { status: "invalid" }];
|
|
@@ -55340,12 +55496,12 @@ var init_insightsToolsInsightsToolTest = __esm(() => {
|
|
|
55340
55496
|
});
|
|
55341
55497
|
|
|
55342
55498
|
// src/mcp-server/tools/insightsToolsInsightsToolTest.ts
|
|
55343
|
-
var
|
|
55499
|
+
var args60, tool$insightsToolsInsightsToolTest;
|
|
55344
55500
|
var init_insightsToolsInsightsToolTest2 = __esm(() => {
|
|
55345
55501
|
init_insightsToolsInsightsToolTest();
|
|
55346
55502
|
init_components();
|
|
55347
55503
|
init_tools();
|
|
55348
|
-
|
|
55504
|
+
args60 = {
|
|
55349
55505
|
request: InsightToolTestInput$inboundSchema
|
|
55350
55506
|
};
|
|
55351
55507
|
tool$insightsToolsInsightsToolTest = {
|
|
@@ -55353,9 +55509,9 @@ var init_insightsToolsInsightsToolTest2 = __esm(() => {
|
|
|
55353
55509
|
description: `Test Insights Tool
|
|
55354
55510
|
|
|
55355
55511
|
Manually run the given insight tool against a session and return the response.`,
|
|
55356
|
-
args:
|
|
55357
|
-
tool: async (client,
|
|
55358
|
-
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();
|
|
55359
55515
|
if (!result.ok) {
|
|
55360
55516
|
return {
|
|
55361
55517
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55370,9 +55526,9 @@ Manually run the given insight tool against a session and return the response.`,
|
|
|
55370
55526
|
|
|
55371
55527
|
// src/funcs/insightsToolsInsightToolGetDefinitions.ts
|
|
55372
55528
|
function insightsToolsInsightToolGetDefinitions(client, options) {
|
|
55373
|
-
return new APIPromise($
|
|
55529
|
+
return new APIPromise($do68(client, options));
|
|
55374
55530
|
}
|
|
55375
|
-
async function $
|
|
55531
|
+
async function $do68(client, options) {
|
|
55376
55532
|
const path = pathToFunc("/api/v1/insights/tool-definitions")();
|
|
55377
55533
|
const headers = new Headers(compactMap({
|
|
55378
55534
|
Accept: "application/json"
|
|
@@ -55455,9 +55611,9 @@ Get a InsightTool by Name.`,
|
|
|
55455
55611
|
|
|
55456
55612
|
// src/funcs/insightsToolsList.ts
|
|
55457
55613
|
function insightsToolsList(client, request, options) {
|
|
55458
|
-
return new APIPromise($
|
|
55614
|
+
return new APIPromise($do69(client, request, options));
|
|
55459
55615
|
}
|
|
55460
|
-
async function $
|
|
55616
|
+
async function $do69(client, request, options) {
|
|
55461
55617
|
const parsed = safeParse(request, (value) => InsightToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55462
55618
|
if (!parsed.ok) {
|
|
55463
55619
|
return [parsed, { status: "invalid" }];
|
|
@@ -55540,12 +55696,12 @@ var init_insightsToolsList = __esm(() => {
|
|
|
55540
55696
|
});
|
|
55541
55697
|
|
|
55542
55698
|
// src/mcp-server/tools/insightsToolsList.ts
|
|
55543
|
-
var
|
|
55699
|
+
var args61, tool$insightsToolsList;
|
|
55544
55700
|
var init_insightsToolsList2 = __esm(() => {
|
|
55545
55701
|
init_insightsToolsList();
|
|
55546
55702
|
init_operations();
|
|
55547
55703
|
init_tools();
|
|
55548
|
-
|
|
55704
|
+
args61 = {
|
|
55549
55705
|
request: InsightToolListRequest$inboundSchema
|
|
55550
55706
|
};
|
|
55551
55707
|
tool$insightsToolsList = {
|
|
@@ -55553,9 +55709,9 @@ var init_insightsToolsList2 = __esm(() => {
|
|
|
55553
55709
|
description: `List Insight Tool Configurations
|
|
55554
55710
|
|
|
55555
55711
|
List the existing insight_tools`,
|
|
55556
|
-
args:
|
|
55557
|
-
tool: async (client,
|
|
55558
|
-
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();
|
|
55559
55715
|
if (!result.ok) {
|
|
55560
55716
|
return {
|
|
55561
55717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55570,9 +55726,9 @@ List the existing insight_tools`,
|
|
|
55570
55726
|
|
|
55571
55727
|
// src/funcs/insightsToolsUpdate.ts
|
|
55572
55728
|
function insightsToolsUpdate(client, request, options) {
|
|
55573
|
-
return new APIPromise($
|
|
55729
|
+
return new APIPromise($do70(client, request, options));
|
|
55574
55730
|
}
|
|
55575
|
-
async function $
|
|
55731
|
+
async function $do70(client, request, options) {
|
|
55576
55732
|
const parsed = safeParse(request, (value) => InsightsToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55577
55733
|
if (!parsed.ok) {
|
|
55578
55734
|
return [parsed, { status: "invalid" }];
|
|
@@ -55650,12 +55806,12 @@ var init_insightsToolsUpdate = __esm(() => {
|
|
|
55650
55806
|
});
|
|
55651
55807
|
|
|
55652
55808
|
// src/mcp-server/tools/insightsToolsUpdate.ts
|
|
55653
|
-
var
|
|
55809
|
+
var args62, tool$insightsToolsUpdate;
|
|
55654
55810
|
var init_insightsToolsUpdate2 = __esm(() => {
|
|
55655
55811
|
init_insightsToolsUpdate();
|
|
55656
55812
|
init_operations();
|
|
55657
55813
|
init_tools();
|
|
55658
|
-
|
|
55814
|
+
args62 = {
|
|
55659
55815
|
request: InsightsToolUpdateRequest$inboundSchema
|
|
55660
55816
|
};
|
|
55661
55817
|
tool$insightsToolsUpdate = {
|
|
@@ -55663,9 +55819,9 @@ var init_insightsToolsUpdate2 = __esm(() => {
|
|
|
55663
55819
|
description: `Update Insights Tool Configuration
|
|
55664
55820
|
|
|
55665
55821
|
Update an Insights tool.`,
|
|
55666
|
-
args:
|
|
55667
|
-
tool: async (client,
|
|
55668
|
-
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();
|
|
55669
55825
|
if (!result.ok) {
|
|
55670
55826
|
return {
|
|
55671
55827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55680,9 +55836,9 @@ Update an Insights tool.`,
|
|
|
55680
55836
|
|
|
55681
55837
|
// src/funcs/insightsWorkflowsActivate.ts
|
|
55682
55838
|
function insightsWorkflowsActivate(client, request, options) {
|
|
55683
|
-
return new APIPromise($
|
|
55839
|
+
return new APIPromise($do71(client, request, options));
|
|
55684
55840
|
}
|
|
55685
|
-
async function $
|
|
55841
|
+
async function $do71(client, request, options) {
|
|
55686
55842
|
const parsed = safeParse(request, (value) => InsightsWorkflowActivateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55687
55843
|
if (!parsed.ok) {
|
|
55688
55844
|
return [parsed, { status: "invalid" }];
|
|
@@ -55762,12 +55918,12 @@ var init_insightsWorkflowsActivate = __esm(() => {
|
|
|
55762
55918
|
});
|
|
55763
55919
|
|
|
55764
55920
|
// src/mcp-server/tools/insightsWorkflowsActivate.ts
|
|
55765
|
-
var
|
|
55921
|
+
var args63, tool$insightsWorkflowsActivate;
|
|
55766
55922
|
var init_insightsWorkflowsActivate2 = __esm(() => {
|
|
55767
55923
|
init_insightsWorkflowsActivate();
|
|
55768
55924
|
init_operations();
|
|
55769
55925
|
init_tools();
|
|
55770
|
-
|
|
55926
|
+
args63 = {
|
|
55771
55927
|
request: InsightsWorkflowActivateRequest$inboundSchema
|
|
55772
55928
|
};
|
|
55773
55929
|
tool$insightsWorkflowsActivate = {
|
|
@@ -55775,9 +55931,9 @@ var init_insightsWorkflowsActivate2 = __esm(() => {
|
|
|
55775
55931
|
description: `Activate Insights Workflow
|
|
55776
55932
|
|
|
55777
55933
|
Activate an InsightWorkflow.`,
|
|
55778
|
-
args:
|
|
55779
|
-
tool: async (client,
|
|
55780
|
-
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();
|
|
55781
55937
|
if (!result.ok) {
|
|
55782
55938
|
return {
|
|
55783
55939
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55792,9 +55948,9 @@ Activate an InsightWorkflow.`,
|
|
|
55792
55948
|
|
|
55793
55949
|
// src/funcs/insightsWorkflowsCreate.ts
|
|
55794
55950
|
function insightsWorkflowsCreate(client, request, options) {
|
|
55795
|
-
return new APIPromise($
|
|
55951
|
+
return new APIPromise($do72(client, request, options));
|
|
55796
55952
|
}
|
|
55797
|
-
async function $
|
|
55953
|
+
async function $do72(client, request, options) {
|
|
55798
55954
|
const parsed = safeParse(request, (value) => InsightWorkflowInput$outboundSchema.parse(value), "Input validation failed");
|
|
55799
55955
|
if (!parsed.ok) {
|
|
55800
55956
|
return [parsed, { status: "invalid" }];
|
|
@@ -55865,12 +56021,12 @@ var init_insightsWorkflowsCreate = __esm(() => {
|
|
|
55865
56021
|
});
|
|
55866
56022
|
|
|
55867
56023
|
// src/mcp-server/tools/insightsWorkflowsCreate.ts
|
|
55868
|
-
var
|
|
56024
|
+
var args64, tool$insightsWorkflowsCreate;
|
|
55869
56025
|
var init_insightsWorkflowsCreate2 = __esm(() => {
|
|
55870
56026
|
init_insightsWorkflowsCreate();
|
|
55871
56027
|
init_components();
|
|
55872
56028
|
init_tools();
|
|
55873
|
-
|
|
56029
|
+
args64 = {
|
|
55874
56030
|
request: InsightWorkflowInput$inboundSchema
|
|
55875
56031
|
};
|
|
55876
56032
|
tool$insightsWorkflowsCreate = {
|
|
@@ -55878,9 +56034,9 @@ var init_insightsWorkflowsCreate2 = __esm(() => {
|
|
|
55878
56034
|
description: `Create Insight Workflow
|
|
55879
56035
|
|
|
55880
56036
|
Create a new tool in the insights`,
|
|
55881
|
-
args:
|
|
55882
|
-
tool: async (client,
|
|
55883
|
-
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();
|
|
55884
56040
|
if (!result.ok) {
|
|
55885
56041
|
return {
|
|
55886
56042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55895,9 +56051,9 @@ Create a new tool in the insights`,
|
|
|
55895
56051
|
|
|
55896
56052
|
// src/funcs/insightsWorkflowsDelete.ts
|
|
55897
56053
|
function insightsWorkflowsDelete(client, request, options) {
|
|
55898
|
-
return new APIPromise($
|
|
56054
|
+
return new APIPromise($do73(client, request, options));
|
|
55899
56055
|
}
|
|
55900
|
-
async function $
|
|
56056
|
+
async function $do73(client, request, options) {
|
|
55901
56057
|
const parsed = safeParse(request, (value) => InsightsWorkflowDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55902
56058
|
if (!parsed.ok) {
|
|
55903
56059
|
return [parsed, { status: "invalid" }];
|
|
@@ -55974,12 +56130,12 @@ var init_insightsWorkflowsDelete = __esm(() => {
|
|
|
55974
56130
|
});
|
|
55975
56131
|
|
|
55976
56132
|
// src/mcp-server/tools/insightsWorkflowsDelete.ts
|
|
55977
|
-
var
|
|
56133
|
+
var args65, tool$insightsWorkflowsDelete;
|
|
55978
56134
|
var init_insightsWorkflowsDelete2 = __esm(() => {
|
|
55979
56135
|
init_insightsWorkflowsDelete();
|
|
55980
56136
|
init_operations();
|
|
55981
56137
|
init_tools();
|
|
55982
|
-
|
|
56138
|
+
args65 = {
|
|
55983
56139
|
request: InsightsWorkflowDeleteRequest$inboundSchema
|
|
55984
56140
|
};
|
|
55985
56141
|
tool$insightsWorkflowsDelete = {
|
|
@@ -55987,9 +56143,9 @@ var init_insightsWorkflowsDelete2 = __esm(() => {
|
|
|
55987
56143
|
description: `Delete Insights Workflow
|
|
55988
56144
|
|
|
55989
56145
|
Delete an Insights workflow.`,
|
|
55990
|
-
args:
|
|
55991
|
-
tool: async (client,
|
|
55992
|
-
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();
|
|
55993
56149
|
if (!result.ok) {
|
|
55994
56150
|
return {
|
|
55995
56151
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56004,9 +56160,9 @@ Delete an Insights workflow.`,
|
|
|
56004
56160
|
|
|
56005
56161
|
// src/funcs/insightsWorkflowsGetById.ts
|
|
56006
56162
|
function insightsWorkflowsGetById(client, request, options) {
|
|
56007
|
-
return new APIPromise($
|
|
56163
|
+
return new APIPromise($do74(client, request, options));
|
|
56008
56164
|
}
|
|
56009
|
-
async function $
|
|
56165
|
+
async function $do74(client, request, options) {
|
|
56010
56166
|
const parsed = safeParse(request, (value) => InsightsWorkflowGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56011
56167
|
if (!parsed.ok) {
|
|
56012
56168
|
return [parsed, { status: "invalid" }];
|
|
@@ -56083,12 +56239,12 @@ var init_insightsWorkflowsGetById = __esm(() => {
|
|
|
56083
56239
|
});
|
|
56084
56240
|
|
|
56085
56241
|
// src/mcp-server/tools/insightsWorkflowsGetById.ts
|
|
56086
|
-
var
|
|
56242
|
+
var args66, tool$insightsWorkflowsGetById;
|
|
56087
56243
|
var init_insightsWorkflowsGetById2 = __esm(() => {
|
|
56088
56244
|
init_insightsWorkflowsGetById();
|
|
56089
56245
|
init_operations();
|
|
56090
56246
|
init_tools();
|
|
56091
|
-
|
|
56247
|
+
args66 = {
|
|
56092
56248
|
request: InsightsWorkflowGetByIdRequest$inboundSchema
|
|
56093
56249
|
};
|
|
56094
56250
|
tool$insightsWorkflowsGetById = {
|
|
@@ -56096,9 +56252,9 @@ var init_insightsWorkflowsGetById2 = __esm(() => {
|
|
|
56096
56252
|
description: `Get Insight Workflow By Id
|
|
56097
56253
|
|
|
56098
56254
|
Get a InsightWorkflow by ID.`,
|
|
56099
|
-
args:
|
|
56100
|
-
tool: async (client,
|
|
56101
|
-
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();
|
|
56102
56258
|
if (!result.ok) {
|
|
56103
56259
|
return {
|
|
56104
56260
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56113,9 +56269,9 @@ Get a InsightWorkflow by ID.`,
|
|
|
56113
56269
|
|
|
56114
56270
|
// src/funcs/insightsWorkflowsInactivate.ts
|
|
56115
56271
|
function insightsWorkflowsInactivate(client, request, options) {
|
|
56116
|
-
return new APIPromise($
|
|
56272
|
+
return new APIPromise($do75(client, request, options));
|
|
56117
56273
|
}
|
|
56118
|
-
async function $
|
|
56274
|
+
async function $do75(client, request, options) {
|
|
56119
56275
|
const parsed = safeParse(request, (value) => InsightsWorkflowInactivateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56120
56276
|
if (!parsed.ok) {
|
|
56121
56277
|
return [parsed, { status: "invalid" }];
|
|
@@ -56192,12 +56348,12 @@ var init_insightsWorkflowsInactivate = __esm(() => {
|
|
|
56192
56348
|
});
|
|
56193
56349
|
|
|
56194
56350
|
// src/mcp-server/tools/insightsWorkflowsInactivate.ts
|
|
56195
|
-
var
|
|
56351
|
+
var args67, tool$insightsWorkflowsInactivate;
|
|
56196
56352
|
var init_insightsWorkflowsInactivate2 = __esm(() => {
|
|
56197
56353
|
init_insightsWorkflowsInactivate();
|
|
56198
56354
|
init_operations();
|
|
56199
56355
|
init_tools();
|
|
56200
|
-
|
|
56356
|
+
args67 = {
|
|
56201
56357
|
request: InsightsWorkflowInactivateRequest$inboundSchema
|
|
56202
56358
|
};
|
|
56203
56359
|
tool$insightsWorkflowsInactivate = {
|
|
@@ -56205,9 +56361,9 @@ var init_insightsWorkflowsInactivate2 = __esm(() => {
|
|
|
56205
56361
|
description: `Inactivate Insights Workflow
|
|
56206
56362
|
|
|
56207
56363
|
Inactivate an InsightWorkflow.`,
|
|
56208
|
-
args:
|
|
56209
|
-
tool: async (client,
|
|
56210
|
-
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();
|
|
56211
56367
|
if (!result.ok) {
|
|
56212
56368
|
return {
|
|
56213
56369
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56222,9 +56378,9 @@ Inactivate an InsightWorkflow.`,
|
|
|
56222
56378
|
|
|
56223
56379
|
// src/funcs/insightsWorkflowsList.ts
|
|
56224
56380
|
function insightsWorkflowsList(client, request, options) {
|
|
56225
|
-
return new APIPromise($
|
|
56381
|
+
return new APIPromise($do76(client, request, options));
|
|
56226
56382
|
}
|
|
56227
|
-
async function $
|
|
56383
|
+
async function $do76(client, request, options) {
|
|
56228
56384
|
const parsed = safeParse(request, (value) => InsightsWorkflowListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56229
56385
|
if (!parsed.ok) {
|
|
56230
56386
|
return [parsed, { status: "invalid" }];
|
|
@@ -56307,12 +56463,12 @@ var init_insightsWorkflowsList = __esm(() => {
|
|
|
56307
56463
|
});
|
|
56308
56464
|
|
|
56309
56465
|
// src/mcp-server/tools/insightsWorkflowsList.ts
|
|
56310
|
-
var
|
|
56466
|
+
var args68, tool$insightsWorkflowsList;
|
|
56311
56467
|
var init_insightsWorkflowsList2 = __esm(() => {
|
|
56312
56468
|
init_insightsWorkflowsList();
|
|
56313
56469
|
init_operations();
|
|
56314
56470
|
init_tools();
|
|
56315
|
-
|
|
56471
|
+
args68 = {
|
|
56316
56472
|
request: InsightsWorkflowListRequest$inboundSchema
|
|
56317
56473
|
};
|
|
56318
56474
|
tool$insightsWorkflowsList = {
|
|
@@ -56320,9 +56476,9 @@ var init_insightsWorkflowsList2 = __esm(() => {
|
|
|
56320
56476
|
description: `Insight Workflow List
|
|
56321
56477
|
|
|
56322
56478
|
List the existing insight_workflows`,
|
|
56323
|
-
args:
|
|
56324
|
-
tool: async (client,
|
|
56325
|
-
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();
|
|
56326
56482
|
if (!result.ok) {
|
|
56327
56483
|
return {
|
|
56328
56484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56337,9 +56493,9 @@ List the existing insight_workflows`,
|
|
|
56337
56493
|
|
|
56338
56494
|
// src/funcs/insightsWorkflowsQueueWork.ts
|
|
56339
56495
|
function insightsWorkflowsQueueWork(client, request, options) {
|
|
56340
|
-
return new APIPromise($
|
|
56496
|
+
return new APIPromise($do77(client, request, options));
|
|
56341
56497
|
}
|
|
56342
|
-
async function $
|
|
56498
|
+
async function $do77(client, request, options) {
|
|
56343
56499
|
const parsed = safeParse(request, (value) => InsightsWorkflowQueueSession$outboundSchema.parse(value), "Input validation failed");
|
|
56344
56500
|
if (!parsed.ok) {
|
|
56345
56501
|
return [parsed, { status: "invalid" }];
|
|
@@ -56411,12 +56567,12 @@ var init_insightsWorkflowsQueueWork = __esm(() => {
|
|
|
56411
56567
|
});
|
|
56412
56568
|
|
|
56413
56569
|
// src/mcp-server/tools/insightsWorkflowsQueueWork.ts
|
|
56414
|
-
var
|
|
56570
|
+
var args69, tool$insightsWorkflowsQueueWork;
|
|
56415
56571
|
var init_insightsWorkflowsQueueWork2 = __esm(() => {
|
|
56416
56572
|
init_insightsWorkflowsQueueWork();
|
|
56417
56573
|
init_components();
|
|
56418
56574
|
init_tools();
|
|
56419
|
-
|
|
56575
|
+
args69 = {
|
|
56420
56576
|
request: InsightsWorkflowQueueSession$inboundSchema
|
|
56421
56577
|
};
|
|
56422
56578
|
tool$insightsWorkflowsQueueWork = {
|
|
@@ -56424,9 +56580,9 @@ var init_insightsWorkflowsQueueWork2 = __esm(() => {
|
|
|
56424
56580
|
description: `Queue Insights Workflow For Sessions/Files
|
|
56425
56581
|
|
|
56426
56582
|
Manually queue sessions for insights workflow evaluation.`,
|
|
56427
|
-
args:
|
|
56428
|
-
tool: async (client,
|
|
56429
|
-
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();
|
|
56430
56586
|
if (!result.ok) {
|
|
56431
56587
|
return {
|
|
56432
56588
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56441,9 +56597,9 @@ Manually queue sessions for insights workflow evaluation.`,
|
|
|
56441
56597
|
|
|
56442
56598
|
// src/funcs/insightsWorkflowsUpdate.ts
|
|
56443
56599
|
function insightsWorkflowsUpdate(client, request, options) {
|
|
56444
|
-
return new APIPromise($
|
|
56600
|
+
return new APIPromise($do78(client, request, options));
|
|
56445
56601
|
}
|
|
56446
|
-
async function $
|
|
56602
|
+
async function $do78(client, request, options) {
|
|
56447
56603
|
const parsed = safeParse(request, (value) => InsightsWorkflowUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56448
56604
|
if (!parsed.ok) {
|
|
56449
56605
|
return [parsed, { status: "invalid" }];
|
|
@@ -56523,12 +56679,12 @@ var init_insightsWorkflowsUpdate = __esm(() => {
|
|
|
56523
56679
|
});
|
|
56524
56680
|
|
|
56525
56681
|
// src/mcp-server/tools/insightsWorkflowsUpdate.ts
|
|
56526
|
-
var
|
|
56682
|
+
var args70, tool$insightsWorkflowsUpdate;
|
|
56527
56683
|
var init_insightsWorkflowsUpdate2 = __esm(() => {
|
|
56528
56684
|
init_insightsWorkflowsUpdate();
|
|
56529
56685
|
init_operations();
|
|
56530
56686
|
init_tools();
|
|
56531
|
-
|
|
56687
|
+
args70 = {
|
|
56532
56688
|
request: InsightsWorkflowUpdateRequest$inboundSchema
|
|
56533
56689
|
};
|
|
56534
56690
|
tool$insightsWorkflowsUpdate = {
|
|
@@ -56536,9 +56692,9 @@ var init_insightsWorkflowsUpdate2 = __esm(() => {
|
|
|
56536
56692
|
description: `Update Insights Workflow
|
|
56537
56693
|
|
|
56538
56694
|
Update a InsightWorkflow.`,
|
|
56539
|
-
args:
|
|
56540
|
-
tool: async (client,
|
|
56541
|
-
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();
|
|
56542
56698
|
if (!result.ok) {
|
|
56543
56699
|
return {
|
|
56544
56700
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56553,9 +56709,9 @@ Update a InsightWorkflow.`,
|
|
|
56553
56709
|
|
|
56554
56710
|
// src/funcs/languageGroupsCreate.ts
|
|
56555
56711
|
function languageGroupsCreate(client, request, options) {
|
|
56556
|
-
return new APIPromise($
|
|
56712
|
+
return new APIPromise($do79(client, request, options));
|
|
56557
56713
|
}
|
|
56558
|
-
async function $
|
|
56714
|
+
async function $do79(client, request, options) {
|
|
56559
56715
|
const parsed = safeParse(request, (value) => LanguageGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56560
56716
|
if (!parsed.ok) {
|
|
56561
56717
|
return [parsed, { status: "invalid" }];
|
|
@@ -56626,12 +56782,12 @@ var init_languageGroupsCreate = __esm(() => {
|
|
|
56626
56782
|
});
|
|
56627
56783
|
|
|
56628
56784
|
// src/mcp-server/tools/languageGroupsCreate.ts
|
|
56629
|
-
var
|
|
56785
|
+
var args71, tool$languageGroupsCreate;
|
|
56630
56786
|
var init_languageGroupsCreate2 = __esm(() => {
|
|
56631
56787
|
init_languageGroupsCreate();
|
|
56632
56788
|
init_components();
|
|
56633
56789
|
init_tools();
|
|
56634
|
-
|
|
56790
|
+
args71 = {
|
|
56635
56791
|
request: LanguageGroupCreateRequest$inboundSchema
|
|
56636
56792
|
};
|
|
56637
56793
|
tool$languageGroupsCreate = {
|
|
@@ -56639,9 +56795,9 @@ var init_languageGroupsCreate2 = __esm(() => {
|
|
|
56639
56795
|
description: `Create Language Group
|
|
56640
56796
|
|
|
56641
56797
|
Deprecated alias for \`POST /api/v1/voice_groups/\`.`,
|
|
56642
|
-
args:
|
|
56643
|
-
tool: async (client,
|
|
56644
|
-
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();
|
|
56645
56801
|
if (!result.ok) {
|
|
56646
56802
|
return {
|
|
56647
56803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56656,9 +56812,9 @@ Deprecated alias for \`POST /api/v1/voice_groups/\`.`,
|
|
|
56656
56812
|
|
|
56657
56813
|
// src/funcs/languageGroupsDelete.ts
|
|
56658
56814
|
function languageGroupsDelete(client, request, options) {
|
|
56659
|
-
return new APIPromise($
|
|
56815
|
+
return new APIPromise($do80(client, request, options));
|
|
56660
56816
|
}
|
|
56661
|
-
async function $
|
|
56817
|
+
async function $do80(client, request, options) {
|
|
56662
56818
|
const parsed = safeParse(request, (value) => LanguageGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56663
56819
|
if (!parsed.ok) {
|
|
56664
56820
|
return [parsed, { status: "invalid" }];
|
|
@@ -56736,12 +56892,12 @@ var init_languageGroupsDelete = __esm(() => {
|
|
|
56736
56892
|
});
|
|
56737
56893
|
|
|
56738
56894
|
// src/mcp-server/tools/languageGroupsDelete.ts
|
|
56739
|
-
var
|
|
56895
|
+
var args72, tool$languageGroupsDelete;
|
|
56740
56896
|
var init_languageGroupsDelete2 = __esm(() => {
|
|
56741
56897
|
init_languageGroupsDelete();
|
|
56742
56898
|
init_operations();
|
|
56743
56899
|
init_tools();
|
|
56744
|
-
|
|
56900
|
+
args72 = {
|
|
56745
56901
|
request: LanguageGroupsDeleteRequest$inboundSchema
|
|
56746
56902
|
};
|
|
56747
56903
|
tool$languageGroupsDelete = {
|
|
@@ -56749,9 +56905,9 @@ var init_languageGroupsDelete2 = __esm(() => {
|
|
|
56749
56905
|
description: `Delete Language Group
|
|
56750
56906
|
|
|
56751
56907
|
Deprecated alias for \`DELETE /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
56752
|
-
args:
|
|
56753
|
-
tool: async (client,
|
|
56754
|
-
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();
|
|
56755
56911
|
if (!result.ok) {
|
|
56756
56912
|
return {
|
|
56757
56913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56766,9 +56922,9 @@ Deprecated alias for \`DELETE /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
|
56766
56922
|
|
|
56767
56923
|
// src/funcs/languageGroupsGetById.ts
|
|
56768
56924
|
function languageGroupsGetById(client, request, options) {
|
|
56769
|
-
return new APIPromise($
|
|
56925
|
+
return new APIPromise($do81(client, request, options));
|
|
56770
56926
|
}
|
|
56771
|
-
async function $
|
|
56927
|
+
async function $do81(client, request, options) {
|
|
56772
56928
|
const parsed = safeParse(request, (value) => LanguageGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56773
56929
|
if (!parsed.ok) {
|
|
56774
56930
|
return [parsed, { status: "invalid" }];
|
|
@@ -56842,12 +56998,12 @@ var init_languageGroupsGetById = __esm(() => {
|
|
|
56842
56998
|
});
|
|
56843
56999
|
|
|
56844
57000
|
// src/mcp-server/tools/languageGroupsGetById.ts
|
|
56845
|
-
var
|
|
57001
|
+
var args73, tool$languageGroupsGetById;
|
|
56846
57002
|
var init_languageGroupsGetById2 = __esm(() => {
|
|
56847
57003
|
init_languageGroupsGetById();
|
|
56848
57004
|
init_operations();
|
|
56849
57005
|
init_tools();
|
|
56850
|
-
|
|
57006
|
+
args73 = {
|
|
56851
57007
|
request: LanguageGroupsGetByIdRequest$inboundSchema
|
|
56852
57008
|
};
|
|
56853
57009
|
tool$languageGroupsGetById = {
|
|
@@ -56855,9 +57011,9 @@ var init_languageGroupsGetById2 = __esm(() => {
|
|
|
56855
57011
|
description: `Get Language Group
|
|
56856
57012
|
|
|
56857
57013
|
Deprecated alias for \`GET /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
56858
|
-
args:
|
|
56859
|
-
tool: async (client,
|
|
56860
|
-
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();
|
|
56861
57017
|
if (!result.ok) {
|
|
56862
57018
|
return {
|
|
56863
57019
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56872,9 +57028,9 @@ Deprecated alias for \`GET /api/v1/voice_groups/{voice_group_id}\`.`,
|
|
|
56872
57028
|
|
|
56873
57029
|
// src/funcs/languageGroupsLanguageGroupsCreateVoiceSample.ts
|
|
56874
57030
|
function languageGroupsLanguageGroupsCreateVoiceSample(client, request, options) {
|
|
56875
|
-
return new APIPromise($
|
|
57031
|
+
return new APIPromise($do82(client, request, options));
|
|
56876
57032
|
}
|
|
56877
|
-
async function $
|
|
57033
|
+
async function $do82(client, request, options) {
|
|
56878
57034
|
const parsed = safeParse(request, (value) => LanguageSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56879
57035
|
if (!parsed.ok) {
|
|
56880
57036
|
return [parsed, { status: "invalid" }];
|
|
@@ -56946,12 +57102,12 @@ var init_languageGroupsLanguageGroupsCreateVoiceSample = __esm(() => {
|
|
|
56946
57102
|
});
|
|
56947
57103
|
|
|
56948
57104
|
// src/mcp-server/tools/languageGroupsLanguageGroupsCreateVoiceSample.ts
|
|
56949
|
-
var
|
|
57105
|
+
var args74, tool$languageGroupsLanguageGroupsCreateVoiceSample;
|
|
56950
57106
|
var init_languageGroupsLanguageGroupsCreateVoiceSample2 = __esm(() => {
|
|
56951
57107
|
init_languageGroupsLanguageGroupsCreateVoiceSample();
|
|
56952
57108
|
init_components();
|
|
56953
57109
|
init_tools();
|
|
56954
|
-
|
|
57110
|
+
args74 = {
|
|
56955
57111
|
request: LanguageSampleCreateRequest$inboundSchema
|
|
56956
57112
|
};
|
|
56957
57113
|
tool$languageGroupsLanguageGroupsCreateVoiceSample = {
|
|
@@ -56959,9 +57115,9 @@ var init_languageGroupsLanguageGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
56959
57115
|
description: `Create Voice Sample
|
|
56960
57116
|
|
|
56961
57117
|
Deprecated alias for \`POST /api/v1/voice_groups/voices/sample\`.`,
|
|
56962
|
-
args:
|
|
56963
|
-
tool: async (client,
|
|
56964
|
-
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();
|
|
56965
57121
|
if (!result.ok) {
|
|
56966
57122
|
return {
|
|
56967
57123
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56976,9 +57132,9 @@ Deprecated alias for \`POST /api/v1/voice_groups/voices/sample\`.`,
|
|
|
56976
57132
|
|
|
56977
57133
|
// src/funcs/languageGroupsList.ts
|
|
56978
57134
|
function languageGroupsList(client, request, options) {
|
|
56979
|
-
return new APIPromise($
|
|
57135
|
+
return new APIPromise($do83(client, request, options));
|
|
56980
57136
|
}
|
|
56981
|
-
async function $
|
|
57137
|
+
async function $do83(client, request, options) {
|
|
56982
57138
|
const parsed = safeParse(request, (value) => LanguageGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56983
57139
|
if (!parsed.ok) {
|
|
56984
57140
|
return [parsed, { status: "invalid" }];
|
|
@@ -57061,12 +57217,12 @@ var init_languageGroupsList = __esm(() => {
|
|
|
57061
57217
|
});
|
|
57062
57218
|
|
|
57063
57219
|
// src/mcp-server/tools/languageGroupsList.ts
|
|
57064
|
-
var
|
|
57220
|
+
var args75, tool$languageGroupsList;
|
|
57065
57221
|
var init_languageGroupsList2 = __esm(() => {
|
|
57066
57222
|
init_languageGroupsList();
|
|
57067
57223
|
init_operations();
|
|
57068
57224
|
init_tools();
|
|
57069
|
-
|
|
57225
|
+
args75 = {
|
|
57070
57226
|
request: LanguageGroupsListRequest$inboundSchema
|
|
57071
57227
|
};
|
|
57072
57228
|
tool$languageGroupsList = {
|
|
@@ -57074,9 +57230,9 @@ var init_languageGroupsList2 = __esm(() => {
|
|
|
57074
57230
|
description: `List Language Groups
|
|
57075
57231
|
|
|
57076
57232
|
Deprecated alias for \`GET /api/v1/voice_groups/\`.`,
|
|
57077
|
-
args:
|
|
57078
|
-
tool: async (client,
|
|
57079
|
-
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();
|
|
57080
57236
|
if (!result.ok) {
|
|
57081
57237
|
return {
|
|
57082
57238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57091,9 +57247,9 @@ Deprecated alias for \`GET /api/v1/voice_groups/\`.`,
|
|
|
57091
57247
|
|
|
57092
57248
|
// src/funcs/languageGroupsUpdate.ts
|
|
57093
57249
|
function languageGroupsUpdate(client, request, options) {
|
|
57094
|
-
return new APIPromise($
|
|
57250
|
+
return new APIPromise($do84(client, request, options));
|
|
57095
57251
|
}
|
|
57096
|
-
async function $
|
|
57252
|
+
async function $do84(client, request, options) {
|
|
57097
57253
|
const parsed = safeParse(request, (value) => LanguageGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57098
57254
|
if (!parsed.ok) {
|
|
57099
57255
|
return [parsed, { status: "invalid" }];
|
|
@@ -57164,12 +57320,12 @@ var init_languageGroupsUpdate = __esm(() => {
|
|
|
57164
57320
|
});
|
|
57165
57321
|
|
|
57166
57322
|
// src/mcp-server/tools/languageGroupsUpdate.ts
|
|
57167
|
-
var
|
|
57323
|
+
var args76, tool$languageGroupsUpdate;
|
|
57168
57324
|
var init_languageGroupsUpdate2 = __esm(() => {
|
|
57169
57325
|
init_languageGroupsUpdate();
|
|
57170
57326
|
init_components();
|
|
57171
57327
|
init_tools();
|
|
57172
|
-
|
|
57328
|
+
args76 = {
|
|
57173
57329
|
request: LanguageGroupUpdateRequest$inboundSchema
|
|
57174
57330
|
};
|
|
57175
57331
|
tool$languageGroupsUpdate = {
|
|
@@ -57177,9 +57333,9 @@ var init_languageGroupsUpdate2 = __esm(() => {
|
|
|
57177
57333
|
description: `Update Language Group
|
|
57178
57334
|
|
|
57179
57335
|
Deprecated alias for \`PUT /api/v1/voice_groups/\`.`,
|
|
57180
|
-
args:
|
|
57181
|
-
tool: async (client,
|
|
57182
|
-
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();
|
|
57183
57339
|
if (!result.ok) {
|
|
57184
57340
|
return {
|
|
57185
57341
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57194,9 +57350,9 @@ Deprecated alias for \`PUT /api/v1/voice_groups/\`.`,
|
|
|
57194
57350
|
|
|
57195
57351
|
// src/funcs/organizationsCreate.ts
|
|
57196
57352
|
function organizationsCreate(client, request, options) {
|
|
57197
|
-
return new APIPromise($
|
|
57353
|
+
return new APIPromise($do85(client, request, options));
|
|
57198
57354
|
}
|
|
57199
|
-
async function $
|
|
57355
|
+
async function $do85(client, request, options) {
|
|
57200
57356
|
const parsed = safeParse(request, (value) => BodyOrganizationsCreate$outboundSchema.parse(value), "Input validation failed");
|
|
57201
57357
|
if (!parsed.ok) {
|
|
57202
57358
|
return [parsed, { status: "invalid" }];
|
|
@@ -57288,12 +57444,12 @@ var init_organizationsCreate = __esm(() => {
|
|
|
57288
57444
|
});
|
|
57289
57445
|
|
|
57290
57446
|
// src/mcp-server/tools/organizationsCreate.ts
|
|
57291
|
-
var
|
|
57447
|
+
var args77, tool$organizationsCreate;
|
|
57292
57448
|
var init_organizationsCreate2 = __esm(() => {
|
|
57293
57449
|
init_organizationsCreate();
|
|
57294
57450
|
init_components();
|
|
57295
57451
|
init_tools();
|
|
57296
|
-
|
|
57452
|
+
args77 = {
|
|
57297
57453
|
request: BodyOrganizationsCreate$inboundSchema
|
|
57298
57454
|
};
|
|
57299
57455
|
tool$organizationsCreate = {
|
|
@@ -57301,9 +57457,9 @@ var init_organizationsCreate2 = __esm(() => {
|
|
|
57301
57457
|
description: `Create Organization
|
|
57302
57458
|
|
|
57303
57459
|
Create a new organization.`,
|
|
57304
|
-
args:
|
|
57305
|
-
tool: async (client,
|
|
57306
|
-
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();
|
|
57307
57463
|
if (!result.ok) {
|
|
57308
57464
|
return {
|
|
57309
57465
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57318,9 +57474,9 @@ Create a new organization.`,
|
|
|
57318
57474
|
|
|
57319
57475
|
// src/funcs/organizationsDelete.ts
|
|
57320
57476
|
function organizationsDelete(client, request, options) {
|
|
57321
|
-
return new APIPromise($
|
|
57477
|
+
return new APIPromise($do86(client, request, options));
|
|
57322
57478
|
}
|
|
57323
|
-
async function $
|
|
57479
|
+
async function $do86(client, request, options) {
|
|
57324
57480
|
const parsed = safeParse(request, (value) => BodyOrganizationsDelete$outboundSchema.optional().parse(value), "Input validation failed");
|
|
57325
57481
|
if (!parsed.ok) {
|
|
57326
57482
|
return [parsed, { status: "invalid" }];
|
|
@@ -57394,12 +57550,12 @@ var init_organizationsDelete = __esm(() => {
|
|
|
57394
57550
|
});
|
|
57395
57551
|
|
|
57396
57552
|
// src/mcp-server/tools/organizationsDelete.ts
|
|
57397
|
-
var
|
|
57553
|
+
var args78, tool$organizationsDelete;
|
|
57398
57554
|
var init_organizationsDelete2 = __esm(() => {
|
|
57399
57555
|
init_organizationsDelete();
|
|
57400
57556
|
init_components();
|
|
57401
57557
|
init_tools();
|
|
57402
|
-
|
|
57558
|
+
args78 = {
|
|
57403
57559
|
request: BodyOrganizationsDelete$inboundSchema.optional()
|
|
57404
57560
|
};
|
|
57405
57561
|
tool$organizationsDelete = {
|
|
@@ -57407,9 +57563,9 @@ var init_organizationsDelete2 = __esm(() => {
|
|
|
57407
57563
|
description: `Delete Current Organization
|
|
57408
57564
|
|
|
57409
57565
|
Delete the current organization and all its users.`,
|
|
57410
|
-
args:
|
|
57411
|
-
tool: async (client,
|
|
57412
|
-
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();
|
|
57413
57569
|
if (!result.ok) {
|
|
57414
57570
|
return {
|
|
57415
57571
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57424,9 +57580,9 @@ Delete the current organization and all its users.`,
|
|
|
57424
57580
|
|
|
57425
57581
|
// src/funcs/organizationsOrganizationsGet.ts
|
|
57426
57582
|
function organizationsOrganizationsGet(client, options) {
|
|
57427
|
-
return new APIPromise($
|
|
57583
|
+
return new APIPromise($do87(client, options));
|
|
57428
57584
|
}
|
|
57429
|
-
async function $
|
|
57585
|
+
async function $do87(client, options) {
|
|
57430
57586
|
const path = pathToFunc("/api/v1/organizations/")();
|
|
57431
57587
|
const headers = new Headers(compactMap({
|
|
57432
57588
|
Accept: "application/json"
|
|
@@ -57508,9 +57664,9 @@ Fetch the current organization.`,
|
|
|
57508
57664
|
|
|
57509
57665
|
// src/funcs/organizationsUpdate.ts
|
|
57510
57666
|
function organizationsUpdate(client, request, options) {
|
|
57511
|
-
return new APIPromise($
|
|
57667
|
+
return new APIPromise($do88(client, request, options));
|
|
57512
57668
|
}
|
|
57513
|
-
async function $
|
|
57669
|
+
async function $do88(client, request, options) {
|
|
57514
57670
|
const parsed = safeParse(request, (value) => BodyOrganizationsUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
57515
57671
|
if (!parsed.ok) {
|
|
57516
57672
|
return [parsed, { status: "invalid" }];
|
|
@@ -57607,12 +57763,12 @@ var init_organizationsUpdate = __esm(() => {
|
|
|
57607
57763
|
});
|
|
57608
57764
|
|
|
57609
57765
|
// src/mcp-server/tools/organizationsUpdate.ts
|
|
57610
|
-
var
|
|
57766
|
+
var args79, tool$organizationsUpdate;
|
|
57611
57767
|
var init_organizationsUpdate2 = __esm(() => {
|
|
57612
57768
|
init_organizationsUpdate();
|
|
57613
57769
|
init_components();
|
|
57614
57770
|
init_tools();
|
|
57615
|
-
|
|
57771
|
+
args79 = {
|
|
57616
57772
|
request: BodyOrganizationsUpdate$inboundSchema
|
|
57617
57773
|
};
|
|
57618
57774
|
tool$organizationsUpdate = {
|
|
@@ -57620,9 +57776,9 @@ var init_organizationsUpdate2 = __esm(() => {
|
|
|
57620
57776
|
description: `Update Current Organization
|
|
57621
57777
|
|
|
57622
57778
|
Update the current organization.`,
|
|
57623
|
-
args:
|
|
57624
|
-
tool: async (client,
|
|
57625
|
-
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();
|
|
57626
57782
|
if (!result.ok) {
|
|
57627
57783
|
return {
|
|
57628
57784
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57637,9 +57793,9 @@ Update the current organization.`,
|
|
|
57637
57793
|
|
|
57638
57794
|
// src/funcs/outboundBatchesAdd.ts
|
|
57639
57795
|
function outboundBatchesAdd(client, request, options) {
|
|
57640
|
-
return new APIPromise($
|
|
57796
|
+
return new APIPromise($do89(client, request, options));
|
|
57641
57797
|
}
|
|
57642
|
-
async function $
|
|
57798
|
+
async function $do89(client, request, options) {
|
|
57643
57799
|
const parsed = safeParse(request, (value) => OutboundBatchAddRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57644
57800
|
if (!parsed.ok) {
|
|
57645
57801
|
return [parsed, { status: "invalid" }];
|
|
@@ -57719,20 +57875,20 @@ var init_outboundBatchesAdd = __esm(() => {
|
|
|
57719
57875
|
});
|
|
57720
57876
|
|
|
57721
57877
|
// src/mcp-server/tools/outboundBatchesAdd.ts
|
|
57722
|
-
var
|
|
57878
|
+
var args80, tool$outboundBatchesAdd;
|
|
57723
57879
|
var init_outboundBatchesAdd2 = __esm(() => {
|
|
57724
57880
|
init_outboundBatchesAdd();
|
|
57725
57881
|
init_operations();
|
|
57726
57882
|
init_tools();
|
|
57727
|
-
|
|
57883
|
+
args80 = {
|
|
57728
57884
|
request: OutboundBatchAddRequest$inboundSchema
|
|
57729
57885
|
};
|
|
57730
57886
|
tool$outboundBatchesAdd = {
|
|
57731
57887
|
name: "outbound-batches-add",
|
|
57732
57888
|
description: `Create Outbound Communication Request`,
|
|
57733
|
-
args:
|
|
57734
|
-
tool: async (client,
|
|
57735
|
-
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();
|
|
57736
57892
|
if (!result.ok) {
|
|
57737
57893
|
return {
|
|
57738
57894
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57747,9 +57903,9 @@ var init_outboundBatchesAdd2 = __esm(() => {
|
|
|
57747
57903
|
|
|
57748
57904
|
// src/funcs/outboundBatchesCreate.ts
|
|
57749
57905
|
function outboundBatchesCreate(client, request, options) {
|
|
57750
|
-
return new APIPromise($
|
|
57906
|
+
return new APIPromise($do90(client, request, options));
|
|
57751
57907
|
}
|
|
57752
|
-
async function $
|
|
57908
|
+
async function $do90(client, request, options) {
|
|
57753
57909
|
const parsed = safeParse(request, (value) => CommunicationBatchInput$outboundSchema.parse(value), "Input validation failed");
|
|
57754
57910
|
if (!parsed.ok) {
|
|
57755
57911
|
return [parsed, { status: "invalid" }];
|
|
@@ -57820,20 +57976,20 @@ var init_outboundBatchesCreate = __esm(() => {
|
|
|
57820
57976
|
});
|
|
57821
57977
|
|
|
57822
57978
|
// src/mcp-server/tools/outboundBatchesCreate.ts
|
|
57823
|
-
var
|
|
57979
|
+
var args81, tool$outboundBatchesCreate;
|
|
57824
57980
|
var init_outboundBatchesCreate2 = __esm(() => {
|
|
57825
57981
|
init_outboundBatchesCreate();
|
|
57826
57982
|
init_components();
|
|
57827
57983
|
init_tools();
|
|
57828
|
-
|
|
57984
|
+
args81 = {
|
|
57829
57985
|
request: CommunicationBatchInput$inboundSchema
|
|
57830
57986
|
};
|
|
57831
57987
|
tool$outboundBatchesCreate = {
|
|
57832
57988
|
name: "outbound-batches-create",
|
|
57833
57989
|
description: `Create Outbound Communication Batch`,
|
|
57834
|
-
args:
|
|
57835
|
-
tool: async (client,
|
|
57836
|
-
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();
|
|
57837
57993
|
if (!result.ok) {
|
|
57838
57994
|
return {
|
|
57839
57995
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57848,9 +58004,9 @@ var init_outboundBatchesCreate2 = __esm(() => {
|
|
|
57848
58004
|
|
|
57849
58005
|
// src/funcs/outboundBatchesDelete.ts
|
|
57850
58006
|
function outboundBatchesDelete(client, request, options) {
|
|
57851
|
-
return new APIPromise($
|
|
58007
|
+
return new APIPromise($do91(client, request, options));
|
|
57852
58008
|
}
|
|
57853
|
-
async function $
|
|
58009
|
+
async function $do91(client, request, options) {
|
|
57854
58010
|
const parsed = safeParse(request, (value) => OutboundBatchDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57855
58011
|
if (!parsed.ok) {
|
|
57856
58012
|
return [parsed, { status: "invalid" }];
|
|
@@ -57930,20 +58086,20 @@ var init_outboundBatchesDelete = __esm(() => {
|
|
|
57930
58086
|
});
|
|
57931
58087
|
|
|
57932
58088
|
// src/mcp-server/tools/outboundBatchesDelete.ts
|
|
57933
|
-
var
|
|
58089
|
+
var args82, tool$outboundBatchesDelete;
|
|
57934
58090
|
var init_outboundBatchesDelete2 = __esm(() => {
|
|
57935
58091
|
init_outboundBatchesDelete();
|
|
57936
58092
|
init_operations();
|
|
57937
58093
|
init_tools();
|
|
57938
|
-
|
|
58094
|
+
args82 = {
|
|
57939
58095
|
request: OutboundBatchDeleteRequest$inboundSchema
|
|
57940
58096
|
};
|
|
57941
58097
|
tool$outboundBatchesDelete = {
|
|
57942
58098
|
name: "outbound-batches-delete",
|
|
57943
58099
|
description: `Delete Outbound Communication Batch`,
|
|
57944
|
-
args:
|
|
57945
|
-
tool: async (client,
|
|
57946
|
-
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();
|
|
57947
58103
|
if (!result.ok) {
|
|
57948
58104
|
return {
|
|
57949
58105
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57958,9 +58114,9 @@ var init_outboundBatchesDelete2 = __esm(() => {
|
|
|
57958
58114
|
|
|
57959
58115
|
// src/funcs/outboundBatchesGetById.ts
|
|
57960
58116
|
function outboundBatchesGetById(client, request, options) {
|
|
57961
|
-
return new APIPromise($
|
|
58117
|
+
return new APIPromise($do92(client, request, options));
|
|
57962
58118
|
}
|
|
57963
|
-
async function $
|
|
58119
|
+
async function $do92(client, request, options) {
|
|
57964
58120
|
const parsed = safeParse(request, (value) => OutboundBatchGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57965
58121
|
if (!parsed.ok) {
|
|
57966
58122
|
return [parsed, { status: "invalid" }];
|
|
@@ -58037,20 +58193,20 @@ var init_outboundBatchesGetById = __esm(() => {
|
|
|
58037
58193
|
});
|
|
58038
58194
|
|
|
58039
58195
|
// src/mcp-server/tools/outboundBatchesGetById.ts
|
|
58040
|
-
var
|
|
58196
|
+
var args83, tool$outboundBatchesGetById;
|
|
58041
58197
|
var init_outboundBatchesGetById2 = __esm(() => {
|
|
58042
58198
|
init_outboundBatchesGetById();
|
|
58043
58199
|
init_operations();
|
|
58044
58200
|
init_tools();
|
|
58045
|
-
|
|
58201
|
+
args83 = {
|
|
58046
58202
|
request: OutboundBatchGetByIdRequest$inboundSchema
|
|
58047
58203
|
};
|
|
58048
58204
|
tool$outboundBatchesGetById = {
|
|
58049
58205
|
name: "outbound-batches-get-by-id",
|
|
58050
58206
|
description: `Get Outbound Communication Batch`,
|
|
58051
|
-
args:
|
|
58052
|
-
tool: async (client,
|
|
58053
|
-
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();
|
|
58054
58210
|
if (!result.ok) {
|
|
58055
58211
|
return {
|
|
58056
58212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58065,9 +58221,9 @@ var init_outboundBatchesGetById2 = __esm(() => {
|
|
|
58065
58221
|
|
|
58066
58222
|
// src/funcs/outboundBatchesList.ts
|
|
58067
58223
|
function outboundBatchesList(client, request, options) {
|
|
58068
|
-
return new APIPromise($
|
|
58224
|
+
return new APIPromise($do93(client, request, options));
|
|
58069
58225
|
}
|
|
58070
|
-
async function $
|
|
58226
|
+
async function $do93(client, request, options) {
|
|
58071
58227
|
const parsed = safeParse(request, (value) => OutboundBatchListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58072
58228
|
if (!parsed.ok) {
|
|
58073
58229
|
return [parsed, { status: "invalid" }];
|
|
@@ -58150,20 +58306,20 @@ var init_outboundBatchesList = __esm(() => {
|
|
|
58150
58306
|
});
|
|
58151
58307
|
|
|
58152
58308
|
// src/mcp-server/tools/outboundBatchesList.ts
|
|
58153
|
-
var
|
|
58309
|
+
var args84, tool$outboundBatchesList;
|
|
58154
58310
|
var init_outboundBatchesList2 = __esm(() => {
|
|
58155
58311
|
init_outboundBatchesList();
|
|
58156
58312
|
init_operations();
|
|
58157
58313
|
init_tools();
|
|
58158
|
-
|
|
58314
|
+
args84 = {
|
|
58159
58315
|
request: OutboundBatchListRequest$inboundSchema
|
|
58160
58316
|
};
|
|
58161
58317
|
tool$outboundBatchesList = {
|
|
58162
58318
|
name: "outbound-batches-list",
|
|
58163
58319
|
description: `List Outbound Communication Batches`,
|
|
58164
|
-
args:
|
|
58165
|
-
tool: async (client,
|
|
58166
|
-
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();
|
|
58167
58323
|
if (!result.ok) {
|
|
58168
58324
|
return {
|
|
58169
58325
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58178,9 +58334,9 @@ var init_outboundBatchesList2 = __esm(() => {
|
|
|
58178
58334
|
|
|
58179
58335
|
// src/funcs/outboundBatchesRemove.ts
|
|
58180
58336
|
function outboundBatchesRemove(client, request, options) {
|
|
58181
|
-
return new APIPromise($
|
|
58337
|
+
return new APIPromise($do94(client, request, options));
|
|
58182
58338
|
}
|
|
58183
|
-
async function $
|
|
58339
|
+
async function $do94(client, request, options) {
|
|
58184
58340
|
const parsed = safeParse(request, (value) => OutboundBatchRemoveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58185
58341
|
if (!parsed.ok) {
|
|
58186
58342
|
return [parsed, { status: "invalid" }];
|
|
@@ -58258,20 +58414,20 @@ var init_outboundBatchesRemove = __esm(() => {
|
|
|
58258
58414
|
});
|
|
58259
58415
|
|
|
58260
58416
|
// src/mcp-server/tools/outboundBatchesRemove.ts
|
|
58261
|
-
var
|
|
58417
|
+
var args85, tool$outboundBatchesRemove;
|
|
58262
58418
|
var init_outboundBatchesRemove2 = __esm(() => {
|
|
58263
58419
|
init_outboundBatchesRemove();
|
|
58264
58420
|
init_operations();
|
|
58265
58421
|
init_tools();
|
|
58266
|
-
|
|
58422
|
+
args85 = {
|
|
58267
58423
|
request: OutboundBatchRemoveRequest$inboundSchema
|
|
58268
58424
|
};
|
|
58269
58425
|
tool$outboundBatchesRemove = {
|
|
58270
58426
|
name: "outbound-batches-remove",
|
|
58271
58427
|
description: `Delete Requests By List Of Reference Ids`,
|
|
58272
|
-
args:
|
|
58273
|
-
tool: async (client,
|
|
58274
|
-
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();
|
|
58275
58431
|
if (!result.ok) {
|
|
58276
58432
|
return {
|
|
58277
58433
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58286,9 +58442,9 @@ var init_outboundBatchesRemove2 = __esm(() => {
|
|
|
58286
58442
|
|
|
58287
58443
|
// src/funcs/outboundBatchesResults.ts
|
|
58288
58444
|
function outboundBatchesResults(client, request, options) {
|
|
58289
|
-
return new APIPromise($
|
|
58445
|
+
return new APIPromise($do95(client, request, options));
|
|
58290
58446
|
}
|
|
58291
|
-
async function $
|
|
58447
|
+
async function $do95(client, request, options) {
|
|
58292
58448
|
const parsed = safeParse(request, (value) => OutboundBatchResultsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58293
58449
|
if (!parsed.ok) {
|
|
58294
58450
|
return [parsed, { status: "invalid" }];
|
|
@@ -58372,20 +58528,20 @@ var init_outboundBatchesResults = __esm(() => {
|
|
|
58372
58528
|
});
|
|
58373
58529
|
|
|
58374
58530
|
// src/mcp-server/tools/outboundBatchesResults.ts
|
|
58375
|
-
var
|
|
58531
|
+
var args86, tool$outboundBatchesResults;
|
|
58376
58532
|
var init_outboundBatchesResults2 = __esm(() => {
|
|
58377
58533
|
init_outboundBatchesResults();
|
|
58378
58534
|
init_operations();
|
|
58379
58535
|
init_tools();
|
|
58380
|
-
|
|
58536
|
+
args86 = {
|
|
58381
58537
|
request: OutboundBatchResultsRequest$inboundSchema
|
|
58382
58538
|
};
|
|
58383
58539
|
tool$outboundBatchesResults = {
|
|
58384
58540
|
name: "outbound-batches-results",
|
|
58385
58541
|
description: `Fetch Outbound Communication Batch Results`,
|
|
58386
|
-
args:
|
|
58387
|
-
tool: async (client,
|
|
58388
|
-
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();
|
|
58389
58545
|
if (!result.ok) {
|
|
58390
58546
|
return {
|
|
58391
58547
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58400,9 +58556,9 @@ var init_outboundBatchesResults2 = __esm(() => {
|
|
|
58400
58556
|
|
|
58401
58557
|
// src/funcs/outboundBatchesUpdate.ts
|
|
58402
58558
|
function outboundBatchesUpdate(client, request, options) {
|
|
58403
|
-
return new APIPromise($
|
|
58559
|
+
return new APIPromise($do96(client, request, options));
|
|
58404
58560
|
}
|
|
58405
|
-
async function $
|
|
58561
|
+
async function $do96(client, request, options) {
|
|
58406
58562
|
const parsed = safeParse(request, (value) => OutboundBatchUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58407
58563
|
if (!parsed.ok) {
|
|
58408
58564
|
return [parsed, { status: "invalid" }];
|
|
@@ -58482,20 +58638,20 @@ var init_outboundBatchesUpdate = __esm(() => {
|
|
|
58482
58638
|
});
|
|
58483
58639
|
|
|
58484
58640
|
// src/mcp-server/tools/outboundBatchesUpdate.ts
|
|
58485
|
-
var
|
|
58641
|
+
var args87, tool$outboundBatchesUpdate;
|
|
58486
58642
|
var init_outboundBatchesUpdate2 = __esm(() => {
|
|
58487
58643
|
init_outboundBatchesUpdate();
|
|
58488
58644
|
init_operations();
|
|
58489
58645
|
init_tools();
|
|
58490
|
-
|
|
58646
|
+
args87 = {
|
|
58491
58647
|
request: OutboundBatchUpdateRequest$inboundSchema
|
|
58492
58648
|
};
|
|
58493
58649
|
tool$outboundBatchesUpdate = {
|
|
58494
58650
|
name: "outbound-batches-update",
|
|
58495
58651
|
description: `Update Outbound Communication Batch`,
|
|
58496
|
-
args:
|
|
58497
|
-
tool: async (client,
|
|
58498
|
-
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();
|
|
58499
58655
|
if (!result.ok) {
|
|
58500
58656
|
return {
|
|
58501
58657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58510,9 +58666,9 @@ var init_outboundBatchesUpdate2 = __esm(() => {
|
|
|
58510
58666
|
|
|
58511
58667
|
// src/funcs/outboundBatchesUpload.ts
|
|
58512
58668
|
function outboundBatchesUpload(client, request, options) {
|
|
58513
|
-
return new APIPromise($
|
|
58669
|
+
return new APIPromise($do97(client, request, options));
|
|
58514
58670
|
}
|
|
58515
|
-
async function $
|
|
58671
|
+
async function $do97(client, request, options) {
|
|
58516
58672
|
const parsed = safeParse(request, (value) => OutboundBatchUploadRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58517
58673
|
if (!parsed.ok) {
|
|
58518
58674
|
return [parsed, { status: "invalid" }];
|
|
@@ -58607,20 +58763,20 @@ var init_outboundBatchesUpload = __esm(() => {
|
|
|
58607
58763
|
});
|
|
58608
58764
|
|
|
58609
58765
|
// src/mcp-server/tools/outboundBatchesUpload.ts
|
|
58610
|
-
var
|
|
58766
|
+
var args88, tool$outboundBatchesUpload;
|
|
58611
58767
|
var init_outboundBatchesUpload2 = __esm(() => {
|
|
58612
58768
|
init_outboundBatchesUpload();
|
|
58613
58769
|
init_operations();
|
|
58614
58770
|
init_tools();
|
|
58615
|
-
|
|
58771
|
+
args88 = {
|
|
58616
58772
|
request: OutboundBatchUploadRequest$inboundSchema
|
|
58617
58773
|
};
|
|
58618
58774
|
tool$outboundBatchesUpload = {
|
|
58619
58775
|
name: "outbound-batches-upload",
|
|
58620
58776
|
description: `Upload Outbound Communication Batch`,
|
|
58621
|
-
args:
|
|
58622
|
-
tool: async (client,
|
|
58623
|
-
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();
|
|
58624
58780
|
if (!result.ok) {
|
|
58625
58781
|
return {
|
|
58626
58782
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58635,9 +58791,9 @@ var init_outboundBatchesUpload2 = __esm(() => {
|
|
|
58635
58791
|
|
|
58636
58792
|
// src/funcs/outboundCampaignsCreate.ts
|
|
58637
58793
|
function outboundCampaignsCreate(client, request, options) {
|
|
58638
|
-
return new APIPromise($
|
|
58794
|
+
return new APIPromise($do98(client, request, options));
|
|
58639
58795
|
}
|
|
58640
|
-
async function $
|
|
58796
|
+
async function $do98(client, request, options) {
|
|
58641
58797
|
const parsed = safeParse(request, (value) => OutboundCampaignInput$outboundSchema.parse(value), "Input validation failed");
|
|
58642
58798
|
if (!parsed.ok) {
|
|
58643
58799
|
return [parsed, { status: "invalid" }];
|
|
@@ -58708,20 +58864,20 @@ var init_outboundCampaignsCreate = __esm(() => {
|
|
|
58708
58864
|
});
|
|
58709
58865
|
|
|
58710
58866
|
// src/mcp-server/tools/outboundCampaignsCreate.ts
|
|
58711
|
-
var
|
|
58867
|
+
var args89, tool$outboundCampaignsCreate;
|
|
58712
58868
|
var init_outboundCampaignsCreate2 = __esm(() => {
|
|
58713
58869
|
init_outboundCampaignsCreate();
|
|
58714
58870
|
init_components();
|
|
58715
58871
|
init_tools();
|
|
58716
|
-
|
|
58872
|
+
args89 = {
|
|
58717
58873
|
request: OutboundCampaignInput$inboundSchema
|
|
58718
58874
|
};
|
|
58719
58875
|
tool$outboundCampaignsCreate = {
|
|
58720
58876
|
name: "outbound-campaigns-create",
|
|
58721
58877
|
description: `Create Outbound Communication Campaign`,
|
|
58722
|
-
args:
|
|
58723
|
-
tool: async (client,
|
|
58724
|
-
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();
|
|
58725
58881
|
if (!result.ok) {
|
|
58726
58882
|
return {
|
|
58727
58883
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58736,9 +58892,9 @@ var init_outboundCampaignsCreate2 = __esm(() => {
|
|
|
58736
58892
|
|
|
58737
58893
|
// src/funcs/outboundCampaignsDelete.ts
|
|
58738
58894
|
function outboundCampaignsDelete(client, request, options) {
|
|
58739
|
-
return new APIPromise($
|
|
58895
|
+
return new APIPromise($do99(client, request, options));
|
|
58740
58896
|
}
|
|
58741
|
-
async function $
|
|
58897
|
+
async function $do99(client, request, options) {
|
|
58742
58898
|
const parsed = safeParse(request, (value) => OutboundCampaignDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58743
58899
|
if (!parsed.ok) {
|
|
58744
58900
|
return [parsed, { status: "invalid" }];
|
|
@@ -58815,20 +58971,20 @@ var init_outboundCampaignsDelete = __esm(() => {
|
|
|
58815
58971
|
});
|
|
58816
58972
|
|
|
58817
58973
|
// src/mcp-server/tools/outboundCampaignsDelete.ts
|
|
58818
|
-
var
|
|
58974
|
+
var args90, tool$outboundCampaignsDelete;
|
|
58819
58975
|
var init_outboundCampaignsDelete2 = __esm(() => {
|
|
58820
58976
|
init_outboundCampaignsDelete();
|
|
58821
58977
|
init_operations();
|
|
58822
58978
|
init_tools();
|
|
58823
|
-
|
|
58979
|
+
args90 = {
|
|
58824
58980
|
request: OutboundCampaignDeleteRequest$inboundSchema
|
|
58825
58981
|
};
|
|
58826
58982
|
tool$outboundCampaignsDelete = {
|
|
58827
58983
|
name: "outbound-campaigns-delete",
|
|
58828
58984
|
description: `Delete Outbound Communication Campaign`,
|
|
58829
|
-
args:
|
|
58830
|
-
tool: async (client,
|
|
58831
|
-
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();
|
|
58832
58988
|
if (!result.ok) {
|
|
58833
58989
|
return {
|
|
58834
58990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58843,9 +58999,9 @@ var init_outboundCampaignsDelete2 = __esm(() => {
|
|
|
58843
58999
|
|
|
58844
59000
|
// src/funcs/outboundCampaignsGetById.ts
|
|
58845
59001
|
function outboundCampaignsGetById(client, request, options) {
|
|
58846
|
-
return new APIPromise($
|
|
59002
|
+
return new APIPromise($do100(client, request, options));
|
|
58847
59003
|
}
|
|
58848
|
-
async function $
|
|
59004
|
+
async function $do100(client, request, options) {
|
|
58849
59005
|
const parsed = safeParse(request, (value) => OutboundCampaignGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58850
59006
|
if (!parsed.ok) {
|
|
58851
59007
|
return [parsed, { status: "invalid" }];
|
|
@@ -58922,20 +59078,20 @@ var init_outboundCampaignsGetById = __esm(() => {
|
|
|
58922
59078
|
});
|
|
58923
59079
|
|
|
58924
59080
|
// src/mcp-server/tools/outboundCampaignsGetById.ts
|
|
58925
|
-
var
|
|
59081
|
+
var args91, tool$outboundCampaignsGetById;
|
|
58926
59082
|
var init_outboundCampaignsGetById2 = __esm(() => {
|
|
58927
59083
|
init_outboundCampaignsGetById();
|
|
58928
59084
|
init_operations();
|
|
58929
59085
|
init_tools();
|
|
58930
|
-
|
|
59086
|
+
args91 = {
|
|
58931
59087
|
request: OutboundCampaignGetByIdRequest$inboundSchema
|
|
58932
59088
|
};
|
|
58933
59089
|
tool$outboundCampaignsGetById = {
|
|
58934
59090
|
name: "outbound-campaigns-get-by-id",
|
|
58935
59091
|
description: `Get Outbound Communication Campaign`,
|
|
58936
|
-
args:
|
|
58937
|
-
tool: async (client,
|
|
58938
|
-
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();
|
|
58939
59095
|
if (!result.ok) {
|
|
58940
59096
|
return {
|
|
58941
59097
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58950,9 +59106,9 @@ var init_outboundCampaignsGetById2 = __esm(() => {
|
|
|
58950
59106
|
|
|
58951
59107
|
// src/funcs/outboundCampaignsList.ts
|
|
58952
59108
|
function outboundCampaignsList(client, request, options) {
|
|
58953
|
-
return new APIPromise($
|
|
59109
|
+
return new APIPromise($do101(client, request, options));
|
|
58954
59110
|
}
|
|
58955
|
-
async function $
|
|
59111
|
+
async function $do101(client, request, options) {
|
|
58956
59112
|
const parsed = safeParse(request, (value) => OutboundCampaignListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58957
59113
|
if (!parsed.ok) {
|
|
58958
59114
|
return [parsed, { status: "invalid" }];
|
|
@@ -59035,20 +59191,20 @@ var init_outboundCampaignsList = __esm(() => {
|
|
|
59035
59191
|
});
|
|
59036
59192
|
|
|
59037
59193
|
// src/mcp-server/tools/outboundCampaignsList.ts
|
|
59038
|
-
var
|
|
59194
|
+
var args92, tool$outboundCampaignsList;
|
|
59039
59195
|
var init_outboundCampaignsList2 = __esm(() => {
|
|
59040
59196
|
init_outboundCampaignsList();
|
|
59041
59197
|
init_operations();
|
|
59042
59198
|
init_tools();
|
|
59043
|
-
|
|
59199
|
+
args92 = {
|
|
59044
59200
|
request: OutboundCampaignListRequest$inboundSchema
|
|
59045
59201
|
};
|
|
59046
59202
|
tool$outboundCampaignsList = {
|
|
59047
59203
|
name: "outbound-campaigns-list",
|
|
59048
59204
|
description: `List Outbound Communication Campaigns`,
|
|
59049
|
-
args:
|
|
59050
|
-
tool: async (client,
|
|
59051
|
-
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();
|
|
59052
59208
|
if (!result.ok) {
|
|
59053
59209
|
return {
|
|
59054
59210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59063,9 +59219,9 @@ var init_outboundCampaignsList2 = __esm(() => {
|
|
|
59063
59219
|
|
|
59064
59220
|
// src/funcs/outboundCampaignsUpdate.ts
|
|
59065
59221
|
function outboundCampaignsUpdate(client, request, options) {
|
|
59066
|
-
return new APIPromise($
|
|
59222
|
+
return new APIPromise($do102(client, request, options));
|
|
59067
59223
|
}
|
|
59068
|
-
async function $
|
|
59224
|
+
async function $do102(client, request, options) {
|
|
59069
59225
|
const parsed = safeParse(request, (value) => OutboundCampaignUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59070
59226
|
if (!parsed.ok) {
|
|
59071
59227
|
return [parsed, { status: "invalid" }];
|
|
@@ -59145,20 +59301,20 @@ var init_outboundCampaignsUpdate = __esm(() => {
|
|
|
59145
59301
|
});
|
|
59146
59302
|
|
|
59147
59303
|
// src/mcp-server/tools/outboundCampaignsUpdate.ts
|
|
59148
|
-
var
|
|
59304
|
+
var args93, tool$outboundCampaignsUpdate;
|
|
59149
59305
|
var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
59150
59306
|
init_outboundCampaignsUpdate();
|
|
59151
59307
|
init_operations();
|
|
59152
59308
|
init_tools();
|
|
59153
|
-
|
|
59309
|
+
args93 = {
|
|
59154
59310
|
request: OutboundCampaignUpdateRequest$inboundSchema
|
|
59155
59311
|
};
|
|
59156
59312
|
tool$outboundCampaignsUpdate = {
|
|
59157
59313
|
name: "outbound-campaigns-update",
|
|
59158
59314
|
description: `Update Outbound Communication Campaign`,
|
|
59159
|
-
args:
|
|
59160
|
-
tool: async (client,
|
|
59161
|
-
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();
|
|
59162
59318
|
if (!result.ok) {
|
|
59163
59319
|
return {
|
|
59164
59320
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59173,9 +59329,9 @@ var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
|
59173
59329
|
|
|
59174
59330
|
// src/funcs/permissionsList.ts
|
|
59175
59331
|
function permissionsList(client, options) {
|
|
59176
|
-
return new APIPromise($
|
|
59332
|
+
return new APIPromise($do103(client, options));
|
|
59177
59333
|
}
|
|
59178
|
-
async function $
|
|
59334
|
+
async function $do103(client, options) {
|
|
59179
59335
|
const path = pathToFunc("/api/v1/permissions/")();
|
|
59180
59336
|
const headers = new Headers(compactMap({
|
|
59181
59337
|
Accept: "application/json"
|
|
@@ -59258,9 +59414,9 @@ Get all available permissions in the system.`,
|
|
|
59258
59414
|
|
|
59259
59415
|
// src/funcs/promptsCreate.ts
|
|
59260
59416
|
function promptsCreate(client, request, options) {
|
|
59261
|
-
return new APIPromise($
|
|
59417
|
+
return new APIPromise($do104(client, request, options));
|
|
59262
59418
|
}
|
|
59263
|
-
async function $
|
|
59419
|
+
async function $do104(client, request, options) {
|
|
59264
59420
|
const parsed = safeParse(request, (value) => PromptCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59265
59421
|
if (!parsed.ok) {
|
|
59266
59422
|
return [parsed, { status: "invalid" }];
|
|
@@ -59331,12 +59487,12 @@ var init_promptsCreate = __esm(() => {
|
|
|
59331
59487
|
});
|
|
59332
59488
|
|
|
59333
59489
|
// src/mcp-server/tools/promptsCreate.ts
|
|
59334
|
-
var
|
|
59490
|
+
var args94, tool$promptsCreate;
|
|
59335
59491
|
var init_promptsCreate2 = __esm(() => {
|
|
59336
59492
|
init_promptsCreate();
|
|
59337
59493
|
init_components();
|
|
59338
59494
|
init_tools();
|
|
59339
|
-
|
|
59495
|
+
args94 = {
|
|
59340
59496
|
request: PromptCreateRequest$inboundSchema
|
|
59341
59497
|
};
|
|
59342
59498
|
tool$promptsCreate = {
|
|
@@ -59344,9 +59500,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
59344
59500
|
description: `Create Prompt
|
|
59345
59501
|
|
|
59346
59502
|
Create a new prompt`,
|
|
59347
|
-
args:
|
|
59348
|
-
tool: async (client,
|
|
59349
|
-
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();
|
|
59350
59506
|
if (!result.ok) {
|
|
59351
59507
|
return {
|
|
59352
59508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59361,9 +59517,9 @@ Create a new prompt`,
|
|
|
59361
59517
|
|
|
59362
59518
|
// src/funcs/promptsDelete.ts
|
|
59363
59519
|
function promptsDelete(client, request, options) {
|
|
59364
|
-
return new APIPromise($
|
|
59520
|
+
return new APIPromise($do105(client, request, options));
|
|
59365
59521
|
}
|
|
59366
|
-
async function $
|
|
59522
|
+
async function $do105(client, request, options) {
|
|
59367
59523
|
const parsed = safeParse(request, (value) => PromptsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59368
59524
|
if (!parsed.ok) {
|
|
59369
59525
|
return [parsed, { status: "invalid" }];
|
|
@@ -59444,12 +59600,12 @@ var init_promptsDelete = __esm(() => {
|
|
|
59444
59600
|
});
|
|
59445
59601
|
|
|
59446
59602
|
// src/mcp-server/tools/promptsDelete.ts
|
|
59447
|
-
var
|
|
59603
|
+
var args95, tool$promptsDelete;
|
|
59448
59604
|
var init_promptsDelete2 = __esm(() => {
|
|
59449
59605
|
init_promptsDelete();
|
|
59450
59606
|
init_operations();
|
|
59451
59607
|
init_tools();
|
|
59452
|
-
|
|
59608
|
+
args95 = {
|
|
59453
59609
|
request: PromptsDeleteRequest$inboundSchema
|
|
59454
59610
|
};
|
|
59455
59611
|
tool$promptsDelete = {
|
|
@@ -59457,9 +59613,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
59457
59613
|
description: `Delete Prompt
|
|
59458
59614
|
|
|
59459
59615
|
Delete a prompt`,
|
|
59460
|
-
args:
|
|
59461
|
-
tool: async (client,
|
|
59462
|
-
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();
|
|
59463
59619
|
if (!result.ok) {
|
|
59464
59620
|
return {
|
|
59465
59621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59474,9 +59630,9 @@ Delete a prompt`,
|
|
|
59474
59630
|
|
|
59475
59631
|
// src/funcs/promptsGetById.ts
|
|
59476
59632
|
function promptsGetById(client, request, options) {
|
|
59477
|
-
return new APIPromise($
|
|
59633
|
+
return new APIPromise($do106(client, request, options));
|
|
59478
59634
|
}
|
|
59479
|
-
async function $
|
|
59635
|
+
async function $do106(client, request, options) {
|
|
59480
59636
|
const parsed = safeParse(request, (value) => PromptsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59481
59637
|
if (!parsed.ok) {
|
|
59482
59638
|
return [parsed, { status: "invalid" }];
|
|
@@ -59553,12 +59709,12 @@ var init_promptsGetById = __esm(() => {
|
|
|
59553
59709
|
});
|
|
59554
59710
|
|
|
59555
59711
|
// src/mcp-server/tools/promptsGetById.ts
|
|
59556
|
-
var
|
|
59712
|
+
var args96, tool$promptsGetById;
|
|
59557
59713
|
var init_promptsGetById2 = __esm(() => {
|
|
59558
59714
|
init_promptsGetById();
|
|
59559
59715
|
init_operations();
|
|
59560
59716
|
init_tools();
|
|
59561
|
-
|
|
59717
|
+
args96 = {
|
|
59562
59718
|
request: PromptsGetByIdRequest$inboundSchema
|
|
59563
59719
|
};
|
|
59564
59720
|
tool$promptsGetById = {
|
|
@@ -59566,9 +59722,9 @@ var init_promptsGetById2 = __esm(() => {
|
|
|
59566
59722
|
description: `Get Prompt By Id
|
|
59567
59723
|
|
|
59568
59724
|
Get a prompt by ID`,
|
|
59569
|
-
args:
|
|
59570
|
-
tool: async (client,
|
|
59571
|
-
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();
|
|
59572
59728
|
if (!result.ok) {
|
|
59573
59729
|
return {
|
|
59574
59730
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59583,9 +59739,9 @@ Get a prompt by ID`,
|
|
|
59583
59739
|
|
|
59584
59740
|
// src/funcs/promptsList.ts
|
|
59585
59741
|
function promptsList(client, request, options) {
|
|
59586
|
-
return new APIPromise($
|
|
59742
|
+
return new APIPromise($do107(client, request, options));
|
|
59587
59743
|
}
|
|
59588
|
-
async function $
|
|
59744
|
+
async function $do107(client, request, options) {
|
|
59589
59745
|
const parsed = safeParse(request, (value) => PromptsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59590
59746
|
if (!parsed.ok) {
|
|
59591
59747
|
return [parsed, { status: "invalid" }];
|
|
@@ -59668,12 +59824,12 @@ var init_promptsList = __esm(() => {
|
|
|
59668
59824
|
});
|
|
59669
59825
|
|
|
59670
59826
|
// src/mcp-server/tools/promptsList.ts
|
|
59671
|
-
var
|
|
59827
|
+
var args97, tool$promptsList;
|
|
59672
59828
|
var init_promptsList2 = __esm(() => {
|
|
59673
59829
|
init_promptsList();
|
|
59674
59830
|
init_operations();
|
|
59675
59831
|
init_tools();
|
|
59676
|
-
|
|
59832
|
+
args97 = {
|
|
59677
59833
|
request: PromptsListRequest$inboundSchema
|
|
59678
59834
|
};
|
|
59679
59835
|
tool$promptsList = {
|
|
@@ -59681,9 +59837,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
59681
59837
|
description: `Prompt List
|
|
59682
59838
|
|
|
59683
59839
|
List the existing prompts`,
|
|
59684
|
-
args:
|
|
59685
|
-
tool: async (client,
|
|
59686
|
-
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();
|
|
59687
59843
|
if (!result.ok) {
|
|
59688
59844
|
return {
|
|
59689
59845
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59698,9 +59854,9 @@ List the existing prompts`,
|
|
|
59698
59854
|
|
|
59699
59855
|
// src/funcs/promptsPromptGetSupportedLlms.ts
|
|
59700
59856
|
function promptsPromptGetSupportedLlms(client, options) {
|
|
59701
|
-
return new APIPromise($
|
|
59857
|
+
return new APIPromise($do108(client, options));
|
|
59702
59858
|
}
|
|
59703
|
-
async function $
|
|
59859
|
+
async function $do108(client, options) {
|
|
59704
59860
|
const path = pathToFunc("/api/v1/prompts/llms/supported")();
|
|
59705
59861
|
const headers = new Headers(compactMap({
|
|
59706
59862
|
Accept: "application/json"
|
|
@@ -59783,9 +59939,9 @@ Get supported LLM configs.`,
|
|
|
59783
59939
|
|
|
59784
59940
|
// src/funcs/promptsPromptsHistory.ts
|
|
59785
59941
|
function promptsPromptsHistory(client, request, options) {
|
|
59786
|
-
return new APIPromise($
|
|
59942
|
+
return new APIPromise($do109(client, request, options));
|
|
59787
59943
|
}
|
|
59788
|
-
async function $
|
|
59944
|
+
async function $do109(client, request, options) {
|
|
59789
59945
|
const parsed = safeParse(request, (value) => PromptsHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59790
59946
|
if (!parsed.ok) {
|
|
59791
59947
|
return [parsed, { status: "invalid" }];
|
|
@@ -59863,12 +60019,12 @@ var init_promptsPromptsHistory = __esm(() => {
|
|
|
59863
60019
|
});
|
|
59864
60020
|
|
|
59865
60021
|
// src/mcp-server/tools/promptsPromptsHistory.ts
|
|
59866
|
-
var
|
|
60022
|
+
var args98, tool$promptsPromptsHistory;
|
|
59867
60023
|
var init_promptsPromptsHistory2 = __esm(() => {
|
|
59868
60024
|
init_promptsPromptsHistory();
|
|
59869
60025
|
init_operations();
|
|
59870
60026
|
init_tools();
|
|
59871
|
-
|
|
60027
|
+
args98 = {
|
|
59872
60028
|
request: PromptsHistoryRequest$inboundSchema
|
|
59873
60029
|
};
|
|
59874
60030
|
tool$promptsPromptsHistory = {
|
|
@@ -59876,9 +60032,9 @@ var init_promptsPromptsHistory2 = __esm(() => {
|
|
|
59876
60032
|
description: `Get Prompt History
|
|
59877
60033
|
|
|
59878
60034
|
Get a list of historical versions of a prompt by its ID`,
|
|
59879
|
-
args:
|
|
59880
|
-
tool: async (client,
|
|
59881
|
-
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();
|
|
59882
60038
|
if (!result.ok) {
|
|
59883
60039
|
return {
|
|
59884
60040
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59893,9 +60049,9 @@ Get a list of historical versions of a prompt by its ID`,
|
|
|
59893
60049
|
|
|
59894
60050
|
// src/funcs/promptsUpdate.ts
|
|
59895
60051
|
function promptsUpdate(client, request, options) {
|
|
59896
|
-
return new APIPromise($
|
|
60052
|
+
return new APIPromise($do110(client, request, options));
|
|
59897
60053
|
}
|
|
59898
|
-
async function $
|
|
60054
|
+
async function $do110(client, request, options) {
|
|
59899
60055
|
const parsed = safeParse(request, (value) => PromptUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59900
60056
|
if (!parsed.ok) {
|
|
59901
60057
|
return [parsed, { status: "invalid" }];
|
|
@@ -59966,12 +60122,12 @@ var init_promptsUpdate = __esm(() => {
|
|
|
59966
60122
|
});
|
|
59967
60123
|
|
|
59968
60124
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
59969
|
-
var
|
|
60125
|
+
var args99, tool$promptsUpdate;
|
|
59970
60126
|
var init_promptsUpdate2 = __esm(() => {
|
|
59971
60127
|
init_promptsUpdate();
|
|
59972
60128
|
init_components();
|
|
59973
60129
|
init_tools();
|
|
59974
|
-
|
|
60130
|
+
args99 = {
|
|
59975
60131
|
request: PromptUpdateRequest$inboundSchema
|
|
59976
60132
|
};
|
|
59977
60133
|
tool$promptsUpdate = {
|
|
@@ -59979,9 +60135,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
59979
60135
|
description: `Update Prompt
|
|
59980
60136
|
|
|
59981
60137
|
Update an existing prompt`,
|
|
59982
|
-
args:
|
|
59983
|
-
tool: async (client,
|
|
59984
|
-
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();
|
|
59985
60141
|
if (!result.ok) {
|
|
59986
60142
|
return {
|
|
59987
60143
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59996,9 +60152,9 @@ Update an existing prompt`,
|
|
|
59996
60152
|
|
|
59997
60153
|
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
59998
60154
|
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
59999
|
-
return new APIPromise($
|
|
60155
|
+
return new APIPromise($do111(client, options));
|
|
60000
60156
|
}
|
|
60001
|
-
async function $
|
|
60157
|
+
async function $do111(client, options) {
|
|
60002
60158
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
60003
60159
|
const headers = new Headers(compactMap({
|
|
60004
60160
|
Accept: "*/*"
|
|
@@ -60077,9 +60233,9 @@ var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
|
|
|
60077
60233
|
|
|
60078
60234
|
// src/funcs/pronunciationsPronunciationsDownloadCsv.ts
|
|
60079
60235
|
function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
60080
|
-
return new APIPromise($
|
|
60236
|
+
return new APIPromise($do112(client, options));
|
|
60081
60237
|
}
|
|
60082
|
-
async function $
|
|
60238
|
+
async function $do112(client, options) {
|
|
60083
60239
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
60084
60240
|
const headers = new Headers(compactMap({
|
|
60085
60241
|
Accept: "text/csv"
|
|
@@ -60166,9 +60322,9 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
60166
60322
|
|
|
60167
60323
|
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
60168
60324
|
function pronunciationsPronunciationsGet(client, options) {
|
|
60169
|
-
return new APIPromise($
|
|
60325
|
+
return new APIPromise($do113(client, options));
|
|
60170
60326
|
}
|
|
60171
|
-
async function $
|
|
60327
|
+
async function $do113(client, options) {
|
|
60172
60328
|
const path = pathToFunc("/api/v1/pronunciations")();
|
|
60173
60329
|
const headers = new Headers(compactMap({
|
|
60174
60330
|
Accept: "application/json"
|
|
@@ -60248,9 +60404,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
|
60248
60404
|
|
|
60249
60405
|
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
60250
60406
|
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
60251
|
-
return new APIPromise($
|
|
60407
|
+
return new APIPromise($do114(client, options));
|
|
60252
60408
|
}
|
|
60253
|
-
async function $
|
|
60409
|
+
async function $do114(client, options) {
|
|
60254
60410
|
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
60255
60411
|
const headers = new Headers(compactMap({
|
|
60256
60412
|
Accept: "application/json"
|
|
@@ -60330,9 +60486,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
|
60330
60486
|
|
|
60331
60487
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
60332
60488
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
60333
|
-
return new APIPromise($
|
|
60489
|
+
return new APIPromise($do115(client, request, options));
|
|
60334
60490
|
}
|
|
60335
|
-
async function $
|
|
60491
|
+
async function $do115(client, request, options) {
|
|
60336
60492
|
const parsed = safeParse(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
60337
60493
|
if (!parsed.ok) {
|
|
60338
60494
|
return [parsed, { status: "invalid" }];
|
|
@@ -60414,20 +60570,20 @@ var init_pronunciationsPronunciationsUploadCsv = __esm(() => {
|
|
|
60414
60570
|
});
|
|
60415
60571
|
|
|
60416
60572
|
// src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts
|
|
60417
|
-
var
|
|
60573
|
+
var args100, tool$pronunciationsPronunciationsUploadCsv;
|
|
60418
60574
|
var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
60419
60575
|
init_pronunciationsPronunciationsUploadCsv();
|
|
60420
60576
|
init_components();
|
|
60421
60577
|
init_tools();
|
|
60422
|
-
|
|
60578
|
+
args100 = {
|
|
60423
60579
|
request: BodyPronunciationsUploadCsv$inboundSchema
|
|
60424
60580
|
};
|
|
60425
60581
|
tool$pronunciationsPronunciationsUploadCsv = {
|
|
60426
60582
|
name: "pronunciations-pronunciations-upload-csv",
|
|
60427
60583
|
description: `Upload Pronunciations Csv`,
|
|
60428
|
-
args:
|
|
60429
|
-
tool: async (client,
|
|
60430
|
-
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();
|
|
60431
60587
|
if (!result.ok) {
|
|
60432
60588
|
return {
|
|
60433
60589
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60442,9 +60598,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
60442
60598
|
|
|
60443
60599
|
// src/funcs/rolesCreate.ts
|
|
60444
60600
|
function rolesCreate(client, request, options) {
|
|
60445
|
-
return new APIPromise($
|
|
60601
|
+
return new APIPromise($do116(client, request, options));
|
|
60446
60602
|
}
|
|
60447
|
-
async function $
|
|
60603
|
+
async function $do116(client, request, options) {
|
|
60448
60604
|
const parsed = safeParse(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60449
60605
|
if (!parsed.ok) {
|
|
60450
60606
|
return [parsed, { status: "invalid" }];
|
|
@@ -60515,12 +60671,12 @@ var init_rolesCreate = __esm(() => {
|
|
|
60515
60671
|
});
|
|
60516
60672
|
|
|
60517
60673
|
// src/mcp-server/tools/rolesCreate.ts
|
|
60518
|
-
var
|
|
60674
|
+
var args101, tool$rolesCreate;
|
|
60519
60675
|
var init_rolesCreate2 = __esm(() => {
|
|
60520
60676
|
init_rolesCreate();
|
|
60521
60677
|
init_components();
|
|
60522
60678
|
init_tools();
|
|
60523
|
-
|
|
60679
|
+
args101 = {
|
|
60524
60680
|
request: RoleCreateRequest$inboundSchema
|
|
60525
60681
|
};
|
|
60526
60682
|
tool$rolesCreate = {
|
|
@@ -60528,9 +60684,9 @@ var init_rolesCreate2 = __esm(() => {
|
|
|
60528
60684
|
description: `Create Role
|
|
60529
60685
|
|
|
60530
60686
|
Create a new role.`,
|
|
60531
|
-
args:
|
|
60532
|
-
tool: async (client,
|
|
60533
|
-
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();
|
|
60534
60690
|
if (!result.ok) {
|
|
60535
60691
|
return {
|
|
60536
60692
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60545,9 +60701,9 @@ Create a new role.`,
|
|
|
60545
60701
|
|
|
60546
60702
|
// src/funcs/rolesDelete.ts
|
|
60547
60703
|
function rolesDelete(client, request, options) {
|
|
60548
|
-
return new APIPromise($
|
|
60704
|
+
return new APIPromise($do117(client, request, options));
|
|
60549
60705
|
}
|
|
60550
|
-
async function $
|
|
60706
|
+
async function $do117(client, request, options) {
|
|
60551
60707
|
const parsed = safeParse(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60552
60708
|
if (!parsed.ok) {
|
|
60553
60709
|
return [parsed, { status: "invalid" }];
|
|
@@ -60629,12 +60785,12 @@ var init_rolesDelete = __esm(() => {
|
|
|
60629
60785
|
});
|
|
60630
60786
|
|
|
60631
60787
|
// src/mcp-server/tools/rolesDelete.ts
|
|
60632
|
-
var
|
|
60788
|
+
var args102, tool$rolesDelete;
|
|
60633
60789
|
var init_rolesDelete2 = __esm(() => {
|
|
60634
60790
|
init_rolesDelete();
|
|
60635
60791
|
init_operations();
|
|
60636
60792
|
init_tools();
|
|
60637
|
-
|
|
60793
|
+
args102 = {
|
|
60638
60794
|
request: RolesDeleteRequest$inboundSchema
|
|
60639
60795
|
};
|
|
60640
60796
|
tool$rolesDelete = {
|
|
@@ -60642,9 +60798,9 @@ var init_rolesDelete2 = __esm(() => {
|
|
|
60642
60798
|
description: `Delete Role
|
|
60643
60799
|
|
|
60644
60800
|
Delete a role. Optionally, reassign existing users with that role to a new role.`,
|
|
60645
|
-
args:
|
|
60646
|
-
tool: async (client,
|
|
60647
|
-
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();
|
|
60648
60804
|
if (!result.ok) {
|
|
60649
60805
|
return {
|
|
60650
60806
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60659,9 +60815,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
60659
60815
|
|
|
60660
60816
|
// src/funcs/rolesGetById.ts
|
|
60661
60817
|
function rolesGetById(client, request, options) {
|
|
60662
|
-
return new APIPromise($
|
|
60818
|
+
return new APIPromise($do118(client, request, options));
|
|
60663
60819
|
}
|
|
60664
|
-
async function $
|
|
60820
|
+
async function $do118(client, request, options) {
|
|
60665
60821
|
const parsed = safeParse(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60666
60822
|
if (!parsed.ok) {
|
|
60667
60823
|
return [parsed, { status: "invalid" }];
|
|
@@ -60738,12 +60894,12 @@ var init_rolesGetById = __esm(() => {
|
|
|
60738
60894
|
});
|
|
60739
60895
|
|
|
60740
60896
|
// src/mcp-server/tools/rolesGetById.ts
|
|
60741
|
-
var
|
|
60897
|
+
var args103, tool$rolesGetById;
|
|
60742
60898
|
var init_rolesGetById2 = __esm(() => {
|
|
60743
60899
|
init_rolesGetById();
|
|
60744
60900
|
init_operations();
|
|
60745
60901
|
init_tools();
|
|
60746
|
-
|
|
60902
|
+
args103 = {
|
|
60747
60903
|
request: RolesGetByIdRequest$inboundSchema
|
|
60748
60904
|
};
|
|
60749
60905
|
tool$rolesGetById = {
|
|
@@ -60751,9 +60907,9 @@ var init_rolesGetById2 = __esm(() => {
|
|
|
60751
60907
|
description: `Get Role
|
|
60752
60908
|
|
|
60753
60909
|
Fetch a given role.`,
|
|
60754
|
-
args:
|
|
60755
|
-
tool: async (client,
|
|
60756
|
-
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();
|
|
60757
60913
|
if (!result.ok) {
|
|
60758
60914
|
return {
|
|
60759
60915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60768,9 +60924,9 @@ Fetch a given role.`,
|
|
|
60768
60924
|
|
|
60769
60925
|
// src/funcs/rolesList.ts
|
|
60770
60926
|
function rolesList(client, request, options) {
|
|
60771
|
-
return new APIPromise($
|
|
60927
|
+
return new APIPromise($do119(client, request, options));
|
|
60772
60928
|
}
|
|
60773
|
-
async function $
|
|
60929
|
+
async function $do119(client, request, options) {
|
|
60774
60930
|
const parsed = safeParse(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60775
60931
|
if (!parsed.ok) {
|
|
60776
60932
|
return [parsed, { status: "invalid" }];
|
|
@@ -60853,12 +61009,12 @@ var init_rolesList = __esm(() => {
|
|
|
60853
61009
|
});
|
|
60854
61010
|
|
|
60855
61011
|
// src/mcp-server/tools/rolesList.ts
|
|
60856
|
-
var
|
|
61012
|
+
var args104, tool$rolesList;
|
|
60857
61013
|
var init_rolesList2 = __esm(() => {
|
|
60858
61014
|
init_rolesList();
|
|
60859
61015
|
init_operations();
|
|
60860
61016
|
init_tools();
|
|
60861
|
-
|
|
61017
|
+
args104 = {
|
|
60862
61018
|
request: RolesListRequest$inboundSchema
|
|
60863
61019
|
};
|
|
60864
61020
|
tool$rolesList = {
|
|
@@ -60866,9 +61022,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
60866
61022
|
description: `List Roles
|
|
60867
61023
|
|
|
60868
61024
|
List the existing roles.`,
|
|
60869
|
-
args:
|
|
60870
|
-
tool: async (client,
|
|
60871
|
-
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();
|
|
60872
61028
|
if (!result.ok) {
|
|
60873
61029
|
return {
|
|
60874
61030
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60883,9 +61039,9 @@ List the existing roles.`,
|
|
|
60883
61039
|
|
|
60884
61040
|
// src/funcs/rolesUpdate.ts
|
|
60885
61041
|
function rolesUpdate(client, request, options) {
|
|
60886
|
-
return new APIPromise($
|
|
61042
|
+
return new APIPromise($do120(client, request, options));
|
|
60887
61043
|
}
|
|
60888
|
-
async function $
|
|
61044
|
+
async function $do120(client, request, options) {
|
|
60889
61045
|
const parsed = safeParse(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60890
61046
|
if (!parsed.ok) {
|
|
60891
61047
|
return [parsed, { status: "invalid" }];
|
|
@@ -60956,12 +61112,12 @@ var init_rolesUpdate = __esm(() => {
|
|
|
60956
61112
|
});
|
|
60957
61113
|
|
|
60958
61114
|
// src/mcp-server/tools/rolesUpdate.ts
|
|
60959
|
-
var
|
|
61115
|
+
var args105, tool$rolesUpdate;
|
|
60960
61116
|
var init_rolesUpdate2 = __esm(() => {
|
|
60961
61117
|
init_rolesUpdate();
|
|
60962
61118
|
init_components();
|
|
60963
61119
|
init_tools();
|
|
60964
|
-
|
|
61120
|
+
args105 = {
|
|
60965
61121
|
request: RoleUpdateRequest$inboundSchema
|
|
60966
61122
|
};
|
|
60967
61123
|
tool$rolesUpdate = {
|
|
@@ -60969,9 +61125,9 @@ var init_rolesUpdate2 = __esm(() => {
|
|
|
60969
61125
|
description: `Update Role
|
|
60970
61126
|
|
|
60971
61127
|
Update an existing role.`,
|
|
60972
|
-
args:
|
|
60973
|
-
tool: async (client,
|
|
60974
|
-
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();
|
|
60975
61131
|
if (!result.ok) {
|
|
60976
61132
|
return {
|
|
60977
61133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60986,9 +61142,9 @@ Update an existing role.`,
|
|
|
60986
61142
|
|
|
60987
61143
|
// src/funcs/servicesCreate.ts
|
|
60988
61144
|
function servicesCreate(client, request, options) {
|
|
60989
|
-
return new APIPromise($
|
|
61145
|
+
return new APIPromise($do121(client, request, options));
|
|
60990
61146
|
}
|
|
60991
|
-
async function $
|
|
61147
|
+
async function $do121(client, request, options) {
|
|
60992
61148
|
const parsed = safeParse(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60993
61149
|
if (!parsed.ok) {
|
|
60994
61150
|
return [parsed, { status: "invalid" }];
|
|
@@ -61059,12 +61215,12 @@ var init_servicesCreate = __esm(() => {
|
|
|
61059
61215
|
});
|
|
61060
61216
|
|
|
61061
61217
|
// src/mcp-server/tools/servicesCreate.ts
|
|
61062
|
-
var
|
|
61218
|
+
var args106, tool$servicesCreate;
|
|
61063
61219
|
var init_servicesCreate2 = __esm(() => {
|
|
61064
61220
|
init_servicesCreate();
|
|
61065
61221
|
init_components();
|
|
61066
61222
|
init_tools();
|
|
61067
|
-
|
|
61223
|
+
args106 = {
|
|
61068
61224
|
request: ServiceCreateRequest$inboundSchema
|
|
61069
61225
|
};
|
|
61070
61226
|
tool$servicesCreate = {
|
|
@@ -61072,9 +61228,9 @@ var init_servicesCreate2 = __esm(() => {
|
|
|
61072
61228
|
description: `Create Service
|
|
61073
61229
|
|
|
61074
61230
|
Create a new service.`,
|
|
61075
|
-
args:
|
|
61076
|
-
tool: async (client,
|
|
61077
|
-
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();
|
|
61078
61234
|
if (!result.ok) {
|
|
61079
61235
|
return {
|
|
61080
61236
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61089,9 +61245,9 @@ Create a new service.`,
|
|
|
61089
61245
|
|
|
61090
61246
|
// src/funcs/servicesDelete.ts
|
|
61091
61247
|
function servicesDelete(client, request, options) {
|
|
61092
|
-
return new APIPromise($
|
|
61248
|
+
return new APIPromise($do122(client, request, options));
|
|
61093
61249
|
}
|
|
61094
|
-
async function $
|
|
61250
|
+
async function $do122(client, request, options) {
|
|
61095
61251
|
const parsed = safeParse(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61096
61252
|
if (!parsed.ok) {
|
|
61097
61253
|
return [parsed, { status: "invalid" }];
|
|
@@ -61172,12 +61328,12 @@ var init_servicesDelete = __esm(() => {
|
|
|
61172
61328
|
});
|
|
61173
61329
|
|
|
61174
61330
|
// src/mcp-server/tools/servicesDelete.ts
|
|
61175
|
-
var
|
|
61331
|
+
var args107, tool$servicesDelete;
|
|
61176
61332
|
var init_servicesDelete2 = __esm(() => {
|
|
61177
61333
|
init_servicesDelete();
|
|
61178
61334
|
init_operations();
|
|
61179
61335
|
init_tools();
|
|
61180
|
-
|
|
61336
|
+
args107 = {
|
|
61181
61337
|
request: ServiceDeleteRequest$inboundSchema
|
|
61182
61338
|
};
|
|
61183
61339
|
tool$servicesDelete = {
|
|
@@ -61185,9 +61341,9 @@ var init_servicesDelete2 = __esm(() => {
|
|
|
61185
61341
|
description: `Delete Service
|
|
61186
61342
|
|
|
61187
61343
|
Delete a service. A service with linked tools cannot be deleted.`,
|
|
61188
|
-
args:
|
|
61189
|
-
tool: async (client,
|
|
61190
|
-
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();
|
|
61191
61347
|
if (!result.ok) {
|
|
61192
61348
|
return {
|
|
61193
61349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61202,9 +61358,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
61202
61358
|
|
|
61203
61359
|
// src/funcs/servicesGetById.ts
|
|
61204
61360
|
function servicesGetById(client, request, options) {
|
|
61205
|
-
return new APIPromise($
|
|
61361
|
+
return new APIPromise($do123(client, request, options));
|
|
61206
61362
|
}
|
|
61207
|
-
async function $
|
|
61363
|
+
async function $do123(client, request, options) {
|
|
61208
61364
|
const parsed = safeParse(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61209
61365
|
if (!parsed.ok) {
|
|
61210
61366
|
return [parsed, { status: "invalid" }];
|
|
@@ -61281,12 +61437,12 @@ var init_servicesGetById = __esm(() => {
|
|
|
61281
61437
|
});
|
|
61282
61438
|
|
|
61283
61439
|
// src/mcp-server/tools/servicesGetById.ts
|
|
61284
|
-
var
|
|
61440
|
+
var args108, tool$servicesGetById;
|
|
61285
61441
|
var init_servicesGetById2 = __esm(() => {
|
|
61286
61442
|
init_servicesGetById();
|
|
61287
61443
|
init_operations();
|
|
61288
61444
|
init_tools();
|
|
61289
|
-
|
|
61445
|
+
args108 = {
|
|
61290
61446
|
request: ServicesGetByIdRequest$inboundSchema
|
|
61291
61447
|
};
|
|
61292
61448
|
tool$servicesGetById = {
|
|
@@ -61294,9 +61450,9 @@ var init_servicesGetById2 = __esm(() => {
|
|
|
61294
61450
|
description: `Get Service By Id
|
|
61295
61451
|
|
|
61296
61452
|
Get a service by its ID`,
|
|
61297
|
-
args:
|
|
61298
|
-
tool: async (client,
|
|
61299
|
-
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();
|
|
61300
61456
|
if (!result.ok) {
|
|
61301
61457
|
return {
|
|
61302
61458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61311,9 +61467,9 @@ Get a service by its ID`,
|
|
|
61311
61467
|
|
|
61312
61468
|
// src/funcs/servicesList.ts
|
|
61313
61469
|
function servicesList(client, request, options) {
|
|
61314
|
-
return new APIPromise($
|
|
61470
|
+
return new APIPromise($do124(client, request, options));
|
|
61315
61471
|
}
|
|
61316
|
-
async function $
|
|
61472
|
+
async function $do124(client, request, options) {
|
|
61317
61473
|
const parsed = safeParse(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61318
61474
|
if (!parsed.ok) {
|
|
61319
61475
|
return [parsed, { status: "invalid" }];
|
|
@@ -61396,12 +61552,12 @@ var init_servicesList = __esm(() => {
|
|
|
61396
61552
|
});
|
|
61397
61553
|
|
|
61398
61554
|
// src/mcp-server/tools/servicesList.ts
|
|
61399
|
-
var
|
|
61555
|
+
var args109, tool$servicesList;
|
|
61400
61556
|
var init_servicesList2 = __esm(() => {
|
|
61401
61557
|
init_servicesList();
|
|
61402
61558
|
init_operations();
|
|
61403
61559
|
init_tools();
|
|
61404
|
-
|
|
61560
|
+
args109 = {
|
|
61405
61561
|
request: ServiceListRequest$inboundSchema
|
|
61406
61562
|
};
|
|
61407
61563
|
tool$servicesList = {
|
|
@@ -61409,9 +61565,9 @@ var init_servicesList2 = __esm(() => {
|
|
|
61409
61565
|
description: `Service List
|
|
61410
61566
|
|
|
61411
61567
|
List the existing services`,
|
|
61412
|
-
args:
|
|
61413
|
-
tool: async (client,
|
|
61414
|
-
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();
|
|
61415
61571
|
if (!result.ok) {
|
|
61416
61572
|
return {
|
|
61417
61573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61426,9 +61582,9 @@ List the existing services`,
|
|
|
61426
61582
|
|
|
61427
61583
|
// src/funcs/servicesUpdate.ts
|
|
61428
61584
|
function servicesUpdate(client, request, options) {
|
|
61429
|
-
return new APIPromise($
|
|
61585
|
+
return new APIPromise($do125(client, request, options));
|
|
61430
61586
|
}
|
|
61431
|
-
async function $
|
|
61587
|
+
async function $do125(client, request, options) {
|
|
61432
61588
|
const parsed = safeParse(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61433
61589
|
if (!parsed.ok) {
|
|
61434
61590
|
return [parsed, { status: "invalid" }];
|
|
@@ -61499,12 +61655,12 @@ var init_servicesUpdate = __esm(() => {
|
|
|
61499
61655
|
});
|
|
61500
61656
|
|
|
61501
61657
|
// src/mcp-server/tools/servicesUpdate.ts
|
|
61502
|
-
var
|
|
61658
|
+
var args110, tool$servicesUpdate;
|
|
61503
61659
|
var init_servicesUpdate2 = __esm(() => {
|
|
61504
61660
|
init_servicesUpdate();
|
|
61505
61661
|
init_components();
|
|
61506
61662
|
init_tools();
|
|
61507
|
-
|
|
61663
|
+
args110 = {
|
|
61508
61664
|
request: ServiceUpdateRequest$inboundSchema
|
|
61509
61665
|
};
|
|
61510
61666
|
tool$servicesUpdate = {
|
|
@@ -61512,9 +61668,9 @@ var init_servicesUpdate2 = __esm(() => {
|
|
|
61512
61668
|
description: `Update Service
|
|
61513
61669
|
|
|
61514
61670
|
Update an existing service.`,
|
|
61515
|
-
args:
|
|
61516
|
-
tool: async (client,
|
|
61517
|
-
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();
|
|
61518
61674
|
if (!result.ok) {
|
|
61519
61675
|
return {
|
|
61520
61676
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61529,9 +61685,9 @@ Update an existing service.`,
|
|
|
61529
61685
|
|
|
61530
61686
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
61531
61687
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
61532
|
-
return new APIPromise($
|
|
61688
|
+
return new APIPromise($do126(client, request, options));
|
|
61533
61689
|
}
|
|
61534
|
-
async function $
|
|
61690
|
+
async function $do126(client, request, options) {
|
|
61535
61691
|
const parsed = safeParse(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61536
61692
|
if (!parsed.ok) {
|
|
61537
61693
|
return [parsed, { status: "invalid" }];
|
|
@@ -61608,20 +61764,20 @@ var init_sessionDebugGetSessionDataBySessionId = __esm(() => {
|
|
|
61608
61764
|
});
|
|
61609
61765
|
|
|
61610
61766
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySessionId.ts
|
|
61611
|
-
var
|
|
61767
|
+
var args111, tool$sessionDebugGetSessionDataBySessionId;
|
|
61612
61768
|
var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
61613
61769
|
init_sessionDebugGetSessionDataBySessionId();
|
|
61614
61770
|
init_operations();
|
|
61615
61771
|
init_tools();
|
|
61616
|
-
|
|
61772
|
+
args111 = {
|
|
61617
61773
|
request: GetSessionDataBySessionIdRequest$inboundSchema
|
|
61618
61774
|
};
|
|
61619
61775
|
tool$sessionDebugGetSessionDataBySessionId = {
|
|
61620
61776
|
name: "session-debug-get-session-data-by-session-id",
|
|
61621
61777
|
description: `Get Session Data By Session Id`,
|
|
61622
|
-
args:
|
|
61623
|
-
tool: async (client,
|
|
61624
|
-
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();
|
|
61625
61781
|
if (!result.ok) {
|
|
61626
61782
|
return {
|
|
61627
61783
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61636,9 +61792,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
61636
61792
|
|
|
61637
61793
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
61638
61794
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
61639
|
-
return new APIPromise($
|
|
61795
|
+
return new APIPromise($do127(client, request, options));
|
|
61640
61796
|
}
|
|
61641
|
-
async function $
|
|
61797
|
+
async function $do127(client, request, options) {
|
|
61642
61798
|
const parsed = safeParse(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61643
61799
|
if (!parsed.ok) {
|
|
61644
61800
|
return [parsed, { status: "invalid" }];
|
|
@@ -61713,20 +61869,20 @@ var init_sessionDebugGetSessionDataBySid = __esm(() => {
|
|
|
61713
61869
|
});
|
|
61714
61870
|
|
|
61715
61871
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySid.ts
|
|
61716
|
-
var
|
|
61872
|
+
var args112, tool$sessionDebugGetSessionDataBySid;
|
|
61717
61873
|
var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
61718
61874
|
init_sessionDebugGetSessionDataBySid();
|
|
61719
61875
|
init_operations();
|
|
61720
61876
|
init_tools();
|
|
61721
|
-
|
|
61877
|
+
args112 = {
|
|
61722
61878
|
request: GetSessionDataBySidRequest$inboundSchema
|
|
61723
61879
|
};
|
|
61724
61880
|
tool$sessionDebugGetSessionDataBySid = {
|
|
61725
61881
|
name: "session-debug-get-session-data-by-sid",
|
|
61726
61882
|
description: `Get Session Data By Sid`,
|
|
61727
|
-
args:
|
|
61728
|
-
tool: async (client,
|
|
61729
|
-
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();
|
|
61730
61886
|
if (!result.ok) {
|
|
61731
61887
|
return {
|
|
61732
61888
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61741,9 +61897,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
61741
61897
|
|
|
61742
61898
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
61743
61899
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
61744
|
-
return new APIPromise($
|
|
61900
|
+
return new APIPromise($do128(client, request, options));
|
|
61745
61901
|
}
|
|
61746
|
-
async function $
|
|
61902
|
+
async function $do128(client, request, options) {
|
|
61747
61903
|
const parsed = safeParse(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61748
61904
|
if (!parsed.ok) {
|
|
61749
61905
|
return [parsed, { status: "invalid" }];
|
|
@@ -61824,20 +61980,20 @@ var init_sessionDebugGetSessionToolCallResultById = __esm(() => {
|
|
|
61824
61980
|
});
|
|
61825
61981
|
|
|
61826
61982
|
// src/mcp-server/tools/sessionDebugGetSessionToolCallResultById.ts
|
|
61827
|
-
var
|
|
61983
|
+
var args113, tool$sessionDebugGetSessionToolCallResultById;
|
|
61828
61984
|
var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
61829
61985
|
init_sessionDebugGetSessionToolCallResultById();
|
|
61830
61986
|
init_operations();
|
|
61831
61987
|
init_tools();
|
|
61832
|
-
|
|
61988
|
+
args113 = {
|
|
61833
61989
|
request: GetSessionToolCallResultByIdRequest$inboundSchema
|
|
61834
61990
|
};
|
|
61835
61991
|
tool$sessionDebugGetSessionToolCallResultById = {
|
|
61836
61992
|
name: "session-debug-get-session-tool-call-result-by-id",
|
|
61837
61993
|
description: `Get Session Tool Call Result By Id`,
|
|
61838
|
-
args:
|
|
61839
|
-
tool: async (client,
|
|
61840
|
-
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();
|
|
61841
61997
|
if (!result.ok) {
|
|
61842
61998
|
return {
|
|
61843
61999
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61852,9 +62008,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
61852
62008
|
|
|
61853
62009
|
// src/funcs/sessionLabelsCreate.ts
|
|
61854
62010
|
function sessionLabelsCreate(client, request, options) {
|
|
61855
|
-
return new APIPromise($
|
|
62011
|
+
return new APIPromise($do129(client, request, options));
|
|
61856
62012
|
}
|
|
61857
|
-
async function $
|
|
62013
|
+
async function $do129(client, request, options) {
|
|
61858
62014
|
const parsed = safeParse(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
61859
62015
|
if (!parsed.ok) {
|
|
61860
62016
|
return [parsed, { status: "invalid" }];
|
|
@@ -61925,12 +62081,12 @@ var init_sessionLabelsCreate = __esm(() => {
|
|
|
61925
62081
|
});
|
|
61926
62082
|
|
|
61927
62083
|
// src/mcp-server/tools/sessionLabelsCreate.ts
|
|
61928
|
-
var
|
|
62084
|
+
var args114, tool$sessionLabelsCreate;
|
|
61929
62085
|
var init_sessionLabelsCreate2 = __esm(() => {
|
|
61930
62086
|
init_sessionLabelsCreate();
|
|
61931
62087
|
init_components();
|
|
61932
62088
|
init_tools();
|
|
61933
|
-
|
|
62089
|
+
args114 = {
|
|
61934
62090
|
request: SessionLabelCreate$inboundSchema
|
|
61935
62091
|
};
|
|
61936
62092
|
tool$sessionLabelsCreate = {
|
|
@@ -61938,9 +62094,9 @@ var init_sessionLabelsCreate2 = __esm(() => {
|
|
|
61938
62094
|
description: `Create Label
|
|
61939
62095
|
|
|
61940
62096
|
Create a new label`,
|
|
61941
|
-
args:
|
|
61942
|
-
tool: async (client,
|
|
61943
|
-
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();
|
|
61944
62100
|
if (!result.ok) {
|
|
61945
62101
|
return {
|
|
61946
62102
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61955,9 +62111,9 @@ Create a new label`,
|
|
|
61955
62111
|
|
|
61956
62112
|
// src/funcs/sessionLabelsGetById.ts
|
|
61957
62113
|
function sessionLabelsGetById(client, request, options) {
|
|
61958
|
-
return new APIPromise($
|
|
62114
|
+
return new APIPromise($do130(client, request, options));
|
|
61959
62115
|
}
|
|
61960
|
-
async function $
|
|
62116
|
+
async function $do130(client, request, options) {
|
|
61961
62117
|
const parsed = safeParse(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61962
62118
|
if (!parsed.ok) {
|
|
61963
62119
|
return [parsed, { status: "invalid" }];
|
|
@@ -62031,20 +62187,20 @@ var init_sessionLabelsGetById = __esm(() => {
|
|
|
62031
62187
|
});
|
|
62032
62188
|
|
|
62033
62189
|
// src/mcp-server/tools/sessionLabelsGetById.ts
|
|
62034
|
-
var
|
|
62190
|
+
var args115, tool$sessionLabelsGetById;
|
|
62035
62191
|
var init_sessionLabelsGetById2 = __esm(() => {
|
|
62036
62192
|
init_sessionLabelsGetById();
|
|
62037
62193
|
init_operations();
|
|
62038
62194
|
init_tools();
|
|
62039
|
-
|
|
62195
|
+
args115 = {
|
|
62040
62196
|
request: SessionLabelGetByIdRequest$inboundSchema
|
|
62041
62197
|
};
|
|
62042
62198
|
tool$sessionLabelsGetById = {
|
|
62043
62199
|
name: "session-labels-get-by-id",
|
|
62044
62200
|
description: `Get Label By Id`,
|
|
62045
|
-
args:
|
|
62046
|
-
tool: async (client,
|
|
62047
|
-
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();
|
|
62048
62204
|
if (!result.ok) {
|
|
62049
62205
|
return {
|
|
62050
62206
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62059,9 +62215,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
62059
62215
|
|
|
62060
62216
|
// src/funcs/sessionLabelsList.ts
|
|
62061
62217
|
function sessionLabelsList(client, request, options) {
|
|
62062
|
-
return new APIPromise($
|
|
62218
|
+
return new APIPromise($do131(client, request, options));
|
|
62063
62219
|
}
|
|
62064
|
-
async function $
|
|
62220
|
+
async function $do131(client, request, options) {
|
|
62065
62221
|
const parsed = safeParse(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62066
62222
|
if (!parsed.ok) {
|
|
62067
62223
|
return [parsed, { status: "invalid" }];
|
|
@@ -62144,20 +62300,20 @@ var init_sessionLabelsList = __esm(() => {
|
|
|
62144
62300
|
});
|
|
62145
62301
|
|
|
62146
62302
|
// src/mcp-server/tools/sessionLabelsList.ts
|
|
62147
|
-
var
|
|
62303
|
+
var args116, tool$sessionLabelsList;
|
|
62148
62304
|
var init_sessionLabelsList2 = __esm(() => {
|
|
62149
62305
|
init_sessionLabelsList();
|
|
62150
62306
|
init_operations();
|
|
62151
62307
|
init_tools();
|
|
62152
|
-
|
|
62308
|
+
args116 = {
|
|
62153
62309
|
request: SessionLabelsListRequest$inboundSchema
|
|
62154
62310
|
};
|
|
62155
62311
|
tool$sessionLabelsList = {
|
|
62156
62312
|
name: "session-labels-list",
|
|
62157
62313
|
description: `Session Labels List`,
|
|
62158
|
-
args:
|
|
62159
|
-
tool: async (client,
|
|
62160
|
-
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();
|
|
62161
62317
|
if (!result.ok) {
|
|
62162
62318
|
return {
|
|
62163
62319
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62172,9 +62328,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
62172
62328
|
|
|
62173
62329
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
62174
62330
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
62175
|
-
return new APIPromise($
|
|
62331
|
+
return new APIPromise($do132(client, request, options));
|
|
62176
62332
|
}
|
|
62177
|
-
async function $
|
|
62333
|
+
async function $do132(client, request, options) {
|
|
62178
62334
|
const parsed = safeParse(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62179
62335
|
if (!parsed.ok) {
|
|
62180
62336
|
return [parsed, { status: "invalid" }];
|
|
@@ -62251,20 +62407,20 @@ var init_sessionsFullSummaryGetById = __esm(() => {
|
|
|
62251
62407
|
});
|
|
62252
62408
|
|
|
62253
62409
|
// src/mcp-server/tools/sessionsFullSummaryGetById.ts
|
|
62254
|
-
var
|
|
62410
|
+
var args117, tool$sessionsFullSummaryGetById;
|
|
62255
62411
|
var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
62256
62412
|
init_sessionsFullSummaryGetById();
|
|
62257
62413
|
init_operations();
|
|
62258
62414
|
init_tools();
|
|
62259
|
-
|
|
62415
|
+
args117 = {
|
|
62260
62416
|
request: SessionFullSummaryGetByIdRequest$inboundSchema
|
|
62261
62417
|
};
|
|
62262
62418
|
tool$sessionsFullSummaryGetById = {
|
|
62263
62419
|
name: "sessions-full-summary-get-by-id",
|
|
62264
62420
|
description: `Get Full Session Summary By Id`,
|
|
62265
|
-
args:
|
|
62266
|
-
tool: async (client,
|
|
62267
|
-
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();
|
|
62268
62424
|
if (!result.ok) {
|
|
62269
62425
|
return {
|
|
62270
62426
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62279,9 +62435,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
62279
62435
|
|
|
62280
62436
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
62281
62437
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
62282
|
-
return new APIPromise($
|
|
62438
|
+
return new APIPromise($do133(client, request, options));
|
|
62283
62439
|
}
|
|
62284
|
-
async function $
|
|
62440
|
+
async function $do133(client, request, options) {
|
|
62285
62441
|
const parsed = safeParse(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62286
62442
|
if (!parsed.ok) {
|
|
62287
62443
|
return [parsed, { status: "invalid" }];
|
|
@@ -62358,20 +62514,20 @@ var init_sessionsGenerateSessionRecordingUrls = __esm(() => {
|
|
|
62358
62514
|
});
|
|
62359
62515
|
|
|
62360
62516
|
// src/mcp-server/tools/sessionsGenerateSessionRecordingUrls.ts
|
|
62361
|
-
var
|
|
62517
|
+
var args118, tool$sessionsGenerateSessionRecordingUrls;
|
|
62362
62518
|
var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
62363
62519
|
init_sessionsGenerateSessionRecordingUrls();
|
|
62364
62520
|
init_operations();
|
|
62365
62521
|
init_tools();
|
|
62366
|
-
|
|
62522
|
+
args118 = {
|
|
62367
62523
|
request: GenerateSessionRecordingUrlsRequest$inboundSchema
|
|
62368
62524
|
};
|
|
62369
62525
|
tool$sessionsGenerateSessionRecordingUrls = {
|
|
62370
62526
|
name: "sessions-generate-session-recording-urls",
|
|
62371
62527
|
description: `Generate Recording Urls`,
|
|
62372
|
-
args:
|
|
62373
|
-
tool: async (client,
|
|
62374
|
-
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();
|
|
62375
62531
|
if (!result.ok) {
|
|
62376
62532
|
return {
|
|
62377
62533
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62386,9 +62542,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
62386
62542
|
|
|
62387
62543
|
// src/funcs/sessionsGetById.ts
|
|
62388
62544
|
function sessionsGetById(client, request, options) {
|
|
62389
|
-
return new APIPromise($
|
|
62545
|
+
return new APIPromise($do134(client, request, options));
|
|
62390
62546
|
}
|
|
62391
|
-
async function $
|
|
62547
|
+
async function $do134(client, request, options) {
|
|
62392
62548
|
const parsed = safeParse(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62393
62549
|
if (!parsed.ok) {
|
|
62394
62550
|
return [parsed, { status: "invalid" }];
|
|
@@ -62465,20 +62621,20 @@ var init_sessionsGetById = __esm(() => {
|
|
|
62465
62621
|
});
|
|
62466
62622
|
|
|
62467
62623
|
// src/mcp-server/tools/sessionsGetById.ts
|
|
62468
|
-
var
|
|
62624
|
+
var args119, tool$sessionsGetById;
|
|
62469
62625
|
var init_sessionsGetById2 = __esm(() => {
|
|
62470
62626
|
init_sessionsGetById();
|
|
62471
62627
|
init_operations();
|
|
62472
62628
|
init_tools();
|
|
62473
|
-
|
|
62629
|
+
args119 = {
|
|
62474
62630
|
request: SessionGetByIdRequest$inboundSchema
|
|
62475
62631
|
};
|
|
62476
62632
|
tool$sessionsGetById = {
|
|
62477
62633
|
name: "sessions-get-by-id",
|
|
62478
62634
|
description: `Get A Single Session By Id`,
|
|
62479
|
-
args:
|
|
62480
|
-
tool: async (client,
|
|
62481
|
-
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();
|
|
62482
62638
|
if (!result.ok) {
|
|
62483
62639
|
return {
|
|
62484
62640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62493,9 +62649,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
62493
62649
|
|
|
62494
62650
|
// src/funcs/sessionsLatencyGetById.ts
|
|
62495
62651
|
function sessionsLatencyGetById(client, request, options) {
|
|
62496
|
-
return new APIPromise($
|
|
62652
|
+
return new APIPromise($do135(client, request, options));
|
|
62497
62653
|
}
|
|
62498
|
-
async function $
|
|
62654
|
+
async function $do135(client, request, options) {
|
|
62499
62655
|
const parsed = safeParse(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62500
62656
|
if (!parsed.ok) {
|
|
62501
62657
|
return [parsed, { status: "invalid" }];
|
|
@@ -62572,20 +62728,20 @@ var init_sessionsLatencyGetById = __esm(() => {
|
|
|
62572
62728
|
});
|
|
62573
62729
|
|
|
62574
62730
|
// src/mcp-server/tools/sessionsLatencyGetById.ts
|
|
62575
|
-
var
|
|
62731
|
+
var args120, tool$sessionsLatencyGetById;
|
|
62576
62732
|
var init_sessionsLatencyGetById2 = __esm(() => {
|
|
62577
62733
|
init_sessionsLatencyGetById();
|
|
62578
62734
|
init_operations();
|
|
62579
62735
|
init_tools();
|
|
62580
|
-
|
|
62736
|
+
args120 = {
|
|
62581
62737
|
request: SessionLatencyGetByIdRequest$inboundSchema
|
|
62582
62738
|
};
|
|
62583
62739
|
tool$sessionsLatencyGetById = {
|
|
62584
62740
|
name: "sessions-latency-get-by-id",
|
|
62585
62741
|
description: `Inspect Latency For Session`,
|
|
62586
|
-
args:
|
|
62587
|
-
tool: async (client,
|
|
62588
|
-
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();
|
|
62589
62745
|
if (!result.ok) {
|
|
62590
62746
|
return {
|
|
62591
62747
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62600,9 +62756,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
62600
62756
|
|
|
62601
62757
|
// src/funcs/sessionsList.ts
|
|
62602
62758
|
function sessionsList(client, request, options) {
|
|
62603
|
-
return new APIPromise($
|
|
62759
|
+
return new APIPromise($do136(client, request, options));
|
|
62604
62760
|
}
|
|
62605
|
-
async function $
|
|
62761
|
+
async function $do136(client, request, options) {
|
|
62606
62762
|
const parsed = safeParse(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62607
62763
|
if (!parsed.ok) {
|
|
62608
62764
|
return [parsed, { status: "invalid" }];
|
|
@@ -62685,20 +62841,20 @@ var init_sessionsList = __esm(() => {
|
|
|
62685
62841
|
});
|
|
62686
62842
|
|
|
62687
62843
|
// src/mcp-server/tools/sessionsList.ts
|
|
62688
|
-
var
|
|
62844
|
+
var args121, tool$sessionsList;
|
|
62689
62845
|
var init_sessionsList2 = __esm(() => {
|
|
62690
62846
|
init_sessionsList();
|
|
62691
62847
|
init_operations();
|
|
62692
62848
|
init_tools();
|
|
62693
|
-
|
|
62849
|
+
args121 = {
|
|
62694
62850
|
request: SessionsListRequest$inboundSchema
|
|
62695
62851
|
};
|
|
62696
62852
|
tool$sessionsList = {
|
|
62697
62853
|
name: "sessions-list",
|
|
62698
62854
|
description: `Sessions List`,
|
|
62699
|
-
args:
|
|
62700
|
-
tool: async (client,
|
|
62701
|
-
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();
|
|
62702
62858
|
if (!result.ok) {
|
|
62703
62859
|
return {
|
|
62704
62860
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62713,9 +62869,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
62713
62869
|
|
|
62714
62870
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
62715
62871
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
62716
|
-
return new APIPromise($
|
|
62872
|
+
return new APIPromise($do137(client, request, options));
|
|
62717
62873
|
}
|
|
62718
|
-
async function $
|
|
62874
|
+
async function $do137(client, request, options) {
|
|
62719
62875
|
const parsed = safeParse(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62720
62876
|
if (!parsed.ok) {
|
|
62721
62877
|
return [parsed, { status: "invalid" }];
|
|
@@ -62790,20 +62946,20 @@ var init_sessionsSessionRecordingStream = __esm(() => {
|
|
|
62790
62946
|
});
|
|
62791
62947
|
|
|
62792
62948
|
// src/mcp-server/tools/sessionsSessionRecordingStream.ts
|
|
62793
|
-
var
|
|
62949
|
+
var args122, tool$sessionsSessionRecordingStream;
|
|
62794
62950
|
var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
62795
62951
|
init_sessionsSessionRecordingStream();
|
|
62796
62952
|
init_operations();
|
|
62797
62953
|
init_tools();
|
|
62798
|
-
|
|
62954
|
+
args122 = {
|
|
62799
62955
|
request: SessionRecordingStreamRequest$inboundSchema
|
|
62800
62956
|
};
|
|
62801
62957
|
tool$sessionsSessionRecordingStream = {
|
|
62802
62958
|
name: "sessions-session-recording-stream",
|
|
62803
62959
|
description: `Stream Recording`,
|
|
62804
|
-
args:
|
|
62805
|
-
tool: async (client,
|
|
62806
|
-
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();
|
|
62807
62963
|
if (!result.ok) {
|
|
62808
62964
|
return {
|
|
62809
62965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62818,9 +62974,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
62818
62974
|
|
|
62819
62975
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
62820
62976
|
function sessionsTranscriptGetById(client, request, options) {
|
|
62821
|
-
return new APIPromise($
|
|
62977
|
+
return new APIPromise($do138(client, request, options));
|
|
62822
62978
|
}
|
|
62823
|
-
async function $
|
|
62979
|
+
async function $do138(client, request, options) {
|
|
62824
62980
|
const parsed = safeParse(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62825
62981
|
if (!parsed.ok) {
|
|
62826
62982
|
return [parsed, { status: "invalid" }];
|
|
@@ -62897,20 +63053,20 @@ var init_sessionsTranscriptGetById = __esm(() => {
|
|
|
62897
63053
|
});
|
|
62898
63054
|
|
|
62899
63055
|
// src/mcp-server/tools/sessionsTranscriptGetById.ts
|
|
62900
|
-
var
|
|
63056
|
+
var args123, tool$sessionsTranscriptGetById;
|
|
62901
63057
|
var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
62902
63058
|
init_sessionsTranscriptGetById();
|
|
62903
63059
|
init_operations();
|
|
62904
63060
|
init_tools();
|
|
62905
|
-
|
|
63061
|
+
args123 = {
|
|
62906
63062
|
request: SessionTranscriptGetByIdRequest$inboundSchema
|
|
62907
63063
|
};
|
|
62908
63064
|
tool$sessionsTranscriptGetById = {
|
|
62909
63065
|
name: "sessions-transcript-get-by-id",
|
|
62910
63066
|
description: `Get Session Transcript By Id`,
|
|
62911
|
-
args:
|
|
62912
|
-
tool: async (client,
|
|
62913
|
-
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();
|
|
62914
63070
|
if (!result.ok) {
|
|
62915
63071
|
return {
|
|
62916
63072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62925,9 +63081,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
62925
63081
|
|
|
62926
63082
|
// src/funcs/takeoutsCreate.ts
|
|
62927
63083
|
function takeoutsCreate(client, options) {
|
|
62928
|
-
return new APIPromise($
|
|
63084
|
+
return new APIPromise($do139(client, options));
|
|
62929
63085
|
}
|
|
62930
|
-
async function $
|
|
63086
|
+
async function $do139(client, options) {
|
|
62931
63087
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
62932
63088
|
const headers = new Headers(compactMap({
|
|
62933
63089
|
Accept: "application/json"
|
|
@@ -63007,9 +63163,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
63007
63163
|
|
|
63008
63164
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
63009
63165
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
63010
|
-
return new APIPromise($
|
|
63166
|
+
return new APIPromise($do140(client, request, options));
|
|
63011
63167
|
}
|
|
63012
|
-
async function $
|
|
63168
|
+
async function $do140(client, request, options) {
|
|
63013
63169
|
const parsed = safeParse(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63014
63170
|
if (!parsed.ok) {
|
|
63015
63171
|
return [parsed, { status: "invalid" }];
|
|
@@ -63086,20 +63242,20 @@ var init_takeoutsTakeoutsGetByJobId = __esm(() => {
|
|
|
63086
63242
|
});
|
|
63087
63243
|
|
|
63088
63244
|
// src/mcp-server/tools/takeoutsTakeoutsGetByJobId.ts
|
|
63089
|
-
var
|
|
63245
|
+
var args124, tool$takeoutsTakeoutsGetByJobId;
|
|
63090
63246
|
var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
63091
63247
|
init_takeoutsTakeoutsGetByJobId();
|
|
63092
63248
|
init_operations();
|
|
63093
63249
|
init_tools();
|
|
63094
|
-
|
|
63250
|
+
args124 = {
|
|
63095
63251
|
request: TakeoutsGetByJobIdRequest$inboundSchema
|
|
63096
63252
|
};
|
|
63097
63253
|
tool$takeoutsTakeoutsGetByJobId = {
|
|
63098
63254
|
name: "takeouts-takeouts-get-by-job-id",
|
|
63099
63255
|
description: `Get Takeout`,
|
|
63100
|
-
args:
|
|
63101
|
-
tool: async (client,
|
|
63102
|
-
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();
|
|
63103
63259
|
if (!result.ok) {
|
|
63104
63260
|
return {
|
|
63105
63261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63114,9 +63270,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
63114
63270
|
|
|
63115
63271
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
63116
63272
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
63117
|
-
return new APIPromise($
|
|
63273
|
+
return new APIPromise($do141(client, request, options));
|
|
63118
63274
|
}
|
|
63119
|
-
async function $
|
|
63275
|
+
async function $do141(client, request, options) {
|
|
63120
63276
|
const parsed = safeParse(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63121
63277
|
if (!parsed.ok) {
|
|
63122
63278
|
return [parsed, { status: "invalid" }];
|
|
@@ -63199,20 +63355,20 @@ var init_takeoutsTakeoutsGetFile = __esm(() => {
|
|
|
63199
63355
|
});
|
|
63200
63356
|
|
|
63201
63357
|
// src/mcp-server/tools/takeoutsTakeoutsGetFile.ts
|
|
63202
|
-
var
|
|
63358
|
+
var args125, tool$takeoutsTakeoutsGetFile;
|
|
63203
63359
|
var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
63204
63360
|
init_takeoutsTakeoutsGetFile();
|
|
63205
63361
|
init_operations();
|
|
63206
63362
|
init_tools();
|
|
63207
|
-
|
|
63363
|
+
args125 = {
|
|
63208
63364
|
request: TakeoutsGetFileRequest$inboundSchema
|
|
63209
63365
|
};
|
|
63210
63366
|
tool$takeoutsTakeoutsGetFile = {
|
|
63211
63367
|
name: "takeouts-takeouts-get-file",
|
|
63212
63368
|
description: `Get File`,
|
|
63213
|
-
args:
|
|
63214
|
-
tool: async (client,
|
|
63215
|
-
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();
|
|
63216
63372
|
if (!result.ok) {
|
|
63217
63373
|
return {
|
|
63218
63374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63227,9 +63383,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
63227
63383
|
|
|
63228
63384
|
// src/funcs/toolsCreate.ts
|
|
63229
63385
|
function toolsCreate(client, request, options) {
|
|
63230
|
-
return new APIPromise($
|
|
63386
|
+
return new APIPromise($do142(client, request, options));
|
|
63231
63387
|
}
|
|
63232
|
-
async function $
|
|
63388
|
+
async function $do142(client, request, options) {
|
|
63233
63389
|
const parsed = safeParse(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63234
63390
|
if (!parsed.ok) {
|
|
63235
63391
|
return [parsed, { status: "invalid" }];
|
|
@@ -63300,12 +63456,12 @@ var init_toolsCreate = __esm(() => {
|
|
|
63300
63456
|
});
|
|
63301
63457
|
|
|
63302
63458
|
// src/mcp-server/tools/toolsCreate.ts
|
|
63303
|
-
var
|
|
63459
|
+
var args126, tool$toolsCreate;
|
|
63304
63460
|
var init_toolsCreate2 = __esm(() => {
|
|
63305
63461
|
init_toolsCreate();
|
|
63306
63462
|
init_components();
|
|
63307
63463
|
init_tools();
|
|
63308
|
-
|
|
63464
|
+
args126 = {
|
|
63309
63465
|
request: ToolCreateRequest$inboundSchema
|
|
63310
63466
|
};
|
|
63311
63467
|
tool$toolsCreate = {
|
|
@@ -63313,9 +63469,9 @@ var init_toolsCreate2 = __esm(() => {
|
|
|
63313
63469
|
description: `Create Tool
|
|
63314
63470
|
|
|
63315
63471
|
Create a new tool`,
|
|
63316
|
-
args:
|
|
63317
|
-
tool: async (client,
|
|
63318
|
-
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();
|
|
63319
63475
|
if (!result.ok) {
|
|
63320
63476
|
return {
|
|
63321
63477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63330,9 +63486,9 @@ Create a new tool`,
|
|
|
63330
63486
|
|
|
63331
63487
|
// src/funcs/toolsDelete.ts
|
|
63332
63488
|
function toolsDelete(client, request, options) {
|
|
63333
|
-
return new APIPromise($
|
|
63489
|
+
return new APIPromise($do143(client, request, options));
|
|
63334
63490
|
}
|
|
63335
|
-
async function $
|
|
63491
|
+
async function $do143(client, request, options) {
|
|
63336
63492
|
const parsed = safeParse(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63337
63493
|
if (!parsed.ok) {
|
|
63338
63494
|
return [parsed, { status: "invalid" }];
|
|
@@ -63413,12 +63569,12 @@ var init_toolsDelete = __esm(() => {
|
|
|
63413
63569
|
});
|
|
63414
63570
|
|
|
63415
63571
|
// src/mcp-server/tools/toolsDelete.ts
|
|
63416
|
-
var
|
|
63572
|
+
var args127, tool$toolsDelete;
|
|
63417
63573
|
var init_toolsDelete2 = __esm(() => {
|
|
63418
63574
|
init_toolsDelete();
|
|
63419
63575
|
init_operations();
|
|
63420
63576
|
init_tools();
|
|
63421
|
-
|
|
63577
|
+
args127 = {
|
|
63422
63578
|
request: ToolDeleteRequest$inboundSchema
|
|
63423
63579
|
};
|
|
63424
63580
|
tool$toolsDelete = {
|
|
@@ -63426,9 +63582,9 @@ var init_toolsDelete2 = __esm(() => {
|
|
|
63426
63582
|
description: `Delete Tool
|
|
63427
63583
|
|
|
63428
63584
|
Delete a tool.`,
|
|
63429
|
-
args:
|
|
63430
|
-
tool: async (client,
|
|
63431
|
-
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();
|
|
63432
63588
|
if (!result.ok) {
|
|
63433
63589
|
return {
|
|
63434
63590
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63443,9 +63599,9 @@ Delete a tool.`,
|
|
|
63443
63599
|
|
|
63444
63600
|
// src/funcs/toolsGetByName.ts
|
|
63445
63601
|
function toolsGetByName(client, request, options) {
|
|
63446
|
-
return new APIPromise($
|
|
63602
|
+
return new APIPromise($do144(client, request, options));
|
|
63447
63603
|
}
|
|
63448
|
-
async function $
|
|
63604
|
+
async function $do144(client, request, options) {
|
|
63449
63605
|
const parsed = safeParse(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63450
63606
|
if (!parsed.ok) {
|
|
63451
63607
|
return [parsed, { status: "invalid" }];
|
|
@@ -63522,12 +63678,12 @@ var init_toolsGetByName = __esm(() => {
|
|
|
63522
63678
|
});
|
|
63523
63679
|
|
|
63524
63680
|
// src/mcp-server/tools/toolsGetByName.ts
|
|
63525
|
-
var
|
|
63681
|
+
var args128, tool$toolsGetByName;
|
|
63526
63682
|
var init_toolsGetByName2 = __esm(() => {
|
|
63527
63683
|
init_toolsGetByName();
|
|
63528
63684
|
init_operations();
|
|
63529
63685
|
init_tools();
|
|
63530
|
-
|
|
63686
|
+
args128 = {
|
|
63531
63687
|
request: ToolGetByNameRequest$inboundSchema
|
|
63532
63688
|
};
|
|
63533
63689
|
tool$toolsGetByName = {
|
|
@@ -63535,9 +63691,9 @@ var init_toolsGetByName2 = __esm(() => {
|
|
|
63535
63691
|
description: `Tool Info
|
|
63536
63692
|
|
|
63537
63693
|
Get the details of a specific tool`,
|
|
63538
|
-
args:
|
|
63539
|
-
tool: async (client,
|
|
63540
|
-
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();
|
|
63541
63697
|
if (!result.ok) {
|
|
63542
63698
|
return {
|
|
63543
63699
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63552,9 +63708,9 @@ Get the details of a specific tool`,
|
|
|
63552
63708
|
|
|
63553
63709
|
// src/funcs/toolsList.ts
|
|
63554
63710
|
function toolsList(client, request, options) {
|
|
63555
|
-
return new APIPromise($
|
|
63711
|
+
return new APIPromise($do145(client, request, options));
|
|
63556
63712
|
}
|
|
63557
|
-
async function $
|
|
63713
|
+
async function $do145(client, request, options) {
|
|
63558
63714
|
const parsed = safeParse(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63559
63715
|
if (!parsed.ok) {
|
|
63560
63716
|
return [parsed, { status: "invalid" }];
|
|
@@ -63637,12 +63793,12 @@ var init_toolsList = __esm(() => {
|
|
|
63637
63793
|
});
|
|
63638
63794
|
|
|
63639
63795
|
// src/mcp-server/tools/toolsList.ts
|
|
63640
|
-
var
|
|
63796
|
+
var args129, tool$toolsList;
|
|
63641
63797
|
var init_toolsList2 = __esm(() => {
|
|
63642
63798
|
init_toolsList();
|
|
63643
63799
|
init_operations();
|
|
63644
63800
|
init_tools();
|
|
63645
|
-
|
|
63801
|
+
args129 = {
|
|
63646
63802
|
request: ToolListRequest$inboundSchema
|
|
63647
63803
|
};
|
|
63648
63804
|
tool$toolsList = {
|
|
@@ -63650,9 +63806,9 @@ var init_toolsList2 = __esm(() => {
|
|
|
63650
63806
|
description: `Tool List
|
|
63651
63807
|
|
|
63652
63808
|
List the existing tools`,
|
|
63653
|
-
args:
|
|
63654
|
-
tool: async (client,
|
|
63655
|
-
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();
|
|
63656
63812
|
if (!result.ok) {
|
|
63657
63813
|
return {
|
|
63658
63814
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63667,9 +63823,9 @@ List the existing tools`,
|
|
|
63667
63823
|
|
|
63668
63824
|
// src/funcs/toolsUpdate.ts
|
|
63669
63825
|
function toolsUpdate(client, request, options) {
|
|
63670
|
-
return new APIPromise($
|
|
63826
|
+
return new APIPromise($do146(client, request, options));
|
|
63671
63827
|
}
|
|
63672
|
-
async function $
|
|
63828
|
+
async function $do146(client, request, options) {
|
|
63673
63829
|
const parsed = safeParse(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63674
63830
|
if (!parsed.ok) {
|
|
63675
63831
|
return [parsed, { status: "invalid" }];
|
|
@@ -63740,12 +63896,12 @@ var init_toolsUpdate = __esm(() => {
|
|
|
63740
63896
|
});
|
|
63741
63897
|
|
|
63742
63898
|
// src/mcp-server/tools/toolsUpdate.ts
|
|
63743
|
-
var
|
|
63899
|
+
var args130, tool$toolsUpdate;
|
|
63744
63900
|
var init_toolsUpdate2 = __esm(() => {
|
|
63745
63901
|
init_toolsUpdate();
|
|
63746
63902
|
init_components();
|
|
63747
63903
|
init_tools();
|
|
63748
|
-
|
|
63904
|
+
args130 = {
|
|
63749
63905
|
request: ToolUpdateRequest$inboundSchema
|
|
63750
63906
|
};
|
|
63751
63907
|
tool$toolsUpdate = {
|
|
@@ -63753,9 +63909,9 @@ var init_toolsUpdate2 = __esm(() => {
|
|
|
63753
63909
|
description: `Update Tool
|
|
63754
63910
|
|
|
63755
63911
|
Update an existing tool`,
|
|
63756
|
-
args:
|
|
63757
|
-
tool: async (client,
|
|
63758
|
-
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();
|
|
63759
63915
|
if (!result.ok) {
|
|
63760
63916
|
return {
|
|
63761
63917
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63770,9 +63926,9 @@ Update an existing tool`,
|
|
|
63770
63926
|
|
|
63771
63927
|
// src/funcs/usersCreate.ts
|
|
63772
63928
|
function usersCreate(client, request, options) {
|
|
63773
|
-
return new APIPromise($
|
|
63929
|
+
return new APIPromise($do147(client, request, options));
|
|
63774
63930
|
}
|
|
63775
|
-
async function $
|
|
63931
|
+
async function $do147(client, request, options) {
|
|
63776
63932
|
const parsed = safeParse(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63777
63933
|
if (!parsed.ok) {
|
|
63778
63934
|
return [parsed, { status: "invalid" }];
|
|
@@ -63843,12 +63999,12 @@ var init_usersCreate = __esm(() => {
|
|
|
63843
63999
|
});
|
|
63844
64000
|
|
|
63845
64001
|
// src/mcp-server/tools/usersCreate.ts
|
|
63846
|
-
var
|
|
64002
|
+
var args131, tool$usersCreate;
|
|
63847
64003
|
var init_usersCreate2 = __esm(() => {
|
|
63848
64004
|
init_usersCreate();
|
|
63849
64005
|
init_components();
|
|
63850
64006
|
init_tools();
|
|
63851
|
-
|
|
64007
|
+
args131 = {
|
|
63852
64008
|
request: UserCreateRequest$inboundSchema
|
|
63853
64009
|
};
|
|
63854
64010
|
tool$usersCreate = {
|
|
@@ -63856,9 +64012,9 @@ var init_usersCreate2 = __esm(() => {
|
|
|
63856
64012
|
description: `Create User
|
|
63857
64013
|
|
|
63858
64014
|
Create a new user.`,
|
|
63859
|
-
args:
|
|
63860
|
-
tool: async (client,
|
|
63861
|
-
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();
|
|
63862
64018
|
if (!result.ok) {
|
|
63863
64019
|
return {
|
|
63864
64020
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63873,9 +64029,9 @@ Create a new user.`,
|
|
|
63873
64029
|
|
|
63874
64030
|
// src/funcs/usersDelete.ts
|
|
63875
64031
|
function usersDelete(client, request, options) {
|
|
63876
|
-
return new APIPromise($
|
|
64032
|
+
return new APIPromise($do148(client, request, options));
|
|
63877
64033
|
}
|
|
63878
|
-
async function $
|
|
64034
|
+
async function $do148(client, request, options) {
|
|
63879
64035
|
const parsed = safeParse(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63880
64036
|
if (!parsed.ok) {
|
|
63881
64037
|
return [parsed, { status: "invalid" }];
|
|
@@ -63947,12 +64103,12 @@ var init_usersDelete = __esm(() => {
|
|
|
63947
64103
|
});
|
|
63948
64104
|
|
|
63949
64105
|
// src/mcp-server/tools/usersDelete.ts
|
|
63950
|
-
var
|
|
64106
|
+
var args132, tool$usersDelete;
|
|
63951
64107
|
var init_usersDelete2 = __esm(() => {
|
|
63952
64108
|
init_usersDelete();
|
|
63953
64109
|
init_components();
|
|
63954
64110
|
init_tools();
|
|
63955
|
-
|
|
64111
|
+
args132 = {
|
|
63956
64112
|
request: UserDeleteRequest$inboundSchema
|
|
63957
64113
|
};
|
|
63958
64114
|
tool$usersDelete = {
|
|
@@ -63960,9 +64116,9 @@ var init_usersDelete2 = __esm(() => {
|
|
|
63960
64116
|
description: `Delete User
|
|
63961
64117
|
|
|
63962
64118
|
Delete a user.`,
|
|
63963
|
-
args:
|
|
63964
|
-
tool: async (client,
|
|
63965
|
-
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();
|
|
63966
64122
|
if (!result.ok) {
|
|
63967
64123
|
return {
|
|
63968
64124
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63977,9 +64133,9 @@ Delete a user.`,
|
|
|
63977
64133
|
|
|
63978
64134
|
// src/funcs/usersList.ts
|
|
63979
64135
|
function usersList(client, request, options) {
|
|
63980
|
-
return new APIPromise($
|
|
64136
|
+
return new APIPromise($do149(client, request, options));
|
|
63981
64137
|
}
|
|
63982
|
-
async function $
|
|
64138
|
+
async function $do149(client, request, options) {
|
|
63983
64139
|
const parsed = safeParse(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63984
64140
|
if (!parsed.ok) {
|
|
63985
64141
|
return [parsed, { status: "invalid" }];
|
|
@@ -64062,12 +64218,12 @@ var init_usersList = __esm(() => {
|
|
|
64062
64218
|
});
|
|
64063
64219
|
|
|
64064
64220
|
// src/mcp-server/tools/usersList.ts
|
|
64065
|
-
var
|
|
64221
|
+
var args133, tool$usersList;
|
|
64066
64222
|
var init_usersList2 = __esm(() => {
|
|
64067
64223
|
init_usersList();
|
|
64068
64224
|
init_operations();
|
|
64069
64225
|
init_tools();
|
|
64070
|
-
|
|
64226
|
+
args133 = {
|
|
64071
64227
|
request: UsersListRequest$inboundSchema
|
|
64072
64228
|
};
|
|
64073
64229
|
tool$usersList = {
|
|
@@ -64075,9 +64231,9 @@ var init_usersList2 = __esm(() => {
|
|
|
64075
64231
|
description: `List Users
|
|
64076
64232
|
|
|
64077
64233
|
List the existing users.`,
|
|
64078
|
-
args:
|
|
64079
|
-
tool: async (client,
|
|
64080
|
-
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();
|
|
64081
64237
|
if (!result.ok) {
|
|
64082
64238
|
return {
|
|
64083
64239
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64092,9 +64248,9 @@ List the existing users.`,
|
|
|
64092
64248
|
|
|
64093
64249
|
// src/funcs/usersUpdate.ts
|
|
64094
64250
|
function usersUpdate(client, request, options) {
|
|
64095
|
-
return new APIPromise($
|
|
64251
|
+
return new APIPromise($do150(client, request, options));
|
|
64096
64252
|
}
|
|
64097
|
-
async function $
|
|
64253
|
+
async function $do150(client, request, options) {
|
|
64098
64254
|
const parsed = safeParse(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64099
64255
|
if (!parsed.ok) {
|
|
64100
64256
|
return [parsed, { status: "invalid" }];
|
|
@@ -64165,12 +64321,12 @@ var init_usersUpdate = __esm(() => {
|
|
|
64165
64321
|
});
|
|
64166
64322
|
|
|
64167
64323
|
// src/mcp-server/tools/usersUpdate.ts
|
|
64168
|
-
var
|
|
64324
|
+
var args134, tool$usersUpdate;
|
|
64169
64325
|
var init_usersUpdate2 = __esm(() => {
|
|
64170
64326
|
init_usersUpdate();
|
|
64171
64327
|
init_components();
|
|
64172
64328
|
init_tools();
|
|
64173
|
-
|
|
64329
|
+
args134 = {
|
|
64174
64330
|
request: UserUpdateRequest$inboundSchema
|
|
64175
64331
|
};
|
|
64176
64332
|
tool$usersUpdate = {
|
|
@@ -64178,9 +64334,9 @@ var init_usersUpdate2 = __esm(() => {
|
|
|
64178
64334
|
description: `Update User
|
|
64179
64335
|
|
|
64180
64336
|
Update an existing user.`,
|
|
64181
|
-
args:
|
|
64182
|
-
tool: async (client,
|
|
64183
|
-
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();
|
|
64184
64340
|
if (!result.ok) {
|
|
64185
64341
|
return {
|
|
64186
64342
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64195,9 +64351,9 @@ Update an existing user.`,
|
|
|
64195
64351
|
|
|
64196
64352
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
64197
64353
|
function usersUsersDeleteAccount(client, options) {
|
|
64198
|
-
return new APIPromise($
|
|
64354
|
+
return new APIPromise($do151(client, options));
|
|
64199
64355
|
}
|
|
64200
|
-
async function $
|
|
64356
|
+
async function $do151(client, options) {
|
|
64201
64357
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
64202
64358
|
const headers = new Headers(compactMap({
|
|
64203
64359
|
Accept: "application/json"
|
|
@@ -64280,9 +64436,9 @@ accounts.`,
|
|
|
64280
64436
|
|
|
64281
64437
|
// src/funcs/usersUsersGetByEmail.ts
|
|
64282
64438
|
function usersUsersGetByEmail(client, request, options) {
|
|
64283
|
-
return new APIPromise($
|
|
64439
|
+
return new APIPromise($do152(client, request, options));
|
|
64284
64440
|
}
|
|
64285
|
-
async function $
|
|
64441
|
+
async function $do152(client, request, options) {
|
|
64286
64442
|
const parsed = safeParse(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64287
64443
|
if (!parsed.ok) {
|
|
64288
64444
|
return [parsed, { status: "invalid" }];
|
|
@@ -64359,12 +64515,12 @@ var init_usersUsersGetByEmail = __esm(() => {
|
|
|
64359
64515
|
});
|
|
64360
64516
|
|
|
64361
64517
|
// src/mcp-server/tools/usersUsersGetByEmail.ts
|
|
64362
|
-
var
|
|
64518
|
+
var args135, tool$usersUsersGetByEmail;
|
|
64363
64519
|
var init_usersUsersGetByEmail2 = __esm(() => {
|
|
64364
64520
|
init_usersUsersGetByEmail();
|
|
64365
64521
|
init_operations();
|
|
64366
64522
|
init_tools();
|
|
64367
|
-
|
|
64523
|
+
args135 = {
|
|
64368
64524
|
request: UsersGetByEmailRequest$inboundSchema
|
|
64369
64525
|
};
|
|
64370
64526
|
tool$usersUsersGetByEmail = {
|
|
@@ -64372,9 +64528,9 @@ var init_usersUsersGetByEmail2 = __esm(() => {
|
|
|
64372
64528
|
description: `Get User
|
|
64373
64529
|
|
|
64374
64530
|
Fetch a given user.`,
|
|
64375
|
-
args:
|
|
64376
|
-
tool: async (client,
|
|
64377
|
-
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();
|
|
64378
64534
|
if (!result.ok) {
|
|
64379
64535
|
return {
|
|
64380
64536
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64389,9 +64545,9 @@ Fetch a given user.`,
|
|
|
64389
64545
|
|
|
64390
64546
|
// src/funcs/usersUsersSendEmail.ts
|
|
64391
64547
|
function usersUsersSendEmail(client, request, options) {
|
|
64392
|
-
return new APIPromise($
|
|
64548
|
+
return new APIPromise($do153(client, request, options));
|
|
64393
64549
|
}
|
|
64394
|
-
async function $
|
|
64550
|
+
async function $do153(client, request, options) {
|
|
64395
64551
|
const parsed = safeParse(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64396
64552
|
if (!parsed.ok) {
|
|
64397
64553
|
return [parsed, { status: "invalid" }];
|
|
@@ -64472,12 +64628,12 @@ var init_usersUsersSendEmail = __esm(() => {
|
|
|
64472
64628
|
});
|
|
64473
64629
|
|
|
64474
64630
|
// src/mcp-server/tools/usersUsersSendEmail.ts
|
|
64475
|
-
var
|
|
64631
|
+
var args136, tool$usersUsersSendEmail;
|
|
64476
64632
|
var init_usersUsersSendEmail2 = __esm(() => {
|
|
64477
64633
|
init_usersUsersSendEmail();
|
|
64478
64634
|
init_operations();
|
|
64479
64635
|
init_tools();
|
|
64480
|
-
|
|
64636
|
+
args136 = {
|
|
64481
64637
|
request: UsersSendEmailRequest$inboundSchema
|
|
64482
64638
|
};
|
|
64483
64639
|
tool$usersUsersSendEmail = {
|
|
@@ -64485,9 +64641,9 @@ var init_usersUsersSendEmail2 = __esm(() => {
|
|
|
64485
64641
|
description: `Send User Email
|
|
64486
64642
|
|
|
64487
64643
|
Send a welcome email to a user.`,
|
|
64488
|
-
args:
|
|
64489
|
-
tool: async (client,
|
|
64490
|
-
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();
|
|
64491
64647
|
if (!result.ok) {
|
|
64492
64648
|
return {
|
|
64493
64649
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64502,9 +64658,9 @@ Send a welcome email to a user.`,
|
|
|
64502
64658
|
|
|
64503
64659
|
// src/funcs/voiceGroupsCreate.ts
|
|
64504
64660
|
function voiceGroupsCreate(client, request, options) {
|
|
64505
|
-
return new APIPromise($
|
|
64661
|
+
return new APIPromise($do154(client, request, options));
|
|
64506
64662
|
}
|
|
64507
|
-
async function $
|
|
64663
|
+
async function $do154(client, request, options) {
|
|
64508
64664
|
const parsed = safeParse(request, (value) => VoiceGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64509
64665
|
if (!parsed.ok) {
|
|
64510
64666
|
return [parsed, { status: "invalid" }];
|
|
@@ -64575,12 +64731,12 @@ var init_voiceGroupsCreate = __esm(() => {
|
|
|
64575
64731
|
});
|
|
64576
64732
|
|
|
64577
64733
|
// src/mcp-server/tools/voiceGroupsCreate.ts
|
|
64578
|
-
var
|
|
64734
|
+
var args137, tool$voiceGroupsCreate;
|
|
64579
64735
|
var init_voiceGroupsCreate2 = __esm(() => {
|
|
64580
64736
|
init_voiceGroupsCreate();
|
|
64581
64737
|
init_components();
|
|
64582
64738
|
init_tools();
|
|
64583
|
-
|
|
64739
|
+
args137 = {
|
|
64584
64740
|
request: VoiceGroupCreateRequest$inboundSchema
|
|
64585
64741
|
};
|
|
64586
64742
|
tool$voiceGroupsCreate = {
|
|
@@ -64588,9 +64744,9 @@ var init_voiceGroupsCreate2 = __esm(() => {
|
|
|
64588
64744
|
description: `Create Voice Group
|
|
64589
64745
|
|
|
64590
64746
|
Create a new voice group.`,
|
|
64591
|
-
args:
|
|
64592
|
-
tool: async (client,
|
|
64593
|
-
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();
|
|
64594
64750
|
if (!result.ok) {
|
|
64595
64751
|
return {
|
|
64596
64752
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64605,9 +64761,9 @@ Create a new voice group.`,
|
|
|
64605
64761
|
|
|
64606
64762
|
// src/funcs/voiceGroupsDelete.ts
|
|
64607
64763
|
function voiceGroupsDelete(client, request, options) {
|
|
64608
|
-
return new APIPromise($
|
|
64764
|
+
return new APIPromise($do155(client, request, options));
|
|
64609
64765
|
}
|
|
64610
|
-
async function $
|
|
64766
|
+
async function $do155(client, request, options) {
|
|
64611
64767
|
const parsed = safeParse(request, (value) => VoiceGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64612
64768
|
if (!parsed.ok) {
|
|
64613
64769
|
return [parsed, { status: "invalid" }];
|
|
@@ -64688,12 +64844,12 @@ var init_voiceGroupsDelete = __esm(() => {
|
|
|
64688
64844
|
});
|
|
64689
64845
|
|
|
64690
64846
|
// src/mcp-server/tools/voiceGroupsDelete.ts
|
|
64691
|
-
var
|
|
64847
|
+
var args138, tool$voiceGroupsDelete;
|
|
64692
64848
|
var init_voiceGroupsDelete2 = __esm(() => {
|
|
64693
64849
|
init_voiceGroupsDelete();
|
|
64694
64850
|
init_operations();
|
|
64695
64851
|
init_tools();
|
|
64696
|
-
|
|
64852
|
+
args138 = {
|
|
64697
64853
|
request: VoiceGroupsDeleteRequest$inboundSchema
|
|
64698
64854
|
};
|
|
64699
64855
|
tool$voiceGroupsDelete = {
|
|
@@ -64701,9 +64857,9 @@ var init_voiceGroupsDelete2 = __esm(() => {
|
|
|
64701
64857
|
description: `Delete Voice Group
|
|
64702
64858
|
|
|
64703
64859
|
Delete a voice group.`,
|
|
64704
|
-
args:
|
|
64705
|
-
tool: async (client,
|
|
64706
|
-
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();
|
|
64707
64863
|
if (!result.ok) {
|
|
64708
64864
|
return {
|
|
64709
64865
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64718,9 +64874,9 @@ Delete a voice group.`,
|
|
|
64718
64874
|
|
|
64719
64875
|
// src/funcs/voiceGroupsGetById.ts
|
|
64720
64876
|
function voiceGroupsGetById(client, request, options) {
|
|
64721
|
-
return new APIPromise($
|
|
64877
|
+
return new APIPromise($do156(client, request, options));
|
|
64722
64878
|
}
|
|
64723
|
-
async function $
|
|
64879
|
+
async function $do156(client, request, options) {
|
|
64724
64880
|
const parsed = safeParse(request, (value) => VoiceGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64725
64881
|
if (!parsed.ok) {
|
|
64726
64882
|
return [parsed, { status: "invalid" }];
|
|
@@ -64797,12 +64953,12 @@ var init_voiceGroupsGetById = __esm(() => {
|
|
|
64797
64953
|
});
|
|
64798
64954
|
|
|
64799
64955
|
// src/mcp-server/tools/voiceGroupsGetById.ts
|
|
64800
|
-
var
|
|
64956
|
+
var args139, tool$voiceGroupsGetById;
|
|
64801
64957
|
var init_voiceGroupsGetById2 = __esm(() => {
|
|
64802
64958
|
init_voiceGroupsGetById();
|
|
64803
64959
|
init_operations();
|
|
64804
64960
|
init_tools();
|
|
64805
|
-
|
|
64961
|
+
args139 = {
|
|
64806
64962
|
request: VoiceGroupsGetByIdRequest$inboundSchema
|
|
64807
64963
|
};
|
|
64808
64964
|
tool$voiceGroupsGetById = {
|
|
@@ -64810,9 +64966,9 @@ var init_voiceGroupsGetById2 = __esm(() => {
|
|
|
64810
64966
|
description: `Get Voice Group
|
|
64811
64967
|
|
|
64812
64968
|
Fetch a given voice group.`,
|
|
64813
|
-
args:
|
|
64814
|
-
tool: async (client,
|
|
64815
|
-
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();
|
|
64816
64972
|
if (!result.ok) {
|
|
64817
64973
|
return {
|
|
64818
64974
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64827,9 +64983,9 @@ Fetch a given voice group.`,
|
|
|
64827
64983
|
|
|
64828
64984
|
// src/funcs/voiceGroupsList.ts
|
|
64829
64985
|
function voiceGroupsList(client, request, options) {
|
|
64830
|
-
return new APIPromise($
|
|
64986
|
+
return new APIPromise($do157(client, request, options));
|
|
64831
64987
|
}
|
|
64832
|
-
async function $
|
|
64988
|
+
async function $do157(client, request, options) {
|
|
64833
64989
|
const parsed = safeParse(request, (value) => VoiceGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64834
64990
|
if (!parsed.ok) {
|
|
64835
64991
|
return [parsed, { status: "invalid" }];
|
|
@@ -64912,12 +65068,12 @@ var init_voiceGroupsList = __esm(() => {
|
|
|
64912
65068
|
});
|
|
64913
65069
|
|
|
64914
65070
|
// src/mcp-server/tools/voiceGroupsList.ts
|
|
64915
|
-
var
|
|
65071
|
+
var args140, tool$voiceGroupsList;
|
|
64916
65072
|
var init_voiceGroupsList2 = __esm(() => {
|
|
64917
65073
|
init_voiceGroupsList();
|
|
64918
65074
|
init_operations();
|
|
64919
65075
|
init_tools();
|
|
64920
|
-
|
|
65076
|
+
args140 = {
|
|
64921
65077
|
request: VoiceGroupsListRequest$inboundSchema
|
|
64922
65078
|
};
|
|
64923
65079
|
tool$voiceGroupsList = {
|
|
@@ -64925,9 +65081,9 @@ var init_voiceGroupsList2 = __esm(() => {
|
|
|
64925
65081
|
description: `List Voice Groups
|
|
64926
65082
|
|
|
64927
65083
|
Fetch voice groups.`,
|
|
64928
|
-
args:
|
|
64929
|
-
tool: async (client,
|
|
64930
|
-
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();
|
|
64931
65087
|
if (!result.ok) {
|
|
64932
65088
|
return {
|
|
64933
65089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64942,9 +65098,9 @@ Fetch voice groups.`,
|
|
|
64942
65098
|
|
|
64943
65099
|
// src/funcs/voiceGroupsUpdate.ts
|
|
64944
65100
|
function voiceGroupsUpdate(client, request, options) {
|
|
64945
|
-
return new APIPromise($
|
|
65101
|
+
return new APIPromise($do158(client, request, options));
|
|
64946
65102
|
}
|
|
64947
|
-
async function $
|
|
65103
|
+
async function $do158(client, request, options) {
|
|
64948
65104
|
const parsed = safeParse(request, (value) => VoiceGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64949
65105
|
if (!parsed.ok) {
|
|
64950
65106
|
return [parsed, { status: "invalid" }];
|
|
@@ -65015,12 +65171,12 @@ var init_voiceGroupsUpdate = __esm(() => {
|
|
|
65015
65171
|
});
|
|
65016
65172
|
|
|
65017
65173
|
// src/mcp-server/tools/voiceGroupsUpdate.ts
|
|
65018
|
-
var
|
|
65174
|
+
var args141, tool$voiceGroupsUpdate;
|
|
65019
65175
|
var init_voiceGroupsUpdate2 = __esm(() => {
|
|
65020
65176
|
init_voiceGroupsUpdate();
|
|
65021
65177
|
init_components();
|
|
65022
65178
|
init_tools();
|
|
65023
|
-
|
|
65179
|
+
args141 = {
|
|
65024
65180
|
request: VoiceGroupUpdateRequest$inboundSchema
|
|
65025
65181
|
};
|
|
65026
65182
|
tool$voiceGroupsUpdate = {
|
|
@@ -65028,9 +65184,9 @@ var init_voiceGroupsUpdate2 = __esm(() => {
|
|
|
65028
65184
|
description: `Update Voice Group
|
|
65029
65185
|
|
|
65030
65186
|
Update an existing voice group`,
|
|
65031
|
-
args:
|
|
65032
|
-
tool: async (client,
|
|
65033
|
-
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();
|
|
65034
65190
|
if (!result.ok) {
|
|
65035
65191
|
return {
|
|
65036
65192
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65045,9 +65201,9 @@ Update an existing voice group`,
|
|
|
65045
65201
|
|
|
65046
65202
|
// src/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
65047
65203
|
function voiceGroupsVoiceGroupsCreateVoiceSample(client, request, options) {
|
|
65048
|
-
return new APIPromise($
|
|
65204
|
+
return new APIPromise($do159(client, request, options));
|
|
65049
65205
|
}
|
|
65050
|
-
async function $
|
|
65206
|
+
async function $do159(client, request, options) {
|
|
65051
65207
|
const parsed = safeParse(request, (value) => VoiceSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65052
65208
|
if (!parsed.ok) {
|
|
65053
65209
|
return [parsed, { status: "invalid" }];
|
|
@@ -65119,12 +65275,12 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
|
|
|
65119
65275
|
});
|
|
65120
65276
|
|
|
65121
65277
|
// src/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
65122
|
-
var
|
|
65278
|
+
var args142, tool$voiceGroupsVoiceGroupsCreateVoiceSample;
|
|
65123
65279
|
var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
65124
65280
|
init_voiceGroupsVoiceGroupsCreateVoiceSample();
|
|
65125
65281
|
init_components();
|
|
65126
65282
|
init_tools();
|
|
65127
|
-
|
|
65283
|
+
args142 = {
|
|
65128
65284
|
request: VoiceSampleCreateRequest$inboundSchema
|
|
65129
65285
|
};
|
|
65130
65286
|
tool$voiceGroupsVoiceGroupsCreateVoiceSample = {
|
|
@@ -65132,9 +65288,9 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
65132
65288
|
description: `Create Voice Sample
|
|
65133
65289
|
|
|
65134
65290
|
Generate voice sample.`,
|
|
65135
|
-
args:
|
|
65136
|
-
tool: async (client,
|
|
65137
|
-
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();
|
|
65138
65294
|
if (!result.ok) {
|
|
65139
65295
|
return {
|
|
65140
65296
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65151,7 +65307,7 @@ Generate voice sample.`,
|
|
|
65151
65307
|
function createMCPServer(deps) {
|
|
65152
65308
|
const server = new McpServer({
|
|
65153
65309
|
name: "SyllableSDK",
|
|
65154
|
-
version: "1.0.7-rc.
|
|
65310
|
+
version: "1.0.7-rc.5"
|
|
65155
65311
|
});
|
|
65156
65312
|
const client = new SyllableSDKCore({
|
|
65157
65313
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -65237,6 +65393,7 @@ function createMCPServer(deps) {
|
|
|
65237
65393
|
tool(tool$directoryGetById);
|
|
65238
65394
|
tool(tool$directoryUpdate);
|
|
65239
65395
|
tool(tool$directoryDelete);
|
|
65396
|
+
tool(tool$directoryDirectoryMemberTestExtension);
|
|
65240
65397
|
tool(tool$directoryDirectoryMemberBulkLoad);
|
|
65241
65398
|
tool(tool$directoryDirectoryMemberDownload);
|
|
65242
65399
|
tool(tool$dashboardsPostListDashboard);
|
|
@@ -65373,6 +65530,7 @@ var init_server2 = __esm(() => {
|
|
|
65373
65530
|
init_directoryDelete2();
|
|
65374
65531
|
init_directoryDirectoryMemberBulkLoad2();
|
|
65375
65532
|
init_directoryDirectoryMemberDownload2();
|
|
65533
|
+
init_directoryDirectoryMemberTestExtension2();
|
|
65376
65534
|
init_directoryGetById2();
|
|
65377
65535
|
init_directoryList2();
|
|
65378
65536
|
init_directoryUpdate2();
|
|
@@ -66683,7 +66841,7 @@ var routes = ln({
|
|
|
66683
66841
|
var app = _e(routes, {
|
|
66684
66842
|
name: "mcp",
|
|
66685
66843
|
versionInfo: {
|
|
66686
|
-
currentVersion: "1.0.7-rc.
|
|
66844
|
+
currentVersion: "1.0.7-rc.5"
|
|
66687
66845
|
}
|
|
66688
66846
|
});
|
|
66689
66847
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66691,5 +66849,5 @@ export {
|
|
|
66691
66849
|
app
|
|
66692
66850
|
};
|
|
66693
66851
|
|
|
66694
|
-
//# debugId=
|
|
66852
|
+
//# debugId=8CFA546D8DE6A46364756E2164756E21
|
|
66695
66853
|
//# sourceMappingURL=mcp-server.js.map
|