candidhealth 0.43.0 → 0.45.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 (318) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  4. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  7. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  8. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  9. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  10. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  11. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  12. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  13. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  14. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
  15. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  16. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  17. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  18. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  21. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  22. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  23. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  24. package/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  25. package/api/resources/commons/types/index.d.ts +2 -0
  26. package/api/resources/commons/types/index.js +2 -0
  27. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  28. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  29. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  30. package/api/resources/diagnoses/client/Client.js +3 -3
  31. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  32. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  33. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  34. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  35. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  36. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  37. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  38. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  39. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  40. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  41. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  42. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  43. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  44. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  45. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  46. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  47. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  48. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  49. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  50. package/api/resources/encounters/resources/v4/client/Client.d.ts +197 -79
  51. package/api/resources/encounters/resources/v4/client/Client.js +202 -84
  52. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
  53. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
  54. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  55. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  56. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  57. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  58. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  59. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  60. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  61. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  62. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  63. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  64. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  65. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  66. package/api/resources/individual/types/index.d.ts +1 -0
  67. package/api/resources/individual/types/index.js +1 -0
  68. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  69. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  70. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  71. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  72. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  73. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  75. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  76. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  77. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  78. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  79. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  80. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  81. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  82. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  83. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  84. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  85. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  86. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  88. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  89. package/api/resources/serviceFacility/client/Client.js +1 -1
  90. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  91. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  92. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  93. package/api/resources/serviceFacility/types/index.js +1 -0
  94. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  95. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  96. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  97. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  98. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  99. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  100. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  101. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  102. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  103. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  104. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  105. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  106. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  107. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  108. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  109. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  110. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  111. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  112. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
  113. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  114. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  115. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  117. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  118. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  119. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  120. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  121. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  122. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  123. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  124. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  125. package/dist/api/resources/commons/types/index.d.ts +2 -0
  126. package/dist/api/resources/commons/types/index.js +2 -0
  127. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  128. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  129. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  130. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  131. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  132. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  133. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  134. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  135. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  136. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  137. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  138. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  139. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  140. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  141. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  142. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  143. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  144. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  145. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  146. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  147. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  148. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  149. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  150. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +197 -79
  151. package/dist/api/resources/encounters/resources/v4/client/Client.js +202 -84
  152. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
  153. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
  154. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  155. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  156. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  157. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  158. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  159. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  160. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  161. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  162. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  163. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  164. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  165. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  166. package/dist/api/resources/individual/types/index.d.ts +1 -0
  167. package/dist/api/resources/individual/types/index.js +1 -0
  168. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  169. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  170. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  171. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  172. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  173. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  174. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  175. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  176. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  177. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  178. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  180. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  181. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  182. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  183. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  184. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  185. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  186. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  188. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  189. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  190. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  191. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  192. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  193. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  194. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  195. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  196. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  198. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  199. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  200. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  201. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  202. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  203. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  204. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  205. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  206. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  207. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  208. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  209. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  210. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  211. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  212. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  213. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  214. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  215. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  216. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  217. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  218. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  219. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  220. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  221. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  222. package/dist/serialization/resources/commons/types/index.js +2 -0
  223. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  224. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  225. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  226. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  227. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  228. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  229. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  230. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  231. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  232. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  233. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  234. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  235. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  236. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  237. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  238. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  239. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  240. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  241. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  242. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  243. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  244. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  245. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  246. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  247. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  248. package/dist/serialization/resources/individual/types/index.js +1 -0
  249. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  250. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  251. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  252. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  253. package/dist/version.d.ts +1 -1
  254. package/dist/version.js +1 -1
  255. package/package.json +1 -1
  256. package/reference.md +284 -327
  257. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  258. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  259. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  260. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  261. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  262. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  263. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  264. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  265. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  266. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  267. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  268. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  269. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  270. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  271. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  272. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  273. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  274. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  275. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  276. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  277. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  278. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  279. package/serialization/resources/commons/types/index.d.ts +2 -0
  280. package/serialization/resources/commons/types/index.js +2 -0
  281. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  282. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  283. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  284. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  285. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  286. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  287. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  288. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  289. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  290. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  291. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  292. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  293. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  294. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  295. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  296. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  297. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  298. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  299. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  300. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  301. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  302. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  303. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  304. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  305. package/serialization/resources/individual/types/index.d.ts +1 -0
  306. package/serialization/resources/individual/types/index.js +1 -0
  307. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  308. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  309. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  310. package/serialization/resources/serviceFacility/types/index.js +1 -0
  311. package/version.d.ts +1 -1
  312. package/version.js +1 -1
  313. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  314. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  315. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  316. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  317. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
  318. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressOptionalBase.js} +0 -0
@@ -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,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/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.43.0";
1
+ export declare const SDK_VERSION = "0.45.0";
package/dist/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.0";
4
+ exports.SDK_VERSION = "0.45.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.43.0",
3
+ "version": "0.45.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",