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
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SupervisingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.SupervisingProviderUpdateWithOptionalAddress = core.serialization
44
+ .object({
45
+ npi: core.serialization.string().optional(),
46
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
47
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
48
+ })
49
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -11,5 +11,10 @@ export * from "./OrderingProvider";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./BillingProvider";
13
13
  export * from "./BillingProviderUpdate";
14
+ export * from "./BillingProviderUpdateWithOptionalAddress";
15
+ export * from "./RenderingProviderUpdateWithOptionalAddress";
16
+ export * from "./InitialReferringProviderUpdateWithOptionalAddress";
17
+ export * from "./ReferringProviderUpdateWithOptionalAddress";
18
+ export * from "./SupervisingProviderUpdateWithOptionalAddress";
14
19
  export * from "./ProviderId";
15
20
  export * from "./EncounterProvider";
@@ -27,5 +27,10 @@ __exportStar(require("./OrderingProvider"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./BillingProvider"), exports);
29
29
  __exportStar(require("./BillingProviderUpdate"), exports);
30
+ __exportStar(require("./BillingProviderUpdateWithOptionalAddress"), exports);
31
+ __exportStar(require("./RenderingProviderUpdateWithOptionalAddress"), exports);
32
+ __exportStar(require("./InitialReferringProviderUpdateWithOptionalAddress"), exports);
33
+ __exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
34
+ __exportStar(require("./SupervisingProviderUpdateWithOptionalAddress"), exports);
30
35
  __exportStar(require("./ProviderId"), exports);
31
36
  __exportStar(require("./EncounterProvider"), exports);
@@ -55,5 +55,6 @@ export declare namespace EncounterCreate {
55
55
  referral_number?: string | null;
56
56
  epsdt_referral?: EpsdtReferral.Raw | null;
57
57
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
+ secondary_payer_carrier_code?: string | null;
58
59
  }
59
60
  }
@@ -88,5 +88,6 @@ exports.EncounterCreate = core.serialization
88
88
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
89
89
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
90
90
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
91
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
91
92
  })
92
93
  .extend(EncounterBase_1.EncounterBase);
@@ -4,13 +4,29 @@
4
4
  import * as serializers from "../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
+ import { StreetAddressLongZip } from "../../../../../commons/types/StreetAddressLongZip";
7
8
  import { DiagnosisId } from "../../../../../diagnoses/types/DiagnosisId";
9
+ import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
10
+ import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
11
+ import { PatientUpdate } from "../../../../../individual/types/PatientUpdate";
12
+ import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
13
+ import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
14
+ import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
15
+ import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
8
16
  import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
9
17
  import { EncounterOptional } from "../../types/EncounterOptional";
10
18
  export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
11
19
  export declare namespace EncounterUpdate {
12
20
  interface Raw extends EncounterOptional.Raw {
21
+ pay_to_address?: StreetAddressLongZip.Raw | null;
13
22
  diagnosis_ids?: DiagnosisId.Raw[] | null;
23
+ initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
24
+ referring_provider?: ReferringProviderUpdate.Raw | null;
25
+ patient?: PatientUpdate.Raw | null;
26
+ rendering_provider?: RenderingProviderUpdate.Raw | null;
27
+ service_facility?: EncounterServiceFacilityUpdate.Raw | null;
28
+ supervising_provider?: SupervisingProviderUpdate.Raw | null;
29
+ billing_provider?: BillingProviderUpdate.Raw | null;
14
30
  place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
15
31
  }
16
32
  }
@@ -38,12 +38,28 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.EncounterUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
+ const StreetAddressLongZip_1 = require("../../../../../commons/types/StreetAddressLongZip");
41
42
  const DiagnosisId_1 = require("../../../../../diagnoses/types/DiagnosisId");
43
+ const InitialReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
44
+ const ReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
45
+ const PatientUpdate_1 = require("../../../../../individual/types/PatientUpdate");
46
+ const RenderingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
47
+ const EncounterServiceFacilityUpdate_1 = require("../../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
48
+ const SupervisingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
49
+ const BillingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
42
50
  const FacilityTypeCode_1 = require("../../../../../commons/types/FacilityTypeCode");
43
51
  const EncounterOptional_1 = require("../../types/EncounterOptional");
44
52
  exports.EncounterUpdate = core.serialization
45
53
  .object({
54
+ payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
46
55
  diagnosisIds: core.serialization.property("diagnosis_ids", core.serialization.list(DiagnosisId_1.DiagnosisId).optional()),
56
+ initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
57
+ referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
58
+ patient: PatientUpdate_1.PatientUpdate.optional(),
59
+ renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
60
+ serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
61
+ supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
62
+ billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
47
63
  placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
48
64
  })
49
65
  .extend(EncounterOptional_1.EncounterOptional);
@@ -66,6 +66,7 @@ export declare namespace Encounter {
66
66
  referral_number?: string | null;
67
67
  epsdt_referral?: EpsdtReferral.Raw | null;
68
68
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
69
+ secondary_payer_carrier_code?: string | null;
69
70
  last_submitted_at?: string | null;
70
71
  created_at: string;
71
72
  }
@@ -99,6 +99,7 @@ exports.Encounter = core.serialization
99
99
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
100
100
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
101
101
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
102
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
102
103
  lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
103
104
  createdAt: core.serialization.property("created_at", core.serialization.date()),
104
105
  })
@@ -8,7 +8,6 @@ import { PriorAuthorizationNumber } from "./PriorAuthorizationNumber";
8
8
  import { EncounterExternalId } from "../../../../commons/types/EncounterExternalId";
9
9
  import { TagId } from "../../../../tags/types/TagId";
10
10
  import { ClinicalNoteCategoryCreate } from "./ClinicalNoteCategoryCreate";
11
- import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
12
11
  import { BillableStatusType } from "./BillableStatusType";
13
12
  import { ResponsiblePartyType } from "./ResponsiblePartyType";
14
13
  import { SynchronicityType } from "./SynchronicityType";
@@ -16,17 +15,10 @@ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
16
15
  import { SubscriberCreate } from "../../../../individual/types/SubscriberCreate";
17
16
  import { ServiceAuthorizationExceptionCode } from "./ServiceAuthorizationExceptionCode";
18
17
  import { DelayReasonCode } from "../../../../commons/types/DelayReasonCode";
19
- import { PatientUpdate } from "../../../../individual/types/PatientUpdate";
20
18
  import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
21
19
  import { VitalsUpdate } from "./VitalsUpdate";
22
20
  import { Medication } from "./Medication";
23
- import { RenderingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
24
- import { EncounterServiceFacilityUpdate } from "../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
25
21
  import { GuarantorUpdate } from "../../../../guarantor/resources/v1/types/GuarantorUpdate";
26
- import { BillingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
27
- import { SupervisingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
28
- import { ReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
29
- import { InitialReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
30
22
  import { EpsdtReferral } from "./EpsdtReferral";
31
23
  import { ClaimSupplementalInformation } from "./ClaimSupplementalInformation";
32
24
  export declare const EncounterOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterOptional.Raw, CandidApi.encounters.v4.EncounterOptional>;
@@ -38,7 +30,6 @@ export declare namespace EncounterOptional {
38
30
  date_of_service?: string | null;
39
31
  tag_ids?: TagId.Raw[] | null;
40
32
  clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
41
- pay_to_address?: StreetAddressLongZip.Raw | null;
42
33
  billable_status?: BillableStatusType.Raw | null;
43
34
  responsible_party?: ResponsiblePartyType.Raw | null;
44
35
  provider_accepts_assignment?: boolean | null;
@@ -56,20 +47,14 @@ export declare namespace EncounterOptional {
56
47
  onset_of_current_illness_or_symptom_date?: string | null;
57
48
  last_menstrual_period_date?: string | null;
58
49
  delay_reason_code?: DelayReasonCode.Raw | null;
59
- patient?: PatientUpdate.Raw | null;
60
50
  patient_authorized_release?: boolean | null;
61
51
  schema_instances?: SchemaInstance.Raw[] | null;
62
52
  vitals?: VitalsUpdate.Raw | null;
63
53
  existing_medications?: Medication.Raw[] | null;
64
- rendering_provider?: RenderingProviderUpdate.Raw | null;
65
- service_facility?: EncounterServiceFacilityUpdate.Raw | null;
66
54
  guarantor?: GuarantorUpdate.Raw | null;
67
- billing_provider?: BillingProviderUpdate.Raw | null;
68
- supervising_provider?: SupervisingProviderUpdate.Raw | null;
69
- referring_provider?: ReferringProviderUpdate.Raw | null;
70
- initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
71
55
  referral_number?: string | null;
72
56
  epsdt_referral?: EpsdtReferral.Raw | null;
73
57
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
+ secondary_payer_carrier_code?: string | null;
74
59
  }
75
60
  }
@@ -42,7 +42,6 @@ const PriorAuthorizationNumber_1 = require("./PriorAuthorizationNumber");
42
42
  const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
43
43
  const TagId_1 = require("../../../../tags/types/TagId");
44
44
  const ClinicalNoteCategoryCreate_1 = require("./ClinicalNoteCategoryCreate");
45
- const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
46
45
  const BillableStatusType_1 = require("./BillableStatusType");
47
46
  const ResponsiblePartyType_1 = require("./ResponsiblePartyType");
48
47
  const SynchronicityType_1 = require("./SynchronicityType");
@@ -50,17 +49,10 @@ const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode")
50
49
  const SubscriberCreate_1 = require("../../../../individual/types/SubscriberCreate");
51
50
  const ServiceAuthorizationExceptionCode_1 = require("./ServiceAuthorizationExceptionCode");
52
51
  const DelayReasonCode_1 = require("../../../../commons/types/DelayReasonCode");
53
- const PatientUpdate_1 = require("../../../../individual/types/PatientUpdate");
54
52
  const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
55
53
  const VitalsUpdate_1 = require("./VitalsUpdate");
56
54
  const Medication_1 = require("./Medication");
57
- const RenderingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
58
- const EncounterServiceFacilityUpdate_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
59
55
  const GuarantorUpdate_1 = require("../../../../guarantor/resources/v1/types/GuarantorUpdate");
60
- const BillingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
61
- const SupervisingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
62
- const ReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
63
- const InitialReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
64
56
  const EpsdtReferral_1 = require("./EpsdtReferral");
65
57
  const ClaimSupplementalInformation_1 = require("./ClaimSupplementalInformation");
66
58
  exports.EncounterOptional = core.serialization.object({
@@ -70,7 +62,6 @@ exports.EncounterOptional = core.serialization.object({
70
62
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
71
63
  tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
72
64
  clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(ClinicalNoteCategoryCreate_1.ClinicalNoteCategoryCreate).optional()),
73
- payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
74
65
  billableStatus: core.serialization.property("billable_status", BillableStatusType_1.BillableStatusType.optional()),
75
66
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType.optional()),
76
67
  providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
@@ -88,19 +79,13 @@ exports.EncounterOptional = core.serialization.object({
88
79
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.string().optional()),
89
80
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
90
81
  delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
91
- patient: PatientUpdate_1.PatientUpdate.optional(),
92
82
  patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
93
83
  schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
94
84
  vitals: VitalsUpdate_1.VitalsUpdate.optional(),
95
85
  existingMedications: core.serialization.property("existing_medications", core.serialization.list(Medication_1.Medication).optional()),
96
- renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
97
- serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
98
86
  guarantor: GuarantorUpdate_1.GuarantorUpdate.optional(),
99
- billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
100
- supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
101
- referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
102
- initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
103
87
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
104
88
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
105
89
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
90
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
106
91
  });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const EmptyObject: core.serialization.ObjectSchema<serializers.expectedNetworkStatus.v2.EmptyObject.Raw, CandidApi.expectedNetworkStatus.v2.EmptyObject>;
8
+ export declare namespace EmptyObject {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EmptyObject = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.EmptyObject = core.serialization.object({});
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { InsuranceTypeCode } from "../../../../commons/types/InsuranceTypeCode";
8
+ import { EmptyObject } from "./EmptyObject";
8
9
  export declare const InsuranceTypeCodes: core.serialization.Schema<serializers.expectedNetworkStatus.v2.InsuranceTypeCodes.Raw, CandidApi.expectedNetworkStatus.v2.InsuranceTypeCodes>;
9
10
  export declare namespace InsuranceTypeCodes {
10
11
  type Raw = InsuranceTypeCodes.InsuranceTypeCode | InsuranceTypeCodes.UnknownInsuranceTypeCode | InsuranceTypeCodes.NotApplicable;
@@ -12,10 +13,10 @@ export declare namespace InsuranceTypeCodes {
12
13
  type: "insurance_type_code";
13
14
  value: InsuranceTypeCode.Raw;
14
15
  }
15
- interface UnknownInsuranceTypeCode {
16
+ interface UnknownInsuranceTypeCode extends EmptyObject.Raw {
16
17
  type: "unknown_insurance_type_code";
17
18
  }
18
- interface NotApplicable {
19
+ interface NotApplicable extends EmptyObject.Raw {
19
20
  type: "not_applicable";
20
21
  }
21
22
  }
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.InsuranceTypeCodes = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const InsuranceTypeCode_1 = require("../../../../commons/types/InsuranceTypeCode");
42
+ const EmptyObject_1 = require("./EmptyObject");
42
43
  exports.InsuranceTypeCodes = core.serialization
43
44
  .union("type", {
44
45
  insurance_type_code: core.serialization.object({
45
46
  value: InsuranceTypeCode_1.InsuranceTypeCode,
46
47
  }),
47
- unknown_insurance_type_code: core.serialization.object({}),
48
- not_applicable: core.serialization.object({}),
48
+ unknown_insurance_type_code: EmptyObject_1.EmptyObject,
49
+ not_applicable: EmptyObject_1.EmptyObject,
49
50
  })
50
51
  .transform({
51
52
  transform: (value) => value,
@@ -1,6 +1,7 @@
1
1
  export * from "./NetworkStatusCheckId";
2
2
  export * from "./LineOfBusiness";
3
3
  export * from "./InsuranceTypeCodes";
4
+ export * from "./EmptyObject";
4
5
  export * from "./InsuranceType";
5
6
  export * from "./Explanation";
6
7
  export * from "./ServiceType";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./NetworkStatusCheckId"), exports);
18
18
  __exportStar(require("./LineOfBusiness"), exports);
19
19
  __exportStar(require("./InsuranceTypeCodes"), exports);
20
+ __exportStar(require("./EmptyObject"), exports);
20
21
  __exportStar(require("./InsuranceType"), exports);
21
22
  __exportStar(require("./Explanation"), exports);
22
23
  __exportStar(require("./ServiceType"), exports);
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { Gender } from "./Gender";
8
+ import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
9
+ import { PhoneNumber } from "../../commons/types/PhoneNumber";
10
+ import { Email } from "../../commons/types/Email";
11
+ import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
12
+ import { PatientNonInsurancePayerInfoCreate } from "./PatientNonInsurancePayerInfoCreate";
13
+ export declare const PatientUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.PatientUpdateWithOptionalAddress.Raw, CandidApi.PatientUpdateWithOptionalAddress>;
14
+ export declare namespace PatientUpdateWithOptionalAddress {
15
+ interface Raw {
16
+ first_name?: string | null;
17
+ last_name?: string | null;
18
+ gender?: Gender.Raw | null;
19
+ external_id?: string | null;
20
+ date_of_birth?: string | null;
21
+ address?: StreetAddressShortZipOptional.Raw | null;
22
+ phone_numbers?: PhoneNumber.Raw[] | null;
23
+ phone_consent?: boolean | null;
24
+ email?: Email.Raw | null;
25
+ email_consent?: boolean | null;
26
+ non_insurance_payers?: NonInsurancePayerId.Raw[] | null;
27
+ non_insurance_payers_info?: PatientNonInsurancePayerInfoCreate.Raw[] | null;
28
+ }
29
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PatientUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const Gender_1 = require("./Gender");
42
+ const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
43
+ const PhoneNumber_1 = require("../../commons/types/PhoneNumber");
44
+ const Email_1 = require("../../commons/types/Email");
45
+ const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
46
+ const PatientNonInsurancePayerInfoCreate_1 = require("./PatientNonInsurancePayerInfoCreate");
47
+ exports.PatientUpdateWithOptionalAddress = core.serialization.object({
48
+ firstName: core.serialization.property("first_name", core.serialization.string().optional()),
49
+ lastName: core.serialization.property("last_name", core.serialization.string().optional()),
50
+ gender: Gender_1.Gender.optional(),
51
+ externalId: core.serialization.property("external_id", core.serialization.string().optional()),
52
+ dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
53
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
54
+ phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(PhoneNumber_1.PhoneNumber).optional()),
55
+ phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
56
+ email: Email_1.Email.optional(),
57
+ emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
58
+ nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayerId_1.NonInsurancePayerId).optional()),
59
+ nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfoCreate_1.PatientNonInsurancePayerInfoCreate).optional()),
60
+ });
@@ -10,5 +10,6 @@ export * from "./PatientNonInsurancePayerInfo";
10
10
  export * from "./PatientCreate";
11
11
  export * from "./PatientUpdate";
12
12
  export * from "./PatientBase";
13
+ export * from "./PatientUpdateWithOptionalAddress";
13
14
  export * from "./Patient";
14
15
  export * from "./Gender";
@@ -26,5 +26,6 @@ __exportStar(require("./PatientNonInsurancePayerInfo"), exports);
26
26
  __exportStar(require("./PatientCreate"), exports);
27
27
  __exportStar(require("./PatientUpdate"), exports);
28
28
  __exportStar(require("./PatientBase"), exports);
29
+ __exportStar(require("./PatientUpdateWithOptionalAddress"), exports);
29
30
  __exportStar(require("./Patient"), exports);
30
31
  __exportStar(require("./Gender"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
8
+ export declare const EncounterServiceFacilityUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.EncounterServiceFacilityUpdateWithOptionalAddress.Raw, CandidApi.EncounterServiceFacilityUpdateWithOptionalAddress>;
9
+ export declare namespace EncounterServiceFacilityUpdateWithOptionalAddress {
10
+ interface Raw {
11
+ organization_name?: string | null;
12
+ npi?: string | null;
13
+ address?: StreetAddressShortZipOptional.Raw | null;
14
+ secondary_identification?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EncounterServiceFacilityUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
42
+ exports.EncounterServiceFacilityUpdateWithOptionalAddress = core.serialization.object({
43
+ organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
44
+ npi: core.serialization.string().optional(),
45
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
46
+ secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
47
+ });
@@ -1,4 +1,5 @@
1
1
  export * from "./ServiceFacilityId";
2
2
  export * from "./EncounterServiceFacilityBase";
3
+ export * from "./EncounterServiceFacilityUpdateWithOptionalAddress";
3
4
  export * from "./EncounterServiceFacility";
4
5
  export * from "./EncounterServiceFacilityUpdate";
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ServiceFacilityId"), exports);
18
18
  __exportStar(require("./EncounterServiceFacilityBase"), exports);
19
+ __exportStar(require("./EncounterServiceFacilityUpdateWithOptionalAddress"), exports);
19
20
  __exportStar(require("./EncounterServiceFacility"), exports);
20
21
  __exportStar(require("./EncounterServiceFacilityUpdate"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.43.1";
1
+ export declare const SDK_VERSION = "0.46.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.43.1";
4
+ exports.SDK_VERSION = "0.46.0";
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- export interface BillingNoteOptional extends CandidApi.billingNotes.v2.BillingNoteBase {
6
- billingNoteId: CandidApi.billingNotes.v2.BillingNoteId;
7
- encounterId?: CandidApi.EncounterId;
8
- /**
9
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
10
- * For example, 2017-07-21T17:32:28Z.
11
- */
12
- createdAt: Date;
13
- authorAuth0Id?: string;
14
- authorName?: string;
15
- }