candidhealth 0.35.3 → 0.38.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 (424) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +65 -60
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  5. package/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  6. package/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  7. package/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  8. package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  9. package/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  10. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  11. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  12. package/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  13. package/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  14. package/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  15. package/api/resources/chargeCapture/client/Client.d.ts +26 -0
  16. package/api/resources/chargeCapture/client/Client.js +17 -0
  17. package/api/resources/chargeCapture/client/index.d.ts +1 -0
  18. package/api/resources/chargeCapture/client/index.js +2 -0
  19. package/api/resources/chargeCapture/index.d.ts +2 -0
  20. package/api/resources/chargeCapture/index.js +18 -0
  21. package/api/resources/chargeCapture/resources/index.d.ts +1 -0
  22. package/api/resources/chargeCapture/resources/index.js +27 -0
  23. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  24. package/api/resources/chargeCapture/resources/v1/client/Client.js +579 -0
  25. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  26. package/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  27. package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +34 -0
  28. package/api/resources/chargeCapture/resources/v1/client/delete.js +69 -0
  29. package/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  30. package/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  31. package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +22 -0
  32. package/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -0
  33. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  34. package/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  35. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  36. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  37. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  38. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  39. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  40. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  41. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  42. package/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  43. package/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  44. package/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  45. package/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  46. package/api/resources/chargeCapture/resources/v1/index.js +18 -0
  47. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  48. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  49. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  50. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  51. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  52. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  53. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  54. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  55. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  56. package/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  57. package/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  58. package/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  59. package/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  60. package/api/resources/commons/types/ChargeCaptureId.js +10 -0
  61. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  62. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  63. package/api/resources/commons/types/index.d.ts +2 -0
  64. package/api/resources/commons/types/index.js +2 -0
  65. package/api/resources/contracts/resources/v2/client/Client.js +6 -5
  66. package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  67. package/api/resources/contracts/resources/v2/client/update.js +11 -0
  68. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  69. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  70. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  71. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  72. package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  73. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  74. package/api/resources/diagnoses/client/Client.js +3 -3
  75. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  76. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  77. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  78. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  79. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  80. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  81. package/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
  82. package/api/resources/encounters/resources/v4/client/Client.js +38 -280
  83. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
  84. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
  85. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  86. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  87. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  88. package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  89. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  90. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  91. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  92. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  93. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  94. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  95. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  96. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  97. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  98. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  99. package/api/resources/index.d.ts +1 -0
  100. package/api/resources/index.js +2 -1
  101. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  102. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  103. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  104. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  105. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  106. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  107. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  108. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  109. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  110. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  111. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  112. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  113. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  114. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  115. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  116. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  117. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  118. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  119. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  120. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  121. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  122. package/api/resources/serviceFacility/client/Client.js +1 -1
  123. package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  124. package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  125. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  126. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  127. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  128. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  129. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  130. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  131. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  132. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  133. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  134. package/dist/Client.d.ts +3 -0
  135. package/dist/Client.js +65 -60
  136. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  137. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  138. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  139. package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  140. package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  141. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  142. package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  143. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  144. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  145. package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  146. package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  147. package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  148. package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
  149. package/dist/api/resources/chargeCapture/client/Client.js +17 -0
  150. package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
  151. package/dist/api/resources/chargeCapture/client/index.js +2 -0
  152. package/dist/api/resources/chargeCapture/index.d.ts +2 -0
  153. package/dist/api/resources/chargeCapture/index.js +18 -0
  154. package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
  155. package/dist/api/resources/chargeCapture/resources/index.js +27 -0
  156. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  157. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +579 -0
  158. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  159. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  160. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +34 -0
  161. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +69 -0
  162. package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  163. package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  164. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +22 -0
  165. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -0
  166. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  167. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  168. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  169. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  170. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  171. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  172. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  173. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  174. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  175. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  176. package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  177. package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  178. package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
  180. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  181. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  182. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  183. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  184. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  185. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  186. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  187. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  188. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  191. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  192. package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  193. package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
  194. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  195. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  196. package/dist/api/resources/commons/types/index.d.ts +2 -0
  197. package/dist/api/resources/commons/types/index.js +2 -0
  198. package/dist/api/resources/contracts/resources/v2/client/Client.js +6 -5
  199. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  200. package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
  201. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  202. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  203. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  204. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  205. package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  206. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  207. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  208. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  209. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  210. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  211. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  212. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  213. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  214. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
  215. package/dist/api/resources/encounters/resources/v4/client/Client.js +38 -280
  216. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
  217. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
  218. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  219. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  220. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  221. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  222. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  223. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  224. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  225. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  226. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  227. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  228. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  229. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  230. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  231. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  232. package/dist/api/resources/index.d.ts +1 -0
  233. package/dist/api/resources/index.js +2 -1
  234. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  235. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  236. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  237. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  238. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  239. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  240. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  241. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  242. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  243. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  244. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  245. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  246. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  247. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  248. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  249. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  251. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  252. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  254. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  255. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  256. package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  257. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  258. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  259. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  260. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  261. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  262. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  263. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  264. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  265. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  266. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  267. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  268. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  269. package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  270. package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  271. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  272. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  273. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  274. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  275. package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  276. package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  277. package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
  278. package/dist/serialization/resources/chargeCapture/index.js +17 -0
  279. package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  280. package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
  281. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  282. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  283. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
  284. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
  285. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
  286. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
  287. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  288. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  289. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  290. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  291. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  292. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  293. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  294. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  295. package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  296. package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  297. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  298. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  299. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  300. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  301. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  302. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  303. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  304. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  305. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  306. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  307. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  308. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  309. package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  310. package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  311. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  312. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  313. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  314. package/dist/serialization/resources/commons/types/index.js +2 -0
  315. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  316. package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  317. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  318. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  319. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  320. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  321. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  322. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  323. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  324. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  325. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  326. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  327. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  328. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  329. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  330. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  331. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  332. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  333. package/dist/serialization/resources/index.d.ts +1 -0
  334. package/dist/serialization/resources/index.js +2 -1
  335. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  336. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  337. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  338. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  339. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  340. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  341. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  342. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  343. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  344. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
  345. package/package.json +1 -1
  346. package/reference.md +608 -362
  347. package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  348. package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  349. package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  350. package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  351. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  352. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  353. package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  354. package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  355. package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  356. package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  357. package/serialization/resources/chargeCapture/index.d.ts +1 -0
  358. package/serialization/resources/chargeCapture/index.js +17 -0
  359. package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  360. package/serialization/resources/chargeCapture/resources/index.js +27 -0
  361. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  362. package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  363. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
  364. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
  365. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
  366. package/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
  367. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  368. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  369. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  370. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  371. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  372. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  373. package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  374. package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  375. package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  376. package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  377. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  378. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  379. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  380. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  381. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  382. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  383. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  384. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  385. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  386. package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  387. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  388. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  389. package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  390. package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  391. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  392. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  393. package/serialization/resources/commons/types/index.d.ts +2 -0
  394. package/serialization/resources/commons/types/index.js +2 -0
  395. package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  396. package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  397. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  398. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  399. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  400. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  401. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  402. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  403. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  404. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  405. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  406. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  407. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  408. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  409. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  410. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  411. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  412. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  413. package/serialization/resources/index.d.ts +1 -0
  414. package/serialization/resources/index.js +2 -1
  415. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  416. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  417. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  418. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  419. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  420. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  421. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  422. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  423. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  424. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
@@ -0,0 +1,25 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { OrganizationNotAuthorizedErrorMessage } from "../../../../commons/types/OrganizationNotAuthorizedErrorMessage";
9
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
10
+ export declare const Error: core.serialization.Schema<serializers.billingNotes.v2.delete.Error.Raw, CandidApi.billingNotes.v2.delete.Error>;
11
+ export declare namespace Error {
12
+ type Raw = Error.EntityNotFoundError | Error.OrganizationNotAuthorizedError | Error.UnauthorizedError;
13
+ interface EntityNotFoundError {
14
+ errorName: "EntityNotFoundError";
15
+ content: EntityNotFoundErrorMessage.Raw;
16
+ }
17
+ interface OrganizationNotAuthorizedError {
18
+ errorName: "OrganizationNotAuthorizedError";
19
+ content: OrganizationNotAuthorizedErrorMessage.Raw;
20
+ }
21
+ interface UnauthorizedError {
22
+ errorName: "UnauthorizedError";
23
+ content: UnauthorizedErrorMessage.Raw;
24
+ }
25
+ }
@@ -0,0 +1,73 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const OrganizationNotAuthorizedErrorMessage_1 = require("../../../../commons/types/OrganizationNotAuthorizedErrorMessage");
45
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
46
+ exports.Error = core.serialization
47
+ .union("errorName", {
48
+ EntityNotFoundError: core.serialization.object({
49
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
50
+ }),
51
+ OrganizationNotAuthorizedError: core.serialization.object({
52
+ content: OrganizationNotAuthorizedErrorMessage_1.OrganizationNotAuthorizedErrorMessage,
53
+ }),
54
+ UnauthorizedError: core.serialization.object({
55
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return CandidApi.billingNotes.v2.delete.Error.entityNotFoundError(value.content);
63
+ case "OrganizationNotAuthorizedError":
64
+ return CandidApi.billingNotes.v2.delete.Error.organizationNotAuthorizedError(value.content);
65
+ case "UnauthorizedError":
66
+ return CandidApi.billingNotes.v2.delete.Error.unauthorizedError(value.content);
67
+ }
68
+ },
69
+ untransform: (_a) => {
70
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
71
+ return value;
72
+ },
73
+ });
@@ -1 +1,3 @@
1
+ export * as delete from "./delete";
2
+ export * as update from "./update";
1
3
  export * from "./requests";
@@ -10,8 +10,23 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
13
25
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
27
  };
16
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.update = exports.delete = void 0;
30
+ exports.delete = __importStar(require("./delete"));
31
+ exports.update = __importStar(require("./update"));
17
32
  __exportStar(require("./requests"), exports);
@@ -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 BillingNoteUpdate: core.serialization.Schema<serializers.billingNotes.v2.BillingNoteUpdate.Raw, CandidApi.billingNotes.v2.BillingNoteUpdate>;
8
+ export declare namespace BillingNoteUpdate {
9
+ interface Raw {
10
+ text: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.BillingNoteUpdate = void 0;
30
+ const core = __importStar(require("../../../../../../../core"));
31
+ exports.BillingNoteUpdate = core.serialization.object({
32
+ text: core.serialization.string(),
33
+ });
@@ -1 +1,2 @@
1
1
  export { StandaloneBillingNoteCreate } from "./StandaloneBillingNoteCreate";
2
+ export { BillingNoteUpdate } from "./BillingNoteUpdate";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StandaloneBillingNoteCreate = void 0;
3
+ exports.BillingNoteUpdate = exports.StandaloneBillingNoteCreate = void 0;
4
4
  var StandaloneBillingNoteCreate_1 = require("./StandaloneBillingNoteCreate");
5
5
  Object.defineProperty(exports, "StandaloneBillingNoteCreate", { enumerable: true, get: function () { return StandaloneBillingNoteCreate_1.StandaloneBillingNoteCreate; } });
6
+ var BillingNoteUpdate_1 = require("./BillingNoteUpdate");
7
+ Object.defineProperty(exports, "BillingNoteUpdate", { enumerable: true, get: function () { return BillingNoteUpdate_1.BillingNoteUpdate; } });
@@ -0,0 +1,30 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { OrganizationNotAuthorizedErrorMessage } from "../../../../commons/types/OrganizationNotAuthorizedErrorMessage";
9
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
11
+ export declare const Error: core.serialization.Schema<serializers.billingNotes.v2.update.Error.Raw, CandidApi.billingNotes.v2.update.Error>;
12
+ export declare namespace Error {
13
+ type Raw = Error.EntityNotFoundError | Error.OrganizationNotAuthorizedError | Error.HttpRequestValidationError | Error.UnauthorizedError;
14
+ interface EntityNotFoundError {
15
+ errorName: "EntityNotFoundError";
16
+ content: EntityNotFoundErrorMessage.Raw;
17
+ }
18
+ interface OrganizationNotAuthorizedError {
19
+ errorName: "OrganizationNotAuthorizedError";
20
+ content: OrganizationNotAuthorizedErrorMessage.Raw;
21
+ }
22
+ interface HttpRequestValidationError {
23
+ errorName: "HttpRequestValidationError";
24
+ content: RequestValidationError.Raw;
25
+ }
26
+ interface UnauthorizedError {
27
+ errorName: "UnauthorizedError";
28
+ content: UnauthorizedErrorMessage.Raw;
29
+ }
30
+ }
@@ -0,0 +1,79 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const OrganizationNotAuthorizedErrorMessage_1 = require("../../../../commons/types/OrganizationNotAuthorizedErrorMessage");
45
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
46
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
47
+ exports.Error = core.serialization
48
+ .union("errorName", {
49
+ EntityNotFoundError: core.serialization.object({
50
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
51
+ }),
52
+ OrganizationNotAuthorizedError: core.serialization.object({
53
+ content: OrganizationNotAuthorizedErrorMessage_1.OrganizationNotAuthorizedErrorMessage,
54
+ }),
55
+ HttpRequestValidationError: core.serialization.object({
56
+ content: RequestValidationError_1.RequestValidationError,
57
+ }),
58
+ UnauthorizedError: core.serialization.object({
59
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
60
+ }),
61
+ })
62
+ .transform({
63
+ transform: (value) => {
64
+ switch (value.errorName) {
65
+ case "EntityNotFoundError":
66
+ return CandidApi.billingNotes.v2.update.Error.entityNotFoundError(value.content);
67
+ case "OrganizationNotAuthorizedError":
68
+ return CandidApi.billingNotes.v2.update.Error.organizationNotAuthorizedError(value.content);
69
+ case "HttpRequestValidationError":
70
+ return CandidApi.billingNotes.v2.update.Error.httpRequestValidationError(value.content);
71
+ case "UnauthorizedError":
72
+ return CandidApi.billingNotes.v2.update.Error.unauthorizedError(value.content);
73
+ }
74
+ },
75
+ untransform: (_a) => {
76
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
77
+ return value;
78
+ },
79
+ });
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v1 = void 0;
27
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,35 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
+ import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
11
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
12
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.create.Error.Raw, CandidApi.chargeCapture.v1.create.Error>;
13
+ export declare namespace Error {
14
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
15
+ interface EntityNotFoundError {
16
+ errorName: "EntityNotFoundError";
17
+ content: EntityNotFoundErrorMessage.Raw;
18
+ }
19
+ interface UnauthorizedError {
20
+ errorName: "UnauthorizedError";
21
+ content: UnauthorizedErrorMessage.Raw;
22
+ }
23
+ interface HttpRequestValidationsError {
24
+ errorName: "HttpRequestValidationsError";
25
+ content: RequestValidationError.Raw[];
26
+ }
27
+ interface SchemaInstanceValidationHttpFailure {
28
+ errorName: "SchemaInstanceValidationHttpFailure";
29
+ content: SchemaInstanceValidationFailure.Raw;
30
+ }
31
+ interface UnprocessableEntityError {
32
+ errorName: "UnprocessableEntityError";
33
+ content: UnprocessableEntityErrorMessage.Raw;
34
+ }
35
+ }
@@ -0,0 +1,85 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
46
+ const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
47
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
48
+ exports.Error = core.serialization
49
+ .union("errorName", {
50
+ EntityNotFoundError: core.serialization.object({
51
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
52
+ }),
53
+ UnauthorizedError: core.serialization.object({
54
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
55
+ }),
56
+ HttpRequestValidationsError: core.serialization.object({
57
+ content: core.serialization.list(RequestValidationError_1.RequestValidationError),
58
+ }),
59
+ SchemaInstanceValidationHttpFailure: core.serialization.object({
60
+ content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
61
+ }),
62
+ UnprocessableEntityError: core.serialization.object({
63
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
64
+ }),
65
+ })
66
+ .transform({
67
+ transform: (value) => {
68
+ switch (value.errorName) {
69
+ case "EntityNotFoundError":
70
+ return CandidApi.chargeCapture.v1.create.Error.entityNotFoundError(value.content);
71
+ case "UnauthorizedError":
72
+ return CandidApi.chargeCapture.v1.create.Error.unauthorizedError(value.content);
73
+ case "HttpRequestValidationsError":
74
+ return CandidApi.chargeCapture.v1.create.Error.httpRequestValidationsError(value.content);
75
+ case "SchemaInstanceValidationHttpFailure":
76
+ return CandidApi.chargeCapture.v1.create.Error.schemaInstanceValidationHttpFailure(value.content);
77
+ case "UnprocessableEntityError":
78
+ return CandidApi.chargeCapture.v1.create.Error.unprocessableEntityError(value.content);
79
+ }
80
+ },
81
+ untransform: (_a) => {
82
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
83
+ return value;
84
+ },
85
+ });
@@ -0,0 +1,20 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.delete.Error.Raw, CandidApi.chargeCapture.v1.delete.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ EntityNotFoundError: core.serialization.object({
48
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
49
+ }),
50
+ UnauthorizedError: core.serialization.object({
51
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "EntityNotFoundError":
58
+ return CandidApi.chargeCapture.v1.delete.Error.entityNotFoundError(value.content);
59
+ case "UnauthorizedError":
60
+ return CandidApi.chargeCapture.v1.delete.Error.unauthorizedError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,4 @@
1
+ export * as create from "./create";
2
+ export * as delete from "./delete";
3
+ export * as update from "./update";
4
+ export * from "./requests";
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.update = exports.delete = exports.create = void 0;
30
+ exports.create = __importStar(require("./create"));
31
+ exports.delete = __importStar(require("./delete"));
32
+ exports.update = __importStar(require("./update"));
33
+ __exportStar(require("./requests"), exports);
@@ -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 { ChargeCaptureData } from "../../types/ChargeCaptureData";
8
+ import { EncounterExternalId } from "../../../../../commons/types/EncounterExternalId";
9
+ import { ChargeCaptureStatus } from "../../types/ChargeCaptureStatus";
10
+ export declare const ChargeCaptureUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCaptureUpdate>;
11
+ export declare namespace ChargeCaptureUpdate {
12
+ interface Raw {
13
+ data?: ChargeCaptureData.Raw | null;
14
+ encounter_external_id?: EncounterExternalId.Raw | null;
15
+ ehr_source_url?: string | null;
16
+ patient_external_id?: string | null;
17
+ status?: ChargeCaptureStatus.Raw | null;
18
+ }
19
+ }