candidhealth 0.40.3 → 0.40.4

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 (242) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +19 -14
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  6. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  7. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  8. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  14. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  15. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  16. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  17. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  18. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  19. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  20. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  21. package/api/resources/index.d.ts +1 -0
  22. package/api/resources/index.js +3 -1
  23. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  24. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  25. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  26. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  27. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  28. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  29. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  30. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  31. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  32. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  33. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  35. package/api/resources/payerPlanGroups/client/Client.js +17 -0
  36. package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  37. package/api/resources/payerPlanGroups/client/index.js +2 -0
  38. package/api/resources/payerPlanGroups/index.d.ts +2 -0
  39. package/api/resources/payerPlanGroups/index.js +18 -0
  40. package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  41. package/api/resources/payerPlanGroups/resources/index.js +37 -0
  42. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  43. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  44. package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  45. package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  46. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  47. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
  48. package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  49. package/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  50. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  51. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  52. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  53. package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  54. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  55. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  56. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  57. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  59. package/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
  60. package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  61. package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  62. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  63. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  64. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  65. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  66. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  67. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  68. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  69. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  70. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  71. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  72. package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  73. package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  74. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  75. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  76. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  77. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  78. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  79. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  80. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  81. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  82. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  83. package/api/resources/serviceFacility/client/Client.js +1 -1
  84. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  85. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  86. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  87. package/dist/Client.d.ts +3 -0
  88. package/dist/Client.js +19 -14
  89. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  90. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  91. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  92. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  93. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  94. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  95. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  96. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  97. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  98. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  99. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  100. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  101. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  102. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  103. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  104. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  105. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  107. package/dist/api/resources/index.d.ts +1 -0
  108. package/dist/api/resources/index.js +3 -1
  109. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  110. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  111. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  112. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  113. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  114. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  115. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  116. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  117. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  118. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  119. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  120. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  121. package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
  122. package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  123. package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
  124. package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
  125. package/dist/api/resources/payerPlanGroups/index.js +18 -0
  126. package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  127. package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
  128. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  129. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  130. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  131. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  132. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  133. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
  134. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  135. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  136. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  137. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  138. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  139. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  140. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  141. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  142. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  143. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  144. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  145. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
  146. package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  147. package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  148. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  149. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  150. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  151. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  152. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  153. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  154. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  155. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  156. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  157. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  158. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  159. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  160. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  161. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  162. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  163. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  164. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  165. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  166. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  167. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  168. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  169. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  170. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  171. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  172. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  173. package/dist/serialization/resources/index.d.ts +1 -0
  174. package/dist/serialization/resources/index.js +3 -1
  175. package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  176. package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
  177. package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  178. package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  179. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  180. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  181. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
  182. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
  183. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
  184. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/get.js +77 -0
  185. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  186. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  187. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  188. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  189. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  190. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  191. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  192. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  193. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  194. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  195. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  196. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  197. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  198. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
  199. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  200. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  201. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  202. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  203. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  204. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +345 -0
  209. package/serialization/resources/index.d.ts +1 -0
  210. package/serialization/resources/index.js +3 -1
  211. package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  212. package/serialization/resources/payerPlanGroups/index.js +17 -0
  213. package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  214. package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  215. package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  216. package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  217. package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
  218. package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
  219. package/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
  220. package/serialization/resources/payerPlanGroups/resources/v1/client/get.js +77 -0
  221. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  222. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  223. package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  224. package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  225. package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  226. package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  227. package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  228. package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  229. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  230. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  231. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  232. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  233. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  234. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
  235. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  236. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  237. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  238. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  239. package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  240. package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
@@ -120,7 +120,7 @@ class V2 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
122
122
  method: "POST",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  requestType: "json",
126
126
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -209,7 +209,7 @@ class V2 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
211
211
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -265,7 +265,7 @@ class V2 {
265
265
  const _response = yield core.fetcher({
266
266
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
267
267
  method: "DELETE",
268
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  requestType: "json",
271
271
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -169,7 +169,7 @@ class V3 {
169
169
  const _response = yield core.fetcher({
170
170
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
171
171
  method: "GET",
172
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
175
175
  requestType: "json",
@@ -221,7 +221,7 @@ class V3 {
221
221
  const _response = yield core.fetcher({
222
222
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
223
223
  method: "GET",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -281,7 +281,7 @@ class V3 {
281
281
  const _response = yield core.fetcher({
282
282
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
283
283
  method: "POST",
284
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -324,7 +324,7 @@ class V3 {
324
324
  const _response = yield core.fetcher({
325
325
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
326
326
  method: "PATCH",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  requestType: "json",
330
330
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -127,7 +127,7 @@ class V1 {
127
127
  const _response = yield core.fetcher({
128
128
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
129
129
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
133
133
  requestType: "json",
@@ -167,7 +167,7 @@ class V1 {
167
167
  const _response = yield core.fetcher({
168
168
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class V1 {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
218
218
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
219
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
260
260
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -297,7 +297,7 @@ class V1 {
297
297
  const _response = yield core.fetcher({
298
298
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
299
299
  method: "POST",
300
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -336,7 +336,7 @@ class V1 {
336
336
  const _response = yield core.fetcher({
337
337
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
338
338
  method: "POST",
339
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.3", "User-Agent": "candidhealth/0.40.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
339
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
340
  contentType: "application/json",
341
341
  requestType: "json",
342
342
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -30,6 +30,7 @@ export * as organizationServiceFacilities from "./organizationServiceFacilities"
30
30
  export * as organizationProviders from "./organizationProviders";
31
31
  export * as patientPayments from "./patientPayments";
32
32
  export * as patientRefunds from "./patientRefunds";
33
+ export * as payerPlanGroups from "./payerPlanGroups";
33
34
  export * as payers from "./payers";
34
35
  export * as remitDrafts from "./remitDrafts";
35
36
  export * as remits from "./remits";
@@ -36,7 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
39
+ exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
+ exports.eligibility = void 0;
40
41
  exports.feeSchedules = __importStar(require("./feeSchedules"));
41
42
  exports.commons = __importStar(require("./commons"));
42
43
  __exportStar(require("./commons/errors"), exports);
@@ -69,6 +70,7 @@ exports.organizationServiceFacilities = __importStar(require("./organizationServ
69
70
  exports.organizationProviders = __importStar(require("./organizationProviders"));
70
71
  exports.patientPayments = __importStar(require("./patientPayments"));
71
72
  exports.patientRefunds = __importStar(require("./patientRefunds"));
73
+ exports.payerPlanGroups = __importStar(require("./payerPlanGroups"));
72
74
  exports.payers = __importStar(require("./payers"));
73
75
  exports.remitDrafts = __importStar(require("./remitDrafts"));
74
76
  exports.remits = __importStar(require("./remits"));
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,37 @@
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 () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { PayerPlanGroupAlreadyExistsError } from "../types/PayerPlanGroupAlreadyExistsError";
9
+ export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.create.Error.Raw, CandidApi.payerPlanGroups.v1.create.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.PayerPlanGroupAlreadyExistsHttpError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface PayerPlanGroupAlreadyExistsHttpError {
17
+ errorName: "PayerPlanGroupAlreadyExistsHttpError";
18
+ content: PayerPlanGroupAlreadyExistsError.Raw;
19
+ }
20
+ }
@@ -0,0 +1,77 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const PayerPlanGroupAlreadyExistsError_1 = require("../types/PayerPlanGroupAlreadyExistsError");
55
+ exports.Error = core.serialization
56
+ .union("errorName", {
57
+ EntityNotFoundError: core.serialization.object({
58
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
59
+ }),
60
+ PayerPlanGroupAlreadyExistsHttpError: core.serialization.object({
61
+ content: PayerPlanGroupAlreadyExistsError_1.PayerPlanGroupAlreadyExistsError,
62
+ }),
63
+ })
64
+ .transform({
65
+ transform: (value) => {
66
+ switch (value.errorName) {
67
+ case "EntityNotFoundError":
68
+ return CandidApi.payerPlanGroups.v1.create.Error.entityNotFoundError(value.content);
69
+ case "PayerPlanGroupAlreadyExistsHttpError":
70
+ return CandidApi.payerPlanGroups.v1.create.Error.payerPlanGroupAlreadyExistsHttpError(value.content);
71
+ }
72
+ },
73
+ untransform: (_a) => {
74
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
75
+ return value;
76
+ },
77
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.deactivate.Error.Raw, CandidApi.payerPlanGroups.v1.deactivate.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,77 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
55
+ exports.Error = core.serialization
56
+ .union("errorName", {
57
+ EntityNotFoundError: core.serialization.object({
58
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
59
+ }),
60
+ UnauthorizedError: core.serialization.object({
61
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
62
+ }),
63
+ })
64
+ .transform({
65
+ transform: (value) => {
66
+ switch (value.errorName) {
67
+ case "EntityNotFoundError":
68
+ return CandidApi.payerPlanGroups.v1.deactivate.Error.entityNotFoundError(value.content);
69
+ case "UnauthorizedError":
70
+ return CandidApi.payerPlanGroups.v1.deactivate.Error.unauthorizedError(value.content);
71
+ }
72
+ },
73
+ untransform: (_a) => {
74
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
75
+ return value;
76
+ },
77
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.get.Error.Raw, CandidApi.payerPlanGroups.v1.get.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,77 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
55
+ exports.Error = core.serialization
56
+ .union("errorName", {
57
+ EntityNotFoundError: core.serialization.object({
58
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
59
+ }),
60
+ UnauthorizedError: core.serialization.object({
61
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
62
+ }),
63
+ })
64
+ .transform({
65
+ transform: (value) => {
66
+ switch (value.errorName) {
67
+ case "EntityNotFoundError":
68
+ return CandidApi.payerPlanGroups.v1.get.Error.entityNotFoundError(value.content);
69
+ case "UnauthorizedError":
70
+ return CandidApi.payerPlanGroups.v1.get.Error.unauthorizedError(value.content);
71
+ }
72
+ },
73
+ untransform: (_a) => {
74
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
75
+ return value;
76
+ },
77
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.getMulti.Error.Raw, CandidApi.payerPlanGroups.v1.getMulti.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.UnprocessableEntityError;
11
+ interface UnprocessableEntityError {
12
+ errorName: "UnprocessableEntityError";
13
+ content: UnprocessableEntityErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,71 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ UnprocessableEntityError: core.serialization.object({
57
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
58
+ }),
59
+ })
60
+ .transform({
61
+ transform: (value) => {
62
+ switch (value.errorName) {
63
+ case "UnprocessableEntityError":
64
+ return CandidApi.payerPlanGroups.v1.getMulti.Error.unprocessableEntityError(value.content);
65
+ }
66
+ },
67
+ untransform: (_a) => {
68
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
69
+ return value;
70
+ },
71
+ });