candidhealth 0.9.0 → 0.10.1

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 (775) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  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/claimActionsCommons/index.d.ts +1 -0
  6. package/api/resources/claimActionsCommons/index.js +17 -0
  7. package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
  8. package/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
  9. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
  10. package/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
  11. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
  12. package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
  13. package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
  14. package/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
  15. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
  16. package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
  17. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
  18. package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
  19. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
  20. package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
  21. package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
  22. package/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
  23. package/api/resources/claimActionsCommons/types/index.d.ts +8 -0
  24. package/api/resources/claimActionsCommons/types/index.js +24 -0
  25. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  26. package/api/resources/claims/types/Claim.d.ts +37 -1
  27. package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  28. package/api/resources/claims/types/ClaimStatus.js +1 -0
  29. package/api/resources/commons/types/TaskAssignmentId.d.ts +8 -0
  30. package/api/resources/commons/types/TaskAssignmentId.js +10 -0
  31. package/api/resources/commons/types/TaskId.d.ts +8 -0
  32. package/api/resources/commons/types/TaskId.js +10 -0
  33. package/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  34. package/api/resources/commons/types/TaskNoteId.js +10 -0
  35. package/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  36. package/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
  37. package/api/resources/commons/types/UserId.d.ts +8 -0
  38. package/api/resources/commons/types/UserId.js +10 -0
  39. package/api/resources/commons/types/index.d.ts +5 -0
  40. package/api/resources/commons/types/index.js +5 -0
  41. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  42. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  43. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  44. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
  45. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
  46. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  47. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  48. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  49. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  50. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  51. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  52. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  53. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  54. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  55. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  56. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  57. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  58. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  59. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  60. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  61. package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  62. package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  63. package/api/resources/financials/types/PatientTransactionSource.js +15 -0
  64. package/api/resources/financials/types/index.d.ts +1 -0
  65. package/api/resources/financials/types/index.js +1 -0
  66. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  67. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  68. package/api/resources/index.d.ts +5 -0
  69. package/api/resources/index.js +6 -1
  70. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  71. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  72. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  73. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  74. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  75. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  76. package/api/resources/jobs/index.d.ts +1 -0
  77. package/api/resources/jobs/index.js +17 -0
  78. package/api/resources/jobs/resources/index.d.ts +1 -0
  79. package/api/resources/jobs/resources/index.js +27 -0
  80. package/api/resources/jobs/resources/v1/index.d.ts +1 -0
  81. package/api/resources/jobs/resources/v1/index.js +17 -0
  82. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
  83. package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
  84. package/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
  85. package/api/resources/jobs/resources/v1/types/Job.js +5 -0
  86. package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
  87. package/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
  88. package/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
  89. package/api/resources/jobs/resources/v1/types/JobId.js +10 -0
  90. package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
  91. package/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
  92. package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
  93. package/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
  94. package/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
  95. package/api/resources/jobs/resources/v1/types/index.js +22 -0
  96. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  97. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  98. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
  99. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
  100. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  101. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
  102. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
  103. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  104. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  105. package/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  106. package/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  107. package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  108. package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  109. package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  110. package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  111. package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  112. package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  113. package/api/resources/payers/resources/v3/types/index.d.ts +4 -0
  114. package/api/resources/payers/resources/v3/types/index.js +4 -0
  115. package/api/resources/tasks/client/Client.d.ts +18 -0
  116. package/api/resources/tasks/client/Client.js +18 -0
  117. package/api/resources/tasks/client/index.d.ts +1 -0
  118. package/api/resources/tasks/client/index.js +2 -0
  119. package/api/resources/tasks/index.d.ts +2 -0
  120. package/api/resources/tasks/index.js +18 -0
  121. package/api/resources/tasks/resources/commons/index.d.ts +1 -0
  122. package/api/resources/tasks/resources/commons/index.js +17 -0
  123. package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  124. package/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  125. package/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  126. package/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  127. package/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  128. package/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  129. package/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  130. package/api/resources/tasks/resources/commons/types/index.js +19 -0
  131. package/api/resources/tasks/resources/index.d.ts +3 -0
  132. package/api/resources/tasks/resources/index.js +32 -0
  133. package/api/resources/tasks/resources/v3/client/Client.d.ts +22 -0
  134. package/api/resources/tasks/resources/v3/client/Client.js +286 -0
  135. package/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  136. package/api/resources/tasks/resources/v3/client/create.js +47 -0
  137. package/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  138. package/api/resources/tasks/resources/v3/client/get.js +69 -0
  139. package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  140. package/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  141. package/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  142. package/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  143. package/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  144. package/api/resources/tasks/resources/v3/client/index.js +35 -0
  145. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  146. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  147. package/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  148. package/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  149. package/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  150. package/api/resources/tasks/resources/v3/client/update.js +80 -0
  151. package/api/resources/tasks/resources/v3/index.d.ts +2 -0
  152. package/api/resources/tasks/resources/v3/index.js +18 -0
  153. package/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  154. package/api/resources/tasks/resources/v3/types/Task.js +5 -0
  155. package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  156. package/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  157. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  158. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  159. package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  160. package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  161. package/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  162. package/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  163. package/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  164. package/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  165. package/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  166. package/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  167. package/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  168. package/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  169. package/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  170. package/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  171. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  172. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  173. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  174. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  175. package/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  176. package/api/resources/tasks/resources/v3/types/index.js +27 -0
  177. package/api/resources/users/index.d.ts +1 -0
  178. package/api/resources/users/index.js +17 -0
  179. package/api/resources/users/resources/index.d.ts +1 -0
  180. package/api/resources/users/resources/index.js +27 -0
  181. package/api/resources/users/resources/v2/index.d.ts +1 -0
  182. package/api/resources/users/resources/v2/index.js +17 -0
  183. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  184. package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  185. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  186. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  187. package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
  188. package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  189. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
  190. package/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  191. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  192. package/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  193. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  194. package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  195. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
  196. package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  197. package/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
  198. package/api/resources/users/resources/v2/types/UserV2.js +5 -0
  199. package/api/resources/users/resources/v2/types/index.d.ts +8 -0
  200. package/api/resources/users/resources/v2/types/index.js +24 -0
  201. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
  202. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
  203. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  204. package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  205. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  206. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  207. package/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  208. package/api/resources/writeOffs/resources/v1/types/index.js +1 -0
  209. package/dist/Client.d.ts +3 -0
  210. package/dist/Client.js +7 -2
  211. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  212. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  213. package/dist/api/resources/claimActionsCommons/index.d.ts +1 -0
  214. package/dist/api/resources/claimActionsCommons/index.js +17 -0
  215. package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
  216. package/dist/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
  217. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
  218. package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
  219. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
  220. package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
  221. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
  222. package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
  223. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
  224. package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
  225. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
  226. package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
  227. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
  228. package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
  229. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
  230. package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
  231. package/dist/api/resources/claimActionsCommons/types/index.d.ts +8 -0
  232. package/dist/api/resources/claimActionsCommons/types/index.js +24 -0
  233. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
  234. package/dist/api/resources/claims/types/Claim.d.ts +37 -1
  235. package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
  236. package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
  237. package/dist/api/resources/commons/types/TaskAssignmentId.d.ts +8 -0
  238. package/dist/api/resources/commons/types/TaskAssignmentId.js +10 -0
  239. package/dist/api/resources/commons/types/TaskId.d.ts +8 -0
  240. package/dist/api/resources/commons/types/TaskId.js +10 -0
  241. package/dist/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  242. package/dist/api/resources/commons/types/TaskNoteId.js +10 -0
  243. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  244. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
  245. package/dist/api/resources/commons/types/UserId.d.ts +8 -0
  246. package/dist/api/resources/commons/types/UserId.js +10 -0
  247. package/dist/api/resources/commons/types/index.d.ts +5 -0
  248. package/dist/api/resources/commons/types/index.js +5 -0
  249. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  250. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  251. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  252. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
  253. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
  254. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  255. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  256. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  257. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  258. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
  259. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
  260. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  261. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
  262. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
  263. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
  264. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  265. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  266. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  267. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  268. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  269. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  270. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
  271. package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
  272. package/dist/api/resources/financials/types/index.d.ts +1 -0
  273. package/dist/api/resources/financials/types/index.js +1 -0
  274. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  275. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  276. package/dist/api/resources/index.d.ts +5 -0
  277. package/dist/api/resources/index.js +6 -1
  278. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  279. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  280. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
  281. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
  282. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  283. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  284. package/dist/api/resources/jobs/index.d.ts +1 -0
  285. package/dist/api/resources/jobs/index.js +17 -0
  286. package/dist/api/resources/jobs/resources/index.d.ts +1 -0
  287. package/dist/api/resources/jobs/resources/index.js +27 -0
  288. package/dist/api/resources/jobs/resources/v1/index.d.ts +1 -0
  289. package/dist/api/resources/jobs/resources/v1/index.js +17 -0
  290. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
  291. package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
  292. package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
  293. package/dist/api/resources/jobs/resources/v1/types/Job.js +5 -0
  294. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
  295. package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
  296. package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
  297. package/dist/api/resources/jobs/resources/v1/types/JobId.js +10 -0
  298. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
  299. package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
  300. package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
  301. package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
  302. package/dist/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
  303. package/dist/api/resources/jobs/resources/v1/types/index.js +22 -0
  304. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  305. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  306. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
  307. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
  308. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  309. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
  310. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
  311. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  312. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  313. package/dist/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  314. package/dist/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  315. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
  316. package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
  317. package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
  318. package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
  319. package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
  320. package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
  321. package/dist/api/resources/payers/resources/v3/types/index.d.ts +4 -0
  322. package/dist/api/resources/payers/resources/v3/types/index.js +4 -0
  323. package/dist/api/resources/tasks/client/Client.d.ts +18 -0
  324. package/dist/api/resources/tasks/client/Client.js +18 -0
  325. package/dist/api/resources/tasks/client/index.d.ts +1 -0
  326. package/dist/api/resources/tasks/client/index.js +2 -0
  327. package/dist/api/resources/tasks/index.d.ts +2 -0
  328. package/dist/api/resources/tasks/index.js +18 -0
  329. package/dist/api/resources/tasks/resources/commons/index.d.ts +1 -0
  330. package/dist/api/resources/tasks/resources/commons/index.js +17 -0
  331. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  332. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  333. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  334. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  335. package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  336. package/dist/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  337. package/dist/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  338. package/dist/api/resources/tasks/resources/commons/types/index.js +19 -0
  339. package/dist/api/resources/tasks/resources/index.d.ts +3 -0
  340. package/dist/api/resources/tasks/resources/index.js +32 -0
  341. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +22 -0
  342. package/dist/api/resources/tasks/resources/v3/client/Client.js +286 -0
  343. package/dist/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  344. package/dist/api/resources/tasks/resources/v3/client/create.js +47 -0
  345. package/dist/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  346. package/dist/api/resources/tasks/resources/v3/client/get.js +69 -0
  347. package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  348. package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  349. package/dist/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  350. package/dist/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  351. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  352. package/dist/api/resources/tasks/resources/v3/client/index.js +35 -0
  353. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  354. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  355. package/dist/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  356. package/dist/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  357. package/dist/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  358. package/dist/api/resources/tasks/resources/v3/client/update.js +80 -0
  359. package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
  360. package/dist/api/resources/tasks/resources/v3/index.js +18 -0
  361. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  362. package/dist/api/resources/tasks/resources/v3/types/Task.js +5 -0
  363. package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  364. package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  365. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  366. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  367. package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  368. package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  369. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  370. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  371. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  372. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  373. package/dist/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  374. package/dist/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  375. package/dist/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  376. package/dist/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  377. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  378. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  379. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  380. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  381. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  382. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  383. package/dist/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  384. package/dist/api/resources/tasks/resources/v3/types/index.js +27 -0
  385. package/dist/api/resources/users/index.d.ts +1 -0
  386. package/dist/api/resources/users/index.js +17 -0
  387. package/dist/api/resources/users/resources/index.d.ts +1 -0
  388. package/dist/api/resources/users/resources/index.js +27 -0
  389. package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
  390. package/dist/api/resources/users/resources/v2/index.js +17 -0
  391. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  392. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  393. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  394. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  395. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
  396. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  397. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
  398. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  399. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  400. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  401. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  402. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  403. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
  404. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  405. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
  406. package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -0
  407. package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
  408. package/dist/api/resources/users/resources/v2/types/index.js +24 -0
  409. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
  410. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
  411. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
  412. package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
  413. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  414. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  415. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  416. package/dist/api/resources/writeOffs/resources/v1/types/index.js +1 -0
  417. package/dist/serialization/resources/claimActionsCommons/index.d.ts +1 -0
  418. package/dist/serialization/resources/claimActionsCommons/index.js +17 -0
  419. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
  420. package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
  421. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
  422. package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
  423. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
  424. package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
  425. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
  426. package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
  427. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
  428. package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
  429. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
  430. package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
  431. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
  432. package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
  433. package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
  434. package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
  435. package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
  436. package/dist/serialization/resources/claimActionsCommons/types/index.js +24 -0
  437. package/dist/serialization/resources/claims/types/Claim.d.ts +1 -0
  438. package/dist/serialization/resources/claims/types/Claim.js +1 -0
  439. package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  440. package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
  441. package/dist/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  442. package/dist/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  443. package/dist/serialization/resources/commons/types/TaskId.d.ts +10 -0
  444. package/dist/serialization/resources/commons/types/TaskId.js +37 -0
  445. package/dist/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  446. package/dist/serialization/resources/commons/types/TaskNoteId.js +35 -0
  447. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  448. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  449. package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
  450. package/dist/serialization/resources/commons/types/UserId.js +37 -0
  451. package/dist/serialization/resources/commons/types/index.d.ts +5 -0
  452. package/dist/serialization/resources/commons/types/index.js +5 -0
  453. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  454. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  455. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  456. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  457. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  458. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  459. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  460. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  461. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  462. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  463. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  464. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  465. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  466. package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
  467. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  468. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  469. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  470. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  471. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  472. package/dist/serialization/resources/financials/types/index.js +1 -0
  473. package/dist/serialization/resources/index.d.ts +5 -0
  474. package/dist/serialization/resources/index.js +6 -1
  475. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  476. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
  477. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  478. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
  479. package/dist/serialization/resources/jobs/index.d.ts +1 -0
  480. package/dist/serialization/resources/jobs/index.js +17 -0
  481. package/dist/serialization/resources/jobs/resources/index.d.ts +1 -0
  482. package/dist/serialization/resources/jobs/resources/index.js +27 -0
  483. package/dist/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
  484. package/dist/serialization/resources/jobs/resources/v1/index.js +17 -0
  485. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
  486. package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
  487. package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
  488. package/dist/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
  489. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
  490. package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
  491. package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
  492. package/dist/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
  493. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
  494. package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
  495. package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
  496. package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → jobs/resources/v1/types/JobStatus.js} +2 -2
  497. package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
  498. package/dist/serialization/resources/jobs/resources/v1/types/index.js +22 -0
  499. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  500. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  501. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  502. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  503. package/dist/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  504. package/dist/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  505. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  506. package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  507. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  508. package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  509. package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  510. package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  511. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +4 -0
  512. package/dist/serialization/resources/payers/resources/v3/types/index.js +4 -0
  513. package/dist/serialization/resources/tasks/index.d.ts +1 -0
  514. package/dist/serialization/resources/tasks/index.js +17 -0
  515. package/dist/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  516. package/dist/serialization/resources/tasks/resources/commons/index.js +17 -0
  517. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  518. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  519. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  520. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  521. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  522. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  523. package/dist/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  524. package/dist/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  525. package/dist/serialization/resources/tasks/resources/index.d.ts +3 -0
  526. package/dist/serialization/resources/tasks/resources/index.js +32 -0
  527. package/dist/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  528. package/dist/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  529. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  530. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  531. package/dist/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  532. package/dist/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  533. package/dist/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  534. package/dist/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  535. package/dist/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  536. package/dist/serialization/resources/tasks/resources/v3/index.js +18 -0
  537. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  538. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  539. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  540. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  541. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  542. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  543. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  544. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  545. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  546. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  547. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  548. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  549. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  550. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  551. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  552. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  553. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  554. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  555. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  556. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  557. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  558. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  559. package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  560. package/dist/serialization/resources/tasks/resources/v3/types/index.js +27 -0
  561. package/dist/serialization/resources/users/index.d.ts +1 -0
  562. package/dist/serialization/resources/users/index.js +17 -0
  563. package/dist/serialization/resources/users/resources/index.d.ts +1 -0
  564. package/dist/serialization/resources/users/resources/index.js +27 -0
  565. package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
  566. package/dist/serialization/resources/users/resources/v2/index.js +17 -0
  567. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  568. package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js} +4 -2
  569. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  570. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  571. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  572. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
  573. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  574. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  575. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  576. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  577. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  578. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  579. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  580. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  581. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  582. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  583. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  584. package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
  585. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  586. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  587. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  588. package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  589. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  590. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  591. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  592. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  593. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  594. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
  595. package/package.json +1 -1
  596. package/serialization/resources/claimActionsCommons/index.d.ts +1 -0
  597. package/serialization/resources/claimActionsCommons/index.js +17 -0
  598. package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
  599. package/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
  600. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
  601. package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
  602. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
  603. package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
  604. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
  605. package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
  606. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
  607. package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
  608. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
  609. package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
  610. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
  611. package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
  612. package/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
  613. package/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
  614. package/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
  615. package/serialization/resources/claimActionsCommons/types/index.js +24 -0
  616. package/serialization/resources/claims/types/Claim.d.ts +1 -0
  617. package/serialization/resources/claims/types/Claim.js +1 -0
  618. package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
  619. package/serialization/resources/claims/types/ClaimStatus.js +1 -0
  620. package/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  621. package/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  622. package/serialization/resources/commons/types/TaskId.d.ts +10 -0
  623. package/serialization/resources/commons/types/TaskId.js +37 -0
  624. package/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  625. package/serialization/resources/commons/types/TaskNoteId.js +35 -0
  626. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  627. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  628. package/serialization/resources/commons/types/UserId.d.ts +10 -0
  629. package/serialization/resources/commons/types/UserId.js +37 -0
  630. package/serialization/resources/commons/types/index.d.ts +5 -0
  631. package/serialization/resources/commons/types/index.js +5 -0
  632. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
  633. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
  634. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
  635. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
  636. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
  637. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
  638. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
  639. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
  640. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
  641. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
  642. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
  643. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
  644. package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
  645. package/serialization/resources/financials/types/AllocationTarget.js +1 -0
  646. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
  647. package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
  648. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
  649. package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
  650. package/serialization/resources/financials/types/index.d.ts +1 -0
  651. package/serialization/resources/financials/types/index.js +1 -0
  652. package/serialization/resources/index.d.ts +5 -0
  653. package/serialization/resources/index.js +6 -1
  654. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  655. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
  656. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  657. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
  658. package/serialization/resources/jobs/index.d.ts +1 -0
  659. package/serialization/resources/jobs/index.js +17 -0
  660. package/serialization/resources/jobs/resources/index.d.ts +1 -0
  661. package/serialization/resources/jobs/resources/index.js +27 -0
  662. package/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
  663. package/serialization/resources/jobs/resources/v1/index.js +17 -0
  664. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
  665. package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
  666. package/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
  667. package/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
  668. package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
  669. package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
  670. package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
  671. package/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
  672. package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
  673. package/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
  674. package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
  675. package/serialization/resources/jobs/resources/v1/types/JobStatus.js +31 -0
  676. package/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
  677. package/serialization/resources/jobs/resources/v1/types/index.js +22 -0
  678. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
  679. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
  680. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
  681. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
  682. package/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  683. package/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  684. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
  685. package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
  686. package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
  687. package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
  688. package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
  689. package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
  690. package/serialization/resources/payers/resources/v3/types/index.d.ts +4 -0
  691. package/serialization/resources/payers/resources/v3/types/index.js +4 -0
  692. package/serialization/resources/tasks/index.d.ts +1 -0
  693. package/serialization/resources/tasks/index.js +17 -0
  694. package/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  695. package/serialization/resources/tasks/resources/commons/index.js +17 -0
  696. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  697. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  698. package/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  699. package/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  700. package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  701. package/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  702. package/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  703. package/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  704. package/serialization/resources/tasks/resources/index.d.ts +3 -0
  705. package/serialization/resources/tasks/resources/index.js +32 -0
  706. package/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  707. package/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  708. package/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  709. package/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  710. package/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  711. package/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  712. package/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  713. package/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  714. package/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  715. package/serialization/resources/tasks/resources/v3/index.js +18 -0
  716. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  717. package/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  718. package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  719. package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  720. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  721. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  722. package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  723. package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  724. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  725. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  726. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  727. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  728. package/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  729. package/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  730. package/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  731. package/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  732. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  733. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  734. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  735. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  736. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  737. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  738. package/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  739. package/serialization/resources/tasks/resources/v3/types/index.js +27 -0
  740. package/serialization/resources/users/index.d.ts +1 -0
  741. package/serialization/resources/users/index.js +17 -0
  742. package/serialization/resources/users/resources/index.d.ts +1 -0
  743. package/serialization/resources/users/resources/index.js +27 -0
  744. package/serialization/resources/users/resources/v2/index.d.ts +1 -0
  745. package/serialization/resources/users/resources/v2/index.js +17 -0
  746. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  747. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
  748. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  749. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  750. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  751. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
  752. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  753. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  754. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  755. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  756. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  757. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  758. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  759. package/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  760. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  761. package/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  762. package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  763. package/serialization/resources/users/resources/v2/types/index.js +24 -0
  764. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
  765. package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
  766. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
  767. package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
  768. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
  769. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
  770. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
  771. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
  772. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
  773. package/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
  774. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
  775. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./TaskStatus"), exports);
18
+ __exportStar(require("./TaskType"), exports);
19
+ __exportStar(require("./TaskCategory"), exports);
@@ -0,0 +1,3 @@
1
+ export * as v3 from "./v3";
2
+ export * as commons from "./commons";
3
+ export * from "./commons/types";
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.commons = exports.v3 = void 0;
30
+ exports.v3 = __importStar(require("./v3"));
31
+ exports.commons = __importStar(require("./commons"));
32
+ __exportStar(require("./commons/types"), exports);
@@ -0,0 +1,22 @@
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 V3 {
8
+ interface Options {
9
+ environment?: environments.CandidApiEnvironment | string;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ }
13
+ export declare class V3 {
14
+ protected readonly options: V3.Options;
15
+ constructor(options: V3.Options);
16
+ getActions(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.TaskActions, CandidApi.tasks.v3.getActions.Error>>;
17
+ getMulti(request?: CandidApi.tasks.v3.GetAllTasksRequest): Promise<core.APIResponse<CandidApi.tasks.v3.TaskPage, CandidApi.tasks.v3.getMulti.Error>>;
18
+ get(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.get.Error>>;
19
+ create(request: CandidApi.tasks.v3.TaskCreateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.create.Error>>;
20
+ update(taskId: CandidApi.TaskId, request: CandidApi.tasks.v3.TaskUpdateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.update.Error>>;
21
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
22
+ }
@@ -0,0 +1,286 @@
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.V3 = 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
+ const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
39
+ class V3 {
40
+ options;
41
+ constructor(options) {
42
+ this.options = options;
43
+ }
44
+ async getActions(taskId) {
45
+ const _response = await core.fetcher({
46
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}/actions`),
47
+ method: "GET",
48
+ headers: {
49
+ Authorization: await this._getAuthorizationHeader(),
50
+ "X-Fern-Language": "JavaScript",
51
+ "X-Fern-SDK-Name": "candidhealth",
52
+ "X-Fern-SDK-Version": "0.10.1",
53
+ },
54
+ contentType: "application/json",
55
+ timeoutMs: 60000,
56
+ });
57
+ if (_response.ok) {
58
+ return {
59
+ ok: true,
60
+ body: await serializers.tasks.v3.TaskActions.parseOrThrow(_response.body, {
61
+ unrecognizedObjectKeys: "passthrough",
62
+ allowUnrecognizedUnionMembers: true,
63
+ allowUnrecognizedEnumValues: true,
64
+ breadcrumbsPrefix: ["response"],
65
+ }),
66
+ };
67
+ }
68
+ return {
69
+ ok: false,
70
+ error: CandidApi.tasks.v3.getActions.Error._unknown(_response.error),
71
+ };
72
+ }
73
+ async getMulti(request = {}) {
74
+ const { limit, pageToken, status, taskType, categories, updatedSince, encounterId, searchTerm, assignedToId, dateOfServiceMin, dateOfServiceMax, billingProviderNpi, sort, } = request;
75
+ const _queryParams = new url_search_params_1.default();
76
+ if (limit != null) {
77
+ _queryParams.append("limit", limit.toString());
78
+ }
79
+ if (pageToken != null) {
80
+ _queryParams.append("page_token", pageToken);
81
+ }
82
+ if (status != null) {
83
+ _queryParams.append("status", status);
84
+ }
85
+ if (taskType != null) {
86
+ _queryParams.append("task_type", taskType);
87
+ }
88
+ if (categories != null) {
89
+ _queryParams.append("categories", categories);
90
+ }
91
+ if (updatedSince != null) {
92
+ _queryParams.append("updated_since", updatedSince.toISOString());
93
+ }
94
+ if (encounterId != null) {
95
+ _queryParams.append("encounter_id", encounterId);
96
+ }
97
+ if (searchTerm != null) {
98
+ _queryParams.append("search_term", searchTerm);
99
+ }
100
+ if (assignedToId != null) {
101
+ _queryParams.append("assigned_to_id", assignedToId);
102
+ }
103
+ if (dateOfServiceMin != null) {
104
+ _queryParams.append("date_of_service_min", dateOfServiceMin);
105
+ }
106
+ if (dateOfServiceMax != null) {
107
+ _queryParams.append("date_of_service_max", dateOfServiceMax);
108
+ }
109
+ if (billingProviderNpi != null) {
110
+ _queryParams.append("billing_provider_npi", billingProviderNpi);
111
+ }
112
+ if (sort != null) {
113
+ _queryParams.append("sort", sort);
114
+ }
115
+ const _response = await core.fetcher({
116
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
117
+ method: "GET",
118
+ headers: {
119
+ Authorization: await this._getAuthorizationHeader(),
120
+ "X-Fern-Language": "JavaScript",
121
+ "X-Fern-SDK-Name": "candidhealth",
122
+ "X-Fern-SDK-Version": "0.10.1",
123
+ },
124
+ contentType: "application/json",
125
+ queryParameters: _queryParams,
126
+ timeoutMs: 60000,
127
+ });
128
+ if (_response.ok) {
129
+ return {
130
+ ok: true,
131
+ body: await serializers.tasks.v3.TaskPage.parseOrThrow(_response.body, {
132
+ unrecognizedObjectKeys: "passthrough",
133
+ allowUnrecognizedUnionMembers: true,
134
+ allowUnrecognizedEnumValues: true,
135
+ breadcrumbsPrefix: ["response"],
136
+ }),
137
+ };
138
+ }
139
+ if (_response.error.reason === "status-code") {
140
+ switch (_response.error.body?.errorName) {
141
+ case "UnprocessableEntityError":
142
+ return {
143
+ ok: false,
144
+ error: await serializers.tasks.v3.getMulti.Error.parseOrThrow(_response.error.body, {
145
+ unrecognizedObjectKeys: "passthrough",
146
+ allowUnrecognizedUnionMembers: true,
147
+ allowUnrecognizedEnumValues: true,
148
+ breadcrumbsPrefix: ["response"],
149
+ }),
150
+ };
151
+ }
152
+ }
153
+ return {
154
+ ok: false,
155
+ error: CandidApi.tasks.v3.getMulti.Error._unknown(_response.error),
156
+ };
157
+ }
158
+ async get(taskId) {
159
+ const _response = await core.fetcher({
160
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
161
+ method: "GET",
162
+ headers: {
163
+ Authorization: await this._getAuthorizationHeader(),
164
+ "X-Fern-Language": "JavaScript",
165
+ "X-Fern-SDK-Name": "candidhealth",
166
+ "X-Fern-SDK-Version": "0.10.1",
167
+ },
168
+ contentType: "application/json",
169
+ timeoutMs: 60000,
170
+ });
171
+ if (_response.ok) {
172
+ return {
173
+ ok: true,
174
+ body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
175
+ unrecognizedObjectKeys: "passthrough",
176
+ allowUnrecognizedUnionMembers: true,
177
+ allowUnrecognizedEnumValues: true,
178
+ breadcrumbsPrefix: ["response"],
179
+ }),
180
+ };
181
+ }
182
+ if (_response.error.reason === "status-code") {
183
+ switch (_response.error.body?.errorName) {
184
+ case "EntityNotFoundError":
185
+ case "UnauthorizedError":
186
+ return {
187
+ ok: false,
188
+ error: await serializers.tasks.v3.get.Error.parseOrThrow(_response.error.body, {
189
+ unrecognizedObjectKeys: "passthrough",
190
+ allowUnrecognizedUnionMembers: true,
191
+ allowUnrecognizedEnumValues: true,
192
+ breadcrumbsPrefix: ["response"],
193
+ }),
194
+ };
195
+ }
196
+ }
197
+ return {
198
+ ok: false,
199
+ error: CandidApi.tasks.v3.get.Error._unknown(_response.error),
200
+ };
201
+ }
202
+ async create(request) {
203
+ const _response = await core.fetcher({
204
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
205
+ method: "POST",
206
+ headers: {
207
+ Authorization: await this._getAuthorizationHeader(),
208
+ "X-Fern-Language": "JavaScript",
209
+ "X-Fern-SDK-Name": "candidhealth",
210
+ "X-Fern-SDK-Version": "0.10.1",
211
+ },
212
+ contentType: "application/json",
213
+ body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
214
+ timeoutMs: 60000,
215
+ });
216
+ if (_response.ok) {
217
+ return {
218
+ ok: true,
219
+ body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
220
+ unrecognizedObjectKeys: "passthrough",
221
+ allowUnrecognizedUnionMembers: true,
222
+ allowUnrecognizedEnumValues: true,
223
+ breadcrumbsPrefix: ["response"],
224
+ }),
225
+ };
226
+ }
227
+ return {
228
+ ok: false,
229
+ error: CandidApi.tasks.v3.create.Error._unknown(_response.error),
230
+ };
231
+ }
232
+ async update(taskId, request) {
233
+ const _response = await core.fetcher({
234
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
235
+ method: "PATCH",
236
+ headers: {
237
+ Authorization: await this._getAuthorizationHeader(),
238
+ "X-Fern-Language": "JavaScript",
239
+ "X-Fern-SDK-Name": "candidhealth",
240
+ "X-Fern-SDK-Version": "0.10.1",
241
+ },
242
+ contentType: "application/json",
243
+ body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
244
+ timeoutMs: 60000,
245
+ });
246
+ if (_response.ok) {
247
+ return {
248
+ ok: true,
249
+ body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
250
+ unrecognizedObjectKeys: "passthrough",
251
+ allowUnrecognizedUnionMembers: true,
252
+ allowUnrecognizedEnumValues: true,
253
+ breadcrumbsPrefix: ["response"],
254
+ }),
255
+ };
256
+ }
257
+ if (_response.error.reason === "status-code") {
258
+ switch (_response.error.body?.errorName) {
259
+ case "EntityNotFoundError":
260
+ case "UnauthorizedError":
261
+ case "TaskUpdatedToDeprecatedStatusError":
262
+ return {
263
+ ok: false,
264
+ error: await serializers.tasks.v3.update.Error.parseOrThrow(_response.error.body, {
265
+ unrecognizedObjectKeys: "passthrough",
266
+ allowUnrecognizedUnionMembers: true,
267
+ allowUnrecognizedEnumValues: true,
268
+ breadcrumbsPrefix: ["response"],
269
+ }),
270
+ };
271
+ }
272
+ }
273
+ return {
274
+ ok: false,
275
+ error: CandidApi.tasks.v3.update.Error._unknown(_response.error),
276
+ };
277
+ }
278
+ async _getAuthorizationHeader() {
279
+ const bearer = await core.Supplier.get(this.options.token);
280
+ if (bearer != null) {
281
+ return `Bearer ${bearer}`;
282
+ }
283
+ return undefined;
284
+ }
285
+ }
286
+ exports.V3 = V3;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.tasks.v3.create.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.tasks.v3.create.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.create.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.tasks.v3.create.Error, visitor: CandidApi.tasks.v3.create.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ _unknown: (fetcherError) => {
33
+ return {
34
+ errorName: undefined,
35
+ content: fetcherError,
36
+ _visit: function (visitor) {
37
+ return CandidApi.tasks.v3.create.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _visit: (value, visitor) => {
42
+ switch (value.errorName) {
43
+ default:
44
+ return visitor._other(value);
45
+ }
46
+ },
47
+ };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.tasks.v3.get.Error.EntityNotFoundError | CandidApi.tasks.v3.get.Error.UnauthorizedError | CandidApi.tasks.v3.get.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface EntityNotFoundError extends _Utils {
9
+ errorName: "EntityNotFoundError";
10
+ content: CandidApi.EntityNotFoundErrorMessage;
11
+ }
12
+ interface UnauthorizedError extends _Utils {
13
+ errorName: "UnauthorizedError";
14
+ content: CandidApi.UnauthorizedErrorMessage;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.tasks.v3.get.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.tasks.v3.get.Error.EntityNotFoundError;
31
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.tasks.v3.get.Error.UnauthorizedError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.get.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.tasks.v3.get.Error, visitor: CandidApi.tasks.v3.get.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.tasks.v3.get.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unauthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnauthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.tasks.v3.get.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.tasks.v3.get.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return visitor.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return visitor.unauthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.tasks.v3.getActions.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.tasks.v3.getActions.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.getActions.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.tasks.v3.getActions.Error, visitor: CandidApi.tasks.v3.getActions.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ _unknown: (fetcherError) => {
33
+ return {
34
+ errorName: undefined,
35
+ content: fetcherError,
36
+ _visit: function (visitor) {
37
+ return CandidApi.tasks.v3.getActions.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _visit: (value, visitor) => {
42
+ switch (value.errorName) {
43
+ default:
44
+ return visitor._other(value);
45
+ }
46
+ },
47
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error =
7
+ /**
8
+ * Limit parameter provided must be greater than 0 and less than 1000. */
9
+ CandidApi.tasks.v3.getMulti.Error.UnprocessableEntityError | CandidApi.tasks.v3.getMulti.Error._Unknown;
10
+ export declare namespace Error {
11
+ interface UnprocessableEntityError extends _Utils {
12
+ errorName: "UnprocessableEntityError";
13
+ content: CandidApi.UnprocessableEntityErrorMessage;
14
+ }
15
+ interface _Unknown extends _Utils {
16
+ errorName: void;
17
+ content: core.Fetcher.Error;
18
+ }
19
+ interface _Utils {
20
+ _visit: <_Result>(visitor: CandidApi.tasks.v3.getMulti.Error._Visitor<_Result>) => _Result;
21
+ }
22
+ interface _Visitor<_Result> {
23
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
24
+ _other: (value: core.Fetcher.Error) => _Result;
25
+ }
26
+ }
27
+ export declare const Error: {
28
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.tasks.v3.getMulti.Error.UnprocessableEntityError;
29
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.getMulti.Error._Unknown;
30
+ readonly _visit: <_Result>(value: CandidApi.tasks.v3.getMulti.Error, visitor: CandidApi.tasks.v3.getMulti.Error._Visitor<_Result>) => _Result;
31
+ };