candidhealth 0.10.1 → 0.12.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 (585) 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 +5 -4
  13. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  14. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  15. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  16. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
  17. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  18. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
  19. package/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  20. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  21. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  22. package/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
  23. package/api/resources/encounters/resources/v4/types/index.js +2 -0
  24. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  25. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  26. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  27. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  28. package/api/resources/index.d.ts +1 -4
  29. package/api/resources/index.js +2 -5
  30. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  31. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
  32. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
  33. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
  34. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
  35. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  36. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  37. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  38. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  39. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  40. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  41. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  42. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  43. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  44. package/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  45. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  46. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  47. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  48. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  49. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  50. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  51. package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  52. package/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  53. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  54. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  55. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -0
  56. package/api/resources/patientPayments/resources/v4/client/Client.js +79 -4
  57. package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  58. package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  59. package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  60. package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  61. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +25 -0
  62. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  63. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  64. package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  65. package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  66. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  67. package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  68. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
  69. package/api/resources/patientRefunds/resources/v1/client/Client.js +79 -4
  70. package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  71. package/{dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → api/resources/patientRefunds/resources/v1/client/getMulti.js} +19 -3
  72. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  73. package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  74. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +25 -0
  75. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  76. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  77. package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  78. package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  79. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  80. package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  81. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  82. package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  83. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  84. package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  85. package/api/resources/remits/resources/v1/types/index.js +18 -0
  86. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  87. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
  88. package/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
  89. package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  90. package/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
  91. package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  92. package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  93. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  94. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  95. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  96. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  97. package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  98. package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  99. package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  100. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  101. package/api/resources/x12/resources/v1/types/index.js +2 -0
  102. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  103. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  104. package/dist/api/resources/claims/types/Claim.d.ts +1 -37
  105. package/dist/api/resources/commons/types/SortDirection.d.ts +12 -0
  106. package/dist/api/resources/commons/types/SortDirection.js +10 -0
  107. package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
  108. package/dist/api/resources/{jobs/resources/v1/types/JobId.js → commons/types/TaxId.js} +3 -3
  109. package/dist/api/resources/commons/types/index.d.ts +2 -0
  110. package/dist/api/resources/commons/types/index.js +2 -0
  111. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  112. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -4
  113. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  114. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  115. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +36 -0
  116. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -37
  117. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
  118. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +6 -37
  119. package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  120. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
  121. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -0
  122. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
  123. package/dist/api/resources/encounters/resources/v4/types/index.js +2 -0
  124. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  125. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  126. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  127. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  128. package/dist/api/resources/index.d.ts +1 -4
  129. package/dist/api/resources/index.js +2 -5
  130. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  131. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
  132. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
  133. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
  134. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
  135. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  136. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  137. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  138. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  139. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  140. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  141. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  142. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  143. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  144. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  145. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  146. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  147. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  148. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  149. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  150. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  151. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  152. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  153. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  154. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  155. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +6 -0
  156. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +79 -4
  157. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
  158. package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
  159. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  160. package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
  161. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +25 -0
  162. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  163. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  164. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
  165. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
  166. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  167. package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
  168. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -0
  169. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +79 -4
  170. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
  171. package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
  172. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  173. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
  174. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +25 -0
  175. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  176. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
  177. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
  178. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
  179. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  180. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
  181. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  182. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
  183. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
  184. package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
  185. package/dist/api/resources/remits/resources/v1/types/index.js +18 -0
  186. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  187. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +6 -0
  188. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +60 -4
  189. package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
  190. package/dist/{serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js → api/resources/writeOffs/resources/v1/client/getMulti.js} +19 -3
  191. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
  192. package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
  193. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
  194. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  195. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  196. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
  197. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
  198. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  199. package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  200. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  201. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  202. package/dist/serialization/resources/claims/types/Claim.d.ts +0 -1
  203. package/dist/serialization/resources/claims/types/Claim.js +0 -1
  204. package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts → dist/serialization/resources/commons/types/SortDirection.d.ts} +3 -4
  205. package/{serialization/resources/claimActionsCommons/types/VoidClaimAction.js → dist/serialization/resources/commons/types/SortDirection.js} +2 -2
  206. package/dist/serialization/resources/{claimActionsCommons/types/VoidClaimAction.d.ts → commons/types/TaxId.d.ts} +3 -4
  207. package/{serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → dist/serialization/resources/commons/types/TaxId.js} +7 -3
  208. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  209. package/dist/serialization/resources/commons/types/index.js +2 -0
  210. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  211. package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  212. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  213. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  214. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  215. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  216. package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  217. package/dist/serialization/resources/{users/resources/v2/types/GoogleAppsMetadata.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +3 -3
  218. package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  219. package/dist/serialization/resources/{jobs/resources/v1/types/JobStatus.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
  220. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
  221. package/dist/serialization/resources/encounters/resources/v4/types/index.js +2 -0
  222. package/dist/serialization/resources/index.d.ts +1 -4
  223. package/dist/serialization/resources/index.js +2 -5
  224. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
  225. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +4 -1
  226. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
  227. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +3 -1
  228. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
  229. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -2
  230. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
  231. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +3 -3
  232. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  233. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  234. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  235. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  236. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  237. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  238. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  239. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  240. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  241. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  242. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  243. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  244. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  245. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  246. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  247. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  248. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  249. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  250. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  251. package/dist/serialization/resources/{users/resources/v2/types/AuthZeroMetadata.js → patientRefunds/resources/v1/types/PatientRefundSortField.js} +2 -4
  252. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  253. package/dist/serialization/resources/{jobs/resources/v1/types/JobId.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +6 -6
  254. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  255. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  256. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  257. package/dist/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
  258. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  259. package/dist/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
  260. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  261. package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -0
  262. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  263. package/{serialization/resources/jobs/resources/v1/types/JobStatus.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js} +2 -2
  264. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  265. package/{serialization/resources/jobs/resources/v1/types/JobMetadata.js → dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
  266. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  267. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  268. package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  269. package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  270. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  271. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  272. package/package.json +1 -1
  273. package/serialization/resources/claims/types/Claim.d.ts +0 -1
  274. package/serialization/resources/claims/types/Claim.js +0 -1
  275. package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
  276. package/{dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js → serialization/resources/commons/types/SortDirection.js} +2 -2
  277. package/serialization/resources/commons/types/TaxId.d.ts +10 -0
  278. package/{dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js → serialization/resources/commons/types/TaxId.js} +7 -3
  279. package/serialization/resources/commons/types/index.d.ts +2 -0
  280. package/serialization/resources/commons/types/index.js +2 -0
  281. package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  282. package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  283. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
  284. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
  285. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
  286. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
  287. package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  288. package/{dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js → serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +3 -5
  289. package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
  290. package/{dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js → serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -4
  291. package/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
  292. package/serialization/resources/encounters/resources/v4/types/index.js +2 -0
  293. package/serialization/resources/index.d.ts +1 -4
  294. package/serialization/resources/index.js +2 -5
  295. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +4 -1
  296. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +4 -1
  297. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -1
  298. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +3 -1
  299. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -2
  300. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -2
  301. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +3 -3
  302. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +3 -3
  303. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  304. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  305. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  306. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  307. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  308. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  309. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  310. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  311. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  312. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  313. package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  314. package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  315. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
  316. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
  317. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
  318. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
  319. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  320. package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
  321. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
  322. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
  323. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
  324. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
  325. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  326. package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
  327. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
  328. package/serialization/resources/{users/resources/v2/types/HumanUserMetadata.js → remits/resources/v1/types/Payee.js} +4 -4
  329. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
  330. package/serialization/resources/{users/resources/v2/types/UserMetadata.js → remits/resources/v1/types/PayeeIdentifier.js} +11 -4
  331. package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
  332. package/serialization/resources/remits/resources/v1/types/index.js +18 -0
  333. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +10 -0
  334. package/serialization/resources/{users/resources/v2/types/MachineUserMetadata.js → writeOffs/resources/v1/types/WriteOffSortField.js} +2 -4
  335. package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
  336. package/{dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js → serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js} +5 -8
  337. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  338. package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  339. package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  340. package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  341. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  342. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  343. package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
  344. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
  345. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
  346. package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
  347. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
  348. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
  349. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
  350. package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
  351. package/api/resources/claimActionsCommons/types/index.d.ts +0 -8
  352. package/api/resources/claimActionsCommons/types/index.js +0 -24
  353. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
  354. package/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
  355. package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
  356. package/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
  357. package/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
  358. package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
  359. package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
  360. package/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
  361. package/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
  362. package/api/resources/jobs/resources/v1/types/index.js +0 -22
  363. package/api/resources/users/resources/index.d.ts +0 -1
  364. package/api/resources/users/resources/index.js +0 -27
  365. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  366. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
  367. package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
  368. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
  369. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
  370. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
  371. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
  372. package/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
  373. package/api/resources/users/resources/v2/types/index.d.ts +0 -8
  374. package/api/resources/users/resources/v2/types/index.js +0 -24
  375. package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -30
  376. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -23
  377. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -8
  378. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -21
  379. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -5
  380. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -21
  381. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -5
  382. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -14
  383. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +0 -5
  384. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -8
  385. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +0 -5
  386. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +0 -8
  387. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +0 -5
  388. package/dist/api/resources/claimActionsCommons/types/index.d.ts +0 -8
  389. package/dist/api/resources/claimActionsCommons/types/index.js +0 -24
  390. package/dist/api/resources/jobs/resources/v1/index.d.ts +0 -1
  391. package/dist/api/resources/jobs/resources/v1/index.js +0 -17
  392. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -29
  393. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -5
  394. package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +0 -53
  395. package/dist/api/resources/jobs/resources/v1/types/Job.js +0 -5
  396. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -8
  397. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +0 -10
  398. package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +0 -8
  399. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -30
  400. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +0 -5
  401. package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -16
  402. package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +0 -12
  403. package/dist/api/resources/jobs/resources/v1/types/index.d.ts +0 -6
  404. package/dist/api/resources/jobs/resources/v1/types/index.js +0 -22
  405. package/dist/api/resources/users/resources/index.d.ts +0 -1
  406. package/dist/api/resources/users/resources/index.js +0 -27
  407. package/dist/api/resources/users/resources/v2/index.d.ts +0 -1
  408. package/dist/api/resources/users/resources/v2/index.js +0 -17
  409. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  410. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -5
  411. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
  412. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -5
  413. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -14
  414. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +0 -5
  415. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -23
  416. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +0 -5
  417. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
  418. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +0 -5
  419. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
  420. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
  421. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -21
  422. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
  423. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +0 -28
  424. package/dist/api/resources/users/resources/v2/types/UserV2.js +0 -5
  425. package/dist/api/resources/users/resources/v2/types/index.d.ts +0 -8
  426. package/dist/api/resources/users/resources/v2/types/index.js +0 -24
  427. package/dist/serialization/resources/claimActionsCommons/index.d.ts +0 -1
  428. package/dist/serialization/resources/claimActionsCommons/index.js +0 -17
  429. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
  430. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
  431. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
  432. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
  433. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
  434. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
  435. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
  436. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
  437. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
  438. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
  439. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
  440. package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
  441. package/dist/serialization/resources/claimActionsCommons/types/index.js +0 -24
  442. package/dist/serialization/resources/jobs/index.d.ts +0 -1
  443. package/dist/serialization/resources/jobs/index.js +0 -17
  444. package/dist/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
  445. package/dist/serialization/resources/jobs/resources/v1/index.js +0 -17
  446. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
  447. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
  448. package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
  449. package/dist/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
  450. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
  451. package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
  452. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
  453. package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
  454. package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
  455. package/dist/serialization/resources/jobs/resources/v1/types/index.js +0 -22
  456. package/dist/serialization/resources/users/index.d.ts +0 -1
  457. package/dist/serialization/resources/users/index.js +0 -17
  458. package/dist/serialization/resources/users/resources/index.d.ts +0 -1
  459. package/dist/serialization/resources/users/resources/index.js +0 -27
  460. package/dist/serialization/resources/users/resources/v2/index.d.ts +0 -1
  461. package/dist/serialization/resources/users/resources/v2/index.js +0 -17
  462. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  463. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
  464. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
  465. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
  466. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
  467. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
  468. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
  469. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
  470. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
  471. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
  472. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
  473. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
  474. package/dist/serialization/resources/users/resources/v2/types/index.js +0 -24
  475. package/serialization/resources/claimActionsCommons/index.d.ts +0 -1
  476. package/serialization/resources/claimActionsCommons/index.js +0 -17
  477. package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +0 -25
  478. package/serialization/resources/claimActionsCommons/types/ClaimAction.js +0 -42
  479. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +0 -16
  480. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +0 -37
  481. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +0 -11
  482. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +0 -31
  483. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +0 -16
  484. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +0 -37
  485. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +0 -13
  486. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +0 -34
  487. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +0 -12
  488. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +0 -11
  489. package/serialization/resources/claimActionsCommons/types/index.d.ts +0 -8
  490. package/serialization/resources/claimActionsCommons/types/index.js +0 -24
  491. package/serialization/resources/jobs/index.d.ts +0 -1
  492. package/serialization/resources/jobs/index.js +0 -17
  493. package/serialization/resources/jobs/resources/v1/index.d.ts +0 -1
  494. package/serialization/resources/jobs/resources/v1/index.js +0 -17
  495. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +0 -15
  496. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +0 -36
  497. package/serialization/resources/jobs/resources/v1/types/Job.d.ts +0 -18
  498. package/serialization/resources/jobs/resources/v1/types/Job.js +0 -39
  499. package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +0 -10
  500. package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +0 -35
  501. package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +0 -10
  502. package/serialization/resources/jobs/resources/v1/types/JobId.js +0 -35
  503. package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +0 -13
  504. package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +0 -10
  505. package/serialization/resources/jobs/resources/v1/types/index.d.ts +0 -6
  506. package/serialization/resources/jobs/resources/v1/types/index.js +0 -22
  507. package/serialization/resources/users/index.d.ts +0 -1
  508. package/serialization/resources/users/index.js +0 -17
  509. package/serialization/resources/users/resources/index.d.ts +0 -1
  510. package/serialization/resources/users/resources/index.js +0 -27
  511. package/serialization/resources/users/resources/v2/index.d.ts +0 -1
  512. package/serialization/resources/users/resources/v2/index.js +0 -17
  513. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
  514. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -33
  515. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
  516. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -33
  517. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
  518. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
  519. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
  520. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
  521. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
  522. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
  523. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
  524. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
  525. package/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
  526. package/serialization/resources/users/resources/v2/types/index.d.ts +0 -8
  527. package/serialization/resources/users/resources/v2/types/index.js +0 -24
  528. /package/api/resources/{claimActionsCommons/types/ClaimAction.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
  529. /package/api/resources/{claimActionsCommons/types/ClaimActionMetadata.js → insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
  530. /package/api/resources/{claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
  531. /package/api/resources/{claimActionsCommons/types/CreateTaskConfig.js → patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
  532. /package/api/resources/{claimActionsCommons/types/MoveToWorkQueueClaimAction.js → patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
  533. /package/api/resources/{claimActionsCommons/types/ResubmitCorrectedClaimAction.js → patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
  534. /package/api/resources/{claimActionsCommons/types/ResubmitFreshClaimAction.js → patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
  535. /package/api/resources/{jobs → remits}/index.d.ts +0 -0
  536. /package/api/resources/{jobs → remits}/index.js +0 -0
  537. /package/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
  538. /package/api/resources/{jobs → remits}/resources/index.js +0 -0
  539. /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.d.ts +0 -0
  540. /package/api/resources/{claimActionsCommons → remits/resources/v1}/index.js +0 -0
  541. /package/api/resources/{claimActionsCommons/types/VoidClaimAction.js → remits/resources/v1/types/Payee.js} +0 -0
  542. /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → remits/resources/v1/types/PayeeIdentifier.js} +0 -0
  543. /package/api/resources/{insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
  544. /package/api/resources/{jobs/resources/v1/types/ClaimJobMetadata.js → writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
  545. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  546. /package/{dist/api/resources/insuranceAdjudications → api/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  547. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  548. /package/{dist/api/resources/insuranceAdjudications → api/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  549. /package/{api/resources/jobs/resources/v1/types/Job.js → dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
  550. /package/{api/resources/jobs/resources/v1/types/JobMetadata.js → dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
  551. /package/{api/resources/users/resources/v2/types/AuthZeroMetadata.js → dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
  552. /package/{api/resources/users/resources/v2/types/GoogleAppsMetadata.js → dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js} +0 -0
  553. /package/{api/resources/users/resources/v2/types/HumanUserMetadata.js → dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js} +0 -0
  554. /package/{api/resources/users/resources/v2/types/IdpUserMetadata.js → dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js} +0 -0
  555. /package/{api/resources/users/resources/v2/types/MachineUserMetadata.js → dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js} +0 -0
  556. /package/{api/resources/users → dist/api/resources/remits}/index.d.ts +0 -0
  557. /package/{api/resources/users → dist/api/resources/remits}/index.js +0 -0
  558. /package/dist/api/resources/{jobs → remits}/resources/index.d.ts +0 -0
  559. /package/dist/api/resources/{jobs → remits}/resources/index.js +0 -0
  560. /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.d.ts +0 -0
  561. /package/{api/resources/jobs → dist/api/resources/remits}/resources/v1/index.js +0 -0
  562. /package/{api/resources/users/resources/v2/types/OtherIdpMetadata.js → dist/api/resources/remits/resources/v1/types/Payee.js} +0 -0
  563. /package/{api/resources/users/resources/v2/types/UserMetadata.js → dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js} +0 -0
  564. /package/{api/resources/users/resources/v2/types/UserV2.js → dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js} +0 -0
  565. /package/dist/api/resources/{claimActionsCommons/types/ClaimAction.js → writeOffs/resources/v1/types/WriteOffsPage.js} +0 -0
  566. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  567. /package/dist/api/resources/{claimActionsCommons/types/ClaimActionMetadata.js → x12/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
  568. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  569. /package/dist/api/resources/{claimActionsCommons/types/CloseTasksAndProcessClaimAction.js → x12/resources/v1/types/RemittanceAdviceRemarkCode.js} +0 -0
  570. /package/dist/{api/resources/jobs → serialization/resources/remits}/index.d.ts +0 -0
  571. /package/dist/{api/resources/jobs → serialization/resources/remits}/index.js +0 -0
  572. /package/dist/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
  573. /package/dist/serialization/resources/{jobs → remits}/resources/index.js +0 -0
  574. /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.d.ts +0 -0
  575. /package/{api/resources/users/resources/v2 → dist/serialization/resources/remits/resources/v1}/index.js +0 -0
  576. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  577. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  578. /package/{dist/api/resources/users → serialization/resources/remits}/index.d.ts +0 -0
  579. /package/{dist/api/resources/users → serialization/resources/remits}/index.js +0 -0
  580. /package/serialization/resources/{jobs → remits}/resources/index.d.ts +0 -0
  581. /package/serialization/resources/{jobs → remits}/resources/index.js +0 -0
  582. /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.d.ts +0 -0
  583. /package/{dist/api/resources/claimActionsCommons → serialization/resources/remits/resources/v1}/index.js +0 -0
  584. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  585. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
@@ -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.InsuranceRefundsPage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceRefundsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceRefunds.v1.InsuranceRefund)),
34
+ })
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -1,3 +1,5 @@
1
1
  export * from "./InsuranceRefundId";
2
2
  export * from "./InsuranceRefund";
3
3
  export * from "./InsuranceRefundCreate";
4
+ export * from "./InsuranceRefundsPage";
5
+ export * from "./InsuranceRefundSortField";
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InsuranceRefundId"), exports);
18
18
  __exportStar(require("./InsuranceRefund"), exports);
19
19
  __exportStar(require("./InsuranceRefundCreate"), exports);
20
+ __exportStar(require("./InsuranceRefundsPage"), exports);
21
+ __exportStar(require("./InsuranceRefundSortField"), 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 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
+ }
@@ -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.AuthZeroMetadata = void 0;
29
+ exports.PatientRefundSortField = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.AuthZeroMetadata = core.serialization.object({
32
- auth0Id: core.serialization.property("auth0_id", core.serialization.string()),
33
- });
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
+ }
@@ -26,10 +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.JobId = void 0;
30
- const CandidApi = __importStar(require("../../../../../../api"));
29
+ exports.PatientRefundsPage = void 0;
31
30
  const core = __importStar(require("../../../../../../core"));
32
- exports.JobId = core.serialization.string().transform({
33
- transform: CandidApi.jobs.v1.JobId,
34
- untransform: (value) => value,
35
- });
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,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.WriteOffSortField = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.JobStatus = core.serialization.enum_(["SUCCEEDED", "FAILED", "QUEUED", "IN_PROGRESS"]);
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);
@@ -4,7 +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 ClaimAdjustmentReasonCode: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw, CandidApi.insuranceAdjudications.v1.ClaimAdjustmentReasonCode>;
7
+ export declare const ClaimAdjustmentReasonCode: core.serialization.ObjectSchema<serializers.x12.v1.ClaimAdjustmentReasonCode.Raw, CandidApi.x12.v1.ClaimAdjustmentReasonCode>;
8
8
  export declare namespace ClaimAdjustmentReasonCode {
9
9
  interface Raw {
10
10
  group_code: serializers.ClaimAdjustmentGroupCodes.Raw;
@@ -4,7 +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 RemittanceAdviceRemarkCode: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.RemittanceAdviceRemarkCode.Raw, CandidApi.insuranceAdjudications.v1.RemittanceAdviceRemarkCode>;
7
+ export declare const RemittanceAdviceRemarkCode: core.serialization.ObjectSchema<serializers.x12.v1.RemittanceAdviceRemarkCode.Raw, CandidApi.x12.v1.RemittanceAdviceRemarkCode>;
8
8
  export declare namespace RemittanceAdviceRemarkCode {
9
9
  interface Raw {
10
10
  reason_code: serializers.x12.v1.Rarc.Raw;
@@ -1,2 +1,4 @@
1
+ export * from "./ClaimAdjustmentReasonCode";
2
+ export * from "./RemittanceAdviceRemarkCode";
1
3
  export * from "./Carc";
2
4
  export * from "./Rarc";
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
18
+ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
17
19
  __exportStar(require("./Carc"), exports);
18
20
  __exportStar(require("./Rarc"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.10.1",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -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
  });
@@ -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 SortDirection: core.serialization.Schema<serializers.SortDirection.Raw, CandidApi.SortDirection>;
8
+ export declare namespace SortDirection {
9
+ type Raw = "asc" | "desc";
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"]);
@@ -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 TaxId: core.serialization.Schema<serializers.TaxId.Raw, CandidApi.TaxId>;
8
+ export declare namespace TaxId {
9
+ type Raw = string;
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);
@@ -6,11 +6,15 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
8
8
  export declare namespace Error {
9
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError;
9
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError;
10
10
  interface EncounterExternalIdUniquenessError {
11
11
  errorName: "EncounterExternalIdUniquenessError";
12
12
  content: serializers.encounters.v4.EncounterExternalIdUniquenessErrorType.Raw;
13
13
  }
14
+ interface EncounterPatientControlNumberUniquenessError {
15
+ errorName: "EncounterPatientControlNumberUniquenessError";
16
+ content: serializers.encounters.v4.EncounterPatientControlNumberUniquenessErrorType.Raw;
17
+ }
14
18
  interface EntityNotFoundError {
15
19
  errorName: "EntityNotFoundError";
16
20
  content: serializers.EntityNotFoundErrorMessage.Raw;
@@ -34,6 +34,9 @@ exports.Error = core.serialization
34
34
  EncounterExternalIdUniquenessError: core.serialization.object({
35
35
  content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterExternalIdUniquenessErrorType),
36
36
  }),
37
+ EncounterPatientControlNumberUniquenessError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterPatientControlNumberUniquenessErrorType),
39
+ }),
37
40
  EntityNotFoundError: core.serialization.object({
38
41
  content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
39
42
  }),
@@ -52,6 +55,8 @@ exports.Error = core.serialization
52
55
  switch (value.errorName) {
53
56
  case "EncounterExternalIdUniquenessError":
54
57
  return CandidApi.encounters.v4.create.Error.encounterExternalIdUniquenessError(value.content);
58
+ case "EncounterPatientControlNumberUniquenessError":
59
+ return CandidApi.encounters.v4.create.Error.encounterPatientControlNumberUniquenessError(value.content);
55
60
  case "EntityNotFoundError":
56
61
  return CandidApi.encounters.v4.create.Error.entityNotFoundError(value.content);
57
62
  case "EncounterGuarantorMissingContactInfoError":
@@ -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
  });