@greensecurity/javascript-sdk 0.37.14 → 0.39.1
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 +367 -216
- package/bin/mcp-server.js.map +10 -7
- package/dist/commonjs/__tests__/vendors.test.js +17 -0
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +3 -28
- 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 +122 -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 +73 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorinvoicereceipt.js +111 -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 +17 -0
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +3 -28
- 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 +86 -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 +73 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorinvoicereceipt.js +71 -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 +20 -0
- package/src/__tests__/zones.test.ts +3 -28
- package/src/funcs/vendorsGetVendorInvoiceReceipt.ts +176 -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 +165 -0
- package/src/models/operations/index.ts +1 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/vendorsGetVendorInvoiceReceipt.ts +166 -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.39.1",
|
|
34164
|
+
genVersion: "2.660.0",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.39.1 2.660.0 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -42011,6 +42011,47 @@ var init_getvendorinvoicedetails = __esm(() => {
|
|
|
42011
42011
|
})(GetVendorInvoiceDetailsRequest$ ||= {});
|
|
42012
42012
|
});
|
|
42013
42013
|
|
|
42014
|
+
// src/models/operations/getvendorinvoicereceipt.ts
|
|
42015
|
+
var GetVendorInvoiceReceiptRequest$inboundSchema, GetVendorInvoiceReceiptRequest$outboundSchema, GetVendorInvoiceReceiptRequest$, GetVendorInvoiceReceiptResponseBody$inboundSchema, GetVendorInvoiceReceiptResponseBody$outboundSchema, GetVendorInvoiceReceiptResponseBody$;
|
|
42016
|
+
var init_getvendorinvoicereceipt = __esm(() => {
|
|
42017
|
+
init_esm();
|
|
42018
|
+
init_primitives();
|
|
42019
|
+
GetVendorInvoiceReceiptRequest$inboundSchema = objectType({
|
|
42020
|
+
id: numberType().int()
|
|
42021
|
+
});
|
|
42022
|
+
GetVendorInvoiceReceiptRequest$outboundSchema = objectType({
|
|
42023
|
+
id: numberType().int()
|
|
42024
|
+
});
|
|
42025
|
+
((GetVendorInvoiceReceiptRequest$) => {
|
|
42026
|
+
GetVendorInvoiceReceiptRequest$.inboundSchema = GetVendorInvoiceReceiptRequest$inboundSchema;
|
|
42027
|
+
GetVendorInvoiceReceiptRequest$.outboundSchema = GetVendorInvoiceReceiptRequest$outboundSchema;
|
|
42028
|
+
})(GetVendorInvoiceReceiptRequest$ ||= {});
|
|
42029
|
+
GetVendorInvoiceReceiptResponseBody$inboundSchema = objectType({
|
|
42030
|
+
base64_pdf: stringType(),
|
|
42031
|
+
filename: stringType().optional(),
|
|
42032
|
+
content_type: stringType().optional()
|
|
42033
|
+
}).transform((v2) => {
|
|
42034
|
+
return remap(v2, {
|
|
42035
|
+
base64_pdf: "base64Pdf",
|
|
42036
|
+
content_type: "contentType"
|
|
42037
|
+
});
|
|
42038
|
+
});
|
|
42039
|
+
GetVendorInvoiceReceiptResponseBody$outboundSchema = objectType({
|
|
42040
|
+
base64Pdf: stringType(),
|
|
42041
|
+
filename: stringType().optional(),
|
|
42042
|
+
contentType: stringType().optional()
|
|
42043
|
+
}).transform((v2) => {
|
|
42044
|
+
return remap(v2, {
|
|
42045
|
+
base64Pdf: "base64_pdf",
|
|
42046
|
+
contentType: "content_type"
|
|
42047
|
+
});
|
|
42048
|
+
});
|
|
42049
|
+
((GetVendorInvoiceReceiptResponseBody$) => {
|
|
42050
|
+
GetVendorInvoiceReceiptResponseBody$.inboundSchema = GetVendorInvoiceReceiptResponseBody$inboundSchema;
|
|
42051
|
+
GetVendorInvoiceReceiptResponseBody$.outboundSchema = GetVendorInvoiceReceiptResponseBody$outboundSchema;
|
|
42052
|
+
})(GetVendorInvoiceReceiptResponseBody$ ||= {});
|
|
42053
|
+
});
|
|
42054
|
+
|
|
42014
42055
|
// src/models/operations/getvendorlegalname.ts
|
|
42015
42056
|
var GetVendorLegalNameRequest$inboundSchema, GetVendorLegalNameRequest$outboundSchema, GetVendorLegalNameRequest$, GetVendorLegalNameResponseBody$inboundSchema, GetVendorLegalNameResponseBody$outboundSchema, GetVendorLegalNameResponseBody$;
|
|
42016
42057
|
var init_getvendorlegalname = __esm(() => {
|
|
@@ -45166,6 +45207,7 @@ var init_operations = __esm(() => {
|
|
|
45166
45207
|
init_getvendorcredentialdetails();
|
|
45167
45208
|
init_getvendorcredentialfile();
|
|
45168
45209
|
init_getvendorinvoicedetails();
|
|
45210
|
+
init_getvendorinvoicereceipt();
|
|
45169
45211
|
init_getvendorlegalname();
|
|
45170
45212
|
init_getvendorsdetails();
|
|
45171
45213
|
init_getwebhookendpoint();
|
|
@@ -49951,11 +49993,118 @@ invoice.invoice_transactions`,
|
|
|
49951
49993
|
};
|
|
49952
49994
|
});
|
|
49953
49995
|
|
|
49954
|
-
// src/funcs/
|
|
49955
|
-
function
|
|
49996
|
+
// src/funcs/vendorsGetVendorInvoiceReceipt.ts
|
|
49997
|
+
function vendorsGetVendorInvoiceReceipt(client, request, options) {
|
|
49956
49998
|
return new APIPromise($do42(client, request, options));
|
|
49957
49999
|
}
|
|
49958
50000
|
async function $do42(client, request, options) {
|
|
50001
|
+
const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50002
|
+
if (!parsed.ok) {
|
|
50003
|
+
return [parsed, { status: "invalid" }];
|
|
50004
|
+
}
|
|
50005
|
+
const payload = parsed.value;
|
|
50006
|
+
const body = null;
|
|
50007
|
+
const pathParams = {
|
|
50008
|
+
id: encodeSimple("id", payload.id, {
|
|
50009
|
+
explode: false,
|
|
50010
|
+
charEncoding: "percent"
|
|
50011
|
+
})
|
|
50012
|
+
};
|
|
50013
|
+
const path = pathToFunc("/vendors/invoices/{id}/receipt")(pathParams);
|
|
50014
|
+
const headers = new Headers(compactMap({
|
|
50015
|
+
Accept: "application/json"
|
|
50016
|
+
}));
|
|
50017
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
50018
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50019
|
+
const context = {
|
|
50020
|
+
options: client._options,
|
|
50021
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50022
|
+
operationID: "getVendorInvoiceReceipt",
|
|
50023
|
+
oAuth2Scopes: [],
|
|
50024
|
+
resolvedSecurity: requestSecurity,
|
|
50025
|
+
securitySource: client._options.security,
|
|
50026
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
50027
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
50028
|
+
};
|
|
50029
|
+
const requestRes = client._createRequest(context, {
|
|
50030
|
+
security: requestSecurity,
|
|
50031
|
+
method: "GET",
|
|
50032
|
+
baseURL: options?.serverURL,
|
|
50033
|
+
path,
|
|
50034
|
+
headers,
|
|
50035
|
+
body,
|
|
50036
|
+
userAgent: client._options.userAgent,
|
|
50037
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50038
|
+
}, options);
|
|
50039
|
+
if (!requestRes.ok) {
|
|
50040
|
+
return [requestRes, { status: "invalid" }];
|
|
50041
|
+
}
|
|
50042
|
+
const req = requestRes.value;
|
|
50043
|
+
const doResult = await client._do(req, {
|
|
50044
|
+
context,
|
|
50045
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
50046
|
+
retryConfig: context.retryConfig,
|
|
50047
|
+
retryCodes: context.retryCodes
|
|
50048
|
+
});
|
|
50049
|
+
if (!doResult.ok) {
|
|
50050
|
+
return [doResult, { status: "request-error", request: req }];
|
|
50051
|
+
}
|
|
50052
|
+
const response = doResult.value;
|
|
50053
|
+
const responseFields = {
|
|
50054
|
+
HttpMeta: { Response: response, Request: req }
|
|
50055
|
+
};
|
|
50056
|
+
const [result] = await match(json(200, GetVendorInvoiceReceiptResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
50057
|
+
if (!result.ok) {
|
|
50058
|
+
return [result, { status: "complete", request: req, response }];
|
|
50059
|
+
}
|
|
50060
|
+
return [result, { status: "complete", request: req, response }];
|
|
50061
|
+
}
|
|
50062
|
+
var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
|
|
50063
|
+
init_encodings();
|
|
50064
|
+
init_matchers();
|
|
50065
|
+
init_primitives();
|
|
50066
|
+
init_schemas();
|
|
50067
|
+
init_security();
|
|
50068
|
+
init_url();
|
|
50069
|
+
init_errors2();
|
|
50070
|
+
init_operations();
|
|
50071
|
+
init_async();
|
|
50072
|
+
});
|
|
50073
|
+
|
|
50074
|
+
// src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
|
|
50075
|
+
var args40, tool$vendorsGetVendorInvoiceReceipt;
|
|
50076
|
+
var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
|
|
50077
|
+
init_vendorsGetVendorInvoiceReceipt();
|
|
50078
|
+
init_operations();
|
|
50079
|
+
init_tools();
|
|
50080
|
+
args40 = {
|
|
50081
|
+
request: GetVendorInvoiceReceiptRequest$inboundSchema
|
|
50082
|
+
};
|
|
50083
|
+
tool$vendorsGetVendorInvoiceReceipt = {
|
|
50084
|
+
name: "vendors-get-vendor-invoice-receipt",
|
|
50085
|
+
description: `Get invoice receipt for vendor
|
|
50086
|
+
|
|
50087
|
+
Get invoice receipt for vendor`,
|
|
50088
|
+
args: args40,
|
|
50089
|
+
tool: async (client, args41, ctx) => {
|
|
50090
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50091
|
+
if (!result.ok) {
|
|
50092
|
+
return {
|
|
50093
|
+
content: [{ type: "text", text: result.error.message }],
|
|
50094
|
+
isError: true
|
|
50095
|
+
};
|
|
50096
|
+
}
|
|
50097
|
+
const value = result.value;
|
|
50098
|
+
return formatResult(value, apiCall);
|
|
50099
|
+
}
|
|
50100
|
+
};
|
|
50101
|
+
});
|
|
50102
|
+
|
|
50103
|
+
// src/funcs/vendorsGetVendorLegalName.ts
|
|
50104
|
+
function vendorsGetVendorLegalName(client, request, options) {
|
|
50105
|
+
return new APIPromise($do43(client, request, options));
|
|
50106
|
+
}
|
|
50107
|
+
async function $do43(client, request, options) {
|
|
49959
50108
|
const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49960
50109
|
if (!parsed.ok) {
|
|
49961
50110
|
return [parsed, { status: "invalid" }];
|
|
@@ -50030,12 +50179,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
|
|
|
50030
50179
|
});
|
|
50031
50180
|
|
|
50032
50181
|
// src/mcp-server/tools/vendorsGetVendorLegalName.ts
|
|
50033
|
-
var
|
|
50182
|
+
var args41, tool$vendorsGetVendorLegalName;
|
|
50034
50183
|
var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
50035
50184
|
init_vendorsGetVendorLegalName();
|
|
50036
50185
|
init_operations();
|
|
50037
50186
|
init_tools();
|
|
50038
|
-
|
|
50187
|
+
args41 = {
|
|
50039
50188
|
request: GetVendorLegalNameRequest$inboundSchema
|
|
50040
50189
|
};
|
|
50041
50190
|
tool$vendorsGetVendorLegalName = {
|
|
@@ -50043,9 +50192,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
|
50043
50192
|
description: `Get Vendor legal name
|
|
50044
50193
|
|
|
50045
50194
|
Get vendor legal name`,
|
|
50046
|
-
args:
|
|
50047
|
-
tool: async (client,
|
|
50048
|
-
const [result, apiCall] = await vendorsGetVendorLegalName(client,
|
|
50195
|
+
args: args41,
|
|
50196
|
+
tool: async (client, args42, ctx) => {
|
|
50197
|
+
const [result, apiCall] = await vendorsGetVendorLegalName(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50049
50198
|
if (!result.ok) {
|
|
50050
50199
|
return {
|
|
50051
50200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50060,9 +50209,9 @@ Get vendor legal name`,
|
|
|
50060
50209
|
|
|
50061
50210
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
50062
50211
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
50063
|
-
return new APIPromise($
|
|
50212
|
+
return new APIPromise($do44(client, request, options));
|
|
50064
50213
|
}
|
|
50065
|
-
async function $
|
|
50214
|
+
async function $do44(client, request, options) {
|
|
50066
50215
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50067
50216
|
if (!parsed.ok) {
|
|
50068
50217
|
return [parsed, { status: "invalid" }];
|
|
@@ -50142,12 +50291,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
50142
50291
|
});
|
|
50143
50292
|
|
|
50144
50293
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
50145
|
-
var
|
|
50294
|
+
var args42, tool$vendorsGetVendorsDetails;
|
|
50146
50295
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
50147
50296
|
init_vendorsGetVendorsDetails();
|
|
50148
50297
|
init_operations();
|
|
50149
50298
|
init_tools();
|
|
50150
|
-
|
|
50299
|
+
args42 = {
|
|
50151
50300
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
50152
50301
|
};
|
|
50153
50302
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -50176,9 +50325,9 @@ vendor.registration_finished
|
|
|
50176
50325
|
vendor.target_facilities
|
|
50177
50326
|
vendor.pending_invoice
|
|
50178
50327
|
vendor.vendor_groups`,
|
|
50179
|
-
args:
|
|
50180
|
-
tool: async (client,
|
|
50181
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
50328
|
+
args: args42,
|
|
50329
|
+
tool: async (client, args43, ctx) => {
|
|
50330
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50182
50331
|
if (!result.ok) {
|
|
50183
50332
|
return {
|
|
50184
50333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50193,9 +50342,9 @@ vendor.vendor_groups`,
|
|
|
50193
50342
|
|
|
50194
50343
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
50195
50344
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
50196
|
-
return new APIPromise($
|
|
50345
|
+
return new APIPromise($do45(client, request, options));
|
|
50197
50346
|
}
|
|
50198
|
-
async function $
|
|
50347
|
+
async function $do45(client, request, options) {
|
|
50199
50348
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50200
50349
|
if (!parsed.ok) {
|
|
50201
50350
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50307,12 +50456,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
50307
50456
|
});
|
|
50308
50457
|
|
|
50309
50458
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
50310
|
-
var
|
|
50459
|
+
var args43, tool$vendorsListVendorAdditionalFacilityFields;
|
|
50311
50460
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
50312
50461
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
50313
50462
|
init_operations();
|
|
50314
50463
|
init_tools();
|
|
50315
|
-
|
|
50464
|
+
args43 = {
|
|
50316
50465
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
50317
50466
|
};
|
|
50318
50467
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -50320,9 +50469,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
50320
50469
|
description: `List of vendor's additional facility fields
|
|
50321
50470
|
|
|
50322
50471
|
List of vendor's additional facility fields`,
|
|
50323
|
-
args:
|
|
50324
|
-
tool: async (client,
|
|
50325
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
50472
|
+
args: args43,
|
|
50473
|
+
tool: async (client, args44, ctx) => {
|
|
50474
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50326
50475
|
if (!result.ok) {
|
|
50327
50476
|
return {
|
|
50328
50477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50337,9 +50486,9 @@ List of vendor's additional facility fields`,
|
|
|
50337
50486
|
|
|
50338
50487
|
// src/funcs/vendorsListVendorCredentialDataRequests.ts
|
|
50339
50488
|
function vendorsListVendorCredentialDataRequests(client, request, options) {
|
|
50340
|
-
return new APIPromise($
|
|
50489
|
+
return new APIPromise($do46(client, request, options));
|
|
50341
50490
|
}
|
|
50342
|
-
async function $
|
|
50491
|
+
async function $do46(client, request, options) {
|
|
50343
50492
|
const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50344
50493
|
if (!parsed.ok) {
|
|
50345
50494
|
return [parsed, { status: "invalid" }];
|
|
@@ -50422,12 +50571,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
|
|
|
50422
50571
|
});
|
|
50423
50572
|
|
|
50424
50573
|
// src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
|
|
50425
|
-
var
|
|
50574
|
+
var args44, tool$vendorsListVendorCredentialDataRequests;
|
|
50426
50575
|
var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
|
|
50427
50576
|
init_vendorsListVendorCredentialDataRequests();
|
|
50428
50577
|
init_operations();
|
|
50429
50578
|
init_tools();
|
|
50430
|
-
|
|
50579
|
+
args44 = {
|
|
50431
50580
|
request: ListVendorCredentialDataRequestsRequest$inboundSchema
|
|
50432
50581
|
};
|
|
50433
50582
|
tool$vendorsListVendorCredentialDataRequests = {
|
|
@@ -50440,9 +50589,9 @@ Available \`expand\` scopes are:
|
|
|
50440
50589
|
|
|
50441
50590
|
- vendor_credential_data_request.vendor_credential
|
|
50442
50591
|
- vendor_credential_data_request.data_request`,
|
|
50443
|
-
args:
|
|
50444
|
-
tool: async (client,
|
|
50445
|
-
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client,
|
|
50592
|
+
args: args44,
|
|
50593
|
+
tool: async (client, args45, ctx) => {
|
|
50594
|
+
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50446
50595
|
if (!result.ok) {
|
|
50447
50596
|
return {
|
|
50448
50597
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50457,9 +50606,9 @@ Available \`expand\` scopes are:
|
|
|
50457
50606
|
|
|
50458
50607
|
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
50459
50608
|
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
50460
|
-
return new APIPromise($
|
|
50609
|
+
return new APIPromise($do47(client, request, options));
|
|
50461
50610
|
}
|
|
50462
|
-
async function $
|
|
50611
|
+
async function $do47(client, request, options) {
|
|
50463
50612
|
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50464
50613
|
if (!parsed.ok) {
|
|
50465
50614
|
return [parsed, { status: "invalid" }];
|
|
@@ -50542,12 +50691,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
|
50542
50691
|
});
|
|
50543
50692
|
|
|
50544
50693
|
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
50545
|
-
var
|
|
50694
|
+
var args45, tool$vendorsListVendorCredentialFiles;
|
|
50546
50695
|
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
50547
50696
|
init_vendorsListVendorCredentialFiles();
|
|
50548
50697
|
init_operations();
|
|
50549
50698
|
init_tools();
|
|
50550
|
-
|
|
50699
|
+
args45 = {
|
|
50551
50700
|
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
50552
50701
|
};
|
|
50553
50702
|
tool$vendorsListVendorCredentialFiles = {
|
|
@@ -50560,9 +50709,9 @@ Available \`expand\` scopes are:
|
|
|
50560
50709
|
|
|
50561
50710
|
- vendor_credential_file.vendor_credential
|
|
50562
50711
|
- vendor_credential_file.credential_document`,
|
|
50563
|
-
args:
|
|
50564
|
-
tool: async (client,
|
|
50565
|
-
const [result, apiCall] = await vendorsListVendorCredentialFiles(client,
|
|
50712
|
+
args: args45,
|
|
50713
|
+
tool: async (client, args46, ctx) => {
|
|
50714
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50566
50715
|
if (!result.ok) {
|
|
50567
50716
|
return {
|
|
50568
50717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50577,9 +50726,9 @@ Available \`expand\` scopes are:
|
|
|
50577
50726
|
|
|
50578
50727
|
// src/funcs/vendorsListVendorCredentialHistory.ts
|
|
50579
50728
|
function vendorsListVendorCredentialHistory(client, request, options) {
|
|
50580
|
-
return new APIPromise($
|
|
50729
|
+
return new APIPromise($do48(client, request, options));
|
|
50581
50730
|
}
|
|
50582
|
-
async function $
|
|
50731
|
+
async function $do48(client, request, options) {
|
|
50583
50732
|
const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50584
50733
|
if (!parsed.ok) {
|
|
50585
50734
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50694,12 +50843,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
|
|
|
50694
50843
|
});
|
|
50695
50844
|
|
|
50696
50845
|
// src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
|
|
50697
|
-
var
|
|
50846
|
+
var args46, tool$vendorsListVendorCredentialHistory;
|
|
50698
50847
|
var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
50699
50848
|
init_vendorsListVendorCredentialHistory();
|
|
50700
50849
|
init_operations();
|
|
50701
50850
|
init_tools();
|
|
50702
|
-
|
|
50851
|
+
args46 = {
|
|
50703
50852
|
request: ListVendorCredentialHistoryRequest$inboundSchema
|
|
50704
50853
|
};
|
|
50705
50854
|
tool$vendorsListVendorCredentialHistory = {
|
|
@@ -50707,9 +50856,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
|
50707
50856
|
description: `List Vendor Credential History
|
|
50708
50857
|
|
|
50709
50858
|
Lists vendor credentials history`,
|
|
50710
|
-
args:
|
|
50711
|
-
tool: async (client,
|
|
50712
|
-
const [result, apiCall] = await vendorsListVendorCredentialHistory(client,
|
|
50859
|
+
args: args46,
|
|
50860
|
+
tool: async (client, args47, ctx) => {
|
|
50861
|
+
const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50713
50862
|
if (!result.ok) {
|
|
50714
50863
|
return {
|
|
50715
50864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50724,9 +50873,9 @@ Lists vendor credentials history`,
|
|
|
50724
50873
|
|
|
50725
50874
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
50726
50875
|
function vendorsListVendorCredentials(client, request, options) {
|
|
50727
|
-
return new APIPromise($
|
|
50876
|
+
return new APIPromise($do49(client, request, options));
|
|
50728
50877
|
}
|
|
50729
|
-
async function $
|
|
50878
|
+
async function $do49(client, request, options) {
|
|
50730
50879
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50731
50880
|
if (!parsed.ok) {
|
|
50732
50881
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50846,12 +50995,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
50846
50995
|
});
|
|
50847
50996
|
|
|
50848
50997
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
50849
|
-
var
|
|
50998
|
+
var args47, tool$vendorsListVendorCredentials;
|
|
50850
50999
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
50851
51000
|
init_vendorsListVendorCredentials();
|
|
50852
51001
|
init_operations();
|
|
50853
51002
|
init_tools();
|
|
50854
|
-
|
|
51003
|
+
args47 = {
|
|
50855
51004
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
50856
51005
|
};
|
|
50857
51006
|
tool$vendorsListVendorCredentials = {
|
|
@@ -50859,9 +51008,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
50859
51008
|
description: `List Vendor Credentials
|
|
50860
51009
|
|
|
50861
51010
|
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,
|
|
51011
|
+
args: args47,
|
|
51012
|
+
tool: async (client, args48, ctx) => {
|
|
51013
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50865
51014
|
if (!result.ok) {
|
|
50866
51015
|
return {
|
|
50867
51016
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50876,9 +51025,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
50876
51025
|
|
|
50877
51026
|
// src/funcs/vendorsListVendorCredits.ts
|
|
50878
51027
|
function vendorsListVendorCredits(client, request, options) {
|
|
50879
|
-
return new APIPromise($
|
|
51028
|
+
return new APIPromise($do50(client, request, options));
|
|
50880
51029
|
}
|
|
50881
|
-
async function $
|
|
51030
|
+
async function $do50(client, request, options) {
|
|
50882
51031
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50883
51032
|
if (!parsed.ok) {
|
|
50884
51033
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50992,12 +51141,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
50992
51141
|
});
|
|
50993
51142
|
|
|
50994
51143
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
50995
|
-
var
|
|
51144
|
+
var args48, tool$vendorsListVendorCredits;
|
|
50996
51145
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
50997
51146
|
init_vendorsListVendorCredits();
|
|
50998
51147
|
init_operations();
|
|
50999
51148
|
init_tools();
|
|
51000
|
-
|
|
51149
|
+
args48 = {
|
|
51001
51150
|
request: ListVendorCreditsRequest$inboundSchema
|
|
51002
51151
|
};
|
|
51003
51152
|
tool$vendorsListVendorCredits = {
|
|
@@ -51005,9 +51154,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
51005
51154
|
description: `List vendor credits
|
|
51006
51155
|
|
|
51007
51156
|
List the credits for the vendor`,
|
|
51008
|
-
args:
|
|
51009
|
-
tool: async (client,
|
|
51010
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
51157
|
+
args: args48,
|
|
51158
|
+
tool: async (client, args49, ctx) => {
|
|
51159
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51011
51160
|
if (!result.ok) {
|
|
51012
51161
|
return {
|
|
51013
51162
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51022,9 +51171,9 @@ List the credits for the vendor`,
|
|
|
51022
51171
|
|
|
51023
51172
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
51024
51173
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
51025
|
-
return new APIPromise($
|
|
51174
|
+
return new APIPromise($do51(client, request, options));
|
|
51026
51175
|
}
|
|
51027
|
-
async function $
|
|
51176
|
+
async function $do51(client, request, options) {
|
|
51028
51177
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51029
51178
|
if (!parsed.ok) {
|
|
51030
51179
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51142,12 +51291,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
51142
51291
|
});
|
|
51143
51292
|
|
|
51144
51293
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
51145
|
-
var
|
|
51294
|
+
var args49, tool$vendorsListVendorFacilityStatuses;
|
|
51146
51295
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
51147
51296
|
init_vendorsListVendorFacilityStatuses();
|
|
51148
51297
|
init_operations();
|
|
51149
51298
|
init_tools();
|
|
51150
|
-
|
|
51299
|
+
args49 = {
|
|
51151
51300
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
51152
51301
|
};
|
|
51153
51302
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -51155,9 +51304,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
51155
51304
|
description: `List vendor facility statuses
|
|
51156
51305
|
|
|
51157
51306
|
List the facilities for the vendor`,
|
|
51158
|
-
args:
|
|
51159
|
-
tool: async (client,
|
|
51160
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
51307
|
+
args: args49,
|
|
51308
|
+
tool: async (client, args50, ctx) => {
|
|
51309
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51161
51310
|
if (!result.ok) {
|
|
51162
51311
|
return {
|
|
51163
51312
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51172,9 +51321,9 @@ List the facilities for the vendor`,
|
|
|
51172
51321
|
|
|
51173
51322
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
51174
51323
|
function vendorsListVendorInvoices(client, request, options) {
|
|
51175
|
-
return new APIPromise($
|
|
51324
|
+
return new APIPromise($do52(client, request, options));
|
|
51176
51325
|
}
|
|
51177
|
-
async function $
|
|
51326
|
+
async function $do52(client, request, options) {
|
|
51178
51327
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51179
51328
|
if (!parsed.ok) {
|
|
51180
51329
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51292,12 +51441,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
51292
51441
|
});
|
|
51293
51442
|
|
|
51294
51443
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
51295
|
-
var
|
|
51444
|
+
var args50, tool$vendorsListVendorInvoices;
|
|
51296
51445
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
51297
51446
|
init_vendorsListVendorInvoices();
|
|
51298
51447
|
init_operations();
|
|
51299
51448
|
init_tools();
|
|
51300
|
-
|
|
51449
|
+
args50 = {
|
|
51301
51450
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
51302
51451
|
};
|
|
51303
51452
|
tool$vendorsListVendorInvoices = {
|
|
@@ -51309,9 +51458,9 @@ List invoices for Vendors
|
|
|
51309
51458
|
Available \`expand\` scopes are:
|
|
51310
51459
|
|
|
51311
51460
|
invoice.line_items`,
|
|
51312
|
-
args:
|
|
51313
|
-
tool: async (client,
|
|
51314
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
51461
|
+
args: args50,
|
|
51462
|
+
tool: async (client, args51, ctx) => {
|
|
51463
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51315
51464
|
if (!result.ok) {
|
|
51316
51465
|
return {
|
|
51317
51466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51326,9 +51475,9 @@ invoice.line_items`,
|
|
|
51326
51475
|
|
|
51327
51476
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
51328
51477
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
51329
|
-
return new APIPromise($
|
|
51478
|
+
return new APIPromise($do53(client, request, options));
|
|
51330
51479
|
}
|
|
51331
|
-
async function $
|
|
51480
|
+
async function $do53(client, request, options) {
|
|
51332
51481
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51333
51482
|
if (!parsed.ok) {
|
|
51334
51483
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51437,12 +51586,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
51437
51586
|
});
|
|
51438
51587
|
|
|
51439
51588
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
51440
|
-
var
|
|
51589
|
+
var args51, tool$vendorsListVendorJobTitles;
|
|
51441
51590
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
51442
51591
|
init_vendorsListVendorJobTitles();
|
|
51443
51592
|
init_operations();
|
|
51444
51593
|
init_tools();
|
|
51445
|
-
|
|
51594
|
+
args51 = {
|
|
51446
51595
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
51447
51596
|
};
|
|
51448
51597
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -51450,9 +51599,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
51450
51599
|
description: `List vendor job titles
|
|
51451
51600
|
|
|
51452
51601
|
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,
|
|
51602
|
+
args: args51,
|
|
51603
|
+
tool: async (client, args52, ctx) => {
|
|
51604
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51456
51605
|
if (!result.ok) {
|
|
51457
51606
|
return {
|
|
51458
51607
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51467,9 +51616,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
51467
51616
|
|
|
51468
51617
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
51469
51618
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
51470
|
-
return new APIPromise($
|
|
51619
|
+
return new APIPromise($do54(client, request, options));
|
|
51471
51620
|
}
|
|
51472
|
-
async function $
|
|
51621
|
+
async function $do54(client, request, options) {
|
|
51473
51622
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51474
51623
|
if (!parsed.ok) {
|
|
51475
51624
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51583,12 +51732,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
51583
51732
|
});
|
|
51584
51733
|
|
|
51585
51734
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
51586
|
-
var
|
|
51735
|
+
var args52, tool$vendorsListVendorManagedByCompanies;
|
|
51587
51736
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
51588
51737
|
init_vendorsListVendorManagedByCompanies();
|
|
51589
51738
|
init_operations();
|
|
51590
51739
|
init_tools();
|
|
51591
|
-
|
|
51740
|
+
args52 = {
|
|
51592
51741
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
51593
51742
|
};
|
|
51594
51743
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -51596,9 +51745,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
51596
51745
|
description: `List of companies managing the vendor
|
|
51597
51746
|
|
|
51598
51747
|
List of companies managing the vendor`,
|
|
51599
|
-
args:
|
|
51600
|
-
tool: async (client,
|
|
51601
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
51748
|
+
args: args52,
|
|
51749
|
+
tool: async (client, args53, ctx) => {
|
|
51750
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51602
51751
|
if (!result.ok) {
|
|
51603
51752
|
return {
|
|
51604
51753
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51613,9 +51762,9 @@ List of companies managing the vendor`,
|
|
|
51613
51762
|
|
|
51614
51763
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
51615
51764
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
51616
|
-
return new APIPromise($
|
|
51765
|
+
return new APIPromise($do55(client, request, options));
|
|
51617
51766
|
}
|
|
51618
|
-
async function $
|
|
51767
|
+
async function $do55(client, request, options) {
|
|
51619
51768
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51620
51769
|
if (!parsed.ok) {
|
|
51621
51770
|
return [parsed, { status: "invalid" }];
|
|
@@ -51691,12 +51840,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
51691
51840
|
});
|
|
51692
51841
|
|
|
51693
51842
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
51694
|
-
var
|
|
51843
|
+
var args53, tool$vendorsListVendorScrubDetails;
|
|
51695
51844
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
51696
51845
|
init_vendorsListVendorScrubDetails();
|
|
51697
51846
|
init_operations();
|
|
51698
51847
|
init_tools();
|
|
51699
|
-
|
|
51848
|
+
args53 = {
|
|
51700
51849
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
51701
51850
|
};
|
|
51702
51851
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -51704,9 +51853,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
51704
51853
|
description: `List vendor scrub details
|
|
51705
51854
|
|
|
51706
51855
|
List vendor scrub details`,
|
|
51707
|
-
args:
|
|
51708
|
-
tool: async (client,
|
|
51709
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
51856
|
+
args: args53,
|
|
51857
|
+
tool: async (client, args54, ctx) => {
|
|
51858
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51710
51859
|
if (!result.ok) {
|
|
51711
51860
|
return {
|
|
51712
51861
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51721,9 +51870,9 @@ List vendor scrub details`,
|
|
|
51721
51870
|
|
|
51722
51871
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
51723
51872
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
51724
|
-
return new APIPromise($
|
|
51873
|
+
return new APIPromise($do56(client, request, options));
|
|
51725
51874
|
}
|
|
51726
|
-
async function $
|
|
51875
|
+
async function $do56(client, request, options) {
|
|
51727
51876
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51728
51877
|
if (!parsed.ok) {
|
|
51729
51878
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51837,12 +51986,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
51837
51986
|
});
|
|
51838
51987
|
|
|
51839
51988
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
51840
|
-
var
|
|
51989
|
+
var args54, tool$vendorsListVendorScrubPackages;
|
|
51841
51990
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
51842
51991
|
init_vendorsListVendorScrubPackages();
|
|
51843
51992
|
init_operations();
|
|
51844
51993
|
init_tools();
|
|
51845
|
-
|
|
51994
|
+
args54 = {
|
|
51846
51995
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
51847
51996
|
};
|
|
51848
51997
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -51850,9 +51999,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
51850
51999
|
description: `List vendor scrub packages
|
|
51851
52000
|
|
|
51852
52001
|
List vendor scrub packages`,
|
|
51853
|
-
args:
|
|
51854
|
-
tool: async (client,
|
|
51855
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
52002
|
+
args: args54,
|
|
52003
|
+
tool: async (client, args55, ctx) => {
|
|
52004
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51856
52005
|
if (!result.ok) {
|
|
51857
52006
|
return {
|
|
51858
52007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51867,9 +52016,9 @@ List vendor scrub packages`,
|
|
|
51867
52016
|
|
|
51868
52017
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
51869
52018
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
51870
|
-
return new APIPromise($
|
|
52019
|
+
return new APIPromise($do57(client, request, options));
|
|
51871
52020
|
}
|
|
51872
|
-
async function $
|
|
52021
|
+
async function $do57(client, request, options) {
|
|
51873
52022
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51874
52023
|
if (!parsed.ok) {
|
|
51875
52024
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51983,12 +52132,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
51983
52132
|
});
|
|
51984
52133
|
|
|
51985
52134
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
51986
|
-
var
|
|
52135
|
+
var args55, tool$vendorsListVendorScrubPurchases;
|
|
51987
52136
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
51988
52137
|
init_vendorsListVendorScrubPurchases();
|
|
51989
52138
|
init_operations();
|
|
51990
52139
|
init_tools();
|
|
51991
|
-
|
|
52140
|
+
args55 = {
|
|
51992
52141
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
51993
52142
|
};
|
|
51994
52143
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -51996,9 +52145,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
51996
52145
|
description: `List vendor scrub purchases
|
|
51997
52146
|
|
|
51998
52147
|
List vendor scrub purchases`,
|
|
51999
|
-
args:
|
|
52000
|
-
tool: async (client,
|
|
52001
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
52148
|
+
args: args55,
|
|
52149
|
+
tool: async (client, args56, ctx) => {
|
|
52150
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52002
52151
|
if (!result.ok) {
|
|
52003
52152
|
return {
|
|
52004
52153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52013,9 +52162,9 @@ List vendor scrub purchases`,
|
|
|
52013
52162
|
|
|
52014
52163
|
// src/funcs/vendorsListVendorTypes.ts
|
|
52015
52164
|
function vendorsListVendorTypes(client, request, options) {
|
|
52016
|
-
return new APIPromise($
|
|
52165
|
+
return new APIPromise($do58(client, request, options));
|
|
52017
52166
|
}
|
|
52018
|
-
async function $
|
|
52167
|
+
async function $do58(client, request, options) {
|
|
52019
52168
|
const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52020
52169
|
if (!parsed.ok) {
|
|
52021
52170
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -52123,12 +52272,12 @@ var init_vendorsListVendorTypes = __esm(() => {
|
|
|
52123
52272
|
});
|
|
52124
52273
|
|
|
52125
52274
|
// src/mcp-server/tools/vendorsListVendorTypes.ts
|
|
52126
|
-
var
|
|
52275
|
+
var args56, tool$vendorsListVendorTypes;
|
|
52127
52276
|
var init_vendorsListVendorTypes2 = __esm(() => {
|
|
52128
52277
|
init_vendorsListVendorTypes();
|
|
52129
52278
|
init_operations();
|
|
52130
52279
|
init_tools();
|
|
52131
|
-
|
|
52280
|
+
args56 = {
|
|
52132
52281
|
request: ListVendorTypesRequest$inboundSchema
|
|
52133
52282
|
};
|
|
52134
52283
|
tool$vendorsListVendorTypes = {
|
|
@@ -52136,9 +52285,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
|
|
|
52136
52285
|
description: `List vendor types
|
|
52137
52286
|
|
|
52138
52287
|
List vendor types.`,
|
|
52139
|
-
args:
|
|
52140
|
-
tool: async (client,
|
|
52141
|
-
const [result, apiCall] = await vendorsListVendorTypes(client,
|
|
52288
|
+
args: args56,
|
|
52289
|
+
tool: async (client, args57, ctx) => {
|
|
52290
|
+
const [result, apiCall] = await vendorsListVendorTypes(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52142
52291
|
if (!result.ok) {
|
|
52143
52292
|
return {
|
|
52144
52293
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52153,9 +52302,9 @@ List vendor types.`,
|
|
|
52153
52302
|
|
|
52154
52303
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
52155
52304
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
52156
|
-
return new APIPromise($
|
|
52305
|
+
return new APIPromise($do59(client, request, options));
|
|
52157
52306
|
}
|
|
52158
|
-
async function $
|
|
52307
|
+
async function $do59(client, request, options) {
|
|
52159
52308
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52160
52309
|
if (!parsed.ok) {
|
|
52161
52310
|
return [parsed, { status: "invalid" }];
|
|
@@ -52231,12 +52380,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
52231
52380
|
});
|
|
52232
52381
|
|
|
52233
52382
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
52234
|
-
var
|
|
52383
|
+
var args57, tool$vendorsPurchaseScrubCredits;
|
|
52235
52384
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
52236
52385
|
init_vendorsPurchaseScrubCredits();
|
|
52237
52386
|
init_operations();
|
|
52238
52387
|
init_tools();
|
|
52239
|
-
|
|
52388
|
+
args57 = {
|
|
52240
52389
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
52241
52390
|
};
|
|
52242
52391
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -52244,9 +52393,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
52244
52393
|
description: `Purchase scrub credits
|
|
52245
52394
|
|
|
52246
52395
|
Purchase scrub credits`,
|
|
52247
|
-
args:
|
|
52248
|
-
tool: async (client,
|
|
52249
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
52396
|
+
args: args57,
|
|
52397
|
+
tool: async (client, args58, ctx) => {
|
|
52398
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52250
52399
|
if (!result.ok) {
|
|
52251
52400
|
return {
|
|
52252
52401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52261,9 +52410,9 @@ Purchase scrub credits`,
|
|
|
52261
52410
|
|
|
52262
52411
|
// src/funcs/vendorsSendDownloadCode.ts
|
|
52263
52412
|
function vendorsSendDownloadCode(client, request, options) {
|
|
52264
|
-
return new APIPromise($
|
|
52413
|
+
return new APIPromise($do60(client, request, options));
|
|
52265
52414
|
}
|
|
52266
|
-
async function $
|
|
52415
|
+
async function $do60(client, request, options) {
|
|
52267
52416
|
const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52268
52417
|
if (!parsed.ok) {
|
|
52269
52418
|
return [parsed, { status: "invalid" }];
|
|
@@ -52337,12 +52486,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
|
|
|
52337
52486
|
});
|
|
52338
52487
|
|
|
52339
52488
|
// src/mcp-server/tools/vendorsSendDownloadCode.ts
|
|
52340
|
-
var
|
|
52489
|
+
var args58, tool$vendorsSendDownloadCode;
|
|
52341
52490
|
var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
52342
52491
|
init_vendorsSendDownloadCode();
|
|
52343
52492
|
init_operations();
|
|
52344
52493
|
init_tools();
|
|
52345
|
-
|
|
52494
|
+
args58 = {
|
|
52346
52495
|
request: SendDownloadCodeRequest$inboundSchema
|
|
52347
52496
|
};
|
|
52348
52497
|
tool$vendorsSendDownloadCode = {
|
|
@@ -52350,9 +52499,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
|
52350
52499
|
description: `Send download code for vendor credential
|
|
52351
52500
|
|
|
52352
52501
|
It will send download code for vendor credential`,
|
|
52353
|
-
args:
|
|
52354
|
-
tool: async (client,
|
|
52355
|
-
const [result, apiCall] = await vendorsSendDownloadCode(client,
|
|
52502
|
+
args: args58,
|
|
52503
|
+
tool: async (client, args59, ctx) => {
|
|
52504
|
+
const [result, apiCall] = await vendorsSendDownloadCode(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52356
52505
|
if (!result.ok) {
|
|
52357
52506
|
return {
|
|
52358
52507
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52367,9 +52516,9 @@ It will send download code for vendor credential`,
|
|
|
52367
52516
|
|
|
52368
52517
|
// src/funcs/vendorsSubmitVendorCredential.ts
|
|
52369
52518
|
function vendorsSubmitVendorCredential(client, request, options) {
|
|
52370
|
-
return new APIPromise($
|
|
52519
|
+
return new APIPromise($do61(client, request, options));
|
|
52371
52520
|
}
|
|
52372
|
-
async function $
|
|
52521
|
+
async function $do61(client, request, options) {
|
|
52373
52522
|
const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52374
52523
|
if (!parsed.ok) {
|
|
52375
52524
|
return [parsed, { status: "invalid" }];
|
|
@@ -52443,12 +52592,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
|
|
|
52443
52592
|
});
|
|
52444
52593
|
|
|
52445
52594
|
// src/mcp-server/tools/vendorsSubmitVendorCredential.ts
|
|
52446
|
-
var
|
|
52595
|
+
var args59, tool$vendorsSubmitVendorCredential;
|
|
52447
52596
|
var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
52448
52597
|
init_vendorsSubmitVendorCredential();
|
|
52449
52598
|
init_operations();
|
|
52450
52599
|
init_tools();
|
|
52451
|
-
|
|
52600
|
+
args59 = {
|
|
52452
52601
|
request: SubmitVendorCredentialRequest$inboundSchema
|
|
52453
52602
|
};
|
|
52454
52603
|
tool$vendorsSubmitVendorCredential = {
|
|
@@ -52456,9 +52605,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
|
52456
52605
|
description: `Submit vendor credential
|
|
52457
52606
|
|
|
52458
52607
|
It will submit vendor credential`,
|
|
52459
|
-
args:
|
|
52460
|
-
tool: async (client,
|
|
52461
|
-
const [result, apiCall] = await vendorsSubmitVendorCredential(client,
|
|
52608
|
+
args: args59,
|
|
52609
|
+
tool: async (client, args60, ctx) => {
|
|
52610
|
+
const [result, apiCall] = await vendorsSubmitVendorCredential(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52462
52611
|
if (!result.ok) {
|
|
52463
52612
|
return {
|
|
52464
52613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52473,9 +52622,9 @@ It will submit vendor credential`,
|
|
|
52473
52622
|
|
|
52474
52623
|
// src/funcs/vendorsUpdateVendorCredentialData.ts
|
|
52475
52624
|
function vendorsUpdateVendorCredentialData(client, request, options) {
|
|
52476
|
-
return new APIPromise($
|
|
52625
|
+
return new APIPromise($do62(client, request, options));
|
|
52477
52626
|
}
|
|
52478
|
-
async function $
|
|
52627
|
+
async function $do62(client, request, options) {
|
|
52479
52628
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52480
52629
|
if (!parsed.ok) {
|
|
52481
52630
|
return [parsed, { status: "invalid" }];
|
|
@@ -52556,12 +52705,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
|
|
|
52556
52705
|
});
|
|
52557
52706
|
|
|
52558
52707
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
|
|
52559
|
-
var
|
|
52708
|
+
var args60, tool$vendorsUpdateVendorCredentialData;
|
|
52560
52709
|
var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
52561
52710
|
init_vendorsUpdateVendorCredentialData();
|
|
52562
52711
|
init_operations();
|
|
52563
52712
|
init_tools();
|
|
52564
|
-
|
|
52713
|
+
args60 = {
|
|
52565
52714
|
request: UpdateVendorCredentialDataRequest$inboundSchema
|
|
52566
52715
|
};
|
|
52567
52716
|
tool$vendorsUpdateVendorCredentialData = {
|
|
@@ -52569,9 +52718,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
|
52569
52718
|
description: `Update vendor credential data
|
|
52570
52719
|
|
|
52571
52720
|
Update vendor credential data`,
|
|
52572
|
-
args:
|
|
52573
|
-
tool: async (client,
|
|
52574
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client,
|
|
52721
|
+
args: args60,
|
|
52722
|
+
tool: async (client, args61, ctx) => {
|
|
52723
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52575
52724
|
if (!result.ok) {
|
|
52576
52725
|
return {
|
|
52577
52726
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52586,9 +52735,9 @@ Update vendor credential data`,
|
|
|
52586
52735
|
|
|
52587
52736
|
// src/funcs/vendorsUpdateVendorCredentialFile.ts
|
|
52588
52737
|
function vendorsUpdateVendorCredentialFile(client, request, options) {
|
|
52589
|
-
return new APIPromise($
|
|
52738
|
+
return new APIPromise($do63(client, request, options));
|
|
52590
52739
|
}
|
|
52591
|
-
async function $
|
|
52740
|
+
async function $do63(client, request, options) {
|
|
52592
52741
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52593
52742
|
if (!parsed.ok) {
|
|
52594
52743
|
return [parsed, { status: "invalid" }];
|
|
@@ -52666,12 +52815,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
|
|
|
52666
52815
|
});
|
|
52667
52816
|
|
|
52668
52817
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
|
|
52669
|
-
var
|
|
52818
|
+
var args61, tool$vendorsUpdateVendorCredentialFile;
|
|
52670
52819
|
var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
52671
52820
|
init_vendorsUpdateVendorCredentialFile();
|
|
52672
52821
|
init_operations();
|
|
52673
52822
|
init_tools();
|
|
52674
|
-
|
|
52823
|
+
args61 = {
|
|
52675
52824
|
request: UpdateVendorCredentialFileRequest$inboundSchema
|
|
52676
52825
|
};
|
|
52677
52826
|
tool$vendorsUpdateVendorCredentialFile = {
|
|
@@ -52679,9 +52828,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
|
52679
52828
|
description: `Update vendor credential file
|
|
52680
52829
|
|
|
52681
52830
|
It will update the vendor credential file properties`,
|
|
52682
|
-
args:
|
|
52683
|
-
tool: async (client,
|
|
52684
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client,
|
|
52831
|
+
args: args61,
|
|
52832
|
+
tool: async (client, args62, ctx) => {
|
|
52833
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52685
52834
|
if (!result.ok) {
|
|
52686
52835
|
return {
|
|
52687
52836
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52696,9 +52845,9 @@ It will update the vendor credential file properties`,
|
|
|
52696
52845
|
|
|
52697
52846
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
52698
52847
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
52699
|
-
return new APIPromise($
|
|
52848
|
+
return new APIPromise($do64(client, request, options));
|
|
52700
52849
|
}
|
|
52701
|
-
async function $
|
|
52850
|
+
async function $do64(client, request, options) {
|
|
52702
52851
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52703
52852
|
if (!parsed.ok) {
|
|
52704
52853
|
return [parsed, { status: "invalid" }];
|
|
@@ -52775,12 +52924,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
52775
52924
|
});
|
|
52776
52925
|
|
|
52777
52926
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
52778
|
-
var
|
|
52927
|
+
var args62, tool$vendorsUpdateVendorDetails;
|
|
52779
52928
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
52780
52929
|
init_vendorsUpdateVendorDetails();
|
|
52781
52930
|
init_operations();
|
|
52782
52931
|
init_tools();
|
|
52783
|
-
|
|
52932
|
+
args62 = {
|
|
52784
52933
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
52785
52934
|
};
|
|
52786
52935
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -52788,9 +52937,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
52788
52937
|
description: `Update vendor details
|
|
52789
52938
|
|
|
52790
52939
|
It will update the vendor details`,
|
|
52791
|
-
args:
|
|
52792
|
-
tool: async (client,
|
|
52793
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
52940
|
+
args: args62,
|
|
52941
|
+
tool: async (client, args63, ctx) => {
|
|
52942
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52794
52943
|
if (!result.ok) {
|
|
52795
52944
|
return {
|
|
52796
52945
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52805,9 +52954,9 @@ It will update the vendor details`,
|
|
|
52805
52954
|
|
|
52806
52955
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
52807
52956
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
52808
|
-
return new APIPromise($
|
|
52957
|
+
return new APIPromise($do65(client, request, options));
|
|
52809
52958
|
}
|
|
52810
|
-
async function $
|
|
52959
|
+
async function $do65(client, request, options) {
|
|
52811
52960
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52812
52961
|
if (!parsed.ok) {
|
|
52813
52962
|
return [parsed, { status: "invalid" }];
|
|
@@ -52883,12 +53032,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
52883
53032
|
});
|
|
52884
53033
|
|
|
52885
53034
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
52886
|
-
var
|
|
53035
|
+
var args63, tool$vendorsUpdateVendorManagedByCompany;
|
|
52887
53036
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
52888
53037
|
init_vendorsUpdateVendorManagedByCompany();
|
|
52889
53038
|
init_operations();
|
|
52890
53039
|
init_tools();
|
|
52891
|
-
|
|
53040
|
+
args63 = {
|
|
52892
53041
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
52893
53042
|
};
|
|
52894
53043
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -52896,9 +53045,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
52896
53045
|
description: `Update vendor managed by company access rights
|
|
52897
53046
|
|
|
52898
53047
|
It will update the vendor managed by company access rights`,
|
|
52899
|
-
args:
|
|
52900
|
-
tool: async (client,
|
|
52901
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
53048
|
+
args: args63,
|
|
53049
|
+
tool: async (client, args64, ctx) => {
|
|
53050
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52902
53051
|
if (!result.ok) {
|
|
52903
53052
|
return {
|
|
52904
53053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52913,9 +53062,9 @@ It will update the vendor managed by company access rights`,
|
|
|
52913
53062
|
|
|
52914
53063
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
52915
53064
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
52916
|
-
return new APIPromise($
|
|
53065
|
+
return new APIPromise($do66(client, request, options));
|
|
52917
53066
|
}
|
|
52918
|
-
async function $
|
|
53067
|
+
async function $do66(client, request, options) {
|
|
52919
53068
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52920
53069
|
if (!parsed.ok) {
|
|
52921
53070
|
return [parsed, { status: "invalid" }];
|
|
@@ -52992,12 +53141,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
52992
53141
|
});
|
|
52993
53142
|
|
|
52994
53143
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
52995
|
-
var
|
|
53144
|
+
var args64, tool$vendorsUpdateVendorScrubDetails;
|
|
52996
53145
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
52997
53146
|
init_vendorsUpdateVendorScrubDetails();
|
|
52998
53147
|
init_operations();
|
|
52999
53148
|
init_tools();
|
|
53000
|
-
|
|
53149
|
+
args64 = {
|
|
53001
53150
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
53002
53151
|
};
|
|
53003
53152
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -53005,9 +53154,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
53005
53154
|
description: `Update vendor scrub details
|
|
53006
53155
|
|
|
53007
53156
|
Update vendor scrub details`,
|
|
53008
|
-
args:
|
|
53009
|
-
tool: async (client,
|
|
53010
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
53157
|
+
args: args64,
|
|
53158
|
+
tool: async (client, args65, ctx) => {
|
|
53159
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53011
53160
|
if (!result.ok) {
|
|
53012
53161
|
return {
|
|
53013
53162
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53022,9 +53171,9 @@ Update vendor scrub details`,
|
|
|
53022
53171
|
|
|
53023
53172
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
53024
53173
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
53025
|
-
return new APIPromise($
|
|
53174
|
+
return new APIPromise($do67(client, request, options));
|
|
53026
53175
|
}
|
|
53027
|
-
async function $
|
|
53176
|
+
async function $do67(client, request, options) {
|
|
53028
53177
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53029
53178
|
if (!parsed.ok) {
|
|
53030
53179
|
return [parsed, { status: "invalid" }];
|
|
@@ -53100,12 +53249,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
53100
53249
|
});
|
|
53101
53250
|
|
|
53102
53251
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
53103
|
-
var
|
|
53252
|
+
var args65, tool$webhooksGetWebhookEndpoint;
|
|
53104
53253
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
53105
53254
|
init_webhooksGetWebhookEndpoint();
|
|
53106
53255
|
init_operations();
|
|
53107
53256
|
init_tools();
|
|
53108
|
-
|
|
53257
|
+
args65 = {
|
|
53109
53258
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
53110
53259
|
};
|
|
53111
53260
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -53113,9 +53262,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
53113
53262
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
53114
53263
|
|
|
53115
53264
|
Returns the definition of a webhook endpoint by ID.`,
|
|
53116
|
-
args:
|
|
53117
|
-
tool: async (client,
|
|
53118
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
53265
|
+
args: args65,
|
|
53266
|
+
tool: async (client, args66, ctx) => {
|
|
53267
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53119
53268
|
if (!result.ok) {
|
|
53120
53269
|
return {
|
|
53121
53270
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53130,9 +53279,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
53130
53279
|
|
|
53131
53280
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
53132
53281
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
53133
|
-
return new APIPromise($
|
|
53282
|
+
return new APIPromise($do68(client, request, options));
|
|
53134
53283
|
}
|
|
53135
|
-
async function $
|
|
53284
|
+
async function $do68(client, request, options) {
|
|
53136
53285
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53137
53286
|
if (!parsed.ok) {
|
|
53138
53287
|
return [parsed, { status: "invalid" }];
|
|
@@ -53208,12 +53357,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
53208
53357
|
});
|
|
53209
53358
|
|
|
53210
53359
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
53211
|
-
var
|
|
53360
|
+
var args66, tool$webhooksListAllWebhookEndpoints;
|
|
53212
53361
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
53213
53362
|
init_webhooksListAllWebhookEndpoints();
|
|
53214
53363
|
init_operations();
|
|
53215
53364
|
init_tools();
|
|
53216
|
-
|
|
53365
|
+
args66 = {
|
|
53217
53366
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
53218
53367
|
};
|
|
53219
53368
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -53221,9 +53370,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
53221
53370
|
description: `List all webhook endpoints
|
|
53222
53371
|
|
|
53223
53372
|
Returns a list of your webhook endpoints.`,
|
|
53224
|
-
args:
|
|
53225
|
-
tool: async (client,
|
|
53226
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
53373
|
+
args: args66,
|
|
53374
|
+
tool: async (client, args67, ctx) => {
|
|
53375
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53227
53376
|
if (!result.ok) {
|
|
53228
53377
|
return {
|
|
53229
53378
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53238,9 +53387,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
53238
53387
|
|
|
53239
53388
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53240
53389
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
53241
|
-
return new APIPromise($
|
|
53390
|
+
return new APIPromise($do69(client, request, options));
|
|
53242
53391
|
}
|
|
53243
|
-
async function $
|
|
53392
|
+
async function $do69(client, request, options) {
|
|
53244
53393
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53245
53394
|
if (!parsed.ok) {
|
|
53246
53395
|
return [parsed, { status: "invalid" }];
|
|
@@ -53317,12 +53466,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
53317
53466
|
});
|
|
53318
53467
|
|
|
53319
53468
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53320
|
-
var
|
|
53469
|
+
var args67, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
53321
53470
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
53322
53471
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
53323
53472
|
init_operations();
|
|
53324
53473
|
init_tools();
|
|
53325
|
-
|
|
53474
|
+
args67 = {
|
|
53326
53475
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
53327
53476
|
};
|
|
53328
53477
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -53330,9 +53479,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
53330
53479
|
description: `Updates the webhook endpoint with the given ID.
|
|
53331
53480
|
|
|
53332
53481
|
Updates the webhook endpoint with the given ID.`,
|
|
53333
|
-
args:
|
|
53334
|
-
tool: async (client,
|
|
53335
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
53482
|
+
args: args67,
|
|
53483
|
+
tool: async (client, args68, ctx) => {
|
|
53484
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53336
53485
|
if (!result.ok) {
|
|
53337
53486
|
return {
|
|
53338
53487
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53347,9 +53496,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
53347
53496
|
|
|
53348
53497
|
// src/funcs/zonesGetSecurityZone.ts
|
|
53349
53498
|
function zonesGetSecurityZone(client, request, options) {
|
|
53350
|
-
return new APIPromise($
|
|
53499
|
+
return new APIPromise($do70(client, request, options));
|
|
53351
53500
|
}
|
|
53352
|
-
async function $
|
|
53501
|
+
async function $do70(client, request, options) {
|
|
53353
53502
|
const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53354
53503
|
if (!parsed.ok) {
|
|
53355
53504
|
return [parsed, { status: "invalid" }];
|
|
@@ -53429,12 +53578,12 @@ var init_zonesGetSecurityZone = __esm(() => {
|
|
|
53429
53578
|
});
|
|
53430
53579
|
|
|
53431
53580
|
// src/mcp-server/tools/zonesGetSecurityZone.ts
|
|
53432
|
-
var
|
|
53581
|
+
var args68, tool$zonesGetSecurityZone;
|
|
53433
53582
|
var init_zonesGetSecurityZone2 = __esm(() => {
|
|
53434
53583
|
init_zonesGetSecurityZone();
|
|
53435
53584
|
init_operations();
|
|
53436
53585
|
init_tools();
|
|
53437
|
-
|
|
53586
|
+
args68 = {
|
|
53438
53587
|
request: GetSecurityZoneRequest$inboundSchema
|
|
53439
53588
|
};
|
|
53440
53589
|
tool$zonesGetSecurityZone = {
|
|
@@ -53448,9 +53597,9 @@ Available \`expand\` scopes are:
|
|
|
53448
53597
|
- zone.facility
|
|
53449
53598
|
- zone.department
|
|
53450
53599
|
- zone.rules`,
|
|
53451
|
-
args:
|
|
53452
|
-
tool: async (client,
|
|
53453
|
-
const [result, apiCall] = await zonesGetSecurityZone(client,
|
|
53600
|
+
args: args68,
|
|
53601
|
+
tool: async (client, args69, ctx) => {
|
|
53602
|
+
const [result, apiCall] = await zonesGetSecurityZone(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53454
53603
|
if (!result.ok) {
|
|
53455
53604
|
return {
|
|
53456
53605
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53465,9 +53614,9 @@ Available \`expand\` scopes are:
|
|
|
53465
53614
|
|
|
53466
53615
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
53467
53616
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
53468
|
-
return new APIPromise($
|
|
53617
|
+
return new APIPromise($do71(client, request, options));
|
|
53469
53618
|
}
|
|
53470
|
-
async function $
|
|
53619
|
+
async function $do71(client, request, options) {
|
|
53471
53620
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53472
53621
|
if (!parsed.ok) {
|
|
53473
53622
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -53581,12 +53730,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
53581
53730
|
});
|
|
53582
53731
|
|
|
53583
53732
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
53584
|
-
var
|
|
53733
|
+
var args69, tool$zonesListOrSearchSecurityZones;
|
|
53585
53734
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
53586
53735
|
init_zonesListOrSearchSecurityZones();
|
|
53587
53736
|
init_operations();
|
|
53588
53737
|
init_tools();
|
|
53589
|
-
|
|
53738
|
+
args69 = {
|
|
53590
53739
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
53591
53740
|
};
|
|
53592
53741
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -53594,9 +53743,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
53594
53743
|
description: `List or search security zones
|
|
53595
53744
|
|
|
53596
53745
|
List or search security zones`,
|
|
53597
|
-
args:
|
|
53598
|
-
tool: async (client,
|
|
53599
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
53746
|
+
args: args69,
|
|
53747
|
+
tool: async (client, args70, ctx) => {
|
|
53748
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53600
53749
|
if (!result.ok) {
|
|
53601
53750
|
return {
|
|
53602
53751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53611,9 +53760,9 @@ List or search security zones`,
|
|
|
53611
53760
|
|
|
53612
53761
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
53613
53762
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
53614
|
-
return new APIPromise($
|
|
53763
|
+
return new APIPromise($do72(client, request, options));
|
|
53615
53764
|
}
|
|
53616
|
-
async function $
|
|
53765
|
+
async function $do72(client, request, options) {
|
|
53617
53766
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
53618
53767
|
if (!parsed.ok) {
|
|
53619
53768
|
return [parsed, { status: "invalid" }];
|
|
@@ -53683,12 +53832,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
53683
53832
|
});
|
|
53684
53833
|
|
|
53685
53834
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
53686
|
-
var
|
|
53835
|
+
var args70, tool$zonesSecurityZoneCheckin;
|
|
53687
53836
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
53688
53837
|
init_zonesSecurityZoneCheckin();
|
|
53689
53838
|
init_operations();
|
|
53690
53839
|
init_tools();
|
|
53691
|
-
|
|
53840
|
+
args70 = {
|
|
53692
53841
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
53693
53842
|
};
|
|
53694
53843
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -53696,9 +53845,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
53696
53845
|
description: `Security zone checkin request
|
|
53697
53846
|
|
|
53698
53847
|
Security zone checkin request`,
|
|
53699
|
-
args:
|
|
53700
|
-
tool: async (client,
|
|
53701
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
53848
|
+
args: args70,
|
|
53849
|
+
tool: async (client, args71, ctx) => {
|
|
53850
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53702
53851
|
if (!result.ok) {
|
|
53703
53852
|
return {
|
|
53704
53853
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53715,7 +53864,7 @@ Security zone checkin request`,
|
|
|
53715
53864
|
function createMCPServer(deps) {
|
|
53716
53865
|
const server = new McpServer({
|
|
53717
53866
|
name: "GreenSecurity",
|
|
53718
|
-
version: "0.
|
|
53867
|
+
version: "0.39.1"
|
|
53719
53868
|
});
|
|
53720
53869
|
const client = new GreenSecurityCore({
|
|
53721
53870
|
security: deps.security,
|
|
@@ -53754,6 +53903,7 @@ function createMCPServer(deps) {
|
|
|
53754
53903
|
tool(tool$vendorsGetSubscription);
|
|
53755
53904
|
tool(tool$vendorsChangeSubscription);
|
|
53756
53905
|
tool(tool$vendorsListVendorInvoices);
|
|
53906
|
+
tool(tool$vendorsGetVendorInvoiceReceipt);
|
|
53757
53907
|
tool(tool$vendorsGetVendorInvoiceDetails);
|
|
53758
53908
|
tool(tool$vendorsListVendorFacilityStatuses);
|
|
53759
53909
|
tool(tool$vendorsListVendorScrubPurchases);
|
|
@@ -53848,6 +53998,7 @@ var init_server2 = __esm(() => {
|
|
|
53848
53998
|
init_vendorsGetVendorCredentialDetails2();
|
|
53849
53999
|
init_vendorsGetVendorCredentialFile2();
|
|
53850
54000
|
init_vendorsGetVendorInvoiceDetails2();
|
|
54001
|
+
init_vendorsGetVendorInvoiceReceipt2();
|
|
53851
54002
|
init_vendorsGetVendorLegalName2();
|
|
53852
54003
|
init_vendorsGetVendorsDetails2();
|
|
53853
54004
|
init_vendorsListVendorAdditionalFacilityFields2();
|
|
@@ -55069,7 +55220,7 @@ var routes = rn({
|
|
|
55069
55220
|
var app = Ve(routes, {
|
|
55070
55221
|
name: "mcp",
|
|
55071
55222
|
versionInfo: {
|
|
55072
|
-
currentVersion: "0.
|
|
55223
|
+
currentVersion: "0.39.1"
|
|
55073
55224
|
}
|
|
55074
55225
|
});
|
|
55075
55226
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55077,5 +55228,5 @@ export {
|
|
|
55077
55228
|
app
|
|
55078
55229
|
};
|
|
55079
55230
|
|
|
55080
|
-
//# debugId=
|
|
55231
|
+
//# debugId=32F25808AB0A9D4264756E2164756E21
|
|
55081
55232
|
//# sourceMappingURL=mcp-server.js.map
|