@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.
Files changed (385) hide show
  1. package/README.md +29 -67
  2. package/dist/index.cjs +1964 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.mts +3305 -0
  5. package/dist/index.d.ts +3303 -5
  6. package/dist/index.mjs +1820 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/dist/registry/index.cjs +931 -0
  9. package/dist/registry/index.cjs.map +1 -0
  10. package/dist/registry/index.d.mts +60 -0
  11. package/dist/registry/index.d.ts +60 -0
  12. package/dist/registry/index.mjs +924 -0
  13. package/dist/registry/index.mjs.map +1 -0
  14. package/package.json +18 -9
  15. package/dist/commons/address.d.ts +0 -35
  16. package/dist/commons/address.d.ts.map +0 -1
  17. package/dist/commons/address.js +0 -11
  18. package/dist/commons/address.js.map +0 -1
  19. package/dist/commons/api-response.d.ts +0 -70
  20. package/dist/commons/api-response.d.ts.map +0 -1
  21. package/dist/commons/api-response.js +0 -49
  22. package/dist/commons/api-response.js.map +0 -1
  23. package/dist/commons/coded-concept.d.ts +0 -16
  24. package/dist/commons/coded-concept.d.ts.map +0 -1
  25. package/dist/commons/coded-concept.js +0 -20
  26. package/dist/commons/coded-concept.js.map +0 -1
  27. package/dist/commons/demographic.d.ts +0 -29
  28. package/dist/commons/demographic.d.ts.map +0 -1
  29. package/dist/commons/demographic.js +0 -11
  30. package/dist/commons/demographic.js.map +0 -1
  31. package/dist/commons/index.d.ts +0 -12
  32. package/dist/commons/index.d.ts.map +0 -1
  33. package/dist/commons/index.js +0 -12
  34. package/dist/commons/index.js.map +0 -1
  35. package/dist/commons/object-id.d.ts +0 -8
  36. package/dist/commons/object-id.d.ts.map +0 -1
  37. package/dist/commons/object-id.js +0 -11
  38. package/dist/commons/object-id.js.map +0 -1
  39. package/dist/commons/setting-option.d.ts +0 -45
  40. package/dist/commons/setting-option.d.ts.map +0 -1
  41. package/dist/commons/setting-option.js +0 -27
  42. package/dist/commons/setting-option.js.map +0 -1
  43. package/dist/commons/timestamp.d.ts +0 -7
  44. package/dist/commons/timestamp.d.ts.map +0 -1
  45. package/dist/commons/timestamp.js +0 -9
  46. package/dist/commons/timestamp.js.map +0 -1
  47. package/dist/index.d.ts.map +0 -1
  48. package/dist/index.js +0 -7
  49. package/dist/index.js.map +0 -1
  50. package/dist/models/assignment/assignment-minimal.schema.d.ts +0 -18
  51. package/dist/models/assignment/assignment-minimal.schema.d.ts.map +0 -1
  52. package/dist/models/assignment/assignment-minimal.schema.js +0 -13
  53. package/dist/models/assignment/assignment-minimal.schema.js.map +0 -1
  54. package/dist/models/assignment/assignment-partial.schema.d.ts +0 -18
  55. package/dist/models/assignment/assignment-partial.schema.d.ts.map +0 -1
  56. package/dist/models/assignment/assignment-partial.schema.js +0 -6
  57. package/dist/models/assignment/assignment-partial.schema.js.map +0 -1
  58. package/dist/models/assignment/assignment.schema.d.ts +0 -84
  59. package/dist/models/assignment/assignment.schema.d.ts.map +0 -1
  60. package/dist/models/assignment/assignment.schema.js +0 -27
  61. package/dist/models/assignment/assignment.schema.js.map +0 -1
  62. package/dist/models/assignment/index.d.ts +0 -4
  63. package/dist/models/assignment/index.d.ts.map +0 -1
  64. package/dist/models/assignment/index.js +0 -4
  65. package/dist/models/assignment/index.js.map +0 -1
  66. package/dist/models/department/department-minimal.schema.d.ts +0 -17
  67. package/dist/models/department/department-minimal.schema.d.ts.map +0 -1
  68. package/dist/models/department/department-minimal.schema.js +0 -13
  69. package/dist/models/department/department-minimal.schema.js.map +0 -1
  70. package/dist/models/department/department-partial.schema.d.ts +0 -17
  71. package/dist/models/department/department-partial.schema.d.ts.map +0 -1
  72. package/dist/models/department/department-partial.schema.js +0 -6
  73. package/dist/models/department/department-partial.schema.js.map +0 -1
  74. package/dist/models/department/department.schema.d.ts +0 -83
  75. package/dist/models/department/department.schema.d.ts.map +0 -1
  76. package/dist/models/department/department.schema.js +0 -20
  77. package/dist/models/department/department.schema.js.map +0 -1
  78. package/dist/models/department/index.d.ts +0 -4
  79. package/dist/models/department/index.d.ts.map +0 -1
  80. package/dist/models/department/index.js +0 -4
  81. package/dist/models/department/index.js.map +0 -1
  82. package/dist/models/facility/facility-minimal.schema.d.ts +0 -19
  83. package/dist/models/facility/facility-minimal.schema.d.ts.map +0 -1
  84. package/dist/models/facility/facility-minimal.schema.js +0 -10
  85. package/dist/models/facility/facility-minimal.schema.js.map +0 -1
  86. package/dist/models/facility/facility-partial.schema.d.ts +0 -19
  87. package/dist/models/facility/facility-partial.schema.d.ts.map +0 -1
  88. package/dist/models/facility/facility-partial.schema.js +0 -6
  89. package/dist/models/facility/facility-partial.schema.js.map +0 -1
  90. package/dist/models/facility/facility-settings.schema.d.ts +0 -16
  91. package/dist/models/facility/facility-settings.schema.d.ts.map +0 -1
  92. package/dist/models/facility/facility-settings.schema.js +0 -12
  93. package/dist/models/facility/facility-settings.schema.js.map +0 -1
  94. package/dist/models/facility/facility.schema.d.ts +0 -82
  95. package/dist/models/facility/facility.schema.d.ts.map +0 -1
  96. package/dist/models/facility/facility.schema.js +0 -23
  97. package/dist/models/facility/facility.schema.js.map +0 -1
  98. package/dist/models/facility/index.d.ts +0 -5
  99. package/dist/models/facility/index.d.ts.map +0 -1
  100. package/dist/models/facility/index.js +0 -5
  101. package/dist/models/facility/index.js.map +0 -1
  102. package/dist/models/index.d.ts +0 -23
  103. package/dist/models/index.d.ts.map +0 -1
  104. package/dist/models/index.js +0 -23
  105. package/dist/models/index.js.map +0 -1
  106. package/dist/models/ksm/index.d.ts +0 -4
  107. package/dist/models/ksm/index.d.ts.map +0 -1
  108. package/dist/models/ksm/index.js +0 -4
  109. package/dist/models/ksm/index.js.map +0 -1
  110. package/dist/models/ksm/ksm-minimal.schema.d.ts +0 -12
  111. package/dist/models/ksm/ksm-minimal.schema.d.ts.map +0 -1
  112. package/dist/models/ksm/ksm-minimal.schema.js +0 -13
  113. package/dist/models/ksm/ksm-minimal.schema.js.map +0 -1
  114. package/dist/models/ksm/ksm-partial.schema.d.ts +0 -12
  115. package/dist/models/ksm/ksm-partial.schema.d.ts.map +0 -1
  116. package/dist/models/ksm/ksm-partial.schema.js +0 -6
  117. package/dist/models/ksm/ksm-partial.schema.js.map +0 -1
  118. package/dist/models/ksm/ksm.schema.d.ts +0 -78
  119. package/dist/models/ksm/ksm.schema.d.ts.map +0 -1
  120. package/dist/models/ksm/ksm.schema.js +0 -23
  121. package/dist/models/ksm/ksm.schema.js.map +0 -1
  122. package/dist/models/location/index.d.ts +0 -5
  123. package/dist/models/location/index.d.ts.map +0 -1
  124. package/dist/models/location/index.js +0 -5
  125. package/dist/models/location/index.js.map +0 -1
  126. package/dist/models/location/location-minimal.schema.d.ts +0 -33
  127. package/dist/models/location/location-minimal.schema.d.ts.map +0 -1
  128. package/dist/models/location/location-minimal.schema.js +0 -12
  129. package/dist/models/location/location-minimal.schema.js.map +0 -1
  130. package/dist/models/location/location-partial.schema.d.ts +0 -33
  131. package/dist/models/location/location-partial.schema.d.ts.map +0 -1
  132. package/dist/models/location/location-partial.schema.js +0 -6
  133. package/dist/models/location/location-partial.schema.js.map +0 -1
  134. package/dist/models/location/location-settings.schema.d.ts +0 -8
  135. package/dist/models/location/location-settings.schema.d.ts.map +0 -1
  136. package/dist/models/location/location-settings.schema.js +0 -7
  137. package/dist/models/location/location-settings.schema.js.map +0 -1
  138. package/dist/models/location/location.schema.d.ts +0 -98
  139. package/dist/models/location/location.schema.d.ts.map +0 -1
  140. package/dist/models/location/location.schema.js +0 -30
  141. package/dist/models/location/location.schema.js.map +0 -1
  142. package/dist/models/member/index.d.ts +0 -4
  143. package/dist/models/member/index.d.ts.map +0 -1
  144. package/dist/models/member/index.js +0 -4
  145. package/dist/models/member/index.js.map +0 -1
  146. package/dist/models/member/member-minimal.schema.d.ts +0 -11
  147. package/dist/models/member/member-minimal.schema.d.ts.map +0 -1
  148. package/dist/models/member/member-minimal.schema.js +0 -9
  149. package/dist/models/member/member-minimal.schema.js.map +0 -1
  150. package/dist/models/member/member-partial.schema.d.ts +0 -11
  151. package/dist/models/member/member-partial.schema.d.ts.map +0 -1
  152. package/dist/models/member/member-partial.schema.js +0 -6
  153. package/dist/models/member/member-partial.schema.js.map +0 -1
  154. package/dist/models/member/member.schema.d.ts +0 -73
  155. package/dist/models/member/member.schema.d.ts.map +0 -1
  156. package/dist/models/member/member.schema.js +0 -16
  157. package/dist/models/member/member.schema.js.map +0 -1
  158. package/dist/models/organization/index.d.ts +0 -5
  159. package/dist/models/organization/index.d.ts.map +0 -1
  160. package/dist/models/organization/index.js +0 -5
  161. package/dist/models/organization/index.js.map +0 -1
  162. package/dist/models/organization/organization-minimal.schema.d.ts +0 -22
  163. package/dist/models/organization/organization-minimal.schema.d.ts.map +0 -1
  164. package/dist/models/organization/organization-minimal.schema.js +0 -9
  165. package/dist/models/organization/organization-minimal.schema.js.map +0 -1
  166. package/dist/models/organization/organization-partial.schema.d.ts +0 -22
  167. package/dist/models/organization/organization-partial.schema.d.ts.map +0 -1
  168. package/dist/models/organization/organization-partial.schema.js +0 -6
  169. package/dist/models/organization/organization-partial.schema.js.map +0 -1
  170. package/dist/models/organization/organization-settings.schema.d.ts +0 -8
  171. package/dist/models/organization/organization-settings.schema.d.ts.map +0 -1
  172. package/dist/models/organization/organization-settings.schema.js +0 -7
  173. package/dist/models/organization/organization-settings.schema.js.map +0 -1
  174. package/dist/models/organization/organization.schema.d.ts +0 -84
  175. package/dist/models/organization/organization.schema.d.ts.map +0 -1
  176. package/dist/models/organization/organization.schema.js +0 -24
  177. package/dist/models/organization/organization.schema.js.map +0 -1
  178. package/dist/models/patient/index.d.ts +0 -4
  179. package/dist/models/patient/index.d.ts.map +0 -1
  180. package/dist/models/patient/index.js +0 -4
  181. package/dist/models/patient/index.js.map +0 -1
  182. package/dist/models/patient/patient-minimal.schema.d.ts +0 -95
  183. package/dist/models/patient/patient-minimal.schema.d.ts.map +0 -1
  184. package/dist/models/patient/patient-minimal.schema.js +0 -13
  185. package/dist/models/patient/patient-minimal.schema.js.map +0 -1
  186. package/dist/models/patient/patient-partial.schema.d.ts +0 -95
  187. package/dist/models/patient/patient-partial.schema.d.ts.map +0 -1
  188. package/dist/models/patient/patient-partial.schema.js +0 -6
  189. package/dist/models/patient/patient-partial.schema.js.map +0 -1
  190. package/dist/models/patient/patient.schema.d.ts +0 -161
  191. package/dist/models/patient/patient.schema.d.ts.map +0 -1
  192. package/dist/models/patient/patient.schema.js +0 -35
  193. package/dist/models/patient/patient.schema.js.map +0 -1
  194. package/dist/models/patient-additional/index.d.ts +0 -4
  195. package/dist/models/patient-additional/index.d.ts.map +0 -1
  196. package/dist/models/patient-additional/index.js +0 -4
  197. package/dist/models/patient-additional/index.js.map +0 -1
  198. package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts +0 -17
  199. package/dist/models/patient-additional/patient-additional-minimal.schema.d.ts.map +0 -1
  200. package/dist/models/patient-additional/patient-additional-minimal.schema.js +0 -13
  201. package/dist/models/patient-additional/patient-additional-minimal.schema.js.map +0 -1
  202. package/dist/models/patient-additional/patient-additional-partial.schema.d.ts +0 -17
  203. package/dist/models/patient-additional/patient-additional-partial.schema.d.ts.map +0 -1
  204. package/dist/models/patient-additional/patient-additional-partial.schema.js +0 -6
  205. package/dist/models/patient-additional/patient-additional-partial.schema.js.map +0 -1
  206. package/dist/models/patient-additional/patient-additional.schema.d.ts +0 -83
  207. package/dist/models/patient-additional/patient-additional.schema.d.ts.map +0 -1
  208. package/dist/models/patient-additional/patient-additional.schema.js +0 -21
  209. package/dist/models/patient-additional/patient-additional.schema.js.map +0 -1
  210. package/dist/models/payer/index.d.ts +0 -5
  211. package/dist/models/payer/index.d.ts.map +0 -1
  212. package/dist/models/payer/index.js +0 -5
  213. package/dist/models/payer/index.js.map +0 -1
  214. package/dist/models/payer/payer-minimal.schema.d.ts +0 -67
  215. package/dist/models/payer/payer-minimal.schema.d.ts.map +0 -1
  216. package/dist/models/payer/payer-minimal.schema.js +0 -13
  217. package/dist/models/payer/payer-minimal.schema.js.map +0 -1
  218. package/dist/models/payer/payer-partial.schema.d.ts +0 -67
  219. package/dist/models/payer/payer-partial.schema.d.ts.map +0 -1
  220. package/dist/models/payer/payer-partial.schema.js +0 -6
  221. package/dist/models/payer/payer-partial.schema.js.map +0 -1
  222. package/dist/models/payer/payer-settings.schema.d.ts +0 -27
  223. package/dist/models/payer/payer-settings.schema.d.ts.map +0 -1
  224. package/dist/models/payer/payer-settings.schema.js +0 -20
  225. package/dist/models/payer/payer-settings.schema.js.map +0 -1
  226. package/dist/models/payer/payer.schema.d.ts +0 -133
  227. package/dist/models/payer/payer.schema.d.ts.map +0 -1
  228. package/dist/models/payer/payer.schema.js +0 -47
  229. package/dist/models/payer/payer.schema.js.map +0 -1
  230. package/dist/models/practitioner-schedule/index.d.ts +0 -4
  231. package/dist/models/practitioner-schedule/index.d.ts.map +0 -1
  232. package/dist/models/practitioner-schedule/index.js +0 -4
  233. package/dist/models/practitioner-schedule/index.js.map +0 -1
  234. package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts +0 -20
  235. package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.d.ts.map +0 -1
  236. package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js +0 -13
  237. package/dist/models/practitioner-schedule/practitioner-schedule-minimal.schema.js.map +0 -1
  238. package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts +0 -20
  239. package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.d.ts.map +0 -1
  240. package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js +0 -6
  241. package/dist/models/practitioner-schedule/practitioner-schedule-partial.schema.js.map +0 -1
  242. package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts +0 -86
  243. package/dist/models/practitioner-schedule/practitioner-schedule.schema.d.ts.map +0 -1
  244. package/dist/models/practitioner-schedule/practitioner-schedule.schema.js +0 -26
  245. package/dist/models/practitioner-schedule/practitioner-schedule.schema.js.map +0 -1
  246. package/dist/models/practitioner-session/index.d.ts +0 -4
  247. package/dist/models/practitioner-session/index.d.ts.map +0 -1
  248. package/dist/models/practitioner-session/index.js +0 -4
  249. package/dist/models/practitioner-session/index.js.map +0 -1
  250. package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts +0 -14
  251. package/dist/models/practitioner-session/practitioner-session-minimal.schema.d.ts.map +0 -1
  252. package/dist/models/practitioner-session/practitioner-session-minimal.schema.js +0 -13
  253. package/dist/models/practitioner-session/practitioner-session-minimal.schema.js.map +0 -1
  254. package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts +0 -14
  255. package/dist/models/practitioner-session/practitioner-session-partial.schema.d.ts.map +0 -1
  256. package/dist/models/practitioner-session/practitioner-session-partial.schema.js +0 -6
  257. package/dist/models/practitioner-session/practitioner-session-partial.schema.js.map +0 -1
  258. package/dist/models/practitioner-session/practitioner-session.schema.d.ts +0 -80
  259. package/dist/models/practitioner-session/practitioner-session.schema.d.ts.map +0 -1
  260. package/dist/models/practitioner-session/practitioner-session.schema.js +0 -26
  261. package/dist/models/practitioner-session/practitioner-session.schema.js.map +0 -1
  262. package/dist/models/queue/index.d.ts +0 -5
  263. package/dist/models/queue/index.d.ts.map +0 -1
  264. package/dist/models/queue/index.js +0 -5
  265. package/dist/models/queue/index.js.map +0 -1
  266. package/dist/models/queue/queue-minimal.schema.d.ts +0 -31
  267. package/dist/models/queue/queue-minimal.schema.d.ts.map +0 -1
  268. package/dist/models/queue/queue-minimal.schema.js +0 -13
  269. package/dist/models/queue/queue-minimal.schema.js.map +0 -1
  270. package/dist/models/queue/queue-partial.schema.d.ts +0 -31
  271. package/dist/models/queue/queue-partial.schema.d.ts.map +0 -1
  272. package/dist/models/queue/queue-partial.schema.js +0 -6
  273. package/dist/models/queue/queue-partial.schema.js.map +0 -1
  274. package/dist/models/queue/queue-settings.schema.d.ts +0 -27
  275. package/dist/models/queue/queue-settings.schema.d.ts.map +0 -1
  276. package/dist/models/queue/queue-settings.schema.js +0 -22
  277. package/dist/models/queue/queue-settings.schema.js.map +0 -1
  278. package/dist/models/queue/queue.schema.d.ts +0 -97
  279. package/dist/models/queue/queue.schema.d.ts.map +0 -1
  280. package/dist/models/queue/queue.schema.js +0 -32
  281. package/dist/models/queue/queue.schema.js.map +0 -1
  282. package/dist/models/queue-event-log/index.d.ts +0 -4
  283. package/dist/models/queue-event-log/index.d.ts.map +0 -1
  284. package/dist/models/queue-event-log/index.js +0 -4
  285. package/dist/models/queue-event-log/index.js.map +0 -1
  286. package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts +0 -18
  287. package/dist/models/queue-event-log/queue-event-log-minimal.schema.d.ts.map +0 -1
  288. package/dist/models/queue-event-log/queue-event-log-minimal.schema.js +0 -13
  289. package/dist/models/queue-event-log/queue-event-log-minimal.schema.js.map +0 -1
  290. package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts +0 -18
  291. package/dist/models/queue-event-log/queue-event-log-partial.schema.d.ts.map +0 -1
  292. package/dist/models/queue-event-log/queue-event-log-partial.schema.js +0 -6
  293. package/dist/models/queue-event-log/queue-event-log-partial.schema.js.map +0 -1
  294. package/dist/models/queue-event-log/queue-event-log.schema.d.ts +0 -84
  295. package/dist/models/queue-event-log/queue-event-log.schema.d.ts.map +0 -1
  296. package/dist/models/queue-event-log/queue-event-log.schema.js +0 -25
  297. package/dist/models/queue-event-log/queue-event-log.schema.js.map +0 -1
  298. package/dist/models/queue-number/index.d.ts +0 -5
  299. package/dist/models/queue-number/index.d.ts.map +0 -1
  300. package/dist/models/queue-number/index.js +0 -5
  301. package/dist/models/queue-number/index.js.map +0 -1
  302. package/dist/models/queue-number/queue-number-minimal.schema.d.ts +0 -21
  303. package/dist/models/queue-number/queue-number-minimal.schema.d.ts.map +0 -1
  304. package/dist/models/queue-number/queue-number-minimal.schema.js +0 -14
  305. package/dist/models/queue-number/queue-number-minimal.schema.js.map +0 -1
  306. package/dist/models/queue-number/queue-number-partial.schema.d.ts +0 -21
  307. package/dist/models/queue-number/queue-number-partial.schema.d.ts.map +0 -1
  308. package/dist/models/queue-number/queue-number-partial.schema.js +0 -6
  309. package/dist/models/queue-number/queue-number-partial.schema.js.map +0 -1
  310. package/dist/models/queue-number/queue-number-settings.schema.d.ts +0 -27
  311. package/dist/models/queue-number/queue-number-settings.schema.d.ts.map +0 -1
  312. package/dist/models/queue-number/queue-number-settings.schema.js +0 -22
  313. package/dist/models/queue-number/queue-number-settings.schema.js.map +0 -1
  314. package/dist/models/queue-number/queue-number.schema.d.ts +0 -88
  315. package/dist/models/queue-number/queue-number.schema.d.ts.map +0 -1
  316. package/dist/models/queue-number/queue-number.schema.js +0 -42
  317. package/dist/models/queue-number/queue-number.schema.js.map +0 -1
  318. package/dist/models/settings/index.d.ts +0 -4
  319. package/dist/models/settings/index.d.ts.map +0 -1
  320. package/dist/models/settings/index.js +0 -4
  321. package/dist/models/settings/index.js.map +0 -1
  322. package/dist/models/settings/settings-minimal.schema.d.ts +0 -26
  323. package/dist/models/settings/settings-minimal.schema.d.ts.map +0 -1
  324. package/dist/models/settings/settings-minimal.schema.js +0 -11
  325. package/dist/models/settings/settings-minimal.schema.js.map +0 -1
  326. package/dist/models/settings/settings-partial.schema.d.ts +0 -26
  327. package/dist/models/settings/settings-partial.schema.d.ts.map +0 -1
  328. package/dist/models/settings/settings-partial.schema.js +0 -6
  329. package/dist/models/settings/settings-partial.schema.js.map +0 -1
  330. package/dist/models/settings/settings.schema.d.ts +0 -96
  331. package/dist/models/settings/settings.schema.d.ts.map +0 -1
  332. package/dist/models/settings/settings.schema.js +0 -25
  333. package/dist/models/settings/settings.schema.js.map +0 -1
  334. package/dist/models/staff/index.d.ts +0 -4
  335. package/dist/models/staff/index.d.ts.map +0 -1
  336. package/dist/models/staff/index.js +0 -4
  337. package/dist/models/staff/index.js.map +0 -1
  338. package/dist/models/staff/staff-minimal.schema.d.ts +0 -27
  339. package/dist/models/staff/staff-minimal.schema.d.ts.map +0 -1
  340. package/dist/models/staff/staff-minimal.schema.js +0 -13
  341. package/dist/models/staff/staff-minimal.schema.js.map +0 -1
  342. package/dist/models/staff/staff-partial.schema.d.ts +0 -27
  343. package/dist/models/staff/staff-partial.schema.d.ts.map +0 -1
  344. package/dist/models/staff/staff-partial.schema.js +0 -6
  345. package/dist/models/staff/staff-partial.schema.js.map +0 -1
  346. package/dist/models/staff/staff.schema.d.ts +0 -93
  347. package/dist/models/staff/staff.schema.d.ts.map +0 -1
  348. package/dist/models/staff/staff.schema.js +0 -25
  349. package/dist/models/staff/staff.schema.js.map +0 -1
  350. package/dist/models/unit/index.d.ts +0 -4
  351. package/dist/models/unit/index.d.ts.map +0 -1
  352. package/dist/models/unit/index.js +0 -4
  353. package/dist/models/unit/index.js.map +0 -1
  354. package/dist/models/unit/unit-minimal.schema.d.ts +0 -27
  355. package/dist/models/unit/unit-minimal.schema.d.ts.map +0 -1
  356. package/dist/models/unit/unit-minimal.schema.js +0 -13
  357. package/dist/models/unit/unit-minimal.schema.js.map +0 -1
  358. package/dist/models/unit/unit-partial.schema.d.ts +0 -27
  359. package/dist/models/unit/unit-partial.schema.d.ts.map +0 -1
  360. package/dist/models/unit/unit-partial.schema.js +0 -6
  361. package/dist/models/unit/unit-partial.schema.js.map +0 -1
  362. package/dist/models/unit/unit.schema.d.ts +0 -93
  363. package/dist/models/unit/unit.schema.d.ts.map +0 -1
  364. package/dist/models/unit/unit.schema.js +0 -27
  365. package/dist/models/unit/unit.schema.js.map +0 -1
  366. package/dist/models/user/index.d.ts +0 -5
  367. package/dist/models/user/index.d.ts.map +0 -1
  368. package/dist/models/user/index.js +0 -5
  369. package/dist/models/user/index.js.map +0 -1
  370. package/dist/models/user/user-minimal.schema.d.ts +0 -65
  371. package/dist/models/user/user-minimal.schema.d.ts.map +0 -1
  372. package/dist/models/user/user-minimal.schema.js +0 -10
  373. package/dist/models/user/user-minimal.schema.js.map +0 -1
  374. package/dist/models/user/user-partial.schema.d.ts +0 -65
  375. package/dist/models/user/user-partial.schema.d.ts.map +0 -1
  376. package/dist/models/user/user-partial.schema.js +0 -6
  377. package/dist/models/user/user-partial.schema.js.map +0 -1
  378. package/dist/models/user/user-settings.schema.d.ts +0 -8
  379. package/dist/models/user/user-settings.schema.d.ts.map +0 -1
  380. package/dist/models/user/user-settings.schema.js +0 -7
  381. package/dist/models/user/user-settings.schema.js.map +0 -1
  382. package/dist/models/user/user.schema.d.ts +0 -134
  383. package/dist/models/user/user.schema.d.ts.map +0 -1
  384. package/dist/models/user/user.schema.js +0 -39
  385. package/dist/models/user/user.schema.js.map +0 -1
@@ -1,82 +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 facilitySchema: z.ZodObject<{
5
- id: z.ZodString;
6
- name: z.ZodString;
7
- member_count: z.ZodNumber;
8
- organization_id: z.ZodString;
9
- status: z.ZodObject<{
10
- system: z.ZodString;
11
- value: z.ZodString;
12
- display: z.ZodOptional<z.ZodString>;
13
- valid: z.ZodOptional<z.ZodString>;
14
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
- }, z.core.$strip>;
16
- settings_id: z.ZodString;
17
- createdAt: z.ZodString;
18
- updatedAt: z.ZodString;
19
- }, z.core.$strip>;
20
- export type Facility = z.infer<typeof facilitySchema>;
21
- export declare const FacilityMongooseSchema: MongooseSchema;
22
- export type FacilityDocument = InferDocument<typeof facilitySchema>;
23
- export declare const FacilityModel: MongooseModel<{
24
- [x: number]: unknown;
25
- [x: symbol]: unknown;
26
- [x: string]: unknown;
27
- }, {}, {}, {
28
- id: string;
29
- }, import("mongoose").Document<unknown, {}, {
30
- [x: number]: unknown;
31
- [x: symbol]: unknown;
32
- [x: string]: unknown;
33
- }, {
34
- id: string;
35
- }, import("mongoose").DefaultSchemaOptions> & Omit<{
36
- [x: number]: unknown;
37
- [x: symbol]: unknown;
38
- [x: string]: unknown;
39
- } & Required<{
40
- _id: unknown;
41
- }> & {
42
- __v: number;
43
- }, "id"> & import("mongoose").HydratedDocumentOverrides<{
44
- id: string;
45
- }>, MongooseSchema<any, MongooseModel<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
46
- [x: number]: unknown;
47
- [x: symbol]: unknown;
48
- [x: string]: unknown;
49
- }, import("mongoose").Document<unknown, {}, {
50
- [x: number]: unknown;
51
- [x: symbol]: unknown;
52
- [x: string]: unknown;
53
- }, {
54
- id: string;
55
- }, import("mongoose").DefaultSchemaOptions> & Omit<{
56
- [x: number]: unknown;
57
- [x: symbol]: unknown;
58
- [x: string]: unknown;
59
- } & Required<{
60
- _id: unknown;
61
- }> & {
62
- __v: number;
63
- }, "id"> & import("mongoose").HydratedDocumentOverrides<{
64
- id: string;
65
- }>, unknown, {
66
- [x: number]: {};
67
- [x: symbol]: {};
68
- [x: string]: {};
69
- } & Required<{
70
- _id: unknown;
71
- }> & {
72
- __v: number;
73
- }>, {
74
- [x: number]: {};
75
- [x: symbol]: {};
76
- [x: string]: {};
77
- } & Required<{
78
- _id: unknown;
79
- }> & {
80
- __v: number;
81
- }>;
82
- //# sourceMappingURL=facility.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"facility.schema.d.ts","sourceRoot":"","sources":["../../../src/models/facility/facility.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAS,KAAK,MAAM,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;iBAYzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,sBAAsB,EAAE,cAAiD,CAAC;AACvF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;AAGpE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD,CAAC"}
@@ -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 { codedConceptSchema } from "../../commons";
6
- import { timestampSchema } from "../../commons/timestamp";
7
- export const facilitySchema = z.object({
8
- id: z.string().uuid({ message: "id must be a valid UUID" }),
9
- name: z.string().min(1, { message: "name is required" }),
10
- member_count: z
11
- .number()
12
- .int()
13
- .positive({ message: "member_count must be a positive integer" }),
14
- organization_id: objectIdSchema,
15
- status: codedConceptSchema,
16
- settings_id: objectIdSchema,
17
- createdAt: timestampSchema,
18
- updatedAt: timestampSchema,
19
- });
20
- export const FacilityMongooseSchema = toMongooseSchema(facilitySchema);
21
- const FacilityModelName = "facilities";
22
- export const FacilityModel = model(FacilityModelName, FacilityMongooseSchema);
23
- //# sourceMappingURL=facility.schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"facility.schema.js","sourceRoot":"","sources":["../../../src/models/facility/facility.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,KAAK,EAA8D,MAAM,UAAU,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAqB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAM1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAC3D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;IACnE,eAAe,EAAE,cAAc;IAC/B,MAAM,EAAE,kBAAkB;IAC1B,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAmB,gBAAgB,CAAC,cAAc,CAAC,CAAC;AAGvF,MAAM,iBAAiB,GAAG,YAAY,CAAC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from "./facility.schema";
2
- export * from "./facility-settings.schema";
3
- export * from "./facility-minimal.schema";
4
- export * from "./facility-partial.schema";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/facility/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from "./facility.schema";
2
- export * from "./facility-settings.schema";
3
- export * from "./facility-minimal.schema";
4
- export * from "./facility-partial.schema";
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/facility/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
@@ -1,23 +0,0 @@
1
- /**
2
- * Data entity schemas used by CentriCare projects.
3
- */
4
- export * from "./user";
5
- export * from "./settings";
6
- export * from "./assignment";
7
- export * from "./department";
8
- export * from "./facility";
9
- export * from "./location";
10
- export * from "./member";
11
- export * from "./organization";
12
- export * from "./patient";
13
- export * from "./patient-additional";
14
- export * from "./staff";
15
- export * from "./unit";
16
- export * from "./practitioner-schedule";
17
- export * from "./practitioner-session";
18
- export * from "./ksm";
19
- export * from "./payer";
20
- export * from "./queue";
21
- export * from "./queue-event-log";
22
- export * from "./queue-number";
23
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
@@ -1,23 +0,0 @@
1
- /**
2
- * Data entity schemas used by CentriCare projects.
3
- */
4
- export * from "./user";
5
- export * from "./settings";
6
- export * from "./assignment";
7
- export * from "./department";
8
- export * from "./facility";
9
- export * from "./location";
10
- export * from "./member";
11
- export * from "./organization";
12
- export * from "./patient";
13
- export * from "./patient-additional";
14
- export * from "./staff";
15
- export * from "./unit";
16
- export * from "./practitioner-schedule";
17
- export * from "./practitioner-session";
18
- export * from "./ksm";
19
- export * from "./payer";
20
- export * from "./queue";
21
- export * from "./queue-event-log";
22
- export * from "./queue-number";
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./ksm.schema";
2
- export * from "./ksm-minimal.schema";
3
- export * from "./ksm-partial.schema";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/ksm/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./ksm.schema";
2
- export * from "./ksm-minimal.schema";
3
- export * from "./ksm-partial.schema";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/ksm/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { z } from "zod";
2
- /**
3
- * Minimal ksm schema (omits server-generated fields).
4
- */
5
- export declare const ksmMinimalSchema: z.ZodObject<{
6
- name: z.ZodString;
7
- facility_id: z.ZodString;
8
- organization_id: z.ZodString;
9
- subspecialist: z.ZodArray<z.ZodString>;
10
- }, z.core.$strip>;
11
- export type KsmMinimal = z.infer<typeof ksmMinimalSchema>;
12
- //# sourceMappingURL=ksm-minimal.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ksm-minimal.schema.d.ts","sourceRoot":"","sources":["../../../src/models/ksm/ksm-minimal.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;iBAO3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { ksmSchema } from "./ksm.schema";
2
- /**
3
- * Minimal ksm schema (omits server-generated fields).
4
- */
5
- export const ksmMinimalSchema = ksmSchema.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=ksm-minimal.schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ksm-minimal.schema.js","sourceRoot":"","sources":["../../../src/models/ksm/ksm-minimal.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAY,MAAM,cAAc,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC;IAC7C,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- import { z } from "zod";
2
- /**
3
- * Partial ksm schema (based on minimal, all fields optional).
4
- */
5
- export declare const ksmPartialSchema: z.ZodObject<{
6
- name: z.ZodOptional<z.ZodString>;
7
- facility_id: z.ZodOptional<z.ZodString>;
8
- organization_id: z.ZodOptional<z.ZodString>;
9
- subspecialist: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
- }, z.core.$strip>;
11
- export type KsmPartial = z.infer<typeof ksmPartialSchema>;
12
- //# sourceMappingURL=ksm-partial.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ksm-partial.schema.d.ts","sourceRoot":"","sources":["../../../src/models/ksm/ksm-partial.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;iBAA6B,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { ksmMinimalSchema } from "./ksm-minimal.schema";
2
- /**
3
- * Partial ksm schema (based on minimal, all fields optional).
4
- */
5
- export const ksmPartialSchema = ksmMinimalSchema.partial();
6
- //# sourceMappingURL=ksm-partial.schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ksm-partial.schema.js","sourceRoot":"","sources":["../../../src/models/ksm/ksm-partial.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,sBAAsB,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,EAAE,CAAC"}
@@ -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,5 +0,0 @@
1
- export * from "./location.schema";
2
- export * from "./location-settings.schema";
3
- export * from "./location-minimal.schema";
4
- export * from "./location-partial.schema";
5
- //# sourceMappingURL=index.d.ts.map
@@ -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,5 +0,0 @@
1
- export * from "./location.schema";
2
- export * from "./location-settings.schema";
3
- export * from "./location-minimal.schema";
4
- export * from "./location-partial.schema";
5
- //# sourceMappingURL=index.js.map
@@ -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