candidhealth 0.45.0 → 0.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/README.md +4 -18
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  5. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  6. package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  7. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  8. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  12. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  13. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  17. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  18. package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  19. package/api/resources/contracts/resources/v2/client/Client.js +19 -73
  20. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  21. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  22. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  23. package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  24. package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  25. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  26. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  27. package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  28. package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  29. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  30. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  32. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  33. package/api/resources/diagnoses/client/Client.d.ts +3 -8
  34. package/api/resources/diagnoses/client/Client.js +6 -11
  35. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  36. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  37. package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  38. package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  39. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  40. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  41. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  42. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  43. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  44. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  45. package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  46. package/api/resources/encounters/resources/v4/client/Client.js +54 -679
  47. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  48. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  49. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  50. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  51. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  52. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  53. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  54. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  55. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  56. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  57. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  58. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  59. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  60. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  61. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  62. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  63. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  64. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  65. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  66. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  67. package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  68. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  69. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  70. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  71. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  72. package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  73. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  74. package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  75. package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  76. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  77. package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  78. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  79. package/api/resources/index.d.ts +2 -0
  80. package/api/resources/index.js +3 -1
  81. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  83. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  85. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  87. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  88. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  89. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  90. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  91. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  92. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  93. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  94. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  95. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  98. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  99. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  100. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  101. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  102. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  103. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  104. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  105. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  106. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  107. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  108. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  109. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  110. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  111. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  112. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  113. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  114. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  115. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  116. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  117. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  118. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  119. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  120. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  121. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  122. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  123. package/api/resources/pipelineCommons/index.d.ts +1 -0
  124. package/api/resources/pipelineCommons/index.js +17 -0
  125. package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  126. package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  127. package/api/resources/pipelineCommons/types/index.d.ts +1 -0
  128. package/api/resources/pipelineCommons/types/index.js +17 -0
  129. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  130. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  131. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  132. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  138. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  139. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  140. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  141. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  142. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  143. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  144. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  145. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  146. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  147. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  148. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  149. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  150. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  151. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  152. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  153. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  154. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  155. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  156. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  157. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  158. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  159. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  160. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  161. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  162. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  163. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  164. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  165. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  166. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  167. package/api/resources/serviceFacility/client/Client.js +2 -12
  168. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  169. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  170. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  171. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  172. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  173. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  174. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  175. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  176. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  177. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  178. package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  179. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  180. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  181. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  182. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  183. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  184. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  185. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  186. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  187. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  188. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  189. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  190. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  191. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  192. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  193. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  194. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  195. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  196. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  197. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  198. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  199. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  200. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  201. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  202. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  203. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  204. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  205. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  206. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  207. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  208. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  209. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  210. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  211. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  212. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  213. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  214. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  215. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  216. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  217. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  218. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  219. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  220. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  221. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  222. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  223. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  224. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  225. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  226. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  227. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  228. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  229. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
  230. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  231. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  232. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  233. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  234. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  235. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  236. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  237. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  238. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  239. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  240. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  241. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  242. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  243. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  244. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  245. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  246. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  247. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  248. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  249. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  250. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  251. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  252. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  253. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  254. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  255. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  256. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  257. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  258. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  259. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  260. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  261. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  262. package/dist/api/resources/index.d.ts +2 -0
  263. package/dist/api/resources/index.js +3 -1
  264. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  265. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  266. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  267. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  268. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  269. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  270. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  271. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  272. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  273. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  274. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  275. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  276. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  277. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  278. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  279. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  280. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  281. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  282. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  283. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  284. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  285. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  286. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  287. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  288. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  289. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  290. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  291. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  292. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  293. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  294. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  295. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  296. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  297. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  298. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  299. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  300. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  301. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  302. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  303. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  304. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  305. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  306. package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
  307. package/dist/api/resources/pipelineCommons/index.js +17 -0
  308. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  309. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  310. package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
  311. package/dist/api/resources/pipelineCommons/types/index.js +17 -0
  312. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  313. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  314. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  315. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  316. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  317. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  318. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  319. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  320. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  321. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  322. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  323. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  324. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  325. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  326. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  327. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  328. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  329. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  330. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  331. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  332. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  333. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  334. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  335. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  341. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  345. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  346. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  347. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  348. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  349. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  350. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  351. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  352. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  353. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  354. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  355. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  356. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  357. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  358. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  359. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  360. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  361. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  362. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  363. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  364. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  365. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  366. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  367. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  368. package/dist/environments.d.ts +5 -1
  369. package/dist/environments.js +4 -0
  370. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  371. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  372. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  373. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  374. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  375. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  376. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  377. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  378. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  379. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  380. package/dist/serialization/resources/index.d.ts +2 -0
  381. package/dist/serialization/resources/index.js +3 -1
  382. package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
  383. package/dist/serialization/resources/pipelineCommons/index.js +17 -0
  384. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  385. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  386. package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  387. package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  389. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  390. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  391. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  392. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  393. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  394. package/dist/version.d.ts +1 -1
  395. package/dist/version.js +1 -1
  396. package/environments.d.ts +5 -1
  397. package/environments.js +4 -0
  398. package/package.json +1 -1
  399. package/reference.md +772 -2366
  400. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  401. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  402. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  403. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  404. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  405. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  406. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  407. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  408. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  409. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  410. package/serialization/resources/index.d.ts +2 -0
  411. package/serialization/resources/index.js +3 -1
  412. package/serialization/resources/pipelineCommons/index.d.ts +1 -0
  413. package/serialization/resources/pipelineCommons/index.js +17 -0
  414. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  415. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  416. package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  417. package/serialization/resources/pipelineCommons/types/index.js +17 -0
  418. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  419. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  420. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  421. package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  422. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  423. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  424. package/version.d.ts +1 -1
  425. package/version.js +1 -1
@@ -4,137 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * payToAddress: {
9
- * address1: "123 Main St",
10
- * address2: "Apt 1",
11
- * city: "New York",
12
- * state: "NY",
13
- * zipCode: "10001",
14
- * zipPlusFourCode: "1234"
15
- * },
16
- * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
17
- * initialReferringProvider: {
18
- * npi: "string",
19
- * taxonomyCode: "string",
20
- * address: {
21
- * address1: "123 Main St",
22
- * address2: "Apt 1",
23
- * city: "New York",
24
- * state: "NY",
25
- * zipCode: "10001",
26
- * zipPlusFourCode: "1234"
27
- * },
28
- * qualifier: "DQ",
29
- * firstName: "string",
30
- * lastName: "string",
31
- * organizationName: "string"
32
- * },
33
- * referringProvider: {
34
- * npi: "string",
35
- * taxonomyCode: "string",
36
- * address: {
37
- * address1: "123 Main St",
38
- * address2: "Apt 1",
39
- * city: "New York",
40
- * state: "NY",
41
- * zipCode: "10001",
42
- * zipPlusFourCode: "1234"
43
- * },
44
- * firstName: "string",
45
- * lastName: "string",
46
- * organizationName: "string"
47
- * },
48
- * patient: {
49
- * firstName: "string",
50
- * lastName: "string",
51
- * gender: "male",
52
- * externalId: "string",
53
- * dateOfBirth: "2023-01-15",
54
- * address: {
55
- * address1: "123 Main St",
56
- * address2: "Apt 1",
57
- * city: "New York",
58
- * state: "NY",
59
- * zipCode: "10001",
60
- * zipPlusFourCode: "1234"
61
- * },
62
- * phoneNumbers: [{
63
- * number: "1234567890",
64
- * type: "Home"
65
- * }],
66
- * phoneConsent: true,
67
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
68
- * emailConsent: true,
69
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
70
- * nonInsurancePayersInfo: [{
71
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
72
- * memberId: "string",
73
- * clinicalTrialInfo: [{
74
- * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
75
- * }]
76
- * }]
77
- * },
78
- * renderingProvider: {
79
- * npi: "string",
80
- * taxonomyCode: "string",
81
- * address: {
82
- * address1: "123 Main St",
83
- * address2: "Apt 1",
84
- * city: "New York",
85
- * state: "NY",
86
- * zipCode: "10001",
87
- * zipPlusFourCode: "1234"
88
- * },
89
- * firstName: "string",
90
- * lastName: "string",
91
- * organizationName: "string"
92
- * },
93
- * serviceFacility: {
94
- * organizationName: "Test Organization",
95
- * address: {
96
- * address1: "123 Main St",
97
- * address2: "Apt 1",
98
- * city: "New York",
99
- * state: "NY",
100
- * zipCode: "10001",
101
- * zipPlusFourCode: "1234"
102
- * }
103
- * },
104
- * supervisingProvider: {
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
- * },
119
- * billingProvider: {
120
- * address: {
121
- * address1: "123 Main St",
122
- * address2: "Apt 1",
123
- * city: "New York",
124
- * state: "NY",
125
- * zipCode: "10001",
126
- * zipPlusFourCode: "1234"
127
- * },
128
- * taxId: "string",
129
- * npi: "string",
130
- * taxonomyCode: "string",
131
- * providerCommercialLicenseType: "0",
132
- * firstName: "string",
133
- * lastName: "string",
134
- * organizationName: "string"
135
- * },
136
- * placeOfServiceCodeAsSubmitted: "01"
137
- * }
7
+ * {}
138
8
  */
139
9
  export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
140
10
  /** Specifies the address to which payments for the claim should be sent. */
@@ -143,51 +13,32 @@ export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOption
143
13
  * Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
144
14
  * may be submitted at this time, and coders will later prioritize the 12 that will be
145
15
  * submitted to the payor.
146
- *
147
16
  */
148
17
  diagnosisIds?: CandidApi.DiagnosisId[];
149
18
  /**
150
19
  * The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
151
20
  * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
152
- *
153
21
  */
154
22
  initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
155
23
  /**
156
24
  * The final provider who referred the services that were rendered.
157
25
  * All physicians who order services or refer Medicare beneficiaries must
158
26
  * report this data.
159
- *
160
27
  */
161
28
  referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
162
- /**
163
- * Contains the identification information of the individual receiving medical services.
164
- *
165
- */
29
+ /** Contains the identification information of the individual receiving medical services. */
166
30
  patient?: CandidApi.PatientUpdate;
167
31
  /**
168
32
  * The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
169
33
  * For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
170
- *
171
34
  */
172
35
  renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
173
- /**
174
- * Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
175
- *
176
- */
36
+ /** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
177
37
  serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
178
- /**
179
- * Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
180
- *
181
- */
38
+ /** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */
182
39
  supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
183
- /**
184
- * The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
185
- *
186
- */
40
+ /** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
187
41
  billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
188
- /**
189
- * Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
190
- *
191
- */
42
+ /** Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
192
43
  placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
193
44
  }
@@ -503,7 +503,7 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
503
503
  * instances cannot be created for the same schema on an encounter.
504
504
  */
505
505
  schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
506
- /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
506
+ /** Refers to REF*9F on the 837p. Value cannot be greater than 50 characters. */
507
507
  referralNumber?: string;
508
508
  /** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
509
509
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
@@ -71,33 +71,33 @@ export interface EncounterBase {
71
71
  */
72
72
  additionalInformation?: string;
73
73
  /**
74
- * 837p Loop2300 REF\*4N
74
+ * 837p Loop2300 REF*4N
75
75
  * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
76
76
  * reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
77
77
  * obtaining the authorization.
78
78
  */
79
79
  serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
80
80
  /**
81
- * 837p Loop2300 DTP\*435, CMS-1500 Box 18
81
+ * 837p Loop2300 DTP*435, CMS-1500 Box 18
82
82
  * Required on all ambulance claims when the patient was known to be admitted to the hospital.
83
83
  * OR
84
84
  * Required on all claims involving inpatient medical visits.
85
85
  */
86
86
  admissionDate?: string;
87
87
  /**
88
- * 837p Loop2300 DTP\*096, CMS-1500 Box 18
88
+ * 837p Loop2300 DTP*096, CMS-1500 Box 18
89
89
  * Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
90
90
  */
91
91
  dischargeDate?: string;
92
92
  /**
93
- * 837p Loop2300 DTP\*431, CMS-1500 Box 14
93
+ * 837p Loop2300 DTP*431, CMS-1500 Box 14
94
94
  * Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
95
95
  * OR
96
96
  * This date is the onset of acute symptoms for the current illness or condition.
97
97
  */
98
98
  onsetOfCurrentIllnessOrSymptomDate?: string;
99
99
  /**
100
- * 837p Loop2300 DTP\*484, CMS-1500 Box 14
100
+ * 837p Loop2300 DTP*484, CMS-1500 Box 14
101
101
  * Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
102
102
  */
103
103
  lastMenstrualPeriodDate?: string;
@@ -21,7 +21,7 @@ export interface EncounterOptional {
21
21
  * If service lines have distinct date_of_service values, updating the encounter's date_of_service will fail. If all service line date_of_service values are the same, updating the encounter's date_of_service will update all service line date_of_service values.
22
22
  */
23
23
  dateOfService?: string;
24
- /** Names of tags that should be on the encounter. Note all tags on encounter will be overridden with this list. */
24
+ /** Names of tags that should be on the encounter. Note all tags on encounter will be overridden with this list. */
25
25
  tagIds?: CandidApi.TagId[];
26
26
  /** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
27
27
  clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
@@ -57,33 +57,33 @@ export interface EncounterOptional {
57
57
  */
58
58
  additionalInformation?: string;
59
59
  /**
60
- * 837p Loop2300 REF\*4N
60
+ * 837p Loop2300 REF*4N
61
61
  * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
62
62
  * reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
63
63
  * obtaining the authorization.
64
64
  */
65
65
  serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
66
66
  /**
67
- * 837p Loop2300 DTP\*435, CMS-1500 Box 18
67
+ * 837p Loop2300 DTP*435, CMS-1500 Box 18
68
68
  * Required on all ambulance claims when the patient was known to be admitted to the hospital.
69
69
  * OR
70
70
  * Required on all claims involving inpatient medical visits.
71
71
  */
72
72
  admissionDate?: string;
73
73
  /**
74
- * 837p Loop2300 DTP\*096, CMS-1500 Box 18
74
+ * 837p Loop2300 DTP*096, CMS-1500 Box 18
75
75
  * Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
76
76
  */
77
77
  dischargeDate?: string;
78
78
  /**
79
- * 837p Loop2300 DTP\*431, CMS-1500 Box 14
79
+ * 837p Loop2300 DTP*431, CMS-1500 Box 14
80
80
  * Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
81
81
  * OR
82
82
  * This date is the onset of acute symptoms for the current illness or condition.
83
83
  */
84
84
  onsetOfCurrentIllnessOrSymptomDate?: string;
85
85
  /**
86
- * 837p Loop2300 DTP\*484, CMS-1500 Box 14
86
+ * 837p Loop2300 DTP*484, CMS-1500 Box 14
87
87
  * Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.de
88
88
  */
89
89
  lastMenstrualPeriodDate?: string;
@@ -117,7 +117,7 @@ export interface EncounterOptional {
117
117
  existingMedications?: CandidApi.encounters.v4.Medication[];
118
118
  /** Personal and contact info for the guarantor of the patient responsibility. */
119
119
  guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
120
- /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
120
+ /** Refers to REF*9F on the 837p. Value cannot be greater than 50 characters. */
121
121
  referralNumber?: string;
122
122
  /** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
123
123
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
@@ -33,16 +33,13 @@ export declare class V1 {
33
33
  *
34
34
  * @example
35
35
  * await client.expectedNetworkStatus.v1.compute({
36
- * externalPatientId: "string",
37
- * subscriberPayerId: "string",
38
- * subscriberPayerName: "string",
39
- * subscriberInsuranceType: "01",
40
- * subscriberPlanName: "string",
41
- * billingProviderNpi: "string",
42
- * billingProviderTin: "string",
43
- * renderingProviderNpi: "string",
36
+ * subscriberPayerId: "subscriber_payer_id",
37
+ * subscriberPayerName: "subscriber_payer_name",
38
+ * billingProviderNpi: "billing_provider_npi",
39
+ * billingProviderTin: "billing_provider_tin",
40
+ * renderingProviderNpi: "rendering_provider_npi",
44
41
  * contractedState: "AA",
45
- * dateOfService: CandidApi.Date_("string")
42
+ * dateOfService: CandidApi.Date_("date_of_service")
46
43
  * })
47
44
  */
48
45
  compute(request: CandidApi.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v1.ExpectedNetworkStatusResponse, CandidApi.expectedNetworkStatus.v1.compute.Error>>;
@@ -66,16 +66,13 @@ class V1 {
66
66
  *
67
67
  * @example
68
68
  * await client.expectedNetworkStatus.v1.compute({
69
- * externalPatientId: "string",
70
- * subscriberPayerId: "string",
71
- * subscriberPayerName: "string",
72
- * subscriberInsuranceType: "01",
73
- * subscriberPlanName: "string",
74
- * billingProviderNpi: "string",
75
- * billingProviderTin: "string",
76
- * renderingProviderNpi: "string",
69
+ * subscriberPayerId: "subscriber_payer_id",
70
+ * subscriberPayerName: "subscriber_payer_name",
71
+ * billingProviderNpi: "billing_provider_npi",
72
+ * billingProviderTin: "billing_provider_tin",
73
+ * renderingProviderNpi: "rendering_provider_npi",
77
74
  * contractedState: "AA",
78
- * dateOfService: CandidApi.Date_("string")
75
+ * dateOfService: CandidApi.Date_("date_of_service")
79
76
  * })
80
77
  */
81
78
  compute(request, requestOptions) {
@@ -84,7 +81,7 @@ class V1 {
84
81
  const _response = yield core.fetcher({
85
82
  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/expected-network-status/v1"),
86
83
  method: "POST",
87
- 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),
84
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
85
  contentType: "application/json",
89
86
  requestType: "json",
90
87
  body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -5,16 +5,13 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * externalPatientId: "string",
9
- * subscriberPayerId: "string",
10
- * subscriberPayerName: "string",
11
- * subscriberInsuranceType: "01",
12
- * subscriberPlanName: "string",
13
- * billingProviderNpi: "string",
14
- * billingProviderTin: "string",
15
- * renderingProviderNpi: "string",
8
+ * subscriberPayerId: "subscriber_payer_id",
9
+ * subscriberPayerName: "subscriber_payer_name",
10
+ * billingProviderNpi: "billing_provider_npi",
11
+ * billingProviderTin: "billing_provider_tin",
12
+ * renderingProviderNpi: "rendering_provider_npi",
16
13
  * contractedState: "AA",
17
- * dateOfService: CandidApi.Date_("string")
14
+ * dateOfService: CandidApi.Date_("date_of_service")
18
15
  * }
19
16
  */
20
17
  export interface ExpectedNetworkStatusRequest {
@@ -32,9 +29,6 @@ export interface ExpectedNetworkStatusRequest {
32
29
  renderingProviderNpi: string;
33
30
  /** The state in which the healthcare provider has a contractual agreement with the insurance payer. */
34
31
  contractedState: CandidApi.State;
35
- /**
36
- * Date formatted as YYYY-MM-DD; eg: 2019-08-25.
37
- *
38
- */
32
+ /** Date formatted as YYYY-MM-DD; eg: 2019-08-25. */
39
33
  dateOfService: CandidApi.Date_;
40
34
  }
@@ -40,7 +40,7 @@ export declare class V2 {
40
40
  * placeOfServiceCode: "01",
41
41
  * subscriberInformation: {
42
42
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
43
- * memberId: "string",
43
+ * memberId: "member_id",
44
44
  * insuranceType: {
45
45
  * lineOfBusiness: "medicare",
46
46
  * insuranceTypeCodes: {
@@ -50,15 +50,13 @@ export declare class V2 {
50
50
  * }
51
51
  * },
52
52
  * patientAddress: {
53
- * address1: "123 Main St",
54
- * address2: "Apt 1",
55
- * city: "New York",
56
- * state: "NY",
57
- * zipCode: "10001",
58
- * zipPlusFourCode: "1234"
53
+ * address1: "address1",
54
+ * city: "city",
55
+ * state: "AA",
56
+ * zipCode: "zip_code"
59
57
  * },
60
58
  * billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
61
- * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
59
+ * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
62
60
  * dateOfService: "2023-01-15"
63
61
  * })
64
62
  */
@@ -77,7 +75,7 @@ export declare class V2 {
77
75
  * placeOfServiceCode: "01",
78
76
  * subscriberInformation: {
79
77
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
80
- * memberId: "string",
78
+ * memberId: "member_id",
81
79
  * insuranceType: {
82
80
  * lineOfBusiness: "medicare",
83
81
  * insuranceTypeCodes: {
@@ -87,15 +85,13 @@ export declare class V2 {
87
85
  * }
88
86
  * },
89
87
  * patientAddress: {
90
- * address1: "123 Main St",
91
- * address2: "Apt 1",
92
- * city: "New York",
93
- * state: "NY",
94
- * zipCode: "10001",
95
- * zipPlusFourCode: "1234"
88
+ * address1: "address1",
89
+ * city: "city",
90
+ * state: "AA",
91
+ * zipCode: "zip_code"
96
92
  * },
97
93
  * billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
98
- * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
94
+ * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
99
95
  * dateOfService: "2023-01-15"
100
96
  * })
101
97
  */
@@ -73,7 +73,7 @@ class V2 {
73
73
  * placeOfServiceCode: "01",
74
74
  * subscriberInformation: {
75
75
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
76
- * memberId: "string",
76
+ * memberId: "member_id",
77
77
  * insuranceType: {
78
78
  * lineOfBusiness: "medicare",
79
79
  * insuranceTypeCodes: {
@@ -83,15 +83,13 @@ class V2 {
83
83
  * }
84
84
  * },
85
85
  * patientAddress: {
86
- * address1: "123 Main St",
87
- * address2: "Apt 1",
88
- * city: "New York",
89
- * state: "NY",
90
- * zipCode: "10001",
91
- * zipPlusFourCode: "1234"
86
+ * address1: "address1",
87
+ * city: "city",
88
+ * state: "AA",
89
+ * zipCode: "zip_code"
92
90
  * },
93
91
  * billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
94
- * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
92
+ * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
95
93
  * dateOfService: "2023-01-15"
96
94
  * })
97
95
  */
@@ -101,7 +99,7 @@ class V2 {
101
99
  const _response = yield core.fetcher({
102
100
  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/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
103
101
  method: "POST",
104
- 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),
102
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
103
  contentType: "application/json",
106
104
  requestType: "json",
107
105
  body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -158,7 +156,7 @@ class V2 {
158
156
  * placeOfServiceCode: "01",
159
157
  * subscriberInformation: {
160
158
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
161
- * memberId: "string",
159
+ * memberId: "member_id",
162
160
  * insuranceType: {
163
161
  * lineOfBusiness: "medicare",
164
162
  * insuranceTypeCodes: {
@@ -168,15 +166,13 @@ class V2 {
168
166
  * }
169
167
  * },
170
168
  * patientAddress: {
171
- * address1: "123 Main St",
172
- * address2: "Apt 1",
173
- * city: "New York",
174
- * state: "NY",
175
- * zipCode: "10001",
176
- * zipPlusFourCode: "1234"
169
+ * address1: "address1",
170
+ * city: "city",
171
+ * state: "AA",
172
+ * zipCode: "zip_code"
177
173
  * },
178
174
  * billingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
179
- * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
175
+ * organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
180
176
  * dateOfService: "2023-01-15"
181
177
  * })
182
178
  */
@@ -186,7 +182,7 @@ class V2 {
186
182
  const _response = yield core.fetcher({
187
183
  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/expected-network-status/v2/compute"),
188
184
  method: "POST",
189
- 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),
185
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
186
  contentType: "application/json",
191
187
  requestType: "json",
192
188
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface EmptyObject {
5
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,26 +4,23 @@
4
4
  import * as CandidApi from "../../../../../index";
5
5
  export type InsuranceTypeCodes =
6
6
  /**
7
- * Match contracts on the provided insurance type code during the expected network status check.
8
- * */
7
+ * Match contracts on the provided insurance type code during the expected network status check. */
9
8
  CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.InsuranceTypeCode
10
9
  /**
11
- * Provide this if the insurance type code is unknown; causes the expected network status check to return indeterminate response.
12
- * */
10
+ * Provide this if the insurance type code is unknown; causes the expected network status check to return indeterminate response. */
13
11
  | CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.UnknownInsuranceTypeCode
14
12
  /**
15
- * Skips the insurance type validation when matching contracts in the expected network status check.
16
- * */
13
+ * Skips the insurance type validation when matching contracts in the expected network status check. */
17
14
  | CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes.NotApplicable;
18
15
  export declare namespace InsuranceTypeCodes {
19
16
  interface InsuranceTypeCode {
20
17
  type: "insurance_type_code";
21
18
  value: CandidApi.InsuranceTypeCode;
22
19
  }
23
- interface UnknownInsuranceTypeCode {
20
+ interface UnknownInsuranceTypeCode extends CandidApi.expectedNetworkStatus.v2.EmptyObject {
24
21
  type: "unknown_insurance_type_code";
25
22
  }
26
- interface NotApplicable {
23
+ interface NotApplicable extends CandidApi.expectedNetworkStatus.v2.EmptyObject {
27
24
  type: "not_applicable";
28
25
  }
29
26
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./NetworkStatusCheckId";
2
2
  export * from "./LineOfBusiness";
3
3
  export * from "./InsuranceTypeCodes";
4
+ export * from "./EmptyObject";
4
5
  export * from "./InsuranceType";
5
6
  export * from "./Explanation";
6
7
  export * from "./ServiceType";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./NetworkStatusCheckId"), exports);
18
18
  __exportStar(require("./LineOfBusiness"), exports);
19
19
  __exportStar(require("./InsuranceTypeCodes"), exports);
20
+ __exportStar(require("./EmptyObject"), exports);
20
21
  __exportStar(require("./InsuranceType"), exports);
21
22
  __exportStar(require("./Explanation"), exports);
22
23
  __exportStar(require("./ServiceType"), exports);
@@ -95,7 +95,7 @@ class V3 {
95
95
  const _response = yield core.fetcher({
96
96
  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/exports/v3"),
97
97
  method: "GET",
98
- 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),
98
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -25,7 +25,6 @@ export declare namespace V1 {
25
25
  /**
26
26
  * PaymentAccountConfig reprents a configuration record for integration with third party payment processors.
27
27
  * This configuration is used to determine how to process invoices.
28
- *
29
28
  */
30
29
  export declare class V1 {
31
30
  protected readonly _options: V1.Options;
@@ -35,10 +34,7 @@ export declare class V1 {
35
34
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
36
35
  *
37
36
  * @example
38
- * await client.externalPaymentAccountConfig.v1.getMulti({
39
- * limit: 1,
40
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
41
- * })
37
+ * await client.externalPaymentAccountConfig.v1.getMulti()
42
38
  */
43
39
  getMulti(request?: CandidApi.externalPaymentAccountConfig.v1.GetExternalPaymentAccountConfigsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.externalPaymentAccountConfig.v1.ExternalPaymentAccountConfigPage, CandidApi.externalPaymentAccountConfig.v1.getMulti.Error>>;
44
40
  protected _getAuthorizationHeader(): Promise<string | undefined>;