candidhealth 0.10.1 → 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 (491) 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/claims/types/Claim.d.ts +1 -37
  5. package/api/resources/commons/types/SortDirection.d.ts +12 -0
  6. package/api/resources/commons/types/SortDirection.js +10 -0
  7. package/api/resources/commons/types/TaxId.d.ts +8 -0
  8. package/api/resources/{jobs/resources/v1/types/JobId.js → commons/types/TaxId.js} +3 -3
  9. package/api/resources/commons/types/index.d.ts +2 -0
  10. package/api/resources/commons/types/index.js +2 -0
  11. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  12. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  13. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
  15. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  16. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
  17. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  18. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  19. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  20. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  21. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  22. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  23. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  24. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  25. package/api/resources/index.d.ts +1 -4
  26. package/api/resources/index.js +2 -5
  27. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  28. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  29. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  30. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  31. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  32. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  33. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  34. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  35. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -0
  36. package/api/resources/patientPayments/resources/v4/client/Client.js +76 -4
  37. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  38. package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  39. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  40. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  41. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  42. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  43. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  44. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  45. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  46. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  47. package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  48. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
  49. package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -4
  50. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  51. package/{dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → api/resources/patientRefunds/resources/v1/client/getMulti.js} +19 -3
  52. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  53. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  54. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  55. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  56. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  57. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  58. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  59. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  60. package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  61. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  62. package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  63. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  64. package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  65. package/api/resources/remits/resources/v1/types/index.js +18 -0
  66. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  67. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
  68. package/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
  69. package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  70. package/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
  71. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  72. package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  73. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  74. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  75. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  76. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  77. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  78. package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  79. package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  80. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  81. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  82. package/dist/api/resources/claims/types/Claim.d.ts +1 -37
  83. package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
  84. package/dist/api/resources/commons/types/SortDirection.js +10 -0
  85. package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
  86. package/dist/api/resources/{jobs/resources/v1/types/JobId.js → commons/types/TaxId.js} +3 -3
  87. package/dist/api/resources/commons/types/index.d.ts +2 -0
  88. package/dist/api/resources/commons/types/index.js +2 -0
  89. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  90. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  91. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  92. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
  93. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  94. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
  95. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  96. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  97. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  98. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  99. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  100. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  101. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  102. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/index.d.ts +1 -4
  104. package/dist/api/resources/index.js +2 -5
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  107. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  108. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  109. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  110. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  111. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  112. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  113. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -0
  114. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -4
  115. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  116. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  117. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  118. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  119. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
  120. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  121. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  122. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  123. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  124. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  125. package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  126. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
  127. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -4
  128. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  129. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  130. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  131. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  132. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
  133. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  134. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  135. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  136. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  137. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  138. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  139. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  140. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  141. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  142. package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  143. package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
  144. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  145. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
  146. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
  147. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  148. package/dist/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
  149. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  150. package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  151. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  152. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  153. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  154. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  155. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  156. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  157. package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  158. package/dist/serialization/resources/claims/types/Claim.d.ts +0 -1
  159. package/dist/serialization/resources/claims/types/Claim.js +0 -1
  160. package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts → dist/serialization/resources/commons/types/SortDirection.d.ts} +3 -4
  161. package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.js → dist/serialization/resources/commons/types/SortDirection.js} +2 -2
  162. package/dist/serialization/resources/{claimActionsCommons/types/VoidClaimAction.d.ts → commons/types/TaxId.d.ts} +3 -4
  163. package/{serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → dist/serialization/resources/commons/types/TaxId.js} +7 -3
  164. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  165. package/dist/serialization/resources/commons/types/index.js +2 -0
  166. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  167. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  168. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  169. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  170. package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  171. package/dist/serialization/resources/{jobs/resources/v1/types/JobStatus.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
  172. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  173. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  174. package/dist/serialization/resources/index.d.ts +1 -4
  175. package/dist/serialization/resources/index.js +2 -5
  176. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  177. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  178. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  179. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  180. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  181. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  182. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  183. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  184. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  185. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  186. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  187. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  188. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  189. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  190. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  191. package/dist/serialization/resources/{users/resources/v2/types/AuthZeroMetadata.js → patientRefunds/resources/v1/types/PatientRefundSortField.js} +2 -4
  192. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  193. package/dist/serialization/resources/{jobs/resources/v1/types/JobId.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +6 -6
  194. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  195. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  196. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  197. package/dist/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
  198. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  199. package/dist/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
  200. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  201. package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
  202. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  203. package/{serialization/resources/jobs/resources/v1/types/JobStatus.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js} +2 -2
  204. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  205. package/{serialization/resources/jobs/resources/v1/types/JobMetadata.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
  206. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  207. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  208. package/package.json +1 -1
  209. package/serialization/resources/claims/types/Claim.d.ts +0 -1
  210. package/serialization/resources/claims/types/Claim.js +0 -1
  211. package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  212. package/{dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js → serialization/resources/commons/types/SortDirection.js} +2 -2
  213. package/serialization/resources/commons/types/TaxId.d.ts +10 -0
  214. package/{dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → serialization/resources/commons/types/TaxId.js} +7 -3
  215. package/serialization/resources/commons/types/index.d.ts +2 -0
  216. package/serialization/resources/commons/types/index.js +2 -0
  217. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  218. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  219. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  220. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  221. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  222. package/{dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js → serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -4
  223. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  224. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  225. package/serialization/resources/index.d.ts +1 -4
  226. package/serialization/resources/index.js +2 -5
  227. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
  228. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
  229. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  230. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  231. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
  232. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
  233. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  234. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
  235. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  236. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  237. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  238. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  239. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  240. package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  241. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  242. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  243. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  244. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  245. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  246. package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  247. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  248. package/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
  249. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  250. package/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
  251. package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  252. package/serialization/resources/remits/resources/v1/types/index.js +18 -0
  253. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  254. package/serialization/resources/{users/resources/v2/types/MachineUserMetadata.js → writeOffs/resources/v1/types/WriteOffSortField.js} +2 -4
  255. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  256. package/{dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js → serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
  257. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  258. package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  259. package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
  260. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
  261. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
  262. package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
  263. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
  264. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
  265. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
  266. package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
  267. package/api/resources/claimActionsCommons/types/index.d.ts +0 -8
  268. package/api/resources/claimActionsCommons/types/index.js +0 -24
  269. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
  270. package/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
  271. package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
  272. package/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
  273. package/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
  274. package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
  275. package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
  276. package/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
  277. package/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
  278. package/api/resources/jobs/resources/v1/types/index.js +0 -22
  279. package/api/resources/users/resources/index.d.ts +0 -1
  280. package/api/resources/users/resources/index.js +0 -27
  281. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  282. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
  283. package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
  284. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
  285. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
  286. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
  287. package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
  288. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
  289. package/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
  290. package/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
  291. package/api/resources/users/resources/v2/types/UserV2.js +0 -5
  292. package/api/resources/users/resources/v2/types/index.d.ts +0 -8
  293. package/api/resources/users/resources/v2/types/index.js +0 -24
  294. package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
  295. package/dist/api/resources/claimActionsCommons/types/ClaimAction.js +0 -5
  296. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
  297. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -5
  298. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
  299. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +0 -5
  300. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
  301. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -5
  302. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
  303. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -5
  304. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
  305. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +0 -5
  306. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
  307. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +0 -5
  308. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
  309. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +0 -5
  310. package/dist/api/resources/claimActionsCommons/types/index.d.ts +0 -8
  311. package/dist/api/resources/claimActionsCommons/types/index.js +0 -24
  312. package/dist/api/resources/jobs/resources/v1/index.d.ts +0 -1
  313. package/dist/api/resources/jobs/resources/v1/index.js +0 -17
  314. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
  315. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -5
  316. package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
  317. package/dist/api/resources/jobs/resources/v1/types/Job.js +0 -5
  318. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
  319. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
  320. package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
  321. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
  322. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +0 -5
  323. package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
  324. package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
  325. package/dist/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
  326. package/dist/api/resources/jobs/resources/v1/types/index.js +0 -22
  327. package/dist/api/resources/users/resources/index.d.ts +0 -1
  328. package/dist/api/resources/users/resources/index.js +0 -27
  329. package/dist/api/resources/users/resources/v2/index.d.ts +0 -1
  330. package/dist/api/resources/users/resources/v2/index.js +0 -17
  331. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  332. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -5
  333. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
  334. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -5
  335. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
  336. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +0 -5
  337. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
  338. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +0 -5
  339. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
  340. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +0 -5
  341. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
  342. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
  343. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
  344. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
  345. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
  346. package/dist/api/resources/users/resources/v2/types/UserV2.js +0 -5
  347. package/dist/api/resources/users/resources/v2/types/index.d.ts +0 -8
  348. package/dist/api/resources/users/resources/v2/types/index.js +0 -24
  349. package/dist/serialization/resources/claimActionsCommons/index.d.ts +0 -1
  350. package/dist/serialization/resources/claimActionsCommons/index.js +0 -17
  351. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
  352. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
  353. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
  354. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
  355. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
  356. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
  357. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
  358. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
  359. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
  360. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
  361. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
  362. package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
  363. package/dist/serialization/resources/claimActionsCommons/types/index.js +0 -24
  364. package/dist/serialization/resources/jobs/index.d.ts +0 -1
  365. package/dist/serialization/resources/jobs/index.js +0 -17
  366. package/dist/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
  367. package/dist/serialization/resources/jobs/resources/v1/index.js +0 -17
  368. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
  369. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
  370. package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
  371. package/dist/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
  372. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
  373. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js +0 -35
  374. package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
  375. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
  376. package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
  377. package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
  378. package/dist/serialization/resources/jobs/resources/v1/types/index.js +0 -22
  379. package/dist/serialization/resources/users/index.d.ts +0 -1
  380. package/dist/serialization/resources/users/index.js +0 -17
  381. package/dist/serialization/resources/users/resources/index.d.ts +0 -1
  382. package/dist/serialization/resources/users/resources/index.js +0 -27
  383. package/dist/serialization/resources/users/resources/v2/index.d.ts +0 -1
  384. package/dist/serialization/resources/users/resources/v2/index.js +0 -17
  385. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  386. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
  387. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -33
  388. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
  389. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
  390. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
  391. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
  392. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
  393. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
  394. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
  395. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
  396. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
  397. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
  398. package/dist/serialization/resources/users/resources/v2/types/index.js +0 -24
  399. package/serialization/resources/claimActionsCommons/index.d.ts +0 -1
  400. package/serialization/resources/claimActionsCommons/index.js +0 -17
  401. package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
  402. package/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
  403. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
  404. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
  405. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
  406. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +0 -31
  407. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
  408. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
  409. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
  410. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
  411. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
  412. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
  413. package/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
  414. package/serialization/resources/claimActionsCommons/types/index.js +0 -24
  415. package/serialization/resources/jobs/index.d.ts +0 -1
  416. package/serialization/resources/jobs/index.js +0 -17
  417. package/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
  418. package/serialization/resources/jobs/resources/v1/index.js +0 -17
  419. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
  420. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
  421. package/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
  422. package/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
  423. package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
  424. package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +0 -35
  425. package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
  426. package/serialization/resources/jobs/resources/v1/types/JobId.js +0 -35
  427. package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
  428. package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
  429. package/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
  430. package/serialization/resources/jobs/resources/v1/types/index.js +0 -22
  431. package/serialization/resources/users/index.d.ts +0 -1
  432. package/serialization/resources/users/index.js +0 -17
  433. package/serialization/resources/users/resources/index.d.ts +0 -1
  434. package/serialization/resources/users/resources/index.js +0 -27
  435. package/serialization/resources/users/resources/v2/index.d.ts +0 -1
  436. package/serialization/resources/users/resources/v2/index.js +0 -17
  437. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  438. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -33
  439. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
  440. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -33
  441. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
  442. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
  443. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
  444. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
  445. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
  446. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
  447. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
  448. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
  449. package/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
  450. package/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
  451. package/serialization/resources/users/resources/v2/types/index.js +0 -24
  452. /package/api/resources/{claimActionsCommons/types/ClaimAction.js → patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
  453. /package/api/resources/{claimActionsCommons/types/ClaimActionMetadata.js → patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
  454. /package/api/resources/{claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
  455. /package/api/resources/{claimActionsCommons/types/CreateTaskConfig.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
  456. /package/api/resources/{jobs → remits}/index.d.ts +0 -0
  457. /package/api/resources/{jobs → remits}/index.js +0 -0
  458. /package/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
  459. /package/api/resources/{jobs → remits}/resources/index.js +0 -0
  460. /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.d.ts +0 -0
  461. /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.js +0 -0
  462. /package/api/resources/{claimActionsCommons/types/MoveToWorkQueueClaimAction.js → remits/resources/v1/types/Payee.js} +0 -0
  463. /package/api/resources/{claimActionsCommons/types/ResubmitCorrectedClaimAction.js → remits/resources/v1/types/PayeeIdentifier.js} +0 -0
  464. /package/api/resources/{claimActionsCommons/types/ResubmitFreshClaimAction.js → writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
  465. /package/api/resources/{claimActionsCommons/types/VoidClaimAction.js → writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
  466. /package/{api/resources/jobs/resources/v1/types/ClaimJobMetadata.js → dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
  467. /package/{api/resources/jobs/resources/v1/types/Job.js → dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
  468. /package/{api/resources/jobs/resources/v1/types/JobMetadata.js → dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
  469. /package/{api/resources/users/resources/v2/types/AuthZeroMetadata.js → dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
  470. /package/{api/resources/users → dist/api/resources/remits}/index.d.ts +0 -0
  471. /package/{api/resources/users → dist/api/resources/remits}/index.js +0 -0
  472. /package/dist/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
  473. /package/dist/api/resources/{jobs → remits}/resources/index.js +0 -0
  474. /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.d.ts +0 -0
  475. /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.js +0 -0
  476. /package/{api/resources/users/resources/v2/types/GoogleAppsMetadata.js → dist/api/resources/remits/resources/v1/types/Payee.js} +0 -0
  477. /package/{api/resources/users/resources/v2/types/HumanUserMetadata.js → dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js} +0 -0
  478. /package/{api/resources/users/resources/v2/types/IdpUserMetadata.js → dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
  479. /package/{api/resources/users/resources/v2/types/MachineUserMetadata.js → dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
  480. /package/dist/{api/resources/jobs → serialization/resources/remits}/index.d.ts +0 -0
  481. /package/dist/{api/resources/jobs → serialization/resources/remits}/index.js +0 -0
  482. /package/dist/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
  483. /package/dist/serialization/resources/{jobs → remits}/resources/index.js +0 -0
  484. /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.d.ts +0 -0
  485. /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.js +0 -0
  486. /package/{dist/api/resources/users → serialization/resources/remits}/index.d.ts +0 -0
  487. /package/{dist/api/resources/users → serialization/resources/remits}/index.js +0 -0
  488. /package/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
  489. /package/serialization/resources/{jobs → remits}/resources/index.js +0 -0
  490. /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.d.ts +0 -0
  491. /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.js +0 -0
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.claimActionsCommons = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.serviceLines = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.jobs = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
@@ -37,19 +37,16 @@ exports.exports = __importStar(require("./exports"));
37
37
  exports.guarantor = __importStar(require("./guarantor"));
38
38
  exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
39
39
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
40
- exports.jobs = __importStar(require("./jobs"));
41
40
  exports.organizationServiceFacilities = __importStar(require("./organizationServiceFacilities"));
42
41
  exports.organizationProviders = __importStar(require("./organizationProviders"));
43
42
  exports.patientPayments = __importStar(require("./patientPayments"));
44
43
  exports.patientRefunds = __importStar(require("./patientRefunds"));
45
44
  exports.payers = __importStar(require("./payers"));
45
+ exports.remits = __importStar(require("./remits"));
46
46
  exports.serviceLines = __importStar(require("./serviceLines"));
47
47
  exports.tasks = __importStar(require("./tasks"));
48
- exports.users = __importStar(require("./users"));
49
48
  exports.writeOffs = __importStar(require("./writeOffs"));
50
49
  exports.x12 = __importStar(require("./x12"));
51
- exports.claimActionsCommons = __importStar(require("./claimActionsCommons"));
52
- __exportStar(require("./claimActionsCommons/types"), exports);
53
50
  exports.claims = __importStar(require("./claims"));
54
51
  __exportStar(require("./claims/types"), exports);
55
52
  exports.commons = __importStar(require("./commons"));
@@ -10,6 +10,7 @@ export declare namespace ClaimAdjudication {
10
10
  insurance_allowed_amount_cents?: number | null;
11
11
  insurance_paid_amount_cents?: number | null;
12
12
  service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudication.Raw>;
13
+ payer_claim_number?: string | null;
13
14
  carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
14
15
  }
15
16
  }
@@ -32,5 +32,6 @@ exports.ClaimAdjudication = core.serialization.object({
32
32
  insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
33
33
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
34
34
  serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudication))),
35
+ payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
35
36
  carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
36
37
  });
@@ -10,6 +10,7 @@ export declare namespace ClaimAdjudicationCreate {
10
10
  insurance_allowed_amount_cents?: number | null;
11
11
  insurance_paid_amount_cents?: number | null;
12
12
  service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudicationCreate.Raw>;
13
+ payer_claim_number?: string | null;
13
14
  carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
14
15
  }
15
16
  }
@@ -32,5 +32,6 @@ exports.ClaimAdjudicationCreate = core.serialization.object({
32
32
  insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
33
33
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
34
34
  serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudicationCreate))),
35
+ payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
35
36
  carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
36
37
  });
@@ -10,7 +10,6 @@ export declare namespace InsuranceAdjudication {
10
10
  insurance_adjudication_id: serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.Raw;
11
11
  payer_uuid: serializers.payers.v3.PayerUuid.Raw;
12
12
  post_date?: string | null;
13
- payer_claim_number: string;
14
13
  check_number?: string | null;
15
14
  check_date: string;
16
15
  note?: string | null;
@@ -32,7 +32,6 @@ exports.InsuranceAdjudication = core.serialization.object({
32
32
  insuranceAdjudicationId: core.serialization.property("insurance_adjudication_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.InsuranceAdjudicationId)),
33
33
  payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid)),
34
34
  postDate: core.serialization.property("post_date", core.serialization.string().optional()),
35
- payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string()),
36
35
  checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
37
36
  checkDate: core.serialization.property("check_date", core.serialization.string()),
38
37
  note: core.serialization.string().optional(),
@@ -7,9 +7,9 @@ import * as core from "../../../../../../core";
7
7
  export declare const InsuranceAdjudicationCreate: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.Raw, CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate>;
8
8
  export declare namespace InsuranceAdjudicationCreate {
9
9
  interface Raw {
10
- payer_uuid: serializers.payers.v3.PayerUuid.Raw;
10
+ payer_identifier: serializers.payers.v3.PayerIdentifier.Raw;
11
+ payee: serializers.remits.v1.Payee.Raw;
11
12
  post_date?: string | null;
12
- payer_claim_number: string;
13
13
  check_number?: string | null;
14
14
  check_date: string;
15
15
  note?: string | null;
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.InsuranceAdjudicationCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.InsuranceAdjudicationCreate = core.serialization.object({
32
- payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid)),
32
+ payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerIdentifier)),
33
+ payee: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).remits.v1.Payee),
33
34
  postDate: core.serialization.property("post_date", core.serialization.string().optional()),
34
- payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string()),
35
35
  checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
36
36
  checkDate: core.serialization.property("check_date", core.serialization.string()),
37
37
  note: core.serialization.string().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
+ }
@@ -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.PatientPaymentSortField = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
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);
@@ -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,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
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.HumanUserMetadata = void 0;
29
+ exports.Payee = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.HumanUserMetadata = core.serialization.object({
32
- firstName: core.serialization.property("first_name", core.serialization.string()),
33
- lastName: core.serialization.property("last_name", core.serialization.string()),
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
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
+ }
@@ -26,12 +26,19 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UserMetadata = void 0;
29
+ exports.PayeeIdentifier = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.UserMetadata = core.serialization
31
+ exports.PayeeIdentifier = core.serialization
32
32
  .union("type", {
33
- machine_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.MachineUserMetadata),
34
- human_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.HumanUserMetadata),
33
+ npi: core.serialization.object({
34
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Npi),
35
+ }),
36
+ tin: core.serialization.object({
37
+ value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaxId),
38
+ }),
39
+ cms_plan_id: core.serialization.object({
40
+ value: core.serialization.string(),
41
+ }),
35
42
  })
36
43
  .transform({
37
44
  transform: (value) => value,
@@ -0,0 +1,2 @@
1
+ export * from "./PayeeIdentifier";
2
+ export * from "./Payee";
@@ -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("./PayeeIdentifier"), exports);
18
+ __exportStar(require("./Payee"), exports);
@@ -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 WriteOffSortField: core.serialization.Schema<serializers.writeOffs.v1.WriteOffSortField.Raw, CandidApi.writeOffs.v1.WriteOffSortField>;
8
+ export declare namespace WriteOffSortField {
9
+ type Raw = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
10
+ }
@@ -26,8 +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.MachineUserMetadata = void 0;
29
+ exports.WriteOffSortField = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.MachineUserMetadata = core.serialization.object({
32
- name: core.serialization.string(),
33
- });
31
+ exports.WriteOffSortField = core.serialization.enum_(["amount_cents", "write_off_timestamp", "write_off_note", "write_off_reason"]);
@@ -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 WriteOffsPage: core.serialization.ObjectSchema<serializers.writeOffs.v1.WriteOffsPage.Raw, CandidApi.writeOffs.v1.WriteOffsPage>;
8
+ export declare namespace WriteOffsPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.writeOffs.v1.WriteOff.Raw[];
11
+ }
12
+ }
@@ -26,13 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.JobMetadata = void 0;
29
+ exports.WriteOffsPage = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.JobMetadata = core.serialization
32
- .union("type", {
33
- claim_job_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).jobs.v1.ClaimJobMetadata),
31
+ exports.WriteOffsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOff)),
34
34
  })
35
- .transform({
36
- transform: (value) => value,
37
- untransform: (value) => value,
38
- });
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -3,3 +3,5 @@ export * from "./WriteOff";
3
3
  export * from "./WriteOffCreate";
4
4
  export * from "./WriteOffReason";
5
5
  export * from "./CreateWriteOffsResponse";
6
+ export * from "./WriteOffsPage";
7
+ export * from "./WriteOffSortField";
@@ -19,3 +19,5 @@ __exportStar(require("./WriteOff"), exports);
19
19
  __exportStar(require("./WriteOffCreate"), exports);
20
20
  __exportStar(require("./WriteOffReason"), exports);
21
21
  __exportStar(require("./CreateWriteOffsResponse"), exports);
22
+ __exportStar(require("./WriteOffsPage"), exports);
23
+ __exportStar(require("./WriteOffSortField"), exports);
@@ -1,30 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- /**
6
- * Action to perform on claim(s)
7
- *
8
- * @example
9
- * {
10
- * type: "resubmit_fresh_claim_action"
11
- * }
12
- */
13
- export declare type ClaimAction = CandidApi.ClaimAction.VoidClaimAction | CandidApi.ClaimAction.ResubmitFreshClaimAction | CandidApi.ClaimAction.ResubmitCorrectedClaimAction | CandidApi.ClaimAction.CloseTasksAndProcessClaimAction | CandidApi.ClaimAction.MoveToWorkQueueClaimAction;
14
- export declare namespace ClaimAction {
15
- interface VoidClaimAction extends CandidApi.VoidClaimAction {
16
- type: "void_claim_action";
17
- }
18
- interface ResubmitFreshClaimAction extends CandidApi.ResubmitFreshClaimAction {
19
- type: "resubmit_fresh_claim_action";
20
- }
21
- interface ResubmitCorrectedClaimAction extends CandidApi.ResubmitCorrectedClaimAction {
22
- type: "resubmit_corrected_claim_action";
23
- }
24
- interface CloseTasksAndProcessClaimAction extends CandidApi.CloseTasksAndProcessClaimAction {
25
- type: "close_tasks_and_process_claim_action";
26
- }
27
- interface MoveToWorkQueueClaimAction extends CandidApi.MoveToWorkQueueClaimAction {
28
- type: "move_to_work_queue_claim_action";
29
- }
30
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- /**
6
- * Useful claim data for a claim action
7
- *
8
- * @example
9
- * {
10
- * encounterId: CandidApi.EncounterId("2132a68b-7acb-46c2-ba93-852b5daa1f98"),
11
- * patientFirstName: "John",
12
- * patientLastName: "Doe",
13
- * dateOfService: "2021-01-01",
14
- * claimStatus: CandidApi.ClaimStatus.Paid
15
- * }
16
- */
17
- export interface ClaimActionMetadata {
18
- encounterId: CandidApi.EncounterId;
19
- patientFirstName: string;
20
- patientLastName: string;
21
- dateOfService: string;
22
- claimStatus: CandidApi.ClaimStatus;
23
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Close all open tasks and process claim
6
- */
7
- export interface CloseTasksAndProcessClaimAction {
8
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- /**
6
- * Configuration for creating a task when moving a claim to a work queue
7
- *
8
- * @example
9
- * {
10
- * taskType: CandidApi.tasks.TaskType.CustomerDataRequest,
11
- * context: "Review claim",
12
- * actionRequired: "Review claim"
13
- * }
14
- */
15
- export interface CreateTaskConfig {
16
- category?: CandidApi.tasks.TaskCategory;
17
- taskType: CandidApi.tasks.TaskType;
18
- assignee?: CandidApi.UserId;
19
- context: string;
20
- actionRequired: string;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- /**
6
- * Move claim(s) to a work queue
7
- *
8
- * @example
9
- * {
10
- * workQueueId: CandidApi.WorkQueueId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
11
- * createTaskConfig: {
12
- * taskType: CandidApi.tasks.TaskType.CustomerDataRequest,
13
- * context: "Review claim",
14
- * actionRequired: "Review claim"
15
- * }
16
- * }
17
- */
18
- export interface MoveToWorkQueueClaimAction {
19
- workQueueId: CandidApi.WorkQueueId;
20
- createTaskConfig?: CandidApi.CreateTaskConfig;
21
- }