@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
|
@@ -6,7 +6,7 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
-
export const
|
|
9
|
+
export const GetInvoiceQueryParamStatus = {
|
|
10
10
|
Pending: "pending",
|
|
11
11
|
Authorized: "authorized",
|
|
12
12
|
Captured: "captured",
|
|
@@ -25,7 +25,9 @@ export const QueryParamStatus = {
|
|
|
25
25
|
PaidByOtherMeans: "paid by other means",
|
|
26
26
|
Credited: "credited",
|
|
27
27
|
} as const;
|
|
28
|
-
export type
|
|
28
|
+
export type GetInvoiceQueryParamStatus = ClosedEnum<
|
|
29
|
+
typeof GetInvoiceQueryParamStatus
|
|
30
|
+
>;
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
33
|
* When set to `credentialing`, only invoices with a credentialing product line item are considered.
|
|
@@ -42,7 +44,7 @@ export type GetInvoiceRequest = {
|
|
|
42
44
|
/**
|
|
43
45
|
* Comma-separated list of invoice financial statuses to match.
|
|
44
46
|
*/
|
|
45
|
-
status: Array<
|
|
47
|
+
status: Array<GetInvoiceQueryParamStatus>;
|
|
46
48
|
/**
|
|
47
49
|
* When set to `credentialing`, only invoices with a credentialing product line item are considered.
|
|
48
50
|
*/
|
|
@@ -66,9 +68,9 @@ export type GetInvoiceRequest = {
|
|
|
66
68
|
};
|
|
67
69
|
|
|
68
70
|
/** @internal */
|
|
69
|
-
export const
|
|
70
|
-
typeof
|
|
71
|
-
> = z.nativeEnum(
|
|
71
|
+
export const GetInvoiceQueryParamStatus$outboundSchema: z.ZodNativeEnum<
|
|
72
|
+
typeof GetInvoiceQueryParamStatus
|
|
73
|
+
> = z.nativeEnum(GetInvoiceQueryParamStatus);
|
|
72
74
|
|
|
73
75
|
/** @internal */
|
|
74
76
|
export const ProductType$outboundSchema: z.ZodNativeEnum<typeof ProductType> = z
|
|
@@ -90,7 +92,7 @@ export const GetInvoiceRequest$outboundSchema: z.ZodType<
|
|
|
90
92
|
z.ZodTypeDef,
|
|
91
93
|
GetInvoiceRequest
|
|
92
94
|
> = z.object({
|
|
93
|
-
status: z.array(
|
|
95
|
+
status: z.array(GetInvoiceQueryParamStatus$outboundSchema),
|
|
94
96
|
productType: ProductType$outboundSchema.optional(),
|
|
95
97
|
vendorId: z.string().optional(),
|
|
96
98
|
companyId: z.number().int().optional(),
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type GetVendorsExportStatusRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Export status id returned by the vendor export endpoint.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Export status.
|
|
21
|
+
*/
|
|
22
|
+
export type GetVendorsExportStatusResponseBody = {
|
|
23
|
+
/**
|
|
24
|
+
* When true, the export is ready for download.
|
|
25
|
+
*/
|
|
26
|
+
ready: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The export job identifier.
|
|
29
|
+
*/
|
|
30
|
+
statusId: string;
|
|
31
|
+
/**
|
|
32
|
+
* URL to download the CSV (present only when ready is true).
|
|
33
|
+
*/
|
|
34
|
+
downloadUrl?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* When the export job started.
|
|
37
|
+
*/
|
|
38
|
+
startedAt?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Timestamp of the export job's last heartbeat.
|
|
41
|
+
*/
|
|
42
|
+
heartbeat?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* When the export job completed.
|
|
45
|
+
*/
|
|
46
|
+
finishedAt?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Error message if the export failed.
|
|
49
|
+
*/
|
|
50
|
+
error?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type GetVendorsExportStatusRequest$Outbound = {
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const GetVendorsExportStatusRequest$outboundSchema: z.ZodType<
|
|
60
|
+
GetVendorsExportStatusRequest$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
GetVendorsExportStatusRequest
|
|
63
|
+
> = z.object({
|
|
64
|
+
id: z.string(),
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export function getVendorsExportStatusRequestToJSON(
|
|
68
|
+
getVendorsExportStatusRequest: GetVendorsExportStatusRequest,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
GetVendorsExportStatusRequest$outboundSchema.parse(
|
|
72
|
+
getVendorsExportStatusRequest,
|
|
73
|
+
),
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const GetVendorsExportStatusResponseBody$inboundSchema: z.ZodType<
|
|
79
|
+
GetVendorsExportStatusResponseBody,
|
|
80
|
+
z.ZodTypeDef,
|
|
81
|
+
unknown
|
|
82
|
+
> = z.object({
|
|
83
|
+
ready: types.boolean(),
|
|
84
|
+
status_id: types.string(),
|
|
85
|
+
download_url: types.optional(types.string()),
|
|
86
|
+
started_at: types.optional(types.string()),
|
|
87
|
+
heartbeat: types.optional(types.string()),
|
|
88
|
+
finished_at: types.optional(types.string()),
|
|
89
|
+
error: types.optional(types.string()),
|
|
90
|
+
}).transform((v) => {
|
|
91
|
+
return remap$(v, {
|
|
92
|
+
"status_id": "statusId",
|
|
93
|
+
"download_url": "downloadUrl",
|
|
94
|
+
"started_at": "startedAt",
|
|
95
|
+
"finished_at": "finishedAt",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export function getVendorsExportStatusResponseBodyFromJSON(
|
|
100
|
+
jsonString: string,
|
|
101
|
+
): SafeParseResult<GetVendorsExportStatusResponseBody, SDKValidationError> {
|
|
102
|
+
return safeParse(
|
|
103
|
+
jsonString,
|
|
104
|
+
(x) =>
|
|
105
|
+
GetVendorsExportStatusResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'GetVendorsExportStatusResponseBody' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -15,6 +15,7 @@ export * from "./cancelhandoff.js";
|
|
|
15
15
|
export * from "./changepassword.js";
|
|
16
16
|
export * from "./changesubscription.js";
|
|
17
17
|
export * from "./checkdownloadcode.js";
|
|
18
|
+
export * from "./createcompanytargetfacility.js";
|
|
18
19
|
export * from "./createevent.js";
|
|
19
20
|
export * from "./createinvoice.js";
|
|
20
21
|
export * from "./createnewvendorcredentialversion.js";
|
|
@@ -25,6 +26,7 @@ export * from "./createvendorfield.js";
|
|
|
25
26
|
export * from "./createvendorregistration.js";
|
|
26
27
|
export * from "./declineinvitation.js";
|
|
27
28
|
export * from "./declinevendorcredential.js";
|
|
29
|
+
export * from "./deletecompanytargetfacility.js";
|
|
28
30
|
export * from "./deletedatarequestfile.js";
|
|
29
31
|
export * from "./deleteevent.js";
|
|
30
32
|
export * from "./deletefhirconfigbyid.js";
|
|
@@ -32,6 +34,7 @@ export * from "./deletepaymentprofile.js";
|
|
|
32
34
|
export * from "./deletevendorcredentialfile.js";
|
|
33
35
|
export * from "./deletevendormanagedbycompany.js";
|
|
34
36
|
export * from "./downloadinvoicesexport.js";
|
|
37
|
+
export * from "./downloadvendorsexport.js";
|
|
35
38
|
export * from "./expeditetimeremaining.js";
|
|
36
39
|
export * from "./getcompany.js";
|
|
37
40
|
export * from "./getcurrentuser.js";
|
|
@@ -54,13 +57,16 @@ export * from "./getvendorinvoicereceipt.js";
|
|
|
54
57
|
export * from "./getvendorlegalname.js";
|
|
55
58
|
export * from "./getvendorscan.js";
|
|
56
59
|
export * from "./getvendorsdetails.js";
|
|
60
|
+
export * from "./getvendorsexportstatus.js";
|
|
57
61
|
export * from "./getvendoruploadhistory.js";
|
|
58
62
|
export * from "./getwebhookendpoint.js";
|
|
59
63
|
export * from "./invoicesexport.js";
|
|
60
64
|
export * from "./listalerts.js";
|
|
61
65
|
export * from "./listallwebhookendpoints.js";
|
|
66
|
+
export * from "./listcompanycredentials.js";
|
|
62
67
|
export * from "./listcompanycredits.js";
|
|
63
68
|
export * from "./listcompanymanagers.js";
|
|
69
|
+
export * from "./listcompanytargetfacilities.js";
|
|
64
70
|
export * from "./listfeed.js";
|
|
65
71
|
export * from "./listinvoices.js";
|
|
66
72
|
export * from "./listlocations.js";
|
|
@@ -122,3 +128,4 @@ export * from "./updatevendorfield.js";
|
|
|
122
128
|
export * from "./updatevendormanagedbycompany.js";
|
|
123
129
|
export * from "./updatevendorscrubdetails.js";
|
|
124
130
|
export * from "./vendorscanout.js";
|
|
131
|
+
export * from "./vendorsexport.js";
|
|
@@ -23,16 +23,16 @@ export const InvoiceFinancialStatus = {
|
|
|
23
23
|
*/
|
|
24
24
|
export type InvoiceFinancialStatus = ClosedEnum<typeof InvoiceFinancialStatus>;
|
|
25
25
|
|
|
26
|
-
export const
|
|
26
|
+
export const QueryParam2 = {
|
|
27
27
|
Zero: 0,
|
|
28
28
|
One: 1,
|
|
29
29
|
} as const;
|
|
30
|
-
export type
|
|
30
|
+
export type QueryParam2 = ClosedEnum<typeof QueryParam2>;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Sort descending flag.
|
|
34
34
|
*/
|
|
35
|
-
export type
|
|
35
|
+
export type QueryParamDesc = boolean | QueryParam2;
|
|
36
36
|
|
|
37
37
|
export type InvoicesExportRequest = {
|
|
38
38
|
/**
|
|
@@ -70,7 +70,7 @@ export type InvoicesExportRequest = {
|
|
|
70
70
|
/**
|
|
71
71
|
* Sort descending flag.
|
|
72
72
|
*/
|
|
73
|
-
desc?: boolean |
|
|
73
|
+
desc?: boolean | QueryParam2 | undefined;
|
|
74
74
|
/**
|
|
75
75
|
* Page size used by the exporter while paginating results.
|
|
76
76
|
*/
|
|
@@ -105,19 +105,21 @@ export const InvoiceFinancialStatus$outboundSchema: z.ZodNativeEnum<
|
|
|
105
105
|
> = z.nativeEnum(InvoiceFinancialStatus);
|
|
106
106
|
|
|
107
107
|
/** @internal */
|
|
108
|
-
export const
|
|
109
|
-
|
|
110
|
-
);
|
|
108
|
+
export const QueryParam2$outboundSchema: z.ZodNativeEnum<typeof QueryParam2> = z
|
|
109
|
+
.nativeEnum(QueryParam2);
|
|
111
110
|
|
|
112
111
|
/** @internal */
|
|
113
|
-
export type
|
|
112
|
+
export type QueryParamDesc$Outbound = boolean | number;
|
|
114
113
|
|
|
115
114
|
/** @internal */
|
|
116
|
-
export const
|
|
117
|
-
|
|
115
|
+
export const QueryParamDesc$outboundSchema: z.ZodType<
|
|
116
|
+
QueryParamDesc$Outbound,
|
|
117
|
+
z.ZodTypeDef,
|
|
118
|
+
QueryParamDesc
|
|
119
|
+
> = smartUnion([z.boolean(), QueryParam2$outboundSchema]);
|
|
118
120
|
|
|
119
|
-
export function
|
|
120
|
-
return JSON.stringify(
|
|
121
|
+
export function queryParamDescToJSON(queryParamDesc: QueryParamDesc): string {
|
|
122
|
+
return JSON.stringify(QueryParamDesc$outboundSchema.parse(queryParamDesc));
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
/** @internal */
|
|
@@ -149,7 +151,7 @@ export const InvoicesExportRequest$outboundSchema: z.ZodType<
|
|
|
149
151
|
facilityId: z.number().int().optional(),
|
|
150
152
|
systemId: z.number().int().optional(),
|
|
151
153
|
sort: z.string().optional(),
|
|
152
|
-
desc: smartUnion([z.boolean(),
|
|
154
|
+
desc: smartUnion([z.boolean(), QueryParam2$outboundSchema]).optional(),
|
|
153
155
|
itemsPerPage: z.number().int().optional(),
|
|
154
156
|
expand: z.string().optional(),
|
|
155
157
|
}).transform((v) => {
|
|
@@ -0,0 +1,195 @@
|
|
|
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
|
+
export const ListCompanyCredentialsQueryParamSort = {
|
|
14
|
+
CredentialName: "credential_name",
|
|
15
|
+
Status: "status",
|
|
16
|
+
DateExpires: "date_expires",
|
|
17
|
+
} as const;
|
|
18
|
+
export type ListCompanyCredentialsQueryParamSort = ClosedEnum<
|
|
19
|
+
typeof ListCompanyCredentialsQueryParamSort
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
export const ListCompanyCredentialsQueryParamStatus = {
|
|
23
|
+
PendingVendor: "Pending Vendor",
|
|
24
|
+
PendingApproval: "Pending Approval",
|
|
25
|
+
Approved: "Approved",
|
|
26
|
+
Declined: "Declined",
|
|
27
|
+
Denied: "Denied",
|
|
28
|
+
Expired: "Expired",
|
|
29
|
+
Suspended: "Suspended",
|
|
30
|
+
PendingClassification: "Pending Classification",
|
|
31
|
+
} as const;
|
|
32
|
+
export type ListCompanyCredentialsQueryParamStatus = ClosedEnum<
|
|
33
|
+
typeof ListCompanyCredentialsQueryParamStatus
|
|
34
|
+
>;
|
|
35
|
+
|
|
36
|
+
export const Expand = {
|
|
37
|
+
VendorCredentialSystems: "vendor_credential.systems",
|
|
38
|
+
} as const;
|
|
39
|
+
export type Expand = ClosedEnum<typeof Expand>;
|
|
40
|
+
|
|
41
|
+
export type ListCompanyCredentialsRequest = {
|
|
42
|
+
/**
|
|
43
|
+
* The identifier of the object
|
|
44
|
+
*/
|
|
45
|
+
id: number;
|
|
46
|
+
/**
|
|
47
|
+
* A 1-based offset for which page to request (defaults to 1)
|
|
48
|
+
*/
|
|
49
|
+
page?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Number of items to show in a given page
|
|
52
|
+
*/
|
|
53
|
+
itemsPerPage?: number | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Sort desc
|
|
56
|
+
*/
|
|
57
|
+
desc?: components.Desc | undefined;
|
|
58
|
+
sort?: ListCompanyCredentialsQueryParamSort | undefined;
|
|
59
|
+
credentialNameLike?: string | undefined;
|
|
60
|
+
status?: ListCompanyCredentialsQueryParamStatus | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Filter by credential expiry date on or before this date (YYYY-MM-DD).
|
|
63
|
+
*/
|
|
64
|
+
dateExpiresLte?: string | undefined;
|
|
65
|
+
expand?: Array<Expand> | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
70
|
+
*/
|
|
71
|
+
export type ListCompanyCredentialsListCompanyCredentialsOk = {
|
|
72
|
+
items: Array<components.CompanyCredentialListItem>;
|
|
73
|
+
/**
|
|
74
|
+
* Pagination information for a pageable list
|
|
75
|
+
*/
|
|
76
|
+
pager: components.Pager;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export type ListCompanyCredentialsResponse = {
|
|
80
|
+
result: ListCompanyCredentialsListCompanyCredentialsOk;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const ListCompanyCredentialsQueryParamSort$outboundSchema:
|
|
85
|
+
z.ZodNativeEnum<typeof ListCompanyCredentialsQueryParamSort> = z.nativeEnum(
|
|
86
|
+
ListCompanyCredentialsQueryParamSort,
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
/** @internal */
|
|
90
|
+
export const ListCompanyCredentialsQueryParamStatus$outboundSchema:
|
|
91
|
+
z.ZodNativeEnum<typeof ListCompanyCredentialsQueryParamStatus> = z.nativeEnum(
|
|
92
|
+
ListCompanyCredentialsQueryParamStatus,
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const Expand$outboundSchema: z.ZodNativeEnum<typeof Expand> = z
|
|
97
|
+
.nativeEnum(Expand);
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export type ListCompanyCredentialsRequest$Outbound = {
|
|
101
|
+
id: number;
|
|
102
|
+
page?: number | undefined;
|
|
103
|
+
items_per_page?: number | undefined;
|
|
104
|
+
desc?: components.Desc$Outbound | undefined;
|
|
105
|
+
sort?: string | undefined;
|
|
106
|
+
credential_name_like?: string | undefined;
|
|
107
|
+
status?: string | undefined;
|
|
108
|
+
date_expires_lte?: string | undefined;
|
|
109
|
+
expand?: Array<string> | undefined;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const ListCompanyCredentialsRequest$outboundSchema: z.ZodType<
|
|
114
|
+
ListCompanyCredentialsRequest$Outbound,
|
|
115
|
+
z.ZodTypeDef,
|
|
116
|
+
ListCompanyCredentialsRequest
|
|
117
|
+
> = z.object({
|
|
118
|
+
id: z.number().int(),
|
|
119
|
+
page: z.number().int().optional(),
|
|
120
|
+
itemsPerPage: z.number().int().optional(),
|
|
121
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
122
|
+
sort: ListCompanyCredentialsQueryParamSort$outboundSchema.optional(),
|
|
123
|
+
credentialNameLike: z.string().optional(),
|
|
124
|
+
status: ListCompanyCredentialsQueryParamStatus$outboundSchema.optional(),
|
|
125
|
+
dateExpiresLte: z.string().optional(),
|
|
126
|
+
expand: z.array(Expand$outboundSchema).optional(),
|
|
127
|
+
}).transform((v) => {
|
|
128
|
+
return remap$(v, {
|
|
129
|
+
itemsPerPage: "items_per_page",
|
|
130
|
+
credentialNameLike: "credential_name_like",
|
|
131
|
+
dateExpiresLte: "date_expires_lte",
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
export function listCompanyCredentialsRequestToJSON(
|
|
136
|
+
listCompanyCredentialsRequest: ListCompanyCredentialsRequest,
|
|
137
|
+
): string {
|
|
138
|
+
return JSON.stringify(
|
|
139
|
+
ListCompanyCredentialsRequest$outboundSchema.parse(
|
|
140
|
+
listCompanyCredentialsRequest,
|
|
141
|
+
),
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** @internal */
|
|
146
|
+
export const ListCompanyCredentialsListCompanyCredentialsOk$inboundSchema:
|
|
147
|
+
z.ZodType<
|
|
148
|
+
ListCompanyCredentialsListCompanyCredentialsOk,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
unknown
|
|
151
|
+
> = z.object({
|
|
152
|
+
items: z.array(components.CompanyCredentialListItem$inboundSchema),
|
|
153
|
+
pager: components.Pager$inboundSchema,
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
export function listCompanyCredentialsListCompanyCredentialsOkFromJSON(
|
|
157
|
+
jsonString: string,
|
|
158
|
+
): SafeParseResult<
|
|
159
|
+
ListCompanyCredentialsListCompanyCredentialsOk,
|
|
160
|
+
SDKValidationError
|
|
161
|
+
> {
|
|
162
|
+
return safeParse(
|
|
163
|
+
jsonString,
|
|
164
|
+
(x) =>
|
|
165
|
+
ListCompanyCredentialsListCompanyCredentialsOk$inboundSchema.parse(
|
|
166
|
+
JSON.parse(x),
|
|
167
|
+
),
|
|
168
|
+
`Failed to parse 'ListCompanyCredentialsListCompanyCredentialsOk' from JSON`,
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/** @internal */
|
|
173
|
+
export const ListCompanyCredentialsResponse$inboundSchema: z.ZodType<
|
|
174
|
+
ListCompanyCredentialsResponse,
|
|
175
|
+
z.ZodTypeDef,
|
|
176
|
+
unknown
|
|
177
|
+
> = z.object({
|
|
178
|
+
Result: z.lazy(() =>
|
|
179
|
+
ListCompanyCredentialsListCompanyCredentialsOk$inboundSchema
|
|
180
|
+
),
|
|
181
|
+
}).transform((v) => {
|
|
182
|
+
return remap$(v, {
|
|
183
|
+
"Result": "result",
|
|
184
|
+
});
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
export function listCompanyCredentialsResponseFromJSON(
|
|
188
|
+
jsonString: string,
|
|
189
|
+
): SafeParseResult<ListCompanyCredentialsResponse, SDKValidationError> {
|
|
190
|
+
return safeParse(
|
|
191
|
+
jsonString,
|
|
192
|
+
(x) => ListCompanyCredentialsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
193
|
+
`Failed to parse 'ListCompanyCredentialsResponse' from JSON`,
|
|
194
|
+
);
|
|
195
|
+
}
|
|
@@ -15,7 +15,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
15
15
|
/**
|
|
16
16
|
* Field to sort results by.
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const ListCompanyCreditsQueryParamSort = {
|
|
19
19
|
Id: "id",
|
|
20
20
|
Date: "date",
|
|
21
21
|
Action: "action",
|
|
@@ -26,7 +26,9 @@ export const QueryParamSort = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Field to sort results by.
|
|
28
28
|
*/
|
|
29
|
-
export type
|
|
29
|
+
export type ListCompanyCreditsQueryParamSort = ClosedEnum<
|
|
30
|
+
typeof ListCompanyCreditsQueryParamSort
|
|
31
|
+
>;
|
|
30
32
|
|
|
31
33
|
export type ListCompanyCreditsRequest = {
|
|
32
34
|
/**
|
|
@@ -36,7 +38,7 @@ export type ListCompanyCreditsRequest = {
|
|
|
36
38
|
/**
|
|
37
39
|
* Field to sort results by.
|
|
38
40
|
*/
|
|
39
|
-
sort?:
|
|
41
|
+
sort?: ListCompanyCreditsQueryParamSort | undefined;
|
|
40
42
|
/**
|
|
41
43
|
* Sort desc
|
|
42
44
|
*/
|
|
@@ -109,9 +111,9 @@ export type ListCompanyCreditsResponse = {
|
|
|
109
111
|
};
|
|
110
112
|
|
|
111
113
|
/** @internal */
|
|
112
|
-
export const
|
|
113
|
-
typeof
|
|
114
|
-
> = z.nativeEnum(
|
|
114
|
+
export const ListCompanyCreditsQueryParamSort$outboundSchema: z.ZodNativeEnum<
|
|
115
|
+
typeof ListCompanyCreditsQueryParamSort
|
|
116
|
+
> = z.nativeEnum(ListCompanyCreditsQueryParamSort);
|
|
115
117
|
|
|
116
118
|
/** @internal */
|
|
117
119
|
export type ListCompanyCreditsRequest$Outbound = {
|
|
@@ -130,7 +132,7 @@ export const ListCompanyCreditsRequest$outboundSchema: z.ZodType<
|
|
|
130
132
|
ListCompanyCreditsRequest
|
|
131
133
|
> = z.object({
|
|
132
134
|
id: z.number().int(),
|
|
133
|
-
sort:
|
|
135
|
+
sort: ListCompanyCreditsQueryParamSort$outboundSchema.optional(),
|
|
134
136
|
desc: components.Desc$outboundSchema.optional(),
|
|
135
137
|
page: z.number().int().optional(),
|
|
136
138
|
itemsPerPage: z.number().int().optional(),
|