@greensecurity/javascript-sdk 0.43.1-beta.120 → 0.43.1-beta.123
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 +24 -3
- package/dist/commonjs/__tests__/events.test.js +21 -0
- package/dist/commonjs/__tests__/events.test.js.map +1 -1
- package/dist/commonjs/__tests__/fhirconfigs.test.js +4 -0
- package/dist/commonjs/__tests__/fhirconfigs.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +85 -43
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendorscans.test.js +49 -0
- package/dist/commonjs/__tests__/vendorscans.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +10 -8
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/eventsGetEvent.d.ts +26 -0
- package/dist/commonjs/funcs/eventsGetEvent.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsGetEvent.js +136 -0
- package/dist/commonjs/funcs/eventsGetEvent.js.map +1 -0
- package/dist/commonjs/funcs/systemsListSystems.js +2 -0
- package/dist/commonjs/funcs/systemsListSystems.js.map +1 -1
- package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts +28 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScan.js +138 -0
- package/dist/commonjs/funcs/vendorScansGetVendorScan.js.map +1 -0
- package/dist/commonjs/funcs/vendorScansListVendorScans.d.ts +23 -0
- package/dist/commonjs/funcs/vendorScansListVendorScans.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorScansListVendorScans.js +165 -0
- package/dist/commonjs/funcs/vendorScansListVendorScans.js.map +1 -0
- package/dist/commonjs/funcs/vendorsAiClassifyCreate.d.ts +24 -0
- package/dist/commonjs/funcs/vendorsAiClassifyCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsAiClassifyCreate.js +125 -0
- package/dist/commonjs/funcs/vendorsAiClassifyCreate.js.map +1 -0
- package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.d.ts +22 -0
- package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.js +123 -0
- package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.js.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.d.ts +22 -0
- package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.js +133 -0
- package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.js.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +10 -5
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js +17 -46
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCustomFields.d.ts +14 -6
- package/dist/commonjs/funcs/vendorsListVendorCustomFields.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCustomFields.js +20 -49
- package/dist/commonjs/funcs/vendorsListVendorCustomFields.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts +28 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.js +135 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.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/aiclassifycreaterequest.d.ts +25 -0
- package/dist/commonjs/models/components/aiclassifycreaterequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/aiclassifycreaterequest.js +58 -0
- package/dist/commonjs/models/components/aiclassifycreaterequest.js.map +1 -0
- package/dist/commonjs/models/components/aiclassifycreateresponse.d.ts +26 -0
- package/dist/commonjs/models/components/aiclassifycreateresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/aiclassifycreateresponse.js +64 -0
- package/dist/commonjs/models/components/aiclassifycreateresponse.js.map +1 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.d.ts +15 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.js +55 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.js.map +1 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.d.ts +16 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.js +61 -0
- package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.js.map +1 -0
- package/dist/commonjs/models/components/fhirconfig.d.ts +8 -0
- package/dist/commonjs/models/components/fhirconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/fhirconfig.js +4 -0
- package/dist/commonjs/models/components/fhirconfig.js.map +1 -1
- package/dist/commonjs/models/components/fhirconfigpartialupdate.d.ts +10 -0
- package/dist/commonjs/models/components/fhirconfigpartialupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/fhirconfigpartialupdate.js +4 -0
- package/dist/commonjs/models/components/fhirconfigpartialupdate.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +5 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +5 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/uploadhistoryitem.d.ts +26 -0
- package/dist/commonjs/models/components/uploadhistoryitem.d.ts.map +1 -0
- package/dist/commonjs/models/components/uploadhistoryitem.js +63 -0
- package/dist/commonjs/models/components/uploadhistoryitem.js.map +1 -0
- package/dist/commonjs/models/components/vendor.d.ts +5 -0
- package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendor.js +4 -0
- package/dist/commonjs/models/components/vendor.js.map +1 -1
- package/dist/commonjs/models/components/vendorcustomfields.d.ts +65 -3
- package/dist/commonjs/models/components/vendorcustomfields.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcustomfields.js +45 -4
- package/dist/commonjs/models/components/vendorcustomfields.js.map +1 -1
- package/dist/commonjs/models/components/vendorscan.d.ts +5 -0
- package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorscan.js +4 -0
- package/dist/commonjs/models/components/vendorscan.js.map +1 -1
- package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts +7 -1
- package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/addvendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts +7 -1
- package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/calculatesubscriptionprice.js.map +1 -1
- package/dist/commonjs/models/operations/changesubscription.d.ts +7 -1
- package/dist/commonjs/models/operations/changesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/changesubscription.js.map +1 -1
- package/dist/commonjs/models/operations/createvendorcompany.d.ts +7 -1
- package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -1
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +7 -1
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/expeditetimeremaining.d.ts +7 -1
- package/dist/commonjs/models/operations/expeditetimeremaining.d.ts.map +1 -1
- package/dist/commonjs/models/operations/expeditetimeremaining.js.map +1 -1
- package/dist/commonjs/models/operations/getevent.d.ts +110 -0
- package/dist/commonjs/models/operations/getevent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getevent.js +128 -0
- package/dist/commonjs/models/operations/getevent.js.map +1 -0
- package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts +7 -1
- package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.js.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.d.ts +7 -1
- package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts +7 -1
- package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getvendorcredentialdetails.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorlegalname.d.ts +7 -1
- package/dist/commonjs/models/operations/getvendorlegalname.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getvendorlegalname.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorscan.d.ts +21 -0
- package/dist/commonjs/models/operations/getvendorscan.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorscan.js +52 -0
- package/dist/commonjs/models/operations/getvendorscan.js.map +1 -0
- package/dist/commonjs/models/operations/getvendorsdetails.d.ts +7 -1
- package/dist/commonjs/models/operations/getvendorsdetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getvendorsdetails.js.map +1 -1
- package/dist/commonjs/models/operations/getvendoruploadhistory.d.ts +26 -0
- package/dist/commonjs/models/operations/getvendoruploadhistory.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendoruploadhistory.js +56 -0
- package/dist/commonjs/models/operations/getvendoruploadhistory.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listsystems.d.ts +10 -0
- package/dist/commonjs/models/operations/listsystems.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsystems.js +4 -0
- package/dist/commonjs/models/operations/listsystems.js.map +1 -1
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts +8 -32
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js +1 -19
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredentialhistory.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorcredentialhistory.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredentialhistory.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredits.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorcredits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredits.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcustomfields.d.ts +8 -32
- package/dist/commonjs/models/operations/listvendorcustomfields.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorcustomfields.js +1 -19
- package/dist/commonjs/models/operations/listvendorcustomfields.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorscans.d.ts +92 -0
- package/dist/commonjs/models/operations/listvendorscans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listvendorscans.js +103 -0
- package/dist/commonjs/models/operations/listvendorscans.js.map +1 -0
- package/dist/commonjs/models/operations/listvendorscrubdetails.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorscrubdetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubdetails.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpackages.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts +7 -1
- package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpurchases.js.map +1 -1
- package/dist/commonjs/models/operations/purchasescrubcredits.d.ts +7 -1
- package/dist/commonjs/models/operations/purchasescrubcredits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/purchasescrubcredits.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +7 -1
- package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendorcustomfield.d.ts +41 -0
- package/dist/commonjs/models/operations/updatevendorcustomfield.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatevendorcustomfield.js +70 -0
- package/dist/commonjs/models/operations/updatevendorcustomfield.js.map +1 -0
- package/dist/commonjs/models/operations/updatevendordetails.d.ts +7 -1
- package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts +7 -1
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts +7 -1
- package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendorscrubdetails.js.map +1 -1
- package/dist/commonjs/react-query/eventsGetEvent.core.d.ts +15 -0
- package/dist/commonjs/react-query/eventsGetEvent.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsGetEvent.core.js +41 -0
- package/dist/commonjs/react-query/eventsGetEvent.core.js.map +1 -0
- package/dist/commonjs/react-query/eventsGetEvent.d.ts +52 -0
- package/dist/commonjs/react-query/eventsGetEvent.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsGetEvent.js +78 -0
- package/dist/commonjs/react-query/eventsGetEvent.js.map +1 -0
- 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/systemsListSystems.core.d.ts +4 -0
- package/dist/commonjs/react-query/systemsListSystems.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/systemsListSystems.core.js +4 -0
- package/dist/commonjs/react-query/systemsListSystems.core.js.map +1 -1
- package/dist/commonjs/react-query/systemsListSystems.d.ts +4 -0
- package/dist/commonjs/react-query/systemsListSystems.d.ts.map +1 -1
- package/dist/commonjs/react-query/systemsListSystems.js.map +1 -1
- package/dist/commonjs/react-query/vendorScansGetVendorScan.core.d.ts +15 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.core.js +43 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts +54 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.js +84 -0
- package/dist/commonjs/react-query/vendorScansGetVendorScan.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.core.d.ts +46 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.core.js +102 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.d.ts +68 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.js +105 -0
- package/dist/commonjs/react-query/vendorScansListVendorScans.js.map +1 -0
- package/dist/commonjs/react-query/vendorsAiClassifyCreate.d.ts +33 -0
- package/dist/commonjs/react-query/vendorsAiClassifyCreate.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsAiClassifyCreate.js +52 -0
- package/dist/commonjs/react-query/vendorsAiClassifyCreate.js.map +1 -0
- package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.d.ts +31 -0
- package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.js +54 -0
- package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.d.ts +15 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.js +43 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.d.ts +41 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.js +72 -0
- package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorsDetails.js +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts +2 -26
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.js +2 -56
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.js.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.d.ts +20 -43
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.js +15 -42
- package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.d.ts +2 -26
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.js +2 -56
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.js.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.d.ts +27 -40
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.js +23 -40
- package/dist/commonjs/react-query/vendorsListVendorCustomFields.js.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts +37 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js +59 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js.map +1 -0
- package/dist/commonjs/sdk/events.d.ts +13 -0
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +16 -0
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +63 -9
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +75 -5
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/commonjs/sdk/vendorscans.d.ts +25 -0
- package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendorscans.js +28 -0
- package/dist/commonjs/sdk/vendorscans.js.map +1 -1
- package/dist/esm/__tests__/events.test.js +21 -0
- package/dist/esm/__tests__/events.test.js.map +1 -1
- package/dist/esm/__tests__/fhirconfigs.test.js +4 -0
- package/dist/esm/__tests__/fhirconfigs.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +85 -43
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/vendorscans.test.js +49 -0
- package/dist/esm/__tests__/vendorscans.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +10 -8
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/eventsGetEvent.d.ts +26 -0
- package/dist/esm/funcs/eventsGetEvent.d.ts.map +1 -0
- package/dist/esm/funcs/eventsGetEvent.js +100 -0
- package/dist/esm/funcs/eventsGetEvent.js.map +1 -0
- package/dist/esm/funcs/systemsListSystems.js +2 -0
- package/dist/esm/funcs/systemsListSystems.js.map +1 -1
- package/dist/esm/funcs/vendorScansGetVendorScan.d.ts +28 -0
- package/dist/esm/funcs/vendorScansGetVendorScan.d.ts.map +1 -0
- package/dist/esm/funcs/vendorScansGetVendorScan.js +102 -0
- package/dist/esm/funcs/vendorScansGetVendorScan.js.map +1 -0
- package/dist/esm/funcs/vendorScansListVendorScans.d.ts +23 -0
- package/dist/esm/funcs/vendorScansListVendorScans.d.ts.map +1 -0
- package/dist/esm/funcs/vendorScansListVendorScans.js +129 -0
- package/dist/esm/funcs/vendorScansListVendorScans.js.map +1 -0
- package/dist/esm/funcs/vendorsAiClassifyCreate.d.ts +24 -0
- package/dist/esm/funcs/vendorsAiClassifyCreate.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsAiClassifyCreate.js +89 -0
- package/dist/esm/funcs/vendorsAiClassifyCreate.js.map +1 -0
- package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.d.ts +22 -0
- package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.js +87 -0
- package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.js.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorUploadHistory.d.ts +22 -0
- package/dist/esm/funcs/vendorsGetVendorUploadHistory.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorUploadHistory.js +97 -0
- package/dist/esm/funcs/vendorsGetVendorUploadHistory.js.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts +1 -0
- package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorsDetails.js +1 -0
- package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +10 -5
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js +18 -47
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCustomFields.d.ts +14 -6
- package/dist/esm/funcs/vendorsListVendorCustomFields.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCustomFields.js +21 -50
- package/dist/esm/funcs/vendorsListVendorCustomFields.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts +28 -0
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.js +99 -0
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.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/aiclassifycreaterequest.d.ts +25 -0
- package/dist/esm/models/components/aiclassifycreaterequest.d.ts.map +1 -0
- package/dist/esm/models/components/aiclassifycreaterequest.js +21 -0
- package/dist/esm/models/components/aiclassifycreaterequest.js.map +1 -0
- package/dist/esm/models/components/aiclassifycreateresponse.d.ts +26 -0
- package/dist/esm/models/components/aiclassifycreateresponse.d.ts.map +1 -0
- package/dist/esm/models/components/aiclassifycreateresponse.js +27 -0
- package/dist/esm/models/components/aiclassifycreateresponse.js.map +1 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedrequest.d.ts +15 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedrequest.d.ts.map +1 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedrequest.js +18 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedrequest.js.map +1 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedresponse.d.ts +16 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedresponse.d.ts.map +1 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedresponse.js +24 -0
- package/dist/esm/models/components/aiclassifynotifyuploadedresponse.js.map +1 -0
- package/dist/esm/models/components/fhirconfig.d.ts +8 -0
- package/dist/esm/models/components/fhirconfig.d.ts.map +1 -1
- package/dist/esm/models/components/fhirconfig.js +4 -0
- package/dist/esm/models/components/fhirconfig.js.map +1 -1
- package/dist/esm/models/components/fhirconfigpartialupdate.d.ts +10 -0
- package/dist/esm/models/components/fhirconfigpartialupdate.d.ts.map +1 -1
- package/dist/esm/models/components/fhirconfigpartialupdate.js +4 -0
- package/dist/esm/models/components/fhirconfigpartialupdate.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +5 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +5 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/uploadhistoryitem.d.ts +26 -0
- package/dist/esm/models/components/uploadhistoryitem.d.ts.map +1 -0
- package/dist/esm/models/components/uploadhistoryitem.js +26 -0
- package/dist/esm/models/components/uploadhistoryitem.js.map +1 -0
- package/dist/esm/models/components/vendor.d.ts +5 -0
- package/dist/esm/models/components/vendor.d.ts.map +1 -1
- package/dist/esm/models/components/vendor.js +4 -0
- package/dist/esm/models/components/vendor.js.map +1 -1
- package/dist/esm/models/components/vendorcustomfields.d.ts +65 -3
- package/dist/esm/models/components/vendorcustomfields.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcustomfields.js +43 -3
- package/dist/esm/models/components/vendorcustomfields.js.map +1 -1
- package/dist/esm/models/components/vendorscan.d.ts +5 -0
- package/dist/esm/models/components/vendorscan.d.ts.map +1 -1
- package/dist/esm/models/components/vendorscan.js +4 -0
- package/dist/esm/models/components/vendorscan.js.map +1 -1
- package/dist/esm/models/operations/addvendormanagedbycompany.d.ts +7 -1
- package/dist/esm/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/addvendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/calculatesubscriptionprice.d.ts +7 -1
- package/dist/esm/models/operations/calculatesubscriptionprice.d.ts.map +1 -1
- package/dist/esm/models/operations/calculatesubscriptionprice.js.map +1 -1
- package/dist/esm/models/operations/changesubscription.d.ts +7 -1
- package/dist/esm/models/operations/changesubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/changesubscription.js.map +1 -1
- package/dist/esm/models/operations/createvendorcompany.d.ts +7 -1
- package/dist/esm/models/operations/createvendorcompany.d.ts.map +1 -1
- package/dist/esm/models/operations/createvendorcompany.js.map +1 -1
- package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +7 -1
- package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/expeditetimeremaining.d.ts +7 -1
- package/dist/esm/models/operations/expeditetimeremaining.d.ts.map +1 -1
- package/dist/esm/models/operations/expeditetimeremaining.js.map +1 -1
- package/dist/esm/models/operations/getevent.d.ts +110 -0
- package/dist/esm/models/operations/getevent.d.ts.map +1 -0
- package/dist/esm/models/operations/getevent.js +85 -0
- package/dist/esm/models/operations/getevent.js.map +1 -0
- package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts +7 -1
- package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -1
- package/dist/esm/models/operations/getnextunansweredscreeningquestion.js.map +1 -1
- package/dist/esm/models/operations/getsubscription.d.ts +7 -1
- package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/getsubscription.js.map +1 -1
- package/dist/esm/models/operations/getvendorcredentialdetails.d.ts +7 -1
- package/dist/esm/models/operations/getvendorcredentialdetails.d.ts.map +1 -1
- package/dist/esm/models/operations/getvendorcredentialdetails.js.map +1 -1
- package/dist/esm/models/operations/getvendorlegalname.d.ts +7 -1
- package/dist/esm/models/operations/getvendorlegalname.d.ts.map +1 -1
- package/dist/esm/models/operations/getvendorlegalname.js.map +1 -1
- package/dist/esm/models/operations/getvendorscan.d.ts +21 -0
- package/dist/esm/models/operations/getvendorscan.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorscan.js +15 -0
- package/dist/esm/models/operations/getvendorscan.js.map +1 -0
- package/dist/esm/models/operations/getvendorsdetails.d.ts +7 -1
- package/dist/esm/models/operations/getvendorsdetails.d.ts.map +1 -1
- package/dist/esm/models/operations/getvendorsdetails.js.map +1 -1
- package/dist/esm/models/operations/getvendoruploadhistory.d.ts +26 -0
- package/dist/esm/models/operations/getvendoruploadhistory.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendoruploadhistory.js +19 -0
- package/dist/esm/models/operations/getvendoruploadhistory.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +5 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listsystems.d.ts +10 -0
- package/dist/esm/models/operations/listsystems.d.ts.map +1 -1
- package/dist/esm/models/operations/listsystems.js +4 -0
- package/dist/esm/models/operations/listsystems.js.map +1 -1
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts +8 -32
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.js +0 -17
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
- package/dist/esm/models/operations/listvendorcredentialhistory.d.ts +7 -1
- package/dist/esm/models/operations/listvendorcredentialhistory.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorcredentialhistory.js.map +1 -1
- package/dist/esm/models/operations/listvendorcredits.d.ts +7 -1
- package/dist/esm/models/operations/listvendorcredits.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorcredits.js.map +1 -1
- package/dist/esm/models/operations/listvendorcustomfields.d.ts +8 -32
- package/dist/esm/models/operations/listvendorcustomfields.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorcustomfields.js +0 -17
- package/dist/esm/models/operations/listvendorcustomfields.js.map +1 -1
- package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts +7 -1
- package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorfacilitystatuses.js.map +1 -1
- package/dist/esm/models/operations/listvendorinvoices.d.ts +7 -1
- package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts +7 -1
- package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendormanagedbycompanies.js.map +1 -1
- package/dist/esm/models/operations/listvendorscans.d.ts +92 -0
- package/dist/esm/models/operations/listvendorscans.d.ts.map +1 -0
- package/dist/esm/models/operations/listvendorscans.js +64 -0
- package/dist/esm/models/operations/listvendorscans.js.map +1 -0
- package/dist/esm/models/operations/listvendorscrubdetails.d.ts +7 -1
- package/dist/esm/models/operations/listvendorscrubdetails.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorscrubdetails.js.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpackages.d.ts +7 -1
- package/dist/esm/models/operations/listvendorscrubpackages.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpackages.js.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpurchases.d.ts +7 -1
- package/dist/esm/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpurchases.js.map +1 -1
- package/dist/esm/models/operations/purchasescrubcredits.d.ts +7 -1
- package/dist/esm/models/operations/purchasescrubcredits.d.ts.map +1 -1
- package/dist/esm/models/operations/purchasescrubcredits.js.map +1 -1
- package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +7 -1
- package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -1
- package/dist/esm/models/operations/updatevendorcustomfield.d.ts +41 -0
- package/dist/esm/models/operations/updatevendorcustomfield.d.ts.map +1 -0
- package/dist/esm/models/operations/updatevendorcustomfield.js +32 -0
- package/dist/esm/models/operations/updatevendorcustomfield.js.map +1 -0
- package/dist/esm/models/operations/updatevendordetails.d.ts +7 -1
- package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
- package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts +7 -1
- package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/updatevendorscrubdetails.d.ts +7 -1
- package/dist/esm/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendorscrubdetails.js.map +1 -1
- package/dist/esm/react-query/eventsGetEvent.core.d.ts +15 -0
- package/dist/esm/react-query/eventsGetEvent.core.d.ts.map +1 -0
- package/dist/esm/react-query/eventsGetEvent.core.js +36 -0
- package/dist/esm/react-query/eventsGetEvent.core.js.map +1 -0
- package/dist/esm/react-query/eventsGetEvent.d.ts +52 -0
- package/dist/esm/react-query/eventsGetEvent.d.ts.map +1 -0
- package/dist/esm/react-query/eventsGetEvent.js +68 -0
- package/dist/esm/react-query/eventsGetEvent.js.map +1 -0
- 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/systemsListSystems.core.d.ts +4 -0
- package/dist/esm/react-query/systemsListSystems.core.d.ts.map +1 -1
- package/dist/esm/react-query/systemsListSystems.core.js +4 -0
- package/dist/esm/react-query/systemsListSystems.core.js.map +1 -1
- package/dist/esm/react-query/systemsListSystems.d.ts +4 -0
- package/dist/esm/react-query/systemsListSystems.d.ts.map +1 -1
- package/dist/esm/react-query/systemsListSystems.js.map +1 -1
- package/dist/esm/react-query/vendorScansGetVendorScan.core.d.ts +15 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.core.js +38 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.core.js.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.d.ts +54 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.js +74 -0
- package/dist/esm/react-query/vendorScansGetVendorScan.js.map +1 -0
- package/dist/esm/react-query/vendorScansListVendorScans.core.d.ts +46 -0
- package/dist/esm/react-query/vendorScansListVendorScans.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansListVendorScans.core.js +94 -0
- package/dist/esm/react-query/vendorScansListVendorScans.core.js.map +1 -0
- package/dist/esm/react-query/vendorScansListVendorScans.d.ts +68 -0
- package/dist/esm/react-query/vendorScansListVendorScans.d.ts.map +1 -0
- package/dist/esm/react-query/vendorScansListVendorScans.js +90 -0
- package/dist/esm/react-query/vendorScansListVendorScans.js.map +1 -0
- package/dist/esm/react-query/vendorsAiClassifyCreate.d.ts +33 -0
- package/dist/esm/react-query/vendorsAiClassifyCreate.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsAiClassifyCreate.js +47 -0
- package/dist/esm/react-query/vendorsAiClassifyCreate.js.map +1 -0
- package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.d.ts +31 -0
- package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.js +49 -0
- package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.d.ts +15 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.js +38 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.d.ts +41 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.js +62 -0
- package/dist/esm/react-query/vendorsGetVendorUploadHistory.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts +2 -0
- package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorsDetails.js +2 -0
- package/dist/esm/react-query/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts +2 -26
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.js +2 -53
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.js.map +1 -1
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.d.ts +20 -43
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.js +17 -39
- package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCustomFields.core.d.ts +2 -26
- package/dist/esm/react-query/vendorsListVendorCustomFields.core.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCustomFields.core.js +2 -53
- package/dist/esm/react-query/vendorsListVendorCustomFields.core.js.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCustomFields.d.ts +27 -40
- package/dist/esm/react-query/vendorsListVendorCustomFields.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCustomFields.js +25 -37
- package/dist/esm/react-query/vendorsListVendorCustomFields.js.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts +37 -0
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.js +54 -0
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.js.map +1 -0
- package/dist/esm/sdk/events.d.ts +13 -0
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +16 -0
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +63 -9
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +75 -5
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/dist/esm/sdk/vendorscans.d.ts +25 -0
- package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
- package/dist/esm/sdk/vendorscans.js +28 -0
- package/dist/esm/sdk/vendorscans.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/events.test.ts +24 -0
- package/src/__tests__/fhirconfigs.test.ts +4 -0
- package/src/__tests__/vendors.test.ts +98 -48
- package/src/__tests__/vendorscans.test.ts +55 -0
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +10 -8
- package/src/funcs/eventsGetEvent.ts +189 -0
- package/src/funcs/systemsListSystems.ts +2 -0
- package/src/funcs/vendorScansGetVendorScan.ts +191 -0
- package/src/funcs/vendorScansListVendorScans.ts +256 -0
- package/src/funcs/vendorsAiClassifyCreate.ts +177 -0
- package/src/funcs/vendorsAiClassifyNotifyUploaded.ts +177 -0
- package/src/funcs/vendorsGetVendorUploadHistory.ts +189 -0
- package/src/funcs/vendorsGetVendorsDetails.ts +1 -0
- package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +42 -111
- package/src/funcs/vendorsListVendorCustomFields.ts +48 -113
- package/src/funcs/vendorsUpdateVendorCustomField.ts +190 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/aiclassifycreaterequest.ts +53 -0
- package/src/models/components/aiclassifycreateresponse.ts +61 -0
- package/src/models/components/aiclassifynotifyuploadedrequest.ts +42 -0
- package/src/models/components/aiclassifynotifyuploadedresponse.ts +48 -0
- package/src/models/components/fhirconfig.ts +12 -0
- package/src/models/components/fhirconfigpartialupdate.ts +14 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/uploadhistoryitem.ts +60 -0
- package/src/models/components/vendor.ts +11 -0
- package/src/models/components/vendorcustomfields.ts +111 -6
- package/src/models/components/vendorscan.ts +9 -0
- package/src/models/operations/addvendormanagedbycompany.ts +7 -1
- package/src/models/operations/calculatesubscriptionprice.ts +7 -1
- package/src/models/operations/changesubscription.ts +7 -1
- package/src/models/operations/createvendorcompany.ts +7 -1
- package/src/models/operations/deletevendormanagedbycompany.ts +7 -1
- package/src/models/operations/expeditetimeremaining.ts +7 -1
- package/src/models/operations/getevent.ts +263 -0
- package/src/models/operations/getnextunansweredscreeningquestion.ts +7 -1
- package/src/models/operations/getsubscription.ts +7 -1
- package/src/models/operations/getvendorcredentialdetails.ts +7 -1
- package/src/models/operations/getvendorlegalname.ts +7 -1
- package/src/models/operations/getvendorscan.ts +42 -0
- package/src/models/operations/getvendorsdetails.ts +7 -1
- package/src/models/operations/getvendoruploadhistory.ts +54 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listsystems.ts +14 -0
- package/src/models/operations/listvendoradditionalfacilityfields.ts +8 -66
- package/src/models/operations/listvendorcredentialhistory.ts +7 -1
- package/src/models/operations/listvendorcredits.ts +7 -1
- package/src/models/operations/listvendorcustomfields.ts +8 -61
- package/src/models/operations/listvendorfacilitystatuses.ts +7 -1
- package/src/models/operations/listvendorinvoices.ts +7 -1
- package/src/models/operations/listvendormanagedbycompanies.ts +7 -1
- package/src/models/operations/listvendorscans.ts +174 -0
- package/src/models/operations/listvendorscrubdetails.ts +7 -1
- package/src/models/operations/listvendorscrubpackages.ts +7 -1
- package/src/models/operations/listvendorscrubpurchases.ts +7 -1
- package/src/models/operations/purchasescrubcredits.ts +7 -1
- package/src/models/operations/updatevendorcredentialdata.ts +7 -1
- package/src/models/operations/updatevendorcustomfield.ts +93 -0
- package/src/models/operations/updatevendordetails.ts +7 -1
- package/src/models/operations/updatevendormanagedbycompany.ts +7 -1
- package/src/models/operations/updatevendorscrubdetails.ts +7 -1
- package/src/react-query/eventsGetEvent.core.ts +79 -0
- package/src/react-query/eventsGetEvent.ts +153 -0
- package/src/react-query/index.ts +7 -0
- package/src/react-query/systemsListSystems.core.ts +8 -0
- package/src/react-query/systemsListSystems.ts +4 -0
- package/src/react-query/vendorScansGetVendorScan.core.ts +83 -0
- package/src/react-query/vendorScansGetVendorScan.ts +168 -0
- package/src/react-query/vendorScansListVendorScans.core.ts +210 -0
- package/src/react-query/vendorScansListVendorScans.ts +273 -0
- package/src/react-query/vendorsAiClassifyCreate.ts +116 -0
- package/src/react-query/vendorsAiClassifyNotifyUploaded.ts +118 -0
- package/src/react-query/vendorsGetVendorUploadHistory.core.ts +85 -0
- package/src/react-query/vendorsGetVendorUploadHistory.ts +155 -0
- package/src/react-query/vendorsGetVendorsDetails.ts +2 -0
- package/src/react-query/vendorsListVendorAdditionalFacilityFields.core.ts +1 -124
- package/src/react-query/vendorsListVendorAdditionalFacilityFields.ts +16 -127
- package/src/react-query/vendorsListVendorCustomFields.core.ts +2 -122
- package/src/react-query/vendorsListVendorCustomFields.ts +24 -125
- package/src/react-query/vendorsUpdateVendorCustomField.ts +124 -0
- package/src/sdk/events.ts +24 -0
- package/src/sdk/vendors.ts +109 -12
- package/src/sdk/vendorscans.ts +47 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 41063021ea66
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type AiClassifyCreateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Vendor that owns the credential being classified.
|
|
12
|
+
*/
|
|
13
|
+
vendorId: number;
|
|
14
|
+
/**
|
|
15
|
+
* Original filename of the file the user is uploading.
|
|
16
|
+
*/
|
|
17
|
+
filename: string;
|
|
18
|
+
/**
|
|
19
|
+
* MIME type. Defaults server-side to application/octet-stream.
|
|
20
|
+
*/
|
|
21
|
+
contentType?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type AiClassifyCreateRequest$Outbound = {
|
|
26
|
+
vendor_id: number;
|
|
27
|
+
filename: string;
|
|
28
|
+
content_type?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const AiClassifyCreateRequest$outboundSchema: z.ZodType<
|
|
33
|
+
AiClassifyCreateRequest$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
AiClassifyCreateRequest
|
|
36
|
+
> = z.object({
|
|
37
|
+
vendorId: z.number().int(),
|
|
38
|
+
filename: z.string(),
|
|
39
|
+
contentType: z.string().optional(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
vendorId: "vendor_id",
|
|
43
|
+
contentType: "content_type",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function aiClassifyCreateRequestToJSON(
|
|
48
|
+
aiClassifyCreateRequest: AiClassifyCreateRequest,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
AiClassifyCreateRequest$outboundSchema.parse(aiClassifyCreateRequest),
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: f978213835cb
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export type AiClassifyCreateResponse = {
|
|
14
|
+
success: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* ID of the placeholder VendorCredential row.
|
|
17
|
+
*/
|
|
18
|
+
vcId: number;
|
|
19
|
+
/**
|
|
20
|
+
* ID of the paired VendorCredentialFile row.
|
|
21
|
+
*/
|
|
22
|
+
vcfId: number;
|
|
23
|
+
/**
|
|
24
|
+
* S3 object key the presigned URL targets.
|
|
25
|
+
*/
|
|
26
|
+
s3Key: string;
|
|
27
|
+
/**
|
|
28
|
+
* Short-lived presigned PUT URL. Client uploads file body here.
|
|
29
|
+
*/
|
|
30
|
+
presignedUrl: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const AiClassifyCreateResponse$inboundSchema: z.ZodType<
|
|
35
|
+
AiClassifyCreateResponse,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
success: types.boolean(),
|
|
40
|
+
vc_id: types.number(),
|
|
41
|
+
vcf_id: types.number(),
|
|
42
|
+
s3_key: types.string(),
|
|
43
|
+
presigned_url: types.string(),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
"vc_id": "vcId",
|
|
47
|
+
"vcf_id": "vcfId",
|
|
48
|
+
"s3_key": "s3Key",
|
|
49
|
+
"presigned_url": "presignedUrl",
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function aiClassifyCreateResponseFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<AiClassifyCreateResponse, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => AiClassifyCreateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'AiClassifyCreateResponse' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 241f78803cca
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type AiClassifyNotifyUploadedRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* ID of the VendorCredentialFile that was just uploaded to S3.
|
|
12
|
+
*/
|
|
13
|
+
vcfId: number;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type AiClassifyNotifyUploadedRequest$Outbound = {
|
|
18
|
+
vcf_id: number;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AiClassifyNotifyUploadedRequest$outboundSchema: z.ZodType<
|
|
23
|
+
AiClassifyNotifyUploadedRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
AiClassifyNotifyUploadedRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
vcfId: z.number().int(),
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
vcfId: "vcf_id",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function aiClassifyNotifyUploadedRequestToJSON(
|
|
35
|
+
aiClassifyNotifyUploadedRequest: AiClassifyNotifyUploadedRequest,
|
|
36
|
+
): string {
|
|
37
|
+
return JSON.stringify(
|
|
38
|
+
AiClassifyNotifyUploadedRequest$outboundSchema.parse(
|
|
39
|
+
aiClassifyNotifyUploadedRequest,
|
|
40
|
+
),
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0acafb543ca3
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export type AiClassifyNotifyUploadedResponse = {
|
|
14
|
+
success: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* True when classification was already routed (idempotency hit).
|
|
17
|
+
*/
|
|
18
|
+
already?: boolean | undefined;
|
|
19
|
+
vcId: number;
|
|
20
|
+
vcfId: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const AiClassifyNotifyUploadedResponse$inboundSchema: z.ZodType<
|
|
25
|
+
AiClassifyNotifyUploadedResponse,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
success: types.boolean(),
|
|
30
|
+
already: types.optional(types.boolean()),
|
|
31
|
+
vc_id: types.number(),
|
|
32
|
+
vcf_id: types.number(),
|
|
33
|
+
}).transform((v) => {
|
|
34
|
+
return remap$(v, {
|
|
35
|
+
"vc_id": "vcId",
|
|
36
|
+
"vcf_id": "vcfId",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function aiClassifyNotifyUploadedResponseFromJSON(
|
|
41
|
+
jsonString: string,
|
|
42
|
+
): SafeParseResult<AiClassifyNotifyUploadedResponse, SDKValidationError> {
|
|
43
|
+
return safeParse(
|
|
44
|
+
jsonString,
|
|
45
|
+
(x) => AiClassifyNotifyUploadedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
46
|
+
`Failed to parse 'AiClassifyNotifyUploadedResponse' from JSON`,
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -100,6 +100,14 @@ export type FhirConfig = {
|
|
|
100
100
|
* See [JMESPath](https://jmespath.org/)
|
|
101
101
|
*/
|
|
102
102
|
projection: string;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to automatically create Room records for unmapped FHIR encounter locations
|
|
105
|
+
*/
|
|
106
|
+
autoCreateRooms: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* JMESPath template to transform FHIR location object to Room attributes. Used when auto_create_rooms is enabled.
|
|
109
|
+
*/
|
|
110
|
+
roomCreationJmespath?: string | undefined;
|
|
103
111
|
};
|
|
104
112
|
|
|
105
113
|
/** @internal */
|
|
@@ -218,12 +226,16 @@ export const FhirConfig$inboundSchema: z.ZodType<
|
|
|
218
226
|
notes: types.optional(types.string()),
|
|
219
227
|
entities: FhirExtraEntities$inboundSchema,
|
|
220
228
|
projection: types.string(),
|
|
229
|
+
auto_create_rooms: types.boolean().default(false),
|
|
230
|
+
room_creation_jmespath: types.optional(types.string()),
|
|
221
231
|
}).transform((v) => {
|
|
222
232
|
return remap$(v, {
|
|
223
233
|
"production_profile": "productionProfile",
|
|
224
234
|
"non_production_profile": "nonProductionProfile",
|
|
225
235
|
"applies_to": "appliesTo",
|
|
226
236
|
"active_profile": "activeProfile",
|
|
237
|
+
"auto_create_rooms": "autoCreateRooms",
|
|
238
|
+
"room_creation_jmespath": "roomCreationJmespath",
|
|
227
239
|
});
|
|
228
240
|
});
|
|
229
241
|
|
|
@@ -49,6 +49,14 @@ export type FhirConfigPartialUpdate = {
|
|
|
49
49
|
* Flags indicating which FHIR entities should be queried for a visitor lookup. The default patient and encounter entities are always enabled. Extra entities should be enabled when additional data needs to be queried to decide whether a visitor should be allowed in.
|
|
50
50
|
*/
|
|
51
51
|
entities?: FhirExtraEntities | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to automatically create Room records for unmapped FHIR encounter locations
|
|
54
|
+
*/
|
|
55
|
+
autoCreateRooms?: boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* JMESPath template to transform FHIR location object to Room attributes. Used when auto_create_rooms is enabled.
|
|
58
|
+
*/
|
|
59
|
+
roomCreationJmespath?: string | undefined;
|
|
52
60
|
};
|
|
53
61
|
|
|
54
62
|
/** @internal */
|
|
@@ -183,6 +191,8 @@ export type FhirConfigPartialUpdate$Outbound = {
|
|
|
183
191
|
active_profile?: string | undefined;
|
|
184
192
|
notes?: string | undefined;
|
|
185
193
|
entities?: FhirExtraEntities$Outbound | undefined;
|
|
194
|
+
auto_create_rooms: boolean;
|
|
195
|
+
room_creation_jmespath?: string | undefined;
|
|
186
196
|
};
|
|
187
197
|
|
|
188
198
|
/** @internal */
|
|
@@ -202,12 +212,16 @@ export const FhirConfigPartialUpdate$outboundSchema: z.ZodType<
|
|
|
202
212
|
activeProfile: z.string().optional(),
|
|
203
213
|
notes: z.string().optional(),
|
|
204
214
|
entities: FhirExtraEntities$outboundSchema.optional(),
|
|
215
|
+
autoCreateRooms: z.boolean().default(false),
|
|
216
|
+
roomCreationJmespath: z.string().optional(),
|
|
205
217
|
}).transform((v) => {
|
|
206
218
|
return remap$(v, {
|
|
207
219
|
productionProfile: "production_profile",
|
|
208
220
|
nonProductionProfile: "non_production_profile",
|
|
209
221
|
appliesTo: "applies_to",
|
|
210
222
|
activeProfile: "active_profile",
|
|
223
|
+
autoCreateRooms: "auto_create_rooms",
|
|
224
|
+
roomCreationJmespath: "room_creation_jmespath",
|
|
211
225
|
});
|
|
212
226
|
});
|
|
213
227
|
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export * from "./activestatus.js";
|
|
7
|
+
export * from "./aiclassifycreaterequest.js";
|
|
8
|
+
export * from "./aiclassifycreateresponse.js";
|
|
9
|
+
export * from "./aiclassifynotifyuploadedrequest.js";
|
|
10
|
+
export * from "./aiclassifynotifyuploadedresponse.js";
|
|
7
11
|
export * from "./alert.js";
|
|
8
12
|
export * from "./backgroundcheckresult.js";
|
|
9
13
|
export * from "./company.js";
|
|
@@ -65,6 +69,7 @@ export * from "./subscription.js";
|
|
|
65
69
|
export * from "./supervisor.js";
|
|
66
70
|
export * from "./supportarticle.js";
|
|
67
71
|
export * from "./systemsummary.js";
|
|
72
|
+
export * from "./uploadhistoryitem.js";
|
|
68
73
|
export * from "./user.js";
|
|
69
74
|
export * from "./userlocation.js";
|
|
70
75
|
export * from "./usersummary.js";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a1eae6e10877
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export type UploadHistoryItem = {
|
|
14
|
+
/**
|
|
15
|
+
* VendorCredentialFile ID.
|
|
16
|
+
*/
|
|
17
|
+
id: number;
|
|
18
|
+
/**
|
|
19
|
+
* Original filename.
|
|
20
|
+
*/
|
|
21
|
+
filename: string;
|
|
22
|
+
/**
|
|
23
|
+
* ISO-8601 timestamp.
|
|
24
|
+
*/
|
|
25
|
+
dateUploaded: Date;
|
|
26
|
+
vendorCredentialId: number;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the matched Credential, or null if unmatched.
|
|
29
|
+
*/
|
|
30
|
+
credentialName?: string | null | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const UploadHistoryItem$inboundSchema: z.ZodType<
|
|
35
|
+
UploadHistoryItem,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
id: types.number(),
|
|
40
|
+
filename: types.string(),
|
|
41
|
+
date_uploaded: types.date(),
|
|
42
|
+
vendor_credential_id: types.number(),
|
|
43
|
+
credential_name: z.nullable(types.string()).optional(),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
"date_uploaded": "dateUploaded",
|
|
47
|
+
"vendor_credential_id": "vendorCredentialId",
|
|
48
|
+
"credential_name": "credentialName",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export function uploadHistoryItemFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<UploadHistoryItem, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => UploadHistoryItem$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'UploadHistoryItem' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -26,6 +26,10 @@ import { Invoice, Invoice$inboundSchema } from "./invoice.js";
|
|
|
26
26
|
import { Subscription, Subscription$inboundSchema } from "./subscription.js";
|
|
27
27
|
import { Supervisor, Supervisor$inboundSchema } from "./supervisor.js";
|
|
28
28
|
import { UserLocation, UserLocation$inboundSchema } from "./userlocation.js";
|
|
29
|
+
import {
|
|
30
|
+
VendorCustomFields,
|
|
31
|
+
VendorCustomFields$inboundSchema,
|
|
32
|
+
} from "./vendorcustomfields.js";
|
|
29
33
|
import { VendorGroup, VendorGroup$inboundSchema } from "./vendorgroup.js";
|
|
30
34
|
import {
|
|
31
35
|
VendorJobTitle,
|
|
@@ -189,6 +193,10 @@ export type Vendor = {
|
|
|
189
193
|
vendorGroups?: Array<VendorGroup | null> | null | undefined;
|
|
190
194
|
hasCredentialedFacilities?: boolean | null | undefined;
|
|
191
195
|
targetFacilitiesUpdated?: string | null | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* All custom fields (company-level and facility-level) associated with the vendor. Returned when expand includes vendor.custom_fields.
|
|
198
|
+
*/
|
|
199
|
+
customFields?: Array<VendorCustomFields> | null | undefined;
|
|
192
200
|
};
|
|
193
201
|
|
|
194
202
|
/** @internal */
|
|
@@ -586,6 +594,8 @@ export const Vendor$inboundSchema: z.ZodType<Vendor, z.ZodTypeDef, unknown> = z
|
|
|
586
594
|
).optional(),
|
|
587
595
|
has_credentialed_facilities: z.nullable(types.boolean()).optional(),
|
|
588
596
|
target_facilities_updated: z.nullable(types.string()).optional(),
|
|
597
|
+
custom_fields: z.nullable(z.array(VendorCustomFields$inboundSchema))
|
|
598
|
+
.optional(),
|
|
589
599
|
}).transform((v) => {
|
|
590
600
|
return remap$(v, {
|
|
591
601
|
"email_recepient": "emailRecepient",
|
|
@@ -613,6 +623,7 @@ export const Vendor$inboundSchema: z.ZodType<Vendor, z.ZodTypeDef, unknown> = z
|
|
|
613
623
|
"vendor_groups": "vendorGroups",
|
|
614
624
|
"has_credentialed_facilities": "hasCredentialedFacilities",
|
|
615
625
|
"target_facilities_updated": "targetFacilitiesUpdated",
|
|
626
|
+
"custom_fields": "customFields",
|
|
616
627
|
});
|
|
617
628
|
});
|
|
618
629
|
|
|
@@ -4,19 +4,119 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
8
|
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import * as openEnums from "../../types/enums.js";
|
|
10
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
12
|
import * as types from "../../types/primitives.js";
|
|
10
13
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
14
|
|
|
15
|
+
/**
|
|
16
|
+
* The type of the custom field
|
|
17
|
+
*/
|
|
18
|
+
export const FieldType = {
|
|
19
|
+
Text: "text",
|
|
20
|
+
Date: "date",
|
|
21
|
+
Select: "select",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* The type of the custom field
|
|
25
|
+
*/
|
|
26
|
+
export type FieldType = OpenEnum<typeof FieldType>;
|
|
27
|
+
|
|
28
|
+
export const ForType = {
|
|
29
|
+
Company: "company",
|
|
30
|
+
Facility: "facility",
|
|
31
|
+
} as const;
|
|
32
|
+
export type ForType = OpenEnum<typeof ForType>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Indicates whether this field belongs to a company or facility
|
|
36
|
+
*/
|
|
37
|
+
export type FieldFor = {
|
|
38
|
+
forType?: ForType | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Company name (present when for_type is company)
|
|
41
|
+
*/
|
|
42
|
+
company?: string | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Company ID (present when for_type is company)
|
|
45
|
+
*/
|
|
46
|
+
companyId?: number | null | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Facility name (present when for_type is facility)
|
|
49
|
+
*/
|
|
50
|
+
facility?: string | null | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Facility ID (present when for_type is facility)
|
|
53
|
+
*/
|
|
54
|
+
facilityId?: number | null | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
12
57
|
export type VendorCustomFields = {
|
|
58
|
+
/**
|
|
59
|
+
* The vendor field ID
|
|
60
|
+
*/
|
|
13
61
|
id?: number | undefined;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Display name of the custom field
|
|
64
|
+
*/
|
|
65
|
+
name?: string | null | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* The type of the custom field
|
|
68
|
+
*/
|
|
69
|
+
fieldType?: FieldType | null | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* The current value for this vendor
|
|
72
|
+
*/
|
|
17
73
|
value?: string | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates whether this field belongs to a company or facility
|
|
76
|
+
*/
|
|
77
|
+
fieldFor?: FieldFor | null | undefined;
|
|
18
78
|
};
|
|
19
79
|
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const FieldType$inboundSchema: z.ZodType<
|
|
82
|
+
FieldType,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
unknown
|
|
85
|
+
> = openEnums.inboundSchema(FieldType);
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const ForType$inboundSchema: z.ZodType<ForType, z.ZodTypeDef, unknown> =
|
|
89
|
+
openEnums.inboundSchema(ForType);
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const FieldFor$inboundSchema: z.ZodType<
|
|
93
|
+
FieldFor,
|
|
94
|
+
z.ZodTypeDef,
|
|
95
|
+
unknown
|
|
96
|
+
> = z.object({
|
|
97
|
+
for_type: types.optional(ForType$inboundSchema),
|
|
98
|
+
company: z.nullable(types.string()).optional(),
|
|
99
|
+
company_id: z.nullable(types.number()).optional(),
|
|
100
|
+
facility: z.nullable(types.string()).optional(),
|
|
101
|
+
facility_id: z.nullable(types.number()).optional(),
|
|
102
|
+
}).transform((v) => {
|
|
103
|
+
return remap$(v, {
|
|
104
|
+
"for_type": "forType",
|
|
105
|
+
"company_id": "companyId",
|
|
106
|
+
"facility_id": "facilityId",
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export function fieldForFromJSON(
|
|
111
|
+
jsonString: string,
|
|
112
|
+
): SafeParseResult<FieldFor, SDKValidationError> {
|
|
113
|
+
return safeParse(
|
|
114
|
+
jsonString,
|
|
115
|
+
(x) => FieldFor$inboundSchema.parse(JSON.parse(x)),
|
|
116
|
+
`Failed to parse 'FieldFor' from JSON`,
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
20
120
|
/** @internal */
|
|
21
121
|
export const VendorCustomFields$inboundSchema: z.ZodType<
|
|
22
122
|
VendorCustomFields,
|
|
@@ -24,10 +124,15 @@ export const VendorCustomFields$inboundSchema: z.ZodType<
|
|
|
24
124
|
unknown
|
|
25
125
|
> = z.object({
|
|
26
126
|
id: types.optional(types.number()),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
field: z.nullable(types.string()).optional(),
|
|
127
|
+
name: z.nullable(types.string()).optional(),
|
|
128
|
+
field_type: z.nullable(FieldType$inboundSchema).optional(),
|
|
30
129
|
value: z.nullable(types.string()).optional(),
|
|
130
|
+
field_for: z.nullable(z.lazy(() => FieldFor$inboundSchema)).optional(),
|
|
131
|
+
}).transform((v) => {
|
|
132
|
+
return remap$(v, {
|
|
133
|
+
"field_type": "fieldType",
|
|
134
|
+
"field_for": "fieldFor",
|
|
135
|
+
});
|
|
31
136
|
});
|
|
32
137
|
|
|
33
138
|
export function vendorCustomFieldsFromJSON(
|
|
@@ -29,12 +29,17 @@ export type VendorScan = {
|
|
|
29
29
|
vendor?: any | undefined;
|
|
30
30
|
zone?: any | undefined;
|
|
31
31
|
department?: Department | number | null | undefined;
|
|
32
|
+
departmentEventId?: number | null | undefined;
|
|
33
|
+
facilityEventId?: number | null | undefined;
|
|
32
34
|
scanInVendorScanId?: number | null | undefined;
|
|
33
35
|
scanOutVendorScanId?: number | null | undefined;
|
|
34
36
|
autoScanOut?: boolean | undefined;
|
|
35
37
|
finishedScreeningQuestions?: boolean | undefined;
|
|
36
38
|
requiresScreeningQuestions?: boolean | undefined;
|
|
37
39
|
recheck?: boolean | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Smart badge LED payload data. Only present when requested via the `vendor_scan.badge_data` expand scope.
|
|
42
|
+
*/
|
|
38
43
|
badgeData?: string | null | undefined;
|
|
39
44
|
};
|
|
40
45
|
|
|
@@ -73,6 +78,8 @@ export const VendorScan$inboundSchema: z.ZodType<
|
|
|
73
78
|
zone: types.optional(z.any()),
|
|
74
79
|
department: z.nullable(smartUnion([Department$inboundSchema, types.number()]))
|
|
75
80
|
.optional(),
|
|
81
|
+
department_event_id: z.nullable(types.number()).optional(),
|
|
82
|
+
facility_event_id: z.nullable(types.number()).optional(),
|
|
76
83
|
scan_in_vendor_scan_id: z.nullable(types.number()).optional(),
|
|
77
84
|
scan_out_vendor_scan_id: z.nullable(types.number()).optional(),
|
|
78
85
|
auto_scan_out: types.optional(types.boolean()),
|
|
@@ -87,6 +94,8 @@ export const VendorScan$inboundSchema: z.ZodType<
|
|
|
87
94
|
"scan_error": "scanError",
|
|
88
95
|
"scan_success": "scanSuccess",
|
|
89
96
|
"scan_type": "scanType",
|
|
97
|
+
"department_event_id": "departmentEventId",
|
|
98
|
+
"facility_event_id": "facilityEventId",
|
|
90
99
|
"scan_in_vendor_scan_id": "scanInVendorScanId",
|
|
91
100
|
"scan_out_vendor_scan_id": "scanOutVendorScanId",
|
|
92
101
|
"auto_scan_out": "autoScanOut",
|
|
@@ -19,7 +19,13 @@ export type AddVendorManagedByCompanyRequestBody = {
|
|
|
19
19
|
|
|
20
20
|
export type AddVendorManagedByCompanyRequest = {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
26
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
27
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
28
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
23
29
|
*/
|
|
24
30
|
vendorIdOrMe: string;
|
|
25
31
|
requestBody: AddVendorManagedByCompanyRequestBody;
|
|
@@ -17,7 +17,13 @@ export type CalculateSubscriptionPriceRequestBody = {
|
|
|
17
17
|
|
|
18
18
|
export type CalculateSubscriptionPriceRequest = {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
24
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
25
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
26
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
21
27
|
*/
|
|
22
28
|
vendorIdOrMe: string;
|
|
23
29
|
requestBody: CalculateSubscriptionPriceRequestBody;
|
|
@@ -17,7 +17,13 @@ export type ChangeSubscriptionRequestBody = {
|
|
|
17
17
|
|
|
18
18
|
export type ChangeSubscriptionRequest = {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
24
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
25
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
26
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
21
27
|
*/
|
|
22
28
|
vendorIdOrMe: string;
|
|
23
29
|
requestBody: ChangeSubscriptionRequestBody;
|
|
@@ -40,7 +40,13 @@ export type CreateVendorCompanyRequestBody = {
|
|
|
40
40
|
|
|
41
41
|
export type CreateVendorCompanyRequest = {
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
47
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
48
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
49
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
44
50
|
*/
|
|
45
51
|
vendorIdOrMe: string;
|
|
46
52
|
requestBody: CreateVendorCompanyRequestBody;
|
|
@@ -15,7 +15,13 @@ export type DeleteVendorManagedByCompanyRequestBody = {
|
|
|
15
15
|
|
|
16
16
|
export type DeleteVendorManagedByCompanyRequest = {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
22
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
23
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
24
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
19
25
|
*/
|
|
20
26
|
vendorIdOrMe: string;
|
|
21
27
|
requestBody: DeleteVendorManagedByCompanyRequestBody;
|
|
@@ -12,7 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
|
|
13
13
|
export type ExpediteTimeRemainingRequest = {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
19
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
20
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
21
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
16
22
|
*/
|
|
17
23
|
vendorIdOrMe: string;
|
|
18
24
|
};
|