@greensecurity/javascript-sdk 0.37.8 → 0.37.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/bin/mcp-server.js +729 -381
- package/bin/mcp-server.js.map +13 -7
- package/dist/commonjs/__tests__/vendors.test.js +32 -0
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/funcs/vendorsCalculateSubscriptionPrice.d.ts +18 -0
- package/dist/commonjs/funcs/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsCalculateSubscriptionPrice.js +123 -0
- package/dist/commonjs/funcs/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/commonjs/funcs/vendorsChangeSubscription.d.ts +18 -0
- package/dist/commonjs/funcs/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsChangeSubscription.js +123 -0
- package/dist/commonjs/funcs/vendorsChangeSubscription.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +5 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsCalculateSubscriptionPrice.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsCalculateSubscriptionPrice.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsChangeSubscription.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsChangeSubscription.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsChangeSubscription.js.map +1 -0
- package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts +89 -0
- package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts.map +1 -0
- package/dist/commonjs/models/operations/calculatesubscriptionprice.js +148 -0
- package/dist/commonjs/models/operations/calculatesubscriptionprice.js.map +1 -0
- package/dist/commonjs/models/operations/changesubscription.d.ts +93 -0
- package/dist/commonjs/models/operations/changesubscription.d.ts.map +1 -0
- package/dist/commonjs/models/operations/changesubscription.js +152 -0
- package/dist/commonjs/models/operations/changesubscription.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/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/vendorsCalculateSubscriptionPrice.d.ts +23 -0
- package/dist/commonjs/react-query/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsCalculateSubscriptionPrice.js +51 -0
- package/dist/commonjs/react-query/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/commonjs/react-query/vendorsChangeSubscription.d.ts +23 -0
- package/dist/commonjs/react-query/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsChangeSubscription.js +47 -0
- package/dist/commonjs/react-query/vendorsChangeSubscription.js.map +1 -0
- package/dist/commonjs/sdk/vendors.d.ts +14 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +20 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +32 -0
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/funcs/vendorsCalculateSubscriptionPrice.d.ts +18 -0
- package/dist/esm/funcs/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsCalculateSubscriptionPrice.js +87 -0
- package/dist/esm/funcs/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/esm/funcs/vendorsChangeSubscription.d.ts +18 -0
- package/dist/esm/funcs/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsChangeSubscription.js +87 -0
- package/dist/esm/funcs/vendorsChangeSubscription.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +5 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsCalculateSubscriptionPrice.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsCalculateSubscriptionPrice.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsChangeSubscription.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsChangeSubscription.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsChangeSubscription.js.map +1 -0
- package/dist/esm/models/operations/calculatesubscriptionprice.d.ts +89 -0
- package/dist/esm/models/operations/calculatesubscriptionprice.d.ts.map +1 -0
- package/dist/esm/models/operations/calculatesubscriptionprice.js +106 -0
- package/dist/esm/models/operations/calculatesubscriptionprice.js.map +1 -0
- package/dist/esm/models/operations/changesubscription.d.ts +93 -0
- package/dist/esm/models/operations/changesubscription.d.ts.map +1 -0
- package/dist/esm/models/operations/changesubscription.js +110 -0
- package/dist/esm/models/operations/changesubscription.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/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/vendorsCalculateSubscriptionPrice.d.ts +23 -0
- package/dist/esm/react-query/vendorsCalculateSubscriptionPrice.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsCalculateSubscriptionPrice.js +46 -0
- package/dist/esm/react-query/vendorsCalculateSubscriptionPrice.js.map +1 -0
- package/dist/esm/react-query/vendorsChangeSubscription.d.ts +23 -0
- package/dist/esm/react-query/vendorsChangeSubscription.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsChangeSubscription.js +42 -0
- package/dist/esm/react-query/vendorsChangeSubscription.js.map +1 -0
- package/dist/esm/sdk/vendors.d.ts +14 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +20 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendors.test.ts +38 -0
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/funcs/vendorsCalculateSubscriptionPrice.ts +182 -0
- package/src/funcs/vendorsChangeSubscription.ts +178 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts +39 -0
- package/src/mcp-server/tools/vendorsChangeSubscription.ts +37 -0
- package/src/models/operations/calculatesubscriptionprice.ts +235 -0
- package/src/models/operations/changesubscription.ts +229 -0
- package/src/models/operations/index.ts +2 -0
- package/src/react-query/index.ts +2 -0
- package/src/react-query/vendorsCalculateSubscriptionPrice.ts +93 -0
- package/src/react-query/vendorsChangeSubscription.ts +89 -0
- package/src/sdk/vendors.ts +36 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
|
|
|
34160
34160
|
SDK_METADATA = {
|
|
34161
34161
|
language: "typescript",
|
|
34162
34162
|
openapiDocVersion: "0.0.3",
|
|
34163
|
-
sdkVersion: "0.37.
|
|
34164
|
-
genVersion: "2.656.
|
|
34165
|
-
userAgent: "speakeasy-sdk/typescript 0.37.
|
|
34163
|
+
sdkVersion: "0.37.10",
|
|
34164
|
+
genVersion: "2.656.5",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.37.10 2.656.5 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -40515,6 +40515,67 @@ var init_addvendormanagedbycompany = __esm(() => {
|
|
|
40515
40515
|
})(AddVendorManagedByCompanyAddVendorManagedByCompanyOk$ ||= {});
|
|
40516
40516
|
});
|
|
40517
40517
|
|
|
40518
|
+
// src/models/operations/calculatesubscriptionprice.ts
|
|
40519
|
+
var CalculateSubscriptionPriceRequestBody$inboundSchema, CalculateSubscriptionPriceRequestBody$outboundSchema, CalculateSubscriptionPriceRequestBody$, CalculateSubscriptionPriceRequest$inboundSchema, CalculateSubscriptionPriceRequest$outboundSchema, CalculateSubscriptionPriceRequest$, CalculateSubscriptionPriceResponseBody$inboundSchema, CalculateSubscriptionPriceResponseBody$outboundSchema, CalculateSubscriptionPriceResponseBody$;
|
|
40520
|
+
var init_calculatesubscriptionprice = __esm(() => {
|
|
40521
|
+
init_esm();
|
|
40522
|
+
init_primitives();
|
|
40523
|
+
CalculateSubscriptionPriceRequestBody$inboundSchema = objectType({
|
|
40524
|
+
vendor_type_id: numberType().int().optional(),
|
|
40525
|
+
facility_ids: arrayType(numberType().int()).optional()
|
|
40526
|
+
}).transform((v2) => {
|
|
40527
|
+
return remap(v2, {
|
|
40528
|
+
vendor_type_id: "vendorTypeId",
|
|
40529
|
+
facility_ids: "facilityIds"
|
|
40530
|
+
});
|
|
40531
|
+
});
|
|
40532
|
+
CalculateSubscriptionPriceRequestBody$outboundSchema = objectType({
|
|
40533
|
+
vendorTypeId: numberType().int().optional(),
|
|
40534
|
+
facilityIds: arrayType(numberType().int()).optional()
|
|
40535
|
+
}).transform((v2) => {
|
|
40536
|
+
return remap(v2, {
|
|
40537
|
+
vendorTypeId: "vendor_type_id",
|
|
40538
|
+
facilityIds: "facility_ids"
|
|
40539
|
+
});
|
|
40540
|
+
});
|
|
40541
|
+
((CalculateSubscriptionPriceRequestBody$) => {
|
|
40542
|
+
CalculateSubscriptionPriceRequestBody$.inboundSchema = CalculateSubscriptionPriceRequestBody$inboundSchema;
|
|
40543
|
+
CalculateSubscriptionPriceRequestBody$.outboundSchema = CalculateSubscriptionPriceRequestBody$outboundSchema;
|
|
40544
|
+
})(CalculateSubscriptionPriceRequestBody$ ||= {});
|
|
40545
|
+
CalculateSubscriptionPriceRequest$inboundSchema = objectType({
|
|
40546
|
+
vendor_id_or_me: stringType(),
|
|
40547
|
+
RequestBody: lazyType(() => CalculateSubscriptionPriceRequestBody$inboundSchema)
|
|
40548
|
+
}).transform((v2) => {
|
|
40549
|
+
return remap(v2, {
|
|
40550
|
+
vendor_id_or_me: "vendorIdOrMe",
|
|
40551
|
+
RequestBody: "requestBody"
|
|
40552
|
+
});
|
|
40553
|
+
});
|
|
40554
|
+
CalculateSubscriptionPriceRequest$outboundSchema = objectType({
|
|
40555
|
+
vendorIdOrMe: stringType(),
|
|
40556
|
+
requestBody: lazyType(() => CalculateSubscriptionPriceRequestBody$outboundSchema)
|
|
40557
|
+
}).transform((v2) => {
|
|
40558
|
+
return remap(v2, {
|
|
40559
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
40560
|
+
requestBody: "RequestBody"
|
|
40561
|
+
});
|
|
40562
|
+
});
|
|
40563
|
+
((CalculateSubscriptionPriceRequest$) => {
|
|
40564
|
+
CalculateSubscriptionPriceRequest$.inboundSchema = CalculateSubscriptionPriceRequest$inboundSchema;
|
|
40565
|
+
CalculateSubscriptionPriceRequest$.outboundSchema = CalculateSubscriptionPriceRequest$outboundSchema;
|
|
40566
|
+
})(CalculateSubscriptionPriceRequest$ ||= {});
|
|
40567
|
+
CalculateSubscriptionPriceResponseBody$inboundSchema = objectType({
|
|
40568
|
+
price: numberType().int().optional()
|
|
40569
|
+
});
|
|
40570
|
+
CalculateSubscriptionPriceResponseBody$outboundSchema = objectType({
|
|
40571
|
+
price: numberType().int().optional()
|
|
40572
|
+
});
|
|
40573
|
+
((CalculateSubscriptionPriceResponseBody$) => {
|
|
40574
|
+
CalculateSubscriptionPriceResponseBody$.inboundSchema = CalculateSubscriptionPriceResponseBody$inboundSchema;
|
|
40575
|
+
CalculateSubscriptionPriceResponseBody$.outboundSchema = CalculateSubscriptionPriceResponseBody$outboundSchema;
|
|
40576
|
+
})(CalculateSubscriptionPriceResponseBody$ ||= {});
|
|
40577
|
+
});
|
|
40578
|
+
|
|
40518
40579
|
// src/models/operations/changepassword.ts
|
|
40519
40580
|
var ChangePasswordRequestBody$inboundSchema, ChangePasswordRequestBody$outboundSchema, ChangePasswordRequestBody$, ChangePasswordRequest$inboundSchema, ChangePasswordRequest$outboundSchema, ChangePasswordRequest$, ChangePasswordChangePasswordOk$inboundSchema, ChangePasswordChangePasswordOk$outboundSchema, ChangePasswordChangePasswordOk$;
|
|
40520
40581
|
var init_changepassword = __esm(() => {
|
|
@@ -40576,6 +40637,71 @@ var init_changepassword = __esm(() => {
|
|
|
40576
40637
|
})(ChangePasswordChangePasswordOk$ ||= {});
|
|
40577
40638
|
});
|
|
40578
40639
|
|
|
40640
|
+
// src/models/operations/changesubscription.ts
|
|
40641
|
+
var ChangeSubscriptionRequestBody$inboundSchema, ChangeSubscriptionRequestBody$outboundSchema, ChangeSubscriptionRequestBody$, ChangeSubscriptionRequest$inboundSchema, ChangeSubscriptionRequest$outboundSchema, ChangeSubscriptionRequest$, ChangeSubscriptionResponseBody$inboundSchema, ChangeSubscriptionResponseBody$outboundSchema, ChangeSubscriptionResponseBody$;
|
|
40642
|
+
var init_changesubscription = __esm(() => {
|
|
40643
|
+
init_esm();
|
|
40644
|
+
init_primitives();
|
|
40645
|
+
ChangeSubscriptionRequestBody$inboundSchema = objectType({
|
|
40646
|
+
vendor_type_id: numberType().int().optional(),
|
|
40647
|
+
facility_ids: arrayType(numberType().int()).optional()
|
|
40648
|
+
}).transform((v2) => {
|
|
40649
|
+
return remap(v2, {
|
|
40650
|
+
vendor_type_id: "vendorTypeId",
|
|
40651
|
+
facility_ids: "facilityIds"
|
|
40652
|
+
});
|
|
40653
|
+
});
|
|
40654
|
+
ChangeSubscriptionRequestBody$outboundSchema = objectType({
|
|
40655
|
+
vendorTypeId: numberType().int().optional(),
|
|
40656
|
+
facilityIds: arrayType(numberType().int()).optional()
|
|
40657
|
+
}).transform((v2) => {
|
|
40658
|
+
return remap(v2, {
|
|
40659
|
+
vendorTypeId: "vendor_type_id",
|
|
40660
|
+
facilityIds: "facility_ids"
|
|
40661
|
+
});
|
|
40662
|
+
});
|
|
40663
|
+
((ChangeSubscriptionRequestBody$) => {
|
|
40664
|
+
ChangeSubscriptionRequestBody$.inboundSchema = ChangeSubscriptionRequestBody$inboundSchema;
|
|
40665
|
+
ChangeSubscriptionRequestBody$.outboundSchema = ChangeSubscriptionRequestBody$outboundSchema;
|
|
40666
|
+
})(ChangeSubscriptionRequestBody$ ||= {});
|
|
40667
|
+
ChangeSubscriptionRequest$inboundSchema = objectType({
|
|
40668
|
+
vendor_id_or_me: stringType(),
|
|
40669
|
+
RequestBody: lazyType(() => ChangeSubscriptionRequestBody$inboundSchema)
|
|
40670
|
+
}).transform((v2) => {
|
|
40671
|
+
return remap(v2, {
|
|
40672
|
+
vendor_id_or_me: "vendorIdOrMe",
|
|
40673
|
+
RequestBody: "requestBody"
|
|
40674
|
+
});
|
|
40675
|
+
});
|
|
40676
|
+
ChangeSubscriptionRequest$outboundSchema = objectType({
|
|
40677
|
+
vendorIdOrMe: stringType(),
|
|
40678
|
+
requestBody: lazyType(() => ChangeSubscriptionRequestBody$outboundSchema)
|
|
40679
|
+
}).transform((v2) => {
|
|
40680
|
+
return remap(v2, {
|
|
40681
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
40682
|
+
requestBody: "RequestBody"
|
|
40683
|
+
});
|
|
40684
|
+
});
|
|
40685
|
+
((ChangeSubscriptionRequest$) => {
|
|
40686
|
+
ChangeSubscriptionRequest$.inboundSchema = ChangeSubscriptionRequest$inboundSchema;
|
|
40687
|
+
ChangeSubscriptionRequest$.outboundSchema = ChangeSubscriptionRequest$outboundSchema;
|
|
40688
|
+
})(ChangeSubscriptionRequest$ ||= {});
|
|
40689
|
+
ChangeSubscriptionResponseBody$inboundSchema = objectType({
|
|
40690
|
+
id: numberType().int().optional(),
|
|
40691
|
+
success: booleanType().optional(),
|
|
40692
|
+
error: stringType().optional()
|
|
40693
|
+
});
|
|
40694
|
+
ChangeSubscriptionResponseBody$outboundSchema = objectType({
|
|
40695
|
+
id: numberType().int().optional(),
|
|
40696
|
+
success: booleanType().optional(),
|
|
40697
|
+
error: stringType().optional()
|
|
40698
|
+
});
|
|
40699
|
+
((ChangeSubscriptionResponseBody$) => {
|
|
40700
|
+
ChangeSubscriptionResponseBody$.inboundSchema = ChangeSubscriptionResponseBody$inboundSchema;
|
|
40701
|
+
ChangeSubscriptionResponseBody$.outboundSchema = ChangeSubscriptionResponseBody$outboundSchema;
|
|
40702
|
+
})(ChangeSubscriptionResponseBody$ ||= {});
|
|
40703
|
+
});
|
|
40704
|
+
|
|
40579
40705
|
// src/models/operations/checkdownloadcode.ts
|
|
40580
40706
|
var CheckDownloadCodeRequest$inboundSchema, CheckDownloadCodeRequest$outboundSchema, CheckDownloadCodeRequest$, CheckDownloadCodeResponseBody$inboundSchema, CheckDownloadCodeResponseBody$outboundSchema, CheckDownloadCodeResponseBody$;
|
|
40581
40707
|
var init_checkdownloadcode = __esm(() => {
|
|
@@ -44461,7 +44587,9 @@ var init_operations = __esm(() => {
|
|
|
44461
44587
|
init_adddatarequestfile();
|
|
44462
44588
|
init_addvendorcredentialfile();
|
|
44463
44589
|
init_addvendormanagedbycompany();
|
|
44590
|
+
init_calculatesubscriptionprice();
|
|
44464
44591
|
init_changepassword();
|
|
44592
|
+
init_changesubscription();
|
|
44465
44593
|
init_checkdownloadcode();
|
|
44466
44594
|
init_createinvoice();
|
|
44467
44595
|
init_createnewvendorcredentialversion();
|
|
@@ -47205,25 +47333,26 @@ It will add a vendor managed by company`,
|
|
|
47205
47333
|
};
|
|
47206
47334
|
});
|
|
47207
47335
|
|
|
47208
|
-
// src/funcs/
|
|
47209
|
-
function
|
|
47336
|
+
// src/funcs/vendorsCalculateSubscriptionPrice.ts
|
|
47337
|
+
function vendorsCalculateSubscriptionPrice(client, request, options) {
|
|
47210
47338
|
return new APIPromise($do24(client, request, options));
|
|
47211
47339
|
}
|
|
47212
47340
|
async function $do24(client, request, options) {
|
|
47213
|
-
const parsed = safeParse(request, (value) =>
|
|
47341
|
+
const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47214
47342
|
if (!parsed.ok) {
|
|
47215
47343
|
return [parsed, { status: "invalid" }];
|
|
47216
47344
|
}
|
|
47217
47345
|
const payload = parsed.value;
|
|
47218
|
-
const body =
|
|
47346
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
47219
47347
|
const pathParams = {
|
|
47220
|
-
|
|
47348
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
47221
47349
|
explode: false,
|
|
47222
47350
|
charEncoding: "percent"
|
|
47223
47351
|
})
|
|
47224
47352
|
};
|
|
47225
|
-
const path = pathToFunc("/
|
|
47353
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/subscription-price-calculation")(pathParams);
|
|
47226
47354
|
const headers = new Headers(compactMap({
|
|
47355
|
+
"Content-Type": "application/json",
|
|
47227
47356
|
Accept: "application/json"
|
|
47228
47357
|
}));
|
|
47229
47358
|
const securityInput = await extractSecurity(client._options.security);
|
|
@@ -47231,7 +47360,7 @@ async function $do24(client, request, options) {
|
|
|
47231
47360
|
const context = {
|
|
47232
47361
|
options: client._options,
|
|
47233
47362
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47234
|
-
operationID: "
|
|
47363
|
+
operationID: "calculateSubscriptionPrice",
|
|
47235
47364
|
oAuth2Scopes: [],
|
|
47236
47365
|
resolvedSecurity: requestSecurity,
|
|
47237
47366
|
securitySource: client._options.security,
|
|
@@ -47254,7 +47383,7 @@ async function $do24(client, request, options) {
|
|
|
47254
47383
|
const req = requestRes.value;
|
|
47255
47384
|
const doResult = await client._do(req, {
|
|
47256
47385
|
context,
|
|
47257
|
-
errorCodes: ["400", "401", "403", "
|
|
47386
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
47258
47387
|
retryConfig: context.retryConfig,
|
|
47259
47388
|
retryCodes: context.retryCodes
|
|
47260
47389
|
});
|
|
@@ -47265,13 +47394,13 @@ async function $do24(client, request, options) {
|
|
|
47265
47394
|
const responseFields = {
|
|
47266
47395
|
HttpMeta: { Response: response, Request: req }
|
|
47267
47396
|
};
|
|
47268
|
-
const [result] = await match(json(200,
|
|
47397
|
+
const [result] = await match(json(200, CalculateSubscriptionPriceResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47269
47398
|
if (!result.ok) {
|
|
47270
47399
|
return [result, { status: "complete", request: req, response }];
|
|
47271
47400
|
}
|
|
47272
47401
|
return [result, { status: "complete", request: req, response }];
|
|
47273
47402
|
}
|
|
47274
|
-
var
|
|
47403
|
+
var init_vendorsCalculateSubscriptionPrice = __esm(() => {
|
|
47275
47404
|
init_encodings();
|
|
47276
47405
|
init_matchers();
|
|
47277
47406
|
init_primitives();
|
|
@@ -47283,23 +47412,23 @@ var init_vendorScansVendorScanOut = __esm(() => {
|
|
|
47283
47412
|
init_async();
|
|
47284
47413
|
});
|
|
47285
47414
|
|
|
47286
|
-
// src/mcp-server/tools/
|
|
47287
|
-
var args22, tool$
|
|
47288
|
-
var
|
|
47289
|
-
|
|
47415
|
+
// src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
|
|
47416
|
+
var args22, tool$vendorsCalculateSubscriptionPrice;
|
|
47417
|
+
var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
|
|
47418
|
+
init_vendorsCalculateSubscriptionPrice();
|
|
47290
47419
|
init_operations();
|
|
47291
47420
|
init_tools();
|
|
47292
47421
|
args22 = {
|
|
47293
|
-
request:
|
|
47422
|
+
request: CalculateSubscriptionPriceRequest$inboundSchema
|
|
47294
47423
|
};
|
|
47295
|
-
tool$
|
|
47296
|
-
name: "
|
|
47297
|
-
description: `
|
|
47424
|
+
tool$vendorsCalculateSubscriptionPrice = {
|
|
47425
|
+
name: "vendors-calculate-subscription-price",
|
|
47426
|
+
description: `Calculate subscription price
|
|
47298
47427
|
|
|
47299
|
-
|
|
47428
|
+
Calculate subscription price`,
|
|
47300
47429
|
args: args22,
|
|
47301
47430
|
tool: async (client, args23, ctx) => {
|
|
47302
|
-
const [result, apiCall] = await
|
|
47431
|
+
const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47303
47432
|
if (!result.ok) {
|
|
47304
47433
|
return {
|
|
47305
47434
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47312,24 +47441,24 @@ It scans out vendor from facility`,
|
|
|
47312
47441
|
};
|
|
47313
47442
|
});
|
|
47314
47443
|
|
|
47315
|
-
// src/funcs/
|
|
47316
|
-
function
|
|
47444
|
+
// src/funcs/vendorScansVendorScanOut.ts
|
|
47445
|
+
function vendorScansVendorScanOut(client, request, options) {
|
|
47317
47446
|
return new APIPromise($do25(client, request, options));
|
|
47318
47447
|
}
|
|
47319
47448
|
async function $do25(client, request, options) {
|
|
47320
|
-
const parsed = safeParse(request, (value) =>
|
|
47449
|
+
const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47321
47450
|
if (!parsed.ok) {
|
|
47322
47451
|
return [parsed, { status: "invalid" }];
|
|
47323
47452
|
}
|
|
47324
47453
|
const payload = parsed.value;
|
|
47325
47454
|
const body = null;
|
|
47326
47455
|
const pathParams = {
|
|
47327
|
-
|
|
47456
|
+
id: encodeSimple("id", payload.id, {
|
|
47457
|
+
explode: false,
|
|
47458
|
+
charEncoding: "percent"
|
|
47459
|
+
})
|
|
47328
47460
|
};
|
|
47329
|
-
const path = pathToFunc("/
|
|
47330
|
-
const query = encodeFormQuery({
|
|
47331
|
-
code: payload.code
|
|
47332
|
-
});
|
|
47461
|
+
const path = pathToFunc("/vendor-scans/{id}/scan-out")(pathParams);
|
|
47333
47462
|
const headers = new Headers(compactMap({
|
|
47334
47463
|
Accept: "application/json"
|
|
47335
47464
|
}));
|
|
@@ -47338,7 +47467,7 @@ async function $do25(client, request, options) {
|
|
|
47338
47467
|
const context = {
|
|
47339
47468
|
options: client._options,
|
|
47340
47469
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47341
|
-
operationID: "
|
|
47470
|
+
operationID: "vendorScanOut",
|
|
47342
47471
|
oAuth2Scopes: [],
|
|
47343
47472
|
resolvedSecurity: requestSecurity,
|
|
47344
47473
|
securitySource: client._options.security,
|
|
@@ -47347,11 +47476,10 @@ async function $do25(client, request, options) {
|
|
|
47347
47476
|
};
|
|
47348
47477
|
const requestRes = client._createRequest(context, {
|
|
47349
47478
|
security: requestSecurity,
|
|
47350
|
-
method: "
|
|
47479
|
+
method: "POST",
|
|
47351
47480
|
baseURL: options?.serverURL,
|
|
47352
47481
|
path,
|
|
47353
47482
|
headers,
|
|
47354
|
-
query,
|
|
47355
47483
|
body,
|
|
47356
47484
|
userAgent: client._options.userAgent,
|
|
47357
47485
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -47373,13 +47501,13 @@ async function $do25(client, request, options) {
|
|
|
47373
47501
|
const responseFields = {
|
|
47374
47502
|
HttpMeta: { Response: response, Request: req }
|
|
47375
47503
|
};
|
|
47376
|
-
const [result] = await match(json(200,
|
|
47504
|
+
const [result] = await match(json(200, VendorScanOutVendorScanOutOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47377
47505
|
if (!result.ok) {
|
|
47378
47506
|
return [result, { status: "complete", request: req, response }];
|
|
47379
47507
|
}
|
|
47380
47508
|
return [result, { status: "complete", request: req, response }];
|
|
47381
47509
|
}
|
|
47382
|
-
var
|
|
47510
|
+
var init_vendorScansVendorScanOut = __esm(() => {
|
|
47383
47511
|
init_encodings();
|
|
47384
47512
|
init_matchers();
|
|
47385
47513
|
init_primitives();
|
|
@@ -47391,23 +47519,23 @@ var init_vendorsCheckDownloadCode = __esm(() => {
|
|
|
47391
47519
|
init_async();
|
|
47392
47520
|
});
|
|
47393
47521
|
|
|
47394
|
-
// src/mcp-server/tools/
|
|
47395
|
-
var args23, tool$
|
|
47396
|
-
var
|
|
47397
|
-
|
|
47522
|
+
// src/mcp-server/tools/vendorScansVendorScanOut.ts
|
|
47523
|
+
var args23, tool$vendorScansVendorScanOut;
|
|
47524
|
+
var init_vendorScansVendorScanOut2 = __esm(() => {
|
|
47525
|
+
init_vendorScansVendorScanOut();
|
|
47398
47526
|
init_operations();
|
|
47399
47527
|
init_tools();
|
|
47400
47528
|
args23 = {
|
|
47401
|
-
request:
|
|
47529
|
+
request: VendorScanOutRequest$inboundSchema
|
|
47402
47530
|
};
|
|
47403
|
-
tool$
|
|
47404
|
-
name: "
|
|
47405
|
-
description: `
|
|
47531
|
+
tool$vendorScansVendorScanOut = {
|
|
47532
|
+
name: "vendor-scans-vendor-scan-out",
|
|
47533
|
+
description: `Vendor scan out
|
|
47406
47534
|
|
|
47407
|
-
It
|
|
47535
|
+
It scans out vendor from facility`,
|
|
47408
47536
|
args: args23,
|
|
47409
47537
|
tool: async (client, args24, ctx) => {
|
|
47410
|
-
const [result, apiCall] = await
|
|
47538
|
+
const [result, apiCall] = await vendorScansVendorScanOut(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47411
47539
|
if (!result.ok) {
|
|
47412
47540
|
return {
|
|
47413
47541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47420,18 +47548,24 @@ It will check download code for vendor credential`,
|
|
|
47420
47548
|
};
|
|
47421
47549
|
});
|
|
47422
47550
|
|
|
47423
|
-
// src/funcs/
|
|
47424
|
-
function
|
|
47551
|
+
// src/funcs/vendorsChangeSubscription.ts
|
|
47552
|
+
function vendorsChangeSubscription(client, request, options) {
|
|
47425
47553
|
return new APIPromise($do26(client, request, options));
|
|
47426
47554
|
}
|
|
47427
47555
|
async function $do26(client, request, options) {
|
|
47428
|
-
const parsed = safeParse(request, (value) =>
|
|
47556
|
+
const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47429
47557
|
if (!parsed.ok) {
|
|
47430
47558
|
return [parsed, { status: "invalid" }];
|
|
47431
47559
|
}
|
|
47432
47560
|
const payload = parsed.value;
|
|
47433
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
47434
|
-
const
|
|
47561
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
47562
|
+
const pathParams = {
|
|
47563
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
47564
|
+
explode: false,
|
|
47565
|
+
charEncoding: "percent"
|
|
47566
|
+
})
|
|
47567
|
+
};
|
|
47568
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/subscription")(pathParams);
|
|
47435
47569
|
const headers = new Headers(compactMap({
|
|
47436
47570
|
"Content-Type": "application/json",
|
|
47437
47571
|
Accept: "application/json"
|
|
@@ -47441,7 +47575,7 @@ async function $do26(client, request, options) {
|
|
|
47441
47575
|
const context = {
|
|
47442
47576
|
options: client._options,
|
|
47443
47577
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47444
|
-
operationID: "
|
|
47578
|
+
operationID: "changeSubscription",
|
|
47445
47579
|
oAuth2Scopes: [],
|
|
47446
47580
|
resolvedSecurity: requestSecurity,
|
|
47447
47581
|
securitySource: client._options.security,
|
|
@@ -47450,7 +47584,7 @@ async function $do26(client, request, options) {
|
|
|
47450
47584
|
};
|
|
47451
47585
|
const requestRes = client._createRequest(context, {
|
|
47452
47586
|
security: requestSecurity,
|
|
47453
|
-
method: "
|
|
47587
|
+
method: "PUT",
|
|
47454
47588
|
baseURL: options?.serverURL,
|
|
47455
47589
|
path,
|
|
47456
47590
|
headers,
|
|
@@ -47464,7 +47598,7 @@ async function $do26(client, request, options) {
|
|
|
47464
47598
|
const req = requestRes.value;
|
|
47465
47599
|
const doResult = await client._do(req, {
|
|
47466
47600
|
context,
|
|
47467
|
-
errorCodes: ["400", "401", "403", "
|
|
47601
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
47468
47602
|
retryConfig: context.retryConfig,
|
|
47469
47603
|
retryCodes: context.retryCodes
|
|
47470
47604
|
});
|
|
@@ -47475,13 +47609,13 @@ async function $do26(client, request, options) {
|
|
|
47475
47609
|
const responseFields = {
|
|
47476
47610
|
HttpMeta: { Response: response, Request: req }
|
|
47477
47611
|
};
|
|
47478
|
-
const [result] = await match(json(200,
|
|
47612
|
+
const [result] = await match(json(200, ChangeSubscriptionResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47479
47613
|
if (!result.ok) {
|
|
47480
47614
|
return [result, { status: "complete", request: req, response }];
|
|
47481
47615
|
}
|
|
47482
47616
|
return [result, { status: "complete", request: req, response }];
|
|
47483
47617
|
}
|
|
47484
|
-
var
|
|
47618
|
+
var init_vendorsChangeSubscription = __esm(() => {
|
|
47485
47619
|
init_encodings();
|
|
47486
47620
|
init_matchers();
|
|
47487
47621
|
init_primitives();
|
|
@@ -47493,23 +47627,23 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
|
|
|
47493
47627
|
init_async();
|
|
47494
47628
|
});
|
|
47495
47629
|
|
|
47496
|
-
// src/mcp-server/tools/
|
|
47497
|
-
var args24, tool$
|
|
47498
|
-
var
|
|
47499
|
-
|
|
47630
|
+
// src/mcp-server/tools/vendorsChangeSubscription.ts
|
|
47631
|
+
var args24, tool$vendorsChangeSubscription;
|
|
47632
|
+
var init_vendorsChangeSubscription2 = __esm(() => {
|
|
47633
|
+
init_vendorsChangeSubscription();
|
|
47500
47634
|
init_operations();
|
|
47501
47635
|
init_tools();
|
|
47502
47636
|
args24 = {
|
|
47503
|
-
request:
|
|
47637
|
+
request: ChangeSubscriptionRequest$inboundSchema
|
|
47504
47638
|
};
|
|
47505
|
-
tool$
|
|
47506
|
-
name: "vendors-
|
|
47507
|
-
description: `
|
|
47639
|
+
tool$vendorsChangeSubscription = {
|
|
47640
|
+
name: "vendors-change-subscription",
|
|
47641
|
+
description: `Change subscription
|
|
47508
47642
|
|
|
47509
|
-
|
|
47643
|
+
Calculate subscription price`,
|
|
47510
47644
|
args: args24,
|
|
47511
47645
|
tool: async (client, args25, ctx) => {
|
|
47512
|
-
const [result, apiCall] = await
|
|
47646
|
+
const [result, apiCall] = await vendorsChangeSubscription(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47513
47647
|
if (!result.ok) {
|
|
47514
47648
|
return {
|
|
47515
47649
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47522,23 +47656,25 @@ It will submit vendor credential`,
|
|
|
47522
47656
|
};
|
|
47523
47657
|
});
|
|
47524
47658
|
|
|
47525
|
-
// src/funcs/
|
|
47526
|
-
function
|
|
47659
|
+
// src/funcs/vendorsCheckDownloadCode.ts
|
|
47660
|
+
function vendorsCheckDownloadCode(client, request, options) {
|
|
47527
47661
|
return new APIPromise($do27(client, request, options));
|
|
47528
47662
|
}
|
|
47529
47663
|
async function $do27(client, request, options) {
|
|
47530
|
-
const parsed = safeParse(request, (value) =>
|
|
47664
|
+
const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47531
47665
|
if (!parsed.ok) {
|
|
47532
47666
|
return [parsed, { status: "invalid" }];
|
|
47533
47667
|
}
|
|
47534
47668
|
const payload = parsed.value;
|
|
47535
|
-
const body =
|
|
47669
|
+
const body = null;
|
|
47536
47670
|
const pathParams = {
|
|
47537
47671
|
vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
|
|
47538
47672
|
};
|
|
47539
|
-
const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/
|
|
47673
|
+
const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/code")(pathParams);
|
|
47674
|
+
const query = encodeFormQuery({
|
|
47675
|
+
code: payload.code
|
|
47676
|
+
});
|
|
47540
47677
|
const headers = new Headers(compactMap({
|
|
47541
|
-
"Content-Type": "application/json",
|
|
47542
47678
|
Accept: "application/json"
|
|
47543
47679
|
}));
|
|
47544
47680
|
const securityInput = await extractSecurity(client._options.security);
|
|
@@ -47546,7 +47682,7 @@ async function $do27(client, request, options) {
|
|
|
47546
47682
|
const context = {
|
|
47547
47683
|
options: client._options,
|
|
47548
47684
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47549
|
-
operationID: "
|
|
47685
|
+
operationID: "checkDownloadCode",
|
|
47550
47686
|
oAuth2Scopes: [],
|
|
47551
47687
|
resolvedSecurity: requestSecurity,
|
|
47552
47688
|
securitySource: client._options.security,
|
|
@@ -47555,10 +47691,11 @@ async function $do27(client, request, options) {
|
|
|
47555
47691
|
};
|
|
47556
47692
|
const requestRes = client._createRequest(context, {
|
|
47557
47693
|
security: requestSecurity,
|
|
47558
|
-
method: "
|
|
47694
|
+
method: "GET",
|
|
47559
47695
|
baseURL: options?.serverURL,
|
|
47560
47696
|
path,
|
|
47561
47697
|
headers,
|
|
47698
|
+
query,
|
|
47562
47699
|
body,
|
|
47563
47700
|
userAgent: client._options.userAgent,
|
|
47564
47701
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -47580,14 +47717,13 @@ async function $do27(client, request, options) {
|
|
|
47580
47717
|
const responseFields = {
|
|
47581
47718
|
HttpMeta: { Response: response, Request: req }
|
|
47582
47719
|
};
|
|
47583
|
-
const [result] = await match(json(200,
|
|
47720
|
+
const [result] = await match(json(200, CheckDownloadCodeResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47584
47721
|
if (!result.ok) {
|
|
47585
47722
|
return [result, { status: "complete", request: req, response }];
|
|
47586
47723
|
}
|
|
47587
47724
|
return [result, { status: "complete", request: req, response }];
|
|
47588
47725
|
}
|
|
47589
|
-
var
|
|
47590
|
-
init_esm();
|
|
47726
|
+
var init_vendorsCheckDownloadCode = __esm(() => {
|
|
47591
47727
|
init_encodings();
|
|
47592
47728
|
init_matchers();
|
|
47593
47729
|
init_primitives();
|
|
@@ -47599,23 +47735,23 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
|
|
|
47599
47735
|
init_async();
|
|
47600
47736
|
});
|
|
47601
47737
|
|
|
47602
|
-
// src/mcp-server/tools/
|
|
47603
|
-
var args25, tool$
|
|
47604
|
-
var
|
|
47605
|
-
|
|
47738
|
+
// src/mcp-server/tools/vendorsCheckDownloadCode.ts
|
|
47739
|
+
var args25, tool$vendorsCheckDownloadCode;
|
|
47740
|
+
var init_vendorsCheckDownloadCode2 = __esm(() => {
|
|
47741
|
+
init_vendorsCheckDownloadCode();
|
|
47606
47742
|
init_operations();
|
|
47607
47743
|
init_tools();
|
|
47608
47744
|
args25 = {
|
|
47609
|
-
request:
|
|
47745
|
+
request: CheckDownloadCodeRequest$inboundSchema
|
|
47610
47746
|
};
|
|
47611
|
-
tool$
|
|
47612
|
-
name: "vendors-
|
|
47613
|
-
description: `
|
|
47747
|
+
tool$vendorsCheckDownloadCode = {
|
|
47748
|
+
name: "vendors-check-download-code",
|
|
47749
|
+
description: `Check download code for vendor credential
|
|
47614
47750
|
|
|
47615
|
-
It will
|
|
47751
|
+
It will check download code for vendor credential`,
|
|
47616
47752
|
args: args25,
|
|
47617
47753
|
tool: async (client, args26, ctx) => {
|
|
47618
|
-
const [result, apiCall] = await
|
|
47754
|
+
const [result, apiCall] = await vendorsCheckDownloadCode(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47619
47755
|
if (!result.ok) {
|
|
47620
47756
|
return {
|
|
47621
47757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47628,24 +47764,18 @@ It will create or update BackgroundCheckResults`,
|
|
|
47628
47764
|
};
|
|
47629
47765
|
});
|
|
47630
47766
|
|
|
47631
|
-
// src/funcs/
|
|
47632
|
-
function
|
|
47767
|
+
// src/funcs/vendorsCreateNewVendorCredentialVersion.ts
|
|
47768
|
+
function vendorsCreateNewVendorCredentialVersion(client, request, options) {
|
|
47633
47769
|
return new APIPromise($do28(client, request, options));
|
|
47634
47770
|
}
|
|
47635
47771
|
async function $do28(client, request, options) {
|
|
47636
|
-
const parsed = safeParse(request, (value) =>
|
|
47772
|
+
const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47637
47773
|
if (!parsed.ok) {
|
|
47638
47774
|
return [parsed, { status: "invalid" }];
|
|
47639
47775
|
}
|
|
47640
47776
|
const payload = parsed.value;
|
|
47641
|
-
const body = encodeJSON("body", payload
|
|
47642
|
-
const
|
|
47643
|
-
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
47644
|
-
explode: false,
|
|
47645
|
-
charEncoding: "percent"
|
|
47646
|
-
})
|
|
47647
|
-
};
|
|
47648
|
-
const path = pathToFunc("/vendors/{vendor_id_or_me}/company")(pathParams);
|
|
47777
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
47778
|
+
const path = pathToFunc("/vendors/credentials")();
|
|
47649
47779
|
const headers = new Headers(compactMap({
|
|
47650
47780
|
"Content-Type": "application/json",
|
|
47651
47781
|
Accept: "application/json"
|
|
@@ -47655,7 +47785,7 @@ async function $do28(client, request, options) {
|
|
|
47655
47785
|
const context = {
|
|
47656
47786
|
options: client._options,
|
|
47657
47787
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47658
|
-
operationID: "
|
|
47788
|
+
operationID: "createNewVendorCredentialVersion",
|
|
47659
47789
|
oAuth2Scopes: [],
|
|
47660
47790
|
resolvedSecurity: requestSecurity,
|
|
47661
47791
|
securitySource: client._options.security,
|
|
@@ -47689,13 +47819,13 @@ async function $do28(client, request, options) {
|
|
|
47689
47819
|
const responseFields = {
|
|
47690
47820
|
HttpMeta: { Response: response, Request: req }
|
|
47691
47821
|
};
|
|
47692
|
-
const [result] = await match(json(200,
|
|
47822
|
+
const [result] = await match(json(200, CreateNewVendorCredentialVersionResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47693
47823
|
if (!result.ok) {
|
|
47694
47824
|
return [result, { status: "complete", request: req, response }];
|
|
47695
47825
|
}
|
|
47696
47826
|
return [result, { status: "complete", request: req, response }];
|
|
47697
47827
|
}
|
|
47698
|
-
var
|
|
47828
|
+
var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
|
|
47699
47829
|
init_encodings();
|
|
47700
47830
|
init_matchers();
|
|
47701
47831
|
init_primitives();
|
|
@@ -47707,23 +47837,23 @@ var init_vendorsCreateVendorCompany = __esm(() => {
|
|
|
47707
47837
|
init_async();
|
|
47708
47838
|
});
|
|
47709
47839
|
|
|
47710
|
-
// src/mcp-server/tools/
|
|
47711
|
-
var args26, tool$
|
|
47712
|
-
var
|
|
47713
|
-
|
|
47840
|
+
// src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
|
|
47841
|
+
var args26, tool$vendorsCreateNewVendorCredentialVersion;
|
|
47842
|
+
var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
|
|
47843
|
+
init_vendorsCreateNewVendorCredentialVersion();
|
|
47714
47844
|
init_operations();
|
|
47715
47845
|
init_tools();
|
|
47716
47846
|
args26 = {
|
|
47717
|
-
request:
|
|
47847
|
+
request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
|
|
47718
47848
|
};
|
|
47719
|
-
tool$
|
|
47720
|
-
name: "vendors-create-vendor-
|
|
47721
|
-
description: `Create vendor
|
|
47849
|
+
tool$vendorsCreateNewVendorCredentialVersion = {
|
|
47850
|
+
name: "vendors-create-new-vendor-credential-version",
|
|
47851
|
+
description: `Create new vendor credential version
|
|
47722
47852
|
|
|
47723
|
-
|
|
47853
|
+
It will submit vendor credential`,
|
|
47724
47854
|
args: args26,
|
|
47725
47855
|
tool: async (client, args27, ctx) => {
|
|
47726
|
-
const [result, apiCall] = await
|
|
47856
|
+
const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47727
47857
|
if (!result.ok) {
|
|
47728
47858
|
return {
|
|
47729
47859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47736,33 +47866,39 @@ Create vendor company`,
|
|
|
47736
47866
|
};
|
|
47737
47867
|
});
|
|
47738
47868
|
|
|
47739
|
-
// src/funcs/
|
|
47740
|
-
function
|
|
47869
|
+
// src/funcs/vendorsCreateOrUpdateBcr.ts
|
|
47870
|
+
function vendorsCreateOrUpdateBcr(client, request, options) {
|
|
47741
47871
|
return new APIPromise($do29(client, request, options));
|
|
47742
47872
|
}
|
|
47743
47873
|
async function $do29(client, request, options) {
|
|
47744
|
-
const parsed = safeParse(request, (value) =>
|
|
47874
|
+
const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47745
47875
|
if (!parsed.ok) {
|
|
47746
47876
|
return [parsed, { status: "invalid" }];
|
|
47747
47877
|
}
|
|
47748
47878
|
const payload = parsed.value;
|
|
47749
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
47750
|
-
const
|
|
47879
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
47880
|
+
const pathParams = {
|
|
47881
|
+
vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
|
|
47882
|
+
};
|
|
47883
|
+
const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/bcr")(pathParams);
|
|
47751
47884
|
const headers = new Headers(compactMap({
|
|
47752
47885
|
"Content-Type": "application/json",
|
|
47753
47886
|
Accept: "application/json"
|
|
47754
47887
|
}));
|
|
47888
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
47889
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47755
47890
|
const context = {
|
|
47756
47891
|
options: client._options,
|
|
47757
47892
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47758
|
-
operationID: "
|
|
47893
|
+
operationID: "createOrUpdateBcr",
|
|
47759
47894
|
oAuth2Scopes: [],
|
|
47760
|
-
resolvedSecurity:
|
|
47761
|
-
securitySource:
|
|
47895
|
+
resolvedSecurity: requestSecurity,
|
|
47896
|
+
securitySource: client._options.security,
|
|
47762
47897
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
47763
47898
|
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
47764
47899
|
};
|
|
47765
47900
|
const requestRes = client._createRequest(context, {
|
|
47901
|
+
security: requestSecurity,
|
|
47766
47902
|
method: "POST",
|
|
47767
47903
|
baseURL: options?.serverURL,
|
|
47768
47904
|
path,
|
|
@@ -47777,7 +47913,7 @@ async function $do29(client, request, options) {
|
|
|
47777
47913
|
const req = requestRes.value;
|
|
47778
47914
|
const doResult = await client._do(req, {
|
|
47779
47915
|
context,
|
|
47780
|
-
errorCodes: ["400", "401", "403", "
|
|
47916
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
47781
47917
|
retryConfig: context.retryConfig,
|
|
47782
47918
|
retryCodes: context.retryCodes
|
|
47783
47919
|
});
|
|
@@ -47788,7 +47924,215 @@ async function $do29(client, request, options) {
|
|
|
47788
47924
|
const responseFields = {
|
|
47789
47925
|
HttpMeta: { Response: response, Request: req }
|
|
47790
47926
|
};
|
|
47791
|
-
const [result] = await match(json(
|
|
47927
|
+
const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47928
|
+
if (!result.ok) {
|
|
47929
|
+
return [result, { status: "complete", request: req, response }];
|
|
47930
|
+
}
|
|
47931
|
+
return [result, { status: "complete", request: req, response }];
|
|
47932
|
+
}
|
|
47933
|
+
var init_vendorsCreateOrUpdateBcr = __esm(() => {
|
|
47934
|
+
init_esm();
|
|
47935
|
+
init_encodings();
|
|
47936
|
+
init_matchers();
|
|
47937
|
+
init_primitives();
|
|
47938
|
+
init_schemas();
|
|
47939
|
+
init_security();
|
|
47940
|
+
init_url();
|
|
47941
|
+
init_errors2();
|
|
47942
|
+
init_operations();
|
|
47943
|
+
init_async();
|
|
47944
|
+
});
|
|
47945
|
+
|
|
47946
|
+
// src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
|
|
47947
|
+
var args27, tool$vendorsCreateOrUpdateBcr;
|
|
47948
|
+
var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
|
|
47949
|
+
init_vendorsCreateOrUpdateBcr();
|
|
47950
|
+
init_operations();
|
|
47951
|
+
init_tools();
|
|
47952
|
+
args27 = {
|
|
47953
|
+
request: CreateOrUpdateBcrRequest$inboundSchema
|
|
47954
|
+
};
|
|
47955
|
+
tool$vendorsCreateOrUpdateBcr = {
|
|
47956
|
+
name: "vendors-create-or-update-bcr",
|
|
47957
|
+
description: `Create or update BackgroundCheckResults
|
|
47958
|
+
|
|
47959
|
+
It will create or update BackgroundCheckResults`,
|
|
47960
|
+
args: args27,
|
|
47961
|
+
tool: async (client, args28, ctx) => {
|
|
47962
|
+
const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47963
|
+
if (!result.ok) {
|
|
47964
|
+
return {
|
|
47965
|
+
content: [{ type: "text", text: result.error.message }],
|
|
47966
|
+
isError: true
|
|
47967
|
+
};
|
|
47968
|
+
}
|
|
47969
|
+
const value = result.value;
|
|
47970
|
+
return formatResult(value, apiCall);
|
|
47971
|
+
}
|
|
47972
|
+
};
|
|
47973
|
+
});
|
|
47974
|
+
|
|
47975
|
+
// src/funcs/vendorsCreateVendorCompany.ts
|
|
47976
|
+
function vendorsCreateVendorCompany(client, request, options) {
|
|
47977
|
+
return new APIPromise($do30(client, request, options));
|
|
47978
|
+
}
|
|
47979
|
+
async function $do30(client, request, options) {
|
|
47980
|
+
const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47981
|
+
if (!parsed.ok) {
|
|
47982
|
+
return [parsed, { status: "invalid" }];
|
|
47983
|
+
}
|
|
47984
|
+
const payload = parsed.value;
|
|
47985
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
47986
|
+
const pathParams = {
|
|
47987
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
47988
|
+
explode: false,
|
|
47989
|
+
charEncoding: "percent"
|
|
47990
|
+
})
|
|
47991
|
+
};
|
|
47992
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/company")(pathParams);
|
|
47993
|
+
const headers = new Headers(compactMap({
|
|
47994
|
+
"Content-Type": "application/json",
|
|
47995
|
+
Accept: "application/json"
|
|
47996
|
+
}));
|
|
47997
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
47998
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47999
|
+
const context = {
|
|
48000
|
+
options: client._options,
|
|
48001
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48002
|
+
operationID: "createVendorCompany",
|
|
48003
|
+
oAuth2Scopes: [],
|
|
48004
|
+
resolvedSecurity: requestSecurity,
|
|
48005
|
+
securitySource: client._options.security,
|
|
48006
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
48007
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
48008
|
+
};
|
|
48009
|
+
const requestRes = client._createRequest(context, {
|
|
48010
|
+
security: requestSecurity,
|
|
48011
|
+
method: "POST",
|
|
48012
|
+
baseURL: options?.serverURL,
|
|
48013
|
+
path,
|
|
48014
|
+
headers,
|
|
48015
|
+
body,
|
|
48016
|
+
userAgent: client._options.userAgent,
|
|
48017
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48018
|
+
}, options);
|
|
48019
|
+
if (!requestRes.ok) {
|
|
48020
|
+
return [requestRes, { status: "invalid" }];
|
|
48021
|
+
}
|
|
48022
|
+
const req = requestRes.value;
|
|
48023
|
+
const doResult = await client._do(req, {
|
|
48024
|
+
context,
|
|
48025
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
48026
|
+
retryConfig: context.retryConfig,
|
|
48027
|
+
retryCodes: context.retryCodes
|
|
48028
|
+
});
|
|
48029
|
+
if (!doResult.ok) {
|
|
48030
|
+
return [doResult, { status: "request-error", request: req }];
|
|
48031
|
+
}
|
|
48032
|
+
const response = doResult.value;
|
|
48033
|
+
const responseFields = {
|
|
48034
|
+
HttpMeta: { Response: response, Request: req }
|
|
48035
|
+
};
|
|
48036
|
+
const [result] = await match(json(200, CreateVendorCompanyResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
48037
|
+
if (!result.ok) {
|
|
48038
|
+
return [result, { status: "complete", request: req, response }];
|
|
48039
|
+
}
|
|
48040
|
+
return [result, { status: "complete", request: req, response }];
|
|
48041
|
+
}
|
|
48042
|
+
var init_vendorsCreateVendorCompany = __esm(() => {
|
|
48043
|
+
init_encodings();
|
|
48044
|
+
init_matchers();
|
|
48045
|
+
init_primitives();
|
|
48046
|
+
init_schemas();
|
|
48047
|
+
init_security();
|
|
48048
|
+
init_url();
|
|
48049
|
+
init_errors2();
|
|
48050
|
+
init_operations();
|
|
48051
|
+
init_async();
|
|
48052
|
+
});
|
|
48053
|
+
|
|
48054
|
+
// src/mcp-server/tools/vendorsCreateVendorCompany.ts
|
|
48055
|
+
var args28, tool$vendorsCreateVendorCompany;
|
|
48056
|
+
var init_vendorsCreateVendorCompany2 = __esm(() => {
|
|
48057
|
+
init_vendorsCreateVendorCompany();
|
|
48058
|
+
init_operations();
|
|
48059
|
+
init_tools();
|
|
48060
|
+
args28 = {
|
|
48061
|
+
request: CreateVendorCompanyRequest$inboundSchema
|
|
48062
|
+
};
|
|
48063
|
+
tool$vendorsCreateVendorCompany = {
|
|
48064
|
+
name: "vendors-create-vendor-company",
|
|
48065
|
+
description: `Create vendor company
|
|
48066
|
+
|
|
48067
|
+
Create vendor company`,
|
|
48068
|
+
args: args28,
|
|
48069
|
+
tool: async (client, args29, ctx) => {
|
|
48070
|
+
const [result, apiCall] = await vendorsCreateVendorCompany(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48071
|
+
if (!result.ok) {
|
|
48072
|
+
return {
|
|
48073
|
+
content: [{ type: "text", text: result.error.message }],
|
|
48074
|
+
isError: true
|
|
48075
|
+
};
|
|
48076
|
+
}
|
|
48077
|
+
const value = result.value;
|
|
48078
|
+
return formatResult(value, apiCall);
|
|
48079
|
+
}
|
|
48080
|
+
};
|
|
48081
|
+
});
|
|
48082
|
+
|
|
48083
|
+
// src/funcs/vendorsCreateVendorRegistration.ts
|
|
48084
|
+
function vendorsCreateVendorRegistration(client, request, options) {
|
|
48085
|
+
return new APIPromise($do31(client, request, options));
|
|
48086
|
+
}
|
|
48087
|
+
async function $do31(client, request, options) {
|
|
48088
|
+
const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
48089
|
+
if (!parsed.ok) {
|
|
48090
|
+
return [parsed, { status: "invalid" }];
|
|
48091
|
+
}
|
|
48092
|
+
const payload = parsed.value;
|
|
48093
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
48094
|
+
const path = pathToFunc("/vendors/registration")();
|
|
48095
|
+
const headers = new Headers(compactMap({
|
|
48096
|
+
"Content-Type": "application/json",
|
|
48097
|
+
Accept: "application/json"
|
|
48098
|
+
}));
|
|
48099
|
+
const context = {
|
|
48100
|
+
options: client._options,
|
|
48101
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48102
|
+
operationID: "createVendorRegistration",
|
|
48103
|
+
oAuth2Scopes: [],
|
|
48104
|
+
resolvedSecurity: null,
|
|
48105
|
+
securitySource: null,
|
|
48106
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
48107
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
48108
|
+
};
|
|
48109
|
+
const requestRes = client._createRequest(context, {
|
|
48110
|
+
method: "POST",
|
|
48111
|
+
baseURL: options?.serverURL,
|
|
48112
|
+
path,
|
|
48113
|
+
headers,
|
|
48114
|
+
body,
|
|
48115
|
+
userAgent: client._options.userAgent,
|
|
48116
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48117
|
+
}, options);
|
|
48118
|
+
if (!requestRes.ok) {
|
|
48119
|
+
return [requestRes, { status: "invalid" }];
|
|
48120
|
+
}
|
|
48121
|
+
const req = requestRes.value;
|
|
48122
|
+
const doResult = await client._do(req, {
|
|
48123
|
+
context,
|
|
48124
|
+
errorCodes: ["400", "401", "403", "409", "4XX", "500", "5XX"],
|
|
48125
|
+
retryConfig: context.retryConfig,
|
|
48126
|
+
retryCodes: context.retryCodes
|
|
48127
|
+
});
|
|
48128
|
+
if (!doResult.ok) {
|
|
48129
|
+
return [doResult, { status: "request-error", request: req }];
|
|
48130
|
+
}
|
|
48131
|
+
const response = doResult.value;
|
|
48132
|
+
const responseFields = {
|
|
48133
|
+
HttpMeta: { Response: response, Request: req }
|
|
48134
|
+
};
|
|
48135
|
+
const [result] = await match(json(201, User$inboundSchema), jsonErr([400, 401, 403, 409], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
47792
48136
|
if (!result.ok) {
|
|
47793
48137
|
return [result, { status: "complete", request: req, response }];
|
|
47794
48138
|
}
|
|
@@ -47807,12 +48151,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
|
|
|
47807
48151
|
});
|
|
47808
48152
|
|
|
47809
48153
|
// src/mcp-server/tools/vendorsCreateVendorRegistration.ts
|
|
47810
|
-
var
|
|
48154
|
+
var args29, tool$vendorsCreateVendorRegistration;
|
|
47811
48155
|
var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
47812
48156
|
init_vendorsCreateVendorRegistration();
|
|
47813
48157
|
init_operations();
|
|
47814
48158
|
init_tools();
|
|
47815
|
-
|
|
48159
|
+
args29 = {
|
|
47816
48160
|
request: CreateVendorRegistrationRequestBody$inboundSchema
|
|
47817
48161
|
};
|
|
47818
48162
|
tool$vendorsCreateVendorRegistration = {
|
|
@@ -47820,9 +48164,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
|
47820
48164
|
description: `Create vendor registration
|
|
47821
48165
|
|
|
47822
48166
|
Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
|
|
47823
|
-
args:
|
|
47824
|
-
tool: async (client,
|
|
47825
|
-
const [result, apiCall] = await vendorsCreateVendorRegistration(client,
|
|
48167
|
+
args: args29,
|
|
48168
|
+
tool: async (client, args30, ctx) => {
|
|
48169
|
+
const [result, apiCall] = await vendorsCreateVendorRegistration(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47826
48170
|
if (!result.ok) {
|
|
47827
48171
|
return {
|
|
47828
48172
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47837,9 +48181,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
47837
48181
|
|
|
47838
48182
|
// src/funcs/vendorsDeclineVendorCredential.ts
|
|
47839
48183
|
function vendorsDeclineVendorCredential(client, request, options) {
|
|
47840
|
-
return new APIPromise($
|
|
48184
|
+
return new APIPromise($do32(client, request, options));
|
|
47841
48185
|
}
|
|
47842
|
-
async function $
|
|
48186
|
+
async function $do32(client, request, options) {
|
|
47843
48187
|
const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47844
48188
|
if (!parsed.ok) {
|
|
47845
48189
|
return [parsed, { status: "invalid" }];
|
|
@@ -47912,12 +48256,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
|
|
|
47912
48256
|
});
|
|
47913
48257
|
|
|
47914
48258
|
// src/mcp-server/tools/vendorsDeclineVendorCredential.ts
|
|
47915
|
-
var
|
|
48259
|
+
var args30, tool$vendorsDeclineVendorCredential;
|
|
47916
48260
|
var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
47917
48261
|
init_vendorsDeclineVendorCredential();
|
|
47918
48262
|
init_operations();
|
|
47919
48263
|
init_tools();
|
|
47920
|
-
|
|
48264
|
+
args30 = {
|
|
47921
48265
|
request: DeclineVendorCredentialRequest$inboundSchema
|
|
47922
48266
|
};
|
|
47923
48267
|
tool$vendorsDeclineVendorCredential = {
|
|
@@ -47925,9 +48269,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
|
47925
48269
|
description: `Decline vendor credential
|
|
47926
48270
|
|
|
47927
48271
|
It will decline vendor credential`,
|
|
47928
|
-
args:
|
|
47929
|
-
tool: async (client,
|
|
47930
|
-
const [result, apiCall] = await vendorsDeclineVendorCredential(client,
|
|
48272
|
+
args: args30,
|
|
48273
|
+
tool: async (client, args31, ctx) => {
|
|
48274
|
+
const [result, apiCall] = await vendorsDeclineVendorCredential(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47931
48275
|
if (!result.ok) {
|
|
47932
48276
|
return {
|
|
47933
48277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47942,9 +48286,9 @@ It will decline vendor credential`,
|
|
|
47942
48286
|
|
|
47943
48287
|
// src/funcs/vendorsDeleteVendorCredentialFile.ts
|
|
47944
48288
|
function vendorsDeleteVendorCredentialFile(client, request, options) {
|
|
47945
|
-
return new APIPromise($
|
|
48289
|
+
return new APIPromise($do33(client, request, options));
|
|
47946
48290
|
}
|
|
47947
|
-
async function $
|
|
48291
|
+
async function $do33(client, request, options) {
|
|
47948
48292
|
const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47949
48293
|
if (!parsed.ok) {
|
|
47950
48294
|
return [parsed, { status: "invalid" }];
|
|
@@ -48021,12 +48365,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
|
|
|
48021
48365
|
});
|
|
48022
48366
|
|
|
48023
48367
|
// src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
|
|
48024
|
-
var
|
|
48368
|
+
var args31, tool$vendorsDeleteVendorCredentialFile;
|
|
48025
48369
|
var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
48026
48370
|
init_vendorsDeleteVendorCredentialFile();
|
|
48027
48371
|
init_operations();
|
|
48028
48372
|
init_tools();
|
|
48029
|
-
|
|
48373
|
+
args31 = {
|
|
48030
48374
|
request: DeleteVendorCredentialFileRequest$inboundSchema
|
|
48031
48375
|
};
|
|
48032
48376
|
tool$vendorsDeleteVendorCredentialFile = {
|
|
@@ -48034,9 +48378,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
|
48034
48378
|
description: `Delete vendor credential file
|
|
48035
48379
|
|
|
48036
48380
|
It will delete the vendor credential file`,
|
|
48037
|
-
args:
|
|
48038
|
-
tool: async (client,
|
|
48039
|
-
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client,
|
|
48381
|
+
args: args31,
|
|
48382
|
+
tool: async (client, args32, ctx) => {
|
|
48383
|
+
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48040
48384
|
if (!result.ok) {
|
|
48041
48385
|
return {
|
|
48042
48386
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48051,9 +48395,9 @@ It will delete the vendor credential file`,
|
|
|
48051
48395
|
|
|
48052
48396
|
// src/funcs/vendorsDeleteVendorManagedByCompany.ts
|
|
48053
48397
|
function vendorsDeleteVendorManagedByCompany(client, request, options) {
|
|
48054
|
-
return new APIPromise($
|
|
48398
|
+
return new APIPromise($do34(client, request, options));
|
|
48055
48399
|
}
|
|
48056
|
-
async function $
|
|
48400
|
+
async function $do34(client, request, options) {
|
|
48057
48401
|
const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48058
48402
|
if (!parsed.ok) {
|
|
48059
48403
|
return [parsed, { status: "invalid" }];
|
|
@@ -48129,12 +48473,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
|
|
|
48129
48473
|
});
|
|
48130
48474
|
|
|
48131
48475
|
// src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
|
|
48132
|
-
var
|
|
48476
|
+
var args32, tool$vendorsDeleteVendorManagedByCompany;
|
|
48133
48477
|
var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
48134
48478
|
init_vendorsDeleteVendorManagedByCompany();
|
|
48135
48479
|
init_operations();
|
|
48136
48480
|
init_tools();
|
|
48137
|
-
|
|
48481
|
+
args32 = {
|
|
48138
48482
|
request: DeleteVendorManagedByCompanyRequest$inboundSchema
|
|
48139
48483
|
};
|
|
48140
48484
|
tool$vendorsDeleteVendorManagedByCompany = {
|
|
@@ -48142,9 +48486,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
|
48142
48486
|
description: `Delete vendor managed by company
|
|
48143
48487
|
|
|
48144
48488
|
It will delete the vendor managed by company`,
|
|
48145
|
-
args:
|
|
48146
|
-
tool: async (client,
|
|
48147
|
-
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client,
|
|
48489
|
+
args: args32,
|
|
48490
|
+
tool: async (client, args33, ctx) => {
|
|
48491
|
+
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48148
48492
|
if (!result.ok) {
|
|
48149
48493
|
return {
|
|
48150
48494
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48159,9 +48503,9 @@ It will delete the vendor managed by company`,
|
|
|
48159
48503
|
|
|
48160
48504
|
// src/funcs/vendorsExpediteTimeRemaining.ts
|
|
48161
48505
|
function vendorsExpediteTimeRemaining(client, request, options) {
|
|
48162
|
-
return new APIPromise($
|
|
48506
|
+
return new APIPromise($do35(client, request, options));
|
|
48163
48507
|
}
|
|
48164
|
-
async function $
|
|
48508
|
+
async function $do35(client, request, options) {
|
|
48165
48509
|
const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48166
48510
|
if (!parsed.ok) {
|
|
48167
48511
|
return [parsed, { status: "invalid" }];
|
|
@@ -48236,12 +48580,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
|
|
|
48236
48580
|
});
|
|
48237
48581
|
|
|
48238
48582
|
// src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
|
|
48239
|
-
var
|
|
48583
|
+
var args33, tool$vendorsExpediteTimeRemaining;
|
|
48240
48584
|
var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
48241
48585
|
init_vendorsExpediteTimeRemaining();
|
|
48242
48586
|
init_operations();
|
|
48243
48587
|
init_tools();
|
|
48244
|
-
|
|
48588
|
+
args33 = {
|
|
48245
48589
|
request: ExpediteTimeRemainingRequest$inboundSchema
|
|
48246
48590
|
};
|
|
48247
48591
|
tool$vendorsExpediteTimeRemaining = {
|
|
@@ -48249,9 +48593,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
|
48249
48593
|
description: `Expedite time remaining
|
|
48250
48594
|
|
|
48251
48595
|
For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
|
|
48252
|
-
args:
|
|
48253
|
-
tool: async (client,
|
|
48254
|
-
const [result, apiCall] = await vendorsExpediteTimeRemaining(client,
|
|
48596
|
+
args: args33,
|
|
48597
|
+
tool: async (client, args34, ctx) => {
|
|
48598
|
+
const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48255
48599
|
if (!result.ok) {
|
|
48256
48600
|
return {
|
|
48257
48601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48266,9 +48610,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
|
|
|
48266
48610
|
|
|
48267
48611
|
// src/funcs/vendorsGetVendorCredentialDetails.ts
|
|
48268
48612
|
function vendorsGetVendorCredentialDetails(client, request, options) {
|
|
48269
|
-
return new APIPromise($
|
|
48613
|
+
return new APIPromise($do36(client, request, options));
|
|
48270
48614
|
}
|
|
48271
|
-
async function $
|
|
48615
|
+
async function $do36(client, request, options) {
|
|
48272
48616
|
const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48273
48617
|
if (!parsed.ok) {
|
|
48274
48618
|
return [parsed, { status: "invalid" }];
|
|
@@ -48351,12 +48695,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
|
|
|
48351
48695
|
});
|
|
48352
48696
|
|
|
48353
48697
|
// src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
|
|
48354
|
-
var
|
|
48698
|
+
var args34, tool$vendorsGetVendorCredentialDetails;
|
|
48355
48699
|
var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
|
|
48356
48700
|
init_vendorsGetVendorCredentialDetails();
|
|
48357
48701
|
init_operations();
|
|
48358
48702
|
init_tools();
|
|
48359
|
-
|
|
48703
|
+
args34 = {
|
|
48360
48704
|
request: GetVendorCredentialDetailsRequest$inboundSchema
|
|
48361
48705
|
};
|
|
48362
48706
|
tool$vendorsGetVendorCredentialDetails = {
|
|
@@ -48382,9 +48726,9 @@ Available \`expand\` scopes are:
|
|
|
48382
48726
|
- vendor_credential.credential_variants
|
|
48383
48727
|
- vendor_credential.targets_chop
|
|
48384
48728
|
- vendor_credential.total_pending_credentials`,
|
|
48385
|
-
args:
|
|
48386
|
-
tool: async (client,
|
|
48387
|
-
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client,
|
|
48729
|
+
args: args34,
|
|
48730
|
+
tool: async (client, args35, ctx) => {
|
|
48731
|
+
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48388
48732
|
if (!result.ok) {
|
|
48389
48733
|
return {
|
|
48390
48734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48399,9 +48743,9 @@ Available \`expand\` scopes are:
|
|
|
48399
48743
|
|
|
48400
48744
|
// src/funcs/vendorsGetVendorCredentialFile.ts
|
|
48401
48745
|
function vendorsGetVendorCredentialFile(client, request, options) {
|
|
48402
|
-
return new APIPromise($
|
|
48746
|
+
return new APIPromise($do37(client, request, options));
|
|
48403
48747
|
}
|
|
48404
|
-
async function $
|
|
48748
|
+
async function $do37(client, request, options) {
|
|
48405
48749
|
const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48406
48750
|
if (!parsed.ok) {
|
|
48407
48751
|
return [parsed, { status: "invalid" }];
|
|
@@ -48482,12 +48826,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
|
|
|
48482
48826
|
});
|
|
48483
48827
|
|
|
48484
48828
|
// src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
|
|
48485
|
-
var
|
|
48829
|
+
var args35, tool$vendorsGetVendorCredentialFile;
|
|
48486
48830
|
var init_vendorsGetVendorCredentialFile2 = __esm(() => {
|
|
48487
48831
|
init_vendorsGetVendorCredentialFile();
|
|
48488
48832
|
init_operations();
|
|
48489
48833
|
init_tools();
|
|
48490
|
-
|
|
48834
|
+
args35 = {
|
|
48491
48835
|
request: GetVendorCredentialFileRequest$inboundSchema
|
|
48492
48836
|
};
|
|
48493
48837
|
tool$vendorsGetVendorCredentialFile = {
|
|
@@ -48500,9 +48844,9 @@ Available \`expand\` scopes are:
|
|
|
48500
48844
|
|
|
48501
48845
|
- vendor_credential_file.vendor_credential
|
|
48502
48846
|
- vendor_credential_file.credential_document`,
|
|
48503
|
-
args:
|
|
48504
|
-
tool: async (client,
|
|
48505
|
-
const [result, apiCall] = await vendorsGetVendorCredentialFile(client,
|
|
48847
|
+
args: args35,
|
|
48848
|
+
tool: async (client, args36, ctx) => {
|
|
48849
|
+
const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48506
48850
|
if (!result.ok) {
|
|
48507
48851
|
return {
|
|
48508
48852
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48517,9 +48861,9 @@ Available \`expand\` scopes are:
|
|
|
48517
48861
|
|
|
48518
48862
|
// src/funcs/vendorsGetVendorInvoiceDetails.ts
|
|
48519
48863
|
function vendorsGetVendorInvoiceDetails(client, request, options) {
|
|
48520
|
-
return new APIPromise($
|
|
48864
|
+
return new APIPromise($do38(client, request, options));
|
|
48521
48865
|
}
|
|
48522
|
-
async function $
|
|
48866
|
+
async function $do38(client, request, options) {
|
|
48523
48867
|
const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48524
48868
|
if (!parsed.ok) {
|
|
48525
48869
|
return [parsed, { status: "invalid" }];
|
|
@@ -48599,12 +48943,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
|
|
|
48599
48943
|
});
|
|
48600
48944
|
|
|
48601
48945
|
// src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
|
|
48602
|
-
var
|
|
48946
|
+
var args36, tool$vendorsGetVendorInvoiceDetails;
|
|
48603
48947
|
var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
|
|
48604
48948
|
init_vendorsGetVendorInvoiceDetails();
|
|
48605
48949
|
init_operations();
|
|
48606
48950
|
init_tools();
|
|
48607
|
-
|
|
48951
|
+
args36 = {
|
|
48608
48952
|
request: GetVendorInvoiceDetailsRequest$inboundSchema
|
|
48609
48953
|
};
|
|
48610
48954
|
tool$vendorsGetVendorInvoiceDetails = {
|
|
@@ -48617,9 +48961,9 @@ Available \`expand\` scopes are:
|
|
|
48617
48961
|
|
|
48618
48962
|
invoice.line_items
|
|
48619
48963
|
invoice.invoice_transactions`,
|
|
48620
|
-
args:
|
|
48621
|
-
tool: async (client,
|
|
48622
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client,
|
|
48964
|
+
args: args36,
|
|
48965
|
+
tool: async (client, args37, ctx) => {
|
|
48966
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48623
48967
|
if (!result.ok) {
|
|
48624
48968
|
return {
|
|
48625
48969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48634,9 +48978,9 @@ invoice.invoice_transactions`,
|
|
|
48634
48978
|
|
|
48635
48979
|
// src/funcs/vendorsGetVendorLegalName.ts
|
|
48636
48980
|
function vendorsGetVendorLegalName(client, request, options) {
|
|
48637
|
-
return new APIPromise($
|
|
48981
|
+
return new APIPromise($do39(client, request, options));
|
|
48638
48982
|
}
|
|
48639
|
-
async function $
|
|
48983
|
+
async function $do39(client, request, options) {
|
|
48640
48984
|
const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48641
48985
|
if (!parsed.ok) {
|
|
48642
48986
|
return [parsed, { status: "invalid" }];
|
|
@@ -48711,12 +49055,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
|
|
|
48711
49055
|
});
|
|
48712
49056
|
|
|
48713
49057
|
// src/mcp-server/tools/vendorsGetVendorLegalName.ts
|
|
48714
|
-
var
|
|
49058
|
+
var args37, tool$vendorsGetVendorLegalName;
|
|
48715
49059
|
var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
48716
49060
|
init_vendorsGetVendorLegalName();
|
|
48717
49061
|
init_operations();
|
|
48718
49062
|
init_tools();
|
|
48719
|
-
|
|
49063
|
+
args37 = {
|
|
48720
49064
|
request: GetVendorLegalNameRequest$inboundSchema
|
|
48721
49065
|
};
|
|
48722
49066
|
tool$vendorsGetVendorLegalName = {
|
|
@@ -48724,9 +49068,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
|
48724
49068
|
description: `Get Vendor legal name
|
|
48725
49069
|
|
|
48726
49070
|
Get vendor legal name`,
|
|
48727
|
-
args:
|
|
48728
|
-
tool: async (client,
|
|
48729
|
-
const [result, apiCall] = await vendorsGetVendorLegalName(client,
|
|
49071
|
+
args: args37,
|
|
49072
|
+
tool: async (client, args38, ctx) => {
|
|
49073
|
+
const [result, apiCall] = await vendorsGetVendorLegalName(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48730
49074
|
if (!result.ok) {
|
|
48731
49075
|
return {
|
|
48732
49076
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48741,9 +49085,9 @@ Get vendor legal name`,
|
|
|
48741
49085
|
|
|
48742
49086
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
48743
49087
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
48744
|
-
return new APIPromise($
|
|
49088
|
+
return new APIPromise($do40(client, request, options));
|
|
48745
49089
|
}
|
|
48746
|
-
async function $
|
|
49090
|
+
async function $do40(client, request, options) {
|
|
48747
49091
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48748
49092
|
if (!parsed.ok) {
|
|
48749
49093
|
return [parsed, { status: "invalid" }];
|
|
@@ -48823,12 +49167,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
48823
49167
|
});
|
|
48824
49168
|
|
|
48825
49169
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
48826
|
-
var
|
|
49170
|
+
var args38, tool$vendorsGetVendorsDetails;
|
|
48827
49171
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
48828
49172
|
init_vendorsGetVendorsDetails();
|
|
48829
49173
|
init_operations();
|
|
48830
49174
|
init_tools();
|
|
48831
|
-
|
|
49175
|
+
args38 = {
|
|
48832
49176
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
48833
49177
|
};
|
|
48834
49178
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -48854,9 +49198,9 @@ vendor.background_check_date_expires
|
|
|
48854
49198
|
vendor.credit_balance
|
|
48855
49199
|
vendor.registration_data
|
|
48856
49200
|
vendor.registration_finished`,
|
|
48857
|
-
args:
|
|
48858
|
-
tool: async (client,
|
|
48859
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
49201
|
+
args: args38,
|
|
49202
|
+
tool: async (client, args39, ctx) => {
|
|
49203
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48860
49204
|
if (!result.ok) {
|
|
48861
49205
|
return {
|
|
48862
49206
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48871,9 +49215,9 @@ vendor.registration_finished`,
|
|
|
48871
49215
|
|
|
48872
49216
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
48873
49217
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
48874
|
-
return new APIPromise($
|
|
49218
|
+
return new APIPromise($do41(client, request, options));
|
|
48875
49219
|
}
|
|
48876
|
-
async function $
|
|
49220
|
+
async function $do41(client, request, options) {
|
|
48877
49221
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48878
49222
|
if (!parsed.ok) {
|
|
48879
49223
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -48985,12 +49329,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
48985
49329
|
});
|
|
48986
49330
|
|
|
48987
49331
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
48988
|
-
var
|
|
49332
|
+
var args39, tool$vendorsListVendorAdditionalFacilityFields;
|
|
48989
49333
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
48990
49334
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
48991
49335
|
init_operations();
|
|
48992
49336
|
init_tools();
|
|
48993
|
-
|
|
49337
|
+
args39 = {
|
|
48994
49338
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
48995
49339
|
};
|
|
48996
49340
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -48998,9 +49342,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
48998
49342
|
description: `List of vendor's additional facility fields
|
|
48999
49343
|
|
|
49000
49344
|
List of vendor's additional facility fields`,
|
|
49001
|
-
args:
|
|
49002
|
-
tool: async (client,
|
|
49003
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
49345
|
+
args: args39,
|
|
49346
|
+
tool: async (client, args40, ctx) => {
|
|
49347
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49004
49348
|
if (!result.ok) {
|
|
49005
49349
|
return {
|
|
49006
49350
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49015,9 +49359,9 @@ List of vendor's additional facility fields`,
|
|
|
49015
49359
|
|
|
49016
49360
|
// src/funcs/vendorsListVendorCredentialDataRequests.ts
|
|
49017
49361
|
function vendorsListVendorCredentialDataRequests(client, request, options) {
|
|
49018
|
-
return new APIPromise($
|
|
49362
|
+
return new APIPromise($do42(client, request, options));
|
|
49019
49363
|
}
|
|
49020
|
-
async function $
|
|
49364
|
+
async function $do42(client, request, options) {
|
|
49021
49365
|
const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49022
49366
|
if (!parsed.ok) {
|
|
49023
49367
|
return [parsed, { status: "invalid" }];
|
|
@@ -49100,12 +49444,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
|
|
|
49100
49444
|
});
|
|
49101
49445
|
|
|
49102
49446
|
// src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
|
|
49103
|
-
var
|
|
49447
|
+
var args40, tool$vendorsListVendorCredentialDataRequests;
|
|
49104
49448
|
var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
|
|
49105
49449
|
init_vendorsListVendorCredentialDataRequests();
|
|
49106
49450
|
init_operations();
|
|
49107
49451
|
init_tools();
|
|
49108
|
-
|
|
49452
|
+
args40 = {
|
|
49109
49453
|
request: ListVendorCredentialDataRequestsRequest$inboundSchema
|
|
49110
49454
|
};
|
|
49111
49455
|
tool$vendorsListVendorCredentialDataRequests = {
|
|
@@ -49118,9 +49462,9 @@ Available \`expand\` scopes are:
|
|
|
49118
49462
|
|
|
49119
49463
|
- vendor_credential_data_request.vendor_credential
|
|
49120
49464
|
- vendor_credential_data_request.data_request`,
|
|
49121
|
-
args:
|
|
49122
|
-
tool: async (client,
|
|
49123
|
-
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client,
|
|
49465
|
+
args: args40,
|
|
49466
|
+
tool: async (client, args41, ctx) => {
|
|
49467
|
+
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49124
49468
|
if (!result.ok) {
|
|
49125
49469
|
return {
|
|
49126
49470
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49135,9 +49479,9 @@ Available \`expand\` scopes are:
|
|
|
49135
49479
|
|
|
49136
49480
|
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
49137
49481
|
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
49138
|
-
return new APIPromise($
|
|
49482
|
+
return new APIPromise($do43(client, request, options));
|
|
49139
49483
|
}
|
|
49140
|
-
async function $
|
|
49484
|
+
async function $do43(client, request, options) {
|
|
49141
49485
|
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49142
49486
|
if (!parsed.ok) {
|
|
49143
49487
|
return [parsed, { status: "invalid" }];
|
|
@@ -49220,12 +49564,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
|
49220
49564
|
});
|
|
49221
49565
|
|
|
49222
49566
|
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
49223
|
-
var
|
|
49567
|
+
var args41, tool$vendorsListVendorCredentialFiles;
|
|
49224
49568
|
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
49225
49569
|
init_vendorsListVendorCredentialFiles();
|
|
49226
49570
|
init_operations();
|
|
49227
49571
|
init_tools();
|
|
49228
|
-
|
|
49572
|
+
args41 = {
|
|
49229
49573
|
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
49230
49574
|
};
|
|
49231
49575
|
tool$vendorsListVendorCredentialFiles = {
|
|
@@ -49238,9 +49582,9 @@ Available \`expand\` scopes are:
|
|
|
49238
49582
|
|
|
49239
49583
|
- vendor_credential_file.vendor_credential
|
|
49240
49584
|
- vendor_credential_file.credential_document`,
|
|
49241
|
-
args:
|
|
49242
|
-
tool: async (client,
|
|
49243
|
-
const [result, apiCall] = await vendorsListVendorCredentialFiles(client,
|
|
49585
|
+
args: args41,
|
|
49586
|
+
tool: async (client, args42, ctx) => {
|
|
49587
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49244
49588
|
if (!result.ok) {
|
|
49245
49589
|
return {
|
|
49246
49590
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49255,9 +49599,9 @@ Available \`expand\` scopes are:
|
|
|
49255
49599
|
|
|
49256
49600
|
// src/funcs/vendorsListVendorCredentialHistory.ts
|
|
49257
49601
|
function vendorsListVendorCredentialHistory(client, request, options) {
|
|
49258
|
-
return new APIPromise($
|
|
49602
|
+
return new APIPromise($do44(client, request, options));
|
|
49259
49603
|
}
|
|
49260
|
-
async function $
|
|
49604
|
+
async function $do44(client, request, options) {
|
|
49261
49605
|
const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49262
49606
|
if (!parsed.ok) {
|
|
49263
49607
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -49372,12 +49716,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
|
|
|
49372
49716
|
});
|
|
49373
49717
|
|
|
49374
49718
|
// src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
|
|
49375
|
-
var
|
|
49719
|
+
var args42, tool$vendorsListVendorCredentialHistory;
|
|
49376
49720
|
var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
49377
49721
|
init_vendorsListVendorCredentialHistory();
|
|
49378
49722
|
init_operations();
|
|
49379
49723
|
init_tools();
|
|
49380
|
-
|
|
49724
|
+
args42 = {
|
|
49381
49725
|
request: ListVendorCredentialHistoryRequest$inboundSchema
|
|
49382
49726
|
};
|
|
49383
49727
|
tool$vendorsListVendorCredentialHistory = {
|
|
@@ -49385,9 +49729,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
|
49385
49729
|
description: `List Vendor Credential History
|
|
49386
49730
|
|
|
49387
49731
|
Lists vendor credentials history`,
|
|
49388
|
-
args:
|
|
49389
|
-
tool: async (client,
|
|
49390
|
-
const [result, apiCall] = await vendorsListVendorCredentialHistory(client,
|
|
49732
|
+
args: args42,
|
|
49733
|
+
tool: async (client, args43, ctx) => {
|
|
49734
|
+
const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49391
49735
|
if (!result.ok) {
|
|
49392
49736
|
return {
|
|
49393
49737
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49402,9 +49746,9 @@ Lists vendor credentials history`,
|
|
|
49402
49746
|
|
|
49403
49747
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
49404
49748
|
function vendorsListVendorCredentials(client, request, options) {
|
|
49405
|
-
return new APIPromise($
|
|
49749
|
+
return new APIPromise($do45(client, request, options));
|
|
49406
49750
|
}
|
|
49407
|
-
async function $
|
|
49751
|
+
async function $do45(client, request, options) {
|
|
49408
49752
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49409
49753
|
if (!parsed.ok) {
|
|
49410
49754
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -49524,12 +49868,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
49524
49868
|
});
|
|
49525
49869
|
|
|
49526
49870
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
49527
|
-
var
|
|
49871
|
+
var args43, tool$vendorsListVendorCredentials;
|
|
49528
49872
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
49529
49873
|
init_vendorsListVendorCredentials();
|
|
49530
49874
|
init_operations();
|
|
49531
49875
|
init_tools();
|
|
49532
|
-
|
|
49876
|
+
args43 = {
|
|
49533
49877
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
49534
49878
|
};
|
|
49535
49879
|
tool$vendorsListVendorCredentials = {
|
|
@@ -49537,9 +49881,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
49537
49881
|
description: `List Vendor Credentials
|
|
49538
49882
|
|
|
49539
49883
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
49540
|
-
args:
|
|
49541
|
-
tool: async (client,
|
|
49542
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
49884
|
+
args: args43,
|
|
49885
|
+
tool: async (client, args44, ctx) => {
|
|
49886
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49543
49887
|
if (!result.ok) {
|
|
49544
49888
|
return {
|
|
49545
49889
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49554,9 +49898,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
49554
49898
|
|
|
49555
49899
|
// src/funcs/vendorsListVendorCredits.ts
|
|
49556
49900
|
function vendorsListVendorCredits(client, request, options) {
|
|
49557
|
-
return new APIPromise($
|
|
49901
|
+
return new APIPromise($do46(client, request, options));
|
|
49558
49902
|
}
|
|
49559
|
-
async function $
|
|
49903
|
+
async function $do46(client, request, options) {
|
|
49560
49904
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49561
49905
|
if (!parsed.ok) {
|
|
49562
49906
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -49670,12 +50014,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
49670
50014
|
});
|
|
49671
50015
|
|
|
49672
50016
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
49673
|
-
var
|
|
50017
|
+
var args44, tool$vendorsListVendorCredits;
|
|
49674
50018
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
49675
50019
|
init_vendorsListVendorCredits();
|
|
49676
50020
|
init_operations();
|
|
49677
50021
|
init_tools();
|
|
49678
|
-
|
|
50022
|
+
args44 = {
|
|
49679
50023
|
request: ListVendorCreditsRequest$inboundSchema
|
|
49680
50024
|
};
|
|
49681
50025
|
tool$vendorsListVendorCredits = {
|
|
@@ -49683,9 +50027,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
49683
50027
|
description: `List vendor credits
|
|
49684
50028
|
|
|
49685
50029
|
List the credits for the vendor`,
|
|
49686
|
-
args:
|
|
49687
|
-
tool: async (client,
|
|
49688
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
50030
|
+
args: args44,
|
|
50031
|
+
tool: async (client, args45, ctx) => {
|
|
50032
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49689
50033
|
if (!result.ok) {
|
|
49690
50034
|
return {
|
|
49691
50035
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49700,9 +50044,9 @@ List the credits for the vendor`,
|
|
|
49700
50044
|
|
|
49701
50045
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
49702
50046
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
49703
|
-
return new APIPromise($
|
|
50047
|
+
return new APIPromise($do47(client, request, options));
|
|
49704
50048
|
}
|
|
49705
|
-
async function $
|
|
50049
|
+
async function $do47(client, request, options) {
|
|
49706
50050
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49707
50051
|
if (!parsed.ok) {
|
|
49708
50052
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -49820,12 +50164,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
49820
50164
|
});
|
|
49821
50165
|
|
|
49822
50166
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
49823
|
-
var
|
|
50167
|
+
var args45, tool$vendorsListVendorFacilityStatuses;
|
|
49824
50168
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
49825
50169
|
init_vendorsListVendorFacilityStatuses();
|
|
49826
50170
|
init_operations();
|
|
49827
50171
|
init_tools();
|
|
49828
|
-
|
|
50172
|
+
args45 = {
|
|
49829
50173
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
49830
50174
|
};
|
|
49831
50175
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -49833,9 +50177,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
49833
50177
|
description: `List vendor facility statuses
|
|
49834
50178
|
|
|
49835
50179
|
List the facilities for the vendor`,
|
|
49836
|
-
args:
|
|
49837
|
-
tool: async (client,
|
|
49838
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
50180
|
+
args: args45,
|
|
50181
|
+
tool: async (client, args46, ctx) => {
|
|
50182
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49839
50183
|
if (!result.ok) {
|
|
49840
50184
|
return {
|
|
49841
50185
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49850,9 +50194,9 @@ List the facilities for the vendor`,
|
|
|
49850
50194
|
|
|
49851
50195
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
49852
50196
|
function vendorsListVendorInvoices(client, request, options) {
|
|
49853
|
-
return new APIPromise($
|
|
50197
|
+
return new APIPromise($do48(client, request, options));
|
|
49854
50198
|
}
|
|
49855
|
-
async function $
|
|
50199
|
+
async function $do48(client, request, options) {
|
|
49856
50200
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49857
50201
|
if (!parsed.ok) {
|
|
49858
50202
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -49970,12 +50314,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
49970
50314
|
});
|
|
49971
50315
|
|
|
49972
50316
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
49973
|
-
var
|
|
50317
|
+
var args46, tool$vendorsListVendorInvoices;
|
|
49974
50318
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
49975
50319
|
init_vendorsListVendorInvoices();
|
|
49976
50320
|
init_operations();
|
|
49977
50321
|
init_tools();
|
|
49978
|
-
|
|
50322
|
+
args46 = {
|
|
49979
50323
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
49980
50324
|
};
|
|
49981
50325
|
tool$vendorsListVendorInvoices = {
|
|
@@ -49987,9 +50331,9 @@ List invoices for Vendors
|
|
|
49987
50331
|
Available \`expand\` scopes are:
|
|
49988
50332
|
|
|
49989
50333
|
invoice.line_items`,
|
|
49990
|
-
args:
|
|
49991
|
-
tool: async (client,
|
|
49992
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
50334
|
+
args: args46,
|
|
50335
|
+
tool: async (client, args47, ctx) => {
|
|
50336
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49993
50337
|
if (!result.ok) {
|
|
49994
50338
|
return {
|
|
49995
50339
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50004,9 +50348,9 @@ invoice.line_items`,
|
|
|
50004
50348
|
|
|
50005
50349
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
50006
50350
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
50007
|
-
return new APIPromise($
|
|
50351
|
+
return new APIPromise($do49(client, request, options));
|
|
50008
50352
|
}
|
|
50009
|
-
async function $
|
|
50353
|
+
async function $do49(client, request, options) {
|
|
50010
50354
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50011
50355
|
if (!parsed.ok) {
|
|
50012
50356
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50115,12 +50459,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
50115
50459
|
});
|
|
50116
50460
|
|
|
50117
50461
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
50118
|
-
var
|
|
50462
|
+
var args47, tool$vendorsListVendorJobTitles;
|
|
50119
50463
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
50120
50464
|
init_vendorsListVendorJobTitles();
|
|
50121
50465
|
init_operations();
|
|
50122
50466
|
init_tools();
|
|
50123
|
-
|
|
50467
|
+
args47 = {
|
|
50124
50468
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
50125
50469
|
};
|
|
50126
50470
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -50128,9 +50472,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
50128
50472
|
description: `List vendor job titles
|
|
50129
50473
|
|
|
50130
50474
|
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
50131
|
-
args:
|
|
50132
|
-
tool: async (client,
|
|
50133
|
-
const [result, apiCall] = await vendorsListVendorJobTitles(client,
|
|
50475
|
+
args: args47,
|
|
50476
|
+
tool: async (client, args48, ctx) => {
|
|
50477
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50134
50478
|
if (!result.ok) {
|
|
50135
50479
|
return {
|
|
50136
50480
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50145,9 +50489,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
50145
50489
|
|
|
50146
50490
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
50147
50491
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
50148
|
-
return new APIPromise($
|
|
50492
|
+
return new APIPromise($do50(client, request, options));
|
|
50149
50493
|
}
|
|
50150
|
-
async function $
|
|
50494
|
+
async function $do50(client, request, options) {
|
|
50151
50495
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50152
50496
|
if (!parsed.ok) {
|
|
50153
50497
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50261,12 +50605,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
50261
50605
|
});
|
|
50262
50606
|
|
|
50263
50607
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
50264
|
-
var
|
|
50608
|
+
var args48, tool$vendorsListVendorManagedByCompanies;
|
|
50265
50609
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
50266
50610
|
init_vendorsListVendorManagedByCompanies();
|
|
50267
50611
|
init_operations();
|
|
50268
50612
|
init_tools();
|
|
50269
|
-
|
|
50613
|
+
args48 = {
|
|
50270
50614
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
50271
50615
|
};
|
|
50272
50616
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -50274,9 +50618,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
50274
50618
|
description: `List of companies managing the vendor
|
|
50275
50619
|
|
|
50276
50620
|
List of companies managing the vendor`,
|
|
50277
|
-
args:
|
|
50278
|
-
tool: async (client,
|
|
50279
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
50621
|
+
args: args48,
|
|
50622
|
+
tool: async (client, args49, ctx) => {
|
|
50623
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50280
50624
|
if (!result.ok) {
|
|
50281
50625
|
return {
|
|
50282
50626
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50291,9 +50635,9 @@ List of companies managing the vendor`,
|
|
|
50291
50635
|
|
|
50292
50636
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
50293
50637
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
50294
|
-
return new APIPromise($
|
|
50638
|
+
return new APIPromise($do51(client, request, options));
|
|
50295
50639
|
}
|
|
50296
|
-
async function $
|
|
50640
|
+
async function $do51(client, request, options) {
|
|
50297
50641
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50298
50642
|
if (!parsed.ok) {
|
|
50299
50643
|
return [parsed, { status: "invalid" }];
|
|
@@ -50369,12 +50713,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
50369
50713
|
});
|
|
50370
50714
|
|
|
50371
50715
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
50372
|
-
var
|
|
50716
|
+
var args49, tool$vendorsListVendorScrubDetails;
|
|
50373
50717
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
50374
50718
|
init_vendorsListVendorScrubDetails();
|
|
50375
50719
|
init_operations();
|
|
50376
50720
|
init_tools();
|
|
50377
|
-
|
|
50721
|
+
args49 = {
|
|
50378
50722
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
50379
50723
|
};
|
|
50380
50724
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -50382,9 +50726,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
50382
50726
|
description: `List vendor scrub details
|
|
50383
50727
|
|
|
50384
50728
|
List vendor scrub details`,
|
|
50385
|
-
args:
|
|
50386
|
-
tool: async (client,
|
|
50387
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
50729
|
+
args: args49,
|
|
50730
|
+
tool: async (client, args50, ctx) => {
|
|
50731
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50388
50732
|
if (!result.ok) {
|
|
50389
50733
|
return {
|
|
50390
50734
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50399,9 +50743,9 @@ List vendor scrub details`,
|
|
|
50399
50743
|
|
|
50400
50744
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
50401
50745
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
50402
|
-
return new APIPromise($
|
|
50746
|
+
return new APIPromise($do52(client, request, options));
|
|
50403
50747
|
}
|
|
50404
|
-
async function $
|
|
50748
|
+
async function $do52(client, request, options) {
|
|
50405
50749
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50406
50750
|
if (!parsed.ok) {
|
|
50407
50751
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50515,12 +50859,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
50515
50859
|
});
|
|
50516
50860
|
|
|
50517
50861
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
50518
|
-
var
|
|
50862
|
+
var args50, tool$vendorsListVendorScrubPackages;
|
|
50519
50863
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
50520
50864
|
init_vendorsListVendorScrubPackages();
|
|
50521
50865
|
init_operations();
|
|
50522
50866
|
init_tools();
|
|
50523
|
-
|
|
50867
|
+
args50 = {
|
|
50524
50868
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
50525
50869
|
};
|
|
50526
50870
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -50528,9 +50872,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
50528
50872
|
description: `List vendor scrub packages
|
|
50529
50873
|
|
|
50530
50874
|
List vendor scrub packages`,
|
|
50531
|
-
args:
|
|
50532
|
-
tool: async (client,
|
|
50533
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
50875
|
+
args: args50,
|
|
50876
|
+
tool: async (client, args51, ctx) => {
|
|
50877
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50534
50878
|
if (!result.ok) {
|
|
50535
50879
|
return {
|
|
50536
50880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50545,9 +50889,9 @@ List vendor scrub packages`,
|
|
|
50545
50889
|
|
|
50546
50890
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
50547
50891
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
50548
|
-
return new APIPromise($
|
|
50892
|
+
return new APIPromise($do53(client, request, options));
|
|
50549
50893
|
}
|
|
50550
|
-
async function $
|
|
50894
|
+
async function $do53(client, request, options) {
|
|
50551
50895
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50552
50896
|
if (!parsed.ok) {
|
|
50553
50897
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50661,12 +51005,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
50661
51005
|
});
|
|
50662
51006
|
|
|
50663
51007
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
50664
|
-
var
|
|
51008
|
+
var args51, tool$vendorsListVendorScrubPurchases;
|
|
50665
51009
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
50666
51010
|
init_vendorsListVendorScrubPurchases();
|
|
50667
51011
|
init_operations();
|
|
50668
51012
|
init_tools();
|
|
50669
|
-
|
|
51013
|
+
args51 = {
|
|
50670
51014
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
50671
51015
|
};
|
|
50672
51016
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -50674,9 +51018,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
50674
51018
|
description: `List vendor scrub purchases
|
|
50675
51019
|
|
|
50676
51020
|
List vendor scrub purchases`,
|
|
50677
|
-
args:
|
|
50678
|
-
tool: async (client,
|
|
50679
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
51021
|
+
args: args51,
|
|
51022
|
+
tool: async (client, args52, ctx) => {
|
|
51023
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50680
51024
|
if (!result.ok) {
|
|
50681
51025
|
return {
|
|
50682
51026
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50691,9 +51035,9 @@ List vendor scrub purchases`,
|
|
|
50691
51035
|
|
|
50692
51036
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
50693
51037
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
50694
|
-
return new APIPromise($
|
|
51038
|
+
return new APIPromise($do54(client, request, options));
|
|
50695
51039
|
}
|
|
50696
|
-
async function $
|
|
51040
|
+
async function $do54(client, request, options) {
|
|
50697
51041
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50698
51042
|
if (!parsed.ok) {
|
|
50699
51043
|
return [parsed, { status: "invalid" }];
|
|
@@ -50769,12 +51113,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
50769
51113
|
});
|
|
50770
51114
|
|
|
50771
51115
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
50772
|
-
var
|
|
51116
|
+
var args52, tool$vendorsPurchaseScrubCredits;
|
|
50773
51117
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
50774
51118
|
init_vendorsPurchaseScrubCredits();
|
|
50775
51119
|
init_operations();
|
|
50776
51120
|
init_tools();
|
|
50777
|
-
|
|
51121
|
+
args52 = {
|
|
50778
51122
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
50779
51123
|
};
|
|
50780
51124
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -50782,9 +51126,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
50782
51126
|
description: `Purchase scrub credits
|
|
50783
51127
|
|
|
50784
51128
|
Purchase scrub credits`,
|
|
50785
|
-
args:
|
|
50786
|
-
tool: async (client,
|
|
50787
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
51129
|
+
args: args52,
|
|
51130
|
+
tool: async (client, args53, ctx) => {
|
|
51131
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50788
51132
|
if (!result.ok) {
|
|
50789
51133
|
return {
|
|
50790
51134
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50799,9 +51143,9 @@ Purchase scrub credits`,
|
|
|
50799
51143
|
|
|
50800
51144
|
// src/funcs/vendorsSendDownloadCode.ts
|
|
50801
51145
|
function vendorsSendDownloadCode(client, request, options) {
|
|
50802
|
-
return new APIPromise($
|
|
51146
|
+
return new APIPromise($do55(client, request, options));
|
|
50803
51147
|
}
|
|
50804
|
-
async function $
|
|
51148
|
+
async function $do55(client, request, options) {
|
|
50805
51149
|
const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50806
51150
|
if (!parsed.ok) {
|
|
50807
51151
|
return [parsed, { status: "invalid" }];
|
|
@@ -50875,12 +51219,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
|
|
|
50875
51219
|
});
|
|
50876
51220
|
|
|
50877
51221
|
// src/mcp-server/tools/vendorsSendDownloadCode.ts
|
|
50878
|
-
var
|
|
51222
|
+
var args53, tool$vendorsSendDownloadCode;
|
|
50879
51223
|
var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
50880
51224
|
init_vendorsSendDownloadCode();
|
|
50881
51225
|
init_operations();
|
|
50882
51226
|
init_tools();
|
|
50883
|
-
|
|
51227
|
+
args53 = {
|
|
50884
51228
|
request: SendDownloadCodeRequest$inboundSchema
|
|
50885
51229
|
};
|
|
50886
51230
|
tool$vendorsSendDownloadCode = {
|
|
@@ -50888,9 +51232,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
|
50888
51232
|
description: `Send download code for vendor credential
|
|
50889
51233
|
|
|
50890
51234
|
It will send download code for vendor credential`,
|
|
50891
|
-
args:
|
|
50892
|
-
tool: async (client,
|
|
50893
|
-
const [result, apiCall] = await vendorsSendDownloadCode(client,
|
|
51235
|
+
args: args53,
|
|
51236
|
+
tool: async (client, args54, ctx) => {
|
|
51237
|
+
const [result, apiCall] = await vendorsSendDownloadCode(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50894
51238
|
if (!result.ok) {
|
|
50895
51239
|
return {
|
|
50896
51240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50905,9 +51249,9 @@ It will send download code for vendor credential`,
|
|
|
50905
51249
|
|
|
50906
51250
|
// src/funcs/vendorsSubmitVendorCredential.ts
|
|
50907
51251
|
function vendorsSubmitVendorCredential(client, request, options) {
|
|
50908
|
-
return new APIPromise($
|
|
51252
|
+
return new APIPromise($do56(client, request, options));
|
|
50909
51253
|
}
|
|
50910
|
-
async function $
|
|
51254
|
+
async function $do56(client, request, options) {
|
|
50911
51255
|
const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50912
51256
|
if (!parsed.ok) {
|
|
50913
51257
|
return [parsed, { status: "invalid" }];
|
|
@@ -50981,12 +51325,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
|
|
|
50981
51325
|
});
|
|
50982
51326
|
|
|
50983
51327
|
// src/mcp-server/tools/vendorsSubmitVendorCredential.ts
|
|
50984
|
-
var
|
|
51328
|
+
var args54, tool$vendorsSubmitVendorCredential;
|
|
50985
51329
|
var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
50986
51330
|
init_vendorsSubmitVendorCredential();
|
|
50987
51331
|
init_operations();
|
|
50988
51332
|
init_tools();
|
|
50989
|
-
|
|
51333
|
+
args54 = {
|
|
50990
51334
|
request: SubmitVendorCredentialRequest$inboundSchema
|
|
50991
51335
|
};
|
|
50992
51336
|
tool$vendorsSubmitVendorCredential = {
|
|
@@ -50994,9 +51338,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
|
50994
51338
|
description: `Submit vendor credential
|
|
50995
51339
|
|
|
50996
51340
|
It will submit vendor credential`,
|
|
50997
|
-
args:
|
|
50998
|
-
tool: async (client,
|
|
50999
|
-
const [result, apiCall] = await vendorsSubmitVendorCredential(client,
|
|
51341
|
+
args: args54,
|
|
51342
|
+
tool: async (client, args55, ctx) => {
|
|
51343
|
+
const [result, apiCall] = await vendorsSubmitVendorCredential(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51000
51344
|
if (!result.ok) {
|
|
51001
51345
|
return {
|
|
51002
51346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51011,9 +51355,9 @@ It will submit vendor credential`,
|
|
|
51011
51355
|
|
|
51012
51356
|
// src/funcs/vendorsUpdateVendorCredentialData.ts
|
|
51013
51357
|
function vendorsUpdateVendorCredentialData(client, request, options) {
|
|
51014
|
-
return new APIPromise($
|
|
51358
|
+
return new APIPromise($do57(client, request, options));
|
|
51015
51359
|
}
|
|
51016
|
-
async function $
|
|
51360
|
+
async function $do57(client, request, options) {
|
|
51017
51361
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51018
51362
|
if (!parsed.ok) {
|
|
51019
51363
|
return [parsed, { status: "invalid" }];
|
|
@@ -51094,12 +51438,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
|
|
|
51094
51438
|
});
|
|
51095
51439
|
|
|
51096
51440
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
|
|
51097
|
-
var
|
|
51441
|
+
var args55, tool$vendorsUpdateVendorCredentialData;
|
|
51098
51442
|
var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
51099
51443
|
init_vendorsUpdateVendorCredentialData();
|
|
51100
51444
|
init_operations();
|
|
51101
51445
|
init_tools();
|
|
51102
|
-
|
|
51446
|
+
args55 = {
|
|
51103
51447
|
request: UpdateVendorCredentialDataRequest$inboundSchema
|
|
51104
51448
|
};
|
|
51105
51449
|
tool$vendorsUpdateVendorCredentialData = {
|
|
@@ -51107,9 +51451,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
|
51107
51451
|
description: `Update vendor credential data
|
|
51108
51452
|
|
|
51109
51453
|
Update vendor credential data`,
|
|
51110
|
-
args:
|
|
51111
|
-
tool: async (client,
|
|
51112
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client,
|
|
51454
|
+
args: args55,
|
|
51455
|
+
tool: async (client, args56, ctx) => {
|
|
51456
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51113
51457
|
if (!result.ok) {
|
|
51114
51458
|
return {
|
|
51115
51459
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51124,9 +51468,9 @@ Update vendor credential data`,
|
|
|
51124
51468
|
|
|
51125
51469
|
// src/funcs/vendorsUpdateVendorCredentialFile.ts
|
|
51126
51470
|
function vendorsUpdateVendorCredentialFile(client, request, options) {
|
|
51127
|
-
return new APIPromise($
|
|
51471
|
+
return new APIPromise($do58(client, request, options));
|
|
51128
51472
|
}
|
|
51129
|
-
async function $
|
|
51473
|
+
async function $do58(client, request, options) {
|
|
51130
51474
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51131
51475
|
if (!parsed.ok) {
|
|
51132
51476
|
return [parsed, { status: "invalid" }];
|
|
@@ -51204,12 +51548,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
|
|
|
51204
51548
|
});
|
|
51205
51549
|
|
|
51206
51550
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
|
|
51207
|
-
var
|
|
51551
|
+
var args56, tool$vendorsUpdateVendorCredentialFile;
|
|
51208
51552
|
var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
51209
51553
|
init_vendorsUpdateVendorCredentialFile();
|
|
51210
51554
|
init_operations();
|
|
51211
51555
|
init_tools();
|
|
51212
|
-
|
|
51556
|
+
args56 = {
|
|
51213
51557
|
request: UpdateVendorCredentialFileRequest$inboundSchema
|
|
51214
51558
|
};
|
|
51215
51559
|
tool$vendorsUpdateVendorCredentialFile = {
|
|
@@ -51217,9 +51561,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
|
51217
51561
|
description: `Update vendor credential file
|
|
51218
51562
|
|
|
51219
51563
|
It will update the vendor credential file properties`,
|
|
51220
|
-
args:
|
|
51221
|
-
tool: async (client,
|
|
51222
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client,
|
|
51564
|
+
args: args56,
|
|
51565
|
+
tool: async (client, args57, ctx) => {
|
|
51566
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51223
51567
|
if (!result.ok) {
|
|
51224
51568
|
return {
|
|
51225
51569
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51234,9 +51578,9 @@ It will update the vendor credential file properties`,
|
|
|
51234
51578
|
|
|
51235
51579
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
51236
51580
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
51237
|
-
return new APIPromise($
|
|
51581
|
+
return new APIPromise($do59(client, request, options));
|
|
51238
51582
|
}
|
|
51239
|
-
async function $
|
|
51583
|
+
async function $do59(client, request, options) {
|
|
51240
51584
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51241
51585
|
if (!parsed.ok) {
|
|
51242
51586
|
return [parsed, { status: "invalid" }];
|
|
@@ -51313,12 +51657,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
51313
51657
|
});
|
|
51314
51658
|
|
|
51315
51659
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
51316
|
-
var
|
|
51660
|
+
var args57, tool$vendorsUpdateVendorDetails;
|
|
51317
51661
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
51318
51662
|
init_vendorsUpdateVendorDetails();
|
|
51319
51663
|
init_operations();
|
|
51320
51664
|
init_tools();
|
|
51321
|
-
|
|
51665
|
+
args57 = {
|
|
51322
51666
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
51323
51667
|
};
|
|
51324
51668
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -51326,9 +51670,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
51326
51670
|
description: `Update vendor details
|
|
51327
51671
|
|
|
51328
51672
|
It will update the vendor details`,
|
|
51329
|
-
args:
|
|
51330
|
-
tool: async (client,
|
|
51331
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
51673
|
+
args: args57,
|
|
51674
|
+
tool: async (client, args58, ctx) => {
|
|
51675
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51332
51676
|
if (!result.ok) {
|
|
51333
51677
|
return {
|
|
51334
51678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51343,9 +51687,9 @@ It will update the vendor details`,
|
|
|
51343
51687
|
|
|
51344
51688
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
51345
51689
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
51346
|
-
return new APIPromise($
|
|
51690
|
+
return new APIPromise($do60(client, request, options));
|
|
51347
51691
|
}
|
|
51348
|
-
async function $
|
|
51692
|
+
async function $do60(client, request, options) {
|
|
51349
51693
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51350
51694
|
if (!parsed.ok) {
|
|
51351
51695
|
return [parsed, { status: "invalid" }];
|
|
@@ -51421,12 +51765,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
51421
51765
|
});
|
|
51422
51766
|
|
|
51423
51767
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
51424
|
-
var
|
|
51768
|
+
var args58, tool$vendorsUpdateVendorManagedByCompany;
|
|
51425
51769
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
51426
51770
|
init_vendorsUpdateVendorManagedByCompany();
|
|
51427
51771
|
init_operations();
|
|
51428
51772
|
init_tools();
|
|
51429
|
-
|
|
51773
|
+
args58 = {
|
|
51430
51774
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
51431
51775
|
};
|
|
51432
51776
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -51434,9 +51778,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
51434
51778
|
description: `Update vendor managed by company access rights
|
|
51435
51779
|
|
|
51436
51780
|
It will update the vendor managed by company access rights`,
|
|
51437
|
-
args:
|
|
51438
|
-
tool: async (client,
|
|
51439
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
51781
|
+
args: args58,
|
|
51782
|
+
tool: async (client, args59, ctx) => {
|
|
51783
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51440
51784
|
if (!result.ok) {
|
|
51441
51785
|
return {
|
|
51442
51786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51451,9 +51795,9 @@ It will update the vendor managed by company access rights`,
|
|
|
51451
51795
|
|
|
51452
51796
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
51453
51797
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
51454
|
-
return new APIPromise($
|
|
51798
|
+
return new APIPromise($do61(client, request, options));
|
|
51455
51799
|
}
|
|
51456
|
-
async function $
|
|
51800
|
+
async function $do61(client, request, options) {
|
|
51457
51801
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51458
51802
|
if (!parsed.ok) {
|
|
51459
51803
|
return [parsed, { status: "invalid" }];
|
|
@@ -51530,12 +51874,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
51530
51874
|
});
|
|
51531
51875
|
|
|
51532
51876
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
51533
|
-
var
|
|
51877
|
+
var args59, tool$vendorsUpdateVendorScrubDetails;
|
|
51534
51878
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
51535
51879
|
init_vendorsUpdateVendorScrubDetails();
|
|
51536
51880
|
init_operations();
|
|
51537
51881
|
init_tools();
|
|
51538
|
-
|
|
51882
|
+
args59 = {
|
|
51539
51883
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
51540
51884
|
};
|
|
51541
51885
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -51543,9 +51887,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
51543
51887
|
description: `Update vendor scrub details
|
|
51544
51888
|
|
|
51545
51889
|
Update vendor scrub details`,
|
|
51546
|
-
args:
|
|
51547
|
-
tool: async (client,
|
|
51548
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
51890
|
+
args: args59,
|
|
51891
|
+
tool: async (client, args60, ctx) => {
|
|
51892
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51549
51893
|
if (!result.ok) {
|
|
51550
51894
|
return {
|
|
51551
51895
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51560,9 +51904,9 @@ Update vendor scrub details`,
|
|
|
51560
51904
|
|
|
51561
51905
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
51562
51906
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
51563
|
-
return new APIPromise($
|
|
51907
|
+
return new APIPromise($do62(client, request, options));
|
|
51564
51908
|
}
|
|
51565
|
-
async function $
|
|
51909
|
+
async function $do62(client, request, options) {
|
|
51566
51910
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51567
51911
|
if (!parsed.ok) {
|
|
51568
51912
|
return [parsed, { status: "invalid" }];
|
|
@@ -51638,12 +51982,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
51638
51982
|
});
|
|
51639
51983
|
|
|
51640
51984
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
51641
|
-
var
|
|
51985
|
+
var args60, tool$webhooksGetWebhookEndpoint;
|
|
51642
51986
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
51643
51987
|
init_webhooksGetWebhookEndpoint();
|
|
51644
51988
|
init_operations();
|
|
51645
51989
|
init_tools();
|
|
51646
|
-
|
|
51990
|
+
args60 = {
|
|
51647
51991
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
51648
51992
|
};
|
|
51649
51993
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -51651,9 +51995,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
51651
51995
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
51652
51996
|
|
|
51653
51997
|
Returns the definition of a webhook endpoint by ID.`,
|
|
51654
|
-
args:
|
|
51655
|
-
tool: async (client,
|
|
51656
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
51998
|
+
args: args60,
|
|
51999
|
+
tool: async (client, args61, ctx) => {
|
|
52000
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51657
52001
|
if (!result.ok) {
|
|
51658
52002
|
return {
|
|
51659
52003
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51668,9 +52012,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
51668
52012
|
|
|
51669
52013
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
51670
52014
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
51671
|
-
return new APIPromise($
|
|
52015
|
+
return new APIPromise($do63(client, request, options));
|
|
51672
52016
|
}
|
|
51673
|
-
async function $
|
|
52017
|
+
async function $do63(client, request, options) {
|
|
51674
52018
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51675
52019
|
if (!parsed.ok) {
|
|
51676
52020
|
return [parsed, { status: "invalid" }];
|
|
@@ -51746,12 +52090,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
51746
52090
|
});
|
|
51747
52091
|
|
|
51748
52092
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
51749
|
-
var
|
|
52093
|
+
var args61, tool$webhooksListAllWebhookEndpoints;
|
|
51750
52094
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
51751
52095
|
init_webhooksListAllWebhookEndpoints();
|
|
51752
52096
|
init_operations();
|
|
51753
52097
|
init_tools();
|
|
51754
|
-
|
|
52098
|
+
args61 = {
|
|
51755
52099
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
51756
52100
|
};
|
|
51757
52101
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -51759,9 +52103,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
51759
52103
|
description: `List all webhook endpoints
|
|
51760
52104
|
|
|
51761
52105
|
Returns a list of your webhook endpoints.`,
|
|
51762
|
-
args:
|
|
51763
|
-
tool: async (client,
|
|
51764
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
52106
|
+
args: args61,
|
|
52107
|
+
tool: async (client, args62, ctx) => {
|
|
52108
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51765
52109
|
if (!result.ok) {
|
|
51766
52110
|
return {
|
|
51767
52111
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51776,9 +52120,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
51776
52120
|
|
|
51777
52121
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
51778
52122
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
51779
|
-
return new APIPromise($
|
|
52123
|
+
return new APIPromise($do64(client, request, options));
|
|
51780
52124
|
}
|
|
51781
|
-
async function $
|
|
52125
|
+
async function $do64(client, request, options) {
|
|
51782
52126
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51783
52127
|
if (!parsed.ok) {
|
|
51784
52128
|
return [parsed, { status: "invalid" }];
|
|
@@ -51855,12 +52199,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
51855
52199
|
});
|
|
51856
52200
|
|
|
51857
52201
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
51858
|
-
var
|
|
52202
|
+
var args62, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
51859
52203
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
51860
52204
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
51861
52205
|
init_operations();
|
|
51862
52206
|
init_tools();
|
|
51863
|
-
|
|
52207
|
+
args62 = {
|
|
51864
52208
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
51865
52209
|
};
|
|
51866
52210
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -51868,9 +52212,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
51868
52212
|
description: `Updates the webhook endpoint with the given ID.
|
|
51869
52213
|
|
|
51870
52214
|
Updates the webhook endpoint with the given ID.`,
|
|
51871
|
-
args:
|
|
51872
|
-
tool: async (client,
|
|
51873
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
52215
|
+
args: args62,
|
|
52216
|
+
tool: async (client, args63, ctx) => {
|
|
52217
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51874
52218
|
if (!result.ok) {
|
|
51875
52219
|
return {
|
|
51876
52220
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51885,9 +52229,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
51885
52229
|
|
|
51886
52230
|
// src/funcs/zonesGetSecurityZone.ts
|
|
51887
52231
|
function zonesGetSecurityZone(client, request, options) {
|
|
51888
|
-
return new APIPromise($
|
|
52232
|
+
return new APIPromise($do65(client, request, options));
|
|
51889
52233
|
}
|
|
51890
|
-
async function $
|
|
52234
|
+
async function $do65(client, request, options) {
|
|
51891
52235
|
const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51892
52236
|
if (!parsed.ok) {
|
|
51893
52237
|
return [parsed, { status: "invalid" }];
|
|
@@ -51967,12 +52311,12 @@ var init_zonesGetSecurityZone = __esm(() => {
|
|
|
51967
52311
|
});
|
|
51968
52312
|
|
|
51969
52313
|
// src/mcp-server/tools/zonesGetSecurityZone.ts
|
|
51970
|
-
var
|
|
52314
|
+
var args63, tool$zonesGetSecurityZone;
|
|
51971
52315
|
var init_zonesGetSecurityZone2 = __esm(() => {
|
|
51972
52316
|
init_zonesGetSecurityZone();
|
|
51973
52317
|
init_operations();
|
|
51974
52318
|
init_tools();
|
|
51975
|
-
|
|
52319
|
+
args63 = {
|
|
51976
52320
|
request: GetSecurityZoneRequest$inboundSchema
|
|
51977
52321
|
};
|
|
51978
52322
|
tool$zonesGetSecurityZone = {
|
|
@@ -51986,9 +52330,9 @@ Available \`expand\` scopes are:
|
|
|
51986
52330
|
- zone.facility
|
|
51987
52331
|
- zone.department
|
|
51988
52332
|
- zone.rules`,
|
|
51989
|
-
args:
|
|
51990
|
-
tool: async (client,
|
|
51991
|
-
const [result, apiCall] = await zonesGetSecurityZone(client,
|
|
52333
|
+
args: args63,
|
|
52334
|
+
tool: async (client, args64, ctx) => {
|
|
52335
|
+
const [result, apiCall] = await zonesGetSecurityZone(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51992
52336
|
if (!result.ok) {
|
|
51993
52337
|
return {
|
|
51994
52338
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52003,9 +52347,9 @@ Available \`expand\` scopes are:
|
|
|
52003
52347
|
|
|
52004
52348
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
52005
52349
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
52006
|
-
return new APIPromise($
|
|
52350
|
+
return new APIPromise($do66(client, request, options));
|
|
52007
52351
|
}
|
|
52008
|
-
async function $
|
|
52352
|
+
async function $do66(client, request, options) {
|
|
52009
52353
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52010
52354
|
if (!parsed.ok) {
|
|
52011
52355
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -52119,12 +52463,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
52119
52463
|
});
|
|
52120
52464
|
|
|
52121
52465
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
52122
|
-
var
|
|
52466
|
+
var args64, tool$zonesListOrSearchSecurityZones;
|
|
52123
52467
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
52124
52468
|
init_zonesListOrSearchSecurityZones();
|
|
52125
52469
|
init_operations();
|
|
52126
52470
|
init_tools();
|
|
52127
|
-
|
|
52471
|
+
args64 = {
|
|
52128
52472
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
52129
52473
|
};
|
|
52130
52474
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -52132,9 +52476,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
52132
52476
|
description: `List or search security zones
|
|
52133
52477
|
|
|
52134
52478
|
List or search security zones`,
|
|
52135
|
-
args:
|
|
52136
|
-
tool: async (client,
|
|
52137
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
52479
|
+
args: args64,
|
|
52480
|
+
tool: async (client, args65, ctx) => {
|
|
52481
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52138
52482
|
if (!result.ok) {
|
|
52139
52483
|
return {
|
|
52140
52484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52149,9 +52493,9 @@ List or search security zones`,
|
|
|
52149
52493
|
|
|
52150
52494
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
52151
52495
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
52152
|
-
return new APIPromise($
|
|
52496
|
+
return new APIPromise($do67(client, request, options));
|
|
52153
52497
|
}
|
|
52154
|
-
async function $
|
|
52498
|
+
async function $do67(client, request, options) {
|
|
52155
52499
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
52156
52500
|
if (!parsed.ok) {
|
|
52157
52501
|
return [parsed, { status: "invalid" }];
|
|
@@ -52221,12 +52565,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
52221
52565
|
});
|
|
52222
52566
|
|
|
52223
52567
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
52224
|
-
var
|
|
52568
|
+
var args65, tool$zonesSecurityZoneCheckin;
|
|
52225
52569
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
52226
52570
|
init_zonesSecurityZoneCheckin();
|
|
52227
52571
|
init_operations();
|
|
52228
52572
|
init_tools();
|
|
52229
|
-
|
|
52573
|
+
args65 = {
|
|
52230
52574
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
52231
52575
|
};
|
|
52232
52576
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -52234,9 +52578,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
52234
52578
|
description: `Security zone checkin request
|
|
52235
52579
|
|
|
52236
52580
|
Security zone checkin request`,
|
|
52237
|
-
args:
|
|
52238
|
-
tool: async (client,
|
|
52239
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
52581
|
+
args: args65,
|
|
52582
|
+
tool: async (client, args66, ctx) => {
|
|
52583
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52240
52584
|
if (!result.ok) {
|
|
52241
52585
|
return {
|
|
52242
52586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52253,7 +52597,7 @@ Security zone checkin request`,
|
|
|
52253
52597
|
function createMCPServer(deps) {
|
|
52254
52598
|
const server = new McpServer({
|
|
52255
52599
|
name: "GreenSecurity",
|
|
52256
|
-
version: "0.37.
|
|
52600
|
+
version: "0.37.10"
|
|
52257
52601
|
});
|
|
52258
52602
|
const client = new GreenSecurityCore({
|
|
52259
52603
|
security: deps.security,
|
|
@@ -52305,6 +52649,8 @@ function createMCPServer(deps) {
|
|
|
52305
52649
|
tool(tool$vendorsUpdateVendorManagedByCompany);
|
|
52306
52650
|
tool(tool$vendorsPurchaseScrubCredits);
|
|
52307
52651
|
tool(tool$vendorsCreateVendorCompany);
|
|
52652
|
+
tool(tool$vendorsCalculateSubscriptionPrice);
|
|
52653
|
+
tool(tool$vendorsChangeSubscription);
|
|
52308
52654
|
tool(tool$usersGetCurrentUser);
|
|
52309
52655
|
tool(tool$usersGetUserById);
|
|
52310
52656
|
tool(tool$usersPostAuthenticate);
|
|
@@ -52362,7 +52708,9 @@ var init_server2 = __esm(() => {
|
|
|
52362
52708
|
init_vendorsAcceptVendorCredential2();
|
|
52363
52709
|
init_vendorsAddVendorCredentialFile2();
|
|
52364
52710
|
init_vendorsAddVendorManagedByCompany2();
|
|
52711
|
+
init_vendorsCalculateSubscriptionPrice2();
|
|
52365
52712
|
init_vendorScansVendorScanOut2();
|
|
52713
|
+
init_vendorsChangeSubscription2();
|
|
52366
52714
|
init_vendorsCheckDownloadCode2();
|
|
52367
52715
|
init_vendorsCreateNewVendorCredentialVersion2();
|
|
52368
52716
|
init_vendorsCreateOrUpdateBcr2();
|
|
@@ -53595,7 +53943,7 @@ var routes = rn({
|
|
|
53595
53943
|
var app = Ve(routes, {
|
|
53596
53944
|
name: "mcp",
|
|
53597
53945
|
versionInfo: {
|
|
53598
|
-
currentVersion: "0.37.
|
|
53946
|
+
currentVersion: "0.37.10"
|
|
53599
53947
|
}
|
|
53600
53948
|
});
|
|
53601
53949
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -53603,5 +53951,5 @@ export {
|
|
|
53603
53951
|
app
|
|
53604
53952
|
};
|
|
53605
53953
|
|
|
53606
|
-
//# debugId=
|
|
53954
|
+
//# debugId=AE033C35D4E79E9A64756E2164756E21
|
|
53607
53955
|
//# sourceMappingURL=mcp-server.js.map
|