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
@@ -1,4 +1,3 @@
1
1
  export * from "./BillingNoteId";
2
2
  export * from "./BillingNoteBase";
3
- export * from "./BillingNoteOptional";
4
3
  export * from "./BillingNote";
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BillingNoteId"), exports);
18
18
  __exportStar(require("./BillingNoteBase"), exports);
19
- __exportStar(require("./BillingNoteOptional"), exports);
20
19
  __exportStar(require("./BillingNote"), exports);
@@ -9,9 +9,10 @@ import { UnauthorizedErrorMessage } from "../../../../commons/types/Unauthorized
9
9
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
10
  import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
11
11
  import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
12
+ import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
12
13
  export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.create.Error.Raw, CandidApi.chargeCapture.v1.create.Error>;
13
14
  export declare namespace Error {
14
- type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
15
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
15
16
  interface EntityNotFoundError {
16
17
  errorName: "EntityNotFoundError";
17
18
  content: EntityNotFoundErrorMessage.Raw;
@@ -32,4 +33,8 @@ export declare namespace Error {
32
33
  errorName: "UnprocessableEntityError";
33
34
  content: UnprocessableEntityErrorMessage.Raw;
34
35
  }
36
+ interface ChargeExternalIdConflictError {
37
+ errorName: "ChargeExternalIdConflictError";
38
+ content: ChargeExternalIdConflictErrorMessage.Raw;
39
+ }
35
40
  }
@@ -55,6 +55,7 @@ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/Unauthoriz
55
55
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
56
56
  const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
57
57
  const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
58
+ const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
58
59
  exports.Error = core.serialization
59
60
  .union("errorName", {
60
61
  EntityNotFoundError: core.serialization.object({
@@ -72,6 +73,9 @@ exports.Error = core.serialization
72
73
  UnprocessableEntityError: core.serialization.object({
73
74
  content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
74
75
  }),
76
+ ChargeExternalIdConflictError: core.serialization.object({
77
+ content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
78
+ }),
75
79
  })
76
80
  .transform({
77
81
  transform: (value) => {
@@ -86,6 +90,8 @@ exports.Error = core.serialization
86
90
  return CandidApi.chargeCapture.v1.create.Error.schemaInstanceValidationHttpFailure(value.content);
87
91
  case "UnprocessableEntityError":
88
92
  return CandidApi.chargeCapture.v1.create.Error.unprocessableEntityError(value.content);
93
+ case "ChargeExternalIdConflictError":
94
+ return CandidApi.chargeCapture.v1.create.Error.chargeExternalIdConflictError(value.content);
89
95
  }
90
96
  },
91
97
  untransform: (_a) => {
@@ -1,5 +1,5 @@
1
1
  export * as create from "./create";
2
2
  export * as delete from "./delete";
3
3
  export * as update from "./update";
4
- export * as updatePostBilledChange from "./updatePostBilledChange";
4
+ export * as updatePostBilledChanges from "./updatePostBilledChanges";
5
5
  export * from "./requests";
@@ -36,9 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.updatePostBilledChange = exports.update = exports.delete = exports.create = void 0;
39
+ exports.updatePostBilledChanges = exports.update = exports.delete = exports.create = void 0;
40
40
  exports.create = __importStar(require("./create"));
41
41
  exports.delete = __importStar(require("./delete"));
42
42
  exports.update = __importStar(require("./update"));
43
- exports.updatePostBilledChange = __importStar(require("./updatePostBilledChange"));
43
+ exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
44
44
  __exportStar(require("./requests"), exports);
@@ -4,9 +4,11 @@
4
4
  import * as serializers from "../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
+ import { ChargeCapturePostBilledChangeId } from "../../../../../commons/types/ChargeCapturePostBilledChangeId";
7
8
  export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
8
9
  export declare namespace ChargeCapturePostBilledChangeUpdate {
9
10
  interface Raw {
11
+ charge_capture_change_ids: ChargeCapturePostBilledChangeId.Raw[];
10
12
  resolved: boolean;
11
13
  }
12
14
  }
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCapturePostBilledChangeUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
+ const ChargeCapturePostBilledChangeId_1 = require("../../../../../commons/types/ChargeCapturePostBilledChangeId");
41
42
  exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
43
+ chargeCaptureChangeIds: core.serialization.property("charge_capture_change_ids", core.serialization.list(ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId)),
42
44
  resolved: core.serialization.boolean(),
43
45
  });
@@ -4,9 +4,14 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
+ import { ChargeCapturePostBilledChange } from "../types/ChargeCapturePostBilledChange";
7
8
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
9
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
- export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChange.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChange.Error>;
10
+ export declare const Response: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Response.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[]>;
11
+ export declare namespace Response {
12
+ type Raw = ChargeCapturePostBilledChange.Raw[];
13
+ }
14
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChanges.Error>;
10
15
  export declare namespace Error {
11
16
  type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
17
  interface EntityNotFoundError {
@@ -47,11 +47,13 @@ var __rest = (this && this.__rest) || function (s, e) {
47
47
  return t;
48
48
  };
49
49
  Object.defineProperty(exports, "__esModule", { value: true });
50
- exports.Error = void 0;
50
+ exports.Error = exports.Response = void 0;
51
51
  const CandidApi = __importStar(require("../../../../../../api/index"));
52
52
  const core = __importStar(require("../../../../../../core"));
53
+ const ChargeCapturePostBilledChange_1 = require("../types/ChargeCapturePostBilledChange");
53
54
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
55
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
56
+ exports.Response = core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange);
55
57
  exports.Error = core.serialization
56
58
  .union("errorName", {
57
59
  EntityNotFoundError: core.serialization.object({
@@ -65,9 +67,9 @@ exports.Error = core.serialization
65
67
  transform: (value) => {
66
68
  switch (value.errorName) {
67
69
  case "EntityNotFoundError":
68
- return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.entityNotFoundError(value.content);
70
+ return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.entityNotFoundError(value.content);
69
71
  case "UnauthorizedError":
70
- return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.unauthorizedError(value.content);
72
+ return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.unauthorizedError(value.content);
71
73
  }
72
74
  },
73
75
  untransform: (_a) => {
@@ -9,7 +9,15 @@ import { Intervention } from "../../../../encounters/resources/v4/types/Interven
9
9
  import { ExternalClaimSubmissionCreate } from "../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
10
10
  import { ServiceLineCreate } from "../../../../serviceLines/resources/v2/types/ServiceLineCreate";
11
11
  import { PatientHistoryCategory } from "../../../../encounters/resources/v4/types/PatientHistoryCategory";
12
- import { BillingNoteOptional } from "../../../../billingNotes/resources/v2/types/BillingNoteOptional";
12
+ import { BillingNoteBase } from "../../../../billingNotes/resources/v2/types/BillingNoteBase";
13
+ import { PatientUpdateWithOptionalAddress } from "../../../../individual/types/PatientUpdateWithOptionalAddress";
14
+ import { EncounterServiceFacilityUpdateWithOptionalAddress } from "../../../../serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress";
15
+ import { RenderingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress";
16
+ import { InitialReferringProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress";
17
+ import { ReferringProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress";
18
+ import { SupervisingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress";
19
+ import { BillingProviderUpdateWithOptionalAddress } from "../../../../encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress";
20
+ import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
13
21
  import { EncounterOptional } from "../../../../encounters/resources/v4/types/EncounterOptional";
14
22
  export declare const ChargeCaptureData: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureData.Raw, CandidApi.chargeCapture.v1.ChargeCaptureData>;
15
23
  export declare namespace ChargeCaptureData {
@@ -19,6 +27,14 @@ export declare namespace ChargeCaptureData {
19
27
  external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
20
28
  service_lines?: ServiceLineCreate.Raw[] | null;
21
29
  patient_histories?: PatientHistoryCategory.Raw[] | null;
22
- billing_notes?: BillingNoteOptional.Raw[] | null;
30
+ billing_notes?: BillingNoteBase.Raw[] | null;
31
+ patient?: PatientUpdateWithOptionalAddress.Raw | null;
32
+ service_facility?: EncounterServiceFacilityUpdateWithOptionalAddress.Raw | null;
33
+ rendering_provider?: RenderingProviderUpdateWithOptionalAddress.Raw | null;
34
+ initial_referring_provider?: InitialReferringProviderUpdateWithOptionalAddress.Raw | null;
35
+ referring_provider?: ReferringProviderUpdateWithOptionalAddress.Raw | null;
36
+ supervising_provider?: SupervisingProviderUpdateWithOptionalAddress.Raw | null;
37
+ billing_provider?: BillingProviderUpdateWithOptionalAddress.Raw | null;
38
+ pay_to_address?: StreetAddressShortZipOptional.Raw | null;
23
39
  }
24
40
  }
@@ -43,7 +43,15 @@ const Intervention_1 = require("../../../../encounters/resources/v4/types/Interv
43
43
  const ExternalClaimSubmissionCreate_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
44
44
  const ServiceLineCreate_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreate");
45
45
  const PatientHistoryCategory_1 = require("../../../../encounters/resources/v4/types/PatientHistoryCategory");
46
- const BillingNoteOptional_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteOptional");
46
+ const BillingNoteBase_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteBase");
47
+ const PatientUpdateWithOptionalAddress_1 = require("../../../../individual/types/PatientUpdateWithOptionalAddress");
48
+ const EncounterServiceFacilityUpdateWithOptionalAddress_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress");
49
+ const RenderingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress");
50
+ const InitialReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress");
51
+ const ReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress");
52
+ const SupervisingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress");
53
+ const BillingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress");
54
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
47
55
  const EncounterOptional_1 = require("../../../../encounters/resources/v4/types/EncounterOptional");
48
56
  exports.ChargeCaptureData = core.serialization
49
57
  .object({
@@ -52,6 +60,14 @@ exports.ChargeCaptureData = core.serialization
52
60
  externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
53
61
  serviceLines: core.serialization.property("service_lines", core.serialization.list(ServiceLineCreate_1.ServiceLineCreate).optional()),
54
62
  patientHistories: core.serialization.property("patient_histories", core.serialization.list(PatientHistoryCategory_1.PatientHistoryCategory).optional()),
55
- billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNoteOptional_1.BillingNoteOptional).optional()),
63
+ billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNoteBase_1.BillingNoteBase).optional()),
64
+ patient: PatientUpdateWithOptionalAddress_1.PatientUpdateWithOptionalAddress.optional(),
65
+ serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdateWithOptionalAddress_1.EncounterServiceFacilityUpdateWithOptionalAddress.optional()),
66
+ renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdateWithOptionalAddress_1.RenderingProviderUpdateWithOptionalAddress.optional()),
67
+ initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdateWithOptionalAddress_1.InitialReferringProviderUpdateWithOptionalAddress.optional()),
68
+ referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdateWithOptionalAddress_1.ReferringProviderUpdateWithOptionalAddress.optional()),
69
+ supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdateWithOptionalAddress_1.SupervisingProviderUpdateWithOptionalAddress.optional()),
70
+ billingProvider: core.serialization.property("billing_provider", BillingProviderUpdateWithOptionalAddress_1.BillingProviderUpdateWithOptionalAddress.optional()),
71
+ payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional()),
56
72
  })
57
73
  .extend(EncounterOptional_1.EncounterOptional);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ChargeExternalIdConflictErrorMessage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeExternalIdConflictErrorMessage.Raw, CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage>;
8
+ export declare namespace ChargeExternalIdConflictErrorMessage {
9
+ interface Raw {
10
+ message?: string | null;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
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.ChargeExternalIdConflictErrorMessage = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ChargeExternalIdConflictErrorMessage = core.serialization.object({
42
+ message: core.serialization.string().optional(),
43
+ });
@@ -5,3 +5,4 @@ export * from "./ChargeCaptureError";
5
5
  export * from "./ChargeCaptureSortField";
6
6
  export * from "./ChargeCaptureStatus";
7
7
  export * from "./ChargeCapturePostBilledChange";
8
+ export * from "./ChargeExternalIdConflictErrorMessage";
@@ -21,3 +21,4 @@ __exportStar(require("./ChargeCaptureError"), exports);
21
21
  __exportStar(require("./ChargeCaptureSortField"), exports);
22
22
  __exportStar(require("./ChargeCaptureStatus"), exports);
23
23
  __exportStar(require("./ChargeCapturePostBilledChange"), exports);
24
+ __exportStar(require("./ChargeExternalIdConflictErrorMessage"), exports);
@@ -8,13 +8,15 @@ import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCa
8
8
  import { EncounterId } from "../../../../commons/types/EncounterId";
9
9
  import { ChargeCaptureClaimCreationStatus } from "./ChargeCaptureClaimCreationStatus";
10
10
  import { ChargeCaptureError } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureError";
11
+ import { ChargeCaptureData } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureData";
11
12
  export declare const ChargeCaptureClaimCreation: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation>;
12
13
  export declare namespace ChargeCaptureClaimCreation {
13
14
  interface Raw {
14
15
  id: ChargeCaptureClaimCreationId.Raw;
15
16
  created_encounter_id?: EncounterId.Raw | null;
16
17
  status: ChargeCaptureClaimCreationStatus.Raw;
17
- characteristics: Record<string, string | null | undefined>;
18
+ characteristics: Record<string, unknown | null | undefined>;
18
19
  errors: ChargeCaptureError.Raw[];
20
+ encounter_creation_input?: ChargeCaptureData.Raw | null;
19
21
  }
20
22
  }
@@ -42,10 +42,12 @@ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/Charge
42
42
  const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
43
  const ChargeCaptureClaimCreationStatus_1 = require("./ChargeCaptureClaimCreationStatus");
44
44
  const ChargeCaptureError_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureError");
45
+ const ChargeCaptureData_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureData");
45
46
  exports.ChargeCaptureClaimCreation = core.serialization.object({
46
47
  id: ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId,
47
48
  createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
48
49
  status: ChargeCaptureClaimCreationStatus_1.ChargeCaptureClaimCreationStatus,
49
- characteristics: core.serialization.record(core.serialization.string(), core.serialization.string().optional()),
50
+ characteristics: core.serialization.record(core.serialization.string(), core.serialization.unknown().optional()),
50
51
  errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
52
+ encounterCreationInput: core.serialization.property("encounter_creation_input", ChargeCaptureData_1.ChargeCaptureData.optional()),
51
53
  });
@@ -0,0 +1,17 @@
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 { State } from "./State";
8
+ export declare const StreetAddressOptionalBase: core.serialization.ObjectSchema<serializers.StreetAddressOptionalBase.Raw, CandidApi.StreetAddressOptionalBase>;
9
+ export declare namespace StreetAddressOptionalBase {
10
+ interface Raw {
11
+ address1?: string | null;
12
+ address2?: string | null;
13
+ city?: string | null;
14
+ state?: State.Raw | null;
15
+ zip_code?: string | null;
16
+ }
17
+ }
@@ -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
+ }