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
@@ -1,4 +1,5 @@
1
1
  export * from "./auth";
2
2
  export * from "./fetcher";
3
3
  export * from "./runtime";
4
+ export * from "./form-data-utils";
4
5
  export * as serialization from "./schemas";
@@ -40,4 +40,5 @@ exports.serialization = void 0;
40
40
  __exportStar(require("./auth"), exports);
41
41
  __exportStar(require("./fetcher"), exports);
42
42
  __exportStar(require("./runtime"), exports);
43
+ __exportStar(require("./form-data-utils"), exports);
43
44
  exports.serialization = __importStar(require("./schemas"));
@@ -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
+ }
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundleStatus = void 0;
39
+ exports.ChargeExternalIdConflictErrorMessage = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
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";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
- __exportStar(require("./client"), exports);
@@ -0,0 +1,22 @@
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 { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
8
+ import { EncounterId } from "../../../../commons/types/EncounterId";
9
+ import { ChargeCaptureClaimCreationStatus } from "./ChargeCaptureClaimCreationStatus";
10
+ import { ChargeCaptureError } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureError";
11
+ import { ChargeCaptureData } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureData";
12
+ export declare const ChargeCaptureClaimCreation: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation>;
13
+ export declare namespace ChargeCaptureClaimCreation {
14
+ interface Raw {
15
+ id: ChargeCaptureClaimCreationId.Raw;
16
+ created_encounter_id?: EncounterId.Raw | null;
17
+ status: ChargeCaptureClaimCreationStatus.Raw;
18
+ characteristics: Record<string, unknown | null | undefined>;
19
+ errors: ChargeCaptureError.Raw[];
20
+ encounter_creation_input?: ChargeCaptureData.Raw | null;
21
+ }
22
+ }
@@ -36,18 +36,18 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundle = void 0;
39
+ exports.ChargeCaptureClaimCreation = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const ChargeCaptureBundleId_1 = require("../../../../commons/types/ChargeCaptureBundleId");
41
+ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
42
42
  const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
- const ChargeCaptureBundleStatus_1 = require("./ChargeCaptureBundleStatus");
44
- const ChargeCapture_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCapture");
43
+ const ChargeCaptureClaimCreationStatus_1 = require("./ChargeCaptureClaimCreationStatus");
45
44
  const ChargeCaptureError_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureError");
46
- exports.ChargeCaptureBundle = core.serialization.object({
47
- id: ChargeCaptureBundleId_1.ChargeCaptureBundleId,
45
+ const ChargeCaptureData_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureData");
46
+ exports.ChargeCaptureClaimCreation = core.serialization.object({
47
+ id: ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId,
48
48
  createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
49
- status: ChargeCaptureBundleStatus_1.ChargeCaptureBundleStatus,
50
- characteristics: core.serialization.record(core.serialization.string(), core.serialization.string().optional()),
51
- chargeCaptures: core.serialization.property("charge_captures", core.serialization.list(ChargeCapture_1.ChargeCapture)),
49
+ status: ChargeCaptureClaimCreationStatus_1.ChargeCaptureClaimCreationStatus,
50
+ characteristics: core.serialization.record(core.serialization.string(), core.serialization.unknown().optional()),
52
51
  errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
52
+ encounterCreationInput: core.serialization.property("encounter_creation_input", ChargeCaptureData_1.ChargeCaptureData.optional()),
53
53
  });
@@ -0,0 +1,14 @@
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 { ChargeCaptureClaimCreation } from "./ChargeCaptureClaimCreation";
8
+ import { ResourcePage } from "../../../../commons/types/ResourcePage";
9
+ export declare const ChargeCaptureClaimCreationPage: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage>;
10
+ export declare namespace ChargeCaptureClaimCreationPage {
11
+ interface Raw extends ResourcePage.Raw {
12
+ items: ChargeCaptureClaimCreation.Raw[];
13
+ }
14
+ }
@@ -36,12 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundlePage = void 0;
39
+ exports.ChargeCaptureClaimCreationPage = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const ChargeCaptureBundle_1 = require("./ChargeCaptureBundle");
41
+ const ChargeCaptureClaimCreation_1 = require("./ChargeCaptureClaimCreation");
42
42
  const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
43
- exports.ChargeCaptureBundlePage = core.serialization
43
+ exports.ChargeCaptureClaimCreationPage = core.serialization
44
44
  .object({
45
- items: core.serialization.list(ChargeCaptureBundle_1.ChargeCaptureBundle),
45
+ items: core.serialization.list(ChargeCaptureClaimCreation_1.ChargeCaptureClaimCreation),
46
46
  })
47
47
  .extend(ResourcePage_1.ResourcePage);
@@ -0,0 +1,10 @@
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 ChargeCaptureClaimCreationSortField: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField>;
8
+ export declare namespace ChargeCaptureClaimCreationSortField {
9
+ type Raw = "created_at";
10
+ }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundleStatus = void 0;
39
+ exports.ChargeCaptureClaimCreationSortField = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
41
+ exports.ChargeCaptureClaimCreationSortField = core.serialization.enum_(["created_at"]);
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
- export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
8
- export declare namespace ChargeCaptureBundleStatus {
7
+ export declare const ChargeCaptureClaimCreationStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus>;
8
+ export declare namespace ChargeCaptureClaimCreationStatus {
9
9
  type Raw = "not-started" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
10
10
  }
@@ -0,0 +1,41 @@
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.ChargeCaptureClaimCreationStatus = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ChargeCaptureClaimCreationStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ChargeCaptureClaimCreationSummary: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary>;
8
+ export declare namespace ChargeCaptureClaimCreationSummary {
9
+ interface Raw {
10
+ charge_capture_charges_not_linked_to_claims_count: number;
11
+ charge_capture_claim_creations_not_started_count: number;
12
+ charge_capture_held_claim_creations_count: number;
13
+ charge_capture_claim_creations_in_error_count: number;
14
+ charge_capture_unresolved_change_count: number;
15
+ }
16
+ }
@@ -36,12 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundleSummary = void 0;
39
+ exports.ChargeCaptureClaimCreationSummary = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleSummary = core.serialization.object({
41
+ exports.ChargeCaptureClaimCreationSummary = core.serialization.object({
42
42
  chargeCaptureChargesNotLinkedToClaimsCount: core.serialization.property("charge_capture_charges_not_linked_to_claims_count", core.serialization.number()),
43
- chargeCaptureBundlesNotStartedCount: core.serialization.property("charge_capture_bundles_not_started_count", core.serialization.number()),
44
- chargeCaptureHeldBundlesCount: core.serialization.property("charge_capture_held_bundles_count", core.serialization.number()),
45
- chargeCaptureBundlesInErrorCount: core.serialization.property("charge_capture_bundles_in_error_count", core.serialization.number()),
43
+ chargeCaptureClaimCreationsNotStartedCount: core.serialization.property("charge_capture_claim_creations_not_started_count", core.serialization.number()),
44
+ chargeCaptureHeldClaimCreationsCount: core.serialization.property("charge_capture_held_claim_creations_count", core.serialization.number()),
45
+ chargeCaptureClaimCreationsInErrorCount: core.serialization.property("charge_capture_claim_creations_in_error_count", core.serialization.number()),
46
46
  chargeCaptureUnresolvedChangeCount: core.serialization.property("charge_capture_unresolved_change_count", core.serialization.number()),
47
47
  });
@@ -1,5 +1,5 @@
1
- export * from "./ChargeCaptureBundlePage";
2
- export * from "./ChargeCaptureBundle";
3
- export * from "./ChargeCaptureBundleSummary";
4
- export * from "./ChargeCaptureBundleStatus";
5
- export * from "./ChargeCaptureBundleSortField";
1
+ export * from "./ChargeCaptureClaimCreationPage";
2
+ export * from "./ChargeCaptureClaimCreation";
3
+ export * from "./ChargeCaptureClaimCreationSummary";
4
+ export * from "./ChargeCaptureClaimCreationStatus";
5
+ export * from "./ChargeCaptureClaimCreationSortField";
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ChargeCaptureBundlePage"), exports);
18
- __exportStar(require("./ChargeCaptureBundle"), exports);
19
- __exportStar(require("./ChargeCaptureBundleSummary"), exports);
20
- __exportStar(require("./ChargeCaptureBundleStatus"), exports);
21
- __exportStar(require("./ChargeCaptureBundleSortField"), exports);
17
+ __exportStar(require("./ChargeCaptureClaimCreationPage"), exports);
18
+ __exportStar(require("./ChargeCaptureClaimCreation"), exports);
19
+ __exportStar(require("./ChargeCaptureClaimCreationSummary"), exports);
20
+ __exportStar(require("./ChargeCaptureClaimCreationStatus"), exports);
21
+ __exportStar(require("./ChargeCaptureClaimCreationSortField"), exports);
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- export declare const ChargeCaptureBundleId: core.serialization.Schema<serializers.ChargeCaptureBundleId.Raw, CandidApi.ChargeCaptureBundleId>;
8
- export declare namespace ChargeCaptureBundleId {
7
+ export declare const ChargeCaptureClaimCreationId: core.serialization.Schema<serializers.ChargeCaptureClaimCreationId.Raw, CandidApi.ChargeCaptureClaimCreationId>;
8
+ export declare namespace ChargeCaptureClaimCreationId {
9
9
  type Raw = string;
10
10
  }
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundleId = void 0;
39
+ exports.ChargeCaptureClaimCreationId = void 0;
40
40
  const CandidApi = __importStar(require("../../../../api/index"));
41
41
  const core = __importStar(require("../../../../core"));
42
- exports.ChargeCaptureBundleId = core.serialization.string().transform({
43
- transform: CandidApi.ChargeCaptureBundleId,
42
+ exports.ChargeCaptureClaimCreationId = core.serialization.string().transform({
43
+ transform: CandidApi.ChargeCaptureClaimCreationId,
44
44
  untransform: (value) => value,
45
45
  });
@@ -1,6 +1,6 @@
1
1
  export * from "./EncounterId";
2
2
  export * from "./ChargeCaptureId";
3
- export * from "./ChargeCaptureBundleId";
3
+ export * from "./ChargeCaptureClaimCreationId";
4
4
  export * from "./ChargeCapturePostBilledChangeId";
5
5
  export * from "./OrganizationId";
6
6
  export * from "./ClaimId";
@@ -61,7 +61,6 @@ export * from "./HttpServiceUnavailableErrorMessage";
61
61
  export * from "./RequestValidationError";
62
62
  export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
63
63
  export * from "./OrganizationNotAuthorizedErrorMessage";
64
- export * from "./NotImplementedErrorMessage";
65
64
  export * from "./PhoneNumber";
66
65
  export * from "./PhoneNumberType";
67
66
  export * from "./Email";
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./EncounterId"), exports);
18
18
  __exportStar(require("./ChargeCaptureId"), exports);
19
- __exportStar(require("./ChargeCaptureBundleId"), exports);
19
+ __exportStar(require("./ChargeCaptureClaimCreationId"), exports);
20
20
  __exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
21
21
  __exportStar(require("./OrganizationId"), exports);
22
22
  __exportStar(require("./ClaimId"), exports);
@@ -77,7 +77,6 @@ __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
77
77
  __exportStar(require("./RequestValidationError"), exports);
78
78
  __exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
79
79
  __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
80
- __exportStar(require("./NotImplementedErrorMessage"), exports);
81
80
  __exportStar(require("./PhoneNumber"), exports);
82
81
  __exportStar(require("./PhoneNumberType"), exports);
83
82
  __exportStar(require("./Email"), exports);
@@ -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";