@greensecurity/javascript-sdk 0.45.0-beta.2 → 0.45.0-beta.21
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 +16 -1
- package/dist/commonjs/__tests__/companies.test.js +17 -0
- package/dist/commonjs/__tests__/companies.test.js.map +1 -1
- package/dist/commonjs/__tests__/doAdmin.test.js +51 -0
- package/dist/commonjs/__tests__/doAdmin.test.js.map +1 -1
- package/dist/commonjs/__tests__/invoices.test.js +18 -0
- package/dist/commonjs/__tests__/invoices.test.js.map +1 -1
- package/dist/commonjs/__tests__/kiosk.test.d.ts +2 -0
- package/dist/commonjs/__tests__/kiosk.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/kiosk.test.js +123 -0
- package/dist/commonjs/__tests__/kiosk.test.js.map +1 -0
- package/dist/commonjs/__tests__/lookups.test.js +45 -0
- package/dist/commonjs/__tests__/lookups.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +29 -1
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +10 -14
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/admin-funcs/dismissCommunication.d.ts +3 -0
- package/dist/commonjs/admin-funcs/dismissCommunication.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/dismissCommunication.js +20 -0
- package/dist/commonjs/admin-funcs/dismissCommunication.js.map +1 -0
- package/dist/commonjs/admin-funcs/doAdmin.d.ts +4 -0
- package/dist/commonjs/admin-funcs/doAdmin.d.ts.map +1 -1
- package/dist/commonjs/admin-funcs/doAdmin.js +58 -0
- package/dist/commonjs/admin-funcs/doAdmin.js.map +1 -1
- package/dist/commonjs/admin-funcs/kioskCreateEvent.d.ts +3 -0
- package/dist/commonjs/admin-funcs/kioskCreateEvent.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskCreateEvent.js +11 -0
- package/dist/commonjs/admin-funcs/kioskCreateEvent.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.d.ts +7 -0
- package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.js +11 -0
- package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.d.ts +3 -0
- package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.js +11 -0
- package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskGetKioskDevice.d.ts +3 -0
- package/dist/commonjs/admin-funcs/kioskGetKioskDevice.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskGetKioskDevice.js +11 -0
- package/dist/commonjs/admin-funcs/kioskGetKioskDevice.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskHeartbeat.d.ts +8 -0
- package/dist/commonjs/admin-funcs/kioskHeartbeat.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskHeartbeat.js +11 -0
- package/dist/commonjs/admin-funcs/kioskHeartbeat.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskPing2.d.ts +4 -0
- package/dist/commonjs/admin-funcs/kioskPing2.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskPing2.js +10 -0
- package/dist/commonjs/admin-funcs/kioskPing2.js.map +1 -0
- package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.d.ts +9 -0
- package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.js +10 -0
- package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.js.map +1 -0
- package/dist/commonjs/admin-funcs/listCommunications.d.ts +3 -0
- package/dist/commonjs/admin-funcs/listCommunications.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/listCommunications.js +25 -0
- package/dist/commonjs/admin-funcs/listCommunications.js.map +1 -0
- package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts +20 -0
- package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -0
- package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js +126 -0
- package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js.map +1 -0
- package/dist/commonjs/funcs/companiesListCompanyManagers.js +1 -0
- package/dist/commonjs/funcs/companiesListCompanyManagers.js.map +1 -1
- package/dist/commonjs/funcs/invoicesConvertQuote.d.ts +33 -0
- package/dist/commonjs/funcs/invoicesConvertQuote.d.ts.map +1 -0
- package/dist/commonjs/funcs/invoicesConvertQuote.js +138 -0
- package/dist/commonjs/funcs/invoicesConvertQuote.js.map +1 -0
- package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
- package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
- package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js +121 -0
- package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js.map +1 -0
- package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts +35 -0
- package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/lookupsLookupPostalCode.js +140 -0
- package/dist/commonjs/funcs/lookupsLookupPostalCode.js.map +1 -0
- package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js +4 -2
- package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +1 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -1
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/funcs/reportsGetFullReport.d.ts +3 -3
- package/dist/commonjs/funcs/reportsGetFullReport.js +3 -3
- package/dist/commonjs/funcs/usersPostAuthenticate.d.ts +37 -0
- package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersPostAuthenticate.js +37 -0
- package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -1
- package/dist/commonjs/funcs/usersUpdateUser.d.ts +6 -0
- package/dist/commonjs/funcs/usersUpdateUser.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersUpdateUser.js +6 -0
- package/dist/commonjs/funcs/usersUpdateUser.js.map +1 -1
- package/dist/commonjs/funcs/validateWebhook.d.ts +1 -1
- package/dist/commonjs/funcs/validateWebhook.d.ts.map +1 -1
- package/dist/commonjs/funcs/validateWebhook.js +3 -0
- package/dist/commonjs/funcs/validateWebhook.js.map +1 -1
- package/dist/commonjs/funcs/vendorsCreateVendor.d.ts +4 -0
- package/dist/commonjs/funcs/vendorsCreateVendor.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsCreateVendor.js +4 -0
- package/dist/commonjs/funcs/vendorsCreateVendor.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.d.ts +18 -0
- package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.js +128 -0
- package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.js.map +1 -0
- package/dist/commonjs/funcs/vendorsSendDownloadCode.js +1 -1
- package/dist/commonjs/funcs/vendorsSendDownloadCode.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts +9 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js +9 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts +4 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.js +5 -1
- package/dist/commonjs/funcs/vendorsVendorsExport.js.map +1 -1
- package/dist/commonjs/index.extras.d.ts +22 -0
- package/dist/commonjs/index.extras.d.ts.map +1 -1
- package/dist/commonjs/index.extras.js +24 -0
- package/dist/commonjs/index.extras.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/components/alert.d.ts +3 -2
- package/dist/commonjs/models/components/alert.d.ts.map +1 -1
- package/dist/commonjs/models/components/alert.js +2 -0
- package/dist/commonjs/models/components/alert.js.map +1 -1
- package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts +91 -0
- package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/authenticatesuccessresponse.js +100 -0
- package/dist/commonjs/models/components/authenticatesuccessresponse.js.map +1 -0
- package/dist/commonjs/models/components/companymanager.d.ts +19 -1
- package/dist/commonjs/models/components/companymanager.d.ts.map +1 -1
- package/dist/commonjs/models/components/companymanager.js +13 -2
- package/dist/commonjs/models/components/companymanager.js.map +1 -1
- package/dist/commonjs/models/components/companymanagerlookup.d.ts +19 -0
- package/dist/commonjs/models/components/companymanagerlookup.d.ts.map +1 -0
- package/dist/commonjs/models/components/companymanagerlookup.js +60 -0
- package/dist/commonjs/models/components/companymanagerlookup.js.map +1 -0
- package/dist/commonjs/models/components/contact.d.ts +6 -6
- package/dist/commonjs/models/components/contact.d.ts.map +1 -1
- package/dist/commonjs/models/components/contact.js +9 -9
- package/dist/commonjs/models/components/contact.js.map +1 -1
- package/dist/commonjs/models/components/expand.d.ts +3 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +3 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/fullreport.d.ts +107 -0
- package/dist/commonjs/models/components/fullreport.d.ts.map +1 -0
- package/dist/commonjs/models/components/fullreport.js +125 -0
- package/dist/commonjs/models/components/fullreport.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +6 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +6 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invoice.d.ts +30 -6
- package/dist/commonjs/models/components/invoice.d.ts.map +1 -1
- package/dist/commonjs/models/components/invoice.js +39 -1
- package/dist/commonjs/models/components/invoice.js.map +1 -1
- package/dist/commonjs/models/components/loginemailandpassword.d.ts +34 -0
- package/dist/commonjs/models/components/loginemailandpassword.d.ts.map +1 -1
- package/dist/commonjs/models/components/loginemailandpassword.js +2 -0
- package/dist/commonjs/models/components/loginemailandpassword.js.map +1 -1
- package/dist/commonjs/models/components/loginrequirementsfromemail.d.ts +34 -0
- package/dist/commonjs/models/components/loginrequirementsfromemail.d.ts.map +1 -1
- package/dist/commonjs/models/components/loginrequirementsfromemail.js +2 -0
- package/dist/commonjs/models/components/loginrequirementsfromemail.js.map +1 -1
- package/dist/commonjs/models/components/mfarequiredresponse.d.ts +33 -0
- package/dist/commonjs/models/components/mfarequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/mfarequiredresponse.js +2 -0
- package/dist/commonjs/models/components/mfarequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/passwordnotsetresponse.d.ts +34 -1
- package/dist/commonjs/models/components/passwordnotsetresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/passwordnotsetresponse.js +2 -0
- package/dist/commonjs/models/components/passwordnotsetresponse.js.map +1 -1
- package/dist/commonjs/models/components/passwordrequiredresponse.d.ts +33 -0
- package/dist/commonjs/models/components/passwordrequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/passwordrequiredresponse.js +6 -0
- package/dist/commonjs/models/components/passwordrequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts +33 -0
- package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/samlloginrequiredresponse.js +2 -0
- package/dist/commonjs/models/components/samlloginrequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/ssocontinuation.d.ts +44 -0
- package/dist/commonjs/models/components/ssocontinuation.d.ts.map +1 -0
- package/dist/commonjs/models/components/ssocontinuation.js +56 -0
- package/dist/commonjs/models/components/ssocontinuation.js.map +1 -0
- package/dist/commonjs/models/components/system.d.ts +18 -0
- package/dist/commonjs/models/components/system.d.ts.map +1 -0
- package/dist/commonjs/models/components/system.js +54 -0
- package/dist/commonjs/models/components/system.js.map +1 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +10 -2
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +11 -3
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/commonjs/models/components/vendortargetfacility.d.ts +4 -0
- package/dist/commonjs/models/components/vendortargetfacility.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendortargetfacility.js +2 -0
- package/dist/commonjs/models/components/vendortargetfacility.js.map +1 -1
- package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.d.ts +34 -0
- package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.js +64 -0
- package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.js.map +1 -0
- package/dist/commonjs/models/components/webhooksubscription.d.ts +3 -0
- package/dist/commonjs/models/components/webhooksubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhooksubscription.js +3 -0
- package/dist/commonjs/models/components/webhooksubscription.js.map +1 -1
- package/dist/commonjs/models/components/webhooksubscriptiondetail.d.ts +1 -0
- package/dist/commonjs/models/components/webhooksubscriptiondetail.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhooksubscriptiondetail.js +1 -0
- package/dist/commonjs/models/components/webhooksubscriptiondetail.js.map +1 -1
- package/dist/commonjs/models/operations/convertquote.d.ts +46 -0
- package/dist/commonjs/models/operations/convertquote.d.ts.map +1 -0
- package/dist/commonjs/models/operations/convertquote.js +69 -0
- package/dist/commonjs/models/operations/convertquote.js.map +1 -0
- package/dist/commonjs/models/operations/createinvoice.d.ts +110 -0
- package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createinvoice.js +61 -1
- package/dist/commonjs/models/operations/createinvoice.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/exportcompanytargetfacilities.d.ts +5 -0
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.js +2 -0
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorscreeningquestions.d.ts +46 -0
- package/dist/commonjs/models/operations/getvendorscreeningquestions.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorscreeningquestions.js +74 -0
- package/dist/commonjs/models/operations/getvendorscreeningquestions.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/listcompanymanagercontacts.d.ts +27 -0
- package/dist/commonjs/models/operations/listcompanymanagercontacts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listcompanymanagercontacts.js +65 -0
- package/dist/commonjs/models/operations/listcompanymanagercontacts.js.map +1 -0
- package/dist/commonjs/models/operations/listcompanymanagers.d.ts +20 -0
- package/dist/commonjs/models/operations/listcompanymanagers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcompanymanagers.js +12 -1
- package/dist/commonjs/models/operations/listcompanymanagers.js.map +1 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +5 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js +2 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -1
- package/dist/commonjs/models/operations/listlookupsystems.d.ts +4 -4
- package/dist/commonjs/models/operations/listlookupsystems.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listlookupsystems.js +4 -4
- package/dist/commonjs/models/operations/listlookupsystems.js.map +1 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.d.ts +17 -0
- package/dist/commonjs/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.js +10 -1
- package/dist/commonjs/models/operations/listorsearchfacilities.js.map +1 -1
- package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts +27 -0
- package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/lookupcompanymanagers.js +64 -0
- package/dist/commonjs/models/operations/lookupcompanymanagers.js.map +1 -0
- package/dist/commonjs/models/operations/lookuppostalcode.d.ts +59 -0
- package/dist/commonjs/models/operations/lookuppostalcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/lookuppostalcode.js +81 -0
- package/dist/commonjs/models/operations/lookuppostalcode.js.map +1 -0
- package/dist/commonjs/models/operations/postauthenticate.d.ts +1 -1
- package/dist/commonjs/models/operations/postauthenticate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/postauthenticate.js +1 -1
- package/dist/commonjs/models/operations/postauthenticate.js.map +1 -1
- package/dist/commonjs/models/operations/vendorsexport.d.ts +6 -1
- package/dist/commonjs/models/operations/vendorsexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/vendorsexport.js +2 -0
- package/dist/commonjs/models/operations/vendorsexport.js.map +1 -1
- package/dist/commonjs/models/webhooks/index.d.ts +3 -0
- package/dist/commonjs/models/webhooks/index.d.ts.map +1 -1
- package/dist/commonjs/models/webhooks/index.js +3 -0
- package/dist/commonjs/models/webhooks/index.js.map +1 -1
- package/dist/commonjs/models/webhooks/sendfullreportcreated.d.ts +42 -0
- package/dist/commonjs/models/webhooks/sendfullreportcreated.d.ts.map +1 -0
- package/dist/commonjs/models/webhooks/sendfullreportcreated.js +85 -0
- package/dist/commonjs/models/webhooks/sendfullreportcreated.js.map +1 -0
- package/dist/commonjs/models/webhooks/sendfullreportdestroyed.d.ts +42 -0
- package/dist/commonjs/models/webhooks/sendfullreportdestroyed.d.ts.map +1 -0
- package/dist/commonjs/models/webhooks/sendfullreportdestroyed.js +85 -0
- package/dist/commonjs/models/webhooks/sendfullreportdestroyed.js.map +1 -0
- package/dist/commonjs/models/webhooks/sendfullreportupdated.d.ts +42 -0
- package/dist/commonjs/models/webhooks/sendfullreportupdated.d.ts.map +1 -0
- package/dist/commonjs/models/webhooks/sendfullreportupdated.js +85 -0
- package/dist/commonjs/models/webhooks/sendfullreportupdated.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.d.ts +12 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.js +39 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts +33 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js +73 -0
- package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js.map +1 -0
- package/dist/commonjs/react-query/companiesListCompanyManagers.core.d.ts +2 -0
- package/dist/commonjs/react-query/companiesListCompanyManagers.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/companiesListCompanyManagers.core.js +2 -0
- package/dist/commonjs/react-query/companiesListCompanyManagers.core.js.map +1 -1
- package/dist/commonjs/react-query/companiesListCompanyManagers.d.ts +2 -0
- package/dist/commonjs/react-query/companiesListCompanyManagers.d.ts.map +1 -1
- package/dist/commonjs/react-query/companiesListCompanyManagers.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +5 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +5 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/invoicesConvertQuote.d.ts +42 -0
- package/dist/commonjs/react-query/invoicesConvertQuote.d.ts.map +1 -0
- package/dist/commonjs/react-query/invoicesConvertQuote.js +60 -0
- package/dist/commonjs/react-query/invoicesConvertQuote.js.map +1 -0
- package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts +1 -1
- package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts +2 -2
- package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts.map +1 -1
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js +41 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js +69 -0
- package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts +16 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js +43 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts +71 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts.map +1 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.js +95 -0
- package/dist/commonjs/react-query/lookupsLookupPostalCode.js.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +2 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/react-query/reportsGetFullReport.d.ts +6 -6
- package/dist/commonjs/react-query/reportsGetFullReport.js +6 -6
- package/dist/commonjs/react-query/usersPostAuthenticate.d.ts +37 -0
- package/dist/commonjs/react-query/usersPostAuthenticate.d.ts.map +1 -1
- package/dist/commonjs/react-query/usersPostAuthenticate.js +37 -0
- package/dist/commonjs/react-query/usersPostAuthenticate.js.map +1 -1
- package/dist/commonjs/react-query/usersUpdateUser.d.ts +6 -0
- package/dist/commonjs/react-query/usersUpdateUser.d.ts.map +1 -1
- package/dist/commonjs/react-query/usersUpdateUser.js +6 -0
- package/dist/commonjs/react-query/usersUpdateUser.js.map +1 -1
- package/dist/commonjs/react-query/vendorsCreateVendor.d.ts +4 -0
- package/dist/commonjs/react-query/vendorsCreateVendor.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsCreateVendor.js +4 -0
- package/dist/commonjs/react-query/vendorsCreateVendor.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.d.ts +14 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.js +42 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.js.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.d.ts +36 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.js +69 -0
- package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.js.map +1 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts +9 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js +9 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.core.js +1 -0
- package/dist/commonjs/react-query/vendorsVendorsExport.core.js.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts +10 -2
- package/dist/commonjs/react-query/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsVendorsExport.js +8 -2
- package/dist/commonjs/react-query/vendorsVendorsExport.js.map +1 -1
- package/dist/commonjs/sdk/companies.d.ts +9 -0
- package/dist/commonjs/sdk/companies.d.ts.map +1 -1
- package/dist/commonjs/sdk/companies.js +12 -0
- package/dist/commonjs/sdk/companies.js.map +1 -1
- package/dist/commonjs/sdk/invoices.d.ts +20 -0
- package/dist/commonjs/sdk/invoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/invoices.js +23 -0
- package/dist/commonjs/sdk/invoices.js.map +1 -1
- package/dist/commonjs/sdk/lookups.d.ts +29 -0
- package/dist/commonjs/sdk/lookups.d.ts.map +1 -1
- package/dist/commonjs/sdk/lookups.js +35 -0
- package/dist/commonjs/sdk/lookups.js.map +1 -1
- package/dist/commonjs/sdk/reports.d.ts +3 -3
- package/dist/commonjs/sdk/reports.js +3 -3
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/users.d.ts +43 -0
- package/dist/commonjs/sdk/users.d.ts.map +1 -1
- package/dist/commonjs/sdk/users.js +43 -0
- package/dist/commonjs/sdk/users.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +26 -2
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +29 -2
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/companies.test.js +17 -0
- package/dist/esm/__tests__/companies.test.js.map +1 -1
- package/dist/esm/__tests__/doAdmin.test.js +53 -2
- package/dist/esm/__tests__/doAdmin.test.js.map +1 -1
- package/dist/esm/__tests__/invoices.test.js +18 -0
- package/dist/esm/__tests__/invoices.test.js.map +1 -1
- package/dist/esm/__tests__/kiosk.test.d.ts +2 -0
- package/dist/esm/__tests__/kiosk.test.d.ts.map +1 -0
- package/dist/esm/__tests__/kiosk.test.js +121 -0
- package/dist/esm/__tests__/kiosk.test.js.map +1 -0
- package/dist/esm/__tests__/lookups.test.js +45 -0
- package/dist/esm/__tests__/lookups.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +29 -1
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +10 -14
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/admin-funcs/dismissCommunication.d.ts +3 -0
- package/dist/esm/admin-funcs/dismissCommunication.d.ts.map +1 -0
- package/dist/esm/admin-funcs/dismissCommunication.js +17 -0
- package/dist/esm/admin-funcs/dismissCommunication.js.map +1 -0
- package/dist/esm/admin-funcs/doAdmin.d.ts +4 -0
- package/dist/esm/admin-funcs/doAdmin.d.ts.map +1 -1
- package/dist/esm/admin-funcs/doAdmin.js +57 -0
- package/dist/esm/admin-funcs/doAdmin.js.map +1 -1
- package/dist/esm/admin-funcs/kioskCreateEvent.d.ts +3 -0
- package/dist/esm/admin-funcs/kioskCreateEvent.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskCreateEvent.js +8 -0
- package/dist/esm/admin-funcs/kioskCreateEvent.js.map +1 -0
- package/dist/esm/admin-funcs/kioskCreateKioskDevice.d.ts +7 -0
- package/dist/esm/admin-funcs/kioskCreateKioskDevice.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskCreateKioskDevice.js +8 -0
- package/dist/esm/admin-funcs/kioskCreateKioskDevice.js.map +1 -0
- package/dist/esm/admin-funcs/kioskCreateZoneDevice.d.ts +3 -0
- package/dist/esm/admin-funcs/kioskCreateZoneDevice.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskCreateZoneDevice.js +8 -0
- package/dist/esm/admin-funcs/kioskCreateZoneDevice.js.map +1 -0
- package/dist/esm/admin-funcs/kioskGetKioskDevice.d.ts +3 -0
- package/dist/esm/admin-funcs/kioskGetKioskDevice.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskGetKioskDevice.js +8 -0
- package/dist/esm/admin-funcs/kioskGetKioskDevice.js.map +1 -0
- package/dist/esm/admin-funcs/kioskHeartbeat.d.ts +8 -0
- package/dist/esm/admin-funcs/kioskHeartbeat.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskHeartbeat.js +8 -0
- package/dist/esm/admin-funcs/kioskHeartbeat.js.map +1 -0
- package/dist/esm/admin-funcs/kioskPing2.d.ts +4 -0
- package/dist/esm/admin-funcs/kioskPing2.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskPing2.js +7 -0
- package/dist/esm/admin-funcs/kioskPing2.js.map +1 -0
- package/dist/esm/admin-funcs/kioskUpdateKioskDevice.d.ts +9 -0
- package/dist/esm/admin-funcs/kioskUpdateKioskDevice.d.ts.map +1 -0
- package/dist/esm/admin-funcs/kioskUpdateKioskDevice.js +7 -0
- package/dist/esm/admin-funcs/kioskUpdateKioskDevice.js.map +1 -0
- package/dist/esm/admin-funcs/listCommunications.d.ts +3 -0
- package/dist/esm/admin-funcs/listCommunications.d.ts.map +1 -0
- package/dist/esm/admin-funcs/listCommunications.js +22 -0
- package/dist/esm/admin-funcs/listCommunications.js.map +1 -0
- package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts +20 -0
- package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -0
- package/dist/esm/funcs/companiesListCompanyManagerContacts.js +90 -0
- package/dist/esm/funcs/companiesListCompanyManagerContacts.js.map +1 -0
- package/dist/esm/funcs/companiesListCompanyManagers.js +1 -0
- package/dist/esm/funcs/companiesListCompanyManagers.js.map +1 -1
- package/dist/esm/funcs/invoicesConvertQuote.d.ts +33 -0
- package/dist/esm/funcs/invoicesConvertQuote.d.ts.map +1 -0
- package/dist/esm/funcs/invoicesConvertQuote.js +102 -0
- package/dist/esm/funcs/invoicesConvertQuote.js.map +1 -0
- package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
- package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
- package/dist/esm/funcs/lookupsLookupCompanyManagers.js +85 -0
- package/dist/esm/funcs/lookupsLookupCompanyManagers.js.map +1 -0
- package/dist/esm/funcs/lookupsLookupPostalCode.d.ts +35 -0
- package/dist/esm/funcs/lookupsLookupPostalCode.d.ts.map +1 -0
- package/dist/esm/funcs/lookupsLookupPostalCode.js +104 -0
- package/dist/esm/funcs/lookupsLookupPostalCode.js.map +1 -0
- package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js +5 -3
- package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +1 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -1
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/funcs/reportsGetFullReport.d.ts +3 -3
- package/dist/esm/funcs/reportsGetFullReport.js +3 -3
- package/dist/esm/funcs/usersPostAuthenticate.d.ts +37 -0
- package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -1
- package/dist/esm/funcs/usersPostAuthenticate.js +37 -0
- package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -1
- package/dist/esm/funcs/usersUpdateUser.d.ts +6 -0
- package/dist/esm/funcs/usersUpdateUser.d.ts.map +1 -1
- package/dist/esm/funcs/usersUpdateUser.js +6 -0
- package/dist/esm/funcs/usersUpdateUser.js.map +1 -1
- package/dist/esm/funcs/validateWebhook.d.ts +1 -1
- package/dist/esm/funcs/validateWebhook.d.ts.map +1 -1
- package/dist/esm/funcs/validateWebhook.js +3 -0
- package/dist/esm/funcs/validateWebhook.js.map +1 -1
- package/dist/esm/funcs/vendorsCreateVendor.d.ts +4 -0
- package/dist/esm/funcs/vendorsCreateVendor.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsCreateVendor.js +4 -0
- package/dist/esm/funcs/vendorsCreateVendor.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +1 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.d.ts +18 -0
- package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.js +92 -0
- package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.js.map +1 -0
- package/dist/esm/funcs/vendorsSendDownloadCode.js +1 -1
- package/dist/esm/funcs/vendorsSendDownloadCode.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts +9 -1
- package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorDetails.js +9 -1
- package/dist/esm/funcs/vendorsUpdateVendorDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsVendorsExport.d.ts +4 -1
- package/dist/esm/funcs/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsVendorsExport.js +5 -1
- package/dist/esm/funcs/vendorsVendorsExport.js.map +1 -1
- package/dist/esm/index.extras.d.ts +22 -0
- package/dist/esm/index.extras.d.ts.map +1 -1
- package/dist/esm/index.extras.js +24 -0
- package/dist/esm/index.extras.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/components/alert.d.ts +3 -2
- package/dist/esm/models/components/alert.d.ts.map +1 -1
- package/dist/esm/models/components/alert.js +2 -0
- package/dist/esm/models/components/alert.js.map +1 -1
- package/dist/esm/models/components/authenticatesuccessresponse.d.ts +91 -0
- package/dist/esm/models/components/authenticatesuccessresponse.d.ts.map +1 -0
- package/dist/esm/models/components/authenticatesuccessresponse.js +61 -0
- package/dist/esm/models/components/authenticatesuccessresponse.js.map +1 -0
- package/dist/esm/models/components/companymanager.d.ts +19 -1
- package/dist/esm/models/components/companymanager.d.ts.map +1 -1
- package/dist/esm/models/components/companymanager.js +12 -1
- package/dist/esm/models/components/companymanager.js.map +1 -1
- package/dist/esm/models/components/companymanagerlookup.d.ts +19 -0
- package/dist/esm/models/components/companymanagerlookup.d.ts.map +1 -0
- package/dist/esm/models/components/companymanagerlookup.js +23 -0
- package/dist/esm/models/components/companymanagerlookup.js.map +1 -0
- package/dist/esm/models/components/contact.d.ts +6 -6
- package/dist/esm/models/components/contact.d.ts.map +1 -1
- package/dist/esm/models/components/contact.js +6 -6
- package/dist/esm/models/components/contact.js.map +1 -1
- package/dist/esm/models/components/expand.d.ts +3 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +3 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/fullreport.d.ts +107 -0
- package/dist/esm/models/components/fullreport.d.ts.map +1 -0
- package/dist/esm/models/components/fullreport.js +87 -0
- package/dist/esm/models/components/fullreport.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +6 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +6 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invoice.d.ts +30 -6
- package/dist/esm/models/components/invoice.d.ts.map +1 -1
- package/dist/esm/models/components/invoice.js +36 -0
- package/dist/esm/models/components/invoice.js.map +1 -1
- package/dist/esm/models/components/loginemailandpassword.d.ts +34 -0
- package/dist/esm/models/components/loginemailandpassword.d.ts.map +1 -1
- package/dist/esm/models/components/loginemailandpassword.js +2 -0
- package/dist/esm/models/components/loginemailandpassword.js.map +1 -1
- package/dist/esm/models/components/loginrequirementsfromemail.d.ts +34 -0
- package/dist/esm/models/components/loginrequirementsfromemail.d.ts.map +1 -1
- package/dist/esm/models/components/loginrequirementsfromemail.js +2 -0
- package/dist/esm/models/components/loginrequirementsfromemail.js.map +1 -1
- package/dist/esm/models/components/mfarequiredresponse.d.ts +33 -0
- package/dist/esm/models/components/mfarequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/mfarequiredresponse.js +2 -0
- package/dist/esm/models/components/mfarequiredresponse.js.map +1 -1
- package/dist/esm/models/components/passwordnotsetresponse.d.ts +34 -1
- package/dist/esm/models/components/passwordnotsetresponse.d.ts.map +1 -1
- package/dist/esm/models/components/passwordnotsetresponse.js +2 -0
- package/dist/esm/models/components/passwordnotsetresponse.js.map +1 -1
- package/dist/esm/models/components/passwordrequiredresponse.d.ts +33 -0
- package/dist/esm/models/components/passwordrequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/passwordrequiredresponse.js +6 -0
- package/dist/esm/models/components/passwordrequiredresponse.js.map +1 -1
- package/dist/esm/models/components/samlloginrequiredresponse.d.ts +33 -0
- package/dist/esm/models/components/samlloginrequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/samlloginrequiredresponse.js +2 -0
- package/dist/esm/models/components/samlloginrequiredresponse.js.map +1 -1
- package/dist/esm/models/components/ssocontinuation.d.ts +44 -0
- package/dist/esm/models/components/ssocontinuation.d.ts.map +1 -0
- package/dist/esm/models/components/ssocontinuation.js +19 -0
- package/dist/esm/models/components/ssocontinuation.js.map +1 -0
- package/dist/esm/models/components/system.d.ts +18 -0
- package/dist/esm/models/components/system.d.ts.map +1 -0
- package/dist/esm/models/components/system.js +17 -0
- package/dist/esm/models/components/system.js.map +1 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +10 -2
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +9 -2
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/models/components/vendortargetfacility.d.ts +4 -0
- package/dist/esm/models/components/vendortargetfacility.d.ts.map +1 -1
- package/dist/esm/models/components/vendortargetfacility.js +2 -0
- package/dist/esm/models/components/vendortargetfacility.js.map +1 -1
- package/dist/esm/models/components/vendortargetfacilityscreeningresponse.d.ts +34 -0
- package/dist/esm/models/components/vendortargetfacilityscreeningresponse.d.ts.map +1 -0
- package/dist/esm/models/components/vendortargetfacilityscreeningresponse.js +27 -0
- package/dist/esm/models/components/vendortargetfacilityscreeningresponse.js.map +1 -0
- package/dist/esm/models/components/webhooksubscription.d.ts +3 -0
- package/dist/esm/models/components/webhooksubscription.d.ts.map +1 -1
- package/dist/esm/models/components/webhooksubscription.js +3 -0
- package/dist/esm/models/components/webhooksubscription.js.map +1 -1
- package/dist/esm/models/components/webhooksubscriptiondetail.d.ts +1 -0
- package/dist/esm/models/components/webhooksubscriptiondetail.d.ts.map +1 -1
- package/dist/esm/models/components/webhooksubscriptiondetail.js +1 -0
- package/dist/esm/models/components/webhooksubscriptiondetail.js.map +1 -1
- package/dist/esm/models/operations/convertquote.d.ts +46 -0
- package/dist/esm/models/operations/convertquote.d.ts.map +1 -0
- package/dist/esm/models/operations/convertquote.js +31 -0
- package/dist/esm/models/operations/convertquote.js.map +1 -0
- package/dist/esm/models/operations/createinvoice.d.ts +110 -0
- package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/createinvoice.js +60 -0
- package/dist/esm/models/operations/createinvoice.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/exportcompanytargetfacilities.d.ts +5 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
- package/dist/esm/models/operations/exportcompanytargetfacilities.js +2 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -1
- package/dist/esm/models/operations/getvendorscreeningquestions.d.ts +46 -0
- package/dist/esm/models/operations/getvendorscreeningquestions.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorscreeningquestions.js +36 -0
- package/dist/esm/models/operations/getvendorscreeningquestions.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/listcompanymanagercontacts.d.ts +27 -0
- package/dist/esm/models/operations/listcompanymanagercontacts.d.ts.map +1 -0
- package/dist/esm/models/operations/listcompanymanagercontacts.js +27 -0
- package/dist/esm/models/operations/listcompanymanagercontacts.js.map +1 -0
- package/dist/esm/models/operations/listcompanymanagers.d.ts +20 -0
- package/dist/esm/models/operations/listcompanymanagers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcompanymanagers.js +11 -0
- package/dist/esm/models/operations/listcompanymanagers.js.map +1 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +5 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.js +2 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -1
- package/dist/esm/models/operations/listlookupsystems.d.ts +4 -4
- package/dist/esm/models/operations/listlookupsystems.d.ts.map +1 -1
- package/dist/esm/models/operations/listlookupsystems.js +3 -3
- package/dist/esm/models/operations/listlookupsystems.js.map +1 -1
- package/dist/esm/models/operations/listorsearchfacilities.d.ts +17 -0
- package/dist/esm/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/dist/esm/models/operations/listorsearchfacilities.js +9 -0
- package/dist/esm/models/operations/listorsearchfacilities.js.map +1 -1
- package/dist/esm/models/operations/lookupcompanymanagers.d.ts +27 -0
- package/dist/esm/models/operations/lookupcompanymanagers.d.ts.map +1 -0
- package/dist/esm/models/operations/lookupcompanymanagers.js +26 -0
- package/dist/esm/models/operations/lookupcompanymanagers.js.map +1 -0
- package/dist/esm/models/operations/lookuppostalcode.d.ts +59 -0
- package/dist/esm/models/operations/lookuppostalcode.d.ts.map +1 -0
- package/dist/esm/models/operations/lookuppostalcode.js +43 -0
- package/dist/esm/models/operations/lookuppostalcode.js.map +1 -0
- package/dist/esm/models/operations/postauthenticate.d.ts +1 -1
- package/dist/esm/models/operations/postauthenticate.d.ts.map +1 -1
- package/dist/esm/models/operations/postauthenticate.js +1 -1
- package/dist/esm/models/operations/postauthenticate.js.map +1 -1
- package/dist/esm/models/operations/vendorsexport.d.ts +6 -1
- package/dist/esm/models/operations/vendorsexport.d.ts.map +1 -1
- package/dist/esm/models/operations/vendorsexport.js +2 -0
- package/dist/esm/models/operations/vendorsexport.js.map +1 -1
- package/dist/esm/models/webhooks/index.d.ts +3 -0
- package/dist/esm/models/webhooks/index.d.ts.map +1 -1
- package/dist/esm/models/webhooks/index.js +3 -0
- package/dist/esm/models/webhooks/index.js.map +1 -1
- package/dist/esm/models/webhooks/sendfullreportcreated.d.ts +42 -0
- package/dist/esm/models/webhooks/sendfullreportcreated.d.ts.map +1 -0
- package/dist/esm/models/webhooks/sendfullreportcreated.js +47 -0
- package/dist/esm/models/webhooks/sendfullreportcreated.js.map +1 -0
- package/dist/esm/models/webhooks/sendfullreportdestroyed.d.ts +42 -0
- package/dist/esm/models/webhooks/sendfullreportdestroyed.d.ts.map +1 -0
- package/dist/esm/models/webhooks/sendfullreportdestroyed.js +47 -0
- package/dist/esm/models/webhooks/sendfullreportdestroyed.js.map +1 -0
- package/dist/esm/models/webhooks/sendfullreportupdated.d.ts +42 -0
- package/dist/esm/models/webhooks/sendfullreportupdated.d.ts.map +1 -0
- package/dist/esm/models/webhooks/sendfullreportupdated.js +47 -0
- package/dist/esm/models/webhooks/sendfullreportupdated.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.core.d.ts +12 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.core.d.ts.map +1 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.core.js +34 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.core.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts +33 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.js +63 -0
- package/dist/esm/react-query/companiesListCompanyManagerContacts.js.map +1 -0
- package/dist/esm/react-query/companiesListCompanyManagers.core.d.ts +2 -0
- package/dist/esm/react-query/companiesListCompanyManagers.core.d.ts.map +1 -1
- package/dist/esm/react-query/companiesListCompanyManagers.core.js +2 -0
- package/dist/esm/react-query/companiesListCompanyManagers.core.js.map +1 -1
- package/dist/esm/react-query/companiesListCompanyManagers.d.ts +2 -0
- package/dist/esm/react-query/companiesListCompanyManagers.d.ts.map +1 -1
- package/dist/esm/react-query/companiesListCompanyManagers.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +5 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +5 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/invoicesConvertQuote.d.ts +42 -0
- package/dist/esm/react-query/invoicesConvertQuote.d.ts.map +1 -0
- package/dist/esm/react-query/invoicesConvertQuote.js +55 -0
- package/dist/esm/react-query/invoicesConvertQuote.js.map +1 -0
- package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts +1 -1
- package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
- package/dist/esm/react-query/lookupsListLookupSystems.d.ts +2 -2
- package/dist/esm/react-query/lookupsListLookupSystems.d.ts.map +1 -1
- package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js +36 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.js +59 -0
- package/dist/esm/react-query/lookupsLookupCompanyManagers.js.map +1 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts +16 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts.map +1 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.core.js +38 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.core.js.map +1 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.d.ts +71 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.d.ts.map +1 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.js +85 -0
- package/dist/esm/react-query/lookupsLookupPostalCode.js.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +2 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +2 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +2 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +2 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/react-query/reportsGetFullReport.d.ts +6 -6
- package/dist/esm/react-query/reportsGetFullReport.js +6 -6
- package/dist/esm/react-query/usersPostAuthenticate.d.ts +37 -0
- package/dist/esm/react-query/usersPostAuthenticate.d.ts.map +1 -1
- package/dist/esm/react-query/usersPostAuthenticate.js +37 -0
- package/dist/esm/react-query/usersPostAuthenticate.js.map +1 -1
- package/dist/esm/react-query/usersUpdateUser.d.ts +6 -0
- package/dist/esm/react-query/usersUpdateUser.d.ts.map +1 -1
- package/dist/esm/react-query/usersUpdateUser.js +6 -0
- package/dist/esm/react-query/usersUpdateUser.js.map +1 -1
- package/dist/esm/react-query/vendorsCreateVendor.d.ts +4 -0
- package/dist/esm/react-query/vendorsCreateVendor.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsCreateVendor.js +4 -0
- package/dist/esm/react-query/vendorsCreateVendor.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +2 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +2 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.d.ts +14 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.js +37 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.js.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.d.ts +36 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.js +59 -0
- package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.js.map +1 -0
- package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts +9 -1
- package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorDetails.js +9 -1
- package/dist/esm/react-query/vendorsUpdateVendorDetails.js.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.core.js +1 -0
- package/dist/esm/react-query/vendorsVendorsExport.core.js.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.d.ts +10 -2
- package/dist/esm/react-query/vendorsVendorsExport.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsVendorsExport.js +8 -2
- package/dist/esm/react-query/vendorsVendorsExport.js.map +1 -1
- package/dist/esm/sdk/companies.d.ts +9 -0
- package/dist/esm/sdk/companies.d.ts.map +1 -1
- package/dist/esm/sdk/companies.js +12 -0
- package/dist/esm/sdk/companies.js.map +1 -1
- package/dist/esm/sdk/invoices.d.ts +20 -0
- package/dist/esm/sdk/invoices.d.ts.map +1 -1
- package/dist/esm/sdk/invoices.js +23 -0
- package/dist/esm/sdk/invoices.js.map +1 -1
- package/dist/esm/sdk/lookups.d.ts +29 -0
- package/dist/esm/sdk/lookups.d.ts.map +1 -1
- package/dist/esm/sdk/lookups.js +35 -0
- package/dist/esm/sdk/lookups.js.map +1 -1
- package/dist/esm/sdk/reports.d.ts +3 -3
- package/dist/esm/sdk/reports.js +3 -3
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/users.d.ts +43 -0
- package/dist/esm/sdk/users.d.ts.map +1 -1
- package/dist/esm/sdk/users.js +43 -0
- package/dist/esm/sdk/users.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +26 -2
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +29 -2
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/companies.test.ts +20 -0
- package/src/__tests__/doAdmin.test.ts +74 -1
- package/src/__tests__/invoices.test.ts +21 -0
- package/src/__tests__/kiosk.test.ts +163 -0
- package/src/__tests__/lookups.test.ts +51 -0
- package/src/__tests__/vendors.test.ts +32 -1
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +10 -14
- package/src/admin-funcs/dismissCommunication.ts +20 -0
- package/src/admin-funcs/doAdmin.ts +107 -0
- package/src/admin-funcs/kioskCreateEvent.ts +18 -0
- package/src/admin-funcs/kioskCreateKioskDevice.ts +17 -0
- package/src/admin-funcs/kioskCreateZoneDevice.ts +17 -0
- package/src/admin-funcs/kioskGetKioskDevice.ts +16 -0
- package/src/admin-funcs/kioskHeartbeat.ts +23 -0
- package/src/admin-funcs/kioskPing2.ts +10 -0
- package/src/admin-funcs/kioskUpdateKioskDevice.ts +23 -0
- package/src/admin-funcs/listCommunications.ts +29 -0
- package/src/funcs/companiesListCompanyManagerContacts.ts +184 -0
- package/src/funcs/companiesListCompanyManagers.ts +1 -0
- package/src/funcs/invoicesConvertQuote.ts +190 -0
- package/src/funcs/lookupsLookupCompanyManagers.ts +178 -0
- package/src/funcs/lookupsLookupPostalCode.ts +193 -0
- package/src/funcs/organizationsExportCompanyTargetFacilities.ts +20 -15
- package/src/funcs/organizationsListCompanyTargetFacilities.ts +1 -0
- package/src/funcs/organizationsListOrSearchFacilities.ts +1 -0
- package/src/funcs/reportsGetFullReport.ts +3 -3
- package/src/funcs/usersPostAuthenticate.ts +37 -0
- package/src/funcs/usersUpdateUser.ts +6 -0
- package/src/funcs/validateWebhook.ts +6 -0
- package/src/funcs/vendorsCreateVendor.ts +4 -0
- package/src/funcs/vendorsGetVendorCredentialDetails.ts +1 -0
- package/src/funcs/vendorsGetVendorInvoiceDetails.ts +1 -0
- package/src/funcs/vendorsGetVendorScreeningQuestions.ts +187 -0
- package/src/funcs/vendorsSendDownloadCode.ts +1 -0
- package/src/funcs/vendorsUpdateVendorDetails.ts +9 -1
- package/src/funcs/vendorsVendorsExport.ts +6 -1
- package/src/index.extras.ts +27 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/alert.ts +5 -2
- package/src/models/components/authenticatesuccessresponse.ts +189 -0
- package/src/models/components/companymanager.ts +27 -2
- package/src/models/components/companymanagerlookup.ts +50 -0
- package/src/models/components/contact.ts +16 -13
- package/src/models/components/expand.ts +4 -0
- package/src/models/components/fullreport.ts +193 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/invoice.ts +89 -6
- package/src/models/components/loginemailandpassword.ts +36 -0
- package/src/models/components/loginrequirementsfromemail.ts +36 -0
- package/src/models/components/mfarequiredresponse.ts +35 -0
- package/src/models/components/passwordnotsetresponse.ts +36 -1
- package/src/models/components/passwordrequiredresponse.ts +39 -0
- package/src/models/components/samlloginrequiredresponse.ts +35 -0
- package/src/models/components/ssocontinuation.ts +71 -0
- package/src/models/components/system.ts +39 -0
- package/src/models/components/vendorcredentialsummary.ts +25 -3
- package/src/models/components/vendortargetfacility.ts +6 -0
- package/src/models/components/vendortargetfacilityscreeningresponse.ts +70 -0
- package/src/models/components/webhooksubscription.ts +3 -0
- package/src/models/components/webhooksubscriptiondetail.ts +1 -0
- package/src/models/operations/convertquote.ts +94 -0
- package/src/models/operations/createinvoice.ts +154 -0
- package/src/models/operations/createvendorcompany.ts +7 -1
- package/src/models/operations/exportcompanytargetfacilities.ts +7 -0
- package/src/models/operations/getvendorscreeningquestions.ts +107 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listcompanymanagercontacts.ts +77 -0
- package/src/models/operations/listcompanymanagers.ts +28 -0
- package/src/models/operations/listcompanytargetfacilities.ts +7 -0
- package/src/models/operations/listlookupsystems.ts +7 -7
- package/src/models/operations/listorsearchfacilities.ts +22 -0
- package/src/models/operations/lookupcompanymanagers.ts +78 -0
- package/src/models/operations/lookuppostalcode.ts +118 -0
- package/src/models/operations/postauthenticate.ts +2 -2
- package/src/models/operations/vendorsexport.ts +8 -1
- package/src/models/webhooks/index.ts +3 -0
- package/src/models/webhooks/sendfullreportcreated.ts +104 -0
- package/src/models/webhooks/sendfullreportdestroyed.ts +104 -0
- package/src/models/webhooks/sendfullreportupdated.ts +104 -0
- package/src/react-query/companiesListCompanyManagerContacts.core.ts +78 -0
- package/src/react-query/companiesListCompanyManagerContacts.ts +154 -0
- package/src/react-query/companiesListCompanyManagers.core.ts +4 -0
- package/src/react-query/companiesListCompanyManagers.ts +2 -0
- package/src/react-query/index.ts +5 -0
- package/src/react-query/invoicesConvertQuote.ts +124 -0
- package/src/react-query/lookupsListLookupSystems.core.ts +1 -1
- package/src/react-query/lookupsListLookupSystems.ts +2 -2
- package/src/react-query/lookupsLookupCompanyManagers.core.ts +80 -0
- package/src/react-query/lookupsLookupCompanyManagers.ts +147 -0
- package/src/react-query/lookupsLookupPostalCode.core.ts +82 -0
- package/src/react-query/lookupsLookupPostalCode.ts +177 -0
- package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +2 -0
- package/src/react-query/organizationsExportCompanyTargetFacilities.ts +2 -0
- package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +4 -0
- package/src/react-query/organizationsListCompanyTargetFacilities.ts +2 -0
- package/src/react-query/organizationsListOrSearchFacilities.core.ts +4 -0
- package/src/react-query/organizationsListOrSearchFacilities.ts +2 -0
- package/src/react-query/reportsGetFullReport.ts +6 -6
- package/src/react-query/usersPostAuthenticate.ts +37 -0
- package/src/react-query/usersUpdateUser.ts +6 -0
- package/src/react-query/vendorsCreateVendor.ts +4 -0
- package/src/react-query/vendorsGetVendorCredentialDetails.ts +2 -0
- package/src/react-query/vendorsGetVendorInvoiceDetails.ts +2 -0
- package/src/react-query/vendorsGetVendorScreeningQuestions.core.ts +82 -0
- package/src/react-query/vendorsGetVendorScreeningQuestions.ts +152 -0
- package/src/react-query/vendorsUpdateVendorDetails.ts +9 -1
- package/src/react-query/vendorsVendorsExport.core.ts +2 -0
- package/src/react-query/vendorsVendorsExport.ts +10 -2
- package/src/sdk/companies.ts +22 -0
- package/src/sdk/invoices.ts +31 -0
- package/src/sdk/lookups.ts +51 -0
- package/src/sdk/reports.ts +3 -3
- package/src/sdk/sdk.ts +8 -5
- package/src/sdk/users.ts +43 -0
- package/src/sdk/vendors.ts +39 -2
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
|
|
38
38
|
export type ContactFacility = FacilitySummary | number;
|
|
39
39
|
|
|
40
|
-
export type
|
|
40
|
+
export type ContactSystem = SystemSummary | number;
|
|
41
41
|
|
|
42
42
|
export type ContactUser = UserSummary | number;
|
|
43
43
|
|
|
@@ -95,28 +95,31 @@ export function contactFacilityFromJSON(
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/** @internal */
|
|
98
|
-
export const
|
|
99
|
-
|
|
98
|
+
export const ContactSystem$inboundSchema: z.ZodType<
|
|
99
|
+
ContactSystem,
|
|
100
|
+
z.ZodTypeDef,
|
|
101
|
+
unknown
|
|
102
|
+
> = smartUnion([SystemSummary$inboundSchema, types.number()]);
|
|
100
103
|
/** @internal */
|
|
101
|
-
export type
|
|
104
|
+
export type ContactSystem$Outbound = SystemSummary$Outbound | number;
|
|
102
105
|
|
|
103
106
|
/** @internal */
|
|
104
|
-
export const
|
|
105
|
-
|
|
107
|
+
export const ContactSystem$outboundSchema: z.ZodType<
|
|
108
|
+
ContactSystem$Outbound,
|
|
106
109
|
z.ZodTypeDef,
|
|
107
|
-
|
|
110
|
+
ContactSystem
|
|
108
111
|
> = smartUnion([SystemSummary$outboundSchema, z.number().int()]);
|
|
109
112
|
|
|
110
|
-
export function
|
|
111
|
-
return JSON.stringify(
|
|
113
|
+
export function contactSystemToJSON(contactSystem: ContactSystem): string {
|
|
114
|
+
return JSON.stringify(ContactSystem$outboundSchema.parse(contactSystem));
|
|
112
115
|
}
|
|
113
|
-
export function
|
|
116
|
+
export function contactSystemFromJSON(
|
|
114
117
|
jsonString: string,
|
|
115
|
-
): SafeParseResult<
|
|
118
|
+
): SafeParseResult<ContactSystem, SDKValidationError> {
|
|
116
119
|
return safeParse(
|
|
117
120
|
jsonString,
|
|
118
|
-
(x) =>
|
|
119
|
-
`Failed to parse '
|
|
121
|
+
(x) => ContactSystem$inboundSchema.parse(JSON.parse(x)),
|
|
122
|
+
`Failed to parse 'ContactSystem' from JSON`,
|
|
120
123
|
);
|
|
121
124
|
}
|
|
122
125
|
|
|
@@ -17,6 +17,8 @@ export const Expand = {
|
|
|
17
17
|
CompanyVendorTypeRestrictions: "company.vendor_type_restrictions",
|
|
18
18
|
CompanyTargetFacilityFacility: "company_target_facility.facility",
|
|
19
19
|
VendorTargetFacilityFacility: "vendor_target_facility.facility",
|
|
20
|
+
VendorTargetFacilityHasScreeningResponses:
|
|
21
|
+
"vendor_target_facility.has_screening_responses",
|
|
20
22
|
ContactFacility: "contact.facility",
|
|
21
23
|
ContactSystem: "contact.system",
|
|
22
24
|
ContactDepartment: "contact.department",
|
|
@@ -67,10 +69,12 @@ export const Expand = {
|
|
|
67
69
|
InvoiceCustomFields: "invoice.custom_fields",
|
|
68
70
|
InvoiceInvoiceType: "invoice.invoice_type",
|
|
69
71
|
InvoiceMayPayInvoice: "invoice.may_pay_invoice",
|
|
72
|
+
InvoiceAssociatedCredentials: "invoice.associated_credentials",
|
|
70
73
|
InvoiceTransactionsPayee: "invoice_transactions.payee",
|
|
71
74
|
VendorCredentialCredential: "vendor_credential.credential",
|
|
72
75
|
VendorCredentialVendor: "vendor_credential.vendor",
|
|
73
76
|
VendorCredentialInvoice: "vendor_credential.invoice",
|
|
77
|
+
VendorCredentialQuote: "vendor_credential.quote",
|
|
74
78
|
VendorCredentialVendorCredentialFiles:
|
|
75
79
|
"vendor_credential.vendor_credential_files",
|
|
76
80
|
VendorCredentialLatestVendorCredentialId:
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Where the run ended up. A delivery of `FullReport.created` only ever carries a
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* terminal value; the others are states a run passes through.
|
|
18
|
+
*/
|
|
19
|
+
export const FullReportStatus = {
|
|
20
|
+
Pending: "pending",
|
|
21
|
+
Processing: "processing",
|
|
22
|
+
Completed: "completed",
|
|
23
|
+
Canceled: "canceled",
|
|
24
|
+
Failed: "failed",
|
|
25
|
+
} as const;
|
|
26
|
+
/**
|
|
27
|
+
* Where the run ended up. A delivery of `FullReport.created` only ever carries a
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* terminal value; the others are states a run passes through.
|
|
31
|
+
*/
|
|
32
|
+
export type FullReportStatus = ClosedEnum<typeof FullReportStatus>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* One run of a report, generated on request or by a schedule. Carries the run's own state
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* plus which report it was and a short-lived signed link to the file it produced.
|
|
39
|
+
*/
|
|
40
|
+
export type FullReport = {
|
|
41
|
+
id: number;
|
|
42
|
+
/**
|
|
43
|
+
* Where the run ended up. A delivery of `FullReport.created` only ever carries a
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* terminal value; the others are states a run passes through.
|
|
47
|
+
*/
|
|
48
|
+
status: FullReportStatus;
|
|
49
|
+
/**
|
|
50
|
+
* The report that was run, e.g. `Reports::SqlQueryReport`.
|
|
51
|
+
*/
|
|
52
|
+
reportClass: string;
|
|
53
|
+
/**
|
|
54
|
+
* The subject line of the schedule that produced this run. Null for a run that was
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* generated on request rather than by a schedule.
|
|
58
|
+
*/
|
|
59
|
+
name?: string | null | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Signed download link, valid for 2 hours from the moment the delivery was built and
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* minted fresh for each delivery. Null when the run produced no file, which is every
|
|
65
|
+
* non-`completed` status.
|
|
66
|
+
*/
|
|
67
|
+
reportUrl?: string | null | undefined;
|
|
68
|
+
dateSubmitted?: Date | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* When the run started generating.
|
|
71
|
+
*/
|
|
72
|
+
dateCreated?: Date | null | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* When the run reached a terminal state. Stamping this is what delivers `created`.
|
|
75
|
+
*/
|
|
76
|
+
dateCompleted?: Date | null | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Milliseconds spent generating.
|
|
79
|
+
*/
|
|
80
|
+
durationMs?: number | null | undefined;
|
|
81
|
+
rowCount?: number | null | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Size of the generated file in bytes.
|
|
84
|
+
*/
|
|
85
|
+
fileSize?: number | null | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Why a `failed` run failed. Null on every other status.
|
|
88
|
+
*/
|
|
89
|
+
errorMessage?: string | null | undefined;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const FullReportStatus$inboundSchema: z.ZodNativeEnum<
|
|
94
|
+
typeof FullReportStatus
|
|
95
|
+
> = z.nativeEnum(FullReportStatus);
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const FullReportStatus$outboundSchema: z.ZodNativeEnum<
|
|
98
|
+
typeof FullReportStatus
|
|
99
|
+
> = FullReportStatus$inboundSchema;
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const FullReport$inboundSchema: z.ZodType<
|
|
103
|
+
FullReport,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
unknown
|
|
106
|
+
> = z.object({
|
|
107
|
+
id: types.number(),
|
|
108
|
+
status: FullReportStatus$inboundSchema,
|
|
109
|
+
report_class: types.string(),
|
|
110
|
+
name: z.nullable(types.string()).optional(),
|
|
111
|
+
report_url: z.nullable(types.string()).optional(),
|
|
112
|
+
date_submitted: z.nullable(types.date()).optional(),
|
|
113
|
+
date_created: z.nullable(types.date()).optional(),
|
|
114
|
+
date_completed: z.nullable(types.date()).optional(),
|
|
115
|
+
duration_ms: z.nullable(types.number()).optional(),
|
|
116
|
+
row_count: z.nullable(types.number()).optional(),
|
|
117
|
+
file_size: z.nullable(types.number()).optional(),
|
|
118
|
+
error_message: z.nullable(types.string()).optional(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return remap$(v, {
|
|
121
|
+
"report_class": "reportClass",
|
|
122
|
+
"report_url": "reportUrl",
|
|
123
|
+
"date_submitted": "dateSubmitted",
|
|
124
|
+
"date_created": "dateCreated",
|
|
125
|
+
"date_completed": "dateCompleted",
|
|
126
|
+
"duration_ms": "durationMs",
|
|
127
|
+
"row_count": "rowCount",
|
|
128
|
+
"file_size": "fileSize",
|
|
129
|
+
"error_message": "errorMessage",
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
/** @internal */
|
|
133
|
+
export type FullReport$Outbound = {
|
|
134
|
+
id: number;
|
|
135
|
+
status: string;
|
|
136
|
+
report_class: string;
|
|
137
|
+
name?: string | null | undefined;
|
|
138
|
+
report_url?: string | null | undefined;
|
|
139
|
+
date_submitted?: string | null | undefined;
|
|
140
|
+
date_created?: string | null | undefined;
|
|
141
|
+
date_completed?: string | null | undefined;
|
|
142
|
+
duration_ms?: number | null | undefined;
|
|
143
|
+
row_count?: number | null | undefined;
|
|
144
|
+
file_size?: number | null | undefined;
|
|
145
|
+
error_message?: string | null | undefined;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const FullReport$outboundSchema: z.ZodType<
|
|
150
|
+
FullReport$Outbound,
|
|
151
|
+
z.ZodTypeDef,
|
|
152
|
+
FullReport
|
|
153
|
+
> = z.object({
|
|
154
|
+
id: z.number().int(),
|
|
155
|
+
status: FullReportStatus$outboundSchema,
|
|
156
|
+
reportClass: z.string(),
|
|
157
|
+
name: z.nullable(z.string()).optional(),
|
|
158
|
+
reportUrl: z.nullable(z.string()).optional(),
|
|
159
|
+
dateSubmitted: z.nullable(z.date().transform(v => v.toISOString()))
|
|
160
|
+
.optional(),
|
|
161
|
+
dateCreated: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
162
|
+
dateCompleted: z.nullable(z.date().transform(v => v.toISOString()))
|
|
163
|
+
.optional(),
|
|
164
|
+
durationMs: z.nullable(z.number().int()).optional(),
|
|
165
|
+
rowCount: z.nullable(z.number().int()).optional(),
|
|
166
|
+
fileSize: z.nullable(z.number().int()).optional(),
|
|
167
|
+
errorMessage: z.nullable(z.string()).optional(),
|
|
168
|
+
}).transform((v) => {
|
|
169
|
+
return remap$(v, {
|
|
170
|
+
reportClass: "report_class",
|
|
171
|
+
reportUrl: "report_url",
|
|
172
|
+
dateSubmitted: "date_submitted",
|
|
173
|
+
dateCreated: "date_created",
|
|
174
|
+
dateCompleted: "date_completed",
|
|
175
|
+
durationMs: "duration_ms",
|
|
176
|
+
rowCount: "row_count",
|
|
177
|
+
fileSize: "file_size",
|
|
178
|
+
errorMessage: "error_message",
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
export function fullReportToJSON(fullReport: FullReport): string {
|
|
183
|
+
return JSON.stringify(FullReport$outboundSchema.parse(fullReport));
|
|
184
|
+
}
|
|
185
|
+
export function fullReportFromJSON(
|
|
186
|
+
jsonString: string,
|
|
187
|
+
): SafeParseResult<FullReport, SDKValidationError> {
|
|
188
|
+
return safeParse(
|
|
189
|
+
jsonString,
|
|
190
|
+
(x) => FullReport$inboundSchema.parse(JSON.parse(x)),
|
|
191
|
+
`Failed to parse 'FullReport' from JSON`,
|
|
192
|
+
);
|
|
193
|
+
}
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
export * from "./activestatus.js";
|
|
6
6
|
export * from "./alert.js";
|
|
7
7
|
export * from "./appointmentsummary.js";
|
|
8
|
+
export * from "./authenticatesuccessresponse.js";
|
|
8
9
|
export * from "./backgroundcheckresult.js";
|
|
9
10
|
export * from "./company.js";
|
|
10
11
|
export * from "./companycredentiallistitem.js";
|
|
11
12
|
export * from "./companylookup.js";
|
|
12
13
|
export * from "./companymanager.js";
|
|
14
|
+
export * from "./companymanagerlookup.js";
|
|
13
15
|
export * from "./companytargetfacility.js";
|
|
14
16
|
export * from "./companyvendorfield.js";
|
|
15
17
|
export * from "./companyvendortyperestriction.js";
|
|
@@ -44,6 +46,7 @@ export * from "./fhirconfigcreate.js";
|
|
|
44
46
|
export * from "./fhirconfigpartialupdate.js";
|
|
45
47
|
export * from "./fhirextraentities.js";
|
|
46
48
|
export * from "./financialstatus.js";
|
|
49
|
+
export * from "./fullreport.js";
|
|
47
50
|
export * from "./handoff.js";
|
|
48
51
|
export * from "./imageset.js";
|
|
49
52
|
export * from "./invitee.js";
|
|
@@ -87,11 +90,13 @@ export * from "./screeningansweractionsummary.js";
|
|
|
87
90
|
export * from "./screeningquestion.js";
|
|
88
91
|
export * from "./screeningresponse.js";
|
|
89
92
|
export * from "./security.js";
|
|
93
|
+
export * from "./ssocontinuation.js";
|
|
90
94
|
export * from "./standingappointment.js";
|
|
91
95
|
export * from "./state.js";
|
|
92
96
|
export * from "./subscription.js";
|
|
93
97
|
export * from "./supervisor.js";
|
|
94
98
|
export * from "./supportarticle.js";
|
|
99
|
+
export * from "./system.js";
|
|
95
100
|
export * from "./systemsummary.js";
|
|
96
101
|
export * from "./targetfacilitystatuschange.js";
|
|
97
102
|
export * from "./uploadhistoryitem.js";
|
|
@@ -120,6 +125,7 @@ export * from "./vendorscanscreeningresponse.js";
|
|
|
120
125
|
export * from "./vendorscrubdetails.js";
|
|
121
126
|
export * from "./vendorscrubpurchase.js";
|
|
122
127
|
export * from "./vendortargetfacility.js";
|
|
128
|
+
export * from "./vendortargetfacilityscreeningresponse.js";
|
|
123
129
|
export * from "./vendortype.js";
|
|
124
130
|
export * from "./visitorcheckin.js";
|
|
125
131
|
export * from "./webhookconsumers.js";
|
|
@@ -69,9 +69,6 @@ export type InvoiceType = OpenEnum<typeof InvoiceType>;
|
|
|
69
69
|
*
|
|
70
70
|
* This is used exclusively to control the visibility of the "Make Payment" button in the UI.
|
|
71
71
|
* It is not used for any other invoice logic or backend decision-making.
|
|
72
|
-
*
|
|
73
|
-
* Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers)
|
|
74
|
-
* with these arrays to determine if the payment button should be shown.
|
|
75
72
|
*/
|
|
76
73
|
export type MayPayInvoice = {
|
|
77
74
|
/**
|
|
@@ -84,6 +81,16 @@ export type MayPayInvoice = {
|
|
|
84
81
|
companies?: Array<number> | undefined;
|
|
85
82
|
};
|
|
86
83
|
|
|
84
|
+
export type AssociatedCredentials = {
|
|
85
|
+
id: number;
|
|
86
|
+
vendorId: number | null;
|
|
87
|
+
companyId: number | null;
|
|
88
|
+
/**
|
|
89
|
+
* True when the credential's invoice is paid but its required info has not been submitted yet.
|
|
90
|
+
*/
|
|
91
|
+
awaitingSubmission: boolean;
|
|
92
|
+
};
|
|
93
|
+
|
|
87
94
|
/**
|
|
88
95
|
* A simplified representation of an Invoice
|
|
89
96
|
*/
|
|
@@ -131,11 +138,15 @@ export type Invoice = {
|
|
|
131
138
|
*
|
|
132
139
|
* This is used exclusively to control the visibility of the "Make Payment" button in the UI.
|
|
133
140
|
* It is not used for any other invoice logic or backend decision-making.
|
|
134
|
-
*
|
|
135
|
-
* Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers)
|
|
136
|
-
* with these arrays to determine if the payment button should be shown.
|
|
137
141
|
*/
|
|
138
142
|
mayPayInvoice?: MayPayInvoice | null | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Credentials this invoice pays for, including those on its child invoices, limited to the ones the caller can read. Only included when `invoice.associated_credentials` is requested in the expand parameter.
|
|
145
|
+
*
|
|
146
|
+
* @remarks
|
|
147
|
+
* Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers) with these arrays to determine if the payment button should be shown.
|
|
148
|
+
*/
|
|
149
|
+
associatedCredentials?: Array<AssociatedCredentials> | null | undefined;
|
|
139
150
|
};
|
|
140
151
|
|
|
141
152
|
/** @internal */
|
|
@@ -243,6 +254,66 @@ export function mayPayInvoiceFromJSON(
|
|
|
243
254
|
);
|
|
244
255
|
}
|
|
245
256
|
|
|
257
|
+
/** @internal */
|
|
258
|
+
export const AssociatedCredentials$inboundSchema: z.ZodType<
|
|
259
|
+
AssociatedCredentials,
|
|
260
|
+
z.ZodTypeDef,
|
|
261
|
+
unknown
|
|
262
|
+
> = z.object({
|
|
263
|
+
id: types.number(),
|
|
264
|
+
vendor_id: types.nullable(types.number()),
|
|
265
|
+
company_id: types.nullable(types.number()),
|
|
266
|
+
awaiting_submission: types.boolean(),
|
|
267
|
+
}).transform((v) => {
|
|
268
|
+
return remap$(v, {
|
|
269
|
+
"vendor_id": "vendorId",
|
|
270
|
+
"company_id": "companyId",
|
|
271
|
+
"awaiting_submission": "awaitingSubmission",
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
/** @internal */
|
|
275
|
+
export type AssociatedCredentials$Outbound = {
|
|
276
|
+
id: number;
|
|
277
|
+
vendor_id: number | null;
|
|
278
|
+
company_id: number | null;
|
|
279
|
+
awaiting_submission: boolean;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/** @internal */
|
|
283
|
+
export const AssociatedCredentials$outboundSchema: z.ZodType<
|
|
284
|
+
AssociatedCredentials$Outbound,
|
|
285
|
+
z.ZodTypeDef,
|
|
286
|
+
AssociatedCredentials
|
|
287
|
+
> = z.object({
|
|
288
|
+
id: z.number().int(),
|
|
289
|
+
vendorId: z.nullable(z.number().int()),
|
|
290
|
+
companyId: z.nullable(z.number().int()),
|
|
291
|
+
awaitingSubmission: z.boolean(),
|
|
292
|
+
}).transform((v) => {
|
|
293
|
+
return remap$(v, {
|
|
294
|
+
vendorId: "vendor_id",
|
|
295
|
+
companyId: "company_id",
|
|
296
|
+
awaitingSubmission: "awaiting_submission",
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
|
|
300
|
+
export function associatedCredentialsToJSON(
|
|
301
|
+
associatedCredentials: AssociatedCredentials,
|
|
302
|
+
): string {
|
|
303
|
+
return JSON.stringify(
|
|
304
|
+
AssociatedCredentials$outboundSchema.parse(associatedCredentials),
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
export function associatedCredentialsFromJSON(
|
|
308
|
+
jsonString: string,
|
|
309
|
+
): SafeParseResult<AssociatedCredentials, SDKValidationError> {
|
|
310
|
+
return safeParse(
|
|
311
|
+
jsonString,
|
|
312
|
+
(x) => AssociatedCredentials$inboundSchema.parse(JSON.parse(x)),
|
|
313
|
+
`Failed to parse 'AssociatedCredentials' from JSON`,
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
|
|
246
317
|
/** @internal */
|
|
247
318
|
export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
|
|
248
319
|
z.object({
|
|
@@ -269,6 +340,9 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
|
|
|
269
340
|
invoice_type: types.optional(InvoiceType$inboundSchema),
|
|
270
341
|
may_pay_invoice: z.nullable(z.lazy(() => MayPayInvoice$inboundSchema))
|
|
271
342
|
.optional(),
|
|
343
|
+
associated_credentials: z.nullable(
|
|
344
|
+
z.array(z.lazy(() => AssociatedCredentials$inboundSchema)),
|
|
345
|
+
).optional(),
|
|
272
346
|
}).transform((v) => {
|
|
273
347
|
return remap$(v, {
|
|
274
348
|
"invoice_number": "invoiceNumber",
|
|
@@ -282,6 +356,7 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
|
|
|
282
356
|
"custom_fields": "customFields",
|
|
283
357
|
"invoice_type": "invoiceType",
|
|
284
358
|
"may_pay_invoice": "mayPayInvoice",
|
|
359
|
+
"associated_credentials": "associatedCredentials",
|
|
285
360
|
});
|
|
286
361
|
});
|
|
287
362
|
/** @internal */
|
|
@@ -305,6 +380,10 @@ export type Invoice$Outbound = {
|
|
|
305
380
|
representative?: string | null | undefined;
|
|
306
381
|
invoice_type?: string | undefined;
|
|
307
382
|
may_pay_invoice?: MayPayInvoice$Outbound | null | undefined;
|
|
383
|
+
associated_credentials?:
|
|
384
|
+
| Array<AssociatedCredentials$Outbound>
|
|
385
|
+
| null
|
|
386
|
+
| undefined;
|
|
308
387
|
};
|
|
309
388
|
|
|
310
389
|
/** @internal */
|
|
@@ -335,6 +414,9 @@ export const Invoice$outboundSchema: z.ZodType<
|
|
|
335
414
|
invoiceType: InvoiceType$outboundSchema.optional(),
|
|
336
415
|
mayPayInvoice: z.nullable(z.lazy(() => MayPayInvoice$outboundSchema))
|
|
337
416
|
.optional(),
|
|
417
|
+
associatedCredentials: z.nullable(
|
|
418
|
+
z.array(z.lazy(() => AssociatedCredentials$outboundSchema)),
|
|
419
|
+
).optional(),
|
|
338
420
|
}).transform((v) => {
|
|
339
421
|
return remap$(v, {
|
|
340
422
|
invoiceNumber: "invoice_number",
|
|
@@ -348,6 +430,7 @@ export const Invoice$outboundSchema: z.ZodType<
|
|
|
348
430
|
customFields: "custom_fields",
|
|
349
431
|
invoiceType: "invoice_type",
|
|
350
432
|
mayPayInvoice: "may_pay_invoice",
|
|
433
|
+
associatedCredentials: "associated_credentials",
|
|
351
434
|
});
|
|
352
435
|
});
|
|
353
436
|
|
|
@@ -21,6 +21,39 @@ export type LoginEmailAndPassword = {
|
|
|
21
21
|
* Password as entered by the user
|
|
22
22
|
*/
|
|
23
23
|
password: string;
|
|
24
|
+
/**
|
|
25
|
+
* Opaque, signed state that Green Security issues when a third-party service
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* provider starts a "Login with Green Security" SAML flow at
|
|
29
|
+
* `/saml/idp/sso`. The login screen receives it as the `sso_state` query
|
|
30
|
+
* string parameter and must pass it back, byte for byte, on every call to
|
|
31
|
+
* this endpoint for the remainder of the login journey — including the
|
|
32
|
+
* second call that carries an `mfa_code`.
|
|
33
|
+
*
|
|
34
|
+
* The blob is signed, not encrypted, and it expires five minutes after the
|
|
35
|
+
* service provider's request arrives. Do not parse it, shorten it, decode
|
|
36
|
+
* it, or re-encode it.
|
|
37
|
+
*
|
|
38
|
+
* **An invalid blob does not fail the login.** This is the opposite of what
|
|
39
|
+
* most integrators assume, so it is worth stating plainly: a forged, edited
|
|
40
|
+
* or expired `sso_state` is silently discarded, and the request then
|
|
41
|
+
* proceeds as an ordinary login. Valid credentials still authenticate and
|
|
42
|
+
* still return `200` — just with no `sso` object, leaving the user signed in
|
|
43
|
+
* to Green Security with no way back to the service provider that sent them.
|
|
44
|
+
* Never treat a `200` as proof that the SSO hand-off survived; check for
|
|
45
|
+
* `sso` explicitly.
|
|
46
|
+
*
|
|
47
|
+
* Every `202` response echoes the *verified* blob back in its own
|
|
48
|
+
* `sso_state` field. Always send back the value from the response you just
|
|
49
|
+
* received rather than the one you started with, so that a blob the server
|
|
50
|
+
* has already rejected is never resent, and so a client does not have to
|
|
51
|
+
* hold state of its own across the login journey.
|
|
52
|
+
*
|
|
53
|
+
* Omit this field entirely for an ordinary login that did not originate
|
|
54
|
+
* from a service provider.
|
|
55
|
+
*/
|
|
56
|
+
ssoState?: string | undefined;
|
|
24
57
|
};
|
|
25
58
|
|
|
26
59
|
/** @internal */
|
|
@@ -28,6 +61,7 @@ export type LoginEmailAndPassword$Outbound = {
|
|
|
28
61
|
email: string;
|
|
29
62
|
mfa_code?: string | undefined;
|
|
30
63
|
password: string;
|
|
64
|
+
sso_state?: string | undefined;
|
|
31
65
|
};
|
|
32
66
|
|
|
33
67
|
/** @internal */
|
|
@@ -39,9 +73,11 @@ export const LoginEmailAndPassword$outboundSchema: z.ZodType<
|
|
|
39
73
|
email: z.string(),
|
|
40
74
|
mfaCode: z.string().optional(),
|
|
41
75
|
password: z.string(),
|
|
76
|
+
ssoState: z.string().optional(),
|
|
42
77
|
}).transform((v) => {
|
|
43
78
|
return remap$(v, {
|
|
44
79
|
mfaCode: "mfa_code",
|
|
80
|
+
ssoState: "sso_state",
|
|
45
81
|
});
|
|
46
82
|
});
|
|
47
83
|
|
|
@@ -17,12 +17,46 @@ export type LoginRequirementsFromEmail = {
|
|
|
17
17
|
* A proper URI where the user should be sent after completing a SAML login. This is encoded into the response you will get if the user requires a SAML login.
|
|
18
18
|
*/
|
|
19
19
|
returnUrl: string;
|
|
20
|
+
/**
|
|
21
|
+
* Opaque, signed state that Green Security issues when a third-party service
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* provider starts a "Login with Green Security" SAML flow at
|
|
25
|
+
* `/saml/idp/sso`. The login screen receives it as the `sso_state` query
|
|
26
|
+
* string parameter and must pass it back, byte for byte, on every call to
|
|
27
|
+
* this endpoint for the remainder of the login journey — including the
|
|
28
|
+
* second call that carries an `mfa_code`.
|
|
29
|
+
*
|
|
30
|
+
* The blob is signed, not encrypted, and it expires five minutes after the
|
|
31
|
+
* service provider's request arrives. Do not parse it, shorten it, decode
|
|
32
|
+
* it, or re-encode it.
|
|
33
|
+
*
|
|
34
|
+
* **An invalid blob does not fail the login.** This is the opposite of what
|
|
35
|
+
* most integrators assume, so it is worth stating plainly: a forged, edited
|
|
36
|
+
* or expired `sso_state` is silently discarded, and the request then
|
|
37
|
+
* proceeds as an ordinary login. Valid credentials still authenticate and
|
|
38
|
+
* still return `200` — just with no `sso` object, leaving the user signed in
|
|
39
|
+
* to Green Security with no way back to the service provider that sent them.
|
|
40
|
+
* Never treat a `200` as proof that the SSO hand-off survived; check for
|
|
41
|
+
* `sso` explicitly.
|
|
42
|
+
*
|
|
43
|
+
* Every `202` response echoes the *verified* blob back in its own
|
|
44
|
+
* `sso_state` field. Always send back the value from the response you just
|
|
45
|
+
* received rather than the one you started with, so that a blob the server
|
|
46
|
+
* has already rejected is never resent, and so a client does not have to
|
|
47
|
+
* hold state of its own across the login journey.
|
|
48
|
+
*
|
|
49
|
+
* Omit this field entirely for an ordinary login that did not originate
|
|
50
|
+
* from a service provider.
|
|
51
|
+
*/
|
|
52
|
+
ssoState?: string | undefined;
|
|
20
53
|
};
|
|
21
54
|
|
|
22
55
|
/** @internal */
|
|
23
56
|
export type LoginRequirementsFromEmail$Outbound = {
|
|
24
57
|
email: string;
|
|
25
58
|
return_url: string;
|
|
59
|
+
sso_state?: string | undefined;
|
|
26
60
|
};
|
|
27
61
|
|
|
28
62
|
/** @internal */
|
|
@@ -33,9 +67,11 @@ export const LoginRequirementsFromEmail$outboundSchema: z.ZodType<
|
|
|
33
67
|
> = z.object({
|
|
34
68
|
email: z.string(),
|
|
35
69
|
returnUrl: z.string(),
|
|
70
|
+
ssoState: z.string().optional(),
|
|
36
71
|
}).transform((v) => {
|
|
37
72
|
return remap$(v, {
|
|
38
73
|
returnUrl: "return_url",
|
|
74
|
+
ssoState: "sso_state",
|
|
39
75
|
});
|
|
40
76
|
});
|
|
41
77
|
|
|
@@ -36,6 +36,39 @@ export type MfaRequiredResponse = {
|
|
|
36
36
|
*/
|
|
37
37
|
mobilePhone?: string | undefined;
|
|
38
38
|
mfaMethod?: MfaMethod | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Opaque, signed state that Green Security issues when a third-party service
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* provider starts a "Login with Green Security" SAML flow at
|
|
44
|
+
* `/saml/idp/sso`. The login screen receives it as the `sso_state` query
|
|
45
|
+
* string parameter and must pass it back, byte for byte, on every call to
|
|
46
|
+
* this endpoint for the remainder of the login journey — including the
|
|
47
|
+
* second call that carries an `mfa_code`.
|
|
48
|
+
*
|
|
49
|
+
* The blob is signed, not encrypted, and it expires five minutes after the
|
|
50
|
+
* service provider's request arrives. Do not parse it, shorten it, decode
|
|
51
|
+
* it, or re-encode it.
|
|
52
|
+
*
|
|
53
|
+
* **An invalid blob does not fail the login.** This is the opposite of what
|
|
54
|
+
* most integrators assume, so it is worth stating plainly: a forged, edited
|
|
55
|
+
* or expired `sso_state` is silently discarded, and the request then
|
|
56
|
+
* proceeds as an ordinary login. Valid credentials still authenticate and
|
|
57
|
+
* still return `200` — just with no `sso` object, leaving the user signed in
|
|
58
|
+
* to Green Security with no way back to the service provider that sent them.
|
|
59
|
+
* Never treat a `200` as proof that the SSO hand-off survived; check for
|
|
60
|
+
* `sso` explicitly.
|
|
61
|
+
*
|
|
62
|
+
* Every `202` response echoes the *verified* blob back in its own
|
|
63
|
+
* `sso_state` field. Always send back the value from the response you just
|
|
64
|
+
* received rather than the one you started with, so that a blob the server
|
|
65
|
+
* has already rejected is never resent, and so a client does not have to
|
|
66
|
+
* hold state of its own across the login journey.
|
|
67
|
+
*
|
|
68
|
+
* Omit this field entirely for an ordinary login that did not originate
|
|
69
|
+
* from a service provider.
|
|
70
|
+
*/
|
|
71
|
+
ssoState?: string | undefined;
|
|
39
72
|
};
|
|
40
73
|
|
|
41
74
|
/** @internal */
|
|
@@ -56,10 +89,12 @@ export const MfaRequiredResponse$inboundSchema: z.ZodType<
|
|
|
56
89
|
error: types.string(),
|
|
57
90
|
mobile_phone: types.optional(types.string()),
|
|
58
91
|
mfa_method: types.optional(MfaMethod$inboundSchema),
|
|
92
|
+
sso_state: types.optional(types.string()),
|
|
59
93
|
}).transform((v) => {
|
|
60
94
|
return remap$(v, {
|
|
61
95
|
"mobile_phone": "mobilePhone",
|
|
62
96
|
"mfa_method": "mfaMethod",
|
|
97
|
+
"sso_state": "ssoState",
|
|
63
98
|
});
|
|
64
99
|
});
|
|
65
100
|
|