@greensecurity/javascript-sdk 0.30.53 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -27
- package/bin/mcp-server.js +654 -227
- package/bin/mcp-server.js.map +17 -9
- package/dist/commonjs/__tests__/vendors.test.js +57 -7
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +1 -1
- package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts +17 -0
- package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsDeclineVendorCredential.js +118 -0
- package/dist/commonjs/funcs/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts +23 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.js +133 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.js +8 -19
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +7 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.js +69 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.js.map +1 -0
- package/dist/commonjs/models/components/credential.d.ts +8 -0
- package/dist/commonjs/models/components/credential.d.ts.map +1 -1
- package/dist/commonjs/models/components/credential.js +16 -0
- package/dist/commonjs/models/components/credential.js.map +1 -1
- package/dist/commonjs/models/operations/declinevendorcredential.d.ts +32 -0
- package/dist/commonjs/models/operations/declinevendorcredential.d.ts.map +1 -0
- package/dist/commonjs/models/operations/declinevendorcredential.js +78 -0
- package/dist/commonjs/models/operations/declinevendorcredential.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredentialfiles.d.ts +58 -0
- package/dist/commonjs/models/operations/listvendorcredentialfiles.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listvendorcredentialfiles.js +91 -0
- package/dist/commonjs/models/operations/listvendorcredentialfiles.js.map +1 -0
- package/dist/commonjs/models/operations/listvendorjobtitles.d.ts +0 -27
- package/dist/commonjs/models/operations/listvendorjobtitles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorjobtitles.js +1 -38
- package/dist/commonjs/models/operations/listvendorjobtitles.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +2 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +2 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/vendorsDeclineVendorCredential.d.ts +23 -0
- package/dist/commonjs/react-query/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsDeclineVendorCredential.js +51 -0
- package/dist/commonjs/react-query/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.d.ts +65 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.js +113 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/commonjs/react-query/vendorsListVendorJobTitles.d.ts +7 -7
- package/dist/commonjs/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorJobTitles.js +15 -15
- package/dist/commonjs/react-query/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +20 -1
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +27 -2
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +57 -7
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +1 -1
- package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts +17 -0
- package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsDeclineVendorCredential.js +82 -0
- package/dist/esm/funcs/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts +23 -0
- package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsListVendorCredentialFiles.js +97 -0
- package/dist/esm/funcs/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts +1 -1
- package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorJobTitles.js +9 -20
- package/dist/esm/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +7 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.js +33 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.js.map +1 -0
- package/dist/esm/models/components/credential.d.ts +8 -0
- package/dist/esm/models/components/credential.d.ts.map +1 -1
- package/dist/esm/models/components/credential.js +16 -0
- package/dist/esm/models/components/credential.js.map +1 -1
- package/dist/esm/models/operations/declinevendorcredential.d.ts +32 -0
- package/dist/esm/models/operations/declinevendorcredential.d.ts.map +1 -0
- package/dist/esm/models/operations/declinevendorcredential.js +40 -0
- package/dist/esm/models/operations/declinevendorcredential.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listvendorcredentialfiles.d.ts +58 -0
- package/dist/esm/models/operations/listvendorcredentialfiles.d.ts.map +1 -0
- package/dist/esm/models/operations/listvendorcredentialfiles.js +53 -0
- package/dist/esm/models/operations/listvendorcredentialfiles.js.map +1 -0
- package/dist/esm/models/operations/listvendorjobtitles.d.ts +0 -27
- package/dist/esm/models/operations/listvendorjobtitles.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorjobtitles.js +0 -35
- package/dist/esm/models/operations/listvendorjobtitles.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +2 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +2 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/vendorsDeclineVendorCredential.d.ts +23 -0
- package/dist/esm/react-query/vendorsDeclineVendorCredential.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsDeclineVendorCredential.js +46 -0
- package/dist/esm/react-query/vendorsDeclineVendorCredential.js.map +1 -0
- package/dist/esm/react-query/vendorsListVendorCredentialFiles.d.ts +65 -0
- package/dist/esm/react-query/vendorsListVendorCredentialFiles.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsListVendorCredentialFiles.js +103 -0
- package/dist/esm/react-query/vendorsListVendorCredentialFiles.js.map +1 -0
- package/dist/esm/react-query/vendorsListVendorJobTitles.d.ts +7 -7
- package/dist/esm/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorJobTitles.js +15 -15
- package/dist/esm/react-query/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +20 -1
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +27 -2
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendors.test.ts +63 -7
- package/src/__tests__/zones.test.ts +1 -1
- package/src/funcs/vendorsDeclineVendorCredential.ts +177 -0
- package/src/funcs/vendorsListVendorCredentialFiles.ts +199 -0
- package/src/funcs/vendorsListVendorJobTitles.ts +5 -23
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/vendorsDeclineVendorCredential.ts +38 -0
- package/src/mcp-server/tools/vendorsListVendorCredentialFiles.ts +44 -0
- package/src/mcp-server/tools/vendorsListVendorJobTitles.ts +37 -0
- package/src/models/components/credential.ts +24 -0
- package/src/models/operations/declinevendorcredential.ts +80 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listvendorcredentialfiles.ts +118 -0
- package/src/models/operations/listvendorjobtitles.ts +0 -72
- package/src/react-query/index.ts +2 -0
- package/src/react-query/vendorsDeclineVendorCredential.ts +92 -0
- package/src/react-query/vendorsListVendorCredentialFiles.ts +217 -0
- package/src/react-query/vendorsListVendorJobTitles.ts +0 -15
- package/src/sdk/vendors.ts +41 -2
package/bin/mcp-server.js
CHANGED
|
@@ -34192,9 +34192,9 @@ var init_config = __esm(() => {
|
|
|
34192
34192
|
SDK_METADATA = {
|
|
34193
34193
|
language: "typescript",
|
|
34194
34194
|
openapiDocVersion: "0.0.3",
|
|
34195
|
-
sdkVersion: "0.
|
|
34196
|
-
genVersion: "2.605.
|
|
34197
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34195
|
+
sdkVersion: "0.31.1",
|
|
34196
|
+
genVersion: "2.605.6",
|
|
34197
|
+
userAgent: "speakeasy-sdk/typescript 0.31.1 2.605.6 0.0.3 @greensecurity/javascript-sdk"
|
|
34198
34198
|
};
|
|
34199
34199
|
});
|
|
34200
34200
|
|
|
@@ -36494,6 +36494,10 @@ var init_credential = __esm(() => {
|
|
|
36494
36494
|
js_schema: nullableType(stringType()).optional(),
|
|
36495
36495
|
ui_schema: nullableType(stringType()).optional(),
|
|
36496
36496
|
behavior: nullableType(stringType()).optional(),
|
|
36497
|
+
require_electronic_signature: booleanType().optional(),
|
|
36498
|
+
decline_submitting_text: nullableType(stringType()).optional(),
|
|
36499
|
+
decline_description: nullableType(stringType()).optional(),
|
|
36500
|
+
require_decline_file: booleanType().optional(),
|
|
36497
36501
|
credential_documents: arrayType(nullableType(lazyType(() => CredentialDocument$inboundSchema))).optional(),
|
|
36498
36502
|
file_url: nullableType(stringType()).optional(),
|
|
36499
36503
|
decline_file_url: nullableType(stringType()).optional()
|
|
@@ -36505,6 +36509,10 @@ var init_credential = __esm(() => {
|
|
|
36505
36509
|
allow_decline: "allowDecline",
|
|
36506
36510
|
js_schema: "jsSchema",
|
|
36507
36511
|
ui_schema: "uiSchema",
|
|
36512
|
+
require_electronic_signature: "requireElectronicSignature",
|
|
36513
|
+
decline_submitting_text: "declineSubmittingText",
|
|
36514
|
+
decline_description: "declineDescription",
|
|
36515
|
+
require_decline_file: "requireDeclineFile",
|
|
36508
36516
|
credential_documents: "credentialDocuments",
|
|
36509
36517
|
file_url: "fileUrl",
|
|
36510
36518
|
decline_file_url: "declineFileUrl"
|
|
@@ -36522,6 +36530,10 @@ var init_credential = __esm(() => {
|
|
|
36522
36530
|
jsSchema: nullableType(stringType()).optional(),
|
|
36523
36531
|
uiSchema: nullableType(stringType()).optional(),
|
|
36524
36532
|
behavior: nullableType(stringType()).optional(),
|
|
36533
|
+
requireElectronicSignature: booleanType().optional(),
|
|
36534
|
+
declineSubmittingText: nullableType(stringType()).optional(),
|
|
36535
|
+
declineDescription: nullableType(stringType()).optional(),
|
|
36536
|
+
requireDeclineFile: booleanType().optional(),
|
|
36525
36537
|
credentialDocuments: arrayType(nullableType(lazyType(() => CredentialDocument$outboundSchema))).optional(),
|
|
36526
36538
|
fileUrl: nullableType(stringType()).optional(),
|
|
36527
36539
|
declineFileUrl: nullableType(stringType()).optional()
|
|
@@ -36533,6 +36545,10 @@ var init_credential = __esm(() => {
|
|
|
36533
36545
|
allowDecline: "allow_decline",
|
|
36534
36546
|
jsSchema: "js_schema",
|
|
36535
36547
|
uiSchema: "ui_schema",
|
|
36548
|
+
requireElectronicSignature: "require_electronic_signature",
|
|
36549
|
+
declineSubmittingText: "decline_submitting_text",
|
|
36550
|
+
declineDescription: "decline_description",
|
|
36551
|
+
requireDeclineFile: "require_decline_file",
|
|
36536
36552
|
credentialDocuments: "credential_documents",
|
|
36537
36553
|
fileUrl: "file_url",
|
|
36538
36554
|
declineFileUrl: "decline_file_url"
|
|
@@ -40321,6 +40337,31 @@ var init_createvendorregistration = __esm(() => {
|
|
|
40321
40337
|
})(CreateVendorRegistrationRequestBody$ ||= {});
|
|
40322
40338
|
});
|
|
40323
40339
|
|
|
40340
|
+
// src/models/operations/declinevendorcredential.ts
|
|
40341
|
+
var DeclineVendorCredentialRequest$inboundSchema, DeclineVendorCredentialRequest$outboundSchema, DeclineVendorCredentialRequest$;
|
|
40342
|
+
var init_declinevendorcredential = __esm(() => {
|
|
40343
|
+
init_lib();
|
|
40344
|
+
init_primitives();
|
|
40345
|
+
DeclineVendorCredentialRequest$inboundSchema = objectType({
|
|
40346
|
+
vendor_credential_id: numberType().int()
|
|
40347
|
+
}).transform((v2) => {
|
|
40348
|
+
return remap(v2, {
|
|
40349
|
+
vendor_credential_id: "vendorCredentialId"
|
|
40350
|
+
});
|
|
40351
|
+
});
|
|
40352
|
+
DeclineVendorCredentialRequest$outboundSchema = objectType({
|
|
40353
|
+
vendorCredentialId: numberType().int()
|
|
40354
|
+
}).transform((v2) => {
|
|
40355
|
+
return remap(v2, {
|
|
40356
|
+
vendorCredentialId: "vendor_credential_id"
|
|
40357
|
+
});
|
|
40358
|
+
});
|
|
40359
|
+
((DeclineVendorCredentialRequest$) => {
|
|
40360
|
+
DeclineVendorCredentialRequest$.inboundSchema = DeclineVendorCredentialRequest$inboundSchema;
|
|
40361
|
+
DeclineVendorCredentialRequest$.outboundSchema = DeclineVendorCredentialRequest$outboundSchema;
|
|
40362
|
+
})(DeclineVendorCredentialRequest$ ||= {});
|
|
40363
|
+
});
|
|
40364
|
+
|
|
40324
40365
|
// src/models/operations/deletevendormanagedbycompany.ts
|
|
40325
40366
|
var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$;
|
|
40326
40367
|
var init_deletevendormanagedbycompany = __esm(() => {
|
|
@@ -41021,6 +41062,44 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
|
|
|
41021
41062
|
})(ListVendorAdditionalFacilityFieldsResponse$ ||= {});
|
|
41022
41063
|
});
|
|
41023
41064
|
|
|
41065
|
+
// src/models/operations/listvendorcredentialfiles.ts
|
|
41066
|
+
var ListVendorCredentialFilesRequest$inboundSchema, ListVendorCredentialFilesRequest$outboundSchema, ListVendorCredentialFilesRequest$;
|
|
41067
|
+
var init_listvendorcredentialfiles = __esm(() => {
|
|
41068
|
+
init_lib();
|
|
41069
|
+
init_primitives();
|
|
41070
|
+
init_components();
|
|
41071
|
+
ListVendorCredentialFilesRequest$inboundSchema = objectType({
|
|
41072
|
+
sort: nullableType(stringType()).optional(),
|
|
41073
|
+
desc: Desc$inboundSchema.optional(),
|
|
41074
|
+
page: numberType().int().optional(),
|
|
41075
|
+
items_per_page: numberType().int().optional(),
|
|
41076
|
+
vendor_credential_id: numberType().int(),
|
|
41077
|
+
expand: arrayType(Expand$inboundSchema).optional()
|
|
41078
|
+
}).transform((v2) => {
|
|
41079
|
+
return remap(v2, {
|
|
41080
|
+
items_per_page: "itemsPerPage",
|
|
41081
|
+
vendor_credential_id: "vendorCredentialId"
|
|
41082
|
+
});
|
|
41083
|
+
});
|
|
41084
|
+
ListVendorCredentialFilesRequest$outboundSchema = objectType({
|
|
41085
|
+
sort: nullableType(stringType()).optional(),
|
|
41086
|
+
desc: Desc$outboundSchema.optional(),
|
|
41087
|
+
page: numberType().int().optional(),
|
|
41088
|
+
itemsPerPage: numberType().int().optional(),
|
|
41089
|
+
vendorCredentialId: numberType().int(),
|
|
41090
|
+
expand: arrayType(Expand$outboundSchema).optional()
|
|
41091
|
+
}).transform((v2) => {
|
|
41092
|
+
return remap(v2, {
|
|
41093
|
+
itemsPerPage: "items_per_page",
|
|
41094
|
+
vendorCredentialId: "vendor_credential_id"
|
|
41095
|
+
});
|
|
41096
|
+
});
|
|
41097
|
+
((ListVendorCredentialFilesRequest$) => {
|
|
41098
|
+
ListVendorCredentialFilesRequest$.inboundSchema = ListVendorCredentialFilesRequest$inboundSchema;
|
|
41099
|
+
ListVendorCredentialFilesRequest$.outboundSchema = ListVendorCredentialFilesRequest$outboundSchema;
|
|
41100
|
+
})(ListVendorCredentialFilesRequest$ ||= {});
|
|
41101
|
+
});
|
|
41102
|
+
|
|
41024
41103
|
// src/models/operations/listvendorcredentials.ts
|
|
41025
41104
|
var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2, ListVendorCredentialsGetCredentialsOk$inboundSchema, ListVendorCredentialsGetCredentialsOk$outboundSchema, ListVendorCredentialsGetCredentialsOk$, ListVendorCredentialsResponse$inboundSchema, ListVendorCredentialsResponse$outboundSchema, ListVendorCredentialsResponse$;
|
|
41026
41105
|
var init_listvendorcredentials = __esm(() => {
|
|
@@ -41368,31 +41447,11 @@ var init_listvendorinvoices = __esm(() => {
|
|
|
41368
41447
|
});
|
|
41369
41448
|
|
|
41370
41449
|
// src/models/operations/listvendorjobtitles.ts
|
|
41371
|
-
var
|
|
41450
|
+
var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$, ListVendorJobTitlesResponse$inboundSchema, ListVendorJobTitlesResponse$outboundSchema, ListVendorJobTitlesResponse$;
|
|
41372
41451
|
var init_listvendorjobtitles = __esm(() => {
|
|
41373
41452
|
init_lib();
|
|
41374
41453
|
init_primitives();
|
|
41375
41454
|
init_components();
|
|
41376
|
-
ListVendorJobTitlesSecurity$inboundSchema = objectType({
|
|
41377
|
-
BearerJwt: stringType().optional(),
|
|
41378
|
-
token: stringType().optional()
|
|
41379
|
-
}).transform((v2) => {
|
|
41380
|
-
return remap(v2, {
|
|
41381
|
-
BearerJwt: "bearerJwt"
|
|
41382
|
-
});
|
|
41383
|
-
});
|
|
41384
|
-
ListVendorJobTitlesSecurity$outboundSchema = objectType({
|
|
41385
|
-
bearerJwt: stringType().optional(),
|
|
41386
|
-
token: stringType().optional()
|
|
41387
|
-
}).transform((v2) => {
|
|
41388
|
-
return remap(v2, {
|
|
41389
|
-
bearerJwt: "BearerJwt"
|
|
41390
|
-
});
|
|
41391
|
-
});
|
|
41392
|
-
((ListVendorJobTitlesSecurity$) => {
|
|
41393
|
-
ListVendorJobTitlesSecurity$.inboundSchema = ListVendorJobTitlesSecurity$inboundSchema;
|
|
41394
|
-
ListVendorJobTitlesSecurity$.outboundSchema = ListVendorJobTitlesSecurity$outboundSchema;
|
|
41395
|
-
})(ListVendorJobTitlesSecurity$ ||= {});
|
|
41396
41455
|
ListVendorJobTitlesRequest$inboundSchema = objectType({
|
|
41397
41456
|
sort: nullableType(stringType()).optional(),
|
|
41398
41457
|
desc: Desc$inboundSchema.optional(),
|
|
@@ -42482,6 +42541,7 @@ var init_operations = __esm(() => {
|
|
|
42482
42541
|
init_changepassword();
|
|
42483
42542
|
init_createvendorcompany();
|
|
42484
42543
|
init_createvendorregistration();
|
|
42544
|
+
init_declinevendorcredential();
|
|
42485
42545
|
init_deletevendormanagedbycompany();
|
|
42486
42546
|
init_expeditetimeremaining();
|
|
42487
42547
|
init_getfacility();
|
|
@@ -42498,6 +42558,7 @@ var init_operations = __esm(() => {
|
|
|
42498
42558
|
init_listorsearchsecurityzones();
|
|
42499
42559
|
init_listorsearchsupportarticles();
|
|
42500
42560
|
init_listvendoradditionalfacilityfields();
|
|
42561
|
+
init_listvendorcredentialfiles();
|
|
42501
42562
|
init_listvendorcredentials();
|
|
42502
42563
|
init_listvendorcredits();
|
|
42503
42564
|
init_listvendorfacilitystatuses();
|
|
@@ -44377,11 +44438,114 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
44377
44438
|
};
|
|
44378
44439
|
});
|
|
44379
44440
|
|
|
44380
|
-
// src/funcs/
|
|
44381
|
-
function
|
|
44441
|
+
// src/funcs/vendorsDeclineVendorCredential.ts
|
|
44442
|
+
function vendorsDeclineVendorCredential(client, request, options) {
|
|
44382
44443
|
return new APIPromise($do17(client, request, options));
|
|
44383
44444
|
}
|
|
44384
44445
|
async function $do17(client, request, options) {
|
|
44446
|
+
const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44447
|
+
if (!parsed.ok) {
|
|
44448
|
+
return [parsed, { status: "invalid" }];
|
|
44449
|
+
}
|
|
44450
|
+
const payload = parsed.value;
|
|
44451
|
+
const body = null;
|
|
44452
|
+
const pathParams = {
|
|
44453
|
+
vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
|
|
44454
|
+
};
|
|
44455
|
+
const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/declination")(pathParams);
|
|
44456
|
+
const headers = new Headers(compactMap({
|
|
44457
|
+
Accept: "application/json"
|
|
44458
|
+
}));
|
|
44459
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
44460
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44461
|
+
const context = {
|
|
44462
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44463
|
+
operationID: "declineVendorCredential",
|
|
44464
|
+
oAuth2Scopes: [],
|
|
44465
|
+
resolvedSecurity: requestSecurity,
|
|
44466
|
+
securitySource: client._options.security,
|
|
44467
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
44468
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
44469
|
+
};
|
|
44470
|
+
const requestRes = client._createRequest(context, {
|
|
44471
|
+
security: requestSecurity,
|
|
44472
|
+
method: "POST",
|
|
44473
|
+
baseURL: options?.serverURL,
|
|
44474
|
+
path,
|
|
44475
|
+
headers,
|
|
44476
|
+
body,
|
|
44477
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44478
|
+
}, options);
|
|
44479
|
+
if (!requestRes.ok) {
|
|
44480
|
+
return [requestRes, { status: "invalid" }];
|
|
44481
|
+
}
|
|
44482
|
+
const req = requestRes.value;
|
|
44483
|
+
const doResult = await client._do(req, {
|
|
44484
|
+
context,
|
|
44485
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
44486
|
+
retryConfig: context.retryConfig,
|
|
44487
|
+
retryCodes: context.retryCodes
|
|
44488
|
+
});
|
|
44489
|
+
if (!doResult.ok) {
|
|
44490
|
+
return [doResult, { status: "request-error", request: req }];
|
|
44491
|
+
}
|
|
44492
|
+
const response = doResult.value;
|
|
44493
|
+
const responseFields = {
|
|
44494
|
+
HttpMeta: { Response: response, Request: req }
|
|
44495
|
+
};
|
|
44496
|
+
const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44497
|
+
if (!result.ok) {
|
|
44498
|
+
return [result, { status: "complete", request: req, response }];
|
|
44499
|
+
}
|
|
44500
|
+
return [result, { status: "complete", request: req, response }];
|
|
44501
|
+
}
|
|
44502
|
+
var init_vendorsDeclineVendorCredential = __esm(() => {
|
|
44503
|
+
init_lib();
|
|
44504
|
+
init_encodings();
|
|
44505
|
+
init_matchers();
|
|
44506
|
+
init_primitives();
|
|
44507
|
+
init_schemas();
|
|
44508
|
+
init_security();
|
|
44509
|
+
init_url();
|
|
44510
|
+
init_errors();
|
|
44511
|
+
init_operations();
|
|
44512
|
+
init_async();
|
|
44513
|
+
});
|
|
44514
|
+
|
|
44515
|
+
// src/mcp-server/tools/vendorsDeclineVendorCredential.ts
|
|
44516
|
+
var args16, tool$vendorsDeclineVendorCredential;
|
|
44517
|
+
var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
44518
|
+
init_vendorsDeclineVendorCredential();
|
|
44519
|
+
init_operations();
|
|
44520
|
+
init_tools();
|
|
44521
|
+
args16 = {
|
|
44522
|
+
request: DeclineVendorCredentialRequest$inboundSchema
|
|
44523
|
+
};
|
|
44524
|
+
tool$vendorsDeclineVendorCredential = {
|
|
44525
|
+
name: "vendors-decline-vendor-credential",
|
|
44526
|
+
description: `Decline vendor credential
|
|
44527
|
+
|
|
44528
|
+
It will decline vendor credential`,
|
|
44529
|
+
args: args16,
|
|
44530
|
+
tool: async (client, args17, ctx) => {
|
|
44531
|
+
const [result, apiCall] = await vendorsDeclineVendorCredential(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44532
|
+
if (!result.ok) {
|
|
44533
|
+
return {
|
|
44534
|
+
content: [{ type: "text", text: result.error.message }],
|
|
44535
|
+
isError: true
|
|
44536
|
+
};
|
|
44537
|
+
}
|
|
44538
|
+
const value = result.value;
|
|
44539
|
+
return formatResult(value, apiCall);
|
|
44540
|
+
}
|
|
44541
|
+
};
|
|
44542
|
+
});
|
|
44543
|
+
|
|
44544
|
+
// src/funcs/vendorsDeleteVendorManagedByCompany.ts
|
|
44545
|
+
function vendorsDeleteVendorManagedByCompany(client, request, options) {
|
|
44546
|
+
return new APIPromise($do18(client, request, options));
|
|
44547
|
+
}
|
|
44548
|
+
async function $do18(client, request, options) {
|
|
44385
44549
|
const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44386
44550
|
if (!parsed.ok) {
|
|
44387
44551
|
return [parsed, { status: "invalid" }];
|
|
@@ -44455,12 +44619,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
|
|
|
44455
44619
|
});
|
|
44456
44620
|
|
|
44457
44621
|
// src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
|
|
44458
|
-
var
|
|
44622
|
+
var args17, tool$vendorsDeleteVendorManagedByCompany;
|
|
44459
44623
|
var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
44460
44624
|
init_vendorsDeleteVendorManagedByCompany();
|
|
44461
44625
|
init_operations();
|
|
44462
44626
|
init_tools();
|
|
44463
|
-
|
|
44627
|
+
args17 = {
|
|
44464
44628
|
request: DeleteVendorManagedByCompanyRequest$inboundSchema
|
|
44465
44629
|
};
|
|
44466
44630
|
tool$vendorsDeleteVendorManagedByCompany = {
|
|
@@ -44468,9 +44632,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
|
44468
44632
|
description: `Delete vendor managed by company
|
|
44469
44633
|
|
|
44470
44634
|
It will delete the vendor managed by company`,
|
|
44471
|
-
args:
|
|
44472
|
-
tool: async (client,
|
|
44473
|
-
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client,
|
|
44635
|
+
args: args17,
|
|
44636
|
+
tool: async (client, args18, ctx) => {
|
|
44637
|
+
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44474
44638
|
if (!result.ok) {
|
|
44475
44639
|
return {
|
|
44476
44640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44485,9 +44649,9 @@ It will delete the vendor managed by company`,
|
|
|
44485
44649
|
|
|
44486
44650
|
// src/funcs/vendorsExpediteTimeRemaining.ts
|
|
44487
44651
|
function vendorsExpediteTimeRemaining(client, request, options) {
|
|
44488
|
-
return new APIPromise($
|
|
44652
|
+
return new APIPromise($do19(client, request, options));
|
|
44489
44653
|
}
|
|
44490
|
-
async function $
|
|
44654
|
+
async function $do19(client, request, options) {
|
|
44491
44655
|
const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44492
44656
|
if (!parsed.ok) {
|
|
44493
44657
|
return [parsed, { status: "invalid" }];
|
|
@@ -44560,12 +44724,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
|
|
|
44560
44724
|
});
|
|
44561
44725
|
|
|
44562
44726
|
// src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
|
|
44563
|
-
var
|
|
44727
|
+
var args18, tool$vendorsExpediteTimeRemaining;
|
|
44564
44728
|
var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
44565
44729
|
init_vendorsExpediteTimeRemaining();
|
|
44566
44730
|
init_operations();
|
|
44567
44731
|
init_tools();
|
|
44568
|
-
|
|
44732
|
+
args18 = {
|
|
44569
44733
|
request: ExpediteTimeRemainingRequest$inboundSchema
|
|
44570
44734
|
};
|
|
44571
44735
|
tool$vendorsExpediteTimeRemaining = {
|
|
@@ -44573,9 +44737,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
|
44573
44737
|
description: `Expedite time remaining
|
|
44574
44738
|
|
|
44575
44739
|
For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
|
|
44576
|
-
args:
|
|
44577
|
-
tool: async (client,
|
|
44578
|
-
const [result, apiCall] = await vendorsExpediteTimeRemaining(client,
|
|
44740
|
+
args: args18,
|
|
44741
|
+
tool: async (client, args19, ctx) => {
|
|
44742
|
+
const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44579
44743
|
if (!result.ok) {
|
|
44580
44744
|
return {
|
|
44581
44745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44590,9 +44754,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
|
|
|
44590
44754
|
|
|
44591
44755
|
// src/funcs/vendorsGetVendorCredentialDetails.ts
|
|
44592
44756
|
function vendorsGetVendorCredentialDetails(client, request, options) {
|
|
44593
|
-
return new APIPromise($
|
|
44757
|
+
return new APIPromise($do20(client, request, options));
|
|
44594
44758
|
}
|
|
44595
|
-
async function $
|
|
44759
|
+
async function $do20(client, request, options) {
|
|
44596
44760
|
const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44597
44761
|
if (!parsed.ok) {
|
|
44598
44762
|
return [parsed, { status: "invalid" }];
|
|
@@ -44673,12 +44837,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
|
|
|
44673
44837
|
});
|
|
44674
44838
|
|
|
44675
44839
|
// src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
|
|
44676
|
-
var
|
|
44840
|
+
var args19, tool$vendorsGetVendorCredentialDetails;
|
|
44677
44841
|
var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
|
|
44678
44842
|
init_vendorsGetVendorCredentialDetails();
|
|
44679
44843
|
init_operations();
|
|
44680
44844
|
init_tools();
|
|
44681
|
-
|
|
44845
|
+
args19 = {
|
|
44682
44846
|
request: GetVendorCredentialDetailsRequest$inboundSchema
|
|
44683
44847
|
};
|
|
44684
44848
|
tool$vendorsGetVendorCredentialDetails = {
|
|
@@ -44703,9 +44867,9 @@ Available \`expand\` scopes are:
|
|
|
44703
44867
|
- vendor_credential.vendor_credential_data_requests
|
|
44704
44868
|
- vendor_credential.credential_variants
|
|
44705
44869
|
- vendor_credential.targets_chop`,
|
|
44706
|
-
args:
|
|
44707
|
-
tool: async (client,
|
|
44708
|
-
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client,
|
|
44870
|
+
args: args19,
|
|
44871
|
+
tool: async (client, args20, ctx) => {
|
|
44872
|
+
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44709
44873
|
if (!result.ok) {
|
|
44710
44874
|
return {
|
|
44711
44875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44720,9 +44884,9 @@ Available \`expand\` scopes are:
|
|
|
44720
44884
|
|
|
44721
44885
|
// src/funcs/vendorsGetVendorCredentialFile.ts
|
|
44722
44886
|
function vendorsGetVendorCredentialFile(client, request, options) {
|
|
44723
|
-
return new APIPromise($
|
|
44887
|
+
return new APIPromise($do21(client, request, options));
|
|
44724
44888
|
}
|
|
44725
|
-
async function $
|
|
44889
|
+
async function $do21(client, request, options) {
|
|
44726
44890
|
const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44727
44891
|
if (!parsed.ok) {
|
|
44728
44892
|
return [parsed, { status: "invalid" }];
|
|
@@ -44801,12 +44965,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
|
|
|
44801
44965
|
});
|
|
44802
44966
|
|
|
44803
44967
|
// src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
|
|
44804
|
-
var
|
|
44968
|
+
var args20, tool$vendorsGetVendorCredentialFile;
|
|
44805
44969
|
var init_vendorsGetVendorCredentialFile2 = __esm(() => {
|
|
44806
44970
|
init_vendorsGetVendorCredentialFile();
|
|
44807
44971
|
init_operations();
|
|
44808
44972
|
init_tools();
|
|
44809
|
-
|
|
44973
|
+
args20 = {
|
|
44810
44974
|
request: GetVendorCredentialFileRequest$inboundSchema
|
|
44811
44975
|
};
|
|
44812
44976
|
tool$vendorsGetVendorCredentialFile = {
|
|
@@ -44819,9 +44983,9 @@ Available \`expand\` scopes are:
|
|
|
44819
44983
|
|
|
44820
44984
|
- vendor_credential_file.vendor_credential
|
|
44821
44985
|
- vendor_credential_file.credential_document`,
|
|
44822
|
-
args:
|
|
44823
|
-
tool: async (client,
|
|
44824
|
-
const [result, apiCall] = await vendorsGetVendorCredentialFile(client,
|
|
44986
|
+
args: args20,
|
|
44987
|
+
tool: async (client, args21, ctx) => {
|
|
44988
|
+
const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44825
44989
|
if (!result.ok) {
|
|
44826
44990
|
return {
|
|
44827
44991
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44836,9 +45000,9 @@ Available \`expand\` scopes are:
|
|
|
44836
45000
|
|
|
44837
45001
|
// src/funcs/vendorsGetVendorInvoiceDetails.ts
|
|
44838
45002
|
function vendorsGetVendorInvoiceDetails(client, request, options) {
|
|
44839
|
-
return new APIPromise($
|
|
45003
|
+
return new APIPromise($do22(client, request, options));
|
|
44840
45004
|
}
|
|
44841
|
-
async function $
|
|
45005
|
+
async function $do22(client, request, options) {
|
|
44842
45006
|
const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44843
45007
|
if (!parsed.ok) {
|
|
44844
45008
|
return [parsed, { status: "invalid" }];
|
|
@@ -44916,12 +45080,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
|
|
|
44916
45080
|
});
|
|
44917
45081
|
|
|
44918
45082
|
// src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
|
|
44919
|
-
var
|
|
45083
|
+
var args21, tool$vendorsGetVendorInvoiceDetails;
|
|
44920
45084
|
var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
|
|
44921
45085
|
init_vendorsGetVendorInvoiceDetails();
|
|
44922
45086
|
init_operations();
|
|
44923
45087
|
init_tools();
|
|
44924
|
-
|
|
45088
|
+
args21 = {
|
|
44925
45089
|
request: GetVendorInvoiceDetailsRequest$inboundSchema
|
|
44926
45090
|
};
|
|
44927
45091
|
tool$vendorsGetVendorInvoiceDetails = {
|
|
@@ -44934,9 +45098,9 @@ Available \`expand\` scopes are:
|
|
|
44934
45098
|
|
|
44935
45099
|
invoice.line_items
|
|
44936
45100
|
invoice.invoice_transactions`,
|
|
44937
|
-
args:
|
|
44938
|
-
tool: async (client,
|
|
44939
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client,
|
|
45101
|
+
args: args21,
|
|
45102
|
+
tool: async (client, args22, ctx) => {
|
|
45103
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44940
45104
|
if (!result.ok) {
|
|
44941
45105
|
return {
|
|
44942
45106
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44951,9 +45115,9 @@ invoice.invoice_transactions`,
|
|
|
44951
45115
|
|
|
44952
45116
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
44953
45117
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
44954
|
-
return new APIPromise($
|
|
45118
|
+
return new APIPromise($do23(client, request, options));
|
|
44955
45119
|
}
|
|
44956
|
-
async function $
|
|
45120
|
+
async function $do23(client, request, options) {
|
|
44957
45121
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44958
45122
|
if (!parsed.ok) {
|
|
44959
45123
|
return [parsed, { status: "invalid" }];
|
|
@@ -45031,12 +45195,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
45031
45195
|
});
|
|
45032
45196
|
|
|
45033
45197
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
45034
|
-
var
|
|
45198
|
+
var args22, tool$vendorsGetVendorsDetails;
|
|
45035
45199
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
45036
45200
|
init_vendorsGetVendorsDetails();
|
|
45037
45201
|
init_operations();
|
|
45038
45202
|
init_tools();
|
|
45039
|
-
|
|
45203
|
+
args22 = {
|
|
45040
45204
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
45041
45205
|
};
|
|
45042
45206
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -45060,9 +45224,9 @@ vendor.scrubs_subscription
|
|
|
45060
45224
|
vendor.payment_responsibility
|
|
45061
45225
|
vendor.background_check_date_expires
|
|
45062
45226
|
vendor.registration_data`,
|
|
45063
|
-
args:
|
|
45064
|
-
tool: async (client,
|
|
45065
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
45227
|
+
args: args22,
|
|
45228
|
+
tool: async (client, args23, ctx) => {
|
|
45229
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45066
45230
|
if (!result.ok) {
|
|
45067
45231
|
return {
|
|
45068
45232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45077,9 +45241,9 @@ vendor.registration_data`,
|
|
|
45077
45241
|
|
|
45078
45242
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
45079
45243
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
45080
|
-
return new APIPromise($
|
|
45244
|
+
return new APIPromise($do24(client, request, options));
|
|
45081
45245
|
}
|
|
45082
|
-
async function $
|
|
45246
|
+
async function $do24(client, request, options) {
|
|
45083
45247
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45084
45248
|
if (!parsed.ok) {
|
|
45085
45249
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45189,12 +45353,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
45189
45353
|
});
|
|
45190
45354
|
|
|
45191
45355
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
45192
|
-
var
|
|
45356
|
+
var args23, tool$vendorsListVendorAdditionalFacilityFields;
|
|
45193
45357
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
45194
45358
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
45195
45359
|
init_operations();
|
|
45196
45360
|
init_tools();
|
|
45197
|
-
|
|
45361
|
+
args23 = {
|
|
45198
45362
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
45199
45363
|
};
|
|
45200
45364
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -45202,9 +45366,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
45202
45366
|
description: `List of vendor's additional facility fields
|
|
45203
45367
|
|
|
45204
45368
|
List of vendor's additional facility fields`,
|
|
45205
|
-
args:
|
|
45206
|
-
tool: async (client,
|
|
45207
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
45369
|
+
args: args23,
|
|
45370
|
+
tool: async (client, args24, ctx) => {
|
|
45371
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45208
45372
|
if (!result.ok) {
|
|
45209
45373
|
return {
|
|
45210
45374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45217,36 +45381,29 @@ List of vendor's additional facility fields`,
|
|
|
45217
45381
|
};
|
|
45218
45382
|
});
|
|
45219
45383
|
|
|
45220
|
-
// src/funcs/
|
|
45221
|
-
function
|
|
45222
|
-
return new APIPromise($
|
|
45384
|
+
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
45385
|
+
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
45386
|
+
return new APIPromise($do25(client, request, options));
|
|
45223
45387
|
}
|
|
45224
|
-
async function $
|
|
45225
|
-
const parsed = safeParse(request, (value) =>
|
|
45388
|
+
async function $do25(client, request, options) {
|
|
45389
|
+
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45226
45390
|
if (!parsed.ok) {
|
|
45227
|
-
return [
|
|
45391
|
+
return [parsed, { status: "invalid" }];
|
|
45228
45392
|
}
|
|
45229
45393
|
const payload = parsed.value;
|
|
45230
45394
|
const body = null;
|
|
45231
45395
|
const pathParams = {
|
|
45232
|
-
|
|
45233
|
-
explode: false,
|
|
45234
|
-
charEncoding: "percent"
|
|
45235
|
-
})
|
|
45396
|
+
vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
|
|
45236
45397
|
};
|
|
45237
|
-
const path = pathToFunc("/vendors/{
|
|
45238
|
-
const query = encodeFormQuery({
|
|
45239
|
-
|
|
45398
|
+
const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/files")(pathParams);
|
|
45399
|
+
const query = queryJoin(encodeFormQuery({
|
|
45400
|
+
expand: payload.expand
|
|
45401
|
+
}, { explode: false }), encodeFormQuery({
|
|
45240
45402
|
desc: payload.desc,
|
|
45241
|
-
expedited: payload.expedited,
|
|
45242
|
-
facility_id: payload.facility_id,
|
|
45243
|
-
include_cc: payload.include_cc,
|
|
45244
|
-
include_vc: payload.include_vc,
|
|
45245
45403
|
items_per_page: payload.items_per_page,
|
|
45246
45404
|
page: payload.page,
|
|
45247
|
-
sort: payload.sort
|
|
45248
|
-
|
|
45249
|
-
});
|
|
45405
|
+
sort: payload.sort
|
|
45406
|
+
}));
|
|
45250
45407
|
const headers = new Headers(compactMap({
|
|
45251
45408
|
Accept: "application/json"
|
|
45252
45409
|
}));
|
|
@@ -45254,7 +45411,7 @@ async function $do24(client, request, options) {
|
|
|
45254
45411
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45255
45412
|
const context = {
|
|
45256
45413
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45257
|
-
operationID: "
|
|
45414
|
+
operationID: "listVendorCredentialFiles",
|
|
45258
45415
|
oAuth2Scopes: [],
|
|
45259
45416
|
resolvedSecurity: requestSecurity,
|
|
45260
45417
|
securitySource: client._options.security,
|
|
@@ -45272,7 +45429,7 @@ async function $do24(client, request, options) {
|
|
|
45272
45429
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45273
45430
|
}, options);
|
|
45274
45431
|
if (!requestRes.ok) {
|
|
45275
|
-
return [
|
|
45432
|
+
return [requestRes, { status: "invalid" }];
|
|
45276
45433
|
}
|
|
45277
45434
|
const req = requestRes.value;
|
|
45278
45435
|
const doResult = await client._do(req, {
|
|
@@ -45282,25 +45439,150 @@ async function $do24(client, request, options) {
|
|
|
45282
45439
|
retryCodes: context.retryCodes
|
|
45283
45440
|
});
|
|
45284
45441
|
if (!doResult.ok) {
|
|
45285
|
-
return [
|
|
45442
|
+
return [doResult, { status: "request-error", request: req }];
|
|
45286
45443
|
}
|
|
45287
45444
|
const response = doResult.value;
|
|
45288
45445
|
const responseFields = {
|
|
45289
45446
|
HttpMeta: { Response: response, Request: req }
|
|
45290
45447
|
};
|
|
45291
|
-
const [result
|
|
45292
|
-
key: "Result"
|
|
45293
|
-
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45448
|
+
const [result] = await match(json(200, arrayType(nullableType(VendorCredentialFile$inboundSchema))), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45294
45449
|
if (!result.ok) {
|
|
45295
|
-
return [
|
|
45296
|
-
status: "complete",
|
|
45297
|
-
request: req,
|
|
45298
|
-
response
|
|
45299
|
-
}];
|
|
45450
|
+
return [result, { status: "complete", request: req, response }];
|
|
45300
45451
|
}
|
|
45301
|
-
|
|
45302
|
-
|
|
45303
|
-
|
|
45452
|
+
return [result, { status: "complete", request: req, response }];
|
|
45453
|
+
}
|
|
45454
|
+
var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
45455
|
+
init_lib();
|
|
45456
|
+
init_encodings();
|
|
45457
|
+
init_matchers();
|
|
45458
|
+
init_primitives();
|
|
45459
|
+
init_schemas();
|
|
45460
|
+
init_security();
|
|
45461
|
+
init_url();
|
|
45462
|
+
init_components();
|
|
45463
|
+
init_errors();
|
|
45464
|
+
init_operations();
|
|
45465
|
+
init_async();
|
|
45466
|
+
});
|
|
45467
|
+
|
|
45468
|
+
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
45469
|
+
var args24, tool$vendorsListVendorCredentialFiles;
|
|
45470
|
+
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
45471
|
+
init_vendorsListVendorCredentialFiles();
|
|
45472
|
+
init_operations();
|
|
45473
|
+
init_tools();
|
|
45474
|
+
args24 = {
|
|
45475
|
+
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
45476
|
+
};
|
|
45477
|
+
tool$vendorsListVendorCredentialFiles = {
|
|
45478
|
+
name: "vendors-list-vendor-credential-files",
|
|
45479
|
+
description: `List Vendor Credential files
|
|
45480
|
+
|
|
45481
|
+
Retrieve an vendor credential files.
|
|
45482
|
+
|
|
45483
|
+
Available \`expand\` scopes are:
|
|
45484
|
+
|
|
45485
|
+
- vendor_credential_file.vendor_credential
|
|
45486
|
+
- vendor_credential_file.credential_document`,
|
|
45487
|
+
args: args24,
|
|
45488
|
+
tool: async (client, args25, ctx) => {
|
|
45489
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45490
|
+
if (!result.ok) {
|
|
45491
|
+
return {
|
|
45492
|
+
content: [{ type: "text", text: result.error.message }],
|
|
45493
|
+
isError: true
|
|
45494
|
+
};
|
|
45495
|
+
}
|
|
45496
|
+
const value = result.value;
|
|
45497
|
+
return formatResult(value, apiCall);
|
|
45498
|
+
}
|
|
45499
|
+
};
|
|
45500
|
+
});
|
|
45501
|
+
|
|
45502
|
+
// src/funcs/vendorsListVendorCredentials.ts
|
|
45503
|
+
function vendorsListVendorCredentials(client, request, options) {
|
|
45504
|
+
return new APIPromise($do26(client, request, options));
|
|
45505
|
+
}
|
|
45506
|
+
async function $do26(client, request, options) {
|
|
45507
|
+
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45508
|
+
if (!parsed.ok) {
|
|
45509
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
45510
|
+
}
|
|
45511
|
+
const payload = parsed.value;
|
|
45512
|
+
const body = null;
|
|
45513
|
+
const pathParams = {
|
|
45514
|
+
vendor_id: encodeSimple("vendor_id", payload.vendor_id, {
|
|
45515
|
+
explode: false,
|
|
45516
|
+
charEncoding: "percent"
|
|
45517
|
+
})
|
|
45518
|
+
};
|
|
45519
|
+
const path = pathToFunc("/vendors/{vendor_id}/credentials")(pathParams);
|
|
45520
|
+
const query = encodeFormQuery({
|
|
45521
|
+
credential_status: payload.credential_status,
|
|
45522
|
+
desc: payload.desc,
|
|
45523
|
+
expedited: payload.expedited,
|
|
45524
|
+
facility_id: payload.facility_id,
|
|
45525
|
+
include_cc: payload.include_cc,
|
|
45526
|
+
include_vc: payload.include_vc,
|
|
45527
|
+
items_per_page: payload.items_per_page,
|
|
45528
|
+
page: payload.page,
|
|
45529
|
+
sort: payload.sort,
|
|
45530
|
+
urgent: payload.urgent
|
|
45531
|
+
});
|
|
45532
|
+
const headers = new Headers(compactMap({
|
|
45533
|
+
Accept: "application/json"
|
|
45534
|
+
}));
|
|
45535
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
45536
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45537
|
+
const context = {
|
|
45538
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45539
|
+
operationID: "listVendorCredentials",
|
|
45540
|
+
oAuth2Scopes: [],
|
|
45541
|
+
resolvedSecurity: requestSecurity,
|
|
45542
|
+
securitySource: client._options.security,
|
|
45543
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
45544
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
45545
|
+
};
|
|
45546
|
+
const requestRes = client._createRequest(context, {
|
|
45547
|
+
security: requestSecurity,
|
|
45548
|
+
method: "GET",
|
|
45549
|
+
baseURL: options?.serverURL,
|
|
45550
|
+
path,
|
|
45551
|
+
headers,
|
|
45552
|
+
query,
|
|
45553
|
+
body,
|
|
45554
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45555
|
+
}, options);
|
|
45556
|
+
if (!requestRes.ok) {
|
|
45557
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
45558
|
+
}
|
|
45559
|
+
const req = requestRes.value;
|
|
45560
|
+
const doResult = await client._do(req, {
|
|
45561
|
+
context,
|
|
45562
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
45563
|
+
retryConfig: context.retryConfig,
|
|
45564
|
+
retryCodes: context.retryCodes
|
|
45565
|
+
});
|
|
45566
|
+
if (!doResult.ok) {
|
|
45567
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
45568
|
+
}
|
|
45569
|
+
const response = doResult.value;
|
|
45570
|
+
const responseFields = {
|
|
45571
|
+
HttpMeta: { Response: response, Request: req }
|
|
45572
|
+
};
|
|
45573
|
+
const [result, raw] = await match(json(200, ListVendorCredentialsResponse$inboundSchema, {
|
|
45574
|
+
key: "Result"
|
|
45575
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45576
|
+
if (!result.ok) {
|
|
45577
|
+
return [haltIterator(result), {
|
|
45578
|
+
status: "complete",
|
|
45579
|
+
request: req,
|
|
45580
|
+
response
|
|
45581
|
+
}];
|
|
45582
|
+
}
|
|
45583
|
+
const nextFunc = (responseData) => {
|
|
45584
|
+
const page2 = request?.page ?? 1;
|
|
45585
|
+
const nextPage = page2 + 1;
|
|
45304
45586
|
if (!responseData) {
|
|
45305
45587
|
return { next: () => null };
|
|
45306
45588
|
}
|
|
@@ -45339,12 +45621,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
45339
45621
|
});
|
|
45340
45622
|
|
|
45341
45623
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
45342
|
-
var
|
|
45624
|
+
var args25, tool$vendorsListVendorCredentials;
|
|
45343
45625
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
45344
45626
|
init_vendorsListVendorCredentials();
|
|
45345
45627
|
init_operations();
|
|
45346
45628
|
init_tools();
|
|
45347
|
-
|
|
45629
|
+
args25 = {
|
|
45348
45630
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
45349
45631
|
};
|
|
45350
45632
|
tool$vendorsListVendorCredentials = {
|
|
@@ -45352,9 +45634,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
45352
45634
|
description: `List Vendor Credentials
|
|
45353
45635
|
|
|
45354
45636
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
45355
|
-
args:
|
|
45356
|
-
tool: async (client,
|
|
45357
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
45637
|
+
args: args25,
|
|
45638
|
+
tool: async (client, args26, ctx) => {
|
|
45639
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45358
45640
|
if (!result.ok) {
|
|
45359
45641
|
return {
|
|
45360
45642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45369,9 +45651,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
45369
45651
|
|
|
45370
45652
|
// src/funcs/vendorsListVendorCredits.ts
|
|
45371
45653
|
function vendorsListVendorCredits(client, request, options) {
|
|
45372
|
-
return new APIPromise($
|
|
45654
|
+
return new APIPromise($do27(client, request, options));
|
|
45373
45655
|
}
|
|
45374
|
-
async function $
|
|
45656
|
+
async function $do27(client, request, options) {
|
|
45375
45657
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45376
45658
|
if (!parsed.ok) {
|
|
45377
45659
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45483,12 +45765,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
45483
45765
|
});
|
|
45484
45766
|
|
|
45485
45767
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
45486
|
-
var
|
|
45768
|
+
var args26, tool$vendorsListVendorCredits;
|
|
45487
45769
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
45488
45770
|
init_vendorsListVendorCredits();
|
|
45489
45771
|
init_operations();
|
|
45490
45772
|
init_tools();
|
|
45491
|
-
|
|
45773
|
+
args26 = {
|
|
45492
45774
|
request: ListVendorCreditsRequest$inboundSchema
|
|
45493
45775
|
};
|
|
45494
45776
|
tool$vendorsListVendorCredits = {
|
|
@@ -45496,9 +45778,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
45496
45778
|
description: `List vendor credits
|
|
45497
45779
|
|
|
45498
45780
|
List the credits for the vendor`,
|
|
45499
|
-
args:
|
|
45500
|
-
tool: async (client,
|
|
45501
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
45781
|
+
args: args26,
|
|
45782
|
+
tool: async (client, args27, ctx) => {
|
|
45783
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45502
45784
|
if (!result.ok) {
|
|
45503
45785
|
return {
|
|
45504
45786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45513,9 +45795,9 @@ List the credits for the vendor`,
|
|
|
45513
45795
|
|
|
45514
45796
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
45515
45797
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
45516
|
-
return new APIPromise($
|
|
45798
|
+
return new APIPromise($do28(client, request, options));
|
|
45517
45799
|
}
|
|
45518
|
-
async function $
|
|
45800
|
+
async function $do28(client, request, options) {
|
|
45519
45801
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45520
45802
|
if (!parsed.ok) {
|
|
45521
45803
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45623,12 +45905,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
45623
45905
|
});
|
|
45624
45906
|
|
|
45625
45907
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
45626
|
-
var
|
|
45908
|
+
var args27, tool$vendorsListVendorFacilityStatuses;
|
|
45627
45909
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
45628
45910
|
init_vendorsListVendorFacilityStatuses();
|
|
45629
45911
|
init_operations();
|
|
45630
45912
|
init_tools();
|
|
45631
|
-
|
|
45913
|
+
args27 = {
|
|
45632
45914
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
45633
45915
|
};
|
|
45634
45916
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -45636,9 +45918,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
45636
45918
|
description: `List vendor facility statuses
|
|
45637
45919
|
|
|
45638
45920
|
List the facilities for the vendor`,
|
|
45639
|
-
args:
|
|
45640
|
-
tool: async (client,
|
|
45641
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
45921
|
+
args: args27,
|
|
45922
|
+
tool: async (client, args28, ctx) => {
|
|
45923
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45642
45924
|
if (!result.ok) {
|
|
45643
45925
|
return {
|
|
45644
45926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45653,9 +45935,9 @@ List the facilities for the vendor`,
|
|
|
45653
45935
|
|
|
45654
45936
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
45655
45937
|
function vendorsListVendorInvoices(client, request, options) {
|
|
45656
|
-
return new APIPromise($
|
|
45938
|
+
return new APIPromise($do29(client, request, options));
|
|
45657
45939
|
}
|
|
45658
|
-
async function $
|
|
45940
|
+
async function $do29(client, request, options) {
|
|
45659
45941
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45660
45942
|
if (!parsed.ok) {
|
|
45661
45943
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45771,12 +46053,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
45771
46053
|
});
|
|
45772
46054
|
|
|
45773
46055
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
45774
|
-
var
|
|
46056
|
+
var args28, tool$vendorsListVendorInvoices;
|
|
45775
46057
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
45776
46058
|
init_vendorsListVendorInvoices();
|
|
45777
46059
|
init_operations();
|
|
45778
46060
|
init_tools();
|
|
45779
|
-
|
|
46061
|
+
args28 = {
|
|
45780
46062
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
45781
46063
|
};
|
|
45782
46064
|
tool$vendorsListVendorInvoices = {
|
|
@@ -45788,9 +46070,148 @@ List invoices for Vendors
|
|
|
45788
46070
|
Available \`expand\` scopes are:
|
|
45789
46071
|
|
|
45790
46072
|
invoice.line_items`,
|
|
45791
|
-
args:
|
|
45792
|
-
tool: async (client,
|
|
45793
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
46073
|
+
args: args28,
|
|
46074
|
+
tool: async (client, args29, ctx) => {
|
|
46075
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46076
|
+
if (!result.ok) {
|
|
46077
|
+
return {
|
|
46078
|
+
content: [{ type: "text", text: result.error.message }],
|
|
46079
|
+
isError: true
|
|
46080
|
+
};
|
|
46081
|
+
}
|
|
46082
|
+
const value = result.value.result;
|
|
46083
|
+
return formatResult(value, apiCall);
|
|
46084
|
+
}
|
|
46085
|
+
};
|
|
46086
|
+
});
|
|
46087
|
+
|
|
46088
|
+
// src/funcs/vendorsListVendorJobTitles.ts
|
|
46089
|
+
function vendorsListVendorJobTitles(client, request, options) {
|
|
46090
|
+
return new APIPromise($do30(client, request, options));
|
|
46091
|
+
}
|
|
46092
|
+
async function $do30(client, request, options) {
|
|
46093
|
+
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46094
|
+
if (!parsed.ok) {
|
|
46095
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
46096
|
+
}
|
|
46097
|
+
const payload = parsed.value;
|
|
46098
|
+
const body = null;
|
|
46099
|
+
const path = pathToFunc("/vendors/job_titles")();
|
|
46100
|
+
const query = encodeFormQuery({
|
|
46101
|
+
desc: payload.desc,
|
|
46102
|
+
items_per_page: payload.items_per_page,
|
|
46103
|
+
job_like: payload.job_like,
|
|
46104
|
+
page: payload.page,
|
|
46105
|
+
sort: payload.sort
|
|
46106
|
+
});
|
|
46107
|
+
const headers = new Headers(compactMap({
|
|
46108
|
+
Accept: "application/json"
|
|
46109
|
+
}));
|
|
46110
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
46111
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46112
|
+
const context = {
|
|
46113
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46114
|
+
operationID: "listVendorJobTitles",
|
|
46115
|
+
oAuth2Scopes: [],
|
|
46116
|
+
resolvedSecurity: requestSecurity,
|
|
46117
|
+
securitySource: client._options.security,
|
|
46118
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
46119
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
46120
|
+
};
|
|
46121
|
+
const requestRes = client._createRequest(context, {
|
|
46122
|
+
security: requestSecurity,
|
|
46123
|
+
method: "GET",
|
|
46124
|
+
baseURL: options?.serverURL,
|
|
46125
|
+
path,
|
|
46126
|
+
headers,
|
|
46127
|
+
query,
|
|
46128
|
+
body,
|
|
46129
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46130
|
+
}, options);
|
|
46131
|
+
if (!requestRes.ok) {
|
|
46132
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
46133
|
+
}
|
|
46134
|
+
const req = requestRes.value;
|
|
46135
|
+
const doResult = await client._do(req, {
|
|
46136
|
+
context,
|
|
46137
|
+
errorCodes: ["403", "4XX", "500", "5XX"],
|
|
46138
|
+
retryConfig: context.retryConfig,
|
|
46139
|
+
retryCodes: context.retryCodes
|
|
46140
|
+
});
|
|
46141
|
+
if (!doResult.ok) {
|
|
46142
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
46143
|
+
}
|
|
46144
|
+
const response = doResult.value;
|
|
46145
|
+
const responseFields = {
|
|
46146
|
+
HttpMeta: { Response: response, Request: req }
|
|
46147
|
+
};
|
|
46148
|
+
const [result, raw] = await match(json(200, ListVendorJobTitlesResponse$inboundSchema, {
|
|
46149
|
+
key: "Result"
|
|
46150
|
+
}), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
46151
|
+
if (!result.ok) {
|
|
46152
|
+
return [haltIterator(result), {
|
|
46153
|
+
status: "complete",
|
|
46154
|
+
request: req,
|
|
46155
|
+
response
|
|
46156
|
+
}];
|
|
46157
|
+
}
|
|
46158
|
+
const nextFunc = (responseData) => {
|
|
46159
|
+
const page2 = request?.page ?? 1;
|
|
46160
|
+
const nextPage = page2 + 1;
|
|
46161
|
+
if (!responseData) {
|
|
46162
|
+
return { next: () => null };
|
|
46163
|
+
}
|
|
46164
|
+
const results = dlv(responseData, "items");
|
|
46165
|
+
if (!Array.isArray(results) || !results.length) {
|
|
46166
|
+
return { next: () => null };
|
|
46167
|
+
}
|
|
46168
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
46169
|
+
if (results.length < limit) {
|
|
46170
|
+
return { next: () => null };
|
|
46171
|
+
}
|
|
46172
|
+
const nextVal = () => vendorsListVendorJobTitles(client, {
|
|
46173
|
+
...request,
|
|
46174
|
+
page: nextPage
|
|
46175
|
+
}, options);
|
|
46176
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
46177
|
+
};
|
|
46178
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
46179
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
46180
|
+
status: "complete",
|
|
46181
|
+
request: req,
|
|
46182
|
+
response
|
|
46183
|
+
}];
|
|
46184
|
+
}
|
|
46185
|
+
var init_vendorsListVendorJobTitles = __esm(() => {
|
|
46186
|
+
init_encodings();
|
|
46187
|
+
init_matchers();
|
|
46188
|
+
init_primitives();
|
|
46189
|
+
init_schemas();
|
|
46190
|
+
init_security();
|
|
46191
|
+
init_url();
|
|
46192
|
+
init_errors();
|
|
46193
|
+
init_operations();
|
|
46194
|
+
init_async();
|
|
46195
|
+
init_operations2();
|
|
46196
|
+
});
|
|
46197
|
+
|
|
46198
|
+
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
46199
|
+
var args29, tool$vendorsListVendorJobTitles;
|
|
46200
|
+
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
46201
|
+
init_vendorsListVendorJobTitles();
|
|
46202
|
+
init_operations();
|
|
46203
|
+
init_tools();
|
|
46204
|
+
args29 = {
|
|
46205
|
+
request: ListVendorJobTitlesRequest$inboundSchema
|
|
46206
|
+
};
|
|
46207
|
+
tool$vendorsListVendorJobTitles = {
|
|
46208
|
+
name: "vendors-list-vendor-job-titles",
|
|
46209
|
+
description: `List vendor job titles
|
|
46210
|
+
|
|
46211
|
+
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
46212
|
+
args: args29,
|
|
46213
|
+
tool: async (client, args30, ctx) => {
|
|
46214
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45794
46215
|
if (!result.ok) {
|
|
45795
46216
|
return {
|
|
45796
46217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45805,9 +46226,9 @@ invoice.line_items`,
|
|
|
45805
46226
|
|
|
45806
46227
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
45807
46228
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
45808
|
-
return new APIPromise($
|
|
46229
|
+
return new APIPromise($do31(client, request, options));
|
|
45809
46230
|
}
|
|
45810
|
-
async function $
|
|
46231
|
+
async function $do31(client, request, options) {
|
|
45811
46232
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45812
46233
|
if (!parsed.ok) {
|
|
45813
46234
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45919,12 +46340,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
45919
46340
|
});
|
|
45920
46341
|
|
|
45921
46342
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
45922
|
-
var
|
|
46343
|
+
var args30, tool$vendorsListVendorManagedByCompanies;
|
|
45923
46344
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
45924
46345
|
init_vendorsListVendorManagedByCompanies();
|
|
45925
46346
|
init_operations();
|
|
45926
46347
|
init_tools();
|
|
45927
|
-
|
|
46348
|
+
args30 = {
|
|
45928
46349
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
45929
46350
|
};
|
|
45930
46351
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -45932,9 +46353,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
45932
46353
|
description: `List of companies managing the vendor
|
|
45933
46354
|
|
|
45934
46355
|
List of companies managing the vendor`,
|
|
45935
|
-
args:
|
|
45936
|
-
tool: async (client,
|
|
45937
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
46356
|
+
args: args30,
|
|
46357
|
+
tool: async (client, args31, ctx) => {
|
|
46358
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45938
46359
|
if (!result.ok) {
|
|
45939
46360
|
return {
|
|
45940
46361
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45949,9 +46370,9 @@ List of companies managing the vendor`,
|
|
|
45949
46370
|
|
|
45950
46371
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
45951
46372
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
45952
|
-
return new APIPromise($
|
|
46373
|
+
return new APIPromise($do32(client, request, options));
|
|
45953
46374
|
}
|
|
45954
|
-
async function $
|
|
46375
|
+
async function $do32(client, request, options) {
|
|
45955
46376
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45956
46377
|
if (!parsed.ok) {
|
|
45957
46378
|
return [parsed, { status: "invalid" }];
|
|
@@ -46025,12 +46446,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
46025
46446
|
});
|
|
46026
46447
|
|
|
46027
46448
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
46028
|
-
var
|
|
46449
|
+
var args31, tool$vendorsListVendorScrubDetails;
|
|
46029
46450
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
46030
46451
|
init_vendorsListVendorScrubDetails();
|
|
46031
46452
|
init_operations();
|
|
46032
46453
|
init_tools();
|
|
46033
|
-
|
|
46454
|
+
args31 = {
|
|
46034
46455
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
46035
46456
|
};
|
|
46036
46457
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -46038,9 +46459,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
46038
46459
|
description: `List vendor scrub details
|
|
46039
46460
|
|
|
46040
46461
|
List vendor scrub details`,
|
|
46041
|
-
args:
|
|
46042
|
-
tool: async (client,
|
|
46043
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
46462
|
+
args: args31,
|
|
46463
|
+
tool: async (client, args32, ctx) => {
|
|
46464
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46044
46465
|
if (!result.ok) {
|
|
46045
46466
|
return {
|
|
46046
46467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46055,9 +46476,9 @@ List vendor scrub details`,
|
|
|
46055
46476
|
|
|
46056
46477
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
46057
46478
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
46058
|
-
return new APIPromise($
|
|
46479
|
+
return new APIPromise($do33(client, request, options));
|
|
46059
46480
|
}
|
|
46060
|
-
async function $
|
|
46481
|
+
async function $do33(client, request, options) {
|
|
46061
46482
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46062
46483
|
if (!parsed.ok) {
|
|
46063
46484
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46169,12 +46590,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
46169
46590
|
});
|
|
46170
46591
|
|
|
46171
46592
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
46172
|
-
var
|
|
46593
|
+
var args32, tool$vendorsListVendorScrubPackages;
|
|
46173
46594
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
46174
46595
|
init_vendorsListVendorScrubPackages();
|
|
46175
46596
|
init_operations();
|
|
46176
46597
|
init_tools();
|
|
46177
|
-
|
|
46598
|
+
args32 = {
|
|
46178
46599
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
46179
46600
|
};
|
|
46180
46601
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -46182,9 +46603,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
46182
46603
|
description: `List vendor scrub packages
|
|
46183
46604
|
|
|
46184
46605
|
List vendor scrub packages`,
|
|
46185
|
-
args:
|
|
46186
|
-
tool: async (client,
|
|
46187
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
46606
|
+
args: args32,
|
|
46607
|
+
tool: async (client, args33, ctx) => {
|
|
46608
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46188
46609
|
if (!result.ok) {
|
|
46189
46610
|
return {
|
|
46190
46611
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46199,9 +46620,9 @@ List vendor scrub packages`,
|
|
|
46199
46620
|
|
|
46200
46621
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
46201
46622
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
46202
|
-
return new APIPromise($
|
|
46623
|
+
return new APIPromise($do34(client, request, options));
|
|
46203
46624
|
}
|
|
46204
|
-
async function $
|
|
46625
|
+
async function $do34(client, request, options) {
|
|
46205
46626
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46206
46627
|
if (!parsed.ok) {
|
|
46207
46628
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46313,12 +46734,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
46313
46734
|
});
|
|
46314
46735
|
|
|
46315
46736
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
46316
|
-
var
|
|
46737
|
+
var args33, tool$vendorsListVendorScrubPurchases;
|
|
46317
46738
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
46318
46739
|
init_vendorsListVendorScrubPurchases();
|
|
46319
46740
|
init_operations();
|
|
46320
46741
|
init_tools();
|
|
46321
|
-
|
|
46742
|
+
args33 = {
|
|
46322
46743
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
46323
46744
|
};
|
|
46324
46745
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -46326,9 +46747,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
46326
46747
|
description: `List vendor scrub purchases
|
|
46327
46748
|
|
|
46328
46749
|
List vendor scrub purchases`,
|
|
46329
|
-
args:
|
|
46330
|
-
tool: async (client,
|
|
46331
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
46750
|
+
args: args33,
|
|
46751
|
+
tool: async (client, args34, ctx) => {
|
|
46752
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46332
46753
|
if (!result.ok) {
|
|
46333
46754
|
return {
|
|
46334
46755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46343,9 +46764,9 @@ List vendor scrub purchases`,
|
|
|
46343
46764
|
|
|
46344
46765
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
46345
46766
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
46346
|
-
return new APIPromise($
|
|
46767
|
+
return new APIPromise($do35(client, request, options));
|
|
46347
46768
|
}
|
|
46348
|
-
async function $
|
|
46769
|
+
async function $do35(client, request, options) {
|
|
46349
46770
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46350
46771
|
if (!parsed.ok) {
|
|
46351
46772
|
return [parsed, { status: "invalid" }];
|
|
@@ -46419,12 +46840,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
46419
46840
|
});
|
|
46420
46841
|
|
|
46421
46842
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
46422
|
-
var
|
|
46843
|
+
var args34, tool$vendorsPurchaseScrubCredits;
|
|
46423
46844
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
46424
46845
|
init_vendorsPurchaseScrubCredits();
|
|
46425
46846
|
init_operations();
|
|
46426
46847
|
init_tools();
|
|
46427
|
-
|
|
46848
|
+
args34 = {
|
|
46428
46849
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
46429
46850
|
};
|
|
46430
46851
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -46432,9 +46853,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
46432
46853
|
description: `Purchase scrub credits
|
|
46433
46854
|
|
|
46434
46855
|
Purchase scrub credits`,
|
|
46435
|
-
args:
|
|
46436
|
-
tool: async (client,
|
|
46437
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
46856
|
+
args: args34,
|
|
46857
|
+
tool: async (client, args35, ctx) => {
|
|
46858
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46438
46859
|
if (!result.ok) {
|
|
46439
46860
|
return {
|
|
46440
46861
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46449,9 +46870,9 @@ Purchase scrub credits`,
|
|
|
46449
46870
|
|
|
46450
46871
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
46451
46872
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
46452
|
-
return new APIPromise($
|
|
46873
|
+
return new APIPromise($do36(client, request, options));
|
|
46453
46874
|
}
|
|
46454
|
-
async function $
|
|
46875
|
+
async function $do36(client, request, options) {
|
|
46455
46876
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46456
46877
|
if (!parsed.ok) {
|
|
46457
46878
|
return [parsed, { status: "invalid" }];
|
|
@@ -46526,12 +46947,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
46526
46947
|
});
|
|
46527
46948
|
|
|
46528
46949
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
46529
|
-
var
|
|
46950
|
+
var args35, tool$vendorsUpdateVendorDetails;
|
|
46530
46951
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
46531
46952
|
init_vendorsUpdateVendorDetails();
|
|
46532
46953
|
init_operations();
|
|
46533
46954
|
init_tools();
|
|
46534
|
-
|
|
46955
|
+
args35 = {
|
|
46535
46956
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
46536
46957
|
};
|
|
46537
46958
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -46539,9 +46960,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
46539
46960
|
description: `Update vendor details
|
|
46540
46961
|
|
|
46541
46962
|
It will update the vendor details`,
|
|
46542
|
-
args:
|
|
46543
|
-
tool: async (client,
|
|
46544
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
46963
|
+
args: args35,
|
|
46964
|
+
tool: async (client, args36, ctx) => {
|
|
46965
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46545
46966
|
if (!result.ok) {
|
|
46546
46967
|
return {
|
|
46547
46968
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46556,9 +46977,9 @@ It will update the vendor details`,
|
|
|
46556
46977
|
|
|
46557
46978
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
46558
46979
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
46559
|
-
return new APIPromise($
|
|
46980
|
+
return new APIPromise($do37(client, request, options));
|
|
46560
46981
|
}
|
|
46561
|
-
async function $
|
|
46982
|
+
async function $do37(client, request, options) {
|
|
46562
46983
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46563
46984
|
if (!parsed.ok) {
|
|
46564
46985
|
return [parsed, { status: "invalid" }];
|
|
@@ -46632,12 +47053,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
46632
47053
|
});
|
|
46633
47054
|
|
|
46634
47055
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
46635
|
-
var
|
|
47056
|
+
var args36, tool$vendorsUpdateVendorManagedByCompany;
|
|
46636
47057
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
46637
47058
|
init_vendorsUpdateVendorManagedByCompany();
|
|
46638
47059
|
init_operations();
|
|
46639
47060
|
init_tools();
|
|
46640
|
-
|
|
47061
|
+
args36 = {
|
|
46641
47062
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
46642
47063
|
};
|
|
46643
47064
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -46645,9 +47066,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
46645
47066
|
description: `Update vendor managed by company access rights
|
|
46646
47067
|
|
|
46647
47068
|
It will update the vendor managed by company access rights`,
|
|
46648
|
-
args:
|
|
46649
|
-
tool: async (client,
|
|
46650
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
47069
|
+
args: args36,
|
|
47070
|
+
tool: async (client, args37, ctx) => {
|
|
47071
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46651
47072
|
if (!result.ok) {
|
|
46652
47073
|
return {
|
|
46653
47074
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46662,9 +47083,9 @@ It will update the vendor managed by company access rights`,
|
|
|
46662
47083
|
|
|
46663
47084
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
46664
47085
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
46665
|
-
return new APIPromise($
|
|
47086
|
+
return new APIPromise($do38(client, request, options));
|
|
46666
47087
|
}
|
|
46667
|
-
async function $
|
|
47088
|
+
async function $do38(client, request, options) {
|
|
46668
47089
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46669
47090
|
if (!parsed.ok) {
|
|
46670
47091
|
return [parsed, { status: "invalid" }];
|
|
@@ -46739,12 +47160,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
46739
47160
|
});
|
|
46740
47161
|
|
|
46741
47162
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
46742
|
-
var
|
|
47163
|
+
var args37, tool$vendorsUpdateVendorScrubDetails;
|
|
46743
47164
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
46744
47165
|
init_vendorsUpdateVendorScrubDetails();
|
|
46745
47166
|
init_operations();
|
|
46746
47167
|
init_tools();
|
|
46747
|
-
|
|
47168
|
+
args37 = {
|
|
46748
47169
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
46749
47170
|
};
|
|
46750
47171
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -46752,9 +47173,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
46752
47173
|
description: `Update vendor scrub details
|
|
46753
47174
|
|
|
46754
47175
|
Update vendor scrub details`,
|
|
46755
|
-
args:
|
|
46756
|
-
tool: async (client,
|
|
46757
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
47176
|
+
args: args37,
|
|
47177
|
+
tool: async (client, args38, ctx) => {
|
|
47178
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46758
47179
|
if (!result.ok) {
|
|
46759
47180
|
return {
|
|
46760
47181
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46769,9 +47190,9 @@ Update vendor scrub details`,
|
|
|
46769
47190
|
|
|
46770
47191
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
46771
47192
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
46772
|
-
return new APIPromise($
|
|
47193
|
+
return new APIPromise($do39(client, request, options));
|
|
46773
47194
|
}
|
|
46774
|
-
async function $
|
|
47195
|
+
async function $do39(client, request, options) {
|
|
46775
47196
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46776
47197
|
if (!parsed.ok) {
|
|
46777
47198
|
return [parsed, { status: "invalid" }];
|
|
@@ -46845,12 +47266,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
46845
47266
|
});
|
|
46846
47267
|
|
|
46847
47268
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
46848
|
-
var
|
|
47269
|
+
var args38, tool$webhooksGetWebhookEndpoint;
|
|
46849
47270
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
46850
47271
|
init_webhooksGetWebhookEndpoint();
|
|
46851
47272
|
init_operations();
|
|
46852
47273
|
init_tools();
|
|
46853
|
-
|
|
47274
|
+
args38 = {
|
|
46854
47275
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
46855
47276
|
};
|
|
46856
47277
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -46858,9 +47279,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
46858
47279
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
46859
47280
|
|
|
46860
47281
|
Returns the definition of a webhook endpoint by ID.`,
|
|
46861
|
-
args:
|
|
46862
|
-
tool: async (client,
|
|
46863
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
47282
|
+
args: args38,
|
|
47283
|
+
tool: async (client, args39, ctx) => {
|
|
47284
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46864
47285
|
if (!result.ok) {
|
|
46865
47286
|
return {
|
|
46866
47287
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46875,9 +47296,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
46875
47296
|
|
|
46876
47297
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
46877
47298
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
46878
|
-
return new APIPromise($
|
|
47299
|
+
return new APIPromise($do40(client, request, options));
|
|
46879
47300
|
}
|
|
46880
|
-
async function $
|
|
47301
|
+
async function $do40(client, request, options) {
|
|
46881
47302
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46882
47303
|
if (!parsed.ok) {
|
|
46883
47304
|
return [parsed, { status: "invalid" }];
|
|
@@ -46951,12 +47372,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
46951
47372
|
});
|
|
46952
47373
|
|
|
46953
47374
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
46954
|
-
var
|
|
47375
|
+
var args39, tool$webhooksListAllWebhookEndpoints;
|
|
46955
47376
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
46956
47377
|
init_webhooksListAllWebhookEndpoints();
|
|
46957
47378
|
init_operations();
|
|
46958
47379
|
init_tools();
|
|
46959
|
-
|
|
47380
|
+
args39 = {
|
|
46960
47381
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
46961
47382
|
};
|
|
46962
47383
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -46964,9 +47385,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
46964
47385
|
description: `List all webhook endpoints
|
|
46965
47386
|
|
|
46966
47387
|
Returns a list of your webhook endpoints.`,
|
|
46967
|
-
args:
|
|
46968
|
-
tool: async (client,
|
|
46969
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
47388
|
+
args: args39,
|
|
47389
|
+
tool: async (client, args40, ctx) => {
|
|
47390
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46970
47391
|
if (!result.ok) {
|
|
46971
47392
|
return {
|
|
46972
47393
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46981,9 +47402,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
46981
47402
|
|
|
46982
47403
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
46983
47404
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
46984
|
-
return new APIPromise($
|
|
47405
|
+
return new APIPromise($do41(client, request, options));
|
|
46985
47406
|
}
|
|
46986
|
-
async function $
|
|
47407
|
+
async function $do41(client, request, options) {
|
|
46987
47408
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46988
47409
|
if (!parsed.ok) {
|
|
46989
47410
|
return [parsed, { status: "invalid" }];
|
|
@@ -47058,12 +47479,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
47058
47479
|
});
|
|
47059
47480
|
|
|
47060
47481
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
47061
|
-
var
|
|
47482
|
+
var args40, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
47062
47483
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
47063
47484
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
47064
47485
|
init_operations();
|
|
47065
47486
|
init_tools();
|
|
47066
|
-
|
|
47487
|
+
args40 = {
|
|
47067
47488
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
47068
47489
|
};
|
|
47069
47490
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -47071,9 +47492,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
47071
47492
|
description: `Updates the webhook endpoint with the given ID.
|
|
47072
47493
|
|
|
47073
47494
|
Updates the webhook endpoint with the given ID.`,
|
|
47074
|
-
args:
|
|
47075
|
-
tool: async (client,
|
|
47076
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
47495
|
+
args: args40,
|
|
47496
|
+
tool: async (client, args41, ctx) => {
|
|
47497
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47077
47498
|
if (!result.ok) {
|
|
47078
47499
|
return {
|
|
47079
47500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47088,9 +47509,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
47088
47509
|
|
|
47089
47510
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
47090
47511
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
47091
|
-
return new APIPromise($
|
|
47512
|
+
return new APIPromise($do42(client, request, options));
|
|
47092
47513
|
}
|
|
47093
|
-
async function $
|
|
47514
|
+
async function $do42(client, request, options) {
|
|
47094
47515
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47095
47516
|
if (!parsed.ok) {
|
|
47096
47517
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -47202,12 +47623,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
47202
47623
|
});
|
|
47203
47624
|
|
|
47204
47625
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
47205
|
-
var
|
|
47626
|
+
var args41, tool$zonesListOrSearchSecurityZones;
|
|
47206
47627
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
47207
47628
|
init_zonesListOrSearchSecurityZones();
|
|
47208
47629
|
init_operations();
|
|
47209
47630
|
init_tools();
|
|
47210
|
-
|
|
47631
|
+
args41 = {
|
|
47211
47632
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
47212
47633
|
};
|
|
47213
47634
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -47215,9 +47636,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
47215
47636
|
description: `List or search security zones
|
|
47216
47637
|
|
|
47217
47638
|
List or search security zones`,
|
|
47218
|
-
args:
|
|
47219
|
-
tool: async (client,
|
|
47220
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
47639
|
+
args: args41,
|
|
47640
|
+
tool: async (client, args42, ctx) => {
|
|
47641
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47221
47642
|
if (!result.ok) {
|
|
47222
47643
|
return {
|
|
47223
47644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47232,9 +47653,9 @@ List or search security zones`,
|
|
|
47232
47653
|
|
|
47233
47654
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
47234
47655
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
47235
|
-
return new APIPromise($
|
|
47656
|
+
return new APIPromise($do43(client, request, options));
|
|
47236
47657
|
}
|
|
47237
|
-
async function $
|
|
47658
|
+
async function $do43(client, request, options) {
|
|
47238
47659
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47239
47660
|
if (!parsed.ok) {
|
|
47240
47661
|
return [parsed, { status: "invalid" }];
|
|
@@ -47302,12 +47723,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
47302
47723
|
});
|
|
47303
47724
|
|
|
47304
47725
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
47305
|
-
var
|
|
47726
|
+
var args42, tool$zonesSecurityZoneCheckin;
|
|
47306
47727
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
47307
47728
|
init_zonesSecurityZoneCheckin();
|
|
47308
47729
|
init_operations();
|
|
47309
47730
|
init_tools();
|
|
47310
|
-
|
|
47731
|
+
args42 = {
|
|
47311
47732
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
47312
47733
|
};
|
|
47313
47734
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -47315,9 +47736,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
47315
47736
|
description: `Security zone checkin request
|
|
47316
47737
|
|
|
47317
47738
|
Security zone checkin request`,
|
|
47318
|
-
args:
|
|
47319
|
-
tool: async (client,
|
|
47320
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
47739
|
+
args: args42,
|
|
47740
|
+
tool: async (client, args43, ctx) => {
|
|
47741
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47321
47742
|
if (!result.ok) {
|
|
47322
47743
|
return {
|
|
47323
47744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47334,7 +47755,7 @@ Security zone checkin request`,
|
|
|
47334
47755
|
function createMCPServer(deps) {
|
|
47335
47756
|
const server = new McpServer({
|
|
47336
47757
|
name: "GreenSecurity",
|
|
47337
|
-
version: "0.
|
|
47758
|
+
version: "0.31.1"
|
|
47338
47759
|
});
|
|
47339
47760
|
const client = new GreenSecurityCore({
|
|
47340
47761
|
security: deps.security,
|
|
@@ -47349,9 +47770,12 @@ function createMCPServer(deps) {
|
|
|
47349
47770
|
const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
|
|
47350
47771
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
47351
47772
|
tool(tool$vendorsCreateVendorRegistration);
|
|
47773
|
+
tool(tool$vendorsListVendorJobTitles);
|
|
47352
47774
|
tool(tool$vendorsListVendorCredentials);
|
|
47353
47775
|
tool(tool$vendorsGetVendorCredentialDetails);
|
|
47354
47776
|
tool(tool$vendorsGetVendorCredentialFile);
|
|
47777
|
+
tool(tool$vendorsDeclineVendorCredential);
|
|
47778
|
+
tool(tool$vendorsListVendorCredentialFiles);
|
|
47355
47779
|
tool(tool$vendorsExpediteTimeRemaining);
|
|
47356
47780
|
tool(tool$vendorsListVendorInvoices);
|
|
47357
47781
|
tool(tool$vendorsGetVendorInvoiceDetails);
|
|
@@ -47411,6 +47835,7 @@ var init_server2 = __esm(() => {
|
|
|
47411
47835
|
init_vendorScansVendorScanOut2();
|
|
47412
47836
|
init_vendorsCreateVendorCompany2();
|
|
47413
47837
|
init_vendorsCreateVendorRegistration2();
|
|
47838
|
+
init_vendorsDeclineVendorCredential2();
|
|
47414
47839
|
init_vendorsDeleteVendorManagedByCompany2();
|
|
47415
47840
|
init_vendorsExpediteTimeRemaining2();
|
|
47416
47841
|
init_vendorsGetVendorCredentialDetails2();
|
|
@@ -47418,10 +47843,12 @@ var init_server2 = __esm(() => {
|
|
|
47418
47843
|
init_vendorsGetVendorInvoiceDetails2();
|
|
47419
47844
|
init_vendorsGetVendorsDetails2();
|
|
47420
47845
|
init_vendorsListVendorAdditionalFacilityFields2();
|
|
47846
|
+
init_vendorsListVendorCredentialFiles2();
|
|
47421
47847
|
init_vendorsListVendorCredentials2();
|
|
47422
47848
|
init_vendorsListVendorCredits2();
|
|
47423
47849
|
init_vendorsListVendorFacilityStatuses2();
|
|
47424
47850
|
init_vendorsListVendorInvoices2();
|
|
47851
|
+
init_vendorsListVendorJobTitles2();
|
|
47425
47852
|
init_vendorsListVendorManagedByCompanies2();
|
|
47426
47853
|
init_vendorsListVendorScrubDetails2();
|
|
47427
47854
|
init_vendorsListVendorScrubPackages2();
|
|
@@ -48639,7 +49066,7 @@ var routes = an({
|
|
|
48639
49066
|
var app = He(routes, {
|
|
48640
49067
|
name: "mcp",
|
|
48641
49068
|
versionInfo: {
|
|
48642
|
-
currentVersion: "0.
|
|
49069
|
+
currentVersion: "0.31.1"
|
|
48643
49070
|
}
|
|
48644
49071
|
});
|
|
48645
49072
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -48647,5 +49074,5 @@ export {
|
|
|
48647
49074
|
app
|
|
48648
49075
|
};
|
|
48649
49076
|
|
|
48650
|
-
//# debugId=
|
|
49077
|
+
//# debugId=5021DE5AEBE8E21164756E2164756E21
|
|
48651
49078
|
//# sourceMappingURL=mcp-server.js.map
|