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,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,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.tasks.v3.get.Error.Raw, CandidApi.tasks.v3.get.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ }
@@ -0,0 +1,51 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ })
41
+ .transform({
42
+ transform: (value) => {
43
+ switch (value.errorName) {
44
+ case "EntityNotFoundError":
45
+ return CandidApi.tasks.v3.get.Error.entityNotFoundError(value.content);
46
+ case "UnauthorizedError":
47
+ return CandidApi.tasks.v3.get.Error.unauthorizedError(value.content);
48
+ }
49
+ },
50
+ untransform: ({ _visit, ...value }) => value,
51
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.tasks.v3.getMulti.Error.Raw, CandidApi.tasks.v3.getMulti.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.UnprocessableEntityError;
10
+ interface UnprocessableEntityError {
11
+ errorName: "UnprocessableEntityError";
12
+ content: serializers.UnprocessableEntityErrorMessage.Raw;
13
+ }
14
+ }
@@ -0,0 +1,46 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ UnprocessableEntityError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
36
+ }),
37
+ })
38
+ .transform({
39
+ transform: (value) => {
40
+ switch (value.errorName) {
41
+ case "UnprocessableEntityError":
42
+ return CandidApi.tasks.v3.getMulti.Error.unprocessableEntityError(value.content);
43
+ }
44
+ },
45
+ untransform: ({ _visit, ...value }) => value,
46
+ });
@@ -0,0 +1,3 @@
1
+ export * as getMulti from "./getMulti";
2
+ export * as get from "./get";
3
+ export * as update from "./update";
@@ -0,0 +1,29 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.update = exports.get = exports.getMulti = void 0;
27
+ exports.getMulti = __importStar(require("./getMulti"));
28
+ exports.get = __importStar(require("./get"));
29
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.tasks.v3.update.Error.Raw, CandidApi.tasks.v3.update.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.TaskUpdatedToDeprecatedStatusError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ interface UnauthorizedError {
15
+ errorName: "UnauthorizedError";
16
+ content: serializers.UnauthorizedErrorMessage.Raw;
17
+ }
18
+ interface TaskUpdatedToDeprecatedStatusError {
19
+ errorName: "TaskUpdatedToDeprecatedStatusError";
20
+ content: serializers.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType.Raw;
21
+ }
22
+ }
@@ -0,0 +1,56 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
37
+ UnauthorizedError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
39
+ }),
40
+ TaskUpdatedToDeprecatedStatusError: core.serialization.object({
41
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskUpdatedToDeprecatedStatusErrorType),
42
+ }),
43
+ })
44
+ .transform({
45
+ transform: (value) => {
46
+ switch (value.errorName) {
47
+ case "EntityNotFoundError":
48
+ return CandidApi.tasks.v3.update.Error.entityNotFoundError(value.content);
49
+ case "UnauthorizedError":
50
+ return CandidApi.tasks.v3.update.Error.unauthorizedError(value.content);
51
+ case "TaskUpdatedToDeprecatedStatusError":
52
+ return CandidApi.tasks.v3.update.Error.taskUpdatedToDeprecatedStatusError(value.content);
53
+ }
54
+ },
55
+ untransform: ({ _visit, ...value }) => value,
56
+ });
@@ -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,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Task: core.serialization.ObjectSchema<serializers.tasks.v3.Task.Raw, CandidApi.tasks.v3.Task>;
8
+ export declare namespace Task {
9
+ interface Raw {
10
+ task_id: serializers.TaskId.Raw;
11
+ encounter_id: serializers.EncounterId.Raw;
12
+ task_type: serializers.tasks.TaskType.Raw;
13
+ description: string;
14
+ blocks_claim_submission: boolean;
15
+ external_id: string;
16
+ patient_name: string;
17
+ patient_external_id: string;
18
+ payer_name?: string | null;
19
+ payer_id?: string | null;
20
+ status: serializers.tasks.TaskStatus.Raw;
21
+ notes: serializers.tasks.v3.TaskNote.Raw[];
22
+ created_at: string;
23
+ updated_at: string;
24
+ agg_updated_at: string;
25
+ date_of_service: string;
26
+ assignments: serializers.tasks.v3.TaskAssignment.Raw[];
27
+ category?: serializers.tasks.TaskCategory.Raw | null;
28
+ }
29
+ }
@@ -0,0 +1,50 @@
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.Task = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.Task = core.serialization.object({
32
+ taskId: core.serialization.property("task_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaskId)),
33
+ encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
34
+ taskType: core.serialization.property("task_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskType)),
35
+ description: core.serialization.string(),
36
+ blocksClaimSubmission: core.serialization.property("blocks_claim_submission", core.serialization.boolean()),
37
+ externalId: core.serialization.property("external_id", core.serialization.string()),
38
+ patientName: core.serialization.property("patient_name", core.serialization.string()),
39
+ patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
40
+ payerName: core.serialization.property("payer_name", core.serialization.string().optional()),
41
+ payerId: core.serialization.property("payer_id", core.serialization.string().optional()),
42
+ status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskStatus),
43
+ notes: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskNote)),
44
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
45
+ updatedAt: core.serialization.property("updated_at", core.serialization.date()),
46
+ aggUpdatedAt: core.serialization.property("agg_updated_at", core.serialization.date()),
47
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
48
+ assignments: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskAssignment)),
49
+ category: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskCategory).optional(),
50
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TaskAction: core.serialization.ObjectSchema<serializers.tasks.v3.TaskAction.Raw, CandidApi.tasks.v3.TaskAction>;
8
+ export declare namespace TaskAction {
9
+ interface Raw {
10
+ display_name: string;
11
+ execution_method: serializers.tasks.v3.TaskActionExecutionMethod.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.TaskAction = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskAction = core.serialization.object({
32
+ displayName: core.serialization.property("display_name", core.serialization.string()),
33
+ executionMethod: core.serialization.property("execution_method", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskActionExecutionMethod)),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TaskActionExecutionMethod: core.serialization.Schema<serializers.tasks.v3.TaskActionExecutionMethod.Raw, CandidApi.tasks.v3.TaskActionExecutionMethod>;
8
+ export declare namespace TaskActionExecutionMethod {
9
+ type Raw = TaskActionExecutionMethod.CloseTask;
10
+ interface CloseTask {
11
+ type: "close_task";
12
+ }
13
+ }
@@ -0,0 +1,38 @@
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.TaskActionExecutionMethod = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskActionExecutionMethod = core.serialization
32
+ .union("type", {
33
+ close_task: core.serialization.object({}),
34
+ })
35
+ .transform({
36
+ transform: (value) => value,
37
+ untransform: (value) => value,
38
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TaskActions: core.serialization.ObjectSchema<serializers.tasks.v3.TaskActions.Raw, CandidApi.tasks.v3.TaskActions>;
8
+ export declare namespace TaskActions {
9
+ interface Raw {
10
+ actions: serializers.tasks.v3.TaskAction.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.TaskActions = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskActions = core.serialization.object({
32
+ actions: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskAction)),
33
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TaskAssignment: core.serialization.ObjectSchema<serializers.tasks.v3.TaskAssignment.Raw, CandidApi.tasks.v3.TaskAssignment>;
8
+ export declare namespace TaskAssignment {
9
+ interface Raw {
10
+ task_assignment_id: serializers.TaskAssignmentId.Raw;
11
+ assignee_user_id?: serializers.UserId.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.TaskAssignment = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskAssignment = core.serialization.object({
32
+ taskAssignmentId: core.serialization.property("task_assignment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaskAssignmentId)),
33
+ assigneeUserId: core.serialization.property("assignee_user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId).optional()),
34
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TaskCreateV3: core.serialization.ObjectSchema<serializers.tasks.v3.TaskCreateV3.Raw, CandidApi.tasks.v3.TaskCreateV3>;
8
+ export declare namespace TaskCreateV3 {
9
+ interface Raw {
10
+ encounter_id: serializers.EncounterId.Raw;
11
+ task_type: serializers.tasks.TaskType.Raw;
12
+ description: string;
13
+ blocks_claim_submission?: boolean | null;
14
+ assignee_user_id?: serializers.UserId.Raw | null;
15
+ category?: serializers.tasks.TaskCategory.Raw | null;
16
+ work_queue_id: serializers.WorkQueueId.Raw;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
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.TaskCreateV3 = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskCreateV3 = core.serialization.object({
32
+ encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
33
+ taskType: core.serialization.property("task_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskType)),
34
+ description: core.serialization.string(),
35
+ blocksClaimSubmission: core.serialization.property("blocks_claim_submission", core.serialization.boolean().optional()),
36
+ assigneeUserId: core.serialization.property("assignee_user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId).optional()),
37
+ category: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskCategory).optional(),
38
+ workQueueId: core.serialization.property("work_queue_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).WorkQueueId)),
39
+ });