candidhealth 0.45.0 → 0.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/README.md +4 -18
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  5. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  6. package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  7. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  8. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  12. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  13. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  17. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  18. package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  19. package/api/resources/contracts/resources/v2/client/Client.js +19 -73
  20. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  21. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  22. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  23. package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  24. package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  25. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  26. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  27. package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  28. package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  29. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  30. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  32. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  33. package/api/resources/diagnoses/client/Client.d.ts +3 -8
  34. package/api/resources/diagnoses/client/Client.js +6 -11
  35. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  36. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  37. package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  38. package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  39. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  40. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  41. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  42. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  43. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  44. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  45. package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  46. package/api/resources/encounters/resources/v4/client/Client.js +54 -679
  47. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  48. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  49. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  50. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  51. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  52. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  53. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  54. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  55. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  56. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  57. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  58. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  59. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  60. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  61. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  62. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  63. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  64. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  65. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  66. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  67. package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  68. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  69. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  70. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  71. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  72. package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  73. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  74. package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  75. package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  76. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  77. package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  78. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  79. package/api/resources/index.d.ts +2 -0
  80. package/api/resources/index.js +3 -1
  81. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  83. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  85. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  87. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  88. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  89. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  90. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  91. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  92. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  93. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  94. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  95. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  98. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  99. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  100. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  101. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  102. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  103. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  104. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  105. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  106. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  107. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  108. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  109. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  110. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  111. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  112. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  113. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  114. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  115. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  116. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  117. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  118. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  119. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  120. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  121. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  122. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  123. package/api/resources/pipelineCommons/index.d.ts +1 -0
  124. package/api/resources/pipelineCommons/index.js +17 -0
  125. package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  126. package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  127. package/api/resources/pipelineCommons/types/index.d.ts +1 -0
  128. package/api/resources/pipelineCommons/types/index.js +17 -0
  129. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  130. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  131. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  132. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  138. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  139. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  140. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  141. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  142. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  143. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  144. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  145. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  146. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  147. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  148. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  149. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  150. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  151. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  152. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  153. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  154. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  155. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  156. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  157. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  158. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  159. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  160. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  161. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  162. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  163. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  164. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  165. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  166. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  167. package/api/resources/serviceFacility/client/Client.js +2 -12
  168. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  169. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  170. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  171. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  172. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  173. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  174. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  175. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  176. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  177. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  178. package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  179. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  180. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  181. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  182. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  183. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  184. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  185. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  186. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  187. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  188. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  189. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  190. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  191. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  192. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  193. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  194. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  195. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  196. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  197. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  198. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  199. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  200. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  201. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  202. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  203. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  204. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  205. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  206. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  207. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  208. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  209. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  210. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  211. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  212. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  213. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  214. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  215. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  216. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  217. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  218. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  219. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  220. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  221. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  222. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  223. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  224. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  225. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  226. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  227. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  228. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  229. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
  230. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  231. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  232. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  233. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  234. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  235. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  236. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  237. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  238. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  239. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  240. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  241. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  242. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  243. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  244. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  245. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  246. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  247. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  248. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  249. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  250. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  251. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  252. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  253. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  254. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  255. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  256. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  257. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  258. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  259. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  260. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  261. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  262. package/dist/api/resources/index.d.ts +2 -0
  263. package/dist/api/resources/index.js +3 -1
  264. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  265. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  266. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  267. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  268. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  269. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  270. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  271. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  272. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  273. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  274. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  275. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  276. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  277. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  278. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  279. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  280. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  281. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  282. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  283. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  284. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  285. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  286. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  287. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  288. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  289. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  290. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  291. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  292. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  293. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  294. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  295. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  296. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  297. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  298. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  299. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  300. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  301. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  302. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  303. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  304. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  305. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  306. package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
  307. package/dist/api/resources/pipelineCommons/index.js +17 -0
  308. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  309. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  310. package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
  311. package/dist/api/resources/pipelineCommons/types/index.js +17 -0
  312. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  313. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  314. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  315. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  316. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  317. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  318. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  319. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  320. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  321. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  322. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  323. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  324. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  325. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  326. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  327. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  328. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  329. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  330. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  331. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  332. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  333. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  334. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  335. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  341. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  345. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  346. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  347. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  348. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  349. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  350. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  351. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  352. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  353. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  354. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  355. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  356. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  357. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  358. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  359. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  360. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  361. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  362. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  363. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  364. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  365. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  366. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  367. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  368. package/dist/environments.d.ts +5 -1
  369. package/dist/environments.js +4 -0
  370. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  371. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  372. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  373. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  374. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  375. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  376. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  377. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  378. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  379. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  380. package/dist/serialization/resources/index.d.ts +2 -0
  381. package/dist/serialization/resources/index.js +3 -1
  382. package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
  383. package/dist/serialization/resources/pipelineCommons/index.js +17 -0
  384. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  385. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  386. package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  387. package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  389. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  390. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  391. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  392. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  393. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  394. package/dist/version.d.ts +1 -1
  395. package/dist/version.js +1 -1
  396. package/environments.d.ts +5 -1
  397. package/environments.js +4 -0
  398. package/package.json +1 -1
  399. package/reference.md +772 -2366
  400. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  401. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  402. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  403. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  404. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  405. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  406. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  407. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  408. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  409. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  410. package/serialization/resources/index.d.ts +2 -0
  411. package/serialization/resources/index.js +3 -1
  412. package/serialization/resources/pipelineCommons/index.d.ts +1 -0
  413. package/serialization/resources/pipelineCommons/index.js +17 -0
  414. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  415. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  416. package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  417. package/serialization/resources/pipelineCommons/types/index.js +17 -0
  418. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  419. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  420. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  421. package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  422. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  423. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  424. package/version.d.ts +1 -1
  425. package/version.js +1 -1
@@ -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.45.0", "User-Agent": "candidhealth/0.45.0", "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.46.1", "User-Agent": "candidhealth/0.46.1", "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,
@@ -100,21 +100,7 @@ class V3 {
100
100
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
101
101
  *
102
102
  * @example
103
- * await client.tasks.v3.getMulti({
104
- * limit: 1,
105
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
106
- * status: "finished",
107
- * taskType: "CUSTOMER_DATA_REQUEST",
108
- * categories: "string",
109
- * updatedSince: "2024-01-15T09:30:00Z",
110
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
111
- * searchTerm: "string",
112
- * assignedToId: CandidApi.UserId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
113
- * dateOfServiceMin: "2023-01-15",
114
- * dateOfServiceMax: "2023-01-15",
115
- * billingProviderNpi: "string",
116
- * sort: "updated_at:asc"
117
- * })
103
+ * await client.tasks.v3.getMulti()
118
104
  */
119
105
  getMulti() {
120
106
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -169,7 +155,7 @@ class V3 {
169
155
  const _response = yield core.fetcher({
170
156
  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
157
  method: "GET",
172
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
159
  contentType: "application/json",
174
160
  queryParameters: _queryParams,
175
161
  requestType: "json",
@@ -221,7 +207,7 @@ class V3 {
221
207
  const _response = yield core.fetcher({
222
208
  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
209
  method: "GET",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
211
  contentType: "application/json",
226
212
  requestType: "json",
227
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -268,11 +254,8 @@ class V3 {
268
254
  * await client.tasks.v3.create({
269
255
  * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
270
256
  * taskType: "CUSTOMER_DATA_REQUEST",
271
- * description: "string",
272
- * blocksClaimSubmission: true,
273
- * assigneeUserId: CandidApi.UserId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
274
- * category: "other",
275
- * workQueueId: CandidApi.WorkQueueId("string")
257
+ * description: "description",
258
+ * workQueueId: CandidApi.WorkQueueId("work_queue_id")
276
259
  * })
277
260
  */
278
261
  create(request, requestOptions) {
@@ -281,7 +264,7 @@ class V3 {
281
264
  const _response = yield core.fetcher({
282
265
  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
266
  method: "POST",
284
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
267
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
268
  contentType: "application/json",
286
269
  requestType: "json",
287
270
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -312,11 +295,7 @@ class V3 {
312
295
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
313
296
  *
314
297
  * @example
315
- * await client.tasks.v3.update(CandidApi.TaskId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
316
- * status: "finished",
317
- * assigneeUserId: CandidApi.UserId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
318
- * blocksClaimSubmission: true
319
- * })
298
+ * await client.tasks.v3.update(CandidApi.TaskId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
320
299
  */
321
300
  update(taskId, request, requestOptions) {
322
301
  return __awaiter(this, void 0, void 0, function* () {
@@ -324,7 +303,7 @@ class V3 {
324
303
  const _response = yield core.fetcher({
325
304
  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
305
  method: "PATCH",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
307
  contentType: "application/json",
329
308
  requestType: "json",
330
309
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -4,21 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
10
- * status: "finished",
11
- * taskType: "CUSTOMER_DATA_REQUEST",
12
- * categories: "string",
13
- * updatedSince: "2024-01-15T09:30:00Z",
14
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
15
- * searchTerm: "string",
16
- * assignedToId: CandidApi.UserId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
17
- * dateOfServiceMin: "2023-01-15",
18
- * dateOfServiceMax: "2023-01-15",
19
- * billingProviderNpi: "string",
20
- * sort: "updated_at:asc"
21
- * }
7
+ * {}
22
8
  */
23
9
  export interface GetAllTasksRequest {
24
10
  /**
@@ -23,4 +23,5 @@ export interface Task {
23
23
  dateOfService: string;
24
24
  assignments: CandidApi.tasks.v3.TaskAssignment[];
25
25
  category?: CandidApi.tasks.TaskCategory;
26
+ configurableRuleId?: CandidApi.ConfigurableRuleId;
26
27
  }
@@ -32,18 +32,7 @@ export declare class V1 {
32
32
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await client.writeOffs.v1.getMulti({
36
- * limit: 1,
37
- * patientExternalId: CandidApi.PatientExternalId("string"),
38
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
39
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
40
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
41
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
- * sort: "amount_cents",
43
- * sortDirection: "asc",
44
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
45
- * accountTypes: "PATIENT"
46
- * })
35
+ * await client.writeOffs.v1.getMulti()
47
36
  */
48
37
  getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
49
38
  /**
@@ -68,7 +57,12 @@ export declare class V1 {
68
57
  * writeOffs: [{
69
58
  * type: "patient",
70
59
  * writeOffTimestamp: "2024-01-15T09:30:00Z",
71
- * writeOffNote: "string",
60
+ * writeOffReason: "SMALL_BALANCE",
61
+ * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
62
+ * amountCents: 1
63
+ * }, {
64
+ * type: "patient",
65
+ * writeOffTimestamp: "2024-01-15T09:30:00Z",
72
66
  * writeOffReason: "SMALL_BALANCE",
73
67
  * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
74
68
  * amountCents: 1
@@ -65,18 +65,7 @@ class V1 {
65
65
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @example
68
- * await client.writeOffs.v1.getMulti({
69
- * limit: 1,
70
- * patientExternalId: CandidApi.PatientExternalId("string"),
71
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
72
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
73
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
74
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
75
- * sort: "amount_cents",
76
- * sortDirection: "asc",
77
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
78
- * accountTypes: "PATIENT"
79
- * })
68
+ * await client.writeOffs.v1.getMulti()
80
69
  */
81
70
  getMulti() {
82
71
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -127,7 +116,7 @@ class V1 {
127
116
  const _response = yield core.fetcher({
128
117
  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
118
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
120
  contentType: "application/json",
132
121
  queryParameters: _queryParams,
133
122
  requestType: "json",
@@ -167,7 +156,7 @@ class V1 {
167
156
  const _response = yield core.fetcher({
168
157
  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
158
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
160
  contentType: "application/json",
172
161
  requestType: "json",
173
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -203,7 +192,12 @@ class V1 {
203
192
  * writeOffs: [{
204
193
  * type: "patient",
205
194
  * writeOffTimestamp: "2024-01-15T09:30:00Z",
206
- * writeOffNote: "string",
195
+ * writeOffReason: "SMALL_BALANCE",
196
+ * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
197
+ * amountCents: 1
198
+ * }, {
199
+ * type: "patient",
200
+ * writeOffTimestamp: "2024-01-15T09:30:00Z",
207
201
  * writeOffReason: "SMALL_BALANCE",
208
202
  * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
209
203
  * amountCents: 1
@@ -216,7 +210,7 @@ class V1 {
216
210
  const _response = yield core.fetcher({
217
211
  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
212
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
214
  contentType: "application/json",
221
215
  requestType: "json",
222
216
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +252,7 @@ class V1 {
258
252
  const _response = yield core.fetcher({
259
253
  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
254
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
256
  contentType: "application/json",
263
257
  requestType: "json",
264
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -297,7 +291,7 @@ class V1 {
297
291
  const _response = yield core.fetcher({
298
292
  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
293
  method: "POST",
300
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
294
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
295
  contentType: "application/json",
302
296
  requestType: "json",
303
297
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -336,7 +330,7 @@ class V1 {
336
330
  const _response = yield core.fetcher({
337
331
  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
332
  method: "POST",
339
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
333
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
334
  contentType: "application/json",
341
335
  requestType: "json",
342
336
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -8,7 +8,12 @@ import * as CandidApi from "../../../../../../index";
8
8
  * writeOffs: [{
9
9
  * type: "patient",
10
10
  * writeOffTimestamp: "2024-01-15T09:30:00Z",
11
- * writeOffNote: "string",
11
+ * writeOffReason: "SMALL_BALANCE",
12
+ * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
+ * amountCents: 1
14
+ * }, {
15
+ * type: "patient",
16
+ * writeOffTimestamp: "2024-01-15T09:30:00Z",
12
17
  * writeOffReason: "SMALL_BALANCE",
13
18
  * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
14
19
  * amountCents: 1
@@ -4,18 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * patientExternalId: CandidApi.PatientExternalId("string"),
10
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
11
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
14
- * sort: "amount_cents",
15
- * sortDirection: "asc",
16
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
17
- * accountTypes: "PATIENT"
18
- * }
7
+ * {}
19
8
  */
20
9
  export interface GetMultiWriteOffsRequest {
21
10
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE";
4
+ export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "DECEASED";
5
5
  export declare const PatientWriteOffReason: {
6
6
  readonly SmallBalance: "SMALL_BALANCE";
7
7
  readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
@@ -13,4 +13,5 @@ export declare const PatientWriteOffReason: {
13
13
  readonly Other: "OTHER";
14
14
  readonly Unknown: "UNKNOWN";
15
15
  readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
16
+ readonly Deceased: "DECEASED";
16
17
  };
@@ -15,4 +15,5 @@ exports.PatientWriteOffReason = {
15
15
  Other: "OTHER",
16
16
  Unknown: "UNKNOWN",
17
17
  UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE",
18
+ Deceased: "DECEASED",
18
19
  };
@@ -92,7 +92,7 @@ class V2 {
92
92
  const _response = yield core.fetcher({
93
93
  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/auth/v2/token"),
94
94
  method: "POST",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  requestType: "json",
98
98
  body: serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -31,8 +31,7 @@ export declare class V2 {
31
31
  *
32
32
  * @example
33
33
  * await client.billingNotes.v2.create({
34
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
35
- * text: "string"
34
+ * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
36
35
  * })
37
36
  */
38
37
  create(request: CandidApi.billingNotes.v2.StandaloneBillingNoteCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.create.Error>>;
@@ -51,7 +50,7 @@ export declare class V2 {
51
50
  *
52
51
  * @example
53
52
  * await client.billingNotes.v2.update(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
54
- * text: "string"
53
+ * text: "text"
55
54
  * })
56
55
  */
57
56
  update(billingNoteId: CandidApi.billingNotes.v2.BillingNoteId, request: CandidApi.billingNotes.v2.BillingNoteUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.update.Error>>;
@@ -64,8 +64,7 @@ class V2 {
64
64
  *
65
65
  * @example
66
66
  * await client.billingNotes.v2.create({
67
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
68
- * text: "string"
67
+ * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
69
68
  * })
70
69
  */
71
70
  create(request, requestOptions) {
@@ -74,7 +73,7 @@ class V2 {
74
73
  const _response = yield core.fetcher({
75
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/billing_notes/v2"),
76
75
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "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.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
77
  contentType: "application/json",
79
78
  requestType: "json",
80
79
  body: serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -114,7 +113,7 @@ class V2 {
114
113
  const _response = yield core.fetcher({
115
114
  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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
116
115
  method: "DELETE",
117
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
117
  contentType: "application/json",
119
118
  requestType: "json",
120
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -156,7 +155,7 @@ class V2 {
156
155
  *
157
156
  * @example
158
157
  * await client.billingNotes.v2.update(CandidApi.billingNotes.v2.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
159
- * text: "string"
158
+ * text: "text"
160
159
  * })
161
160
  */
162
161
  update(billingNoteId, request, requestOptions) {
@@ -165,7 +164,7 @@ class V2 {
165
164
  const _response = yield core.fetcher({
166
165
  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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
167
166
  method: "PATCH",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
168
  contentType: "application/json",
170
169
  requestType: "json",
171
170
  body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
- * text: "string"
7
+ * text: "text"
8
8
  * }
9
9
  */
10
10
  export interface BillingNoteUpdate {
@@ -5,8 +5,7 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9
- * text: "string"
8
+ * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
10
9
  * }
11
10
  */
12
11
  export interface StandaloneBillingNoteCreate extends CandidApi.billingNotes.v2.BillingNoteBase {
@@ -32,9 +32,8 @@ export declare class V1 {
32
32
  * @example
33
33
  * await client.chargeCapture.v1.create({
34
34
  * data: {},
35
- * chargeExternalId: "string",
36
- * ehrSourceUrl: "string",
37
- * patientExternalId: "string",
35
+ * chargeExternalId: "charge_external_id",
36
+ * patientExternalId: "patient_external_id",
38
37
  * status: "planned"
39
38
  * })
40
39
  */
@@ -53,13 +52,7 @@ export declare class V1 {
53
52
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
54
53
  *
55
54
  * @example
56
- * await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
57
- * data: {},
58
- * chargeExternalId: "string",
59
- * ehrSourceUrl: "string",
60
- * patientExternalId: "string",
61
- * status: "planned"
62
- * })
55
+ * await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
63
56
  */
64
57
  update(chargeCaptureId: CandidApi.ChargeCaptureId, request?: CandidApi.chargeCapture.v1.ChargeCaptureUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapture, CandidApi.chargeCapture.v1.update.Error>>;
65
58
  /**
@@ -75,41 +68,7 @@ export declare class V1 {
75
68
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
76
69
  *
77
70
  * @example
78
- * await client.chargeCapture.v1.getAll({
79
- * limit: 1,
80
- * sort: "created_at",
81
- * sortDirection: "asc",
82
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
83
- * patientExternalId: "string",
84
- * status: "planned",
85
- * chargeExternalId: "string",
86
- * dateOfServiceMin: "2023-01-15",
87
- * dateOfServiceMax: "2023-01-15",
88
- * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
89
- * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
90
- * billingProviderNpis: "string",
91
- * serviceFacilityName: "string",
92
- * primaryPayerIds: "string",
93
- * renderingProviderNpis: "string",
94
- * renderingProviderNames: "string",
95
- * supervisingProviderNpis: "string",
96
- * supervisingProviderNames: "string",
97
- * excludeChargesLinkedToClaims: true,
98
- * patientExternalIdRankedSort: "string",
99
- * statusRankedSort: "planned",
100
- * chargeExternalIdRankedSort: "string",
101
- * dateOfServiceMinRankedSort: "2023-01-15",
102
- * dateOfServiceMaxRankedSort: "2023-01-15",
103
- * claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
104
- * claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
105
- * billingProviderNpisRankedSort: "string",
106
- * serviceFacilityNameRankedSort: "string",
107
- * primaryPayerIdsRankedSort: "string",
108
- * renderingProviderNpisRankedSort: "string",
109
- * renderingProviderNamesRankedSort: "string",
110
- * supervisingProviderNpisRankedSort: "string",
111
- * supervisingProviderNamesRankedSort: "string"
112
- * })
71
+ * await client.chargeCapture.v1.getAll()
113
72
  */
114
73
  getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
115
74
  /**
@@ -118,7 +77,7 @@ export declare class V1 {
118
77
  *
119
78
  * @example
120
79
  * await client.chargeCapture.v1.updatePostBilledChanges({
121
- * chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
80
+ * chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
122
81
  * resolved: true
123
82
  * })
124
83
  */