@centricare/contract 0.1.2 → 0.2.1
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 +29 -67
- package/dist/index.cjs +1964 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +3305 -0
- package/dist/index.d.ts +3303 -5
- package/dist/index.mjs +1820 -0
- package/dist/index.mjs.map +1 -0
- package/dist/registry/index.cjs +931 -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 +924 -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,67 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial payer schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const payerPartialSchema: z.ZodObject<{
|
|
6
|
-
type: z.ZodOptional<z.ZodString>;
|
|
7
|
-
statuses: z.ZodOptional<z.ZodArray<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
|
-
contacts: 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
|
-
organization_id: z.ZodOptional<z.ZodString>;
|
|
24
|
-
code: z.ZodOptional<z.ZodString>;
|
|
25
|
-
category: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
system: z.ZodString;
|
|
27
|
-
value: z.ZodString;
|
|
28
|
-
display: z.ZodOptional<z.ZodString>;
|
|
29
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
30
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
-
}, z.core.$strip>>;
|
|
32
|
-
banks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
account: z.ZodString;
|
|
35
|
-
number: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>>;
|
|
37
|
-
variations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
|
-
code: z.ZodString;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
description: z.ZodOptional<z.ZodString>;
|
|
41
|
-
start: z.ZodString;
|
|
42
|
-
end: z.ZodOptional<z.ZodString>;
|
|
43
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
-
system: z.ZodString;
|
|
45
|
-
value: z.ZodString;
|
|
46
|
-
display: z.ZodOptional<z.ZodString>;
|
|
47
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
48
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
-
}, z.core.$strip>>>;
|
|
50
|
-
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
-
statuses: z.ZodArray<z.ZodObject<{
|
|
52
|
-
system: z.ZodString;
|
|
53
|
-
value: z.ZodString;
|
|
54
|
-
display: z.ZodOptional<z.ZodString>;
|
|
55
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
56
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
banks: z.ZodArray<z.ZodObject<{
|
|
59
|
-
name: z.ZodString;
|
|
60
|
-
account: z.ZodString;
|
|
61
|
-
number: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>;
|
|
63
|
-
settings_id: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>>;
|
|
65
|
-
}, z.core.$strip>;
|
|
66
|
-
export type PayerPartial = z.infer<typeof payerPartialSchema>;
|
|
67
|
-
//# sourceMappingURL=payer-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payer-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/payer/payer-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":"payer-partial.schema.js","sourceRoot":"","sources":["../../../src/models/payer/payer-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,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const payerSettingsSchema: z.ZodObject<{
|
|
3
|
-
use_header_contact_info: z.ZodDefault<z.ZodBoolean>;
|
|
4
|
-
use_header_bank_info: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
-
use_header_status_info: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
rules_drug_formulary: z.ZodOptional<z.ZodString>;
|
|
7
|
-
rules_method: z.ZodOptional<z.ZodString>;
|
|
8
|
-
rules_global_cover_outpatient: z.ZodDefault<z.ZodBoolean>;
|
|
9
|
-
rules_global_cover_emergency: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
-
rules_global_tariff_calculation_date: z.ZodDefault<z.ZodEnum<{
|
|
11
|
-
"transaction-date": "transaction-date";
|
|
12
|
-
"billing-date": "billing-date";
|
|
13
|
-
}>>;
|
|
14
|
-
rules_global_margin_id: z.ZodOptional<z.ZodString>;
|
|
15
|
-
rules_global_rule_type: z.ZodDefault<z.ZodEnum<{
|
|
16
|
-
margin: "margin";
|
|
17
|
-
plafond: "plafond";
|
|
18
|
-
}>>;
|
|
19
|
-
rules_admin_calculate: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
-
rules_admin_min_fee: z.ZodDefault<z.ZodNumber>;
|
|
21
|
-
rules_admin_max_fee: z.ZodDefault<z.ZodNumber>;
|
|
22
|
-
rules_admin_before_discount: z.ZodDefault<z.ZodBoolean>;
|
|
23
|
-
rules_admin_covered: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
-
rules_item_restriction_id: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type PayerSettings = z.infer<typeof payerSettingsSchema>;
|
|
27
|
-
//# sourceMappingURL=payer-settings.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payer-settings.schema.d.ts","sourceRoot":"","sources":["../../../src/models/payer/payer-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;iBAiB9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export const payerSettingsSchema = z.object({
|
|
3
|
-
use_header_contact_info: z.boolean().default(false),
|
|
4
|
-
use_header_bank_info: z.boolean().default(false),
|
|
5
|
-
use_header_status_info: z.boolean().default(true),
|
|
6
|
-
rules_drug_formulary: z.string().optional(),
|
|
7
|
-
rules_method: z.string().optional(),
|
|
8
|
-
rules_global_cover_outpatient: z.boolean().default(true),
|
|
9
|
-
rules_global_cover_emergency: z.boolean().default(true),
|
|
10
|
-
rules_global_tariff_calculation_date: z.enum(["transaction-date", "billing-date"]).default("transaction-date"),
|
|
11
|
-
rules_global_margin_id: z.string().optional(),
|
|
12
|
-
rules_global_rule_type: z.enum(["margin", "plafond"]).default("margin"),
|
|
13
|
-
rules_admin_calculate: z.boolean().default(false),
|
|
14
|
-
rules_admin_min_fee: z.number().default(0),
|
|
15
|
-
rules_admin_max_fee: z.number().default(0),
|
|
16
|
-
rules_admin_before_discount: z.boolean().default(false),
|
|
17
|
-
rules_admin_covered: z.boolean().default(true),
|
|
18
|
-
rules_item_restriction_id: z.string().optional(),
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=payer-settings.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payer-settings.schema.js","sourceRoot":"","sources":["../../../src/models/payer/payer-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACnD,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAChD,sBAAsB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,6BAA6B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACxD,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACvD,oCAAoC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC9G,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C,sBAAsB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACvE,qBAAqB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACjD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1C,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1C,2BAA2B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACvD,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC"}
|
|
@@ -1,133 +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 payerSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
organization_id: z.ZodString;
|
|
7
|
-
facility_id: z.ZodString;
|
|
8
|
-
code: z.ZodString;
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
category: z.ZodObject<{
|
|
11
|
-
system: z.ZodString;
|
|
12
|
-
value: z.ZodString;
|
|
13
|
-
display: z.ZodOptional<z.ZodString>;
|
|
14
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
15
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
type: z.ZodString;
|
|
18
|
-
contacts: z.ZodArray<z.ZodObject<{
|
|
19
|
-
system: z.ZodString;
|
|
20
|
-
value: z.ZodString;
|
|
21
|
-
display: z.ZodOptional<z.ZodString>;
|
|
22
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
23
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
statuses: z.ZodArray<z.ZodObject<{
|
|
26
|
-
system: z.ZodString;
|
|
27
|
-
value: z.ZodString;
|
|
28
|
-
display: z.ZodOptional<z.ZodString>;
|
|
29
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
30
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
-
}, z.core.$strip>>;
|
|
32
|
-
banks: z.ZodArray<z.ZodObject<{
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
account: z.ZodString;
|
|
35
|
-
number: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>;
|
|
37
|
-
variations: z.ZodArray<z.ZodObject<{
|
|
38
|
-
code: z.ZodString;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
description: z.ZodOptional<z.ZodString>;
|
|
41
|
-
start: z.ZodString;
|
|
42
|
-
end: z.ZodOptional<z.ZodString>;
|
|
43
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
-
system: z.ZodString;
|
|
45
|
-
value: z.ZodString;
|
|
46
|
-
display: z.ZodOptional<z.ZodString>;
|
|
47
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
48
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
-
}, z.core.$strip>>>;
|
|
50
|
-
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
-
statuses: z.ZodArray<z.ZodObject<{
|
|
52
|
-
system: z.ZodString;
|
|
53
|
-
value: z.ZodString;
|
|
54
|
-
display: z.ZodOptional<z.ZodString>;
|
|
55
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
56
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
banks: z.ZodArray<z.ZodObject<{
|
|
59
|
-
name: z.ZodString;
|
|
60
|
-
account: z.ZodString;
|
|
61
|
-
number: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>;
|
|
63
|
-
settings_id: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>;
|
|
65
|
-
created_at: z.ZodString;
|
|
66
|
-
created_by: z.ZodString;
|
|
67
|
-
updated_at: z.ZodString;
|
|
68
|
-
updated_by: z.ZodString;
|
|
69
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
70
|
-
}, z.core.$strip>;
|
|
71
|
-
export type Payer = z.infer<typeof payerSchema>;
|
|
72
|
-
export declare const PayerMongooseSchema: MongooseSchema;
|
|
73
|
-
export type PayerDocument = InferDocument<typeof payerSchema>;
|
|
74
|
-
export declare const PayerModel: MongooseModel<{
|
|
75
|
-
[x: number]: unknown;
|
|
76
|
-
[x: symbol]: unknown;
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
}, {}, {}, {
|
|
79
|
-
id: string;
|
|
80
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
81
|
-
[x: number]: unknown;
|
|
82
|
-
[x: symbol]: unknown;
|
|
83
|
-
[x: string]: unknown;
|
|
84
|
-
}, {
|
|
85
|
-
id: string;
|
|
86
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
87
|
-
[x: number]: unknown;
|
|
88
|
-
[x: symbol]: unknown;
|
|
89
|
-
[x: string]: unknown;
|
|
90
|
-
} & Required<{
|
|
91
|
-
_id: unknown;
|
|
92
|
-
}> & {
|
|
93
|
-
__v: number;
|
|
94
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
95
|
-
id: string;
|
|
96
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
97
|
-
[x: number]: unknown;
|
|
98
|
-
[x: symbol]: unknown;
|
|
99
|
-
[x: string]: unknown;
|
|
100
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
101
|
-
[x: number]: unknown;
|
|
102
|
-
[x: symbol]: unknown;
|
|
103
|
-
[x: string]: unknown;
|
|
104
|
-
}, {
|
|
105
|
-
id: string;
|
|
106
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
107
|
-
[x: number]: unknown;
|
|
108
|
-
[x: symbol]: unknown;
|
|
109
|
-
[x: string]: unknown;
|
|
110
|
-
} & Required<{
|
|
111
|
-
_id: unknown;
|
|
112
|
-
}> & {
|
|
113
|
-
__v: number;
|
|
114
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
115
|
-
id: string;
|
|
116
|
-
}>, unknown, {
|
|
117
|
-
[x: number]: {};
|
|
118
|
-
[x: symbol]: {};
|
|
119
|
-
[x: string]: {};
|
|
120
|
-
} & Required<{
|
|
121
|
-
_id: unknown;
|
|
122
|
-
}> & {
|
|
123
|
-
__v: number;
|
|
124
|
-
}>, {
|
|
125
|
-
[x: number]: {};
|
|
126
|
-
[x: symbol]: {};
|
|
127
|
-
[x: string]: {};
|
|
128
|
-
} & Required<{
|
|
129
|
-
_id: unknown;
|
|
130
|
-
}> & {
|
|
131
|
-
__v: number;
|
|
132
|
-
}>;
|
|
133
|
-
//# sourceMappingURL=payer.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payer.schema.d.ts","sourceRoot":"","sources":["../../../src/models/payer/payer.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;AAK1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CtB,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,47 +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 payerSchema = z.object({
|
|
8
|
-
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
9
|
-
organization_id: objectIdSchema,
|
|
10
|
-
facility_id: objectIdSchema,
|
|
11
|
-
code: z.string().min(1, { message: "code is required" }),
|
|
12
|
-
name: z.string().min(1, { message: "name is required" }),
|
|
13
|
-
category: codedConceptSchema,
|
|
14
|
-
type: z.string().min(1, { message: "type is required" }),
|
|
15
|
-
contacts: z.array(codedConceptSchema),
|
|
16
|
-
statuses: z.array(codedConceptSchema),
|
|
17
|
-
banks: z.array(z.object({
|
|
18
|
-
name: z.string().min(1, { message: "bank name is required" }),
|
|
19
|
-
account: z.string().min(1, { message: "bank account is required" }),
|
|
20
|
-
number: z.string().min(1, { message: "bank number is required" }),
|
|
21
|
-
})),
|
|
22
|
-
variations: z.array(z.object({
|
|
23
|
-
code: z.string().min(1, { message: "variation code is required" }),
|
|
24
|
-
name: z.string().min(1, { message: "variation name is required" }),
|
|
25
|
-
description: z.string().optional(),
|
|
26
|
-
start: z.string().datetime({ offset: true, message: "variation start must be a valid ISO 8601 datetime" }),
|
|
27
|
-
end: z.string().datetime({ offset: true, message: "variation end must be a valid ISO 8601 datetime" }).optional(),
|
|
28
|
-
contacts: z.array(codedConceptSchema).optional(),
|
|
29
|
-
documents: z.array(z.string()).optional(),
|
|
30
|
-
statuses: z.array(codedConceptSchema),
|
|
31
|
-
banks: z.array(z.object({
|
|
32
|
-
name: z.string().min(1, { message: "bank name is required" }),
|
|
33
|
-
account: z.string().min(1, { message: "bank account is required" }),
|
|
34
|
-
number: z.string().min(1, { message: "bank number is required" }),
|
|
35
|
-
})),
|
|
36
|
-
settings_id: objectIdSchema,
|
|
37
|
-
})),
|
|
38
|
-
created_at: timestampSchema,
|
|
39
|
-
created_by: z.string().min(1, { message: "created_by is required" }),
|
|
40
|
-
updated_at: timestampSchema,
|
|
41
|
-
updated_by: z.string().min(1, { message: "updated_by is required" }),
|
|
42
|
-
schema_version: z.number().int().positive().default(1),
|
|
43
|
-
});
|
|
44
|
-
export const PayerMongooseSchema = toMongooseSchema(payerSchema);
|
|
45
|
-
const PayerModelName = "payers";
|
|
46
|
-
export const PayerModel = model(PayerModelName, PayerMongooseSchema);
|
|
47
|
-
//# sourceMappingURL=payer.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payer.schema.js","sourceRoot":"","sources":["../../../src/models/payer/payer.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;AAG1D,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,eAAe,EAAE,cAAc;IAC/B,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,QAAQ,EAAE,kBAAkB;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IACrC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IACrC,KAAK,EAAE,CAAC,CAAC,KAAK,CACZ,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;QAC7D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;QACnE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;KAClE,CAAC,CACH;IACD,UAAU,EAAE,CAAC,CAAC,KAAK,CACjB,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;QAClE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;QAClE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,mDAAmD,EAAE,CAAC;QAC1G,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,iDAAiD,EAAE,CAAC,CAAC,QAAQ,EAAE;QACjH,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;QAChD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACzC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;QACrC,KAAK,EAAE,CAAC,CAAC,KAAK,CACZ,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;YAC7D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;YACnE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;SAClE,CAAC,CACH;QACD,WAAW,EAAE,cAAc;KAC5B,CAAC,CACH;IACD,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,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/practitioner-schedule/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal practitioner-schedule schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const practitionerScheduleMinimalSchema: 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
|
-
facility_id: z.ZodString;
|
|
14
|
-
organization_id: z.ZodString;
|
|
15
|
-
staff_id: z.ZodString;
|
|
16
|
-
unit_id: z.ZodString;
|
|
17
|
-
day: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
export type PractitionerScheduleMinimal = z.infer<typeof practitionerScheduleMinimalSchema>;
|
|
20
|
-
//# sourceMappingURL=practitioner-schedule-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;iBAO5C,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { practitionerScheduleSchema } from "./practitioner-schedule.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal practitioner-schedule schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const practitionerScheduleMinimalSchema = practitionerScheduleSchema.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=practitioner-schedule-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAA6B,MAAM,gCAAgC,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,0BAA0B,CAAC,IAAI,CAAC;IAC/E,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,20 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial practitioner-schedule schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const practitionerSchedulePartialSchema: 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
|
-
facility_id: z.ZodOptional<z.ZodString>;
|
|
14
|
-
organization_id: z.ZodOptional<z.ZodString>;
|
|
15
|
-
staff_id: z.ZodOptional<z.ZodString>;
|
|
16
|
-
unit_id: z.ZodOptional<z.ZodString>;
|
|
17
|
-
day: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
export type PractitionerSchedulePartial = z.infer<typeof practitionerSchedulePartialSchema>;
|
|
20
|
-
//# sourceMappingURL=practitioner-schedule-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;iBAA8C,CAAC;AAE7F,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { practitionerScheduleMinimalSchema } from "./practitioner-schedule-minimal.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Partial practitioner-schedule schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export const practitionerSchedulePartialSchema = practitionerScheduleMinimalSchema.partial();
|
|
6
|
-
//# sourceMappingURL=practitioner-schedule-partial.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule-partial.schema.js","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAoC,MAAM,wCAAwC,CAAC;AAE7H;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC,OAAO,EAAE,CAAC"}
|
|
@@ -1,86 +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 practitionerScheduleSchema: z.ZodObject<{
|
|
5
|
-
organization_id: z.ZodString;
|
|
6
|
-
facility_id: z.ZodString;
|
|
7
|
-
staff_id: z.ZodString;
|
|
8
|
-
unit_id: z.ZodString;
|
|
9
|
-
type: 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
|
-
day: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
17
|
-
_id: z.ZodString;
|
|
18
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
19
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
20
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
21
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
22
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
export type PractitionerSchedule = z.infer<typeof practitionerScheduleSchema>;
|
|
25
|
-
export declare const PractitionerScheduleMongooseSchema: MongooseSchema;
|
|
26
|
-
export type PractitionerScheduleDocument = InferDocument<typeof practitionerScheduleSchema>;
|
|
27
|
-
export declare const PractitionerScheduleModel: MongooseModel<{
|
|
28
|
-
[x: number]: unknown;
|
|
29
|
-
[x: symbol]: unknown;
|
|
30
|
-
[x: string]: unknown;
|
|
31
|
-
}, {}, {}, {
|
|
32
|
-
id: string;
|
|
33
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
34
|
-
[x: number]: unknown;
|
|
35
|
-
[x: symbol]: unknown;
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
}, {
|
|
38
|
-
id: string;
|
|
39
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
40
|
-
[x: number]: unknown;
|
|
41
|
-
[x: symbol]: unknown;
|
|
42
|
-
[x: string]: unknown;
|
|
43
|
-
} & Required<{
|
|
44
|
-
_id: unknown;
|
|
45
|
-
}> & {
|
|
46
|
-
__v: number;
|
|
47
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
48
|
-
id: string;
|
|
49
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
50
|
-
[x: number]: unknown;
|
|
51
|
-
[x: symbol]: unknown;
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
54
|
-
[x: number]: unknown;
|
|
55
|
-
[x: symbol]: unknown;
|
|
56
|
-
[x: string]: unknown;
|
|
57
|
-
}, {
|
|
58
|
-
id: string;
|
|
59
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
60
|
-
[x: number]: unknown;
|
|
61
|
-
[x: symbol]: unknown;
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
} & Required<{
|
|
64
|
-
_id: unknown;
|
|
65
|
-
}> & {
|
|
66
|
-
__v: number;
|
|
67
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
68
|
-
id: string;
|
|
69
|
-
}>, unknown, {
|
|
70
|
-
[x: number]: {};
|
|
71
|
-
[x: symbol]: {};
|
|
72
|
-
[x: string]: {};
|
|
73
|
-
} & Required<{
|
|
74
|
-
_id: unknown;
|
|
75
|
-
}> & {
|
|
76
|
-
__v: number;
|
|
77
|
-
}>, {
|
|
78
|
-
[x: number]: {};
|
|
79
|
-
[x: symbol]: {};
|
|
80
|
-
[x: string]: {};
|
|
81
|
-
} & Required<{
|
|
82
|
-
_id: unknown;
|
|
83
|
-
}> & {
|
|
84
|
-
__v: number;
|
|
85
|
-
}>;
|
|
86
|
-
//# sourceMappingURL=practitioner-schedule.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule.schema.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule.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,0BAA0B;;;;;;;;;;;;;;;;;;;iBAerC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,kCAAkC,EAAE,cAA6D,CAAC;AAC/G,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAG5F,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2E,CAAC"}
|
|
@@ -1,26 +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 practitionerScheduleSchema = z.object({
|
|
8
|
-
organization_id: objectIdSchema,
|
|
9
|
-
facility_id: objectIdSchema,
|
|
10
|
-
staff_id: objectIdSchema,
|
|
11
|
-
unit_id: objectIdSchema,
|
|
12
|
-
type: codedConceptSchema,
|
|
13
|
-
day: z
|
|
14
|
-
.union([z.number(), z.string()])
|
|
15
|
-
.refine((val) => val != null, { message: "day is required" }),
|
|
16
|
-
_id: objectIdSchema,
|
|
17
|
-
created_at: timestampSchema.optional(),
|
|
18
|
-
created_by: z.string().optional(),
|
|
19
|
-
updated_at: timestampSchema.optional(),
|
|
20
|
-
updated_by: z.string().optional(),
|
|
21
|
-
schema_version: z.number().int().positive().default(1),
|
|
22
|
-
});
|
|
23
|
-
export const PractitionerScheduleMongooseSchema = toMongooseSchema(practitionerScheduleSchema);
|
|
24
|
-
const PractitionerScheduleModelName = "practitioner_schedules";
|
|
25
|
-
export const PractitionerScheduleModel = model(PractitionerScheduleModelName, PractitionerScheduleMongooseSchema);
|
|
26
|
-
//# sourceMappingURL=practitioner-schedule.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-schedule.schema.js","sourceRoot":"","sources":["../../../src/models/practitioner-schedule/practitioner-schedule.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,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,eAAe,EAAE,cAAc;IAC/B,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,cAAc;IACxB,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,kBAAkB;IACxB,GAAG,EAAE,CAAC;SACH,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;SAC/B,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC/D,GAAG,EAAE,cAAc;IACnB,UAAU,EAAE,eAAe,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,eAAe,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,kCAAkC,GAAmB,gBAAgB,CAAC,0BAA0B,CAAC,CAAC;AAG/G,MAAM,6BAA6B,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC,6BAA6B,EAAE,kCAAkC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-session/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/practitioner-session/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal practitioner-session schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const practitionerSessionMinimalSchema: z.ZodObject<{
|
|
6
|
-
end: z.ZodString;
|
|
7
|
-
staff_id: z.ZodString;
|
|
8
|
-
unit_id: z.ZodString;
|
|
9
|
-
schedule_id: z.ZodString;
|
|
10
|
-
start: z.ZodString;
|
|
11
|
-
max_quota: z.ZodNumber;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type PractitionerSessionMinimal = z.infer<typeof practitionerSessionMinimalSchema>;
|
|
14
|
-
//# sourceMappingURL=practitioner-session-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-session-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-session/practitioner-session-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAO3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { practitionerSessionSchema } from "./practitioner-session.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal practitioner-session schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const practitionerSessionMinimalSchema = practitionerSessionSchema.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=practitioner-session-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-session-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/practitioner-session/practitioner-session-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAA4B,MAAM,+BAA+B,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,yBAAyB,CAAC,IAAI,CAAC;IAC7E,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,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial practitioner-session schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const practitionerSessionPartialSchema: z.ZodObject<{
|
|
6
|
-
end: z.ZodOptional<z.ZodString>;
|
|
7
|
-
staff_id: z.ZodOptional<z.ZodString>;
|
|
8
|
-
unit_id: z.ZodOptional<z.ZodString>;
|
|
9
|
-
schedule_id: z.ZodOptional<z.ZodString>;
|
|
10
|
-
start: z.ZodOptional<z.ZodString>;
|
|
11
|
-
max_quota: z.ZodOptional<z.ZodNumber>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type PractitionerSessionPartial = z.infer<typeof practitionerSessionPartialSchema>;
|
|
14
|
-
//# sourceMappingURL=practitioner-session-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"practitioner-session-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/practitioner-session/practitioner-session-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAA6C,CAAC;AAE3F,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|