@centricare/contract 0.1.2 → 0.2.0
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 +28 -67
- package/dist/index.cjs +1469 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +3324 -0
- package/dist/index.d.ts +3322 -5
- package/dist/index.mjs +1325 -0
- package/dist/index.mjs.map +1 -0
- package/dist/registry/index.cjs +412 -0
- package/dist/registry/index.cjs.map +1 -0
- package/dist/registry/index.d.mts +60 -0
- package/dist/registry/index.d.ts +60 -0
- package/dist/registry/index.mjs +405 -0
- package/dist/registry/index.mjs.map +1 -0
- package/package.json +18 -9
- package/dist/commons/address.d.ts +0 -35
- package/dist/commons/address.d.ts.map +0 -1
- package/dist/commons/address.js +0 -11
- package/dist/commons/address.js.map +0 -1
- package/dist/commons/api-response.d.ts +0 -70
- package/dist/commons/api-response.d.ts.map +0 -1
- package/dist/commons/api-response.js +0 -49
- package/dist/commons/api-response.js.map +0 -1
- package/dist/commons/coded-concept.d.ts +0 -16
- package/dist/commons/coded-concept.d.ts.map +0 -1
- package/dist/commons/coded-concept.js +0 -20
- package/dist/commons/coded-concept.js.map +0 -1
- package/dist/commons/demographic.d.ts +0 -29
- package/dist/commons/demographic.d.ts.map +0 -1
- package/dist/commons/demographic.js +0 -11
- package/dist/commons/demographic.js.map +0 -1
- package/dist/commons/index.d.ts +0 -12
- package/dist/commons/index.d.ts.map +0 -1
- package/dist/commons/index.js +0 -12
- package/dist/commons/index.js.map +0 -1
- package/dist/commons/object-id.d.ts +0 -8
- package/dist/commons/object-id.d.ts.map +0 -1
- package/dist/commons/object-id.js +0 -11
- package/dist/commons/object-id.js.map +0 -1
- package/dist/commons/setting-option.d.ts +0 -45
- package/dist/commons/setting-option.d.ts.map +0 -1
- package/dist/commons/setting-option.js +0 -27
- package/dist/commons/setting-option.js.map +0 -1
- package/dist/commons/timestamp.d.ts +0 -7
- package/dist/commons/timestamp.d.ts.map +0 -1
- package/dist/commons/timestamp.js +0 -9
- package/dist/commons/timestamp.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/models/assignment/assignment-minimal.schema.d.ts +0 -18
- package/dist/models/assignment/assignment-minimal.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment-minimal.schema.js +0 -13
- package/dist/models/assignment/assignment-minimal.schema.js.map +0 -1
- package/dist/models/assignment/assignment-partial.schema.d.ts +0 -18
- package/dist/models/assignment/assignment-partial.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment-partial.schema.js +0 -6
- package/dist/models/assignment/assignment-partial.schema.js.map +0 -1
- package/dist/models/assignment/assignment.schema.d.ts +0 -84
- package/dist/models/assignment/assignment.schema.d.ts.map +0 -1
- package/dist/models/assignment/assignment.schema.js +0 -27
- package/dist/models/assignment/assignment.schema.js.map +0 -1
- package/dist/models/assignment/index.d.ts +0 -4
- package/dist/models/assignment/index.d.ts.map +0 -1
- package/dist/models/assignment/index.js +0 -4
- package/dist/models/assignment/index.js.map +0 -1
- package/dist/models/department/department-minimal.schema.d.ts +0 -17
- package/dist/models/department/department-minimal.schema.d.ts.map +0 -1
- package/dist/models/department/department-minimal.schema.js +0 -13
- package/dist/models/department/department-minimal.schema.js.map +0 -1
- package/dist/models/department/department-partial.schema.d.ts +0 -17
- package/dist/models/department/department-partial.schema.d.ts.map +0 -1
- package/dist/models/department/department-partial.schema.js +0 -6
- package/dist/models/department/department-partial.schema.js.map +0 -1
- package/dist/models/department/department.schema.d.ts +0 -83
- package/dist/models/department/department.schema.d.ts.map +0 -1
- package/dist/models/department/department.schema.js +0 -20
- package/dist/models/department/department.schema.js.map +0 -1
- package/dist/models/department/index.d.ts +0 -4
- package/dist/models/department/index.d.ts.map +0 -1
- package/dist/models/department/index.js +0 -4
- package/dist/models/department/index.js.map +0 -1
- package/dist/models/facility/facility-minimal.schema.d.ts +0 -19
- package/dist/models/facility/facility-minimal.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-minimal.schema.js +0 -10
- package/dist/models/facility/facility-minimal.schema.js.map +0 -1
- package/dist/models/facility/facility-partial.schema.d.ts +0 -19
- package/dist/models/facility/facility-partial.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-partial.schema.js +0 -6
- package/dist/models/facility/facility-partial.schema.js.map +0 -1
- package/dist/models/facility/facility-settings.schema.d.ts +0 -16
- package/dist/models/facility/facility-settings.schema.d.ts.map +0 -1
- package/dist/models/facility/facility-settings.schema.js +0 -12
- package/dist/models/facility/facility-settings.schema.js.map +0 -1
- package/dist/models/facility/facility.schema.d.ts +0 -82
- package/dist/models/facility/facility.schema.d.ts.map +0 -1
- package/dist/models/facility/facility.schema.js +0 -23
- package/dist/models/facility/facility.schema.js.map +0 -1
- package/dist/models/facility/index.d.ts +0 -5
- package/dist/models/facility/index.d.ts.map +0 -1
- package/dist/models/facility/index.js +0 -5
- package/dist/models/facility/index.js.map +0 -1
- package/dist/models/index.d.ts +0 -23
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -23
- package/dist/models/index.js.map +0 -1
- package/dist/models/ksm/index.d.ts +0 -4
- package/dist/models/ksm/index.d.ts.map +0 -1
- package/dist/models/ksm/index.js +0 -4
- package/dist/models/ksm/index.js.map +0 -1
- package/dist/models/ksm/ksm-minimal.schema.d.ts +0 -12
- package/dist/models/ksm/ksm-minimal.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm-minimal.schema.js +0 -13
- package/dist/models/ksm/ksm-minimal.schema.js.map +0 -1
- package/dist/models/ksm/ksm-partial.schema.d.ts +0 -12
- package/dist/models/ksm/ksm-partial.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm-partial.schema.js +0 -6
- package/dist/models/ksm/ksm-partial.schema.js.map +0 -1
- package/dist/models/ksm/ksm.schema.d.ts +0 -78
- package/dist/models/ksm/ksm.schema.d.ts.map +0 -1
- package/dist/models/ksm/ksm.schema.js +0 -23
- package/dist/models/ksm/ksm.schema.js.map +0 -1
- package/dist/models/location/index.d.ts +0 -5
- package/dist/models/location/index.d.ts.map +0 -1
- package/dist/models/location/index.js +0 -5
- package/dist/models/location/index.js.map +0 -1
- package/dist/models/location/location-minimal.schema.d.ts +0 -33
- package/dist/models/location/location-minimal.schema.d.ts.map +0 -1
- package/dist/models/location/location-minimal.schema.js +0 -12
- package/dist/models/location/location-minimal.schema.js.map +0 -1
- package/dist/models/location/location-partial.schema.d.ts +0 -33
- package/dist/models/location/location-partial.schema.d.ts.map +0 -1
- package/dist/models/location/location-partial.schema.js +0 -6
- package/dist/models/location/location-partial.schema.js.map +0 -1
- package/dist/models/location/location-settings.schema.d.ts +0 -8
- package/dist/models/location/location-settings.schema.d.ts.map +0 -1
- package/dist/models/location/location-settings.schema.js +0 -7
- package/dist/models/location/location-settings.schema.js.map +0 -1
- package/dist/models/location/location.schema.d.ts +0 -98
- package/dist/models/location/location.schema.d.ts.map +0 -1
- package/dist/models/location/location.schema.js +0 -30
- package/dist/models/location/location.schema.js.map +0 -1
- package/dist/models/member/index.d.ts +0 -4
- package/dist/models/member/index.d.ts.map +0 -1
- package/dist/models/member/index.js +0 -4
- package/dist/models/member/index.js.map +0 -1
- package/dist/models/member/member-minimal.schema.d.ts +0 -11
- package/dist/models/member/member-minimal.schema.d.ts.map +0 -1
- package/dist/models/member/member-minimal.schema.js +0 -9
- package/dist/models/member/member-minimal.schema.js.map +0 -1
- package/dist/models/member/member-partial.schema.d.ts +0 -11
- package/dist/models/member/member-partial.schema.d.ts.map +0 -1
- package/dist/models/member/member-partial.schema.js +0 -6
- package/dist/models/member/member-partial.schema.js.map +0 -1
- package/dist/models/member/member.schema.d.ts +0 -73
- package/dist/models/member/member.schema.d.ts.map +0 -1
- package/dist/models/member/member.schema.js +0 -16
- package/dist/models/member/member.schema.js.map +0 -1
- package/dist/models/organization/index.d.ts +0 -5
- package/dist/models/organization/index.d.ts.map +0 -1
- package/dist/models/organization/index.js +0 -5
- package/dist/models/organization/index.js.map +0 -1
- package/dist/models/organization/organization-minimal.schema.d.ts +0 -22
- package/dist/models/organization/organization-minimal.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-minimal.schema.js +0 -9
- package/dist/models/organization/organization-minimal.schema.js.map +0 -1
- package/dist/models/organization/organization-partial.schema.d.ts +0 -22
- package/dist/models/organization/organization-partial.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-partial.schema.js +0 -6
- package/dist/models/organization/organization-partial.schema.js.map +0 -1
- package/dist/models/organization/organization-settings.schema.d.ts +0 -8
- package/dist/models/organization/organization-settings.schema.d.ts.map +0 -1
- package/dist/models/organization/organization-settings.schema.js +0 -7
- package/dist/models/organization/organization-settings.schema.js.map +0 -1
- package/dist/models/organization/organization.schema.d.ts +0 -84
- package/dist/models/organization/organization.schema.d.ts.map +0 -1
- package/dist/models/organization/organization.schema.js +0 -24
- package/dist/models/organization/organization.schema.js.map +0 -1
- package/dist/models/patient/index.d.ts +0 -4
- package/dist/models/patient/index.d.ts.map +0 -1
- package/dist/models/patient/index.js +0 -4
- package/dist/models/patient/index.js.map +0 -1
- package/dist/models/patient/patient-minimal.schema.d.ts +0 -95
- package/dist/models/patient/patient-minimal.schema.d.ts.map +0 -1
- package/dist/models/patient/patient-minimal.schema.js +0 -13
- package/dist/models/patient/patient-minimal.schema.js.map +0 -1
- package/dist/models/patient/patient-partial.schema.d.ts +0 -95
- package/dist/models/patient/patient-partial.schema.d.ts.map +0 -1
- package/dist/models/patient/patient-partial.schema.js +0 -6
- package/dist/models/patient/patient-partial.schema.js.map +0 -1
- package/dist/models/patient/patient.schema.d.ts +0 -161
- package/dist/models/patient/patient.schema.d.ts.map +0 -1
- package/dist/models/patient/patient.schema.js +0 -35
- package/dist/models/patient/patient.schema.js.map +0 -1
- package/dist/models/patient-additional/index.d.ts +0 -4
- package/dist/models/patient-additional/index.d.ts.map +0 -1
- package/dist/models/patient-additional/index.js +0 -4
- package/dist/models/patient-additional/index.js.map +0 -1
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts +0 -17
- package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional-minimal.schema.js +0 -13
- package/dist/models/patient-additional/patient-additional-minimal.schema.js.map +0 -1
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts +0 -17
- package/dist/models/patient-additional/patient-additional-partial.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional-partial.schema.js +0 -6
- package/dist/models/patient-additional/patient-additional-partial.schema.js.map +0 -1
- package/dist/models/patient-additional/patient-additional.schema.d.ts +0 -83
- package/dist/models/patient-additional/patient-additional.schema.d.ts.map +0 -1
- package/dist/models/patient-additional/patient-additional.schema.js +0 -21
- package/dist/models/patient-additional/patient-additional.schema.js.map +0 -1
- package/dist/models/payer/index.d.ts +0 -5
- package/dist/models/payer/index.d.ts.map +0 -1
- package/dist/models/payer/index.js +0 -5
- package/dist/models/payer/index.js.map +0 -1
- package/dist/models/payer/payer-minimal.schema.d.ts +0 -67
- package/dist/models/payer/payer-minimal.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-minimal.schema.js +0 -13
- package/dist/models/payer/payer-minimal.schema.js.map +0 -1
- package/dist/models/payer/payer-partial.schema.d.ts +0 -67
- package/dist/models/payer/payer-partial.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-partial.schema.js +0 -6
- package/dist/models/payer/payer-partial.schema.js.map +0 -1
- package/dist/models/payer/payer-settings.schema.d.ts +0 -27
- package/dist/models/payer/payer-settings.schema.d.ts.map +0 -1
- package/dist/models/payer/payer-settings.schema.js +0 -20
- package/dist/models/payer/payer-settings.schema.js.map +0 -1
- package/dist/models/payer/payer.schema.d.ts +0 -133
- package/dist/models/payer/payer.schema.d.ts.map +0 -1
- package/dist/models/payer/payer.schema.js +0 -47
- package/dist/models/payer/payer.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/index.d.ts +0 -4
- package/dist/models/practitioner-schedule/index.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/index.js +0 -4
- package/dist/models/practitioner-schedule/index.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts +0 -20
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js +0 -13
- package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts +0 -20
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js +0 -6
- package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts +0 -86
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts.map +0 -1
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js +0 -26
- package/dist/models/practitioner-schedule/practitioner-schedule.schema.js.map +0 -1
- package/dist/models/practitioner-session/index.d.ts +0 -4
- package/dist/models/practitioner-session/index.d.ts.map +0 -1
- package/dist/models/practitioner-session/index.js +0 -4
- package/dist/models/practitioner-session/index.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts +0 -14
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js +0 -13
- package/dist/models/practitioner-session/practitioner-session-minimal.schema.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts +0 -14
- package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js +0 -6
- package/dist/models/practitioner-session/practitioner-session-partial.schema.js.map +0 -1
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts +0 -80
- package/dist/models/practitioner-session/practitioner-session.schema.d.ts.map +0 -1
- package/dist/models/practitioner-session/practitioner-session.schema.js +0 -26
- package/dist/models/practitioner-session/practitioner-session.schema.js.map +0 -1
- package/dist/models/queue/index.d.ts +0 -5
- package/dist/models/queue/index.d.ts.map +0 -1
- package/dist/models/queue/index.js +0 -5
- package/dist/models/queue/index.js.map +0 -1
- package/dist/models/queue/queue-minimal.schema.d.ts +0 -31
- package/dist/models/queue/queue-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-minimal.schema.js +0 -13
- package/dist/models/queue/queue-minimal.schema.js.map +0 -1
- package/dist/models/queue/queue-partial.schema.d.ts +0 -31
- package/dist/models/queue/queue-partial.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-partial.schema.js +0 -6
- package/dist/models/queue/queue-partial.schema.js.map +0 -1
- package/dist/models/queue/queue-settings.schema.d.ts +0 -27
- package/dist/models/queue/queue-settings.schema.d.ts.map +0 -1
- package/dist/models/queue/queue-settings.schema.js +0 -22
- package/dist/models/queue/queue-settings.schema.js.map +0 -1
- package/dist/models/queue/queue.schema.d.ts +0 -97
- package/dist/models/queue/queue.schema.d.ts.map +0 -1
- package/dist/models/queue/queue.schema.js +0 -32
- package/dist/models/queue/queue.schema.js.map +0 -1
- package/dist/models/queue-event-log/index.d.ts +0 -4
- package/dist/models/queue-event-log/index.d.ts.map +0 -1
- package/dist/models/queue-event-log/index.js +0 -4
- package/dist/models/queue-event-log/index.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts +0 -18
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js +0 -13
- package/dist/models/queue-event-log/queue-event-log-minimal.schema.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts +0 -18
- package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js +0 -6
- package/dist/models/queue-event-log/queue-event-log-partial.schema.js.map +0 -1
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts +0 -84
- package/dist/models/queue-event-log/queue-event-log.schema.d.ts.map +0 -1
- package/dist/models/queue-event-log/queue-event-log.schema.js +0 -25
- package/dist/models/queue-event-log/queue-event-log.schema.js.map +0 -1
- package/dist/models/queue-number/index.d.ts +0 -5
- package/dist/models/queue-number/index.d.ts.map +0 -1
- package/dist/models/queue-number/index.js +0 -5
- package/dist/models/queue-number/index.js.map +0 -1
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts +0 -21
- package/dist/models/queue-number/queue-number-minimal.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-minimal.schema.js +0 -14
- package/dist/models/queue-number/queue-number-minimal.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number-partial.schema.d.ts +0 -21
- package/dist/models/queue-number/queue-number-partial.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-partial.schema.js +0 -6
- package/dist/models/queue-number/queue-number-partial.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number-settings.schema.d.ts +0 -27
- package/dist/models/queue-number/queue-number-settings.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number-settings.schema.js +0 -22
- package/dist/models/queue-number/queue-number-settings.schema.js.map +0 -1
- package/dist/models/queue-number/queue-number.schema.d.ts +0 -88
- package/dist/models/queue-number/queue-number.schema.d.ts.map +0 -1
- package/dist/models/queue-number/queue-number.schema.js +0 -42
- package/dist/models/queue-number/queue-number.schema.js.map +0 -1
- package/dist/models/settings/index.d.ts +0 -4
- package/dist/models/settings/index.d.ts.map +0 -1
- package/dist/models/settings/index.js +0 -4
- package/dist/models/settings/index.js.map +0 -1
- package/dist/models/settings/settings-minimal.schema.d.ts +0 -26
- package/dist/models/settings/settings-minimal.schema.d.ts.map +0 -1
- package/dist/models/settings/settings-minimal.schema.js +0 -11
- package/dist/models/settings/settings-minimal.schema.js.map +0 -1
- package/dist/models/settings/settings-partial.schema.d.ts +0 -26
- package/dist/models/settings/settings-partial.schema.d.ts.map +0 -1
- package/dist/models/settings/settings-partial.schema.js +0 -6
- package/dist/models/settings/settings-partial.schema.js.map +0 -1
- package/dist/models/settings/settings.schema.d.ts +0 -96
- package/dist/models/settings/settings.schema.d.ts.map +0 -1
- package/dist/models/settings/settings.schema.js +0 -25
- package/dist/models/settings/settings.schema.js.map +0 -1
- package/dist/models/staff/index.d.ts +0 -4
- package/dist/models/staff/index.d.ts.map +0 -1
- package/dist/models/staff/index.js +0 -4
- package/dist/models/staff/index.js.map +0 -1
- package/dist/models/staff/staff-minimal.schema.d.ts +0 -27
- package/dist/models/staff/staff-minimal.schema.d.ts.map +0 -1
- package/dist/models/staff/staff-minimal.schema.js +0 -13
- package/dist/models/staff/staff-minimal.schema.js.map +0 -1
- package/dist/models/staff/staff-partial.schema.d.ts +0 -27
- package/dist/models/staff/staff-partial.schema.d.ts.map +0 -1
- package/dist/models/staff/staff-partial.schema.js +0 -6
- package/dist/models/staff/staff-partial.schema.js.map +0 -1
- package/dist/models/staff/staff.schema.d.ts +0 -93
- package/dist/models/staff/staff.schema.d.ts.map +0 -1
- package/dist/models/staff/staff.schema.js +0 -25
- package/dist/models/staff/staff.schema.js.map +0 -1
- package/dist/models/unit/index.d.ts +0 -4
- package/dist/models/unit/index.d.ts.map +0 -1
- package/dist/models/unit/index.js +0 -4
- package/dist/models/unit/index.js.map +0 -1
- package/dist/models/unit/unit-minimal.schema.d.ts +0 -27
- package/dist/models/unit/unit-minimal.schema.d.ts.map +0 -1
- package/dist/models/unit/unit-minimal.schema.js +0 -13
- package/dist/models/unit/unit-minimal.schema.js.map +0 -1
- package/dist/models/unit/unit-partial.schema.d.ts +0 -27
- package/dist/models/unit/unit-partial.schema.d.ts.map +0 -1
- package/dist/models/unit/unit-partial.schema.js +0 -6
- package/dist/models/unit/unit-partial.schema.js.map +0 -1
- package/dist/models/unit/unit.schema.d.ts +0 -93
- package/dist/models/unit/unit.schema.d.ts.map +0 -1
- package/dist/models/unit/unit.schema.js +0 -27
- package/dist/models/unit/unit.schema.js.map +0 -1
- package/dist/models/user/index.d.ts +0 -5
- package/dist/models/user/index.d.ts.map +0 -1
- package/dist/models/user/index.js +0 -5
- package/dist/models/user/index.js.map +0 -1
- package/dist/models/user/user-minimal.schema.d.ts +0 -65
- package/dist/models/user/user-minimal.schema.d.ts.map +0 -1
- package/dist/models/user/user-minimal.schema.js +0 -10
- package/dist/models/user/user-minimal.schema.js.map +0 -1
- package/dist/models/user/user-partial.schema.d.ts +0 -65
- package/dist/models/user/user-partial.schema.d.ts.map +0 -1
- package/dist/models/user/user-partial.schema.js +0 -6
- package/dist/models/user/user-partial.schema.js.map +0 -1
- package/dist/models/user/user-settings.schema.d.ts +0 -8
- package/dist/models/user/user-settings.schema.d.ts.map +0 -1
- package/dist/models/user/user-settings.schema.js +0 -7
- package/dist/models/user/user-settings.schema.js.map +0 -1
- package/dist/models/user/user.schema.d.ts +0 -134
- package/dist/models/user/user.schema.d.ts.map +0 -1
- package/dist/models/user/user.schema.js +0 -39
- package/dist/models/user/user.schema.js.map +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
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 { timestampSchema } from "../../commons/timestamp";
|
|
6
|
-
export const queueNumberSchema = z.object({
|
|
7
|
-
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
8
|
-
organization_id: objectIdSchema,
|
|
9
|
-
facility_id: objectIdSchema,
|
|
10
|
-
patient_id: objectIdSchema,
|
|
11
|
-
metadata: z.object({
|
|
12
|
-
guarantor_type: z
|
|
13
|
-
.string()
|
|
14
|
-
.min(1, { message: "guarantor_type is required" }),
|
|
15
|
-
unit_id: objectIdSchema,
|
|
16
|
-
practitioner_id: objectIdSchema,
|
|
17
|
-
date: z.string().datetime({
|
|
18
|
-
offset: true,
|
|
19
|
-
message: "date must be a valid ISO 8601 datetime",
|
|
20
|
-
}),
|
|
21
|
-
session: z.string().min(1, { message: "session is required" }),
|
|
22
|
-
}),
|
|
23
|
-
sequence: z
|
|
24
|
-
.number()
|
|
25
|
-
.int()
|
|
26
|
-
.positive({ message: "sequence must be a positive integer" }),
|
|
27
|
-
prefix: z.string().min(1, { message: "prefix is required" }),
|
|
28
|
-
number: z.string().min(1, { message: "number is required" }),
|
|
29
|
-
created_at: timestampSchema,
|
|
30
|
-
created_by: z.string().min(1, { message: "created_by is required" }),
|
|
31
|
-
updated_at: timestampSchema,
|
|
32
|
-
updated_by: z.string().min(1, { message: "updated_by is required" }),
|
|
33
|
-
expired_at: z.string().datetime({
|
|
34
|
-
offset: true,
|
|
35
|
-
message: "expired_at must be a valid ISO 8601 datetime",
|
|
36
|
-
}),
|
|
37
|
-
schema_version: z.number().int().positive().default(1),
|
|
38
|
-
});
|
|
39
|
-
export const QueueNumberMongooseSchema = toMongooseSchema(queueNumberSchema);
|
|
40
|
-
const QueueNumberModelName = "queue_numbers";
|
|
41
|
-
export const QueueNumberModel = model(QueueNumberModelName, QueueNumberMongooseSchema);
|
|
42
|
-
//# sourceMappingURL=queue-number.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queue-number.schema.js","sourceRoot":"","sources":["../../../src/models/queue-number/queue-number.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;AAG7F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAC3D,eAAe,EAAE,cAAc;IAC/B,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,cAAc;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,cAAc,EAAE,CAAC;aACd,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;QACpD,OAAO,EAAE,cAAc;QACvB,eAAe,EAAE,cAAc;QAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;YACxB,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,wCAAwC;SAClD,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;KAC/D,CAAC;IACF,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC;IAC/D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAC5D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAC5D,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpE,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;QAC9B,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,8CAA8C;KACxD,CAAC;IACF,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAmB,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AAG7F,MAAM,oBAAoB,GAAG,eAAe,CAAC;AAC7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,oBAAoB,EAAE,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal settings schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const settingsMinimalSchema: z.ZodObject<{
|
|
6
|
-
scope: z.ZodString;
|
|
7
|
-
options: z.ZodArray<z.ZodObject<{
|
|
8
|
-
field: z.ZodString;
|
|
9
|
-
label: z.ZodOptional<z.ZodString>;
|
|
10
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
11
|
-
string: "string";
|
|
12
|
-
number: "number";
|
|
13
|
-
boolean: "boolean";
|
|
14
|
-
date: "date";
|
|
15
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
16
|
-
string: "string";
|
|
17
|
-
number: "number";
|
|
18
|
-
boolean: "boolean";
|
|
19
|
-
date: "date";
|
|
20
|
-
}>>, z.ZodString]>;
|
|
21
|
-
default: z.ZodNullable<z.ZodString>;
|
|
22
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
23
|
-
}, z.core.$strip>>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export type SettingsMinimal = z.infer<typeof settingsMinimalSchema>;
|
|
26
|
-
//# sourceMappingURL=settings-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/settings/settings-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAKhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { settingsSchema } from "./settings.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal settings schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const settingsMinimalSchema = settingsSchema.omit({
|
|
6
|
-
_id: true,
|
|
7
|
-
updated_at: true,
|
|
8
|
-
updated_by: true,
|
|
9
|
-
schema_version: true,
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=settings-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/settings/settings-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,GAAG,EAAE,IAAI;IACT,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial settings schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const settingsPartialSchema: z.ZodObject<{
|
|
6
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
7
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
|
-
field: z.ZodString;
|
|
9
|
-
label: z.ZodOptional<z.ZodString>;
|
|
10
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
11
|
-
string: "string";
|
|
12
|
-
number: "number";
|
|
13
|
-
boolean: "boolean";
|
|
14
|
-
date: "date";
|
|
15
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
16
|
-
string: "string";
|
|
17
|
-
number: "number";
|
|
18
|
-
boolean: "boolean";
|
|
19
|
-
date: "date";
|
|
20
|
-
}>>, z.ZodString]>;
|
|
21
|
-
default: z.ZodNullable<z.ZodString>;
|
|
22
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
23
|
-
}, z.core.$strip>>>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export type SettingsPartial = z.infer<typeof settingsPartialSchema>;
|
|
26
|
-
//# sourceMappingURL=settings-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/settings/settings-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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { settingsMinimalSchema } from "./settings-minimal.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Partial settings schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export const settingsPartialSchema = settingsMinimalSchema.partial();
|
|
6
|
-
//# sourceMappingURL=settings-partial.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-partial.schema.js","sourceRoot":"","sources":["../../../src/models/settings/settings-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"}
|
|
@@ -1,96 +0,0 @@
|
|
|
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
|
-
/**
|
|
5
|
-
* Full settings record schema.
|
|
6
|
-
*
|
|
7
|
-
* Based on /Docs/Data/Data+Model/Settings
|
|
8
|
-
* Auto-generated fields: _id, updated_at, updated_by, schema_version
|
|
9
|
-
*/
|
|
10
|
-
export declare const settingsSchema: z.ZodObject<{
|
|
11
|
-
_id: z.ZodString;
|
|
12
|
-
scope: z.ZodString;
|
|
13
|
-
options: z.ZodArray<z.ZodObject<{
|
|
14
|
-
field: z.ZodString;
|
|
15
|
-
label: z.ZodOptional<z.ZodString>;
|
|
16
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
|
-
string: "string";
|
|
18
|
-
number: "number";
|
|
19
|
-
boolean: "boolean";
|
|
20
|
-
date: "date";
|
|
21
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
22
|
-
string: "string";
|
|
23
|
-
number: "number";
|
|
24
|
-
boolean: "boolean";
|
|
25
|
-
date: "date";
|
|
26
|
-
}>>, z.ZodString]>;
|
|
27
|
-
default: z.ZodNullable<z.ZodString>;
|
|
28
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
|
-
updated_at: z.ZodString;
|
|
31
|
-
updated_by: z.ZodString;
|
|
32
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
export type Settings = z.infer<typeof settingsSchema>;
|
|
35
|
-
export declare const SettingsMongooseSchema: MongooseSchema;
|
|
36
|
-
export type SettingsDocument = InferDocument<typeof settingsSchema>;
|
|
37
|
-
export declare const SettingsModel: MongooseModel<{
|
|
38
|
-
[x: number]: unknown;
|
|
39
|
-
[x: symbol]: unknown;
|
|
40
|
-
[x: string]: unknown;
|
|
41
|
-
}, {}, {}, {
|
|
42
|
-
id: string;
|
|
43
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
44
|
-
[x: number]: unknown;
|
|
45
|
-
[x: symbol]: unknown;
|
|
46
|
-
[x: string]: unknown;
|
|
47
|
-
}, {
|
|
48
|
-
id: string;
|
|
49
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
50
|
-
[x: number]: unknown;
|
|
51
|
-
[x: symbol]: unknown;
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
} & Required<{
|
|
54
|
-
_id: unknown;
|
|
55
|
-
}> & {
|
|
56
|
-
__v: number;
|
|
57
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
58
|
-
id: string;
|
|
59
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
60
|
-
[x: number]: unknown;
|
|
61
|
-
[x: symbol]: unknown;
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
64
|
-
[x: number]: unknown;
|
|
65
|
-
[x: symbol]: unknown;
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
}, {
|
|
68
|
-
id: string;
|
|
69
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
70
|
-
[x: number]: unknown;
|
|
71
|
-
[x: symbol]: unknown;
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
} & Required<{
|
|
74
|
-
_id: unknown;
|
|
75
|
-
}> & {
|
|
76
|
-
__v: number;
|
|
77
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
78
|
-
id: string;
|
|
79
|
-
}>, unknown, {
|
|
80
|
-
[x: number]: {};
|
|
81
|
-
[x: symbol]: {};
|
|
82
|
-
[x: string]: {};
|
|
83
|
-
} & Required<{
|
|
84
|
-
_id: unknown;
|
|
85
|
-
}> & {
|
|
86
|
-
__v: number;
|
|
87
|
-
}>, {
|
|
88
|
-
[x: number]: {};
|
|
89
|
-
[x: symbol]: {};
|
|
90
|
-
[x: string]: {};
|
|
91
|
-
} & Required<{
|
|
92
|
-
_id: unknown;
|
|
93
|
-
}> & {
|
|
94
|
-
__v: number;
|
|
95
|
-
}>;
|
|
96
|
-
//# sourceMappingURL=settings.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.schema.d.ts","sourceRoot":"","sources":["../../../src/models/settings/settings.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;AAM1D;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;iBASzB,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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { settingOptionSchema, } from "../../commons/setting-option";
|
|
6
|
-
/**
|
|
7
|
-
* Full settings record schema.
|
|
8
|
-
*
|
|
9
|
-
* Based on /Docs/Data/Data+Model/Settings
|
|
10
|
-
* Auto-generated fields: _id, updated_at, updated_by, schema_version
|
|
11
|
-
*/
|
|
12
|
-
export const settingsSchema = z.object({
|
|
13
|
-
_id: objectIdSchema,
|
|
14
|
-
scope: z.string().min(1, { message: "scope is required" }),
|
|
15
|
-
options: z.array(settingOptionSchema).nonempty({
|
|
16
|
-
message: "options must contain at least one setting option",
|
|
17
|
-
}),
|
|
18
|
-
updated_at: z.string(),
|
|
19
|
-
updated_by: z.string(),
|
|
20
|
-
schema_version: z.number().int().positive().default(1),
|
|
21
|
-
});
|
|
22
|
-
export const SettingsMongooseSchema = toMongooseSchema(settingsSchema);
|
|
23
|
-
const SettingsModelName = "settings";
|
|
24
|
-
export const SettingsModel = model(SettingsModelName, SettingsMongooseSchema);
|
|
25
|
-
//# sourceMappingURL=settings.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.schema.js","sourceRoot":"","sources":["../../../src/models/settings/settings.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,EACL,mBAAmB,GAEpB,MAAM,8BAA8B,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,GAAG,EAAE,cAAc;IACnB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC1D,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;QAC7C,OAAO,EAAE,kDAAkD;KAC5D,CAAC;IACF,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,sBAAsB,GAAmB,gBAAgB,CAAC,cAAc,CAAC,CAAC;AAGvF,MAAM,iBAAiB,GAAG,UAAU,CAAC;AACrC,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/staff/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/staff/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal staff schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const staffMinimalSchema: 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
|
-
status: z.ZodObject<{
|
|
14
|
-
system: z.ZodString;
|
|
15
|
-
value: z.ZodString;
|
|
16
|
-
display: z.ZodOptional<z.ZodString>;
|
|
17
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
18
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
user_id: z.ZodString;
|
|
21
|
-
team_id: z.ZodString;
|
|
22
|
-
membership_key: z.ZodOptional<z.ZodString>;
|
|
23
|
-
group: z.ZodOptional<z.ZodString>;
|
|
24
|
-
subspecialist: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type StaffMinimal = z.infer<typeof staffMinimalSchema>;
|
|
27
|
-
//# sourceMappingURL=staff-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/staff/staff-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { staffSchema } from "./staff.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal staff schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const staffMinimalSchema = staffSchema.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=staff-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/staff/staff-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAEzD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC,IAAI,CAAC;IACjD,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial staff schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const staffPartialSchema: 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
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
14
|
-
system: z.ZodString;
|
|
15
|
-
value: z.ZodString;
|
|
16
|
-
display: z.ZodOptional<z.ZodString>;
|
|
17
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
18
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
-
}, z.core.$strip>>;
|
|
20
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
21
|
-
team_id: z.ZodOptional<z.ZodString>;
|
|
22
|
-
membership_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23
|
-
group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24
|
-
subspecialist: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type StaffPartial = z.infer<typeof staffPartialSchema>;
|
|
27
|
-
//# sourceMappingURL=staff-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/staff/staff-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;iBAA+B,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff-partial.schema.js","sourceRoot":"","sources":["../../../src/models/staff/staff-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAqB,MAAM,wBAAwB,CAAC;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,OAAO,EAAE,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
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 staffSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
team_id: z.ZodString;
|
|
7
|
-
user_id: 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
|
-
status: z.ZodObject<{
|
|
16
|
-
system: z.ZodString;
|
|
17
|
-
value: z.ZodString;
|
|
18
|
-
display: z.ZodOptional<z.ZodString>;
|
|
19
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
20
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
membership_key: z.ZodOptional<z.ZodString>;
|
|
23
|
-
group: z.ZodOptional<z.ZodString>;
|
|
24
|
-
subspecialist: z.ZodOptional<z.ZodString>;
|
|
25
|
-
created_at: z.ZodString;
|
|
26
|
-
created_by: z.ZodString;
|
|
27
|
-
updated_at: z.ZodString;
|
|
28
|
-
updated_by: z.ZodString;
|
|
29
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
export type Staff = z.infer<typeof staffSchema>;
|
|
32
|
-
export declare const StaffMongooseSchema: MongooseSchema;
|
|
33
|
-
export type StaffDocument = InferDocument<typeof staffSchema>;
|
|
34
|
-
export declare const StaffModel: MongooseModel<{
|
|
35
|
-
[x: number]: unknown;
|
|
36
|
-
[x: symbol]: unknown;
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
}, {}, {}, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
41
|
-
[x: number]: unknown;
|
|
42
|
-
[x: symbol]: unknown;
|
|
43
|
-
[x: string]: unknown;
|
|
44
|
-
}, {
|
|
45
|
-
id: string;
|
|
46
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
47
|
-
[x: number]: unknown;
|
|
48
|
-
[x: symbol]: unknown;
|
|
49
|
-
[x: string]: unknown;
|
|
50
|
-
} & Required<{
|
|
51
|
-
_id: unknown;
|
|
52
|
-
}> & {
|
|
53
|
-
__v: number;
|
|
54
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
55
|
-
id: string;
|
|
56
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
57
|
-
[x: number]: unknown;
|
|
58
|
-
[x: symbol]: unknown;
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
61
|
-
[x: number]: unknown;
|
|
62
|
-
[x: symbol]: unknown;
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
}, {
|
|
65
|
-
id: string;
|
|
66
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
67
|
-
[x: number]: unknown;
|
|
68
|
-
[x: symbol]: unknown;
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
} & Required<{
|
|
71
|
-
_id: unknown;
|
|
72
|
-
}> & {
|
|
73
|
-
__v: number;
|
|
74
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
75
|
-
id: string;
|
|
76
|
-
}>, unknown, {
|
|
77
|
-
[x: number]: {};
|
|
78
|
-
[x: symbol]: {};
|
|
79
|
-
[x: string]: {};
|
|
80
|
-
} & Required<{
|
|
81
|
-
_id: unknown;
|
|
82
|
-
}> & {
|
|
83
|
-
__v: number;
|
|
84
|
-
}>, {
|
|
85
|
-
[x: number]: {};
|
|
86
|
-
[x: symbol]: {};
|
|
87
|
-
[x: string]: {};
|
|
88
|
-
} & Required<{
|
|
89
|
-
_id: unknown;
|
|
90
|
-
}> & {
|
|
91
|
-
__v: number;
|
|
92
|
-
}>;
|
|
93
|
-
//# sourceMappingURL=staff.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff.schema.d.ts","sourceRoot":"","sources":["../../../src/models/staff/staff.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;AAI1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iBActB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,eAAO,MAAM,mBAAmB,EAAE,cAA8C,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,OAAO,WAAW,CAAC,CAAC;AAG9D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6C,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 staffSchema = z.object({
|
|
8
|
-
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
9
|
-
team_id: objectIdSchema,
|
|
10
|
-
user_id: objectIdSchema,
|
|
11
|
-
type: codedConceptSchema,
|
|
12
|
-
status: codedConceptSchema,
|
|
13
|
-
membership_key: z.string().optional(),
|
|
14
|
-
group: z.string().optional(),
|
|
15
|
-
subspecialist: z.string().optional(),
|
|
16
|
-
created_at: timestampSchema,
|
|
17
|
-
created_by: z.string(),
|
|
18
|
-
updated_at: timestampSchema,
|
|
19
|
-
updated_by: z.string(),
|
|
20
|
-
schema_version: z.number().int().positive().default(1),
|
|
21
|
-
});
|
|
22
|
-
export const StaffMongooseSchema = toMongooseSchema(staffSchema);
|
|
23
|
-
const StaffModelName = "staffs";
|
|
24
|
-
export const StaffModel = model(StaffModelName, StaffMongooseSchema);
|
|
25
|
-
//# sourceMappingURL=staff.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staff.schema.js","sourceRoot":"","sources":["../../../src/models/staff/staff.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;AAE1D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAC3D,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,kBAAkB;IAC1B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,eAAe;IAC3B,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,mBAAmB,GAAmB,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAGjF,MAAM,cAAc,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/unit/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/unit/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal unit schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const unitMinimalSchema: 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
|
-
settings_id: z.ZodString;
|
|
14
|
-
statuses: z.ZodArray<z.ZodObject<{
|
|
15
|
-
system: z.ZodString;
|
|
16
|
-
value: z.ZodString;
|
|
17
|
-
display: z.ZodOptional<z.ZodString>;
|
|
18
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
19
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
-
}, z.core.$strip>>;
|
|
21
|
-
name: z.ZodString;
|
|
22
|
-
facility_id: z.ZodString;
|
|
23
|
-
department_id: z.ZodString;
|
|
24
|
-
code: z.ZodString;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type UnitMinimal = z.infer<typeof unitMinimalSchema>;
|
|
27
|
-
//# sourceMappingURL=unit-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/unit/unit-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;iBAO5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { unitSchema } from "./unit.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal unit schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const unitMinimalSchema = unitSchema.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=unit-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/unit/unit-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AAEtD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAC,IAAI,CAAC;IAC/C,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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial unit schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const unitPartialSchema: 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
|
-
settings_id: z.ZodOptional<z.ZodString>;
|
|
14
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
-
system: z.ZodString;
|
|
16
|
-
value: z.ZodString;
|
|
17
|
-
display: z.ZodOptional<z.ZodString>;
|
|
18
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
19
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
-
}, z.core.$strip>>>;
|
|
21
|
-
name: z.ZodOptional<z.ZodString>;
|
|
22
|
-
facility_id: z.ZodOptional<z.ZodString>;
|
|
23
|
-
department_id: z.ZodOptional<z.ZodString>;
|
|
24
|
-
code: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type UnitPartial = z.infer<typeof unitPartialSchema>;
|
|
27
|
-
//# sourceMappingURL=unit-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/unit/unit-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|