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
@@ -33,19 +33,7 @@ export declare class V4 {
33
33
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
34
34
  *
35
35
  * @example
36
- * await client.patientPayments.v4.getMulti({
37
- * limit: 1,
38
- * patientExternalId: CandidApi.PatientExternalId("string"),
39
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
40
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
41
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
- * unattributed: true,
43
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
44
- * sources: "MANUAL_ENTRY",
45
- * sort: "payment_source",
46
- * sortDirection: "asc",
47
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
48
- * })
36
+ * await client.patientPayments.v4.getMulti()
49
37
  */
50
38
  getMulti(request?: CandidApi.patientPayments.v4.GetMultiPatientPaymentsRequest, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPaymentsPage, CandidApi.patientPayments.v4.getMulti.Error>>;
51
39
  /**
@@ -69,17 +57,20 @@ export declare class V4 {
69
57
  * @example
70
58
  * await client.patientPayments.v4.create({
71
59
  * amountCents: 1,
72
- * paymentTimestamp: "2024-01-15T09:30:00Z",
73
- * paymentNote: "string",
74
- * patientExternalId: CandidApi.PatientExternalId("string"),
60
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
75
61
  * allocations: [{
76
62
  * amountCents: 1,
77
63
  * target: {
78
64
  * type: "service_line_by_id",
79
65
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
80
66
  * }
81
- * }],
82
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
67
+ * }, {
68
+ * amountCents: 1,
69
+ * target: {
70
+ * type: "service_line_by_id",
71
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
72
+ * }
73
+ * }]
83
74
  * })
84
75
  */
85
76
  create(request: CandidApi.patientPayments.v4.PatientPaymentCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
@@ -91,17 +82,7 @@ export declare class V4 {
91
82
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
92
83
  *
93
84
  * @example
94
- * await client.patientPayments.v4.update(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
95
- * paymentTimestamp: "2024-01-15T09:30:00Z",
96
- * paymentNote: {
97
- * type: "set",
98
- * value: "string"
99
- * },
100
- * invoice: {
101
- * type: "set",
102
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
103
- * }
104
- * })
85
+ * await client.patientPayments.v4.update(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
105
86
  */
106
87
  update(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId, request?: CandidApi.patientPayments.v4.PatientPaymentUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.update.Error>>;
107
88
  /**
@@ -66,19 +66,7 @@ class V4 {
66
66
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
68
68
  * @example
69
- * await client.patientPayments.v4.getMulti({
70
- * limit: 1,
71
- * patientExternalId: CandidApi.PatientExternalId("string"),
72
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
73
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
74
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
75
- * unattributed: true,
76
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
77
- * sources: "MANUAL_ENTRY",
78
- * sort: "payment_source",
79
- * sortDirection: "asc",
80
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
81
- * })
69
+ * await client.patientPayments.v4.getMulti()
82
70
  */
83
71
  getMulti() {
84
72
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -132,7 +120,7 @@ class V4 {
132
120
  const _response = yield core.fetcher({
133
121
  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/patient-payments/v4"),
134
122
  method: "GET",
135
- 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),
123
+ 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),
136
124
  contentType: "application/json",
137
125
  queryParameters: _queryParams,
138
126
  requestType: "json",
@@ -187,7 +175,7 @@ class V4 {
187
175
  const _response = yield core.fetcher({
188
176
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
189
177
  method: "GET",
190
- 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),
178
+ 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),
191
179
  contentType: "application/json",
192
180
  requestType: "json",
193
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -237,17 +225,20 @@ class V4 {
237
225
  * @example
238
226
  * await client.patientPayments.v4.create({
239
227
  * amountCents: 1,
240
- * paymentTimestamp: "2024-01-15T09:30:00Z",
241
- * paymentNote: "string",
242
- * patientExternalId: CandidApi.PatientExternalId("string"),
228
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
243
229
  * allocations: [{
244
230
  * amountCents: 1,
245
231
  * target: {
246
232
  * type: "service_line_by_id",
247
233
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
248
234
  * }
249
- * }],
250
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
235
+ * }, {
236
+ * amountCents: 1,
237
+ * target: {
238
+ * type: "service_line_by_id",
239
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
240
+ * }
241
+ * }]
251
242
  * })
252
243
  */
253
244
  create(request, requestOptions) {
@@ -256,7 +247,7 @@ class V4 {
256
247
  const _response = yield core.fetcher({
257
248
  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/patient-payments/v4"),
258
249
  method: "POST",
259
- 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),
250
+ 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),
260
251
  contentType: "application/json",
261
252
  requestType: "json",
262
253
  body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -307,17 +298,7 @@ class V4 {
307
298
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
308
299
  *
309
300
  * @example
310
- * await client.patientPayments.v4.update(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
311
- * paymentTimestamp: "2024-01-15T09:30:00Z",
312
- * paymentNote: {
313
- * type: "set",
314
- * value: "string"
315
- * },
316
- * invoice: {
317
- * type: "set",
318
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
319
- * }
320
- * })
301
+ * await client.patientPayments.v4.update(CandidApi.patientPayments.v4.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
321
302
  */
322
303
  update(patientPaymentId_1) {
323
304
  return __awaiter(this, arguments, void 0, function* (patientPaymentId, request = {}, requestOptions) {
@@ -325,7 +306,7 @@ class V4 {
325
306
  const _response = yield core.fetcher({
326
307
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
327
308
  method: "PATCH",
328
- 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),
309
+ 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),
329
310
  contentType: "application/json",
330
311
  requestType: "json",
331
312
  body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -383,7 +364,7 @@ class V4 {
383
364
  const _response = yield core.fetcher({
384
365
  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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
385
366
  method: "DELETE",
386
- 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),
367
+ 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),
387
368
  contentType: "application/json",
388
369
  requestType: "json",
389
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,19 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * patientExternalId: CandidApi.PatientExternalId("string"),
10
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
11
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
- * unattributed: true,
14
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
15
- * sources: "MANUAL_ENTRY",
16
- * sort: "payment_source",
17
- * sortDirection: "asc",
18
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
19
- * }
7
+ * {}
20
8
  */
21
9
  export interface GetMultiPatientPaymentsRequest {
22
10
  /**
@@ -6,17 +6,20 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * amountCents: 1,
9
- * paymentTimestamp: "2024-01-15T09:30:00Z",
10
- * paymentNote: "string",
11
- * patientExternalId: CandidApi.PatientExternalId("string"),
9
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
12
10
  * allocations: [{
13
11
  * amountCents: 1,
14
12
  * target: {
15
13
  * type: "service_line_by_id",
16
14
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
17
15
  * }
18
- * }],
19
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
16
+ * }, {
17
+ * amountCents: 1,
18
+ * target: {
19
+ * type: "service_line_by_id",
20
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
21
+ * }
22
+ * }]
20
23
  * }
21
24
  */
22
25
  export interface PatientPaymentCreate {
@@ -4,17 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * paymentTimestamp: "2024-01-15T09:30:00Z",
9
- * paymentNote: {
10
- * type: "set",
11
- * value: "string"
12
- * },
13
- * invoice: {
14
- * type: "set",
15
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
16
- * }
17
- * }
7
+ * {}
18
8
  */
19
9
  export interface PatientPaymentUpdate {
20
10
  paymentTimestamp?: Date;
@@ -33,19 +33,7 @@ export declare class V1 {
33
33
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
34
34
  *
35
35
  * @example
36
- * await client.patientRefunds.v1.getMulti({
37
- * limit: 1,
38
- * patientExternalId: CandidApi.PatientExternalId("string"),
39
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
40
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
41
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
- * unattributed: true,
43
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
44
- * sources: "MANUAL_ENTRY",
45
- * sort: "refund_source",
46
- * sortDirection: "asc",
47
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
48
- * })
36
+ * await client.patientRefunds.v1.getMulti()
49
37
  */
50
38
  getMulti(request?: CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error>>;
51
39
  /**
@@ -69,18 +57,20 @@ export declare class V1 {
69
57
  * @example
70
58
  * await client.patientRefunds.v1.create({
71
59
  * amountCents: 1,
72
- * refundTimestamp: "2024-01-15T09:30:00Z",
73
- * refundNote: "string",
74
- * patientExternalId: CandidApi.PatientExternalId("string"),
60
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
75
61
  * allocations: [{
76
62
  * amountCents: 1,
77
63
  * target: {
78
64
  * type: "service_line_by_id",
79
65
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
80
66
  * }
81
- * }],
82
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
83
- * refundReason: "OVERCHARGED"
67
+ * }, {
68
+ * amountCents: 1,
69
+ * target: {
70
+ * type: "service_line_by_id",
71
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
72
+ * }
73
+ * }]
84
74
  * })
85
75
  */
86
76
  create(request: CandidApi.patientRefunds.v1.PatientRefundCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
@@ -92,21 +82,7 @@ export declare class V1 {
92
82
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
93
83
  *
94
84
  * @example
95
- * await client.patientRefunds.v1.update(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
96
- * refundTimestamp: "2024-01-15T09:30:00Z",
97
- * refundNote: {
98
- * type: "set",
99
- * value: "string"
100
- * },
101
- * invoice: {
102
- * type: "set",
103
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
104
- * },
105
- * refundReason: {
106
- * type: "set",
107
- * value: "OVERCHARGED"
108
- * }
109
- * })
85
+ * await client.patientRefunds.v1.update(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
110
86
  */
111
87
  update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
112
88
  /**
@@ -66,19 +66,7 @@ class V1 {
66
66
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
68
68
  * @example
69
- * await client.patientRefunds.v1.getMulti({
70
- * limit: 1,
71
- * patientExternalId: CandidApi.PatientExternalId("string"),
72
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
73
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
74
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
75
- * unattributed: true,
76
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
77
- * sources: "MANUAL_ENTRY",
78
- * sort: "refund_source",
79
- * sortDirection: "asc",
80
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
81
- * })
69
+ * await client.patientRefunds.v1.getMulti()
82
70
  */
83
71
  getMulti() {
84
72
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
@@ -132,7 +120,7 @@ class V1 {
132
120
  const _response = yield core.fetcher({
133
121
  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/patient-refunds/v1"),
134
122
  method: "GET",
135
- 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),
123
+ 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),
136
124
  contentType: "application/json",
137
125
  queryParameters: _queryParams,
138
126
  requestType: "json",
@@ -187,7 +175,7 @@ class V1 {
187
175
  const _response = yield core.fetcher({
188
176
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
189
177
  method: "GET",
190
- 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),
178
+ 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),
191
179
  contentType: "application/json",
192
180
  requestType: "json",
193
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -237,18 +225,20 @@ class V1 {
237
225
  * @example
238
226
  * await client.patientRefunds.v1.create({
239
227
  * amountCents: 1,
240
- * refundTimestamp: "2024-01-15T09:30:00Z",
241
- * refundNote: "string",
242
- * patientExternalId: CandidApi.PatientExternalId("string"),
228
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
243
229
  * allocations: [{
244
230
  * amountCents: 1,
245
231
  * target: {
246
232
  * type: "service_line_by_id",
247
233
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
248
234
  * }
249
- * }],
250
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
251
- * refundReason: "OVERCHARGED"
235
+ * }, {
236
+ * amountCents: 1,
237
+ * target: {
238
+ * type: "service_line_by_id",
239
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
240
+ * }
241
+ * }]
252
242
  * })
253
243
  */
254
244
  create(request, requestOptions) {
@@ -257,7 +247,7 @@ class V1 {
257
247
  const _response = yield core.fetcher({
258
248
  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/patient-refunds/v1"),
259
249
  method: "POST",
260
- 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),
250
+ 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),
261
251
  contentType: "application/json",
262
252
  requestType: "json",
263
253
  body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -308,21 +298,7 @@ class V1 {
308
298
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
309
299
  *
310
300
  * @example
311
- * await client.patientRefunds.v1.update(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
312
- * refundTimestamp: "2024-01-15T09:30:00Z",
313
- * refundNote: {
314
- * type: "set",
315
- * value: "string"
316
- * },
317
- * invoice: {
318
- * type: "set",
319
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
320
- * },
321
- * refundReason: {
322
- * type: "set",
323
- * value: "OVERCHARGED"
324
- * }
325
- * })
301
+ * await client.patientRefunds.v1.update(CandidApi.patientRefunds.v1.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
326
302
  */
327
303
  update(patientRefundId_1) {
328
304
  return __awaiter(this, arguments, void 0, function* (patientRefundId, request = {}, requestOptions) {
@@ -330,7 +306,7 @@ class V1 {
330
306
  const _response = yield core.fetcher({
331
307
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
332
308
  method: "PATCH",
333
- 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),
309
+ 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),
334
310
  contentType: "application/json",
335
311
  requestType: "json",
336
312
  body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -388,7 +364,7 @@ class V1 {
388
364
  const _response = yield core.fetcher({
389
365
  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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
390
366
  method: "DELETE",
391
- 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),
367
+ 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),
392
368
  contentType: "application/json",
393
369
  requestType: "json",
394
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,19 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * limit: 1,
9
- * patientExternalId: CandidApi.PatientExternalId("string"),
10
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
11
- * serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
12
- * billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
13
- * unattributed: true,
14
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
15
- * sources: "MANUAL_ENTRY",
16
- * sort: "refund_source",
17
- * sortDirection: "asc",
18
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
19
- * }
7
+ * {}
20
8
  */
21
9
  export interface GetMultiPatientRefundsRequest {
22
10
  /**
@@ -6,18 +6,20 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * amountCents: 1,
9
- * refundTimestamp: "2024-01-15T09:30:00Z",
10
- * refundNote: "string",
11
- * patientExternalId: CandidApi.PatientExternalId("string"),
9
+ * patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
12
10
  * allocations: [{
13
11
  * amountCents: 1,
14
12
  * target: {
15
13
  * type: "service_line_by_id",
16
14
  * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
17
15
  * }
18
- * }],
19
- * invoice: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
20
- * refundReason: "OVERCHARGED"
16
+ * }, {
17
+ * amountCents: 1,
18
+ * target: {
19
+ * type: "service_line_by_id",
20
+ * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
21
+ * }
22
+ * }]
21
23
  * }
22
24
  */
23
25
  export interface PatientRefundCreate {
@@ -4,21 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * refundTimestamp: "2024-01-15T09:30:00Z",
9
- * refundNote: {
10
- * type: "set",
11
- * value: "string"
12
- * },
13
- * invoice: {
14
- * type: "set",
15
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
16
- * },
17
- * refundReason: {
18
- * type: "set",
19
- * value: "OVERCHARGED"
20
- * }
21
- * }
7
+ * {}
22
8
  */
23
9
  export interface PatientRefundUpdate {
24
10
  refundTimestamp?: Date;
@@ -32,19 +32,7 @@ export declare class V1 {
32
32
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await client.payerPlanGroups.v1.getMulti({
36
- * planGroupName: "string",
37
- * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
38
- * payerId: CandidApi.payers.v3.PayerId("string"),
39
- * planType: "09",
40
- * isActive: true,
41
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
- * limit: 1,
43
- * sortBySimilarity: "string",
44
- * sort: "plan_group_name",
45
- * sortDirection: "asc",
46
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
47
- * })
35
+ * await client.payerPlanGroups.v1.getMulti()
48
36
  */
49
37
  getMulti(request?: CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.payerPlanGroups.v1.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error>>;
50
38
  /**
@@ -65,7 +53,7 @@ export declare class V1 {
65
53
  *
66
54
  * @example
67
55
  * await client.payerPlanGroups.v1.create({
68
- * planGroupName: "string",
56
+ * planGroupName: "plan_group_name",
69
57
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
70
58
  * planType: "09"
71
59
  * })
@@ -80,7 +68,7 @@ export declare class V1 {
80
68
  *
81
69
  * @example
82
70
  * await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
83
- * planGroupName: "string",
71
+ * planGroupName: "plan_group_name",
84
72
  * payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
85
73
  * planType: "09"
86
74
  * })