@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,78 +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 ksmSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
organization_id: z.ZodString;
|
|
7
|
-
facility_id: z.ZodString;
|
|
8
|
-
name: z.ZodString;
|
|
9
|
-
subspecialist: z.ZodArray<z.ZodString>;
|
|
10
|
-
created_at: z.ZodString;
|
|
11
|
-
created_by: z.ZodString;
|
|
12
|
-
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
14
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
export type Ksm = z.infer<typeof ksmSchema>;
|
|
17
|
-
export declare const KsmMongooseSchema: MongooseSchema;
|
|
18
|
-
export type KsmDocument = InferDocument<typeof ksmSchema>;
|
|
19
|
-
export declare const KsmModel: MongooseModel<{
|
|
20
|
-
[x: number]: unknown;
|
|
21
|
-
[x: symbol]: unknown;
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
}, {}, {}, {
|
|
24
|
-
id: string;
|
|
25
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
26
|
-
[x: number]: unknown;
|
|
27
|
-
[x: symbol]: unknown;
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
}, {
|
|
30
|
-
id: string;
|
|
31
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
32
|
-
[x: number]: unknown;
|
|
33
|
-
[x: symbol]: unknown;
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
} & Required<{
|
|
36
|
-
_id: unknown;
|
|
37
|
-
}> & {
|
|
38
|
-
__v: number;
|
|
39
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
40
|
-
id: string;
|
|
41
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
42
|
-
[x: number]: unknown;
|
|
43
|
-
[x: symbol]: unknown;
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
46
|
-
[x: number]: unknown;
|
|
47
|
-
[x: symbol]: unknown;
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
}, {
|
|
50
|
-
id: string;
|
|
51
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
52
|
-
[x: number]: unknown;
|
|
53
|
-
[x: symbol]: unknown;
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
} & Required<{
|
|
56
|
-
_id: unknown;
|
|
57
|
-
}> & {
|
|
58
|
-
__v: number;
|
|
59
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
60
|
-
id: string;
|
|
61
|
-
}>, unknown, {
|
|
62
|
-
[x: number]: {};
|
|
63
|
-
[x: symbol]: {};
|
|
64
|
-
[x: string]: {};
|
|
65
|
-
} & Required<{
|
|
66
|
-
_id: unknown;
|
|
67
|
-
}> & {
|
|
68
|
-
__v: number;
|
|
69
|
-
}>, {
|
|
70
|
-
[x: number]: {};
|
|
71
|
-
[x: symbol]: {};
|
|
72
|
-
[x: string]: {};
|
|
73
|
-
} & Required<{
|
|
74
|
-
_id: unknown;
|
|
75
|
-
}> & {
|
|
76
|
-
__v: number;
|
|
77
|
-
}>;
|
|
78
|
-
//# sourceMappingURL=ksm.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ksm.schema.d.ts","sourceRoot":"","sources":["../../../src/models/ksm/ksm.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;AAG1D,eAAO,MAAM,SAAS;;;;;;;;;;;iBAapB,CAAC;AAEH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5C,eAAO,MAAM,iBAAiB,EAAE,cAA4C,CAAC;AAC7E,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,SAAS,CAAC,CAAC;AAG1D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyC,CAAC"}
|
|
@@ -1,23 +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 ksmSchema = z.object({
|
|
7
|
-
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
8
|
-
organization_id: objectIdSchema,
|
|
9
|
-
facility_id: objectIdSchema,
|
|
10
|
-
name: z.string().min(1, { message: "name is required" }),
|
|
11
|
-
subspecialist: z
|
|
12
|
-
.array(z.string())
|
|
13
|
-
.min(1, { message: "subspecialist is required" }),
|
|
14
|
-
created_at: timestampSchema,
|
|
15
|
-
created_by: z.string().min(1, { message: "created_by is required" }),
|
|
16
|
-
updated_at: timestampSchema.nullable(),
|
|
17
|
-
updated_by: z.string().nullable(),
|
|
18
|
-
schema_version: z.number().int().positive().default(1),
|
|
19
|
-
});
|
|
20
|
-
export const KsmMongooseSchema = toMongooseSchema(ksmSchema);
|
|
21
|
-
const KsmModelName = "medical_staff_groups";
|
|
22
|
-
export const KsmModel = model(KsmModelName, KsmMongooseSchema);
|
|
23
|
-
//# sourceMappingURL=ksm.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ksm.schema.js","sourceRoot":"","sources":["../../../src/models/ksm/ksm.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,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,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,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;IACnD,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,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,iBAAiB,GAAmB,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAG7E,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAC5C,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/location/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/location/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal location schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const locationMinimalSchema: z.ZodObject<{
|
|
6
|
-
settings_id: z.ZodString;
|
|
7
|
-
statuses: 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
|
-
identifiers: 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
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
23
|
-
parent_id: z.ZodString;
|
|
24
|
-
types: z.ZodArray<z.ZodObject<{
|
|
25
|
-
system: z.ZodString;
|
|
26
|
-
value: z.ZodString;
|
|
27
|
-
display: z.ZodOptional<z.ZodString>;
|
|
28
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
29
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
export type LocationMinimal = z.infer<typeof locationMinimalSchema>;
|
|
33
|
-
//# sourceMappingURL=location-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/location/location-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { locationSchema } from "./location.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal location schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const locationMinimalSchema = locationSchema.omit({
|
|
6
|
-
_id: true,
|
|
7
|
-
created_at: true,
|
|
8
|
-
created_by: true,
|
|
9
|
-
updated_at: true,
|
|
10
|
-
updated_by: true,
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=location-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/location/location-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,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;CACjB,CAAC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial location schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const locationPartialSchema: z.ZodObject<{
|
|
6
|
-
settings_id: 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
|
-
identifiers: 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
|
-
schema_version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
23
|
-
parent_id: z.ZodOptional<z.ZodString>;
|
|
24
|
-
types: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
-
system: z.ZodString;
|
|
26
|
-
value: z.ZodString;
|
|
27
|
-
display: z.ZodOptional<z.ZodString>;
|
|
28
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
29
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
-
}, z.core.$strip>>>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
export type LocationPartial = z.infer<typeof locationPartialSchema>;
|
|
33
|
-
//# sourceMappingURL=location-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/location/location-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 { locationMinimalSchema } from "./location-minimal.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Partial location schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export const locationPartialSchema = locationMinimalSchema.partial();
|
|
6
|
-
//# sourceMappingURL=location-partial.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-partial.schema.js","sourceRoot":"","sources":["../../../src/models/location/location-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,8 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const locationSettingsSchema: z.ZodObject<{
|
|
3
|
-
sex_restriction: z.ZodOptional<z.ZodString>;
|
|
4
|
-
is_inventory_location: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
-
room_has_ventilator: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type LocationSettings = z.infer<typeof locationSettingsSchema>;
|
|
8
|
-
//# sourceMappingURL=location-settings.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-settings.schema.d.ts","sourceRoot":"","sources":["../../../src/models/location/location-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export const locationSettingsSchema = z.object({
|
|
3
|
-
sex_restriction: z.string().optional(),
|
|
4
|
-
is_inventory_location: z.boolean().default(false),
|
|
5
|
-
room_has_ventilator: z.boolean().default(false),
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=location-settings.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-settings.schema.js","sourceRoot":"","sources":["../../../src/models/location/location-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACjD,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CAChD,CAAC,CAAC"}
|
|
@@ -1,98 +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 locationSchema: z.ZodObject<{
|
|
5
|
-
_id: z.ZodString;
|
|
6
|
-
parent_id: z.ZodString;
|
|
7
|
-
identifiers: 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
|
-
name: z.ZodString;
|
|
15
|
-
types: z.ZodArray<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
|
-
statuses: z.ZodArray<z.ZodObject<{
|
|
23
|
-
system: z.ZodString;
|
|
24
|
-
value: z.ZodString;
|
|
25
|
-
display: z.ZodOptional<z.ZodString>;
|
|
26
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
27
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
-
}, z.core.$strip>>;
|
|
29
|
-
settings_id: z.ZodString;
|
|
30
|
-
created_at: z.ZodString;
|
|
31
|
-
created_by: z.ZodString;
|
|
32
|
-
updated_at: z.ZodString;
|
|
33
|
-
updated_by: z.ZodString;
|
|
34
|
-
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
export type Location = z.infer<typeof locationSchema>;
|
|
37
|
-
export declare const LocationMongooseSchema: MongooseSchema;
|
|
38
|
-
export type LocationDocument = InferDocument<typeof locationSchema>;
|
|
39
|
-
export declare const LocationModel: MongooseModel<{
|
|
40
|
-
[x: number]: unknown;
|
|
41
|
-
[x: symbol]: unknown;
|
|
42
|
-
[x: string]: unknown;
|
|
43
|
-
}, {}, {}, {
|
|
44
|
-
id: string;
|
|
45
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
46
|
-
[x: number]: unknown;
|
|
47
|
-
[x: symbol]: unknown;
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
}, {
|
|
50
|
-
id: string;
|
|
51
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
52
|
-
[x: number]: unknown;
|
|
53
|
-
[x: symbol]: unknown;
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
} & Required<{
|
|
56
|
-
_id: unknown;
|
|
57
|
-
}> & {
|
|
58
|
-
__v: number;
|
|
59
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
60
|
-
id: string;
|
|
61
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
62
|
-
[x: number]: unknown;
|
|
63
|
-
[x: symbol]: unknown;
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
66
|
-
[x: number]: unknown;
|
|
67
|
-
[x: symbol]: unknown;
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
}, {
|
|
70
|
-
id: string;
|
|
71
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
72
|
-
[x: number]: unknown;
|
|
73
|
-
[x: symbol]: unknown;
|
|
74
|
-
[x: string]: unknown;
|
|
75
|
-
} & Required<{
|
|
76
|
-
_id: unknown;
|
|
77
|
-
}> & {
|
|
78
|
-
__v: number;
|
|
79
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
80
|
-
id: string;
|
|
81
|
-
}>, unknown, {
|
|
82
|
-
[x: number]: {};
|
|
83
|
-
[x: symbol]: {};
|
|
84
|
-
[x: string]: {};
|
|
85
|
-
} & Required<{
|
|
86
|
-
_id: unknown;
|
|
87
|
-
}> & {
|
|
88
|
-
__v: number;
|
|
89
|
-
}>, {
|
|
90
|
-
[x: number]: {};
|
|
91
|
-
[x: symbol]: {};
|
|
92
|
-
[x: string]: {};
|
|
93
|
-
} & Required<{
|
|
94
|
-
_id: unknown;
|
|
95
|
-
}> & {
|
|
96
|
-
__v: number;
|
|
97
|
-
}>;
|
|
98
|
-
//# sourceMappingURL=location.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location.schema.d.ts","sourceRoot":"","sources":["../../../src/models/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAS,KAAK,MAAM,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAK1D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBzB,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,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { toMongooseSchema } from "@nullix/zod-mongoose";
|
|
3
|
-
import { model } from "mongoose";
|
|
4
|
-
import { objectIdSchema } from "../../commons/object-id";
|
|
5
|
-
import { codedConceptSchema } from "../../commons";
|
|
6
|
-
import { timestampSchema } from "../../commons/timestamp";
|
|
7
|
-
export const locationSchema = z.object({
|
|
8
|
-
_id: objectIdSchema,
|
|
9
|
-
parent_id: objectIdSchema,
|
|
10
|
-
identifiers: z.array(codedConceptSchema).nonempty({
|
|
11
|
-
message: "identifiers must contain at least one CodedConcept",
|
|
12
|
-
}),
|
|
13
|
-
name: z.string().min(1, { message: "name is required" }),
|
|
14
|
-
types: z.array(codedConceptSchema).nonempty({
|
|
15
|
-
message: "types must contain at least one CodedConcept",
|
|
16
|
-
}),
|
|
17
|
-
statuses: z.array(codedConceptSchema).nonempty({
|
|
18
|
-
message: "statuses must contain at least one CodedConcept",
|
|
19
|
-
}),
|
|
20
|
-
settings_id: objectIdSchema,
|
|
21
|
-
created_at: timestampSchema,
|
|
22
|
-
created_by: z.string(),
|
|
23
|
-
updated_at: timestampSchema,
|
|
24
|
-
updated_by: z.string(),
|
|
25
|
-
schema_version: z.number().int().positive().default(1),
|
|
26
|
-
});
|
|
27
|
-
export const LocationMongooseSchema = toMongooseSchema(locationSchema);
|
|
28
|
-
const LocationModelName = "locations";
|
|
29
|
-
export const LocationModel = model(LocationModelName, LocationMongooseSchema);
|
|
30
|
-
//# sourceMappingURL=location.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location.schema.js","sourceRoot":"","sources":["../../../src/models/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,KAAK,EAA8D,MAAM,UAAU,CAAC;AAE7F,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAqB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,GAAG,EAAE,cAAc;IACnB,SAAS,EAAE,cAAc;IACzB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC;QAChD,OAAO,EAAE,oDAAoD;KAC9D,CAAC;IACF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC;QAC1C,OAAO,EAAE,8CAA8C;KACxD,CAAC;IACF,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC;QAC7C,OAAO,EAAE,iDAAiD;KAC3D,CAAC;IACF,WAAW,EAAE,cAAc;IAC3B,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,sBAAsB,GAAmB,gBAAgB,CAAC,cAAc,CAAC,CAAC;AAGvF,MAAM,iBAAiB,GAAG,WAAW,CAAC;AACtC,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/member/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/member/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal member schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const memberMinimalSchema: z.ZodObject<{
|
|
6
|
-
organization_id: z.ZodString;
|
|
7
|
-
user_id: z.ZodString;
|
|
8
|
-
role: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type MemberMinimal = z.infer<typeof memberMinimalSchema>;
|
|
11
|
-
//# sourceMappingURL=member-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/member/member-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;iBAG9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { memberSchema } from "./member.schema";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal member schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export const memberMinimalSchema = memberSchema.omit({
|
|
6
|
-
id: true,
|
|
7
|
-
created_at: true,
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=member-minimal.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/member/member-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAe,MAAM,iBAAiB,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC,IAAI,CAAC;IACnD,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,IAAI;CACjB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Partial member schema (based on minimal, all fields optional).
|
|
4
|
-
*/
|
|
5
|
-
export declare const memberPartialSchema: z.ZodObject<{
|
|
6
|
-
organization_id: z.ZodOptional<z.ZodString>;
|
|
7
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
8
|
-
role: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type MemberPartial = z.infer<typeof memberPartialSchema>;
|
|
11
|
-
//# sourceMappingURL=member-partial.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/member/member-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;iBAAgC,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member-partial.schema.js","sourceRoot":"","sources":["../../../src/models/member/member-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAsB,MAAM,yBAAyB,CAAC;AAElF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,OAAO,EAAE,CAAC"}
|
|
@@ -1,73 +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 memberSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
user_id: z.ZodString;
|
|
7
|
-
organization_id: z.ZodString;
|
|
8
|
-
role: z.ZodString;
|
|
9
|
-
created_at: z.ZodString;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export type Member = z.infer<typeof memberSchema>;
|
|
12
|
-
export declare const MemberMongooseSchema: MongooseSchema;
|
|
13
|
-
export type MemberDocument = InferDocument<typeof memberSchema>;
|
|
14
|
-
export declare const MemberModel: MongooseModel<{
|
|
15
|
-
[x: number]: unknown;
|
|
16
|
-
[x: symbol]: unknown;
|
|
17
|
-
[x: string]: unknown;
|
|
18
|
-
}, {}, {}, {
|
|
19
|
-
id: string;
|
|
20
|
-
}, import("mongoose").Document<unknown, {}, {
|
|
21
|
-
[x: number]: unknown;
|
|
22
|
-
[x: symbol]: unknown;
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
}, {
|
|
25
|
-
id: string;
|
|
26
|
-
}, import("mongoose").DefaultSchemaOptions> & Omit<{
|
|
27
|
-
[x: number]: unknown;
|
|
28
|
-
[x: symbol]: unknown;
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
} & Required<{
|
|
31
|
-
_id: unknown;
|
|
32
|
-
}> & {
|
|
33
|
-
__v: number;
|
|
34
|
-
}, "id"> & import("mongoose").HydratedDocumentOverrides<{
|
|
35
|
-
id: string;
|
|
36
|
-
}>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
37
|
-
[x: number]: unknown;
|
|
38
|
-
[x: symbol]: unknown;
|
|
39
|
-
[x: string]: unknown;
|
|
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
|
-
}>, unknown, {
|
|
57
|
-
[x: number]: {};
|
|
58
|
-
[x: symbol]: {};
|
|
59
|
-
[x: string]: {};
|
|
60
|
-
} & Required<{
|
|
61
|
-
_id: unknown;
|
|
62
|
-
}> & {
|
|
63
|
-
__v: number;
|
|
64
|
-
}>, {
|
|
65
|
-
[x: number]: {};
|
|
66
|
-
[x: symbol]: {};
|
|
67
|
-
[x: string]: {};
|
|
68
|
-
} & Required<{
|
|
69
|
-
_id: unknown;
|
|
70
|
-
}> & {
|
|
71
|
-
__v: number;
|
|
72
|
-
}>;
|
|
73
|
-
//# sourceMappingURL=member.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member.schema.d.ts","sourceRoot":"","sources":["../../../src/models/member/member.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,YAAY;;;;;;iBAMvB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,oBAAoB,EAAE,cAA+C,CAAC;AACnF,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;AAGhE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC"}
|
|
@@ -1,16 +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 memberSchema = z.object({
|
|
7
|
-
id: z.string().uuid({ message: "id must be a valid UUID" }),
|
|
8
|
-
user_id: objectIdSchema,
|
|
9
|
-
organization_id: objectIdSchema,
|
|
10
|
-
role: z.string().min(1, { message: "role is required" }),
|
|
11
|
-
created_at: timestampSchema,
|
|
12
|
-
});
|
|
13
|
-
export const MemberMongooseSchema = toMongooseSchema(memberSchema);
|
|
14
|
-
const MemberModelName = "members";
|
|
15
|
-
export const MemberModel = model(MemberModelName, MemberMongooseSchema);
|
|
16
|
-
//# sourceMappingURL=member.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member.schema.js","sourceRoot":"","sources":["../../../src/models/member/member.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,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAC3D,OAAO,EAAE,cAAc;IACvB,eAAe,EAAE,cAAc;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,UAAU,EAAE,eAAe;CAC5B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAmB,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAGnF,MAAM,eAAe,GAAG,SAAS,CAAC;AAClC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/organization/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/organization/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Minimal organization schema (omits server-generated fields).
|
|
4
|
-
*/
|
|
5
|
-
export declare const organizationMinimalSchema: z.ZodObject<{
|
|
6
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
7
|
-
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>>;
|
|
9
|
-
settings_id: z.ZodString;
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
status: z.ZodObject<{
|
|
12
|
-
system: z.ZodString;
|
|
13
|
-
value: z.ZodString;
|
|
14
|
-
display: z.ZodOptional<z.ZodString>;
|
|
15
|
-
valid: z.ZodOptional<z.ZodString>;
|
|
16
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
slug: z.ZodString;
|
|
19
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
20
|
-
}, z.core.$strip>;
|
|
21
|
-
export type OrganizationMinimal = z.infer<typeof organizationMinimalSchema>;
|
|
22
|
-
//# sourceMappingURL=organization-minimal.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/organization/organization-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;iBAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|