candidhealth 0.10.0 → 0.11.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 (468) hide show
  1. package/README.md +1 -0
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  4. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  5. package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  6. package/api/resources/claims/types/ClaimStatus.js +1 -0
  7. package/api/resources/commons/types/SortDirection.d.ts +12 -0
  8. package/api/resources/commons/types/SortDirection.js +10 -0
  9. package/api/resources/commons/types/TaxId.d.ts +8 -0
  10. package/api/resources/commons/types/TaxId.js +10 -0
  11. package/api/resources/commons/types/index.d.ts +2 -0
  12. package/api/resources/commons/types/index.js +2 -0
  13. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  14. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  15. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  16. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  17. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  18. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  19. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  20. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  21. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  22. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  23. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  24. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  25. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  26. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  27. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  28. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  29. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  30. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  32. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  35. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  39. package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  40. package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  41. package/api/resources/financials/types/PatientTransactionSource.js +15 -0
  42. package/api/resources/financials/types/index.d.ts +1 -0
  43. package/api/resources/financials/types/index.js +1 -0
  44. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  45. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  46. package/api/resources/index.d.ts +1 -0
  47. package/api/resources/index.js +2 -1
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  49. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  50. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  51. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  52. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  53. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  54. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  55. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  56. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  57. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  58. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  59. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  60. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  61. package/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  62. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  63. package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  64. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  65. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  66. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  67. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  68. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  69. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  70. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  71. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  72. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  73. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  74. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  75. package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  76. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  77. package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  78. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  79. package/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  80. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  81. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  82. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  83. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  84. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  85. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  86. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  87. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  88. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  89. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  90. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  91. package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  92. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  93. package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  94. package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  95. package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  96. package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  97. package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  98. package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  99. package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  100. package/api/resources/payers/resources/v3/types/index.js +3 -0
  101. package/api/resources/remits/index.d.ts +1 -0
  102. package/api/resources/remits/index.js +17 -0
  103. package/api/resources/remits/resources/index.d.ts +1 -0
  104. package/api/resources/remits/resources/index.js +27 -0
  105. package/api/resources/remits/resources/v1/index.d.ts +1 -0
  106. package/api/resources/remits/resources/v1/index.js +17 -0
  107. package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  108. package/api/resources/remits/resources/v1/types/Payee.js +5 -0
  109. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  110. package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  111. package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  112. package/api/resources/remits/resources/v1/types/index.js +18 -0
  113. package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  114. package/api/resources/tasks/resources/v3/client/Client.js +5 -25
  115. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  116. package/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  117. package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  118. package/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  119. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  120. package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  121. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  122. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  123. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  124. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  125. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  126. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  127. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  128. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  129. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  130. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  131. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  132. package/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  133. package/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  134. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  135. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  136. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  137. package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  138. package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
  139. package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
  140. package/dist/api/resources/commons/types/SortDirection.js +10 -0
  141. package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
  142. package/dist/api/resources/commons/types/TaxId.js +10 -0
  143. package/dist/api/resources/commons/types/index.d.ts +2 -0
  144. package/dist/api/resources/commons/types/index.js +2 -0
  145. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  146. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  147. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  148. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  149. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  150. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  151. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  152. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  153. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  154. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  155. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  156. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  157. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  158. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  159. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  160. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  161. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  162. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  163. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  164. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  165. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  166. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  168. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  169. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  170. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  171. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  172. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  173. package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
  174. package/dist/api/resources/financials/types/index.d.ts +1 -0
  175. package/dist/api/resources/financials/types/index.js +1 -0
  176. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  177. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  178. package/dist/api/resources/index.d.ts +1 -0
  179. package/dist/api/resources/index.js +2 -1
  180. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  181. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  182. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  183. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  186. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  187. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  188. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  189. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  190. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  191. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  192. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -3
  193. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
  194. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  195. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  196. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  197. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  198. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  199. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
  200. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  201. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  202. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  203. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  204. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  205. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
  206. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  207. package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  208. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
  209. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
  210. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  211. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  212. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  213. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  214. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  215. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
  216. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  217. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  218. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  219. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  220. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  221. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
  222. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  223. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  224. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  225. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  226. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  227. package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  228. package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  229. package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  230. package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  231. package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
  232. package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
  233. package/dist/api/resources/remits/index.d.ts +1 -0
  234. package/dist/api/resources/remits/index.js +17 -0
  235. package/dist/api/resources/remits/resources/index.d.ts +1 -0
  236. package/dist/api/resources/remits/resources/index.js +27 -0
  237. package/dist/api/resources/remits/resources/v1/index.d.ts +1 -0
  238. package/dist/api/resources/remits/resources/v1/index.js +17 -0
  239. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  240. package/dist/api/resources/remits/resources/v1/types/Payee.js +5 -0
  241. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  242. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
  243. package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  244. package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
  245. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
  246. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
  247. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -4
  248. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
  249. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  250. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
  251. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  252. package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  253. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  254. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
  255. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  256. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  257. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  258. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  259. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  260. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  261. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  262. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  263. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
  264. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  265. package/dist/api/resources/writeOffs/resources/v1/types/index.js +3 -0
  266. package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  267. package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
  268. package/dist/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  269. package/dist/serialization/resources/commons/types/SortDirection.js +31 -0
  270. package/dist/serialization/resources/commons/types/TaxId.d.ts +10 -0
  271. package/dist/serialization/resources/commons/types/TaxId.js +37 -0
  272. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  273. package/dist/serialization/resources/commons/types/index.js +2 -0
  274. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  275. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  276. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  277. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  278. package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  279. package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
  280. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  281. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  282. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  283. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  284. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  285. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  286. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  287. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  288. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  289. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  290. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  291. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  292. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  293. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  294. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  295. package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
  296. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  297. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  298. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  299. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  300. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  301. package/dist/serialization/resources/financials/types/index.js +1 -0
  302. package/dist/serialization/resources/index.d.ts +1 -0
  303. package/dist/serialization/resources/index.js +2 -1
  304. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  305. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  306. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  307. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  308. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  309. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  310. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  311. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  312. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  313. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  314. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  315. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  316. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  317. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  318. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  319. package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js} +2 -2
  320. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  321. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  322. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  323. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  324. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  325. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  326. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  327. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  328. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  329. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  330. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  331. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  332. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  333. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  334. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  335. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  336. package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  337. package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  338. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  339. package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
  340. package/dist/serialization/resources/remits/index.d.ts +1 -0
  341. package/dist/serialization/resources/remits/index.js +17 -0
  342. package/dist/serialization/resources/remits/resources/index.d.ts +1 -0
  343. package/dist/serialization/resources/remits/resources/index.js +27 -0
  344. package/dist/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  345. package/dist/serialization/resources/remits/resources/v1/index.js +17 -0
  346. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  347. package/dist/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  348. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  349. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  350. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  351. package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
  352. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  353. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  354. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  355. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  356. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  357. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  358. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  359. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  360. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  361. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  362. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  363. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  364. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  365. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  366. package/package.json +1 -1
  367. package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  368. package/serialization/resources/claims/types/ClaimStatus.js +1 -0
  369. package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  370. package/serialization/resources/commons/types/SortDirection.js +31 -0
  371. package/serialization/resources/commons/types/TaxId.d.ts +10 -0
  372. package/serialization/resources/commons/types/TaxId.js +37 -0
  373. package/serialization/resources/commons/types/index.d.ts +2 -0
  374. package/serialization/resources/commons/types/index.js +2 -0
  375. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  376. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  377. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  378. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  379. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  380. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +31 -0
  381. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  382. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  383. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  384. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  385. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  386. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  387. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  388. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  389. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  390. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  391. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  392. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  393. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  394. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  395. package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  396. package/serialization/resources/financials/types/AllocationTarget.js +1 -0
  397. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  398. package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  399. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  400. package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  401. package/serialization/resources/financials/types/index.d.ts +1 -0
  402. package/serialization/resources/financials/types/index.js +1 -0
  403. package/serialization/resources/index.d.ts +1 -0
  404. package/serialization/resources/index.js +2 -1
  405. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  406. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  407. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  408. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  409. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  410. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  411. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  412. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  413. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
  414. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
  415. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
  416. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
  417. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  418. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  419. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  420. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  421. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  422. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  423. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  424. package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  425. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  426. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  427. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  428. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  429. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  430. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  431. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  432. package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  433. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  434. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  435. package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  436. package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  437. package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  438. package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  439. package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
  440. package/serialization/resources/payers/resources/v3/types/index.js +3 -0
  441. package/serialization/resources/remits/index.d.ts +1 -0
  442. package/serialization/resources/remits/index.js +17 -0
  443. package/serialization/resources/remits/resources/index.d.ts +1 -0
  444. package/serialization/resources/remits/resources/index.js +27 -0
  445. package/serialization/resources/remits/resources/v1/index.d.ts +1 -0
  446. package/serialization/resources/remits/resources/v1/index.js +17 -0
  447. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  448. package/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
  449. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  450. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
  451. package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  452. package/serialization/resources/remits/resources/v1/types/index.js +18 -0
  453. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  454. package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  455. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  456. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  457. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  458. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  459. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  460. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  461. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  462. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
  463. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  464. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
  465. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
  466. package/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
  467. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
  468. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
@@ -7,7 +7,7 @@ import * as core from "../../../../../../core";
7
7
  export declare const InsuranceRefundCreate: core.serialization.ObjectSchema<serializers.insuranceRefunds.v1.InsuranceRefundCreate.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundCreate>;
8
8
  export declare namespace InsuranceRefundCreate {
9
9
  interface Raw {
10
- payer_id: serializers.payers.v3.PayerId.Raw;
10
+ payer_identifier: serializers.payers.v3.PayerIdentifier.Raw;
11
11
  amount_cents: number;
12
12
  refund_timestamp?: string | null;
13
13
  refund_note?: string | null;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.InsuranceRefundCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.InsuranceRefundCreate = core.serialization.object({
32
- payerId: core.serialization.property("payer_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerId)),
32
+ payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerIdentifier)),
33
33
  amountCents: core.serialization.property("amount_cents", core.serialization.number()),
34
34
  refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
35
35
  refundNote: core.serialization.property("refund_note", core.serialization.string().optional()),
@@ -9,7 +9,8 @@ export declare namespace PatientPayment {
9
9
  interface Raw {
10
10
  patient_payment_id: serializers.patientPayments.v4.PatientPaymentId.Raw;
11
11
  organization_id: serializers.OrganizationId.Raw;
12
- source_internal_id: string;
12
+ source_internal_id?: string | null;
13
+ payment_source: serializers.PatientTransactionSource.Raw;
13
14
  amount_cents: number;
14
15
  patient_external_id: serializers.PatientExternalId.Raw;
15
16
  payment_timestamp?: string | null;
@@ -31,7 +31,8 @@ const core = __importStar(require("../../../../../../core"));
31
31
  exports.PatientPayment = core.serialization.object({
32
32
  patientPaymentId: core.serialization.property("patient_payment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v4.PatientPaymentId)),
33
33
  organizationId: core.serialization.property("organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
34
- sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string()),
34
+ sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string().optional()),
35
+ paymentSource: core.serialization.property("payment_source", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientTransactionSource)),
35
36
  amountCents: core.serialization.property("amount_cents", core.serialization.number()),
36
37
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientExternalId)),
37
38
  paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientPaymentSortField: core.serialization.Schema<serializers.patientPayments.v4.PatientPaymentSortField.Raw, CandidApi.patientPayments.v4.PatientPaymentSortField>;
8
+ export declare namespace PatientPaymentSortField {
9
+ type Raw = "payment_source" | "amount_cents" | "payment_timestamp" | "payment_note";
10
+ }
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Response = void 0;
29
+ exports.PatientPaymentSortField = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.Response = core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOff));
31
+ exports.PatientPaymentSortField = core.serialization.enum_(["payment_source", "amount_cents", "payment_timestamp", "payment_note"]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientPaymentsPage: core.serialization.ObjectSchema<serializers.patientPayments.v4.PatientPaymentsPage.Raw, CandidApi.patientPayments.v4.PatientPaymentsPage>;
8
+ export declare namespace PatientPaymentsPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.patientPayments.v4.PatientPayment.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatientPaymentsPage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PatientPaymentsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v4.PatientPayment)),
34
+ })
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -1,2 +1,4 @@
1
1
  export * from "./PatientPaymentId";
2
2
  export * from "./PatientPayment";
3
+ export * from "./PatientPaymentsPage";
4
+ export * from "./PatientPaymentSortField";
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PatientPaymentId"), exports);
18
18
  __exportStar(require("./PatientPayment"), exports);
19
+ __exportStar(require("./PatientPaymentsPage"), exports);
20
+ __exportStar(require("./PatientPaymentSortField"), exports);
@@ -9,7 +9,8 @@ export declare namespace PatientRefund {
9
9
  interface Raw {
10
10
  patient_refund_id: serializers.patientRefunds.v1.PatientRefundId.Raw;
11
11
  organization_id: serializers.OrganizationId.Raw;
12
- source_internal_id: string;
12
+ source_internal_id?: string | null;
13
+ refund_source: serializers.PatientTransactionSource.Raw;
13
14
  amount_cents: number;
14
15
  patient_external_id: serializers.PatientExternalId.Raw;
15
16
  refund_timestamp?: string | null;
@@ -31,7 +31,8 @@ const core = __importStar(require("../../../../../../core"));
31
31
  exports.PatientRefund = core.serialization.object({
32
32
  patientRefundId: core.serialization.property("patient_refund_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientRefunds.v1.PatientRefundId)),
33
33
  organizationId: core.serialization.property("organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
34
- sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string()),
34
+ sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string().optional()),
35
+ refundSource: core.serialization.property("refund_source", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientTransactionSource)),
35
36
  amountCents: core.serialization.property("amount_cents", core.serialization.number()),
36
37
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientExternalId)),
37
38
  refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientRefundSortField: core.serialization.Schema<serializers.patientRefunds.v1.PatientRefundSortField.Raw, CandidApi.patientRefunds.v1.PatientRefundSortField>;
8
+ export declare namespace PatientRefundSortField {
9
+ type Raw = "refund_source" | "amount_cents" | "refund_timestamp" | "refund_reason" | "refund_note";
10
+ }
@@ -0,0 +1,31 @@
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.PatientRefundSortField = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PatientRefundSortField = core.serialization.enum_(["refund_source", "amount_cents", "refund_timestamp", "refund_reason", "refund_note"]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PatientRefundsPage: core.serialization.ObjectSchema<serializers.patientRefunds.v1.PatientRefundsPage.Raw, CandidApi.patientRefunds.v1.PatientRefundsPage>;
8
+ export declare namespace PatientRefundsPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.patientRefunds.v1.PatientRefund.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatientRefundsPage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PatientRefundsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientRefunds.v1.PatientRefund)),
34
+ })
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -1,2 +1,4 @@
1
1
  export * from "./PatientRefundId";
2
2
  export * from "./PatientRefund";
3
+ export * from "./PatientRefundsPage";
4
+ export * from "./PatientRefundSortField";
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PatientRefundId"), exports);
18
18
  __exportStar(require("./PatientRefund"), exports);
19
+ __exportStar(require("./PatientRefundsPage"), exports);
20
+ __exportStar(require("./PatientRefundSortField"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayerIdentifier: core.serialization.Schema<serializers.payers.v3.PayerIdentifier.Raw, CandidApi.payers.v3.PayerIdentifier>;
8
+ export declare namespace PayerIdentifier {
9
+ type Raw = PayerIdentifier.PayerInfo | PayerIdentifier.PayerUuid;
10
+ interface PayerInfo extends serializers.payers.v3.PayerInfo.Raw {
11
+ type: "payer_info";
12
+ }
13
+ interface PayerUuid {
14
+ type: "payer_uuid";
15
+ value: serializers.payers.v3.PayerUuid.Raw;
16
+ }
17
+ }
@@ -0,0 +1,41 @@
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.PayerIdentifier = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PayerIdentifier = core.serialization
32
+ .union("type", {
33
+ payer_info: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerInfo),
34
+ payer_uuid: core.serialization.object({
35
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid),
36
+ }),
37
+ })
38
+ .transform({
39
+ transform: (value) => value,
40
+ untransform: (value) => value,
41
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayerInfo: core.serialization.ObjectSchema<serializers.payers.v3.PayerInfo.Raw, CandidApi.payers.v3.PayerInfo>;
8
+ export declare namespace PayerInfo {
9
+ interface Raw {
10
+ payer_id: serializers.payers.v3.PayerId.Raw;
11
+ payer_name: serializers.payers.v3.PayerName.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.PayerInfo = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.PayerInfo = core.serialization.object({
32
+ payerId: core.serialization.property("payer_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerId)),
33
+ payerName: core.serialization.property("payer_name", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerName)),
34
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayerName: core.serialization.Schema<serializers.payers.v3.PayerName.Raw, CandidApi.payers.v3.PayerName>;
8
+ export declare namespace PayerName {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PayerName = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.PayerName = core.serialization.string().transform({
33
+ transform: CandidApi.payers.v3.PayerName,
34
+ untransform: (value) => value,
35
+ });
@@ -1,4 +1,7 @@
1
1
  export * from "./PayerUuid";
2
2
  export * from "./PayerId";
3
+ export * from "./PayerName";
3
4
  export * from "./PayerPage";
4
5
  export * from "./Payer";
6
+ export * from "./PayerInfo";
7
+ export * from "./PayerIdentifier";
@@ -16,5 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PayerUuid"), exports);
18
18
  __exportStar(require("./PayerId"), exports);
19
+ __exportStar(require("./PayerName"), exports);
19
20
  __exportStar(require("./PayerPage"), exports);
20
21
  __exportStar(require("./Payer"), exports);
22
+ __exportStar(require("./PayerInfo"), exports);
23
+ __exportStar(require("./PayerIdentifier"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v1 = void 0;
27
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Payee: core.serialization.ObjectSchema<serializers.remits.v1.Payee.Raw, CandidApi.remits.v1.Payee>;
8
+ export declare namespace Payee {
9
+ interface Raw {
10
+ payee_name: string;
11
+ payee_identifier: serializers.remits.v1.PayeeIdentifier.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.Payee = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.Payee = core.serialization.object({
32
+ payeeName: core.serialization.property("payee_name", core.serialization.string()),
33
+ payeeIdentifier: core.serialization.property("payee_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).remits.v1.PayeeIdentifier)),
34
+ });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayeeIdentifier: core.serialization.Schema<serializers.remits.v1.PayeeIdentifier.Raw, CandidApi.remits.v1.PayeeIdentifier>;
8
+ export declare namespace PayeeIdentifier {
9
+ type Raw = PayeeIdentifier.Npi | PayeeIdentifier.Tin | PayeeIdentifier.CmsPlanId;
10
+ interface Npi {
11
+ type: "npi";
12
+ value: serializers.Npi.Raw;
13
+ }
14
+ interface Tin {
15
+ type: "tin";
16
+ value: serializers.TaxId.Raw;
17
+ }
18
+ interface CmsPlanId {
19
+ type: "cms_plan_id";
20
+ value: string;
21
+ }
22
+ }