candidhealth 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (644) hide show
  1. package/Client.d.ts +9 -0
  2. package/Client.js +41 -26
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  7. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  8. package/api/resources/encounters/resources/v4/client/Client.d.ts +3 -1
  9. package/api/resources/encounters/resources/v4/client/Client.js +7 -5
  10. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -1
  11. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  12. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  13. package/api/resources/encounters/resources/v4/types/Vitals.d.ts +5 -1
  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/index.d.ts +3 -0
  22. package/api/resources/index.js +4 -1
  23. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  24. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  25. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  26. package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +26 -0
  27. package/api/resources/nonInsurancePayerPayments/client/Client.js +17 -0
  28. package/api/resources/nonInsurancePayerPayments/client/index.d.ts +1 -0
  29. package/api/resources/nonInsurancePayerPayments/client/index.js +2 -0
  30. package/api/resources/nonInsurancePayerPayments/index.d.ts +2 -0
  31. package/api/resources/nonInsurancePayerPayments/index.js +18 -0
  32. package/api/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
  33. package/api/resources/nonInsurancePayerPayments/resources/index.js +27 -0
  34. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +98 -0
  35. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +422 -0
  36. package/api/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +34 -0
  37. package/api/resources/nonInsurancePayerPayments/resources/v1/client/create.js +69 -0
  38. package/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +34 -0
  39. package/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +69 -0
  40. package/api/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +28 -0
  41. package/api/resources/nonInsurancePayerPayments/resources/v1/client/get.js +58 -0
  42. package/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +28 -0
  43. package/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +58 -0
  44. package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
  45. package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
  46. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +34 -0
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.js +5 -0
  48. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +23 -0
  49. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +5 -0
  50. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +2 -0
  51. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +2 -0
  52. package/api/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +34 -0
  53. package/api/resources/nonInsurancePayerPayments/resources/v1/client/update.js +69 -0
  54. package/api/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
  55. package/api/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
  56. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +14 -0
  57. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +5 -0
  58. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +13 -0
  59. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +5 -0
  60. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +8 -0
  61. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +10 -0
  62. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +8 -0
  63. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +10 -0
  64. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +7 -0
  65. package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +5 -0
  66. package/api/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
  67. package/api/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
  68. package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +26 -0
  69. package/api/resources/nonInsurancePayerRefunds/client/Client.js +17 -0
  70. package/api/resources/nonInsurancePayerRefunds/client/index.d.ts +1 -0
  71. package/api/resources/nonInsurancePayerRefunds/client/index.js +2 -0
  72. package/api/resources/nonInsurancePayerRefunds/index.d.ts +2 -0
  73. package/api/resources/nonInsurancePayerRefunds/index.js +18 -0
  74. package/api/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
  75. package/api/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
  76. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +109 -0
  77. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +433 -0
  78. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +34 -0
  79. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +69 -0
  80. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +34 -0
  81. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +69 -0
  82. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +28 -0
  83. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +58 -0
  84. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
  85. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +58 -0
  86. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
  87. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
  88. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +34 -0
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.js +5 -0
  90. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +28 -0
  91. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +5 -0
  92. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
  93. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +2 -0
  94. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +34 -0
  95. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +69 -0
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
  98. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +14 -0
  99. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +5 -0
  100. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +13 -0
  101. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +5 -0
  102. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +8 -0
  103. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +10 -0
  104. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +8 -0
  105. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +10 -0
  106. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +7 -0
  107. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +5 -0
  108. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
  109. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
  110. package/api/resources/nonInsurancePayers/client/Client.d.ts +26 -0
  111. package/api/resources/nonInsurancePayers/client/Client.js +17 -0
  112. package/api/resources/nonInsurancePayers/client/index.d.ts +1 -0
  113. package/api/resources/nonInsurancePayers/client/index.js +2 -0
  114. package/api/resources/nonInsurancePayers/index.d.ts +2 -0
  115. package/api/resources/nonInsurancePayers/index.js +18 -0
  116. package/api/resources/nonInsurancePayers/resources/index.d.ts +1 -0
  117. package/api/resources/nonInsurancePayers/resources/index.js +27 -0
  118. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +97 -0
  119. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +469 -0
  120. package/api/resources/nonInsurancePayers/resources/v1/client/create.d.ts +34 -0
  121. package/api/resources/nonInsurancePayers/resources/v1/client/create.js +69 -0
  122. package/api/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +28 -0
  123. package/api/resources/nonInsurancePayers/resources/v1/client/delete.js +58 -0
  124. package/api/resources/nonInsurancePayers/resources/v1/client/get.d.ts +28 -0
  125. package/api/resources/nonInsurancePayers/resources/v1/client/get.js +58 -0
  126. package/api/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +28 -0
  127. package/api/resources/nonInsurancePayers/resources/v1/client/getMulti.js +58 -0
  128. package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +7 -0
  129. package/api/resources/nonInsurancePayers/resources/v1/client/index.js +36 -0
  130. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +28 -0
  131. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.js +5 -0
  132. package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
  133. package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.js +2 -0
  134. package/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +28 -0
  135. package/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +58 -0
  136. package/api/resources/nonInsurancePayers/resources/v1/client/update.d.ts +34 -0
  137. package/api/resources/nonInsurancePayers/resources/v1/client/update.js +69 -0
  138. package/api/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
  139. package/api/resources/nonInsurancePayers/resources/v1/index.js +18 -0
  140. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +11 -0
  141. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +5 -0
  142. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +11 -0
  143. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +5 -0
  144. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
  145. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +5 -0
  146. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
  147. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +5 -0
  148. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +8 -0
  149. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +10 -0
  150. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +7 -0
  151. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +5 -0
  152. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
  153. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +12 -0
  154. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +10 -0
  155. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +5 -0
  156. package/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +6 -0
  157. package/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +5 -0
  158. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
  159. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
  160. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  161. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  162. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  163. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  164. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  165. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  166. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
  167. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  168. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  169. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
  170. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +5 -0
  171. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +9 -0
  172. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +11 -0
  173. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +14 -0
  174. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +5 -0
  175. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  176. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  177. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -2
  178. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +121 -14
  179. package/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +28 -0
  180. package/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +58 -0
  181. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  182. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  183. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +4 -2
  184. package/api/resources/serviceFacility/client/Client.js +1 -1
  185. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  186. package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  187. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  188. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  189. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  190. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  191. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  192. package/dist/Client.d.ts +9 -0
  193. package/dist/Client.js +41 -26
  194. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  195. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  196. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  197. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  198. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  199. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +3 -1
  200. package/dist/api/resources/encounters/resources/v4/client/Client.js +7 -5
  201. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -1
  202. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  203. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  204. package/dist/api/resources/encounters/resources/v4/types/Vitals.d.ts +5 -1
  205. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  206. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  207. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  208. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  209. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  210. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  211. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  212. package/dist/api/resources/index.d.ts +3 -0
  213. package/dist/api/resources/index.js +4 -1
  214. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  215. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +26 -0
  218. package/dist/api/resources/nonInsurancePayerPayments/client/Client.js +17 -0
  219. package/dist/api/resources/nonInsurancePayerPayments/client/index.d.ts +1 -0
  220. package/dist/api/resources/nonInsurancePayerPayments/client/index.js +2 -0
  221. package/dist/api/resources/nonInsurancePayerPayments/index.d.ts +2 -0
  222. package/dist/api/resources/nonInsurancePayerPayments/index.js +18 -0
  223. package/dist/api/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
  224. package/dist/api/resources/nonInsurancePayerPayments/resources/index.js +27 -0
  225. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +98 -0
  226. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +422 -0
  227. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +34 -0
  228. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/create.js +69 -0
  229. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +34 -0
  230. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +69 -0
  231. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +28 -0
  232. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/get.js +58 -0
  233. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +28 -0
  234. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +58 -0
  235. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
  236. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
  237. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +34 -0
  238. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.js +5 -0
  239. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +23 -0
  240. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +5 -0
  241. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +2 -0
  242. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +2 -0
  243. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +34 -0
  244. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/update.js +69 -0
  245. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
  246. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
  247. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +14 -0
  248. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +5 -0
  249. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +13 -0
  250. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +5 -0
  251. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +8 -0
  252. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +10 -0
  253. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +8 -0
  254. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +10 -0
  255. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +7 -0
  256. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +5 -0
  257. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
  258. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
  259. package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +26 -0
  260. package/dist/api/resources/nonInsurancePayerRefunds/client/Client.js +17 -0
  261. package/dist/api/resources/nonInsurancePayerRefunds/client/index.d.ts +1 -0
  262. package/dist/api/resources/nonInsurancePayerRefunds/client/index.js +2 -0
  263. package/dist/api/resources/nonInsurancePayerRefunds/index.d.ts +2 -0
  264. package/dist/api/resources/nonInsurancePayerRefunds/index.js +18 -0
  265. package/dist/api/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
  266. package/dist/api/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
  267. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +109 -0
  268. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +433 -0
  269. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +34 -0
  270. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +69 -0
  271. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +34 -0
  272. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +69 -0
  273. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +28 -0
  274. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +58 -0
  275. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
  276. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +58 -0
  277. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
  278. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
  279. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +34 -0
  280. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.js +5 -0
  281. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +28 -0
  282. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +5 -0
  283. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
  284. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +2 -0
  285. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +34 -0
  286. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +69 -0
  287. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
  288. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
  289. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +14 -0
  290. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +5 -0
  291. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +13 -0
  292. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +5 -0
  293. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +8 -0
  294. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +10 -0
  295. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +8 -0
  296. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +10 -0
  297. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +7 -0
  298. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +5 -0
  299. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
  300. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
  301. package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +26 -0
  302. package/dist/api/resources/nonInsurancePayers/client/Client.js +17 -0
  303. package/dist/api/resources/nonInsurancePayers/client/index.d.ts +1 -0
  304. package/dist/api/resources/nonInsurancePayers/client/index.js +2 -0
  305. package/dist/api/resources/nonInsurancePayers/index.d.ts +2 -0
  306. package/dist/api/resources/nonInsurancePayers/index.js +18 -0
  307. package/dist/api/resources/nonInsurancePayers/resources/index.d.ts +1 -0
  308. package/dist/api/resources/nonInsurancePayers/resources/index.js +27 -0
  309. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +97 -0
  310. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +469 -0
  311. package/dist/api/resources/nonInsurancePayers/resources/v1/client/create.d.ts +34 -0
  312. package/dist/api/resources/nonInsurancePayers/resources/v1/client/create.js +69 -0
  313. package/dist/api/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +28 -0
  314. package/dist/api/resources/nonInsurancePayers/resources/v1/client/delete.js +58 -0
  315. package/dist/api/resources/nonInsurancePayers/resources/v1/client/get.d.ts +28 -0
  316. package/dist/api/resources/nonInsurancePayers/resources/v1/client/get.js +58 -0
  317. package/dist/api/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +28 -0
  318. package/dist/api/resources/nonInsurancePayers/resources/v1/client/getMulti.js +58 -0
  319. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +7 -0
  320. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +36 -0
  321. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +28 -0
  322. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.js +5 -0
  323. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
  324. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.js +2 -0
  325. package/dist/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +28 -0
  326. package/dist/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +58 -0
  327. package/dist/api/resources/nonInsurancePayers/resources/v1/client/update.d.ts +34 -0
  328. package/dist/api/resources/nonInsurancePayers/resources/v1/client/update.js +69 -0
  329. package/dist/api/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
  330. package/dist/api/resources/nonInsurancePayers/resources/v1/index.js +18 -0
  331. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +11 -0
  332. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +5 -0
  333. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +11 -0
  334. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +5 -0
  335. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
  336. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +5 -0
  337. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
  338. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +5 -0
  339. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +8 -0
  340. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +10 -0
  341. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +7 -0
  342. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +5 -0
  343. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
  344. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +12 -0
  345. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +10 -0
  346. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +5 -0
  347. package/dist/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +6 -0
  348. package/dist/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +5 -0
  349. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
  350. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
  351. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  352. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  353. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  354. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  355. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  356. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  357. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
  358. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  359. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  360. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
  361. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +5 -0
  362. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +9 -0
  363. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +11 -0
  364. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +14 -0
  365. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +5 -0
  366. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  367. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  368. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -2
  369. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +121 -14
  370. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +28 -0
  371. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +58 -0
  372. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  373. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  374. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +4 -2
  375. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  376. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  377. package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  378. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  379. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  380. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  381. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  382. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  383. package/dist/serialization/resources/encounters/resources/v4/types/Vitals.d.ts +2 -0
  384. package/dist/serialization/resources/encounters/resources/v4/types/Vitals.js +2 -0
  385. package/dist/serialization/resources/index.d.ts +3 -0
  386. package/dist/serialization/resources/index.js +4 -1
  387. package/dist/serialization/resources/nonInsurancePayerPayments/index.d.ts +1 -0
  388. package/dist/serialization/resources/nonInsurancePayerPayments/index.js +17 -0
  389. package/dist/serialization/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
  390. package/dist/serialization/resources/nonInsurancePayerPayments/resources/index.js +27 -0
  391. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +20 -0
  392. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.js +67 -0
  393. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +20 -0
  394. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +67 -0
  395. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +15 -0
  396. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.js +61 -0
  397. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +15 -0
  398. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +61 -0
  399. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
  400. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
  401. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +16 -0
  402. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +37 -0
  403. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +1 -0
  404. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +5 -0
  405. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +20 -0
  406. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.js +67 -0
  407. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
  408. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
  409. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +23 -0
  410. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +44 -0
  411. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +21 -0
  412. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +42 -0
  413. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +10 -0
  414. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +35 -0
  415. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +10 -0
  416. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +31 -0
  417. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +14 -0
  418. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +37 -0
  419. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
  420. package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
  421. package/dist/serialization/resources/nonInsurancePayerRefunds/index.d.ts +1 -0
  422. package/dist/serialization/resources/nonInsurancePayerRefunds/index.js +17 -0
  423. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
  424. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
  425. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +20 -0
  426. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +67 -0
  427. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +20 -0
  428. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +67 -0
  429. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +15 -0
  430. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +61 -0
  431. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
  432. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +61 -0
  433. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
  434. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
  435. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +18 -0
  436. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +39 -0
  437. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
  438. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +5 -0
  439. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +20 -0
  440. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +67 -0
  441. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
  442. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
  443. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +24 -0
  444. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +45 -0
  445. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +22 -0
  446. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +43 -0
  447. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +10 -0
  448. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +35 -0
  449. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +10 -0
  450. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +31 -0
  451. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +14 -0
  452. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +37 -0
  453. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
  454. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
  455. package/dist/serialization/resources/nonInsurancePayers/index.d.ts +1 -0
  456. package/dist/serialization/resources/nonInsurancePayers/index.js +17 -0
  457. package/dist/serialization/resources/nonInsurancePayers/resources/index.d.ts +1 -0
  458. package/dist/serialization/resources/nonInsurancePayers/resources/index.js +27 -0
  459. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/create.d.ts +20 -0
  460. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/create.js +67 -0
  461. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +15 -0
  462. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/delete.js +61 -0
  463. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/get.d.ts +15 -0
  464. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/get.js +61 -0
  465. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +15 -0
  466. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.js +61 -0
  467. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/index.d.ts +6 -0
  468. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/index.js +32 -0
  469. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +15 -0
  470. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +61 -0
  471. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/update.d.ts +20 -0
  472. package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/update.js +67 -0
  473. package/dist/serialization/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
  474. package/dist/serialization/resources/nonInsurancePayers/resources/v1/index.js +18 -0
  475. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +14 -0
  476. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +35 -0
  477. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +17 -0
  478. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +38 -0
  479. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
  480. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +41 -0
  481. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
  482. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +41 -0
  483. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +10 -0
  484. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +35 -0
  485. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +14 -0
  486. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +37 -0
  487. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
  488. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +31 -0
  489. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +16 -0
  490. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +37 -0
  491. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +12 -0
  492. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +33 -0
  493. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
  494. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
  495. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
  496. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -1
  497. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
  498. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +0 -1
  499. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +7 -0
  500. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +7 -0
  501. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +10 -0
  502. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +31 -0
  503. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +20 -0
  504. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +41 -0
  505. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  506. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  507. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +15 -0
  508. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +61 -0
  509. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  510. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  511. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  512. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
  513. package/package.json +1 -1
  514. package/reference.md +1133 -3
  515. package/serialization/resources/encounters/resources/v4/types/Vitals.d.ts +2 -0
  516. package/serialization/resources/encounters/resources/v4/types/Vitals.js +2 -0
  517. package/serialization/resources/index.d.ts +3 -0
  518. package/serialization/resources/index.js +4 -1
  519. package/serialization/resources/nonInsurancePayerPayments/index.d.ts +1 -0
  520. package/serialization/resources/nonInsurancePayerPayments/index.js +17 -0
  521. package/serialization/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
  522. package/serialization/resources/nonInsurancePayerPayments/resources/index.js +27 -0
  523. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +20 -0
  524. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.js +67 -0
  525. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +20 -0
  526. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +67 -0
  527. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +15 -0
  528. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.js +61 -0
  529. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +15 -0
  530. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +61 -0
  531. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
  532. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
  533. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +16 -0
  534. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +37 -0
  535. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +1 -0
  536. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +5 -0
  537. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +20 -0
  538. package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.js +67 -0
  539. package/serialization/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
  540. package/serialization/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
  541. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +23 -0
  542. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +44 -0
  543. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +21 -0
  544. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +42 -0
  545. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +10 -0
  546. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +35 -0
  547. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +10 -0
  548. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +31 -0
  549. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +14 -0
  550. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +37 -0
  551. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
  552. package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
  553. package/serialization/resources/nonInsurancePayerRefunds/index.d.ts +1 -0
  554. package/serialization/resources/nonInsurancePayerRefunds/index.js +17 -0
  555. package/serialization/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
  556. package/serialization/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
  557. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +20 -0
  558. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +67 -0
  559. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +20 -0
  560. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +67 -0
  561. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +15 -0
  562. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +61 -0
  563. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
  564. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +61 -0
  565. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
  566. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
  567. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +18 -0
  568. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +39 -0
  569. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
  570. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +5 -0
  571. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +20 -0
  572. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +67 -0
  573. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
  574. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
  575. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +24 -0
  576. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +45 -0
  577. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +22 -0
  578. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +43 -0
  579. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +10 -0
  580. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +35 -0
  581. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +10 -0
  582. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +31 -0
  583. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +14 -0
  584. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +37 -0
  585. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
  586. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
  587. package/serialization/resources/nonInsurancePayers/index.d.ts +1 -0
  588. package/serialization/resources/nonInsurancePayers/index.js +17 -0
  589. package/serialization/resources/nonInsurancePayers/resources/index.d.ts +1 -0
  590. package/serialization/resources/nonInsurancePayers/resources/index.js +27 -0
  591. package/serialization/resources/nonInsurancePayers/resources/v1/client/create.d.ts +20 -0
  592. package/serialization/resources/nonInsurancePayers/resources/v1/client/create.js +67 -0
  593. package/serialization/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +15 -0
  594. package/serialization/resources/nonInsurancePayers/resources/v1/client/delete.js +61 -0
  595. package/serialization/resources/nonInsurancePayers/resources/v1/client/get.d.ts +15 -0
  596. package/serialization/resources/nonInsurancePayers/resources/v1/client/get.js +61 -0
  597. package/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +15 -0
  598. package/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.js +61 -0
  599. package/serialization/resources/nonInsurancePayers/resources/v1/client/index.d.ts +6 -0
  600. package/serialization/resources/nonInsurancePayers/resources/v1/client/index.js +32 -0
  601. package/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +15 -0
  602. package/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +61 -0
  603. package/serialization/resources/nonInsurancePayers/resources/v1/client/update.d.ts +20 -0
  604. package/serialization/resources/nonInsurancePayers/resources/v1/client/update.js +67 -0
  605. package/serialization/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
  606. package/serialization/resources/nonInsurancePayers/resources/v1/index.js +18 -0
  607. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +14 -0
  608. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +35 -0
  609. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +17 -0
  610. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +38 -0
  611. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
  612. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +41 -0
  613. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
  614. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +41 -0
  615. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +10 -0
  616. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +35 -0
  617. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +14 -0
  618. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +37 -0
  619. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
  620. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +31 -0
  621. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +16 -0
  622. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +37 -0
  623. package/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +12 -0
  624. package/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +33 -0
  625. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
  626. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
  627. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
  628. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -1
  629. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
  630. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +0 -1
  631. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +7 -0
  632. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +7 -0
  633. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +10 -0
  634. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +31 -0
  635. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +20 -0
  636. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +41 -0
  637. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  638. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  639. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +15 -0
  640. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +61 -0
  641. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  642. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  643. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  644. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v1 = void 0;
27
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,20 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.create.Error.Raw, CandidApi.nonInsurancePayers.v1.create.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.EntityConflictError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface EntityConflictError {
17
+ errorName: "EntityConflictError";
18
+ content: EntityConflictErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ EntityNotFoundError: core.serialization.object({
48
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
49
+ }),
50
+ EntityConflictError: core.serialization.object({
51
+ content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "EntityNotFoundError":
58
+ return CandidApi.nonInsurancePayers.v1.create.Error.entityNotFoundError(value.content);
59
+ case "EntityConflictError":
60
+ return CandidApi.nonInsurancePayers.v1.create.Error.entityConflictError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,15 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.delete.Error.Raw, CandidApi.nonInsurancePayers.v1.delete.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.EntityNotFoundError;
11
+ interface EntityNotFoundError {
12
+ errorName: "EntityNotFoundError";
13
+ content: EntityNotFoundErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ EntityNotFoundError: core.serialization.object({
47
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "EntityNotFoundError":
54
+ return CandidApi.nonInsurancePayers.v1.delete.Error.entityNotFoundError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,15 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.get.Error.Raw, CandidApi.nonInsurancePayers.v1.get.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.EntityNotFoundError;
11
+ interface EntityNotFoundError {
12
+ errorName: "EntityNotFoundError";
13
+ content: EntityNotFoundErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ EntityNotFoundError: core.serialization.object({
47
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "EntityNotFoundError":
54
+ return CandidApi.nonInsurancePayers.v1.get.Error.entityNotFoundError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,15 @@
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 { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.getMulti.Error.Raw, CandidApi.nonInsurancePayers.v1.getMulti.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.UnprocessableEntityError;
11
+ interface UnprocessableEntityError {
12
+ errorName: "UnprocessableEntityError";
13
+ content: UnprocessableEntityErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ UnprocessableEntityError: core.serialization.object({
47
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "UnprocessableEntityError":
54
+ return CandidApi.nonInsurancePayers.v1.getMulti.Error.unprocessableEntityError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,6 @@
1
+ export * as create from "./create";
2
+ export * as toggleEnablement from "./toggleEnablement";
3
+ export * as getMulti from "./getMulti";
4
+ export * as get from "./get";
5
+ export * as update from "./update";
6
+ export * as delete from "./delete";
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.delete = exports.update = exports.get = exports.getMulti = exports.toggleEnablement = exports.create = void 0;
27
+ exports.create = __importStar(require("./create"));
28
+ exports.toggleEnablement = __importStar(require("./toggleEnablement"));
29
+ exports.getMulti = __importStar(require("./getMulti"));
30
+ exports.get = __importStar(require("./get"));
31
+ exports.update = __importStar(require("./update"));
32
+ exports.delete = __importStar(require("./delete"));
@@ -0,0 +1,15 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.toggleEnablement.Error.Raw, CandidApi.nonInsurancePayers.v1.toggleEnablement.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.EntityNotFoundError;
11
+ interface EntityNotFoundError {
12
+ errorName: "EntityNotFoundError";
13
+ content: EntityNotFoundErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ EntityNotFoundError: core.serialization.object({
47
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "EntityNotFoundError":
54
+ return CandidApi.nonInsurancePayers.v1.toggleEnablement.Error.entityNotFoundError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,20 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.nonInsurancePayers.v1.update.Error.Raw, CandidApi.nonInsurancePayers.v1.update.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.EntityConflictError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface EntityConflictError {
17
+ errorName: "EntityConflictError";
18
+ content: EntityConflictErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ EntityNotFoundError: core.serialization.object({
48
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
49
+ }),
50
+ EntityConflictError: core.serialization.object({
51
+ content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "EntityNotFoundError":
58
+ return CandidApi.nonInsurancePayers.v1.update.Error.entityNotFoundError(value.content);
59
+ case "EntityConflictError":
60
+ return CandidApi.nonInsurancePayers.v1.update.Error.entityConflictError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,14 @@
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
+ export declare const CreateNonInsurancePayerRequest: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.Raw, CandidApi.nonInsurancePayers.v1.CreateNonInsurancePayerRequest>;
8
+ export declare namespace CreateNonInsurancePayerRequest {
9
+ interface Raw {
10
+ name: string;
11
+ description?: string | null;
12
+ category?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.CreateNonInsurancePayerRequest = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.CreateNonInsurancePayerRequest = core.serialization.object({
32
+ name: core.serialization.string(),
33
+ description: core.serialization.string().optional(),
34
+ category: core.serialization.string().optional(),
35
+ });
@@ -0,0 +1,17 @@
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 { NonInsurancePayerId } from "./NonInsurancePayerId";
8
+ export declare const NonInsurancePayer: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.NonInsurancePayer.Raw, CandidApi.nonInsurancePayers.v1.NonInsurancePayer>;
9
+ export declare namespace NonInsurancePayer {
10
+ interface Raw {
11
+ non_insurance_payer_id: NonInsurancePayerId.Raw;
12
+ name: string;
13
+ description?: string | null;
14
+ category?: string | null;
15
+ enabled: boolean;
16
+ }
17
+ }