@greensecurity/javascript-sdk 0.45.0-beta.25 → 0.45.0-beta.27
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 +1 -1
- package/dist/commonjs/__tests__/events.test.js +2 -4
- package/dist/commonjs/__tests__/events.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +1 -1
- package/dist/commonjs/__tests__/zones.test.js +6 -9
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/eventsCreateEvent.d.ts +1 -1
- package/dist/commonjs/funcs/eventsCreateEvent.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsCreateEvent.js +1 -1
- package/dist/commonjs/funcs/eventsCreateEvent.js.map +1 -1
- package/dist/commonjs/funcs/eventsGetEvent.d.ts +12 -4
- package/dist/commonjs/funcs/eventsGetEvent.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGetEvent.js +12 -4
- package/dist/commonjs/funcs/eventsGetEvent.js.map +1 -1
- package/dist/commonjs/funcs/eventsListFeed.d.ts +14 -2
- package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListFeed.js +14 -2
- package/dist/commonjs/funcs/eventsListFeed.js.map +1 -1
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js +2 -0
- package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js.map +1 -1
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +14 -2
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListPendingInvitations.js +14 -2
- package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -1
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +13 -2
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListStandingAppointments.js +13 -2
- package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -1
- package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
- package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
- package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js +2 -0
- package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -1
- package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts +2 -0
- package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -1
- package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js +2 -0
- package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js.map +1 -1
- package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.d.ts +1 -1
- package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.js +1 -1
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +2 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +2 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +2 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +2 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/event.d.ts +98 -0
- package/dist/commonjs/models/components/event.d.ts.map +1 -0
- package/dist/commonjs/models/components/event.js +110 -0
- package/dist/commonjs/models/components/event.js.map +1 -0
- package/dist/commonjs/models/components/expand.d.ts +6 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +6 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -4
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -4
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invite.d.ts +72 -0
- package/dist/commonjs/models/components/invite.d.ts.map +1 -0
- package/dist/commonjs/models/components/invite.js +109 -0
- package/dist/commonjs/models/components/invite.js.map +1 -0
- package/dist/commonjs/models/operations/createevent.d.ts +19 -0
- package/dist/commonjs/models/operations/createevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createevent.js +3 -0
- package/dist/commonjs/models/operations/createevent.js.map +1 -1
- package/dist/commonjs/models/operations/getevent.d.ts +0 -89
- package/dist/commonjs/models/operations/getevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getevent.js +1 -77
- package/dist/commonjs/models/operations/getevent.js.map +1 -1
- package/dist/commonjs/models/operations/listfeed.d.ts +1 -1
- package/dist/commonjs/models/operations/listfeed.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listfeed.js +1 -2
- package/dist/commonjs/models/operations/listfeed.js.map +1 -1
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts +17 -0
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.js +4 -0
- package/dist/commonjs/models/operations/listorsearchvendorinvitees.js.map +1 -1
- package/dist/commonjs/models/operations/listpendinginvitations.d.ts +1 -1
- package/dist/commonjs/models/operations/listpendinginvitations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpendinginvitations.js +1 -2
- package/dist/commonjs/models/operations/listpendinginvitations.js.map +1 -1
- package/dist/commonjs/models/operations/liststandingappointments.d.ts +1 -1
- package/dist/commonjs/models/operations/liststandingappointments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/liststandingappointments.js +1 -2
- package/dist/commonjs/models/operations/liststandingappointments.js.map +1 -1
- package/dist/commonjs/react-query/eventsCreateEvent.d.ts +1 -1
- package/dist/commonjs/react-query/eventsCreateEvent.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsCreateEvent.js.map +1 -1
- package/dist/commonjs/react-query/eventsGetEvent.core.d.ts +1 -1
- package/dist/commonjs/react-query/eventsGetEvent.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsGetEvent.d.ts +20 -6
- package/dist/commonjs/react-query/eventsGetEvent.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsGetEvent.js +20 -6
- package/dist/commonjs/react-query/eventsGetEvent.js.map +1 -1
- package/dist/commonjs/react-query/eventsListFeed.d.ts +56 -8
- package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListFeed.js +56 -8
- package/dist/commonjs/react-query/eventsListFeed.js.map +1 -1
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.d.ts +4 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.js +4 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.js.map +1 -1
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts +4 -0
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js.map +1 -1
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +56 -8
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListPendingInvitations.js +56 -8
- package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -1
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +52 -8
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/commonjs/react-query/eventsListStandingAppointments.js +52 -8
- package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -1
- package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
- package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
- package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js +2 -0
- package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -1
- package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts +4 -0
- package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -1
- package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js +4 -0
- package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js.map +1 -1
- package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.d.ts +4 -4
- package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.js +4 -4
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +2 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +2 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts +4 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js +4 -0
- package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +52 -10
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +51 -9
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/fhirconfigs.d.ts +5 -1
- package/dist/commonjs/sdk/fhirconfigs.d.ts.map +1 -1
- package/dist/commonjs/sdk/fhirconfigs.js +5 -1
- package/dist/commonjs/sdk/fhirconfigs.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 +2 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +2 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/events.test.js +2 -4
- package/dist/esm/__tests__/events.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +1 -1
- package/dist/esm/__tests__/zones.test.js +6 -9
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/eventsCreateEvent.d.ts +1 -1
- package/dist/esm/funcs/eventsCreateEvent.d.ts.map +1 -1
- package/dist/esm/funcs/eventsCreateEvent.js +1 -1
- package/dist/esm/funcs/eventsCreateEvent.js.map +1 -1
- package/dist/esm/funcs/eventsGetEvent.d.ts +12 -4
- package/dist/esm/funcs/eventsGetEvent.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGetEvent.js +12 -4
- package/dist/esm/funcs/eventsGetEvent.js.map +1 -1
- package/dist/esm/funcs/eventsListFeed.d.ts +14 -2
- package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListFeed.js +14 -2
- package/dist/esm/funcs/eventsListFeed.js.map +1 -1
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js +2 -0
- package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js.map +1 -1
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts +14 -2
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListPendingInvitations.js +14 -2
- package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -1
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts +13 -2
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListStandingAppointments.js +13 -2
- package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -1
- package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
- package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
- package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js +2 -0
- package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -1
- package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts +2 -0
- package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -1
- package/dist/esm/funcs/fhirConfigsGetFhirConfig.js +2 -0
- package/dist/esm/funcs/fhirConfigsGetFhirConfig.js.map +1 -1
- package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.d.ts +1 -1
- package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.js +1 -1
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +2 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +2 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +2 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +2 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/event.d.ts +98 -0
- package/dist/esm/models/components/event.d.ts.map +1 -0
- package/dist/esm/models/components/event.js +69 -0
- package/dist/esm/models/components/event.js.map +1 -0
- package/dist/esm/models/components/expand.d.ts +6 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +6 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -4
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -4
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invite.d.ts +72 -0
- package/dist/esm/models/components/invite.d.ts.map +1 -0
- package/dist/esm/models/components/invite.js +69 -0
- package/dist/esm/models/components/invite.js.map +1 -0
- package/dist/esm/models/operations/createevent.d.ts +19 -0
- package/dist/esm/models/operations/createevent.d.ts.map +1 -1
- package/dist/esm/models/operations/createevent.js +3 -0
- package/dist/esm/models/operations/createevent.js.map +1 -1
- package/dist/esm/models/operations/getevent.d.ts +0 -89
- package/dist/esm/models/operations/getevent.d.ts.map +1 -1
- package/dist/esm/models/operations/getevent.js +0 -70
- package/dist/esm/models/operations/getevent.js.map +1 -1
- package/dist/esm/models/operations/listfeed.d.ts +1 -1
- package/dist/esm/models/operations/listfeed.d.ts.map +1 -1
- package/dist/esm/models/operations/listfeed.js +1 -2
- package/dist/esm/models/operations/listfeed.js.map +1 -1
- package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts +17 -0
- package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts.map +1 -1
- package/dist/esm/models/operations/listorsearchvendorinvitees.js +4 -0
- package/dist/esm/models/operations/listorsearchvendorinvitees.js.map +1 -1
- package/dist/esm/models/operations/listpendinginvitations.d.ts +1 -1
- package/dist/esm/models/operations/listpendinginvitations.d.ts.map +1 -1
- package/dist/esm/models/operations/listpendinginvitations.js +1 -2
- package/dist/esm/models/operations/listpendinginvitations.js.map +1 -1
- package/dist/esm/models/operations/liststandingappointments.d.ts +1 -1
- package/dist/esm/models/operations/liststandingappointments.d.ts.map +1 -1
- package/dist/esm/models/operations/liststandingappointments.js +1 -2
- package/dist/esm/models/operations/liststandingappointments.js.map +1 -1
- package/dist/esm/react-query/eventsCreateEvent.d.ts +1 -1
- package/dist/esm/react-query/eventsCreateEvent.d.ts.map +1 -1
- package/dist/esm/react-query/eventsCreateEvent.js.map +1 -1
- package/dist/esm/react-query/eventsGetEvent.core.d.ts +1 -1
- package/dist/esm/react-query/eventsGetEvent.core.d.ts.map +1 -1
- package/dist/esm/react-query/eventsGetEvent.d.ts +20 -6
- package/dist/esm/react-query/eventsGetEvent.d.ts.map +1 -1
- package/dist/esm/react-query/eventsGetEvent.js +20 -6
- package/dist/esm/react-query/eventsGetEvent.js.map +1 -1
- package/dist/esm/react-query/eventsListFeed.d.ts +56 -8
- package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListFeed.js +56 -8
- package/dist/esm/react-query/eventsListFeed.js.map +1 -1
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.d.ts +4 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.js +4 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.js.map +1 -1
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts +4 -0
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js.map +1 -1
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts +56 -8
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListPendingInvitations.js +56 -8
- package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -1
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts +52 -8
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -1
- package/dist/esm/react-query/eventsListStandingAppointments.js +52 -8
- package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -1
- package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
- package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
- package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js +2 -0
- package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -1
- package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts +4 -0
- package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -1
- package/dist/esm/react-query/fhirConfigsGetFhirConfig.js +4 -0
- package/dist/esm/react-query/fhirConfigsGetFhirConfig.js.map +1 -1
- package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.d.ts +4 -4
- package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.js +4 -4
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +2 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +2 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts +4 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js +4 -0
- package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +52 -10
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +51 -9
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/fhirconfigs.d.ts +5 -1
- package/dist/esm/sdk/fhirconfigs.d.ts.map +1 -1
- package/dist/esm/sdk/fhirconfigs.js +5 -1
- package/dist/esm/sdk/fhirconfigs.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 +2 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +2 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/events.test.ts +2 -4
- package/src/__tests__/vendors.test.ts +1 -1
- package/src/__tests__/zones.test.ts +6 -9
- package/src/funcs/eventsCreateEvent.ts +4 -0
- package/src/funcs/eventsGetEvent.ts +15 -7
- package/src/funcs/eventsListFeed.ts +14 -2
- package/src/funcs/eventsListOrSearchVendorInvitees.ts +2 -0
- package/src/funcs/eventsListPendingInvitations.ts +14 -2
- package/src/funcs/eventsListStandingAppointments.ts +13 -2
- package/src/funcs/fhirConfigsDeleteFhirConfigById.ts +2 -0
- package/src/funcs/fhirConfigsGetFhirConfig.ts +2 -0
- package/src/funcs/fhirConfigsListOfFhirConfigurations.ts +1 -1
- package/src/funcs/organizationsCreateCompanyTargetFacility.ts +2 -0
- package/src/funcs/vendorsGetVendorInvoiceDetails.ts +2 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/event.ts +214 -0
- package/src/models/components/expand.ts +6 -0
- package/src/models/components/index.ts +2 -4
- package/src/models/components/invite.ts +168 -0
- package/src/models/operations/createevent.ts +22 -0
- package/src/models/operations/getevent.ts +0 -223
- package/src/models/operations/listfeed.ts +2 -3
- package/src/models/operations/listorsearchvendorinvitees.ts +21 -0
- package/src/models/operations/listpendinginvitations.ts +2 -3
- package/src/models/operations/liststandingappointments.ts +2 -5
- package/src/react-query/eventsCreateEvent.ts +1 -0
- package/src/react-query/eventsGetEvent.core.ts +1 -1
- package/src/react-query/eventsGetEvent.ts +20 -6
- package/src/react-query/eventsListFeed.ts +56 -8
- package/src/react-query/eventsListOrSearchVendorInvitees.core.ts +8 -0
- package/src/react-query/eventsListOrSearchVendorInvitees.ts +4 -0
- package/src/react-query/eventsListPendingInvitations.ts +56 -8
- package/src/react-query/eventsListStandingAppointments.ts +52 -8
- package/src/react-query/fhirConfigsDeleteFhirConfigById.ts +2 -0
- package/src/react-query/fhirConfigsGetFhirConfig.ts +4 -0
- package/src/react-query/fhirConfigsListOfFhirConfigurations.ts +4 -4
- package/src/react-query/organizationsCreateCompanyTargetFacility.ts +2 -0
- package/src/react-query/vendorsGetVendorInvoiceDetails.ts +4 -0
- package/src/sdk/events.ts +52 -10
- package/src/sdk/fhirconfigs.ts +5 -1
- package/src/sdk/organizations.ts +2 -0
- package/src/sdk/vendors.ts +2 -0
- package/dist/commonjs/models/components/feed.d.ts +0 -33
- package/dist/commonjs/models/components/feed.d.ts.map +0 -1
- package/dist/commonjs/models/components/feed.js +0 -75
- package/dist/commonjs/models/components/feed.js.map +0 -1
- package/dist/commonjs/models/components/invitee.d.ts +0 -23
- package/dist/commonjs/models/components/invitee.d.ts.map +0 -1
- package/dist/commonjs/models/components/invitee.js +0 -68
- package/dist/commonjs/models/components/invitee.js.map +0 -1
- package/dist/commonjs/models/components/pendinginvitation.d.ts +0 -41
- package/dist/commonjs/models/components/pendinginvitation.d.ts.map +0 -1
- package/dist/commonjs/models/components/pendinginvitation.js +0 -85
- package/dist/commonjs/models/components/pendinginvitation.js.map +0 -1
- package/dist/commonjs/models/components/standingappointment.d.ts +0 -34
- package/dist/commonjs/models/components/standingappointment.d.ts.map +0 -1
- package/dist/commonjs/models/components/standingappointment.js +0 -74
- package/dist/commonjs/models/components/standingappointment.js.map +0 -1
- package/dist/esm/models/components/feed.d.ts +0 -33
- package/dist/esm/models/components/feed.d.ts.map +0 -1
- package/dist/esm/models/components/feed.js +0 -38
- package/dist/esm/models/components/feed.js.map +0 -1
- package/dist/esm/models/components/invitee.d.ts +0 -23
- package/dist/esm/models/components/invitee.d.ts.map +0 -1
- package/dist/esm/models/components/invitee.js +0 -31
- package/dist/esm/models/components/invitee.js.map +0 -1
- package/dist/esm/models/components/pendinginvitation.d.ts +0 -41
- package/dist/esm/models/components/pendinginvitation.d.ts.map +0 -1
- package/dist/esm/models/components/pendinginvitation.js +0 -47
- package/dist/esm/models/components/pendinginvitation.js.map +0 -1
- package/dist/esm/models/components/standingappointment.d.ts +0 -34
- package/dist/esm/models/components/standingappointment.d.ts.map +0 -1
- package/dist/esm/models/components/standingappointment.js +0 -37
- package/dist/esm/models/components/standingappointment.js.map +0 -1
- package/src/models/components/feed.ts +0 -74
- package/src/models/components/invitee.ts +0 -58
- package/src/models/components/pendinginvitation.ts +0 -102
- package/src/models/components/standingappointment.ts +0 -78
|
@@ -75,9 +75,21 @@ export type EventsListFeedQueryError =
|
|
|
75
75
|
* List events feed
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* List events feed
|
|
78
|
+
* List events feed.
|
|
79
|
+
*
|
|
80
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
81
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
82
|
+
*
|
|
83
|
+
* Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
|
|
84
|
+
* so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
|
|
85
|
+
* feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
|
|
86
|
+
* instead, in which `facility` and `department` are name strings rather than ids; the server
|
|
87
|
+
* chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
|
|
88
|
+
* shape it was generated against until it is regenerated.
|
|
79
89
|
*
|
|
80
|
-
*
|
|
90
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
91
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
92
|
+
* build is compared against it.
|
|
81
93
|
*/
|
|
82
94
|
export function useEventsListFeed(
|
|
83
95
|
request: operations.ListFeedRequest,
|
|
@@ -98,9 +110,21 @@ export function useEventsListFeed(
|
|
|
98
110
|
* List events feed
|
|
99
111
|
*
|
|
100
112
|
* @remarks
|
|
101
|
-
* List events feed
|
|
113
|
+
* List events feed.
|
|
114
|
+
*
|
|
115
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
116
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
117
|
+
*
|
|
118
|
+
* Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
|
|
119
|
+
* so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
|
|
120
|
+
* feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
|
|
121
|
+
* instead, in which `facility` and `department` are name strings rather than ids; the server
|
|
122
|
+
* chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
|
|
123
|
+
* shape it was generated against until it is regenerated.
|
|
102
124
|
*
|
|
103
|
-
*
|
|
125
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
126
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
127
|
+
* build is compared against it.
|
|
104
128
|
*/
|
|
105
129
|
export function useEventsListFeedSuspense(
|
|
106
130
|
request: operations.ListFeedRequest,
|
|
@@ -124,9 +148,21 @@ export function useEventsListFeedSuspense(
|
|
|
124
148
|
* List events feed
|
|
125
149
|
*
|
|
126
150
|
* @remarks
|
|
127
|
-
* List events feed
|
|
151
|
+
* List events feed.
|
|
152
|
+
*
|
|
153
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
154
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
155
|
+
*
|
|
156
|
+
* Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
|
|
157
|
+
* so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
|
|
158
|
+
* feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
|
|
159
|
+
* instead, in which `facility` and `department` are name strings rather than ids; the server
|
|
160
|
+
* chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
|
|
161
|
+
* shape it was generated against until it is regenerated.
|
|
128
162
|
*
|
|
129
|
-
*
|
|
163
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
164
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
165
|
+
* build is compared against it.
|
|
130
166
|
*/
|
|
131
167
|
export function useEventsListFeedInfinite(
|
|
132
168
|
request: operations.ListFeedRequest,
|
|
@@ -161,9 +197,21 @@ export function useEventsListFeedInfinite(
|
|
|
161
197
|
* List events feed
|
|
162
198
|
*
|
|
163
199
|
* @remarks
|
|
164
|
-
* List events feed
|
|
200
|
+
* List events feed.
|
|
201
|
+
*
|
|
202
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
203
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
204
|
+
*
|
|
205
|
+
* Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
|
|
206
|
+
* so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
|
|
207
|
+
* feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
|
|
208
|
+
* instead, in which `facility` and `department` are name strings rather than ids; the server
|
|
209
|
+
* chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
|
|
210
|
+
* shape it was generated against until it is regenerated.
|
|
165
211
|
*
|
|
166
|
-
*
|
|
212
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
213
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
214
|
+
* build is compared against it.
|
|
167
215
|
*/
|
|
168
216
|
export function useEventsListFeedInfiniteSuspense(
|
|
169
217
|
request: operations.ListFeedRequest,
|
|
@@ -81,6 +81,8 @@ export function buildEventsListOrSearchVendorInviteesQuery(
|
|
|
81
81
|
itemsPerPage: request.itemsPerPage,
|
|
82
82
|
expand: request.expand,
|
|
83
83
|
search: request.search,
|
|
84
|
+
vendorId: request.vendorId,
|
|
85
|
+
facilityId: request.facilityId,
|
|
84
86
|
}),
|
|
85
87
|
queryFn: async function eventsListOrSearchVendorInviteesQueryFn(
|
|
86
88
|
ctx,
|
|
@@ -126,6 +128,8 @@ export function buildEventsListOrSearchVendorInviteesInfiniteQuery(
|
|
|
126
128
|
itemsPerPage: request.itemsPerPage,
|
|
127
129
|
expand: request.expand,
|
|
128
130
|
search: request.search,
|
|
131
|
+
vendorId: request.vendorId,
|
|
132
|
+
facilityId: request.facilityId,
|
|
129
133
|
}),
|
|
130
134
|
queryFn: async function eventsListOrSearchVendorInviteesQuery(
|
|
131
135
|
ctx,
|
|
@@ -169,6 +173,8 @@ export function queryKeyEventsListOrSearchVendorInvitees(
|
|
|
169
173
|
itemsPerPage?: number | undefined;
|
|
170
174
|
expand?: Array<components.Expand> | undefined;
|
|
171
175
|
search?: string | undefined;
|
|
176
|
+
vendorId?: number | undefined;
|
|
177
|
+
facilityId?: number | undefined;
|
|
172
178
|
},
|
|
173
179
|
): QueryKey {
|
|
174
180
|
return [
|
|
@@ -187,6 +193,8 @@ export function queryKeyEventsListOrSearchVendorInviteesInfinite(
|
|
|
187
193
|
itemsPerPage?: number | undefined;
|
|
188
194
|
expand?: Array<components.Expand> | undefined;
|
|
189
195
|
search?: string | undefined;
|
|
196
|
+
vendorId?: number | undefined;
|
|
197
|
+
facilityId?: number | undefined;
|
|
190
198
|
},
|
|
191
199
|
): QueryKey {
|
|
192
200
|
return [
|
|
@@ -261,6 +261,8 @@ export function setEventsListOrSearchVendorInviteesData(
|
|
|
261
261
|
itemsPerPage?: number | undefined;
|
|
262
262
|
expand?: Array<components.Expand> | undefined;
|
|
263
263
|
search?: string | undefined;
|
|
264
|
+
vendorId?: number | undefined;
|
|
265
|
+
facilityId?: number | undefined;
|
|
264
266
|
},
|
|
265
267
|
],
|
|
266
268
|
data: EventsListOrSearchVendorInviteesQueryData,
|
|
@@ -283,6 +285,8 @@ export function invalidateEventsListOrSearchVendorInvitees(
|
|
|
283
285
|
itemsPerPage?: number | undefined;
|
|
284
286
|
expand?: Array<components.Expand> | undefined;
|
|
285
287
|
search?: string | undefined;
|
|
288
|
+
vendorId?: number | undefined;
|
|
289
|
+
facilityId?: number | undefined;
|
|
286
290
|
}]
|
|
287
291
|
>,
|
|
288
292
|
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
@@ -75,9 +75,21 @@ export type EventsListPendingInvitationsQueryError =
|
|
|
75
75
|
* List pending invitations
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* List pending invitations
|
|
78
|
+
* List pending invitations.
|
|
79
|
+
*
|
|
80
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
81
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
82
|
+
*
|
|
83
|
+
* Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
|
|
84
|
+
* so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
|
|
85
|
+
* populated — the appointment and the recipient this list has always named. This endpoint
|
|
86
|
+
* takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
|
|
87
|
+
* SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
88
|
+
* embeds the appointment.
|
|
79
89
|
*
|
|
80
|
-
*
|
|
90
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
91
|
+
* `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
92
|
+
* build is compared against it.
|
|
81
93
|
*/
|
|
82
94
|
export function useEventsListPendingInvitations(
|
|
83
95
|
request: operations.ListPendingInvitationsRequest,
|
|
@@ -104,9 +116,21 @@ export function useEventsListPendingInvitations(
|
|
|
104
116
|
* List pending invitations
|
|
105
117
|
*
|
|
106
118
|
* @remarks
|
|
107
|
-
* List pending invitations
|
|
119
|
+
* List pending invitations.
|
|
120
|
+
*
|
|
121
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
122
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
123
|
+
*
|
|
124
|
+
* Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
|
|
125
|
+
* so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
|
|
126
|
+
* populated — the appointment and the recipient this list has always named. This endpoint
|
|
127
|
+
* takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
|
|
128
|
+
* SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
129
|
+
* embeds the appointment.
|
|
108
130
|
*
|
|
109
|
-
*
|
|
131
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
132
|
+
* `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
133
|
+
* build is compared against it.
|
|
110
134
|
*/
|
|
111
135
|
export function useEventsListPendingInvitationsSuspense(
|
|
112
136
|
request: operations.ListPendingInvitationsRequest,
|
|
@@ -133,9 +157,21 @@ export function useEventsListPendingInvitationsSuspense(
|
|
|
133
157
|
* List pending invitations
|
|
134
158
|
*
|
|
135
159
|
* @remarks
|
|
136
|
-
* List pending invitations
|
|
160
|
+
* List pending invitations.
|
|
161
|
+
*
|
|
162
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
163
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
164
|
+
*
|
|
165
|
+
* Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
|
|
166
|
+
* so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
|
|
167
|
+
* populated — the appointment and the recipient this list has always named. This endpoint
|
|
168
|
+
* takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
|
|
169
|
+
* SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
170
|
+
* embeds the appointment.
|
|
137
171
|
*
|
|
138
|
-
*
|
|
172
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
173
|
+
* `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
174
|
+
* build is compared against it.
|
|
139
175
|
*/
|
|
140
176
|
export function useEventsListPendingInvitationsInfinite(
|
|
141
177
|
request: operations.ListPendingInvitationsRequest,
|
|
@@ -176,9 +212,21 @@ export function useEventsListPendingInvitationsInfinite(
|
|
|
176
212
|
* List pending invitations
|
|
177
213
|
*
|
|
178
214
|
* @remarks
|
|
179
|
-
* List pending invitations
|
|
215
|
+
* List pending invitations.
|
|
216
|
+
*
|
|
217
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
218
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
219
|
+
*
|
|
220
|
+
* Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
|
|
221
|
+
* so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
|
|
222
|
+
* populated — the appointment and the recipient this list has always named. This endpoint
|
|
223
|
+
* takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
|
|
224
|
+
* SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
225
|
+
* embeds the appointment.
|
|
180
226
|
*
|
|
181
|
-
*
|
|
227
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
228
|
+
* `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
229
|
+
* build is compared against it.
|
|
182
230
|
*/
|
|
183
231
|
export function useEventsListPendingInvitationsInfiniteSuspense(
|
|
184
232
|
request: operations.ListPendingInvitationsRequest,
|
|
@@ -75,9 +75,20 @@ export type EventsListStandingAppointmentsQueryError =
|
|
|
75
75
|
* List standing appointments
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* List standing
|
|
78
|
+
* List standing appointments.
|
|
79
79
|
*
|
|
80
|
-
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
80
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
81
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
82
|
+
*
|
|
83
|
+
* Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
|
|
84
|
+
* `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
|
|
85
|
+
* `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
|
|
86
|
+
* the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
|
|
87
|
+
* `StandingAppointment` shape instead.
|
|
88
|
+
*
|
|
89
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
90
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
91
|
+
* build is compared against it.
|
|
81
92
|
*/
|
|
82
93
|
export function useEventsListStandingAppointments(
|
|
83
94
|
request: operations.ListStandingAppointmentsRequest,
|
|
@@ -104,9 +115,20 @@ export function useEventsListStandingAppointments(
|
|
|
104
115
|
* List standing appointments
|
|
105
116
|
*
|
|
106
117
|
* @remarks
|
|
107
|
-
* List standing
|
|
118
|
+
* List standing appointments.
|
|
119
|
+
*
|
|
120
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
121
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
122
|
+
*
|
|
123
|
+
* Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
|
|
124
|
+
* `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
|
|
125
|
+
* `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
|
|
126
|
+
* the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
|
|
127
|
+
* `StandingAppointment` shape instead.
|
|
108
128
|
*
|
|
109
|
-
*
|
|
129
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
130
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
131
|
+
* build is compared against it.
|
|
110
132
|
*/
|
|
111
133
|
export function useEventsListStandingAppointmentsSuspense(
|
|
112
134
|
request: operations.ListStandingAppointmentsRequest,
|
|
@@ -133,9 +155,20 @@ export function useEventsListStandingAppointmentsSuspense(
|
|
|
133
155
|
* List standing appointments
|
|
134
156
|
*
|
|
135
157
|
* @remarks
|
|
136
|
-
* List standing
|
|
158
|
+
* List standing appointments.
|
|
137
159
|
*
|
|
138
|
-
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
160
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
161
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
162
|
+
*
|
|
163
|
+
* Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
|
|
164
|
+
* `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
|
|
165
|
+
* `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
|
|
166
|
+
* the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
|
|
167
|
+
* `StandingAppointment` shape instead.
|
|
168
|
+
*
|
|
169
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
170
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
171
|
+
* build is compared against it.
|
|
139
172
|
*/
|
|
140
173
|
export function useEventsListStandingAppointmentsInfinite(
|
|
141
174
|
request: operations.ListStandingAppointmentsRequest,
|
|
@@ -176,9 +209,20 @@ export function useEventsListStandingAppointmentsInfinite(
|
|
|
176
209
|
* List standing appointments
|
|
177
210
|
*
|
|
178
211
|
* @remarks
|
|
179
|
-
* List standing
|
|
212
|
+
* List standing appointments.
|
|
213
|
+
*
|
|
214
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
215
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
216
|
+
*
|
|
217
|
+
* Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
|
|
218
|
+
* `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
|
|
219
|
+
* `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
|
|
220
|
+
* the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
|
|
221
|
+
* `StandingAppointment` shape instead.
|
|
180
222
|
*
|
|
181
|
-
*
|
|
223
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
224
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
225
|
+
* build is compared against it.
|
|
182
226
|
*/
|
|
183
227
|
export function useEventsListStandingAppointmentsInfiniteSuspense(
|
|
184
228
|
request: operations.ListStandingAppointmentsRequest,
|
|
@@ -51,6 +51,8 @@ export type FhirConfigsDeleteFhirConfigByIdMutationError =
|
|
|
51
51
|
* Delete a FHIR config by ID
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
+
* Requires the `fhir_config` / `delete` permission.
|
|
55
|
+
*
|
|
54
56
|
* **Permissions.** Requires the `fhir_configs.delete` permission.
|
|
55
57
|
*/
|
|
56
58
|
export function useFhirConfigsDeleteFhirConfigByIdMutation(
|
|
@@ -58,6 +58,8 @@ export type FhirConfigsGetFhirConfigQueryError =
|
|
|
58
58
|
* @remarks
|
|
59
59
|
* Retrieve a FHIR configuration by ID.
|
|
60
60
|
*
|
|
61
|
+
* This endpoint requires the `fhir_configs` / `view` permission.
|
|
62
|
+
*
|
|
61
63
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
62
64
|
*/
|
|
63
65
|
export function useFhirConfigsGetFhirConfig(
|
|
@@ -87,6 +89,8 @@ export function useFhirConfigsGetFhirConfig(
|
|
|
87
89
|
* @remarks
|
|
88
90
|
* Retrieve a FHIR configuration by ID.
|
|
89
91
|
*
|
|
92
|
+
* This endpoint requires the `fhir_configs` / `view` permission.
|
|
93
|
+
*
|
|
90
94
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
91
95
|
*/
|
|
92
96
|
export function useFhirConfigsGetFhirConfigSuspense(
|
|
@@ -75,7 +75,7 @@ export type FhirConfigsListOfFhirConfigurationsQueryError =
|
|
|
75
75
|
* List of FHIR configurations
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* List available FHIR configurations.
|
|
78
|
+
* List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
|
|
79
79
|
*
|
|
80
80
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
81
81
|
*/
|
|
@@ -104,7 +104,7 @@ export function useFhirConfigsListOfFhirConfigurations(
|
|
|
104
104
|
* List of FHIR configurations
|
|
105
105
|
*
|
|
106
106
|
* @remarks
|
|
107
|
-
* List available FHIR configurations.
|
|
107
|
+
* List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
|
|
108
108
|
*
|
|
109
109
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
110
110
|
*/
|
|
@@ -133,7 +133,7 @@ export function useFhirConfigsListOfFhirConfigurationsSuspense(
|
|
|
133
133
|
* List of FHIR configurations
|
|
134
134
|
*
|
|
135
135
|
* @remarks
|
|
136
|
-
* List available FHIR configurations.
|
|
136
|
+
* List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
|
|
137
137
|
*
|
|
138
138
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
139
139
|
*/
|
|
@@ -176,7 +176,7 @@ export function useFhirConfigsListOfFhirConfigurationsInfinite(
|
|
|
176
176
|
* List of FHIR configurations
|
|
177
177
|
*
|
|
178
178
|
* @remarks
|
|
179
|
-
* List available FHIR configurations.
|
|
179
|
+
* List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
|
|
180
180
|
*
|
|
181
181
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
182
182
|
*/
|
|
@@ -70,6 +70,8 @@ export type OrganizationsCreateCompanyTargetFacilityMutationError =
|
|
|
70
70
|
*
|
|
71
71
|
* **Permissions.** Requires the `target_facilities.add` permission.
|
|
72
72
|
*
|
|
73
|
+
* **Permissions.** Requires the `target_facilities.add` permission.
|
|
74
|
+
*
|
|
73
75
|
* Available `expand` scopes are:
|
|
74
76
|
*
|
|
75
77
|
* - `company_target_facility.facility`
|
|
@@ -61,6 +61,8 @@ export type VendorsGetVendorInvoiceDetailsQueryError =
|
|
|
61
61
|
*
|
|
62
62
|
* **Permissions.** Requires the `invoices.view` permission.
|
|
63
63
|
*
|
|
64
|
+
* **Permissions.** Requires the `invoices.view` permission.
|
|
65
|
+
*
|
|
64
66
|
* Available `expand` scopes are:
|
|
65
67
|
*
|
|
66
68
|
* - `invoice.invoice_type`
|
|
@@ -109,6 +111,8 @@ export function useVendorsGetVendorInvoiceDetails(
|
|
|
109
111
|
*
|
|
110
112
|
* **Permissions.** Requires the `invoices.view` permission.
|
|
111
113
|
*
|
|
114
|
+
* **Permissions.** Requires the `invoices.view` permission.
|
|
115
|
+
*
|
|
112
116
|
* Available `expand` scopes are:
|
|
113
117
|
*
|
|
114
118
|
* - `invoice.invoice_type`
|
package/src/sdk/events.ts
CHANGED
|
@@ -49,16 +49,23 @@ export class Events extends ClientSDK {
|
|
|
49
49
|
*
|
|
50
50
|
* Available `expand` scopes are:
|
|
51
51
|
*
|
|
52
|
-
* -
|
|
53
|
-
* -
|
|
54
|
-
* -
|
|
52
|
+
* - event.facility
|
|
53
|
+
* - event.department
|
|
54
|
+
* - event.invitees
|
|
55
|
+
* - event.location
|
|
56
|
+
* - event.attendees
|
|
57
|
+
* - event.creator
|
|
55
58
|
*
|
|
56
59
|
* Unrecognised values are ignored.
|
|
60
|
+
*
|
|
61
|
+
* This route always returns the current `Event` shape, whatever SDK version is calling: it was
|
|
62
|
+
* introduced after the calendar list endpoints and has never served the older string-valued
|
|
63
|
+
* shape they did.
|
|
57
64
|
*/
|
|
58
65
|
async getEvent(
|
|
59
66
|
request: operations.GetEventRequest,
|
|
60
67
|
options?: RequestOptions,
|
|
61
|
-
): Promise<
|
|
68
|
+
): Promise<components.Event> {
|
|
62
69
|
return unwrapAsync(eventsGetEvent(
|
|
63
70
|
this,
|
|
64
71
|
request,
|
|
@@ -198,9 +205,21 @@ export class Events extends ClientSDK {
|
|
|
198
205
|
* List pending invitations
|
|
199
206
|
*
|
|
200
207
|
* @remarks
|
|
201
|
-
* List pending invitations
|
|
208
|
+
* List pending invitations.
|
|
202
209
|
*
|
|
203
|
-
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
210
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
211
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
212
|
+
*
|
|
213
|
+
* Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
|
|
214
|
+
* so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
|
|
215
|
+
* populated — the appointment and the recipient this list has always named. This endpoint
|
|
216
|
+
* takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
|
|
217
|
+
* SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
|
|
218
|
+
* embeds the appointment.
|
|
219
|
+
*
|
|
220
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
221
|
+
* `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
|
|
222
|
+
* build is compared against it.
|
|
204
223
|
*/
|
|
205
224
|
async listPendingInvitations(
|
|
206
225
|
request: operations.ListPendingInvitationsRequest,
|
|
@@ -219,9 +238,21 @@ export class Events extends ClientSDK {
|
|
|
219
238
|
* List events feed
|
|
220
239
|
*
|
|
221
240
|
* @remarks
|
|
222
|
-
* List events feed
|
|
241
|
+
* List events feed.
|
|
223
242
|
*
|
|
224
|
-
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
243
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
244
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
245
|
+
*
|
|
246
|
+
* Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
|
|
247
|
+
* so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
|
|
248
|
+
* feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
|
|
249
|
+
* instead, in which `facility` and `department` are name strings rather than ids; the server
|
|
250
|
+
* chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
|
|
251
|
+
* shape it was generated against until it is regenerated.
|
|
252
|
+
*
|
|
253
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
254
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
255
|
+
* build is compared against it.
|
|
225
256
|
*/
|
|
226
257
|
async listFeed(
|
|
227
258
|
request: operations.ListFeedRequest,
|
|
@@ -238,9 +269,20 @@ export class Events extends ClientSDK {
|
|
|
238
269
|
* List standing appointments
|
|
239
270
|
*
|
|
240
271
|
* @remarks
|
|
241
|
-
* List standing
|
|
272
|
+
* List standing appointments.
|
|
242
273
|
*
|
|
243
|
-
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
274
|
+
* **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
|
|
275
|
+
* the caller's role and their relationship to the record decide what is returned.
|
|
276
|
+
*
|
|
277
|
+
* Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
|
|
278
|
+
* `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
|
|
279
|
+
* `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
|
|
280
|
+
* the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
|
|
281
|
+
* `StandingAppointment` shape instead.
|
|
282
|
+
*
|
|
283
|
+
* The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
|
|
284
|
+
* `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
|
|
285
|
+
* build is compared against it.
|
|
244
286
|
*/
|
|
245
287
|
async listStandingAppointments(
|
|
246
288
|
request: operations.ListStandingAppointmentsRequest,
|
package/src/sdk/fhirconfigs.ts
CHANGED
|
@@ -18,7 +18,7 @@ export class FhirConfigs extends ClientSDK {
|
|
|
18
18
|
* List of FHIR configurations
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* List available FHIR configurations.
|
|
21
|
+
* List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
|
|
22
22
|
*
|
|
23
23
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
24
24
|
*/
|
|
@@ -62,6 +62,8 @@ export class FhirConfigs extends ClientSDK {
|
|
|
62
62
|
* @remarks
|
|
63
63
|
* Retrieve a FHIR configuration by ID.
|
|
64
64
|
*
|
|
65
|
+
* This endpoint requires the `fhir_configs` / `view` permission.
|
|
66
|
+
*
|
|
65
67
|
* **Permissions.** Requires the `fhir_configs.view` permission.
|
|
66
68
|
*/
|
|
67
69
|
async getFhirConfig(
|
|
@@ -96,6 +98,8 @@ export class FhirConfigs extends ClientSDK {
|
|
|
96
98
|
* Delete a FHIR config by ID
|
|
97
99
|
*
|
|
98
100
|
* @remarks
|
|
101
|
+
* Requires the `fhir_config` / `delete` permission.
|
|
102
|
+
*
|
|
99
103
|
* **Permissions.** Requires the `fhir_configs.delete` permission.
|
|
100
104
|
*/
|
|
101
105
|
async deleteFhirConfigById(
|
package/src/sdk/organizations.ts
CHANGED
|
@@ -192,6 +192,8 @@ export class Organizations extends ClientSDK {
|
|
|
192
192
|
*
|
|
193
193
|
* **Permissions.** Requires the `target_facilities.add` permission.
|
|
194
194
|
*
|
|
195
|
+
* **Permissions.** Requires the `target_facilities.add` permission.
|
|
196
|
+
*
|
|
195
197
|
* Available `expand` scopes are:
|
|
196
198
|
*
|
|
197
199
|
* - `company_target_facility.facility`
|
package/src/sdk/vendors.ts
CHANGED
|
@@ -814,6 +814,8 @@ export class Vendors extends ClientSDK {
|
|
|
814
814
|
*
|
|
815
815
|
* **Permissions.** Requires the `invoices.view` permission.
|
|
816
816
|
*
|
|
817
|
+
* **Permissions.** Requires the `invoices.view` permission.
|
|
818
|
+
*
|
|
817
819
|
* Available `expand` scopes are:
|
|
818
820
|
*
|
|
819
821
|
* - `invoice.invoice_type`
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { Invitee } from "./invitee.js";
|
|
5
|
-
/**
|
|
6
|
-
* A representation of a Feed response
|
|
7
|
-
*/
|
|
8
|
-
export type Feed = {
|
|
9
|
-
id?: number | undefined;
|
|
10
|
-
title?: string | null | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* Start date and time in UTC (ISO 8601 format, e.g. 2026-02-23T14:00:00Z). Null if not set.
|
|
13
|
-
*/
|
|
14
|
-
start?: string | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* End date and time in UTC (ISO 8601 format, e.g. 2026-02-23T15:00:00Z). Null if not set.
|
|
17
|
-
*/
|
|
18
|
-
end?: string | null | undefined;
|
|
19
|
-
status?: string | null | undefined;
|
|
20
|
-
allDay?: boolean | undefined;
|
|
21
|
-
standingAppt?: boolean | undefined;
|
|
22
|
-
bringingFood?: boolean | undefined;
|
|
23
|
-
notes?: string | null | undefined;
|
|
24
|
-
facility?: string | null | undefined;
|
|
25
|
-
department?: string | null | undefined;
|
|
26
|
-
eventCreator?: string | null | undefined;
|
|
27
|
-
eventCreatorImgUrl?: string | null | undefined;
|
|
28
|
-
invitees?: Array<Invitee | null> | undefined;
|
|
29
|
-
};
|
|
30
|
-
/** @internal */
|
|
31
|
-
export declare const Feed$inboundSchema: z.ZodType<Feed, z.ZodTypeDef, unknown>;
|
|
32
|
-
export declare function feedFromJSON(jsonString: string): SafeParseResult<Feed, SDKValidationError>;
|
|
33
|
-
//# sourceMappingURL=feed.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../src/models/components/feed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAwBlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|