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
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.10.1",
52
+ "X-Fern-SDK-Version": "0.11.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.10.1",
122
+ "X-Fern-SDK-Version": "0.11.0",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.10.1",
166
+ "X-Fern-SDK-Version": "0.11.0",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.10.1",
210
+ "X-Fern-SDK-Version": "0.11.0",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.10.1",
240
+ "X-Fern-SDK-Version": "0.11.0",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -13,6 +13,12 @@ export declare namespace V1 {
13
13
  export declare class V1 {
14
14
  protected readonly options: V1.Options;
15
15
  constructor(options: V1.Options);
16
+ /**
17
+ * Returns all write-offs satisfying the search criteria AND whose organization_id matches
18
+ * the current organization_id of the authenticated user.
19
+ *
20
+ */
21
+ getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
16
22
  /**
17
23
  * Retrieves a previously created write off by its `write_off_id`.
18
24
  *
@@ -33,13 +33,69 @@ exports.V1 = void 0;
33
33
  const environments = __importStar(require("../../../../../../environments"));
34
34
  const core = __importStar(require("../../../../../../core"));
35
35
  const CandidApi = __importStar(require("../../../../.."));
36
- const serializers = __importStar(require("../../../../../../serialization"));
36
+ const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
37
37
  const url_join_1 = __importDefault(require("url-join"));
38
+ const serializers = __importStar(require("../../../../../../serialization"));
38
39
  class V1 {
39
40
  options;
40
41
  constructor(options) {
41
42
  this.options = options;
42
43
  }
44
+ /**
45
+ * Returns all write-offs satisfying the search criteria AND whose organization_id matches
46
+ * the current organization_id of the authenticated user.
47
+ *
48
+ */
49
+ async getMulti(request = {}) {
50
+ const { limit, patientExternalId, serviceLineId, sort, sortDirection, pageToken } = request;
51
+ const _queryParams = new url_search_params_1.default();
52
+ if (limit != null) {
53
+ _queryParams.append("limit", limit.toString());
54
+ }
55
+ if (patientExternalId != null) {
56
+ _queryParams.append("patient_external_id", patientExternalId);
57
+ }
58
+ if (serviceLineId != null) {
59
+ _queryParams.append("service_line_id", serviceLineId);
60
+ }
61
+ if (sort != null) {
62
+ _queryParams.append("sort", sort);
63
+ }
64
+ if (sortDirection != null) {
65
+ _queryParams.append("sort_direction", sortDirection);
66
+ }
67
+ if (pageToken != null) {
68
+ _queryParams.append("page_token", pageToken);
69
+ }
70
+ const _response = await core.fetcher({
71
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/write-offs/v1"),
72
+ method: "GET",
73
+ headers: {
74
+ Authorization: await this._getAuthorizationHeader(),
75
+ "X-Fern-Language": "JavaScript",
76
+ "X-Fern-SDK-Name": "candidhealth",
77
+ "X-Fern-SDK-Version": "0.11.0",
78
+ },
79
+ contentType: "application/json",
80
+ queryParameters: _queryParams,
81
+ timeoutMs: 60000,
82
+ });
83
+ if (_response.ok) {
84
+ return {
85
+ ok: true,
86
+ body: await serializers.writeOffs.v1.WriteOffsPage.parseOrThrow(_response.body, {
87
+ unrecognizedObjectKeys: "passthrough",
88
+ allowUnrecognizedUnionMembers: true,
89
+ allowUnrecognizedEnumValues: true,
90
+ breadcrumbsPrefix: ["response"],
91
+ }),
92
+ };
93
+ }
94
+ return {
95
+ ok: false,
96
+ error: CandidApi.writeOffs.v1.getMulti.Error._unknown(_response.error),
97
+ };
98
+ }
43
99
  /**
44
100
  * Retrieves a previously created write off by its `write_off_id`.
45
101
  *
@@ -52,7 +108,7 @@ class V1 {
52
108
  Authorization: await this._getAuthorizationHeader(),
53
109
  "X-Fern-Language": "JavaScript",
54
110
  "X-Fern-SDK-Name": "candidhealth",
55
- "X-Fern-SDK-Version": "0.10.1",
111
+ "X-Fern-SDK-Version": "0.11.0",
56
112
  },
57
113
  contentType: "application/json",
58
114
  timeoutMs: 60000,
@@ -87,7 +143,7 @@ class V1 {
87
143
  Authorization: await this._getAuthorizationHeader(),
88
144
  "X-Fern-Language": "JavaScript",
89
145
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.10.1",
146
+ "X-Fern-SDK-Version": "0.11.0",
91
147
  },
92
148
  contentType: "application/json",
93
149
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -123,7 +179,7 @@ class V1 {
123
179
  Authorization: await this._getAuthorizationHeader(),
124
180
  "X-Fern-Language": "JavaScript",
125
181
  "X-Fern-SDK-Name": "candidhealth",
126
- "X-Fern-SDK-Version": "0.10.1",
182
+ "X-Fern-SDK-Version": "0.11.0",
127
183
  },
128
184
  contentType: "application/json",
129
185
  timeoutMs: 60000,
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.writeOffs.v1.getMulti.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.writeOffs.v1.getMulti.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.getMulti.Error, visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -26,6 +26,22 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ResubmitFreshClaimAction = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ResubmitFreshClaimAction = core.serialization.object({});
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ _unknown: (fetcherError) => {
33
+ return {
34
+ errorName: undefined,
35
+ content: fetcherError,
36
+ _visit: function (visitor) {
37
+ return CandidApi.writeOffs.v1.getMulti.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _visit: (value, visitor) => {
42
+ switch (value.errorName) {
43
+ default:
44
+ return visitor._other(value);
45
+ }
46
+ },
47
+ };
@@ -1,4 +1,5 @@
1
1
  export * from "./requests";
2
+ export * as getMulti from "./getMulti";
2
3
  export * as get from "./get";
3
4
  export * as create from "./create";
4
5
  export * as revert from "./revert";
@@ -26,8 +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.revert = exports.create = exports.get = void 0;
29
+ exports.revert = exports.create = exports.get = exports.getMulti = void 0;
30
30
  __exportStar(require("./requests"), exports);
31
+ exports.getMulti = __importStar(require("./getMulti"));
31
32
  exports.get = __importStar(require("./get"));
32
33
  exports.create = __importStar(require("./create"));
33
34
  exports.revert = __importStar(require("./revert"));
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface GetMultiWriteOffsRequest {
6
+ /**
7
+ * Defaults to 100. The value must be greater than 0 and less than 1000.
8
+ */
9
+ limit?: number;
10
+ patientExternalId?: CandidApi.PatientExternalId;
11
+ serviceLineId?: CandidApi.ServiceLineId;
12
+ /**
13
+ * Defaults to write_off_timestamp
14
+ */
15
+ sort?: CandidApi.writeOffs.v1.WriteOffSortField;
16
+ /**
17
+ * Sort direction. Defaults to descending order if not provided.
18
+ */
19
+ sortDirection?: CandidApi.SortDirection;
20
+ pageToken?: CandidApi.PageToken;
21
+ }
@@ -1 +1,2 @@
1
+ export { GetMultiWriteOffsRequest } from "./GetMultiWriteOffsRequest";
1
2
  export { CreateWriteOffsRequest } from "./CreateWriteOffsRequest";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
5
+ export declare const WriteOffSortField: {
6
+ readonly AmountCents: "amount_cents";
7
+ readonly WriteOffTimestamp: "write_off_timestamp";
8
+ readonly WriteOffNote: "write_off_note";
9
+ readonly WriteOffReason: "write_off_reason";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WriteOffSortField = void 0;
7
+ exports.WriteOffSortField = {
8
+ AmountCents: "amount_cents",
9
+ WriteOffTimestamp: "write_off_timestamp",
10
+ WriteOffNote: "write_off_note",
11
+ WriteOffReason: "write_off_reason",
12
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface WriteOffsPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.writeOffs.v1.WriteOff[];
7
+ }
@@ -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);
@@ -14,6 +14,5 @@ export declare namespace Claim {
14
14
  payer_claim_id?: string | null;
15
15
  service_lines: serializers.serviceLines.v2.ServiceLine.Raw[];
16
16
  eras: serializers.Era.Raw[];
17
- active_job?: serializers.jobs.v1.Job.Raw | null;
18
17
  }
19
18
  }
@@ -36,5 +36,4 @@ exports.Claim = core.serialization.object({
36
36
  payerClaimId: core.serialization.property("payer_claim_id", core.serialization.string().optional()),
37
37
  serviceLines: core.serialization.property("service_lines", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).serviceLines.v2.ServiceLine))),
38
38
  eras: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Era)),
39
- activeJob: core.serialization.property("active_job", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).jobs.v1.Job).optional()),
40
39
  });
@@ -4,8 +4,7 @@
4
4
  import * as serializers from "../../..";
5
5
  import * as CandidApi from "../../../../api";
6
6
  import * as core from "../../../../core";
7
- export declare const VoidClaimAction: core.serialization.ObjectSchema<serializers.VoidClaimAction.Raw, CandidApi.VoidClaimAction>;
8
- export declare namespace VoidClaimAction {
9
- interface Raw {
10
- }
7
+ export declare const SortDirection: core.serialization.Schema<serializers.SortDirection.Raw, CandidApi.SortDirection>;
8
+ export declare namespace SortDirection {
9
+ type Raw = "asc" | "desc";
11
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.VoidClaimAction = void 0;
29
+ exports.SortDirection = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.VoidClaimAction = core.serialization.object({});
31
+ exports.SortDirection = core.serialization.enum_(["asc", "desc"]);
@@ -4,8 +4,7 @@
4
4
  import * as serializers from "../../..";
5
5
  import * as CandidApi from "../../../../api";
6
6
  import * as core from "../../../../core";
7
- export declare const VoidClaimAction: core.serialization.ObjectSchema<serializers.VoidClaimAction.Raw, CandidApi.VoidClaimAction>;
8
- export declare namespace VoidClaimAction {
9
- interface Raw {
10
- }
7
+ export declare const TaxId: core.serialization.Schema<serializers.TaxId.Raw, CandidApi.TaxId>;
8
+ export declare namespace TaxId {
9
+ type Raw = string;
11
10
  }
@@ -26,8 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ResubmitCorrectedClaimAction = void 0;
29
+ exports.TaxId = void 0;
30
+ const CandidApi = __importStar(require("../../../../api"));
30
31
  const core = __importStar(require("../../../../core"));
31
- exports.ResubmitCorrectedClaimAction = core.serialization.object({
32
- correctionReason: core.serialization.property("correction_reason", core.serialization.string()),
32
+ exports.TaxId = core.serialization
33
+ .string()
34
+ .transform({
35
+ transform: CandidApi.TaxId,
36
+ untransform: (value) => value,
33
37
  });
@@ -5,6 +5,7 @@ export * from "./ServiceLineId";
5
5
  export * from "./PatientExternalId";
6
6
  export * from "./EncounterExternalId";
7
7
  export * from "./Npi";
8
+ export * from "./TaxId";
8
9
  export * from "./WorkQueueId";
9
10
  export * from "./UserId";
10
11
  export * from "./TaskId";
@@ -14,6 +15,7 @@ export * from "./ProviderId";
14
15
  export * from "./InvoiceId";
15
16
  export * from "./LinkUrl";
16
17
  export * from "./PageToken";
18
+ export * from "./SortDirection";
17
19
  export * from "./Date_";
18
20
  export * from "./DateRangeOptionalEnd";
19
21
  export * from "./Decimal";
@@ -21,6 +21,7 @@ __exportStar(require("./ServiceLineId"), exports);
21
21
  __exportStar(require("./PatientExternalId"), exports);
22
22
  __exportStar(require("./EncounterExternalId"), exports);
23
23
  __exportStar(require("./Npi"), exports);
24
+ __exportStar(require("./TaxId"), exports);
24
25
  __exportStar(require("./WorkQueueId"), exports);
25
26
  __exportStar(require("./UserId"), exports);
26
27
  __exportStar(require("./TaskId"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./ProviderId"), exports);
30
31
  __exportStar(require("./InvoiceId"), exports);
31
32
  __exportStar(require("./LinkUrl"), exports);
32
33
  __exportStar(require("./PageToken"), exports);
34
+ __exportStar(require("./SortDirection"), exports);
33
35
  __exportStar(require("./Date_"), exports);
34
36
  __exportStar(require("./DateRangeOptionalEnd"), exports);
35
37
  __exportStar(require("./Decimal"), exports);
@@ -24,5 +24,10 @@ export declare namespace EncounterUpdate {
24
24
  end_date_of_service?: serializers.Date_.Raw | null;
25
25
  subscriber_secondary?: serializers.SubscriberCreate.Raw | null;
26
26
  additional_information?: string | null;
27
+ service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
28
+ admission_date?: serializers.Date_.Raw | null;
29
+ discharge_date?: serializers.Date_.Raw | null;
30
+ onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
31
+ last_menstrual_period_date?: serializers.Date_.Raw | null;
27
32
  }
28
33
  }
@@ -60,4 +60,11 @@ exports.EncounterUpdate = core.serialization.object({
60
60
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
61
61
  subscriberSecondary: core.serialization.property("subscriber_secondary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
62
62
  additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
63
+ serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
64
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.ServiceAuthorizationExceptionCode)
65
+ .optional()),
66
+ admissionDate: core.serialization.property("admission_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
67
+ dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
68
+ onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
69
+ lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
63
70
  });
@@ -23,5 +23,10 @@ export declare namespace EncounterBase {
23
23
  billable_status: serializers.encounters.v4.BillableStatusType.Raw;
24
24
  responsible_party: serializers.encounters.v4.ResponsiblePartyType.Raw;
25
25
  additional_information?: string | null;
26
+ service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
27
+ admission_date?: serializers.Date_.Raw | null;
28
+ discharge_date?: serializers.Date_.Raw | null;
29
+ onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
30
+ last_menstrual_period_date?: serializers.Date_.Raw | null;
26
31
  }
27
32
  }
@@ -53,4 +53,11 @@ exports.EncounterBase = core.serialization.object({
53
53
  billableStatus: core.serialization.property("billable_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.BillableStatusType)),
54
54
  responsibleParty: core.serialization.property("responsible_party", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ResponsiblePartyType)),
55
55
  additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
56
+ serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
57
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ServiceAuthorizationExceptionCode)
58
+ .optional()),
59
+ admissionDate: core.serialization.property("admission_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
60
+ dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
61
+ onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
62
+ lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
56
63
  });
@@ -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 ServiceAuthorizationExceptionCode: core.serialization.Schema<serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw, CandidApi.encounters.v4.ServiceAuthorizationExceptionCode>;
8
+ export declare namespace ServiceAuthorizationExceptionCode {
9
+ type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7";
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.JobStatus = void 0;
29
+ exports.ServiceAuthorizationExceptionCode = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.JobStatus = core.serialization.enum_(["SUCCEEDED", "FAILED", "QUEUED", "IN_PROGRESS"]);
31
+ exports.ServiceAuthorizationExceptionCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7"]);
@@ -30,3 +30,4 @@ export * from "./IntakeFollowUpId";
30
30
  export * from "./EncounterExternalIdUniquenessErrorType";
31
31
  export * from "./EncounterGuarantorMissingContactInfoErrorType";
32
32
  export * from "./CashPayPayerErrorMessage";
33
+ export * from "./ServiceAuthorizationExceptionCode";
@@ -46,3 +46,4 @@ __exportStar(require("./IntakeFollowUpId"), exports);
46
46
  __exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
47
47
  __exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
48
48
  __exportStar(require("./CashPayPayerErrorMessage"), exports);
49
+ __exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
@@ -8,19 +8,16 @@ export * as exports from "./exports";
8
8
  export * as guarantor from "./guarantor";
9
9
  export * as insuranceAdjudications from "./insuranceAdjudications";
10
10
  export * as insuranceRefunds from "./insuranceRefunds";
11
- export * as jobs from "./jobs";
12
11
  export * as organizationServiceFacilities from "./organizationServiceFacilities";
13
12
  export * as organizationProviders from "./organizationProviders";
14
13
  export * as patientPayments from "./patientPayments";
15
14
  export * as patientRefunds from "./patientRefunds";
16
15
  export * as payers from "./payers";
16
+ export * as remits from "./remits";
17
17
  export * as serviceLines from "./serviceLines";
18
18
  export * as tasks from "./tasks";
19
- export * as users from "./users";
20
19
  export * as writeOffs from "./writeOffs";
21
20
  export * as x12 from "./x12";
22
- export * as claimActionsCommons from "./claimActionsCommons";
23
- export * from "./claimActionsCommons/types";
24
21
  export * as claims from "./claims";
25
22
  export * from "./claims/types";
26
23
  export * as commons from "./commons";
@@ -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;