@greensecurity/javascript-sdk 0.45.0-beta.1 → 0.45.0-beta.11
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 +7 -1
- package/dist/commonjs/__tests__/fhirconfigs.test.js +21 -5
- package/dist/commonjs/__tests__/fhirconfigs.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__/lookups.test.js +21 -0
- package/dist/commonjs/__tests__/lookups.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +1 -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 +17 -15
- 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/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/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/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/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/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/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 +6 -0
- package/dist/commonjs/index.extras.d.ts.map +1 -1
- package/dist/commonjs/index.extras.js +6 -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/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/expand.d.ts +1 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +1 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/fhirconfig.d.ts +16 -0
- package/dist/commonjs/models/components/fhirconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/fhirconfig.js +4 -0
- package/dist/commonjs/models/components/fhirconfig.js.map +1 -1
- package/dist/commonjs/models/components/fhirconfigcreate.d.ts +18 -0
- package/dist/commonjs/models/components/fhirconfigcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/fhirconfigcreate.js +4 -0
- package/dist/commonjs/models/components/fhirconfigcreate.js.map +1 -1
- package/dist/commonjs/models/components/fhirextraentities.d.ts +9 -0
- package/dist/commonjs/models/components/fhirextraentities.d.ts.map +1 -1
- package/dist/commonjs/models/components/fhirextraentities.js +11 -0
- package/dist/commonjs/models/components/fhirextraentities.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +5 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +9 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.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 +85 -0
- package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createinvoice.js +56 -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/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- 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/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/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/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 +2 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +2 -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/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/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/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/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 +22 -0
- package/dist/commonjs/sdk/lookups.d.ts.map +1 -1
- package/dist/commonjs/sdk/lookups.js +25 -0
- package/dist/commonjs/sdk/lookups.js.map +1 -1
- package/dist/commonjs/sdk/users.d.ts +6 -0
- package/dist/commonjs/sdk/users.d.ts.map +1 -1
- package/dist/commonjs/sdk/users.js +6 -0
- package/dist/commonjs/sdk/users.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +18 -2
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +18 -2
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/fhirconfigs.test.js +21 -5
- package/dist/esm/__tests__/fhirconfigs.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__/lookups.test.js +21 -0
- package/dist/esm/__tests__/lookups.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +1 -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 +17 -15
- 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/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/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/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/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/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/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 +6 -0
- package/dist/esm/index.extras.d.ts.map +1 -1
- package/dist/esm/index.extras.js +6 -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/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/expand.d.ts +1 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +1 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/fhirconfig.d.ts +16 -0
- package/dist/esm/models/components/fhirconfig.d.ts.map +1 -1
- package/dist/esm/models/components/fhirconfig.js +4 -0
- package/dist/esm/models/components/fhirconfig.js.map +1 -1
- package/dist/esm/models/components/fhirconfigcreate.d.ts +18 -0
- package/dist/esm/models/components/fhirconfigcreate.d.ts.map +1 -1
- package/dist/esm/models/components/fhirconfigcreate.js +4 -0
- package/dist/esm/models/components/fhirconfigcreate.js.map +1 -1
- package/dist/esm/models/components/fhirextraentities.d.ts +9 -0
- package/dist/esm/models/components/fhirextraentities.d.ts.map +1 -1
- package/dist/esm/models/components/fhirextraentities.js +11 -0
- package/dist/esm/models/components/fhirextraentities.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +5 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +7 -0
- package/dist/esm/models/components/vendorcredentialsummary.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 +85 -0
- package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/createinvoice.js +55 -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/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- 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/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/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/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 +2 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +2 -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/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/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/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/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 +22 -0
- package/dist/esm/sdk/lookups.d.ts.map +1 -1
- package/dist/esm/sdk/lookups.js +25 -0
- package/dist/esm/sdk/lookups.js.map +1 -1
- package/dist/esm/sdk/users.d.ts +6 -0
- package/dist/esm/sdk/users.d.ts.map +1 -1
- package/dist/esm/sdk/users.js +6 -0
- package/dist/esm/sdk/users.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +18 -2
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +18 -2
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/fhirconfigs.test.ts +21 -5
- package/src/__tests__/invoices.test.ts +21 -0
- package/src/__tests__/lookups.test.ts +24 -0
- package/src/__tests__/vendors.test.ts +1 -1
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +17 -15
- package/src/admin-funcs/dismissCommunication.ts +20 -0
- package/src/admin-funcs/listCommunications.ts +29 -0
- package/src/funcs/companiesListCompanyManagers.ts +1 -0
- package/src/funcs/invoicesConvertQuote.ts +190 -0
- package/src/funcs/lookupsLookupPostalCode.ts +193 -0
- package/src/funcs/usersUpdateUser.ts +6 -0
- package/src/funcs/vendorsCreateVendor.ts +4 -0
- package/src/funcs/vendorsGetVendorCredentialDetails.ts +1 -0
- package/src/funcs/vendorsUpdateVendorDetails.ts +9 -1
- package/src/funcs/vendorsVendorsExport.ts +6 -1
- package/src/index.extras.ts +8 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/companymanager.ts +27 -2
- package/src/models/components/expand.ts +1 -0
- package/src/models/components/fhirconfig.ts +20 -0
- package/src/models/components/fhirconfigcreate.ts +22 -0
- package/src/models/components/fhirextraentities.ts +20 -0
- package/src/models/components/vendorcredentialsummary.ts +19 -0
- package/src/models/operations/convertquote.ts +94 -0
- package/src/models/operations/createinvoice.ts +124 -0
- package/src/models/operations/createvendorcompany.ts +7 -1
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listcompanymanagers.ts +28 -0
- package/src/models/operations/lookuppostalcode.ts +118 -0
- package/src/models/operations/vendorsexport.ts +8 -1
- package/src/react-query/companiesListCompanyManagers.core.ts +4 -0
- package/src/react-query/companiesListCompanyManagers.ts +2 -0
- package/src/react-query/index.ts +2 -0
- package/src/react-query/invoicesConvertQuote.ts +124 -0
- package/src/react-query/lookupsLookupPostalCode.core.ts +82 -0
- package/src/react-query/lookupsLookupPostalCode.ts +177 -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/vendorsUpdateVendorDetails.ts +9 -1
- package/src/react-query/vendorsVendorsExport.core.ts +2 -0
- package/src/react-query/vendorsVendorsExport.ts +10 -2
- package/src/sdk/invoices.ts +31 -0
- package/src/sdk/lookups.ts +33 -0
- package/src/sdk/users.ts +6 -0
- package/src/sdk/vendors.ts +18 -2
|
@@ -56,6 +56,12 @@ export type UsersUpdateUserMutationError =
|
|
|
56
56
|
* Only submitted fields are applied — unrecognised fields are silently ignored.
|
|
57
57
|
* Changing `email` automatically resets `bounced_email` to `false`.
|
|
58
58
|
*
|
|
59
|
+
* Submitting `zip`, `state`, or `country` cross-checks the postal code against the
|
|
60
|
+
* resulting state/country (using the existing value for any of the three left out
|
|
61
|
+
* of the request). A code that is not shaped like a real postal code, or that
|
|
62
|
+
* provably belongs to a different state, is rejected with `422` naming the correct
|
|
63
|
+
* state.
|
|
64
|
+
*
|
|
59
65
|
* Each subkey of `email_preferences` is independently optional; sending
|
|
60
66
|
* `{ "email_preferences": { "send_weekly_summary_email": true } }` flips
|
|
61
67
|
* only that flag and leaves the others unchanged.
|
|
@@ -55,6 +55,10 @@ export type VendorsCreateVendorMutationError =
|
|
|
55
55
|
* `company_id` is optional for company managers — it defaults to their own company.
|
|
56
56
|
* All other callers must provide `company_id`. The caller must have access to the
|
|
57
57
|
* specified company (verified via scoped access policy) and the `vendors:add` permission.
|
|
58
|
+
*
|
|
59
|
+
* `zip` is cross-checked against `state`: a code that is not shaped like a real postal
|
|
60
|
+
* code, or that provably belongs to a different state, is rejected with `422` naming
|
|
61
|
+
* the correct state.
|
|
58
62
|
*/
|
|
59
63
|
export function useVendorsCreateVendorMutation(
|
|
60
64
|
options?: MutationHookOptions<
|
|
@@ -63,6 +63,7 @@ export type VendorsGetVendorCredentialDetailsQueryError =
|
|
|
63
63
|
* - vendor_credential.credential
|
|
64
64
|
* - vendor_credential.vendor
|
|
65
65
|
* - vendor_credential.invoice
|
|
66
|
+
* - vendor_credential.quote
|
|
66
67
|
* - vendor_credential.vendor_credential_files
|
|
67
68
|
* - vendor_credential.latest_vendor_credential_id
|
|
68
69
|
* - vendor_credential.previously_approved
|
|
@@ -118,6 +119,7 @@ export function useVendorsGetVendorCredentialDetails(
|
|
|
118
119
|
* - vendor_credential.credential
|
|
119
120
|
* - vendor_credential.vendor
|
|
120
121
|
* - vendor_credential.invoice
|
|
122
|
+
* - vendor_credential.quote
|
|
121
123
|
* - vendor_credential.vendor_credential_files
|
|
122
124
|
* - vendor_credential.latest_vendor_credential_id
|
|
123
125
|
* - vendor_credential.previously_approved
|
|
@@ -56,7 +56,15 @@ export type VendorsUpdateVendorDetailsMutationError =
|
|
|
56
56
|
* From `location` this endpoint reads only `timezone`, `address1`, `address2`,
|
|
57
57
|
* `city`, `state`, `zip`, `phone`, `mobile_phone` and `fax`. The `address` and
|
|
58
58
|
* `country` properties of the shared `UserLocation` schema are ignored here and
|
|
59
|
-
* updating them is not supported.
|
|
59
|
+
* updating them is not supported. `state` accepts a US state or a Canadian
|
|
60
|
+
* province — the vendor's country, set only at registration, is not editable
|
|
61
|
+
* through this endpoint.
|
|
62
|
+
*
|
|
63
|
+
* Submitting `location.zip` or `location.state` cross-checks the postal code
|
|
64
|
+
* against the resulting state (using the vendor's existing value for whichever
|
|
65
|
+
* of the two is left out of the request). A code that is not shaped like a real
|
|
66
|
+
* postal code, or that provably belongs to a different state, is rejected with
|
|
67
|
+
* `422` naming the correct state.
|
|
60
68
|
*
|
|
61
69
|
* For `title`, the `supervisor` fields, and every `location` field except
|
|
62
70
|
* `timezone`, the value sent is the value stored: omit a field to leave it
|
|
@@ -57,6 +57,7 @@ export function buildVendorsVendorsExportQuery(
|
|
|
57
57
|
zipLike: request.zipLike,
|
|
58
58
|
status: request.status,
|
|
59
59
|
companyId: request.companyId,
|
|
60
|
+
externallyManagedByCompanyId: request.externallyManagedByCompanyId,
|
|
60
61
|
credentialingSubscriptionIdNull: request.credentialingSubscriptionIdNull,
|
|
61
62
|
scrubsSubscriptionIdNull: request.scrubsSubscriptionIdNull,
|
|
62
63
|
credentialingSubscriptionStatus: request.credentialingSubscriptionStatus,
|
|
@@ -110,6 +111,7 @@ export function queryKeyVendorsVendorsExport(
|
|
|
110
111
|
zipLike?: string | undefined;
|
|
111
112
|
status?: string | undefined;
|
|
112
113
|
companyId?: number | undefined;
|
|
114
|
+
externallyManagedByCompanyId?: number | undefined;
|
|
113
115
|
credentialingSubscriptionIdNull?: string | undefined;
|
|
114
116
|
scrubsSubscriptionIdNull?: string | undefined;
|
|
115
117
|
credentialingSubscriptionStatus?: string | undefined;
|
|
@@ -58,7 +58,10 @@ export type VendorsVendorsExportQueryError =
|
|
|
58
58
|
*
|
|
59
59
|
* @remarks
|
|
60
60
|
* Enqueues an asynchronous job to generate a CSV export of vendors based on the
|
|
61
|
-
* provided filters (the same filters supported by the vendors list endpoint)
|
|
61
|
+
* provided filters (the same filters supported by the vendors list endpoint), in the same
|
|
62
|
+
* credential-inclusive format as the portal's "Download Full Report" button - one column per
|
|
63
|
+
* applicable credential (status, due date, expiration), plus counts and percentage approved,
|
|
64
|
+
* alongside the vendor's identity, contact, and company details.
|
|
62
65
|
* Returns a `status_url` to poll until the export is ready, plus a
|
|
63
66
|
* `download_url` and `status_id`.
|
|
64
67
|
*/
|
|
@@ -88,7 +91,10 @@ export function useVendorsVendorsExport(
|
|
|
88
91
|
*
|
|
89
92
|
* @remarks
|
|
90
93
|
* Enqueues an asynchronous job to generate a CSV export of vendors based on the
|
|
91
|
-
* provided filters (the same filters supported by the vendors list endpoint)
|
|
94
|
+
* provided filters (the same filters supported by the vendors list endpoint), in the same
|
|
95
|
+
* credential-inclusive format as the portal's "Download Full Report" button - one column per
|
|
96
|
+
* applicable credential (status, due date, expiration), plus counts and percentage approved,
|
|
97
|
+
* alongside the vendor's identity, contact, and company details.
|
|
92
98
|
* Returns a `status_url` to poll until the export is ready, plus a
|
|
93
99
|
* `download_url` and `status_id`.
|
|
94
100
|
*/
|
|
@@ -130,6 +136,7 @@ export function setVendorsVendorsExportData(
|
|
|
130
136
|
zipLike?: string | undefined;
|
|
131
137
|
status?: string | undefined;
|
|
132
138
|
companyId?: number | undefined;
|
|
139
|
+
externallyManagedByCompanyId?: number | undefined;
|
|
133
140
|
credentialingSubscriptionIdNull?: string | undefined;
|
|
134
141
|
scrubsSubscriptionIdNull?: string | undefined;
|
|
135
142
|
credentialingSubscriptionStatus?: string | undefined;
|
|
@@ -170,6 +177,7 @@ export function invalidateVendorsVendorsExport(
|
|
|
170
177
|
zipLike?: string | undefined;
|
|
171
178
|
status?: string | undefined;
|
|
172
179
|
companyId?: number | undefined;
|
|
180
|
+
externallyManagedByCompanyId?: number | undefined;
|
|
173
181
|
credentialingSubscriptionIdNull?: string | undefined;
|
|
174
182
|
scrubsSubscriptionIdNull?: string | undefined;
|
|
175
183
|
credentialingSubscriptionStatus?: string | undefined;
|
package/src/sdk/invoices.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { invoicesConvertQuote } from "../funcs/invoicesConvertQuote.js";
|
|
5
6
|
import { invoicesCreateInvoice } from "../funcs/invoicesCreateInvoice.js";
|
|
6
7
|
import {
|
|
7
8
|
DownloadInvoicesExportAcceptEnum,
|
|
@@ -152,6 +153,36 @@ export class Invoices extends ClientSDK {
|
|
|
152
153
|
));
|
|
153
154
|
}
|
|
154
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Convert a quote into an invoice
|
|
158
|
+
*
|
|
159
|
+
* @remarks
|
|
160
|
+
* Converts a quote into the real invoice its caller will be charged for, and
|
|
161
|
+
* returns the new invoice with its calculated totals. Any `VendorCredential`
|
|
162
|
+
* linked to the quote is re-pointed at the new invoice.
|
|
163
|
+
*
|
|
164
|
+
* The operation is idempotent: converting a quote that has already been
|
|
165
|
+
* processed returns the invoice previously created from it rather than
|
|
166
|
+
* creating a second one, so a retried request is safe.
|
|
167
|
+
*
|
|
168
|
+
* The referenced invoice must actually be a quote — a non-quote invoice id
|
|
169
|
+
* responds `400`. Requires a caller whose access scope permits creating
|
|
170
|
+
* invoices; a caller allowed to create the invoice but not to update the
|
|
171
|
+
* linked `VendorCredential` responds `401`.
|
|
172
|
+
*
|
|
173
|
+
* Takes no request body.
|
|
174
|
+
*/
|
|
175
|
+
async convertQuote(
|
|
176
|
+
request: operations.ConvertQuoteRequest,
|
|
177
|
+
options?: RequestOptions,
|
|
178
|
+
): Promise<operations.ConvertQuoteConvertQuoteOk> {
|
|
179
|
+
return unwrapAsync(invoicesConvertQuote(
|
|
180
|
+
this,
|
|
181
|
+
request,
|
|
182
|
+
options,
|
|
183
|
+
));
|
|
184
|
+
}
|
|
185
|
+
|
|
155
186
|
/**
|
|
156
187
|
* Export invoices to csv (async)
|
|
157
188
|
*
|
package/src/sdk/lookups.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { lookupsListLookupSystems } from "../funcs/lookupsListLookupSystems.js";
|
|
6
|
+
import { lookupsLookupPostalCode } from "../funcs/lookupsLookupPostalCode.js";
|
|
6
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
8
|
import * as operations from "../models/operations/index.js";
|
|
8
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -31,4 +32,36 @@ export class Lookups extends ClientSDK {
|
|
|
31
32
|
options,
|
|
32
33
|
));
|
|
33
34
|
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check a postal code against a state and country
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Cross-checks a postal code against a state/province and country, the same check
|
|
41
|
+
* every write path that stores a US or Canadian address enforces server-side (e.g.
|
|
42
|
+
* `PUT /users/{id}`, `PUT /vendors/{vendor_id_or_me}`). Useful for validating an
|
|
43
|
+
* address before submitting it elsewhere.
|
|
44
|
+
*
|
|
45
|
+
* `status` is one of:
|
|
46
|
+
* - `ok` — the postal code belongs to the given state/province.
|
|
47
|
+
* - `invalid` — the postal code is not shaped like a real one for the given country.
|
|
48
|
+
* - `mismatch` — the postal code is well-formed but belongs to a different state or
|
|
49
|
+
* province. `expected_states` names the state(s) it actually maps to.
|
|
50
|
+
* - `unknown` — nothing to check against (an unsupported country, or a postal code
|
|
51
|
+
* absent from the US ZIP dataset). Treated as acceptable by every write path that
|
|
52
|
+
* uses this check.
|
|
53
|
+
*
|
|
54
|
+
* Only the US and Canada have a real code-to-subdivision map; every other country
|
|
55
|
+
* always returns `unknown`.
|
|
56
|
+
*/
|
|
57
|
+
async lookupPostalCode(
|
|
58
|
+
request: operations.LookupPostalCodeRequest,
|
|
59
|
+
options?: RequestOptions,
|
|
60
|
+
): Promise<operations.LookupPostalCodeLookupPostalCodeOk> {
|
|
61
|
+
return unwrapAsync(lookupsLookupPostalCode(
|
|
62
|
+
this,
|
|
63
|
+
request,
|
|
64
|
+
options,
|
|
65
|
+
));
|
|
66
|
+
}
|
|
34
67
|
}
|
package/src/sdk/users.ts
CHANGED
|
@@ -85,6 +85,12 @@ export class Users extends ClientSDK {
|
|
|
85
85
|
* Only submitted fields are applied — unrecognised fields are silently ignored.
|
|
86
86
|
* Changing `email` automatically resets `bounced_email` to `false`.
|
|
87
87
|
*
|
|
88
|
+
* Submitting `zip`, `state`, or `country` cross-checks the postal code against the
|
|
89
|
+
* resulting state/country (using the existing value for any of the three left out
|
|
90
|
+
* of the request). A code that is not shaped like a real postal code, or that
|
|
91
|
+
* provably belongs to a different state, is rejected with `422` naming the correct
|
|
92
|
+
* state.
|
|
93
|
+
*
|
|
88
94
|
* Each subkey of `email_preferences` is independently optional; sending
|
|
89
95
|
* `{ "email_preferences": { "send_weekly_summary_email": true } }` flips
|
|
90
96
|
* only that flag and leaves the others unchanged.
|
package/src/sdk/vendors.ts
CHANGED
|
@@ -132,6 +132,10 @@ export class Vendors extends ClientSDK {
|
|
|
132
132
|
* `company_id` is optional for company managers — it defaults to their own company.
|
|
133
133
|
* All other callers must provide `company_id`. The caller must have access to the
|
|
134
134
|
* specified company (verified via scoped access policy) and the `vendors:add` permission.
|
|
135
|
+
*
|
|
136
|
+
* `zip` is cross-checked against `state`: a code that is not shaped like a real postal
|
|
137
|
+
* code, or that provably belongs to a different state, is rejected with `422` naming
|
|
138
|
+
* the correct state.
|
|
135
139
|
*/
|
|
136
140
|
async createVendor(
|
|
137
141
|
request: operations.CreateVendorRequestBody,
|
|
@@ -273,6 +277,7 @@ export class Vendors extends ClientSDK {
|
|
|
273
277
|
* - vendor_credential.credential
|
|
274
278
|
* - vendor_credential.vendor
|
|
275
279
|
* - vendor_credential.invoice
|
|
280
|
+
* - vendor_credential.quote
|
|
276
281
|
* - vendor_credential.vendor_credential_files
|
|
277
282
|
* - vendor_credential.latest_vendor_credential_id
|
|
278
283
|
* - vendor_credential.previously_approved
|
|
@@ -879,7 +884,15 @@ export class Vendors extends ClientSDK {
|
|
|
879
884
|
* From `location` this endpoint reads only `timezone`, `address1`, `address2`,
|
|
880
885
|
* `city`, `state`, `zip`, `phone`, `mobile_phone` and `fax`. The `address` and
|
|
881
886
|
* `country` properties of the shared `UserLocation` schema are ignored here and
|
|
882
|
-
* updating them is not supported.
|
|
887
|
+
* updating them is not supported. `state` accepts a US state or a Canadian
|
|
888
|
+
* province — the vendor's country, set only at registration, is not editable
|
|
889
|
+
* through this endpoint.
|
|
890
|
+
*
|
|
891
|
+
* Submitting `location.zip` or `location.state` cross-checks the postal code
|
|
892
|
+
* against the resulting state (using the vendor's existing value for whichever
|
|
893
|
+
* of the two is left out of the request). A code that is not shaped like a real
|
|
894
|
+
* postal code, or that provably belongs to a different state, is rejected with
|
|
895
|
+
* `422` naming the correct state.
|
|
883
896
|
*
|
|
884
897
|
* For `title`, the `supervisor` fields, and every `location` field except
|
|
885
898
|
* `timezone`, the value sent is the value stored: omit a field to leave it
|
|
@@ -1078,7 +1091,10 @@ export class Vendors extends ClientSDK {
|
|
|
1078
1091
|
*
|
|
1079
1092
|
* @remarks
|
|
1080
1093
|
* Enqueues an asynchronous job to generate a CSV export of vendors based on the
|
|
1081
|
-
* provided filters (the same filters supported by the vendors list endpoint)
|
|
1094
|
+
* provided filters (the same filters supported by the vendors list endpoint), in the same
|
|
1095
|
+
* credential-inclusive format as the portal's "Download Full Report" button - one column per
|
|
1096
|
+
* applicable credential (status, due date, expiration), plus counts and percentage approved,
|
|
1097
|
+
* alongside the vendor's identity, contact, and company details.
|
|
1082
1098
|
* Returns a `status_url` to poll until the export is ready, plus a
|
|
1083
1099
|
* `download_url` and `status_id`.
|
|
1084
1100
|
*/
|