@greensecurity/javascript-sdk 0.44.0-beta.11 → 0.44.0-beta.12
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 +18 -9
- package/dist/commonjs/__tests__/invoices.test.js +3 -1
- package/dist/commonjs/__tests__/invoices.test.js.map +1 -1
- package/dist/commonjs/__tests__/organizations.test.js +34 -42
- package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +3 -1
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendorscans.test.js +57 -0
- package/dist/commonjs/__tests__/vendorscans.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/__tests__/zones.test.js +3 -29
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/invoicesInvoicesExport.d.ts +2 -1
- package/dist/commonjs/funcs/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/invoicesInvoicesExport.js +2 -1
- package/dist/commonjs/funcs/invoicesInvoicesExport.js.map +1 -1
- package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +21 -0
- package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
- package/dist/commonjs/funcs/{organizationsDeleteCompanyTargetFacility.js → organizationsDownloadCompanyTargetFacilitiesExport.js} +12 -18
- package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
- package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.d.ts +27 -0
- package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/{organizationsCreateCompanyTargetFacility.js → organizationsExportCompanyTargetFacilities.js} +24 -27
- package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +21 -0
- package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
- package/dist/commonjs/funcs/{organizationsListCompanyTargetFacilities.js → organizationsGetCompanyTargetFacilitiesExportStatus.js} +21 -83
- package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
- package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.d.ts +27 -0
- package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.js +134 -0
- package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.js.map +1 -0
- package/dist/commonjs/funcs/vendorScansExportVendorScans.d.ts +27 -0
- package/dist/commonjs/funcs/vendorScansExportVendorScans.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorScansExportVendorScans.js +141 -0
- package/dist/commonjs/funcs/vendorScansExportVendorScans.js.map +1 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.d.ts +21 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.js +126 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.js.map +1 -0
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts +2 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.js +2 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/csvexportenqueuedresponse.d.ts +27 -0
- package/dist/commonjs/models/components/csvexportenqueuedresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/deletecompanytargetfacility.js → components/csvexportenqueuedresponse.js} +14 -9
- package/dist/commonjs/models/components/csvexportenqueuedresponse.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +1 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.d.ts +47 -0
- package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.d.ts.map +1 -0
- package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.js +80 -0
- package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.js.map +1 -0
- package/dist/commonjs/models/operations/downloadvendorscansexport.d.ts +46 -0
- package/dist/commonjs/models/operations/downloadvendorscansexport.d.ts.map +1 -0
- package/dist/commonjs/models/operations/downloadvendorscansexport.js +88 -0
- package/dist/commonjs/models/operations/downloadvendorscansexport.js.map +1 -0
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts +144 -0
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{listcompanytargetfacilities.js → exportcompanytargetfacilities.js} +33 -47
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -0
- package/dist/commonjs/models/operations/exportvendorscans.d.ts +110 -0
- package/dist/commonjs/models/operations/exportvendorscans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/exportvendorscans.js +98 -0
- package/dist/commonjs/models/operations/exportvendorscans.js.map +1 -0
- package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.d.ts +58 -0
- package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.js +78 -0
- package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.js.map +1 -0
- package/dist/commonjs/models/operations/getvendorscansexportstatus.d.ts +53 -0
- package/dist/commonjs/models/operations/getvendorscansexportstatus.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorscansexportstatus.js +73 -0
- package/dist/commonjs/models/operations/getvendorscansexportstatus.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +6 -3
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +6 -3
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/invoicesexport.d.ts +4 -41
- package/dist/commonjs/models/operations/invoicesexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/invoicesexport.js +3 -34
- package/dist/commonjs/models/operations/invoicesexport.js.map +1 -1
- package/dist/commonjs/models/operations/vendorsexport.d.ts +4 -42
- package/dist/commonjs/models/operations/vendorsexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/vendorsexport.js +3 -33
- package/dist/commonjs/models/operations/vendorsexport.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +6 -3
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +6 -3
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts +3 -2
- package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.core.js.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts +3 -2
- package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.js.map +1 -1
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts +12 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js +40 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js.map +1 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +31 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js +71 -0
- package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +20 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js +48 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +65 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js +83 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts +12 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js +40 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js.map +1 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +31 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js +71 -0
- package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.d.ts +17 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.js +39 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.d.ts +32 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.js +73 -0
- package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.core.d.ts +26 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.core.js +52 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.d.ts +72 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.js +81 -0
- package/dist/commonjs/react-query/vendorScansExportVendorScans.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.d.ts +12 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.js +39 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.d.ts +31 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.js +71 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.js.map +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts +3 -2
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.core.js.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts +3 -2
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.js.map +1 -1
- package/dist/commonjs/sdk/invoices.d.ts +1 -1
- package/dist/commonjs/sdk/invoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.d.ts +16 -50
- package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.js +22 -54
- package/dist/commonjs/sdk/organizations.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +1 -1
- package/dist/commonjs/sdk/vendorscans.d.ts +33 -0
- package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendorscans.js +41 -1
- package/dist/commonjs/sdk/vendorscans.js.map +1 -1
- package/dist/esm/__tests__/invoices.test.js +3 -1
- package/dist/esm/__tests__/invoices.test.js.map +1 -1
- package/dist/esm/__tests__/organizations.test.js +35 -43
- package/dist/esm/__tests__/organizations.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +3 -1
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/vendorscans.test.js +57 -0
- package/dist/esm/__tests__/vendorscans.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/__tests__/zones.test.js +3 -29
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/invoicesInvoicesExport.d.ts +2 -1
- package/dist/esm/funcs/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/esm/funcs/invoicesInvoicesExport.js +2 -1
- package/dist/esm/funcs/invoicesInvoicesExport.js.map +1 -1
- package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +21 -0
- package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
- package/dist/esm/funcs/{organizationsDeleteCompanyTargetFacility.js → organizationsDownloadCompanyTargetFacilitiesExport.js} +11 -17
- package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
- package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.d.ts +27 -0
- package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/funcs/{organizationsCreateCompanyTargetFacility.js → organizationsExportCompanyTargetFacilities.js} +24 -27
- package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +21 -0
- package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js +96 -0
- package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
- package/dist/esm/funcs/vendorScansDownloadVendorScansExport.d.ts +27 -0
- package/dist/esm/funcs/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
- package/dist/esm/funcs/vendorScansDownloadVendorScansExport.js +97 -0
- package/dist/esm/funcs/vendorScansDownloadVendorScansExport.js.map +1 -0
- package/dist/esm/funcs/vendorScansExportVendorScans.d.ts +27 -0
- package/dist/esm/funcs/vendorScansExportVendorScans.d.ts.map +1 -0
- package/dist/esm/funcs/vendorScansExportVendorScans.js +105 -0
- package/dist/esm/funcs/vendorScansExportVendorScans.js.map +1 -0
- package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.d.ts +21 -0
- package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
- package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.js +90 -0
- package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.js.map +1 -0
- package/dist/esm/funcs/vendorsVendorsExport.d.ts +2 -1
- package/dist/esm/funcs/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsVendorsExport.js +2 -1
- package/dist/esm/funcs/vendorsVendorsExport.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/csvexportenqueuedresponse.d.ts +27 -0
- package/dist/esm/models/components/csvexportenqueuedresponse.d.ts.map +1 -0
- package/dist/esm/models/components/csvexportenqueuedresponse.js +23 -0
- package/dist/esm/models/components/csvexportenqueuedresponse.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +1 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.d.ts +47 -0
- package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.d.ts.map +1 -0
- package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.js +41 -0
- package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.js.map +1 -0
- package/dist/esm/models/operations/downloadvendorscansexport.d.ts +46 -0
- package/dist/esm/models/operations/downloadvendorscansexport.d.ts.map +1 -0
- package/dist/esm/models/operations/downloadvendorscansexport.js +48 -0
- package/dist/esm/models/operations/downloadvendorscansexport.js.map +1 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts +144 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.js +96 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -0
- package/dist/esm/models/operations/exportvendorscans.d.ts +110 -0
- package/dist/esm/models/operations/exportvendorscans.d.ts.map +1 -0
- package/dist/esm/models/operations/exportvendorscans.js +61 -0
- package/dist/esm/models/operations/exportvendorscans.js.map +1 -0
- package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.d.ts +58 -0
- package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.d.ts.map +1 -0
- package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.js +40 -0
- package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.js.map +1 -0
- package/dist/esm/models/operations/getvendorscansexportstatus.d.ts +53 -0
- package/dist/esm/models/operations/getvendorscansexportstatus.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorscansexportstatus.js +35 -0
- package/dist/esm/models/operations/getvendorscansexportstatus.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +6 -3
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +6 -3
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/invoicesexport.d.ts +4 -41
- package/dist/esm/models/operations/invoicesexport.d.ts.map +1 -1
- package/dist/esm/models/operations/invoicesexport.js +2 -31
- package/dist/esm/models/operations/invoicesexport.js.map +1 -1
- package/dist/esm/models/operations/vendorsexport.d.ts +4 -42
- package/dist/esm/models/operations/vendorsexport.d.ts.map +1 -1
- package/dist/esm/models/operations/vendorsexport.js +2 -30
- package/dist/esm/models/operations/vendorsexport.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +6 -3
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +6 -3
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts +3 -2
- package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.core.js.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.d.ts +3 -2
- package/dist/esm/react-query/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.js.map +1 -1
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts +12 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js +35 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js.map +1 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +31 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js +61 -0
- package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +20 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js +43 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +65 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js +73 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts +12 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js +35 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js.map +1 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +31 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js +61 -0
- package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.d.ts +17 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.js +34 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.js.map +1 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.d.ts +32 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.js +62 -0
- package/dist/esm/react-query/vendorScansDownloadVendorScansExport.js.map +1 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.core.d.ts +26 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.core.js +47 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.core.js.map +1 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.d.ts +72 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.js +71 -0
- package/dist/esm/react-query/vendorScansExportVendorScans.js.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.d.ts +12 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.js +34 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.js.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.d.ts +31 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.js +61 -0
- package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.js.map +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts +3 -2
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.core.js.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.d.ts +3 -2
- package/dist/esm/react-query/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.js.map +1 -1
- package/dist/esm/sdk/invoices.d.ts +1 -1
- package/dist/esm/sdk/invoices.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.d.ts +16 -50
- package/dist/esm/sdk/organizations.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.js +22 -54
- package/dist/esm/sdk/organizations.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +1 -1
- package/dist/esm/sdk/vendorscans.d.ts +33 -0
- package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
- package/dist/esm/sdk/vendorscans.js +39 -0
- package/dist/esm/sdk/vendorscans.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/invoices.test.ts +3 -1
- package/src/__tests__/organizations.test.ts +51 -46
- package/src/__tests__/vendors.test.ts +3 -1
- package/src/__tests__/vendorscans.test.ts +70 -0
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +3 -29
- package/src/funcs/invoicesInvoicesExport.ts +5 -4
- package/src/funcs/organizationsDownloadCompanyTargetFacilitiesExport.ts +200 -0
- package/src/funcs/{organizationsCreateCompanyTargetFacility.ts → organizationsExportCompanyTargetFacilities.ts} +32 -33
- package/src/funcs/{organizationsDeleteCompanyTargetFacility.ts → organizationsGetCompanyTargetFacilitiesExportStatus.ts} +22 -25
- package/src/funcs/vendorScansDownloadVendorScansExport.ts +210 -0
- package/src/funcs/vendorScansExportVendorScans.ts +194 -0
- package/src/funcs/vendorScansGetVendorScansExportStatus.ts +182 -0
- package/src/funcs/vendorsVendorsExport.ts +5 -4
- package/src/lib/config.ts +2 -2
- package/src/models/components/csvexportenqueuedresponse.ts +58 -0
- package/src/models/components/index.ts +1 -1
- package/src/models/operations/downloadcompanytargetfacilitiesexport.ts +135 -0
- package/src/models/operations/downloadvendorscansexport.ts +145 -0
- package/src/models/operations/exportcompanytargetfacilities.ts +242 -0
- package/src/models/operations/exportvendorscans.ts +163 -0
- package/src/models/operations/getcompanytargetfacilitiesexportstatus.ts +126 -0
- package/src/models/operations/getvendorscansexportstatus.ts +108 -0
- package/src/models/operations/index.ts +6 -3
- package/src/models/operations/invoicesexport.ts +5 -83
- package/src/models/operations/vendorsexport.ts +5 -82
- package/src/react-query/index.ts +6 -3
- package/src/react-query/invoicesInvoicesExport.core.ts +3 -2
- package/src/react-query/invoicesInvoicesExport.ts +3 -2
- package/src/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.ts +85 -0
- package/src/react-query/organizationsDownloadCompanyTargetFacilitiesExport.ts +153 -0
- package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +99 -0
- package/src/react-query/organizationsExportCompanyTargetFacilities.ts +189 -0
- package/src/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.ts +84 -0
- package/src/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.ts +153 -0
- package/src/react-query/vendorScansDownloadVendorScansExport.core.ts +86 -0
- package/src/react-query/vendorScansDownloadVendorScansExport.ts +154 -0
- package/src/react-query/vendorScansExportVendorScans.core.ts +105 -0
- package/src/react-query/vendorScansExportVendorScans.ts +190 -0
- package/src/react-query/vendorScansGetVendorScansExportStatus.core.ts +78 -0
- package/src/react-query/vendorScansGetVendorScansExportStatus.ts +152 -0
- package/src/react-query/vendorsVendorsExport.core.ts +3 -2
- package/src/react-query/vendorsVendorsExport.ts +3 -2
- package/src/sdk/invoices.ts +1 -1
- package/src/sdk/organizations.ts +30 -67
- package/src/sdk/vendors.ts +1 -1
- package/src/sdk/vendorscans.ts +69 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +0 -34
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +0 -1
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +0 -28
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +0 -1
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +0 -42
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +0 -1
- package/dist/commonjs/models/components/companytargetfacility.d.ts +0 -54
- package/dist/commonjs/models/components/companytargetfacility.d.ts.map +0 -1
- package/dist/commonjs/models/components/companytargetfacility.js +0 -80
- package/dist/commonjs/models/components/companytargetfacility.js.map +0 -1
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +0 -50
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +0 -1
- package/dist/commonjs/models/operations/createcompanytargetfacility.js +0 -84
- package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +0 -1
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +0 -20
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +0 -1
- package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +0 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +0 -173
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +0 -1
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +0 -43
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +0 -65
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +0 -1
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +0 -37
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +0 -59
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +0 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +0 -54
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +0 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +0 -111
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +0 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +0 -154
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +0 -180
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +0 -1
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +0 -34
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +0 -1
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +0 -28
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +0 -1
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +0 -42
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +0 -158
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +0 -1
- package/dist/esm/models/components/companytargetfacility.d.ts +0 -54
- package/dist/esm/models/components/companytargetfacility.d.ts.map +0 -1
- package/dist/esm/models/components/companytargetfacility.js +0 -41
- package/dist/esm/models/components/companytargetfacility.js.map +0 -1
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts +0 -50
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +0 -1
- package/dist/esm/models/operations/createcompanytargetfacility.js +0 -45
- package/dist/esm/models/operations/createcompanytargetfacility.js.map +0 -1
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +0 -20
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +0 -1
- package/dist/esm/models/operations/deletecompanytargetfacility.js +0 -18
- package/dist/esm/models/operations/deletecompanytargetfacility.js.map +0 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +0 -173
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +0 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.js +0 -110
- package/dist/esm/models/operations/listcompanytargetfacilities.js.map +0 -1
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +0 -43
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +0 -60
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +0 -1
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +0 -37
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +0 -54
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +0 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +0 -54
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +0 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +0 -103
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +0 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +0 -154
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +0 -165
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +0 -1
- package/src/funcs/organizationsListCompanyTargetFacilities.ts +0 -291
- package/src/models/components/companytargetfacility.ts +0 -124
- package/src/models/operations/createcompanytargetfacility.ts +0 -132
- package/src/models/operations/deletecompanytargetfacility.ts +0 -47
- package/src/models/operations/listcompanytargetfacilities.ts +0 -291
- package/src/react-query/organizationsCreateCompanyTargetFacility.ts +0 -129
- package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +0 -122
- package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +0 -239
- package/src/react-query/organizationsListCompanyTargetFacilities.ts +0 -365
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as types from "../../types/primitives.js";
|
|
8
|
+
import { smartUnion } from "../../types/smartUnion.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const DownloadVendorScansExportRequest$outboundSchema = z.object({
|
|
11
|
+
id: z.string(),
|
|
12
|
+
});
|
|
13
|
+
export function downloadVendorScansExportRequestToJSON(downloadVendorScansExportRequest) {
|
|
14
|
+
return JSON.stringify(DownloadVendorScansExportRequest$outboundSchema.parse(downloadVendorScansExportRequest));
|
|
15
|
+
}
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const DownloadVendorScansExportResponseBody$inboundSchema = z.object({
|
|
18
|
+
ready: types.optional(types.boolean()),
|
|
19
|
+
message: types.optional(types.string()),
|
|
20
|
+
});
|
|
21
|
+
export function downloadVendorScansExportResponseBodyFromJSON(jsonString) {
|
|
22
|
+
return safeParse(jsonString, (x) => DownloadVendorScansExportResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DownloadVendorScansExportResponseBody' from JSON`);
|
|
23
|
+
}
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const DownloadVendorScansExportResponseResult$inboundSchema = smartUnion([
|
|
26
|
+
z.instanceof((ReadableStream)),
|
|
27
|
+
z.lazy(() => DownloadVendorScansExportResponseBody$inboundSchema),
|
|
28
|
+
]);
|
|
29
|
+
export function downloadVendorScansExportResponseResultFromJSON(jsonString) {
|
|
30
|
+
return safeParse(jsonString, (x) => DownloadVendorScansExportResponseResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DownloadVendorScansExportResponseResult' from JSON`);
|
|
31
|
+
}
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const DownloadVendorScansExportResponse$inboundSchema = z.object({
|
|
34
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
35
|
+
Result: types.optional(smartUnion([
|
|
36
|
+
z.instanceof((ReadableStream)),
|
|
37
|
+
z.lazy(() => DownloadVendorScansExportResponseBody$inboundSchema),
|
|
38
|
+
])),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
"Headers": "headers",
|
|
42
|
+
"Result": "result",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
export function downloadVendorScansExportResponseFromJSON(jsonString) {
|
|
46
|
+
return safeParse(jsonString, (x) => DownloadVendorScansExportResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DownloadVendorScansExportResponse' from JSON`);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=downloadvendorscansexport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downloadvendorscansexport.js","sourceRoot":"","sources":["../../../../src/models/operations/downloadvendorscansexport.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAyCvD,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,C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O,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,KAAK,CAAC,QAAQ,CACpB,UAAU,CAAC;QACT,CAAC,CAAC,UAAU,CAAC,CAAA,cAA0B,CAAA,CAAC;QACxC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mDAAmD,CAAC;KAClE,CAAC,CACH;CACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,yCAAyC,CACvD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Filter by link status.
|
|
7
|
+
*/
|
|
8
|
+
export declare const QueryParamStatus: {
|
|
9
|
+
readonly Pending: "pending";
|
|
10
|
+
readonly Approved: "approved";
|
|
11
|
+
readonly Denied: "denied";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Filter by link status.
|
|
15
|
+
*/
|
|
16
|
+
export type QueryParamStatus = ClosedEnum<typeof QueryParamStatus>;
|
|
17
|
+
/**
|
|
18
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
19
|
+
*/
|
|
20
|
+
export declare const HasIndividual: {
|
|
21
|
+
readonly True: "true";
|
|
22
|
+
readonly False: "false";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
26
|
+
*/
|
|
27
|
+
export type HasIndividual = ClosedEnum<typeof HasIndividual>;
|
|
28
|
+
/**
|
|
29
|
+
* `true` returns only facilities the company has at least one *active* individual targeting (active = vendor's credentialing subscription is active); `false` returns only those with none.
|
|
30
|
+
*/
|
|
31
|
+
export declare const HasActiveIndividual: {
|
|
32
|
+
readonly True: "true";
|
|
33
|
+
readonly False: "false";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* `true` returns only facilities the company has at least one *active* individual targeting (active = vendor's credentialing subscription is active); `false` returns only those with none.
|
|
37
|
+
*/
|
|
38
|
+
export type HasActiveIndividual = ClosedEnum<typeof HasActiveIndividual>;
|
|
39
|
+
/**
|
|
40
|
+
* Sort field used by the exporter when ordering rows in the CSV. Defaults to `facility_name`.
|
|
41
|
+
*/
|
|
42
|
+
export declare const QueryParamSort: {
|
|
43
|
+
readonly Id: "id";
|
|
44
|
+
readonly FacilityName: "facility_name";
|
|
45
|
+
readonly Status: "status";
|
|
46
|
+
readonly DateCreated: "date_created";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Sort field used by the exporter when ordering rows in the CSV. Defaults to `facility_name`.
|
|
50
|
+
*/
|
|
51
|
+
export type QueryParamSort = ClosedEnum<typeof QueryParamSort>;
|
|
52
|
+
export declare const Two: {
|
|
53
|
+
readonly Zero: 0;
|
|
54
|
+
readonly One: 1;
|
|
55
|
+
};
|
|
56
|
+
export type Two = ClosedEnum<typeof Two>;
|
|
57
|
+
/**
|
|
58
|
+
* Sort descending flag.
|
|
59
|
+
*/
|
|
60
|
+
export type Desc = boolean | Two;
|
|
61
|
+
export type ExportCompanyTargetFacilitiesRequest = {
|
|
62
|
+
/**
|
|
63
|
+
* The company whose target facilities to export.
|
|
64
|
+
*/
|
|
65
|
+
companyId: number;
|
|
66
|
+
/**
|
|
67
|
+
* Filter by link status.
|
|
68
|
+
*/
|
|
69
|
+
status?: QueryParamStatus | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
72
|
+
*/
|
|
73
|
+
hasIndividual?: HasIndividual | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* `true` returns only facilities the company has at least one *active* individual targeting (active = vendor's credentialing subscription is active); `false` returns only those with none.
|
|
76
|
+
*/
|
|
77
|
+
hasActiveIndividual?: HasActiveIndividual | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Case-insensitive partial match on facility name.
|
|
80
|
+
*/
|
|
81
|
+
facilityNameLike?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Sort field used by the exporter when ordering rows in the CSV. Defaults to `facility_name`.
|
|
84
|
+
*/
|
|
85
|
+
sort?: QueryParamSort | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Sort descending flag.
|
|
88
|
+
*/
|
|
89
|
+
desc?: boolean | Two | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Page size used by the exporter while paginating results server-side. Does not affect the size of the CSV (all matching rows are included).
|
|
92
|
+
*/
|
|
93
|
+
itemsPerPage?: number | undefined;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Export request accepted and job enqueued.
|
|
97
|
+
*/
|
|
98
|
+
export type ExportCompanyTargetFacilitiesResponseBody = {
|
|
99
|
+
/**
|
|
100
|
+
* URL to poll for export status.
|
|
101
|
+
*/
|
|
102
|
+
statusUrl: string;
|
|
103
|
+
/**
|
|
104
|
+
* URL to download the exported file when ready.
|
|
105
|
+
*/
|
|
106
|
+
downloadUrl: string;
|
|
107
|
+
/**
|
|
108
|
+
* Status token used to check the export status.
|
|
109
|
+
*/
|
|
110
|
+
statusId: string;
|
|
111
|
+
};
|
|
112
|
+
/** @internal */
|
|
113
|
+
export declare const QueryParamStatus$outboundSchema: z.ZodNativeEnum<typeof QueryParamStatus>;
|
|
114
|
+
/** @internal */
|
|
115
|
+
export declare const HasIndividual$outboundSchema: z.ZodNativeEnum<typeof HasIndividual>;
|
|
116
|
+
/** @internal */
|
|
117
|
+
export declare const HasActiveIndividual$outboundSchema: z.ZodNativeEnum<typeof HasActiveIndividual>;
|
|
118
|
+
/** @internal */
|
|
119
|
+
export declare const QueryParamSort$outboundSchema: z.ZodNativeEnum<typeof QueryParamSort>;
|
|
120
|
+
/** @internal */
|
|
121
|
+
export declare const Two$outboundSchema: z.ZodNativeEnum<typeof Two>;
|
|
122
|
+
/** @internal */
|
|
123
|
+
export type Desc$Outbound = boolean | number;
|
|
124
|
+
/** @internal */
|
|
125
|
+
export declare const Desc$outboundSchema: z.ZodType<Desc$Outbound, z.ZodTypeDef, Desc>;
|
|
126
|
+
export declare function descToJSON(desc: Desc): string;
|
|
127
|
+
/** @internal */
|
|
128
|
+
export type ExportCompanyTargetFacilitiesRequest$Outbound = {
|
|
129
|
+
company_id: number;
|
|
130
|
+
status?: string | undefined;
|
|
131
|
+
has_individual?: string | undefined;
|
|
132
|
+
has_active_individual?: string | undefined;
|
|
133
|
+
facility_name_like?: string | undefined;
|
|
134
|
+
sort?: string | undefined;
|
|
135
|
+
desc?: boolean | number | undefined;
|
|
136
|
+
items_per_page?: number | undefined;
|
|
137
|
+
};
|
|
138
|
+
/** @internal */
|
|
139
|
+
export declare const ExportCompanyTargetFacilitiesRequest$outboundSchema: z.ZodType<ExportCompanyTargetFacilitiesRequest$Outbound, z.ZodTypeDef, ExportCompanyTargetFacilitiesRequest>;
|
|
140
|
+
export declare function exportCompanyTargetFacilitiesRequestToJSON(exportCompanyTargetFacilitiesRequest: ExportCompanyTargetFacilitiesRequest): string;
|
|
141
|
+
/** @internal */
|
|
142
|
+
export declare const ExportCompanyTargetFacilitiesResponseBody$inboundSchema: z.ZodType<ExportCompanyTargetFacilitiesResponseBody, z.ZodTypeDef, unknown>;
|
|
143
|
+
export declare function exportCompanyTargetFacilitiesResponseBodyFromJSON(jsonString: string): SafeParseResult<ExportCompanyTargetFacilitiesResponseBody, SDKValidationError>;
|
|
144
|
+
//# sourceMappingURL=exportcompanytargetfacilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportcompanytargetfacilities.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/exportcompanytargetfacilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,eAAO,MAAM,GAAG;;;CAGN,CAAC;AACX,MAAM,MAAM,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,GAAG,CAAC;AAEjC,MAAM,MAAM,oCAAoC,GAAG;IACjD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,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O,CAAC,aAAa,EAAE,CAAC,CAAC,UAAU,EAAE,IAAI,CAC9B,CAAC;AAEhD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE7C;AAED,gBAAgB;AAChB,MAAM,MAAM,6CAA6C,GAAG;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAkBpC,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,iDAAiD,CAC/D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,yCAAyC,EACzC,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as types from "../../types/primitives.js";
|
|
8
|
+
import { smartUnion } from "../../types/smartUnion.js";
|
|
9
|
+
/**
|
|
10
|
+
* Filter by link status.
|
|
11
|
+
*/
|
|
12
|
+
export const QueryParamStatus = {
|
|
13
|
+
Pending: "pending",
|
|
14
|
+
Approved: "approved",
|
|
15
|
+
Denied: "denied",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
19
|
+
*/
|
|
20
|
+
export const HasIndividual = {
|
|
21
|
+
True: "true",
|
|
22
|
+
False: "false",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `true` returns only facilities the company has at least one *active* individual targeting (active = vendor's credentialing subscription is active); `false` returns only those with none.
|
|
26
|
+
*/
|
|
27
|
+
export const HasActiveIndividual = {
|
|
28
|
+
True: "true",
|
|
29
|
+
False: "false",
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Sort field used by the exporter when ordering rows in the CSV. Defaults to `facility_name`.
|
|
33
|
+
*/
|
|
34
|
+
export const QueryParamSort = {
|
|
35
|
+
Id: "id",
|
|
36
|
+
FacilityName: "facility_name",
|
|
37
|
+
Status: "status",
|
|
38
|
+
DateCreated: "date_created",
|
|
39
|
+
};
|
|
40
|
+
export const Two = {
|
|
41
|
+
Zero: 0,
|
|
42
|
+
One: 1,
|
|
43
|
+
};
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const QueryParamStatus$outboundSchema = z.nativeEnum(QueryParamStatus);
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const HasIndividual$outboundSchema = z.nativeEnum(HasIndividual);
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const HasActiveIndividual$outboundSchema = z.nativeEnum(HasActiveIndividual);
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const QueryParamSort$outboundSchema = z.nativeEnum(QueryParamSort);
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const Two$outboundSchema = z.nativeEnum(Two);
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const Desc$outboundSchema = smartUnion([z.boolean(), Two$outboundSchema]);
|
|
56
|
+
export function descToJSON(desc) {
|
|
57
|
+
return JSON.stringify(Desc$outboundSchema.parse(desc));
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const ExportCompanyTargetFacilitiesRequest$outboundSchema = z.object({
|
|
61
|
+
companyId: z.number().int(),
|
|
62
|
+
status: QueryParamStatus$outboundSchema.optional(),
|
|
63
|
+
hasIndividual: HasIndividual$outboundSchema.optional(),
|
|
64
|
+
hasActiveIndividual: HasActiveIndividual$outboundSchema.optional(),
|
|
65
|
+
facilityNameLike: z.string().optional(),
|
|
66
|
+
sort: QueryParamSort$outboundSchema.optional(),
|
|
67
|
+
desc: smartUnion([z.boolean(), Two$outboundSchema]).optional(),
|
|
68
|
+
itemsPerPage: z.number().int().optional(),
|
|
69
|
+
}).transform((v) => {
|
|
70
|
+
return remap$(v, {
|
|
71
|
+
companyId: "company_id",
|
|
72
|
+
hasIndividual: "has_individual",
|
|
73
|
+
hasActiveIndividual: "has_active_individual",
|
|
74
|
+
facilityNameLike: "facility_name_like",
|
|
75
|
+
itemsPerPage: "items_per_page",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
export function exportCompanyTargetFacilitiesRequestToJSON(exportCompanyTargetFacilitiesRequest) {
|
|
79
|
+
return JSON.stringify(ExportCompanyTargetFacilitiesRequest$outboundSchema.parse(exportCompanyTargetFacilitiesRequest));
|
|
80
|
+
}
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const ExportCompanyTargetFacilitiesResponseBody$inboundSchema = z.object({
|
|
83
|
+
status_url: types.string(),
|
|
84
|
+
download_url: types.string(),
|
|
85
|
+
status_id: types.string(),
|
|
86
|
+
}).transform((v) => {
|
|
87
|
+
return remap$(v, {
|
|
88
|
+
"status_url": "statusUrl",
|
|
89
|
+
"download_url": "downloadUrl",
|
|
90
|
+
"status_id": "statusId",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
export function exportCompanyTargetFacilitiesResponseBodyFromJSON(jsonString) {
|
|
94
|
+
return safeParse(jsonString, (x) => ExportCompanyTargetFacilitiesResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExportCompanyTargetFacilitiesResponseBody' from JSON`);
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=exportcompanytargetfacilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportcompanytargetfacilities.js","sourceRoot":"","sources":["../../../../src/models/operations/exportcompanytargetfacilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGvD;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,IAAI;IACR,YAAY,EAAE,eAAe;IAC7B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,cAAc;CACnB,CAAC;AAMX,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,IAA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";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
/**
|
|
5
|
+
* Sort field used by the exporter when ordering rows in the generated CSV. One of:
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* `full_name`, `date_scanned`, `result`, `scan_type`. Defaults to `date_scanned`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ExportVendorScansQueryParamSort: {
|
|
11
|
+
readonly FullName: "full_name";
|
|
12
|
+
readonly DateScanned: "date_scanned";
|
|
13
|
+
readonly Result: "result";
|
|
14
|
+
readonly ScanType: "scan_type";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Sort field used by the exporter when ordering rows in the generated CSV. One of:
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* `full_name`, `date_scanned`, `result`, `scan_type`. Defaults to `date_scanned`.
|
|
21
|
+
*/
|
|
22
|
+
export type ExportVendorScansQueryParamSort = ClosedEnum<typeof ExportVendorScansQueryParamSort>;
|
|
23
|
+
/**
|
|
24
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
25
|
+
*/
|
|
26
|
+
export declare const QueryParamScanType: {
|
|
27
|
+
readonly In: "in";
|
|
28
|
+
readonly Out: "out";
|
|
29
|
+
readonly SpotCheck: "spot_check";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
33
|
+
*/
|
|
34
|
+
export type QueryParamScanType = ClosedEnum<typeof QueryParamScanType>;
|
|
35
|
+
export type ExportVendorScansRequest = {
|
|
36
|
+
/**
|
|
37
|
+
* Sort field used by the exporter when ordering rows in the generated CSV. One of:
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* `full_name`, `date_scanned`, `result`, `scan_type`. Defaults to `date_scanned`.
|
|
41
|
+
*/
|
|
42
|
+
sort?: ExportVendorScansQueryParamSort | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Sort desc
|
|
45
|
+
*/
|
|
46
|
+
desc?: components.Desc | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Page size used by the exporter while paginating results server-side. Does not affect the size of the CSV (all matching rows are included).
|
|
49
|
+
*/
|
|
50
|
+
itemsPerPage?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* An ID representing a Hospital
|
|
53
|
+
*/
|
|
54
|
+
facilityId?: number | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* An ID representing a Hospital System
|
|
57
|
+
*/
|
|
58
|
+
systemId?: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Filter scans by company ID.
|
|
61
|
+
*/
|
|
62
|
+
companyId?: number | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Filter scans by vendor ID, or pass `me` to use the currently authenticated vendor.
|
|
65
|
+
*/
|
|
66
|
+
vendorId?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
69
|
+
*/
|
|
70
|
+
scanType?: QueryParamScanType | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Filter by individual full name (case-insensitive, partial match).
|
|
73
|
+
*/
|
|
74
|
+
fullNameLike?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Filter scans on or after this date. Format: YYYY-MM-DD.
|
|
77
|
+
*/
|
|
78
|
+
dateScannedGte?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Filter scans on or before this date. Format: YYYY-MM-DD.
|
|
81
|
+
*/
|
|
82
|
+
dateScannedLte?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Filter by scan result. `true` for successful scans, `false` for failed.
|
|
85
|
+
*/
|
|
86
|
+
result?: boolean | undefined;
|
|
87
|
+
};
|
|
88
|
+
/** @internal */
|
|
89
|
+
export declare const ExportVendorScansQueryParamSort$outboundSchema: z.ZodNativeEnum<typeof ExportVendorScansQueryParamSort>;
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare const QueryParamScanType$outboundSchema: z.ZodNativeEnum<typeof QueryParamScanType>;
|
|
92
|
+
/** @internal */
|
|
93
|
+
export type ExportVendorScansRequest$Outbound = {
|
|
94
|
+
sort?: string | undefined;
|
|
95
|
+
desc?: components.Desc$Outbound | undefined;
|
|
96
|
+
items_per_page?: number | undefined;
|
|
97
|
+
facility_id?: number | undefined;
|
|
98
|
+
system_id?: number | undefined;
|
|
99
|
+
company_id?: number | undefined;
|
|
100
|
+
vendor_id?: string | undefined;
|
|
101
|
+
scan_type?: string | undefined;
|
|
102
|
+
full_name_like?: string | undefined;
|
|
103
|
+
date_scanned_gte?: string | undefined;
|
|
104
|
+
date_scanned_lte?: string | undefined;
|
|
105
|
+
result?: boolean | undefined;
|
|
106
|
+
};
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const ExportVendorScansRequest$outboundSchema: z.ZodType<ExportVendorScansRequest$Outbound, z.ZodTypeDef, ExportVendorScansRequest>;
|
|
109
|
+
export declare function exportVendorScansRequestToJSON(exportVendorScansRequest: ExportVendorScansRequest): string;
|
|
110
|
+
//# sourceMappingURL=exportvendorscans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportvendorscans.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/exportvendorscans.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;CAKlC,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;CAIrB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,O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AAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CA0BxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
/**
|
|
8
|
+
* Sort field used by the exporter when ordering rows in the generated CSV. One of:
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* `full_name`, `date_scanned`, `result`, `scan_type`. Defaults to `date_scanned`.
|
|
12
|
+
*/
|
|
13
|
+
export const ExportVendorScansQueryParamSort = {
|
|
14
|
+
FullName: "full_name",
|
|
15
|
+
DateScanned: "date_scanned",
|
|
16
|
+
Result: "result",
|
|
17
|
+
ScanType: "scan_type",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
21
|
+
*/
|
|
22
|
+
export const QueryParamScanType = {
|
|
23
|
+
In: "in",
|
|
24
|
+
Out: "out",
|
|
25
|
+
SpotCheck: "spot_check",
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const ExportVendorScansQueryParamSort$outboundSchema = z.nativeEnum(ExportVendorScansQueryParamSort);
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const QueryParamScanType$outboundSchema = z.nativeEnum(QueryParamScanType);
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ExportVendorScansRequest$outboundSchema = z.object({
|
|
33
|
+
sort: ExportVendorScansQueryParamSort$outboundSchema.optional(),
|
|
34
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
35
|
+
itemsPerPage: z.number().int().optional(),
|
|
36
|
+
facilityId: z.number().int().optional(),
|
|
37
|
+
systemId: z.number().int().optional(),
|
|
38
|
+
companyId: z.number().int().optional(),
|
|
39
|
+
vendorId: z.string().optional(),
|
|
40
|
+
scanType: QueryParamScanType$outboundSchema.optional(),
|
|
41
|
+
fullNameLike: z.string().optional(),
|
|
42
|
+
dateScannedGte: z.string().optional(),
|
|
43
|
+
dateScannedLte: z.string().optional(),
|
|
44
|
+
result: z.boolean().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
itemsPerPage: "items_per_page",
|
|
48
|
+
facilityId: "facility_id",
|
|
49
|
+
systemId: "system_id",
|
|
50
|
+
companyId: "company_id",
|
|
51
|
+
vendorId: "vendor_id",
|
|
52
|
+
scanType: "scan_type",
|
|
53
|
+
fullNameLike: "full_name_like",
|
|
54
|
+
dateScannedGte: "date_scanned_gte",
|
|
55
|
+
dateScannedLte: "date_scanned_lte",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
export function exportVendorScansRequestToJSON(exportVendorScansRequest) {
|
|
59
|
+
return JSON.stringify(ExportVendorScansRequest$outboundSchema.parse(exportVendorScansRequest));
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=exportvendorscans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportvendorscans.js","sourceRoot":"","sources":["../../../../src/models/operations/exportvendorscans.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,WAAW;CACb,CAAC;AAWX;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,YAAY;CACf,CAAC;AA4DX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC;AAElD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAkBrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,8CAA8C,CAAC,QAAQ,EAAE;IAC/D,IAAI,EAAE,UAAU,CAAC,mBAAmB,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,iCAAiC,CAAC,QAAQ,EAAE;IACtD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;QAC9B,UAAU,EAAE,aAAa;QACzB,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,YAAY,EAAE,gBAAgB;QAC9B,cAAc,EAAE,kBAAkB;QAClC,cAAc,EAAE,kBAAkB;KACnC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type GetCompanyTargetFacilitiesExportStatusRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* The company whose export is being polled.
|
|
7
|
+
*/
|
|
8
|
+
companyId: number;
|
|
9
|
+
/**
|
|
10
|
+
* Export status id returned by the export endpoint (e.g. `ctf_export_42`).
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Export status
|
|
16
|
+
*/
|
|
17
|
+
export type GetCompanyTargetFacilitiesExportStatusResponseBody = {
|
|
18
|
+
/**
|
|
19
|
+
* When true, the export is ready for download.
|
|
20
|
+
*/
|
|
21
|
+
ready: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The export job identifier.
|
|
24
|
+
*/
|
|
25
|
+
statusId: string;
|
|
26
|
+
/**
|
|
27
|
+
* URL to download the CSV (present only when `ready` is true).
|
|
28
|
+
*/
|
|
29
|
+
downloadUrl?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* When the export job completed.
|
|
32
|
+
*/
|
|
33
|
+
finishedAt?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* When the export job started.
|
|
36
|
+
*/
|
|
37
|
+
startedAt?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Timestamp of the last progress heartbeat from the background job. Updated on each pagination loop while the job is running; on completion or failure it equals `finished_at`.
|
|
40
|
+
*/
|
|
41
|
+
heartbeat?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Error message if the export failed.
|
|
44
|
+
*/
|
|
45
|
+
error?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type GetCompanyTargetFacilitiesExportStatusRequest$Outbound = {
|
|
49
|
+
company_id: number;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const GetCompanyTargetFacilitiesExportStatusRequest$outboundSchema: z.ZodType<GetCompanyTargetFacilitiesExportStatusRequest$Outbound, z.ZodTypeDef, GetCompanyTargetFacilitiesExportStatusRequest>;
|
|
54
|
+
export declare function getCompanyTargetFacilitiesExportStatusRequestToJSON(getCompanyTargetFacilitiesExportStatusRequest: GetCompanyTargetFacilitiesExportStatusRequest): string;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const GetCompanyTargetFacilitiesExportStatusResponseBody$inboundSchema: z.ZodType<GetCompanyTargetFacilitiesExportStatusResponseBody, z.ZodTypeDef, unknown>;
|
|
57
|
+
export declare function getCompanyTargetFacilitiesExportStatusResponseBodyFromJSON(jsonString: string): SafeParseResult<GetCompanyTargetFacilitiesExportStatusResponseBody, SDKValidationError>;
|
|
58
|
+
//# sourceMappingURL=getcompanytargetfacilitiesexportstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcompanytargetfacilitiesexportstatus.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcompanytargetfacilitiesexportstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,6CAA6C,GAAG;IAC1D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sDAAsD,GAAG;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,sDAAsD,EACtD,CAAC,CAAC,UAAU,EACZ,6CAA6C,CAQ7C,CAAC;AAEL,wBAAgB,mDAAmD,CACjE,6CAA6C,EAC3C,6CAA6C,GAC9C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEL,wBAAgB,0DAA0D,CACxE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,kDAAkD,EAClD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as types from "../../types/primitives.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const GetCompanyTargetFacilitiesExportStatusRequest$outboundSchema = z.object({
|
|
10
|
+
companyId: z.number().int(),
|
|
11
|
+
id: z.string(),
|
|
12
|
+
}).transform((v) => {
|
|
13
|
+
return remap$(v, {
|
|
14
|
+
companyId: "company_id",
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
export function getCompanyTargetFacilitiesExportStatusRequestToJSON(getCompanyTargetFacilitiesExportStatusRequest) {
|
|
18
|
+
return JSON.stringify(GetCompanyTargetFacilitiesExportStatusRequest$outboundSchema.parse(getCompanyTargetFacilitiesExportStatusRequest));
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const GetCompanyTargetFacilitiesExportStatusResponseBody$inboundSchema = z.object({
|
|
22
|
+
ready: types.boolean(),
|
|
23
|
+
status_id: types.string(),
|
|
24
|
+
download_url: types.optional(types.string()),
|
|
25
|
+
finished_at: types.optional(types.string()),
|
|
26
|
+
started_at: types.optional(types.string()),
|
|
27
|
+
heartbeat: types.optional(types.string()),
|
|
28
|
+
error: types.optional(types.string()),
|
|
29
|
+
}).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"status_id": "statusId",
|
|
32
|
+
"download_url": "downloadUrl",
|
|
33
|
+
"finished_at": "finishedAt",
|
|
34
|
+
"started_at": "startedAt",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
export function getCompanyTargetFacilitiesExportStatusResponseBodyFromJSON(jsonString) {
|
|
38
|
+
return safeParse(jsonString, (x) => GetCompanyTargetFacilitiesExportStatusResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyTargetFacilitiesExportStatusResponseBody' from JSON`);
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=getcompanytargetfacilitiesexportstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcompanytargetfacilitiesexportstatus.js","sourceRoot":"","sources":["../../../../src/models/operations/getcompanytargetfacilitiesexportstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAsDnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4DAA4D,GAKnE,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,EAAE,EAAE,CAAC,CAAC,MA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,CACd,EACH,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type GetVendorScansExportStatusRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* Export status id returned by the export vendor scans endpoint.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Export status
|
|
12
|
+
*/
|
|
13
|
+
export type GetVendorScansExportStatusResponseBody = {
|
|
14
|
+
/**
|
|
15
|
+
* When true, the export is ready for download.
|
|
16
|
+
*/
|
|
17
|
+
ready: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The export job identifier.
|
|
20
|
+
*/
|
|
21
|
+
statusId: string;
|
|
22
|
+
/**
|
|
23
|
+
* URL to download the CSV (present only when `ready` is true).
|
|
24
|
+
*/
|
|
25
|
+
downloadUrl?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* When the export job completed.
|
|
28
|
+
*/
|
|
29
|
+
finishedAt?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* When the export job started.
|
|
32
|
+
*/
|
|
33
|
+
startedAt?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Timestamp of the last progress heartbeat from the background job. Updated on each pagination loop while the job is running; on completion or failure it equals `finished_at`.
|
|
36
|
+
*/
|
|
37
|
+
heartbeat?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Error message if the export failed.
|
|
40
|
+
*/
|
|
41
|
+
error?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type GetVendorScansExportStatusRequest$Outbound = {
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const GetVendorScansExportStatusRequest$outboundSchema: z.ZodType<GetVendorScansExportStatusRequest$Outbound, z.ZodTypeDef, GetVendorScansExportStatusRequest>;
|
|
49
|
+
export declare function getVendorScansExportStatusRequestToJSON(getVendorScansExportStatusRequest: GetVendorScansExportStatusRequest): string;
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const GetVendorScansExportStatusResponseBody$inboundSchema: z.ZodType<GetVendorScansExportStatusResponseBody, z.ZodTypeDef, unknown>;
|
|
52
|
+
export declare function getVendorScansExportStatusResponseBodyFromJSON(jsonString: string): SafeParseResult<GetVendorScansExportStatusResponseBody, SDKValidationError>;
|
|
53
|
+
//# sourceMappingURL=getvendorscansexportstatus.d.ts.map
|