candidhealth 0.6.4 → 0.7.0

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