candidhealth 0.42.5 → 0.43.1

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 (410) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -6
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
  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/GetAllChargeCapturesRequest.d.ts +6 -11
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  14. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  16. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  17. package/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
  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.d.ts +8 -16
  21. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  22. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  23. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  25. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  27. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  28. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  29. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  30. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  31. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  32. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  33. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  34. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  35. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  36. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  37. package/api/resources/commons/types/index.d.ts +1 -2
  38. package/api/resources/commons/types/index.js +1 -2
  39. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  40. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  41. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  42. package/api/resources/diagnoses/client/Client.js +3 -3
  43. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  44. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  45. package/api/resources/encounterAttachments/client/Client.js +17 -0
  46. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  47. package/api/resources/encounterAttachments/client/index.js +2 -0
  48. package/api/resources/encounterAttachments/index.d.ts +2 -0
  49. package/api/resources/encounterAttachments/index.js +18 -0
  50. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  51. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  52. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  55. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  56. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  57. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  58. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  59. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  60. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  61. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  62. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  64. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  65. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  66. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  67. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  68. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  69. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  70. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  71. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  72. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
  73. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
  74. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  75. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  76. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  77. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  78. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  79. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  80. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  81. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  82. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  83. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  84. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  85. package/api/resources/index.d.ts +1 -0
  86. package/api/resources/index.js +3 -2
  87. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  88. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  89. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  91. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  92. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  93. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  94. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  95. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  96. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  97. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  98. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  99. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  100. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  102. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  103. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  105. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  106. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  107. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  108. package/api/resources/serviceFacility/client/Client.js +1 -1
  109. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  110. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  111. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  112. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  113. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  114. package/core/form-data-utils/FormDataWrapper.js +188 -0
  115. package/core/form-data-utils/index.d.ts +1 -0
  116. package/core/form-data-utils/index.js +17 -0
  117. package/core/index.d.ts +1 -0
  118. package/core/index.js +1 -0
  119. package/dist/Client.d.ts +3 -0
  120. package/dist/Client.js +61 -56
  121. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  122. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  123. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -6
  124. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
  125. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  126. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  127. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  128. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  129. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  130. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  131. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  132. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  133. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  134. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  135. package/dist/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
  136. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  137. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  138. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  140. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.js +5 -0
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  145. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  146. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +5 -0
  147. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  148. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  149. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  150. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  151. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  152. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  153. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  154. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  155. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  156. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  157. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  158. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  159. package/dist/api/resources/commons/types/index.d.ts +1 -2
  160. package/dist/api/resources/commons/types/index.js +1 -2
  161. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  162. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  163. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  164. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  165. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  166. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  167. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  168. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  169. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  170. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  171. package/dist/api/resources/encounterAttachments/index.js +18 -0
  172. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  173. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  181. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  182. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  190. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  191. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  192. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  193. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  194. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  195. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  196. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  197. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  198. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
  199. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
  200. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  201. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  202. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  203. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  204. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  205. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  206. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  207. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  208. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  209. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  210. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  211. package/dist/api/resources/index.d.ts +1 -0
  212. package/dist/api/resources/index.js +3 -2
  213. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  214. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  215. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  217. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  219. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  220. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  221. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  222. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  223. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  224. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  225. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  226. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  227. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  228. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  229. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  230. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  231. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  232. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  233. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  234. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  235. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  236. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  237. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  238. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  239. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  240. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  241. package/dist/core/form-data-utils/index.d.ts +1 -0
  242. package/dist/core/form-data-utils/index.js +17 -0
  243. package/dist/core/index.d.ts +1 -0
  244. package/dist/core/index.js +1 -0
  245. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  246. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  247. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  248. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  249. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  250. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  251. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  252. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  253. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  254. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  255. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  256. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  257. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  258. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +4 -2
  259. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  260. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  261. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  262. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  263. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  264. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
  265. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  266. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  267. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  268. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.js → ChargeCaptureClaimCreationSortField.js} +2 -2
  269. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  270. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  271. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  272. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  273. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  274. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  275. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  276. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
  277. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  278. package/dist/serialization/resources/commons/types/index.js +1 -2
  279. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  280. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  282. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  285. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  286. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  287. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  288. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  289. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  290. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  291. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  292. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  293. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  294. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  295. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  296. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  297. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  298. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  299. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  300. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  301. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  302. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  303. package/dist/serialization/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/index.js +3 -2
  305. package/dist/version.d.ts +1 -1
  306. package/dist/version.js +1 -1
  307. package/package.json +3 -2
  308. package/reference.md +209 -74
  309. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  310. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  311. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  312. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  313. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  314. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  315. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  316. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  317. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  318. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  319. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  320. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  321. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  322. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  323. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  324. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  325. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  326. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  327. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
  328. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
  329. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  330. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  331. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  332. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  333. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  334. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  335. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  336. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  337. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  338. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  339. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  340. package/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
  341. package/serialization/resources/commons/types/index.d.ts +1 -2
  342. package/serialization/resources/commons/types/index.js +1 -2
  343. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  344. package/serialization/resources/encounterAttachments/index.js +17 -0
  345. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  346. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  347. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  348. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  349. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  350. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  351. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  352. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  353. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  354. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  355. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  356. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  357. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  358. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  359. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  360. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  361. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  362. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  363. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  364. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  365. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  366. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  367. package/serialization/resources/index.d.ts +1 -0
  368. package/serialization/resources/index.js +3 -2
  369. package/version.d.ts +1 -1
  370. package/version.js +1 -1
  371. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  372. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  373. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  374. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  375. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  376. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  377. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  378. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  379. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  380. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  381. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  382. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  383. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  384. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  385. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  386. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  387. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  388. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  389. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  390. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  391. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  392. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  393. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  394. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  395. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  396. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  397. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  398. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  399. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  400. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  401. /package/api/resources/{chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
  402. /package/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundle.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  403. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreation.js} +0 -0
  404. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationPage.js} +0 -0
  405. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +0 -0
  406. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  407. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  408. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  409. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  410. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
package/reference.md CHANGED
@@ -244,7 +244,7 @@ await client.billingNotes.v2.update(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-
244
244
 
245
245
  ## ChargeCaptureBundles V1
246
246
 
247
- <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">get</a>(chargeCaptureBundleId) -> core.APIResponse<CandidApi.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.get.Error></code></summary>
247
+ <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">get</a>(chargeCaptureClaimCreationId) -> core.APIResponse<CandidApi.ChargeCaptureClaimCreation, CandidApi.chargeCaptureBundles.v1.get.Error></code></summary>
248
248
  <dl>
249
249
  <dd>
250
250
 
@@ -257,7 +257,9 @@ await client.billingNotes.v2.update(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-
257
257
  <dd>
258
258
 
259
259
  ```typescript
260
- await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
260
+ await client.chargeCaptureBundles.v1.get(
261
+ CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
262
+ );
261
263
  ```
262
264
 
263
265
  </dd>
@@ -273,7 +275,7 @@ await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c8
273
275
  <dl>
274
276
  <dd>
275
277
 
276
- **chargeCaptureBundleId:** `CandidApi.ChargeCaptureBundleId`
278
+ **chargeCaptureClaimCreationId:** `CandidApi.ChargeCaptureClaimCreationId`
277
279
 
278
280
  </dd>
279
281
  </dl>
@@ -292,7 +294,7 @@ await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c8
292
294
  </dl>
293
295
  </details>
294
296
 
295
- <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse<CandidApi.ChargeCaptureBundleSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error></code></summary>
297
+ <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse<CandidApi.ChargeCaptureClaimCreationSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error></code></summary>
296
298
  <dl>
297
299
  <dd>
298
300
 
@@ -332,55 +334,7 @@ await client.chargeCaptureBundles.v1.getSummary();
332
334
  </dl>
333
335
  </details>
334
336
 
335
- <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">resubmit</a>(chargeCaptureBundleId) -> core.APIResponse<CandidApi.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.resubmit.Error></code></summary>
336
- <dl>
337
- <dd>
338
-
339
- #### 🔌 Usage
340
-
341
- <dl>
342
- <dd>
343
-
344
- <dl>
345
- <dd>
346
-
347
- ```typescript
348
- await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
349
- ```
350
-
351
- </dd>
352
- </dl>
353
- </dd>
354
- </dl>
355
-
356
- #### ⚙️ Parameters
357
-
358
- <dl>
359
- <dd>
360
-
361
- <dl>
362
- <dd>
363
-
364
- **chargeCaptureBundleId:** `CandidApi.ChargeCaptureBundleId`
365
-
366
- </dd>
367
- </dl>
368
-
369
- <dl>
370
- <dd>
371
-
372
- **requestOptions:** `V1.RequestOptions`
373
-
374
- </dd>
375
- </dl>
376
- </dd>
377
- </dl>
378
-
379
- </dd>
380
- </dl>
381
- </details>
382
-
383
- <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCaptureBundlePage, CandidApi.chargeCaptureBundles.v1.getAll.Error></code></summary>
337
+ <details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error></code></summary>
384
338
  <dl>
385
339
  <dd>
386
340
 
@@ -399,13 +353,13 @@ await client.chargeCaptureBundles.v1.getAll({
399
353
  sortDirection: "asc",
400
354
  pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
401
355
  patientExternalId: "string",
402
- bundleStatus: "not-started",
356
+ claimCreationStatus: "not-started",
403
357
  chargeStatus: "planned",
404
358
  chargeExternalId: "string",
405
359
  dateOfServiceMin: "2023-01-15",
406
360
  dateOfServiceMax: "2023-01-15",
407
361
  claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
408
- bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
362
+ claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
409
363
  billingProviderNpis: "string",
410
364
  serviceFacilityName: "string",
411
365
  primaryPayerIds: "string",
@@ -430,7 +384,7 @@ await client.chargeCaptureBundles.v1.getAll({
430
384
  <dl>
431
385
  <dd>
432
386
 
433
- **request:** `CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest`
387
+ **request:** `CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest`
434
388
 
435
389
  </dd>
436
390
  </dl>
@@ -687,8 +641,7 @@ await client.chargeCapture.v1.getAll({
687
641
  dateOfServiceMin: "2023-01-15",
688
642
  dateOfServiceMax: "2023-01-15",
689
643
  claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
690
- bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
691
- bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
644
+ claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
692
645
  billingProviderNpis: "string",
693
646
  serviceFacilityName: "string",
694
647
  primaryPayerIds: "string",
@@ -703,7 +656,7 @@ await client.chargeCapture.v1.getAll({
703
656
  dateOfServiceMinRankedSort: "2023-01-15",
704
657
  dateOfServiceMaxRankedSort: "2023-01-15",
705
658
  claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
706
- bundleIdsRankedSort: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
659
+ claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
707
660
  billingProviderNpisRankedSort: "string",
708
661
  serviceFacilityNameRankedSort: "string",
709
662
  primaryPayerIdsRankedSort: "string",
@@ -746,7 +699,7 @@ await client.chargeCapture.v1.getAll({
746
699
  </dl>
747
700
  </details>
748
701
 
749
- <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChange</a>(chargeCaptureChangeId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange, CandidApi.chargeCapture.v1.updatePostBilledChange.Error></code></summary>
702
+ <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChanges</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error></code></summary>
750
703
  <dl>
751
704
  <dd>
752
705
 
@@ -759,12 +712,10 @@ await client.chargeCapture.v1.getAll({
759
712
  <dd>
760
713
 
761
714
  ```typescript
762
- await client.chargeCapture.v1.updatePostBilledChange(
763
- CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
764
- {
765
- resolved: true,
766
- },
767
- );
715
+ await client.chargeCapture.v1.updatePostBilledChanges({
716
+ chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
717
+ resolved: true,
718
+ });
768
719
  ```
769
720
 
770
721
  </dd>
@@ -780,14 +731,6 @@ await client.chargeCapture.v1.updatePostBilledChange(
780
731
  <dl>
781
732
  <dd>
782
733
 
783
- **chargeCaptureChangeId:** `CandidApi.ChargeCapturePostBilledChangeId`
784
-
785
- </dd>
786
- </dl>
787
-
788
- <dl>
789
- <dd>
790
-
791
734
  **request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate`
792
735
 
793
736
  </dd>
@@ -1957,6 +1900,198 @@ await client.eligibility.v2.submitEligibilityCheckAvailityPost({
1957
1900
  </dl>
1958
1901
  </details>
1959
1902
 
1903
+ ## EncounterAttachments V1
1904
+
1905
+ <details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">get</a>(encounterId) -> core.APIResponse<CandidApi.EncounterAttachment[], CandidApi.encounterAttachments.v1.get.Error></code></summary>
1906
+ <dl>
1907
+ <dd>
1908
+
1909
+ #### 🔌 Usage
1910
+
1911
+ <dl>
1912
+ <dd>
1913
+
1914
+ <dl>
1915
+ <dd>
1916
+
1917
+ ```typescript
1918
+ await client.encounterAttachments.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
1919
+ ```
1920
+
1921
+ </dd>
1922
+ </dl>
1923
+ </dd>
1924
+ </dl>
1925
+
1926
+ #### ⚙️ Parameters
1927
+
1928
+ <dl>
1929
+ <dd>
1930
+
1931
+ <dl>
1932
+ <dd>
1933
+
1934
+ **encounterId:** `CandidApi.EncounterId`
1935
+
1936
+ </dd>
1937
+ </dl>
1938
+
1939
+ <dl>
1940
+ <dd>
1941
+
1942
+ **requestOptions:** `V1.RequestOptions`
1943
+
1944
+ </dd>
1945
+ </dl>
1946
+ </dd>
1947
+ </dl>
1948
+
1949
+ </dd>
1950
+ </dl>
1951
+ </details>
1952
+
1953
+ <details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">create</a>(attachmentFile, encounterId, { ...params }) -> core.APIResponse<CandidApi.AttachmentId, CandidApi.encounterAttachments.v1.create.Error></code></summary>
1954
+ <dl>
1955
+ <dd>
1956
+
1957
+ #### 📝 Description
1958
+
1959
+ <dl>
1960
+ <dd>
1961
+
1962
+ <dl>
1963
+ <dd>
1964
+
1965
+ Uploads a file to the encounter. The file will be stored in the
1966
+ encounter's attachments.
1967
+
1968
+ </dd>
1969
+ </dl>
1970
+ </dd>
1971
+ </dl>
1972
+
1973
+ #### 🔌 Usage
1974
+
1975
+ <dl>
1976
+ <dd>
1977
+
1978
+ <dl>
1979
+ <dd>
1980
+
1981
+ ```typescript
1982
+ await client.encounterAttachments.v1.create(
1983
+ fs.createReadStream("/path/to/your/file"),
1984
+ CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
1985
+ {},
1986
+ );
1987
+ ```
1988
+
1989
+ </dd>
1990
+ </dl>
1991
+ </dd>
1992
+ </dl>
1993
+
1994
+ #### ⚙️ Parameters
1995
+
1996
+ <dl>
1997
+ <dd>
1998
+
1999
+ <dl>
2000
+ <dd>
2001
+
2002
+ **attachmentFile:** `File | fs.ReadStream | Blob`
2003
+
2004
+ </dd>
2005
+ </dl>
2006
+
2007
+ <dl>
2008
+ <dd>
2009
+
2010
+ **encounterId:** `CandidApi.EncounterId`
2011
+
2012
+ </dd>
2013
+ </dl>
2014
+
2015
+ <dl>
2016
+ <dd>
2017
+
2018
+ **request:** `CandidApi.encounterAttachments.v1.CreateAttachmentRequest`
2019
+
2020
+ </dd>
2021
+ </dl>
2022
+
2023
+ <dl>
2024
+ <dd>
2025
+
2026
+ **requestOptions:** `V1.RequestOptions`
2027
+
2028
+ </dd>
2029
+ </dl>
2030
+ </dd>
2031
+ </dl>
2032
+
2033
+ </dd>
2034
+ </dl>
2035
+ </details>
2036
+
2037
+ <details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">delete</a>(encounterId, { ...params }) -> core.APIResponse<void, CandidApi.encounterAttachments.v1.delete.Error></code></summary>
2038
+ <dl>
2039
+ <dd>
2040
+
2041
+ #### 🔌 Usage
2042
+
2043
+ <dl>
2044
+ <dd>
2045
+
2046
+ <dl>
2047
+ <dd>
2048
+
2049
+ ```typescript
2050
+ await client.encounterAttachments.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
2051
+ attachmentId: CandidApi.AttachmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2052
+ });
2053
+ ```
2054
+
2055
+ </dd>
2056
+ </dl>
2057
+ </dd>
2058
+ </dl>
2059
+
2060
+ #### ⚙️ Parameters
2061
+
2062
+ <dl>
2063
+ <dd>
2064
+
2065
+ <dl>
2066
+ <dd>
2067
+
2068
+ **encounterId:** `CandidApi.EncounterId`
2069
+
2070
+ </dd>
2071
+ </dl>
2072
+
2073
+ <dl>
2074
+ <dd>
2075
+
2076
+ **request:** `CandidApi.encounterAttachments.v1.DeleteAttachmentRequest`
2077
+
2078
+ </dd>
2079
+ </dl>
2080
+
2081
+ <dl>
2082
+ <dd>
2083
+
2084
+ **requestOptions:** `V1.RequestOptions`
2085
+
2086
+ </dd>
2087
+ </dl>
2088
+ </dd>
2089
+ </dl>
2090
+
2091
+ </dd>
2092
+ </dl>
2093
+ </details>
2094
+
1960
2095
  ## EncounterProviders V2
1961
2096
 
1962
2097
  <details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateReferringProvider</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error></code></summary>
@@ -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) => {
@@ -10,7 +10,7 @@ import { ChargeCaptureData } from "./ChargeCaptureData";
10
10
  import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
11
11
  import { ChargeCaptureError } from "./ChargeCaptureError";
12
12
  import { ChargeCapturePostBilledChange } from "./ChargeCapturePostBilledChange";
13
- import { ChargeCaptureBundleId } from "../../../../commons/types/ChargeCaptureBundleId";
13
+ import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
14
14
  export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
15
15
  export declare namespace ChargeCapture {
16
16
  interface Raw {
@@ -23,6 +23,6 @@ export declare namespace ChargeCapture {
23
23
  ehr_source_url?: string | null;
24
24
  error?: ChargeCaptureError.Raw | null;
25
25
  updates: ChargeCapturePostBilledChange.Raw[];
26
- bundle_id?: ChargeCaptureBundleId.Raw | null;
26
+ claim_creation_id?: ChargeCaptureClaimCreationId.Raw | null;
27
27
  }
28
28
  }
@@ -44,7 +44,7 @@ const ChargeCaptureData_1 = require("./ChargeCaptureData");
44
44
  const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
45
45
  const ChargeCaptureError_1 = require("./ChargeCaptureError");
46
46
  const ChargeCapturePostBilledChange_1 = require("./ChargeCapturePostBilledChange");
47
- const ChargeCaptureBundleId_1 = require("../../../../commons/types/ChargeCaptureBundleId");
47
+ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
48
48
  exports.ChargeCapture = core.serialization.object({
49
49
  id: ChargeCaptureId_1.ChargeCaptureId,
50
50
  status: ChargeCaptureStatus_1.ChargeCaptureStatus,
@@ -55,5 +55,5 @@ exports.ChargeCapture = core.serialization.object({
55
55
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
56
56
  error: ChargeCaptureError_1.ChargeCaptureError.optional(),
57
57
  updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
58
- bundleId: core.serialization.property("bundle_id", ChargeCaptureBundleId_1.ChargeCaptureBundleId.optional()),
58
+ claimCreationId: core.serialization.property("claim_creation_id", ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId.optional()),
59
59
  });
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
8
- import { ChargeCaptureBundleId } from "../../../../commons/types/ChargeCaptureBundleId";
8
+ import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
9
9
  export declare const ChargeCaptureError: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureError.Raw, CandidApi.chargeCapture.v1.ChargeCaptureError>;
10
10
  export declare namespace ChargeCaptureError {
11
11
  interface Raw {
@@ -13,6 +13,6 @@ export declare namespace ChargeCaptureError {
13
13
  charge_capture_id?: ChargeCaptureId.Raw | null;
14
14
  message: string;
15
15
  field_in_error?: string | null;
16
- bundle_id: ChargeCaptureBundleId.Raw;
16
+ claim_creation_id: ChargeCaptureClaimCreationId.Raw;
17
17
  }
18
18
  }
@@ -39,11 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureError = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
42
- const ChargeCaptureBundleId_1 = require("../../../../commons/types/ChargeCaptureBundleId");
42
+ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
43
43
  exports.ChargeCaptureError = core.serialization.object({
44
44
  id: core.serialization.string(),
45
45
  chargeCaptureId: core.serialization.property("charge_capture_id", ChargeCaptureId_1.ChargeCaptureId.optional()),
46
46
  message: core.serialization.string(),
47
47
  fieldInError: core.serialization.property("field_in_error", core.serialization.string().optional()),
48
- bundleId: core.serialization.property("bundle_id", ChargeCaptureBundleId_1.ChargeCaptureBundleId),
48
+ claimCreationId: core.serialization.property("claim_creation_id", ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId),
49
49
  });
@@ -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);
@@ -1,2 +1 @@
1
1
  export * from "./types";
2
- export * from "./client";