candidhealth 0.40.2 → 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 (343) 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.d.ts +1 -0
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  7. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  9. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  11. package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  16. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  20. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  21. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  22. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  23. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  24. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  25. package/api/resources/diagnoses/client/Client.js +3 -3
  26. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  27. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  28. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  29. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  30. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  31. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  32. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  33. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  35. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  36. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  37. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  38. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  39. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  40. package/api/resources/index.d.ts +1 -0
  41. package/api/resources/index.js +3 -1
  42. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  43. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  45. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  46. package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  47. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  48. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  49. package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  52. package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  53. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  55. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  56. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  57. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  58. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  59. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  61. package/api/resources/payerPlanGroups/client/Client.js +17 -0
  62. package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  63. package/api/resources/payerPlanGroups/client/index.js +2 -0
  64. package/api/resources/payerPlanGroups/index.d.ts +2 -0
  65. package/api/resources/payerPlanGroups/index.js +18 -0
  66. package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  67. package/api/resources/payerPlanGroups/resources/index.js +37 -0
  68. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  69. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  70. package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  71. package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  72. package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  73. package/api/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  74. package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  75. package/{dist/api/resources/insurancePayments/resources/v1/client/create.js → api/resources/payerPlanGroups/resources/v1/client/get.js} +3 -14
  76. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  77. package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  78. package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  79. package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  80. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  81. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  82. package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  83. package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  84. package/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  85. package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  86. package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  87. package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  88. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  89. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  90. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  91. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  92. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  93. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  94. package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  95. package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  96. package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  97. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  98. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  100. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  101. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  103. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  105. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  106. package/api/resources/serviceFacility/client/Client.js +1 -1
  107. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  108. package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/dist/Client.d.ts +3 -0
  112. package/dist/Client.js +19 -14
  113. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  114. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  115. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
  117. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
  118. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
  119. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
  120. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
  121. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
  122. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  123. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  124. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
  125. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
  126. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
  127. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +5 -0
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  131. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  132. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  133. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  134. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  135. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  137. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  138. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  139. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  140. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  141. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  142. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  143. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  144. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
  145. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
  146. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  147. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
  148. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
  149. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  150. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  151. package/dist/api/resources/index.d.ts +1 -0
  152. package/dist/api/resources/index.js +3 -1
  153. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  154. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
  155. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
  156. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  157. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
  158. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  159. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  160. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
  161. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  162. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
  163. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
  164. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  165. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  167. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  168. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  169. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  170. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  171. package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
  172. package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
  173. package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
  174. package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
  175. package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
  176. package/dist/api/resources/payerPlanGroups/index.js +18 -0
  177. package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
  178. package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
  180. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
  181. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
  182. package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
  183. package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
  184. package/{api/resources/insurancePayments/resources/v1/client/delete.js → dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
  185. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
  186. package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
  187. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
  188. package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
  189. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
  190. package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
  191. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
  192. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
  193. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
  194. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
  195. package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
  196. package/dist/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
  197. package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  198. package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
  199. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
  200. package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
  201. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
  202. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
  203. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
  204. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
  205. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
  206. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
  207. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
  208. package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
  209. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  210. package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  211. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  212. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  213. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  214. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  217. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  218. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  219. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  220. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  221. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
  222. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
  223. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  224. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  225. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  226. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  227. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  228. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
  229. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  230. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  231. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  232. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  233. package/dist/serialization/resources/index.d.ts +1 -0
  234. package/dist/serialization/resources/index.js +3 -1
  235. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  236. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  237. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  238. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  239. package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  240. package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
  241. package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  242. package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  243. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  244. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  245. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  246. package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  247. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.d.ts → payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  248. package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  249. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  250. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  251. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  252. package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  253. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.d.ts +6 -6
  254. package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.js +7 -7
  255. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  256. package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  257. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  258. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +7 -9
  259. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  260. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  261. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  262. package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  263. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  264. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  265. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  266. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  267. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  268. package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +393 -231
  273. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  274. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
  275. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
  276. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
  277. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  278. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  279. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  280. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  281. package/serialization/resources/index.d.ts +1 -0
  282. package/serialization/resources/index.js +3 -1
  283. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
  284. package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
  285. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
  286. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
  287. package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
  288. package/serialization/resources/payerPlanGroups/index.js +17 -0
  289. package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
  290. package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
  291. package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
  292. package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
  293. package/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
  294. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.js → serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
  295. package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts → serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
  296. package/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
  297. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
  298. package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
  299. package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
  300. package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
  301. package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
  302. package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
  303. package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
  304. package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
  305. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
  306. package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
  307. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
  308. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
  309. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
  310. package/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
  311. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
  312. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
  313. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
  314. package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
  315. package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
  316. package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
  317. package/version.d.ts +1 -1
  318. package/version.js +1 -1
  319. package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  320. package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  321. package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  322. package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  323. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  324. package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
  325. package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
  326. package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
  327. package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
  328. package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
  329. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
  330. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  331. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  332. package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  333. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  334. package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
  335. package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
  336. package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
  337. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  338. package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
  339. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
  340. /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
  341. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js} +0 -0
  342. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +0 -0
  343. /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js} +0 -0
@@ -73,7 +73,7 @@ class V3 {
73
73
  const _response = yield core.fetcher({
74
74
  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/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ 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),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  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/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ 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),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -187,7 +187,7 @@ class V3 {
187
187
  * networkTypes: "12",
188
188
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
189
189
  * cptCode: "string",
190
- * modifiers: "22"
190
+ * modifiers: "AV"
191
191
  * })
192
192
  */
193
193
  getMulti() {
@@ -280,7 +280,7 @@ class V3 {
280
280
  const _response = yield core.fetcher({
281
281
  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/fee-schedules/v3"),
282
282
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ 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),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -325,7 +325,7 @@ class V3 {
325
325
  * networkTypes: "12",
326
326
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
327
327
  * cptCode: "string",
328
- * modifiers: "22"
328
+ * modifiers: "AV"
329
329
  * })
330
330
  */
331
331
  getUniqueValuesForDimension(request, requestOptions) {
@@ -418,7 +418,7 @@ class V3 {
418
418
  const _response = yield core.fetcher({
419
419
  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/fee-schedules/v3/unique-dimension-values"),
420
420
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
421
+ 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),
422
422
  contentType: "application/json",
423
423
  queryParameters: _queryParams,
424
424
  requestType: "json",
@@ -458,7 +458,7 @@ class V3 {
458
458
  const _response = yield core.fetcher({
459
459
  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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
460
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
+ 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),
462
462
  contentType: "application/json",
463
463
  requestType: "json",
464
464
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -517,7 +517,7 @@ class V3 {
517
517
  * networkTypes: new Set(["12"]),
518
518
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
519
519
  * cptCode: "string",
520
- * modifiers: new Set(["22"])
520
+ * modifiers: new Set(["AV"])
521
521
  * },
522
522
  * entries: [{
523
523
  * startDate: "2024-04-11",
@@ -533,7 +533,7 @@ class V3 {
533
533
  const _response = yield core.fetcher({
534
534
  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/fee-schedules/v3"),
535
535
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ 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),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -590,7 +590,7 @@ class V3 {
590
590
  const _response = yield core.fetcher({
591
591
  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/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
592
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ 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),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class V3 {
638
638
  const _response = yield core.fetcher({
639
639
  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/fee-schedules/v3/payer-threshold/default"),
640
640
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ 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),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +687,7 @@ class V3 {
687
687
  const _response = yield core.fetcher({
688
688
  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/fee-schedules/v3/payer-threshold"),
689
689
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
+ 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),
691
691
  contentType: "application/json",
692
692
  queryParameters: _queryParams,
693
693
  requestType: "json",
@@ -732,7 +732,7 @@ class V3 {
732
732
  const _response = yield core.fetcher({
733
733
  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/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
734
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ 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),
736
736
  contentType: "application/json",
737
737
  requestType: "json",
738
738
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -18,7 +18,7 @@ import * as CandidApi from "../../../../../../index";
18
18
  * networkTypes: new Set(["12"]),
19
19
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
20
20
  * cptCode: "string",
21
- * modifiers: new Set(["22"])
21
+ * modifiers: new Set(["AV"])
22
22
  * },
23
23
  * entries: [{
24
24
  * startDate: "2024-04-11",
@@ -17,7 +17,7 @@ import * as CandidApi from "../../../../../../index";
17
17
  * networkTypes: "12",
18
18
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
19
  * cptCode: "string",
20
- * modifiers: "22"
20
+ * modifiers: "AV"
21
21
  * }
22
22
  */
23
23
  export interface GetMultiRequest {
@@ -17,7 +17,7 @@ import * as CandidApi from "../../../../../../index";
17
17
  * networkTypes: "12",
18
18
  * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
19
  * cptCode: "string",
20
- * modifiers: "22"
20
+ * modifiers: "AV"
21
21
  * }
22
22
  */
23
23
  export interface GetUniqueDimensionValuesRequest {
@@ -94,7 +94,7 @@ class V1 {
94
94
  const _response = yield core.fetcher({
95
95
  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/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
96
96
  method: "POST",
97
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ 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),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -149,7 +149,7 @@ class V1 {
149
149
  const _response = yield core.fetcher({
150
150
  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/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
151
151
  method: "GET",
152
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
152
+ 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),
153
153
  contentType: "application/json",
154
154
  requestType: "json",
155
155
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -209,7 +209,7 @@ class V1 {
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/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
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.2", "User-Agent": "candidhealth/0.40.2", "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.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -89,7 +89,7 @@ class V1 {
89
89
  const _response = yield core.fetcher({
90
90
  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/import-invoice/v1"),
91
91
  method: "POST",
92
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ 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),
93
93
  contentType: "application/json",
94
94
  requestType: "json",
95
95
  body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
@@ -200,7 +200,7 @@ class V1 {
200
200
  const _response = yield core.fetcher({
201
201
  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/import-invoice/v1"),
202
202
  method: "GET",
203
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ 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),
204
204
  contentType: "application/json",
205
205
  queryParameters: _queryParams,
206
206
  requestType: "json",
@@ -240,7 +240,7 @@ class V1 {
240
240
  const _response = yield core.fetcher({
241
241
  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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
242
242
  method: "GET",
243
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
+ 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),
244
244
  contentType: "application/json",
245
245
  requestType: "json",
246
246
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class V1 {
309
309
  const _response = yield core.fetcher({
310
310
  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/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
311
311
  method: "PATCH",
312
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ 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),
313
313
  contentType: "application/json",
314
314
  requestType: "json",
315
315
  body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
@@ -28,6 +28,7 @@ export * as organizationServiceFacilities from "./organizationServiceFacilities"
28
28
  export * as organizationProviders from "./organizationProviders";
29
29
  export * as patientPayments from "./patientPayments";
30
30
  export * as patientRefunds from "./patientRefunds";
31
+ export * as payerPlanGroups from "./payerPlanGroups";
31
32
  export * as payers from "./payers";
32
33
  export * as remitDrafts from "./remitDrafts";
33
34
  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.commons = 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.feeSchedules = 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 = void 0;
39
+ exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = 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.feeSchedules = 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 = void 0;
40
+ exports.eligibility = void 0;
40
41
  exports.auth = __importStar(require("./auth"));
41
42
  exports.billingNotes = __importStar(require("./billingNotes"));
42
43
  exports.chargeCaptureBundles = __importStar(require("./chargeCaptureBundles"));
@@ -67,6 +68,7 @@ exports.organizationServiceFacilities = __importStar(require("./organizationServ
67
68
  exports.organizationProviders = __importStar(require("./organizationProviders"));
68
69
  exports.patientPayments = __importStar(require("./patientPayments"));
69
70
  exports.patientRefunds = __importStar(require("./patientRefunds"));
71
+ exports.payerPlanGroups = __importStar(require("./payerPlanGroups"));
70
72
  exports.payers = __importStar(require("./payers"));
71
73
  exports.remitDrafts = __importStar(require("./remitDrafts"));
72
74
  exports.remits = __importStar(require("./remits"));
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  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/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ 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),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -135,7 +135,7 @@ class V1 {
135
135
  const _response = yield core.fetcher({
136
136
  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/insurance-adjudications/v1"),
137
137
  method: "POST",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ 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),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
@@ -191,7 +191,7 @@ class V1 {
191
191
  const _response = yield core.fetcher({
192
192
  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/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
193
193
  method: "DELETE",
194
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
+ 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),
195
195
  contentType: "application/json",
196
196
  requestType: "json",
197
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -55,61 +55,5 @@ export declare class V1 {
55
55
  * await client.insurancePayments.v1.get(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
56
56
  */
57
57
  get(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.get.Error>>;
58
- /**
59
- * Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
60
- * should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
61
- * from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
62
- *
63
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentCreate} request
64
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
65
- *
66
- * @example
67
- * await client.insurancePayments.v1.create({
68
- * payerIdentifier: {
69
- * type: "payer_info"
70
- * },
71
- * amountCents: 1,
72
- * paymentTimestamp: "2024-01-15T09:30:00Z",
73
- * paymentNote: "string",
74
- * allocations: [{
75
- * amountCents: 1,
76
- * target: {
77
- * type: "service_line_by_id",
78
- * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
79
- * }
80
- * }]
81
- * })
82
- */
83
- create(request: CandidApi.insurancePayments.v1.InsurancePaymentCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.create.Error>>;
84
- /**
85
- * Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
86
- * then the allocations must be appropriately updated as well.
87
- *
88
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
89
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentUpdate} request
90
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
91
- *
92
- * @example
93
- * await client.insurancePayments.v1.update(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
94
- * paymentTimestamp: "2024-01-15T09:30:00Z",
95
- * paymentNote: {
96
- * type: "set",
97
- * value: "string"
98
- * }
99
- * })
100
- */
101
- update(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, request?: CandidApi.insurancePayments.v1.InsurancePaymentUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePayment, CandidApi.insurancePayments.v1.update.Error>>;
102
- /**
103
- * Deletes the insurance payment record matching the provided `insurance_payment_id`.
104
- * If the matching record's organization_id does not match the authenticated user's
105
- * current organization_id, then a response code of `403` will be returned.
106
- *
107
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
108
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
109
- *
110
- * @example
111
- * await client.insurancePayments.v1.delete(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
112
- */
113
- delete(insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.insurancePayments.v1.delete.Error>>;
114
58
  protected _getAuthorizationHeader(): Promise<string | undefined>;
115
59
  }
@@ -112,7 +112,7 @@ class V1 {
112
112
  const _response = yield core.fetcher({
113
113
  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/insurance-payments/v1"),
114
114
  method: "GET",
115
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
+ 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),
116
116
  contentType: "application/json",
117
117
  queryParameters: _queryParams,
118
118
  requestType: "json",
@@ -168,7 +168,7 @@ class V1 {
168
168
  const _response = yield core.fetcher({
169
169
  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/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
170
170
  method: "GET",
171
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
+ 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),
172
172
  contentType: "application/json",
173
173
  requestType: "json",
174
174
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -207,198 +207,6 @@ class V1 {
207
207
  };
208
208
  });
209
209
  }
210
- /**
211
- * Creates a new insurance payment record and returns the newly created `InsurancePayment` object. This endpoint
212
- * should only be used for insurance payments that do not have a corresponding ERA (for example: a settlement check
213
- * from a payer). If the payment is an ERA, then you should used the insurance-adjudications API.
214
- *
215
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentCreate} request
216
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
217
- *
218
- * @example
219
- * await client.insurancePayments.v1.create({
220
- * payerIdentifier: {
221
- * type: "payer_info"
222
- * },
223
- * amountCents: 1,
224
- * paymentTimestamp: "2024-01-15T09:30:00Z",
225
- * paymentNote: "string",
226
- * allocations: [{
227
- * amountCents: 1,
228
- * target: {
229
- * type: "service_line_by_id",
230
- * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
231
- * }
232
- * }]
233
- * })
234
- */
235
- create(request, requestOptions) {
236
- return __awaiter(this, void 0, void 0, function* () {
237
- var _a, _b, _c;
238
- const _response = yield core.fetcher({
239
- 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/insurance-payments/v1"),
240
- method: "POST",
241
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
- contentType: "application/json",
243
- requestType: "json",
244
- body: serializers.insurancePayments.v1.InsurancePaymentCreate.jsonOrThrow(request, {
245
- unrecognizedObjectKeys: "strip",
246
- }),
247
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
248
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
249
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
250
- });
251
- if (_response.ok) {
252
- return {
253
- ok: true,
254
- body: serializers.insurancePayments.v1.InsurancePayment.parseOrThrow(_response.body, {
255
- unrecognizedObjectKeys: "passthrough",
256
- allowUnrecognizedUnionMembers: true,
257
- allowUnrecognizedEnumValues: true,
258
- breadcrumbsPrefix: ["response"],
259
- }),
260
- };
261
- }
262
- if (_response.error.reason === "status-code") {
263
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
264
- case "EntityNotFoundError":
265
- case "UnauthorizedError":
266
- case "UnprocessableEntityError":
267
- return {
268
- ok: false,
269
- error: serializers.insurancePayments.v1.create.Error.parseOrThrow(_response.error.body, {
270
- unrecognizedObjectKeys: "passthrough",
271
- allowUnrecognizedUnionMembers: true,
272
- allowUnrecognizedEnumValues: true,
273
- breadcrumbsPrefix: ["response"],
274
- }),
275
- };
276
- }
277
- }
278
- return {
279
- ok: false,
280
- error: CandidApi.insurancePayments.v1.create.Error._unknown(_response.error),
281
- };
282
- });
283
- }
284
- /**
285
- * Updates the patient payment record matching the provided insurance_payment_id. If updating the payment amount,
286
- * then the allocations must be appropriately updated as well.
287
- *
288
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
289
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentUpdate} request
290
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
291
- *
292
- * @example
293
- * await client.insurancePayments.v1.update(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
294
- * paymentTimestamp: "2024-01-15T09:30:00Z",
295
- * paymentNote: {
296
- * type: "set",
297
- * value: "string"
298
- * }
299
- * })
300
- */
301
- update(insurancePaymentId_1) {
302
- return __awaiter(this, arguments, void 0, function* (insurancePaymentId, request = {}, requestOptions) {
303
- var _a, _b, _c;
304
- const _response = yield core.fetcher({
305
- 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/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
306
- method: "PATCH",
307
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
308
- contentType: "application/json",
309
- requestType: "json",
310
- body: serializers.insurancePayments.v1.InsurancePaymentUpdate.jsonOrThrow(request, {
311
- unrecognizedObjectKeys: "strip",
312
- }),
313
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
314
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
315
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
316
- });
317
- if (_response.ok) {
318
- return {
319
- ok: true,
320
- body: serializers.insurancePayments.v1.InsurancePayment.parseOrThrow(_response.body, {
321
- unrecognizedObjectKeys: "passthrough",
322
- allowUnrecognizedUnionMembers: true,
323
- allowUnrecognizedEnumValues: true,
324
- breadcrumbsPrefix: ["response"],
325
- }),
326
- };
327
- }
328
- if (_response.error.reason === "status-code") {
329
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
330
- case "EntityNotFoundError":
331
- case "UnauthorizedError":
332
- case "UnprocessableEntityError":
333
- return {
334
- ok: false,
335
- error: serializers.insurancePayments.v1.update.Error.parseOrThrow(_response.error.body, {
336
- unrecognizedObjectKeys: "passthrough",
337
- allowUnrecognizedUnionMembers: true,
338
- allowUnrecognizedEnumValues: true,
339
- breadcrumbsPrefix: ["response"],
340
- }),
341
- };
342
- }
343
- }
344
- return {
345
- ok: false,
346
- error: CandidApi.insurancePayments.v1.update.Error._unknown(_response.error),
347
- };
348
- });
349
- }
350
- /**
351
- * Deletes the insurance payment record matching the provided `insurance_payment_id`.
352
- * If the matching record's organization_id does not match the authenticated user's
353
- * current organization_id, then a response code of `403` will be returned.
354
- *
355
- * @param {CandidApi.insurancePayments.v1.InsurancePaymentId} insurancePaymentId
356
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
357
- *
358
- * @example
359
- * await client.insurancePayments.v1.delete(CandidApi.insurancePayments.v1.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
360
- */
361
- delete(insurancePaymentId, requestOptions) {
362
- return __awaiter(this, void 0, void 0, function* () {
363
- var _a, _b, _c;
364
- const _response = yield core.fetcher({
365
- 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/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
366
- method: "DELETE",
367
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.2", "User-Agent": "candidhealth/0.40.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
368
- contentType: "application/json",
369
- requestType: "json",
370
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
371
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
372
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
373
- });
374
- if (_response.ok) {
375
- return {
376
- ok: true,
377
- body: undefined,
378
- };
379
- }
380
- if (_response.error.reason === "status-code") {
381
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
382
- case "EntityNotFoundError":
383
- case "UnauthorizedError":
384
- case "UnprocessableEntityError":
385
- return {
386
- ok: false,
387
- error: serializers.insurancePayments.v1.delete.Error.parseOrThrow(_response.error.body, {
388
- unrecognizedObjectKeys: "passthrough",
389
- allowUnrecognizedUnionMembers: true,
390
- allowUnrecognizedEnumValues: true,
391
- breadcrumbsPrefix: ["response"],
392
- }),
393
- };
394
- }
395
- }
396
- return {
397
- ok: false,
398
- error: CandidApi.insurancePayments.v1.delete.Error._unknown(_response.error),
399
- };
400
- });
401
- }
402
210
  _getAuthorizationHeader() {
403
211
  return __awaiter(this, void 0, void 0, function* () {
404
212
  const bearer = yield core.Supplier.get(this._options.token);
@@ -1,6 +1,3 @@
1
1
  export * from "./requests";
2
2
  export * as getMulti from "./getMulti";
3
3
  export * as get from "./get";
4
- export * as create from "./create";
5
- export * as update from "./update";
6
- export * as delete from "./delete";
@@ -36,10 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
39
+ exports.get = exports.getMulti = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.getMulti = __importStar(require("./getMulti"));
42
42
  exports.get = __importStar(require("./get"));
43
- exports.create = __importStar(require("./create"));
44
- exports.update = __importStar(require("./update"));
45
- exports.delete = __importStar(require("./delete"));
@@ -1,2 +1 @@
1
1
  export { type GetMultiInsurancePaymentRequest } from "./GetMultiInsurancePaymentRequest";
2
- export { type InsurancePaymentUpdate } from "./InsurancePaymentUpdate";