@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
|
@@ -12,48 +12,26 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
|
|
13
13
|
export type ListVendorCustomFieldsRequest = {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* A 1-based offset for which page to request (defaults to 1)
|
|
24
|
-
*/
|
|
25
|
-
page?: number | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Number of items to show in a given page
|
|
28
|
-
*/
|
|
29
|
-
itemsPerPage?: number | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
|
|
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
|
|
32
22
|
*/
|
|
33
23
|
vendorIdOrMe: string;
|
|
34
24
|
};
|
|
35
25
|
|
|
36
26
|
/**
|
|
37
|
-
* The request was successful
|
|
27
|
+
* The request was successful.
|
|
38
28
|
*/
|
|
39
29
|
export type ListVendorCustomFieldsListVendorCustomFieldsOk = {
|
|
40
30
|
items: Array<components.VendorCustomFields>;
|
|
41
|
-
/**
|
|
42
|
-
* Pagination information for a pageable list
|
|
43
|
-
*/
|
|
44
|
-
pager: components.Pager;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type ListVendorCustomFieldsResponse = {
|
|
48
|
-
result: ListVendorCustomFieldsListVendorCustomFieldsOk;
|
|
49
31
|
};
|
|
50
32
|
|
|
51
33
|
/** @internal */
|
|
52
34
|
export type ListVendorCustomFieldsRequest$Outbound = {
|
|
53
|
-
sort?: string | null | undefined;
|
|
54
|
-
desc?: components.Desc$Outbound | undefined;
|
|
55
|
-
page?: number | undefined;
|
|
56
|
-
items_per_page?: number | undefined;
|
|
57
35
|
vendor_id_or_me: string;
|
|
58
36
|
};
|
|
59
37
|
|
|
@@ -63,14 +41,9 @@ export const ListVendorCustomFieldsRequest$outboundSchema: z.ZodType<
|
|
|
63
41
|
z.ZodTypeDef,
|
|
64
42
|
ListVendorCustomFieldsRequest
|
|
65
43
|
> = z.object({
|
|
66
|
-
sort: z.nullable(z.string()).optional(),
|
|
67
|
-
desc: components.Desc$outboundSchema.optional(),
|
|
68
|
-
page: z.number().int().optional(),
|
|
69
|
-
itemsPerPage: z.number().int().optional(),
|
|
70
44
|
vendorIdOrMe: z.string(),
|
|
71
45
|
}).transform((v) => {
|
|
72
46
|
return remap$(v, {
|
|
73
|
-
itemsPerPage: "items_per_page",
|
|
74
47
|
vendorIdOrMe: "vendor_id_or_me",
|
|
75
48
|
});
|
|
76
49
|
});
|
|
@@ -93,7 +66,6 @@ export const ListVendorCustomFieldsListVendorCustomFieldsOk$inboundSchema:
|
|
|
93
66
|
unknown
|
|
94
67
|
> = z.object({
|
|
95
68
|
items: z.array(components.VendorCustomFields$inboundSchema),
|
|
96
|
-
pager: components.Pager$inboundSchema,
|
|
97
69
|
});
|
|
98
70
|
|
|
99
71
|
export function listVendorCustomFieldsListVendorCustomFieldsOkFromJSON(
|
|
@@ -111,28 +83,3 @@ export function listVendorCustomFieldsListVendorCustomFieldsOkFromJSON(
|
|
|
111
83
|
`Failed to parse 'ListVendorCustomFieldsListVendorCustomFieldsOk' from JSON`,
|
|
112
84
|
);
|
|
113
85
|
}
|
|
114
|
-
|
|
115
|
-
/** @internal */
|
|
116
|
-
export const ListVendorCustomFieldsResponse$inboundSchema: z.ZodType<
|
|
117
|
-
ListVendorCustomFieldsResponse,
|
|
118
|
-
z.ZodTypeDef,
|
|
119
|
-
unknown
|
|
120
|
-
> = z.object({
|
|
121
|
-
Result: z.lazy(() =>
|
|
122
|
-
ListVendorCustomFieldsListVendorCustomFieldsOk$inboundSchema
|
|
123
|
-
),
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return remap$(v, {
|
|
126
|
-
"Result": "result",
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
export function listVendorCustomFieldsResponseFromJSON(
|
|
131
|
-
jsonString: string,
|
|
132
|
-
): SafeParseResult<ListVendorCustomFieldsResponse, SDKValidationError> {
|
|
133
|
-
return safeParse(
|
|
134
|
-
jsonString,
|
|
135
|
-
(x) => ListVendorCustomFieldsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
136
|
-
`Failed to parse 'ListVendorCustomFieldsResponse' from JSON`,
|
|
137
|
-
);
|
|
138
|
-
}
|
|
@@ -12,7 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
|
|
13
13
|
export type ListVendorFacilityStatusesRequest = {
|
|
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
|
/**
|
|
@@ -33,7 +33,13 @@ export type ListVendorInvoicesRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
expand?: Array<components.Expand> | undefined;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
40
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
41
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
42
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
37
43
|
*/
|
|
38
44
|
vendorIdOrMe: string;
|
|
39
45
|
/**
|
|
@@ -29,7 +29,13 @@ export type ListVendorManagedByCompaniesRequest = {
|
|
|
29
29
|
*/
|
|
30
30
|
itemsPerPage?: number | undefined;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
36
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
37
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
38
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
33
39
|
*/
|
|
34
40
|
vendorIdOrMe: string;
|
|
35
41
|
};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 55982c508708
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import * as types from "../../types/primitives.js";
|
|
12
|
+
import * as components from "../components/index.js";
|
|
13
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
17
|
+
*/
|
|
18
|
+
export const ScanType = {
|
|
19
|
+
In: "in",
|
|
20
|
+
Out: "out",
|
|
21
|
+
SpotCheck: "spot_check",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
25
|
+
*/
|
|
26
|
+
export type ScanType = ClosedEnum<typeof ScanType>;
|
|
27
|
+
|
|
28
|
+
export type ListVendorScansRequest = {
|
|
29
|
+
/**
|
|
30
|
+
* A comma-separated list of object attributes to sort on.
|
|
31
|
+
*/
|
|
32
|
+
sort?: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Sort desc
|
|
35
|
+
*/
|
|
36
|
+
desc?: components.Desc | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* A 1-based offset for which page to request (defaults to 1)
|
|
39
|
+
*/
|
|
40
|
+
page?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Number of items to show in a given page
|
|
43
|
+
*/
|
|
44
|
+
itemsPerPage?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* An ID representing a Hospital
|
|
47
|
+
*/
|
|
48
|
+
facilityId?: number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* An ID representing a Hospital System
|
|
51
|
+
*/
|
|
52
|
+
systemId?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Filter scans by company ID.
|
|
55
|
+
*/
|
|
56
|
+
companyId?: number | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Filter scans by vendor ID, or pass `me` to use the currently authenticated vendor.
|
|
59
|
+
*/
|
|
60
|
+
vendorId?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Filter by scan type. One of: `in`, `out`, `spot_check`.
|
|
63
|
+
*/
|
|
64
|
+
scanType?: ScanType | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
69
|
+
*/
|
|
70
|
+
export type ListVendorScansListVendorScansOk = {
|
|
71
|
+
/**
|
|
72
|
+
* Pagination information for a pageable list
|
|
73
|
+
*/
|
|
74
|
+
pager: components.Pager;
|
|
75
|
+
items: Array<components.VendorScan | null>;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type ListVendorScansResponse = {
|
|
79
|
+
result: ListVendorScansListVendorScansOk;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const ScanType$outboundSchema: z.ZodNativeEnum<typeof ScanType> = z
|
|
84
|
+
.nativeEnum(ScanType);
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type ListVendorScansRequest$Outbound = {
|
|
88
|
+
sort?: string | null | undefined;
|
|
89
|
+
desc?: components.Desc$Outbound | undefined;
|
|
90
|
+
page?: number | undefined;
|
|
91
|
+
items_per_page?: number | undefined;
|
|
92
|
+
facility_id?: number | undefined;
|
|
93
|
+
system_id?: number | undefined;
|
|
94
|
+
company_id?: number | undefined;
|
|
95
|
+
vendor_id?: string | undefined;
|
|
96
|
+
scan_type?: string | undefined;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const ListVendorScansRequest$outboundSchema: z.ZodType<
|
|
101
|
+
ListVendorScansRequest$Outbound,
|
|
102
|
+
z.ZodTypeDef,
|
|
103
|
+
ListVendorScansRequest
|
|
104
|
+
> = z.object({
|
|
105
|
+
sort: z.nullable(z.string()).optional(),
|
|
106
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
107
|
+
page: z.number().int().optional(),
|
|
108
|
+
itemsPerPage: z.number().int().optional(),
|
|
109
|
+
facilityId: z.number().int().optional(),
|
|
110
|
+
systemId: z.number().int().optional(),
|
|
111
|
+
companyId: z.number().int().optional(),
|
|
112
|
+
vendorId: z.string().optional(),
|
|
113
|
+
scanType: ScanType$outboundSchema.optional(),
|
|
114
|
+
}).transform((v) => {
|
|
115
|
+
return remap$(v, {
|
|
116
|
+
itemsPerPage: "items_per_page",
|
|
117
|
+
facilityId: "facility_id",
|
|
118
|
+
systemId: "system_id",
|
|
119
|
+
companyId: "company_id",
|
|
120
|
+
vendorId: "vendor_id",
|
|
121
|
+
scanType: "scan_type",
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
export function listVendorScansRequestToJSON(
|
|
126
|
+
listVendorScansRequest: ListVendorScansRequest,
|
|
127
|
+
): string {
|
|
128
|
+
return JSON.stringify(
|
|
129
|
+
ListVendorScansRequest$outboundSchema.parse(listVendorScansRequest),
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** @internal */
|
|
134
|
+
export const ListVendorScansListVendorScansOk$inboundSchema: z.ZodType<
|
|
135
|
+
ListVendorScansListVendorScansOk,
|
|
136
|
+
z.ZodTypeDef,
|
|
137
|
+
unknown
|
|
138
|
+
> = z.object({
|
|
139
|
+
pager: components.Pager$inboundSchema,
|
|
140
|
+
items: z.array(types.nullable(components.VendorScan$inboundSchema)),
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
export function listVendorScansListVendorScansOkFromJSON(
|
|
144
|
+
jsonString: string,
|
|
145
|
+
): SafeParseResult<ListVendorScansListVendorScansOk, SDKValidationError> {
|
|
146
|
+
return safeParse(
|
|
147
|
+
jsonString,
|
|
148
|
+
(x) => ListVendorScansListVendorScansOk$inboundSchema.parse(JSON.parse(x)),
|
|
149
|
+
`Failed to parse 'ListVendorScansListVendorScansOk' from JSON`,
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export const ListVendorScansResponse$inboundSchema: z.ZodType<
|
|
155
|
+
ListVendorScansResponse,
|
|
156
|
+
z.ZodTypeDef,
|
|
157
|
+
unknown
|
|
158
|
+
> = z.object({
|
|
159
|
+
Result: z.lazy(() => ListVendorScansListVendorScansOk$inboundSchema),
|
|
160
|
+
}).transform((v) => {
|
|
161
|
+
return remap$(v, {
|
|
162
|
+
"Result": "result",
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
export function listVendorScansResponseFromJSON(
|
|
167
|
+
jsonString: string,
|
|
168
|
+
): SafeParseResult<ListVendorScansResponse, SDKValidationError> {
|
|
169
|
+
return safeParse(
|
|
170
|
+
jsonString,
|
|
171
|
+
(x) => ListVendorScansResponse$inboundSchema.parse(JSON.parse(x)),
|
|
172
|
+
`Failed to parse 'ListVendorScansResponse' from JSON`,
|
|
173
|
+
);
|
|
174
|
+
}
|
|
@@ -8,7 +8,13 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
|
|
9
9
|
export type ListVendorScrubDetailsRequest = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
15
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
16
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
17
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
12
18
|
*/
|
|
13
19
|
vendorIdOrMe: string;
|
|
14
20
|
};
|
|
@@ -29,7 +29,13 @@ export type ListVendorScrubPackagesRequest = {
|
|
|
29
29
|
*/
|
|
30
30
|
itemsPerPage?: number | undefined;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
36
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
37
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
38
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
33
39
|
*/
|
|
34
40
|
vendorIdOrMe: string;
|
|
35
41
|
};
|
|
@@ -28,7 +28,13 @@ export type ListVendorScrubPurchasesRequest = {
|
|
|
28
28
|
*/
|
|
29
29
|
itemsPerPage?: number | undefined;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
35
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
36
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
37
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
32
38
|
*/
|
|
33
39
|
vendorIdOrMe: string;
|
|
34
40
|
};
|
|
@@ -17,7 +17,13 @@ export type PurchaseScrubCreditsRequestBody = {
|
|
|
17
17
|
|
|
18
18
|
export type PurchaseScrubCreditsRequest = {
|
|
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: PurchaseScrubCreditsRequestBody;
|
|
@@ -49,7 +49,13 @@ export type UpdateVendorCredentialDataRequestBody = {
|
|
|
49
49
|
|
|
50
50
|
export type UpdateVendorCredentialDataRequest = {
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
56
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
57
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
58
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
53
59
|
*/
|
|
54
60
|
vendorIdOrMe: string;
|
|
55
61
|
/**
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 061eaa96d71c
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type UpdateVendorCustomFieldRequestBody = {
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the vendor field to update
|
|
12
|
+
*/
|
|
13
|
+
vendorFieldId: number;
|
|
14
|
+
/**
|
|
15
|
+
* The new value for the field
|
|
16
|
+
*/
|
|
17
|
+
value: string | null;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type UpdateVendorCustomFieldRequest = {
|
|
21
|
+
/**
|
|
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
|
|
29
|
+
*/
|
|
30
|
+
vendorIdOrMe: string;
|
|
31
|
+
requestBody: UpdateVendorCustomFieldRequestBody;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type UpdateVendorCustomFieldRequestBody$Outbound = {
|
|
36
|
+
vendor_field_id: number;
|
|
37
|
+
value: string | null;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const UpdateVendorCustomFieldRequestBody$outboundSchema: z.ZodType<
|
|
42
|
+
UpdateVendorCustomFieldRequestBody$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
UpdateVendorCustomFieldRequestBody
|
|
45
|
+
> = z.object({
|
|
46
|
+
vendorFieldId: z.number().int(),
|
|
47
|
+
value: z.nullable(z.string()),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return remap$(v, {
|
|
50
|
+
vendorFieldId: "vendor_field_id",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function updateVendorCustomFieldRequestBodyToJSON(
|
|
55
|
+
updateVendorCustomFieldRequestBody: UpdateVendorCustomFieldRequestBody,
|
|
56
|
+
): string {
|
|
57
|
+
return JSON.stringify(
|
|
58
|
+
UpdateVendorCustomFieldRequestBody$outboundSchema.parse(
|
|
59
|
+
updateVendorCustomFieldRequestBody,
|
|
60
|
+
),
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type UpdateVendorCustomFieldRequest$Outbound = {
|
|
66
|
+
vendor_id_or_me: string;
|
|
67
|
+
RequestBody: UpdateVendorCustomFieldRequestBody$Outbound;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const UpdateVendorCustomFieldRequest$outboundSchema: z.ZodType<
|
|
72
|
+
UpdateVendorCustomFieldRequest$Outbound,
|
|
73
|
+
z.ZodTypeDef,
|
|
74
|
+
UpdateVendorCustomFieldRequest
|
|
75
|
+
> = z.object({
|
|
76
|
+
vendorIdOrMe: z.string(),
|
|
77
|
+
requestBody: z.lazy(() => UpdateVendorCustomFieldRequestBody$outboundSchema),
|
|
78
|
+
}).transform((v) => {
|
|
79
|
+
return remap$(v, {
|
|
80
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
81
|
+
requestBody: "RequestBody",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export function updateVendorCustomFieldRequestToJSON(
|
|
86
|
+
updateVendorCustomFieldRequest: UpdateVendorCustomFieldRequest,
|
|
87
|
+
): string {
|
|
88
|
+
return JSON.stringify(
|
|
89
|
+
UpdateVendorCustomFieldRequest$outboundSchema.parse(
|
|
90
|
+
updateVendorCustomFieldRequest,
|
|
91
|
+
),
|
|
92
|
+
);
|
|
93
|
+
}
|
|
@@ -55,7 +55,13 @@ export type UpdateVendorDetailsRequestBody = {
|
|
|
55
55
|
|
|
56
56
|
export type UpdateVendorDetailsRequest = {
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
62
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
63
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
64
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
59
65
|
*/
|
|
60
66
|
vendorIdOrMe: string;
|
|
61
67
|
requestBody: UpdateVendorDetailsRequestBody;
|
|
@@ -47,7 +47,13 @@ export type UpdateVendorManagedByCompanyRequestBody = {
|
|
|
47
47
|
|
|
48
48
|
export type UpdateVendorManagedByCompanyRequest = {
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
54
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
55
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
56
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
51
57
|
*/
|
|
52
58
|
vendorIdOrMe: string;
|
|
53
59
|
requestBody: UpdateVendorManagedByCompanyRequestBody;
|
|
@@ -65,7 +65,13 @@ export type UpdateVendorScrubDetailsRequestBody = {
|
|
|
65
65
|
|
|
66
66
|
export type UpdateVendorScrubDetailsRequest = {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Vendor identifier. Depending on the endpoint, accepts one or more of:
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* - A numeric vendor ID (positive integer, e.g. `42`)
|
|
72
|
+
* - The keyword `me` to represent the authenticated vendor
|
|
73
|
+
* - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
|
|
74
|
+
* supported only on endpoints that explicitly document QR-code lookup
|
|
69
75
|
*/
|
|
70
76
|
vendorIdOrMe: string;
|
|
71
77
|
requestBody: UpdateVendorScrubDetailsRequestBody;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 18f0158e5fe5
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
QueryClient,
|
|
8
|
+
QueryFunctionContext,
|
|
9
|
+
QueryKey,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GreenSecurityCore } from "../core.js";
|
|
12
|
+
import { eventsGetEvent } from "../funcs/eventsGetEvent.js";
|
|
13
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
14
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import * as operations from "../models/operations/index.js";
|
|
17
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
18
|
+
export type EventsGetEventQueryData = operations.GetEventGetEventOk;
|
|
19
|
+
|
|
20
|
+
export function prefetchEventsGetEvent(
|
|
21
|
+
queryClient: QueryClient,
|
|
22
|
+
client$: GreenSecurityCore,
|
|
23
|
+
request: operations.GetEventRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<void> {
|
|
26
|
+
return queryClient.prefetchQuery({
|
|
27
|
+
...buildEventsGetEventQuery(
|
|
28
|
+
client$,
|
|
29
|
+
request,
|
|
30
|
+
options,
|
|
31
|
+
),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function buildEventsGetEventQuery(
|
|
36
|
+
client$: GreenSecurityCore,
|
|
37
|
+
request: operations.GetEventRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): {
|
|
40
|
+
queryKey: QueryKey;
|
|
41
|
+
queryFn: (context: QueryFunctionContext) => Promise<EventsGetEventQueryData>;
|
|
42
|
+
} {
|
|
43
|
+
return {
|
|
44
|
+
queryKey: queryKeyEventsGetEvent(request.id, { expand: request.expand }),
|
|
45
|
+
queryFn: async function eventsGetEventQueryFn(
|
|
46
|
+
ctx,
|
|
47
|
+
): Promise<EventsGetEventQueryData> {
|
|
48
|
+
const sig = combineSignals(
|
|
49
|
+
ctx.signal,
|
|
50
|
+
options?.signal,
|
|
51
|
+
options?.fetchOptions?.signal,
|
|
52
|
+
);
|
|
53
|
+
const mergedOptions = {
|
|
54
|
+
...options?.fetchOptions,
|
|
55
|
+
...options,
|
|
56
|
+
signal: sig,
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
return unwrapAsync(eventsGetEvent(
|
|
60
|
+
client$,
|
|
61
|
+
request,
|
|
62
|
+
mergedOptions,
|
|
63
|
+
));
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function queryKeyEventsGetEvent(
|
|
69
|
+
id: number,
|
|
70
|
+
parameters: { expand?: Array<components.Expand> | undefined },
|
|
71
|
+
): QueryKey {
|
|
72
|
+
return [
|
|
73
|
+
"@greensecurity/javascript-sdk",
|
|
74
|
+
"events",
|
|
75
|
+
"getEvent",
|
|
76
|
+
id,
|
|
77
|
+
parameters,
|
|
78
|
+
];
|
|
79
|
+
}
|