candidhealth 0.35.1 → 0.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  4. package/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
  5. package/api/resources/credentialing/resources/v2/client/Client.js +11 -6
  6. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
  7. package/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
  8. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  14. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  15. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  16. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  17. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  18. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  19. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  20. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  22. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  24. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  25. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  26. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  27. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  28. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  29. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  30. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  31. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  32. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  33. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  34. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
  35. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
  36. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
  37. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
  38. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
  39. package/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
  40. package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
  41. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  42. package/api/resources/preEncounter/resources/common/types/index.js +1 -2
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  44. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
  46. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  47. package/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
  48. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
  49. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -13
  50. package/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
  51. package/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
  52. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
  53. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
  54. package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
  55. package/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
  56. package/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
  57. package/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
  58. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
  59. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
  60. package/api/resources/serviceFacility/client/Client.js +1 -1
  61. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  62. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  63. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  64. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  65. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  66. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  67. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  68. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  69. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
  70. package/dist/api/resources/credentialing/resources/v2/client/Client.js +11 -6
  71. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
  72. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
  73. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
  74. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  75. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  76. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  77. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  78. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  79. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  80. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  81. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  82. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  83. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  84. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  85. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  86. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  87. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  88. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  89. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  90. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  91. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  92. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  93. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  94. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  95. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  96. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  97. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  98. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  99. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
  100. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
  101. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
  102. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
  103. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
  104. package/dist/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
  105. package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
  106. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  107. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -2
  108. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  109. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
  110. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
  111. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  112. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
  113. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
  114. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -13
  115. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
  116. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
  117. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
  118. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
  119. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
  120. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
  121. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
  122. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
  123. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
  124. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
  125. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  126. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  127. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  128. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  129. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  130. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  131. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
  132. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
  133. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
  134. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
  135. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
  136. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
  137. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
  138. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
  139. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
  140. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
  141. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
  142. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
  143. package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
  144. package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
  145. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
  146. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
  147. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  148. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
  149. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
  150. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
  151. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
  152. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
  153. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
  154. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
  155. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
  156. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
  157. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
  158. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
  159. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
  160. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
  161. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
  162. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
  163. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
  164. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
  165. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
  166. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
  167. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
  168. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
  169. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  170. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  171. package/package.json +1 -1
  172. package/reference.md +2 -1
  173. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
  174. package/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
  175. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
  176. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
  177. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
  178. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
  179. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
  180. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
  181. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
  182. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
  183. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
  184. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
  185. package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
  186. package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
  187. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
  188. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
  189. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  190. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
  191. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
  192. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
  193. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
  194. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
  195. package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
  196. package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
  197. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
  198. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
  199. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
  200. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
  201. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
  202. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
  203. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
  204. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
  205. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
  206. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
  207. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
  208. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
  209. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
  210. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
  211. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  212. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  213. package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
  214. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -7
  215. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +0 -5
  216. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
  217. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -5
  218. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
  219. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -5
  220. package/dist/api/resources/preEncounter/resources/common/types/ErrorBase.js +0 -5
  221. package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
  222. package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +0 -5
  223. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -7
  224. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +0 -5
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
  226. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -5
  227. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
  228. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -5
  229. package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
  230. package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +0 -36
  231. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
  232. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +0 -36
  233. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
  234. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
  235. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
  236. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
  237. package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
  238. package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +0 -36
  239. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
  240. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +0 -36
  241. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
  242. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
  243. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
  244. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
  245. /package/api/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +0 -0
  246. /package/{api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js → dist/api/resources/preEncounter/resources/common/types/ErrorBase4Xx.js} +0 -0
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PotentialDuplicatePatient = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- const PatientId_1 = require("../../../../common/types/PatientId");
32
- exports.PotentialDuplicatePatient = core.serialization.object({
33
- existingPatientId: core.serialization.property("existing_patient_id", PatientId_1.PatientId),
34
- existingPatientMrn: core.serialization.property("existing_patient_mrn", core.serialization.string()),
35
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { PotentialDuplicatePatient } from "./PotentialDuplicatePatient";
8
- import { ErrorBase } from "../../../../common/types/ErrorBase";
9
- export declare const PotentialDuplicatePatientsErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody.Raw, CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody>;
10
- export declare namespace PotentialDuplicatePatientsErrorBody {
11
- interface Raw extends ErrorBase.Raw {
12
- code: "DUPLICATE_PATIENT";
13
- potential_duplicates: PotentialDuplicatePatient.Raw[];
14
- }
15
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PotentialDuplicatePatientsErrorBody = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- const PotentialDuplicatePatient_1 = require("./PotentialDuplicatePatient");
32
- const ErrorBase_1 = require("../../../../common/types/ErrorBase");
33
- exports.PotentialDuplicatePatientsErrorBody = core.serialization
34
- .object({
35
- code: core.serialization.stringLiteral("DUPLICATE_PATIENT"),
36
- potentialDuplicates: core.serialization.property("potential_duplicates", core.serialization.list(PotentialDuplicatePatient_1.PotentialDuplicatePatient)),
37
- })
38
- .extend(ErrorBase_1.ErrorBase);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { ErrorBase } from "./ErrorBase";
8
- export declare const NotFoundErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.NotFoundErrorBody.Raw, CandidApi.preEncounter.NotFoundErrorBody>;
9
- export declare namespace NotFoundErrorBody {
10
- interface Raw extends ErrorBase.Raw {
11
- code: "NOT_FOUND";
12
- }
13
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.NotFoundErrorBody = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const ErrorBase_1 = require("./ErrorBase");
32
- exports.NotFoundErrorBody = core.serialization
33
- .object({
34
- code: core.serialization.stringLiteral("NOT_FOUND"),
35
- })
36
- .extend(ErrorBase_1.ErrorBase);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { ErrorBase } from "../../../../common/types/ErrorBase";
8
- export declare const InvalidMrnErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.InvalidMrnErrorBody.Raw, CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody>;
9
- export declare namespace InvalidMrnErrorBody {
10
- interface Raw extends ErrorBase.Raw {
11
- code: "INVALID_MRN";
12
- }
13
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.InvalidMrnErrorBody = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- const ErrorBase_1 = require("../../../../common/types/ErrorBase");
32
- exports.InvalidMrnErrorBody = core.serialization
33
- .object({
34
- code: core.serialization.stringLiteral("INVALID_MRN"),
35
- })
36
- .extend(ErrorBase_1.ErrorBase);
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { PatientId } from "../../../../common/types/PatientId";
8
- export declare const PotentialDuplicatePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.PotentialDuplicatePatient.Raw, CandidApi.preEncounter.patients.v1.PotentialDuplicatePatient>;
9
- export declare namespace PotentialDuplicatePatient {
10
- interface Raw {
11
- existing_patient_id: PatientId.Raw;
12
- existing_patient_mrn: string;
13
- }
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PotentialDuplicatePatient = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- const PatientId_1 = require("../../../../common/types/PatientId");
32
- exports.PotentialDuplicatePatient = core.serialization.object({
33
- existingPatientId: core.serialization.property("existing_patient_id", PatientId_1.PatientId),
34
- existingPatientMrn: core.serialization.property("existing_patient_mrn", core.serialization.string()),
35
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { PotentialDuplicatePatient } from "./PotentialDuplicatePatient";
8
- import { ErrorBase } from "../../../../common/types/ErrorBase";
9
- export declare const PotentialDuplicatePatientsErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody.Raw, CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody>;
10
- export declare namespace PotentialDuplicatePatientsErrorBody {
11
- interface Raw extends ErrorBase.Raw {
12
- code: "DUPLICATE_PATIENT";
13
- potential_duplicates: PotentialDuplicatePatient.Raw[];
14
- }
15
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PotentialDuplicatePatientsErrorBody = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- const PotentialDuplicatePatient_1 = require("./PotentialDuplicatePatient");
32
- const ErrorBase_1 = require("../../../../common/types/ErrorBase");
33
- exports.PotentialDuplicatePatientsErrorBody = core.serialization
34
- .object({
35
- code: core.serialization.stringLiteral("DUPLICATE_PATIENT"),
36
- potentialDuplicates: core.serialization.property("potential_duplicates", core.serialization.list(PotentialDuplicatePatient_1.PotentialDuplicatePatient)),
37
- })
38
- .extend(ErrorBase_1.ErrorBase);