@greensecurity/javascript-sdk 0.37.14 → 0.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/bin/mcp-server.js +348 -216
- package/bin/mcp-server.js.map +10 -7
- package/dist/commonjs/__tests__/vendors.test.js +16 -0
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +2 -30
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts +18 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js +125 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts +32 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.js +69 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +1 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +1 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts +30 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.js +96 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/commonjs/sdk/vendors.d.ts +7 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +10 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +16 -0
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +2 -30
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts +18 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js +89 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts +32 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.js +31 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +1 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +1 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts +30 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.js +86 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -0
- package/dist/esm/sdk/vendors.d.ts +7 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +10 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/examples/vendorsCreateVendorRegistration.example.ts +2 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendors.test.ts +21 -0
- package/src/__tests__/zones.test.ts +2 -30
- package/src/funcs/vendorsGetVendorInvoiceReceipt.ts +179 -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/vendorsGetVendorInvoiceReceipt.ts +38 -0
- package/src/models/operations/getvendorinvoicereceipt.ts +71 -0
- package/src/models/operations/index.ts +1 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/vendorsGetVendorInvoiceReceipt.ts +167 -0
- package/src/sdk/vendors.ts +18 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
|
|
|
34160
34160
|
SDK_METADATA = {
|
|
34161
34161
|
language: "typescript",
|
|
34162
34162
|
openapiDocVersion: "0.0.3",
|
|
34163
|
-
sdkVersion: "0.
|
|
34164
|
-
genVersion: "2.
|
|
34165
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34163
|
+
sdkVersion: "0.38.2",
|
|
34164
|
+
genVersion: "2.658.3",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.38.2 2.658.3 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -35317,6 +35317,9 @@ function jsonErr(codes, schema, options) {
|
|
|
35317
35317
|
function json(codes, schema, options) {
|
|
35318
35318
|
return { ...options, enc: "json", codes, schema };
|
|
35319
35319
|
}
|
|
35320
|
+
function stream(codes, schema, options) {
|
|
35321
|
+
return { ...options, enc: "stream", codes, schema };
|
|
35322
|
+
}
|
|
35320
35323
|
function fail(codes) {
|
|
35321
35324
|
return { enc: "fail", codes };
|
|
35322
35325
|
}
|
|
@@ -42011,6 +42014,22 @@ var init_getvendorinvoicedetails = __esm(() => {
|
|
|
42011
42014
|
})(GetVendorInvoiceDetailsRequest$ ||= {});
|
|
42012
42015
|
});
|
|
42013
42016
|
|
|
42017
|
+
// src/models/operations/getvendorinvoicereceipt.ts
|
|
42018
|
+
var GetVendorInvoiceReceiptRequest$inboundSchema, GetVendorInvoiceReceiptRequest$outboundSchema, GetVendorInvoiceReceiptRequest$;
|
|
42019
|
+
var init_getvendorinvoicereceipt = __esm(() => {
|
|
42020
|
+
init_esm();
|
|
42021
|
+
GetVendorInvoiceReceiptRequest$inboundSchema = objectType({
|
|
42022
|
+
id: numberType().int()
|
|
42023
|
+
});
|
|
42024
|
+
GetVendorInvoiceReceiptRequest$outboundSchema = objectType({
|
|
42025
|
+
id: numberType().int()
|
|
42026
|
+
});
|
|
42027
|
+
((GetVendorInvoiceReceiptRequest$) => {
|
|
42028
|
+
GetVendorInvoiceReceiptRequest$.inboundSchema = GetVendorInvoiceReceiptRequest$inboundSchema;
|
|
42029
|
+
GetVendorInvoiceReceiptRequest$.outboundSchema = GetVendorInvoiceReceiptRequest$outboundSchema;
|
|
42030
|
+
})(GetVendorInvoiceReceiptRequest$ ||= {});
|
|
42031
|
+
});
|
|
42032
|
+
|
|
42014
42033
|
// src/models/operations/getvendorlegalname.ts
|
|
42015
42034
|
var GetVendorLegalNameRequest$inboundSchema, GetVendorLegalNameRequest$outboundSchema, GetVendorLegalNameRequest$, GetVendorLegalNameResponseBody$inboundSchema, GetVendorLegalNameResponseBody$outboundSchema, GetVendorLegalNameResponseBody$;
|
|
42016
42035
|
var init_getvendorlegalname = __esm(() => {
|
|
@@ -45166,6 +45185,7 @@ var init_operations = __esm(() => {
|
|
|
45166
45185
|
init_getvendorcredentialdetails();
|
|
45167
45186
|
init_getvendorcredentialfile();
|
|
45168
45187
|
init_getvendorinvoicedetails();
|
|
45188
|
+
init_getvendorinvoicereceipt();
|
|
45169
45189
|
init_getvendorlegalname();
|
|
45170
45190
|
init_getvendorsdetails();
|
|
45171
45191
|
init_getwebhookendpoint();
|
|
@@ -49951,11 +49971,121 @@ invoice.invoice_transactions`,
|
|
|
49951
49971
|
};
|
|
49952
49972
|
});
|
|
49953
49973
|
|
|
49954
|
-
// src/funcs/
|
|
49955
|
-
function
|
|
49974
|
+
// src/funcs/vendorsGetVendorInvoiceReceipt.ts
|
|
49975
|
+
function vendorsGetVendorInvoiceReceipt(client, request, options) {
|
|
49956
49976
|
return new APIPromise($do42(client, request, options));
|
|
49957
49977
|
}
|
|
49958
49978
|
async function $do42(client, request, options) {
|
|
49979
|
+
const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49980
|
+
if (!parsed.ok) {
|
|
49981
|
+
return [parsed, { status: "invalid" }];
|
|
49982
|
+
}
|
|
49983
|
+
const payload = parsed.value;
|
|
49984
|
+
const body = null;
|
|
49985
|
+
const pathParams = {
|
|
49986
|
+
id: encodeSimple("id", payload.id, {
|
|
49987
|
+
explode: false,
|
|
49988
|
+
charEncoding: "percent"
|
|
49989
|
+
})
|
|
49990
|
+
};
|
|
49991
|
+
const path = pathToFunc("/vendors/invoices/{id}/receipt")(pathParams);
|
|
49992
|
+
const headers = new Headers(compactMap({
|
|
49993
|
+
Accept: "application/pdf"
|
|
49994
|
+
}));
|
|
49995
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
49996
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49997
|
+
const context = {
|
|
49998
|
+
options: client._options,
|
|
49999
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50000
|
+
operationID: "getVendorInvoiceReceipt",
|
|
50001
|
+
oAuth2Scopes: [],
|
|
50002
|
+
resolvedSecurity: requestSecurity,
|
|
50003
|
+
securitySource: client._options.security,
|
|
50004
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
50005
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
50006
|
+
};
|
|
50007
|
+
const requestRes = client._createRequest(context, {
|
|
50008
|
+
security: requestSecurity,
|
|
50009
|
+
method: "GET",
|
|
50010
|
+
baseURL: options?.serverURL,
|
|
50011
|
+
path,
|
|
50012
|
+
headers,
|
|
50013
|
+
body,
|
|
50014
|
+
userAgent: client._options.userAgent,
|
|
50015
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50016
|
+
}, options);
|
|
50017
|
+
if (!requestRes.ok) {
|
|
50018
|
+
return [requestRes, { status: "invalid" }];
|
|
50019
|
+
}
|
|
50020
|
+
const req = requestRes.value;
|
|
50021
|
+
const doResult = await client._do(req, {
|
|
50022
|
+
context,
|
|
50023
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
50024
|
+
retryConfig: context.retryConfig,
|
|
50025
|
+
retryCodes: context.retryCodes
|
|
50026
|
+
});
|
|
50027
|
+
if (!doResult.ok) {
|
|
50028
|
+
return [doResult, { status: "request-error", request: req }];
|
|
50029
|
+
}
|
|
50030
|
+
const response = doResult.value;
|
|
50031
|
+
const responseFields = {
|
|
50032
|
+
HttpMeta: { Response: response, Request: req }
|
|
50033
|
+
};
|
|
50034
|
+
const [result] = await match(stream(200, instanceOfType(ReadableStream), {
|
|
50035
|
+
ctype: "application/pdf"
|
|
50036
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
50037
|
+
if (!result.ok) {
|
|
50038
|
+
return [result, { status: "complete", request: req, response }];
|
|
50039
|
+
}
|
|
50040
|
+
return [result, { status: "complete", request: req, response }];
|
|
50041
|
+
}
|
|
50042
|
+
var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
|
|
50043
|
+
init_esm();
|
|
50044
|
+
init_encodings();
|
|
50045
|
+
init_matchers();
|
|
50046
|
+
init_primitives();
|
|
50047
|
+
init_schemas();
|
|
50048
|
+
init_security();
|
|
50049
|
+
init_url();
|
|
50050
|
+
init_errors2();
|
|
50051
|
+
init_operations();
|
|
50052
|
+
init_async();
|
|
50053
|
+
});
|
|
50054
|
+
|
|
50055
|
+
// src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
|
|
50056
|
+
var args40, tool$vendorsGetVendorInvoiceReceipt;
|
|
50057
|
+
var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
|
|
50058
|
+
init_vendorsGetVendorInvoiceReceipt();
|
|
50059
|
+
init_operations();
|
|
50060
|
+
init_tools();
|
|
50061
|
+
args40 = {
|
|
50062
|
+
request: GetVendorInvoiceReceiptRequest$inboundSchema
|
|
50063
|
+
};
|
|
50064
|
+
tool$vendorsGetVendorInvoiceReceipt = {
|
|
50065
|
+
name: "vendors-get-vendor-invoice-receipt",
|
|
50066
|
+
description: `Get invoice receipt for vendor
|
|
50067
|
+
|
|
50068
|
+
Get invoice receipt for vendor`,
|
|
50069
|
+
args: args40,
|
|
50070
|
+
tool: async (client, args41, ctx) => {
|
|
50071
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50072
|
+
if (!result.ok) {
|
|
50073
|
+
return {
|
|
50074
|
+
content: [{ type: "text", text: result.error.message }],
|
|
50075
|
+
isError: true
|
|
50076
|
+
};
|
|
50077
|
+
}
|
|
50078
|
+
const value = result.value;
|
|
50079
|
+
return formatResult(value, apiCall);
|
|
50080
|
+
}
|
|
50081
|
+
};
|
|
50082
|
+
});
|
|
50083
|
+
|
|
50084
|
+
// src/funcs/vendorsGetVendorLegalName.ts
|
|
50085
|
+
function vendorsGetVendorLegalName(client, request, options) {
|
|
50086
|
+
return new APIPromise($do43(client, request, options));
|
|
50087
|
+
}
|
|
50088
|
+
async function $do43(client, request, options) {
|
|
49959
50089
|
const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49960
50090
|
if (!parsed.ok) {
|
|
49961
50091
|
return [parsed, { status: "invalid" }];
|
|
@@ -50030,12 +50160,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
|
|
|
50030
50160
|
});
|
|
50031
50161
|
|
|
50032
50162
|
// src/mcp-server/tools/vendorsGetVendorLegalName.ts
|
|
50033
|
-
var
|
|
50163
|
+
var args41, tool$vendorsGetVendorLegalName;
|
|
50034
50164
|
var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
50035
50165
|
init_vendorsGetVendorLegalName();
|
|
50036
50166
|
init_operations();
|
|
50037
50167
|
init_tools();
|
|
50038
|
-
|
|
50168
|
+
args41 = {
|
|
50039
50169
|
request: GetVendorLegalNameRequest$inboundSchema
|
|
50040
50170
|
};
|
|
50041
50171
|
tool$vendorsGetVendorLegalName = {
|
|
@@ -50043,9 +50173,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
|
50043
50173
|
description: `Get Vendor legal name
|
|
50044
50174
|
|
|
50045
50175
|
Get vendor legal name`,
|
|
50046
|
-
args:
|
|
50047
|
-
tool: async (client,
|
|
50048
|
-
const [result, apiCall] = await vendorsGetVendorLegalName(client,
|
|
50176
|
+
args: args41,
|
|
50177
|
+
tool: async (client, args42, ctx) => {
|
|
50178
|
+
const [result, apiCall] = await vendorsGetVendorLegalName(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50049
50179
|
if (!result.ok) {
|
|
50050
50180
|
return {
|
|
50051
50181
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50060,9 +50190,9 @@ Get vendor legal name`,
|
|
|
50060
50190
|
|
|
50061
50191
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
50062
50192
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
50063
|
-
return new APIPromise($
|
|
50193
|
+
return new APIPromise($do44(client, request, options));
|
|
50064
50194
|
}
|
|
50065
|
-
async function $
|
|
50195
|
+
async function $do44(client, request, options) {
|
|
50066
50196
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50067
50197
|
if (!parsed.ok) {
|
|
50068
50198
|
return [parsed, { status: "invalid" }];
|
|
@@ -50142,12 +50272,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
50142
50272
|
});
|
|
50143
50273
|
|
|
50144
50274
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
50145
|
-
var
|
|
50275
|
+
var args42, tool$vendorsGetVendorsDetails;
|
|
50146
50276
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
50147
50277
|
init_vendorsGetVendorsDetails();
|
|
50148
50278
|
init_operations();
|
|
50149
50279
|
init_tools();
|
|
50150
|
-
|
|
50280
|
+
args42 = {
|
|
50151
50281
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
50152
50282
|
};
|
|
50153
50283
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -50176,9 +50306,9 @@ vendor.registration_finished
|
|
|
50176
50306
|
vendor.target_facilities
|
|
50177
50307
|
vendor.pending_invoice
|
|
50178
50308
|
vendor.vendor_groups`,
|
|
50179
|
-
args:
|
|
50180
|
-
tool: async (client,
|
|
50181
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
50309
|
+
args: args42,
|
|
50310
|
+
tool: async (client, args43, ctx) => {
|
|
50311
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50182
50312
|
if (!result.ok) {
|
|
50183
50313
|
return {
|
|
50184
50314
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50193,9 +50323,9 @@ vendor.vendor_groups`,
|
|
|
50193
50323
|
|
|
50194
50324
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
50195
50325
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
50196
|
-
return new APIPromise($
|
|
50326
|
+
return new APIPromise($do45(client, request, options));
|
|
50197
50327
|
}
|
|
50198
|
-
async function $
|
|
50328
|
+
async function $do45(client, request, options) {
|
|
50199
50329
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50200
50330
|
if (!parsed.ok) {
|
|
50201
50331
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50307,12 +50437,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
50307
50437
|
});
|
|
50308
50438
|
|
|
50309
50439
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
50310
|
-
var
|
|
50440
|
+
var args43, tool$vendorsListVendorAdditionalFacilityFields;
|
|
50311
50441
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
50312
50442
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
50313
50443
|
init_operations();
|
|
50314
50444
|
init_tools();
|
|
50315
|
-
|
|
50445
|
+
args43 = {
|
|
50316
50446
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
50317
50447
|
};
|
|
50318
50448
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -50320,9 +50450,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
50320
50450
|
description: `List of vendor's additional facility fields
|
|
50321
50451
|
|
|
50322
50452
|
List of vendor's additional facility fields`,
|
|
50323
|
-
args:
|
|
50324
|
-
tool: async (client,
|
|
50325
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
50453
|
+
args: args43,
|
|
50454
|
+
tool: async (client, args44, ctx) => {
|
|
50455
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50326
50456
|
if (!result.ok) {
|
|
50327
50457
|
return {
|
|
50328
50458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50337,9 +50467,9 @@ List of vendor's additional facility fields`,
|
|
|
50337
50467
|
|
|
50338
50468
|
// src/funcs/vendorsListVendorCredentialDataRequests.ts
|
|
50339
50469
|
function vendorsListVendorCredentialDataRequests(client, request, options) {
|
|
50340
|
-
return new APIPromise($
|
|
50470
|
+
return new APIPromise($do46(client, request, options));
|
|
50341
50471
|
}
|
|
50342
|
-
async function $
|
|
50472
|
+
async function $do46(client, request, options) {
|
|
50343
50473
|
const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50344
50474
|
if (!parsed.ok) {
|
|
50345
50475
|
return [parsed, { status: "invalid" }];
|
|
@@ -50422,12 +50552,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
|
|
|
50422
50552
|
});
|
|
50423
50553
|
|
|
50424
50554
|
// src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
|
|
50425
|
-
var
|
|
50555
|
+
var args44, tool$vendorsListVendorCredentialDataRequests;
|
|
50426
50556
|
var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
|
|
50427
50557
|
init_vendorsListVendorCredentialDataRequests();
|
|
50428
50558
|
init_operations();
|
|
50429
50559
|
init_tools();
|
|
50430
|
-
|
|
50560
|
+
args44 = {
|
|
50431
50561
|
request: ListVendorCredentialDataRequestsRequest$inboundSchema
|
|
50432
50562
|
};
|
|
50433
50563
|
tool$vendorsListVendorCredentialDataRequests = {
|
|
@@ -50440,9 +50570,9 @@ Available \`expand\` scopes are:
|
|
|
50440
50570
|
|
|
50441
50571
|
- vendor_credential_data_request.vendor_credential
|
|
50442
50572
|
- vendor_credential_data_request.data_request`,
|
|
50443
|
-
args:
|
|
50444
|
-
tool: async (client,
|
|
50445
|
-
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client,
|
|
50573
|
+
args: args44,
|
|
50574
|
+
tool: async (client, args45, ctx) => {
|
|
50575
|
+
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50446
50576
|
if (!result.ok) {
|
|
50447
50577
|
return {
|
|
50448
50578
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50457,9 +50587,9 @@ Available \`expand\` scopes are:
|
|
|
50457
50587
|
|
|
50458
50588
|
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
50459
50589
|
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
50460
|
-
return new APIPromise($
|
|
50590
|
+
return new APIPromise($do47(client, request, options));
|
|
50461
50591
|
}
|
|
50462
|
-
async function $
|
|
50592
|
+
async function $do47(client, request, options) {
|
|
50463
50593
|
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50464
50594
|
if (!parsed.ok) {
|
|
50465
50595
|
return [parsed, { status: "invalid" }];
|
|
@@ -50542,12 +50672,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
|
50542
50672
|
});
|
|
50543
50673
|
|
|
50544
50674
|
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
50545
|
-
var
|
|
50675
|
+
var args45, tool$vendorsListVendorCredentialFiles;
|
|
50546
50676
|
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
50547
50677
|
init_vendorsListVendorCredentialFiles();
|
|
50548
50678
|
init_operations();
|
|
50549
50679
|
init_tools();
|
|
50550
|
-
|
|
50680
|
+
args45 = {
|
|
50551
50681
|
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
50552
50682
|
};
|
|
50553
50683
|
tool$vendorsListVendorCredentialFiles = {
|
|
@@ -50560,9 +50690,9 @@ Available \`expand\` scopes are:
|
|
|
50560
50690
|
|
|
50561
50691
|
- vendor_credential_file.vendor_credential
|
|
50562
50692
|
- vendor_credential_file.credential_document`,
|
|
50563
|
-
args:
|
|
50564
|
-
tool: async (client,
|
|
50565
|
-
const [result, apiCall] = await vendorsListVendorCredentialFiles(client,
|
|
50693
|
+
args: args45,
|
|
50694
|
+
tool: async (client, args46, ctx) => {
|
|
50695
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50566
50696
|
if (!result.ok) {
|
|
50567
50697
|
return {
|
|
50568
50698
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50577,9 +50707,9 @@ Available \`expand\` scopes are:
|
|
|
50577
50707
|
|
|
50578
50708
|
// src/funcs/vendorsListVendorCredentialHistory.ts
|
|
50579
50709
|
function vendorsListVendorCredentialHistory(client, request, options) {
|
|
50580
|
-
return new APIPromise($
|
|
50710
|
+
return new APIPromise($do48(client, request, options));
|
|
50581
50711
|
}
|
|
50582
|
-
async function $
|
|
50712
|
+
async function $do48(client, request, options) {
|
|
50583
50713
|
const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50584
50714
|
if (!parsed.ok) {
|
|
50585
50715
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50694,12 +50824,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
|
|
|
50694
50824
|
});
|
|
50695
50825
|
|
|
50696
50826
|
// src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
|
|
50697
|
-
var
|
|
50827
|
+
var args46, tool$vendorsListVendorCredentialHistory;
|
|
50698
50828
|
var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
50699
50829
|
init_vendorsListVendorCredentialHistory();
|
|
50700
50830
|
init_operations();
|
|
50701
50831
|
init_tools();
|
|
50702
|
-
|
|
50832
|
+
args46 = {
|
|
50703
50833
|
request: ListVendorCredentialHistoryRequest$inboundSchema
|
|
50704
50834
|
};
|
|
50705
50835
|
tool$vendorsListVendorCredentialHistory = {
|
|
@@ -50707,9 +50837,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
|
50707
50837
|
description: `List Vendor Credential History
|
|
50708
50838
|
|
|
50709
50839
|
Lists vendor credentials history`,
|
|
50710
|
-
args:
|
|
50711
|
-
tool: async (client,
|
|
50712
|
-
const [result, apiCall] = await vendorsListVendorCredentialHistory(client,
|
|
50840
|
+
args: args46,
|
|
50841
|
+
tool: async (client, args47, ctx) => {
|
|
50842
|
+
const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50713
50843
|
if (!result.ok) {
|
|
50714
50844
|
return {
|
|
50715
50845
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50724,9 +50854,9 @@ Lists vendor credentials history`,
|
|
|
50724
50854
|
|
|
50725
50855
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
50726
50856
|
function vendorsListVendorCredentials(client, request, options) {
|
|
50727
|
-
return new APIPromise($
|
|
50857
|
+
return new APIPromise($do49(client, request, options));
|
|
50728
50858
|
}
|
|
50729
|
-
async function $
|
|
50859
|
+
async function $do49(client, request, options) {
|
|
50730
50860
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50731
50861
|
if (!parsed.ok) {
|
|
50732
50862
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50846,12 +50976,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
50846
50976
|
});
|
|
50847
50977
|
|
|
50848
50978
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
50849
|
-
var
|
|
50979
|
+
var args47, tool$vendorsListVendorCredentials;
|
|
50850
50980
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
50851
50981
|
init_vendorsListVendorCredentials();
|
|
50852
50982
|
init_operations();
|
|
50853
50983
|
init_tools();
|
|
50854
|
-
|
|
50984
|
+
args47 = {
|
|
50855
50985
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
50856
50986
|
};
|
|
50857
50987
|
tool$vendorsListVendorCredentials = {
|
|
@@ -50859,9 +50989,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
50859
50989
|
description: `List Vendor Credentials
|
|
50860
50990
|
|
|
50861
50991
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
50862
|
-
args:
|
|
50863
|
-
tool: async (client,
|
|
50864
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
50992
|
+
args: args47,
|
|
50993
|
+
tool: async (client, args48, ctx) => {
|
|
50994
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50865
50995
|
if (!result.ok) {
|
|
50866
50996
|
return {
|
|
50867
50997
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50876,9 +51006,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
50876
51006
|
|
|
50877
51007
|
// src/funcs/vendorsListVendorCredits.ts
|
|
50878
51008
|
function vendorsListVendorCredits(client, request, options) {
|
|
50879
|
-
return new APIPromise($
|
|
51009
|
+
return new APIPromise($do50(client, request, options));
|
|
50880
51010
|
}
|
|
50881
|
-
async function $
|
|
51011
|
+
async function $do50(client, request, options) {
|
|
50882
51012
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50883
51013
|
if (!parsed.ok) {
|
|
50884
51014
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50992,12 +51122,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
50992
51122
|
});
|
|
50993
51123
|
|
|
50994
51124
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
50995
|
-
var
|
|
51125
|
+
var args48, tool$vendorsListVendorCredits;
|
|
50996
51126
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
50997
51127
|
init_vendorsListVendorCredits();
|
|
50998
51128
|
init_operations();
|
|
50999
51129
|
init_tools();
|
|
51000
|
-
|
|
51130
|
+
args48 = {
|
|
51001
51131
|
request: ListVendorCreditsRequest$inboundSchema
|
|
51002
51132
|
};
|
|
51003
51133
|
tool$vendorsListVendorCredits = {
|
|
@@ -51005,9 +51135,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
51005
51135
|
description: `List vendor credits
|
|
51006
51136
|
|
|
51007
51137
|
List the credits for the vendor`,
|
|
51008
|
-
args:
|
|
51009
|
-
tool: async (client,
|
|
51010
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
51138
|
+
args: args48,
|
|
51139
|
+
tool: async (client, args49, ctx) => {
|
|
51140
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51011
51141
|
if (!result.ok) {
|
|
51012
51142
|
return {
|
|
51013
51143
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51022,9 +51152,9 @@ List the credits for the vendor`,
|
|
|
51022
51152
|
|
|
51023
51153
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
51024
51154
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
51025
|
-
return new APIPromise($
|
|
51155
|
+
return new APIPromise($do51(client, request, options));
|
|
51026
51156
|
}
|
|
51027
|
-
async function $
|
|
51157
|
+
async function $do51(client, request, options) {
|
|
51028
51158
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51029
51159
|
if (!parsed.ok) {
|
|
51030
51160
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51142,12 +51272,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
51142
51272
|
});
|
|
51143
51273
|
|
|
51144
51274
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
51145
|
-
var
|
|
51275
|
+
var args49, tool$vendorsListVendorFacilityStatuses;
|
|
51146
51276
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
51147
51277
|
init_vendorsListVendorFacilityStatuses();
|
|
51148
51278
|
init_operations();
|
|
51149
51279
|
init_tools();
|
|
51150
|
-
|
|
51280
|
+
args49 = {
|
|
51151
51281
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
51152
51282
|
};
|
|
51153
51283
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -51155,9 +51285,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
51155
51285
|
description: `List vendor facility statuses
|
|
51156
51286
|
|
|
51157
51287
|
List the facilities for the vendor`,
|
|
51158
|
-
args:
|
|
51159
|
-
tool: async (client,
|
|
51160
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
51288
|
+
args: args49,
|
|
51289
|
+
tool: async (client, args50, ctx) => {
|
|
51290
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51161
51291
|
if (!result.ok) {
|
|
51162
51292
|
return {
|
|
51163
51293
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51172,9 +51302,9 @@ List the facilities for the vendor`,
|
|
|
51172
51302
|
|
|
51173
51303
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
51174
51304
|
function vendorsListVendorInvoices(client, request, options) {
|
|
51175
|
-
return new APIPromise($
|
|
51305
|
+
return new APIPromise($do52(client, request, options));
|
|
51176
51306
|
}
|
|
51177
|
-
async function $
|
|
51307
|
+
async function $do52(client, request, options) {
|
|
51178
51308
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51179
51309
|
if (!parsed.ok) {
|
|
51180
51310
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51292,12 +51422,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
51292
51422
|
});
|
|
51293
51423
|
|
|
51294
51424
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
51295
|
-
var
|
|
51425
|
+
var args50, tool$vendorsListVendorInvoices;
|
|
51296
51426
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
51297
51427
|
init_vendorsListVendorInvoices();
|
|
51298
51428
|
init_operations();
|
|
51299
51429
|
init_tools();
|
|
51300
|
-
|
|
51430
|
+
args50 = {
|
|
51301
51431
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
51302
51432
|
};
|
|
51303
51433
|
tool$vendorsListVendorInvoices = {
|
|
@@ -51309,9 +51439,9 @@ List invoices for Vendors
|
|
|
51309
51439
|
Available \`expand\` scopes are:
|
|
51310
51440
|
|
|
51311
51441
|
invoice.line_items`,
|
|
51312
|
-
args:
|
|
51313
|
-
tool: async (client,
|
|
51314
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
51442
|
+
args: args50,
|
|
51443
|
+
tool: async (client, args51, ctx) => {
|
|
51444
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51315
51445
|
if (!result.ok) {
|
|
51316
51446
|
return {
|
|
51317
51447
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51326,9 +51456,9 @@ invoice.line_items`,
|
|
|
51326
51456
|
|
|
51327
51457
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
51328
51458
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
51329
|
-
return new APIPromise($
|
|
51459
|
+
return new APIPromise($do53(client, request, options));
|
|
51330
51460
|
}
|
|
51331
|
-
async function $
|
|
51461
|
+
async function $do53(client, request, options) {
|
|
51332
51462
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51333
51463
|
if (!parsed.ok) {
|
|
51334
51464
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51437,12 +51567,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
51437
51567
|
});
|
|
51438
51568
|
|
|
51439
51569
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
51440
|
-
var
|
|
51570
|
+
var args51, tool$vendorsListVendorJobTitles;
|
|
51441
51571
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
51442
51572
|
init_vendorsListVendorJobTitles();
|
|
51443
51573
|
init_operations();
|
|
51444
51574
|
init_tools();
|
|
51445
|
-
|
|
51575
|
+
args51 = {
|
|
51446
51576
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
51447
51577
|
};
|
|
51448
51578
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -51450,9 +51580,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
51450
51580
|
description: `List vendor job titles
|
|
51451
51581
|
|
|
51452
51582
|
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
51453
|
-
args:
|
|
51454
|
-
tool: async (client,
|
|
51455
|
-
const [result, apiCall] = await vendorsListVendorJobTitles(client,
|
|
51583
|
+
args: args51,
|
|
51584
|
+
tool: async (client, args52, ctx) => {
|
|
51585
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51456
51586
|
if (!result.ok) {
|
|
51457
51587
|
return {
|
|
51458
51588
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51467,9 +51597,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
51467
51597
|
|
|
51468
51598
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
51469
51599
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
51470
|
-
return new APIPromise($
|
|
51600
|
+
return new APIPromise($do54(client, request, options));
|
|
51471
51601
|
}
|
|
51472
|
-
async function $
|
|
51602
|
+
async function $do54(client, request, options) {
|
|
51473
51603
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51474
51604
|
if (!parsed.ok) {
|
|
51475
51605
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51583,12 +51713,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
51583
51713
|
});
|
|
51584
51714
|
|
|
51585
51715
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
51586
|
-
var
|
|
51716
|
+
var args52, tool$vendorsListVendorManagedByCompanies;
|
|
51587
51717
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
51588
51718
|
init_vendorsListVendorManagedByCompanies();
|
|
51589
51719
|
init_operations();
|
|
51590
51720
|
init_tools();
|
|
51591
|
-
|
|
51721
|
+
args52 = {
|
|
51592
51722
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
51593
51723
|
};
|
|
51594
51724
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -51596,9 +51726,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
51596
51726
|
description: `List of companies managing the vendor
|
|
51597
51727
|
|
|
51598
51728
|
List of companies managing the vendor`,
|
|
51599
|
-
args:
|
|
51600
|
-
tool: async (client,
|
|
51601
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
51729
|
+
args: args52,
|
|
51730
|
+
tool: async (client, args53, ctx) => {
|
|
51731
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51602
51732
|
if (!result.ok) {
|
|
51603
51733
|
return {
|
|
51604
51734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51613,9 +51743,9 @@ List of companies managing the vendor`,
|
|
|
51613
51743
|
|
|
51614
51744
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
51615
51745
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
51616
|
-
return new APIPromise($
|
|
51746
|
+
return new APIPromise($do55(client, request, options));
|
|
51617
51747
|
}
|
|
51618
|
-
async function $
|
|
51748
|
+
async function $do55(client, request, options) {
|
|
51619
51749
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51620
51750
|
if (!parsed.ok) {
|
|
51621
51751
|
return [parsed, { status: "invalid" }];
|
|
@@ -51691,12 +51821,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
51691
51821
|
});
|
|
51692
51822
|
|
|
51693
51823
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
51694
|
-
var
|
|
51824
|
+
var args53, tool$vendorsListVendorScrubDetails;
|
|
51695
51825
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
51696
51826
|
init_vendorsListVendorScrubDetails();
|
|
51697
51827
|
init_operations();
|
|
51698
51828
|
init_tools();
|
|
51699
|
-
|
|
51829
|
+
args53 = {
|
|
51700
51830
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
51701
51831
|
};
|
|
51702
51832
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -51704,9 +51834,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
51704
51834
|
description: `List vendor scrub details
|
|
51705
51835
|
|
|
51706
51836
|
List vendor scrub details`,
|
|
51707
|
-
args:
|
|
51708
|
-
tool: async (client,
|
|
51709
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
51837
|
+
args: args53,
|
|
51838
|
+
tool: async (client, args54, ctx) => {
|
|
51839
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51710
51840
|
if (!result.ok) {
|
|
51711
51841
|
return {
|
|
51712
51842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51721,9 +51851,9 @@ List vendor scrub details`,
|
|
|
51721
51851
|
|
|
51722
51852
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
51723
51853
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
51724
|
-
return new APIPromise($
|
|
51854
|
+
return new APIPromise($do56(client, request, options));
|
|
51725
51855
|
}
|
|
51726
|
-
async function $
|
|
51856
|
+
async function $do56(client, request, options) {
|
|
51727
51857
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51728
51858
|
if (!parsed.ok) {
|
|
51729
51859
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51837,12 +51967,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
51837
51967
|
});
|
|
51838
51968
|
|
|
51839
51969
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
51840
|
-
var
|
|
51970
|
+
var args54, tool$vendorsListVendorScrubPackages;
|
|
51841
51971
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
51842
51972
|
init_vendorsListVendorScrubPackages();
|
|
51843
51973
|
init_operations();
|
|
51844
51974
|
init_tools();
|
|
51845
|
-
|
|
51975
|
+
args54 = {
|
|
51846
51976
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
51847
51977
|
};
|
|
51848
51978
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -51850,9 +51980,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
51850
51980
|
description: `List vendor scrub packages
|
|
51851
51981
|
|
|
51852
51982
|
List vendor scrub packages`,
|
|
51853
|
-
args:
|
|
51854
|
-
tool: async (client,
|
|
51855
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
51983
|
+
args: args54,
|
|
51984
|
+
tool: async (client, args55, ctx) => {
|
|
51985
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51856
51986
|
if (!result.ok) {
|
|
51857
51987
|
return {
|
|
51858
51988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51867,9 +51997,9 @@ List vendor scrub packages`,
|
|
|
51867
51997
|
|
|
51868
51998
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
51869
51999
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
51870
|
-
return new APIPromise($
|
|
52000
|
+
return new APIPromise($do57(client, request, options));
|
|
51871
52001
|
}
|
|
51872
|
-
async function $
|
|
52002
|
+
async function $do57(client, request, options) {
|
|
51873
52003
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51874
52004
|
if (!parsed.ok) {
|
|
51875
52005
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51983,12 +52113,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
51983
52113
|
});
|
|
51984
52114
|
|
|
51985
52115
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
51986
|
-
var
|
|
52116
|
+
var args55, tool$vendorsListVendorScrubPurchases;
|
|
51987
52117
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
51988
52118
|
init_vendorsListVendorScrubPurchases();
|
|
51989
52119
|
init_operations();
|
|
51990
52120
|
init_tools();
|
|
51991
|
-
|
|
52121
|
+
args55 = {
|
|
51992
52122
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
51993
52123
|
};
|
|
51994
52124
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -51996,9 +52126,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
51996
52126
|
description: `List vendor scrub purchases
|
|
51997
52127
|
|
|
51998
52128
|
List vendor scrub purchases`,
|
|
51999
|
-
args:
|
|
52000
|
-
tool: async (client,
|
|
52001
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
52129
|
+
args: args55,
|
|
52130
|
+
tool: async (client, args56, ctx) => {
|
|
52131
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52002
52132
|
if (!result.ok) {
|
|
52003
52133
|
return {
|
|
52004
52134
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52013,9 +52143,9 @@ List vendor scrub purchases`,
|
|
|
52013
52143
|
|
|
52014
52144
|
// src/funcs/vendorsListVendorTypes.ts
|
|
52015
52145
|
function vendorsListVendorTypes(client, request, options) {
|
|
52016
|
-
return new APIPromise($
|
|
52146
|
+
return new APIPromise($do58(client, request, options));
|
|
52017
52147
|
}
|
|
52018
|
-
async function $
|
|
52148
|
+
async function $do58(client, request, options) {
|
|
52019
52149
|
const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52020
52150
|
if (!parsed.ok) {
|
|
52021
52151
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -52123,12 +52253,12 @@ var init_vendorsListVendorTypes = __esm(() => {
|
|
|
52123
52253
|
});
|
|
52124
52254
|
|
|
52125
52255
|
// src/mcp-server/tools/vendorsListVendorTypes.ts
|
|
52126
|
-
var
|
|
52256
|
+
var args56, tool$vendorsListVendorTypes;
|
|
52127
52257
|
var init_vendorsListVendorTypes2 = __esm(() => {
|
|
52128
52258
|
init_vendorsListVendorTypes();
|
|
52129
52259
|
init_operations();
|
|
52130
52260
|
init_tools();
|
|
52131
|
-
|
|
52261
|
+
args56 = {
|
|
52132
52262
|
request: ListVendorTypesRequest$inboundSchema
|
|
52133
52263
|
};
|
|
52134
52264
|
tool$vendorsListVendorTypes = {
|
|
@@ -52136,9 +52266,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
|
|
|
52136
52266
|
description: `List vendor types
|
|
52137
52267
|
|
|
52138
52268
|
List vendor types.`,
|
|
52139
|
-
args:
|
|
52140
|
-
tool: async (client,
|
|
52141
|
-
const [result, apiCall] = await vendorsListVendorTypes(client,
|
|
52269
|
+
args: args56,
|
|
52270
|
+
tool: async (client, args57, ctx) => {
|
|
52271
|
+
const [result, apiCall] = await vendorsListVendorTypes(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52142
52272
|
if (!result.ok) {
|
|
52143
52273
|
return {
|
|
52144
52274
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52153,9 +52283,9 @@ List vendor types.`,
|
|
|
52153
52283
|
|
|
52154
52284
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
52155
52285
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
52156
|
-
return new APIPromise($
|
|
52286
|
+
return new APIPromise($do59(client, request, options));
|
|
52157
52287
|
}
|
|
52158
|
-
async function $
|
|
52288
|
+
async function $do59(client, request, options) {
|
|
52159
52289
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52160
52290
|
if (!parsed.ok) {
|
|
52161
52291
|
return [parsed, { status: "invalid" }];
|
|
@@ -52231,12 +52361,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
52231
52361
|
});
|
|
52232
52362
|
|
|
52233
52363
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
52234
|
-
var
|
|
52364
|
+
var args57, tool$vendorsPurchaseScrubCredits;
|
|
52235
52365
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
52236
52366
|
init_vendorsPurchaseScrubCredits();
|
|
52237
52367
|
init_operations();
|
|
52238
52368
|
init_tools();
|
|
52239
|
-
|
|
52369
|
+
args57 = {
|
|
52240
52370
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
52241
52371
|
};
|
|
52242
52372
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -52244,9 +52374,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
52244
52374
|
description: `Purchase scrub credits
|
|
52245
52375
|
|
|
52246
52376
|
Purchase scrub credits`,
|
|
52247
|
-
args:
|
|
52248
|
-
tool: async (client,
|
|
52249
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
52377
|
+
args: args57,
|
|
52378
|
+
tool: async (client, args58, ctx) => {
|
|
52379
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52250
52380
|
if (!result.ok) {
|
|
52251
52381
|
return {
|
|
52252
52382
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52261,9 +52391,9 @@ Purchase scrub credits`,
|
|
|
52261
52391
|
|
|
52262
52392
|
// src/funcs/vendorsSendDownloadCode.ts
|
|
52263
52393
|
function vendorsSendDownloadCode(client, request, options) {
|
|
52264
|
-
return new APIPromise($
|
|
52394
|
+
return new APIPromise($do60(client, request, options));
|
|
52265
52395
|
}
|
|
52266
|
-
async function $
|
|
52396
|
+
async function $do60(client, request, options) {
|
|
52267
52397
|
const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52268
52398
|
if (!parsed.ok) {
|
|
52269
52399
|
return [parsed, { status: "invalid" }];
|
|
@@ -52337,12 +52467,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
|
|
|
52337
52467
|
});
|
|
52338
52468
|
|
|
52339
52469
|
// src/mcp-server/tools/vendorsSendDownloadCode.ts
|
|
52340
|
-
var
|
|
52470
|
+
var args58, tool$vendorsSendDownloadCode;
|
|
52341
52471
|
var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
52342
52472
|
init_vendorsSendDownloadCode();
|
|
52343
52473
|
init_operations();
|
|
52344
52474
|
init_tools();
|
|
52345
|
-
|
|
52475
|
+
args58 = {
|
|
52346
52476
|
request: SendDownloadCodeRequest$inboundSchema
|
|
52347
52477
|
};
|
|
52348
52478
|
tool$vendorsSendDownloadCode = {
|
|
@@ -52350,9 +52480,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
|
52350
52480
|
description: `Send download code for vendor credential
|
|
52351
52481
|
|
|
52352
52482
|
It will send download code for vendor credential`,
|
|
52353
|
-
args:
|
|
52354
|
-
tool: async (client,
|
|
52355
|
-
const [result, apiCall] = await vendorsSendDownloadCode(client,
|
|
52483
|
+
args: args58,
|
|
52484
|
+
tool: async (client, args59, ctx) => {
|
|
52485
|
+
const [result, apiCall] = await vendorsSendDownloadCode(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52356
52486
|
if (!result.ok) {
|
|
52357
52487
|
return {
|
|
52358
52488
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52367,9 +52497,9 @@ It will send download code for vendor credential`,
|
|
|
52367
52497
|
|
|
52368
52498
|
// src/funcs/vendorsSubmitVendorCredential.ts
|
|
52369
52499
|
function vendorsSubmitVendorCredential(client, request, options) {
|
|
52370
|
-
return new APIPromise($
|
|
52500
|
+
return new APIPromise($do61(client, request, options));
|
|
52371
52501
|
}
|
|
52372
|
-
async function $
|
|
52502
|
+
async function $do61(client, request, options) {
|
|
52373
52503
|
const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52374
52504
|
if (!parsed.ok) {
|
|
52375
52505
|
return [parsed, { status: "invalid" }];
|
|
@@ -52443,12 +52573,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
|
|
|
52443
52573
|
});
|
|
52444
52574
|
|
|
52445
52575
|
// src/mcp-server/tools/vendorsSubmitVendorCredential.ts
|
|
52446
|
-
var
|
|
52576
|
+
var args59, tool$vendorsSubmitVendorCredential;
|
|
52447
52577
|
var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
52448
52578
|
init_vendorsSubmitVendorCredential();
|
|
52449
52579
|
init_operations();
|
|
52450
52580
|
init_tools();
|
|
52451
|
-
|
|
52581
|
+
args59 = {
|
|
52452
52582
|
request: SubmitVendorCredentialRequest$inboundSchema
|
|
52453
52583
|
};
|
|
52454
52584
|
tool$vendorsSubmitVendorCredential = {
|
|
@@ -52456,9 +52586,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
|
52456
52586
|
description: `Submit vendor credential
|
|
52457
52587
|
|
|
52458
52588
|
It will submit vendor credential`,
|
|
52459
|
-
args:
|
|
52460
|
-
tool: async (client,
|
|
52461
|
-
const [result, apiCall] = await vendorsSubmitVendorCredential(client,
|
|
52589
|
+
args: args59,
|
|
52590
|
+
tool: async (client, args60, ctx) => {
|
|
52591
|
+
const [result, apiCall] = await vendorsSubmitVendorCredential(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52462
52592
|
if (!result.ok) {
|
|
52463
52593
|
return {
|
|
52464
52594
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52473,9 +52603,9 @@ It will submit vendor credential`,
|
|
|
52473
52603
|
|
|
52474
52604
|
// src/funcs/vendorsUpdateVendorCredentialData.ts
|
|
52475
52605
|
function vendorsUpdateVendorCredentialData(client, request, options) {
|
|
52476
|
-
return new APIPromise($
|
|
52606
|
+
return new APIPromise($do62(client, request, options));
|
|
52477
52607
|
}
|
|
52478
|
-
async function $
|
|
52608
|
+
async function $do62(client, request, options) {
|
|
52479
52609
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52480
52610
|
if (!parsed.ok) {
|
|
52481
52611
|
return [parsed, { status: "invalid" }];
|
|
@@ -52556,12 +52686,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
|
|
|
52556
52686
|
});
|
|
52557
52687
|
|
|
52558
52688
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
|
|
52559
|
-
var
|
|
52689
|
+
var args60, tool$vendorsUpdateVendorCredentialData;
|
|
52560
52690
|
var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
52561
52691
|
init_vendorsUpdateVendorCredentialData();
|
|
52562
52692
|
init_operations();
|
|
52563
52693
|
init_tools();
|
|
52564
|
-
|
|
52694
|
+
args60 = {
|
|
52565
52695
|
request: UpdateVendorCredentialDataRequest$inboundSchema
|
|
52566
52696
|
};
|
|
52567
52697
|
tool$vendorsUpdateVendorCredentialData = {
|
|
@@ -52569,9 +52699,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
|
52569
52699
|
description: `Update vendor credential data
|
|
52570
52700
|
|
|
52571
52701
|
Update vendor credential data`,
|
|
52572
|
-
args:
|
|
52573
|
-
tool: async (client,
|
|
52574
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client,
|
|
52702
|
+
args: args60,
|
|
52703
|
+
tool: async (client, args61, ctx) => {
|
|
52704
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52575
52705
|
if (!result.ok) {
|
|
52576
52706
|
return {
|
|
52577
52707
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52586,9 +52716,9 @@ Update vendor credential data`,
|
|
|
52586
52716
|
|
|
52587
52717
|
// src/funcs/vendorsUpdateVendorCredentialFile.ts
|
|
52588
52718
|
function vendorsUpdateVendorCredentialFile(client, request, options) {
|
|
52589
|
-
return new APIPromise($
|
|
52719
|
+
return new APIPromise($do63(client, request, options));
|
|
52590
52720
|
}
|
|
52591
|
-
async function $
|
|
52721
|
+
async function $do63(client, request, options) {
|
|
52592
52722
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52593
52723
|
if (!parsed.ok) {
|
|
52594
52724
|
return [parsed, { status: "invalid" }];
|
|
@@ -52666,12 +52796,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
|
|
|
52666
52796
|
});
|
|
52667
52797
|
|
|
52668
52798
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
|
|
52669
|
-
var
|
|
52799
|
+
var args61, tool$vendorsUpdateVendorCredentialFile;
|
|
52670
52800
|
var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
52671
52801
|
init_vendorsUpdateVendorCredentialFile();
|
|
52672
52802
|
init_operations();
|
|
52673
52803
|
init_tools();
|
|
52674
|
-
|
|
52804
|
+
args61 = {
|
|
52675
52805
|
request: UpdateVendorCredentialFileRequest$inboundSchema
|
|
52676
52806
|
};
|
|
52677
52807
|
tool$vendorsUpdateVendorCredentialFile = {
|
|
@@ -52679,9 +52809,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
|
52679
52809
|
description: `Update vendor credential file
|
|
52680
52810
|
|
|
52681
52811
|
It will update the vendor credential file properties`,
|
|
52682
|
-
args:
|
|
52683
|
-
tool: async (client,
|
|
52684
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client,
|
|
52812
|
+
args: args61,
|
|
52813
|
+
tool: async (client, args62, ctx) => {
|
|
52814
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52685
52815
|
if (!result.ok) {
|
|
52686
52816
|
return {
|
|
52687
52817
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52696,9 +52826,9 @@ It will update the vendor credential file properties`,
|
|
|
52696
52826
|
|
|
52697
52827
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
52698
52828
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
52699
|
-
return new APIPromise($
|
|
52829
|
+
return new APIPromise($do64(client, request, options));
|
|
52700
52830
|
}
|
|
52701
|
-
async function $
|
|
52831
|
+
async function $do64(client, request, options) {
|
|
52702
52832
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52703
52833
|
if (!parsed.ok) {
|
|
52704
52834
|
return [parsed, { status: "invalid" }];
|
|
@@ -52775,12 +52905,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
52775
52905
|
});
|
|
52776
52906
|
|
|
52777
52907
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
52778
|
-
var
|
|
52908
|
+
var args62, tool$vendorsUpdateVendorDetails;
|
|
52779
52909
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
52780
52910
|
init_vendorsUpdateVendorDetails();
|
|
52781
52911
|
init_operations();
|
|
52782
52912
|
init_tools();
|
|
52783
|
-
|
|
52913
|
+
args62 = {
|
|
52784
52914
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
52785
52915
|
};
|
|
52786
52916
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -52788,9 +52918,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
52788
52918
|
description: `Update vendor details
|
|
52789
52919
|
|
|
52790
52920
|
It will update the vendor details`,
|
|
52791
|
-
args:
|
|
52792
|
-
tool: async (client,
|
|
52793
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
52921
|
+
args: args62,
|
|
52922
|
+
tool: async (client, args63, ctx) => {
|
|
52923
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52794
52924
|
if (!result.ok) {
|
|
52795
52925
|
return {
|
|
52796
52926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52805,9 +52935,9 @@ It will update the vendor details`,
|
|
|
52805
52935
|
|
|
52806
52936
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
52807
52937
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
52808
|
-
return new APIPromise($
|
|
52938
|
+
return new APIPromise($do65(client, request, options));
|
|
52809
52939
|
}
|
|
52810
|
-
async function $
|
|
52940
|
+
async function $do65(client, request, options) {
|
|
52811
52941
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52812
52942
|
if (!parsed.ok) {
|
|
52813
52943
|
return [parsed, { status: "invalid" }];
|
|
@@ -52883,12 +53013,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
52883
53013
|
});
|
|
52884
53014
|
|
|
52885
53015
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
52886
|
-
var
|
|
53016
|
+
var args63, tool$vendorsUpdateVendorManagedByCompany;
|
|
52887
53017
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
52888
53018
|
init_vendorsUpdateVendorManagedByCompany();
|
|
52889
53019
|
init_operations();
|
|
52890
53020
|
init_tools();
|
|
52891
|
-
|
|
53021
|
+
args63 = {
|
|
52892
53022
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
52893
53023
|
};
|
|
52894
53024
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -52896,9 +53026,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
52896
53026
|
description: `Update vendor managed by company access rights
|
|
52897
53027
|
|
|
52898
53028
|
It will update the vendor managed by company access rights`,
|
|
52899
|
-
args:
|
|
52900
|
-
tool: async (client,
|
|
52901
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
53029
|
+
args: args63,
|
|
53030
|
+
tool: async (client, args64, ctx) => {
|
|
53031
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52902
53032
|
if (!result.ok) {
|
|
52903
53033
|
return {
|
|
52904
53034
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52913,9 +53043,9 @@ It will update the vendor managed by company access rights`,
|
|
|
52913
53043
|
|
|
52914
53044
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
52915
53045
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
52916
|
-
return new APIPromise($
|
|
53046
|
+
return new APIPromise($do66(client, request, options));
|
|
52917
53047
|
}
|
|
52918
|
-
async function $
|
|
53048
|
+
async function $do66(client, request, options) {
|
|
52919
53049
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52920
53050
|
if (!parsed.ok) {
|
|
52921
53051
|
return [parsed, { status: "invalid" }];
|
|
@@ -52992,12 +53122,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
52992
53122
|
});
|
|
52993
53123
|
|
|
52994
53124
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
52995
|
-
var
|
|
53125
|
+
var args64, tool$vendorsUpdateVendorScrubDetails;
|
|
52996
53126
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
52997
53127
|
init_vendorsUpdateVendorScrubDetails();
|
|
52998
53128
|
init_operations();
|
|
52999
53129
|
init_tools();
|
|
53000
|
-
|
|
53130
|
+
args64 = {
|
|
53001
53131
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
53002
53132
|
};
|
|
53003
53133
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -53005,9 +53135,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
53005
53135
|
description: `Update vendor scrub details
|
|
53006
53136
|
|
|
53007
53137
|
Update vendor scrub details`,
|
|
53008
|
-
args:
|
|
53009
|
-
tool: async (client,
|
|
53010
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
53138
|
+
args: args64,
|
|
53139
|
+
tool: async (client, args65, ctx) => {
|
|
53140
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53011
53141
|
if (!result.ok) {
|
|
53012
53142
|
return {
|
|
53013
53143
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53022,9 +53152,9 @@ Update vendor scrub details`,
|
|
|
53022
53152
|
|
|
53023
53153
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
53024
53154
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
53025
|
-
return new APIPromise($
|
|
53155
|
+
return new APIPromise($do67(client, request, options));
|
|
53026
53156
|
}
|
|
53027
|
-
async function $
|
|
53157
|
+
async function $do67(client, request, options) {
|
|
53028
53158
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53029
53159
|
if (!parsed.ok) {
|
|
53030
53160
|
return [parsed, { status: "invalid" }];
|
|
@@ -53100,12 +53230,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
53100
53230
|
});
|
|
53101
53231
|
|
|
53102
53232
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
53103
|
-
var
|
|
53233
|
+
var args65, tool$webhooksGetWebhookEndpoint;
|
|
53104
53234
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
53105
53235
|
init_webhooksGetWebhookEndpoint();
|
|
53106
53236
|
init_operations();
|
|
53107
53237
|
init_tools();
|
|
53108
|
-
|
|
53238
|
+
args65 = {
|
|
53109
53239
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
53110
53240
|
};
|
|
53111
53241
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -53113,9 +53243,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
53113
53243
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
53114
53244
|
|
|
53115
53245
|
Returns the definition of a webhook endpoint by ID.`,
|
|
53116
|
-
args:
|
|
53117
|
-
tool: async (client,
|
|
53118
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
53246
|
+
args: args65,
|
|
53247
|
+
tool: async (client, args66, ctx) => {
|
|
53248
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53119
53249
|
if (!result.ok) {
|
|
53120
53250
|
return {
|
|
53121
53251
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53130,9 +53260,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
53130
53260
|
|
|
53131
53261
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
53132
53262
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
53133
|
-
return new APIPromise($
|
|
53263
|
+
return new APIPromise($do68(client, request, options));
|
|
53134
53264
|
}
|
|
53135
|
-
async function $
|
|
53265
|
+
async function $do68(client, request, options) {
|
|
53136
53266
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53137
53267
|
if (!parsed.ok) {
|
|
53138
53268
|
return [parsed, { status: "invalid" }];
|
|
@@ -53208,12 +53338,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
53208
53338
|
});
|
|
53209
53339
|
|
|
53210
53340
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
53211
|
-
var
|
|
53341
|
+
var args66, tool$webhooksListAllWebhookEndpoints;
|
|
53212
53342
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
53213
53343
|
init_webhooksListAllWebhookEndpoints();
|
|
53214
53344
|
init_operations();
|
|
53215
53345
|
init_tools();
|
|
53216
|
-
|
|
53346
|
+
args66 = {
|
|
53217
53347
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
53218
53348
|
};
|
|
53219
53349
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -53221,9 +53351,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
53221
53351
|
description: `List all webhook endpoints
|
|
53222
53352
|
|
|
53223
53353
|
Returns a list of your webhook endpoints.`,
|
|
53224
|
-
args:
|
|
53225
|
-
tool: async (client,
|
|
53226
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
53354
|
+
args: args66,
|
|
53355
|
+
tool: async (client, args67, ctx) => {
|
|
53356
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53227
53357
|
if (!result.ok) {
|
|
53228
53358
|
return {
|
|
53229
53359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53238,9 +53368,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
53238
53368
|
|
|
53239
53369
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53240
53370
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
53241
|
-
return new APIPromise($
|
|
53371
|
+
return new APIPromise($do69(client, request, options));
|
|
53242
53372
|
}
|
|
53243
|
-
async function $
|
|
53373
|
+
async function $do69(client, request, options) {
|
|
53244
53374
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53245
53375
|
if (!parsed.ok) {
|
|
53246
53376
|
return [parsed, { status: "invalid" }];
|
|
@@ -53317,12 +53447,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
53317
53447
|
});
|
|
53318
53448
|
|
|
53319
53449
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53320
|
-
var
|
|
53450
|
+
var args67, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
53321
53451
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
53322
53452
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
53323
53453
|
init_operations();
|
|
53324
53454
|
init_tools();
|
|
53325
|
-
|
|
53455
|
+
args67 = {
|
|
53326
53456
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
53327
53457
|
};
|
|
53328
53458
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -53330,9 +53460,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
53330
53460
|
description: `Updates the webhook endpoint with the given ID.
|
|
53331
53461
|
|
|
53332
53462
|
Updates the webhook endpoint with the given ID.`,
|
|
53333
|
-
args:
|
|
53334
|
-
tool: async (client,
|
|
53335
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
53463
|
+
args: args67,
|
|
53464
|
+
tool: async (client, args68, ctx) => {
|
|
53465
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53336
53466
|
if (!result.ok) {
|
|
53337
53467
|
return {
|
|
53338
53468
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53347,9 +53477,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
53347
53477
|
|
|
53348
53478
|
// src/funcs/zonesGetSecurityZone.ts
|
|
53349
53479
|
function zonesGetSecurityZone(client, request, options) {
|
|
53350
|
-
return new APIPromise($
|
|
53480
|
+
return new APIPromise($do70(client, request, options));
|
|
53351
53481
|
}
|
|
53352
|
-
async function $
|
|
53482
|
+
async function $do70(client, request, options) {
|
|
53353
53483
|
const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53354
53484
|
if (!parsed.ok) {
|
|
53355
53485
|
return [parsed, { status: "invalid" }];
|
|
@@ -53429,12 +53559,12 @@ var init_zonesGetSecurityZone = __esm(() => {
|
|
|
53429
53559
|
});
|
|
53430
53560
|
|
|
53431
53561
|
// src/mcp-server/tools/zonesGetSecurityZone.ts
|
|
53432
|
-
var
|
|
53562
|
+
var args68, tool$zonesGetSecurityZone;
|
|
53433
53563
|
var init_zonesGetSecurityZone2 = __esm(() => {
|
|
53434
53564
|
init_zonesGetSecurityZone();
|
|
53435
53565
|
init_operations();
|
|
53436
53566
|
init_tools();
|
|
53437
|
-
|
|
53567
|
+
args68 = {
|
|
53438
53568
|
request: GetSecurityZoneRequest$inboundSchema
|
|
53439
53569
|
};
|
|
53440
53570
|
tool$zonesGetSecurityZone = {
|
|
@@ -53448,9 +53578,9 @@ Available \`expand\` scopes are:
|
|
|
53448
53578
|
- zone.facility
|
|
53449
53579
|
- zone.department
|
|
53450
53580
|
- zone.rules`,
|
|
53451
|
-
args:
|
|
53452
|
-
tool: async (client,
|
|
53453
|
-
const [result, apiCall] = await zonesGetSecurityZone(client,
|
|
53581
|
+
args: args68,
|
|
53582
|
+
tool: async (client, args69, ctx) => {
|
|
53583
|
+
const [result, apiCall] = await zonesGetSecurityZone(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53454
53584
|
if (!result.ok) {
|
|
53455
53585
|
return {
|
|
53456
53586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53465,9 +53595,9 @@ Available \`expand\` scopes are:
|
|
|
53465
53595
|
|
|
53466
53596
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
53467
53597
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
53468
|
-
return new APIPromise($
|
|
53598
|
+
return new APIPromise($do71(client, request, options));
|
|
53469
53599
|
}
|
|
53470
|
-
async function $
|
|
53600
|
+
async function $do71(client, request, options) {
|
|
53471
53601
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53472
53602
|
if (!parsed.ok) {
|
|
53473
53603
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -53581,12 +53711,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
53581
53711
|
});
|
|
53582
53712
|
|
|
53583
53713
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
53584
|
-
var
|
|
53714
|
+
var args69, tool$zonesListOrSearchSecurityZones;
|
|
53585
53715
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
53586
53716
|
init_zonesListOrSearchSecurityZones();
|
|
53587
53717
|
init_operations();
|
|
53588
53718
|
init_tools();
|
|
53589
|
-
|
|
53719
|
+
args69 = {
|
|
53590
53720
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
53591
53721
|
};
|
|
53592
53722
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -53594,9 +53724,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
53594
53724
|
description: `List or search security zones
|
|
53595
53725
|
|
|
53596
53726
|
List or search security zones`,
|
|
53597
|
-
args:
|
|
53598
|
-
tool: async (client,
|
|
53599
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
53727
|
+
args: args69,
|
|
53728
|
+
tool: async (client, args70, ctx) => {
|
|
53729
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53600
53730
|
if (!result.ok) {
|
|
53601
53731
|
return {
|
|
53602
53732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53611,9 +53741,9 @@ List or search security zones`,
|
|
|
53611
53741
|
|
|
53612
53742
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
53613
53743
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
53614
|
-
return new APIPromise($
|
|
53744
|
+
return new APIPromise($do72(client, request, options));
|
|
53615
53745
|
}
|
|
53616
|
-
async function $
|
|
53746
|
+
async function $do72(client, request, options) {
|
|
53617
53747
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
53618
53748
|
if (!parsed.ok) {
|
|
53619
53749
|
return [parsed, { status: "invalid" }];
|
|
@@ -53683,12 +53813,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
53683
53813
|
});
|
|
53684
53814
|
|
|
53685
53815
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
53686
|
-
var
|
|
53816
|
+
var args70, tool$zonesSecurityZoneCheckin;
|
|
53687
53817
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
53688
53818
|
init_zonesSecurityZoneCheckin();
|
|
53689
53819
|
init_operations();
|
|
53690
53820
|
init_tools();
|
|
53691
|
-
|
|
53821
|
+
args70 = {
|
|
53692
53822
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
53693
53823
|
};
|
|
53694
53824
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -53696,9 +53826,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
53696
53826
|
description: `Security zone checkin request
|
|
53697
53827
|
|
|
53698
53828
|
Security zone checkin request`,
|
|
53699
|
-
args:
|
|
53700
|
-
tool: async (client,
|
|
53701
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
53829
|
+
args: args70,
|
|
53830
|
+
tool: async (client, args71, ctx) => {
|
|
53831
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53702
53832
|
if (!result.ok) {
|
|
53703
53833
|
return {
|
|
53704
53834
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53715,7 +53845,7 @@ Security zone checkin request`,
|
|
|
53715
53845
|
function createMCPServer(deps) {
|
|
53716
53846
|
const server = new McpServer({
|
|
53717
53847
|
name: "GreenSecurity",
|
|
53718
|
-
version: "0.
|
|
53848
|
+
version: "0.38.2"
|
|
53719
53849
|
});
|
|
53720
53850
|
const client = new GreenSecurityCore({
|
|
53721
53851
|
security: deps.security,
|
|
@@ -53754,6 +53884,7 @@ function createMCPServer(deps) {
|
|
|
53754
53884
|
tool(tool$vendorsGetSubscription);
|
|
53755
53885
|
tool(tool$vendorsChangeSubscription);
|
|
53756
53886
|
tool(tool$vendorsListVendorInvoices);
|
|
53887
|
+
tool(tool$vendorsGetVendorInvoiceReceipt);
|
|
53757
53888
|
tool(tool$vendorsGetVendorInvoiceDetails);
|
|
53758
53889
|
tool(tool$vendorsListVendorFacilityStatuses);
|
|
53759
53890
|
tool(tool$vendorsListVendorScrubPurchases);
|
|
@@ -53848,6 +53979,7 @@ var init_server2 = __esm(() => {
|
|
|
53848
53979
|
init_vendorsGetVendorCredentialDetails2();
|
|
53849
53980
|
init_vendorsGetVendorCredentialFile2();
|
|
53850
53981
|
init_vendorsGetVendorInvoiceDetails2();
|
|
53982
|
+
init_vendorsGetVendorInvoiceReceipt2();
|
|
53851
53983
|
init_vendorsGetVendorLegalName2();
|
|
53852
53984
|
init_vendorsGetVendorsDetails2();
|
|
53853
53985
|
init_vendorsListVendorAdditionalFacilityFields2();
|
|
@@ -55069,7 +55201,7 @@ var routes = rn({
|
|
|
55069
55201
|
var app = Ve(routes, {
|
|
55070
55202
|
name: "mcp",
|
|
55071
55203
|
versionInfo: {
|
|
55072
|
-
currentVersion: "0.
|
|
55204
|
+
currentVersion: "0.38.2"
|
|
55073
55205
|
}
|
|
55074
55206
|
});
|
|
55075
55207
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55077,5 +55209,5 @@ export {
|
|
|
55077
55209
|
app
|
|
55078
55210
|
};
|
|
55079
55211
|
|
|
55080
|
-
//# debugId=
|
|
55212
|
+
//# debugId=E191511C7BFC326C64756E2164756E21
|
|
55081
55213
|
//# sourceMappingURL=mcp-server.js.map
|