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
@@ -59,19 +59,19 @@ class V1 {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
62
- * @param {CandidApi.ChargeCaptureBundleId} chargeCaptureBundleId
62
+ * @param {CandidApi.ChargeCaptureClaimCreationId} chargeCaptureClaimCreationId
63
63
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @example
66
- * await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
66
+ * await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
67
67
  */
68
- get(chargeCaptureBundleId, requestOptions) {
68
+ get(chargeCaptureClaimCreationId, requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
70
  var _a, _b;
71
71
  const _response = yield core.fetcher({
72
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
72
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_claim_creation/v1/${encodeURIComponent(serializers.ChargeCaptureClaimCreationId.jsonOrThrow(chargeCaptureClaimCreationId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class V1 {
81
81
  if (_response.ok) {
82
82
  return {
83
83
  ok: true,
84
- body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundle.parseOrThrow(_response.body, {
84
+ body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.parseOrThrow(_response.body, {
85
85
  unrecognizedObjectKeys: "passthrough",
86
86
  allowUnrecognizedUnionMembers: true,
87
87
  allowUnrecognizedEnumValues: true,
@@ -105,9 +105,9 @@ class V1 {
105
105
  return __awaiter(this, void 0, void 0, function* () {
106
106
  var _a, _b;
107
107
  const _response = yield core.fetcher({
108
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_bundle/v1/all/summary"),
108
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_claim_creation/v1/all/summary"),
109
109
  method: "GET",
110
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  requestType: "json",
113
113
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -117,7 +117,7 @@ class V1 {
117
117
  if (_response.ok) {
118
118
  return {
119
119
  ok: true,
120
- body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSummary.parseOrThrow(_response.body, {
120
+ body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary.parseOrThrow(_response.body, {
121
121
  unrecognizedObjectKeys: "passthrough",
122
122
  allowUnrecognizedUnionMembers: true,
123
123
  allowUnrecognizedEnumValues: true,
@@ -132,58 +132,7 @@ class V1 {
132
132
  });
133
133
  }
134
134
  /**
135
- * @param {CandidApi.ChargeCaptureBundleId} chargeCaptureBundleId
136
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
137
- *
138
- * @example
139
- * await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
140
- */
141
- resubmit(chargeCaptureBundleId, requestOptions) {
142
- return __awaiter(this, void 0, void 0, function* () {
143
- var _a, _b, _c;
144
- const _response = yield core.fetcher({
145
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_bundle/v1/${encodeURIComponent(serializers.ChargeCaptureBundleId.jsonOrThrow(chargeCaptureBundleId))}`),
146
- method: "POST",
147
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
- contentType: "application/json",
149
- requestType: "json",
150
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
151
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
152
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
153
- });
154
- if (_response.ok) {
155
- return {
156
- ok: true,
157
- body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundle.parseOrThrow(_response.body, {
158
- unrecognizedObjectKeys: "passthrough",
159
- allowUnrecognizedUnionMembers: true,
160
- allowUnrecognizedEnumValues: true,
161
- breadcrumbsPrefix: ["response"],
162
- }),
163
- };
164
- }
165
- if (_response.error.reason === "status-code") {
166
- switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
167
- case "NotImplementedError":
168
- return {
169
- ok: false,
170
- error: serializers.chargeCaptureBundles.v1.resubmit.Error.parseOrThrow(_response.error.body, {
171
- unrecognizedObjectKeys: "passthrough",
172
- allowUnrecognizedUnionMembers: true,
173
- allowUnrecognizedEnumValues: true,
174
- breadcrumbsPrefix: ["response"],
175
- }),
176
- };
177
- }
178
- }
179
- return {
180
- ok: false,
181
- error: CandidApi.chargeCaptureBundles.v1.resubmit.Error._unknown(_response.error),
182
- };
183
- });
184
- }
185
- /**
186
- * @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest} request
135
+ * @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest} request
187
136
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
188
137
  *
189
138
  * @example
@@ -193,13 +142,13 @@ class V1 {
193
142
  * sortDirection: "asc",
194
143
  * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
195
144
  * patientExternalId: "string",
196
- * bundleStatus: "not-started",
145
+ * claimCreationStatus: "not-started",
197
146
  * chargeStatus: "planned",
198
147
  * chargeExternalId: "string",
199
148
  * dateOfServiceMin: "2023-01-15",
200
149
  * dateOfServiceMax: "2023-01-15",
201
150
  * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
202
- * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
151
+ * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
203
152
  * billingProviderNpis: "string",
204
153
  * serviceFacilityName: "string",
205
154
  * primaryPayerIds: "string",
@@ -213,15 +162,13 @@ class V1 {
213
162
  getAll() {
214
163
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
215
164
  var _a, _b;
216
- const { limit, sort, sortDirection, pageToken, patientExternalId, bundleStatus, chargeStatus, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, bundleIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, hasChargeCaptureUpdates, } = request;
165
+ const { limit, sort, sortDirection, pageToken, patientExternalId, claimCreationStatus, chargeStatus, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, claimCreationIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, hasChargeCaptureUpdates, } = request;
217
166
  const _queryParams = {};
218
167
  if (limit != null) {
219
168
  _queryParams["limit"] = limit.toString();
220
169
  }
221
170
  if (sort != null) {
222
- _queryParams["sort"] = serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSortField.jsonOrThrow(sort, {
223
- unrecognizedObjectKeys: "strip",
224
- });
171
+ _queryParams["sort"] = serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField.jsonOrThrow(sort, { unrecognizedObjectKeys: "strip" });
225
172
  }
226
173
  if (sortDirection != null) {
227
174
  _queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
@@ -234,8 +181,11 @@ class V1 {
234
181
  if (patientExternalId != null) {
235
182
  _queryParams["patient_external_id"] = patientExternalId;
236
183
  }
237
- if (bundleStatus != null) {
238
- _queryParams["bundle_status"] = serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.jsonOrThrow(bundleStatus, { unrecognizedObjectKeys: "strip" });
184
+ if (claimCreationStatus != null) {
185
+ _queryParams["claim_creation_status"] =
186
+ serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus.jsonOrThrow(claimCreationStatus, {
187
+ unrecognizedObjectKeys: "strip",
188
+ });
239
189
  }
240
190
  if (chargeStatus != null) {
241
191
  _queryParams["charge_status"] = serializers.chargeCapture.v1.ChargeCaptureStatus.jsonOrThrow(chargeStatus, {
@@ -259,12 +209,12 @@ class V1 {
259
209
  _queryParams["claim_ids"] = claimIds;
260
210
  }
261
211
  }
262
- if (bundleIds != null) {
263
- if (Array.isArray(bundleIds)) {
264
- _queryParams["bundle_ids"] = bundleIds.map((item) => serializers.ChargeCaptureBundleId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
212
+ if (claimCreationIds != null) {
213
+ if (Array.isArray(claimCreationIds)) {
214
+ _queryParams["claim_creation_ids"] = claimCreationIds.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
265
215
  }
266
216
  else {
267
- _queryParams["bundle_ids"] = bundleIds;
217
+ _queryParams["claim_creation_ids"] = claimCreationIds;
268
218
  }
269
219
  }
270
220
  if (billingProviderNpis != null) {
@@ -322,9 +272,9 @@ class V1 {
322
272
  _queryParams["has_charge_capture_updates"] = hasChargeCaptureUpdates.toString();
323
273
  }
324
274
  const _response = yield core.fetcher({
325
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_bundle/v1"),
275
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_claim_creation/v1"),
326
276
  method: "GET",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
277
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
278
  contentType: "application/json",
329
279
  queryParameters: _queryParams,
330
280
  requestType: "json",
@@ -335,7 +285,7 @@ class V1 {
335
285
  if (_response.ok) {
336
286
  return {
337
287
  ok: true,
338
- body: serializers.chargeCaptureBundles.v1.ChargeCaptureBundlePage.parseOrThrow(_response.body, {
288
+ body: serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage.parseOrThrow(_response.body, {
339
289
  unrecognizedObjectKeys: "passthrough",
340
290
  allowUnrecognizedUnionMembers: true,
341
291
  allowUnrecognizedEnumValues: true,
@@ -1,5 +1,4 @@
1
1
  export * from "./requests";
2
2
  export * as get from "./get";
3
3
  export * as getSummary from "./getSummary";
4
- export * as resubmit from "./resubmit";
5
4
  export * as getAll from "./getAll";
@@ -36,9 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.getAll = exports.resubmit = exports.getSummary = exports.get = void 0;
39
+ exports.getAll = exports.getSummary = exports.get = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.get = __importStar(require("./get"));
42
42
  exports.getSummary = __importStar(require("./getSummary"));
43
- exports.resubmit = __importStar(require("./resubmit"));
44
43
  exports.getAll = __importStar(require("./getAll"));
@@ -10,13 +10,13 @@ import * as CandidApi from "../../../../../../index";
10
10
  * sortDirection: "asc",
11
11
  * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
12
12
  * patientExternalId: "string",
13
- * bundleStatus: "not-started",
13
+ * claimCreationStatus: "not-started",
14
14
  * chargeStatus: "planned",
15
15
  * chargeExternalId: "string",
16
16
  * dateOfServiceMin: "2023-01-15",
17
17
  * dateOfServiceMax: "2023-01-15",
18
18
  * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
- * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
19
+ * claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
20
20
  * billingProviderNpis: "string",
21
21
  * serviceFacilityName: "string",
22
22
  * primaryPayerIds: "string",
@@ -27,7 +27,7 @@ import * as CandidApi from "../../../../../../index";
27
27
  * hasChargeCaptureUpdates: true
28
28
  * }
29
29
  */
30
- export interface GetAllChargeCaptureBundlesRequest {
30
+ export interface GetAllChargeCaptureClaimCreationsRequest {
31
31
  /**
32
32
  * Maximum number of entities per page, defaults to 100.
33
33
  */
@@ -35,7 +35,7 @@ export interface GetAllChargeCaptureBundlesRequest {
35
35
  /**
36
36
  * Defaults to created_at
37
37
  */
38
- sort?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSortField;
38
+ sort?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField;
39
39
  /**
40
40
  * Sort direction. Defaults to descending order if not provided.
41
41
  */
@@ -46,9 +46,9 @@ export interface GetAllChargeCaptureBundlesRequest {
46
46
  */
47
47
  patientExternalId?: string;
48
48
  /**
49
- * the status of the charge capture bundle, refers to whether it was able to create an encounter.
49
+ * the status of the charge capture Claim Creation, refers to whether it was able to create a claim.
50
50
  */
51
- bundleStatus?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus;
51
+ claimCreationStatus?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus;
52
52
  /**
53
53
  * the status of the charge captures
54
54
  */
@@ -70,43 +70,43 @@ export interface GetAllChargeCaptureBundlesRequest {
70
70
  */
71
71
  dateOfServiceMax?: string;
72
72
  /**
73
- * A list of claim IDs to filter by. This will return all charge capture bundles that have a resulting claim with one of the IDs in this list.
73
+ * A list of claim IDs to filter by. This will return all charge capture claim_creations that have a resulting claim with one of the IDs in this list.
74
74
  */
75
75
  claimIds?: CandidApi.EncounterId | CandidApi.EncounterId[];
76
76
  /**
77
- * A list of bundle IDs to filter by.
77
+ * A list of Claim Creation IDs to filter by.
78
78
  */
79
- bundleIds?: CandidApi.ChargeCaptureBundleId | CandidApi.ChargeCaptureBundleId[];
79
+ claimCreationIds?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
80
80
  /**
81
- * A list of billing provider NPIs to filter by. This will return all charge capture bundles which include one or more charges with one of the NPIs in this list.
81
+ * A list of billing provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
82
82
  */
83
83
  billingProviderNpis?: string | string[];
84
84
  /**
85
- * A string to filter by. This will return all charge capture bundles which include one or more charges with this service facility name.
85
+ * A string to filter by. This will return all charge capture claim_creations which include one or more charges with this service facility name.
86
86
  */
87
87
  serviceFacilityName?: string;
88
88
  /**
89
- * A list of primary payer IDs to filter by. This will return all charge capture bundles which include one or more charges with one of the primary payer IDs in this list.
89
+ * A list of primary payer IDs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the primary payer IDs in this list.
90
90
  */
91
91
  primaryPayerIds?: string | string[];
92
92
  /**
93
- * A list of rendering provider NPIs to filter by. This will return all charge capture bundles which include one or more charges with one of the NPIs in this list.
93
+ * A list of rendering provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
94
94
  */
95
95
  renderingProviderNpis?: string | string[];
96
96
  /**
97
- * A list of rendering provider names to filter by. This will return all charge capture bundles which include one or more charges with one of the names in this list.
97
+ * A list of rendering provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list.
98
98
  */
99
99
  renderingProviderNames?: string | string[];
100
100
  /**
101
- * A list of supervising provider NPIs to filter by. This will return all charge capture bundles which include one or more charges with one of the NPIs in this list.
101
+ * A list of supervising provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
102
102
  */
103
103
  supervisingProviderNpis?: string | string[];
104
104
  /**
105
- * A list of supervising provider names to filter by. This will return all charge capture bundles which include one or more charges with one of the names in this list.
105
+ * A list of supervising provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list.
106
106
  */
107
107
  supervisingProviderNames?: string | string[];
108
108
  /**
109
- * If true, only return bundles that have charge captures that have been updated since the bundle has had a status of BILLED. See the updates property on ChargeCapture for more details.
109
+ * If true, only return claim_creations that have charge captures that have been updated since the Claim Creation has had a status of BILLED. See the updates property on ChargeCapture for more details.
110
110
  */
111
111
  hasChargeCaptureUpdates?: boolean;
112
112
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1 @@
1
- export { type GetAllChargeCaptureBundlesRequest } from "./GetAllChargeCaptureBundlesRequest";
1
+ export { type GetAllChargeCaptureClaimCreationsRequest } from "./GetAllChargeCaptureClaimCreationsRequest";
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ChargeCaptureClaimCreation {
6
+ id: CandidApi.ChargeCaptureClaimCreationId;
7
+ createdEncounterId?: CandidApi.EncounterId;
8
+ /** Status of the Claim Creation, Successful means that the Claim Creation created a corresponding Claim */
9
+ status: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus;
10
+ /**
11
+ * A dictionary of characteristics that are used to group charge captures together based on the bundling configuration.
12
+ * Example: {"service_facility.npi": "99999999", "date_of_service": "2023-01-01"}
13
+ */
14
+ characteristics: Record<string, unknown | undefined>;
15
+ /**
16
+ * All errors that were found when the Claim was attempted to be created.
17
+ * Errors can correspond to the Claim Creation as a whole or specific underlying Charge Captures.
18
+ */
19
+ errors: CandidApi.chargeCapture.v1.ChargeCaptureError[];
20
+ /** If a ChargeCaptureBundle attempts creation, this is the input that was created from the underlying charges and used to attempt encounter creation. */
21
+ encounterCreationInput?: CandidApi.chargeCapture.v1.ChargeCaptureData;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ChargeCaptureClaimCreationPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ChargeCaptureClaimCreationSortField = "created_at";
5
+ export declare const ChargeCaptureClaimCreationSortField: {
6
+ readonly CreatedAt: "created_at";
7
+ };
@@ -3,7 +3,7 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ChargeCaptureBundleSortField = void 0;
7
- exports.ChargeCaptureBundleSortField = {
6
+ exports.ChargeCaptureClaimCreationSortField = void 0;
7
+ exports.ChargeCaptureClaimCreationSortField = {
8
8
  CreatedAt: "created_at",
9
9
  };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ChargeCaptureClaimCreationStatus = "not-started" | "in-error" | "successful" | "successful-dry-run" | "aborted"
5
+ /**
6
+ * This Claim Creation has potential charges that are in a planned state, the Claim Creation will be held until those charges are converted */
7
+ | "held";
8
+ export declare const ChargeCaptureClaimCreationStatus: {
9
+ readonly NotStarted: "not-started";
10
+ readonly InError: "in-error";
11
+ readonly Successful: "successful";
12
+ readonly SuccessfulDryRun: "successful-dry-run";
13
+ readonly Aborted: "aborted";
14
+ readonly Held: "held";
15
+ };
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ChargeCaptureBundleStatus = void 0;
7
- exports.ChargeCaptureBundleStatus = {
6
+ exports.ChargeCaptureClaimCreationStatus = void 0;
7
+ exports.ChargeCaptureClaimCreationStatus = {
8
8
  NotStarted: "not-started",
9
9
  InError: "in-error",
10
10
  Successful: "successful",
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ChargeCaptureClaimCreationSummary {
5
+ /** The count of charge captures which are not part of a Claim Creation. */
6
+ chargeCaptureChargesNotLinkedToClaimsCount: number;
7
+ /** The count of charge capture claim_creations that have a Claim Creation status of NOT_STARTED. */
8
+ chargeCaptureClaimCreationsNotStartedCount: number;
9
+ /** The count of charge capture claim_creations that have a Claim Creation status of HELD. */
10
+ chargeCaptureHeldClaimCreationsCount: number;
11
+ /** The count of charge capture claim_creations that have a Claim Creation status of IN_ERROR. */
12
+ chargeCaptureClaimCreationsInErrorCount: number;
13
+ /** The number of ChargeCapturePostBilledChange items that are unresolved. */
14
+ chargeCaptureUnresolvedChangeCount: number;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export type ChargeCaptureClaimCreationId = string & {
6
+ ChargeCaptureClaimCreationId: void;
7
+ };
8
+ export declare function ChargeCaptureClaimCreationId(value: string): CandidApi.ChargeCaptureClaimCreationId;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ChargeCaptureClaimCreationId = ChargeCaptureClaimCreationId;
7
+ function ChargeCaptureClaimCreationId(value) {
8
+ return value;
9
+ }
@@ -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);
@@ -71,7 +71,7 @@ class V2 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -170,7 +170,7 @@ class V2 {
170
170
  const _response = yield core.fetcher({
171
171
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/contracts/v2"),
172
172
  method: "GET",
173
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
174
  contentType: "application/json",
175
175
  queryParameters: _queryParams,
176
176
  requestType: "json",
@@ -237,7 +237,7 @@ class V2 {
237
237
  const _response = yield core.fetcher({
238
238
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/contracts/v2"),
239
239
  method: "POST",
240
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  body: serializers.contracts.v2.ContractCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -275,7 +275,7 @@ class V2 {
275
275
  const _response = yield core.fetcher({
276
276
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
277
277
  method: "DELETE",
278
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,7 +355,7 @@ class V2 {
355
355
  const _response = yield core.fetcher({
356
356
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
357
357
  method: "PATCH",
358
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
358
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  body: serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),