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
@@ -0,0 +1,48 @@
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.StreetAddressOptionalBase = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const State_1 = require("./State");
42
+ exports.StreetAddressOptionalBase = core.serialization.object({
43
+ address1: core.serialization.string().optional(),
44
+ address2: core.serialization.string().optional(),
45
+ city: core.serialization.string().optional(),
46
+ state: State_1.State.optional(),
47
+ zipCode: core.serialization.property("zip_code", core.serialization.string().optional()),
48
+ });
@@ -0,0 +1,13 @@
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 { StreetAddressOptionalBase } from "./StreetAddressOptionalBase";
8
+ export declare const StreetAddressShortZipOptional: core.serialization.ObjectSchema<serializers.StreetAddressShortZipOptional.Raw, CandidApi.StreetAddressShortZipOptional>;
9
+ export declare namespace StreetAddressShortZipOptional {
10
+ interface Raw extends StreetAddressOptionalBase.Raw {
11
+ zip_plus_four_code?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,46 @@
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.StreetAddressShortZipOptional = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StreetAddressOptionalBase_1 = require("./StreetAddressOptionalBase");
42
+ exports.StreetAddressShortZipOptional = core.serialization
43
+ .object({
44
+ zipPlusFourCode: core.serialization.property("zip_plus_four_code", core.serialization.string().optional()),
45
+ })
46
+ .extend(StreetAddressOptionalBase_1.StreetAddressOptionalBase);
@@ -36,6 +36,8 @@ export * from "./Decimal";
36
36
  export * from "./RemovableDateRangeOptionalEnd";
37
37
  export * from "./ResourcePage";
38
38
  export * from "./StreetAddressBase";
39
+ export * from "./StreetAddressOptionalBase";
40
+ export * from "./StreetAddressShortZipOptional";
39
41
  export * from "./StreetAddressShortZip";
40
42
  export * from "./StreetAddressLongZip";
41
43
  export * from "./Regions";
@@ -52,6 +52,8 @@ __exportStar(require("./Decimal"), exports);
52
52
  __exportStar(require("./RemovableDateRangeOptionalEnd"), exports);
53
53
  __exportStar(require("./ResourcePage"), exports);
54
54
  __exportStar(require("./StreetAddressBase"), exports);
55
+ __exportStar(require("./StreetAddressOptionalBase"), exports);
56
+ __exportStar(require("./StreetAddressShortZipOptional"), exports);
55
57
  __exportStar(require("./StreetAddressShortZip"), exports);
56
58
  __exportStar(require("./StreetAddressLongZip"), exports);
57
59
  __exportStar(require("./Regions"), exports);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const EncounterAttachmentType: core.serialization.Schema<serializers.encounterAttachments.v1.EncounterAttachmentType.Raw, CandidApi.encounterAttachments.v1.EncounterAttachmentType>;
8
8
  export declare namespace EncounterAttachmentType {
9
- type Raw = "DOCUMENTATION";
9
+ type Raw = "DOCUMENTATION" | "EOB" | "OTHER";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.EncounterAttachmentType = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION"]);
41
+ exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION", "EOB", "OTHER"]);
@@ -0,0 +1,19 @@
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
+ import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
9
+ import { EncounterProviderBase } from "./EncounterProviderBase";
10
+ export declare const BillingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress>;
11
+ export declare namespace BillingProviderUpdateWithOptionalAddress {
12
+ interface Raw extends EncounterProviderBase.Raw {
13
+ address?: StreetAddressShortZipOptional.Raw | null;
14
+ tax_id?: string | null;
15
+ npi?: string | null;
16
+ taxonomy_code?: string | null;
17
+ provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
18
+ }
19
+ }
@@ -0,0 +1,52 @@
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.BillingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
43
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
44
+ exports.BillingProviderUpdateWithOptionalAddress = core.serialization
45
+ .object({
46
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
47
+ taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
48
+ npi: core.serialization.string().optional(),
49
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
50
+ providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
51
+ })
52
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -0,0 +1,18 @@
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
+ import { QualifierCode } from "../../../../commons/types/QualifierCode";
9
+ import { EncounterProviderBase } from "./EncounterProviderBase";
10
+ export declare const InitialReferringProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.InitialReferringProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.InitialReferringProviderUpdateWithOptionalAddress>;
11
+ export declare namespace InitialReferringProviderUpdateWithOptionalAddress {
12
+ interface Raw extends EncounterProviderBase.Raw {
13
+ npi?: string | null;
14
+ taxonomy_code?: string | null;
15
+ address?: StreetAddressShortZipOptional.Raw | null;
16
+ qualifier?: QualifierCode.Raw | null;
17
+ }
18
+ }
@@ -36,17 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.BillingNoteOptional = void 0;
39
+ exports.InitialReferringProviderUpdateWithOptionalAddress = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const BillingNoteId_1 = require("./BillingNoteId");
42
- const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
- const BillingNoteBase_1 = require("./BillingNoteBase");
44
- exports.BillingNoteOptional = core.serialization
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
43
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
44
+ exports.InitialReferringProviderUpdateWithOptionalAddress = core.serialization
45
45
  .object({
46
- billingNoteId: core.serialization.property("billing_note_id", BillingNoteId_1.BillingNoteId),
47
- encounterId: core.serialization.property("encounter_id", EncounterId_1.EncounterId.optional()),
48
- createdAt: core.serialization.property("created_at", core.serialization.date()),
49
- authorAuth0Id: core.serialization.property("author_auth0_id", core.serialization.string().optional()),
50
- authorName: core.serialization.property("author_name", core.serialization.string().optional()),
46
+ npi: core.serialization.string().optional(),
47
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
49
+ qualifier: QualifierCode_1.QualifierCode.optional(),
51
50
  })
52
- .extend(BillingNoteBase_1.BillingNoteBase);
51
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -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
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const ReferringProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress>;
10
+ export declare namespace ReferringProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -36,17 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.BillingNoteOptional = void 0;
39
+ exports.ReferringProviderUpdateWithOptionalAddress = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const BillingNoteId_1 = require("./BillingNoteId");
42
- const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
- const BillingNoteBase_1 = require("./BillingNoteBase");
44
- exports.BillingNoteOptional = core.serialization
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.ReferringProviderUpdateWithOptionalAddress = core.serialization
45
44
  .object({
46
- billingNoteId: core.serialization.property("billing_note_id", BillingNoteId_1.BillingNoteId),
47
- encounterId: core.serialization.property("encounter_id", EncounterId_1.EncounterId.optional()),
48
- createdAt: core.serialization.property("created_at", core.serialization.date()),
49
- authorAuth0Id: core.serialization.property("author_auth0_id", core.serialization.string().optional()),
50
- authorName: core.serialization.property("author_name", core.serialization.string().optional()),
45
+ npi: core.serialization.string().optional(),
46
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
47
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
51
48
  })
52
- .extend(BillingNoteBase_1.BillingNoteBase);
49
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -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
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const RenderingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress>;
10
+ export declare namespace RenderingProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -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.RenderingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.RenderingProviderUpdateWithOptionalAddress = 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);
@@ -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
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const SupervisingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress>;
10
+ export declare namespace SupervisingProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -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
  })