@centricare/contract 0.1.1 → 0.1.2
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 +46 -26
- package/dist/commons/address.d.ts +35 -0
- package/dist/commons/address.d.ts.map +1 -0
- package/dist/commons/address.js +11 -0
- package/dist/commons/address.js.map +1 -0
- package/dist/commons/api-response.d.ts +8 -116
- package/dist/commons/api-response.d.ts.map +1 -1
- package/dist/commons/coded-concept.d.ts +3 -15
- package/dist/commons/coded-concept.d.ts.map +1 -1
- package/dist/commons/demographic.d.ts +29 -0
- package/dist/commons/demographic.d.ts.map +1 -0
- package/dist/commons/demographic.js +11 -0
- package/dist/commons/demographic.js.map +1 -0
- package/dist/commons/index.d.ts +3 -0
- package/dist/commons/index.d.ts.map +1 -1
- package/dist/commons/index.js +3 -0
- package/dist/commons/index.js.map +1 -1
- package/dist/commons/object-id.d.ts +8 -0
- package/dist/commons/object-id.d.ts.map +1 -0
- package/dist/commons/object-id.js +11 -0
- package/dist/commons/object-id.js.map +1 -0
- package/dist/commons/setting-option.d.ts +24 -16
- package/dist/commons/setting-option.d.ts.map +1 -1
- package/dist/models/assignment/assignment-minimal.schema.d.ts +18 -0
- package/dist/models/assignment/assignment-minimal.schema.d.ts.map +1 -0
- package/dist/models/assignment/assignment-minimal.schema.js +13 -0
- package/dist/models/assignment/assignment-minimal.schema.js.map +1 -0
- package/dist/models/assignment/assignment-partial.schema.d.ts +18 -0
- package/dist/models/assignment/assignment-partial.schema.d.ts.map +1 -0
- package/dist/models/assignment/assignment-partial.schema.js +6 -0
- package/dist/models/assignment/assignment-partial.schema.js.map +1 -0
- package/dist/models/assignment/assignment.schema.d.ts +84 -0
- package/dist/models/assignment/assignment.schema.d.ts.map +1 -0
- package/dist/models/assignment/assignment.schema.js +27 -0
- package/dist/models/assignment/assignment.schema.js.map +1 -0
- package/dist/models/assignment/index.d.ts +4 -0
- package/dist/models/assignment/index.d.ts.map +1 -0
- package/dist/models/assignment/index.js +4 -0
- package/dist/models/assignment/index.js.map +1 -0
- package/dist/models/department/department-minimal.schema.d.ts +17 -0
- package/dist/models/department/department-minimal.schema.d.ts.map +1 -0
- package/dist/models/department/department-minimal.schema.js +13 -0
- package/dist/models/department/department-minimal.schema.js.map +1 -0
- package/dist/models/department/department-partial.schema.d.ts +17 -0
- package/dist/models/department/department-partial.schema.d.ts.map +1 -0
- package/dist/models/department/department-partial.schema.js +6 -0
- package/dist/models/department/department-partial.schema.js.map +1 -0
- package/dist/models/department/department.schema.d.ts +83 -0
- package/dist/models/department/department.schema.d.ts.map +1 -0
- package/dist/models/department/department.schema.js +20 -0
- package/dist/models/department/department.schema.js.map +1 -0
- package/dist/models/department/index.d.ts +4 -0
- package/dist/models/department/index.d.ts.map +1 -0
- package/dist/models/department/index.js +4 -0
- package/dist/models/department/index.js.map +1 -0
- package/dist/models/facility/facility-minimal.schema.d.ts +19 -0
- package/dist/models/facility/facility-minimal.schema.d.ts.map +1 -0
- package/dist/models/facility/facility-minimal.schema.js +10 -0
- package/dist/models/facility/facility-minimal.schema.js.map +1 -0
- package/dist/models/facility/facility-partial.schema.d.ts +19 -0
- package/dist/models/facility/facility-partial.schema.d.ts.map +1 -0
- package/dist/models/facility/facility-partial.schema.js +6 -0
- package/dist/models/facility/facility-partial.schema.js.map +1 -0
- package/dist/models/facility/facility-settings.schema.d.ts +16 -0
- package/dist/models/facility/facility-settings.schema.d.ts.map +1 -0
- package/dist/models/facility/facility-settings.schema.js +12 -0
- package/dist/models/facility/facility-settings.schema.js.map +1 -0
- package/dist/models/facility/facility.schema.d.ts +82 -0
- package/dist/models/facility/facility.schema.d.ts.map +1 -0
- package/dist/models/facility/facility.schema.js +23 -0
- package/dist/models/facility/facility.schema.js.map +1 -0
- package/dist/models/facility/index.d.ts +5 -0
- package/dist/models/facility/index.d.ts.map +1 -0
- package/dist/models/facility/index.js +5 -0
- package/dist/models/facility/index.js.map +1 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +17 -0
- package/dist/models/index.js.map +1 -1
- package/dist/models/ksm/index.d.ts +4 -0
- package/dist/models/ksm/index.d.ts.map +1 -0
- package/dist/models/ksm/index.js +4 -0
- package/dist/models/ksm/index.js.map +1 -0
- package/dist/models/ksm/ksm-minimal.schema.d.ts +12 -0
- package/dist/models/ksm/ksm-minimal.schema.d.ts.map +1 -0
- package/dist/models/ksm/ksm-minimal.schema.js +13 -0
- package/dist/models/ksm/ksm-minimal.schema.js.map +1 -0
- package/dist/models/ksm/ksm-partial.schema.d.ts +12 -0
- package/dist/models/ksm/ksm-partial.schema.d.ts.map +1 -0
- package/dist/models/ksm/ksm-partial.schema.js +6 -0
- package/dist/models/ksm/ksm-partial.schema.js.map +1 -0
- package/dist/models/ksm/ksm.schema.d.ts +78 -0
- package/dist/models/ksm/ksm.schema.d.ts.map +1 -0
- package/dist/models/ksm/ksm.schema.js +23 -0
- package/dist/models/ksm/ksm.schema.js.map +1 -0
- package/dist/models/location/index.d.ts +5 -0
- package/dist/models/location/index.d.ts.map +1 -0
- package/dist/models/location/index.js +5 -0
- package/dist/models/location/index.js.map +1 -0
- package/dist/models/location/location-minimal.schema.d.ts +33 -0
- package/dist/models/location/location-minimal.schema.d.ts.map +1 -0
- package/dist/models/location/location-minimal.schema.js +12 -0
- package/dist/models/location/location-minimal.schema.js.map +1 -0
- package/dist/models/location/location-partial.schema.d.ts +33 -0
- package/dist/models/location/location-partial.schema.d.ts.map +1 -0
- package/dist/models/location/location-partial.schema.js +6 -0
- package/dist/models/location/location-partial.schema.js.map +1 -0
- package/dist/models/location/location-settings.schema.d.ts +8 -0
- package/dist/models/location/location-settings.schema.d.ts.map +1 -0
- package/dist/models/location/location-settings.schema.js +7 -0
- package/dist/models/location/location-settings.schema.js.map +1 -0
- package/dist/models/location/location.schema.d.ts +98 -0
- package/dist/models/location/location.schema.d.ts.map +1 -0
- package/dist/models/location/location.schema.js +30 -0
- package/dist/models/location/location.schema.js.map +1 -0
- package/dist/models/member/index.d.ts +4 -0
- package/dist/models/member/index.d.ts.map +1 -0
- package/dist/models/member/index.js +4 -0
- package/dist/models/member/index.js.map +1 -0
- package/dist/models/member/member-minimal.schema.d.ts +11 -0
- package/dist/models/member/member-minimal.schema.d.ts.map +1 -0
- package/dist/models/member/member-minimal.schema.js +9 -0
- package/dist/models/member/member-minimal.schema.js.map +1 -0
- package/dist/models/member/member-partial.schema.d.ts +11 -0
- package/dist/models/member/member-partial.schema.d.ts.map +1 -0
- package/dist/models/member/member-partial.schema.js +6 -0
- package/dist/models/member/member-partial.schema.js.map +1 -0
- package/dist/models/member/member.schema.d.ts +73 -0
- package/dist/models/member/member.schema.d.ts.map +1 -0
- package/dist/models/member/member.schema.js +16 -0
- package/dist/models/member/member.schema.js.map +1 -0
- package/dist/models/organization/index.d.ts +5 -0
- package/dist/models/organization/index.d.ts.map +1 -0
- package/dist/models/organization/index.js +5 -0
- package/dist/models/organization/index.js.map +1 -0
- package/dist/models/organization/organization-minimal.schema.d.ts +22 -0
- package/dist/models/organization/organization-minimal.schema.d.ts.map +1 -0
- package/dist/models/organization/organization-minimal.schema.js +9 -0
- package/dist/models/organization/organization-minimal.schema.js.map +1 -0
- package/dist/models/organization/organization-partial.schema.d.ts +22 -0
- package/dist/models/organization/organization-partial.schema.d.ts.map +1 -0
- package/dist/models/organization/organization-partial.schema.js +6 -0
- package/dist/models/organization/organization-partial.schema.js.map +1 -0
- package/dist/models/organization/organization-settings.schema.d.ts +8 -0
- package/dist/models/organization/organization-settings.schema.d.ts.map +1 -0
- package/dist/models/organization/organization-settings.schema.js +7 -0
- package/dist/models/organization/organization-settings.schema.js.map +1 -0
- package/dist/models/organization/organization.schema.d.ts +84 -0
- package/dist/models/organization/organization.schema.d.ts.map +1 -0
- package/dist/models/organization/organization.schema.js +24 -0
- package/dist/models/organization/organization.schema.js.map +1 -0
- package/dist/models/patient/index.d.ts +4 -0
- package/dist/models/patient/index.d.ts.map +1 -0
- package/dist/models/patient/index.js +4 -0
- package/dist/models/patient/index.js.map +1 -0
- package/dist/models/patient/patient-minimal.schema.d.ts +95 -0
- package/dist/models/patient/patient-minimal.schema.d.ts.map +1 -0
- package/dist/models/patient/patient-minimal.schema.js +13 -0
- package/dist/models/patient/patient-minimal.schema.js.map +1 -0
- package/dist/models/patient/patient-partial.schema.d.ts +95 -0
- package/dist/models/patient/patient-partial.schema.d.ts.map +1 -0
- package/dist/models/patient/patient-partial.schema.js +6 -0
- package/dist/models/patient/patient-partial.schema.js.map +1 -0
- package/dist/models/patient/patient.schema.d.ts +161 -0
- package/dist/models/patient/patient.schema.d.ts.map +1 -0
- package/dist/models/patient/patient.schema.js +35 -0
- package/dist/models/patient/patient.schema.js.map +1 -0
- package/dist/models/patient-additional/index.d.ts +4 -0
- package/dist/models/patient-additional/index.d.ts.map +1 -0
- package/dist/models/patient-additional/index.js +4 -0
- package/dist/models/patient-additional/index.js.map +1 -0
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts +17 -0
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts.map +1 -0
- package/dist/models/patient-additional/patient-additional-minimal.schema.js +13 -0
- package/dist/models/patient-additional/patient-additional-minimal.schema.js.map +1 -0
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts +17 -0
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts.map +1 -0
- package/dist/models/patient-additional/patient-additional-partial.schema.js +6 -0
- package/dist/models/patient-additional/patient-additional-partial.schema.js.map +1 -0
- package/dist/models/patient-additional/patient-additional.schema.d.ts +83 -0
- package/dist/models/patient-additional/patient-additional.schema.d.ts.map +1 -0
- package/dist/models/patient-additional/patient-additional.schema.js +21 -0
- package/dist/models/patient-additional/patient-additional.schema.js.map +1 -0
- package/dist/models/payer/index.d.ts +5 -0
- package/dist/models/payer/index.d.ts.map +1 -0
- package/dist/models/payer/index.js +5 -0
- package/dist/models/payer/index.js.map +1 -0
- package/dist/models/payer/payer-minimal.schema.d.ts +67 -0
- package/dist/models/payer/payer-minimal.schema.d.ts.map +1 -0
- package/dist/models/payer/payer-minimal.schema.js +13 -0
- package/dist/models/payer/payer-minimal.schema.js.map +1 -0
- package/dist/models/payer/payer-partial.schema.d.ts +67 -0
- package/dist/models/payer/payer-partial.schema.d.ts.map +1 -0
- package/dist/models/payer/payer-partial.schema.js +6 -0
- package/dist/models/payer/payer-partial.schema.js.map +1 -0
- package/dist/models/payer/payer-settings.schema.d.ts +27 -0
- package/dist/models/payer/payer-settings.schema.d.ts.map +1 -0
- package/dist/models/payer/payer-settings.schema.js +20 -0
- package/dist/models/payer/payer-settings.schema.js.map +1 -0
- package/dist/models/payer/payer.schema.d.ts +133 -0
- package/dist/models/payer/payer.schema.d.ts.map +1 -0
- package/dist/models/payer/payer.schema.js +47 -0
- package/dist/models/payer/payer.schema.js.map +1 -0
- package/dist/models/practitioner-schedule/index.d.ts +4 -0
- package/dist/models/practitioner-schedule/index.d.ts.map +1 -0
- package/dist/models/practitioner-schedule/index.js +4 -0
- package/dist/models/practitioner-schedule/index.js.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts +20 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js +13 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts +20 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js +6 -0
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts +86 -0
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts.map +1 -0
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js +26 -0
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js.map +1 -0
- package/dist/models/practitioner-session/index.d.ts +4 -0
- package/dist/models/practitioner-session/index.d.ts.map +1 -0
- package/dist/models/practitioner-session/index.js +4 -0
- package/dist/models/practitioner-session/index.js.map +1 -0
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts +14 -0
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts.map +1 -0
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js +13 -0
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js.map +1 -0
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts +14 -0
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts.map +1 -0
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js +6 -0
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js.map +1 -0
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts +80 -0
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts.map +1 -0
- package/dist/models/practitioner-session/practitioner-session.schema.js +26 -0
- package/dist/models/practitioner-session/practitioner-session.schema.js.map +1 -0
- package/dist/models/queue/index.d.ts +5 -0
- package/dist/models/queue/index.d.ts.map +1 -0
- package/dist/models/queue/index.js +5 -0
- package/dist/models/queue/index.js.map +1 -0
- package/dist/models/queue/queue-minimal.schema.d.ts +31 -0
- package/dist/models/queue/queue-minimal.schema.d.ts.map +1 -0
- package/dist/models/queue/queue-minimal.schema.js +13 -0
- package/dist/models/queue/queue-minimal.schema.js.map +1 -0
- package/dist/models/queue/queue-partial.schema.d.ts +31 -0
- package/dist/models/queue/queue-partial.schema.d.ts.map +1 -0
- package/dist/models/queue/queue-partial.schema.js +6 -0
- package/dist/models/queue/queue-partial.schema.js.map +1 -0
- package/dist/models/queue/queue-settings.schema.d.ts +27 -0
- package/dist/models/queue/queue-settings.schema.d.ts.map +1 -0
- package/dist/models/queue/queue-settings.schema.js +22 -0
- package/dist/models/queue/queue-settings.schema.js.map +1 -0
- package/dist/models/queue/queue.schema.d.ts +97 -0
- package/dist/models/queue/queue.schema.d.ts.map +1 -0
- package/dist/models/queue/queue.schema.js +32 -0
- package/dist/models/queue/queue.schema.js.map +1 -0
- package/dist/models/queue-event-log/index.d.ts +4 -0
- package/dist/models/queue-event-log/index.d.ts.map +1 -0
- package/dist/models/queue-event-log/index.js +4 -0
- package/dist/models/queue-event-log/index.js.map +1 -0
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts +18 -0
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts.map +1 -0
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js +13 -0
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js.map +1 -0
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts +18 -0
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts.map +1 -0
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js +6 -0
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js.map +1 -0
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts +84 -0
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts.map +1 -0
- package/dist/models/queue-event-log/queue-event-log.schema.js +25 -0
- package/dist/models/queue-event-log/queue-event-log.schema.js.map +1 -0
- package/dist/models/queue-number/index.d.ts +5 -0
- package/dist/models/queue-number/index.d.ts.map +1 -0
- package/dist/models/queue-number/index.js +5 -0
- package/dist/models/queue-number/index.js.map +1 -0
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts +21 -0
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts.map +1 -0
- package/dist/models/queue-number/queue-number-minimal.schema.js +14 -0
- package/dist/models/queue-number/queue-number-minimal.schema.js.map +1 -0
- package/dist/models/queue-number/queue-number-partial.schema.d.ts +21 -0
- package/dist/models/queue-number/queue-number-partial.schema.d.ts.map +1 -0
- package/dist/models/queue-number/queue-number-partial.schema.js +6 -0
- package/dist/models/queue-number/queue-number-partial.schema.js.map +1 -0
- package/dist/models/queue-number/queue-number-settings.schema.d.ts +27 -0
- package/dist/models/queue-number/queue-number-settings.schema.d.ts.map +1 -0
- package/dist/models/queue-number/queue-number-settings.schema.js +22 -0
- package/dist/models/queue-number/queue-number-settings.schema.js.map +1 -0
- package/dist/models/queue-number/queue-number.schema.d.ts +88 -0
- package/dist/models/queue-number/queue-number.schema.d.ts.map +1 -0
- package/dist/models/queue-number/queue-number.schema.js +42 -0
- package/dist/models/queue-number/queue-number.schema.js.map +1 -0
- package/dist/models/settings/index.d.ts +4 -0
- package/dist/models/settings/index.d.ts.map +1 -0
- package/dist/models/settings/index.js +4 -0
- package/dist/models/settings/index.js.map +1 -0
- package/dist/models/settings/settings-minimal.schema.d.ts +26 -0
- package/dist/models/settings/settings-minimal.schema.d.ts.map +1 -0
- package/dist/models/settings/settings-minimal.schema.js +11 -0
- package/dist/models/settings/settings-minimal.schema.js.map +1 -0
- package/dist/models/settings/settings-partial.schema.d.ts +26 -0
- package/dist/models/settings/settings-partial.schema.d.ts.map +1 -0
- package/dist/models/settings/settings-partial.schema.js +6 -0
- package/dist/models/settings/settings-partial.schema.js.map +1 -0
- package/dist/models/settings/settings.schema.d.ts +96 -0
- package/dist/models/settings/settings.schema.d.ts.map +1 -0
- package/dist/models/settings/settings.schema.js +25 -0
- package/dist/models/settings/settings.schema.js.map +1 -0
- package/dist/models/staff/index.d.ts +4 -0
- package/dist/models/staff/index.d.ts.map +1 -0
- package/dist/models/staff/index.js +4 -0
- package/dist/models/staff/index.js.map +1 -0
- package/dist/models/staff/staff-minimal.schema.d.ts +27 -0
- package/dist/models/staff/staff-minimal.schema.d.ts.map +1 -0
- package/dist/models/staff/staff-minimal.schema.js +13 -0
- package/dist/models/staff/staff-minimal.schema.js.map +1 -0
- package/dist/models/staff/staff-partial.schema.d.ts +27 -0
- package/dist/models/staff/staff-partial.schema.d.ts.map +1 -0
- package/dist/models/staff/staff-partial.schema.js +6 -0
- package/dist/models/staff/staff-partial.schema.js.map +1 -0
- package/dist/models/staff/staff.schema.d.ts +93 -0
- package/dist/models/staff/staff.schema.d.ts.map +1 -0
- package/dist/models/staff/staff.schema.js +25 -0
- package/dist/models/staff/staff.schema.js.map +1 -0
- package/dist/models/unit/index.d.ts +4 -0
- package/dist/models/unit/index.d.ts.map +1 -0
- package/dist/models/unit/index.js +4 -0
- package/dist/models/unit/index.js.map +1 -0
- package/dist/models/unit/unit-minimal.schema.d.ts +27 -0
- package/dist/models/unit/unit-minimal.schema.d.ts.map +1 -0
- package/dist/models/unit/unit-minimal.schema.js +13 -0
- package/dist/models/unit/unit-minimal.schema.js.map +1 -0
- package/dist/models/unit/unit-partial.schema.d.ts +27 -0
- package/dist/models/unit/unit-partial.schema.d.ts.map +1 -0
- package/dist/models/unit/unit-partial.schema.js +6 -0
- package/dist/models/unit/unit-partial.schema.js.map +1 -0
- package/dist/models/unit/unit.schema.d.ts +93 -0
- package/dist/models/unit/unit.schema.d.ts.map +1 -0
- package/dist/models/unit/unit.schema.js +27 -0
- package/dist/models/unit/unit.schema.js.map +1 -0
- package/dist/models/user/index.d.ts +5 -0
- package/dist/models/user/index.d.ts.map +1 -0
- package/dist/models/user/index.js +5 -0
- package/dist/models/user/index.js.map +1 -0
- package/dist/models/user/user-minimal.schema.d.ts +65 -0
- package/dist/models/user/user-minimal.schema.d.ts.map +1 -0
- package/dist/models/user/user-minimal.schema.js +10 -0
- package/dist/models/user/user-minimal.schema.js.map +1 -0
- package/dist/models/user/user-partial.schema.d.ts +65 -0
- package/dist/models/user/user-partial.schema.d.ts.map +1 -0
- package/dist/models/user/user-partial.schema.js +6 -0
- package/dist/models/user/user-partial.schema.js.map +1 -0
- package/dist/models/user/user-settings.schema.d.ts +8 -0
- package/dist/models/user/user-settings.schema.d.ts.map +1 -0
- package/dist/models/user/user-settings.schema.js +7 -0
- package/dist/models/user/user-settings.schema.js.map +1 -0
- package/dist/models/user/user.schema.d.ts +134 -0
- package/dist/models/user/user.schema.d.ts.map +1 -0
- package/dist/models/{user.js → user/user.schema.js} +10 -30
- package/dist/models/user/user.schema.js.map +1 -0
- package/package.json +14 -2
- package/dist/example.test.d.ts +0 -6
- package/dist/example.test.d.ts.map +0 -1
- package/dist/example.test.js +0 -147
- package/dist/example.test.js.map +0 -1
- package/dist/models/settings.d.ts +0 -189
- package/dist/models/settings.d.ts.map +0 -1
- package/dist/models/settings.js +0 -34
- package/dist/models/settings.js.map +0 -1
- package/dist/models/user.d.ts +0 -1110
- package/dist/models/user.d.ts.map +0 -1
- package/dist/models/user.js.map +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type Schema as MongooseSchema, type Model as MongooseModel } from "mongoose";
|
|
3
|
+
import type { InferDocument } from "@nullix/zod-mongoose";
|
|
4
|
+
export declare const assignmentSchema: z.ZodObject<{
|
|
5
|
+
_id: z.ZodString;
|
|
6
|
+
facility_id: z.ZodString;
|
|
7
|
+
type: z.ZodObject<{
|
|
8
|
+
system: z.ZodString;
|
|
9
|
+
value: z.ZodString;
|
|
10
|
+
display: z.ZodOptional<z.ZodString>;
|
|
11
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
12
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
for: z.ZodString;
|
|
15
|
+
assigned_to: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>;
|
|
16
|
+
created_at: z.ZodString;
|
|
17
|
+
created_by: z.ZodString;
|
|
18
|
+
updated_at: z.ZodString;
|
|
19
|
+
updated_by: z.ZodString;
|
|
20
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type Assignment = z.infer<typeof assignmentSchema>;
|
|
23
|
+
export declare const AssignmentMongooseSchema: MongooseSchema;
|
|
24
|
+
export type AssignmentDocument = InferDocument<typeof assignmentSchema>;
|
|
25
|
+
export declare const AssignmentModel: MongooseModel<{
|
|
26
|
+
[x: number]: unknown;
|
|
27
|
+
[x: symbol]: unknown;
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
}, {}, {}, {
|
|
30
|
+
id: string;
|
|
31
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
32
|
+
[x: number]: unknown;
|
|
33
|
+
[x: symbol]: unknown;
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
}, {
|
|
36
|
+
id: string;
|
|
37
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
38
|
+
[x: number]: unknown;
|
|
39
|
+
[x: symbol]: unknown;
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
} & Required<{
|
|
42
|
+
_id: unknown;
|
|
43
|
+
}> & {
|
|
44
|
+
__v: number;
|
|
45
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
46
|
+
id: string;
|
|
47
|
+
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
48
|
+
[x: number]: unknown;
|
|
49
|
+
[x: symbol]: unknown;
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
52
|
+
[x: number]: unknown;
|
|
53
|
+
[x: symbol]: unknown;
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
}, {
|
|
56
|
+
id: string;
|
|
57
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
58
|
+
[x: number]: unknown;
|
|
59
|
+
[x: symbol]: unknown;
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
} & Required<{
|
|
62
|
+
_id: unknown;
|
|
63
|
+
}> & {
|
|
64
|
+
__v: number;
|
|
65
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
66
|
+
id: string;
|
|
67
|
+
}>, unknown, {
|
|
68
|
+
[x: number]: {};
|
|
69
|
+
[x: symbol]: {};
|
|
70
|
+
[x: string]: {};
|
|
71
|
+
} & Required<{
|
|
72
|
+
_id: unknown;
|
|
73
|
+
}> & {
|
|
74
|
+
__v: number;
|
|
75
|
+
}>, {
|
|
76
|
+
[x: number]: {};
|
|
77
|
+
[x: symbol]: {};
|
|
78
|
+
[x: string]: {};
|
|
79
|
+
} & Required<{
|
|
80
|
+
_id: unknown;
|
|
81
|
+
}> & {
|
|
82
|
+
__v: number;
|
|
83
|
+
}>;
|
|
84
|
+
//# sourceMappingURL=assignment.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assignment.schema.d.ts","sourceRoot":"","sources":["../../../src/models/assignment/assignment.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAS,KAAK,MAAM,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAM1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAgB3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,wBAAwB,EAAE,cAAmD,CAAC;AAC3F,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAGxE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { toMongooseSchema } from "@nullix/zod-mongoose";
|
|
3
|
+
import { model } from "mongoose";
|
|
4
|
+
import { objectIdSchema } from "../../commons/object-id";
|
|
5
|
+
import { codedConceptSchema } from "../../commons/coded-concept";
|
|
6
|
+
const nonEmpty = z.string().min(1, { message: "assigned_to is required" });
|
|
7
|
+
export const assignmentSchema = z.object({
|
|
8
|
+
_id: objectIdSchema,
|
|
9
|
+
facility_id: objectIdSchema,
|
|
10
|
+
type: codedConceptSchema,
|
|
11
|
+
for: z.string().min(1, { message: "for is required" }),
|
|
12
|
+
assigned_to: z
|
|
13
|
+
.union([nonEmpty, z.array(nonEmpty)])
|
|
14
|
+
.transform((val) => (Array.isArray(val) ? val : [val]))
|
|
15
|
+
.refine((arr) => arr.length >= 1, {
|
|
16
|
+
message: "assigned_to is required",
|
|
17
|
+
}),
|
|
18
|
+
created_at: z.string(),
|
|
19
|
+
created_by: z.string(),
|
|
20
|
+
updated_at: z.string(),
|
|
21
|
+
updated_by: z.string(),
|
|
22
|
+
schema_version: z.number().int().positive().default(1),
|
|
23
|
+
});
|
|
24
|
+
export const AssignmentMongooseSchema = toMongooseSchema(assignmentSchema);
|
|
25
|
+
const AssignmentModelName = "assignments";
|
|
26
|
+
export const AssignmentModel = model(AssignmentModelName, AssignmentMongooseSchema);
|
|
27
|
+
//# sourceMappingURL=assignment.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assignment.schema.js","sourceRoot":"","sources":["../../../src/models/assignment/assignment.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,EAA8D,MAAM,UAAU,CAAC;AAE7F,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC,CAAC;AAE3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,GAAG,EAAE,cAAc;IACnB,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,kBAAkB;IACxB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC;IACtD,WAAW,EAAE,CAAC;SACX,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;SACpC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;SACtD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE;QAChC,OAAO,EAAE,yBAAyB;KACnC,CAAC;IACJ,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,wBAAwB,GAAmB,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAG3F,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAC1C,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/assignment/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/assignment/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal department schema (omits server-generated fields).
|
|
4
|
+
*/
|
|
5
|
+
export declare const departmentMinimalSchema: z.ZodObject<{
|
|
6
|
+
type: z.ZodObject<{
|
|
7
|
+
system: z.ZodString;
|
|
8
|
+
value: z.ZodString;
|
|
9
|
+
display: z.ZodOptional<z.ZodString>;
|
|
10
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
11
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
facility_id: z.ZodString;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type DepartmentMinimal = z.infer<typeof departmentMinimalSchema>;
|
|
17
|
+
//# sourceMappingURL=department-minimal.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/department/department-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;iBAOlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { departmentSchema } from "./department.schema";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal department schema (omits server-generated fields).
|
|
4
|
+
*/
|
|
5
|
+
export const departmentMinimalSchema = departmentSchema.omit({
|
|
6
|
+
_id: true,
|
|
7
|
+
created_at: true,
|
|
8
|
+
created_by: true,
|
|
9
|
+
updated_at: true,
|
|
10
|
+
updated_by: true,
|
|
11
|
+
schema_version: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=department-minimal.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/department/department-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AAExE;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,gBAAgB,CAAC,IAAI,CAAC;IAC3D,GAAG,EAAE,IAAI;IACT,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Partial department schema (based on minimal, all fields optional).
|
|
4
|
+
*/
|
|
5
|
+
export declare const departmentPartialSchema: z.ZodObject<{
|
|
6
|
+
type: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
system: z.ZodString;
|
|
8
|
+
value: z.ZodString;
|
|
9
|
+
display: z.ZodOptional<z.ZodString>;
|
|
10
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
11
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14
|
+
facility_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type DepartmentPartial = z.infer<typeof departmentPartialSchema>;
|
|
17
|
+
//# sourceMappingURL=department-partial.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/department/department-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;iBAAoC,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { departmentMinimalSchema } from "./department-minimal.schema";
|
|
2
|
+
/**
|
|
3
|
+
* Partial department schema (based on minimal, all fields optional).
|
|
4
|
+
*/
|
|
5
|
+
export const departmentPartialSchema = departmentMinimalSchema.partial();
|
|
6
|
+
//# sourceMappingURL=department-partial.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department-partial.schema.js","sourceRoot":"","sources":["../../../src/models/department/department-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAA0B,MAAM,6BAA6B,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAAC,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type Schema as MongooseSchema, type Model as MongooseModel } from "mongoose";
|
|
3
|
+
import type { InferDocument } from "@nullix/zod-mongoose";
|
|
4
|
+
export declare const departmentSchema: z.ZodObject<{
|
|
5
|
+
_id: z.ZodString;
|
|
6
|
+
facility_id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
type: z.ZodObject<{
|
|
9
|
+
system: z.ZodString;
|
|
10
|
+
value: z.ZodString;
|
|
11
|
+
display: z.ZodOptional<z.ZodString>;
|
|
12
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
13
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
created_at: z.ZodString;
|
|
16
|
+
created_by: z.ZodString;
|
|
17
|
+
updated_at: z.ZodString;
|
|
18
|
+
updated_by: z.ZodString;
|
|
19
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type Department = z.infer<typeof departmentSchema>;
|
|
22
|
+
export declare const DepartmentMongooseSchema: MongooseSchema;
|
|
23
|
+
export type DepartmentDocument = InferDocument<typeof departmentSchema>;
|
|
24
|
+
export declare const DepartmentModel: MongooseModel<{
|
|
25
|
+
[x: number]: unknown;
|
|
26
|
+
[x: symbol]: unknown;
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
}, {}, {}, {
|
|
29
|
+
id: string;
|
|
30
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
31
|
+
[x: number]: unknown;
|
|
32
|
+
[x: symbol]: unknown;
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
}, {
|
|
35
|
+
id: string;
|
|
36
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
37
|
+
[x: number]: unknown;
|
|
38
|
+
[x: symbol]: unknown;
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} & Required<{
|
|
41
|
+
_id: unknown;
|
|
42
|
+
}> & {
|
|
43
|
+
__v: number;
|
|
44
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
45
|
+
id: string;
|
|
46
|
+
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
47
|
+
[x: number]: unknown;
|
|
48
|
+
[x: symbol]: unknown;
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
51
|
+
[x: number]: unknown;
|
|
52
|
+
[x: symbol]: unknown;
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
}, {
|
|
55
|
+
id: string;
|
|
56
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
57
|
+
[x: number]: unknown;
|
|
58
|
+
[x: symbol]: unknown;
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
} & Required<{
|
|
61
|
+
_id: unknown;
|
|
62
|
+
}> & {
|
|
63
|
+
__v: number;
|
|
64
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
65
|
+
id: string;
|
|
66
|
+
}>, unknown, {
|
|
67
|
+
[x: number]: {};
|
|
68
|
+
[x: symbol]: {};
|
|
69
|
+
[x: string]: {};
|
|
70
|
+
} & Required<{
|
|
71
|
+
_id: unknown;
|
|
72
|
+
}> & {
|
|
73
|
+
__v: number;
|
|
74
|
+
}>, {
|
|
75
|
+
[x: number]: {};
|
|
76
|
+
[x: symbol]: {};
|
|
77
|
+
[x: string]: {};
|
|
78
|
+
} & Required<{
|
|
79
|
+
_id: unknown;
|
|
80
|
+
}> & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}>;
|
|
83
|
+
//# sourceMappingURL=department.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department.schema.d.ts","sourceRoot":"","sources":["../../../src/models/department/department.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAS,KAAK,MAAM,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;iBAU3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,wBAAwB,EAAE,cAAmD,CAAC;AAC3F,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAGxE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { toMongooseSchema } from "@nullix/zod-mongoose";
|
|
3
|
+
import { model } from "mongoose";
|
|
4
|
+
import { objectIdSchema } from "../../commons/object-id";
|
|
5
|
+
import { codedConceptSchema } from "../../commons/coded-concept";
|
|
6
|
+
export const departmentSchema = z.object({
|
|
7
|
+
_id: objectIdSchema,
|
|
8
|
+
facility_id: objectIdSchema,
|
|
9
|
+
name: z.string().min(1, { message: "name is required" }),
|
|
10
|
+
type: codedConceptSchema,
|
|
11
|
+
created_at: z.string(),
|
|
12
|
+
created_by: z.string(),
|
|
13
|
+
updated_at: z.string(),
|
|
14
|
+
updated_by: z.string(),
|
|
15
|
+
schema_version: z.number().int().positive().default(1),
|
|
16
|
+
});
|
|
17
|
+
export const DepartmentMongooseSchema = toMongooseSchema(departmentSchema);
|
|
18
|
+
const DepartmentModelName = "departments";
|
|
19
|
+
export const DepartmentModel = model(DepartmentModelName, DepartmentMongooseSchema);
|
|
20
|
+
//# sourceMappingURL=department.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department.schema.js","sourceRoot":"","sources":["../../../src/models/department/department.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,EAA8D,MAAM,UAAU,CAAC;AAE7F,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,GAAG,EAAE,cAAc;IACnB,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,IAAI,EAAE,kBAAkB;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,wBAAwB,GAAmB,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAG3F,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAC1C,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/department/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/department/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal facility schema (omits server-generated fields).
|
|
4
|
+
*/
|
|
5
|
+
export declare const facilityMinimalSchema: z.ZodObject<{
|
|
6
|
+
settings_id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
organization_id: z.ZodString;
|
|
9
|
+
status: z.ZodObject<{
|
|
10
|
+
system: z.ZodString;
|
|
11
|
+
value: z.ZodString;
|
|
12
|
+
display: z.ZodOptional<z.ZodString>;
|
|
13
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
member_count: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type FacilityMinimal = z.infer<typeof facilityMinimalSchema>;
|
|
19
|
+
//# sourceMappingURL=facility-minimal.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/facility/facility-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAIhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { facilitySchema } from "./facility.schema";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal facility schema (omits server-generated fields).
|
|
4
|
+
*/
|
|
5
|
+
export const facilityMinimalSchema = facilitySchema.omit({
|
|
6
|
+
id: true,
|
|
7
|
+
createdAt: true,
|
|
8
|
+
updatedAt: true,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=facility-minimal.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/facility/facility-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAiB,MAAM,mBAAmB,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,cAAc,CAAC,IAAI,CAAC;IACvD,EAAE,EAAE,IAAI;IACR,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Partial facility schema (based on minimal, all fields optional).
|
|
4
|
+
*/
|
|
5
|
+
export declare const facilityPartialSchema: z.ZodObject<{
|
|
6
|
+
settings_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
system: z.ZodString;
|
|
11
|
+
value: z.ZodString;
|
|
12
|
+
display: z.ZodOptional<z.ZodString>;
|
|
13
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
member_count: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type FacilityPartial = z.infer<typeof facilityPartialSchema>;
|
|
19
|
+
//# sourceMappingURL=facility-partial.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/facility/facility-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAAkC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { facilityMinimalSchema } from "./facility-minimal.schema";
|
|
2
|
+
/**
|
|
3
|
+
* Partial facility schema (based on minimal, all fields optional).
|
|
4
|
+
*/
|
|
5
|
+
export const facilityPartialSchema = facilityMinimalSchema.partial();
|
|
6
|
+
//# sourceMappingURL=facility-partial.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-partial.schema.js","sourceRoot":"","sources":["../../../src/models/facility/facility-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,2BAA2B,CAAC;AAExF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const facilitySettingsSchema: z.ZodObject<{
|
|
3
|
+
branding_logo: z.ZodOptional<z.ZodString>;
|
|
4
|
+
satusehat_org_id: z.ZodOptional<z.ZodString>;
|
|
5
|
+
satusehat_client_id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
satusehat_client_secret: z.ZodOptional<z.ZodString>;
|
|
7
|
+
queue_number_separator: z.ZodOptional<z.ZodString>;
|
|
8
|
+
queue_number_prefix: z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
none: "none";
|
|
10
|
+
guarantor: "guarantor";
|
|
11
|
+
}>>;
|
|
12
|
+
queue_no_response_count: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
queue_skip_no_response: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type FacilitySettings = z.infer<typeof facilitySettingsSchema>;
|
|
16
|
+
//# sourceMappingURL=facility-settings.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-settings.schema.d.ts","sourceRoot":"","sources":["../../../src/models/facility/facility-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBASjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const facilitySettingsSchema = z.object({
|
|
3
|
+
branding_logo: z.string().optional(),
|
|
4
|
+
satusehat_org_id: z.string().optional(),
|
|
5
|
+
satusehat_client_id: z.string().optional(),
|
|
6
|
+
satusehat_client_secret: z.string().optional(),
|
|
7
|
+
queue_number_separator: z.string().optional(),
|
|
8
|
+
queue_number_prefix: z.enum(["none", "guarantor"]).default("guarantor"),
|
|
9
|
+
queue_no_response_count: z.number().default(3),
|
|
10
|
+
queue_skip_no_response: z.boolean().default(true),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=facility-settings.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility-settings.schema.js","sourceRoot":"","sources":["../../../src/models/facility/facility-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C,mBAAmB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACvE,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,sBAAsB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CAClD,CAAC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type Schema as MongooseSchema, type Model as MongooseModel } from "mongoose";
|
|
3
|
+
import type { InferDocument } from "@nullix/zod-mongoose";
|
|
4
|
+
export declare const facilitySchema: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
member_count: z.ZodNumber;
|
|
8
|
+
organization_id: z.ZodString;
|
|
9
|
+
status: z.ZodObject<{
|
|
10
|
+
system: z.ZodString;
|
|
11
|
+
value: z.ZodString;
|
|
12
|
+
display: z.ZodOptional<z.ZodString>;
|
|
13
|
+
valid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
settings_id: z.ZodString;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
updatedAt: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type Facility = z.infer<typeof facilitySchema>;
|
|
21
|
+
export declare const FacilityMongooseSchema: MongooseSchema;
|
|
22
|
+
export type FacilityDocument = InferDocument<typeof facilitySchema>;
|
|
23
|
+
export declare const FacilityModel: MongooseModel<{
|
|
24
|
+
[x: number]: unknown;
|
|
25
|
+
[x: symbol]: unknown;
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}, {}, {}, {
|
|
28
|
+
id: string;
|
|
29
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
30
|
+
[x: number]: unknown;
|
|
31
|
+
[x: symbol]: unknown;
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
}, {
|
|
34
|
+
id: string;
|
|
35
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
36
|
+
[x: number]: unknown;
|
|
37
|
+
[x: symbol]: unknown;
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
} & Required<{
|
|
40
|
+
_id: unknown;
|
|
41
|
+
}> & {
|
|
42
|
+
__v: number;
|
|
43
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
44
|
+
id: string;
|
|
45
|
+
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
46
|
+
[x: number]: unknown;
|
|
47
|
+
[x: symbol]: unknown;
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
}, import("mongoose").Document<unknown, {}, {
|
|
50
|
+
[x: number]: unknown;
|
|
51
|
+
[x: symbol]: unknown;
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}, {
|
|
54
|
+
id: string;
|
|
55
|
+
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
56
|
+
[x: number]: unknown;
|
|
57
|
+
[x: symbol]: unknown;
|
|
58
|
+
[x: string]: unknown;
|
|
59
|
+
} & Required<{
|
|
60
|
+
_id: unknown;
|
|
61
|
+
}> & {
|
|
62
|
+
__v: number;
|
|
63
|
+
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
64
|
+
id: string;
|
|
65
|
+
}>, unknown, {
|
|
66
|
+
[x: number]: {};
|
|
67
|
+
[x: symbol]: {};
|
|
68
|
+
[x: string]: {};
|
|
69
|
+
} & Required<{
|
|
70
|
+
_id: unknown;
|
|
71
|
+
}> & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}>, {
|
|
74
|
+
[x: number]: {};
|
|
75
|
+
[x: symbol]: {};
|
|
76
|
+
[x: string]: {};
|
|
77
|
+
} & Required<{
|
|
78
|
+
_id: unknown;
|
|
79
|
+
}> & {
|
|
80
|
+
__v: number;
|
|
81
|
+
}>;
|
|
82
|
+
//# sourceMappingURL=facility.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility.schema.d.ts","sourceRoot":"","sources":["../../../src/models/facility/facility.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAS,KAAK,MAAM,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;iBAYzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,cAAiD,CAAC;AACvF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;AAGpE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { toMongooseSchema } from "@nullix/zod-mongoose";
|
|
3
|
+
import { objectIdSchema } from "../../commons/object-id";
|
|
4
|
+
import { model } from "mongoose";
|
|
5
|
+
import { codedConceptSchema } from "../../commons";
|
|
6
|
+
import { timestampSchema } from "../../commons/timestamp";
|
|
7
|
+
export const facilitySchema = z.object({
|
|
8
|
+
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
9
|
+
name: z.string().min(1, { message: "name is required" }),
|
|
10
|
+
member_count: z
|
|
11
|
+
.number()
|
|
12
|
+
.int()
|
|
13
|
+
.positive({ message: "member_count must be a positive integer" }),
|
|
14
|
+
organization_id: objectIdSchema,
|
|
15
|
+
status: codedConceptSchema,
|
|
16
|
+
settings_id: objectIdSchema,
|
|
17
|
+
createdAt: timestampSchema,
|
|
18
|
+
updatedAt: timestampSchema,
|
|
19
|
+
});
|
|
20
|
+
export const FacilityMongooseSchema = toMongooseSchema(facilitySchema);
|
|
21
|
+
const FacilityModelName = "facilities";
|
|
22
|
+
export const FacilityModel = model(FacilityModelName, FacilityMongooseSchema);
|
|
23
|
+
//# sourceMappingURL=facility.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facility.schema.js","sourceRoot":"","sources":["../../../src/models/facility/facility.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,KAAK,EAA8D,MAAM,UAAU,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAqB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAM1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAC3D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;IACnE,eAAe,EAAE,cAAc;IAC/B,MAAM,EAAE,kBAAkB;IAC1B,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAmB,gBAAgB,CAAC,cAAc,CAAC,CAAC;AAGvF,MAAM,iBAAiB,GAAG,YAAY,CAAC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/facility/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/facility/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -3,4 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from "./user";
|
|
5
5
|
export * from "./settings";
|
|
6
|
+
export * from "./assignment";
|
|
7
|
+
export * from "./department";
|
|
8
|
+
export * from "./facility";
|
|
9
|
+
export * from "./location";
|
|
10
|
+
export * from "./member";
|
|
11
|
+
export * from "./organization";
|
|
12
|
+
export * from "./patient";
|
|
13
|
+
export * from "./patient-additional";
|
|
14
|
+
export * from "./staff";
|
|
15
|
+
export * from "./unit";
|
|
16
|
+
export * from "./practitioner-schedule";
|
|
17
|
+
export * from "./practitioner-session";
|
|
18
|
+
export * from "./ksm";
|
|
19
|
+
export * from "./payer";
|
|
20
|
+
export * from "./queue";
|
|
21
|
+
export * from "./queue-event-log";
|
|
22
|
+
export * from "./queue-number";
|
|
6
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
|