candidhealth 0.43.1 → 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 (507) 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/billingNotes/resources/v2/types/index.d.ts +0 -1
  8. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  9. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  10. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  11. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  12. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  13. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  14. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  19. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  20. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  21. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  22. package/api/resources/commons/types/index.d.ts +2 -0
  23. package/api/resources/commons/types/index.js +2 -0
  24. package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  25. package/api/resources/contracts/resources/v2/client/Client.js +19 -73
  26. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  27. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  28. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  29. package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  30. package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  31. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  32. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  33. package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  34. package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  35. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  36. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  37. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  38. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  39. package/api/resources/diagnoses/client/Client.d.ts +3 -8
  40. package/api/resources/diagnoses/client/Client.js +6 -11
  41. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  42. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  43. package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  44. package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  46. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  47. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  48. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  49. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  50. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  51. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  52. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  53. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  54. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  55. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  56. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  57. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  58. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  59. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  60. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  61. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  62. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  63. package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
  64. package/api/resources/encounters/resources/v4/client/Client.js +54 -551
  65. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
  66. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
  67. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  68. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  69. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
  70. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  71. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  72. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  73. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  74. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  75. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  76. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  77. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  78. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  79. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  80. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  81. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  82. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  83. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  84. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  85. package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  86. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  87. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  88. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  89. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  90. package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  91. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  92. package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  93. package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  94. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  95. package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  96. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  97. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  98. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  99. package/api/resources/individual/types/index.d.ts +1 -0
  100. package/api/resources/individual/types/index.js +1 -0
  101. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  102. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  103. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  104. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  105. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  106. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  107. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  108. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  109. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  110. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  111. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  112. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  113. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  114. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  115. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  116. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  117. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  118. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  119. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  120. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  121. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  122. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  123. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  124. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  125. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  126. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  127. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  128. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  129. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  130. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  131. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  132. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  133. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  134. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  135. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  136. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  137. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  138. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  139. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  140. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  141. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  142. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  143. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  144. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  145. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  146. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  147. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  148. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  149. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  150. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  151. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  152. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  153. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  154. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  155. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  156. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  157. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  158. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  159. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  160. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  161. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  162. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  163. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  164. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  165. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  166. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  167. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  168. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  169. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  170. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  171. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  172. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  173. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  174. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  175. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  176. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  177. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  178. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  179. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  180. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  181. package/api/resources/serviceFacility/client/Client.js +2 -12
  182. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  183. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  184. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  185. package/api/resources/serviceFacility/types/index.js +1 -0
  186. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  187. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  188. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  189. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  190. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  191. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  192. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  193. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  194. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  195. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  196. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  197. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  198. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  199. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  200. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  201. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  202. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  203. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  204. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  205. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  206. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  207. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  208. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  209. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  210. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  211. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
  212. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  213. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  214. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  215. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  216. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  217. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  218. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  219. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  220. package/dist/api/resources/commons/types/index.d.ts +2 -0
  221. package/dist/api/resources/commons/types/index.js +2 -0
  222. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  223. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  224. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  225. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  226. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  227. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  228. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  229. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  230. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  231. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  232. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  233. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  234. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  235. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  236. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  237. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  238. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  239. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  240. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  241. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  242. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  243. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  244. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  245. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  246. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  247. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  248. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  249. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  250. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  251. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  252. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  253. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  254. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  255. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  256. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  257. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  258. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  259. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  260. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  261. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
  262. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -551
  263. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
  264. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
  265. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  266. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  267. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
  268. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  269. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  270. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  271. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  272. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  273. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  274. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  275. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  276. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  277. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  278. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  279. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  280. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  281. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  282. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  283. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  284. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  285. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  286. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  287. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  288. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  289. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  290. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  291. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  292. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  293. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  294. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  295. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  296. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  297. package/dist/api/resources/individual/types/index.d.ts +1 -0
  298. package/dist/api/resources/individual/types/index.js +1 -0
  299. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  300. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  301. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  302. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  303. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  304. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  305. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  306. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  307. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  308. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  309. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  310. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  311. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  312. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  313. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  314. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  315. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  316. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  317. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  318. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  319. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  320. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  321. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  322. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  323. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  324. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  325. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  326. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  327. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  328. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  329. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  330. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  331. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  332. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  333. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  334. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  335. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  336. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  337. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  338. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  339. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  340. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  341. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  342. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  343. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  344. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  345. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  346. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  347. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  348. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  349. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  350. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  351. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  352. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  353. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  354. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  355. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  356. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  357. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  358. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  359. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  360. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  361. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  362. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  363. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  364. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  365. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  366. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  367. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  368. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  369. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  370. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  371. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  372. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  373. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  374. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  375. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  376. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  377. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  378. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  379. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  380. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  381. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  382. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  383. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  384. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  385. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  386. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  387. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  388. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  389. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  390. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  391. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  392. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  393. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  394. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  395. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  396. package/dist/environments.d.ts +5 -1
  397. package/dist/environments.js +4 -0
  398. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  399. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  400. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  401. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  402. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  403. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  404. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  405. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  406. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  407. package/dist/serialization/resources/commons/types/index.js +2 -0
  408. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  409. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  410. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  411. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  412. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  413. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  414. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  415. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  416. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  417. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  418. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  419. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  420. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  421. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  422. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  423. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  424. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  425. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  426. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  427. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  428. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  429. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  430. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  431. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  432. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  433. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  434. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  435. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  436. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  437. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  438. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  439. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  440. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  441. package/dist/serialization/resources/individual/types/index.js +1 -0
  442. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  443. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  444. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  445. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  446. package/dist/version.d.ts +1 -1
  447. package/dist/version.js +1 -1
  448. package/environments.d.ts +5 -1
  449. package/environments.js +4 -0
  450. package/package.json +1 -1
  451. package/reference.md +772 -2232
  452. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  453. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  454. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  455. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  456. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  457. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  458. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  459. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  460. package/serialization/resources/commons/types/index.d.ts +2 -0
  461. package/serialization/resources/commons/types/index.js +2 -0
  462. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  463. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  464. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  465. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  466. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  467. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  468. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  469. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  470. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  471. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  472. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  473. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  474. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  475. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  476. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  477. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  478. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  479. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  480. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  481. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  482. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  483. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  484. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  485. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  486. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  487. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  488. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  489. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  490. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  491. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  492. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  493. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  494. package/serialization/resources/individual/types/index.d.ts +1 -0
  495. package/serialization/resources/individual/types/index.js +1 -0
  496. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  497. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  498. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  499. package/serialization/resources/serviceFacility/types/index.js +1 -0
  500. package/version.d.ts +1 -1
  501. package/version.js +1 -1
  502. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  503. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  504. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  505. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  506. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
  507. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
@@ -59,7 +59,7 @@ class V3 {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
62
- * Gets the rate that matches a service line. No result means no rate exists matching the service line's dimensions.
62
+ * Gets the rate that matches a service line. No result means no rate exists matching the service line's dimensions.
63
63
  *
64
64
  * @param {CandidApi.ServiceLineId} serviceLineId
65
65
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -73,7 +73,7 @@ class V3 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.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),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.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),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -174,21 +174,7 @@ class V3 {
174
174
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
175
175
  *
176
176
  * @example
177
- * await client.feeSchedules.v3.getMulti({
178
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
179
- * limit: 1,
180
- * activeDate: "2023-01-15",
181
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
182
- * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
183
- * states: "AA",
184
- * zipCodes: "string",
185
- * licenseTypes: "MD",
186
- * facilityTypeCodes: "01",
187
- * networkTypes: "12",
188
- * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
189
- * cptCode: "string",
190
- * modifiers: "AV"
191
- * })
177
+ * await client.feeSchedules.v3.getMulti()
192
178
  */
193
179
  getMulti() {
194
180
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -280,7 +266,7 @@ class V3 {
280
266
  const _response = yield core.fetcher({
281
267
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
282
268
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
+ 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),
284
270
  contentType: "application/json",
285
271
  queryParameters: _queryParams,
286
272
  requestType: "json",
@@ -313,19 +299,7 @@ class V3 {
313
299
  *
314
300
  * @example
315
301
  * await client.feeSchedules.v3.getUniqueValuesForDimension({
316
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
317
- * limit: 1,
318
- * pivotDimension: "payer_uuid",
319
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
320
- * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
321
- * states: "AA",
322
- * zipCodes: "string",
323
- * licenseTypes: "MD",
324
- * facilityTypeCodes: "01",
325
- * networkTypes: "12",
326
- * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
327
- * cptCode: "string",
328
- * modifiers: "AV"
302
+ * pivotDimension: "payer_uuid"
329
303
  * })
330
304
  */
331
305
  getUniqueValuesForDimension(request, requestOptions) {
@@ -418,7 +392,7 @@ class V3 {
418
392
  const _response = yield core.fetcher({
419
393
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
420
394
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
395
+ 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),
422
396
  contentType: "application/json",
423
397
  queryParameters: _queryParams,
424
398
  requestType: "json",
@@ -458,7 +432,7 @@ class V3 {
458
432
  const _response = yield core.fetcher({
459
433
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
434
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
435
+ 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),
462
436
  contentType: "application/json",
463
437
  requestType: "json",
464
438
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -497,7 +471,7 @@ class V3 {
497
471
  });
498
472
  }
499
473
  /**
500
- * Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
474
+ * Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
501
475
  *
502
476
  * @param {CandidApi.feeSchedules.v3.FeeScheduleUploadRequest} request
503
477
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -511,18 +485,45 @@ class V3 {
511
485
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
512
486
  * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
513
487
  * states: new Set(["AA"]),
514
- * zipCodes: new Set(["string"]),
488
+ * zipCodes: new Set(["zip_codes"]),
489
+ * licenseTypes: new Set(["MD"]),
490
+ * facilityTypeCodes: new Set(["01"]),
491
+ * networkTypes: new Set(["12"]),
492
+ * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
493
+ * cptCode: "cpt_code",
494
+ * modifiers: new Set(["AV"])
495
+ * },
496
+ * entries: [{
497
+ * startDate: "2023-01-15",
498
+ * rateCents: 1,
499
+ * isDeactivated: true
500
+ * }, {
501
+ * startDate: "2023-01-15",
502
+ * rateCents: 1,
503
+ * isDeactivated: true
504
+ * }]
505
+ * }, {
506
+ * type: "new_rate",
507
+ * dimensions: {
508
+ * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
509
+ * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
510
+ * states: new Set(["AA"]),
511
+ * zipCodes: new Set(["zip_codes"]),
515
512
  * licenseTypes: new Set(["MD"]),
516
513
  * facilityTypeCodes: new Set(["01"]),
517
514
  * networkTypes: new Set(["12"]),
518
515
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
519
- * cptCode: "string",
516
+ * cptCode: "cpt_code",
520
517
  * modifiers: new Set(["AV"])
521
518
  * },
522
519
  * entries: [{
523
- * startDate: "2024-04-11",
524
- * rateCents: 33000,
525
- * isDeactivated: false
520
+ * startDate: "2023-01-15",
521
+ * rateCents: 1,
522
+ * isDeactivated: true
523
+ * }, {
524
+ * startDate: "2023-01-15",
525
+ * rateCents: 1,
526
+ * isDeactivated: true
526
527
  * }]
527
528
  * }]
528
529
  * })
@@ -533,7 +534,7 @@ class V3 {
533
534
  const _response = yield core.fetcher({
534
535
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
535
536
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
537
+ 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),
537
538
  contentType: "application/json",
538
539
  requestType: "json",
539
540
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -575,7 +576,7 @@ class V3 {
575
576
  });
576
577
  }
577
578
  /**
578
- * Soft deletes a rate from the system. Only the most recent version of a rate can be deleted.
579
+ * Soft deletes a rate from the system. Only the most recent version of a rate can be deleted.
579
580
  *
580
581
  * @param {CandidApi.RateId} rateId
581
582
  * @param {number} version
@@ -590,7 +591,7 @@ class V3 {
590
591
  const _response = yield core.fetcher({
591
592
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
593
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
594
+ 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),
594
595
  contentType: "application/json",
595
596
  requestType: "json",
596
597
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +639,7 @@ class V3 {
638
639
  const _response = yield core.fetcher({
639
640
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
640
641
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
+ 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),
642
643
  contentType: "application/json",
643
644
  requestType: "json",
644
645
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +688,7 @@ class V3 {
687
688
  const _response = yield core.fetcher({
688
689
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
689
690
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
+ 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),
691
692
  contentType: "application/json",
692
693
  queryParameters: _queryParams,
693
694
  requestType: "json",
@@ -721,8 +722,6 @@ class V3 {
721
722
  *
722
723
  * @example
723
724
  * await client.feeSchedules.v3.setPayerThreshold(CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
724
- * upperThresholdCents: 1,
725
- * lowerThresholdCents: 1,
726
725
  * disablePaidIncorrectly: true
727
726
  * })
728
727
  */
@@ -732,7 +731,7 @@ class V3 {
732
731
  const _response = yield core.fetcher({
733
732
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
733
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
734
+ 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),
736
735
  contentType: "application/json",
737
736
  requestType: "json",
738
737
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -12,18 +12,45 @@ import * as CandidApi from "../../../../../../index";
12
12
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
13
  * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
14
14
  * states: new Set(["AA"]),
15
- * zipCodes: new Set(["string"]),
15
+ * zipCodes: new Set(["zip_codes"]),
16
16
  * licenseTypes: new Set(["MD"]),
17
17
  * facilityTypeCodes: new Set(["01"]),
18
18
  * networkTypes: new Set(["12"]),
19
19
  * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
20
- * cptCode: "string",
20
+ * cptCode: "cpt_code",
21
21
  * modifiers: new Set(["AV"])
22
22
  * },
23
23
  * entries: [{
24
- * startDate: "2024-04-11",
25
- * rateCents: 33000,
26
- * isDeactivated: false
24
+ * startDate: "2023-01-15",
25
+ * rateCents: 1,
26
+ * isDeactivated: true
27
+ * }, {
28
+ * startDate: "2023-01-15",
29
+ * rateCents: 1,
30
+ * isDeactivated: true
31
+ * }]
32
+ * }, {
33
+ * type: "new_rate",
34
+ * dimensions: {
35
+ * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
36
+ * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
37
+ * states: new Set(["AA"]),
38
+ * zipCodes: new Set(["zip_codes"]),
39
+ * licenseTypes: new Set(["MD"]),
40
+ * facilityTypeCodes: new Set(["01"]),
41
+ * networkTypes: new Set(["12"]),
42
+ * payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
43
+ * cptCode: "cpt_code",
44
+ * modifiers: new Set(["AV"])
45
+ * },
46
+ * entries: [{
47
+ * startDate: "2023-01-15",
48
+ * rateCents: 1,
49
+ * isDeactivated: true
50
+ * }, {
51
+ * startDate: "2023-01-15",
52
+ * rateCents: 1,
53
+ * isDeactivated: true
27
54
  * }]
28
55
  * }]
29
56
  * }
@@ -4,21 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
9
- * limit: 1,
10
- * activeDate: "2023-01-15",
11
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12
- * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
- * states: "AA",
14
- * zipCodes: "string",
15
- * licenseTypes: "MD",
16
- * facilityTypeCodes: "01",
17
- * networkTypes: "12",
18
- * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
- * cptCode: "string",
20
- * modifiers: "AV"
21
- * }
7
+ * {}
22
8
  */
23
9
  export interface GetMultiRequest {
24
10
  pageToken?: CandidApi.PageToken;
@@ -5,19 +5,7 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
9
- * limit: 1,
10
- * pivotDimension: "payer_uuid",
11
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12
- * organizationBillingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
- * states: "AA",
14
- * zipCodes: "string",
15
- * licenseTypes: "MD",
16
- * facilityTypeCodes: "01",
17
- * networkTypes: "12",
18
- * payerPlanGroupIds: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
- * cptCode: "string",
20
- * modifiers: "AV"
8
+ * pivotDimension: "payer_uuid"
21
9
  * }
22
10
  */
23
11
  export interface GetUniqueDimensionValuesRequest {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * Rate thresholds that determine fee schedule rate matching behavior. When a service line is adjudicated by a payer Candid determines if the payer's allowed amount "matches" the rate value. If the allowed amount doesn't equal the rate value, Candid moves the claim to a PAID_INCORRECTLY state. These optional thresholds allow a user to set wiggle room to avoid claims moving to PAID_INCORRECTLY and instead have them move directly to FINALIZED_PAID when the payer's allowed amount is greater than [rate_cents - lower_threshold_cents] and less than [rate_cents + upper_threshold_cents].\n Additionally, a client can set disable_paid_incorrectly to avoid the PAID_INCORRECTLY claim status entirely.
5
+ * Rate thresholds that determine fee schedule rate matching behavior. When a service line is adjudicated by a payer Candid determines if the payer's allowed amount "matches" the rate value. If the allowed amount doesn't equal the rate value, Candid moves the claim to a PAID_INCORRECTLY state. These optional thresholds allow a user to set wiggle room to avoid claims moving to PAID_INCORRECTLY and instead have them move directly to FINALIZED_PAID when the payer's allowed amount is greater than [rate_cents - lower_threshold_cents] and less than [rate_cents + upper_threshold_cents].\n Additionally, a client can set disable_paid_incorrectly to avoid the PAID_INCORRECTLY claim status entirely.
6
6
  */
7
7
  export interface PayerThreshold {
8
8
  upperThresholdCents?: number;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  /**
6
- * A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint. A rate must always have at least one entry.
6
+ * A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint. A rate must always have at least one entry.
7
7
  */
8
8
  export interface Rate {
9
9
  rateId: CandidApi.RateId;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the deelte_rate endpoint. Deactivated rate entries are not considered when matching against service lines.
5
+ * A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the deelte_rate endpoint. Deactivated rate entries are not considered when matching against service lines.
6
6
  *
7
7
  * @example
8
8
  * {
@@ -34,24 +34,14 @@ export declare class V1 {
34
34
  *
35
35
  * @example
36
36
  * await client.guarantor.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
37
- * phoneNumbers: [{
38
- * number: "1234567890",
39
- * type: "Home"
40
- * }],
41
- * phoneConsent: true,
42
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
43
- * emailConsent: true,
44
- * firstName: "string",
45
- * lastName: "string",
46
- * externalId: "string",
47
- * dateOfBirth: "2023-01-15",
37
+ * firstName: "first_name",
38
+ * lastName: "last_name",
39
+ * externalId: "external_id",
48
40
  * address: {
49
- * address1: "123 Main St",
50
- * address2: "Apt 1",
51
- * city: "New York",
52
- * state: "NY",
53
- * zipCode: "10001",
54
- * zipPlusFourCode: "1234"
41
+ * address1: "address1",
42
+ * city: "city",
43
+ * state: "AA",
44
+ * zipCode: "zip_code"
55
45
  * }
56
46
  * })
57
47
  */
@@ -74,27 +64,7 @@ export declare class V1 {
74
64
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
75
65
  *
76
66
  * @example
77
- * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
78
- * firstName: "string",
79
- * lastName: "string",
80
- * externalId: "string",
81
- * dateOfBirth: "2023-01-15",
82
- * address: {
83
- * address1: "123 Main St",
84
- * address2: "Apt 1",
85
- * city: "New York",
86
- * state: "NY",
87
- * zipCode: "10001",
88
- * zipPlusFourCode: "1234"
89
- * },
90
- * phoneNumbers: [{
91
- * number: "1234567890",
92
- * type: "Home"
93
- * }],
94
- * phoneConsent: true,
95
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
96
- * emailConsent: true
97
- * })
67
+ * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
98
68
  */
99
69
  update(guarantorId: CandidApi.guarantor.v1.GuarantorId, request: CandidApi.guarantor.v1.GuarantorUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.guarantor.v1.Guarantor, CandidApi.guarantor.v1.update.Error>>;
100
70
  protected _getAuthorizationHeader(): Promise<string | undefined>;
@@ -67,24 +67,14 @@ class V1 {
67
67
  *
68
68
  * @example
69
69
  * await client.guarantor.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
70
- * phoneNumbers: [{
71
- * number: "1234567890",
72
- * type: "Home"
73
- * }],
74
- * phoneConsent: true,
75
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
76
- * emailConsent: true,
77
- * firstName: "string",
78
- * lastName: "string",
79
- * externalId: "string",
80
- * dateOfBirth: "2023-01-15",
70
+ * firstName: "first_name",
71
+ * lastName: "last_name",
72
+ * externalId: "external_id",
81
73
  * address: {
82
- * address1: "123 Main St",
83
- * address2: "Apt 1",
84
- * city: "New York",
85
- * state: "NY",
86
- * zipCode: "10001",
87
- * zipPlusFourCode: "1234"
74
+ * address1: "address1",
75
+ * city: "city",
76
+ * state: "AA",
77
+ * zipCode: "zip_code"
88
78
  * }
89
79
  * })
90
80
  */
@@ -94,7 +84,7 @@ class V1 {
94
84
  const _response = yield core.fetcher({
95
85
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
96
86
  method: "POST",
97
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ 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),
98
88
  contentType: "application/json",
99
89
  requestType: "json",
100
90
  body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -149,7 +139,7 @@ class V1 {
149
139
  const _response = yield core.fetcher({
150
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
151
141
  method: "GET",
152
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ 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),
153
143
  contentType: "application/json",
154
144
  requestType: "json",
155
145
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -181,27 +171,7 @@ class V1 {
181
171
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
182
172
  *
183
173
  * @example
184
- * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
185
- * firstName: "string",
186
- * lastName: "string",
187
- * externalId: "string",
188
- * dateOfBirth: "2023-01-15",
189
- * address: {
190
- * address1: "123 Main St",
191
- * address2: "Apt 1",
192
- * city: "New York",
193
- * state: "NY",
194
- * zipCode: "10001",
195
- * zipPlusFourCode: "1234"
196
- * },
197
- * phoneNumbers: [{
198
- * number: "1234567890",
199
- * type: "Home"
200
- * }],
201
- * phoneConsent: true,
202
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
203
- * emailConsent: true
204
- * })
174
+ * await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
205
175
  */
206
176
  update(guarantorId, request, requestOptions) {
207
177
  return __awaiter(this, void 0, void 0, function* () {
@@ -209,7 +179,7 @@ class V1 {
209
179
  const _response = yield core.fetcher({
210
180
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
211
181
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
+ 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),
213
183
  contentType: "application/json",
214
184
  requestType: "json",
215
185
  body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -34,20 +34,23 @@ export declare class V1 {
34
34
  * @example
35
35
  * await client.importInvoice.v1.importInvoice({
36
36
  * externalPaymentAccountConfigId: CandidApi.PaymentAccountConfigId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
37
- * patientExternalId: CandidApi.PatientExternalId("string"),
38
- * externalCustomerIdentifier: "string",
39
- * note: "string",
40
- * dueDate: "2023-01-15",
37
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
38
+ * externalCustomerIdentifier: "external_customer_identifier",
41
39
  * items: [{
42
40
  * attribution: {
43
41
  * type: "service_line_id",
44
42
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
45
43
  * },
46
44
  * amountCents: 1
45
+ * }, {
46
+ * attribution: {
47
+ * type: "service_line_id",
48
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
49
+ * },
50
+ * amountCents: 1
47
51
  * }],
48
52
  * status: "DRAFT",
49
- * externalIdentifier: "string",
50
- * customerInvoiceUrl: "string"
53
+ * externalIdentifier: "external_identifier"
51
54
  * })
52
55
  */
53
56
  importInvoice(request: CandidApi.importInvoice.v1.CreateImportInvoiceRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoice, CandidApi.importInvoice.v1.importInvoice.Error>>;
@@ -58,18 +61,7 @@ export declare class V1 {
58
61
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
59
62
  *
60
63
  * @example
61
- * await client.importInvoice.v1.getMulti({
62
- * patientExternalId: CandidApi.PatientExternalId("string"),
63
- * encounterExternalId: CandidApi.EncounterExternalId("string"),
64
- * note: "string",
65
- * dueDateBefore: "2023-01-15",
66
- * dueDateAfter: "2023-01-15",
67
- * status: "DRAFT",
68
- * limit: 1,
69
- * sort: "CREATED_AT",
70
- * sortDirection: "asc",
71
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
72
- * })
64
+ * await client.importInvoice.v1.getMulti()
73
65
  */
74
66
  getMulti(request?: CandidApi.importInvoice.v1.SearchImportedInvoicesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoicesPage, CandidApi.importInvoice.v1.getMulti.Error>>;
75
67
  /**
@@ -90,22 +82,7 @@ export declare class V1 {
90
82
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
91
83
  *
92
84
  * @example
93
- * await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
94
- * customerInvoiceUrl: "string",
95
- * status: "DRAFT",
96
- * note: "string",
97
- * dueDate: "2023-01-15",
98
- * items: {
99
- * updateType: "APPEND",
100
- * items: [{
101
- * attribution: {
102
- * type: "service_line_id",
103
- * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
104
- * },
105
- * amountCents: 1
106
- * }]
107
- * }
108
- * })
85
+ * await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
109
86
  */
110
87
  update(invoiceId: CandidApi.InvoiceId, request: CandidApi.importInvoice.v1.ImportInvoiceUpdateRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoice, CandidApi.importInvoice.v1.update.Error>>;
111
88
  protected _getAuthorizationHeader(): Promise<string | undefined>;