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
@@ -4,24 +4,10 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
9
- * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
10
- * startDate: "2023-01-15",
11
- * endDate: "2023-01-15",
12
- * regions: {
13
- * type: "states",
14
- * states: ["AA"]
15
- * },
16
- * submittedDate: "2023-01-15",
17
- * payerLoadedDate: "2023-01-15"
18
- * }
7
+ * {}
19
8
  */
20
9
  export interface ProviderCredentialingSpanUpdate {
21
- /**
22
- * The ID of the practice location at which the rendering provider is covered by the credentialing span.
23
- *
24
- */
10
+ /** The ID of the practice location at which the rendering provider is covered by the credentialing span. */
25
11
  contractingProviderId?: string;
26
12
  /** The ID of the payer doing the credentialing. */
27
13
  payerUuid?: string;
@@ -29,10 +15,7 @@ export interface ProviderCredentialingSpanUpdate {
29
15
  startDate?: string;
30
16
  /** End date of the credentialing span. */
31
17
  endDate?: string;
32
- /**
33
- * The states covered by the credentialing span. A span may be national and cover all states.
34
- *
35
- */
18
+ /** The states covered by the credentialing span. A span may be national and cover all states. */
36
19
  regions?: CandidApi.Regions;
37
20
  /** Date that the credential paperwork was submitted. */
38
21
  submittedDate?: string;
@@ -72,7 +72,7 @@ class V1 {
72
72
  const _response = yield core.fetcher({
73
73
  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/custom-schemas/v1"),
74
74
  method: "GET",
75
- 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),
75
+ 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),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -125,7 +125,7 @@ class V1 {
125
125
  const _response = yield core.fetcher({
126
126
  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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
127
127
  method: "GET",
128
- 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),
128
+ 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),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -196,7 +196,7 @@ class V1 {
196
196
  const _response = yield core.fetcher({
197
197
  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/custom-schemas/v1"),
198
198
  method: "POST",
199
- 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),
199
+ 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),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.customSchemas.v1.SchemaCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
260
260
  method: "PATCH",
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),
261
+ 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),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  body: serializers.customSchemas.v1.SchemaUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -33,10 +33,9 @@ export declare class Diagnoses {
33
33
  *
34
34
  * @example
35
35
  * await client.diagnoses.create({
36
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
37
- * name: "string",
38
36
  * codeType: "ABF",
39
- * code: "string"
37
+ * code: "code",
38
+ * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
40
39
  * })
41
40
  */
42
41
  create(request: CandidApi.StandaloneDiagnosisCreate, requestOptions?: Diagnoses.RequestOptions): Promise<core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.create.Error>>;
@@ -48,11 +47,7 @@ export declare class Diagnoses {
48
47
  * @param {Diagnoses.RequestOptions} requestOptions - Request-specific configuration.
49
48
  *
50
49
  * @example
51
- * await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
52
- * name: "string",
53
- * codeType: "ABF",
54
- * code: "string"
55
- * })
50
+ * await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
56
51
  */
57
52
  update(diagnosisId: CandidApi.DiagnosisId, request?: CandidApi.DiagnosisUpdate, requestOptions?: Diagnoses.RequestOptions): Promise<core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.update.Error>>;
58
53
  /**
@@ -66,10 +66,9 @@ class Diagnoses {
66
66
  *
67
67
  * @example
68
68
  * await client.diagnoses.create({
69
- * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
70
- * name: "string",
71
69
  * codeType: "ABF",
72
- * code: "string"
70
+ * code: "code",
71
+ * encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
73
72
  * })
74
73
  */
75
74
  create(request, requestOptions) {
@@ -78,7 +77,7 @@ class Diagnoses {
78
77
  const _response = yield core.fetcher({
79
78
  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/diagnoses/v2"),
80
79
  method: "POST",
81
- 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),
80
+ 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),
82
81
  contentType: "application/json",
83
82
  requestType: "json",
84
83
  body: serializers.StandaloneDiagnosisCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -111,11 +110,7 @@ class Diagnoses {
111
110
  * @param {Diagnoses.RequestOptions} requestOptions - Request-specific configuration.
112
111
  *
113
112
  * @example
114
- * await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
115
- * name: "string",
116
- * codeType: "ABF",
117
- * code: "string"
118
- * })
113
+ * await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
119
114
  */
120
115
  update(diagnosisId_1) {
121
116
  return __awaiter(this, arguments, void 0, function* (diagnosisId, request = {}, requestOptions) {
@@ -123,7 +118,7 @@ class Diagnoses {
123
118
  const _response = yield core.fetcher({
124
119
  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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
125
120
  method: "PATCH",
126
- 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),
121
+ 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),
127
122
  contentType: "application/json",
128
123
  requestType: "json",
129
124
  body: serializers.DiagnosisUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +172,7 @@ class Diagnoses {
177
172
  const _response = yield core.fetcher({
178
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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
179
174
  method: "DELETE",
180
- 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),
181
176
  contentType: "application/json",
182
177
  requestType: "json",
183
178
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,19 +4,12 @@
4
4
  import * as CandidApi from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * name: "string",
9
- * codeType: "ABF",
10
- * code: "string"
11
- * }
7
+ * {}
12
8
  */
13
9
  export interface DiagnosisUpdate {
14
10
  /** Empty string not allowed. */
15
11
  name?: string;
16
- /**
17
- * Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively.
18
- *
19
- */
12
+ /** Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively. */
20
13
  codeType?: CandidApi.DiagnosisTypeCode;
21
14
  /**
22
15
  * Empty string not allowed.
@@ -27,7 +20,6 @@ export interface DiagnosisUpdate {
27
20
  * - Digit or the letter `A` or `B`
28
21
  * - (Optional) Period `.`
29
22
  * - Up to 4 (or as few as 0) letters and digits
30
- *
31
23
  */
32
24
  code?: string;
33
25
  }
@@ -11,12 +11,11 @@ export interface DiagnosisCreate {
11
11
  * Empty string not allowed.
12
12
  * Should be of the appropriate format for the provided `code_type`.
13
13
  * Must obey the ICD-10 format if an ICD-10 code_type is provided, specifically:
14
- *
15
- * - Letter
16
- * - Digit
17
- * - Digit or the letter `A` or `B`
18
- * - (Optional) Period `.`
19
- * - Up to 4 (or as few as 0) letters and digits
14
+ * - Letter
15
+ * - Digit
16
+ * - Digit or the letter `A` or `B`
17
+ * - (Optional) Period `.`
18
+ * - Up to 4 (or as few as 0) letters and digits
20
19
  */
21
20
  code: string;
22
21
  }
@@ -69,11 +69,9 @@ export declare class V2 {
69
69
  * - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
70
70
  *
71
71
  * A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
72
- *
73
- * - Note Availity requires a free developer account to access this documentation.
72
+ * * Note Availity requires a free developer account to access this documentation.
74
73
  *
75
74
  * Check connection status of Availity API and partners here:
76
- *
77
75
  * - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
78
76
  *
79
77
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
@@ -94,11 +92,9 @@ export declare class V2 {
94
92
  * - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
95
93
  *
96
94
  * A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
97
- *
98
- * - Note Availity requires a free developer account to access this documentation.
95
+ * * Note Availity requires a free developer account to access this documentation.
99
96
  *
100
97
  * Check connection status of Availity API and partners here:
101
- *
102
98
  * - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
103
99
  *
104
100
  * @param {unknown} request
@@ -91,7 +91,7 @@ class V2 {
91
91
  const _response = yield core.fetcher({
92
92
  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/eligibility/v2"),
93
93
  method: "POST",
94
- 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),
94
+ 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),
95
95
  contentType: "application/json",
96
96
  requestType: "json",
97
97
  body: request,
@@ -141,11 +141,9 @@ class V2 {
141
141
  * - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
142
142
  *
143
143
  * A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
144
- *
145
- * - Note Availity requires a free developer account to access this documentation.
144
+ * * Note Availity requires a free developer account to access this documentation.
146
145
  *
147
146
  * Check connection status of Availity API and partners here:
148
- *
149
147
  * - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
150
148
  *
151
149
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
@@ -159,7 +157,7 @@ class V2 {
159
157
  const _response = yield core.fetcher({
160
158
  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/eligibility/v2/availity"),
161
159
  method: "GET",
162
- 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),
160
+ 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),
163
161
  contentType: "application/json",
164
162
  requestType: "json",
165
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -204,11 +202,9 @@ class V2 {
204
202
  * - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
205
203
  *
206
204
  * A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
207
- *
208
- * - Note Availity requires a free developer account to access this documentation.
205
+ * * Note Availity requires a free developer account to access this documentation.
209
206
  *
210
207
  * Check connection status of Availity API and partners here:
211
- *
212
208
  * - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
213
209
  *
214
210
  * @param {unknown} request
@@ -225,7 +221,7 @@ class V2 {
225
221
  const _response = yield core.fetcher({
226
222
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/eligibility/v2/availity"),
227
223
  method: "POST",
228
- 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),
224
+ 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),
229
225
  contentType: "application/json",
230
226
  requestType: "json",
231
227
  body: request,
@@ -43,9 +43,6 @@ export declare class V1 {
43
43
  * @param {CandidApi.EncounterId} encounterId
44
44
  * @param {CandidApi.encounterAttachments.v1.CreateAttachmentRequest} request
45
45
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
46
- *
47
- * @example
48
- * await client.encounterAttachments.v1.create(fs.createReadStream("/path/to/your/file"), CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
49
46
  */
50
47
  create(attachmentFile: File | fs.ReadStream | Blob, encounterId: CandidApi.EncounterId, request: CandidApi.encounterAttachments.v1.CreateAttachmentRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.encounterAttachments.v1.AttachmentId, CandidApi.encounterAttachments.v1.create.Error>>;
51
48
  /**
@@ -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/encounter-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
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,
@@ -103,9 +103,6 @@ class V1 {
103
103
  * @param {CandidApi.EncounterId} encounterId
104
104
  * @param {CandidApi.encounterAttachments.v1.CreateAttachmentRequest} request
105
105
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
106
- *
107
- * @example
108
- * await client.encounterAttachments.v1.create(fs.createReadStream("/path/to/your/file"), CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
109
106
  */
110
107
  create(attachmentFile, encounterId, request, requestOptions) {
111
108
  return __awaiter(this, void 0, void 0, function* () {
@@ -119,7 +116,7 @@ class V1 {
119
116
  const _response = yield core.fetcher({
120
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/encounter-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
121
118
  method: "PUT",
122
- headers: Object.assign(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 }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign(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 }, _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
120
  requestType: "file",
124
121
  duplex: _maybeEncodedRequest.duplex,
125
122
  body: _maybeEncodedRequest.body,
@@ -160,7 +157,7 @@ class V1 {
160
157
  const _response = yield core.fetcher({
161
158
  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/encounter-attachments/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
162
159
  method: "DELETE",
163
- 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),
160
+ 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),
164
161
  contentType: "application/json",
165
162
  requestType: "json",
166
163
  body: serializers.encounterAttachments.v1.DeleteAttachmentRequest.jsonOrThrow(request, {
@@ -2,10 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
5
  export interface CreateAttachmentRequest {
10
6
  attachmentType: CandidApi.encounterAttachments.v1.EncounterAttachmentType;
11
7
  }
@@ -31,21 +31,7 @@ export declare class V2 {
31
31
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
32
32
  *
33
33
  * @example
34
- * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
35
- * npi: "string",
36
- * taxonomyCode: "string",
37
- * address: {
38
- * address1: "123 Main St",
39
- * address2: "Apt 1",
40
- * city: "New York",
41
- * state: "NY",
42
- * zipCode: "10001",
43
- * zipPlusFourCode: "1234"
44
- * },
45
- * firstName: "string",
46
- * lastName: "string",
47
- * organizationName: "string"
48
- * })
34
+ * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
49
35
  */
50
36
  updateReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error>>;
51
37
  /**
@@ -54,22 +40,7 @@ export declare class V2 {
54
40
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
55
41
  *
56
42
  * @example
57
- * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
58
- * npi: "string",
59
- * taxonomyCode: "string",
60
- * address: {
61
- * address1: "123 Main St",
62
- * address2: "Apt 1",
63
- * city: "New York",
64
- * state: "NY",
65
- * zipCode: "10001",
66
- * zipPlusFourCode: "1234"
67
- * },
68
- * qualifier: "DQ",
69
- * firstName: "string",
70
- * lastName: "string",
71
- * organizationName: "string"
72
- * })
43
+ * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
73
44
  */
74
45
  updateInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>>;
75
46
  /**
@@ -78,21 +49,7 @@ export declare class V2 {
78
49
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
79
50
  *
80
51
  * @example
81
- * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
82
- * npi: "string",
83
- * taxonomyCode: "string",
84
- * address: {
85
- * address1: "123 Main St",
86
- * address2: "Apt 1",
87
- * city: "New York",
88
- * state: "NY",
89
- * zipCode: "10001",
90
- * zipPlusFourCode: "1234"
91
- * },
92
- * firstName: "string",
93
- * lastName: "string",
94
- * organizationName: "string"
95
- * })
52
+ * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
96
53
  */
97
54
  updateSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>>;
98
55
  /**
@@ -101,21 +58,7 @@ export declare class V2 {
101
58
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
102
59
  *
103
60
  * @example
104
- * await client.encounterProviders.v2.updateOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
105
- * npi: "string",
106
- * taxonomyCode: "string",
107
- * address: {
108
- * address1: "123 Main St",
109
- * address2: "Apt 1",
110
- * city: "New York",
111
- * state: "NY",
112
- * zipCode: "10001",
113
- * zipPlusFourCode: "1234"
114
- * },
115
- * firstName: "string",
116
- * lastName: "string",
117
- * organizationName: "string"
118
- * })
61
+ * await client.encounterProviders.v2.updateOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
119
62
  */
120
63
  updateOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>>;
121
64
  /**
@@ -125,19 +68,7 @@ export declare class V2 {
125
68
  *
126
69
  * @example
127
70
  * await client.encounterProviders.v2.createReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
128
- * npi: "string",
129
- * taxonomyCode: "string",
130
- * address: {
131
- * address1: "123 Main St",
132
- * address2: "Apt 1",
133
- * city: "New York",
134
- * state: "NY",
135
- * zipCode: "10001",
136
- * zipPlusFourCode: "1234"
137
- * },
138
- * firstName: "string",
139
- * lastName: "string",
140
- * organizationName: "string"
71
+ * npi: "npi"
141
72
  * })
142
73
  */
143
74
  createReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createReferringProvider.Error>>;
@@ -148,20 +79,7 @@ export declare class V2 {
148
79
  *
149
80
  * @example
150
81
  * await client.encounterProviders.v2.createInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
151
- * npi: "string",
152
- * taxonomyCode: "string",
153
- * address: {
154
- * address1: "123 Main St",
155
- * address2: "Apt 1",
156
- * city: "New York",
157
- * state: "NY",
158
- * zipCode: "10001",
159
- * zipPlusFourCode: "1234"
160
- * },
161
- * qualifier: "DQ",
162
- * firstName: "string",
163
- * lastName: "string",
164
- * organizationName: "string"
82
+ * npi: "npi"
165
83
  * })
166
84
  */
167
85
  createInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>>;
@@ -172,19 +90,7 @@ export declare class V2 {
172
90
  *
173
91
  * @example
174
92
  * await client.encounterProviders.v2.createSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
175
- * npi: "string",
176
- * taxonomyCode: "string",
177
- * address: {
178
- * address1: "123 Main St",
179
- * address2: "Apt 1",
180
- * city: "New York",
181
- * state: "NY",
182
- * zipCode: "10001",
183
- * zipPlusFourCode: "1234"
184
- * },
185
- * firstName: "string",
186
- * lastName: "string",
187
- * organizationName: "string"
93
+ * npi: "npi"
188
94
  * })
189
95
  */
190
96
  createSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>>;
@@ -195,19 +101,7 @@ export declare class V2 {
195
101
  *
196
102
  * @example
197
103
  * await client.encounterProviders.v2.createOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
198
- * npi: "string",
199
- * taxonomyCode: "string",
200
- * address: {
201
- * address1: "123 Main St",
202
- * address2: "Apt 1",
203
- * city: "New York",
204
- * state: "NY",
205
- * zipCode: "10001",
206
- * zipPlusFourCode: "1234"
207
- * },
208
- * firstName: "string",
209
- * lastName: "string",
210
- * organizationName: "string"
104
+ * npi: "npi"
211
105
  * })
212
106
  */
213
107
  createOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createOrderingProvider.Error>>;