candidhealth 0.45.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) 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/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  80. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  81. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  82. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  83. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  84. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  85. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  86. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  87. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  88. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  89. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  90. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  91. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  92. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  93. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  94. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  95. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  98. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  99. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  100. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  101. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  102. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  103. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  104. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  105. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  106. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  107. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  108. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  109. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  110. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  111. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  112. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  113. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  114. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  115. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  116. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  117. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  118. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  119. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  120. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  121. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  122. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  123. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  124. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  125. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  126. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  127. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  128. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  129. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  131. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  132. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  133. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  134. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  135. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  136. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  137. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  138. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  139. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  140. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  141. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  142. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  143. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  144. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  151. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  152. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  153. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  154. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  155. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  156. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  157. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  158. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  159. package/api/resources/serviceFacility/client/Client.js +2 -12
  160. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  162. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  163. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  164. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  165. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  166. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  167. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  168. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  169. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  170. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  171. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  172. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  173. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  174. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  175. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  176. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  177. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  178. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  179. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  180. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  181. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  182. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  183. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  184. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  185. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  186. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  187. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  188. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  189. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  190. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  191. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  192. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  193. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  194. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  195. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  196. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  197. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  198. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  199. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  200. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  201. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  202. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  203. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  204. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  205. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  206. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  207. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  208. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  209. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  210. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  211. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  212. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  213. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  214. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  215. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  216. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
  217. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  218. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  219. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  220. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  221. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  222. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  223. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  224. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  225. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  226. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  227. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  228. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  229. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  230. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  231. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  232. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  233. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  234. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  235. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  236. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  237. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  238. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  239. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  240. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  241. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  242. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  243. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  244. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  245. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  246. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  247. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  248. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  249. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  250. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  251. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  252. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  253. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  254. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  255. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  256. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  257. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  258. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  259. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  260. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  261. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  262. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  263. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  264. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  265. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  266. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  267. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  268. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  269. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  270. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  271. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  272. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  273. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  274. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  275. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  276. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  277. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  278. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  279. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  280. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  281. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  282. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  283. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  284. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  285. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  286. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  287. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  288. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  289. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  290. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  291. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  292. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  293. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  294. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  295. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  296. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  297. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  299. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  300. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  301. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  302. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  303. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  304. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  305. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  306. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  307. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  308. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  309. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  310. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  311. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  312. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  313. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  314. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  315. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  316. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  317. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  318. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  319. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  320. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  321. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  322. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  323. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  324. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  325. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  326. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  327. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  328. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  329. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  330. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  331. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  332. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  333. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  334. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  335. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  336. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  337. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  338. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  339. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  340. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  341. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  342. package/dist/environments.d.ts +5 -1
  343. package/dist/environments.js +4 -0
  344. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  345. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  346. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  347. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  348. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  349. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  350. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  351. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  352. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  353. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  354. package/dist/version.d.ts +1 -1
  355. package/dist/version.js +1 -1
  356. package/environments.d.ts +5 -1
  357. package/environments.js +4 -0
  358. package/package.json +1 -1
  359. package/reference.md +772 -2366
  360. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  361. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  362. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  363. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  364. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  365. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  366. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  367. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  368. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  369. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  370. package/version.d.ts +1 -1
  371. package/version.js +1 -1
@@ -5,7 +5,7 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
8
+ * chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
9
9
  * resolved: true
10
10
  * }
11
11
  */
@@ -13,13 +13,11 @@ export interface ChargeCapturePostBilledChangeUpdate {
13
13
  /**
14
14
  * A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
15
15
  * All of the charges sent will be marked as resolved
16
- *
17
16
  */
18
17
  chargeCaptureChangeIds: CandidApi.ChargeCapturePostBilledChangeId[];
19
18
  /**
20
19
  * Whether the change has been resolved. If true, the change will be marked as resolved.
21
20
  * If false, the change will be marked as unresolved.
22
- *
23
21
  */
24
22
  resolved: boolean;
25
23
  }
@@ -4,13 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * data: {},
9
- * chargeExternalId: "string",
10
- * ehrSourceUrl: "string",
11
- * patientExternalId: "string",
12
- * status: "planned"
13
- * }
7
+ * {}
14
8
  */
15
9
  export interface ChargeCaptureUpdate {
16
10
  data?: CandidApi.chargeCapture.v1.ChargeCaptureData;
@@ -18,13 +12,11 @@ export interface ChargeCaptureUpdate {
18
12
  * A client-specified unique ID to associate with this encounter;
19
13
  * for example, your internal encounter ID or a Dr. Chrono encounter ID.
20
14
  * This field should not contain PHI.
21
- *
22
15
  */
23
16
  chargeExternalId?: string;
24
17
  /**
25
18
  * External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
26
19
  * Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
27
- *
28
20
  */
29
21
  ehrSourceUrl?: string;
30
22
  /** The patient ID from the external EMR platform for the patient */
@@ -6,27 +6,17 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * data: {},
9
- * chargeExternalId: "string",
10
- * ehrSourceUrl: "string",
11
- * patientExternalId: "string",
9
+ * chargeExternalId: "charge_external_id",
10
+ * patientExternalId: "patient_external_id",
12
11
  * status: "planned"
13
12
  * }
14
13
  */
15
14
  export interface CreateChargeCaptureRequest {
16
- /**
17
- * Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter.
18
- *
19
- */
15
+ /** Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter. */
20
16
  data: CandidApi.chargeCapture.v1.ChargeCaptureData;
21
- /**
22
- * A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI.
23
- *
24
- */
17
+ /** A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI. */
25
18
  chargeExternalId: string;
26
- /**
27
- * External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
28
- *
29
- */
19
+ /** External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123). */
30
20
  ehrSourceUrl?: string;
31
21
  /** The patient ID from the external EMR platform for the patient */
32
22
  patientExternalId: string;
@@ -4,41 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * sort: "created_at",
10
- * sortDirection: "asc",
11
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
12
- * patientExternalId: "string",
13
- * status: "planned",
14
- * chargeExternalId: "string",
15
- * dateOfServiceMin: "2023-01-15",
16
- * dateOfServiceMax: "2023-01-15",
17
- * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
18
- * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
- * billingProviderNpis: "string",
20
- * serviceFacilityName: "string",
21
- * primaryPayerIds: "string",
22
- * renderingProviderNpis: "string",
23
- * renderingProviderNames: "string",
24
- * supervisingProviderNpis: "string",
25
- * supervisingProviderNames: "string",
26
- * excludeChargesLinkedToClaims: true,
27
- * patientExternalIdRankedSort: "string",
28
- * statusRankedSort: "planned",
29
- * chargeExternalIdRankedSort: "string",
30
- * dateOfServiceMinRankedSort: "2023-01-15",
31
- * dateOfServiceMaxRankedSort: "2023-01-15",
32
- * claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
33
- * claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
34
- * billingProviderNpisRankedSort: "string",
35
- * serviceFacilityNameRankedSort: "string",
36
- * primaryPayerIdsRankedSort: "string",
37
- * renderingProviderNpisRankedSort: "string",
38
- * renderingProviderNamesRankedSort: "string",
39
- * supervisingProviderNpisRankedSort: "string",
40
- * supervisingProviderNamesRankedSort: "string"
41
- * }
7
+ * {}
42
8
  */
43
9
  export interface GetAllChargeCapturesRequest {
44
10
  /**
@@ -11,7 +11,7 @@ export interface ChargeCaptureData extends CandidApi.encounters.v4.EncounterOpti
11
11
  diagnoses?: CandidApi.DiagnosisCreate[];
12
12
  interventions?: CandidApi.encounters.v4.Intervention[];
13
13
  /**
14
- * **_This field is in beta._**
14
+ * ***This field is in beta.***
15
15
  * To be included for claims that have been submitted outside of Candid.
16
16
  * Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
17
17
  */
@@ -45,28 +45,7 @@ export declare class V1 {
45
45
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
46
46
  *
47
47
  * @example
48
- * await client.chargeCaptureBundles.v1.getAll({
49
- * limit: 1,
50
- * sort: "created_at",
51
- * sortDirection: "asc",
52
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
53
- * patientExternalId: "string",
54
- * claimCreationStatus: "not-started",
55
- * chargeStatus: "planned",
56
- * chargeExternalId: "string",
57
- * dateOfServiceMin: "2023-01-15",
58
- * dateOfServiceMax: "2023-01-15",
59
- * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
60
- * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
61
- * billingProviderNpis: "string",
62
- * serviceFacilityName: "string",
63
- * primaryPayerIds: "string",
64
- * renderingProviderNpis: "string",
65
- * renderingProviderNames: "string",
66
- * supervisingProviderNpis: "string",
67
- * supervisingProviderNames: "string",
68
- * hasChargeCaptureUpdates: true
69
- * })
48
+ * await client.chargeCaptureBundles.v1.getAll()
70
49
  */
71
50
  getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
72
51
  protected _getAuthorizationHeader(): Promise<string | undefined>;
@@ -71,7 +71,7 @@ class V1 {
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/charge_capture_claim_creation/v1/${encodeURIComponent(serializers.ChargeCaptureClaimCreationId.jsonOrThrow(chargeCaptureClaimCreationId))}`),
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.0", "User-Agent": "candidhealth/0.46.0", "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,
@@ -107,7 +107,7 @@ class V1 {
107
107
  const _response = yield core.fetcher({
108
108
  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/charge_capture_claim_creation/v1/all/summary"),
109
109
  method: "GET",
110
- 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),
110
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  requestType: "json",
113
113
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -136,28 +136,7 @@ class V1 {
136
136
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
137
137
  *
138
138
  * @example
139
- * await client.chargeCaptureBundles.v1.getAll({
140
- * limit: 1,
141
- * sort: "created_at",
142
- * sortDirection: "asc",
143
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
144
- * patientExternalId: "string",
145
- * claimCreationStatus: "not-started",
146
- * chargeStatus: "planned",
147
- * chargeExternalId: "string",
148
- * dateOfServiceMin: "2023-01-15",
149
- * dateOfServiceMax: "2023-01-15",
150
- * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
151
- * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
152
- * billingProviderNpis: "string",
153
- * serviceFacilityName: "string",
154
- * primaryPayerIds: "string",
155
- * renderingProviderNpis: "string",
156
- * renderingProviderNames: "string",
157
- * supervisingProviderNpis: "string",
158
- * supervisingProviderNames: "string",
159
- * hasChargeCaptureUpdates: true
160
- * })
139
+ * await client.chargeCaptureBundles.v1.getAll()
161
140
  */
162
141
  getAll() {
163
142
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -274,7 +253,7 @@ class V1 {
274
253
  const _response = yield core.fetcher({
275
254
  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/charge_capture_claim_creation/v1"),
276
255
  method: "GET",
277
- 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),
256
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
257
  contentType: "application/json",
279
258
  queryParameters: _queryParams,
280
259
  requestType: "json",
@@ -4,28 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * sort: "created_at",
10
- * sortDirection: "asc",
11
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
12
- * patientExternalId: "string",
13
- * claimCreationStatus: "not-started",
14
- * chargeStatus: "planned",
15
- * chargeExternalId: "string",
16
- * dateOfServiceMin: "2023-01-15",
17
- * dateOfServiceMax: "2023-01-15",
18
- * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
- * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
20
- * billingProviderNpis: "string",
21
- * serviceFacilityName: "string",
22
- * primaryPayerIds: "string",
23
- * renderingProviderNpis: "string",
24
- * renderingProviderNames: "string",
25
- * supervisingProviderNpis: "string",
26
- * supervisingProviderNames: "string",
27
- * hasChargeCaptureUpdates: true
28
- * }
7
+ * {}
29
8
  */
30
9
  export interface GetAllChargeCaptureClaimCreationsRequest {
31
10
  /**
@@ -99,7 +99,7 @@ export type InsuranceTypeCode =
99
99
  * Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
100
100
  | "HS"
101
101
  /**
102
- * Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
102
+ * Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
103
103
  | "IN"
104
104
  /**
105
105
  * Individual Policy */
@@ -38,15 +38,7 @@ export declare class V2 {
38
38
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @example
41
- * await client.contracts.v2.getMulti({
42
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
43
- * limit: 1,
44
- * contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
45
- * renderingProviderIds: CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
46
- * payerNames: "string",
47
- * states: "AA",
48
- * contractStatus: "pending"
49
- * })
41
+ * await client.contracts.v2.getMulti()
50
42
  */
51
43
  getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractsPage, CandidApi.contracts.v2.getMulti.Error>>;
52
44
  /**
@@ -59,30 +51,7 @@ export declare class V2 {
59
51
  * await client.contracts.v2.create({
60
52
  * contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
61
53
  * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
62
- * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
63
- * effectiveDate: CandidApi.Date_("string"),
64
- * expirationDate: CandidApi.Date_("string"),
65
- * regions: {
66
- * type: "states"
67
- * },
68
- * contractStatus: "pending",
69
- * authorizedSignatory: {
70
- * firstName: "string",
71
- * lastName: "string",
72
- * title: "string",
73
- * email: "string",
74
- * phone: "string",
75
- * fax: "string"
76
- * },
77
- * commercialInsuranceTypes: {
78
- * type: "allApply"
79
- * },
80
- * medicareInsuranceTypes: {
81
- * type: "allApply"
82
- * },
83
- * medicaidInsuranceTypes: {
84
- * type: "allApply"
85
- * }
54
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
86
55
  * })
87
56
  */
88
57
  create(request: CandidApi.contracts.v2.ContractCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.create.Error>>;
@@ -100,40 +69,7 @@ export declare class V2 {
100
69
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
101
70
  *
102
71
  * @example
103
- * await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
104
- * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
105
- * effectiveDate: CandidApi.Date_("string"),
106
- * expirationDate: {
107
- * type: "set",
108
- * value: CandidApi.Date_("string")
109
- * },
110
- * regions: {
111
- * type: "set",
112
- * value: {
113
- * type: "states",
114
- * states: ["AA"]
115
- * }
116
- * },
117
- * contractStatus: "pending",
118
- * authorizedSignatory: {
119
- * type: "set",
120
- * firstName: "string",
121
- * lastName: "string",
122
- * title: "string",
123
- * email: "string",
124
- * phone: "string",
125
- * fax: "string"
126
- * },
127
- * commercialInsuranceTypes: {
128
- * type: "allApply"
129
- * },
130
- * medicareInsuranceTypes: {
131
- * type: "allApply"
132
- * },
133
- * medicaidInsuranceTypes: {
134
- * type: "allApply"
135
- * }
136
- * })
72
+ * await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
137
73
  */
138
74
  update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.update.Error>>;
139
75
  protected _getAuthorizationHeader(): Promise<string | undefined>;
@@ -71,7 +71,7 @@ class V2 {
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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
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.0", "User-Agent": "candidhealth/0.46.0", "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,
@@ -114,20 +114,12 @@ class V2 {
114
114
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @example
117
- * await client.contracts.v2.getMulti({
118
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
119
- * limit: 1,
120
- * contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
121
- * renderingProviderIds: CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
122
- * payerNames: "string",
123
- * states: "AA",
124
- * contractStatus: "pending"
125
- * })
117
+ * await client.contracts.v2.getMulti()
126
118
  */
127
119
  getMulti() {
128
120
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
129
121
  var _a, _b;
130
- const { pageToken, limit, contractingProviderId, renderingProviderIds, payerNames, states, contractStatus } = request;
122
+ const { pageToken, limit, contractingProviderId, renderingProviderIds, payerNames, states, contractStatus, sort, sortDirection, } = request;
131
123
  const _queryParams = {};
132
124
  if (pageToken != null) {
133
125
  _queryParams["page_token"] = pageToken;
@@ -167,10 +159,20 @@ class V2 {
167
159
  unrecognizedObjectKeys: "strip",
168
160
  });
169
161
  }
162
+ if (sort != null) {
163
+ _queryParams["sort"] = serializers.contracts.v2.ContractSortField.jsonOrThrow(sort, {
164
+ unrecognizedObjectKeys: "strip",
165
+ });
166
+ }
167
+ if (sortDirection != null) {
168
+ _queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
169
+ unrecognizedObjectKeys: "strip",
170
+ });
171
+ }
170
172
  const _response = yield core.fetcher({
171
173
  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/contracts/v2"),
172
174
  method: "GET",
173
- 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),
175
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
176
  contentType: "application/json",
175
177
  queryParameters: _queryParams,
176
178
  requestType: "json",
@@ -205,30 +207,7 @@ class V2 {
205
207
  * await client.contracts.v2.create({
206
208
  * contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
207
209
  * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
208
- * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
209
- * effectiveDate: CandidApi.Date_("string"),
210
- * expirationDate: CandidApi.Date_("string"),
211
- * regions: {
212
- * type: "states"
213
- * },
214
- * contractStatus: "pending",
215
- * authorizedSignatory: {
216
- * firstName: "string",
217
- * lastName: "string",
218
- * title: "string",
219
- * email: "string",
220
- * phone: "string",
221
- * fax: "string"
222
- * },
223
- * commercialInsuranceTypes: {
224
- * type: "allApply"
225
- * },
226
- * medicareInsuranceTypes: {
227
- * type: "allApply"
228
- * },
229
- * medicaidInsuranceTypes: {
230
- * type: "allApply"
231
- * }
210
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
232
211
  * })
233
212
  */
234
213
  create(request, requestOptions) {
@@ -237,7 +216,7 @@ class V2 {
237
216
  const _response = yield core.fetcher({
238
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/contracts/v2"),
239
218
  method: "POST",
240
- 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),
219
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
220
  contentType: "application/json",
242
221
  requestType: "json",
243
222
  body: serializers.contracts.v2.ContractCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -275,7 +254,7 @@ class V2 {
275
254
  const _response = yield core.fetcher({
276
255
  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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
277
256
  method: "DELETE",
278
- 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),
257
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
258
  contentType: "application/json",
280
259
  requestType: "json",
281
260
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -314,40 +293,7 @@ class V2 {
314
293
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
315
294
  *
316
295
  * @example
317
- * await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
318
- * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
319
- * effectiveDate: CandidApi.Date_("string"),
320
- * expirationDate: {
321
- * type: "set",
322
- * value: CandidApi.Date_("string")
323
- * },
324
- * regions: {
325
- * type: "set",
326
- * value: {
327
- * type: "states",
328
- * states: ["AA"]
329
- * }
330
- * },
331
- * contractStatus: "pending",
332
- * authorizedSignatory: {
333
- * type: "set",
334
- * firstName: "string",
335
- * lastName: "string",
336
- * title: "string",
337
- * email: "string",
338
- * phone: "string",
339
- * fax: "string"
340
- * },
341
- * commercialInsuranceTypes: {
342
- * type: "allApply"
343
- * },
344
- * medicareInsuranceTypes: {
345
- * type: "allApply"
346
- * },
347
- * medicaidInsuranceTypes: {
348
- * type: "allApply"
349
- * }
350
- * })
296
+ * await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
351
297
  */
352
298
  update(contractId_1) {
353
299
  return __awaiter(this, arguments, void 0, function* (contractId, request = {}, requestOptions) {
@@ -355,7 +301,7 @@ class V2 {
355
301
  const _response = yield core.fetcher({
356
302
  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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
357
303
  method: "PATCH",
358
- 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),
304
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
305
  contentType: "application/json",
360
306
  requestType: "json",
361
307
  body: serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -7,30 +7,7 @@ import * as CandidApi from "../../../../../../index";
7
7
  * {
8
8
  * contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9
9
  * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
10
- * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
11
- * effectiveDate: CandidApi.Date_("string"),
12
- * expirationDate: CandidApi.Date_("string"),
13
- * regions: {
14
- * type: "states"
15
- * },
16
- * contractStatus: "pending",
17
- * authorizedSignatory: {
18
- * firstName: "string",
19
- * lastName: "string",
20
- * title: "string",
21
- * email: "string",
22
- * phone: "string",
23
- * fax: "string"
24
- * },
25
- * commercialInsuranceTypes: {
26
- * type: "allApply"
27
- * },
28
- * medicareInsuranceTypes: {
29
- * type: "allApply"
30
- * },
31
- * medicaidInsuranceTypes: {
32
- * type: "allApply"
33
- * }
10
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
34
11
  * }
35
12
  */
36
13
  export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
@@ -40,7 +17,6 @@ export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
40
17
  * A rendering provider isn't contracted directly with the payer but can render
41
18
  * services under the contract held by the contracting provider.
42
19
  * Max items is 100.
43
- *
44
20
  */
45
21
  renderingProviderIds: Set<CandidApi.contracts.v2.RenderingProviderid>;
46
22
  /** The UUID of the insurance company under agreement to the contract */
@@ -4,47 +4,13 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
9
- * effectiveDate: CandidApi.Date_("string"),
10
- * expirationDate: {
11
- * type: "set",
12
- * value: CandidApi.Date_("string")
13
- * },
14
- * regions: {
15
- * type: "set",
16
- * value: {
17
- * type: "states",
18
- * states: ["AA"]
19
- * }
20
- * },
21
- * contractStatus: "pending",
22
- * authorizedSignatory: {
23
- * type: "set",
24
- * firstName: "string",
25
- * lastName: "string",
26
- * title: "string",
27
- * email: "string",
28
- * phone: "string",
29
- * fax: "string"
30
- * },
31
- * commercialInsuranceTypes: {
32
- * type: "allApply"
33
- * },
34
- * medicareInsuranceTypes: {
35
- * type: "allApply"
36
- * },
37
- * medicaidInsuranceTypes: {
38
- * type: "allApply"
39
- * }
40
- * }
7
+ * {}
41
8
  */
42
9
  export interface ContractUpdate {
43
10
  /**
44
11
  * A rendering provider isn't contracted directly with the payer but can render
45
12
  * services under the contract held by the contracting provider.
46
13
  * Max items is 100.
47
- *
48
14
  */
49
15
  renderingProviderIds?: Set<CandidApi.contracts.v2.RenderingProviderid>;
50
16
  /** The starting day upon which the contract is effective */
@@ -54,7 +20,6 @@ export interface ContractUpdate {
54
20
  /**
55
21
  * If present, the contract's rendering providers will be patched to this exact
56
22
  * value, overriding what was set before.
57
- *
58
23
  */
59
24
  regions?: CandidApi.contracts.v2.RegionsUpdate;
60
25
  contractStatus?: CandidApi.contracts.v2.ContractStatus;