@greensecurity/javascript-sdk 0.46.0-beta.6 → 0.46.0-beta.8
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/dist/commonjs/__tests__/vendors.test.js +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__/zoneDevicesList.test.d.ts +2 -0
- package/dist/commonjs/__tests__/zoneDevicesList.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/zoneDevicesList.test.js +31 -0
- package/dist/commonjs/__tests__/zoneDevicesList.test.js.map +1 -0
- package/dist/commonjs/__tests__/zones.test.js +10 -7
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/admin-funcs/vendorCredentialCreateFormQuote.d.ts +3 -0
- package/dist/commonjs/admin-funcs/vendorCredentialCreateFormQuote.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/vendorCredentialCreateFormQuote.js +9 -0
- package/dist/commonjs/admin-funcs/vendorCredentialCreateFormQuote.js.map +1 -0
- package/dist/commonjs/admin-funcs/vendorCredentialGetFormLineItems.d.ts +3 -0
- package/dist/commonjs/admin-funcs/vendorCredentialGetFormLineItems.d.ts.map +1 -0
- package/dist/commonjs/admin-funcs/vendorCredentialGetFormLineItems.js +9 -0
- package/dist/commonjs/admin-funcs/vendorCredentialGetFormLineItems.js.map +1 -0
- package/dist/commonjs/admin-funcs/zoneDevicesList.d.ts +1 -0
- package/dist/commonjs/admin-funcs/zoneDevicesList.d.ts.map +1 -1
- package/dist/commonjs/admin-funcs/zoneDevicesList.js +3 -0
- package/dist/commonjs/admin-funcs/zoneDevicesList.js.map +1 -1
- package/dist/commonjs/funcs/companiesLookupCompanies.d.ts +3 -0
- package/dist/commonjs/funcs/companiesLookupCompanies.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesLookupCompanies.js +3 -0
- package/dist/commonjs/funcs/companiesLookupCompanies.js.map +1 -1
- package/dist/commonjs/funcs/eventsListFeed.d.ts +9 -8
- package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListFeed.js +9 -8
- package/dist/commonjs/funcs/eventsListFeed.js.map +1 -1
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +8 -7
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListPendingInvitations.js +8 -7
- package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -1
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +6 -5
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListStandingAppointments.js +6 -5
- package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetFacility.d.ts +1 -0
- package/dist/commonjs/funcs/organizationsGetFacility.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGetFacility.js +1 -0
- package/dist/commonjs/funcs/organizationsGetFacility.js.map +1 -1
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.d.ts +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts +9 -2
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js +9 -2
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts +7 -1
- package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsCreateVendorCompany.js +7 -1
- package/dist/commonjs/funcs/vendorsCreateVendorCompany.js.map +1 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +9 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js +9 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +4 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +4 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.d.ts +4 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.js +4 -0
- package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts +3 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.js +3 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts +10 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js +10 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/zonesGetSecurityZone.d.ts +1 -0
- package/dist/commonjs/funcs/zonesGetSecurityZone.d.ts.map +1 -1
- package/dist/commonjs/funcs/zonesGetSecurityZone.js +1 -0
- package/dist/commonjs/funcs/zonesGetSecurityZone.js.map +1 -1
- package/dist/commonjs/funcs/zonesListOrSearchSecurityZones.d.ts +2 -0
- package/dist/commonjs/funcs/zonesListOrSearchSecurityZones.d.ts.map +1 -1
- package/dist/commonjs/funcs/zonesListOrSearchSecurityZones.js +6 -2
- package/dist/commonjs/funcs/zonesListOrSearchSecurityZones.js.map +1 -1
- package/dist/commonjs/index.extras.d.ts +20 -0
- package/dist/commonjs/index.extras.d.ts.map +1 -1
- package/dist/commonjs/index.extras.js +22 -0
- package/dist/commonjs/index.extras.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts +4 -0
- package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/authenticatesuccessresponse.js +2 -0
- package/dist/commonjs/models/components/authenticatesuccessresponse.js.map +1 -1
- package/dist/commonjs/models/components/devicecountpair.d.ts +28 -0
- package/dist/commonjs/models/components/devicecountpair.d.ts.map +1 -0
- package/dist/commonjs/models/components/devicecountpair.js +61 -0
- package/dist/commonjs/models/components/devicecountpair.js.map +1 -0
- package/dist/commonjs/models/components/devicecounts.d.ts +29 -0
- package/dist/commonjs/models/components/devicecounts.d.ts.map +1 -0
- package/dist/commonjs/models/components/devicecounts.js +61 -0
- package/dist/commonjs/models/components/devicecounts.js.map +1 -0
- package/dist/commonjs/models/components/event.d.ts +2 -2
- package/dist/commonjs/models/components/expand.d.ts +2 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +2 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/facility.d.ts +6 -0
- package/dist/commonjs/models/components/facility.d.ts.map +1 -1
- package/dist/commonjs/models/components/facility.js +5 -0
- package/dist/commonjs/models/components/facility.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invite.d.ts +40 -4
- package/dist/commonjs/models/components/invite.d.ts.map +1 -1
- package/dist/commonjs/models/components/invite.js +20 -0
- package/dist/commonjs/models/components/invite.js.map +1 -1
- package/dist/commonjs/models/components/user.d.ts +4 -0
- package/dist/commonjs/models/components/user.d.ts.map +1 -1
- package/dist/commonjs/models/components/user.js +2 -0
- package/dist/commonjs/models/components/user.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +12 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +4 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/commonjs/models/components/zone.d.ts +6 -0
- package/dist/commonjs/models/components/zone.d.ts.map +1 -1
- package/dist/commonjs/models/components/zone.js +5 -0
- package/dist/commonjs/models/components/zone.js.map +1 -1
- package/dist/commonjs/models/operations/listorsearchsecurityzones.d.ts +5 -0
- package/dist/commonjs/models/operations/listorsearchsecurityzones.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listorsearchsecurityzones.js +1 -0
- package/dist/commonjs/models/operations/listorsearchsecurityzones.js.map +1 -1
- package/dist/commonjs/react-query/companiesLookupCompanies.d.ts +12 -0
- package/dist/commonjs/react-query/companiesLookupCompanies.d.ts.map +1 -1
- package/dist/commonjs/react-query/companiesLookupCompanies.js +12 -0
- package/dist/commonjs/react-query/companiesLookupCompanies.js.map +1 -1
- package/dist/commonjs/react-query/eventsListFeed.d.ts +37 -33
- package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListFeed.js +37 -33
- package/dist/commonjs/react-query/eventsListFeed.js.map +1 -1
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +32 -28
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListPendingInvitations.js +32 -28
- package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -1
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +24 -20
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListStandingAppointments.js +24 -20
- package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -1
- package/dist/commonjs/react-query/organizationsGetFacility.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsGetFacility.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsGetFacility.js +2 -0
- package/dist/commonjs/react-query/organizationsGetFacility.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts +4 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js +4 -0
- package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts +9 -2
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.js +9 -2
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts +7 -1
- package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsCreateVendorCompany.js +7 -1
- package/dist/commonjs/react-query/vendorsCreateVendorCompany.js.map +1 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts +9 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.js +9 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +8 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +8 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCredentialHistory.d.ts +16 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialHistory.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsListVendorCredentialHistory.js +16 -0
- package/dist/commonjs/react-query/vendorsListVendorCredentialHistory.js.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts +3 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js +3 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts +10 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.js +10 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/react-query/zonesGetSecurityZone.d.ts +2 -0
- package/dist/commonjs/react-query/zonesGetSecurityZone.d.ts.map +1 -1
- package/dist/commonjs/react-query/zonesGetSecurityZone.js +2 -0
- package/dist/commonjs/react-query/zonesGetSecurityZone.js.map +1 -1
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.core.d.ts +2 -0
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.core.js +2 -0
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.core.js.map +1 -1
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.d.ts +10 -0
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.d.ts.map +1 -1
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.js +8 -0
- package/dist/commonjs/react-query/zonesListOrSearchSecurityZones.js.map +1 -1
- package/dist/commonjs/sdk/companies.d.ts +3 -0
- package/dist/commonjs/sdk/companies.d.ts.map +1 -1
- package/dist/commonjs/sdk/companies.js +3 -0
- package/dist/commonjs/sdk/companies.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +23 -20
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +23 -20
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/organizations.d.ts +2 -0
- package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.js +2 -0
- package/dist/commonjs/sdk/organizations.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +46 -6
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +47 -7
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/commonjs/sdk/zones.d.ts +3 -0
- package/dist/commonjs/sdk/zones.d.ts.map +1 -1
- package/dist/commonjs/sdk/zones.js +3 -0
- package/dist/commonjs/sdk/zones.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +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__/zoneDevicesList.test.d.ts +2 -0
- package/dist/esm/__tests__/zoneDevicesList.test.d.ts.map +1 -0
- package/dist/esm/__tests__/zoneDevicesList.test.js +29 -0
- package/dist/esm/__tests__/zoneDevicesList.test.js.map +1 -0
- package/dist/esm/__tests__/zones.test.js +10 -7
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/admin-funcs/vendorCredentialCreateFormQuote.d.ts +3 -0
- package/dist/esm/admin-funcs/vendorCredentialCreateFormQuote.d.ts.map +1 -0
- package/dist/esm/admin-funcs/vendorCredentialCreateFormQuote.js +6 -0
- package/dist/esm/admin-funcs/vendorCredentialCreateFormQuote.js.map +1 -0
- package/dist/esm/admin-funcs/vendorCredentialGetFormLineItems.d.ts +3 -0
- package/dist/esm/admin-funcs/vendorCredentialGetFormLineItems.d.ts.map +1 -0
- package/dist/esm/admin-funcs/vendorCredentialGetFormLineItems.js +6 -0
- package/dist/esm/admin-funcs/vendorCredentialGetFormLineItems.js.map +1 -0
- package/dist/esm/admin-funcs/zoneDevicesList.d.ts +1 -0
- package/dist/esm/admin-funcs/zoneDevicesList.d.ts.map +1 -1
- package/dist/esm/admin-funcs/zoneDevicesList.js +3 -0
- package/dist/esm/admin-funcs/zoneDevicesList.js.map +1 -1
- package/dist/esm/funcs/companiesLookupCompanies.d.ts +3 -0
- package/dist/esm/funcs/companiesLookupCompanies.d.ts.map +1 -1
- package/dist/esm/funcs/companiesLookupCompanies.js +3 -0
- package/dist/esm/funcs/companiesLookupCompanies.js.map +1 -1
- package/dist/esm/funcs/eventsListFeed.d.ts +9 -8
- package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListFeed.js +9 -8
- package/dist/esm/funcs/eventsListFeed.js.map +1 -1
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts +8 -7
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListPendingInvitations.js +8 -7
- package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -1
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts +6 -5
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListStandingAppointments.js +6 -5
- package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -1
- package/dist/esm/funcs/organizationsGetFacility.d.ts +1 -0
- package/dist/esm/funcs/organizationsGetFacility.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGetFacility.js +1 -0
- package/dist/esm/funcs/organizationsGetFacility.js.map +1 -1
- package/dist/esm/funcs/organizationsListOrSearchFacilities.d.ts +1 -0
- package/dist/esm/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js +1 -0
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts +9 -2
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js +9 -2
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts +7 -1
- package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsCreateVendorCompany.js +7 -1
- package/dist/esm/funcs/vendorsCreateVendorCompany.js.map +1 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +9 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js +9 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +4 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +4 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCredentialHistory.d.ts +4 -0
- package/dist/esm/funcs/vendorsListVendorCredentialHistory.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCredentialHistory.js +4 -0
- package/dist/esm/funcs/vendorsListVendorCredentialHistory.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts +3 -1
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.js +3 -1
- package/dist/esm/funcs/vendorsUpdateVendorCustomField.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts +10 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js +10 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/zonesGetSecurityZone.d.ts +1 -0
- package/dist/esm/funcs/zonesGetSecurityZone.d.ts.map +1 -1
- package/dist/esm/funcs/zonesGetSecurityZone.js +1 -0
- package/dist/esm/funcs/zonesGetSecurityZone.js.map +1 -1
- package/dist/esm/funcs/zonesListOrSearchSecurityZones.d.ts +2 -0
- package/dist/esm/funcs/zonesListOrSearchSecurityZones.d.ts.map +1 -1
- package/dist/esm/funcs/zonesListOrSearchSecurityZones.js +7 -3
- package/dist/esm/funcs/zonesListOrSearchSecurityZones.js.map +1 -1
- package/dist/esm/index.extras.d.ts +20 -0
- package/dist/esm/index.extras.d.ts.map +1 -1
- package/dist/esm/index.extras.js +22 -0
- package/dist/esm/index.extras.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/authenticatesuccessresponse.d.ts +4 -0
- package/dist/esm/models/components/authenticatesuccessresponse.d.ts.map +1 -1
- package/dist/esm/models/components/authenticatesuccessresponse.js +2 -0
- package/dist/esm/models/components/authenticatesuccessresponse.js.map +1 -1
- package/dist/esm/models/components/devicecountpair.d.ts +28 -0
- package/dist/esm/models/components/devicecountpair.d.ts.map +1 -0
- package/dist/esm/models/components/devicecountpair.js +23 -0
- package/dist/esm/models/components/devicecountpair.js.map +1 -0
- package/dist/esm/models/components/devicecounts.d.ts +29 -0
- package/dist/esm/models/components/devicecounts.d.ts.map +1 -0
- package/dist/esm/models/components/devicecounts.js +23 -0
- package/dist/esm/models/components/devicecounts.js.map +1 -0
- package/dist/esm/models/components/event.d.ts +2 -2
- package/dist/esm/models/components/expand.d.ts +2 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +2 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/facility.d.ts +6 -0
- package/dist/esm/models/components/facility.d.ts.map +1 -1
- package/dist/esm/models/components/facility.js +5 -0
- package/dist/esm/models/components/facility.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invite.d.ts +40 -4
- package/dist/esm/models/components/invite.d.ts.map +1 -1
- package/dist/esm/models/components/invite.js +20 -0
- package/dist/esm/models/components/invite.js.map +1 -1
- package/dist/esm/models/components/user.d.ts +4 -0
- package/dist/esm/models/components/user.d.ts.map +1 -1
- package/dist/esm/models/components/user.js +2 -0
- package/dist/esm/models/components/user.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +12 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +4 -0
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/models/components/zone.d.ts +6 -0
- package/dist/esm/models/components/zone.d.ts.map +1 -1
- package/dist/esm/models/components/zone.js +5 -0
- package/dist/esm/models/components/zone.js.map +1 -1
- package/dist/esm/models/operations/listorsearchsecurityzones.d.ts +5 -0
- package/dist/esm/models/operations/listorsearchsecurityzones.d.ts.map +1 -1
- package/dist/esm/models/operations/listorsearchsecurityzones.js +1 -0
- package/dist/esm/models/operations/listorsearchsecurityzones.js.map +1 -1
- package/dist/esm/react-query/companiesLookupCompanies.d.ts +12 -0
- package/dist/esm/react-query/companiesLookupCompanies.d.ts.map +1 -1
- package/dist/esm/react-query/companiesLookupCompanies.js +12 -0
- package/dist/esm/react-query/companiesLookupCompanies.js.map +1 -1
- package/dist/esm/react-query/eventsListFeed.d.ts +37 -33
- package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListFeed.js +37 -33
- package/dist/esm/react-query/eventsListFeed.js.map +1 -1
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts +32 -28
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListPendingInvitations.js +32 -28
- package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -1
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts +24 -20
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListStandingAppointments.js +24 -20
- package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -1
- package/dist/esm/react-query/organizationsGetFacility.d.ts +2 -0
- package/dist/esm/react-query/organizationsGetFacility.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsGetFacility.js +2 -0
- package/dist/esm/react-query/organizationsGetFacility.js.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts +4 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListOrSearchFacilities.js +4 -0
- package/dist/esm/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts +9 -2
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.js +9 -2
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts +7 -1
- package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsCreateVendorCompany.js +7 -1
- package/dist/esm/react-query/vendorsCreateVendorCompany.js.map +1 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts +9 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.js +9 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +8 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +8 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCredentialHistory.d.ts +16 -0
- package/dist/esm/react-query/vendorsListVendorCredentialHistory.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsListVendorCredentialHistory.js +16 -0
- package/dist/esm/react-query/vendorsListVendorCredentialHistory.js.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts +3 -1
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.js +3 -1
- package/dist/esm/react-query/vendorsUpdateVendorCustomField.js.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts +10 -1
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.js +10 -1
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/esm/react-query/zonesGetSecurityZone.d.ts +2 -0
- package/dist/esm/react-query/zonesGetSecurityZone.d.ts.map +1 -1
- package/dist/esm/react-query/zonesGetSecurityZone.js +2 -0
- package/dist/esm/react-query/zonesGetSecurityZone.js.map +1 -1
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.core.d.ts +2 -0
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.core.d.ts.map +1 -1
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.core.js +2 -0
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.core.js.map +1 -1
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.d.ts +10 -0
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.d.ts.map +1 -1
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.js +8 -0
- package/dist/esm/react-query/zonesListOrSearchSecurityZones.js.map +1 -1
- package/dist/esm/sdk/companies.d.ts +3 -0
- package/dist/esm/sdk/companies.d.ts.map +1 -1
- package/dist/esm/sdk/companies.js +3 -0
- package/dist/esm/sdk/companies.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +23 -20
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +23 -20
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/organizations.d.ts +2 -0
- package/dist/esm/sdk/organizations.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.js +2 -0
- package/dist/esm/sdk/organizations.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +46 -6
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +47 -7
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/dist/esm/sdk/zones.d.ts +3 -0
- package/dist/esm/sdk/zones.d.ts.map +1 -1
- package/dist/esm/sdk/zones.js +3 -0
- package/dist/esm/sdk/zones.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendors.test.ts +1 -1
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zoneDevicesList.test.ts +37 -0
- package/src/__tests__/zones.test.ts +10 -7
- package/src/admin-funcs/vendorCredentialCreateFormQuote.ts +12 -0
- package/src/admin-funcs/vendorCredentialGetFormLineItems.ts +12 -0
- package/src/admin-funcs/zoneDevicesList.ts +4 -0
- package/src/funcs/companiesLookupCompanies.ts +3 -0
- package/src/funcs/eventsListFeed.ts +9 -8
- package/src/funcs/eventsListPendingInvitations.ts +8 -7
- package/src/funcs/eventsListStandingAppointments.ts +6 -5
- package/src/funcs/organizationsGetFacility.ts +1 -0
- package/src/funcs/organizationsListOrSearchFacilities.ts +1 -0
- package/src/funcs/vendorsAddVendorManagedByCompany.ts +9 -2
- package/src/funcs/vendorsCreateVendorCompany.ts +7 -1
- package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +9 -1
- package/src/funcs/vendorsGetVendorCredentialDetails.ts +4 -0
- package/src/funcs/vendorsListVendorCredentialHistory.ts +4 -0
- package/src/funcs/vendorsUpdateVendorCustomField.ts +3 -1
- package/src/funcs/vendorsUpdateVendorManagedByCompany.ts +10 -1
- package/src/funcs/zonesGetSecurityZone.ts +1 -0
- package/src/funcs/zonesListOrSearchSecurityZones.ts +20 -13
- package/src/index.extras.ts +25 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/authenticatesuccessresponse.ts +6 -0
- package/src/models/components/devicecountpair.ts +63 -0
- package/src/models/components/devicecounts.ts +66 -0
- package/src/models/components/event.ts +2 -2
- package/src/models/components/expand.ts +2 -0
- package/src/models/components/facility.ts +15 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/invite.ts +60 -4
- package/src/models/components/user.ts +6 -0
- package/src/models/components/vendorcredentialsummary.ts +16 -0
- package/src/models/components/zone.ts +15 -0
- package/src/models/operations/listorsearchsecurityzones.ts +6 -0
- package/src/react-query/companiesLookupCompanies.ts +12 -0
- package/src/react-query/eventsListFeed.ts +36 -32
- package/src/react-query/eventsListPendingInvitations.ts +32 -28
- package/src/react-query/eventsListStandingAppointments.ts +24 -20
- package/src/react-query/organizationsGetFacility.ts +2 -0
- package/src/react-query/organizationsListOrSearchFacilities.ts +4 -0
- package/src/react-query/vendorsAddVendorManagedByCompany.ts +9 -2
- package/src/react-query/vendorsCreateVendorCompany.ts +7 -1
- package/src/react-query/vendorsDeleteVendorManagedByCompany.ts +9 -1
- package/src/react-query/vendorsGetVendorCredentialDetails.ts +8 -0
- package/src/react-query/vendorsListVendorCredentialHistory.ts +16 -0
- package/src/react-query/vendorsUpdateVendorCustomField.ts +3 -1
- package/src/react-query/vendorsUpdateVendorManagedByCompany.ts +10 -1
- package/src/react-query/zonesGetSecurityZone.ts +2 -0
- package/src/react-query/zonesListOrSearchSecurityZones.core.ts +4 -0
- package/src/react-query/zonesListOrSearchSecurityZones.ts +10 -0
- package/src/sdk/companies.ts +3 -0
- package/src/sdk/events.ts +23 -20
- package/src/sdk/organizations.ts +2 -0
- package/src/sdk/vendors.ts +47 -7
- package/src/sdk/zones.ts +3 -0
|
@@ -17,6 +17,12 @@ import {
|
|
|
17
17
|
Contact$Outbound,
|
|
18
18
|
Contact$outboundSchema,
|
|
19
19
|
} from "./contact.js";
|
|
20
|
+
import {
|
|
21
|
+
DeviceCounts,
|
|
22
|
+
DeviceCounts$inboundSchema,
|
|
23
|
+
DeviceCounts$Outbound,
|
|
24
|
+
DeviceCounts$outboundSchema,
|
|
25
|
+
} from "./devicecounts.js";
|
|
20
26
|
import {
|
|
21
27
|
FacilityVendorType,
|
|
22
28
|
FacilityVendorType$inboundSchema,
|
|
@@ -404,6 +410,10 @@ export type Facility = {
|
|
|
404
410
|
* Counts of vendors associated with the facility, grouped by relationship, subscription status, and approval status. Present only when `facility.vendor_counts` is in `expand`.
|
|
405
411
|
*/
|
|
406
412
|
vendorCounts?: VendorCounts | null | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Gateway and iPad kiosk totals across the facility's zones. Present only when `facility.device_counts` is in `expand` and the caller holds `zone_devices.view`, otherwise `null`.
|
|
415
|
+
*/
|
|
416
|
+
deviceCounts?: DeviceCounts | null | undefined;
|
|
407
417
|
/**
|
|
408
418
|
* The email domain associated with the facility, or `null` if none is set.
|
|
409
419
|
*/
|
|
@@ -1292,6 +1302,7 @@ export const Facility$inboundSchema: z.ZodType<
|
|
|
1292
1302
|
contacts: z.nullable(z.lazy(() => Contacts$inboundSchema)).optional(),
|
|
1293
1303
|
vendor_counts: z.nullable(z.lazy(() => VendorCounts$inboundSchema))
|
|
1294
1304
|
.optional(),
|
|
1305
|
+
device_counts: z.nullable(DeviceCounts$inboundSchema).optional(),
|
|
1295
1306
|
email_domain: z.nullable(types.string()).optional(),
|
|
1296
1307
|
facility_type: z.nullable(types.string()).optional(),
|
|
1297
1308
|
flu_credential: types.optional(z.lazy(() => FluCredential$inboundSchema)),
|
|
@@ -1319,6 +1330,7 @@ export const Facility$inboundSchema: z.ZodType<
|
|
|
1319
1330
|
return remap$(v, {
|
|
1320
1331
|
"appointment_policy": "appointmentPolicy",
|
|
1321
1332
|
"vendor_counts": "vendorCounts",
|
|
1333
|
+
"device_counts": "deviceCounts",
|
|
1322
1334
|
"email_domain": "emailDomain",
|
|
1323
1335
|
"facility_type": "facilityType",
|
|
1324
1336
|
"flu_credential": "fluCredential",
|
|
@@ -1335,6 +1347,7 @@ export type Facility$Outbound = {
|
|
|
1335
1347
|
appointment_policy?: AppointmentPolicy$Outbound | null | undefined;
|
|
1336
1348
|
contacts?: Contacts$Outbound | null | undefined;
|
|
1337
1349
|
vendor_counts?: VendorCounts$Outbound | null | undefined;
|
|
1350
|
+
device_counts?: DeviceCounts$Outbound | null | undefined;
|
|
1338
1351
|
email_domain?: string | null | undefined;
|
|
1339
1352
|
facility_type?: string | null | undefined;
|
|
1340
1353
|
flu_credential?: FluCredential$Outbound | undefined;
|
|
@@ -1364,6 +1377,7 @@ export const Facility$outboundSchema: z.ZodType<
|
|
|
1364
1377
|
contacts: z.nullable(z.lazy(() => Contacts$outboundSchema)).optional(),
|
|
1365
1378
|
vendorCounts: z.nullable(z.lazy(() => VendorCounts$outboundSchema))
|
|
1366
1379
|
.optional(),
|
|
1380
|
+
deviceCounts: z.nullable(DeviceCounts$outboundSchema).optional(),
|
|
1367
1381
|
emailDomain: z.nullable(z.string()).optional(),
|
|
1368
1382
|
facilityType: z.nullable(z.string()).optional(),
|
|
1369
1383
|
fluCredential: z.lazy(() => FluCredential$outboundSchema).optional(),
|
|
@@ -1390,6 +1404,7 @@ export const Facility$outboundSchema: z.ZodType<
|
|
|
1390
1404
|
return remap$(v, {
|
|
1391
1405
|
appointmentPolicy: "appointment_policy",
|
|
1392
1406
|
vendorCounts: "vendor_counts",
|
|
1407
|
+
deviceCounts: "device_counts",
|
|
1393
1408
|
emailDomain: "email_domain",
|
|
1394
1409
|
facilityType: "facility_type",
|
|
1395
1410
|
fluCredential: "flu_credential",
|
|
@@ -30,6 +30,8 @@ export * from "./department.js";
|
|
|
30
30
|
export * from "./departmentmembership.js";
|
|
31
31
|
export * from "./departmentsummary.js";
|
|
32
32
|
export * from "./desc.js";
|
|
33
|
+
export * from "./devicecountpair.js";
|
|
34
|
+
export * from "./devicecounts.js";
|
|
33
35
|
export * from "./distributor.js";
|
|
34
36
|
export * from "./distributorcreate.js";
|
|
35
37
|
export * from "./distributorupdate.js";
|
|
@@ -21,10 +21,42 @@ export type Event2 = {
|
|
|
21
21
|
* The name of the event, or `null` if not set.
|
|
22
22
|
*/
|
|
23
23
|
name: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Start date and time in UTC (ISO 8601 format, for example, 2026-02-23T14:00:00Z). `null` if not set.
|
|
26
|
+
*/
|
|
27
|
+
start?: string | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* End date and time in UTC (ISO 8601 format, for example, 2026-02-23T15:00:00Z). `null` if not set.
|
|
30
|
+
*/
|
|
31
|
+
end?: string | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the appointment lasts all day, or `null` if not set.
|
|
34
|
+
*/
|
|
35
|
+
allDay?: boolean | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the appointment is a standing appointment, or `null` if not set.
|
|
38
|
+
*/
|
|
39
|
+
standingAppt?: boolean | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Notes about the appointment, or `null` if there are none.
|
|
42
|
+
*/
|
|
43
|
+
notes?: string | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* "Facility - Department", or the facility alone for an appointment with no department. Populated when the request passes `event.location` to `expand`.
|
|
46
|
+
*/
|
|
47
|
+
location?: string | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The organizer's name, qualified by their company or facility. Populated when the request passes `event.creator` to `expand`.
|
|
50
|
+
*/
|
|
51
|
+
eventCreator?: string | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* The URL of the organizer's thumbnail image. Populated when the request passes `event.creator` to `expand`; `null` without it, or when the organizer has no image.
|
|
54
|
+
*/
|
|
55
|
+
eventCreatorImgUrl?: string | null | undefined;
|
|
24
56
|
};
|
|
25
57
|
|
|
26
58
|
/**
|
|
27
|
-
* The event id, or a summary when the request passes `invite.event` to `expand`.
|
|
59
|
+
* The event id, or a summary when the request passes `invite.event` to `expand`. The summary carries the appointment's dates, flags and notes. `location` is populated when the request also passes `event.location`, and `event_creator` and `event_creator_img_url` when it passes `event.creator`; otherwise they are `null`.
|
|
28
60
|
*/
|
|
29
61
|
export type InviteEvent = Event2 | number;
|
|
30
62
|
|
|
@@ -70,14 +102,18 @@ export type Invitee = {
|
|
|
70
102
|
* The type of the invitee: `user`, `department`, or `company`.
|
|
71
103
|
*/
|
|
72
104
|
type?: InviteType | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* The URL of the invitee's thumbnail image. `null` for a department or company invitation, and for a user who has no image.
|
|
107
|
+
*/
|
|
108
|
+
imgUrl?: string | null | undefined;
|
|
73
109
|
};
|
|
74
110
|
|
|
75
111
|
/**
|
|
76
|
-
* An invitation to an appointment, in the shape served to SDK builds `0.
|
|
112
|
+
* An invitation to an appointment, in the shape served to SDK builds `0.46.0-beta.1` and above. SDK builds below `0.46.0-beta.1` receive `PendingInvitation` instead.
|
|
77
113
|
*
|
|
78
114
|
* @remarks
|
|
79
115
|
*
|
|
80
|
-
* The boundary is the prerelease build `0.
|
|
116
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release. The server compares the build to it by semantic-version ordering. A prerelease sorts before its own release. So `0.46.0-beta.1` itself, every later prerelease (`0.46.0-beta.2`, `0.46.0-rc.1`) and every release from `0.46.0` up receive this shape, while an earlier prerelease of the same release—`0.46.0-alpha.1`—does not.
|
|
81
117
|
*/
|
|
82
118
|
export type Invite = {
|
|
83
119
|
/**
|
|
@@ -85,7 +121,7 @@ export type Invite = {
|
|
|
85
121
|
*/
|
|
86
122
|
id?: number | undefined;
|
|
87
123
|
/**
|
|
88
|
-
* The event id, or a summary when the request passes `invite.event` to `expand`.
|
|
124
|
+
* The event id, or a summary when the request passes `invite.event` to `expand`. The summary carries the appointment's dates, flags and notes. `location` is populated when the request also passes `event.location`, and `event_creator` and `event_creator_img_url` when it passes `event.creator`; otherwise they are `null`.
|
|
89
125
|
*/
|
|
90
126
|
event?: Event2 | number | undefined;
|
|
91
127
|
/**
|
|
@@ -119,6 +155,21 @@ export const Event2$inboundSchema: z.ZodType<Event2, z.ZodTypeDef, unknown> = z
|
|
|
119
155
|
.object({
|
|
120
156
|
id: types.number(),
|
|
121
157
|
name: types.nullable(types.string()),
|
|
158
|
+
start: z.nullable(types.string()).optional(),
|
|
159
|
+
end: z.nullable(types.string()).optional(),
|
|
160
|
+
all_day: z.nullable(types.boolean()).optional(),
|
|
161
|
+
standing_appt: z.nullable(types.boolean()).optional(),
|
|
162
|
+
notes: z.nullable(types.string()).optional(),
|
|
163
|
+
location: z.nullable(types.string()).optional(),
|
|
164
|
+
event_creator: z.nullable(types.string()).optional(),
|
|
165
|
+
event_creator_img_url: z.nullable(types.string()).optional(),
|
|
166
|
+
}).transform((v) => {
|
|
167
|
+
return remap$(v, {
|
|
168
|
+
"all_day": "allDay",
|
|
169
|
+
"standing_appt": "standingAppt",
|
|
170
|
+
"event_creator": "eventCreator",
|
|
171
|
+
"event_creator_img_url": "eventCreatorImgUrl",
|
|
172
|
+
});
|
|
122
173
|
});
|
|
123
174
|
|
|
124
175
|
export function event2FromJSON(
|
|
@@ -168,6 +219,11 @@ export const Invitee$inboundSchema: z.ZodType<Invitee, z.ZodTypeDef, unknown> =
|
|
|
168
219
|
id: types.optional(types.number()),
|
|
169
220
|
name: z.nullable(types.string()).optional(),
|
|
170
221
|
type: types.optional(InviteType$inboundSchema),
|
|
222
|
+
img_url: z.nullable(types.string()).optional(),
|
|
223
|
+
}).transform((v) => {
|
|
224
|
+
return remap$(v, {
|
|
225
|
+
"img_url": "imgUrl",
|
|
226
|
+
});
|
|
171
227
|
});
|
|
172
228
|
|
|
173
229
|
export function inviteeFromJSON(
|
|
@@ -50,6 +50,10 @@ export type InventoryManager = {};
|
|
|
50
50
|
* The User object describes a person or service account.
|
|
51
51
|
*/
|
|
52
52
|
export type User = {
|
|
53
|
+
/**
|
|
54
|
+
* Whether the user may manage zone devices (the `zone_devices.view` permission, which the Zone Device Managers role grants). Returned only when the caller requests their own record.
|
|
55
|
+
*/
|
|
56
|
+
canManageZoneDevices?: boolean | undefined;
|
|
53
57
|
/**
|
|
54
58
|
* Whether the user is a `gatekeeper`, a special type of service user assigned to Kiosks and Apps to verify vendors using APIs that have some access to facility data.
|
|
55
59
|
*/
|
|
@@ -135,6 +139,7 @@ export function inventoryManagerFromJSON(
|
|
|
135
139
|
/** @internal */
|
|
136
140
|
export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
|
|
137
141
|
.object({
|
|
142
|
+
can_manage_zone_devices: types.optional(types.boolean()),
|
|
138
143
|
is_gatekeeper: types.optional(types.boolean()),
|
|
139
144
|
success: types.boolean(),
|
|
140
145
|
user: UserDetails$inboundSchema,
|
|
@@ -147,6 +152,7 @@ export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
|
|
|
147
152
|
company: z.nullable(Company$inboundSchema).optional(),
|
|
148
153
|
}).transform((v) => {
|
|
149
154
|
return remap$(v, {
|
|
155
|
+
"can_manage_zone_devices": "canManageZoneDevices",
|
|
150
156
|
"is_gatekeeper": "isGatekeeper",
|
|
151
157
|
"user_token": "userToken",
|
|
152
158
|
"inventory_manager": "inventoryManager",
|
|
@@ -171,6 +171,7 @@ export type VendorCredentialSummary = {
|
|
|
171
171
|
* The date from which the vendor credential is valid, or `null` if not set.
|
|
172
172
|
*/
|
|
173
173
|
dateValid?: string | null | undefined;
|
|
174
|
+
dateSubmittedPendingPayment?: string | null | undefined;
|
|
174
175
|
/**
|
|
175
176
|
* Free-form notes about the vendor credential, or `null` if there are none.
|
|
176
177
|
*/
|
|
@@ -191,6 +192,17 @@ export type VendorCredentialSummary = {
|
|
|
191
192
|
* Whether the credential applies to the vendor's whole company instead of the individual vendor, or `null` if unknown.
|
|
192
193
|
*/
|
|
193
194
|
appliesToCompany?: boolean | null | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* Only populated on GET .../history; omitted everywhere else this schema is used (e.g.
|
|
197
|
+
*
|
|
198
|
+
* @remarks
|
|
199
|
+
* GET .../credentials/:id). Whether the currently logged in user is the one who first
|
|
200
|
+
* submitted this version (the vendor themselves, or the company manager who acted on
|
|
201
|
+
* their behalf) - not whether they most recently touched it. `false` also covers a
|
|
202
|
+
* version whose submitter could not be determined (it predates this field and a one-time
|
|
203
|
+
* backfill from older data found no match), not only one submitted by someone else.
|
|
204
|
+
*/
|
|
205
|
+
submittedByCurrentUser?: boolean | undefined;
|
|
194
206
|
/**
|
|
195
207
|
* The credential this vendor credential is for, as an object or as its ID.
|
|
196
208
|
*/
|
|
@@ -470,11 +482,13 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
|
|
|
470
482
|
date_expires: z.nullable(types.string()).optional(),
|
|
471
483
|
date_expedited: z.nullable(types.string()).optional(),
|
|
472
484
|
date_valid: z.nullable(types.string()).optional(),
|
|
485
|
+
date_submitted_pending_payment: z.nullable(types.string()).optional(),
|
|
473
486
|
notes: z.nullable(types.string()).optional(),
|
|
474
487
|
json_data: z.nullable(types.string()).optional(),
|
|
475
488
|
filename: z.nullable(types.string()).optional(),
|
|
476
489
|
alternate_id: z.nullable(types.number()).optional(),
|
|
477
490
|
applies_to_company: z.nullable(types.boolean()).optional(),
|
|
491
|
+
submitted_by_current_user: types.optional(types.boolean()),
|
|
478
492
|
credential: z.nullable(smartUnion([Credential$inboundSchema, types.number()]))
|
|
479
493
|
.optional(),
|
|
480
494
|
vendor: z.nullable(smartUnion([Vendor$inboundSchema, types.number()]))
|
|
@@ -522,9 +536,11 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
|
|
|
522
536
|
"date_expires": "dateExpires",
|
|
523
537
|
"date_expedited": "dateExpedited",
|
|
524
538
|
"date_valid": "dateValid",
|
|
539
|
+
"date_submitted_pending_payment": "dateSubmittedPendingPayment",
|
|
525
540
|
"json_data": "jsonData",
|
|
526
541
|
"alternate_id": "alternateId",
|
|
527
542
|
"applies_to_company": "appliesToCompany",
|
|
543
|
+
"submitted_by_current_user": "submittedByCurrentUser",
|
|
528
544
|
"vendor_credential_files": "vendorCredentialFiles",
|
|
529
545
|
"latest_vendor_credential_id": "latestVendorCredentialId",
|
|
530
546
|
"previously_approved": "previouslyApproved",
|
|
@@ -15,6 +15,12 @@ import {
|
|
|
15
15
|
Department$Outbound,
|
|
16
16
|
Department$outboundSchema,
|
|
17
17
|
} from "./department.js";
|
|
18
|
+
import {
|
|
19
|
+
DeviceCounts,
|
|
20
|
+
DeviceCounts$inboundSchema,
|
|
21
|
+
DeviceCounts$Outbound,
|
|
22
|
+
DeviceCounts$outboundSchema,
|
|
23
|
+
} from "./devicecounts.js";
|
|
18
24
|
import {
|
|
19
25
|
Facility,
|
|
20
26
|
Facility$inboundSchema,
|
|
@@ -287,6 +293,10 @@ export type Zone = {
|
|
|
287
293
|
* The department the zone belongs to. Contains the full department when you expand `zone.department`, otherwise the department ID.
|
|
288
294
|
*/
|
|
289
295
|
department?: Department | number | null | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* Gateway and iPad kiosk totals in the zone. Present only when `zone.device_counts` is in `expand` and the caller holds `zone_devices.view`, otherwise `null`.
|
|
298
|
+
*/
|
|
299
|
+
deviceCounts?: DeviceCounts | null | undefined;
|
|
290
300
|
/**
|
|
291
301
|
* The name of the zone, or `null` if not set.
|
|
292
302
|
*/
|
|
@@ -936,6 +946,7 @@ export const Zone$inboundSchema: z.ZodType<Zone, z.ZodTypeDef, unknown> = z
|
|
|
936
946
|
department: z.nullable(
|
|
937
947
|
smartUnion([Department$inboundSchema, types.number()]),
|
|
938
948
|
).optional(),
|
|
949
|
+
device_counts: z.nullable(DeviceCounts$inboundSchema).optional(),
|
|
939
950
|
name: z.nullable(types.string()).optional(),
|
|
940
951
|
short_name: z.nullable(types.string()).optional(),
|
|
941
952
|
description: z.nullable(types.string()).optional(),
|
|
@@ -960,6 +971,7 @@ export const Zone$inboundSchema: z.ZodType<Zone, z.ZodTypeDef, unknown> = z
|
|
|
960
971
|
),
|
|
961
972
|
}).transform((v) => {
|
|
962
973
|
return remap$(v, {
|
|
974
|
+
"device_counts": "deviceCounts",
|
|
963
975
|
"short_name": "shortName",
|
|
964
976
|
"kiosk_offline_notification": "kioskOfflineNotification",
|
|
965
977
|
"vendor_policy": "vendorPolicy",
|
|
@@ -974,6 +986,7 @@ export type Zone$Outbound = {
|
|
|
974
986
|
id?: number | undefined;
|
|
975
987
|
facility?: Facility$Outbound | Facility2$Outbound | null | undefined;
|
|
976
988
|
department?: Department$Outbound | number | null | undefined;
|
|
989
|
+
device_counts?: DeviceCounts$Outbound | null | undefined;
|
|
977
990
|
name?: string | null | undefined;
|
|
978
991
|
short_name?: string | null | undefined;
|
|
979
992
|
description?: string | null | undefined;
|
|
@@ -1002,6 +1015,7 @@ export const Zone$outboundSchema: z.ZodType<Zone$Outbound, z.ZodTypeDef, Zone> =
|
|
|
1002
1015
|
department: z.nullable(
|
|
1003
1016
|
smartUnion([Department$outboundSchema, z.number().int()]),
|
|
1004
1017
|
).optional(),
|
|
1018
|
+
deviceCounts: z.nullable(DeviceCounts$outboundSchema).optional(),
|
|
1005
1019
|
name: z.nullable(z.string()).optional(),
|
|
1006
1020
|
shortName: z.nullable(z.string()).optional(),
|
|
1007
1021
|
description: z.nullable(z.string()).optional(),
|
|
@@ -1022,6 +1036,7 @@ export const Zone$outboundSchema: z.ZodType<Zone$Outbound, z.ZodTypeDef, Zone> =
|
|
|
1022
1036
|
gpsCheckinPolicy: z.lazy(() => GpsCheckinPolicy$outboundSchema).optional(),
|
|
1023
1037
|
}).transform((v) => {
|
|
1024
1038
|
return remap$(v, {
|
|
1039
|
+
deviceCounts: "device_counts",
|
|
1025
1040
|
shortName: "short_name",
|
|
1026
1041
|
kioskOfflineNotification: "kiosk_offline_notification",
|
|
1027
1042
|
vendorPolicy: "vendor_policy",
|
|
@@ -38,6 +38,10 @@ export type ListOrSearchSecurityZonesRequest = {
|
|
|
38
38
|
* A partial string to search in the object name. Do not include any wildcard characters. Searches are not case-sensitive by default.
|
|
39
39
|
*/
|
|
40
40
|
nameLike?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
|
|
43
|
+
*/
|
|
44
|
+
expand?: Array<components.Expand> | undefined;
|
|
41
45
|
/**
|
|
42
46
|
* The `contact_id` value.
|
|
43
47
|
*/
|
|
@@ -76,6 +80,7 @@ export type ListOrSearchSecurityZonesRequest$Outbound = {
|
|
|
76
80
|
latitude?: number | undefined;
|
|
77
81
|
longitude?: number | undefined;
|
|
78
82
|
name_like?: string | undefined;
|
|
83
|
+
expand?: Array<string> | undefined;
|
|
79
84
|
contact_id?: number | undefined;
|
|
80
85
|
facility_id?: number | undefined;
|
|
81
86
|
green_location_id?: number | undefined;
|
|
@@ -94,6 +99,7 @@ export const ListOrSearchSecurityZonesRequest$outboundSchema: z.ZodType<
|
|
|
94
99
|
latitude: z.number().optional(),
|
|
95
100
|
longitude: z.number().optional(),
|
|
96
101
|
nameLike: z.string().optional(),
|
|
102
|
+
expand: z.array(components.Expand$outboundSchema).optional(),
|
|
97
103
|
contactId: z.number().optional(),
|
|
98
104
|
facilityId: z.number().optional(),
|
|
99
105
|
greenLocationId: z.number().optional(),
|
|
@@ -77,6 +77,9 @@ export type CompaniesLookupCompaniesQueryError =
|
|
|
77
77
|
* @remarks
|
|
78
78
|
* Lists companies available to the caller as minimal lookup summaries for list and typeahead UIs.
|
|
79
79
|
*
|
|
80
|
+
* For a vendor, the list holds the active companies on the vendor's site: the companies the
|
|
81
|
+
* vendor can add as managing companies. Other callers see the companies they can view.
|
|
82
|
+
*
|
|
80
83
|
* **Permissions.** Requires the `companies.view` permission.
|
|
81
84
|
*/
|
|
82
85
|
export function useCompaniesLookupCompanies(
|
|
@@ -106,6 +109,9 @@ export function useCompaniesLookupCompanies(
|
|
|
106
109
|
* @remarks
|
|
107
110
|
* Lists companies available to the caller as minimal lookup summaries for list and typeahead UIs.
|
|
108
111
|
*
|
|
112
|
+
* For a vendor, the list holds the active companies on the vendor's site: the companies the
|
|
113
|
+
* vendor can add as managing companies. Other callers see the companies they can view.
|
|
114
|
+
*
|
|
109
115
|
* **Permissions.** Requires the `companies.view` permission.
|
|
110
116
|
*/
|
|
111
117
|
export function useCompaniesLookupCompaniesSuspense(
|
|
@@ -135,6 +141,9 @@ export function useCompaniesLookupCompaniesSuspense(
|
|
|
135
141
|
* @remarks
|
|
136
142
|
* Lists companies available to the caller as minimal lookup summaries for list and typeahead UIs.
|
|
137
143
|
*
|
|
144
|
+
* For a vendor, the list holds the active companies on the vendor's site: the companies the
|
|
145
|
+
* vendor can add as managing companies. Other callers see the companies they can view.
|
|
146
|
+
*
|
|
138
147
|
* **Permissions.** Requires the `companies.view` permission.
|
|
139
148
|
*/
|
|
140
149
|
export function useCompaniesLookupCompaniesInfinite(
|
|
@@ -178,6 +187,9 @@ export function useCompaniesLookupCompaniesInfinite(
|
|
|
178
187
|
* @remarks
|
|
179
188
|
* Lists companies available to the caller as minimal lookup summaries for list and typeahead UIs.
|
|
180
189
|
*
|
|
190
|
+
* For a vendor, the list holds the active companies on the vendor's site: the companies the
|
|
191
|
+
* vendor can add as managing companies. Other callers see the companies they can view.
|
|
192
|
+
*
|
|
181
193
|
* **Permissions.** Requires the `companies.view` permission.
|
|
182
194
|
*/
|
|
183
195
|
export function useCompaniesLookupCompaniesInfiniteSuspense(
|
|
@@ -80,15 +80,16 @@ export type EventsListFeedQueryError =
|
|
|
80
80
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission.
|
|
81
81
|
* The caller's role and their relationship to the record decide what the response includes.
|
|
82
82
|
*
|
|
83
|
-
* Returns `Event` items with the `event.creator
|
|
84
|
-
* so the server populates `event_creator`,
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
83
|
+
* Returns `Event` items with the `event.creator`, `event.invitees`, `event.facility` and
|
|
84
|
+
* `event.department` scopes already applied, so the server populates `event_creator`,
|
|
85
|
+
* `event_creator_img_url` and `invitees`, and `facility` and `department` are `{ id, name }`
|
|
86
|
+
* summaries—the fields this feed has always carried. SDK builds below `0.46.0-beta.1`
|
|
87
|
+
* receive the older `Feed` shape instead, in which `facility` and `department` are name
|
|
88
|
+
* strings, not ids; the server chooses by the `X-SDK-User-Agent` header the SDK sends, so an
|
|
89
|
+
* existing client keeps the shape it was generated against until you regenerate it.
|
|
89
90
|
*
|
|
90
|
-
* The boundary is the prerelease build `0.
|
|
91
|
-
* `0.
|
|
91
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
92
|
+
* `0.46.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how the server compares a
|
|
92
93
|
* build against it.
|
|
93
94
|
*/
|
|
94
95
|
export function useEventsListFeed(
|
|
@@ -115,15 +116,16 @@ export function useEventsListFeed(
|
|
|
115
116
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission.
|
|
116
117
|
* The caller's role and their relationship to the record decide what the response includes.
|
|
117
118
|
*
|
|
118
|
-
* Returns `Event` items with the `event.creator
|
|
119
|
-
* so the server populates `event_creator`,
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
119
|
+
* Returns `Event` items with the `event.creator`, `event.invitees`, `event.facility` and
|
|
120
|
+
* `event.department` scopes already applied, so the server populates `event_creator`,
|
|
121
|
+
* `event_creator_img_url` and `invitees`, and `facility` and `department` are `{ id, name }`
|
|
122
|
+
* summaries—the fields this feed has always carried. SDK builds below `0.46.0-beta.1`
|
|
123
|
+
* receive the older `Feed` shape instead, in which `facility` and `department` are name
|
|
124
|
+
* strings, not ids; the server chooses by the `X-SDK-User-Agent` header the SDK sends, so an
|
|
125
|
+
* existing client keeps the shape it was generated against until you regenerate it.
|
|
124
126
|
*
|
|
125
|
-
* The boundary is the prerelease build `0.
|
|
126
|
-
* `0.
|
|
127
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
128
|
+
* `0.46.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how the server compares a
|
|
127
129
|
* build against it.
|
|
128
130
|
*/
|
|
129
131
|
export function useEventsListFeedSuspense(
|
|
@@ -153,15 +155,16 @@ export function useEventsListFeedSuspense(
|
|
|
153
155
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission.
|
|
154
156
|
* The caller's role and their relationship to the record decide what the response includes.
|
|
155
157
|
*
|
|
156
|
-
* Returns `Event` items with the `event.creator
|
|
157
|
-
* so the server populates `event_creator`,
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
158
|
+
* Returns `Event` items with the `event.creator`, `event.invitees`, `event.facility` and
|
|
159
|
+
* `event.department` scopes already applied, so the server populates `event_creator`,
|
|
160
|
+
* `event_creator_img_url` and `invitees`, and `facility` and `department` are `{ id, name }`
|
|
161
|
+
* summaries—the fields this feed has always carried. SDK builds below `0.46.0-beta.1`
|
|
162
|
+
* receive the older `Feed` shape instead, in which `facility` and `department` are name
|
|
163
|
+
* strings, not ids; the server chooses by the `X-SDK-User-Agent` header the SDK sends, so an
|
|
164
|
+
* existing client keeps the shape it was generated against until you regenerate it.
|
|
162
165
|
*
|
|
163
|
-
* The boundary is the prerelease build `0.
|
|
164
|
-
* `0.
|
|
166
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
167
|
+
* `0.46.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how the server compares a
|
|
165
168
|
* build against it.
|
|
166
169
|
*/
|
|
167
170
|
export function useEventsListFeedInfinite(
|
|
@@ -202,15 +205,16 @@ export function useEventsListFeedInfinite(
|
|
|
202
205
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission.
|
|
203
206
|
* The caller's role and their relationship to the record decide what the response includes.
|
|
204
207
|
*
|
|
205
|
-
* Returns `Event` items with the `event.creator
|
|
206
|
-
* so the server populates `event_creator`,
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
208
|
+
* Returns `Event` items with the `event.creator`, `event.invitees`, `event.facility` and
|
|
209
|
+
* `event.department` scopes already applied, so the server populates `event_creator`,
|
|
210
|
+
* `event_creator_img_url` and `invitees`, and `facility` and `department` are `{ id, name }`
|
|
211
|
+
* summaries—the fields this feed has always carried. SDK builds below `0.46.0-beta.1`
|
|
212
|
+
* receive the older `Feed` shape instead, in which `facility` and `department` are name
|
|
213
|
+
* strings, not ids; the server chooses by the `X-SDK-User-Agent` header the SDK sends, so an
|
|
214
|
+
* existing client keeps the shape it was generated against until you regenerate it.
|
|
211
215
|
*
|
|
212
|
-
* The boundary is the prerelease build `0.
|
|
213
|
-
* `0.
|
|
216
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
217
|
+
* `0.46.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how the server compares a
|
|
214
218
|
* build against it.
|
|
215
219
|
*/
|
|
216
220
|
export function useEventsListFeedInfiniteSuspense(
|
|
@@ -80,15 +80,16 @@ export type EventsListPendingInvitationsQueryError =
|
|
|
80
80
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission:
|
|
81
81
|
* the caller's role and their relationship to the record decide what the endpoint returns.
|
|
82
82
|
*
|
|
83
|
-
* Returns `Invite` items with the `invite.event
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
83
|
+
* Returns `Invite` items with the `invite.event`, `invite.invitee`, `event.location` and
|
|
84
|
+
* `event.creator` scopes already applied. So `event` is the expanded summary instead of a bare
|
|
85
|
+
* id, with the appointment's dates, flags, notes, location and organizer, and `invitee` is
|
|
86
|
+
* populated with the recipient's name and thumbnail—what this list has always published. This
|
|
87
|
+
* endpoint takes no `expand` parameter; the endpoint always applies these scopes.
|
|
88
|
+
* SDK builds earlier than `0.46.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
88
89
|
* embeds the appointment.
|
|
89
90
|
*
|
|
90
|
-
* The boundary is the prerelease build `0.
|
|
91
|
-
* `0.
|
|
91
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
92
|
+
* `0.46.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
92
93
|
* build compares against it.
|
|
93
94
|
*/
|
|
94
95
|
export function useEventsListPendingInvitations(
|
|
@@ -121,15 +122,16 @@ export function useEventsListPendingInvitations(
|
|
|
121
122
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission:
|
|
122
123
|
* the caller's role and their relationship to the record decide what the endpoint returns.
|
|
123
124
|
*
|
|
124
|
-
* Returns `Invite` items with the `invite.event
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
125
|
+
* Returns `Invite` items with the `invite.event`, `invite.invitee`, `event.location` and
|
|
126
|
+
* `event.creator` scopes already applied. So `event` is the expanded summary instead of a bare
|
|
127
|
+
* id, with the appointment's dates, flags, notes, location and organizer, and `invitee` is
|
|
128
|
+
* populated with the recipient's name and thumbnail—what this list has always published. This
|
|
129
|
+
* endpoint takes no `expand` parameter; the endpoint always applies these scopes.
|
|
130
|
+
* SDK builds earlier than `0.46.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
129
131
|
* embeds the appointment.
|
|
130
132
|
*
|
|
131
|
-
* The boundary is the prerelease build `0.
|
|
132
|
-
* `0.
|
|
133
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
134
|
+
* `0.46.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
133
135
|
* build compares against it.
|
|
134
136
|
*/
|
|
135
137
|
export function useEventsListPendingInvitationsSuspense(
|
|
@@ -162,15 +164,16 @@ export function useEventsListPendingInvitationsSuspense(
|
|
|
162
164
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission:
|
|
163
165
|
* the caller's role and their relationship to the record decide what the endpoint returns.
|
|
164
166
|
*
|
|
165
|
-
* Returns `Invite` items with the `invite.event
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Returns `Invite` items with the `invite.event`, `invite.invitee`, `event.location` and
|
|
168
|
+
* `event.creator` scopes already applied. So `event` is the expanded summary instead of a bare
|
|
169
|
+
* id, with the appointment's dates, flags, notes, location and organizer, and `invitee` is
|
|
170
|
+
* populated with the recipient's name and thumbnail—what this list has always published. This
|
|
171
|
+
* endpoint takes no `expand` parameter; the endpoint always applies these scopes.
|
|
172
|
+
* SDK builds earlier than `0.46.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
170
173
|
* embeds the appointment.
|
|
171
174
|
*
|
|
172
|
-
* The boundary is the prerelease build `0.
|
|
173
|
-
* `0.
|
|
175
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
176
|
+
* `0.46.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
174
177
|
* build compares against it.
|
|
175
178
|
*/
|
|
176
179
|
export function useEventsListPendingInvitationsInfinite(
|
|
@@ -217,15 +220,16 @@ export function useEventsListPendingInvitationsInfinite(
|
|
|
217
220
|
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission:
|
|
218
221
|
* the caller's role and their relationship to the record decide what the endpoint returns.
|
|
219
222
|
*
|
|
220
|
-
* Returns `Invite` items with the `invite.event
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
223
|
+
* Returns `Invite` items with the `invite.event`, `invite.invitee`, `event.location` and
|
|
224
|
+
* `event.creator` scopes already applied. So `event` is the expanded summary instead of a bare
|
|
225
|
+
* id, with the appointment's dates, flags, notes, location and organizer, and `invitee` is
|
|
226
|
+
* populated with the recipient's name and thumbnail—what this list has always published. This
|
|
227
|
+
* endpoint takes no `expand` parameter; the endpoint always applies these scopes.
|
|
228
|
+
* SDK builds earlier than `0.46.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
225
229
|
* embeds the appointment.
|
|
226
230
|
*
|
|
227
|
-
* The boundary is the prerelease build `0.
|
|
228
|
-
* `0.
|
|
231
|
+
* The boundary is the prerelease build `0.46.0-beta.1`, not the `0.46.0` release, so
|
|
232
|
+
* `0.46.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
229
233
|
* build compares against it.
|
|
230
234
|
*/
|
|
231
235
|
export function useEventsListPendingInvitationsInfiniteSuspense(
|