candidhealth 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/Client.d.ts +6 -6
  2. package/Client.js +20 -20
  3. package/api/resources/auth/resources/v2/client/Client.d.ts +14 -0
  4. package/api/resources/auth/resources/v2/client/Client.js +15 -1
  5. package/api/resources/billingNotes/client/Client.d.ts +3 -3
  6. package/api/resources/billingNotes/client/Client.js +4 -69
  7. package/api/resources/billingNotes/client/index.d.ts +1 -2
  8. package/api/resources/billingNotes/client/index.js +0 -29
  9. package/api/resources/billingNotes/index.d.ts +1 -1
  10. package/api/resources/billingNotes/index.js +1 -1
  11. package/api/resources/billingNotes/resources/index.d.ts +1 -0
  12. package/api/resources/billingNotes/resources/index.js +27 -0
  13. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +18 -0
  14. package/{dist/api/resources/tasks/resources/v3 → api/resources/billingNotes/resources/v2}/client/Client.js +12 -9
  15. package/{dist/api/resources/payers/client/get.d.ts → api/resources/billingNotes/resources/v2/client/create.d.ts} +6 -6
  16. package/{dist/api/resources/billingNotes → api/resources/billingNotes/resources/v2}/client/create.js +2 -2
  17. package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  18. package/api/resources/billingNotes/resources/v2/client/index.js +31 -0
  19. package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +7 -0
  20. package/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.d.ts +3 -3
  21. package/{dist/api/resources/billingNotes → api/resources/billingNotes/resources/v2}/types/BillingNoteId.d.ts +3 -3
  22. package/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
  23. package/api/resources/commons/types/index.d.ts +1 -1
  24. package/api/resources/commons/types/index.js +1 -1
  25. package/api/resources/{tasks → eligibility}/client/Client.d.ts +7 -7
  26. package/{dist/api/resources/tasks → api/resources/eligibility}/client/Client.js +7 -7
  27. package/api/resources/eligibility/resources/index.d.ts +1 -0
  28. package/api/resources/eligibility/resources/index.js +27 -0
  29. package/api/resources/eligibility/resources/v2/client/Client.d.ts +35 -0
  30. package/api/resources/eligibility/resources/v2/client/Client.js +107 -0
  31. package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  32. package/api/resources/{tasks/resources/v3 → eligibility/resources/v2}/client/index.js +2 -2
  33. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
  34. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
  35. package/api/resources/eligibility/resources/v2/index.d.ts +1 -0
  36. package/api/resources/eligibility/resources/v2/index.js +17 -0
  37. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  38. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  39. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  40. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  41. package/api/resources/exports/resources/v3/client/Client.d.ts +15 -0
  42. package/api/resources/exports/resources/v3/client/Client.js +16 -1
  43. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  44. package/api/resources/index.d.ts +3 -7
  45. package/api/resources/index.js +4 -8
  46. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  47. package/api/resources/payers/client/Client.d.ts +3 -4
  48. package/api/resources/payers/client/Client.js +4 -108
  49. package/api/resources/payers/client/index.d.ts +1 -3
  50. package/api/resources/payers/client/index.js +0 -30
  51. package/api/resources/payers/index.d.ts +1 -1
  52. package/api/resources/payers/index.js +1 -1
  53. package/api/resources/{tasks → payers}/resources/v3/client/Client.d.ts +2 -1
  54. package/api/resources/payers/resources/v3/client/Client.js +122 -0
  55. package/api/resources/{tasks/resources/v3/client/getActions.d.ts → payers/resources/v3/client/get.d.ts} +4 -4
  56. package/api/resources/{tasks/resources/v3/client/getActions.js → payers/resources/v3/client/get.js} +1 -1
  57. package/{dist/api/resources/tasks/resources/v3/client/getActions.d.ts → api/resources/payers/resources/v3/client/getAll.d.ts} +4 -4
  58. package/{dist/api/resources/tasks/resources/v3/client/getActions.js → api/resources/payers/resources/v3/client/getAll.js} +1 -1
  59. package/api/resources/payers/resources/v3/client/index.d.ts +3 -0
  60. package/api/resources/payers/resources/v3/client/index.js +32 -0
  61. package/api/resources/payers/{client → resources/v3/client}/requests/GetAllPayersRequest.d.ts +1 -1
  62. package/api/resources/payers/{types → resources/v3/types}/Payer.d.ts +2 -2
  63. package/api/resources/payers/{types → resources/v3/types}/PayerPage.d.ts +2 -2
  64. package/api/resources/payers/resources/v3/types/PayerUuid.d.ts +8 -0
  65. package/dist/Client.d.ts +6 -6
  66. package/dist/Client.js +20 -20
  67. package/dist/api/resources/auth/resources/v2/client/Client.d.ts +14 -0
  68. package/dist/api/resources/auth/resources/v2/client/Client.js +15 -1
  69. package/dist/api/resources/billingNotes/client/Client.d.ts +3 -3
  70. package/dist/api/resources/billingNotes/client/Client.js +4 -69
  71. package/dist/api/resources/billingNotes/client/index.d.ts +1 -2
  72. package/dist/api/resources/billingNotes/client/index.js +0 -29
  73. package/dist/api/resources/billingNotes/index.d.ts +1 -1
  74. package/dist/api/resources/billingNotes/index.js +1 -1
  75. package/dist/api/resources/billingNotes/resources/index.d.ts +1 -0
  76. package/dist/api/resources/billingNotes/resources/index.js +27 -0
  77. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +18 -0
  78. package/{api/resources/tasks/resources/v3 → dist/api/resources/billingNotes/resources/v2}/client/Client.js +12 -9
  79. package/{api/resources/payers/client/get.d.ts → dist/api/resources/billingNotes/resources/v2/client/create.d.ts} +6 -6
  80. package/{api/resources/billingNotes → dist/api/resources/billingNotes/resources/v2}/client/create.js +2 -2
  81. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  82. package/dist/api/resources/billingNotes/resources/v2/client/index.js +31 -0
  83. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +7 -0
  84. package/dist/api/resources/billingNotes/resources/v2/index.d.ts +2 -0
  85. package/dist/api/resources/billingNotes/resources/v2/index.js +18 -0
  86. package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.d.ts +3 -3
  87. package/{api/resources/billingNotes → dist/api/resources/billingNotes/resources/v2}/types/BillingNoteId.d.ts +3 -3
  88. package/dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
  89. package/dist/api/resources/commons/types/index.d.ts +1 -1
  90. package/dist/api/resources/commons/types/index.js +1 -1
  91. package/dist/api/resources/{tasks → eligibility}/client/Client.d.ts +7 -7
  92. package/{api/resources/tasks → dist/api/resources/eligibility}/client/Client.js +7 -7
  93. package/dist/api/resources/eligibility/resources/index.d.ts +1 -0
  94. package/dist/api/resources/eligibility/resources/index.js +27 -0
  95. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +35 -0
  96. package/dist/api/resources/eligibility/resources/v2/client/Client.js +107 -0
  97. package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  98. package/dist/api/resources/{tasks/resources/v3 → eligibility/resources/v2}/client/index.js +2 -2
  99. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
  100. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
  101. package/dist/api/resources/eligibility/resources/v2/index.d.ts +1 -0
  102. package/dist/api/resources/eligibility/resources/v2/index.js +17 -0
  103. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  104. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  105. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  106. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  107. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +15 -0
  108. package/dist/api/resources/exports/resources/v3/client/Client.js +16 -1
  109. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  110. package/dist/api/resources/index.d.ts +3 -7
  111. package/dist/api/resources/index.js +4 -8
  112. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  113. package/dist/api/resources/payers/client/Client.d.ts +3 -4
  114. package/dist/api/resources/payers/client/Client.js +4 -108
  115. package/dist/api/resources/payers/client/index.d.ts +1 -3
  116. package/dist/api/resources/payers/client/index.js +0 -30
  117. package/dist/api/resources/payers/index.d.ts +1 -1
  118. package/dist/api/resources/payers/index.js +1 -1
  119. package/dist/api/resources/{tasks → payers}/resources/v3/client/Client.d.ts +2 -1
  120. package/dist/api/resources/payers/resources/v3/client/Client.js +122 -0
  121. package/dist/api/resources/payers/{client/getAll.d.ts → resources/v3/client/get.d.ts} +6 -6
  122. package/{api/resources/payers/client/getAll.js → dist/api/resources/payers/resources/v3/client/get.js} +2 -2
  123. package/dist/api/resources/payers/resources/v3/client/getAll.d.ts +22 -0
  124. package/dist/api/resources/payers/{client → resources/v3/client}/getAll.js +2 -2
  125. package/dist/api/resources/payers/resources/v3/client/index.d.ts +3 -0
  126. package/dist/api/resources/payers/resources/v3/client/index.js +32 -0
  127. package/dist/api/resources/payers/{client → resources/v3/client}/requests/GetAllPayersRequest.d.ts +1 -1
  128. package/dist/api/resources/payers/resources/v3/index.d.ts +2 -0
  129. package/dist/api/resources/payers/resources/v3/index.js +18 -0
  130. package/dist/api/resources/payers/{types → resources/v3/types}/Payer.d.ts +2 -2
  131. package/dist/api/resources/payers/{types → resources/v3/types}/PayerPage.d.ts +2 -2
  132. package/dist/api/resources/payers/resources/v3/types/PayerUuid.d.ts +8 -0
  133. package/dist/serialization/resources/billingNotes/index.d.ts +1 -2
  134. package/dist/serialization/resources/billingNotes/index.js +1 -2
  135. package/dist/serialization/resources/billingNotes/resources/index.d.ts +1 -0
  136. package/dist/serialization/resources/billingNotes/resources/index.js +27 -0
  137. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +12 -0
  138. package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +3 -3
  139. package/dist/serialization/resources/billingNotes/resources/v2/index.d.ts +2 -0
  140. package/dist/serialization/resources/billingNotes/resources/v2/index.js +18 -0
  141. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNote.d.ts +16 -0
  142. package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +4 -4
  143. package/{serialization/resources/tasks/resources/v3/types/TaskActions.d.ts → dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBase.d.ts} +3 -3
  144. package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +1 -1
  145. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteId.d.ts +10 -0
  146. package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +3 -3
  147. package/dist/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
  148. package/dist/serialization/resources/commons/types/{TaskId.js → HttpServiceUnavailableErrorMessage.js} +3 -7
  149. package/dist/serialization/resources/commons/types/index.d.ts +1 -1
  150. package/dist/serialization/resources/commons/types/index.js +1 -1
  151. package/dist/serialization/resources/eligibility/resources/index.d.ts +1 -0
  152. package/dist/serialization/resources/eligibility/resources/index.js +27 -0
  153. package/dist/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  154. package/dist/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
  155. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
  156. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
  157. package/dist/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
  158. package/dist/serialization/resources/eligibility/resources/v2/index.js +17 -0
  159. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  160. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  161. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  162. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
  163. package/dist/serialization/resources/index.d.ts +3 -6
  164. package/dist/serialization/resources/index.js +4 -7
  165. package/dist/serialization/resources/payers/index.d.ts +1 -1
  166. package/dist/serialization/resources/payers/index.js +1 -1
  167. package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +14 -0
  168. package/{serialization/resources/payers → dist/serialization/resources/payers/resources/v3}/types/Payer.js +2 -2
  169. package/dist/serialization/resources/payers/resources/v3/types/PayerPage.d.ts +12 -0
  170. package/dist/serialization/resources/payers/{types → resources/v3/types}/PayerPage.js +3 -3
  171. package/dist/serialization/resources/payers/resources/v3/types/PayerUuid.d.ts +10 -0
  172. package/dist/serialization/resources/{tasks/resources/v3/types/TaskActionExecutionMethod.js → payers/resources/v3/types/PayerUuid.js} +4 -7
  173. package/package.json +1 -1
  174. package/serialization/resources/billingNotes/index.d.ts +1 -2
  175. package/serialization/resources/billingNotes/index.js +1 -2
  176. package/serialization/resources/billingNotes/resources/index.d.ts +1 -0
  177. package/serialization/resources/billingNotes/resources/index.js +27 -0
  178. package/serialization/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +12 -0
  179. package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +3 -3
  180. package/serialization/resources/billingNotes/resources/v2/index.d.ts +2 -0
  181. package/serialization/resources/billingNotes/resources/v2/index.js +18 -0
  182. package/serialization/resources/billingNotes/resources/v2/types/BillingNote.d.ts +16 -0
  183. package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +4 -4
  184. package/{dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts → serialization/resources/billingNotes/resources/v2/types/BillingNoteBase.d.ts} +3 -3
  185. package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +1 -1
  186. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteId.d.ts +10 -0
  187. package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +3 -3
  188. package/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
  189. package/serialization/resources/commons/types/{TaskId.js → HttpServiceUnavailableErrorMessage.js} +3 -7
  190. package/serialization/resources/commons/types/index.d.ts +1 -1
  191. package/serialization/resources/commons/types/index.js +1 -1
  192. package/serialization/resources/eligibility/resources/index.d.ts +1 -0
  193. package/serialization/resources/eligibility/resources/index.js +27 -0
  194. package/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  195. package/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
  196. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
  197. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
  198. package/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
  199. package/serialization/resources/eligibility/resources/v2/index.js +17 -0
  200. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  201. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  202. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  203. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
  204. package/serialization/resources/index.d.ts +3 -6
  205. package/serialization/resources/index.js +4 -7
  206. package/serialization/resources/payers/index.d.ts +1 -1
  207. package/serialization/resources/payers/index.js +1 -1
  208. package/serialization/resources/payers/resources/v3/types/Payer.d.ts +14 -0
  209. package/{dist/serialization/resources/payers → serialization/resources/payers/resources/v3}/types/Payer.js +2 -2
  210. package/serialization/resources/payers/resources/v3/types/PayerPage.d.ts +12 -0
  211. package/serialization/resources/payers/{types → resources/v3/types}/PayerPage.js +3 -3
  212. package/serialization/resources/payers/resources/v3/types/PayerUuid.d.ts +10 -0
  213. package/serialization/resources/{tasks/resources/v3/types/TaskActionExecutionMethod.js → payers/resources/v3/types/PayerUuid.js} +4 -7
  214. package/api/resources/billingNotes/client/create.d.ts +0 -22
  215. package/api/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -7
  216. package/api/resources/commons/types/TaskId.d.ts +0 -8
  217. package/api/resources/commons/types/TaskId.js +0 -10
  218. package/api/resources/payers/client/get.js +0 -47
  219. package/api/resources/payers/client/getAll.d.ts +0 -22
  220. package/api/resources/payers/types/PayerUuid.d.ts +0 -8
  221. package/api/resources/tasks/resources/v3/client/index.d.ts +0 -1
  222. package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -8
  223. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -10
  224. package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +0 -7
  225. package/api/resources/tasks/resources/v3/types/TaskActions.js +0 -5
  226. package/api/resources/tasks/resources/v3/types/index.d.ts +0 -3
  227. package/api/resources/tasks/resources/v3/types/index.js +0 -19
  228. package/dist/api/resources/billingNotes/client/create.d.ts +0 -22
  229. package/dist/api/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -7
  230. package/dist/api/resources/commons/types/TaskId.d.ts +0 -8
  231. package/dist/api/resources/commons/types/TaskId.js +0 -10
  232. package/dist/api/resources/payers/client/get.js +0 -47
  233. package/dist/api/resources/payers/types/PayerUuid.d.ts +0 -8
  234. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +0 -1
  235. package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -8
  236. package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +0 -5
  237. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -10
  238. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +0 -5
  239. package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +0 -7
  240. package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +0 -5
  241. package/dist/api/resources/tasks/resources/v3/types/index.d.ts +0 -3
  242. package/dist/api/resources/tasks/resources/v3/types/index.js +0 -19
  243. package/dist/serialization/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -12
  244. package/dist/serialization/resources/billingNotes/types/BillingNote.d.ts +0 -16
  245. package/dist/serialization/resources/billingNotes/types/BillingNoteBase.d.ts +0 -12
  246. package/dist/serialization/resources/billingNotes/types/BillingNoteId.d.ts +0 -10
  247. package/dist/serialization/resources/commons/types/TaskId.d.ts +0 -10
  248. package/dist/serialization/resources/payers/types/Payer.d.ts +0 -14
  249. package/dist/serialization/resources/payers/types/PayerPage.d.ts +0 -12
  250. package/dist/serialization/resources/payers/types/PayerUuid.d.ts +0 -10
  251. package/dist/serialization/resources/payers/types/PayerUuid.js +0 -37
  252. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -13
  253. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +0 -34
  254. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -13
  255. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +0 -33
  256. package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +0 -3
  257. package/dist/serialization/resources/tasks/resources/v3/types/index.js +0 -19
  258. package/serialization/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -12
  259. package/serialization/resources/billingNotes/types/BillingNote.d.ts +0 -16
  260. package/serialization/resources/billingNotes/types/BillingNoteBase.d.ts +0 -12
  261. package/serialization/resources/billingNotes/types/BillingNoteId.d.ts +0 -10
  262. package/serialization/resources/commons/types/TaskId.d.ts +0 -10
  263. package/serialization/resources/payers/types/Payer.d.ts +0 -14
  264. package/serialization/resources/payers/types/PayerPage.d.ts +0 -12
  265. package/serialization/resources/payers/types/PayerUuid.d.ts +0 -10
  266. package/serialization/resources/payers/types/PayerUuid.js +0 -37
  267. package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -13
  268. package/serialization/resources/tasks/resources/v3/types/TaskAction.js +0 -34
  269. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -13
  270. package/serialization/resources/tasks/resources/v3/types/TaskActions.js +0 -33
  271. package/serialization/resources/tasks/resources/v3/types/index.d.ts +0 -3
  272. package/serialization/resources/tasks/resources/v3/types/index.js +0 -19
  273. package/api/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +0 -0
  274. package/api/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
  275. package/api/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
  276. package/api/resources/{tasks/resources/v3 → billingNotes/resources/v2}/index.d.ts +0 -0
  277. package/api/resources/{tasks/resources/v3 → billingNotes/resources/v2}/index.js +0 -0
  278. package/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +0 -0
  279. package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.d.ts +0 -0
  280. package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +0 -0
  281. package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +0 -0
  282. package/api/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
  283. package/api/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
  284. package/api/resources/{payers/client/requests/GetAllPayersRequest.js → commons/types/HttpServiceUnavailableErrorMessage.js} +0 -0
  285. package/api/resources/{tasks → eligibility}/client/index.d.ts +0 -0
  286. package/api/resources/{payers/client/requests → eligibility/client}/index.js +0 -0
  287. package/api/resources/{tasks → eligibility}/index.d.ts +1 -1
  288. package/{dist/api/resources/tasks → api/resources/eligibility}/index.js +1 -1
  289. package/api/resources/{tasks → payers}/resources/index.d.ts +0 -0
  290. package/api/resources/{tasks → payers}/resources/index.js +0 -0
  291. package/{dist/api/resources/payers → api/resources/payers/resources/v3}/client/requests/GetAllPayersRequest.js +0 -0
  292. package/api/resources/payers/{client → resources/v3/client}/requests/index.d.ts +0 -0
  293. package/api/resources/{tasks/client → payers/resources/v3/client/requests}/index.js +0 -0
  294. package/{dist/api/resources/tasks → api/resources/payers}/resources/v3/index.d.ts +0 -0
  295. package/{dist/api/resources/tasks → api/resources/payers}/resources/v3/index.js +0 -0
  296. package/api/resources/payers/{types → resources/v3/types}/Payer.js +0 -0
  297. package/api/resources/payers/{types → resources/v3/types}/PayerPage.js +0 -0
  298. package/api/resources/payers/{types → resources/v3/types}/PayerUuid.js +0 -0
  299. package/api/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
  300. package/api/resources/payers/{types → resources/v3/types}/index.js +0 -0
  301. package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +0 -0
  302. package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
  303. package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
  304. package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +0 -0
  305. package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.d.ts +0 -0
  306. package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +0 -0
  307. package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +0 -0
  308. package/dist/api/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
  309. package/dist/api/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
  310. package/{api/resources/tasks/resources/v3/types/TaskAction.js → dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.js} +0 -0
  311. package/dist/api/resources/{tasks → eligibility}/client/index.d.ts +0 -0
  312. package/dist/api/resources/{payers/client/requests → eligibility/client}/index.js +0 -0
  313. package/dist/api/resources/{tasks → eligibility}/index.d.ts +1 -1
  314. package/{api/resources/tasks → dist/api/resources/eligibility}/index.js +1 -1
  315. /package/dist/api/resources/{tasks → payers}/resources/index.d.ts +0 -0
  316. /package/dist/api/resources/{tasks → payers}/resources/index.js +0 -0
  317. /package/{api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js → dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.js} +0 -0
  318. /package/dist/api/resources/payers/{client → resources/v3/client}/requests/index.d.ts +0 -0
  319. /package/dist/api/resources/{tasks/client → payers/resources/v3/client/requests}/index.js +0 -0
  320. /package/dist/api/resources/payers/{types → resources/v3/types}/Payer.js +0 -0
  321. /package/dist/api/resources/payers/{types → resources/v3/types}/PayerPage.js +0 -0
  322. /package/dist/api/resources/payers/{types → resources/v3/types}/PayerUuid.js +0 -0
  323. /package/dist/api/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
  324. /package/dist/api/resources/payers/{types → resources/v3/types}/index.js +0 -0
  325. /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/index.d.ts +0 -0
  326. /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/index.js +0 -0
  327. /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
  328. /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
  329. /package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
  330. /package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
  331. /package/dist/serialization/resources/{tasks → eligibility}/index.d.ts +0 -0
  332. /package/dist/serialization/resources/{tasks → eligibility}/index.js +0 -0
  333. /package/dist/serialization/resources/{tasks → payers}/resources/index.d.ts +0 -0
  334. /package/dist/serialization/resources/{tasks → payers}/resources/index.js +0 -0
  335. /package/dist/serialization/resources/{tasks → payers}/resources/v3/index.d.ts +0 -0
  336. /package/dist/serialization/resources/{tasks → payers}/resources/v3/index.js +0 -0
  337. /package/dist/serialization/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
  338. /package/dist/serialization/resources/payers/{types → resources/v3/types}/index.js +0 -0
  339. /package/serialization/resources/billingNotes/{client → resources/v2/client}/index.d.ts +0 -0
  340. /package/serialization/resources/billingNotes/{client → resources/v2/client}/index.js +0 -0
  341. /package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
  342. /package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
  343. /package/serialization/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
  344. /package/serialization/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
  345. /package/serialization/resources/{tasks → eligibility}/index.d.ts +0 -0
  346. /package/serialization/resources/{tasks → eligibility}/index.js +0 -0
  347. /package/serialization/resources/{tasks → payers}/resources/index.d.ts +0 -0
  348. /package/serialization/resources/{tasks → payers}/resources/index.js +0 -0
  349. /package/serialization/resources/{tasks → payers}/resources/v3/index.d.ts +0 -0
  350. /package/serialization/resources/{tasks → payers}/resources/v3/index.js +0 -0
  351. /package/serialization/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
  352. /package/serialization/resources/payers/{types → resources/v3/types}/index.js +0 -0
@@ -0,0 +1,27 @@
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.v2 = void 0;
27
+ exports.v2 = __importStar(require("./v2"));
@@ -0,0 +1 @@
1
+ export * as submitEligibilityCheck from "./submitEligibilityCheck";
@@ -0,0 +1,27 @@
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.submitEligibilityCheck = void 0;
27
+ exports.submitEligibilityCheck = __importStar(require("./submitEligibilityCheck"));
@@ -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.eligibility.v2.submitEligibilityCheck.Error.Raw, CandidApi.eligibility.v2.submitEligibilityCheck.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.HttpServiceUnavailableError;
10
+ interface HttpServiceUnavailableError {
11
+ errorName: "HttpServiceUnavailableError";
12
+ content: serializers.HttpServiceUnavailableErrorMessage.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
+ HttpServiceUnavailableError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).HttpServiceUnavailableErrorMessage),
36
+ }),
37
+ })
38
+ .transform({
39
+ transform: (value) => {
40
+ switch (value.errorName) {
41
+ case "HttpServiceUnavailableError":
42
+ return CandidApi.eligibility.v2.submitEligibilityCheck.Error.httpServiceUnavailableError(value.content);
43
+ }
44
+ },
45
+ untransform: ({ _visit, ...value }) => value,
46
+ });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
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("./client"), exports);
@@ -16,7 +16,7 @@ export declare namespace EncounterCreate {
16
16
  subscriber_secondary?: serializers.SubscriberCreate.Raw | null;
17
17
  diagnoses: serializers.DiagnosisCreate.Raw[];
18
18
  clinical_notes?: serializers.encounters.v4.ClinicalNoteCategoryCreate.Raw[] | null;
19
- billing_notes?: serializers.BillingNoteBase.Raw[] | null;
19
+ billing_notes?: serializers.billingNotes.v2.BillingNoteBase.Raw[] | null;
20
20
  place_of_service_code: serializers.FacilityTypeCode.Raw;
21
21
  patient_histories?: serializers.encounters.v4.PatientHistoryCategory.Raw[] | null;
22
22
  service_lines?: serializers.serviceLines.v2.ServiceLineCreate.Raw[] | null;
@@ -46,7 +46,7 @@ exports.EncounterCreate = core.serialization
46
46
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.ClinicalNoteCategoryCreate))
47
47
  .optional()),
48
48
  billingNotes: core.serialization.property("billing_notes", core.serialization
49
- .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).BillingNoteBase))
49
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).billingNotes.v2.BillingNoteBase))
50
50
  .optional()),
51
51
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).FacilityTypeCode)),
52
52
  patientHistories: core.serialization.property("patient_histories", core.serialization
@@ -20,7 +20,7 @@ export declare namespace Encounter {
20
20
  url: serializers.LinkUrl.Raw;
21
21
  diagnoses: serializers.Diagnosis.Raw[];
22
22
  clinical_notes: serializers.encounters.v4.ClinicalNoteCategory.Raw[];
23
- billing_notes?: serializers.BillingNote.Raw[] | null;
23
+ billing_notes?: serializers.billingNotes.v2.BillingNote.Raw[] | null;
24
24
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
25
25
  place_of_service_code_as_submitted?: serializers.FacilityTypeCode.Raw | null;
26
26
  patient_histories: serializers.encounters.v4.PatientHistoryCategory.Raw[];
@@ -48,7 +48,7 @@ exports.Encounter = core.serialization
48
48
  diagnoses: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Diagnosis)),
49
49
  clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ClinicalNoteCategory))),
50
50
  billingNotes: core.serialization.property("billing_notes", core.serialization
51
- .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).BillingNote))
51
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).billingNotes.v2.BillingNote))
52
52
  .optional()),
53
53
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
54
54
  placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
@@ -1,4 +1,5 @@
1
1
  export * as auth from "./auth";
2
+ export * as billingNotes from "./billingNotes";
2
3
  export * as encounterProviders from "./encounterProviders";
3
4
  export * as encounters from "./encounters";
4
5
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
@@ -6,10 +7,8 @@ export * as exports from "./exports";
6
7
  export * as guarantor from "./guarantor";
7
8
  export * as organizationProviders from "./organizationProviders";
8
9
  export * as patientPayments from "./patientPayments";
10
+ export * as payers from "./payers";
9
11
  export * as serviceLines from "./serviceLines";
10
- export * as tasks from "./tasks";
11
- export * as billingNotes from "./billingNotes";
12
- export * from "./billingNotes/types";
13
12
  export * as claims from "./claims";
14
13
  export * from "./claims/types";
15
14
  export * as commons from "./commons";
@@ -28,10 +27,8 @@ export * as insuranceCard from "./insuranceCard";
28
27
  export * from "./insuranceCard/types";
29
28
  export * as invoices from "./invoices";
30
29
  export * from "./invoices/types";
31
- export * as payers from "./payers";
32
- export * from "./payers/types";
33
30
  export * as serviceFacility from "./serviceFacility";
34
31
  export * from "./serviceFacility/types";
35
32
  export * as tags from "./tags";
36
33
  export * from "./tags/types";
37
- export * from "./billingNotes/client/requests";
34
+ export * as eligibility from "./eligibility";
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.tags = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.tasks = exports.serviceLines = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.insuranceCard = exports.individual = exports.identifiers = exports.era = exports.diagnoses = exports.contracts = exports.commons = exports.claims = exports.serviceLines = exports.payers = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
+ exports.billingNotes = __importStar(require("./billingNotes"));
31
32
  exports.encounterProviders = __importStar(require("./encounterProviders"));
32
33
  exports.encounters = __importStar(require("./encounters"));
33
34
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
@@ -35,10 +36,8 @@ exports.exports = __importStar(require("./exports"));
35
36
  exports.guarantor = __importStar(require("./guarantor"));
36
37
  exports.organizationProviders = __importStar(require("./organizationProviders"));
37
38
  exports.patientPayments = __importStar(require("./patientPayments"));
39
+ exports.payers = __importStar(require("./payers"));
38
40
  exports.serviceLines = __importStar(require("./serviceLines"));
39
- exports.tasks = __importStar(require("./tasks"));
40
- exports.billingNotes = __importStar(require("./billingNotes"));
41
- __exportStar(require("./billingNotes/types"), exports);
42
41
  exports.claims = __importStar(require("./claims"));
43
42
  __exportStar(require("./claims/types"), exports);
44
43
  exports.commons = __importStar(require("./commons"));
@@ -57,10 +56,8 @@ exports.insuranceCard = __importStar(require("./insuranceCard"));
57
56
  __exportStar(require("./insuranceCard/types"), exports);
58
57
  exports.invoices = __importStar(require("./invoices"));
59
58
  __exportStar(require("./invoices/types"), exports);
60
- exports.payers = __importStar(require("./payers"));
61
- __exportStar(require("./payers/types"), exports);
62
59
  exports.serviceFacility = __importStar(require("./serviceFacility"));
63
60
  __exportStar(require("./serviceFacility/types"), exports);
64
61
  exports.tags = __importStar(require("./tags"));
65
62
  __exportStar(require("./tags/types"), exports);
66
- __exportStar(require("./billingNotes/client/requests"), exports);
63
+ exports.eligibility = __importStar(require("./eligibility"));
@@ -1 +1 @@
1
- export * from "./types";
1
+ export * from "./resources";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
17
+ __exportStar(require("./resources"), exports);
@@ -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 Payer: core.serialization.ObjectSchema<serializers.payers.v3.Payer.Raw, CandidApi.payers.v3.Payer>;
8
+ export declare namespace Payer {
9
+ interface Raw {
10
+ payer_uuid: serializers.payers.v3.PayerUuid.Raw;
11
+ payer_id: string;
12
+ payer_name: string;
13
+ }
14
+ }
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Payer = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.Payer = core.serialization.object({
32
- payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PayerUuid)),
32
+ payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid)),
33
33
  payerId: core.serialization.property("payer_id", core.serialization.string()),
34
34
  payerName: core.serialization.property("payer_name", core.serialization.string()),
35
35
  });
@@ -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 PayerPage: core.serialization.ObjectSchema<serializers.payers.v3.PayerPage.Raw, CandidApi.payers.v3.PayerPage>;
8
+ export declare namespace PayerPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.payers.v3.Payer.Raw[];
11
+ }
12
+ }
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PayerPage = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.PayerPage = core.serialization
32
32
  .object({
33
- items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Payer)),
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.Payer)),
34
34
  })
35
- .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ResourcePage));
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayerUuid: core.serialization.Schema<serializers.payers.v3.PayerUuid.Raw, CandidApi.payers.v3.PayerUuid>;
8
+ export declare namespace PayerUuid {
9
+ type Raw = string;
10
+ }
@@ -26,13 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.TaskActionExecutionMethod = void 0;
29
+ exports.PayerUuid = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
30
31
  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,
32
+ exports.PayerUuid = core.serialization.string().transform({
33
+ transform: CandidApi.payers.v3.PayerUuid,
37
34
  untransform: (value) => value,
38
35
  });
@@ -1,22 +0,0 @@
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.billingNotes.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.billingNotes.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.billingNotes.create.Error._Unknown;
21
- readonly _visit: <_Result>(value: CandidApi.billingNotes.create.Error, visitor: CandidApi.billingNotes.create.Error._Visitor<_Result>) => _Result;
22
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../..";
5
- export interface StandaloneBillingNoteCreate extends CandidApi.BillingNoteBase {
6
- encounterId: CandidApi.EncounterId;
7
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type TaskId = string & {
6
- TaskId: void;
7
- };
8
- export declare function TaskId(value: string): CandidApi.TaskId;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TaskId = void 0;
7
- function TaskId(value) {
8
- return value;
9
- }
10
- exports.TaskId = TaskId;
@@ -1,47 +0,0 @@
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.payers.get.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
- };
@@ -1,22 +0,0 @@
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.payers.getAll.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.payers.getAll.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.payers.getAll.Error._Unknown;
21
- readonly _visit: <_Result>(value: CandidApi.payers.getAll.Error, visitor: CandidApi.payers.getAll.Error._Visitor<_Result>) => _Result;
22
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type PayerUuid = string & {
6
- PayerUuid: void;
7
- };
8
- export declare function PayerUuid(value: string): CandidApi.PayerUuid;
@@ -1 +0,0 @@
1
- export * as getActions from "./getActions";
@@ -1,8 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../..";
5
- export interface TaskActions {
6
- actions: CandidApi.tasks.v3.TaskAction[];
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export * from "./TaskActionExecutionMethod";
2
- export * from "./TaskActions";
3
- export * from "./TaskAction";
@@ -1,19 +0,0 @@
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("./TaskActionExecutionMethod"), exports);
18
- __exportStar(require("./TaskActions"), exports);
19
- __exportStar(require("./TaskAction"), exports);
@@ -1,22 +0,0 @@
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.billingNotes.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.billingNotes.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.billingNotes.create.Error._Unknown;
21
- readonly _visit: <_Result>(value: CandidApi.billingNotes.create.Error, visitor: CandidApi.billingNotes.create.Error._Visitor<_Result>) => _Result;
22
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../..";
5
- export interface StandaloneBillingNoteCreate extends CandidApi.BillingNoteBase {
6
- encounterId: CandidApi.EncounterId;
7
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type TaskId = string & {
6
- TaskId: void;
7
- };
8
- export declare function TaskId(value: string): CandidApi.TaskId;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TaskId = void 0;
7
- function TaskId(value) {
8
- return value;
9
- }
10
- exports.TaskId = TaskId;