candidhealth 0.6.4 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (845) hide show
  1. package/Client.d.ts +15 -0
  2. package/Client.js +29 -4
  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/claimSubmission/index.d.ts +1 -0
  6. package/api/resources/claimSubmission/index.js +17 -0
  7. package/api/resources/claimSubmission/resources/index.d.ts +1 -0
  8. package/api/resources/claimSubmission/resources/index.js +27 -0
  9. package/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  10. package/api/resources/claimSubmission/resources/v1/index.js +17 -0
  11. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  12. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
  13. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
  14. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
  15. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
  16. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
  17. package/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  18. package/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
  19. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
  20. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
  21. package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
  22. package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
  23. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  24. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  25. package/api/resources/commons/types/ProviderId.d.ts +8 -0
  26. package/api/resources/commons/types/ProviderId.js +10 -0
  27. package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
  28. package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -0
  29. package/api/resources/commons/types/index.d.ts +5 -0
  30. package/api/resources/commons/types/index.js +5 -0
  31. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  32. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  35. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  36. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
  37. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
  38. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
  39. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
  40. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  41. package/api/resources/financials/index.d.ts +1 -0
  42. package/api/resources/financials/index.js +17 -0
  43. package/api/resources/financials/types/Allocation.d.ts +8 -0
  44. package/api/resources/financials/types/Allocation.js +5 -0
  45. package/api/resources/financials/types/AllocationCreate.d.ts +8 -0
  46. package/api/resources/financials/types/AllocationCreate.js +5 -0
  47. package/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
  48. package/api/resources/financials/types/AllocationRecipient.js +5 -0
  49. package/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
  50. package/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
  51. package/api/resources/financials/types/RefundAllocation.d.ts +8 -0
  52. package/api/resources/financials/types/RefundAllocation.js +5 -0
  53. package/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
  54. package/api/resources/financials/types/RefundAllocationCreate.js +5 -0
  55. package/api/resources/financials/types/RefundReason.d.ts +7 -0
  56. package/api/resources/financials/types/RefundReason.js +9 -0
  57. package/api/resources/financials/types/index.d.ts +7 -0
  58. package/api/resources/financials/types/index.js +23 -0
  59. package/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
  60. package/api/resources/guarantor/resources/v1/client/Client.js +18 -3
  61. package/api/resources/index.d.ts +8 -0
  62. package/api/resources/index.js +9 -1
  63. package/api/resources/individual/types/Subscriber.d.ts +1 -1
  64. package/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
  65. package/api/resources/insuranceAdjudication/client/Client.js +18 -0
  66. package/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
  67. package/api/resources/insuranceAdjudication/client/index.js +2 -0
  68. package/api/resources/insuranceAdjudication/index.d.ts +2 -0
  69. package/api/resources/insuranceAdjudication/index.js +18 -0
  70. package/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  71. package/api/resources/insuranceAdjudication/resources/index.js +27 -0
  72. package/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +35 -0
  73. package/api/resources/insuranceAdjudication/resources/v1/client/Client.js +151 -0
  74. package/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
  75. package/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
  76. package/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
  77. package/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
  78. package/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
  79. package/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
  80. package/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
  81. package/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
  82. package/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
  83. package/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
  84. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  85. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
  86. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
  87. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  88. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
  89. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  90. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
  91. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
  92. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
  93. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  94. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
  95. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
  96. package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
  97. package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  98. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
  99. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
  100. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
  101. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  102. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
  103. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
  104. package/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  105. package/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  106. package/api/resources/insuranceCard/types/InsuranceCard.d.ts +1 -1
  107. package/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
  108. package/api/resources/insuranceRefunds/client/Client.js +18 -0
  109. package/api/resources/insuranceRefunds/client/index.d.ts +1 -0
  110. package/api/resources/insuranceRefunds/client/index.js +2 -0
  111. package/api/resources/insuranceRefunds/index.d.ts +2 -0
  112. package/api/resources/insuranceRefunds/index.js +18 -0
  113. package/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
  114. package/api/resources/insuranceRefunds/resources/index.js +27 -0
  115. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +40 -0
  116. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +156 -0
  117. package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  118. package/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
  119. package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  120. package/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
  121. package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
  122. package/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
  123. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
  124. package/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
  125. package/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
  126. package/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
  127. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
  128. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
  129. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
  130. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
  131. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
  132. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
  133. package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  134. package/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  135. package/api/resources/invoices/types/index.d.ts +0 -1
  136. package/api/resources/invoices/types/index.js +0 -1
  137. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
  138. package/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
  139. package/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
  140. package/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
  141. package/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
  142. package/api/resources/patientPayments/client/Client.d.ts +18 -0
  143. package/api/resources/patientPayments/client/Client.js +18 -0
  144. package/api/resources/patientPayments/client/index.d.ts +1 -0
  145. package/api/resources/patientPayments/client/index.js +2 -0
  146. package/api/resources/patientPayments/index.d.ts +1 -0
  147. package/api/resources/patientPayments/index.js +1 -0
  148. package/api/resources/patientPayments/resources/index.d.ts +1 -0
  149. package/api/resources/patientPayments/resources/index.js +2 -1
  150. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +37 -0
  151. package/api/resources/patientPayments/resources/v4/client/Client.js +153 -0
  152. package/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  153. package/api/resources/patientPayments/resources/v4/client/create.js +47 -0
  154. package/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  155. package/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
  156. package/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
  157. package/api/resources/patientPayments/resources/v4/client/get.js +47 -0
  158. package/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
  159. package/api/resources/patientPayments/resources/v4/client/index.js +33 -0
  160. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
  161. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
  162. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  163. package/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
  164. package/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
  165. package/api/resources/patientPayments/resources/v4/index.js +18 -0
  166. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
  167. package/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
  168. package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
  169. package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
  170. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  171. package/api/resources/patientPayments/resources/v4/types/index.js +18 -0
  172. package/api/resources/patientRefunds/client/Client.d.ts +18 -0
  173. package/api/resources/patientRefunds/client/Client.js +18 -0
  174. package/api/resources/patientRefunds/client/index.d.ts +1 -0
  175. package/api/resources/patientRefunds/client/index.js +2 -0
  176. package/api/resources/patientRefunds/index.d.ts +2 -0
  177. package/api/resources/patientRefunds/index.js +18 -0
  178. package/api/resources/patientRefunds/resources/index.d.ts +1 -0
  179. package/api/resources/patientRefunds/resources/index.js +27 -0
  180. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +37 -0
  181. package/api/resources/patientRefunds/resources/v1/client/Client.js +153 -0
  182. package/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  183. package/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
  184. package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  185. package/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
  186. package/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
  187. package/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
  188. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
  189. package/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
  190. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
  191. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
  192. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  193. package/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
  194. package/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  195. package/api/resources/patientRefunds/resources/v1/index.js +18 -0
  196. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
  197. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
  198. package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
  199. package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
  200. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  201. package/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
  202. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  203. package/api/resources/writeOffs/client/Client.d.ts +18 -0
  204. package/api/resources/writeOffs/client/Client.js +18 -0
  205. package/api/resources/writeOffs/client/index.d.ts +1 -0
  206. package/api/resources/writeOffs/client/index.js +2 -0
  207. package/api/resources/writeOffs/index.d.ts +2 -0
  208. package/api/resources/writeOffs/index.js +18 -0
  209. package/api/resources/writeOffs/resources/index.d.ts +1 -0
  210. package/api/resources/writeOffs/resources/index.js +27 -0
  211. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +37 -0
  212. package/api/resources/writeOffs/resources/v1/client/Client.js +158 -0
  213. package/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
  214. package/api/resources/writeOffs/resources/v1/client/create.js +47 -0
  215. package/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
  216. package/api/resources/writeOffs/resources/v1/client/get.js +47 -0
  217. package/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
  218. package/api/resources/writeOffs/resources/v1/client/index.js +33 -0
  219. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
  220. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
  221. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  222. package/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
  223. package/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
  224. package/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
  225. package/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
  226. package/api/resources/writeOffs/resources/v1/index.js +18 -0
  227. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
  228. package/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
  229. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
  230. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
  231. package/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
  232. package/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
  233. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  234. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
  235. package/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  236. package/api/resources/writeOffs/resources/v1/types/index.js +20 -0
  237. package/api/resources/x12/index.d.ts +1 -0
  238. package/api/resources/x12/index.js +17 -0
  239. package/api/resources/x12/resources/index.d.ts +1 -0
  240. package/api/resources/x12/resources/index.js +27 -0
  241. package/api/resources/x12/resources/v1/index.d.ts +1 -0
  242. package/api/resources/x12/resources/v1/index.js +17 -0
  243. package/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
  244. package/api/resources/x12/resources/v1/types/Carc.js +274 -0
  245. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
  246. package/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
  247. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  248. package/api/resources/x12/resources/v1/types/index.js +18 -0
  249. package/dist/Client.d.ts +15 -0
  250. package/dist/Client.js +29 -4
  251. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  252. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  253. package/dist/api/resources/claimSubmission/index.d.ts +1 -0
  254. package/dist/api/resources/claimSubmission/index.js +17 -0
  255. package/dist/api/resources/claimSubmission/resources/index.d.ts +1 -0
  256. package/dist/api/resources/claimSubmission/resources/index.js +27 -0
  257. package/dist/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  258. package/dist/api/resources/claimSubmission/resources/v1/index.js +17 -0
  259. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  260. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
  261. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
  262. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
  263. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
  264. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
  265. package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  266. package/dist/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
  267. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
  268. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
  269. package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
  270. package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
  271. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  272. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  273. package/dist/api/resources/commons/types/ProviderId.d.ts +8 -0
  274. package/dist/api/resources/commons/types/ProviderId.js +10 -0
  275. package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
  276. package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -0
  277. package/dist/api/resources/commons/types/index.d.ts +5 -0
  278. package/dist/api/resources/commons/types/index.js +5 -0
  279. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  280. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  281. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
  282. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  283. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  284. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
  285. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
  286. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
  287. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
  288. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  289. package/dist/api/resources/financials/index.d.ts +1 -0
  290. package/dist/api/resources/financials/index.js +17 -0
  291. package/dist/api/resources/financials/types/Allocation.d.ts +8 -0
  292. package/dist/api/resources/financials/types/Allocation.js +5 -0
  293. package/dist/api/resources/financials/types/AllocationCreate.d.ts +8 -0
  294. package/dist/api/resources/financials/types/AllocationCreate.js +5 -0
  295. package/dist/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
  296. package/dist/api/resources/financials/types/AllocationRecipient.js +5 -0
  297. package/dist/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
  298. package/dist/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
  299. package/dist/api/resources/financials/types/RefundAllocation.d.ts +8 -0
  300. package/dist/api/resources/financials/types/RefundAllocation.js +5 -0
  301. package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
  302. package/dist/api/resources/financials/types/RefundAllocationCreate.js +5 -0
  303. package/dist/api/resources/financials/types/RefundReason.d.ts +7 -0
  304. package/dist/api/resources/financials/types/RefundReason.js +9 -0
  305. package/dist/api/resources/financials/types/index.d.ts +7 -0
  306. package/dist/api/resources/financials/types/index.js +23 -0
  307. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
  308. package/dist/api/resources/guarantor/resources/v1/client/Client.js +18 -3
  309. package/dist/api/resources/index.d.ts +8 -0
  310. package/dist/api/resources/index.js +9 -1
  311. package/dist/api/resources/individual/types/Subscriber.d.ts +1 -1
  312. package/dist/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
  313. package/dist/api/resources/insuranceAdjudication/client/Client.js +18 -0
  314. package/dist/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
  315. package/dist/api/resources/insuranceAdjudication/client/index.js +2 -0
  316. package/dist/api/resources/insuranceAdjudication/index.d.ts +2 -0
  317. package/dist/api/resources/insuranceAdjudication/index.js +18 -0
  318. package/dist/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  319. package/dist/api/resources/insuranceAdjudication/resources/index.js +27 -0
  320. package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +35 -0
  321. package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.js +151 -0
  322. package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
  323. package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
  324. package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
  325. package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
  326. package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
  327. package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
  328. package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
  329. package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
  330. package/dist/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
  331. package/dist/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
  332. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  333. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
  334. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
  335. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  336. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
  337. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  338. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
  339. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
  340. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
  341. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  342. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
  343. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
  344. package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
  345. package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  346. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
  347. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
  348. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
  349. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  350. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
  351. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
  352. package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  353. package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  354. package/dist/api/resources/insuranceCard/types/InsuranceCard.d.ts +1 -1
  355. package/dist/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
  356. package/dist/api/resources/insuranceRefunds/client/Client.js +18 -0
  357. package/dist/api/resources/insuranceRefunds/client/index.d.ts +1 -0
  358. package/dist/api/resources/insuranceRefunds/client/index.js +2 -0
  359. package/dist/api/resources/insuranceRefunds/index.d.ts +2 -0
  360. package/dist/api/resources/insuranceRefunds/index.js +18 -0
  361. package/dist/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
  362. package/dist/api/resources/insuranceRefunds/resources/index.js +27 -0
  363. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +40 -0
  364. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +156 -0
  365. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  366. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
  367. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  368. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
  369. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
  370. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
  371. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
  372. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
  373. package/dist/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
  374. package/dist/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
  375. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
  376. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
  377. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
  378. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
  379. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
  380. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
  381. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  382. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  383. package/dist/api/resources/invoices/types/index.d.ts +0 -1
  384. package/dist/api/resources/invoices/types/index.js +0 -1
  385. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
  386. package/dist/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
  387. package/dist/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
  388. package/dist/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
  389. package/dist/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
  390. package/dist/api/resources/patientPayments/client/Client.d.ts +18 -0
  391. package/dist/api/resources/patientPayments/client/Client.js +18 -0
  392. package/dist/api/resources/patientPayments/client/index.d.ts +1 -0
  393. package/dist/api/resources/patientPayments/client/index.js +2 -0
  394. package/dist/api/resources/patientPayments/index.d.ts +1 -0
  395. package/dist/api/resources/patientPayments/index.js +1 -0
  396. package/dist/api/resources/patientPayments/resources/index.d.ts +1 -0
  397. package/dist/api/resources/patientPayments/resources/index.js +2 -1
  398. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +37 -0
  399. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +153 -0
  400. package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  401. package/dist/api/resources/patientPayments/resources/v4/client/create.js +47 -0
  402. package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  403. package/dist/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
  404. package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
  405. package/dist/api/resources/patientPayments/resources/v4/client/get.js +47 -0
  406. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
  407. package/dist/api/resources/patientPayments/resources/v4/client/index.js +33 -0
  408. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
  409. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
  410. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  411. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
  412. package/dist/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
  413. package/dist/api/resources/patientPayments/resources/v4/index.js +18 -0
  414. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
  415. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
  416. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
  417. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
  418. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  419. package/dist/api/resources/patientPayments/resources/v4/types/index.js +18 -0
  420. package/dist/api/resources/patientRefunds/client/Client.d.ts +18 -0
  421. package/dist/api/resources/patientRefunds/client/Client.js +18 -0
  422. package/dist/api/resources/patientRefunds/client/index.d.ts +1 -0
  423. package/dist/api/resources/patientRefunds/client/index.js +2 -0
  424. package/dist/api/resources/patientRefunds/index.d.ts +2 -0
  425. package/dist/api/resources/patientRefunds/index.js +18 -0
  426. package/dist/api/resources/patientRefunds/resources/index.d.ts +1 -0
  427. package/dist/api/resources/patientRefunds/resources/index.js +27 -0
  428. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +37 -0
  429. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +153 -0
  430. package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  431. package/dist/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
  432. package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  433. package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
  434. package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
  435. package/dist/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
  436. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
  437. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
  438. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
  439. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
  440. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  441. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
  442. package/dist/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  443. package/dist/api/resources/patientRefunds/resources/v1/index.js +18 -0
  444. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
  445. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
  446. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
  447. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
  448. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  449. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
  450. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  451. package/dist/api/resources/writeOffs/client/Client.d.ts +18 -0
  452. package/dist/api/resources/writeOffs/client/Client.js +18 -0
  453. package/dist/api/resources/writeOffs/client/index.d.ts +1 -0
  454. package/dist/api/resources/writeOffs/client/index.js +2 -0
  455. package/dist/api/resources/writeOffs/index.d.ts +2 -0
  456. package/dist/api/resources/writeOffs/index.js +18 -0
  457. package/dist/api/resources/writeOffs/resources/index.d.ts +1 -0
  458. package/dist/api/resources/writeOffs/resources/index.js +27 -0
  459. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +37 -0
  460. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +158 -0
  461. package/dist/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
  462. package/dist/api/resources/writeOffs/resources/v1/client/create.js +47 -0
  463. package/dist/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
  464. package/dist/api/resources/writeOffs/resources/v1/client/get.js +47 -0
  465. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
  466. package/dist/api/resources/writeOffs/resources/v1/client/index.js +33 -0
  467. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
  468. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
  469. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  470. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
  471. package/dist/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
  472. package/dist/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
  473. package/dist/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
  474. package/dist/api/resources/writeOffs/resources/v1/index.js +18 -0
  475. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
  476. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
  477. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
  478. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
  479. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
  480. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
  481. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  482. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
  483. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  484. package/dist/api/resources/writeOffs/resources/v1/types/index.js +20 -0
  485. package/dist/api/resources/x12/index.d.ts +1 -0
  486. package/dist/api/resources/x12/index.js +17 -0
  487. package/dist/api/resources/x12/resources/index.d.ts +1 -0
  488. package/dist/api/resources/x12/resources/index.js +27 -0
  489. package/dist/api/resources/x12/resources/v1/index.d.ts +1 -0
  490. package/dist/api/resources/x12/resources/v1/index.js +17 -0
  491. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
  492. package/dist/api/resources/x12/resources/v1/types/Carc.js +274 -0
  493. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
  494. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
  495. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  496. package/dist/api/resources/x12/resources/v1/types/index.js +18 -0
  497. package/dist/serialization/resources/claimSubmission/index.d.ts +1 -0
  498. package/dist/serialization/resources/claimSubmission/index.js +17 -0
  499. package/dist/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
  500. package/dist/serialization/resources/claimSubmission/resources/index.js +27 -0
  501. package/dist/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  502. package/dist/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
  503. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  504. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
  505. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
  506. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
  507. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
  508. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
  509. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  510. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
  511. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
  512. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
  513. package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
  514. package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
  515. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  516. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  517. package/dist/serialization/resources/commons/types/ProviderId.d.ts +10 -0
  518. package/dist/serialization/resources/commons/types/ProviderId.js +35 -0
  519. package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
  520. package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -0
  521. package/dist/serialization/resources/commons/types/index.d.ts +5 -0
  522. package/dist/serialization/resources/commons/types/index.js +5 -0
  523. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  524. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
  525. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  526. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  527. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  528. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  529. package/dist/serialization/resources/financials/index.d.ts +1 -0
  530. package/dist/serialization/resources/financials/index.js +17 -0
  531. package/dist/serialization/resources/financials/types/Allocation.d.ts +13 -0
  532. package/dist/serialization/resources/financials/types/Allocation.js +34 -0
  533. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
  534. package/dist/serialization/resources/financials/types/AllocationCreate.js +34 -0
  535. package/dist/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
  536. package/dist/serialization/resources/financials/types/AllocationRecipient.js +46 -0
  537. package/dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
  538. package/dist/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
  539. package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
  540. package/dist/serialization/resources/financials/types/RefundAllocation.js +34 -0
  541. package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
  542. package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
  543. package/dist/serialization/resources/financials/types/RefundReason.d.ts +10 -0
  544. package/dist/serialization/resources/financials/types/RefundReason.js +31 -0
  545. package/dist/serialization/resources/financials/types/index.d.ts +7 -0
  546. package/dist/serialization/resources/financials/types/index.js +23 -0
  547. package/dist/serialization/resources/index.d.ts +8 -0
  548. package/dist/serialization/resources/index.js +9 -1
  549. package/dist/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
  550. package/dist/serialization/resources/insuranceAdjudication/index.js +17 -0
  551. package/dist/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  552. package/dist/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
  553. package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
  554. package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
  555. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
  556. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
  557. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
  558. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
  559. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
  560. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
  561. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  562. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
  563. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
  564. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
  565. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
  566. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
  567. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
  568. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
  569. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
  570. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
  571. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
  572. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
  573. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
  574. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
  575. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  576. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  577. package/dist/serialization/resources/insuranceRefunds/index.d.ts +1 -0
  578. package/dist/serialization/resources/insuranceRefunds/index.js +17 -0
  579. package/dist/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
  580. package/dist/serialization/resources/insuranceRefunds/resources/index.js +27 -0
  581. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  582. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
  583. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
  584. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
  585. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
  586. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
  587. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
  588. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
  589. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  590. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  591. package/dist/serialization/resources/invoices/types/index.d.ts +0 -1
  592. package/dist/serialization/resources/invoices/types/index.js +0 -1
  593. package/dist/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
  594. package/dist/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
  595. package/dist/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
  596. package/dist/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
  597. package/dist/serialization/resources/patientPayments/resources/index.d.ts +1 -0
  598. package/dist/serialization/resources/patientPayments/resources/index.js +2 -1
  599. package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  600. package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
  601. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
  602. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
  603. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  604. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
  605. package/dist/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
  606. package/dist/serialization/resources/patientPayments/resources/v4/index.js +18 -0
  607. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
  608. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
  609. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
  610. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
  611. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  612. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
  613. package/dist/serialization/resources/patientRefunds/index.d.ts +1 -0
  614. package/dist/serialization/resources/patientRefunds/index.js +17 -0
  615. package/dist/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
  616. package/dist/serialization/resources/patientRefunds/resources/index.js +27 -0
  617. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  618. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
  619. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
  620. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
  621. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  622. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
  623. package/dist/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  624. package/dist/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
  625. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
  626. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
  627. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
  628. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
  629. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  630. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
  631. package/dist/serialization/resources/writeOffs/index.d.ts +1 -0
  632. package/dist/serialization/resources/writeOffs/index.js +17 -0
  633. package/dist/serialization/resources/writeOffs/resources/index.d.ts +1 -0
  634. package/dist/serialization/resources/writeOffs/resources/index.js +27 -0
  635. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
  636. package/dist/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
  637. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  638. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
  639. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
  640. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
  641. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  642. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
  643. package/dist/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
  644. package/dist/serialization/resources/writeOffs/resources/v1/index.js +18 -0
  645. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
  646. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
  647. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
  648. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
  649. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
  650. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
  651. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  652. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
  653. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  654. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
  655. package/dist/serialization/resources/x12/index.d.ts +1 -0
  656. package/dist/serialization/resources/x12/index.js +17 -0
  657. package/dist/serialization/resources/x12/resources/index.d.ts +1 -0
  658. package/dist/serialization/resources/x12/resources/index.js +27 -0
  659. package/dist/serialization/resources/x12/resources/v1/index.d.ts +1 -0
  660. package/dist/serialization/resources/x12/resources/v1/index.js +17 -0
  661. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
  662. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
  663. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
  664. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
  665. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  666. package/dist/serialization/resources/x12/resources/v1/types/index.js +18 -0
  667. package/package.json +1 -1
  668. package/serialization/resources/claimSubmission/index.d.ts +1 -0
  669. package/serialization/resources/claimSubmission/index.js +17 -0
  670. package/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
  671. package/serialization/resources/claimSubmission/resources/index.js +27 -0
  672. package/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  673. package/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
  674. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  675. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
  676. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
  677. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
  678. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
  679. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
  680. package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  681. package/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
  682. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
  683. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
  684. package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
  685. package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
  686. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  687. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  688. package/serialization/resources/commons/types/ProviderId.d.ts +10 -0
  689. package/serialization/resources/commons/types/ProviderId.js +35 -0
  690. package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
  691. package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -0
  692. package/serialization/resources/commons/types/index.d.ts +5 -0
  693. package/serialization/resources/commons/types/index.js +5 -0
  694. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  695. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
  696. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  697. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  698. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  699. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  700. package/serialization/resources/financials/index.d.ts +1 -0
  701. package/serialization/resources/financials/index.js +17 -0
  702. package/serialization/resources/financials/types/Allocation.d.ts +13 -0
  703. package/serialization/resources/financials/types/Allocation.js +34 -0
  704. package/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
  705. package/serialization/resources/financials/types/AllocationCreate.js +34 -0
  706. package/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
  707. package/serialization/resources/financials/types/AllocationRecipient.js +46 -0
  708. package/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
  709. package/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
  710. package/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
  711. package/serialization/resources/financials/types/RefundAllocation.js +34 -0
  712. package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
  713. package/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
  714. package/serialization/resources/financials/types/RefundReason.d.ts +10 -0
  715. package/serialization/resources/financials/types/RefundReason.js +31 -0
  716. package/serialization/resources/financials/types/index.d.ts +7 -0
  717. package/serialization/resources/financials/types/index.js +23 -0
  718. package/serialization/resources/index.d.ts +8 -0
  719. package/serialization/resources/index.js +9 -1
  720. package/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
  721. package/serialization/resources/insuranceAdjudication/index.js +17 -0
  722. package/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  723. package/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
  724. package/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
  725. package/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
  726. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
  727. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
  728. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
  729. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
  730. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
  731. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
  732. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  733. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
  734. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
  735. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
  736. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
  737. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
  738. package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
  739. package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
  740. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
  741. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
  742. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
  743. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
  744. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
  745. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
  746. package/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  747. package/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  748. package/serialization/resources/insuranceRefunds/index.d.ts +1 -0
  749. package/serialization/resources/insuranceRefunds/index.js +17 -0
  750. package/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
  751. package/serialization/resources/insuranceRefunds/resources/index.js +27 -0
  752. package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  753. package/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
  754. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
  755. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
  756. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
  757. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
  758. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
  759. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
  760. package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  761. package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  762. package/serialization/resources/invoices/types/index.d.ts +0 -1
  763. package/serialization/resources/invoices/types/index.js +0 -1
  764. package/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
  765. package/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
  766. package/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
  767. package/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
  768. package/serialization/resources/patientPayments/resources/index.d.ts +1 -0
  769. package/serialization/resources/patientPayments/resources/index.js +2 -1
  770. package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  771. package/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
  772. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
  773. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
  774. package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  775. package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
  776. package/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
  777. package/serialization/resources/patientPayments/resources/v4/index.js +18 -0
  778. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
  779. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
  780. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
  781. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
  782. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  783. package/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
  784. package/serialization/resources/patientRefunds/index.d.ts +1 -0
  785. package/serialization/resources/patientRefunds/index.js +17 -0
  786. package/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
  787. package/serialization/resources/patientRefunds/resources/index.js +27 -0
  788. package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  789. package/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
  790. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
  791. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
  792. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  793. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
  794. package/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  795. package/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
  796. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
  797. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
  798. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
  799. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
  800. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  801. package/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
  802. package/serialization/resources/writeOffs/index.d.ts +1 -0
  803. package/serialization/resources/writeOffs/index.js +17 -0
  804. package/serialization/resources/writeOffs/resources/index.d.ts +1 -0
  805. package/serialization/resources/writeOffs/resources/index.js +27 -0
  806. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
  807. package/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
  808. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  809. package/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
  810. package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
  811. package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
  812. package/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  813. package/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
  814. package/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
  815. package/serialization/resources/writeOffs/resources/v1/index.js +18 -0
  816. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
  817. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
  818. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
  819. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
  820. package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
  821. package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
  822. package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  823. package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
  824. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  825. package/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
  826. package/serialization/resources/x12/index.d.ts +1 -0
  827. package/serialization/resources/x12/index.js +17 -0
  828. package/serialization/resources/x12/resources/index.d.ts +1 -0
  829. package/serialization/resources/x12/resources/index.js +27 -0
  830. package/serialization/resources/x12/resources/v1/index.d.ts +1 -0
  831. package/serialization/resources/x12/resources/v1/index.js +17 -0
  832. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
  833. package/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
  834. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
  835. package/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
  836. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  837. package/serialization/resources/x12/resources/v1/types/index.js +18 -0
  838. /package/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  839. /package/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  840. /package/dist/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  841. /package/dist/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  842. /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  843. /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  844. /package/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  845. /package/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
@@ -0,0 +1,37 @@
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.InsuranceRefund = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceRefund = core.serialization.object({
32
+ insuranceRefundId: core.serialization.property("insurance_refund_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceRefunds.v1.InsuranceRefundId)),
33
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
34
+ refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
35
+ refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
36
+ refundAllocations: core.serialization.property("refund_allocations", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RefundAllocation))),
37
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const InsuranceRefundCreate: core.serialization.ObjectSchema<serializers.insuranceRefunds.v1.InsuranceRefundCreate.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundCreate>;
8
+ export declare namespace InsuranceRefundCreate {
9
+ interface Raw {
10
+ amount_cents: number;
11
+ refund_timestamp?: string | null;
12
+ refund_note?: string | null;
13
+ refund_allocations: serializers.RefundAllocationCreate.Raw[];
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.InsuranceRefundCreate = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceRefundCreate = core.serialization.object({
32
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
33
+ refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
34
+ refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
35
+ refundAllocations: core.serialization.property("refund_allocations", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RefundAllocationCreate))),
36
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const InsuranceRefundId: core.serialization.Schema<serializers.insuranceRefunds.v1.InsuranceRefundId.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundId>;
8
+ export declare namespace InsuranceRefundId {
9
+ type Raw = string;
10
+ }
@@ -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.InsuranceRefundId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.InsuranceRefundId = core.serialization.string().transform({
33
+ transform: CandidApi.insuranceRefunds.v1.InsuranceRefundId,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1,3 @@
1
+ export * from "./InsuranceRefundId";
2
+ export * from "./InsuranceRefund";
3
+ export * from "./InsuranceRefundCreate";
@@ -0,0 +1,19 @@
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("./InsuranceRefundId"), exports);
18
+ __exportStar(require("./InsuranceRefund"), exports);
19
+ __exportStar(require("./InsuranceRefundCreate"), exports);
@@ -1,4 +1,3 @@
1
- export * from "./InvoiceId";
2
1
  export * from "./Invoice";
3
2
  export * from "./InvoiceItem";
4
3
  export * from "./InvoiceStatus";
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./InvoiceId"), exports);
18
17
  __exportStar(require("./Invoice"), exports);
19
18
  __exportStar(require("./InvoiceItem"), exports);
20
19
  __exportStar(require("./InvoiceStatus"), exports);
@@ -6,9 +6,13 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.create.Error.Raw, CandidApi.organizationProviders.v3.create.Error>;
8
8
  export declare namespace Error {
9
- type Raw = Error.HttpRequestValidationError;
9
+ type Raw = Error.HttpRequestValidationError | Error.UpdatesDisabledDueToExternalSystemIntegrationError;
10
10
  interface HttpRequestValidationError {
11
11
  errorName: "HttpRequestValidationError";
12
12
  content: serializers.RequestValidationError.Raw;
13
13
  }
14
+ interface UpdatesDisabledDueToExternalSystemIntegrationError {
15
+ errorName: "UpdatesDisabledDueToExternalSystemIntegrationError";
16
+ content: serializers.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.Raw;
17
+ }
14
18
  }
@@ -34,12 +34,17 @@ exports.Error = core.serialization
34
34
  HttpRequestValidationError: core.serialization.object({
35
35
  content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RequestValidationError),
36
36
  }),
37
+ UpdatesDisabledDueToExternalSystemIntegrationError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UpdatesDisabledDueToExternalSystemIntegrationErrorMessage),
39
+ }),
37
40
  })
38
41
  .transform({
39
42
  transform: (value) => {
40
43
  switch (value.errorName) {
41
44
  case "HttpRequestValidationError":
42
45
  return CandidApi.organizationProviders.v3.create.Error.httpRequestValidationError(value.content);
46
+ case "UpdatesDisabledDueToExternalSystemIntegrationError":
47
+ return CandidApi.organizationProviders.v3.create.Error.updatesDisabledDueToExternalSystemIntegrationError(value.content);
43
48
  }
44
49
  },
45
50
  untransform: ({ _visit, ...value }) => value,
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.update.Error.Raw, CandidApi.organizationProviders.v3.update.Error>;
8
8
  export declare namespace Error {
9
- type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError;
9
+ type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError | Error.UpdatesDisabledDueToExternalSystemIntegrationError;
10
10
  interface HttpRequestValidationError {
11
11
  errorName: "HttpRequestValidationError";
12
12
  content: serializers.RequestValidationError.Raw;
@@ -15,4 +15,8 @@ export declare namespace Error {
15
15
  errorName: "EntityNotFoundError";
16
16
  content: serializers.EntityNotFoundErrorMessage.Raw;
17
17
  }
18
+ interface UpdatesDisabledDueToExternalSystemIntegrationError {
19
+ errorName: "UpdatesDisabledDueToExternalSystemIntegrationError";
20
+ content: serializers.UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.Raw;
21
+ }
18
22
  }
@@ -37,6 +37,9 @@ exports.Error = core.serialization
37
37
  EntityNotFoundError: core.serialization.object({
38
38
  content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
39
39
  }),
40
+ UpdatesDisabledDueToExternalSystemIntegrationError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UpdatesDisabledDueToExternalSystemIntegrationErrorMessage),
42
+ }),
40
43
  })
41
44
  .transform({
42
45
  transform: (value) => {
@@ -45,6 +48,8 @@ exports.Error = core.serialization
45
48
  return CandidApi.organizationProviders.v3.update.Error.httpRequestValidationError(value.content);
46
49
  case "EntityNotFoundError":
47
50
  return CandidApi.organizationProviders.v3.update.Error.entityNotFoundError(value.content);
51
+ case "UpdatesDisabledDueToExternalSystemIntegrationError":
52
+ return CandidApi.organizationProviders.v3.update.Error.updatesDisabledDueToExternalSystemIntegrationError(value.content);
48
53
  }
49
54
  },
50
55
  untransform: ({ _visit, ...value }) => value,
@@ -1 +1,2 @@
1
1
  export * as v3 from "./v3";
2
+ export * as v4 from "./v4";
@@ -23,5 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v3 = void 0;
26
+ exports.v4 = exports.v3 = void 0;
27
27
  exports.v3 = __importStar(require("./v3"));
28
+ exports.v4 = __importStar(require("./v4"));
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
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("./requests"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../..";
5
+ import * as CandidApi from "../../../../../../../api";
6
+ import * as core from "../../../../../../../core";
7
+ export declare const PatientPaymentCreate: core.serialization.Schema<serializers.patientPayments.v4.PatientPaymentCreate.Raw, CandidApi.patientPayments.v4.PatientPaymentCreate>;
8
+ export declare namespace PatientPaymentCreate {
9
+ interface Raw {
10
+ amount_cents: number;
11
+ payment_timestamp?: string | null;
12
+ payment_note?: string | null;
13
+ patient_external_id?: serializers.PatientExternalId.Raw | null;
14
+ allocations: serializers.Allocation.Raw[];
15
+ invoice?: serializers.InvoiceId.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
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.PatientPaymentCreate = void 0;
30
+ const core = __importStar(require("../../../../../../../core"));
31
+ exports.PatientPaymentCreate = core.serialization.object({
32
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
33
+ paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
34
+ paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
35
+ patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientExternalId).optional()),
36
+ allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Allocation)),
37
+ invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).InvoiceId).optional(),
38
+ });
@@ -0,0 +1 @@
1
+ export { PatientPaymentCreate } from "./PatientPaymentCreate";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PatientPaymentCreate = void 0;
4
+ var PatientPaymentCreate_1 = require("./PatientPaymentCreate");
5
+ Object.defineProperty(exports, "PatientPaymentCreate", { enumerable: true, get: function () { return PatientPaymentCreate_1.PatientPaymentCreate; } });
@@ -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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientPayment: core.serialization.ObjectSchema<serializers.patientPayments.v4.PatientPayment.Raw, CandidApi.patientPayments.v4.PatientPayment>;
8
+ export declare namespace PatientPayment {
9
+ interface Raw {
10
+ patient_payment_id: serializers.patientPayments.v4.PatientPaymentId.Raw;
11
+ organization_id: serializers.OrganizationId.Raw;
12
+ source_internal_id: string;
13
+ amount_cents: number;
14
+ payment_timestamp?: string | null;
15
+ payment_note?: string | null;
16
+ allocations: serializers.Allocation.Raw[];
17
+ invoice?: serializers.InvoiceId.Raw | null;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
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.PatientPayment = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PatientPayment = core.serialization.object({
32
+ patientPaymentId: core.serialization.property("patient_payment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v4.PatientPaymentId)),
33
+ organizationId: core.serialization.property("organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
34
+ sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string()),
35
+ amountCents: core.serialization.property("amount_cents", core.serialization.number()),
36
+ paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
37
+ paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
38
+ allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Allocation)),
39
+ invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).InvoiceId).optional(),
40
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientPaymentId: core.serialization.Schema<serializers.patientPayments.v4.PatientPaymentId.Raw, CandidApi.patientPayments.v4.PatientPaymentId>;
8
+ export declare namespace PatientPaymentId {
9
+ type Raw = string;
10
+ }
@@ -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.PatientPaymentId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.PatientPaymentId = core.serialization.string().transform({
33
+ transform: CandidApi.patientPayments.v4.PatientPaymentId,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./PatientPaymentId";
2
+ export * from "./PatientPayment";
@@ -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("./PatientPaymentId"), exports);
18
+ __exportStar(require("./PatientPayment"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -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 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
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("./requests"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../..";
5
+ import * as CandidApi from "../../../../../../../api";
6
+ import * as core from "../../../../../../../core";
7
+ export declare const PatientRefundCreate: core.serialization.Schema<serializers.patientRefunds.v1.PatientRefundCreate.Raw, CandidApi.patientRefunds.v1.PatientRefundCreate>;
8
+ export declare namespace PatientRefundCreate {
9
+ interface Raw {
10
+ amount_cents: number;
11
+ refund_timestamp?: string | null;
12
+ refund_note?: string | null;
13
+ patient_external_id?: serializers.PatientExternalId.Raw | null;
14
+ allocations: serializers.RefundAllocation.Raw[];
15
+ invoice?: serializers.InvoiceId.Raw | null;
16
+ }
17
+ }