@greensecurity/javascript-sdk 0.19.0 → 0.21.3
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/REACT_QUERY.md +15 -15
- package/README.md +93 -9
- package/bin/mcp-server.js +1734 -271
- package/bin/mcp-server.js.map +50 -26
- package/funcs/organizationsListOrSearchFacilities.d.ts +2 -1
- package/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/funcs/organizationsListOrSearchFacilities.js +3 -2
- package/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/funcs/vendorScansVendorScanOut.d.ts +17 -0
- package/funcs/vendorScansVendorScanOut.d.ts.map +1 -0
- package/funcs/vendorScansVendorScanOut.js +120 -0
- package/funcs/vendorScansVendorScanOut.js.map +1 -0
- package/funcs/vendorsGetVendorsDetails.d.ts +32 -0
- package/funcs/vendorsGetVendorsDetails.d.ts.map +1 -0
- package/funcs/vendorsGetVendorsDetails.js +139 -0
- package/funcs/vendorsGetVendorsDetails.js.map +1 -0
- package/funcs/vendorsListVendorCredentials.d.ts +4 -1
- package/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
- package/funcs/vendorsListVendorCredentials.js +46 -6
- package/funcs/vendorsListVendorCredentials.js.map +1 -1
- package/funcs/vendorsListVendorFacilityStatuses.d.ts +1 -1
- package/funcs/vendorsListVendorFacilityStatuses.d.ts.map +1 -1
- package/funcs/vendorsListVendorFacilityStatuses.js +3 -2
- package/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
- package/funcs/vendorsListVendorJobTitles.d.ts +1 -1
- package/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/funcs/vendorsListVendorJobTitles.js +21 -6
- package/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/funcs/vendorsListVendorScrubDetails.d.ts +18 -0
- package/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -0
- package/funcs/vendorsListVendorScrubDetails.js +121 -0
- package/funcs/vendorsListVendorScrubDetails.js.map +1 -0
- package/funcs/vendorsListVendorScrubPurchases.d.ts +20 -0
- package/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -0
- package/funcs/vendorsListVendorScrubPurchases.js +160 -0
- package/funcs/vendorsListVendorScrubPurchases.js.map +1 -0
- package/funcs/webhooksGetWebhookEndpoint.d.ts +18 -0
- package/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -0
- package/funcs/webhooksGetWebhookEndpoint.js +121 -0
- package/funcs/webhooksGetWebhookEndpoint.js.map +1 -0
- package/funcs/webhooksListAllWebhookEndpoints.d.ts +17 -0
- package/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -0
- package/funcs/webhooksListAllWebhookEndpoints.js +121 -0
- package/funcs/webhooksListAllWebhookEndpoints.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.js.map +1 -1
- package/mcp-server/extensions.d.ts +2 -0
- package/mcp-server/extensions.d.ts.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/prompts.d.ts +26 -0
- package/mcp-server/prompts.d.ts.map +1 -0
- package/mcp-server/prompts.js +47 -0
- package/mcp-server/prompts.js.map +1 -0
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js +1 -0
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +16 -4
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/vendorScansVendorScanOut.d.ts +8 -0
- package/mcp-server/tools/vendorScansVendorScanOut.d.ts.map +1 -0
- package/mcp-server/tools/{userPasswordResetRequest.js → vendorScansVendorScanOut.js} +9 -9
- package/mcp-server/tools/{userPasswordResetRequest.js.map → vendorScansVendorScanOut.js.map} +1 -1
- package/mcp-server/tools/vendorsGetVendorsDetails.d.ts +8 -0
- package/mcp-server/tools/vendorsGetVendorsDetails.d.ts.map +1 -0
- package/mcp-server/tools/vendorsGetVendorsDetails.js +78 -0
- package/mcp-server/tools/vendorsGetVendorsDetails.js.map +1 -0
- package/mcp-server/tools/vendorsListVendorCredentials.js +1 -1
- package/mcp-server/tools/vendorsListVendorCredentials.js.map +1 -1
- package/mcp-server/tools/vendorsListVendorScrubDetails.d.ts +8 -0
- package/mcp-server/tools/vendorsListVendorScrubDetails.d.ts.map +1 -0
- package/mcp-server/tools/{userGetUserById.js → vendorsListVendorScrubDetails.js} +9 -9
- package/mcp-server/tools/vendorsListVendorScrubDetails.js.map +1 -0
- package/mcp-server/tools/vendorsListVendorScrubPurchases.d.ts +8 -0
- package/mcp-server/tools/vendorsListVendorScrubPurchases.d.ts.map +1 -0
- package/mcp-server/tools/{userPassword.js → vendorsListVendorScrubPurchases.js} +10 -11
- package/mcp-server/tools/vendorsListVendorScrubPurchases.js.map +1 -0
- package/mcp-server/tools/webhooksGetWebhookEndpoint.d.ts +8 -0
- package/mcp-server/tools/webhooksGetWebhookEndpoint.d.ts.map +1 -0
- package/mcp-server/tools/{vendorsListVendorJobTitles.js → webhooksGetWebhookEndpoint.js} +10 -10
- package/mcp-server/tools/webhooksGetWebhookEndpoint.js.map +1 -0
- package/mcp-server/tools/webhooksListAllWebhookEndpoints.d.ts +8 -0
- package/mcp-server/tools/webhooksListAllWebhookEndpoints.d.ts.map +1 -0
- package/mcp-server/tools/{userMagiclink.js → webhooksListAllWebhookEndpoints.js} +9 -9
- package/mcp-server/tools/webhooksListAllWebhookEndpoints.js.map +1 -0
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +1 -0
- package/mcp-server/tools.js.map +1 -1
- package/models/components/company.d.ts +15 -15
- package/models/components/company.d.ts.map +1 -1
- package/models/components/company.js +19 -18
- package/models/components/company.js.map +1 -1
- package/models/components/contact.d.ts +13 -13
- package/models/components/contact.d.ts.map +1 -1
- package/models/components/contact.js +16 -16
- package/models/components/contact.js.map +1 -1
- package/models/components/department.d.ts +34 -0
- package/models/components/department.d.ts.map +1 -0
- package/models/components/department.js +71 -0
- package/models/components/department.js.map +1 -0
- package/models/components/expand.d.ts +24 -0
- package/models/components/expand.d.ts.map +1 -1
- package/models/components/expand.js +8 -0
- package/models/components/expand.js.map +1 -1
- package/models/components/facility.d.ts +17 -17
- package/models/components/facility.d.ts.map +1 -1
- package/models/components/facility.js +20 -20
- package/models/components/facility.js.map +1 -1
- package/models/components/index.d.ts +7 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -0
- package/models/components/index.js.map +1 -1
- package/models/components/scantype.d.ts +31 -0
- package/models/components/scantype.d.ts.map +1 -0
- package/models/components/scantype.js +62 -0
- package/models/components/scantype.js.map +1 -0
- package/models/components/subscription.d.ts +42 -0
- package/models/components/subscription.d.ts.map +1 -0
- package/models/components/subscription.js +92 -0
- package/models/components/subscription.js.map +1 -0
- package/models/components/user.d.ts +8 -25
- package/models/components/user.d.ts.map +1 -1
- package/models/components/user.js +8 -31
- package/models/components/user.js.map +1 -1
- package/models/components/vendor.d.ts +374 -0
- package/models/components/vendor.d.ts.map +1 -0
- package/models/components/vendor.js +523 -0
- package/models/components/vendor.js.map +1 -0
- package/models/components/vendorscrubdetails.d.ts +42 -0
- package/models/components/vendorscrubdetails.d.ts.map +1 -0
- package/models/components/vendorscrubdetails.js +98 -0
- package/models/components/vendorscrubdetails.js.map +1 -0
- package/models/components/vendorscrubpurchase.d.ts +38 -0
- package/models/components/vendorscrubpurchase.d.ts.map +1 -0
- package/models/components/vendorscrubpurchase.js +84 -0
- package/models/components/vendorscrubpurchase.js.map +1 -0
- package/models/components/webhookendpoint.d.ts +135 -0
- package/models/components/webhookendpoint.d.ts.map +1 -0
- package/models/components/webhookendpoint.js +158 -0
- package/models/components/webhookendpoint.js.map +1 -0
- package/models/operations/getvendorsdetails.d.ts +38 -0
- package/models/operations/getvendorsdetails.d.ts.map +1 -0
- package/models/operations/getvendorsdetails.js +81 -0
- package/models/operations/getvendorsdetails.js.map +1 -0
- package/models/operations/getwebhookendpoint.d.ts +32 -0
- package/models/operations/getwebhookendpoint.d.ts.map +1 -0
- package/models/operations/getwebhookendpoint.js +69 -0
- package/models/operations/getwebhookendpoint.js.map +1 -0
- package/models/operations/index.d.ts +6 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +6 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listallwebhookendpoints.d.ts +81 -0
- package/models/operations/listallwebhookendpoints.d.ts.map +1 -0
- package/models/operations/listallwebhookendpoints.js +114 -0
- package/models/operations/listallwebhookendpoints.js.map +1 -0
- package/models/operations/listorsearchfacilities.d.ts +2 -2
- package/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/models/operations/listorsearchfacilities.js +2 -2
- package/models/operations/listorsearchfacilities.js.map +1 -1
- package/models/operations/listvendorcredentials.d.ts +77 -5
- package/models/operations/listvendorcredentials.d.ts.map +1 -1
- package/models/operations/listvendorcredentials.js +78 -3
- package/models/operations/listvendorcredentials.js.map +1 -1
- package/models/operations/listvendorfacilitystatuses.d.ts +5 -0
- package/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
- package/models/operations/listvendorfacilitystatuses.js +4 -0
- package/models/operations/listvendorfacilitystatuses.js.map +1 -1
- package/models/operations/listvendorjobtitles.d.ts +27 -0
- package/models/operations/listvendorjobtitles.d.ts.map +1 -1
- package/models/operations/listvendorjobtitles.js +38 -1
- package/models/operations/listvendorjobtitles.js.map +1 -1
- package/models/operations/listvendorscrubdetails.d.ts +32 -0
- package/models/operations/listvendorscrubdetails.d.ts.map +1 -0
- package/models/operations/listvendorscrubdetails.js +78 -0
- package/models/operations/listvendorscrubdetails.js.map +1 -0
- package/models/operations/listvendorscrubpurchases.d.ts +111 -0
- package/models/operations/listvendorscrubpurchases.d.ts.map +1 -0
- package/models/operations/listvendorscrubpurchases.js +153 -0
- package/models/operations/listvendorscrubpurchases.js.map +1 -0
- package/models/operations/vendorscanout.d.ts +64 -0
- package/models/operations/vendorscanout.d.ts.map +1 -0
- package/models/operations/vendorscanout.js +100 -0
- package/models/operations/vendorscanout.js.map +1 -0
- package/package.json +1 -1
- package/react-query/index.d.ts +6 -0
- package/react-query/index.d.ts.map +1 -1
- package/react-query/index.js +6 -0
- package/react-query/index.js.map +1 -1
- package/react-query/vendorScansVendorScanOut.d.ts +23 -0
- package/react-query/vendorScansVendorScanOut.d.ts.map +1 -0
- package/react-query/vendorScansVendorScanOut.js +47 -0
- package/react-query/vendorScansVendorScanOut.js.map +1 -0
- package/react-query/vendorsGetVendorsDetails.d.ts +71 -0
- package/react-query/vendorsGetVendorsDetails.d.ts.map +1 -0
- package/react-query/vendorsGetVendorsDetails.js +123 -0
- package/react-query/vendorsGetVendorsDetails.js.map +1 -0
- package/react-query/vendorsListVendorCredentials.d.ts +40 -3
- package/react-query/vendorsListVendorCredentials.d.ts.map +1 -1
- package/react-query/vendorsListVendorCredentials.js +67 -0
- package/react-query/vendorsListVendorCredentials.js.map +1 -1
- package/react-query/vendorsListVendorFacilityStatuses.d.ts +3 -0
- package/react-query/vendorsListVendorFacilityStatuses.d.ts.map +1 -1
- package/react-query/vendorsListVendorFacilityStatuses.js +2 -0
- package/react-query/vendorsListVendorFacilityStatuses.js.map +1 -1
- package/react-query/vendorsListVendorJobTitles.d.ts +7 -7
- package/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/react-query/vendorsListVendorJobTitles.js +15 -15
- package/react-query/vendorsListVendorJobTitles.js.map +1 -1
- package/react-query/vendorsListVendorScrubDetails.d.ts +31 -0
- package/react-query/vendorsListVendorScrubDetails.d.ts.map +1 -0
- package/react-query/vendorsListVendorScrubDetails.js +96 -0
- package/react-query/vendorsListVendorScrubDetails.js.map +1 -0
- package/react-query/vendorsListVendorScrubPurchases.d.ts +77 -0
- package/react-query/vendorsListVendorScrubPurchases.d.ts.map +1 -0
- package/react-query/vendorsListVendorScrubPurchases.js +160 -0
- package/react-query/vendorsListVendorScrubPurchases.js.map +1 -0
- package/react-query/webhooksGetWebhookEndpoint.d.ts +31 -0
- package/react-query/webhooksGetWebhookEndpoint.d.ts.map +1 -0
- package/react-query/webhooksGetWebhookEndpoint.js +96 -0
- package/react-query/webhooksGetWebhookEndpoint.js.map +1 -0
- package/react-query/webhooksListAllWebhookEndpoints.d.ts +50 -0
- package/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -0
- package/react-query/webhooksListAllWebhookEndpoints.js +101 -0
- package/react-query/webhooksListAllWebhookEndpoints.js.map +1 -0
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/vendors.d.ts +41 -2
- package/sdk/vendors.d.ts.map +1 -1
- package/sdk/vendors.js +47 -3
- package/sdk/vendors.js.map +1 -1
- package/sdk/vendorscans.d.ts +12 -0
- package/sdk/vendorscans.d.ts.map +1 -0
- package/sdk/vendorscans.js +22 -0
- package/sdk/vendorscans.js.map +1 -0
- package/sdk/webhooks.d.ts +20 -0
- package/sdk/webhooks.d.ts.map +1 -0
- package/sdk/webhooks.js +32 -0
- package/sdk/webhooks.js.map +1 -0
- package/src/__tests__/vendors.test.ts +50 -152
- package/src/__tests__/vendorscans.test.ts +27 -0
- package/src/__tests__/webhooks.test.ts +45 -0
- package/src/funcs/organizationsListOrSearchFacilities.ts +12 -1
- package/src/funcs/vendorScansVendorScanOut.ts +172 -0
- package/src/funcs/vendorsGetVendorsDetails.ts +192 -0
- package/src/funcs/vendorsListVendorCredentials.ts +104 -27
- package/src/funcs/vendorsListVendorFacilityStatuses.ts +7 -1
- package/src/funcs/vendorsListVendorJobTitles.ts +25 -2
- package/src/funcs/vendorsListVendorScrubDetails.ts +172 -0
- package/src/funcs/vendorsListVendorScrubPurchases.ts +249 -0
- package/src/funcs/webhooksGetWebhookEndpoint.ts +173 -0
- package/src/funcs/webhooksListAllWebhookEndpoints.ts +174 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +11 -3
- package/src/mcp-server/extensions.ts +4 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +110 -0
- package/src/mcp-server/resources.ts +1 -0
- package/src/mcp-server/server.ts +16 -4
- package/src/mcp-server/tools/vendorScansVendorScanOut.ts +37 -0
- package/src/mcp-server/tools/vendorsGetVendorsDetails.ts +51 -0
- package/src/mcp-server/tools/vendorsListVendorCredentials.ts +1 -1
- package/src/mcp-server/tools/vendorsListVendorScrubDetails.ts +37 -0
- package/src/mcp-server/tools/vendorsListVendorScrubPurchases.ts +38 -0
- package/src/mcp-server/tools/{vendorsListVendorJobTitles.ts → webhooksGetWebhookEndpoint.ts} +8 -8
- package/src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts +38 -0
- package/src/mcp-server/tools.ts +1 -0
- package/src/models/components/company.ts +27 -24
- package/src/models/components/contact.ts +24 -20
- package/src/models/components/department.ts +69 -0
- package/src/models/components/expand.ts +8 -0
- package/src/models/components/facility.ts +28 -32
- package/src/models/components/index.ts +7 -0
- package/src/models/components/scantype.ts +32 -0
- package/src/models/components/subscription.ts +98 -0
- package/src/models/components/user.ts +19 -53
- package/src/models/components/vendor.ts +925 -0
- package/src/models/components/vendorscrubdetails.ts +108 -0
- package/src/models/components/vendorscrubpurchase.ts +90 -0
- package/src/models/components/webhookendpoint.ts +244 -0
- package/src/models/operations/getvendorsdetails.ts +86 -0
- package/src/models/operations/getwebhookendpoint.ts +69 -0
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/listallwebhookendpoints.ts +175 -0
- package/src/models/operations/listorsearchfacilities.ts +4 -4
- package/src/models/operations/listvendorcredentials.ts +160 -7
- package/src/models/operations/listvendorfacilitystatuses.ts +9 -0
- package/src/models/operations/listvendorjobtitles.ts +72 -0
- package/src/models/operations/listvendorscrubdetails.ts +80 -0
- package/src/models/operations/listvendorscrubpurchases.ts +252 -0
- package/src/models/operations/vendorscanout.ts +138 -0
- package/src/react-query/index.ts +6 -0
- package/src/react-query/vendorScansVendorScanOut.ts +89 -0
- package/src/react-query/vendorsGetVendorsDetails.ts +201 -0
- package/src/react-query/vendorsListVendorCredentials.ts +169 -1
- package/src/react-query/vendorsListVendorFacilityStatuses.ts +5 -0
- package/src/react-query/vendorsListVendorJobTitles.ts +15 -0
- package/src/react-query/vendorsListVendorScrubDetails.ts +166 -0
- package/src/react-query/vendorsListVendorScrubPurchases.ts +346 -0
- package/src/react-query/webhooksGetWebhookEndpoint.ts +163 -0
- package/src/react-query/webhooksListAllWebhookEndpoints.ts +193 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/vendors.ts +76 -2
- package/src/sdk/vendorscans.ts +27 -0
- package/src/sdk/webhooks.ts +46 -0
- package/mcp-server/tools/userGetCurrentUser.d.ts +0 -3
- package/mcp-server/tools/userGetCurrentUser.d.ts.map +0 -1
- package/mcp-server/tools/userGetCurrentUser.js +0 -26
- package/mcp-server/tools/userGetCurrentUser.js.map +0 -1
- package/mcp-server/tools/userGetUserById.d.ts +0 -8
- package/mcp-server/tools/userGetUserById.d.ts.map +0 -1
- package/mcp-server/tools/userGetUserById.js.map +0 -1
- package/mcp-server/tools/userLogsUserIntoTheSystem.d.ts +0 -8
- package/mcp-server/tools/userLogsUserIntoTheSystem.d.ts.map +0 -1
- package/mcp-server/tools/userLogsUserIntoTheSystem.js +0 -94
- package/mcp-server/tools/userLogsUserIntoTheSystem.js.map +0 -1
- package/mcp-server/tools/userMagiclink.d.ts +0 -8
- package/mcp-server/tools/userMagiclink.d.ts.map +0 -1
- package/mcp-server/tools/userMagiclink.js.map +0 -1
- package/mcp-server/tools/userPassword.d.ts +0 -8
- package/mcp-server/tools/userPassword.d.ts.map +0 -1
- package/mcp-server/tools/userPassword.js.map +0 -1
- package/mcp-server/tools/userPasswordResetRequest.d.ts +0 -8
- package/mcp-server/tools/userPasswordResetRequest.d.ts.map +0 -1
- package/mcp-server/tools/vendorsListVendorJobTitles.d.ts +0 -8
- package/mcp-server/tools/vendorsListVendorJobTitles.d.ts.map +0 -1
- package/mcp-server/tools/vendorsListVendorJobTitles.js.map +0 -1
- package/src/__tests__/organizations.test.ts +0 -78
- package/src/__tests__/supportarticles.test.ts +0 -64
- package/src/__tests__/user.test.ts +0 -218
- package/vitest.config.ts +0 -8
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ListVendorScrubDetailsRequest$ = exports.ListVendorScrubDetailsRequest$outboundSchema = exports.ListVendorScrubDetailsRequest$inboundSchema = void 0;
|
|
40
|
+
exports.listVendorScrubDetailsRequestToJSON = listVendorScrubDetailsRequestToJSON;
|
|
41
|
+
exports.listVendorScrubDetailsRequestFromJSON = listVendorScrubDetailsRequestFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.ListVendorScrubDetailsRequest$inboundSchema = z.object({
|
|
47
|
+
vendor_id_or_me: z.string(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
"vendor_id_or_me": "vendorIdOrMe",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.ListVendorScrubDetailsRequest$outboundSchema = z.object({
|
|
55
|
+
vendorIdOrMe: z.string(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
var ListVendorScrubDetailsRequest$;
|
|
66
|
+
(function (ListVendorScrubDetailsRequest$) {
|
|
67
|
+
/** @deprecated use `ListVendorScrubDetailsRequest$inboundSchema` instead. */
|
|
68
|
+
ListVendorScrubDetailsRequest$.inboundSchema = exports.ListVendorScrubDetailsRequest$inboundSchema;
|
|
69
|
+
/** @deprecated use `ListVendorScrubDetailsRequest$outboundSchema` instead. */
|
|
70
|
+
ListVendorScrubDetailsRequest$.outboundSchema = exports.ListVendorScrubDetailsRequest$outboundSchema;
|
|
71
|
+
})(ListVendorScrubDetailsRequest$ || (exports.ListVendorScrubDetailsRequest$ = ListVendorScrubDetailsRequest$ = {}));
|
|
72
|
+
function listVendorScrubDetailsRequestToJSON(listVendorScrubDetailsRequest) {
|
|
73
|
+
return JSON.stringify(exports.ListVendorScrubDetailsRequest$outboundSchema.parse(listVendorScrubDetailsRequest));
|
|
74
|
+
}
|
|
75
|
+
function listVendorScrubDetailsRequestFromJSON(jsonString) {
|
|
76
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListVendorScrubDetailsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListVendorScrubDetailsRequest' from JSON`);
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=listvendorscrubdetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listvendorscrubdetails.js","sourceRoot":"","sources":["../../src/models/operations/listvendorscrubdetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DH,kFAQC;AAED,sFAQC;AA3ED,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,cAAc;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,iBAAiB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type ListVendorScrubPurchasesRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A comma-separated list of object attributes to sort on.
|
|
8
|
+
*/
|
|
9
|
+
sort?: string | null | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Sort desc
|
|
12
|
+
*/
|
|
13
|
+
desc?: components.Desc | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* A 1-based offset for which page to request (defaults to 1)
|
|
16
|
+
*/
|
|
17
|
+
page?: number | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Number of items to show in a given page
|
|
20
|
+
*/
|
|
21
|
+
itemsPerPage?: number | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
|
|
24
|
+
*/
|
|
25
|
+
vendorIdOrMe: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
29
|
+
*/
|
|
30
|
+
export type ListVendorScrubPurchasesResponseBody = {
|
|
31
|
+
/**
|
|
32
|
+
* Pagination information for a pageable list
|
|
33
|
+
*/
|
|
34
|
+
pager: components.Pager;
|
|
35
|
+
items: Array<components.VendorScrubPurchase>;
|
|
36
|
+
};
|
|
37
|
+
export type ListVendorScrubPurchasesResponse = {
|
|
38
|
+
result: ListVendorScrubPurchasesResponseBody;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const ListVendorScrubPurchasesRequest$inboundSchema: z.ZodType<ListVendorScrubPurchasesRequest, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type ListVendorScrubPurchasesRequest$Outbound = {
|
|
44
|
+
sort?: string | null | undefined;
|
|
45
|
+
desc?: components.Desc$Outbound | undefined;
|
|
46
|
+
page?: number | undefined;
|
|
47
|
+
items_per_page?: number | undefined;
|
|
48
|
+
vendor_id_or_me: string;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const ListVendorScrubPurchasesRequest$outboundSchema: z.ZodType<ListVendorScrubPurchasesRequest$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesRequest>;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace ListVendorScrubPurchasesRequest$ {
|
|
57
|
+
/** @deprecated use `ListVendorScrubPurchasesRequest$inboundSchema` instead. */
|
|
58
|
+
const inboundSchema: z.ZodType<ListVendorScrubPurchasesRequest, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @deprecated use `ListVendorScrubPurchasesRequest$outboundSchema` instead. */
|
|
60
|
+
const outboundSchema: z.ZodType<ListVendorScrubPurchasesRequest$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesRequest>;
|
|
61
|
+
/** @deprecated use `ListVendorScrubPurchasesRequest$Outbound` instead. */
|
|
62
|
+
type Outbound = ListVendorScrubPurchasesRequest$Outbound;
|
|
63
|
+
}
|
|
64
|
+
export declare function listVendorScrubPurchasesRequestToJSON(listVendorScrubPurchasesRequest: ListVendorScrubPurchasesRequest): string;
|
|
65
|
+
export declare function listVendorScrubPurchasesRequestFromJSON(jsonString: string): SafeParseResult<ListVendorScrubPurchasesRequest, SDKValidationError>;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const ListVendorScrubPurchasesResponseBody$inboundSchema: z.ZodType<ListVendorScrubPurchasesResponseBody, z.ZodTypeDef, unknown>;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type ListVendorScrubPurchasesResponseBody$Outbound = {
|
|
70
|
+
pager: components.Pager$Outbound;
|
|
71
|
+
items: Array<components.VendorScrubPurchase$Outbound>;
|
|
72
|
+
};
|
|
73
|
+
/** @internal */
|
|
74
|
+
export declare const ListVendorScrubPurchasesResponseBody$outboundSchema: z.ZodType<ListVendorScrubPurchasesResponseBody$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesResponseBody>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
+
*/
|
|
79
|
+
export declare namespace ListVendorScrubPurchasesResponseBody$ {
|
|
80
|
+
/** @deprecated use `ListVendorScrubPurchasesResponseBody$inboundSchema` instead. */
|
|
81
|
+
const inboundSchema: z.ZodType<ListVendorScrubPurchasesResponseBody, z.ZodTypeDef, unknown>;
|
|
82
|
+
/** @deprecated use `ListVendorScrubPurchasesResponseBody$outboundSchema` instead. */
|
|
83
|
+
const outboundSchema: z.ZodType<ListVendorScrubPurchasesResponseBody$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesResponseBody>;
|
|
84
|
+
/** @deprecated use `ListVendorScrubPurchasesResponseBody$Outbound` instead. */
|
|
85
|
+
type Outbound = ListVendorScrubPurchasesResponseBody$Outbound;
|
|
86
|
+
}
|
|
87
|
+
export declare function listVendorScrubPurchasesResponseBodyToJSON(listVendorScrubPurchasesResponseBody: ListVendorScrubPurchasesResponseBody): string;
|
|
88
|
+
export declare function listVendorScrubPurchasesResponseBodyFromJSON(jsonString: string): SafeParseResult<ListVendorScrubPurchasesResponseBody, SDKValidationError>;
|
|
89
|
+
/** @internal */
|
|
90
|
+
export declare const ListVendorScrubPurchasesResponse$inboundSchema: z.ZodType<ListVendorScrubPurchasesResponse, z.ZodTypeDef, unknown>;
|
|
91
|
+
/** @internal */
|
|
92
|
+
export type ListVendorScrubPurchasesResponse$Outbound = {
|
|
93
|
+
Result: ListVendorScrubPurchasesResponseBody$Outbound;
|
|
94
|
+
};
|
|
95
|
+
/** @internal */
|
|
96
|
+
export declare const ListVendorScrubPurchasesResponse$outboundSchema: z.ZodType<ListVendorScrubPurchasesResponse$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
+
*/
|
|
101
|
+
export declare namespace ListVendorScrubPurchasesResponse$ {
|
|
102
|
+
/** @deprecated use `ListVendorScrubPurchasesResponse$inboundSchema` instead. */
|
|
103
|
+
const inboundSchema: z.ZodType<ListVendorScrubPurchasesResponse, z.ZodTypeDef, unknown>;
|
|
104
|
+
/** @deprecated use `ListVendorScrubPurchasesResponse$outboundSchema` instead. */
|
|
105
|
+
const outboundSchema: z.ZodType<ListVendorScrubPurchasesResponse$Outbound, z.ZodTypeDef, ListVendorScrubPurchasesResponse>;
|
|
106
|
+
/** @deprecated use `ListVendorScrubPurchasesResponse$Outbound` instead. */
|
|
107
|
+
type Outbound = ListVendorScrubPurchasesResponse$Outbound;
|
|
108
|
+
}
|
|
109
|
+
export declare function listVendorScrubPurchasesResponseToJSON(listVendorScrubPurchasesResponse: ListVendorScrubPurchasesResponse): string;
|
|
110
|
+
export declare function listVendorScrubPurchasesResponseFromJSON(jsonString: string): SafeParseResult<ListVendorScrubPurchasesResponse, SDKValidationError>;
|
|
111
|
+
//# sourceMappingURL=listvendorscrubpurchases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listvendorscrubpurchases.d.ts","sourceRoot":"","sources":["../../src/models/operations/listvendorscrubpurchases.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;OAEG;IACH,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,UAAU,CA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;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ListVendorScrubPurchasesResponse$ = exports.ListVendorScrubPurchasesResponse$outboundSchema = exports.ListVendorScrubPurchasesResponse$inboundSchema = exports.ListVendorScrubPurchasesResponseBody$ = exports.ListVendorScrubPurchasesResponseBody$outboundSchema = exports.ListVendorScrubPurchasesResponseBody$inboundSchema = exports.ListVendorScrubPurchasesRequest$ = exports.ListVendorScrubPurchasesRequest$outboundSchema = exports.ListVendorScrubPurchasesRequest$inboundSchema = void 0;
|
|
40
|
+
exports.listVendorScrubPurchasesRequestToJSON = listVendorScrubPurchasesRequestToJSON;
|
|
41
|
+
exports.listVendorScrubPurchasesRequestFromJSON = listVendorScrubPurchasesRequestFromJSON;
|
|
42
|
+
exports.listVendorScrubPurchasesResponseBodyToJSON = listVendorScrubPurchasesResponseBodyToJSON;
|
|
43
|
+
exports.listVendorScrubPurchasesResponseBodyFromJSON = listVendorScrubPurchasesResponseBodyFromJSON;
|
|
44
|
+
exports.listVendorScrubPurchasesResponseToJSON = listVendorScrubPurchasesResponseToJSON;
|
|
45
|
+
exports.listVendorScrubPurchasesResponseFromJSON = listVendorScrubPurchasesResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ListVendorScrubPurchasesRequest$inboundSchema = z.object({
|
|
52
|
+
sort: z.nullable(z.string()).optional(),
|
|
53
|
+
desc: components.Desc$inboundSchema.optional(),
|
|
54
|
+
page: z.number().int().optional(),
|
|
55
|
+
items_per_page: z.number().int().optional(),
|
|
56
|
+
vendor_id_or_me: z.string(),
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return (0, primitives_js_1.remap)(v, {
|
|
59
|
+
"items_per_page": "itemsPerPage",
|
|
60
|
+
"vendor_id_or_me": "vendorIdOrMe",
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
/** @internal */
|
|
64
|
+
exports.ListVendorScrubPurchasesRequest$outboundSchema = z.object({
|
|
65
|
+
sort: z.nullable(z.string()).optional(),
|
|
66
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
67
|
+
page: z.number().int().optional(),
|
|
68
|
+
itemsPerPage: z.number().int().optional(),
|
|
69
|
+
vendorIdOrMe: z.string(),
|
|
70
|
+
}).transform((v) => {
|
|
71
|
+
return (0, primitives_js_1.remap)(v, {
|
|
72
|
+
itemsPerPage: "items_per_page",
|
|
73
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
+
*/
|
|
80
|
+
var ListVendorScrubPurchasesRequest$;
|
|
81
|
+
(function (ListVendorScrubPurchasesRequest$) {
|
|
82
|
+
/** @deprecated use `ListVendorScrubPurchasesRequest$inboundSchema` instead. */
|
|
83
|
+
ListVendorScrubPurchasesRequest$.inboundSchema = exports.ListVendorScrubPurchasesRequest$inboundSchema;
|
|
84
|
+
/** @deprecated use `ListVendorScrubPurchasesRequest$outboundSchema` instead. */
|
|
85
|
+
ListVendorScrubPurchasesRequest$.outboundSchema = exports.ListVendorScrubPurchasesRequest$outboundSchema;
|
|
86
|
+
})(ListVendorScrubPurchasesRequest$ || (exports.ListVendorScrubPurchasesRequest$ = ListVendorScrubPurchasesRequest$ = {}));
|
|
87
|
+
function listVendorScrubPurchasesRequestToJSON(listVendorScrubPurchasesRequest) {
|
|
88
|
+
return JSON.stringify(exports.ListVendorScrubPurchasesRequest$outboundSchema.parse(listVendorScrubPurchasesRequest));
|
|
89
|
+
}
|
|
90
|
+
function listVendorScrubPurchasesRequestFromJSON(jsonString) {
|
|
91
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListVendorScrubPurchasesRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListVendorScrubPurchasesRequest' from JSON`);
|
|
92
|
+
}
|
|
93
|
+
/** @internal */
|
|
94
|
+
exports.ListVendorScrubPurchasesResponseBody$inboundSchema = z.object({
|
|
95
|
+
pager: components.Pager$inboundSchema,
|
|
96
|
+
items: z.array(components.VendorScrubPurchase$inboundSchema),
|
|
97
|
+
});
|
|
98
|
+
/** @internal */
|
|
99
|
+
exports.ListVendorScrubPurchasesResponseBody$outboundSchema = z.object({
|
|
100
|
+
pager: components.Pager$outboundSchema,
|
|
101
|
+
items: z.array(components.VendorScrubPurchase$outboundSchema),
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var ListVendorScrubPurchasesResponseBody$;
|
|
108
|
+
(function (ListVendorScrubPurchasesResponseBody$) {
|
|
109
|
+
/** @deprecated use `ListVendorScrubPurchasesResponseBody$inboundSchema` instead. */
|
|
110
|
+
ListVendorScrubPurchasesResponseBody$.inboundSchema = exports.ListVendorScrubPurchasesResponseBody$inboundSchema;
|
|
111
|
+
/** @deprecated use `ListVendorScrubPurchasesResponseBody$outboundSchema` instead. */
|
|
112
|
+
ListVendorScrubPurchasesResponseBody$.outboundSchema = exports.ListVendorScrubPurchasesResponseBody$outboundSchema;
|
|
113
|
+
})(ListVendorScrubPurchasesResponseBody$ || (exports.ListVendorScrubPurchasesResponseBody$ = ListVendorScrubPurchasesResponseBody$ = {}));
|
|
114
|
+
function listVendorScrubPurchasesResponseBodyToJSON(listVendorScrubPurchasesResponseBody) {
|
|
115
|
+
return JSON.stringify(exports.ListVendorScrubPurchasesResponseBody$outboundSchema.parse(listVendorScrubPurchasesResponseBody));
|
|
116
|
+
}
|
|
117
|
+
function listVendorScrubPurchasesResponseBodyFromJSON(jsonString) {
|
|
118
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListVendorScrubPurchasesResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListVendorScrubPurchasesResponseBody' from JSON`);
|
|
119
|
+
}
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.ListVendorScrubPurchasesResponse$inboundSchema = z.object({
|
|
122
|
+
Result: z.lazy(() => exports.ListVendorScrubPurchasesResponseBody$inboundSchema),
|
|
123
|
+
}).transform((v) => {
|
|
124
|
+
return (0, primitives_js_1.remap)(v, {
|
|
125
|
+
"Result": "result",
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
/** @internal */
|
|
129
|
+
exports.ListVendorScrubPurchasesResponse$outboundSchema = z.object({
|
|
130
|
+
result: z.lazy(() => exports.ListVendorScrubPurchasesResponseBody$outboundSchema),
|
|
131
|
+
}).transform((v) => {
|
|
132
|
+
return (0, primitives_js_1.remap)(v, {
|
|
133
|
+
result: "Result",
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
139
|
+
*/
|
|
140
|
+
var ListVendorScrubPurchasesResponse$;
|
|
141
|
+
(function (ListVendorScrubPurchasesResponse$) {
|
|
142
|
+
/** @deprecated use `ListVendorScrubPurchasesResponse$inboundSchema` instead. */
|
|
143
|
+
ListVendorScrubPurchasesResponse$.inboundSchema = exports.ListVendorScrubPurchasesResponse$inboundSchema;
|
|
144
|
+
/** @deprecated use `ListVendorScrubPurchasesResponse$outboundSchema` instead. */
|
|
145
|
+
ListVendorScrubPurchasesResponse$.outboundSchema = exports.ListVendorScrubPurchasesResponse$outboundSchema;
|
|
146
|
+
})(ListVendorScrubPurchasesResponse$ || (exports.ListVendorScrubPurchasesResponse$ = ListVendorScrubPurchasesResponse$ = {}));
|
|
147
|
+
function listVendorScrubPurchasesResponseToJSON(listVendorScrubPurchasesResponse) {
|
|
148
|
+
return JSON.stringify(exports.ListVendorScrubPurchasesResponse$outboundSchema.parse(listVendorScrubPurchasesResponse));
|
|
149
|
+
}
|
|
150
|
+
function listVendorScrubPurchasesResponseFromJSON(jsonString) {
|
|
151
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListVendorScrubPurchasesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListVendorScrubPurchasesResponse' from JSON`);
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=listvendorscrubpurchases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listvendorscrubpurchases.js","sourceRoot":"","sources":["../../src/models/operations/listvendorscrubpurchases.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGH,sFAQC;AAED,0FAQC;AA2CD,gGAQC;AAED,oGASC;AA8CD,wFAQC;AAED,4FAQC;AAvPD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyCrD,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,IAAI,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC9C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC3C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;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,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2DAAmD,CAAC;CAC1E,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iCAAiC,CAOjD;AAPD,WAAiB,iCAAiC;IAChD,gFAAgF;IACnE,+CAAa,GAAG,sDAA8C,CAAC;IAC5E,iFAAiF;IACpE,gDAAc,GAAG,uDAA+C,CAAC;AAGhF,CAAC,EAPgB,iCAAiC,iDAAjC,iCAAiC,QAOjD;AAED,SAAgB,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,uDAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,wCAAwC,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type VendorScanOutRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* The identifier of the object
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
12
|
+
*/
|
|
13
|
+
export type VendorScanOutResponseBody = {
|
|
14
|
+
error?: string | null | undefined;
|
|
15
|
+
reason?: string | null | undefined;
|
|
16
|
+
success: boolean;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const VendorScanOutRequest$inboundSchema: z.ZodType<VendorScanOutRequest, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type VendorScanOutRequest$Outbound = {
|
|
22
|
+
id: number;
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const VendorScanOutRequest$outboundSchema: z.ZodType<VendorScanOutRequest$Outbound, z.ZodTypeDef, VendorScanOutRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export declare namespace VendorScanOutRequest$ {
|
|
31
|
+
/** @deprecated use `VendorScanOutRequest$inboundSchema` instead. */
|
|
32
|
+
const inboundSchema: z.ZodType<VendorScanOutRequest, z.ZodTypeDef, unknown>;
|
|
33
|
+
/** @deprecated use `VendorScanOutRequest$outboundSchema` instead. */
|
|
34
|
+
const outboundSchema: z.ZodType<VendorScanOutRequest$Outbound, z.ZodTypeDef, VendorScanOutRequest>;
|
|
35
|
+
/** @deprecated use `VendorScanOutRequest$Outbound` instead. */
|
|
36
|
+
type Outbound = VendorScanOutRequest$Outbound;
|
|
37
|
+
}
|
|
38
|
+
export declare function vendorScanOutRequestToJSON(vendorScanOutRequest: VendorScanOutRequest): string;
|
|
39
|
+
export declare function vendorScanOutRequestFromJSON(jsonString: string): SafeParseResult<VendorScanOutRequest, SDKValidationError>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const VendorScanOutResponseBody$inboundSchema: z.ZodType<VendorScanOutResponseBody, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type VendorScanOutResponseBody$Outbound = {
|
|
44
|
+
error?: string | null | undefined;
|
|
45
|
+
reason?: string | null | undefined;
|
|
46
|
+
success: boolean;
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
export declare const VendorScanOutResponseBody$outboundSchema: z.ZodType<VendorScanOutResponseBody$Outbound, z.ZodTypeDef, VendorScanOutResponseBody>;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
export declare namespace VendorScanOutResponseBody$ {
|
|
55
|
+
/** @deprecated use `VendorScanOutResponseBody$inboundSchema` instead. */
|
|
56
|
+
const inboundSchema: z.ZodType<VendorScanOutResponseBody, z.ZodTypeDef, unknown>;
|
|
57
|
+
/** @deprecated use `VendorScanOutResponseBody$outboundSchema` instead. */
|
|
58
|
+
const outboundSchema: z.ZodType<VendorScanOutResponseBody$Outbound, z.ZodTypeDef, VendorScanOutResponseBody>;
|
|
59
|
+
/** @deprecated use `VendorScanOutResponseBody$Outbound` instead. */
|
|
60
|
+
type Outbound = VendorScanOutResponseBody$Outbound;
|
|
61
|
+
}
|
|
62
|
+
export declare function vendorScanOutResponseBodyToJSON(vendorScanOutResponseBody: VendorScanOutResponseBody): string;
|
|
63
|
+
export declare function vendorScanOutResponseBodyFromJSON(jsonString: string): SafeParseResult<VendorScanOutResponseBody, SDKValidationError>;
|
|
64
|
+
//# sourceMappingURL=vendorscanout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendorscanout.d.ts","sourceRoot":"","sources":["../../src/models/operations/vendorscanout.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;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,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAKzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.VendorScanOutResponseBody$ = exports.VendorScanOutResponseBody$outboundSchema = exports.VendorScanOutResponseBody$inboundSchema = exports.VendorScanOutRequest$ = exports.VendorScanOutRequest$outboundSchema = exports.VendorScanOutRequest$inboundSchema = void 0;
|
|
40
|
+
exports.vendorScanOutRequestToJSON = vendorScanOutRequestToJSON;
|
|
41
|
+
exports.vendorScanOutRequestFromJSON = vendorScanOutRequestFromJSON;
|
|
42
|
+
exports.vendorScanOutResponseBodyToJSON = vendorScanOutResponseBodyToJSON;
|
|
43
|
+
exports.vendorScanOutResponseBodyFromJSON = vendorScanOutResponseBodyFromJSON;
|
|
44
|
+
const z = __importStar(require("zod"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.VendorScanOutRequest$inboundSchema = z.object({
|
|
48
|
+
id: z.number().int(),
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.VendorScanOutRequest$outboundSchema = z.object({
|
|
52
|
+
id: z.number().int(),
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
var VendorScanOutRequest$;
|
|
59
|
+
(function (VendorScanOutRequest$) {
|
|
60
|
+
/** @deprecated use `VendorScanOutRequest$inboundSchema` instead. */
|
|
61
|
+
VendorScanOutRequest$.inboundSchema = exports.VendorScanOutRequest$inboundSchema;
|
|
62
|
+
/** @deprecated use `VendorScanOutRequest$outboundSchema` instead. */
|
|
63
|
+
VendorScanOutRequest$.outboundSchema = exports.VendorScanOutRequest$outboundSchema;
|
|
64
|
+
})(VendorScanOutRequest$ || (exports.VendorScanOutRequest$ = VendorScanOutRequest$ = {}));
|
|
65
|
+
function vendorScanOutRequestToJSON(vendorScanOutRequest) {
|
|
66
|
+
return JSON.stringify(exports.VendorScanOutRequest$outboundSchema.parse(vendorScanOutRequest));
|
|
67
|
+
}
|
|
68
|
+
function vendorScanOutRequestFromJSON(jsonString) {
|
|
69
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.VendorScanOutRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VendorScanOutRequest' from JSON`);
|
|
70
|
+
}
|
|
71
|
+
/** @internal */
|
|
72
|
+
exports.VendorScanOutResponseBody$inboundSchema = z.object({
|
|
73
|
+
error: z.nullable(z.string()).optional(),
|
|
74
|
+
reason: z.nullable(z.string()).optional(),
|
|
75
|
+
success: z.boolean(),
|
|
76
|
+
});
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.VendorScanOutResponseBody$outboundSchema = z.object({
|
|
79
|
+
error: z.nullable(z.string()).optional(),
|
|
80
|
+
reason: z.nullable(z.string()).optional(),
|
|
81
|
+
success: z.boolean(),
|
|
82
|
+
});
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
+
*/
|
|
87
|
+
var VendorScanOutResponseBody$;
|
|
88
|
+
(function (VendorScanOutResponseBody$) {
|
|
89
|
+
/** @deprecated use `VendorScanOutResponseBody$inboundSchema` instead. */
|
|
90
|
+
VendorScanOutResponseBody$.inboundSchema = exports.VendorScanOutResponseBody$inboundSchema;
|
|
91
|
+
/** @deprecated use `VendorScanOutResponseBody$outboundSchema` instead. */
|
|
92
|
+
VendorScanOutResponseBody$.outboundSchema = exports.VendorScanOutResponseBody$outboundSchema;
|
|
93
|
+
})(VendorScanOutResponseBody$ || (exports.VendorScanOutResponseBody$ = VendorScanOutResponseBody$ = {}));
|
|
94
|
+
function vendorScanOutResponseBodyToJSON(vendorScanOutResponseBody) {
|
|
95
|
+
return JSON.stringify(exports.VendorScanOutResponseBody$outboundSchema.parse(vendorScanOutResponseBody));
|
|
96
|
+
}
|
|
97
|
+
function vendorScanOutResponseBodyFromJSON(jsonString) {
|
|
98
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.VendorScanOutResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VendorScanOutResponseBody' from JSON`);
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=vendorscanout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendorscanout.js","sourceRoot":"","sources":["../../src/models/operations/vendorscanout.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DH,gEAMC;AAED,oEAQC;AA4CD,0EAMC;AAED,8EAQC;AArID,uCAAyB;AACzB,qDAAiD;AAoBjD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACrB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,M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;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/react-query/index.d.ts
CHANGED
|
@@ -10,11 +10,17 @@ export * from "./usersLogsUserIntoTheSystem.js";
|
|
|
10
10
|
export * from "./usersMagiclink.js";
|
|
11
11
|
export * from "./usersPassword.js";
|
|
12
12
|
export * from "./usersPasswordResetRequest.js";
|
|
13
|
+
export * from "./vendorScansVendorScanOut.js";
|
|
13
14
|
export * from "./vendorsCreateVendorRegistration.js";
|
|
14
15
|
export * from "./vendorsExpediteTimeRemaining.js";
|
|
15
16
|
export * from "./vendorsGetVendorInvoiceDetails.js";
|
|
17
|
+
export * from "./vendorsGetVendorsDetails.js";
|
|
16
18
|
export * from "./vendorsListVendorCredentials.js";
|
|
17
19
|
export * from "./vendorsListVendorFacilityStatuses.js";
|
|
18
20
|
export * from "./vendorsListVendorInvoices.js";
|
|
19
21
|
export * from "./vendorsListVendorJobTitles.js";
|
|
22
|
+
export * from "./vendorsListVendorScrubDetails.js";
|
|
23
|
+
export * from "./vendorsListVendorScrubPurchases.js";
|
|
24
|
+
export * from "./webhooksGetWebhookEndpoint.js";
|
|
25
|
+
export * from "./webhooksListAllWebhookEndpoints.js";
|
|
20
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/react-query/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAC/E,cAAc,aAAa,CAAC;AAE5B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/react-query/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAC/E,cAAc,aAAa,CAAC;AAE5B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC"}
|
package/react-query/index.js
CHANGED
|
@@ -32,11 +32,17 @@ __exportStar(require("./usersLogsUserIntoTheSystem.js"), exports);
|
|
|
32
32
|
__exportStar(require("./usersMagiclink.js"), exports);
|
|
33
33
|
__exportStar(require("./usersPassword.js"), exports);
|
|
34
34
|
__exportStar(require("./usersPasswordResetRequest.js"), exports);
|
|
35
|
+
__exportStar(require("./vendorScansVendorScanOut.js"), exports);
|
|
35
36
|
__exportStar(require("./vendorsCreateVendorRegistration.js"), exports);
|
|
36
37
|
__exportStar(require("./vendorsExpediteTimeRemaining.js"), exports);
|
|
37
38
|
__exportStar(require("./vendorsGetVendorInvoiceDetails.js"), exports);
|
|
39
|
+
__exportStar(require("./vendorsGetVendorsDetails.js"), exports);
|
|
38
40
|
__exportStar(require("./vendorsListVendorCredentials.js"), exports);
|
|
39
41
|
__exportStar(require("./vendorsListVendorFacilityStatuses.js"), exports);
|
|
40
42
|
__exportStar(require("./vendorsListVendorInvoices.js"), exports);
|
|
41
43
|
__exportStar(require("./vendorsListVendorJobTitles.js"), exports);
|
|
44
|
+
__exportStar(require("./vendorsListVendorScrubDetails.js"), exports);
|
|
45
|
+
__exportStar(require("./vendorsListVendorScrubPurchases.js"), exports);
|
|
46
|
+
__exportStar(require("./webhooksGetWebhookEndpoint.js"), exports);
|
|
47
|
+
__exportStar(require("./webhooksListAllWebhookEndpoints.js"), exports);
|
|
42
48
|
//# sourceMappingURL=index.js.map
|
package/react-query/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/react-query/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AAEH,6CAA+E;AAAtE,oHAAA,qBAAqB,OAAA;AAAE,sHAAA,uBAAuB,OAAA;AACvD,8CAA4B;AAE5B,gEAA8C;AAC9C,2EAAyD;AACzD,wEAAsD;AACtD,kFAAgE;AAChE,2DAAyC;AACzC,wDAAsC;AACtC,kEAAgD;AAChD,sDAAoC;AACpC,qDAAmC;AACnC,iEAA+C;AAC/C,uEAAqD;AACrD,oEAAkD;AAClD,sEAAoD;AACpD,oEAAkD;AAClD,yEAAuD;AACvD,iEAA+C;AAC/C,kEAAgD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/react-query/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AAEH,6CAA+E;AAAtE,oHAAA,qBAAqB,OAAA;AAAE,sHAAA,uBAAuB,OAAA;AACvD,8CAA4B;AAE5B,gEAA8C;AAC9C,2EAAyD;AACzD,wEAAsD;AACtD,kFAAgE;AAChE,2DAAyC;AACzC,wDAAsC;AACtC,kEAAgD;AAChD,sDAAoC;AACpC,qDAAmC;AACnC,iEAA+C;AAC/C,gEAA8C;AAC9C,uEAAqD;AACrD,oEAAkD;AAClD,sEAAoD;AACpD,gEAA8C;AAC9C,oEAAkD;AAClD,yEAAuD;AACvD,iEAA+C;AAC/C,kEAAgD;AAChD,qEAAmD;AACnD,uEAAqD;AACrD,kEAAgD;AAChD,uEAAqD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type VendorScansVendorScanOutMutationVariables = {
|
|
7
|
+
request: operations.VendorScanOutRequest;
|
|
8
|
+
options?: RequestOptions;
|
|
9
|
+
};
|
|
10
|
+
export type VendorScansVendorScanOutMutationData = operations.VendorScanOutResponseBody;
|
|
11
|
+
/**
|
|
12
|
+
* Vendor scan out
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* It scans out vendor from facility
|
|
16
|
+
*/
|
|
17
|
+
export declare function useVendorScansVendorScanOutMutation(options?: MutationHookOptions<VendorScansVendorScanOutMutationData, Error, VendorScansVendorScanOutMutationVariables>): UseMutationResult<VendorScansVendorScanOutMutationData, Error, VendorScansVendorScanOutMutationVariables>;
|
|
18
|
+
export declare function mutationKeyVendorScansVendorScanOut(): MutationKey;
|
|
19
|
+
export declare function buildVendorScansVendorScanOutMutation(client$: GreenSecurityCore, hookOptions?: RequestOptions): {
|
|
20
|
+
mutationKey: MutationKey;
|
|
21
|
+
mutationFn: (variables: VendorScansVendorScanOutMutationVariables) => Promise<VendorScansVendorScanOutMutationData>;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=vendorScansVendorScanOut.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendorScansVendorScanOut.d.ts","sourceRoot":"","sources":["../src/react-query/vendorScansVendorScanOut.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,yCAAyC,GAAG;IACtD,OAAO,EAAE,UAAU,CAAC,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC9C,UAAU,CAAC,yBAAyB,CAAC;AAEvC;;;;;GAKG;AACH,wBAAgB,mCAAmC,CACjD,OAAO,CAAC,EAAE,mBAAmB,CAC3B,oCAAoC,EACpC,KAAK,EACL,yCAAyC,CAC1C,GACA,iBAAiB,CAClB,oCAAoC,EACpC,KAAK,EACL,yCAAyC,CAC1C,CAMA;AAED,wBAAgB,mCAAmC,IAAI,WAAW,CAEjE;AAED,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,iBAAiB,EAC1B,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,yCAAyC,KACjD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CACpD,CA0BA"}
|