@greensecurity/javascript-sdk 0.44.0-beta.3 → 0.44.0-beta.6
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 +21 -0
- package/dist/commonjs/__tests__/companies.test.js +29 -0
- package/dist/commonjs/__tests__/companies.test.js.map +1 -1
- package/dist/commonjs/__tests__/organizations.test.js +75 -0
- package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +51 -0
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +2 -9
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/companiesListCompanyCredentials.d.ts +23 -0
- package/dist/commonjs/funcs/companiesListCompanyCredentials.d.ts.map +1 -0
- package/dist/commonjs/funcs/companiesListCompanyCredentials.js +170 -0
- package/dist/commonjs/funcs/companiesListCompanyCredentials.js.map +1 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +145 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js +138 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +38 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +186 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts +3 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorScansGetVendorScan.js +3 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScan.js.map +1 -1
- package/dist/commonjs/funcs/vendorsDownloadVendorsExport.d.ts +22 -0
- package/dist/commonjs/funcs/vendorsDownloadVendorsExport.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsDownloadVendorsExport.js +128 -0
- package/dist/commonjs/funcs/vendorsDownloadVendorsExport.js.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.d.ts +21 -0
- package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.js +126 -0
- package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.js.map +1 -0
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts +23 -0
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsVendorsExport.js +152 -0
- package/dist/commonjs/funcs/vendorsVendorsExport.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/appointmentsummary.d.ts +25 -0
- package/dist/commonjs/models/components/appointmentsummary.d.ts.map +1 -0
- package/dist/commonjs/models/components/appointmentsummary.js +63 -0
- package/dist/commonjs/models/components/appointmentsummary.js.map +1 -0
- package/dist/commonjs/models/components/companycredentiallistitem.d.ts +32 -0
- package/dist/commonjs/models/components/companycredentiallistitem.d.ts.map +1 -0
- package/dist/commonjs/models/components/companycredentiallistitem.js +84 -0
- package/dist/commonjs/models/components/companycredentiallistitem.js.map +1 -0
- package/dist/commonjs/models/components/companytargetfacility.d.ts +54 -0
- package/dist/commonjs/models/components/companytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/components/companytargetfacility.js +80 -0
- package/dist/commonjs/models/components/companytargetfacility.js.map +1 -0
- package/dist/commonjs/models/components/emailpreferences.d.ts +0 -18
- package/dist/commonjs/models/components/emailpreferences.d.ts.map +1 -1
- package/dist/commonjs/models/components/emailpreferences.js +0 -9
- package/dist/commonjs/models/components/emailpreferences.js.map +1 -1
- package/dist/commonjs/models/components/expand.d.ts +5 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +5 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +4 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +4 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +2 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +2 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/commonjs/models/components/vendorscan.d.ts +47 -0
- package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorscan.js +31 -1
- package/dist/commonjs/models/components/vendorscan.js.map +1 -1
- package/dist/commonjs/models/components/vendorscanscreeningresponse.d.ts +27 -0
- package/dist/commonjs/models/components/vendorscanscreeningresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/vendorscanscreeningresponse.js +63 -0
- package/dist/commonjs/models/components/vendorscanscreeningresponse.js.map +1 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +50 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.js +84 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +1 -0
- package/dist/commonjs/models/operations/createinvoice.d.ts +6 -6
- package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createinvoice.js +6 -6
- package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +20 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.js +55 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +1 -0
- package/dist/commonjs/models/operations/downloadvendorsexport.d.ts +42 -0
- package/dist/commonjs/models/operations/downloadvendorsexport.d.ts.map +1 -0
- package/dist/commonjs/models/operations/downloadvendorsexport.js +75 -0
- package/dist/commonjs/models/operations/downloadvendorsexport.js.map +1 -0
- package/dist/commonjs/models/operations/getinvoice.d.ts +4 -4
- package/dist/commonjs/models/operations/getinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getinvoice.js +4 -4
- package/dist/commonjs/models/operations/getinvoice.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorsexportstatus.d.ts +53 -0
- package/dist/commonjs/models/operations/getvendorsexportstatus.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorsexportstatus.js +73 -0
- package/dist/commonjs/models/operations/getvendorsexportstatus.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +7 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +7 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/invoicesexport.d.ts +8 -8
- package/dist/commonjs/models/operations/invoicesexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/invoicesexport.js +9 -8
- package/dist/commonjs/models/operations/invoicesexport.js.map +1 -1
- package/dist/commonjs/models/operations/listcompanycredentials.d.ts +93 -0
- package/dist/commonjs/models/operations/listcompanycredentials.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listcompanycredentials.js +112 -0
- package/dist/commonjs/models/operations/listcompanycredentials.js.map +1 -0
- package/dist/commonjs/models/operations/listcompanycredits.d.ts +4 -4
- package/dist/commonjs/models/operations/listcompanycredits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcompanycredits.js +4 -4
- package/dist/commonjs/models/operations/listcompanycredits.js.map +1 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +138 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js +130 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -0
- package/dist/commonjs/models/operations/listlookupsystems.d.ts +4 -4
- package/dist/commonjs/models/operations/listlookupsystems.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listlookupsystems.js +4 -5
- package/dist/commonjs/models/operations/listlookupsystems.js.map +1 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.d.ts +18 -0
- package/dist/commonjs/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.js +11 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.js.map +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts +18 -17
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.js +16 -15
- package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/commonjs/models/operations/vendorsexport.d.ts +184 -0
- package/dist/commonjs/models/operations/vendorsexport.d.ts.map +1 -0
- package/dist/commonjs/models/operations/vendorsexport.js +133 -0
- package/dist/commonjs/models/operations/vendorsexport.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.core.d.ts +44 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.core.js +101 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.core.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.d.ts +68 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.d.ts.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.js +104 -0
- package/dist/commonjs/react-query/companiesListCompanyCredentials.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyCredits.core.d.ts +2 -2
- package/dist/commonjs/react-query/companiesListCompanyCredits.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/companiesListCompanyCredits.d.ts +2 -2
- package/dist/commonjs/react-query/companiesListCompanyCredits.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +7 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +7 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/invoicesGetInvoice.core.d.ts +1 -1
- package/dist/commonjs/react-query/invoicesGetInvoice.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/invoicesGetInvoice.d.ts +2 -2
- package/dist/commonjs/react-query/invoicesGetInvoice.d.ts.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts +2 -2
- package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts +1 -1
- package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts +2 -2
- package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +65 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +59 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +46 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +103 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +130 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +164 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts +6 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorScansGetVendorScan.js +6 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.js.map +1 -1
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.d.ts +12 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.js +39 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.d.ts +33 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.js +73 -0
- package/dist/commonjs/react-query/vendorsDownloadVendorsExport.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.d.ts +12 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.js +39 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.d.ts +31 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.js +71 -0
- package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.js.map +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts +40 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.js +67 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts +95 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.js +71 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.js.map +1 -0
- package/dist/commonjs/sdk/companies.d.ts +9 -0
- package/dist/commonjs/sdk/companies.d.ts.map +1 -1
- package/dist/commonjs/sdk/companies.js +10 -0
- package/dist/commonjs/sdk/companies.js.map +1 -1
- package/dist/commonjs/sdk/organizations.d.ts +60 -0
- package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.js +67 -0
- package/dist/commonjs/sdk/organizations.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +27 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +36 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/commonjs/sdk/vendorscans.d.ts +3 -0
- package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendorscans.js +3 -0
- package/dist/commonjs/sdk/vendorscans.js.map +1 -1
- package/dist/commonjs/types/async.d.ts.map +1 -1
- package/dist/commonjs/types/async.js +8 -7
- package/dist/commonjs/types/async.js.map +1 -1
- package/dist/commonjs/types/primitives.d.ts +0 -2
- package/dist/commonjs/types/primitives.d.ts.map +1 -1
- package/dist/commonjs/types/primitives.js +0 -23
- package/dist/commonjs/types/primitives.js.map +1 -1
- package/dist/esm/__tests__/companies.test.js +29 -0
- package/dist/esm/__tests__/companies.test.js.map +1 -1
- package/dist/esm/__tests__/organizations.test.js +75 -0
- package/dist/esm/__tests__/organizations.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +51 -0
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +2 -9
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/companiesListCompanyCredentials.d.ts +23 -0
- package/dist/esm/funcs/companiesListCompanyCredentials.d.ts.map +1 -0
- package/dist/esm/funcs/companiesListCompanyCredentials.js +134 -0
- package/dist/esm/funcs/companiesListCompanyCredentials.js.map +1 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +109 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js +102 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +38 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +150 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/funcs/vendorScansGetVendorScan.d.ts +3 -0
- package/dist/esm/funcs/vendorScansGetVendorScan.d.ts.map +1 -1
- package/dist/esm/funcs/vendorScansGetVendorScan.js +3 -0
- package/dist/esm/funcs/vendorScansGetVendorScan.js.map +1 -1
- package/dist/esm/funcs/vendorsDownloadVendorsExport.d.ts +22 -0
- package/dist/esm/funcs/vendorsDownloadVendorsExport.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsDownloadVendorsExport.js +92 -0
- package/dist/esm/funcs/vendorsDownloadVendorsExport.js.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorsExportStatus.d.ts +21 -0
- package/dist/esm/funcs/vendorsGetVendorsExportStatus.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorsExportStatus.js +90 -0
- package/dist/esm/funcs/vendorsGetVendorsExportStatus.js.map +1 -0
- package/dist/esm/funcs/vendorsVendorsExport.d.ts +23 -0
- package/dist/esm/funcs/vendorsVendorsExport.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsVendorsExport.js +116 -0
- package/dist/esm/funcs/vendorsVendorsExport.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/appointmentsummary.d.ts +25 -0
- package/dist/esm/models/components/appointmentsummary.d.ts.map +1 -0
- package/dist/esm/models/components/appointmentsummary.js +26 -0
- package/dist/esm/models/components/appointmentsummary.js.map +1 -0
- package/dist/esm/models/components/companycredentiallistitem.d.ts +32 -0
- package/dist/esm/models/components/companycredentiallistitem.d.ts.map +1 -0
- package/dist/esm/models/components/companycredentiallistitem.js +45 -0
- package/dist/esm/models/components/companycredentiallistitem.js.map +1 -0
- package/dist/esm/models/components/companytargetfacility.d.ts +54 -0
- package/dist/esm/models/components/companytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/components/companytargetfacility.js +41 -0
- package/dist/esm/models/components/companytargetfacility.js.map +1 -0
- package/dist/esm/models/components/emailpreferences.d.ts +0 -18
- package/dist/esm/models/components/emailpreferences.d.ts.map +1 -1
- package/dist/esm/models/components/emailpreferences.js +0 -9
- package/dist/esm/models/components/emailpreferences.js.map +1 -1
- package/dist/esm/models/components/expand.d.ts +5 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +5 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +4 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +4 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +2 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +2 -0
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/models/components/vendorscan.d.ts +47 -0
- package/dist/esm/models/components/vendorscan.d.ts.map +1 -1
- package/dist/esm/models/components/vendorscan.js +28 -0
- package/dist/esm/models/components/vendorscan.js.map +1 -1
- package/dist/esm/models/components/vendorscanscreeningresponse.d.ts +27 -0
- package/dist/esm/models/components/vendorscanscreeningresponse.d.ts.map +1 -0
- package/dist/esm/models/components/vendorscanscreeningresponse.js +26 -0
- package/dist/esm/models/components/vendorscanscreeningresponse.js.map +1 -0
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts +50 -0
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/operations/createcompanytargetfacility.js +45 -0
- package/dist/esm/models/operations/createcompanytargetfacility.js.map +1 -0
- package/dist/esm/models/operations/createinvoice.d.ts +6 -6
- package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/createinvoice.js +4 -4
- package/dist/esm/models/operations/createinvoice.js.map +1 -1
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +20 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.js +18 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.js.map +1 -0
- package/dist/esm/models/operations/downloadvendorsexport.d.ts +42 -0
- package/dist/esm/models/operations/downloadvendorsexport.d.ts.map +1 -0
- package/dist/esm/models/operations/downloadvendorsexport.js +36 -0
- package/dist/esm/models/operations/downloadvendorsexport.js.map +1 -0
- package/dist/esm/models/operations/getinvoice.d.ts +4 -4
- package/dist/esm/models/operations/getinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/getinvoice.js +3 -3
- package/dist/esm/models/operations/getinvoice.js.map +1 -1
- package/dist/esm/models/operations/getvendorsexportstatus.d.ts +53 -0
- package/dist/esm/models/operations/getvendorsexportstatus.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorsexportstatus.js +35 -0
- package/dist/esm/models/operations/getvendorsexportstatus.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +7 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +7 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/invoicesexport.d.ts +8 -8
- package/dist/esm/models/operations/invoicesexport.d.ts.map +1 -1
- package/dist/esm/models/operations/invoicesexport.js +7 -6
- package/dist/esm/models/operations/invoicesexport.js.map +1 -1
- package/dist/esm/models/operations/listcompanycredentials.d.ts +93 -0
- package/dist/esm/models/operations/listcompanycredentials.d.ts.map +1 -0
- package/dist/esm/models/operations/listcompanycredentials.js +73 -0
- package/dist/esm/models/operations/listcompanycredentials.js.map +1 -0
- package/dist/esm/models/operations/listcompanycredits.d.ts +4 -4
- package/dist/esm/models/operations/listcompanycredits.d.ts.map +1 -1
- package/dist/esm/models/operations/listcompanycredits.js +3 -3
- package/dist/esm/models/operations/listcompanycredits.js.map +1 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +138 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.js +91 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -0
- package/dist/esm/models/operations/listlookupsystems.d.ts +4 -4
- package/dist/esm/models/operations/listlookupsystems.d.ts.map +1 -1
- package/dist/esm/models/operations/listlookupsystems.js +3 -4
- package/dist/esm/models/operations/listlookupsystems.js.map +1 -1
- package/dist/esm/models/operations/listorsearchfacilities.d.ts +18 -0
- package/dist/esm/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/dist/esm/models/operations/listorsearchfacilities.js +10 -0
- package/dist/esm/models/operations/listorsearchfacilities.js.map +1 -1
- package/dist/esm/models/operations/securityzonecheckin.d.ts +18 -17
- package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/esm/models/operations/securityzonecheckin.js +14 -13
- package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/esm/models/operations/vendorsexport.d.ts +184 -0
- package/dist/esm/models/operations/vendorsexport.d.ts.map +1 -0
- package/dist/esm/models/operations/vendorsexport.js +94 -0
- package/dist/esm/models/operations/vendorsexport.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.core.d.ts +44 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.core.d.ts.map +1 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.core.js +93 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.core.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.d.ts +68 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.d.ts.map +1 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.js +89 -0
- package/dist/esm/react-query/companiesListCompanyCredentials.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyCredits.core.d.ts +2 -2
- package/dist/esm/react-query/companiesListCompanyCredits.core.d.ts.map +1 -1
- package/dist/esm/react-query/companiesListCompanyCredits.d.ts +2 -2
- package/dist/esm/react-query/companiesListCompanyCredits.d.ts.map +1 -1
- package/dist/esm/react-query/index.d.ts +7 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +7 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/invoicesGetInvoice.core.d.ts +1 -1
- package/dist/esm/react-query/invoicesGetInvoice.core.d.ts.map +1 -1
- package/dist/esm/react-query/invoicesGetInvoice.d.ts +2 -2
- package/dist/esm/react-query/invoicesGetInvoice.d.ts.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
- package/dist/esm/react-query/invoicesInvoicesExport.d.ts +2 -2
- package/dist/esm/react-query/invoicesInvoicesExport.d.ts.map +1 -1
- package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts +1 -1
- package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
- package/dist/esm/react-query/lookupsListLookupSystems.d.ts +2 -2
- package/dist/esm/react-query/lookupsListLookupSystems.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +60 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +54 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +46 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +95 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +130 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +149 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/react-query/vendorScansGetVendorScan.d.ts +6 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.d.ts.map +1 -1
- package/dist/esm/react-query/vendorScansGetVendorScan.js +6 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.js.map +1 -1
- package/dist/esm/react-query/vendorsDownloadVendorsExport.core.d.ts +12 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.core.js +34 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.core.js.map +1 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.d.ts +33 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.js +63 -0
- package/dist/esm/react-query/vendorsDownloadVendorsExport.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.d.ts +12 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.js +34 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.d.ts +31 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.js +61 -0
- package/dist/esm/react-query/vendorsGetVendorsExportStatus.js.map +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts +40 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.js +62 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.js.map +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.d.ts +95 -0
- package/dist/esm/react-query/vendorsVendorsExport.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.js +61 -0
- package/dist/esm/react-query/vendorsVendorsExport.js.map +1 -0
- package/dist/esm/sdk/companies.d.ts +9 -0
- package/dist/esm/sdk/companies.d.ts.map +1 -1
- package/dist/esm/sdk/companies.js +10 -0
- package/dist/esm/sdk/companies.js.map +1 -1
- package/dist/esm/sdk/organizations.d.ts +60 -0
- package/dist/esm/sdk/organizations.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.js +67 -0
- package/dist/esm/sdk/organizations.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +27 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +36 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/dist/esm/sdk/vendorscans.d.ts +3 -0
- package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
- package/dist/esm/sdk/vendorscans.js +3 -0
- package/dist/esm/sdk/vendorscans.js.map +1 -1
- package/dist/esm/types/async.d.ts.map +1 -1
- package/dist/esm/types/async.js +8 -7
- package/dist/esm/types/async.js.map +1 -1
- package/dist/esm/types/primitives.d.ts +0 -2
- package/dist/esm/types/primitives.d.ts.map +1 -1
- package/dist/esm/types/primitives.js +0 -21
- package/dist/esm/types/primitives.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/companies.test.ts +32 -0
- package/src/__tests__/organizations.test.ts +84 -0
- package/src/__tests__/vendors.test.ts +60 -0
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +2 -9
- package/src/funcs/companiesListCompanyCredentials.ts +265 -0
- package/src/funcs/organizationsCreateCompanyTargetFacility.ts +204 -0
- package/src/funcs/organizationsDeleteCompanyTargetFacility.ts +193 -0
- package/src/funcs/organizationsListCompanyTargetFacilities.ts +283 -0
- package/src/funcs/organizationsListOrSearchFacilities.ts +1 -0
- package/src/funcs/vendorScansGetVendorScan.ts +3 -0
- package/src/funcs/vendorsDownloadVendorsExport.ts +190 -0
- package/src/funcs/vendorsGetVendorsExportStatus.ts +179 -0
- package/src/funcs/vendorsVendorsExport.ts +207 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/appointmentsummary.ts +59 -0
- package/src/models/components/companycredentiallistitem.ts +110 -0
- package/src/models/components/companytargetfacility.ts +124 -0
- package/src/models/components/emailpreferences.ts +0 -18
- package/src/models/components/expand.ts +5 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/vendorcredentialsummary.ts +3 -0
- package/src/models/components/vendorscan.ts +102 -0
- package/src/models/components/vendorscanscreeningresponse.ts +61 -0
- package/src/models/operations/createcompanytargetfacility.ts +132 -0
- package/src/models/operations/createinvoice.ts +14 -10
- package/src/models/operations/deletecompanytargetfacility.ts +47 -0
- package/src/models/operations/downloadvendorsexport.ts +107 -0
- package/src/models/operations/getinvoice.ts +9 -7
- package/src/models/operations/getvendorsexportstatus.ts +108 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/invoicesexport.ts +15 -13
- package/src/models/operations/listcompanycredentials.ts +195 -0
- package/src/models/operations/listcompanycredits.ts +9 -7
- package/src/models/operations/listcompanytargetfacilities.ts +242 -0
- package/src/models/operations/listlookupsystems.ts +7 -6
- package/src/models/operations/listorsearchfacilities.ts +22 -0
- package/src/models/operations/securityzonecheckin.ts +37 -40
- package/src/models/operations/vendorsexport.ts +303 -0
- package/src/react-query/companiesListCompanyCredentials.core.ts +211 -0
- package/src/react-query/companiesListCompanyCredentials.ts +277 -0
- package/src/react-query/companiesListCompanyCredits.core.ts +2 -2
- package/src/react-query/companiesListCompanyCredits.ts +2 -2
- package/src/react-query/index.ts +7 -0
- package/src/react-query/invoicesGetInvoice.core.ts +1 -1
- package/src/react-query/invoicesGetInvoice.ts +2 -2
- package/src/react-query/invoicesInvoicesExport.core.ts +1 -1
- package/src/react-query/invoicesInvoicesExport.ts +2 -2
- package/src/react-query/lookupsListLookupSystems.core.ts +1 -1
- package/src/react-query/lookupsListLookupSystems.ts +2 -2
- package/src/react-query/organizationsCreateCompanyTargetFacility.ts +129 -0
- package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +122 -0
- package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +223 -0
- package/src/react-query/organizationsListCompanyTargetFacilities.ts +339 -0
- package/src/react-query/organizationsListOrSearchFacilities.core.ts +4 -0
- package/src/react-query/organizationsListOrSearchFacilities.ts +2 -0
- package/src/react-query/vendorScansGetVendorScan.ts +6 -0
- package/src/react-query/vendorsDownloadVendorsExport.core.ts +77 -0
- package/src/react-query/vendorsDownloadVendorsExport.ts +151 -0
- package/src/react-query/vendorsGetVendorsExportStatus.core.ts +76 -0
- package/src/react-query/vendorsGetVendorsExportStatus.ts +149 -0
- package/src/react-query/vendorsVendorsExport.core.ts +134 -0
- package/src/react-query/vendorsVendorsExport.ts +209 -0
- package/src/sdk/companies.ts +20 -0
- package/src/sdk/organizations.ts +98 -0
- package/src/sdk/vendors.ts +60 -0
- package/src/sdk/vendorscans.ts +3 -0
- package/src/types/async.ts +8 -7
- package/src/types/primitives.ts +0 -24
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as components from "../components/index.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Filter by link status.
|
|
15
|
+
*/
|
|
16
|
+
export const QueryParamStatus = {
|
|
17
|
+
Pending: "pending",
|
|
18
|
+
Approved: "approved",
|
|
19
|
+
Denied: "denied",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Filter by link status.
|
|
23
|
+
*/
|
|
24
|
+
export type QueryParamStatus = ClosedEnum<typeof QueryParamStatus>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
28
|
+
*/
|
|
29
|
+
export const HasIndividual = {
|
|
30
|
+
True: "true",
|
|
31
|
+
False: "false",
|
|
32
|
+
} as const;
|
|
33
|
+
/**
|
|
34
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
35
|
+
*/
|
|
36
|
+
export type HasIndividual = ClosedEnum<typeof HasIndividual>;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Like `has_individual`, but only counts individuals whose credentialing subscription is active.
|
|
40
|
+
*/
|
|
41
|
+
export const HasActiveIndividual = {
|
|
42
|
+
True: "true",
|
|
43
|
+
False: "false",
|
|
44
|
+
} as const;
|
|
45
|
+
/**
|
|
46
|
+
* Like `has_individual`, but only counts individuals whose credentialing subscription is active.
|
|
47
|
+
*/
|
|
48
|
+
export type HasActiveIndividual = ClosedEnum<typeof HasActiveIndividual>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Sort field (defaults to `facility_name`).
|
|
52
|
+
*/
|
|
53
|
+
export const QueryParamSort = {
|
|
54
|
+
Id: "id",
|
|
55
|
+
FacilityName: "facility_name",
|
|
56
|
+
Status: "status",
|
|
57
|
+
DateCreated: "date_created",
|
|
58
|
+
} as const;
|
|
59
|
+
/**
|
|
60
|
+
* Sort field (defaults to `facility_name`).
|
|
61
|
+
*/
|
|
62
|
+
export type QueryParamSort = ClosedEnum<typeof QueryParamSort>;
|
|
63
|
+
|
|
64
|
+
export type ListCompanyTargetFacilitiesRequest = {
|
|
65
|
+
/**
|
|
66
|
+
* The company whose target facilities to list.
|
|
67
|
+
*/
|
|
68
|
+
companyId: number;
|
|
69
|
+
/**
|
|
70
|
+
* An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
|
|
71
|
+
*/
|
|
72
|
+
expand?: Array<components.Expand> | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Filter by link status.
|
|
75
|
+
*/
|
|
76
|
+
status?: QueryParamStatus | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
|
|
79
|
+
*/
|
|
80
|
+
hasIndividual?: HasIndividual | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Like `has_individual`, but only counts individuals whose credentialing subscription is active.
|
|
83
|
+
*/
|
|
84
|
+
hasActiveIndividual?: HasActiveIndividual | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Case-insensitive partial match on facility name.
|
|
87
|
+
*/
|
|
88
|
+
facilityNameLike?: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Sort field (defaults to `facility_name`).
|
|
91
|
+
*/
|
|
92
|
+
sort?: QueryParamSort | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Sort desc
|
|
95
|
+
*/
|
|
96
|
+
desc?: components.Desc | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* A 1-based offset for which page to request (defaults to 1)
|
|
99
|
+
*/
|
|
100
|
+
page?: number | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Number of items to show in a given page
|
|
103
|
+
*/
|
|
104
|
+
itemsPerPage?: number | undefined;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
109
|
+
*/
|
|
110
|
+
export type ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk = {
|
|
111
|
+
/**
|
|
112
|
+
* Pagination information for a pageable list
|
|
113
|
+
*/
|
|
114
|
+
pager: components.Pager;
|
|
115
|
+
items: Array<components.CompanyTargetFacility>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export type ListCompanyTargetFacilitiesResponse = {
|
|
119
|
+
result: ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const QueryParamStatus$outboundSchema: z.ZodNativeEnum<
|
|
124
|
+
typeof QueryParamStatus
|
|
125
|
+
> = z.nativeEnum(QueryParamStatus);
|
|
126
|
+
|
|
127
|
+
/** @internal */
|
|
128
|
+
export const HasIndividual$outboundSchema: z.ZodNativeEnum<
|
|
129
|
+
typeof HasIndividual
|
|
130
|
+
> = z.nativeEnum(HasIndividual);
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export const HasActiveIndividual$outboundSchema: z.ZodNativeEnum<
|
|
134
|
+
typeof HasActiveIndividual
|
|
135
|
+
> = z.nativeEnum(HasActiveIndividual);
|
|
136
|
+
|
|
137
|
+
/** @internal */
|
|
138
|
+
export const QueryParamSort$outboundSchema: z.ZodNativeEnum<
|
|
139
|
+
typeof QueryParamSort
|
|
140
|
+
> = z.nativeEnum(QueryParamSort);
|
|
141
|
+
|
|
142
|
+
/** @internal */
|
|
143
|
+
export type ListCompanyTargetFacilitiesRequest$Outbound = {
|
|
144
|
+
company_id: number;
|
|
145
|
+
expand?: Array<string> | undefined;
|
|
146
|
+
status?: string | undefined;
|
|
147
|
+
has_individual?: string | undefined;
|
|
148
|
+
has_active_individual?: string | undefined;
|
|
149
|
+
facility_name_like?: string | undefined;
|
|
150
|
+
sort?: string | undefined;
|
|
151
|
+
desc?: components.Desc$Outbound | undefined;
|
|
152
|
+
page?: number | undefined;
|
|
153
|
+
items_per_page?: number | undefined;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
/** @internal */
|
|
157
|
+
export const ListCompanyTargetFacilitiesRequest$outboundSchema: z.ZodType<
|
|
158
|
+
ListCompanyTargetFacilitiesRequest$Outbound,
|
|
159
|
+
z.ZodTypeDef,
|
|
160
|
+
ListCompanyTargetFacilitiesRequest
|
|
161
|
+
> = z.object({
|
|
162
|
+
companyId: z.number().int(),
|
|
163
|
+
expand: z.array(components.Expand$outboundSchema).optional(),
|
|
164
|
+
status: QueryParamStatus$outboundSchema.optional(),
|
|
165
|
+
hasIndividual: HasIndividual$outboundSchema.optional(),
|
|
166
|
+
hasActiveIndividual: HasActiveIndividual$outboundSchema.optional(),
|
|
167
|
+
facilityNameLike: z.string().optional(),
|
|
168
|
+
sort: QueryParamSort$outboundSchema.optional(),
|
|
169
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
170
|
+
page: z.number().int().optional(),
|
|
171
|
+
itemsPerPage: z.number().int().optional(),
|
|
172
|
+
}).transform((v) => {
|
|
173
|
+
return remap$(v, {
|
|
174
|
+
companyId: "company_id",
|
|
175
|
+
hasIndividual: "has_individual",
|
|
176
|
+
hasActiveIndividual: "has_active_individual",
|
|
177
|
+
facilityNameLike: "facility_name_like",
|
|
178
|
+
itemsPerPage: "items_per_page",
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
export function listCompanyTargetFacilitiesRequestToJSON(
|
|
183
|
+
listCompanyTargetFacilitiesRequest: ListCompanyTargetFacilitiesRequest,
|
|
184
|
+
): string {
|
|
185
|
+
return JSON.stringify(
|
|
186
|
+
ListCompanyTargetFacilitiesRequest$outboundSchema.parse(
|
|
187
|
+
listCompanyTargetFacilitiesRequest,
|
|
188
|
+
),
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** @internal */
|
|
193
|
+
export const ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema:
|
|
194
|
+
z.ZodType<
|
|
195
|
+
ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk,
|
|
196
|
+
z.ZodTypeDef,
|
|
197
|
+
unknown
|
|
198
|
+
> = z.object({
|
|
199
|
+
pager: components.Pager$inboundSchema,
|
|
200
|
+
items: z.array(components.CompanyTargetFacility$inboundSchema),
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
export function listCompanyTargetFacilitiesListCompanyTargetFacilitiesOkFromJSON(
|
|
204
|
+
jsonString: string,
|
|
205
|
+
): SafeParseResult<
|
|
206
|
+
ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk,
|
|
207
|
+
SDKValidationError
|
|
208
|
+
> {
|
|
209
|
+
return safeParse(
|
|
210
|
+
jsonString,
|
|
211
|
+
(x) =>
|
|
212
|
+
ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema
|
|
213
|
+
.parse(JSON.parse(x)),
|
|
214
|
+
`Failed to parse 'ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk' from JSON`,
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/** @internal */
|
|
219
|
+
export const ListCompanyTargetFacilitiesResponse$inboundSchema: z.ZodType<
|
|
220
|
+
ListCompanyTargetFacilitiesResponse,
|
|
221
|
+
z.ZodTypeDef,
|
|
222
|
+
unknown
|
|
223
|
+
> = z.object({
|
|
224
|
+
Result: z.lazy(() =>
|
|
225
|
+
ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema
|
|
226
|
+
),
|
|
227
|
+
}).transform((v) => {
|
|
228
|
+
return remap$(v, {
|
|
229
|
+
"Result": "result",
|
|
230
|
+
});
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
export function listCompanyTargetFacilitiesResponseFromJSON(
|
|
234
|
+
jsonString: string,
|
|
235
|
+
): SafeParseResult<ListCompanyTargetFacilitiesResponse, SDKValidationError> {
|
|
236
|
+
return safeParse(
|
|
237
|
+
jsonString,
|
|
238
|
+
(x) =>
|
|
239
|
+
ListCompanyTargetFacilitiesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
240
|
+
`Failed to parse 'ListCompanyTargetFacilitiesResponse' from JSON`,
|
|
241
|
+
);
|
|
242
|
+
}
|
|
@@ -9,11 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const QueryParamExpand = {
|
|
13
13
|
SystemFacilities: "system.facilities",
|
|
14
14
|
SystemLocation: "system.location",
|
|
15
15
|
} as const;
|
|
16
|
-
export type
|
|
16
|
+
export type QueryParamExpand = ClosedEnum<typeof QueryParamExpand>;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Filter systems to those with facilities of the given use type.
|
|
@@ -31,7 +31,7 @@ export type ListLookupSystemsRequest = {
|
|
|
31
31
|
/**
|
|
32
32
|
* Expand values to include in the response. Allowed: `system.facilities`, `system.location`
|
|
33
33
|
*/
|
|
34
|
-
expand?: Array<
|
|
34
|
+
expand?: Array<QueryParamExpand> | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Filter systems to those with facilities of the given use type.
|
|
37
37
|
*/
|
|
@@ -46,8 +46,9 @@ export type ListLookupSystemsResponseBody = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
/** @internal */
|
|
49
|
-
export const
|
|
50
|
-
|
|
49
|
+
export const QueryParamExpand$outboundSchema: z.ZodNativeEnum<
|
|
50
|
+
typeof QueryParamExpand
|
|
51
|
+
> = z.nativeEnum(QueryParamExpand);
|
|
51
52
|
|
|
52
53
|
/** @internal */
|
|
53
54
|
export const Use$outboundSchema: z.ZodNativeEnum<typeof Use> = z.nativeEnum(
|
|
@@ -66,7 +67,7 @@ export const ListLookupSystemsRequest$outboundSchema: z.ZodType<
|
|
|
66
67
|
z.ZodTypeDef,
|
|
67
68
|
ListLookupSystemsRequest
|
|
68
69
|
> = z.object({
|
|
69
|
-
expand: z.array(
|
|
70
|
+
expand: z.array(QueryParamExpand$outboundSchema).optional(),
|
|
70
71
|
use: Use$outboundSchema.optional(),
|
|
71
72
|
});
|
|
72
73
|
|
|
@@ -5,11 +5,23 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import * as types from "../../types/primitives.js";
|
|
10
11
|
import * as components from "../components/index.js";
|
|
11
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
|
|
16
|
+
*/
|
|
17
|
+
export const Targeted = {
|
|
18
|
+
False: "false",
|
|
19
|
+
} as const;
|
|
20
|
+
/**
|
|
21
|
+
* For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
|
|
22
|
+
*/
|
|
23
|
+
export type Targeted = ClosedEnum<typeof Targeted>;
|
|
24
|
+
|
|
13
25
|
export type ListOrSearchFacilitiesRequest = {
|
|
14
26
|
/**
|
|
15
27
|
* A comma-separated list of object attributes to sort on.
|
|
@@ -59,6 +71,10 @@ export type ListOrSearchFacilitiesRequest = {
|
|
|
59
71
|
* The longitude of the current Geo coordinates
|
|
60
72
|
*/
|
|
61
73
|
longitude?: number | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
|
|
76
|
+
*/
|
|
77
|
+
targeted?: Targeted | undefined;
|
|
62
78
|
};
|
|
63
79
|
|
|
64
80
|
/**
|
|
@@ -76,6 +92,10 @@ export type ListOrSearchFacilitiesResponse = {
|
|
|
76
92
|
result: ListOrSearchFacilitiesListOrSearchFacilitiesOk;
|
|
77
93
|
};
|
|
78
94
|
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const Targeted$outboundSchema: z.ZodNativeEnum<typeof Targeted> = z
|
|
97
|
+
.nativeEnum(Targeted);
|
|
98
|
+
|
|
79
99
|
/** @internal */
|
|
80
100
|
export type ListOrSearchFacilitiesRequest$Outbound = {
|
|
81
101
|
sort?: string | null | undefined;
|
|
@@ -89,6 +109,7 @@ export type ListOrSearchFacilitiesRequest$Outbound = {
|
|
|
89
109
|
status: string;
|
|
90
110
|
latitude?: number | undefined;
|
|
91
111
|
longitude?: number | undefined;
|
|
112
|
+
targeted?: string | undefined;
|
|
92
113
|
};
|
|
93
114
|
|
|
94
115
|
/** @internal */
|
|
@@ -108,6 +129,7 @@ export const ListOrSearchFacilitiesRequest$outboundSchema: z.ZodType<
|
|
|
108
129
|
status: components.ActiveStatus$outboundSchema.default("Active"),
|
|
109
130
|
latitude: z.number().optional(),
|
|
110
131
|
longitude: z.number().optional(),
|
|
132
|
+
targeted: Targeted$outboundSchema.optional(),
|
|
111
133
|
}).transform((v) => {
|
|
112
134
|
return remap$(v, {
|
|
113
135
|
itemsPerPage: "items_per_page",
|
|
@@ -5,19 +5,22 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
9
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
11
|
import * as types from "../../types/primitives.js";
|
|
11
12
|
import { smartUnion } from "../../types/smartUnion.js";
|
|
12
13
|
import * as components from "../components/index.js";
|
|
13
14
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
14
15
|
|
|
15
|
-
export const
|
|
16
|
+
export const SecurityZoneCheckinRequestBodyExpand = {
|
|
16
17
|
VendorScanBadgeData: "vendor_scan.badge_data",
|
|
17
18
|
} as const;
|
|
18
|
-
export type
|
|
19
|
+
export type SecurityZoneCheckinRequestBodyExpand = ClosedEnum<
|
|
20
|
+
typeof SecurityZoneCheckinRequestBodyExpand
|
|
21
|
+
>;
|
|
19
22
|
|
|
20
|
-
export type
|
|
23
|
+
export type RequestBody2 = {
|
|
21
24
|
/**
|
|
22
25
|
* The longitude of the current Geo coordinates
|
|
23
26
|
*/
|
|
@@ -46,15 +49,13 @@ export type SecurityZoneCheckinRequestBody2 = {
|
|
|
46
49
|
scanType?: components.ScanType | undefined;
|
|
47
50
|
recheckVendorScanId?: number | undefined;
|
|
48
51
|
temperature?: number | undefined;
|
|
49
|
-
expand?: Array<
|
|
52
|
+
expand?: Array<SecurityZoneCheckinRequestBodyExpand> | undefined;
|
|
50
53
|
};
|
|
51
54
|
|
|
52
|
-
export const
|
|
55
|
+
export const RequestBodyExpand = {
|
|
53
56
|
VendorScanBadgeData: "vendor_scan.badge_data",
|
|
54
57
|
} as const;
|
|
55
|
-
export type
|
|
56
|
-
typeof SecurityZoneCheckinRequestBodyExpand
|
|
57
|
-
>;
|
|
58
|
+
export type RequestBodyExpand = ClosedEnum<typeof RequestBodyExpand>;
|
|
58
59
|
|
|
59
60
|
export type One = {
|
|
60
61
|
/**
|
|
@@ -85,17 +86,16 @@ export type One = {
|
|
|
85
86
|
scanType?: components.ScanType | undefined;
|
|
86
87
|
recheckVendorScanId?: number | undefined;
|
|
87
88
|
temperature?: number | undefined;
|
|
88
|
-
expand?: Array<
|
|
89
|
+
expand?: Array<RequestBodyExpand> | undefined;
|
|
89
90
|
};
|
|
90
91
|
|
|
91
|
-
export type SecurityZoneCheckinRequestBody =
|
|
92
|
-
| One
|
|
93
|
-
| SecurityZoneCheckinRequestBody2;
|
|
92
|
+
export type SecurityZoneCheckinRequestBody = One | RequestBody2;
|
|
94
93
|
|
|
95
94
|
export const Requires = {
|
|
96
95
|
CompleteCheckin: "complete_checkin",
|
|
96
|
+
AskScreeningQuestions: "ask_screening_questions",
|
|
97
97
|
} as const;
|
|
98
|
-
export type Requires =
|
|
98
|
+
export type Requires = OpenEnum<typeof Requires>;
|
|
99
99
|
|
|
100
100
|
export type Handoff = components.Handoff | number;
|
|
101
101
|
|
|
@@ -133,12 +133,13 @@ export type SecurityZoneCheckinSecurityZoneCheckinOk = {
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
/** @internal */
|
|
136
|
-
export const
|
|
137
|
-
typeof
|
|
138
|
-
|
|
136
|
+
export const SecurityZoneCheckinRequestBodyExpand$outboundSchema:
|
|
137
|
+
z.ZodNativeEnum<typeof SecurityZoneCheckinRequestBodyExpand> = z.nativeEnum(
|
|
138
|
+
SecurityZoneCheckinRequestBodyExpand,
|
|
139
|
+
);
|
|
139
140
|
|
|
140
141
|
/** @internal */
|
|
141
|
-
export type
|
|
142
|
+
export type RequestBody2$Outbound = {
|
|
142
143
|
longitude?: number | undefined;
|
|
143
144
|
latitude?: number | undefined;
|
|
144
145
|
qr_code: string;
|
|
@@ -162,10 +163,10 @@ export type SecurityZoneCheckinRequestBody2$Outbound = {
|
|
|
162
163
|
};
|
|
163
164
|
|
|
164
165
|
/** @internal */
|
|
165
|
-
export const
|
|
166
|
-
|
|
166
|
+
export const RequestBody2$outboundSchema: z.ZodType<
|
|
167
|
+
RequestBody2$Outbound,
|
|
167
168
|
z.ZodTypeDef,
|
|
168
|
-
|
|
169
|
+
RequestBody2
|
|
169
170
|
> = z.object({
|
|
170
171
|
longitude: z.number().optional(),
|
|
171
172
|
latitude: z.number().optional(),
|
|
@@ -186,7 +187,8 @@ export const SecurityZoneCheckinRequestBody2$outboundSchema: z.ZodType<
|
|
|
186
187
|
scanType: components.ScanType$outboundSchema.optional(),
|
|
187
188
|
recheckVendorScanId: z.number().int().optional(),
|
|
188
189
|
temperature: z.number().optional(),
|
|
189
|
-
expand: z.array(
|
|
190
|
+
expand: z.array(SecurityZoneCheckinRequestBodyExpand$outboundSchema)
|
|
191
|
+
.optional(),
|
|
190
192
|
}).transform((v) => {
|
|
191
193
|
return remap$(v, {
|
|
192
194
|
qrCode: "qr_code",
|
|
@@ -204,21 +206,14 @@ export const SecurityZoneCheckinRequestBody2$outboundSchema: z.ZodType<
|
|
|
204
206
|
});
|
|
205
207
|
});
|
|
206
208
|
|
|
207
|
-
export function
|
|
208
|
-
|
|
209
|
-
): string {
|
|
210
|
-
return JSON.stringify(
|
|
211
|
-
SecurityZoneCheckinRequestBody2$outboundSchema.parse(
|
|
212
|
-
securityZoneCheckinRequestBody2,
|
|
213
|
-
),
|
|
214
|
-
);
|
|
209
|
+
export function requestBody2ToJSON(requestBody2: RequestBody2): string {
|
|
210
|
+
return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2));
|
|
215
211
|
}
|
|
216
212
|
|
|
217
213
|
/** @internal */
|
|
218
|
-
export const
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
);
|
|
214
|
+
export const RequestBodyExpand$outboundSchema: z.ZodNativeEnum<
|
|
215
|
+
typeof RequestBodyExpand
|
|
216
|
+
> = z.nativeEnum(RequestBodyExpand);
|
|
222
217
|
|
|
223
218
|
/** @internal */
|
|
224
219
|
export type One$Outbound = {
|
|
@@ -266,8 +261,7 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
|
266
261
|
scanType: components.ScanType$outboundSchema.optional(),
|
|
267
262
|
recheckVendorScanId: z.number().int().optional(),
|
|
268
263
|
temperature: z.number().optional(),
|
|
269
|
-
expand: z.array(
|
|
270
|
-
.optional(),
|
|
264
|
+
expand: z.array(RequestBodyExpand$outboundSchema).optional(),
|
|
271
265
|
}).transform((v) => {
|
|
272
266
|
return remap$(v, {
|
|
273
267
|
qrCode: "qr_code",
|
|
@@ -292,7 +286,7 @@ export function oneToJSON(one: One): string {
|
|
|
292
286
|
/** @internal */
|
|
293
287
|
export type SecurityZoneCheckinRequestBody$Outbound =
|
|
294
288
|
| One$Outbound
|
|
295
|
-
|
|
|
289
|
+
| RequestBody2$Outbound;
|
|
296
290
|
|
|
297
291
|
/** @internal */
|
|
298
292
|
export const SecurityZoneCheckinRequestBody$outboundSchema: z.ZodType<
|
|
@@ -301,7 +295,7 @@ export const SecurityZoneCheckinRequestBody$outboundSchema: z.ZodType<
|
|
|
301
295
|
SecurityZoneCheckinRequestBody
|
|
302
296
|
> = smartUnion([
|
|
303
297
|
z.lazy(() => One$outboundSchema),
|
|
304
|
-
z.lazy(() =>
|
|
298
|
+
z.lazy(() => RequestBody2$outboundSchema),
|
|
305
299
|
]);
|
|
306
300
|
|
|
307
301
|
export function securityZoneCheckinRequestBodyToJSON(
|
|
@@ -315,8 +309,11 @@ export function securityZoneCheckinRequestBodyToJSON(
|
|
|
315
309
|
}
|
|
316
310
|
|
|
317
311
|
/** @internal */
|
|
318
|
-
export const Requires$inboundSchema: z.
|
|
319
|
-
|
|
312
|
+
export const Requires$inboundSchema: z.ZodType<
|
|
313
|
+
Requires,
|
|
314
|
+
z.ZodTypeDef,
|
|
315
|
+
unknown
|
|
316
|
+
> = openEnums.inboundSchema(Requires);
|
|
320
317
|
|
|
321
318
|
/** @internal */
|
|
322
319
|
export const Handoff$inboundSchema: z.ZodType<Handoff, z.ZodTypeDef, unknown> =
|