@greensecurity/javascript-sdk 0.39.1 → 0.39.4
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 +6 -0
- package/bin/mcp-server.js +692 -472
- package/bin/mcp-server.js.map +11 -8
- package/dist/commonjs/__tests__/events.test.d.ts +2 -0
- package/dist/commonjs/__tests__/events.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/events.test.js +41 -0
- package/dist/commonjs/__tests__/events.test.js.map +1 -0
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js +166 -0
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +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/eventsListOrSearchVendorInvitees.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js +71 -0
- package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
- package/dist/commonjs/models/components/expand.d.ts +3 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +1 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- 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/models/operations/listorsearchvendorinvitees.d.ts +116 -0
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.js +153 -0
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.js.map +1 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js +191 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
- 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/sdk/events.d.ts +22 -0
- package/dist/commonjs/sdk/events.d.ts.map +1 -0
- package/dist/commonjs/sdk/events.js +29 -0
- package/dist/commonjs/sdk/events.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/__tests__/events.test.d.ts +2 -0
- package/dist/esm/__tests__/events.test.d.ts.map +1 -0
- package/dist/esm/__tests__/events.test.js +39 -0
- package/dist/esm/__tests__/events.test.js.map +1 -0
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js +130 -0
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +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/eventsListOrSearchVendorInvitees.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js +35 -0
- package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
- package/dist/esm/models/components/expand.d.ts +3 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +1 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- 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/models/operations/listorsearchvendorinvitees.d.ts +116 -0
- package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
- package/dist/esm/models/operations/listorsearchvendorinvitees.js +111 -0
- package/dist/esm/models/operations/listorsearchvendorinvitees.js.map +1 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js +178 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
- 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/sdk/events.d.ts +22 -0
- package/dist/esm/sdk/events.d.ts.map +1 -0
- package/dist/esm/sdk/events.js +25 -0
- package/dist/esm/sdk/events.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/events.test.ts +42 -0
- package/src/funcs/eventsListOrSearchVendorInvitees.ts +261 -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/eventsListOrSearchVendorInvitees.ts +46 -0
- package/src/models/components/expand.ts +1 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listorsearchvendorinvitees.ts +261 -0
- package/src/react-query/eventsListOrSearchVendorInvitees.ts +378 -0
- package/src/react-query/index.ts +1 -0
- package/src/sdk/events.ts +39 -0
- package/src/sdk/sdk.ts +6 -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.39.
|
|
34164
|
-
genVersion: "2.
|
|
34165
|
-
userAgent: "speakeasy-sdk/typescript 0.39.
|
|
34163
|
+
sdkVersion: "0.39.4",
|
|
34164
|
+
genVersion: "2.662.0",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.39.4 2.662.0 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -37152,6 +37152,7 @@ var init_expand = __esm(() => {
|
|
|
37152
37152
|
ContactFacility: "contact.facility",
|
|
37153
37153
|
ContactSystem: "contact.system",
|
|
37154
37154
|
ContactDepartment: "contact.department",
|
|
37155
|
+
ContactUser: "contact.user",
|
|
37155
37156
|
FacilityAppointmentPolicy: "facility.appointment_policy",
|
|
37156
37157
|
FacilityContacts: "facility.contacts",
|
|
37157
37158
|
FacilityVendorCounts: "facility.vendor_counts",
|
|
@@ -42625,6 +42626,72 @@ var init_listorsearchsupportarticles = __esm(() => {
|
|
|
42625
42626
|
})(ListOrSearchSupportArticlesResponse$ ||= {});
|
|
42626
42627
|
});
|
|
42627
42628
|
|
|
42629
|
+
// src/models/operations/listorsearchvendorinvitees.ts
|
|
42630
|
+
var ListOrSearchVendorInviteesRequest$inboundSchema, ListOrSearchVendorInviteesRequest$outboundSchema, ListOrSearchVendorInviteesRequest$, ListOrSearchVendorInviteesResponseBody$inboundSchema, ListOrSearchVendorInviteesResponseBody$outboundSchema, ListOrSearchVendorInviteesResponseBody$, ListOrSearchVendorInviteesResponse$inboundSchema, ListOrSearchVendorInviteesResponse$outboundSchema, ListOrSearchVendorInviteesResponse$;
|
|
42631
|
+
var init_listorsearchvendorinvitees = __esm(() => {
|
|
42632
|
+
init_esm();
|
|
42633
|
+
init_primitives();
|
|
42634
|
+
init_components();
|
|
42635
|
+
ListOrSearchVendorInviteesRequest$inboundSchema = objectType({
|
|
42636
|
+
sort: nullableType(stringType()).optional(),
|
|
42637
|
+
desc: Desc$inboundSchema.optional(),
|
|
42638
|
+
page: numberType().int().optional(),
|
|
42639
|
+
items_per_page: numberType().int().optional(),
|
|
42640
|
+
expand: arrayType(Expand$inboundSchema).optional(),
|
|
42641
|
+
search: stringType().optional()
|
|
42642
|
+
}).transform((v2) => {
|
|
42643
|
+
return remap(v2, {
|
|
42644
|
+
items_per_page: "itemsPerPage"
|
|
42645
|
+
});
|
|
42646
|
+
});
|
|
42647
|
+
ListOrSearchVendorInviteesRequest$outboundSchema = objectType({
|
|
42648
|
+
sort: nullableType(stringType()).optional(),
|
|
42649
|
+
desc: Desc$outboundSchema.optional(),
|
|
42650
|
+
page: numberType().int().optional(),
|
|
42651
|
+
itemsPerPage: numberType().int().optional(),
|
|
42652
|
+
expand: arrayType(Expand$outboundSchema).optional(),
|
|
42653
|
+
search: stringType().optional()
|
|
42654
|
+
}).transform((v2) => {
|
|
42655
|
+
return remap(v2, {
|
|
42656
|
+
itemsPerPage: "items_per_page"
|
|
42657
|
+
});
|
|
42658
|
+
});
|
|
42659
|
+
((ListOrSearchVendorInviteesRequest$) => {
|
|
42660
|
+
ListOrSearchVendorInviteesRequest$.inboundSchema = ListOrSearchVendorInviteesRequest$inboundSchema;
|
|
42661
|
+
ListOrSearchVendorInviteesRequest$.outboundSchema = ListOrSearchVendorInviteesRequest$outboundSchema;
|
|
42662
|
+
})(ListOrSearchVendorInviteesRequest$ ||= {});
|
|
42663
|
+
ListOrSearchVendorInviteesResponseBody$inboundSchema = objectType({
|
|
42664
|
+
pager: Pager$inboundSchema,
|
|
42665
|
+
items: arrayType(nullableType(Contact$inboundSchema))
|
|
42666
|
+
});
|
|
42667
|
+
ListOrSearchVendorInviteesResponseBody$outboundSchema = objectType({
|
|
42668
|
+
pager: Pager$outboundSchema,
|
|
42669
|
+
items: arrayType(nullableType(Contact$outboundSchema))
|
|
42670
|
+
});
|
|
42671
|
+
((ListOrSearchVendorInviteesResponseBody$) => {
|
|
42672
|
+
ListOrSearchVendorInviteesResponseBody$.inboundSchema = ListOrSearchVendorInviteesResponseBody$inboundSchema;
|
|
42673
|
+
ListOrSearchVendorInviteesResponseBody$.outboundSchema = ListOrSearchVendorInviteesResponseBody$outboundSchema;
|
|
42674
|
+
})(ListOrSearchVendorInviteesResponseBody$ ||= {});
|
|
42675
|
+
ListOrSearchVendorInviteesResponse$inboundSchema = objectType({
|
|
42676
|
+
Result: lazyType(() => ListOrSearchVendorInviteesResponseBody$inboundSchema)
|
|
42677
|
+
}).transform((v2) => {
|
|
42678
|
+
return remap(v2, {
|
|
42679
|
+
Result: "result"
|
|
42680
|
+
});
|
|
42681
|
+
});
|
|
42682
|
+
ListOrSearchVendorInviteesResponse$outboundSchema = objectType({
|
|
42683
|
+
result: lazyType(() => ListOrSearchVendorInviteesResponseBody$outboundSchema)
|
|
42684
|
+
}).transform((v2) => {
|
|
42685
|
+
return remap(v2, {
|
|
42686
|
+
result: "Result"
|
|
42687
|
+
});
|
|
42688
|
+
});
|
|
42689
|
+
((ListOrSearchVendorInviteesResponse$) => {
|
|
42690
|
+
ListOrSearchVendorInviteesResponse$.inboundSchema = ListOrSearchVendorInviteesResponse$inboundSchema;
|
|
42691
|
+
ListOrSearchVendorInviteesResponse$.outboundSchema = ListOrSearchVendorInviteesResponse$outboundSchema;
|
|
42692
|
+
})(ListOrSearchVendorInviteesResponse$ ||= {});
|
|
42693
|
+
});
|
|
42694
|
+
|
|
42628
42695
|
// src/models/operations/listsystems.ts
|
|
42629
42696
|
var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
|
|
42630
42697
|
var init_listsystems = __esm(() => {
|
|
@@ -45218,6 +45285,7 @@ var init_operations = __esm(() => {
|
|
|
45218
45285
|
init_listorsearchfacilities();
|
|
45219
45286
|
init_listorsearchsecurityzones();
|
|
45220
45287
|
init_listorsearchsupportarticles();
|
|
45288
|
+
init_listorsearchvendorinvitees();
|
|
45221
45289
|
init_listsystems();
|
|
45222
45290
|
init_listvendoradditionalfacilityfields();
|
|
45223
45291
|
init_listvendorcredentialdatarequests();
|
|
@@ -45779,11 +45847,161 @@ It will update the vendor credential data request attributes`,
|
|
|
45779
45847
|
};
|
|
45780
45848
|
});
|
|
45781
45849
|
|
|
45782
|
-
// src/funcs/
|
|
45783
|
-
function
|
|
45850
|
+
// src/funcs/eventsListOrSearchVendorInvitees.ts
|
|
45851
|
+
function eventsListOrSearchVendorInvitees(client, request, options) {
|
|
45784
45852
|
return new APIPromise($do5(client, request, options));
|
|
45785
45853
|
}
|
|
45786
45854
|
async function $do5(client, request, options) {
|
|
45855
|
+
const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45856
|
+
if (!parsed.ok) {
|
|
45857
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
45858
|
+
}
|
|
45859
|
+
const payload = parsed.value;
|
|
45860
|
+
const body = null;
|
|
45861
|
+
const path = pathToFunc("/events/vendor-invitees")();
|
|
45862
|
+
const query = queryJoin(encodeFormQuery({
|
|
45863
|
+
expand: payload.expand
|
|
45864
|
+
}, { explode: false }), encodeFormQuery({
|
|
45865
|
+
desc: payload.desc,
|
|
45866
|
+
items_per_page: payload.items_per_page,
|
|
45867
|
+
page: payload.page,
|
|
45868
|
+
search: payload.search,
|
|
45869
|
+
sort: payload.sort
|
|
45870
|
+
}));
|
|
45871
|
+
const headers = new Headers(compactMap({
|
|
45872
|
+
Accept: "application/json"
|
|
45873
|
+
}));
|
|
45874
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
45875
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45876
|
+
const context = {
|
|
45877
|
+
options: client._options,
|
|
45878
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45879
|
+
operationID: "listOrSearchVendorInvitees",
|
|
45880
|
+
oAuth2Scopes: [],
|
|
45881
|
+
resolvedSecurity: requestSecurity,
|
|
45882
|
+
securitySource: client._options.security,
|
|
45883
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
45884
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
45885
|
+
};
|
|
45886
|
+
const requestRes = client._createRequest(context, {
|
|
45887
|
+
security: requestSecurity,
|
|
45888
|
+
method: "GET",
|
|
45889
|
+
baseURL: options?.serverURL,
|
|
45890
|
+
path,
|
|
45891
|
+
headers,
|
|
45892
|
+
query,
|
|
45893
|
+
body,
|
|
45894
|
+
userAgent: client._options.userAgent,
|
|
45895
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45896
|
+
}, options);
|
|
45897
|
+
if (!requestRes.ok) {
|
|
45898
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
45899
|
+
}
|
|
45900
|
+
const req = requestRes.value;
|
|
45901
|
+
const doResult = await client._do(req, {
|
|
45902
|
+
context,
|
|
45903
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
45904
|
+
retryConfig: context.retryConfig,
|
|
45905
|
+
retryCodes: context.retryCodes
|
|
45906
|
+
});
|
|
45907
|
+
if (!doResult.ok) {
|
|
45908
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
45909
|
+
}
|
|
45910
|
+
const response = doResult.value;
|
|
45911
|
+
const responseFields = {
|
|
45912
|
+
HttpMeta: { Response: response, Request: req }
|
|
45913
|
+
};
|
|
45914
|
+
const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
|
|
45915
|
+
key: "Result"
|
|
45916
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
45917
|
+
if (!result.ok) {
|
|
45918
|
+
return [haltIterator(result), {
|
|
45919
|
+
status: "complete",
|
|
45920
|
+
request: req,
|
|
45921
|
+
response
|
|
45922
|
+
}];
|
|
45923
|
+
}
|
|
45924
|
+
const nextFunc = (responseData) => {
|
|
45925
|
+
const page2 = request?.page ?? 1;
|
|
45926
|
+
const nextPage = page2 + 1;
|
|
45927
|
+
if (!responseData) {
|
|
45928
|
+
return { next: () => null };
|
|
45929
|
+
}
|
|
45930
|
+
const results = dlv(responseData, "items");
|
|
45931
|
+
if (!Array.isArray(results) || !results.length) {
|
|
45932
|
+
return { next: () => null };
|
|
45933
|
+
}
|
|
45934
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
45935
|
+
if (results.length < limit) {
|
|
45936
|
+
return { next: () => null };
|
|
45937
|
+
}
|
|
45938
|
+
const nextVal = () => eventsListOrSearchVendorInvitees(client, {
|
|
45939
|
+
...request,
|
|
45940
|
+
page: nextPage
|
|
45941
|
+
}, options);
|
|
45942
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
45943
|
+
};
|
|
45944
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
45945
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
45946
|
+
status: "complete",
|
|
45947
|
+
request: req,
|
|
45948
|
+
response
|
|
45949
|
+
}];
|
|
45950
|
+
}
|
|
45951
|
+
var init_eventsListOrSearchVendorInvitees = __esm(() => {
|
|
45952
|
+
init_encodings();
|
|
45953
|
+
init_matchers();
|
|
45954
|
+
init_primitives();
|
|
45955
|
+
init_schemas();
|
|
45956
|
+
init_security();
|
|
45957
|
+
init_url();
|
|
45958
|
+
init_errors2();
|
|
45959
|
+
init_operations();
|
|
45960
|
+
init_async();
|
|
45961
|
+
init_operations2();
|
|
45962
|
+
});
|
|
45963
|
+
|
|
45964
|
+
// src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
|
|
45965
|
+
var args5, tool$eventsListOrSearchVendorInvitees;
|
|
45966
|
+
var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
|
|
45967
|
+
init_eventsListOrSearchVendorInvitees();
|
|
45968
|
+
init_operations();
|
|
45969
|
+
init_tools();
|
|
45970
|
+
args5 = {
|
|
45971
|
+
request: ListOrSearchVendorInviteesRequest$inboundSchema
|
|
45972
|
+
};
|
|
45973
|
+
tool$eventsListOrSearchVendorInvitees = {
|
|
45974
|
+
name: "events-list-or-search-vendor-invitees",
|
|
45975
|
+
description: `List or search vendor invitees
|
|
45976
|
+
|
|
45977
|
+
List or search vendor invitees.
|
|
45978
|
+
|
|
45979
|
+
Available \`expand\` scopes are:
|
|
45980
|
+
|
|
45981
|
+
- contact.facility
|
|
45982
|
+
- contact.system
|
|
45983
|
+
- contact.department
|
|
45984
|
+
- contact.user`,
|
|
45985
|
+
args: args5,
|
|
45986
|
+
tool: async (client, args6, ctx) => {
|
|
45987
|
+
const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45988
|
+
if (!result.ok) {
|
|
45989
|
+
return {
|
|
45990
|
+
content: [{ type: "text", text: result.error.message }],
|
|
45991
|
+
isError: true
|
|
45992
|
+
};
|
|
45993
|
+
}
|
|
45994
|
+
const value = result.value.result;
|
|
45995
|
+
return formatResult(value, apiCall);
|
|
45996
|
+
}
|
|
45997
|
+
};
|
|
45998
|
+
});
|
|
45999
|
+
|
|
46000
|
+
// src/funcs/invoicesCreateInvoice.ts
|
|
46001
|
+
function invoicesCreateInvoice(client, request, options) {
|
|
46002
|
+
return new APIPromise($do6(client, request, options));
|
|
46003
|
+
}
|
|
46004
|
+
async function $do6(client, request, options) {
|
|
45787
46005
|
const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
45788
46006
|
if (!parsed.ok) {
|
|
45789
46007
|
return [parsed, { status: "invalid" }];
|
|
@@ -45853,12 +46071,12 @@ var init_invoicesCreateInvoice = __esm(() => {
|
|
|
45853
46071
|
});
|
|
45854
46072
|
|
|
45855
46073
|
// src/mcp-server/tools/invoicesCreateInvoice.ts
|
|
45856
|
-
var
|
|
46074
|
+
var args6, tool$invoicesCreateInvoice;
|
|
45857
46075
|
var init_invoicesCreateInvoice2 = __esm(() => {
|
|
45858
46076
|
init_invoicesCreateInvoice();
|
|
45859
46077
|
init_operations();
|
|
45860
46078
|
init_tools();
|
|
45861
|
-
|
|
46079
|
+
args6 = {
|
|
45862
46080
|
request: CreateInvoiceRequestBody$inboundSchema
|
|
45863
46081
|
};
|
|
45864
46082
|
tool$invoicesCreateInvoice = {
|
|
@@ -45875,9 +46093,9 @@ It will create an invoice based on the lines passed as parameter.
|
|
|
45875
46093
|
- new_vendor_type_id: required, must be integer
|
|
45876
46094
|
- old_facility_ids: required, must be an array of integers (can be empty)
|
|
45877
46095
|
- new_facility_ids: required, must be array of integers`,
|
|
45878
|
-
args:
|
|
45879
|
-
tool: async (client,
|
|
45880
|
-
const [result, apiCall] = await invoicesCreateInvoice(client,
|
|
46096
|
+
args: args6,
|
|
46097
|
+
tool: async (client, args7, ctx) => {
|
|
46098
|
+
const [result, apiCall] = await invoicesCreateInvoice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45881
46099
|
if (!result.ok) {
|
|
45882
46100
|
return {
|
|
45883
46101
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45892,9 +46110,9 @@ It will create an invoice based on the lines passed as parameter.
|
|
|
45892
46110
|
|
|
45893
46111
|
// src/funcs/invoicesMakePayment.ts
|
|
45894
46112
|
function invoicesMakePayment(client, request, options) {
|
|
45895
|
-
return new APIPromise($
|
|
46113
|
+
return new APIPromise($do7(client, request, options));
|
|
45896
46114
|
}
|
|
45897
|
-
async function $
|
|
46115
|
+
async function $do7(client, request, options) {
|
|
45898
46116
|
const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45899
46117
|
if (!parsed.ok) {
|
|
45900
46118
|
return [parsed, { status: "invalid" }];
|
|
@@ -45970,12 +46188,12 @@ var init_invoicesMakePayment = __esm(() => {
|
|
|
45970
46188
|
});
|
|
45971
46189
|
|
|
45972
46190
|
// src/mcp-server/tools/invoicesMakePayment.ts
|
|
45973
|
-
var
|
|
46191
|
+
var args7, tool$invoicesMakePayment;
|
|
45974
46192
|
var init_invoicesMakePayment2 = __esm(() => {
|
|
45975
46193
|
init_invoicesMakePayment();
|
|
45976
46194
|
init_operations();
|
|
45977
46195
|
init_tools();
|
|
45978
|
-
|
|
46196
|
+
args7 = {
|
|
45979
46197
|
request: MakePaymentRequest$inboundSchema
|
|
45980
46198
|
};
|
|
45981
46199
|
tool$invoicesMakePayment = {
|
|
@@ -45983,9 +46201,9 @@ var init_invoicesMakePayment2 = __esm(() => {
|
|
|
45983
46201
|
description: `Make payment for the invoice
|
|
45984
46202
|
|
|
45985
46203
|
Make payment for the invoice`,
|
|
45986
|
-
args:
|
|
45987
|
-
tool: async (client,
|
|
45988
|
-
const [result, apiCall] = await invoicesMakePayment(client,
|
|
46204
|
+
args: args7,
|
|
46205
|
+
tool: async (client, args8, ctx) => {
|
|
46206
|
+
const [result, apiCall] = await invoicesMakePayment(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45989
46207
|
if (!result.ok) {
|
|
45990
46208
|
return {
|
|
45991
46209
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46000,9 +46218,9 @@ Make payment for the invoice`,
|
|
|
46000
46218
|
|
|
46001
46219
|
// src/funcs/invoicesUpdateInvoice.ts
|
|
46002
46220
|
function invoicesUpdateInvoice(client, request, options) {
|
|
46003
|
-
return new APIPromise($
|
|
46221
|
+
return new APIPromise($do8(client, request, options));
|
|
46004
46222
|
}
|
|
46005
|
-
async function $
|
|
46223
|
+
async function $do8(client, request, options) {
|
|
46006
46224
|
const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46007
46225
|
if (!parsed.ok) {
|
|
46008
46226
|
return [parsed, { status: "invalid" }];
|
|
@@ -46079,12 +46297,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
|
|
|
46079
46297
|
});
|
|
46080
46298
|
|
|
46081
46299
|
// src/mcp-server/tools/invoicesUpdateInvoice.ts
|
|
46082
|
-
var
|
|
46300
|
+
var args8, tool$invoicesUpdateInvoice;
|
|
46083
46301
|
var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
46084
46302
|
init_invoicesUpdateInvoice();
|
|
46085
46303
|
init_operations();
|
|
46086
46304
|
init_tools();
|
|
46087
|
-
|
|
46305
|
+
args8 = {
|
|
46088
46306
|
request: UpdateInvoiceRequest$inboundSchema
|
|
46089
46307
|
};
|
|
46090
46308
|
tool$invoicesUpdateInvoice = {
|
|
@@ -46101,9 +46319,9 @@ It will replace all the lines with the lines passed as parameter
|
|
|
46101
46319
|
- new_vendor_type_id: required, must be integer
|
|
46102
46320
|
- old_facility_ids: required, must be an array of integers (can be empty)
|
|
46103
46321
|
- new_facility_ids: required, must be array of integers`,
|
|
46104
|
-
args:
|
|
46105
|
-
tool: async (client,
|
|
46106
|
-
const [result, apiCall] = await invoicesUpdateInvoice(client,
|
|
46322
|
+
args: args8,
|
|
46323
|
+
tool: async (client, args9, ctx) => {
|
|
46324
|
+
const [result, apiCall] = await invoicesUpdateInvoice(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46107
46325
|
if (!result.ok) {
|
|
46108
46326
|
return {
|
|
46109
46327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46118,9 +46336,9 @@ It will replace all the lines with the lines passed as parameter
|
|
|
46118
46336
|
|
|
46119
46337
|
// src/funcs/organizationsGetFacility.ts
|
|
46120
46338
|
function organizationsGetFacility(client, request, options) {
|
|
46121
|
-
return new APIPromise($
|
|
46339
|
+
return new APIPromise($do9(client, request, options));
|
|
46122
46340
|
}
|
|
46123
|
-
async function $
|
|
46341
|
+
async function $do9(client, request, options) {
|
|
46124
46342
|
const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46125
46343
|
if (!parsed.ok) {
|
|
46126
46344
|
return [parsed, { status: "invalid" }];
|
|
@@ -46196,12 +46414,12 @@ var init_organizationsGetFacility = __esm(() => {
|
|
|
46196
46414
|
});
|
|
46197
46415
|
|
|
46198
46416
|
// src/mcp-server/tools/organizationsGetFacility.ts
|
|
46199
|
-
var
|
|
46417
|
+
var args9, tool$organizationsGetFacility;
|
|
46200
46418
|
var init_organizationsGetFacility2 = __esm(() => {
|
|
46201
46419
|
init_organizationsGetFacility();
|
|
46202
46420
|
init_operations();
|
|
46203
46421
|
init_tools();
|
|
46204
|
-
|
|
46422
|
+
args9 = {
|
|
46205
46423
|
request: GetFacilityRequest$inboundSchema
|
|
46206
46424
|
};
|
|
46207
46425
|
tool$organizationsGetFacility = {
|
|
@@ -46209,9 +46427,9 @@ var init_organizationsGetFacility2 = __esm(() => {
|
|
|
46209
46427
|
description: `Get facility
|
|
46210
46428
|
|
|
46211
46429
|
Retrieve an individual facility.`,
|
|
46212
|
-
args:
|
|
46213
|
-
tool: async (client,
|
|
46214
|
-
const [result, apiCall] = await organizationsGetFacility(client,
|
|
46430
|
+
args: args9,
|
|
46431
|
+
tool: async (client, args10, ctx) => {
|
|
46432
|
+
const [result, apiCall] = await organizationsGetFacility(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46215
46433
|
if (!result.ok) {
|
|
46216
46434
|
return {
|
|
46217
46435
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46226,9 +46444,9 @@ Retrieve an individual facility.`,
|
|
|
46226
46444
|
|
|
46227
46445
|
// src/funcs/organizationsListOrSearchDepartmentContacts.ts
|
|
46228
46446
|
function organizationsListOrSearchDepartmentContacts(client, request, options) {
|
|
46229
|
-
return new APIPromise($
|
|
46447
|
+
return new APIPromise($do10(client, request, options));
|
|
46230
46448
|
}
|
|
46231
|
-
async function $
|
|
46449
|
+
async function $do10(client, request, options) {
|
|
46232
46450
|
const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46233
46451
|
if (!parsed.ok) {
|
|
46234
46452
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46343,12 +46561,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
|
|
|
46343
46561
|
});
|
|
46344
46562
|
|
|
46345
46563
|
// src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
|
|
46346
|
-
var
|
|
46564
|
+
var args10, tool$organizationsListOrSearchDepartmentContacts;
|
|
46347
46565
|
var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
|
|
46348
46566
|
init_organizationsListOrSearchDepartmentContacts();
|
|
46349
46567
|
init_operations();
|
|
46350
46568
|
init_tools();
|
|
46351
|
-
|
|
46569
|
+
args10 = {
|
|
46352
46570
|
request: ListOrSearchDepartmentContactsRequest$inboundSchema
|
|
46353
46571
|
};
|
|
46354
46572
|
tool$organizationsListOrSearchDepartmentContacts = {
|
|
@@ -46361,9 +46579,9 @@ Available \`expand\` scopes are:
|
|
|
46361
46579
|
|
|
46362
46580
|
- department_membership.contact
|
|
46363
46581
|
- department_membership.department`,
|
|
46364
|
-
args:
|
|
46365
|
-
tool: async (client,
|
|
46366
|
-
const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client,
|
|
46582
|
+
args: args10,
|
|
46583
|
+
tool: async (client, args11, ctx) => {
|
|
46584
|
+
const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46367
46585
|
if (!result.ok) {
|
|
46368
46586
|
return {
|
|
46369
46587
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46378,9 +46596,9 @@ Available \`expand\` scopes are:
|
|
|
46378
46596
|
|
|
46379
46597
|
// src/funcs/organizationsListOrSearchDepartments.ts
|
|
46380
46598
|
function organizationsListOrSearchDepartments(client, request, options) {
|
|
46381
|
-
return new APIPromise($
|
|
46599
|
+
return new APIPromise($do11(client, request, options));
|
|
46382
46600
|
}
|
|
46383
|
-
async function $
|
|
46601
|
+
async function $do11(client, request, options) {
|
|
46384
46602
|
const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46385
46603
|
if (!parsed.ok) {
|
|
46386
46604
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46495,12 +46713,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
|
|
|
46495
46713
|
});
|
|
46496
46714
|
|
|
46497
46715
|
// src/mcp-server/tools/organizationsListOrSearchDepartments.ts
|
|
46498
|
-
var
|
|
46716
|
+
var args11, tool$organizationsListOrSearchDepartments;
|
|
46499
46717
|
var init_organizationsListOrSearchDepartments2 = __esm(() => {
|
|
46500
46718
|
init_organizationsListOrSearchDepartments();
|
|
46501
46719
|
init_operations();
|
|
46502
46720
|
init_tools();
|
|
46503
|
-
|
|
46721
|
+
args11 = {
|
|
46504
46722
|
request: ListOrSearchDepartmentsRequest$inboundSchema
|
|
46505
46723
|
};
|
|
46506
46724
|
tool$organizationsListOrSearchDepartments = {
|
|
@@ -46508,9 +46726,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
|
|
|
46508
46726
|
description: `List or search departments
|
|
46509
46727
|
|
|
46510
46728
|
List or search departments.`,
|
|
46511
|
-
args:
|
|
46512
|
-
tool: async (client,
|
|
46513
|
-
const [result, apiCall] = await organizationsListOrSearchDepartments(client,
|
|
46729
|
+
args: args11,
|
|
46730
|
+
tool: async (client, args12, ctx) => {
|
|
46731
|
+
const [result, apiCall] = await organizationsListOrSearchDepartments(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46514
46732
|
if (!result.ok) {
|
|
46515
46733
|
return {
|
|
46516
46734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46525,9 +46743,9 @@ List or search departments.`,
|
|
|
46525
46743
|
|
|
46526
46744
|
// src/funcs/organizationsListOrSearchFacilities.ts
|
|
46527
46745
|
function organizationsListOrSearchFacilities(client, request, options) {
|
|
46528
|
-
return new APIPromise($
|
|
46746
|
+
return new APIPromise($do12(client, request, options));
|
|
46529
46747
|
}
|
|
46530
|
-
async function $
|
|
46748
|
+
async function $do12(client, request, options) {
|
|
46531
46749
|
const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46532
46750
|
if (!parsed.ok) {
|
|
46533
46751
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46643,12 +46861,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
|
|
|
46643
46861
|
});
|
|
46644
46862
|
|
|
46645
46863
|
// src/mcp-server/tools/organizationsListOrSearchFacilities.ts
|
|
46646
|
-
var
|
|
46864
|
+
var args12, tool$organizationsListOrSearchFacilities;
|
|
46647
46865
|
var init_organizationsListOrSearchFacilities2 = __esm(() => {
|
|
46648
46866
|
init_organizationsListOrSearchFacilities();
|
|
46649
46867
|
init_operations();
|
|
46650
46868
|
init_tools();
|
|
46651
|
-
|
|
46869
|
+
args12 = {
|
|
46652
46870
|
request: ListOrSearchFacilitiesRequest$inboundSchema
|
|
46653
46871
|
};
|
|
46654
46872
|
tool$organizationsListOrSearchFacilities = {
|
|
@@ -46669,9 +46887,9 @@ Available \`expand\` scopes are:
|
|
|
46669
46887
|
- facility.vendor_policy
|
|
46670
46888
|
- facility.visitor_policy
|
|
46671
46889
|
- facility.workflow`,
|
|
46672
|
-
args:
|
|
46673
|
-
tool: async (client,
|
|
46674
|
-
const [result, apiCall] = await organizationsListOrSearchFacilities(client,
|
|
46890
|
+
args: args12,
|
|
46891
|
+
tool: async (client, args13, ctx) => {
|
|
46892
|
+
const [result, apiCall] = await organizationsListOrSearchFacilities(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46675
46893
|
if (!result.ok) {
|
|
46676
46894
|
return {
|
|
46677
46895
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46686,9 +46904,9 @@ Available \`expand\` scopes are:
|
|
|
46686
46904
|
|
|
46687
46905
|
// src/funcs/supportArticlesGetSupportArticle.ts
|
|
46688
46906
|
function supportArticlesGetSupportArticle(client, request, options) {
|
|
46689
|
-
return new APIPromise($
|
|
46907
|
+
return new APIPromise($do13(client, request, options));
|
|
46690
46908
|
}
|
|
46691
|
-
async function $
|
|
46909
|
+
async function $do13(client, request, options) {
|
|
46692
46910
|
const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46693
46911
|
if (!parsed.ok) {
|
|
46694
46912
|
return [parsed, { status: "invalid" }];
|
|
@@ -46768,12 +46986,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
|
|
|
46768
46986
|
});
|
|
46769
46987
|
|
|
46770
46988
|
// src/mcp-server/tools/supportArticlesGetSupportArticle.ts
|
|
46771
|
-
var
|
|
46989
|
+
var args13, tool$supportArticlesGetSupportArticle;
|
|
46772
46990
|
var init_supportArticlesGetSupportArticle2 = __esm(() => {
|
|
46773
46991
|
init_supportArticlesGetSupportArticle();
|
|
46774
46992
|
init_operations();
|
|
46775
46993
|
init_tools();
|
|
46776
|
-
|
|
46994
|
+
args13 = {
|
|
46777
46995
|
request: GetSupportArticleRequest$inboundSchema
|
|
46778
46996
|
};
|
|
46779
46997
|
tool$supportArticlesGetSupportArticle = {
|
|
@@ -46788,9 +47006,9 @@ Available \`expand\` scopes are:
|
|
|
46788
47006
|
- support_article.published
|
|
46789
47007
|
- support_article.notes
|
|
46790
47008
|
- support_article.support_category`,
|
|
46791
|
-
args:
|
|
46792
|
-
tool: async (client,
|
|
46793
|
-
const [result, apiCall] = await supportArticlesGetSupportArticle(client,
|
|
47009
|
+
args: args13,
|
|
47010
|
+
tool: async (client, args14, ctx) => {
|
|
47011
|
+
const [result, apiCall] = await supportArticlesGetSupportArticle(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46794
47012
|
if (!result.ok) {
|
|
46795
47013
|
return {
|
|
46796
47014
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46805,9 +47023,9 @@ Available \`expand\` scopes are:
|
|
|
46805
47023
|
|
|
46806
47024
|
// src/funcs/supportArticlesListOrSearchSupportArticles.ts
|
|
46807
47025
|
function supportArticlesListOrSearchSupportArticles(client, request, options) {
|
|
46808
|
-
return new APIPromise($
|
|
47026
|
+
return new APIPromise($do14(client, request, options));
|
|
46809
47027
|
}
|
|
46810
|
-
async function $
|
|
47028
|
+
async function $do14(client, request, options) {
|
|
46811
47029
|
const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46812
47030
|
if (!parsed.ok) {
|
|
46813
47031
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46917,12 +47135,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
|
|
|
46917
47135
|
});
|
|
46918
47136
|
|
|
46919
47137
|
// src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
|
|
46920
|
-
var
|
|
47138
|
+
var args14, tool$supportArticlesListOrSearchSupportArticles;
|
|
46921
47139
|
var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
46922
47140
|
init_supportArticlesListOrSearchSupportArticles();
|
|
46923
47141
|
init_operations();
|
|
46924
47142
|
init_tools();
|
|
46925
|
-
|
|
47143
|
+
args14 = {
|
|
46926
47144
|
request: ListOrSearchSupportArticlesRequest$inboundSchema
|
|
46927
47145
|
};
|
|
46928
47146
|
tool$supportArticlesListOrSearchSupportArticles = {
|
|
@@ -46930,9 +47148,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
|
46930
47148
|
description: `List or search support articles
|
|
46931
47149
|
|
|
46932
47150
|
List or search support articles for FAQ.`,
|
|
46933
|
-
args:
|
|
46934
|
-
tool: async (client,
|
|
46935
|
-
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client,
|
|
47151
|
+
args: args14,
|
|
47152
|
+
tool: async (client, args15, ctx) => {
|
|
47153
|
+
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46936
47154
|
if (!result.ok) {
|
|
46937
47155
|
return {
|
|
46938
47156
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46947,9 +47165,9 @@ List or search support articles for FAQ.`,
|
|
|
46947
47165
|
|
|
46948
47166
|
// src/funcs/systemsListSystems.ts
|
|
46949
47167
|
function systemsListSystems(client, request, options) {
|
|
46950
|
-
return new APIPromise($
|
|
47168
|
+
return new APIPromise($do15(client, request, options));
|
|
46951
47169
|
}
|
|
46952
|
-
async function $
|
|
47170
|
+
async function $do15(client, request, options) {
|
|
46953
47171
|
const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46954
47172
|
if (!parsed.ok) {
|
|
46955
47173
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -47060,12 +47278,12 @@ var init_systemsListSystems = __esm(() => {
|
|
|
47060
47278
|
});
|
|
47061
47279
|
|
|
47062
47280
|
// src/mcp-server/tools/systemsListSystems.ts
|
|
47063
|
-
var
|
|
47281
|
+
var args15, tool$systemsListSystems;
|
|
47064
47282
|
var init_systemsListSystems2 = __esm(() => {
|
|
47065
47283
|
init_systemsListSystems();
|
|
47066
47284
|
init_operations();
|
|
47067
47285
|
init_tools();
|
|
47068
|
-
|
|
47286
|
+
args15 = {
|
|
47069
47287
|
request: ListSystemsRequest$inboundSchema
|
|
47070
47288
|
};
|
|
47071
47289
|
tool$systemsListSystems = {
|
|
@@ -47077,9 +47295,9 @@ List or search systems.
|
|
|
47077
47295
|
Available \`expand\` scopes are:
|
|
47078
47296
|
|
|
47079
47297
|
- system.facilities`,
|
|
47080
|
-
args:
|
|
47081
|
-
tool: async (client,
|
|
47082
|
-
const [result, apiCall] = await systemsListSystems(client,
|
|
47298
|
+
args: args15,
|
|
47299
|
+
tool: async (client, args16, ctx) => {
|
|
47300
|
+
const [result, apiCall] = await systemsListSystems(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47083
47301
|
if (!result.ok) {
|
|
47084
47302
|
return {
|
|
47085
47303
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47094,9 +47312,9 @@ Available \`expand\` scopes are:
|
|
|
47094
47312
|
|
|
47095
47313
|
// src/funcs/usersChangePassword.ts
|
|
47096
47314
|
function usersChangePassword(client, request, options) {
|
|
47097
|
-
return new APIPromise($
|
|
47315
|
+
return new APIPromise($do16(client, request, options));
|
|
47098
47316
|
}
|
|
47099
|
-
async function $
|
|
47317
|
+
async function $do16(client, request, options) {
|
|
47100
47318
|
const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47101
47319
|
if (!parsed.ok) {
|
|
47102
47320
|
return [parsed, { status: "invalid" }];
|
|
@@ -47172,12 +47390,12 @@ var init_usersChangePassword = __esm(() => {
|
|
|
47172
47390
|
});
|
|
47173
47391
|
|
|
47174
47392
|
// src/mcp-server/tools/usersChangePassword.ts
|
|
47175
|
-
var
|
|
47393
|
+
var args16, tool$usersChangePassword;
|
|
47176
47394
|
var init_usersChangePassword2 = __esm(() => {
|
|
47177
47395
|
init_usersChangePassword();
|
|
47178
47396
|
init_operations();
|
|
47179
47397
|
init_tools();
|
|
47180
|
-
|
|
47398
|
+
args16 = {
|
|
47181
47399
|
request: ChangePasswordRequest$inboundSchema
|
|
47182
47400
|
};
|
|
47183
47401
|
tool$usersChangePassword = {
|
|
@@ -47185,9 +47403,9 @@ var init_usersChangePassword2 = __esm(() => {
|
|
|
47185
47403
|
description: `Change password
|
|
47186
47404
|
|
|
47187
47405
|
Change the user's password to the new passed as parameter`,
|
|
47188
|
-
args:
|
|
47189
|
-
tool: async (client,
|
|
47190
|
-
const [result, apiCall] = await usersChangePassword(client,
|
|
47406
|
+
args: args16,
|
|
47407
|
+
tool: async (client, args17, ctx) => {
|
|
47408
|
+
const [result, apiCall] = await usersChangePassword(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47191
47409
|
if (!result.ok) {
|
|
47192
47410
|
return {
|
|
47193
47411
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47202,9 +47420,9 @@ Change the user's password to the new passed as parameter`,
|
|
|
47202
47420
|
|
|
47203
47421
|
// src/funcs/usersGetCurrentUser.ts
|
|
47204
47422
|
function usersGetCurrentUser(client, options) {
|
|
47205
|
-
return new APIPromise($
|
|
47423
|
+
return new APIPromise($do17(client, options));
|
|
47206
47424
|
}
|
|
47207
|
-
async function $
|
|
47425
|
+
async function $do17(client, options) {
|
|
47208
47426
|
const path = pathToFunc("/users/me")();
|
|
47209
47427
|
const headers = new Headers(compactMap({
|
|
47210
47428
|
Accept: "application/json"
|
|
@@ -47289,9 +47507,9 @@ Returns a user object for the user represented by the authorization token`,
|
|
|
47289
47507
|
|
|
47290
47508
|
// src/funcs/usersGetUserById.ts
|
|
47291
47509
|
function usersGetUserById(client, request, options) {
|
|
47292
|
-
return new APIPromise($
|
|
47510
|
+
return new APIPromise($do18(client, request, options));
|
|
47293
47511
|
}
|
|
47294
|
-
async function $
|
|
47512
|
+
async function $do18(client, request, options) {
|
|
47295
47513
|
const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47296
47514
|
if (!parsed.ok) {
|
|
47297
47515
|
return [parsed, { status: "invalid" }];
|
|
@@ -47367,12 +47585,12 @@ var init_usersGetUserById = __esm(() => {
|
|
|
47367
47585
|
});
|
|
47368
47586
|
|
|
47369
47587
|
// src/mcp-server/tools/usersGetUserById.ts
|
|
47370
|
-
var
|
|
47588
|
+
var args17, tool$usersGetUserById;
|
|
47371
47589
|
var init_usersGetUserById2 = __esm(() => {
|
|
47372
47590
|
init_usersGetUserById();
|
|
47373
47591
|
init_operations();
|
|
47374
47592
|
init_tools();
|
|
47375
|
-
|
|
47593
|
+
args17 = {
|
|
47376
47594
|
request: GetUserByIdRequest$inboundSchema
|
|
47377
47595
|
};
|
|
47378
47596
|
tool$usersGetUserById = {
|
|
@@ -47380,9 +47598,9 @@ var init_usersGetUserById2 = __esm(() => {
|
|
|
47380
47598
|
description: `Get user by id
|
|
47381
47599
|
|
|
47382
47600
|
Returns a user object for the user represented by the identifier in the path.`,
|
|
47383
|
-
args:
|
|
47384
|
-
tool: async (client,
|
|
47385
|
-
const [result, apiCall] = await usersGetUserById(client,
|
|
47601
|
+
args: args17,
|
|
47602
|
+
tool: async (client, args18, ctx) => {
|
|
47603
|
+
const [result, apiCall] = await usersGetUserById(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47386
47604
|
if (!result.ok) {
|
|
47387
47605
|
return {
|
|
47388
47606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47397,9 +47615,9 @@ Returns a user object for the user represented by the identifier in the path.`,
|
|
|
47397
47615
|
|
|
47398
47616
|
// src/funcs/usersMagiclink.ts
|
|
47399
47617
|
function usersMagiclink(client, request, options) {
|
|
47400
|
-
return new APIPromise($
|
|
47618
|
+
return new APIPromise($do19(client, request, options));
|
|
47401
47619
|
}
|
|
47402
|
-
async function $
|
|
47620
|
+
async function $do19(client, request, options) {
|
|
47403
47621
|
const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47404
47622
|
if (!parsed.ok) {
|
|
47405
47623
|
return [parsed, { status: "invalid" }];
|
|
@@ -47469,12 +47687,12 @@ var init_usersMagiclink = __esm(() => {
|
|
|
47469
47687
|
});
|
|
47470
47688
|
|
|
47471
47689
|
// src/mcp-server/tools/usersMagiclink.ts
|
|
47472
|
-
var
|
|
47690
|
+
var args18, tool$usersMagiclink;
|
|
47473
47691
|
var init_usersMagiclink2 = __esm(() => {
|
|
47474
47692
|
init_usersMagiclink();
|
|
47475
47693
|
init_operations();
|
|
47476
47694
|
init_tools();
|
|
47477
|
-
|
|
47695
|
+
args18 = {
|
|
47478
47696
|
request: MagiclinkRequestBody$inboundSchema
|
|
47479
47697
|
};
|
|
47480
47698
|
tool$usersMagiclink = {
|
|
@@ -47482,9 +47700,9 @@ var init_usersMagiclink2 = __esm(() => {
|
|
|
47482
47700
|
description: `Magic link
|
|
47483
47701
|
|
|
47484
47702
|
It sends an email with a magic link to allow the user to log in.`,
|
|
47485
|
-
args:
|
|
47486
|
-
tool: async (client,
|
|
47487
|
-
const [result, apiCall] = await usersMagiclink(client,
|
|
47703
|
+
args: args18,
|
|
47704
|
+
tool: async (client, args19, ctx) => {
|
|
47705
|
+
const [result, apiCall] = await usersMagiclink(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47488
47706
|
if (!result.ok) {
|
|
47489
47707
|
return {
|
|
47490
47708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47499,9 +47717,9 @@ It sends an email with a magic link to allow the user to log in.`,
|
|
|
47499
47717
|
|
|
47500
47718
|
// src/funcs/usersPassword.ts
|
|
47501
47719
|
function usersPassword(client, request, options) {
|
|
47502
|
-
return new APIPromise($
|
|
47720
|
+
return new APIPromise($do20(client, request, options));
|
|
47503
47721
|
}
|
|
47504
|
-
async function $
|
|
47722
|
+
async function $do20(client, request, options) {
|
|
47505
47723
|
const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47506
47724
|
if (!parsed.ok) {
|
|
47507
47725
|
return [parsed, { status: "invalid" }];
|
|
@@ -47571,12 +47789,12 @@ var init_usersPassword = __esm(() => {
|
|
|
47571
47789
|
});
|
|
47572
47790
|
|
|
47573
47791
|
// src/mcp-server/tools/usersPassword.ts
|
|
47574
|
-
var
|
|
47792
|
+
var args19, tool$usersPassword;
|
|
47575
47793
|
var init_usersPassword2 = __esm(() => {
|
|
47576
47794
|
init_usersPassword();
|
|
47577
47795
|
init_operations();
|
|
47578
47796
|
init_tools();
|
|
47579
|
-
|
|
47797
|
+
args19 = {
|
|
47580
47798
|
request: PasswordRequestBody$inboundSchema
|
|
47581
47799
|
};
|
|
47582
47800
|
tool$usersPassword = {
|
|
@@ -47585,9 +47803,9 @@ var init_usersPassword2 = __esm(() => {
|
|
|
47585
47803
|
|
|
47586
47804
|
Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
47587
47805
|
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
47588
|
-
args:
|
|
47589
|
-
tool: async (client,
|
|
47590
|
-
const [result, apiCall] = await usersPassword(client,
|
|
47806
|
+
args: args19,
|
|
47807
|
+
tool: async (client, args20, ctx) => {
|
|
47808
|
+
const [result, apiCall] = await usersPassword(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47591
47809
|
if (!result.ok) {
|
|
47592
47810
|
return {
|
|
47593
47811
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47602,9 +47820,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
|
47602
47820
|
|
|
47603
47821
|
// src/funcs/usersPasswordResetRequest.ts
|
|
47604
47822
|
function usersPasswordResetRequest(client, request, options) {
|
|
47605
|
-
return new APIPromise($
|
|
47823
|
+
return new APIPromise($do21(client, request, options));
|
|
47606
47824
|
}
|
|
47607
|
-
async function $
|
|
47825
|
+
async function $do21(client, request, options) {
|
|
47608
47826
|
const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47609
47827
|
if (!parsed.ok) {
|
|
47610
47828
|
return [parsed, { status: "invalid" }];
|
|
@@ -47674,12 +47892,12 @@ var init_usersPasswordResetRequest = __esm(() => {
|
|
|
47674
47892
|
});
|
|
47675
47893
|
|
|
47676
47894
|
// src/mcp-server/tools/usersPasswordResetRequest.ts
|
|
47677
|
-
var
|
|
47895
|
+
var args20, tool$usersPasswordResetRequest;
|
|
47678
47896
|
var init_usersPasswordResetRequest2 = __esm(() => {
|
|
47679
47897
|
init_usersPasswordResetRequest();
|
|
47680
47898
|
init_operations();
|
|
47681
47899
|
init_tools();
|
|
47682
|
-
|
|
47900
|
+
args20 = {
|
|
47683
47901
|
request: PasswordResetRequestRequestBody$inboundSchema
|
|
47684
47902
|
};
|
|
47685
47903
|
tool$usersPasswordResetRequest = {
|
|
@@ -47687,9 +47905,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
|
|
|
47687
47905
|
description: `Password reset request
|
|
47688
47906
|
|
|
47689
47907
|
It sends an email with a link for resetting a user's password.`,
|
|
47690
|
-
args:
|
|
47691
|
-
tool: async (client,
|
|
47692
|
-
const [result, apiCall] = await usersPasswordResetRequest(client,
|
|
47908
|
+
args: args20,
|
|
47909
|
+
tool: async (client, args21, ctx) => {
|
|
47910
|
+
const [result, apiCall] = await usersPasswordResetRequest(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47693
47911
|
if (!result.ok) {
|
|
47694
47912
|
return {
|
|
47695
47913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47704,9 +47922,9 @@ It sends an email with a link for resetting a user's password.`,
|
|
|
47704
47922
|
|
|
47705
47923
|
// src/funcs/usersPostAuthenticate.ts
|
|
47706
47924
|
function usersPostAuthenticate(client, request, options) {
|
|
47707
|
-
return new APIPromise($
|
|
47925
|
+
return new APIPromise($do22(client, request, options));
|
|
47708
47926
|
}
|
|
47709
|
-
async function $
|
|
47927
|
+
async function $do22(client, request, options) {
|
|
47710
47928
|
const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47711
47929
|
if (!parsed.ok) {
|
|
47712
47930
|
return [parsed, { status: "invalid" }];
|
|
@@ -47772,12 +47990,12 @@ var init_usersPostAuthenticate = __esm(() => {
|
|
|
47772
47990
|
});
|
|
47773
47991
|
|
|
47774
47992
|
// src/mcp-server/tools/usersPostAuthenticate.ts
|
|
47775
|
-
var
|
|
47993
|
+
var args21, tool$usersPostAuthenticate;
|
|
47776
47994
|
var init_usersPostAuthenticate2 = __esm(() => {
|
|
47777
47995
|
init_usersPostAuthenticate();
|
|
47778
47996
|
init_operations();
|
|
47779
47997
|
init_tools();
|
|
47780
|
-
|
|
47998
|
+
args21 = {
|
|
47781
47999
|
request: PostAuthenticateRequestBody$inboundSchema
|
|
47782
48000
|
};
|
|
47783
48001
|
tool$usersPostAuthenticate = {
|
|
@@ -47815,9 +48033,9 @@ Requires: \`saml_login\`
|
|
|
47815
48033
|
3. Site redirects to your selected \`return_url\`
|
|
47816
48034
|
4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
|
|
47817
48035
|
5. Fetch the user object from \`/users/me\` using the token`,
|
|
47818
|
-
args:
|
|
47819
|
-
tool: async (client,
|
|
47820
|
-
const [result, apiCall] = await usersPostAuthenticate(client,
|
|
48036
|
+
args: args21,
|
|
48037
|
+
tool: async (client, args22, ctx) => {
|
|
48038
|
+
const [result, apiCall] = await usersPostAuthenticate(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47821
48039
|
if (!result.ok) {
|
|
47822
48040
|
return {
|
|
47823
48041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47832,9 +48050,9 @@ Requires: \`saml_login\`
|
|
|
47832
48050
|
|
|
47833
48051
|
// src/funcs/usersRotateApiKey.ts
|
|
47834
48052
|
function usersRotateApiKey(client, options) {
|
|
47835
|
-
return new APIPromise($
|
|
48053
|
+
return new APIPromise($do23(client, options));
|
|
47836
48054
|
}
|
|
47837
|
-
async function $
|
|
48055
|
+
async function $do23(client, options) {
|
|
47838
48056
|
const path = pathToFunc("/users/api_key_rotator")();
|
|
47839
48057
|
const headers = new Headers(compactMap({
|
|
47840
48058
|
Accept: "application/json"
|
|
@@ -47919,9 +48137,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
|
|
|
47919
48137
|
|
|
47920
48138
|
// src/funcs/vendorsAcceptVendorCredential.ts
|
|
47921
48139
|
function vendorsAcceptVendorCredential(client, request, options) {
|
|
47922
|
-
return new APIPromise($
|
|
48140
|
+
return new APIPromise($do24(client, request, options));
|
|
47923
48141
|
}
|
|
47924
|
-
async function $
|
|
48142
|
+
async function $do24(client, request, options) {
|
|
47925
48143
|
const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47926
48144
|
if (!parsed.ok) {
|
|
47927
48145
|
return [parsed, { status: "invalid" }];
|
|
@@ -47994,12 +48212,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
|
|
|
47994
48212
|
});
|
|
47995
48213
|
|
|
47996
48214
|
// src/mcp-server/tools/vendorsAcceptVendorCredential.ts
|
|
47997
|
-
var
|
|
48215
|
+
var args22, tool$vendorsAcceptVendorCredential;
|
|
47998
48216
|
var init_vendorsAcceptVendorCredential2 = __esm(() => {
|
|
47999
48217
|
init_vendorsAcceptVendorCredential();
|
|
48000
48218
|
init_operations();
|
|
48001
48219
|
init_tools();
|
|
48002
|
-
|
|
48220
|
+
args22 = {
|
|
48003
48221
|
request: AcceptVendorCredentialRequest$inboundSchema
|
|
48004
48222
|
};
|
|
48005
48223
|
tool$vendorsAcceptVendorCredential = {
|
|
@@ -48007,9 +48225,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
|
|
|
48007
48225
|
description: `Accept vendor credential
|
|
48008
48226
|
|
|
48009
48227
|
It will accept vendor credential`,
|
|
48010
|
-
args:
|
|
48011
|
-
tool: async (client,
|
|
48012
|
-
const [result, apiCall] = await vendorsAcceptVendorCredential(client,
|
|
48228
|
+
args: args22,
|
|
48229
|
+
tool: async (client, args23, ctx) => {
|
|
48230
|
+
const [result, apiCall] = await vendorsAcceptVendorCredential(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48013
48231
|
if (!result.ok) {
|
|
48014
48232
|
return {
|
|
48015
48233
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48024,9 +48242,9 @@ It will accept vendor credential`,
|
|
|
48024
48242
|
|
|
48025
48243
|
// src/funcs/vendorsAddVendorCredentialFile.ts
|
|
48026
48244
|
function vendorsAddVendorCredentialFile(client, request, options) {
|
|
48027
|
-
return new APIPromise($
|
|
48245
|
+
return new APIPromise($do25(client, request, options));
|
|
48028
48246
|
}
|
|
48029
|
-
async function $
|
|
48247
|
+
async function $do25(client, request, options) {
|
|
48030
48248
|
const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48031
48249
|
if (!parsed.ok) {
|
|
48032
48250
|
return [parsed, { status: "invalid" }];
|
|
@@ -48099,12 +48317,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
|
|
|
48099
48317
|
});
|
|
48100
48318
|
|
|
48101
48319
|
// src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
|
|
48102
|
-
var
|
|
48320
|
+
var args23, tool$vendorsAddVendorCredentialFile;
|
|
48103
48321
|
var init_vendorsAddVendorCredentialFile2 = __esm(() => {
|
|
48104
48322
|
init_vendorsAddVendorCredentialFile();
|
|
48105
48323
|
init_operations();
|
|
48106
48324
|
init_tools();
|
|
48107
|
-
|
|
48325
|
+
args23 = {
|
|
48108
48326
|
request: AddVendorCredentialFileRequest$inboundSchema
|
|
48109
48327
|
};
|
|
48110
48328
|
tool$vendorsAddVendorCredentialFile = {
|
|
@@ -48112,9 +48330,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
|
|
|
48112
48330
|
description: `Add vendor credential file
|
|
48113
48331
|
|
|
48114
48332
|
It will add a new vendor credential file`,
|
|
48115
|
-
args:
|
|
48116
|
-
tool: async (client,
|
|
48117
|
-
const [result, apiCall] = await vendorsAddVendorCredentialFile(client,
|
|
48333
|
+
args: args23,
|
|
48334
|
+
tool: async (client, args24, ctx) => {
|
|
48335
|
+
const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48118
48336
|
if (!result.ok) {
|
|
48119
48337
|
return {
|
|
48120
48338
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48129,9 +48347,9 @@ It will add a new vendor credential file`,
|
|
|
48129
48347
|
|
|
48130
48348
|
// src/funcs/vendorsAddVendorManagedByCompany.ts
|
|
48131
48349
|
function vendorsAddVendorManagedByCompany(client, request, options) {
|
|
48132
|
-
return new APIPromise($
|
|
48350
|
+
return new APIPromise($do26(client, request, options));
|
|
48133
48351
|
}
|
|
48134
|
-
async function $
|
|
48352
|
+
async function $do26(client, request, options) {
|
|
48135
48353
|
const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48136
48354
|
if (!parsed.ok) {
|
|
48137
48355
|
return [parsed, { status: "invalid" }];
|
|
@@ -48207,12 +48425,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
|
|
|
48207
48425
|
});
|
|
48208
48426
|
|
|
48209
48427
|
// src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
|
|
48210
|
-
var
|
|
48428
|
+
var args24, tool$vendorsAddVendorManagedByCompany;
|
|
48211
48429
|
var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
|
|
48212
48430
|
init_vendorsAddVendorManagedByCompany();
|
|
48213
48431
|
init_operations();
|
|
48214
48432
|
init_tools();
|
|
48215
|
-
|
|
48433
|
+
args24 = {
|
|
48216
48434
|
request: AddVendorManagedByCompanyRequest$inboundSchema
|
|
48217
48435
|
};
|
|
48218
48436
|
tool$vendorsAddVendorManagedByCompany = {
|
|
@@ -48220,9 +48438,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
|
|
|
48220
48438
|
description: `Add vendor managed by company
|
|
48221
48439
|
|
|
48222
48440
|
It will add a vendor managed by company`,
|
|
48223
|
-
args:
|
|
48224
|
-
tool: async (client,
|
|
48225
|
-
const [result, apiCall] = await vendorsAddVendorManagedByCompany(client,
|
|
48441
|
+
args: args24,
|
|
48442
|
+
tool: async (client, args25, ctx) => {
|
|
48443
|
+
const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48226
48444
|
if (!result.ok) {
|
|
48227
48445
|
return {
|
|
48228
48446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48237,9 +48455,9 @@ It will add a vendor managed by company`,
|
|
|
48237
48455
|
|
|
48238
48456
|
// src/funcs/vendorsCalculateSubscriptionPrice.ts
|
|
48239
48457
|
function vendorsCalculateSubscriptionPrice(client, request, options) {
|
|
48240
|
-
return new APIPromise($
|
|
48458
|
+
return new APIPromise($do27(client, request, options));
|
|
48241
48459
|
}
|
|
48242
|
-
async function $
|
|
48460
|
+
async function $do27(client, request, options) {
|
|
48243
48461
|
const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48244
48462
|
if (!parsed.ok) {
|
|
48245
48463
|
return [parsed, { status: "invalid" }];
|
|
@@ -48315,12 +48533,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
|
|
|
48315
48533
|
});
|
|
48316
48534
|
|
|
48317
48535
|
// src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
|
|
48318
|
-
var
|
|
48536
|
+
var args25, tool$vendorsCalculateSubscriptionPrice;
|
|
48319
48537
|
var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
|
|
48320
48538
|
init_vendorsCalculateSubscriptionPrice();
|
|
48321
48539
|
init_operations();
|
|
48322
48540
|
init_tools();
|
|
48323
|
-
|
|
48541
|
+
args25 = {
|
|
48324
48542
|
request: CalculateSubscriptionPriceRequest$inboundSchema
|
|
48325
48543
|
};
|
|
48326
48544
|
tool$vendorsCalculateSubscriptionPrice = {
|
|
@@ -48328,9 +48546,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
|
|
|
48328
48546
|
description: `Calculate subscription price
|
|
48329
48547
|
|
|
48330
48548
|
Calculate subscription price`,
|
|
48331
|
-
args:
|
|
48332
|
-
tool: async (client,
|
|
48333
|
-
const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client,
|
|
48549
|
+
args: args25,
|
|
48550
|
+
tool: async (client, args26, ctx) => {
|
|
48551
|
+
const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48334
48552
|
if (!result.ok) {
|
|
48335
48553
|
return {
|
|
48336
48554
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48345,9 +48563,9 @@ Calculate subscription price`,
|
|
|
48345
48563
|
|
|
48346
48564
|
// src/funcs/vendorScansVendorScanOut.ts
|
|
48347
48565
|
function vendorScansVendorScanOut(client, request, options) {
|
|
48348
|
-
return new APIPromise($
|
|
48566
|
+
return new APIPromise($do28(client, request, options));
|
|
48349
48567
|
}
|
|
48350
|
-
async function $
|
|
48568
|
+
async function $do28(client, request, options) {
|
|
48351
48569
|
const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48352
48570
|
if (!parsed.ok) {
|
|
48353
48571
|
return [parsed, { status: "invalid" }];
|
|
@@ -48422,12 +48640,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
|
|
|
48422
48640
|
});
|
|
48423
48641
|
|
|
48424
48642
|
// src/mcp-server/tools/vendorScansVendorScanOut.ts
|
|
48425
|
-
var
|
|
48643
|
+
var args26, tool$vendorScansVendorScanOut;
|
|
48426
48644
|
var init_vendorScansVendorScanOut2 = __esm(() => {
|
|
48427
48645
|
init_vendorScansVendorScanOut();
|
|
48428
48646
|
init_operations();
|
|
48429
48647
|
init_tools();
|
|
48430
|
-
|
|
48648
|
+
args26 = {
|
|
48431
48649
|
request: VendorScanOutRequest$inboundSchema
|
|
48432
48650
|
};
|
|
48433
48651
|
tool$vendorScansVendorScanOut = {
|
|
@@ -48435,9 +48653,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
|
|
|
48435
48653
|
description: `Vendor scan out
|
|
48436
48654
|
|
|
48437
48655
|
It scans out vendor from facility`,
|
|
48438
|
-
args:
|
|
48439
|
-
tool: async (client,
|
|
48440
|
-
const [result, apiCall] = await vendorScansVendorScanOut(client,
|
|
48656
|
+
args: args26,
|
|
48657
|
+
tool: async (client, args27, ctx) => {
|
|
48658
|
+
const [result, apiCall] = await vendorScansVendorScanOut(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48441
48659
|
if (!result.ok) {
|
|
48442
48660
|
return {
|
|
48443
48661
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48452,9 +48670,9 @@ It scans out vendor from facility`,
|
|
|
48452
48670
|
|
|
48453
48671
|
// src/funcs/vendorsChangeSubscription.ts
|
|
48454
48672
|
function vendorsChangeSubscription(client, request, options) {
|
|
48455
|
-
return new APIPromise($
|
|
48673
|
+
return new APIPromise($do29(client, request, options));
|
|
48456
48674
|
}
|
|
48457
|
-
async function $
|
|
48675
|
+
async function $do29(client, request, options) {
|
|
48458
48676
|
const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48459
48677
|
if (!parsed.ok) {
|
|
48460
48678
|
return [parsed, { status: "invalid" }];
|
|
@@ -48530,12 +48748,12 @@ var init_vendorsChangeSubscription = __esm(() => {
|
|
|
48530
48748
|
});
|
|
48531
48749
|
|
|
48532
48750
|
// src/mcp-server/tools/vendorsChangeSubscription.ts
|
|
48533
|
-
var
|
|
48751
|
+
var args27, tool$vendorsChangeSubscription;
|
|
48534
48752
|
var init_vendorsChangeSubscription2 = __esm(() => {
|
|
48535
48753
|
init_vendorsChangeSubscription();
|
|
48536
48754
|
init_operations();
|
|
48537
48755
|
init_tools();
|
|
48538
|
-
|
|
48756
|
+
args27 = {
|
|
48539
48757
|
request: ChangeSubscriptionRequest$inboundSchema
|
|
48540
48758
|
};
|
|
48541
48759
|
tool$vendorsChangeSubscription = {
|
|
@@ -48543,9 +48761,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
|
|
|
48543
48761
|
description: `Change subscription
|
|
48544
48762
|
|
|
48545
48763
|
Calculate subscription price`,
|
|
48546
|
-
args:
|
|
48547
|
-
tool: async (client,
|
|
48548
|
-
const [result, apiCall] = await vendorsChangeSubscription(client,
|
|
48764
|
+
args: args27,
|
|
48765
|
+
tool: async (client, args28, ctx) => {
|
|
48766
|
+
const [result, apiCall] = await vendorsChangeSubscription(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48549
48767
|
if (!result.ok) {
|
|
48550
48768
|
return {
|
|
48551
48769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48560,9 +48778,9 @@ Calculate subscription price`,
|
|
|
48560
48778
|
|
|
48561
48779
|
// src/funcs/vendorsCheckDownloadCode.ts
|
|
48562
48780
|
function vendorsCheckDownloadCode(client, request, options) {
|
|
48563
|
-
return new APIPromise($
|
|
48781
|
+
return new APIPromise($do30(client, request, options));
|
|
48564
48782
|
}
|
|
48565
|
-
async function $
|
|
48783
|
+
async function $do30(client, request, options) {
|
|
48566
48784
|
const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48567
48785
|
if (!parsed.ok) {
|
|
48568
48786
|
return [parsed, { status: "invalid" }];
|
|
@@ -48638,12 +48856,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
|
|
|
48638
48856
|
});
|
|
48639
48857
|
|
|
48640
48858
|
// src/mcp-server/tools/vendorsCheckDownloadCode.ts
|
|
48641
|
-
var
|
|
48859
|
+
var args28, tool$vendorsCheckDownloadCode;
|
|
48642
48860
|
var init_vendorsCheckDownloadCode2 = __esm(() => {
|
|
48643
48861
|
init_vendorsCheckDownloadCode();
|
|
48644
48862
|
init_operations();
|
|
48645
48863
|
init_tools();
|
|
48646
|
-
|
|
48864
|
+
args28 = {
|
|
48647
48865
|
request: CheckDownloadCodeRequest$inboundSchema
|
|
48648
48866
|
};
|
|
48649
48867
|
tool$vendorsCheckDownloadCode = {
|
|
@@ -48651,9 +48869,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
|
|
|
48651
48869
|
description: `Check download code for vendor credential
|
|
48652
48870
|
|
|
48653
48871
|
It will check download code for vendor credential`,
|
|
48654
|
-
args:
|
|
48655
|
-
tool: async (client,
|
|
48656
|
-
const [result, apiCall] = await vendorsCheckDownloadCode(client,
|
|
48872
|
+
args: args28,
|
|
48873
|
+
tool: async (client, args29, ctx) => {
|
|
48874
|
+
const [result, apiCall] = await vendorsCheckDownloadCode(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48657
48875
|
if (!result.ok) {
|
|
48658
48876
|
return {
|
|
48659
48877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48668,9 +48886,9 @@ It will check download code for vendor credential`,
|
|
|
48668
48886
|
|
|
48669
48887
|
// src/funcs/vendorsCreateNewVendorCredentialVersion.ts
|
|
48670
48888
|
function vendorsCreateNewVendorCredentialVersion(client, request, options) {
|
|
48671
|
-
return new APIPromise($
|
|
48889
|
+
return new APIPromise($do31(client, request, options));
|
|
48672
48890
|
}
|
|
48673
|
-
async function $
|
|
48891
|
+
async function $do31(client, request, options) {
|
|
48674
48892
|
const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
48675
48893
|
if (!parsed.ok) {
|
|
48676
48894
|
return [parsed, { status: "invalid" }];
|
|
@@ -48740,12 +48958,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
|
|
|
48740
48958
|
});
|
|
48741
48959
|
|
|
48742
48960
|
// src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
|
|
48743
|
-
var
|
|
48961
|
+
var args29, tool$vendorsCreateNewVendorCredentialVersion;
|
|
48744
48962
|
var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
|
|
48745
48963
|
init_vendorsCreateNewVendorCredentialVersion();
|
|
48746
48964
|
init_operations();
|
|
48747
48965
|
init_tools();
|
|
48748
|
-
|
|
48966
|
+
args29 = {
|
|
48749
48967
|
request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
|
|
48750
48968
|
};
|
|
48751
48969
|
tool$vendorsCreateNewVendorCredentialVersion = {
|
|
@@ -48753,9 +48971,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
|
|
|
48753
48971
|
description: `Create new vendor credential version
|
|
48754
48972
|
|
|
48755
48973
|
It will submit vendor credential`,
|
|
48756
|
-
args:
|
|
48757
|
-
tool: async (client,
|
|
48758
|
-
const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client,
|
|
48974
|
+
args: args29,
|
|
48975
|
+
tool: async (client, args30, ctx) => {
|
|
48976
|
+
const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48759
48977
|
if (!result.ok) {
|
|
48760
48978
|
return {
|
|
48761
48979
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48770,9 +48988,9 @@ It will submit vendor credential`,
|
|
|
48770
48988
|
|
|
48771
48989
|
// src/funcs/vendorsCreateOrUpdateBcr.ts
|
|
48772
48990
|
function vendorsCreateOrUpdateBcr(client, request, options) {
|
|
48773
|
-
return new APIPromise($
|
|
48991
|
+
return new APIPromise($do32(client, request, options));
|
|
48774
48992
|
}
|
|
48775
|
-
async function $
|
|
48993
|
+
async function $do32(client, request, options) {
|
|
48776
48994
|
const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48777
48995
|
if (!parsed.ok) {
|
|
48778
48996
|
return [parsed, { status: "invalid" }];
|
|
@@ -48846,12 +49064,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
|
|
|
48846
49064
|
});
|
|
48847
49065
|
|
|
48848
49066
|
// src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
|
|
48849
|
-
var
|
|
49067
|
+
var args30, tool$vendorsCreateOrUpdateBcr;
|
|
48850
49068
|
var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
|
|
48851
49069
|
init_vendorsCreateOrUpdateBcr();
|
|
48852
49070
|
init_operations();
|
|
48853
49071
|
init_tools();
|
|
48854
|
-
|
|
49072
|
+
args30 = {
|
|
48855
49073
|
request: CreateOrUpdateBcrRequest$inboundSchema
|
|
48856
49074
|
};
|
|
48857
49075
|
tool$vendorsCreateOrUpdateBcr = {
|
|
@@ -48859,9 +49077,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
|
|
|
48859
49077
|
description: `Create or update BackgroundCheckResults
|
|
48860
49078
|
|
|
48861
49079
|
It will create or update BackgroundCheckResults`,
|
|
48862
|
-
args:
|
|
48863
|
-
tool: async (client,
|
|
48864
|
-
const [result, apiCall] = await vendorsCreateOrUpdateBcr(client,
|
|
49080
|
+
args: args30,
|
|
49081
|
+
tool: async (client, args31, ctx) => {
|
|
49082
|
+
const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48865
49083
|
if (!result.ok) {
|
|
48866
49084
|
return {
|
|
48867
49085
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48876,9 +49094,9 @@ It will create or update BackgroundCheckResults`,
|
|
|
48876
49094
|
|
|
48877
49095
|
// src/funcs/vendorsCreateVendorCompany.ts
|
|
48878
49096
|
function vendorsCreateVendorCompany(client, request, options) {
|
|
48879
|
-
return new APIPromise($
|
|
49097
|
+
return new APIPromise($do33(client, request, options));
|
|
48880
49098
|
}
|
|
48881
|
-
async function $
|
|
49099
|
+
async function $do33(client, request, options) {
|
|
48882
49100
|
const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48883
49101
|
if (!parsed.ok) {
|
|
48884
49102
|
return [parsed, { status: "invalid" }];
|
|
@@ -48954,12 +49172,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
|
|
|
48954
49172
|
});
|
|
48955
49173
|
|
|
48956
49174
|
// src/mcp-server/tools/vendorsCreateVendorCompany.ts
|
|
48957
|
-
var
|
|
49175
|
+
var args31, tool$vendorsCreateVendorCompany;
|
|
48958
49176
|
var init_vendorsCreateVendorCompany2 = __esm(() => {
|
|
48959
49177
|
init_vendorsCreateVendorCompany();
|
|
48960
49178
|
init_operations();
|
|
48961
49179
|
init_tools();
|
|
48962
|
-
|
|
49180
|
+
args31 = {
|
|
48963
49181
|
request: CreateVendorCompanyRequest$inboundSchema
|
|
48964
49182
|
};
|
|
48965
49183
|
tool$vendorsCreateVendorCompany = {
|
|
@@ -48967,9 +49185,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
|
|
|
48967
49185
|
description: `Create vendor company
|
|
48968
49186
|
|
|
48969
49187
|
Create vendor company`,
|
|
48970
|
-
args:
|
|
48971
|
-
tool: async (client,
|
|
48972
|
-
const [result, apiCall] = await vendorsCreateVendorCompany(client,
|
|
49188
|
+
args: args31,
|
|
49189
|
+
tool: async (client, args32, ctx) => {
|
|
49190
|
+
const [result, apiCall] = await vendorsCreateVendorCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48973
49191
|
if (!result.ok) {
|
|
48974
49192
|
return {
|
|
48975
49193
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48984,9 +49202,9 @@ Create vendor company`,
|
|
|
48984
49202
|
|
|
48985
49203
|
// src/funcs/vendorsCreateVendorRegistration.ts
|
|
48986
49204
|
function vendorsCreateVendorRegistration(client, request, options) {
|
|
48987
|
-
return new APIPromise($
|
|
49205
|
+
return new APIPromise($do34(client, request, options));
|
|
48988
49206
|
}
|
|
48989
|
-
async function $
|
|
49207
|
+
async function $do34(client, request, options) {
|
|
48990
49208
|
const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
48991
49209
|
if (!parsed.ok) {
|
|
48992
49210
|
return [parsed, { status: "invalid" }];
|
|
@@ -49053,12 +49271,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
|
|
|
49053
49271
|
});
|
|
49054
49272
|
|
|
49055
49273
|
// src/mcp-server/tools/vendorsCreateVendorRegistration.ts
|
|
49056
|
-
var
|
|
49274
|
+
var args32, tool$vendorsCreateVendorRegistration;
|
|
49057
49275
|
var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
49058
49276
|
init_vendorsCreateVendorRegistration();
|
|
49059
49277
|
init_operations();
|
|
49060
49278
|
init_tools();
|
|
49061
|
-
|
|
49279
|
+
args32 = {
|
|
49062
49280
|
request: CreateVendorRegistrationRequestBody$inboundSchema
|
|
49063
49281
|
};
|
|
49064
49282
|
tool$vendorsCreateVendorRegistration = {
|
|
@@ -49066,9 +49284,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
|
49066
49284
|
description: `Create vendor registration
|
|
49067
49285
|
|
|
49068
49286
|
Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
|
|
49069
|
-
args:
|
|
49070
|
-
tool: async (client,
|
|
49071
|
-
const [result, apiCall] = await vendorsCreateVendorRegistration(client,
|
|
49287
|
+
args: args32,
|
|
49288
|
+
tool: async (client, args33, ctx) => {
|
|
49289
|
+
const [result, apiCall] = await vendorsCreateVendorRegistration(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49072
49290
|
if (!result.ok) {
|
|
49073
49291
|
return {
|
|
49074
49292
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49083,9 +49301,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
49083
49301
|
|
|
49084
49302
|
// src/funcs/vendorsDeclineVendorCredential.ts
|
|
49085
49303
|
function vendorsDeclineVendorCredential(client, request, options) {
|
|
49086
|
-
return new APIPromise($
|
|
49304
|
+
return new APIPromise($do35(client, request, options));
|
|
49087
49305
|
}
|
|
49088
|
-
async function $
|
|
49306
|
+
async function $do35(client, request, options) {
|
|
49089
49307
|
const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49090
49308
|
if (!parsed.ok) {
|
|
49091
49309
|
return [parsed, { status: "invalid" }];
|
|
@@ -49158,12 +49376,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
|
|
|
49158
49376
|
});
|
|
49159
49377
|
|
|
49160
49378
|
// src/mcp-server/tools/vendorsDeclineVendorCredential.ts
|
|
49161
|
-
var
|
|
49379
|
+
var args33, tool$vendorsDeclineVendorCredential;
|
|
49162
49380
|
var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
49163
49381
|
init_vendorsDeclineVendorCredential();
|
|
49164
49382
|
init_operations();
|
|
49165
49383
|
init_tools();
|
|
49166
|
-
|
|
49384
|
+
args33 = {
|
|
49167
49385
|
request: DeclineVendorCredentialRequest$inboundSchema
|
|
49168
49386
|
};
|
|
49169
49387
|
tool$vendorsDeclineVendorCredential = {
|
|
@@ -49171,9 +49389,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
|
49171
49389
|
description: `Decline vendor credential
|
|
49172
49390
|
|
|
49173
49391
|
It will decline vendor credential`,
|
|
49174
|
-
args:
|
|
49175
|
-
tool: async (client,
|
|
49176
|
-
const [result, apiCall] = await vendorsDeclineVendorCredential(client,
|
|
49392
|
+
args: args33,
|
|
49393
|
+
tool: async (client, args34, ctx) => {
|
|
49394
|
+
const [result, apiCall] = await vendorsDeclineVendorCredential(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49177
49395
|
if (!result.ok) {
|
|
49178
49396
|
return {
|
|
49179
49397
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49188,9 +49406,9 @@ It will decline vendor credential`,
|
|
|
49188
49406
|
|
|
49189
49407
|
// src/funcs/vendorsDeleteVendorCredentialFile.ts
|
|
49190
49408
|
function vendorsDeleteVendorCredentialFile(client, request, options) {
|
|
49191
|
-
return new APIPromise($
|
|
49409
|
+
return new APIPromise($do36(client, request, options));
|
|
49192
49410
|
}
|
|
49193
|
-
async function $
|
|
49411
|
+
async function $do36(client, request, options) {
|
|
49194
49412
|
const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49195
49413
|
if (!parsed.ok) {
|
|
49196
49414
|
return [parsed, { status: "invalid" }];
|
|
@@ -49267,12 +49485,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
|
|
|
49267
49485
|
});
|
|
49268
49486
|
|
|
49269
49487
|
// src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
|
|
49270
|
-
var
|
|
49488
|
+
var args34, tool$vendorsDeleteVendorCredentialFile;
|
|
49271
49489
|
var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
49272
49490
|
init_vendorsDeleteVendorCredentialFile();
|
|
49273
49491
|
init_operations();
|
|
49274
49492
|
init_tools();
|
|
49275
|
-
|
|
49493
|
+
args34 = {
|
|
49276
49494
|
request: DeleteVendorCredentialFileRequest$inboundSchema
|
|
49277
49495
|
};
|
|
49278
49496
|
tool$vendorsDeleteVendorCredentialFile = {
|
|
@@ -49280,9 +49498,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
|
49280
49498
|
description: `Delete vendor credential file
|
|
49281
49499
|
|
|
49282
49500
|
It will delete the vendor credential file`,
|
|
49283
|
-
args:
|
|
49284
|
-
tool: async (client,
|
|
49285
|
-
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client,
|
|
49501
|
+
args: args34,
|
|
49502
|
+
tool: async (client, args35, ctx) => {
|
|
49503
|
+
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49286
49504
|
if (!result.ok) {
|
|
49287
49505
|
return {
|
|
49288
49506
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49297,9 +49515,9 @@ It will delete the vendor credential file`,
|
|
|
49297
49515
|
|
|
49298
49516
|
// src/funcs/vendorsDeleteVendorManagedByCompany.ts
|
|
49299
49517
|
function vendorsDeleteVendorManagedByCompany(client, request, options) {
|
|
49300
|
-
return new APIPromise($
|
|
49518
|
+
return new APIPromise($do37(client, request, options));
|
|
49301
49519
|
}
|
|
49302
|
-
async function $
|
|
49520
|
+
async function $do37(client, request, options) {
|
|
49303
49521
|
const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49304
49522
|
if (!parsed.ok) {
|
|
49305
49523
|
return [parsed, { status: "invalid" }];
|
|
@@ -49375,12 +49593,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
|
|
|
49375
49593
|
});
|
|
49376
49594
|
|
|
49377
49595
|
// src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
|
|
49378
|
-
var
|
|
49596
|
+
var args35, tool$vendorsDeleteVendorManagedByCompany;
|
|
49379
49597
|
var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
49380
49598
|
init_vendorsDeleteVendorManagedByCompany();
|
|
49381
49599
|
init_operations();
|
|
49382
49600
|
init_tools();
|
|
49383
|
-
|
|
49601
|
+
args35 = {
|
|
49384
49602
|
request: DeleteVendorManagedByCompanyRequest$inboundSchema
|
|
49385
49603
|
};
|
|
49386
49604
|
tool$vendorsDeleteVendorManagedByCompany = {
|
|
@@ -49388,9 +49606,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
|
49388
49606
|
description: `Delete vendor managed by company
|
|
49389
49607
|
|
|
49390
49608
|
It will delete the vendor managed by company`,
|
|
49391
|
-
args:
|
|
49392
|
-
tool: async (client,
|
|
49393
|
-
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client,
|
|
49609
|
+
args: args35,
|
|
49610
|
+
tool: async (client, args36, ctx) => {
|
|
49611
|
+
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49394
49612
|
if (!result.ok) {
|
|
49395
49613
|
return {
|
|
49396
49614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49405,9 +49623,9 @@ It will delete the vendor managed by company`,
|
|
|
49405
49623
|
|
|
49406
49624
|
// src/funcs/vendorsExpediteTimeRemaining.ts
|
|
49407
49625
|
function vendorsExpediteTimeRemaining(client, request, options) {
|
|
49408
|
-
return new APIPromise($
|
|
49626
|
+
return new APIPromise($do38(client, request, options));
|
|
49409
49627
|
}
|
|
49410
|
-
async function $
|
|
49628
|
+
async function $do38(client, request, options) {
|
|
49411
49629
|
const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49412
49630
|
if (!parsed.ok) {
|
|
49413
49631
|
return [parsed, { status: "invalid" }];
|
|
@@ -49482,12 +49700,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
|
|
|
49482
49700
|
});
|
|
49483
49701
|
|
|
49484
49702
|
// src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
|
|
49485
|
-
var
|
|
49703
|
+
var args36, tool$vendorsExpediteTimeRemaining;
|
|
49486
49704
|
var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
49487
49705
|
init_vendorsExpediteTimeRemaining();
|
|
49488
49706
|
init_operations();
|
|
49489
49707
|
init_tools();
|
|
49490
|
-
|
|
49708
|
+
args36 = {
|
|
49491
49709
|
request: ExpediteTimeRemainingRequest$inboundSchema
|
|
49492
49710
|
};
|
|
49493
49711
|
tool$vendorsExpediteTimeRemaining = {
|
|
@@ -49495,9 +49713,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
|
49495
49713
|
description: `Expedite time remaining
|
|
49496
49714
|
|
|
49497
49715
|
For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
|
|
49498
|
-
args:
|
|
49499
|
-
tool: async (client,
|
|
49500
|
-
const [result, apiCall] = await vendorsExpediteTimeRemaining(client,
|
|
49716
|
+
args: args36,
|
|
49717
|
+
tool: async (client, args37, ctx) => {
|
|
49718
|
+
const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49501
49719
|
if (!result.ok) {
|
|
49502
49720
|
return {
|
|
49503
49721
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49512,9 +49730,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
|
|
|
49512
49730
|
|
|
49513
49731
|
// src/funcs/vendorsGetSubscription.ts
|
|
49514
49732
|
function vendorsGetSubscription(client, request, options) {
|
|
49515
|
-
return new APIPromise($
|
|
49733
|
+
return new APIPromise($do39(client, request, options));
|
|
49516
49734
|
}
|
|
49517
|
-
async function $
|
|
49735
|
+
async function $do39(client, request, options) {
|
|
49518
49736
|
const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49519
49737
|
if (!parsed.ok) {
|
|
49520
49738
|
return [parsed, { status: "invalid" }];
|
|
@@ -49593,12 +49811,12 @@ var init_vendorsGetSubscription = __esm(() => {
|
|
|
49593
49811
|
});
|
|
49594
49812
|
|
|
49595
49813
|
// src/mcp-server/tools/vendorsGetSubscription.ts
|
|
49596
|
-
var
|
|
49814
|
+
var args37, tool$vendorsGetSubscription;
|
|
49597
49815
|
var init_vendorsGetSubscription2 = __esm(() => {
|
|
49598
49816
|
init_vendorsGetSubscription();
|
|
49599
49817
|
init_operations();
|
|
49600
49818
|
init_tools();
|
|
49601
|
-
|
|
49819
|
+
args37 = {
|
|
49602
49820
|
request: GetSubscriptionRequest$inboundSchema
|
|
49603
49821
|
};
|
|
49604
49822
|
tool$vendorsGetSubscription = {
|
|
@@ -49610,9 +49828,9 @@ Get vendor subscription
|
|
|
49610
49828
|
Available \`expand\` scopes are:
|
|
49611
49829
|
|
|
49612
49830
|
subscription.expedited_offer`,
|
|
49613
|
-
args:
|
|
49614
|
-
tool: async (client,
|
|
49615
|
-
const [result, apiCall] = await vendorsGetSubscription(client,
|
|
49831
|
+
args: args37,
|
|
49832
|
+
tool: async (client, args38, ctx) => {
|
|
49833
|
+
const [result, apiCall] = await vendorsGetSubscription(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49616
49834
|
if (!result.ok) {
|
|
49617
49835
|
return {
|
|
49618
49836
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49627,9 +49845,9 @@ subscription.expedited_offer`,
|
|
|
49627
49845
|
|
|
49628
49846
|
// src/funcs/vendorsGetVendorCredentialDetails.ts
|
|
49629
49847
|
function vendorsGetVendorCredentialDetails(client, request, options) {
|
|
49630
|
-
return new APIPromise($
|
|
49848
|
+
return new APIPromise($do40(client, request, options));
|
|
49631
49849
|
}
|
|
49632
|
-
async function $
|
|
49850
|
+
async function $do40(client, request, options) {
|
|
49633
49851
|
const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49634
49852
|
if (!parsed.ok) {
|
|
49635
49853
|
return [parsed, { status: "invalid" }];
|
|
@@ -49712,12 +49930,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
|
|
|
49712
49930
|
});
|
|
49713
49931
|
|
|
49714
49932
|
// src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
|
|
49715
|
-
var
|
|
49933
|
+
var args38, tool$vendorsGetVendorCredentialDetails;
|
|
49716
49934
|
var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
|
|
49717
49935
|
init_vendorsGetVendorCredentialDetails();
|
|
49718
49936
|
init_operations();
|
|
49719
49937
|
init_tools();
|
|
49720
|
-
|
|
49938
|
+
args38 = {
|
|
49721
49939
|
request: GetVendorCredentialDetailsRequest$inboundSchema
|
|
49722
49940
|
};
|
|
49723
49941
|
tool$vendorsGetVendorCredentialDetails = {
|
|
@@ -49743,9 +49961,9 @@ Available \`expand\` scopes are:
|
|
|
49743
49961
|
- vendor_credential.credential_variants
|
|
49744
49962
|
- vendor_credential.targets_chop
|
|
49745
49963
|
- vendor_credential.total_pending_credentials`,
|
|
49746
|
-
args:
|
|
49747
|
-
tool: async (client,
|
|
49748
|
-
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client,
|
|
49964
|
+
args: args38,
|
|
49965
|
+
tool: async (client, args39, ctx) => {
|
|
49966
|
+
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49749
49967
|
if (!result.ok) {
|
|
49750
49968
|
return {
|
|
49751
49969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49760,9 +49978,9 @@ Available \`expand\` scopes are:
|
|
|
49760
49978
|
|
|
49761
49979
|
// src/funcs/vendorsGetVendorCredentialFile.ts
|
|
49762
49980
|
function vendorsGetVendorCredentialFile(client, request, options) {
|
|
49763
|
-
return new APIPromise($
|
|
49981
|
+
return new APIPromise($do41(client, request, options));
|
|
49764
49982
|
}
|
|
49765
|
-
async function $
|
|
49983
|
+
async function $do41(client, request, options) {
|
|
49766
49984
|
const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49767
49985
|
if (!parsed.ok) {
|
|
49768
49986
|
return [parsed, { status: "invalid" }];
|
|
@@ -49843,12 +50061,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
|
|
|
49843
50061
|
});
|
|
49844
50062
|
|
|
49845
50063
|
// src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
|
|
49846
|
-
var
|
|
50064
|
+
var args39, tool$vendorsGetVendorCredentialFile;
|
|
49847
50065
|
var init_vendorsGetVendorCredentialFile2 = __esm(() => {
|
|
49848
50066
|
init_vendorsGetVendorCredentialFile();
|
|
49849
50067
|
init_operations();
|
|
49850
50068
|
init_tools();
|
|
49851
|
-
|
|
50069
|
+
args39 = {
|
|
49852
50070
|
request: GetVendorCredentialFileRequest$inboundSchema
|
|
49853
50071
|
};
|
|
49854
50072
|
tool$vendorsGetVendorCredentialFile = {
|
|
@@ -49861,9 +50079,9 @@ Available \`expand\` scopes are:
|
|
|
49861
50079
|
|
|
49862
50080
|
- vendor_credential_file.vendor_credential
|
|
49863
50081
|
- vendor_credential_file.credential_document`,
|
|
49864
|
-
args:
|
|
49865
|
-
tool: async (client,
|
|
49866
|
-
const [result, apiCall] = await vendorsGetVendorCredentialFile(client,
|
|
50082
|
+
args: args39,
|
|
50083
|
+
tool: async (client, args40, ctx) => {
|
|
50084
|
+
const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49867
50085
|
if (!result.ok) {
|
|
49868
50086
|
return {
|
|
49869
50087
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49878,9 +50096,9 @@ Available \`expand\` scopes are:
|
|
|
49878
50096
|
|
|
49879
50097
|
// src/funcs/vendorsGetVendorInvoiceDetails.ts
|
|
49880
50098
|
function vendorsGetVendorInvoiceDetails(client, request, options) {
|
|
49881
|
-
return new APIPromise($
|
|
50099
|
+
return new APIPromise($do42(client, request, options));
|
|
49882
50100
|
}
|
|
49883
|
-
async function $
|
|
50101
|
+
async function $do42(client, request, options) {
|
|
49884
50102
|
const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49885
50103
|
if (!parsed.ok) {
|
|
49886
50104
|
return [parsed, { status: "invalid" }];
|
|
@@ -49960,12 +50178,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
|
|
|
49960
50178
|
});
|
|
49961
50179
|
|
|
49962
50180
|
// src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
|
|
49963
|
-
var
|
|
50181
|
+
var args40, tool$vendorsGetVendorInvoiceDetails;
|
|
49964
50182
|
var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
|
|
49965
50183
|
init_vendorsGetVendorInvoiceDetails();
|
|
49966
50184
|
init_operations();
|
|
49967
50185
|
init_tools();
|
|
49968
|
-
|
|
50186
|
+
args40 = {
|
|
49969
50187
|
request: GetVendorInvoiceDetailsRequest$inboundSchema
|
|
49970
50188
|
};
|
|
49971
50189
|
tool$vendorsGetVendorInvoiceDetails = {
|
|
@@ -49978,9 +50196,9 @@ Available \`expand\` scopes are:
|
|
|
49978
50196
|
|
|
49979
50197
|
invoice.line_items
|
|
49980
50198
|
invoice.invoice_transactions`,
|
|
49981
|
-
args:
|
|
49982
|
-
tool: async (client,
|
|
49983
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client,
|
|
50199
|
+
args: args40,
|
|
50200
|
+
tool: async (client, args41, ctx) => {
|
|
50201
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49984
50202
|
if (!result.ok) {
|
|
49985
50203
|
return {
|
|
49986
50204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49995,9 +50213,9 @@ invoice.invoice_transactions`,
|
|
|
49995
50213
|
|
|
49996
50214
|
// src/funcs/vendorsGetVendorInvoiceReceipt.ts
|
|
49997
50215
|
function vendorsGetVendorInvoiceReceipt(client, request, options) {
|
|
49998
|
-
return new APIPromise($
|
|
50216
|
+
return new APIPromise($do43(client, request, options));
|
|
49999
50217
|
}
|
|
50000
|
-
async function $
|
|
50218
|
+
async function $do43(client, request, options) {
|
|
50001
50219
|
const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50002
50220
|
if (!parsed.ok) {
|
|
50003
50221
|
return [parsed, { status: "invalid" }];
|
|
@@ -50072,12 +50290,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
|
|
|
50072
50290
|
});
|
|
50073
50291
|
|
|
50074
50292
|
// src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
|
|
50075
|
-
var
|
|
50293
|
+
var args41, tool$vendorsGetVendorInvoiceReceipt;
|
|
50076
50294
|
var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
|
|
50077
50295
|
init_vendorsGetVendorInvoiceReceipt();
|
|
50078
50296
|
init_operations();
|
|
50079
50297
|
init_tools();
|
|
50080
|
-
|
|
50298
|
+
args41 = {
|
|
50081
50299
|
request: GetVendorInvoiceReceiptRequest$inboundSchema
|
|
50082
50300
|
};
|
|
50083
50301
|
tool$vendorsGetVendorInvoiceReceipt = {
|
|
@@ -50085,9 +50303,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
|
|
|
50085
50303
|
description: `Get invoice receipt for vendor
|
|
50086
50304
|
|
|
50087
50305
|
Get invoice receipt for vendor`,
|
|
50088
|
-
args:
|
|
50089
|
-
tool: async (client,
|
|
50090
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client,
|
|
50306
|
+
args: args41,
|
|
50307
|
+
tool: async (client, args42, ctx) => {
|
|
50308
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50091
50309
|
if (!result.ok) {
|
|
50092
50310
|
return {
|
|
50093
50311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50102,9 +50320,9 @@ Get invoice receipt for vendor`,
|
|
|
50102
50320
|
|
|
50103
50321
|
// src/funcs/vendorsGetVendorLegalName.ts
|
|
50104
50322
|
function vendorsGetVendorLegalName(client, request, options) {
|
|
50105
|
-
return new APIPromise($
|
|
50323
|
+
return new APIPromise($do44(client, request, options));
|
|
50106
50324
|
}
|
|
50107
|
-
async function $
|
|
50325
|
+
async function $do44(client, request, options) {
|
|
50108
50326
|
const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50109
50327
|
if (!parsed.ok) {
|
|
50110
50328
|
return [parsed, { status: "invalid" }];
|
|
@@ -50179,12 +50397,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
|
|
|
50179
50397
|
});
|
|
50180
50398
|
|
|
50181
50399
|
// src/mcp-server/tools/vendorsGetVendorLegalName.ts
|
|
50182
|
-
var
|
|
50400
|
+
var args42, tool$vendorsGetVendorLegalName;
|
|
50183
50401
|
var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
50184
50402
|
init_vendorsGetVendorLegalName();
|
|
50185
50403
|
init_operations();
|
|
50186
50404
|
init_tools();
|
|
50187
|
-
|
|
50405
|
+
args42 = {
|
|
50188
50406
|
request: GetVendorLegalNameRequest$inboundSchema
|
|
50189
50407
|
};
|
|
50190
50408
|
tool$vendorsGetVendorLegalName = {
|
|
@@ -50192,9 +50410,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
|
50192
50410
|
description: `Get Vendor legal name
|
|
50193
50411
|
|
|
50194
50412
|
Get vendor legal name`,
|
|
50195
|
-
args:
|
|
50196
|
-
tool: async (client,
|
|
50197
|
-
const [result, apiCall] = await vendorsGetVendorLegalName(client,
|
|
50413
|
+
args: args42,
|
|
50414
|
+
tool: async (client, args43, ctx) => {
|
|
50415
|
+
const [result, apiCall] = await vendorsGetVendorLegalName(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50198
50416
|
if (!result.ok) {
|
|
50199
50417
|
return {
|
|
50200
50418
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50209,9 +50427,9 @@ Get vendor legal name`,
|
|
|
50209
50427
|
|
|
50210
50428
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
50211
50429
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
50212
|
-
return new APIPromise($
|
|
50430
|
+
return new APIPromise($do45(client, request, options));
|
|
50213
50431
|
}
|
|
50214
|
-
async function $
|
|
50432
|
+
async function $do45(client, request, options) {
|
|
50215
50433
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50216
50434
|
if (!parsed.ok) {
|
|
50217
50435
|
return [parsed, { status: "invalid" }];
|
|
@@ -50291,12 +50509,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
50291
50509
|
});
|
|
50292
50510
|
|
|
50293
50511
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
50294
|
-
var
|
|
50512
|
+
var args43, tool$vendorsGetVendorsDetails;
|
|
50295
50513
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
50296
50514
|
init_vendorsGetVendorsDetails();
|
|
50297
50515
|
init_operations();
|
|
50298
50516
|
init_tools();
|
|
50299
|
-
|
|
50517
|
+
args43 = {
|
|
50300
50518
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
50301
50519
|
};
|
|
50302
50520
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -50325,9 +50543,9 @@ vendor.registration_finished
|
|
|
50325
50543
|
vendor.target_facilities
|
|
50326
50544
|
vendor.pending_invoice
|
|
50327
50545
|
vendor.vendor_groups`,
|
|
50328
|
-
args:
|
|
50329
|
-
tool: async (client,
|
|
50330
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
50546
|
+
args: args43,
|
|
50547
|
+
tool: async (client, args44, ctx) => {
|
|
50548
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50331
50549
|
if (!result.ok) {
|
|
50332
50550
|
return {
|
|
50333
50551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50342,9 +50560,9 @@ vendor.vendor_groups`,
|
|
|
50342
50560
|
|
|
50343
50561
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
50344
50562
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
50345
|
-
return new APIPromise($
|
|
50563
|
+
return new APIPromise($do46(client, request, options));
|
|
50346
50564
|
}
|
|
50347
|
-
async function $
|
|
50565
|
+
async function $do46(client, request, options) {
|
|
50348
50566
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50349
50567
|
if (!parsed.ok) {
|
|
50350
50568
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50456,12 +50674,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
50456
50674
|
});
|
|
50457
50675
|
|
|
50458
50676
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
50459
|
-
var
|
|
50677
|
+
var args44, tool$vendorsListVendorAdditionalFacilityFields;
|
|
50460
50678
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
50461
50679
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
50462
50680
|
init_operations();
|
|
50463
50681
|
init_tools();
|
|
50464
|
-
|
|
50682
|
+
args44 = {
|
|
50465
50683
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
50466
50684
|
};
|
|
50467
50685
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -50469,9 +50687,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
50469
50687
|
description: `List of vendor's additional facility fields
|
|
50470
50688
|
|
|
50471
50689
|
List of vendor's additional facility fields`,
|
|
50472
|
-
args:
|
|
50473
|
-
tool: async (client,
|
|
50474
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
50690
|
+
args: args44,
|
|
50691
|
+
tool: async (client, args45, ctx) => {
|
|
50692
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50475
50693
|
if (!result.ok) {
|
|
50476
50694
|
return {
|
|
50477
50695
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50486,9 +50704,9 @@ List of vendor's additional facility fields`,
|
|
|
50486
50704
|
|
|
50487
50705
|
// src/funcs/vendorsListVendorCredentialDataRequests.ts
|
|
50488
50706
|
function vendorsListVendorCredentialDataRequests(client, request, options) {
|
|
50489
|
-
return new APIPromise($
|
|
50707
|
+
return new APIPromise($do47(client, request, options));
|
|
50490
50708
|
}
|
|
50491
|
-
async function $
|
|
50709
|
+
async function $do47(client, request, options) {
|
|
50492
50710
|
const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50493
50711
|
if (!parsed.ok) {
|
|
50494
50712
|
return [parsed, { status: "invalid" }];
|
|
@@ -50571,12 +50789,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
|
|
|
50571
50789
|
});
|
|
50572
50790
|
|
|
50573
50791
|
// src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
|
|
50574
|
-
var
|
|
50792
|
+
var args45, tool$vendorsListVendorCredentialDataRequests;
|
|
50575
50793
|
var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
|
|
50576
50794
|
init_vendorsListVendorCredentialDataRequests();
|
|
50577
50795
|
init_operations();
|
|
50578
50796
|
init_tools();
|
|
50579
|
-
|
|
50797
|
+
args45 = {
|
|
50580
50798
|
request: ListVendorCredentialDataRequestsRequest$inboundSchema
|
|
50581
50799
|
};
|
|
50582
50800
|
tool$vendorsListVendorCredentialDataRequests = {
|
|
@@ -50589,9 +50807,9 @@ Available \`expand\` scopes are:
|
|
|
50589
50807
|
|
|
50590
50808
|
- vendor_credential_data_request.vendor_credential
|
|
50591
50809
|
- vendor_credential_data_request.data_request`,
|
|
50592
|
-
args:
|
|
50593
|
-
tool: async (client,
|
|
50594
|
-
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client,
|
|
50810
|
+
args: args45,
|
|
50811
|
+
tool: async (client, args46, ctx) => {
|
|
50812
|
+
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50595
50813
|
if (!result.ok) {
|
|
50596
50814
|
return {
|
|
50597
50815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50606,9 +50824,9 @@ Available \`expand\` scopes are:
|
|
|
50606
50824
|
|
|
50607
50825
|
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
50608
50826
|
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
50609
|
-
return new APIPromise($
|
|
50827
|
+
return new APIPromise($do48(client, request, options));
|
|
50610
50828
|
}
|
|
50611
|
-
async function $
|
|
50829
|
+
async function $do48(client, request, options) {
|
|
50612
50830
|
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50613
50831
|
if (!parsed.ok) {
|
|
50614
50832
|
return [parsed, { status: "invalid" }];
|
|
@@ -50691,12 +50909,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
|
50691
50909
|
});
|
|
50692
50910
|
|
|
50693
50911
|
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
50694
|
-
var
|
|
50912
|
+
var args46, tool$vendorsListVendorCredentialFiles;
|
|
50695
50913
|
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
50696
50914
|
init_vendorsListVendorCredentialFiles();
|
|
50697
50915
|
init_operations();
|
|
50698
50916
|
init_tools();
|
|
50699
|
-
|
|
50917
|
+
args46 = {
|
|
50700
50918
|
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
50701
50919
|
};
|
|
50702
50920
|
tool$vendorsListVendorCredentialFiles = {
|
|
@@ -50709,9 +50927,9 @@ Available \`expand\` scopes are:
|
|
|
50709
50927
|
|
|
50710
50928
|
- vendor_credential_file.vendor_credential
|
|
50711
50929
|
- vendor_credential_file.credential_document`,
|
|
50712
|
-
args:
|
|
50713
|
-
tool: async (client,
|
|
50714
|
-
const [result, apiCall] = await vendorsListVendorCredentialFiles(client,
|
|
50930
|
+
args: args46,
|
|
50931
|
+
tool: async (client, args47, ctx) => {
|
|
50932
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50715
50933
|
if (!result.ok) {
|
|
50716
50934
|
return {
|
|
50717
50935
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50726,9 +50944,9 @@ Available \`expand\` scopes are:
|
|
|
50726
50944
|
|
|
50727
50945
|
// src/funcs/vendorsListVendorCredentialHistory.ts
|
|
50728
50946
|
function vendorsListVendorCredentialHistory(client, request, options) {
|
|
50729
|
-
return new APIPromise($
|
|
50947
|
+
return new APIPromise($do49(client, request, options));
|
|
50730
50948
|
}
|
|
50731
|
-
async function $
|
|
50949
|
+
async function $do49(client, request, options) {
|
|
50732
50950
|
const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50733
50951
|
if (!parsed.ok) {
|
|
50734
50952
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50843,12 +51061,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
|
|
|
50843
51061
|
});
|
|
50844
51062
|
|
|
50845
51063
|
// src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
|
|
50846
|
-
var
|
|
51064
|
+
var args47, tool$vendorsListVendorCredentialHistory;
|
|
50847
51065
|
var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
50848
51066
|
init_vendorsListVendorCredentialHistory();
|
|
50849
51067
|
init_operations();
|
|
50850
51068
|
init_tools();
|
|
50851
|
-
|
|
51069
|
+
args47 = {
|
|
50852
51070
|
request: ListVendorCredentialHistoryRequest$inboundSchema
|
|
50853
51071
|
};
|
|
50854
51072
|
tool$vendorsListVendorCredentialHistory = {
|
|
@@ -50856,9 +51074,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
|
50856
51074
|
description: `List Vendor Credential History
|
|
50857
51075
|
|
|
50858
51076
|
Lists vendor credentials history`,
|
|
50859
|
-
args:
|
|
50860
|
-
tool: async (client,
|
|
50861
|
-
const [result, apiCall] = await vendorsListVendorCredentialHistory(client,
|
|
51077
|
+
args: args47,
|
|
51078
|
+
tool: async (client, args48, ctx) => {
|
|
51079
|
+
const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50862
51080
|
if (!result.ok) {
|
|
50863
51081
|
return {
|
|
50864
51082
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50873,9 +51091,9 @@ Lists vendor credentials history`,
|
|
|
50873
51091
|
|
|
50874
51092
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
50875
51093
|
function vendorsListVendorCredentials(client, request, options) {
|
|
50876
|
-
return new APIPromise($
|
|
51094
|
+
return new APIPromise($do50(client, request, options));
|
|
50877
51095
|
}
|
|
50878
|
-
async function $
|
|
51096
|
+
async function $do50(client, request, options) {
|
|
50879
51097
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50880
51098
|
if (!parsed.ok) {
|
|
50881
51099
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50995,12 +51213,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
50995
51213
|
});
|
|
50996
51214
|
|
|
50997
51215
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
50998
|
-
var
|
|
51216
|
+
var args48, tool$vendorsListVendorCredentials;
|
|
50999
51217
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
51000
51218
|
init_vendorsListVendorCredentials();
|
|
51001
51219
|
init_operations();
|
|
51002
51220
|
init_tools();
|
|
51003
|
-
|
|
51221
|
+
args48 = {
|
|
51004
51222
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
51005
51223
|
};
|
|
51006
51224
|
tool$vendorsListVendorCredentials = {
|
|
@@ -51008,9 +51226,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
51008
51226
|
description: `List Vendor Credentials
|
|
51009
51227
|
|
|
51010
51228
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
51011
|
-
args:
|
|
51012
|
-
tool: async (client,
|
|
51013
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
51229
|
+
args: args48,
|
|
51230
|
+
tool: async (client, args49, ctx) => {
|
|
51231
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51014
51232
|
if (!result.ok) {
|
|
51015
51233
|
return {
|
|
51016
51234
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51025,9 +51243,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
51025
51243
|
|
|
51026
51244
|
// src/funcs/vendorsListVendorCredits.ts
|
|
51027
51245
|
function vendorsListVendorCredits(client, request, options) {
|
|
51028
|
-
return new APIPromise($
|
|
51246
|
+
return new APIPromise($do51(client, request, options));
|
|
51029
51247
|
}
|
|
51030
|
-
async function $
|
|
51248
|
+
async function $do51(client, request, options) {
|
|
51031
51249
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51032
51250
|
if (!parsed.ok) {
|
|
51033
51251
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51141,12 +51359,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
51141
51359
|
});
|
|
51142
51360
|
|
|
51143
51361
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
51144
|
-
var
|
|
51362
|
+
var args49, tool$vendorsListVendorCredits;
|
|
51145
51363
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
51146
51364
|
init_vendorsListVendorCredits();
|
|
51147
51365
|
init_operations();
|
|
51148
51366
|
init_tools();
|
|
51149
|
-
|
|
51367
|
+
args49 = {
|
|
51150
51368
|
request: ListVendorCreditsRequest$inboundSchema
|
|
51151
51369
|
};
|
|
51152
51370
|
tool$vendorsListVendorCredits = {
|
|
@@ -51154,9 +51372,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
51154
51372
|
description: `List vendor credits
|
|
51155
51373
|
|
|
51156
51374
|
List the credits for the vendor`,
|
|
51157
|
-
args:
|
|
51158
|
-
tool: async (client,
|
|
51159
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
51375
|
+
args: args49,
|
|
51376
|
+
tool: async (client, args50, ctx) => {
|
|
51377
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51160
51378
|
if (!result.ok) {
|
|
51161
51379
|
return {
|
|
51162
51380
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51171,9 +51389,9 @@ List the credits for the vendor`,
|
|
|
51171
51389
|
|
|
51172
51390
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
51173
51391
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
51174
|
-
return new APIPromise($
|
|
51392
|
+
return new APIPromise($do52(client, request, options));
|
|
51175
51393
|
}
|
|
51176
|
-
async function $
|
|
51394
|
+
async function $do52(client, request, options) {
|
|
51177
51395
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51178
51396
|
if (!parsed.ok) {
|
|
51179
51397
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51291,12 +51509,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
51291
51509
|
});
|
|
51292
51510
|
|
|
51293
51511
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
51294
|
-
var
|
|
51512
|
+
var args50, tool$vendorsListVendorFacilityStatuses;
|
|
51295
51513
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
51296
51514
|
init_vendorsListVendorFacilityStatuses();
|
|
51297
51515
|
init_operations();
|
|
51298
51516
|
init_tools();
|
|
51299
|
-
|
|
51517
|
+
args50 = {
|
|
51300
51518
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
51301
51519
|
};
|
|
51302
51520
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -51304,9 +51522,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
51304
51522
|
description: `List vendor facility statuses
|
|
51305
51523
|
|
|
51306
51524
|
List the facilities for the vendor`,
|
|
51307
|
-
args:
|
|
51308
|
-
tool: async (client,
|
|
51309
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
51525
|
+
args: args50,
|
|
51526
|
+
tool: async (client, args51, ctx) => {
|
|
51527
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51310
51528
|
if (!result.ok) {
|
|
51311
51529
|
return {
|
|
51312
51530
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51321,9 +51539,9 @@ List the facilities for the vendor`,
|
|
|
51321
51539
|
|
|
51322
51540
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
51323
51541
|
function vendorsListVendorInvoices(client, request, options) {
|
|
51324
|
-
return new APIPromise($
|
|
51542
|
+
return new APIPromise($do53(client, request, options));
|
|
51325
51543
|
}
|
|
51326
|
-
async function $
|
|
51544
|
+
async function $do53(client, request, options) {
|
|
51327
51545
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51328
51546
|
if (!parsed.ok) {
|
|
51329
51547
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51441,12 +51659,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
51441
51659
|
});
|
|
51442
51660
|
|
|
51443
51661
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
51444
|
-
var
|
|
51662
|
+
var args51, tool$vendorsListVendorInvoices;
|
|
51445
51663
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
51446
51664
|
init_vendorsListVendorInvoices();
|
|
51447
51665
|
init_operations();
|
|
51448
51666
|
init_tools();
|
|
51449
|
-
|
|
51667
|
+
args51 = {
|
|
51450
51668
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
51451
51669
|
};
|
|
51452
51670
|
tool$vendorsListVendorInvoices = {
|
|
@@ -51458,9 +51676,9 @@ List invoices for Vendors
|
|
|
51458
51676
|
Available \`expand\` scopes are:
|
|
51459
51677
|
|
|
51460
51678
|
invoice.line_items`,
|
|
51461
|
-
args:
|
|
51462
|
-
tool: async (client,
|
|
51463
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
51679
|
+
args: args51,
|
|
51680
|
+
tool: async (client, args52, ctx) => {
|
|
51681
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51464
51682
|
if (!result.ok) {
|
|
51465
51683
|
return {
|
|
51466
51684
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51475,9 +51693,9 @@ invoice.line_items`,
|
|
|
51475
51693
|
|
|
51476
51694
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
51477
51695
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
51478
|
-
return new APIPromise($
|
|
51696
|
+
return new APIPromise($do54(client, request, options));
|
|
51479
51697
|
}
|
|
51480
|
-
async function $
|
|
51698
|
+
async function $do54(client, request, options) {
|
|
51481
51699
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51482
51700
|
if (!parsed.ok) {
|
|
51483
51701
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51586,12 +51804,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
51586
51804
|
});
|
|
51587
51805
|
|
|
51588
51806
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
51589
|
-
var
|
|
51807
|
+
var args52, tool$vendorsListVendorJobTitles;
|
|
51590
51808
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
51591
51809
|
init_vendorsListVendorJobTitles();
|
|
51592
51810
|
init_operations();
|
|
51593
51811
|
init_tools();
|
|
51594
|
-
|
|
51812
|
+
args52 = {
|
|
51595
51813
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
51596
51814
|
};
|
|
51597
51815
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -51599,9 +51817,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
51599
51817
|
description: `List vendor job titles
|
|
51600
51818
|
|
|
51601
51819
|
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
51602
|
-
args:
|
|
51603
|
-
tool: async (client,
|
|
51604
|
-
const [result, apiCall] = await vendorsListVendorJobTitles(client,
|
|
51820
|
+
args: args52,
|
|
51821
|
+
tool: async (client, args53, ctx) => {
|
|
51822
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51605
51823
|
if (!result.ok) {
|
|
51606
51824
|
return {
|
|
51607
51825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51616,9 +51834,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
51616
51834
|
|
|
51617
51835
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
51618
51836
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
51619
|
-
return new APIPromise($
|
|
51837
|
+
return new APIPromise($do55(client, request, options));
|
|
51620
51838
|
}
|
|
51621
|
-
async function $
|
|
51839
|
+
async function $do55(client, request, options) {
|
|
51622
51840
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51623
51841
|
if (!parsed.ok) {
|
|
51624
51842
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51732,12 +51950,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
51732
51950
|
});
|
|
51733
51951
|
|
|
51734
51952
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
51735
|
-
var
|
|
51953
|
+
var args53, tool$vendorsListVendorManagedByCompanies;
|
|
51736
51954
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
51737
51955
|
init_vendorsListVendorManagedByCompanies();
|
|
51738
51956
|
init_operations();
|
|
51739
51957
|
init_tools();
|
|
51740
|
-
|
|
51958
|
+
args53 = {
|
|
51741
51959
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
51742
51960
|
};
|
|
51743
51961
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -51745,9 +51963,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
51745
51963
|
description: `List of companies managing the vendor
|
|
51746
51964
|
|
|
51747
51965
|
List of companies managing the vendor`,
|
|
51748
|
-
args:
|
|
51749
|
-
tool: async (client,
|
|
51750
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
51966
|
+
args: args53,
|
|
51967
|
+
tool: async (client, args54, ctx) => {
|
|
51968
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51751
51969
|
if (!result.ok) {
|
|
51752
51970
|
return {
|
|
51753
51971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51762,9 +51980,9 @@ List of companies managing the vendor`,
|
|
|
51762
51980
|
|
|
51763
51981
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
51764
51982
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
51765
|
-
return new APIPromise($
|
|
51983
|
+
return new APIPromise($do56(client, request, options));
|
|
51766
51984
|
}
|
|
51767
|
-
async function $
|
|
51985
|
+
async function $do56(client, request, options) {
|
|
51768
51986
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51769
51987
|
if (!parsed.ok) {
|
|
51770
51988
|
return [parsed, { status: "invalid" }];
|
|
@@ -51840,12 +52058,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
51840
52058
|
});
|
|
51841
52059
|
|
|
51842
52060
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
51843
|
-
var
|
|
52061
|
+
var args54, tool$vendorsListVendorScrubDetails;
|
|
51844
52062
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
51845
52063
|
init_vendorsListVendorScrubDetails();
|
|
51846
52064
|
init_operations();
|
|
51847
52065
|
init_tools();
|
|
51848
|
-
|
|
52066
|
+
args54 = {
|
|
51849
52067
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
51850
52068
|
};
|
|
51851
52069
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -51853,9 +52071,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
51853
52071
|
description: `List vendor scrub details
|
|
51854
52072
|
|
|
51855
52073
|
List vendor scrub details`,
|
|
51856
|
-
args:
|
|
51857
|
-
tool: async (client,
|
|
51858
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
52074
|
+
args: args54,
|
|
52075
|
+
tool: async (client, args55, ctx) => {
|
|
52076
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51859
52077
|
if (!result.ok) {
|
|
51860
52078
|
return {
|
|
51861
52079
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51870,9 +52088,9 @@ List vendor scrub details`,
|
|
|
51870
52088
|
|
|
51871
52089
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
51872
52090
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
51873
|
-
return new APIPromise($
|
|
52091
|
+
return new APIPromise($do57(client, request, options));
|
|
51874
52092
|
}
|
|
51875
|
-
async function $
|
|
52093
|
+
async function $do57(client, request, options) {
|
|
51876
52094
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51877
52095
|
if (!parsed.ok) {
|
|
51878
52096
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51986,12 +52204,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
51986
52204
|
});
|
|
51987
52205
|
|
|
51988
52206
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
51989
|
-
var
|
|
52207
|
+
var args55, tool$vendorsListVendorScrubPackages;
|
|
51990
52208
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
51991
52209
|
init_vendorsListVendorScrubPackages();
|
|
51992
52210
|
init_operations();
|
|
51993
52211
|
init_tools();
|
|
51994
|
-
|
|
52212
|
+
args55 = {
|
|
51995
52213
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
51996
52214
|
};
|
|
51997
52215
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -51999,9 +52217,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
51999
52217
|
description: `List vendor scrub packages
|
|
52000
52218
|
|
|
52001
52219
|
List vendor scrub packages`,
|
|
52002
|
-
args:
|
|
52003
|
-
tool: async (client,
|
|
52004
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
52220
|
+
args: args55,
|
|
52221
|
+
tool: async (client, args56, ctx) => {
|
|
52222
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52005
52223
|
if (!result.ok) {
|
|
52006
52224
|
return {
|
|
52007
52225
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52016,9 +52234,9 @@ List vendor scrub packages`,
|
|
|
52016
52234
|
|
|
52017
52235
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
52018
52236
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
52019
|
-
return new APIPromise($
|
|
52237
|
+
return new APIPromise($do58(client, request, options));
|
|
52020
52238
|
}
|
|
52021
|
-
async function $
|
|
52239
|
+
async function $do58(client, request, options) {
|
|
52022
52240
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52023
52241
|
if (!parsed.ok) {
|
|
52024
52242
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -52132,12 +52350,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
52132
52350
|
});
|
|
52133
52351
|
|
|
52134
52352
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
52135
|
-
var
|
|
52353
|
+
var args56, tool$vendorsListVendorScrubPurchases;
|
|
52136
52354
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
52137
52355
|
init_vendorsListVendorScrubPurchases();
|
|
52138
52356
|
init_operations();
|
|
52139
52357
|
init_tools();
|
|
52140
|
-
|
|
52358
|
+
args56 = {
|
|
52141
52359
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
52142
52360
|
};
|
|
52143
52361
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -52145,9 +52363,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
52145
52363
|
description: `List vendor scrub purchases
|
|
52146
52364
|
|
|
52147
52365
|
List vendor scrub purchases`,
|
|
52148
|
-
args:
|
|
52149
|
-
tool: async (client,
|
|
52150
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
52366
|
+
args: args56,
|
|
52367
|
+
tool: async (client, args57, ctx) => {
|
|
52368
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52151
52369
|
if (!result.ok) {
|
|
52152
52370
|
return {
|
|
52153
52371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52162,9 +52380,9 @@ List vendor scrub purchases`,
|
|
|
52162
52380
|
|
|
52163
52381
|
// src/funcs/vendorsListVendorTypes.ts
|
|
52164
52382
|
function vendorsListVendorTypes(client, request, options) {
|
|
52165
|
-
return new APIPromise($
|
|
52383
|
+
return new APIPromise($do59(client, request, options));
|
|
52166
52384
|
}
|
|
52167
|
-
async function $
|
|
52385
|
+
async function $do59(client, request, options) {
|
|
52168
52386
|
const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52169
52387
|
if (!parsed.ok) {
|
|
52170
52388
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -52272,12 +52490,12 @@ var init_vendorsListVendorTypes = __esm(() => {
|
|
|
52272
52490
|
});
|
|
52273
52491
|
|
|
52274
52492
|
// src/mcp-server/tools/vendorsListVendorTypes.ts
|
|
52275
|
-
var
|
|
52493
|
+
var args57, tool$vendorsListVendorTypes;
|
|
52276
52494
|
var init_vendorsListVendorTypes2 = __esm(() => {
|
|
52277
52495
|
init_vendorsListVendorTypes();
|
|
52278
52496
|
init_operations();
|
|
52279
52497
|
init_tools();
|
|
52280
|
-
|
|
52498
|
+
args57 = {
|
|
52281
52499
|
request: ListVendorTypesRequest$inboundSchema
|
|
52282
52500
|
};
|
|
52283
52501
|
tool$vendorsListVendorTypes = {
|
|
@@ -52285,9 +52503,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
|
|
|
52285
52503
|
description: `List vendor types
|
|
52286
52504
|
|
|
52287
52505
|
List vendor types.`,
|
|
52288
|
-
args:
|
|
52289
|
-
tool: async (client,
|
|
52290
|
-
const [result, apiCall] = await vendorsListVendorTypes(client,
|
|
52506
|
+
args: args57,
|
|
52507
|
+
tool: async (client, args58, ctx) => {
|
|
52508
|
+
const [result, apiCall] = await vendorsListVendorTypes(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52291
52509
|
if (!result.ok) {
|
|
52292
52510
|
return {
|
|
52293
52511
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52302,9 +52520,9 @@ List vendor types.`,
|
|
|
52302
52520
|
|
|
52303
52521
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
52304
52522
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
52305
|
-
return new APIPromise($
|
|
52523
|
+
return new APIPromise($do60(client, request, options));
|
|
52306
52524
|
}
|
|
52307
|
-
async function $
|
|
52525
|
+
async function $do60(client, request, options) {
|
|
52308
52526
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52309
52527
|
if (!parsed.ok) {
|
|
52310
52528
|
return [parsed, { status: "invalid" }];
|
|
@@ -52380,12 +52598,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
52380
52598
|
});
|
|
52381
52599
|
|
|
52382
52600
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
52383
|
-
var
|
|
52601
|
+
var args58, tool$vendorsPurchaseScrubCredits;
|
|
52384
52602
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
52385
52603
|
init_vendorsPurchaseScrubCredits();
|
|
52386
52604
|
init_operations();
|
|
52387
52605
|
init_tools();
|
|
52388
|
-
|
|
52606
|
+
args58 = {
|
|
52389
52607
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
52390
52608
|
};
|
|
52391
52609
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -52393,9 +52611,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
52393
52611
|
description: `Purchase scrub credits
|
|
52394
52612
|
|
|
52395
52613
|
Purchase scrub credits`,
|
|
52396
|
-
args:
|
|
52397
|
-
tool: async (client,
|
|
52398
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
52614
|
+
args: args58,
|
|
52615
|
+
tool: async (client, args59, ctx) => {
|
|
52616
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52399
52617
|
if (!result.ok) {
|
|
52400
52618
|
return {
|
|
52401
52619
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52410,9 +52628,9 @@ Purchase scrub credits`,
|
|
|
52410
52628
|
|
|
52411
52629
|
// src/funcs/vendorsSendDownloadCode.ts
|
|
52412
52630
|
function vendorsSendDownloadCode(client, request, options) {
|
|
52413
|
-
return new APIPromise($
|
|
52631
|
+
return new APIPromise($do61(client, request, options));
|
|
52414
52632
|
}
|
|
52415
|
-
async function $
|
|
52633
|
+
async function $do61(client, request, options) {
|
|
52416
52634
|
const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52417
52635
|
if (!parsed.ok) {
|
|
52418
52636
|
return [parsed, { status: "invalid" }];
|
|
@@ -52486,12 +52704,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
|
|
|
52486
52704
|
});
|
|
52487
52705
|
|
|
52488
52706
|
// src/mcp-server/tools/vendorsSendDownloadCode.ts
|
|
52489
|
-
var
|
|
52707
|
+
var args59, tool$vendorsSendDownloadCode;
|
|
52490
52708
|
var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
52491
52709
|
init_vendorsSendDownloadCode();
|
|
52492
52710
|
init_operations();
|
|
52493
52711
|
init_tools();
|
|
52494
|
-
|
|
52712
|
+
args59 = {
|
|
52495
52713
|
request: SendDownloadCodeRequest$inboundSchema
|
|
52496
52714
|
};
|
|
52497
52715
|
tool$vendorsSendDownloadCode = {
|
|
@@ -52499,9 +52717,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
|
52499
52717
|
description: `Send download code for vendor credential
|
|
52500
52718
|
|
|
52501
52719
|
It will send download code for vendor credential`,
|
|
52502
|
-
args:
|
|
52503
|
-
tool: async (client,
|
|
52504
|
-
const [result, apiCall] = await vendorsSendDownloadCode(client,
|
|
52720
|
+
args: args59,
|
|
52721
|
+
tool: async (client, args60, ctx) => {
|
|
52722
|
+
const [result, apiCall] = await vendorsSendDownloadCode(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52505
52723
|
if (!result.ok) {
|
|
52506
52724
|
return {
|
|
52507
52725
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52516,9 +52734,9 @@ It will send download code for vendor credential`,
|
|
|
52516
52734
|
|
|
52517
52735
|
// src/funcs/vendorsSubmitVendorCredential.ts
|
|
52518
52736
|
function vendorsSubmitVendorCredential(client, request, options) {
|
|
52519
|
-
return new APIPromise($
|
|
52737
|
+
return new APIPromise($do62(client, request, options));
|
|
52520
52738
|
}
|
|
52521
|
-
async function $
|
|
52739
|
+
async function $do62(client, request, options) {
|
|
52522
52740
|
const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52523
52741
|
if (!parsed.ok) {
|
|
52524
52742
|
return [parsed, { status: "invalid" }];
|
|
@@ -52592,12 +52810,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
|
|
|
52592
52810
|
});
|
|
52593
52811
|
|
|
52594
52812
|
// src/mcp-server/tools/vendorsSubmitVendorCredential.ts
|
|
52595
|
-
var
|
|
52813
|
+
var args60, tool$vendorsSubmitVendorCredential;
|
|
52596
52814
|
var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
52597
52815
|
init_vendorsSubmitVendorCredential();
|
|
52598
52816
|
init_operations();
|
|
52599
52817
|
init_tools();
|
|
52600
|
-
|
|
52818
|
+
args60 = {
|
|
52601
52819
|
request: SubmitVendorCredentialRequest$inboundSchema
|
|
52602
52820
|
};
|
|
52603
52821
|
tool$vendorsSubmitVendorCredential = {
|
|
@@ -52605,9 +52823,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
|
52605
52823
|
description: `Submit vendor credential
|
|
52606
52824
|
|
|
52607
52825
|
It will submit vendor credential`,
|
|
52608
|
-
args:
|
|
52609
|
-
tool: async (client,
|
|
52610
|
-
const [result, apiCall] = await vendorsSubmitVendorCredential(client,
|
|
52826
|
+
args: args60,
|
|
52827
|
+
tool: async (client, args61, ctx) => {
|
|
52828
|
+
const [result, apiCall] = await vendorsSubmitVendorCredential(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52611
52829
|
if (!result.ok) {
|
|
52612
52830
|
return {
|
|
52613
52831
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52622,9 +52840,9 @@ It will submit vendor credential`,
|
|
|
52622
52840
|
|
|
52623
52841
|
// src/funcs/vendorsUpdateVendorCredentialData.ts
|
|
52624
52842
|
function vendorsUpdateVendorCredentialData(client, request, options) {
|
|
52625
|
-
return new APIPromise($
|
|
52843
|
+
return new APIPromise($do63(client, request, options));
|
|
52626
52844
|
}
|
|
52627
|
-
async function $
|
|
52845
|
+
async function $do63(client, request, options) {
|
|
52628
52846
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52629
52847
|
if (!parsed.ok) {
|
|
52630
52848
|
return [parsed, { status: "invalid" }];
|
|
@@ -52705,12 +52923,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
|
|
|
52705
52923
|
});
|
|
52706
52924
|
|
|
52707
52925
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
|
|
52708
|
-
var
|
|
52926
|
+
var args61, tool$vendorsUpdateVendorCredentialData;
|
|
52709
52927
|
var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
52710
52928
|
init_vendorsUpdateVendorCredentialData();
|
|
52711
52929
|
init_operations();
|
|
52712
52930
|
init_tools();
|
|
52713
|
-
|
|
52931
|
+
args61 = {
|
|
52714
52932
|
request: UpdateVendorCredentialDataRequest$inboundSchema
|
|
52715
52933
|
};
|
|
52716
52934
|
tool$vendorsUpdateVendorCredentialData = {
|
|
@@ -52718,9 +52936,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
|
52718
52936
|
description: `Update vendor credential data
|
|
52719
52937
|
|
|
52720
52938
|
Update vendor credential data`,
|
|
52721
|
-
args:
|
|
52722
|
-
tool: async (client,
|
|
52723
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client,
|
|
52939
|
+
args: args61,
|
|
52940
|
+
tool: async (client, args62, ctx) => {
|
|
52941
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52724
52942
|
if (!result.ok) {
|
|
52725
52943
|
return {
|
|
52726
52944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52735,9 +52953,9 @@ Update vendor credential data`,
|
|
|
52735
52953
|
|
|
52736
52954
|
// src/funcs/vendorsUpdateVendorCredentialFile.ts
|
|
52737
52955
|
function vendorsUpdateVendorCredentialFile(client, request, options) {
|
|
52738
|
-
return new APIPromise($
|
|
52956
|
+
return new APIPromise($do64(client, request, options));
|
|
52739
52957
|
}
|
|
52740
|
-
async function $
|
|
52958
|
+
async function $do64(client, request, options) {
|
|
52741
52959
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52742
52960
|
if (!parsed.ok) {
|
|
52743
52961
|
return [parsed, { status: "invalid" }];
|
|
@@ -52815,12 +53033,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
|
|
|
52815
53033
|
});
|
|
52816
53034
|
|
|
52817
53035
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
|
|
52818
|
-
var
|
|
53036
|
+
var args62, tool$vendorsUpdateVendorCredentialFile;
|
|
52819
53037
|
var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
52820
53038
|
init_vendorsUpdateVendorCredentialFile();
|
|
52821
53039
|
init_operations();
|
|
52822
53040
|
init_tools();
|
|
52823
|
-
|
|
53041
|
+
args62 = {
|
|
52824
53042
|
request: UpdateVendorCredentialFileRequest$inboundSchema
|
|
52825
53043
|
};
|
|
52826
53044
|
tool$vendorsUpdateVendorCredentialFile = {
|
|
@@ -52828,9 +53046,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
|
52828
53046
|
description: `Update vendor credential file
|
|
52829
53047
|
|
|
52830
53048
|
It will update the vendor credential file properties`,
|
|
52831
|
-
args:
|
|
52832
|
-
tool: async (client,
|
|
52833
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client,
|
|
53049
|
+
args: args62,
|
|
53050
|
+
tool: async (client, args63, ctx) => {
|
|
53051
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52834
53052
|
if (!result.ok) {
|
|
52835
53053
|
return {
|
|
52836
53054
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52845,9 +53063,9 @@ It will update the vendor credential file properties`,
|
|
|
52845
53063
|
|
|
52846
53064
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
52847
53065
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
52848
|
-
return new APIPromise($
|
|
53066
|
+
return new APIPromise($do65(client, request, options));
|
|
52849
53067
|
}
|
|
52850
|
-
async function $
|
|
53068
|
+
async function $do65(client, request, options) {
|
|
52851
53069
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52852
53070
|
if (!parsed.ok) {
|
|
52853
53071
|
return [parsed, { status: "invalid" }];
|
|
@@ -52924,12 +53142,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
52924
53142
|
});
|
|
52925
53143
|
|
|
52926
53144
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
52927
|
-
var
|
|
53145
|
+
var args63, tool$vendorsUpdateVendorDetails;
|
|
52928
53146
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
52929
53147
|
init_vendorsUpdateVendorDetails();
|
|
52930
53148
|
init_operations();
|
|
52931
53149
|
init_tools();
|
|
52932
|
-
|
|
53150
|
+
args63 = {
|
|
52933
53151
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
52934
53152
|
};
|
|
52935
53153
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -52937,9 +53155,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
52937
53155
|
description: `Update vendor details
|
|
52938
53156
|
|
|
52939
53157
|
It will update the vendor details`,
|
|
52940
|
-
args:
|
|
52941
|
-
tool: async (client,
|
|
52942
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
53158
|
+
args: args63,
|
|
53159
|
+
tool: async (client, args64, ctx) => {
|
|
53160
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52943
53161
|
if (!result.ok) {
|
|
52944
53162
|
return {
|
|
52945
53163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52954,9 +53172,9 @@ It will update the vendor details`,
|
|
|
52954
53172
|
|
|
52955
53173
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
52956
53174
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
52957
|
-
return new APIPromise($
|
|
53175
|
+
return new APIPromise($do66(client, request, options));
|
|
52958
53176
|
}
|
|
52959
|
-
async function $
|
|
53177
|
+
async function $do66(client, request, options) {
|
|
52960
53178
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52961
53179
|
if (!parsed.ok) {
|
|
52962
53180
|
return [parsed, { status: "invalid" }];
|
|
@@ -53032,12 +53250,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
53032
53250
|
});
|
|
53033
53251
|
|
|
53034
53252
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
53035
|
-
var
|
|
53253
|
+
var args64, tool$vendorsUpdateVendorManagedByCompany;
|
|
53036
53254
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
53037
53255
|
init_vendorsUpdateVendorManagedByCompany();
|
|
53038
53256
|
init_operations();
|
|
53039
53257
|
init_tools();
|
|
53040
|
-
|
|
53258
|
+
args64 = {
|
|
53041
53259
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
53042
53260
|
};
|
|
53043
53261
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -53045,9 +53263,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
53045
53263
|
description: `Update vendor managed by company access rights
|
|
53046
53264
|
|
|
53047
53265
|
It will update the vendor managed by company access rights`,
|
|
53048
|
-
args:
|
|
53049
|
-
tool: async (client,
|
|
53050
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
53266
|
+
args: args64,
|
|
53267
|
+
tool: async (client, args65, ctx) => {
|
|
53268
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53051
53269
|
if (!result.ok) {
|
|
53052
53270
|
return {
|
|
53053
53271
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53062,9 +53280,9 @@ It will update the vendor managed by company access rights`,
|
|
|
53062
53280
|
|
|
53063
53281
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
53064
53282
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
53065
|
-
return new APIPromise($
|
|
53283
|
+
return new APIPromise($do67(client, request, options));
|
|
53066
53284
|
}
|
|
53067
|
-
async function $
|
|
53285
|
+
async function $do67(client, request, options) {
|
|
53068
53286
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53069
53287
|
if (!parsed.ok) {
|
|
53070
53288
|
return [parsed, { status: "invalid" }];
|
|
@@ -53141,12 +53359,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
53141
53359
|
});
|
|
53142
53360
|
|
|
53143
53361
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
53144
|
-
var
|
|
53362
|
+
var args65, tool$vendorsUpdateVendorScrubDetails;
|
|
53145
53363
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
53146
53364
|
init_vendorsUpdateVendorScrubDetails();
|
|
53147
53365
|
init_operations();
|
|
53148
53366
|
init_tools();
|
|
53149
|
-
|
|
53367
|
+
args65 = {
|
|
53150
53368
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
53151
53369
|
};
|
|
53152
53370
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -53154,9 +53372,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
53154
53372
|
description: `Update vendor scrub details
|
|
53155
53373
|
|
|
53156
53374
|
Update vendor scrub details`,
|
|
53157
|
-
args:
|
|
53158
|
-
tool: async (client,
|
|
53159
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
53375
|
+
args: args65,
|
|
53376
|
+
tool: async (client, args66, ctx) => {
|
|
53377
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53160
53378
|
if (!result.ok) {
|
|
53161
53379
|
return {
|
|
53162
53380
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53171,9 +53389,9 @@ Update vendor scrub details`,
|
|
|
53171
53389
|
|
|
53172
53390
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
53173
53391
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
53174
|
-
return new APIPromise($
|
|
53392
|
+
return new APIPromise($do68(client, request, options));
|
|
53175
53393
|
}
|
|
53176
|
-
async function $
|
|
53394
|
+
async function $do68(client, request, options) {
|
|
53177
53395
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53178
53396
|
if (!parsed.ok) {
|
|
53179
53397
|
return [parsed, { status: "invalid" }];
|
|
@@ -53249,12 +53467,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
53249
53467
|
});
|
|
53250
53468
|
|
|
53251
53469
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
53252
|
-
var
|
|
53470
|
+
var args66, tool$webhooksGetWebhookEndpoint;
|
|
53253
53471
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
53254
53472
|
init_webhooksGetWebhookEndpoint();
|
|
53255
53473
|
init_operations();
|
|
53256
53474
|
init_tools();
|
|
53257
|
-
|
|
53475
|
+
args66 = {
|
|
53258
53476
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
53259
53477
|
};
|
|
53260
53478
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -53262,9 +53480,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
53262
53480
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
53263
53481
|
|
|
53264
53482
|
Returns the definition of a webhook endpoint by ID.`,
|
|
53265
|
-
args:
|
|
53266
|
-
tool: async (client,
|
|
53267
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
53483
|
+
args: args66,
|
|
53484
|
+
tool: async (client, args67, ctx) => {
|
|
53485
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53268
53486
|
if (!result.ok) {
|
|
53269
53487
|
return {
|
|
53270
53488
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53279,9 +53497,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
53279
53497
|
|
|
53280
53498
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
53281
53499
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
53282
|
-
return new APIPromise($
|
|
53500
|
+
return new APIPromise($do69(client, request, options));
|
|
53283
53501
|
}
|
|
53284
|
-
async function $
|
|
53502
|
+
async function $do69(client, request, options) {
|
|
53285
53503
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53286
53504
|
if (!parsed.ok) {
|
|
53287
53505
|
return [parsed, { status: "invalid" }];
|
|
@@ -53357,12 +53575,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
53357
53575
|
});
|
|
53358
53576
|
|
|
53359
53577
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
53360
|
-
var
|
|
53578
|
+
var args67, tool$webhooksListAllWebhookEndpoints;
|
|
53361
53579
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
53362
53580
|
init_webhooksListAllWebhookEndpoints();
|
|
53363
53581
|
init_operations();
|
|
53364
53582
|
init_tools();
|
|
53365
|
-
|
|
53583
|
+
args67 = {
|
|
53366
53584
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
53367
53585
|
};
|
|
53368
53586
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -53370,9 +53588,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
53370
53588
|
description: `List all webhook endpoints
|
|
53371
53589
|
|
|
53372
53590
|
Returns a list of your webhook endpoints.`,
|
|
53373
|
-
args:
|
|
53374
|
-
tool: async (client,
|
|
53375
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
53591
|
+
args: args67,
|
|
53592
|
+
tool: async (client, args68, ctx) => {
|
|
53593
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53376
53594
|
if (!result.ok) {
|
|
53377
53595
|
return {
|
|
53378
53596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53387,9 +53605,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
53387
53605
|
|
|
53388
53606
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53389
53607
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
53390
|
-
return new APIPromise($
|
|
53608
|
+
return new APIPromise($do70(client, request, options));
|
|
53391
53609
|
}
|
|
53392
|
-
async function $
|
|
53610
|
+
async function $do70(client, request, options) {
|
|
53393
53611
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53394
53612
|
if (!parsed.ok) {
|
|
53395
53613
|
return [parsed, { status: "invalid" }];
|
|
@@ -53466,12 +53684,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
53466
53684
|
});
|
|
53467
53685
|
|
|
53468
53686
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53469
|
-
var
|
|
53687
|
+
var args68, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
53470
53688
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
53471
53689
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
53472
53690
|
init_operations();
|
|
53473
53691
|
init_tools();
|
|
53474
|
-
|
|
53692
|
+
args68 = {
|
|
53475
53693
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
53476
53694
|
};
|
|
53477
53695
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -53479,9 +53697,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
53479
53697
|
description: `Updates the webhook endpoint with the given ID.
|
|
53480
53698
|
|
|
53481
53699
|
Updates the webhook endpoint with the given ID.`,
|
|
53482
|
-
args:
|
|
53483
|
-
tool: async (client,
|
|
53484
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
53700
|
+
args: args68,
|
|
53701
|
+
tool: async (client, args69, ctx) => {
|
|
53702
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53485
53703
|
if (!result.ok) {
|
|
53486
53704
|
return {
|
|
53487
53705
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53496,9 +53714,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
53496
53714
|
|
|
53497
53715
|
// src/funcs/zonesGetSecurityZone.ts
|
|
53498
53716
|
function zonesGetSecurityZone(client, request, options) {
|
|
53499
|
-
return new APIPromise($
|
|
53717
|
+
return new APIPromise($do71(client, request, options));
|
|
53500
53718
|
}
|
|
53501
|
-
async function $
|
|
53719
|
+
async function $do71(client, request, options) {
|
|
53502
53720
|
const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53503
53721
|
if (!parsed.ok) {
|
|
53504
53722
|
return [parsed, { status: "invalid" }];
|
|
@@ -53578,12 +53796,12 @@ var init_zonesGetSecurityZone = __esm(() => {
|
|
|
53578
53796
|
});
|
|
53579
53797
|
|
|
53580
53798
|
// src/mcp-server/tools/zonesGetSecurityZone.ts
|
|
53581
|
-
var
|
|
53799
|
+
var args69, tool$zonesGetSecurityZone;
|
|
53582
53800
|
var init_zonesGetSecurityZone2 = __esm(() => {
|
|
53583
53801
|
init_zonesGetSecurityZone();
|
|
53584
53802
|
init_operations();
|
|
53585
53803
|
init_tools();
|
|
53586
|
-
|
|
53804
|
+
args69 = {
|
|
53587
53805
|
request: GetSecurityZoneRequest$inboundSchema
|
|
53588
53806
|
};
|
|
53589
53807
|
tool$zonesGetSecurityZone = {
|
|
@@ -53597,9 +53815,9 @@ Available \`expand\` scopes are:
|
|
|
53597
53815
|
- zone.facility
|
|
53598
53816
|
- zone.department
|
|
53599
53817
|
- zone.rules`,
|
|
53600
|
-
args:
|
|
53601
|
-
tool: async (client,
|
|
53602
|
-
const [result, apiCall] = await zonesGetSecurityZone(client,
|
|
53818
|
+
args: args69,
|
|
53819
|
+
tool: async (client, args70, ctx) => {
|
|
53820
|
+
const [result, apiCall] = await zonesGetSecurityZone(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53603
53821
|
if (!result.ok) {
|
|
53604
53822
|
return {
|
|
53605
53823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53614,9 +53832,9 @@ Available \`expand\` scopes are:
|
|
|
53614
53832
|
|
|
53615
53833
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
53616
53834
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
53617
|
-
return new APIPromise($
|
|
53835
|
+
return new APIPromise($do72(client, request, options));
|
|
53618
53836
|
}
|
|
53619
|
-
async function $
|
|
53837
|
+
async function $do72(client, request, options) {
|
|
53620
53838
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53621
53839
|
if (!parsed.ok) {
|
|
53622
53840
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -53730,12 +53948,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
53730
53948
|
});
|
|
53731
53949
|
|
|
53732
53950
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
53733
|
-
var
|
|
53951
|
+
var args70, tool$zonesListOrSearchSecurityZones;
|
|
53734
53952
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
53735
53953
|
init_zonesListOrSearchSecurityZones();
|
|
53736
53954
|
init_operations();
|
|
53737
53955
|
init_tools();
|
|
53738
|
-
|
|
53956
|
+
args70 = {
|
|
53739
53957
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
53740
53958
|
};
|
|
53741
53959
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -53743,9 +53961,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
53743
53961
|
description: `List or search security zones
|
|
53744
53962
|
|
|
53745
53963
|
List or search security zones`,
|
|
53746
|
-
args:
|
|
53747
|
-
tool: async (client,
|
|
53748
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
53964
|
+
args: args70,
|
|
53965
|
+
tool: async (client, args71, ctx) => {
|
|
53966
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53749
53967
|
if (!result.ok) {
|
|
53750
53968
|
return {
|
|
53751
53969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53760,9 +53978,9 @@ List or search security zones`,
|
|
|
53760
53978
|
|
|
53761
53979
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
53762
53980
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
53763
|
-
return new APIPromise($
|
|
53981
|
+
return new APIPromise($do73(client, request, options));
|
|
53764
53982
|
}
|
|
53765
|
-
async function $
|
|
53983
|
+
async function $do73(client, request, options) {
|
|
53766
53984
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
53767
53985
|
if (!parsed.ok) {
|
|
53768
53986
|
return [parsed, { status: "invalid" }];
|
|
@@ -53832,12 +54050,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
53832
54050
|
});
|
|
53833
54051
|
|
|
53834
54052
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
53835
|
-
var
|
|
54053
|
+
var args71, tool$zonesSecurityZoneCheckin;
|
|
53836
54054
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
53837
54055
|
init_zonesSecurityZoneCheckin();
|
|
53838
54056
|
init_operations();
|
|
53839
54057
|
init_tools();
|
|
53840
|
-
|
|
54058
|
+
args71 = {
|
|
53841
54059
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
53842
54060
|
};
|
|
53843
54061
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -53845,9 +54063,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
53845
54063
|
description: `Security zone checkin request
|
|
53846
54064
|
|
|
53847
54065
|
Security zone checkin request`,
|
|
53848
|
-
args:
|
|
53849
|
-
tool: async (client,
|
|
53850
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
54066
|
+
args: args71,
|
|
54067
|
+
tool: async (client, args72, ctx) => {
|
|
54068
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53851
54069
|
if (!result.ok) {
|
|
53852
54070
|
return {
|
|
53853
54071
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53864,7 +54082,7 @@ Security zone checkin request`,
|
|
|
53864
54082
|
function createMCPServer(deps) {
|
|
53865
54083
|
const server = new McpServer({
|
|
53866
54084
|
name: "GreenSecurity",
|
|
53867
|
-
version: "0.39.
|
|
54085
|
+
version: "0.39.4"
|
|
53868
54086
|
});
|
|
53869
54087
|
const client = new GreenSecurityCore({
|
|
53870
54088
|
security: deps.security,
|
|
@@ -53949,6 +54167,7 @@ function createMCPServer(deps) {
|
|
|
53949
54167
|
tool(tool$invoicesCreateInvoice);
|
|
53950
54168
|
tool(tool$invoicesUpdateInvoice);
|
|
53951
54169
|
tool(tool$invoicesMakePayment);
|
|
54170
|
+
tool(tool$eventsListOrSearchVendorInvitees);
|
|
53952
54171
|
tool(tool$systemsListSystems);
|
|
53953
54172
|
return server;
|
|
53954
54173
|
}
|
|
@@ -53961,6 +54180,7 @@ var init_server2 = __esm(() => {
|
|
|
53961
54180
|
init_dataRequestsAddDataRequestFile2();
|
|
53962
54181
|
init_dataRequestsDeleteDataRequestFile2();
|
|
53963
54182
|
init_dataRequestsUpdateDataRequest2();
|
|
54183
|
+
init_eventsListOrSearchVendorInvitees2();
|
|
53964
54184
|
init_invoicesCreateInvoice2();
|
|
53965
54185
|
init_invoicesMakePayment2();
|
|
53966
54186
|
init_invoicesUpdateInvoice2();
|
|
@@ -55220,7 +55440,7 @@ var routes = rn({
|
|
|
55220
55440
|
var app = Ve(routes, {
|
|
55221
55441
|
name: "mcp",
|
|
55222
55442
|
versionInfo: {
|
|
55223
|
-
currentVersion: "0.39.
|
|
55443
|
+
currentVersion: "0.39.4"
|
|
55224
55444
|
}
|
|
55225
55445
|
});
|
|
55226
55446
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55228,5 +55448,5 @@ export {
|
|
|
55228
55448
|
app
|
|
55229
55449
|
};
|
|
55230
55450
|
|
|
55231
|
-
//# debugId=
|
|
55451
|
+
//# debugId=6001BC7B5082BCAF64756E2164756E21
|
|
55232
55452
|
//# sourceMappingURL=mcp-server.js.map
|