candidhealth 0.8.0 → 0.10.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 (785) hide show
  1. package/Client.d.ts +6 -3
  2. package/Client.js +11 -6
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  6. package/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
  7. package/api/resources/commons/types/TaskAssignmentId.d.ts +8 -0
  8. package/api/resources/commons/types/TaskAssignmentId.js +10 -0
  9. package/api/resources/commons/types/TaskId.d.ts +8 -0
  10. package/api/resources/commons/types/TaskId.js +10 -0
  11. package/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  12. package/api/resources/commons/types/TaskNoteId.js +10 -0
  13. package/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  14. package/api/resources/commons/types/UserId.d.ts +8 -0
  15. package/api/resources/commons/types/UserId.js +10 -0
  16. package/api/resources/commons/types/index.d.ts +6 -0
  17. package/api/resources/commons/types/index.js +6 -0
  18. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  19. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  20. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  21. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  22. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  23. package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  24. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  25. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  26. package/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  27. package/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  28. package/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  29. package/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  30. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  32. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  33. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  34. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  35. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  37. package/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  38. package/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  39. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  40. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  41. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  42. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  43. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  44. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  45. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  46. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  47. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  48. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  49. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  50. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  51. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  52. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  53. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  54. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  55. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  56. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  57. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  58. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  59. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  60. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  61. package/api/resources/financials/types/Allocation.d.ts +1 -1
  62. package/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  63. package/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  64. package/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  65. package/api/resources/financials/types/index.d.ts +2 -4
  66. package/api/resources/financials/types/index.js +2 -4
  67. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  68. package/api/resources/index.d.ts +2 -1
  69. package/api/resources/index.js +3 -2
  70. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  71. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.js +3 -3
  72. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  73. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  74. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  75. package/api/resources/insuranceAdjudications/resources/v1/client/create.js +47 -0
  76. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  77. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
  78. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  79. package/api/resources/{insuranceAdjudication/resources/v1/client/delete.js → insuranceAdjudications/resources/v1/client/get.js} +1 -1
  80. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  81. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  82. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  83. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  84. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  85. package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  86. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  87. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  88. package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  89. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  90. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +3 -1
  91. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
  92. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  93. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  94. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  95. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  96. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  97. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  98. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  99. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  100. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  101. package/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  102. package/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  103. package/api/resources/payers/resources/v3/types/index.d.ts +1 -0
  104. package/api/resources/payers/resources/v3/types/index.js +1 -0
  105. package/api/resources/tasks/client/Client.d.ts +18 -0
  106. package/api/resources/tasks/client/Client.js +18 -0
  107. package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  108. package/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  109. package/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  110. package/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  111. package/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  112. package/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  113. package/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  114. package/api/resources/tasks/resources/commons/types/index.js +19 -0
  115. package/api/resources/tasks/resources/index.d.ts +3 -0
  116. package/api/resources/tasks/resources/index.js +32 -0
  117. package/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
  118. package/api/resources/tasks/resources/v3/client/Client.js +306 -0
  119. package/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  120. package/{dist/api/resources/insuranceAdjudication/resources/v1/client/get.js → api/resources/tasks/resources/v3/client/create.js} +1 -1
  121. package/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  122. package/api/resources/tasks/resources/v3/client/get.js +69 -0
  123. package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  124. package/api/resources/{insuranceAdjudication/resources/v1/client/get.js → tasks/resources/v3/client/getActions.js} +1 -1
  125. package/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  126. package/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  127. package/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  128. package/api/resources/tasks/resources/v3/client/index.js +35 -0
  129. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  130. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  131. package/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  132. package/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  133. package/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  134. package/api/resources/tasks/resources/v3/client/update.js +80 -0
  135. package/api/resources/tasks/resources/v3/index.d.ts +2 -0
  136. package/api/resources/tasks/resources/v3/index.js +18 -0
  137. package/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  138. package/api/resources/tasks/resources/v3/types/Task.js +5 -0
  139. package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  140. package/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  141. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  142. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  143. package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  144. package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  145. package/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  146. package/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  147. package/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  148. package/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  149. package/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  150. package/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  151. package/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  152. package/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  153. package/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  154. package/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  155. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  156. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  157. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  158. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  159. package/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  160. package/api/resources/tasks/resources/v3/types/index.js +27 -0
  161. package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  162. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  163. package/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  164. package/api/resources/x12/resources/v1/types/Carc.js +28 -0
  165. package/dist/Client.d.ts +6 -3
  166. package/dist/Client.js +11 -6
  167. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  168. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  169. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  170. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
  171. package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +5 -0
  172. package/dist/api/resources/commons/types/TaskAssignmentId.d.ts +8 -0
  173. package/dist/api/resources/commons/types/TaskAssignmentId.js +10 -0
  174. package/dist/api/resources/commons/types/TaskId.d.ts +8 -0
  175. package/dist/api/resources/commons/types/TaskId.js +10 -0
  176. package/dist/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  177. package/dist/api/resources/commons/types/TaskNoteId.js +10 -0
  178. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  179. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
  180. package/dist/api/resources/commons/types/UserId.d.ts +8 -0
  181. package/dist/api/resources/commons/types/UserId.js +10 -0
  182. package/dist/api/resources/commons/types/index.d.ts +6 -0
  183. package/dist/api/resources/commons/types/index.js +6 -0
  184. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  185. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  186. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +8 -0
  187. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  188. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
  189. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
  190. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  191. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  192. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
  193. package/dist/api/resources/expectedNetworkStatus/client/Client.js +5 -0
  194. package/dist/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  195. package/dist/api/resources/expectedNetworkStatus/resources/index.js +2 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
  198. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
  199. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
  200. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
  201. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
  202. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
  203. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  204. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  205. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  206. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  207. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
  208. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +5 -0
  209. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
  210. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +5 -0
  211. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
  212. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +5 -0
  213. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
  214. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +5 -0
  215. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
  216. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +5 -0
  217. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
  218. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +5 -0
  219. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
  220. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +5 -0
  221. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
  222. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +5 -0
  223. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
  224. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +5 -0
  225. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
  226. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +5 -0
  227. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
  228. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +5 -0
  229. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
  230. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +5 -0
  231. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
  232. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
  233. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
  234. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
  235. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
  236. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +5 -0
  237. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
  238. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
  239. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  240. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  241. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  242. package/dist/api/resources/financials/types/Allocation.d.ts +1 -1
  243. package/dist/api/resources/financials/types/AllocationCreate.d.ts +1 -1
  244. package/dist/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
  245. package/dist/api/resources/financials/types/AllocationTarget.js +5 -0
  246. package/dist/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
  247. package/dist/api/resources/financials/types/AllocationTargetCreate.js +5 -0
  248. package/dist/api/resources/financials/types/index.d.ts +2 -4
  249. package/dist/api/resources/financials/types/index.js +2 -4
  250. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  251. package/dist/api/resources/index.d.ts +2 -1
  252. package/dist/api/resources/index.js +3 -2
  253. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
  254. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.js +3 -3
  255. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  256. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  257. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  258. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  259. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
  260. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
  261. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
  262. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +47 -0
  263. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
  264. package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +47 -0
  265. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
  266. package/{api/resources/insuranceAdjudication/resources/v1/client/create.js → dist/api/resources/insuranceAdjudications/resources/v1/client/get.js} +1 -1
  267. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  268. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  269. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
  270. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +5 -0
  271. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
  272. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  273. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  274. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
  275. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +5 -0
  276. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  277. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  278. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
  279. package/dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  280. package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
  281. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +5 -0
  282. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  283. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  284. package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
  285. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  286. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +3 -1
  287. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
  288. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  289. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  290. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  291. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  292. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  293. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  294. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  295. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  296. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  297. package/dist/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  298. package/dist/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  299. package/dist/api/resources/payers/resources/v3/types/index.d.ts +1 -0
  300. package/dist/api/resources/payers/resources/v3/types/index.js +1 -0
  301. package/dist/api/resources/tasks/client/Client.d.ts +18 -0
  302. package/dist/api/resources/tasks/client/Client.js +18 -0
  303. package/dist/api/resources/tasks/client/index.d.ts +1 -0
  304. package/dist/api/resources/tasks/client/index.js +2 -0
  305. package/dist/api/resources/tasks/index.d.ts +2 -0
  306. package/dist/api/resources/tasks/index.js +18 -0
  307. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  308. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  309. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  310. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  311. package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  312. package/dist/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  313. package/dist/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  314. package/dist/api/resources/tasks/resources/commons/types/index.js +19 -0
  315. package/dist/api/resources/tasks/resources/index.d.ts +3 -0
  316. package/dist/api/resources/tasks/resources/index.js +32 -0
  317. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
  318. package/dist/api/resources/tasks/resources/v3/client/Client.js +306 -0
  319. package/dist/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  320. package/dist/api/resources/{insuranceAdjudication/resources/v1 → tasks/resources/v3}/client/create.js +1 -1
  321. package/dist/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  322. package/dist/api/resources/tasks/resources/v3/client/get.js +69 -0
  323. package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  324. package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  325. package/dist/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  326. package/dist/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  327. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  328. package/dist/api/resources/tasks/resources/v3/client/index.js +35 -0
  329. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  330. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  331. package/dist/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  332. package/dist/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  333. package/dist/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  334. package/dist/api/resources/tasks/resources/v3/client/update.js +80 -0
  335. package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
  336. package/dist/api/resources/tasks/resources/v3/index.js +18 -0
  337. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  338. package/dist/api/resources/tasks/resources/v3/types/Task.js +5 -0
  339. package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  340. package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  341. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  342. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  343. package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  344. package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  345. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  346. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  347. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  348. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  349. package/dist/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  350. package/dist/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  351. package/dist/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  352. package/dist/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  353. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  354. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  355. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  356. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  357. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  358. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  359. package/dist/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  360. package/dist/api/resources/tasks/resources/v3/types/index.js +27 -0
  361. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  362. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  363. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
  364. package/dist/api/resources/x12/resources/v1/types/Carc.js +28 -0
  365. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  366. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  367. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  368. package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  369. package/dist/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  370. package/dist/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  371. package/dist/serialization/resources/commons/types/TaskId.d.ts +10 -0
  372. package/dist/serialization/resources/commons/types/TaskId.js +37 -0
  373. package/dist/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  374. package/dist/serialization/resources/commons/types/TaskNoteId.js +35 -0
  375. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  376. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  377. package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
  378. package/dist/serialization/resources/commons/types/UserId.js +37 -0
  379. package/dist/serialization/resources/commons/types/index.d.ts +6 -0
  380. package/dist/serialization/resources/commons/types/index.js +6 -0
  381. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  382. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  383. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  384. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  385. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  386. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  387. package/dist/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  388. package/dist/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  389. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  390. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  391. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  392. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  393. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  394. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  395. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  396. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  397. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  398. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  399. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  400. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  401. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  402. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  403. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  404. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  405. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  406. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  407. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  408. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  409. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  410. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  411. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  412. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  413. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  414. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  415. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  416. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  417. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  418. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  419. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  420. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  421. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  422. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  423. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  424. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  425. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  426. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  427. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  428. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  429. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  430. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  431. package/dist/serialization/resources/financials/types/Allocation.d.ts +1 -1
  432. package/dist/serialization/resources/financials/types/Allocation.js +1 -1
  433. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  434. package/dist/serialization/resources/financials/types/AllocationCreate.js +1 -1
  435. package/{serialization/resources/financials/types/AllocationRecipient.d.ts → dist/serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  436. package/dist/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  437. package/{serialization/resources/financials/types/AllocationRecipientCreate.d.ts → dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  438. package/dist/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  439. package/dist/serialization/resources/financials/types/index.d.ts +2 -4
  440. package/dist/serialization/resources/financials/types/index.js +2 -4
  441. package/dist/serialization/resources/index.d.ts +2 -1
  442. package/dist/serialization/resources/index.js +3 -2
  443. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  444. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  445. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  446. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  447. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  448. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  449. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  450. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  451. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  452. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  453. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  454. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  455. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  456. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  457. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  458. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  459. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  460. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  461. package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  462. package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  463. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +3 -1
  464. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +3 -1
  465. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
  466. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +3 -1
  467. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  468. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  469. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  470. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  471. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  472. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  473. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  474. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  475. package/dist/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  476. package/dist/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  477. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
  478. package/dist/serialization/resources/payers/resources/v3/types/index.js +1 -0
  479. package/dist/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  480. package/dist/serialization/resources/tasks/resources/commons/index.js +17 -0
  481. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  482. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  483. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  484. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  485. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  486. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  487. package/dist/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  488. package/dist/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  489. package/dist/serialization/resources/tasks/resources/index.d.ts +3 -0
  490. package/dist/serialization/resources/tasks/resources/index.js +32 -0
  491. package/dist/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  492. package/dist/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  493. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  494. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  495. package/dist/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  496. package/dist/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  497. package/dist/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  498. package/dist/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  499. package/dist/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  500. package/dist/serialization/resources/tasks/resources/v3/index.js +18 -0
  501. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  502. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  503. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  504. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  505. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  506. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  507. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  508. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  509. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  510. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  511. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  512. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  513. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  514. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  515. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  516. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  517. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  518. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  519. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  520. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  521. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  522. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  523. package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  524. package/dist/serialization/resources/tasks/resources/v3/types/index.js +27 -0
  525. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  526. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  527. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  528. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  529. package/package.json +1 -1
  530. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  531. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
  532. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
  533. package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
  534. package/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  535. package/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  536. package/serialization/resources/commons/types/TaskId.d.ts +10 -0
  537. package/serialization/resources/commons/types/TaskId.js +37 -0
  538. package/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  539. package/serialization/resources/commons/types/TaskNoteId.js +35 -0
  540. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  541. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  542. package/serialization/resources/commons/types/UserId.d.ts +10 -0
  543. package/serialization/resources/commons/types/UserId.js +37 -0
  544. package/serialization/resources/commons/types/index.d.ts +6 -0
  545. package/serialization/resources/commons/types/index.js +6 -0
  546. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  547. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  548. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
  549. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
  550. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  551. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  552. package/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
  553. package/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
  554. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
  555. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
  556. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
  557. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
  558. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
  559. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
  560. package/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
  561. package/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
  562. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
  563. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
  564. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
  565. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
  566. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
  567. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
  568. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
  569. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
  570. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
  571. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
  572. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
  573. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
  574. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
  575. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
  576. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
  577. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
  578. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
  579. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
  580. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
  581. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
  582. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
  583. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
  584. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
  585. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
  586. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
  587. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
  588. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
  589. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
  590. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
  591. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
  592. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
  593. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
  594. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
  595. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
  596. package/serialization/resources/financials/types/Allocation.d.ts +1 -1
  597. package/serialization/resources/financials/types/Allocation.js +1 -1
  598. package/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
  599. package/serialization/resources/financials/types/AllocationCreate.js +1 -1
  600. package/{dist/serialization/resources/financials/types/AllocationRecipient.d.ts → serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
  601. package/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
  602. package/{dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts → serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
  603. package/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
  604. package/serialization/resources/financials/types/index.d.ts +2 -4
  605. package/serialization/resources/financials/types/index.js +2 -4
  606. package/serialization/resources/index.d.ts +2 -1
  607. package/serialization/resources/index.js +3 -2
  608. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  609. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  610. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  611. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  612. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
  613. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
  614. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
  615. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
  616. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  617. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
  618. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
  619. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
  620. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  621. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
  622. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
  623. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  624. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
  625. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
  626. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
  627. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  628. package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
  629. package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
  630. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +3 -1
  631. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +3 -1
  632. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
  633. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +3 -1
  634. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
  635. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
  636. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  637. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
  638. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
  639. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
  640. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
  641. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
  642. package/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  643. package/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  644. package/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
  645. package/serialization/resources/payers/resources/v3/types/index.js +1 -0
  646. package/serialization/resources/tasks/index.d.ts +1 -0
  647. package/serialization/resources/tasks/index.js +17 -0
  648. package/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  649. package/serialization/resources/tasks/resources/commons/index.js +17 -0
  650. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  651. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  652. package/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  653. package/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  654. package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  655. package/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  656. package/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  657. package/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  658. package/serialization/resources/tasks/resources/index.d.ts +3 -0
  659. package/serialization/resources/tasks/resources/index.js +32 -0
  660. package/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  661. package/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  662. package/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  663. package/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  664. package/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  665. package/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  666. package/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  667. package/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  668. package/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  669. package/serialization/resources/tasks/resources/v3/index.js +18 -0
  670. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  671. package/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  672. package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  673. package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  674. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  675. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  676. package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  677. package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  678. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  679. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  680. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  681. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  682. package/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  683. package/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  684. package/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  685. package/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  686. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  687. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  688. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  689. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  690. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  691. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  692. package/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  693. package/serialization/resources/tasks/resources/v3/types/index.js +27 -0
  694. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
  695. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
  696. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  697. package/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
  698. package/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  699. package/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  700. package/dist/api/resources/financials/types/RefundAllocation.d.ts +0 -8
  701. package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
  702. package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  703. package/dist/serialization/resources/financials/types/RefundAllocation.js +0 -34
  704. package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  705. package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  706. package/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
  707. package/serialization/resources/financials/types/RefundAllocation.js +0 -34
  708. package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
  709. package/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
  710. /package/api/resources/{financials/types/AllocationRecipient.js → commons/types/OrganizationNotAuthorizedErrorMessage.js} +0 -0
  711. /package/api/resources/{financials/types/AllocationRecipientCreate.js → commons/types/UnprocessableEntityErrorMessage.js} +0 -0
  712. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.d.ts +0 -0
  713. /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.js +0 -0
  714. /package/api/resources/{financials/types/RefundAllocation.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js} +0 -0
  715. /package/api/resources/{financials/types/RefundAllocationCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js} +0 -0
  716. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js} +0 -0
  717. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js} +0 -0
  718. /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js} +0 -0
  719. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js} +0 -0
  720. /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js} +0 -0
  721. /package/api/resources/{insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js} +0 -0
  722. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js} +0 -0
  723. /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/InNetworkStatus.js} +0 -0
  724. /package/{dist/api/resources/financials/types/AllocationRecipient.js → api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js} +0 -0
  725. /package/{dist/api/resources/financials/types/AllocationRecipientCreate.js → api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js} +0 -0
  726. /package/{dist/api/resources/financials/types/RefundAllocation.js → api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js} +0 -0
  727. /package/{dist/api/resources/financials/types/RefundAllocationCreate.js → api/resources/financials/types/AllocationTarget.js} +0 -0
  728. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → api/resources/financials/types/AllocationTargetCreate.js} +0 -0
  729. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.d.ts +0 -0
  730. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.js +0 -0
  731. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  732. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  733. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  734. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  735. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  736. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  737. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.d.ts +0 -0
  738. /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.js +0 -0
  739. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js} +0 -0
  740. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js} +0 -0
  741. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  742. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
  743. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js} +0 -0
  744. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js} +0 -0
  745. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  746. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  747. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js} +0 -0
  748. /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js} +0 -0
  749. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  750. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  751. /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  752. /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/client/index.d.ts +0 -0
  753. /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/client/index.js +0 -0
  754. /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/index.d.ts +0 -0
  755. /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/index.js +0 -0
  756. /package/{dist/serialization/resources/insuranceAdjudication/resources/v1 → api/resources/tasks/resources/commons}/index.d.ts +0 -0
  757. /package/{dist/serialization/resources/insuranceAdjudication/resources/v1 → api/resources/tasks/resources/commons}/index.js +0 -0
  758. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  759. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  760. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
  761. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
  762. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  763. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
  764. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  765. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
  766. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  767. /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  768. /package/{serialization/resources/insuranceAdjudication/resources/v1 → dist/api/resources/tasks/resources/commons}/index.d.ts +0 -0
  769. /package/{serialization/resources/insuranceAdjudication/resources/v1 → dist/api/resources/tasks/resources/commons}/index.js +0 -0
  770. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
  771. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
  772. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  773. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  774. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  775. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  776. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  777. /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
  778. /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/tasks}/index.d.ts +0 -0
  779. /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/tasks}/index.js +0 -0
  780. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
  781. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
  782. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  783. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  784. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
  785. /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
package/Client.d.ts CHANGED
@@ -10,13 +10,14 @@ import { Encounters } from "./api/resources/encounters/client/Client";
10
10
  import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
11
11
  import { Exports } from "./api/resources/exports/client/Client";
12
12
  import { Guarantor } from "./api/resources/guarantor/client/Client";
13
- import { InsuranceAdjudication } from "./api/resources/insuranceAdjudication/client/Client";
13
+ import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
14
14
  import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
15
15
  import { OrganizationServiceFacilities } from "./api/resources/organizationServiceFacilities/client/Client";
16
16
  import { OrganizationProviders } from "./api/resources/organizationProviders/client/Client";
17
17
  import { PatientPayments } from "./api/resources/patientPayments/client/Client";
18
18
  import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
19
19
  import { Payers } from "./api/resources/payers/client/Client";
20
+ import { Tasks } from "./api/resources/tasks/client/Client";
20
21
  import { WriteOffs } from "./api/resources/writeOffs/client/Client";
21
22
  export declare namespace CandidApiClient {
22
23
  interface Options {
@@ -41,8 +42,8 @@ export declare class CandidApiClient {
41
42
  get exports(): Exports;
42
43
  protected _guarantor: Guarantor | undefined;
43
44
  get guarantor(): Guarantor;
44
- protected _insuranceAdjudication: InsuranceAdjudication | undefined;
45
- get insuranceAdjudication(): InsuranceAdjudication;
45
+ protected _insuranceAdjudications: InsuranceAdjudications | undefined;
46
+ get insuranceAdjudications(): InsuranceAdjudications;
46
47
  protected _insuranceRefunds: InsuranceRefunds | undefined;
47
48
  get insuranceRefunds(): InsuranceRefunds;
48
49
  protected _organizationServiceFacilities: OrganizationServiceFacilities | undefined;
@@ -55,6 +56,8 @@ export declare class CandidApiClient {
55
56
  get patientRefunds(): PatientRefunds;
56
57
  protected _payers: Payers | undefined;
57
58
  get payers(): Payers;
59
+ protected _tasks: Tasks | undefined;
60
+ get tasks(): Tasks;
58
61
  protected _writeOffs: WriteOffs | undefined;
59
62
  get writeOffs(): WriteOffs;
60
63
  }
package/Client.js CHANGED
@@ -11,14 +11,15 @@ const Client_4 = require("./api/resources/encounters/client/Client");
11
11
  const Client_5 = require("./api/resources/expectedNetworkStatus/client/Client");
12
12
  const Client_6 = require("./api/resources/exports/client/Client");
13
13
  const Client_7 = require("./api/resources/guarantor/client/Client");
14
- const Client_8 = require("./api/resources/insuranceAdjudication/client/Client");
14
+ const Client_8 = require("./api/resources/insuranceAdjudications/client/Client");
15
15
  const Client_9 = require("./api/resources/insuranceRefunds/client/Client");
16
16
  const Client_10 = require("./api/resources/organizationServiceFacilities/client/Client");
17
17
  const Client_11 = require("./api/resources/organizationProviders/client/Client");
18
18
  const Client_12 = require("./api/resources/patientPayments/client/Client");
19
19
  const Client_13 = require("./api/resources/patientRefunds/client/Client");
20
20
  const Client_14 = require("./api/resources/payers/client/Client");
21
- const Client_15 = require("./api/resources/writeOffs/client/Client");
21
+ const Client_15 = require("./api/resources/tasks/client/Client");
22
+ const Client_16 = require("./api/resources/writeOffs/client/Client");
22
23
  class CandidApiClient {
23
24
  options;
24
25
  constructor(options) {
@@ -52,9 +53,9 @@ class CandidApiClient {
52
53
  get guarantor() {
53
54
  return (this._guarantor ??= new Client_7.Guarantor(this.options));
54
55
  }
55
- _insuranceAdjudication;
56
- get insuranceAdjudication() {
57
- return (this._insuranceAdjudication ??= new Client_8.InsuranceAdjudication(this.options));
56
+ _insuranceAdjudications;
57
+ get insuranceAdjudications() {
58
+ return (this._insuranceAdjudications ??= new Client_8.InsuranceAdjudications(this.options));
58
59
  }
59
60
  _insuranceRefunds;
60
61
  get insuranceRefunds() {
@@ -80,9 +81,13 @@ class CandidApiClient {
80
81
  get payers() {
81
82
  return (this._payers ??= new Client_14.Payers(this.options));
82
83
  }
84
+ _tasks;
85
+ get tasks() {
86
+ return (this._tasks ??= new Client_15.Tasks(this.options));
87
+ }
83
88
  _writeOffs;
84
89
  get writeOffs() {
85
- return (this._writeOffs ??= new Client_15.WriteOffs(this.options));
90
+ return (this._writeOffs ??= new Client_16.WriteOffs(this.options));
86
91
  }
87
92
  }
88
93
  exports.CandidApiClient = CandidApiClient;
@@ -62,7 +62,7 @@ class V2 {
62
62
  Authorization: await this._getAuthorizationHeader(),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "candidhealth",
65
- "X-Fern-SDK-Version": "0.8.0",
65
+ "X-Fern-SDK-Version": "0.10.0",
66
66
  },
67
67
  contentType: "application/json",
68
68
  body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
@@ -48,7 +48,7 @@ class V2 {
48
48
  Authorization: await this._getAuthorizationHeader(),
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "candidhealth",
51
- "X-Fern-SDK-Version": "0.8.0",
51
+ "X-Fern-SDK-Version": "0.10.0",
52
52
  },
53
53
  contentType: "application/json",
54
54
  body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -22,6 +22,6 @@ import * as CandidApi from "../../../../..";
22
22
  export interface ClaimSubmissionRecordCreate {
23
23
  /** When the claim was submitted to the payer. */
24
24
  submittedAt: Date;
25
- claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode;
26
- payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType;
25
+ claimFrequencyCode?: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode;
26
+ payerResponsibility?: CandidApi.ClaimSubmissionPayerResponsibilityType;
27
27
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrganizationNotAuthorizedErrorMessage {
5
+ message: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export declare type TaskAssignmentId = string & {
6
+ TaskAssignmentId: void;
7
+ };
8
+ export declare function TaskAssignmentId(value: string): CandidApi.TaskAssignmentId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TaskAssignmentId = void 0;
7
+ function TaskAssignmentId(value) {
8
+ return value;
9
+ }
10
+ exports.TaskAssignmentId = TaskAssignmentId;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export declare type TaskId = string & {
6
+ TaskId: void;
7
+ };
8
+ export declare function TaskId(value: string): CandidApi.TaskId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TaskId = void 0;
7
+ function TaskId(value) {
8
+ return value;
9
+ }
10
+ exports.TaskId = TaskId;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export declare type TaskNoteId = string & {
6
+ TaskNoteId: void;
7
+ };
8
+ export declare function TaskNoteId(value: string): CandidApi.TaskNoteId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TaskNoteId = void 0;
7
+ function TaskNoteId(value) {
8
+ return value;
9
+ }
10
+ exports.TaskNoteId = TaskNoteId;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface UnprocessableEntityErrorMessage {
5
+ message?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export declare type UserId = string & {
6
+ UserId: void;
7
+ };
8
+ export declare function UserId(value: string): CandidApi.UserId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UserId = void 0;
7
+ function UserId(value) {
8
+ return value;
9
+ }
10
+ exports.UserId = UserId;
@@ -6,6 +6,10 @@ export * from "./PatientExternalId";
6
6
  export * from "./EncounterExternalId";
7
7
  export * from "./Npi";
8
8
  export * from "./WorkQueueId";
9
+ export * from "./UserId";
10
+ export * from "./TaskId";
11
+ export * from "./TaskAssignmentId";
12
+ export * from "./TaskNoteId";
9
13
  export * from "./ProviderId";
10
14
  export * from "./InvoiceId";
11
15
  export * from "./LinkUrl";
@@ -31,9 +35,11 @@ export * from "./EmrPayerCrosswalk";
31
35
  export * from "./ErrorMessage";
32
36
  export * from "./EntityNotFoundErrorMessage";
33
37
  export * from "./UnauthorizedErrorMessage";
38
+ export * from "./UnprocessableEntityErrorMessage";
34
39
  export * from "./HttpServiceUnavailableErrorMessage";
35
40
  export * from "./RequestValidationError";
36
41
  export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
42
+ export * from "./OrganizationNotAuthorizedErrorMessage";
37
43
  export * from "./PhoneNumber";
38
44
  export * from "./PhoneNumberType";
39
45
  export * from "./Email";
@@ -22,6 +22,10 @@ __exportStar(require("./PatientExternalId"), exports);
22
22
  __exportStar(require("./EncounterExternalId"), exports);
23
23
  __exportStar(require("./Npi"), exports);
24
24
  __exportStar(require("./WorkQueueId"), exports);
25
+ __exportStar(require("./UserId"), exports);
26
+ __exportStar(require("./TaskId"), exports);
27
+ __exportStar(require("./TaskAssignmentId"), exports);
28
+ __exportStar(require("./TaskNoteId"), exports);
25
29
  __exportStar(require("./ProviderId"), exports);
26
30
  __exportStar(require("./InvoiceId"), exports);
27
31
  __exportStar(require("./LinkUrl"), exports);
@@ -47,9 +51,11 @@ __exportStar(require("./EmrPayerCrosswalk"), exports);
47
51
  __exportStar(require("./ErrorMessage"), exports);
48
52
  __exportStar(require("./EntityNotFoundErrorMessage"), exports);
49
53
  __exportStar(require("./UnauthorizedErrorMessage"), exports);
54
+ __exportStar(require("./UnprocessableEntityErrorMessage"), exports);
50
55
  __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
51
56
  __exportStar(require("./RequestValidationError"), exports);
52
57
  __exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
58
+ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
53
59
  __exportStar(require("./PhoneNumber"), exports);
54
60
  __exportStar(require("./PhoneNumberType"), exports);
55
61
  __exportStar(require("./Email"), exports);
@@ -65,7 +65,7 @@ class V2 {
65
65
  Authorization: await this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "candidhealth",
68
- "X-Fern-SDK-Version": "0.8.0",
68
+ "X-Fern-SDK-Version": "0.10.0",
69
69
  },
70
70
  contentType: "application/json",
71
71
  body: request,
@@ -103,7 +103,7 @@ class V4 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.8.0",
106
+ "X-Fern-SDK-Version": "0.10.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V4 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.8.0",
136
+ "X-Fern-SDK-Version": "0.10.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V4 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.8.0",
165
+ "X-Fern-SDK-Version": "0.10.0",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
@@ -212,7 +212,7 @@ class V4 {
212
212
  Authorization: await this._getAuthorizationHeader(),
213
213
  "X-Fern-Language": "JavaScript",
214
214
  "X-Fern-SDK-Name": "candidhealth",
215
- "X-Fern-SDK-Version": "0.8.0",
215
+ "X-Fern-SDK-Version": "0.10.0",
216
216
  },
217
217
  contentType: "application/json",
218
218
  body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
@@ -316,6 +316,7 @@ import * as CandidApi from "../../../../..";
316
316
  * workQueueId: CandidApi.WorkQueueId("000856FE-1024-418F-BF96-2E7347AB4520"),
317
317
  * workQueueMembershipActivatedAt: new Date("2023-01-01T00:00:00.000Z"),
318
318
  * ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType.Candid,
319
+ * submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType.Candid,
319
320
  * externalId: CandidApi.EncounterExternalId("5C21490F-A9C0-45F4-B5DB-136E3AEC617A"),
320
321
  * dateOfService: CandidApi.Date_("2023-01-01"),
321
322
  * endDateOfService: CandidApi.Date_("2023-01-05"),
@@ -441,4 +442,11 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
441
442
  workQueueMembershipActivatedAt?: Date;
442
443
  /** The party who is responsible for taking the next action on an Encounter, as defined by ownership of open Tasks. */
443
444
  ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
445
+ /**
446
+ * The party who originally submitted the Claim.
447
+ * For Claims originating in Candid, this will be EncounterSubmissionOriginType.CANDID.
448
+ * For Encounters created with an external_claim_submission object, this will be EncounterSubmissionOriginType.EXTERNAL.
449
+ *
450
+ */
451
+ submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType;
444
452
  }
@@ -317,6 +317,7 @@ import * as CandidApi from "../../../../..";
317
317
  * workQueueId: CandidApi.WorkQueueId("000856FE-1024-418F-BF96-2E7347AB4520"),
318
318
  * workQueueMembershipActivatedAt: new Date("2023-01-01T00:00:00.000Z"),
319
319
  * ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType.Candid,
320
+ * submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType.Candid,
320
321
  * externalId: CandidApi.EncounterExternalId("5C21490F-A9C0-45F4-B5DB-136E3AEC617A"),
321
322
  * dateOfService: CandidApi.Date_("2023-01-01"),
322
323
  * endDateOfService: CandidApi.Date_("2023-01-05"),
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type EncounterSubmissionOriginType = "CANDID" | "EXTERNAL";
5
+ export declare const EncounterSubmissionOriginType: {
6
+ readonly Candid: "CANDID";
7
+ readonly External: "EXTERNAL";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EncounterSubmissionOriginType = void 0;
7
+ exports.EncounterSubmissionOriginType = {
8
+ Candid: "CANDID",
9
+ External: "EXTERNAL",
10
+ };
@@ -19,6 +19,7 @@ export * from "./ClinicalNote";
19
19
  export * from "./ResponsiblePartyType";
20
20
  export * from "./BillableStatusType";
21
21
  export * from "./EncounterOwnerOfNextActionType";
22
+ export * from "./EncounterSubmissionOriginType";
22
23
  export * from "./SynchronicityType";
23
24
  export * from "./CodingAttributionType";
24
25
  export * from "./EncounterPage";
@@ -35,6 +35,7 @@ __exportStar(require("./ClinicalNote"), exports);
35
35
  __exportStar(require("./ResponsiblePartyType"), exports);
36
36
  __exportStar(require("./BillableStatusType"), exports);
37
37
  __exportStar(require("./EncounterOwnerOfNextActionType"), exports);
38
+ __exportStar(require("./EncounterSubmissionOriginType"), exports);
38
39
  __exportStar(require("./SynchronicityType"), exports);
39
40
  __exportStar(require("./CodingAttributionType"), exports);
40
41
  __exportStar(require("./EncounterPage"), exports);
@@ -4,6 +4,7 @@
4
4
  import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
6
  import { V1 } from "../resources/v1/client/Client";
7
+ import { V2 } from "../resources/v2/client/Client";
7
8
  export declare namespace ExpectedNetworkStatus {
8
9
  interface Options {
9
10
  environment?: environments.CandidApiEnvironment | string;
@@ -15,4 +16,6 @@ export declare class ExpectedNetworkStatus {
15
16
  constructor(options: ExpectedNetworkStatus.Options);
16
17
  protected _v1: V1 | undefined;
17
18
  get v1(): V1;
19
+ protected _v2: V2 | undefined;
20
+ get v2(): V2;
18
21
  }
@@ -5,6 +5,7 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ExpectedNetworkStatus = void 0;
7
7
  const Client_1 = require("../resources/v1/client/Client");
8
+ const Client_2 = require("../resources/v2/client/Client");
8
9
  class ExpectedNetworkStatus {
9
10
  options;
10
11
  constructor(options) {
@@ -14,5 +15,9 @@ class ExpectedNetworkStatus {
14
15
  get v1() {
15
16
  return (this._v1 ??= new Client_1.V1(this.options));
16
17
  }
18
+ _v2;
19
+ get v2() {
20
+ return (this._v2 ??= new Client_2.V2(this.options));
21
+ }
17
22
  }
18
23
  exports.ExpectedNetworkStatus = ExpectedNetworkStatus;
@@ -1 +1,2 @@
1
1
  export * as v1 from "./v1";
2
+ export * as v2 from "./v2";
@@ -23,5 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v1 = void 0;
26
+ exports.v2 = exports.v1 = void 0;
27
27
  exports.v1 = __importStar(require("./v1"));
28
+ exports.v2 = __importStar(require("./v2"));
@@ -53,7 +53,7 @@ class V1 {
53
53
  Authorization: await this._getAuthorizationHeader(),
54
54
  "X-Fern-Language": "JavaScript",
55
55
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.8.0",
56
+ "X-Fern-SDK-Version": "0.10.0",
57
57
  },
58
58
  contentType: "application/json",
59
59
  body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as CandidApi from "../../../../..";
7
+ export declare namespace V2 {
8
+ interface Options {
9
+ environment?: environments.CandidApiEnvironment | string;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ }
13
+ export declare class V2 {
14
+ protected readonly options: V2.Options;
15
+ constructor(options: V2.Options);
16
+ /**
17
+ * Computes the expected network status for a given rendering provider.
18
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
19
+ * to discuss enabling this endpoint if it is not available for your organization.
20
+ * **This endpoint is incubating.**
21
+ *
22
+ */
23
+ computeForRenderingProvider(renderingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId, request: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2, CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error>>;
24
+ /**
25
+ * Computes all the in network providers for a given set of inputs.
26
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
27
+ * to discuss enabling this endpoint if it is not available for your organization.
28
+ * **This endpoint is incubating.**
29
+ *
30
+ */
31
+ computeAllInNetworkProviders(request: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse, CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error>>;
32
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
33
+ }
@@ -0,0 +1,163 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.V2 = void 0;
33
+ const environments = __importStar(require("../../../../../../environments"));
34
+ const core = __importStar(require("../../../../../../core"));
35
+ const CandidApi = __importStar(require("../../../../.."));
36
+ const serializers = __importStar(require("../../../../../../serialization"));
37
+ const url_join_1 = __importDefault(require("url-join"));
38
+ class V2 {
39
+ options;
40
+ constructor(options) {
41
+ this.options = options;
42
+ }
43
+ /**
44
+ * Computes the expected network status for a given rendering provider.
45
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
46
+ * to discuss enabling this endpoint if it is not available for your organization.
47
+ * **This endpoint is incubating.**
48
+ *
49
+ */
50
+ async computeForRenderingProvider(renderingProviderId, request) {
51
+ const _response = await core.fetcher({
52
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/expected-network-status/v2/compute/${await serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId)}`),
53
+ method: "POST",
54
+ headers: {
55
+ Authorization: await this._getAuthorizationHeader(),
56
+ "X-Fern-Language": "JavaScript",
57
+ "X-Fern-SDK-Name": "candidhealth",
58
+ "X-Fern-SDK-Version": "0.10.0",
59
+ },
60
+ contentType: "application/json",
61
+ body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
62
+ unrecognizedObjectKeys: "strip",
63
+ }),
64
+ timeoutMs: 60000,
65
+ });
66
+ if (_response.ok) {
67
+ return {
68
+ ok: true,
69
+ body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2.parseOrThrow(_response.body, {
70
+ unrecognizedObjectKeys: "passthrough",
71
+ allowUnrecognizedUnionMembers: true,
72
+ allowUnrecognizedEnumValues: true,
73
+ breadcrumbsPrefix: ["response"],
74
+ }),
75
+ };
76
+ }
77
+ if (_response.error.reason === "status-code") {
78
+ switch (_response.error.body
79
+ ?.errorName) {
80
+ case "ExpectedNetworkStatusCheckError":
81
+ case "OrganizationNotAuthorizedError":
82
+ return {
83
+ ok: false,
84
+ error: await serializers.expectedNetworkStatus.v2.computeForRenderingProvider.Error.parseOrThrow(_response.error
85
+ .body, {
86
+ unrecognizedObjectKeys: "passthrough",
87
+ allowUnrecognizedUnionMembers: true,
88
+ allowUnrecognizedEnumValues: true,
89
+ breadcrumbsPrefix: ["response"],
90
+ }),
91
+ };
92
+ }
93
+ }
94
+ return {
95
+ ok: false,
96
+ error: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._unknown(_response.error),
97
+ };
98
+ }
99
+ /**
100
+ * Computes all the in network providers for a given set of inputs.
101
+ * This endpoint is not available to all customers. Reach out to the Candid sales team
102
+ * to discuss enabling this endpoint if it is not available for your organization.
103
+ * **This endpoint is incubating.**
104
+ *
105
+ */
106
+ async computeAllInNetworkProviders(request) {
107
+ const _response = await core.fetcher({
108
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/expected-network-status/v2/compute"),
109
+ method: "POST",
110
+ headers: {
111
+ Authorization: await this._getAuthorizationHeader(),
112
+ "X-Fern-Language": "JavaScript",
113
+ "X-Fern-SDK-Name": "candidhealth",
114
+ "X-Fern-SDK-Version": "0.10.0",
115
+ },
116
+ contentType: "application/json",
117
+ body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
118
+ unrecognizedObjectKeys: "strip",
119
+ }),
120
+ timeoutMs: 60000,
121
+ });
122
+ if (_response.ok) {
123
+ return {
124
+ ok: true,
125
+ body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse.parseOrThrow(_response.body, {
126
+ unrecognizedObjectKeys: "passthrough",
127
+ allowUnrecognizedUnionMembers: true,
128
+ allowUnrecognizedEnumValues: true,
129
+ breadcrumbsPrefix: ["response"],
130
+ }),
131
+ };
132
+ }
133
+ if (_response.error.reason === "status-code") {
134
+ switch (_response.error.body
135
+ ?.errorName) {
136
+ case "ExpectedNetworkStatusCheckError":
137
+ case "OrganizationNotAuthorizedError":
138
+ return {
139
+ ok: false,
140
+ error: await serializers.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.parseOrThrow(_response.error
141
+ .body, {
142
+ unrecognizedObjectKeys: "passthrough",
143
+ allowUnrecognizedUnionMembers: true,
144
+ allowUnrecognizedEnumValues: true,
145
+ breadcrumbsPrefix: ["response"],
146
+ }),
147
+ };
148
+ }
149
+ }
150
+ return {
151
+ ok: false,
152
+ error: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._unknown(_response.error),
153
+ };
154
+ }
155
+ async _getAuthorizationHeader() {
156
+ const bearer = await core.Supplier.get(this.options.token);
157
+ if (bearer != null) {
158
+ return `Bearer ${bearer}`;
159
+ }
160
+ return undefined;
161
+ }
162
+ }
163
+ exports.V2 = V2;