candidhealth 0.9.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 (341) 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/commons/types/TaskAssignmentId.d.ts +8 -0
  6. package/api/resources/commons/types/TaskAssignmentId.js +10 -0
  7. package/api/resources/commons/types/TaskId.d.ts +8 -0
  8. package/api/resources/commons/types/TaskId.js +10 -0
  9. package/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  10. package/api/resources/commons/types/TaskNoteId.js +10 -0
  11. package/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  12. package/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
  13. package/api/resources/commons/types/UserId.d.ts +8 -0
  14. package/api/resources/commons/types/UserId.js +10 -0
  15. package/api/resources/commons/types/index.d.ts +5 -0
  16. package/api/resources/commons/types/index.js +5 -0
  17. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  18. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  19. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  20. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  21. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  22. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  23. package/api/resources/index.d.ts +1 -0
  24. package/api/resources/index.js +2 -1
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  27. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  28. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  29. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  30. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  31. package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  32. package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  33. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  34. package/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  35. package/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  36. package/api/resources/payers/resources/v3/types/index.d.ts +1 -0
  37. package/api/resources/payers/resources/v3/types/index.js +1 -0
  38. package/api/resources/tasks/client/Client.d.ts +18 -0
  39. package/api/resources/tasks/client/Client.js +18 -0
  40. package/api/resources/tasks/client/index.d.ts +1 -0
  41. package/api/resources/tasks/client/index.js +2 -0
  42. package/api/resources/tasks/index.d.ts +2 -0
  43. package/api/resources/tasks/index.js +18 -0
  44. package/api/resources/tasks/resources/commons/index.d.ts +1 -0
  45. package/api/resources/tasks/resources/commons/index.js +17 -0
  46. package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  47. package/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  48. package/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  49. package/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  50. package/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  51. package/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  52. package/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  53. package/api/resources/tasks/resources/commons/types/index.js +19 -0
  54. package/api/resources/tasks/resources/index.d.ts +3 -0
  55. package/api/resources/tasks/resources/index.js +32 -0
  56. package/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
  57. package/api/resources/tasks/resources/v3/client/Client.js +306 -0
  58. package/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  59. package/api/resources/tasks/resources/v3/client/create.js +47 -0
  60. package/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  61. package/api/resources/tasks/resources/v3/client/get.js +69 -0
  62. package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  63. package/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  64. package/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  65. package/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  66. package/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  67. package/api/resources/tasks/resources/v3/client/index.js +35 -0
  68. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  69. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  70. package/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  71. package/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  72. package/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  73. package/api/resources/tasks/resources/v3/client/update.js +80 -0
  74. package/api/resources/tasks/resources/v3/index.d.ts +2 -0
  75. package/api/resources/tasks/resources/v3/index.js +18 -0
  76. package/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  77. package/api/resources/tasks/resources/v3/types/Task.js +5 -0
  78. package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  79. package/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  80. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  81. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  82. package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  83. package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  84. package/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  85. package/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  86. package/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  87. package/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  88. package/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  89. package/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  90. package/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  91. package/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  92. package/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  93. package/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  94. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  95. package/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  96. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  97. package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  98. package/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  99. package/api/resources/tasks/resources/v3/types/index.js +27 -0
  100. package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  101. package/dist/Client.d.ts +3 -0
  102. package/dist/Client.js +7 -2
  103. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  104. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/commons/types/TaskAssignmentId.d.ts +8 -0
  106. package/dist/api/resources/commons/types/TaskAssignmentId.js +10 -0
  107. package/dist/api/resources/commons/types/TaskId.d.ts +8 -0
  108. package/dist/api/resources/commons/types/TaskId.js +10 -0
  109. package/dist/api/resources/commons/types/TaskNoteId.d.ts +8 -0
  110. package/dist/api/resources/commons/types/TaskNoteId.js +10 -0
  111. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
  112. package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
  113. package/dist/api/resources/commons/types/UserId.d.ts +8 -0
  114. package/dist/api/resources/commons/types/UserId.js +10 -0
  115. package/dist/api/resources/commons/types/index.d.ts +5 -0
  116. package/dist/api/resources/commons/types/index.js +5 -0
  117. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  118. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  119. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  120. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  121. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  122. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  123. package/dist/api/resources/index.d.ts +1 -0
  124. package/dist/api/resources/index.js +2 -1
  125. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  126. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
  127. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  128. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  129. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  130. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  131. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
  132. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
  133. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  134. package/dist/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
  135. package/dist/api/resources/payers/resources/v3/types/PayerId.js +10 -0
  136. package/dist/api/resources/payers/resources/v3/types/index.d.ts +1 -0
  137. package/dist/api/resources/payers/resources/v3/types/index.js +1 -0
  138. package/dist/api/resources/tasks/client/Client.d.ts +18 -0
  139. package/dist/api/resources/tasks/client/Client.js +18 -0
  140. package/dist/api/resources/tasks/client/index.d.ts +1 -0
  141. package/dist/api/resources/tasks/client/index.js +2 -0
  142. package/dist/api/resources/tasks/index.d.ts +2 -0
  143. package/dist/api/resources/tasks/index.js +18 -0
  144. package/dist/api/resources/tasks/resources/commons/index.d.ts +1 -0
  145. package/dist/api/resources/tasks/resources/commons/index.js +17 -0
  146. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
  147. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
  148. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
  149. package/dist/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
  150. package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
  151. package/dist/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
  152. package/dist/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
  153. package/dist/api/resources/tasks/resources/commons/types/index.js +19 -0
  154. package/dist/api/resources/tasks/resources/index.d.ts +3 -0
  155. package/dist/api/resources/tasks/resources/index.js +32 -0
  156. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
  157. package/dist/api/resources/tasks/resources/v3/client/Client.js +306 -0
  158. package/dist/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
  159. package/dist/api/resources/tasks/resources/v3/client/create.js +47 -0
  160. package/dist/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
  161. package/dist/api/resources/tasks/resources/v3/client/get.js +69 -0
  162. package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  163. package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  164. package/dist/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
  165. package/dist/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
  166. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
  167. package/dist/api/resources/tasks/resources/v3/client/index.js +35 -0
  168. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
  169. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
  170. package/dist/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
  171. package/dist/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
  172. package/dist/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
  173. package/dist/api/resources/tasks/resources/v3/client/update.js +80 -0
  174. package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
  175. package/dist/api/resources/tasks/resources/v3/index.js +18 -0
  176. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
  177. package/dist/api/resources/tasks/resources/v3/types/Task.js +5 -0
  178. package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  179. package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  180. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  181. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  182. package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  183. package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  184. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
  185. package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
  186. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
  187. package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
  188. package/dist/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
  189. package/dist/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
  190. package/dist/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
  191. package/dist/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
  192. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
  193. package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
  194. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
  195. package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
  196. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
  197. package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
  198. package/dist/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
  199. package/dist/api/resources/tasks/resources/v3/types/index.js +27 -0
  200. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
  201. package/dist/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  202. package/dist/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  203. package/dist/serialization/resources/commons/types/TaskId.d.ts +10 -0
  204. package/dist/serialization/resources/commons/types/TaskId.js +37 -0
  205. package/dist/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  206. package/dist/serialization/resources/commons/types/TaskNoteId.js +35 -0
  207. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  208. package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  209. package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
  210. package/dist/serialization/resources/commons/types/UserId.js +37 -0
  211. package/dist/serialization/resources/commons/types/index.d.ts +5 -0
  212. package/dist/serialization/resources/commons/types/index.js +5 -0
  213. package/dist/serialization/resources/index.d.ts +1 -0
  214. package/dist/serialization/resources/index.js +2 -1
  215. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  216. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
  217. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  218. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
  219. package/dist/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  220. package/dist/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  221. package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
  222. package/dist/serialization/resources/payers/resources/v3/types/index.js +1 -0
  223. package/dist/serialization/resources/tasks/index.d.ts +1 -0
  224. package/dist/serialization/resources/tasks/index.js +17 -0
  225. package/dist/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  226. package/dist/serialization/resources/tasks/resources/commons/index.js +17 -0
  227. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  228. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  229. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  230. package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  231. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  232. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  233. package/dist/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  234. package/dist/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  235. package/dist/serialization/resources/tasks/resources/index.d.ts +3 -0
  236. package/dist/serialization/resources/tasks/resources/index.js +32 -0
  237. package/dist/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  238. package/dist/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  239. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  240. package/dist/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  241. package/dist/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  242. package/dist/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  243. package/dist/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  244. package/dist/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  245. package/dist/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  246. package/dist/serialization/resources/tasks/resources/v3/index.js +18 -0
  247. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  248. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  249. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  250. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  251. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  252. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  253. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  254. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  255. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  256. package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  257. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  258. package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  259. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  260. package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  261. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  262. package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  263. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  264. package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  265. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  266. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  267. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  268. package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  269. package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  270. package/dist/serialization/resources/tasks/resources/v3/types/index.js +27 -0
  271. package/package.json +1 -1
  272. package/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
  273. package/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
  274. package/serialization/resources/commons/types/TaskId.d.ts +10 -0
  275. package/serialization/resources/commons/types/TaskId.js +37 -0
  276. package/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
  277. package/serialization/resources/commons/types/TaskNoteId.js +35 -0
  278. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
  279. package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
  280. package/serialization/resources/commons/types/UserId.d.ts +10 -0
  281. package/serialization/resources/commons/types/UserId.js +37 -0
  282. package/serialization/resources/commons/types/index.d.ts +5 -0
  283. package/serialization/resources/commons/types/index.js +5 -0
  284. package/serialization/resources/index.d.ts +1 -0
  285. package/serialization/resources/index.js +2 -1
  286. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
  287. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
  288. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
  289. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
  290. package/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
  291. package/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
  292. package/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
  293. package/serialization/resources/payers/resources/v3/types/index.js +1 -0
  294. package/serialization/resources/tasks/index.d.ts +1 -0
  295. package/serialization/resources/tasks/index.js +17 -0
  296. package/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
  297. package/serialization/resources/tasks/resources/commons/index.js +17 -0
  298. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
  299. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
  300. package/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
  301. package/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
  302. package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
  303. package/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
  304. package/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
  305. package/serialization/resources/tasks/resources/commons/types/index.js +19 -0
  306. package/serialization/resources/tasks/resources/index.d.ts +3 -0
  307. package/serialization/resources/tasks/resources/index.js +32 -0
  308. package/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
  309. package/serialization/resources/tasks/resources/v3/client/get.js +51 -0
  310. package/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
  311. package/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
  312. package/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
  313. package/serialization/resources/tasks/resources/v3/client/index.js +29 -0
  314. package/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
  315. package/serialization/resources/tasks/resources/v3/client/update.js +56 -0
  316. package/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
  317. package/serialization/resources/tasks/resources/v3/index.js +18 -0
  318. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
  319. package/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
  320. package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  321. package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  322. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  323. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  324. package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  325. package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  326. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
  327. package/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
  328. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
  329. package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
  330. package/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
  331. package/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
  332. package/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
  333. package/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
  334. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
  335. package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
  336. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
  337. package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
  338. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
  339. package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
  340. package/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
  341. package/serialization/resources/tasks/resources/v3/types/index.js +27 -0
@@ -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
+ };
@@ -0,0 +1,58 @@
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
+ unprocessableEntityError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "UnprocessableEntityError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.tasks.v3.getMulti.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _unknown: (fetcherError) => {
42
+ return {
43
+ errorName: undefined,
44
+ content: fetcherError,
45
+ _visit: function (visitor) {
46
+ return CandidApi.tasks.v3.getMulti.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _visit: (value, visitor) => {
51
+ switch (value.errorName) {
52
+ case "UnprocessableEntityError":
53
+ return visitor.unprocessableEntityError(value.content);
54
+ default:
55
+ return visitor._other(value);
56
+ }
57
+ },
58
+ };
@@ -0,0 +1,6 @@
1
+ export * from "./requests";
2
+ export * as getActions from "./getActions";
3
+ export * as getMulti from "./getMulti";
4
+ export * as get from "./get";
5
+ export * as create from "./create";
6
+ export * as update from "./update";
@@ -0,0 +1,35 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
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.update = exports.create = exports.get = exports.getMulti = exports.getActions = void 0;
30
+ __exportStar(require("./requests"), exports);
31
+ exports.getActions = __importStar(require("./getActions"));
32
+ exports.getMulti = __importStar(require("./getMulti"));
33
+ exports.get = __importStar(require("./get"));
34
+ exports.create = __importStar(require("./create"));
35
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,49 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface GetAllTasksRequest {
6
+ /**
7
+ * Defaults to 100
8
+ */
9
+ limit?: number;
10
+ pageToken?: CandidApi.PageToken;
11
+ status?: CandidApi.tasks.TaskStatus;
12
+ taskType?: CandidApi.tasks.TaskType;
13
+ /**
14
+ * Only return tasks with categories that match one in this comma-separated list.
15
+ */
16
+ categories?: string;
17
+ /**
18
+ * Only return tasks updated on or after this date-time
19
+ */
20
+ updatedSince?: Date;
21
+ /**
22
+ * Only return tasks associated with this encounter
23
+ */
24
+ encounterId?: CandidApi.EncounterId;
25
+ /**
26
+ * Query tasks by encounter_id, claim_id, task_id, or external_id
27
+ */
28
+ searchTerm?: string;
29
+ /**
30
+ * Only return tasks assigned to this user
31
+ */
32
+ assignedToId?: CandidApi.UserId;
33
+ /**
34
+ * The minimum date of service for the linked encounter
35
+ */
36
+ dateOfServiceMin?: string;
37
+ /**
38
+ * The maximum date of service for the linked encounter
39
+ */
40
+ dateOfServiceMax?: string;
41
+ /**
42
+ * The NPI of the billing provider associated with the task's claim
43
+ */
44
+ billingProviderNpi?: string;
45
+ /**
46
+ * Defaults to updated_at:desc
47
+ */
48
+ sort?: CandidApi.tasks.v3.TaskSortOptions;
49
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { GetAllTasksRequest } from "./GetAllTasksRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,40 @@
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.update.Error.EntityNotFoundError | CandidApi.tasks.v3.update.Error.UnauthorizedError | CandidApi.tasks.v3.update.Error.TaskUpdatedToDeprecatedStatusError | CandidApi.tasks.v3.update.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 TaskUpdatedToDeprecatedStatusError extends _Utils {
17
+ errorName: "TaskUpdatedToDeprecatedStatusError";
18
+ content: CandidApi.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType;
19
+ }
20
+ interface _Unknown extends _Utils {
21
+ errorName: void;
22
+ content: core.Fetcher.Error;
23
+ }
24
+ interface _Utils {
25
+ _visit: <_Result>(visitor: CandidApi.tasks.v3.update.Error._Visitor<_Result>) => _Result;
26
+ }
27
+ interface _Visitor<_Result> {
28
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
29
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
30
+ taskUpdatedToDeprecatedStatusError: (value: CandidApi.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType) => _Result;
31
+ _other: (value: core.Fetcher.Error) => _Result;
32
+ }
33
+ }
34
+ export declare const Error: {
35
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.tasks.v3.update.Error.EntityNotFoundError;
36
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.tasks.v3.update.Error.UnauthorizedError;
37
+ readonly taskUpdatedToDeprecatedStatusError: (value: CandidApi.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType) => CandidApi.tasks.v3.update.Error.TaskUpdatedToDeprecatedStatusError;
38
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.update.Error._Unknown;
39
+ readonly _visit: <_Result>(value: CandidApi.tasks.v3.update.Error, visitor: CandidApi.tasks.v3.update.Error._Visitor<_Result>) => _Result;
40
+ };
@@ -0,0 +1,80 @@
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.update.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.update.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ taskUpdatedToDeprecatedStatusError: (value) => {
51
+ return {
52
+ content: value,
53
+ errorName: "TaskUpdatedToDeprecatedStatusError",
54
+ _visit: function (visitor) {
55
+ return CandidApi.tasks.v3.update.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _unknown: (fetcherError) => {
60
+ return {
61
+ errorName: undefined,
62
+ content: fetcherError,
63
+ _visit: function (visitor) {
64
+ return CandidApi.tasks.v3.update.Error._visit(this, visitor);
65
+ },
66
+ };
67
+ },
68
+ _visit: (value, visitor) => {
69
+ switch (value.errorName) {
70
+ case "EntityNotFoundError":
71
+ return visitor.entityNotFoundError(value.content);
72
+ case "UnauthorizedError":
73
+ return visitor.unauthorizedError(value.content);
74
+ case "TaskUpdatedToDeprecatedStatusError":
75
+ return visitor.taskUpdatedToDeprecatedStatusError(value.content);
76
+ default:
77
+ return visitor._other(value);
78
+ }
79
+ },
80
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface Task {
6
+ taskId: CandidApi.TaskId;
7
+ encounterId: CandidApi.EncounterId;
8
+ taskType: CandidApi.tasks.TaskType;
9
+ description: string;
10
+ blocksClaimSubmission: boolean;
11
+ externalId: string;
12
+ patientName: string;
13
+ patientExternalId: string;
14
+ payerName?: string;
15
+ payerId?: string;
16
+ status: CandidApi.tasks.TaskStatus;
17
+ notes: CandidApi.tasks.v3.TaskNote[];
18
+ createdAt: Date;
19
+ /** The time of most recent update to the task only */
20
+ updatedAt: Date;
21
+ /** The time of most recent update to the task or any of its notes */
22
+ aggUpdatedAt: Date;
23
+ dateOfService: string;
24
+ assignments: CandidApi.tasks.v3.TaskAssignment[];
25
+ category?: CandidApi.tasks.TaskCategory;
26
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 interface TaskAction {
6
+ displayName: string;
7
+ executionMethod: CandidApi.tasks.v3.TaskActionExecutionMethod;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export declare type TaskActionExecutionMethod = CandidApi.tasks.v3.TaskActionExecutionMethod.CloseTask;
6
+ export declare namespace TaskActionExecutionMethod {
7
+ interface CloseTask {
8
+ type: "close_task";
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });