candidhealth 0.42.5 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) 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 +238 -5
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  21. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  23. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  27. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  28. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  29. package/api/resources/commons/types/index.d.ts +1 -2
  30. package/api/resources/commons/types/index.js +1 -2
  31. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  32. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  33. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  34. package/api/resources/diagnoses/client/Client.js +3 -3
  35. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  36. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  37. package/api/resources/encounterAttachments/client/Client.js +17 -0
  38. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  39. package/api/resources/encounterAttachments/client/index.js +2 -0
  40. package/api/resources/encounterAttachments/index.d.ts +2 -0
  41. package/api/resources/encounterAttachments/index.js +18 -0
  42. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  43. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  44. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  46. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  47. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  48. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  49. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  50. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  51. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  52. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  55. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  56. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  59. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  60. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  61. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  62. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  64. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  65. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  66. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  67. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  68. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  69. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  70. package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  71. package/api/resources/encounters/resources/v4/client/Client.js +115 -105
  72. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  73. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  74. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  80. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  81. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  82. package/api/resources/index.d.ts +1 -0
  83. package/api/resources/index.js +3 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  85. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  87. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  88. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  91. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  93. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  94. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  95. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  96. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  99. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  100. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  101. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  103. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  104. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  105. package/api/resources/serviceFacility/client/Client.js +1 -1
  106. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  107. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  108. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  112. package/core/form-data-utils/FormDataWrapper.js +188 -0
  113. package/core/form-data-utils/index.d.ts +1 -0
  114. package/core/form-data-utils/index.js +17 -0
  115. package/core/index.d.ts +1 -0
  116. package/core/index.js +1 -0
  117. package/dist/Client.d.ts +3 -0
  118. package/dist/Client.js +61 -56
  119. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  120. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  121. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  122. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  123. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  124. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  125. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  126. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  127. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  138. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  140. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  145. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  146. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  147. package/dist/api/resources/commons/types/index.d.ts +1 -2
  148. package/dist/api/resources/commons/types/index.js +1 -2
  149. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  150. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  152. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  153. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  155. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  156. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  157. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  158. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  159. package/dist/api/resources/encounterAttachments/index.js +18 -0
  160. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  161. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  164. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  165. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  166. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  167. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  168. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  169. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  170. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  171. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  172. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  173. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  181. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  182. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  191. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  192. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  193. package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
  194. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  195. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  198. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  199. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  200. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  201. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  202. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  203. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  204. package/dist/api/resources/index.d.ts +1 -0
  205. package/dist/api/resources/index.js +3 -2
  206. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  207. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  208. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  210. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  212. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  213. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  214. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  216. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  221. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  222. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  223. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  224. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  226. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  228. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  229. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  230. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  231. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  232. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  233. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  234. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  235. package/dist/core/form-data-utils/index.d.ts +1 -0
  236. package/dist/core/form-data-utils/index.js +17 -0
  237. package/dist/core/index.d.ts +1 -0
  238. package/dist/core/index.js +1 -0
  239. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  240. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  241. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  242. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  248. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  250. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  253. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  254. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  255. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  256. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  257. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  258. package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  259. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  260. package/dist/serialization/resources/commons/types/index.js +1 -2
  261. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  262. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  263. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  265. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  266. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
  267. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  269. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  270. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  271. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  273. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  274. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  275. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  276. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  277. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  278. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  279. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  280. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  282. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +3 -2
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/package.json +3 -2
  290. package/reference.md +558 -246
  291. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  292. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  293. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  294. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  298. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  300. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  309. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  310. package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  311. package/serialization/resources/commons/types/index.d.ts +1 -2
  312. package/serialization/resources/commons/types/index.js +1 -2
  313. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  314. package/serialization/resources/encounterAttachments/index.js +17 -0
  315. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  316. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  317. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  318. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  319. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  320. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  321. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  322. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  323. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  324. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  325. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  326. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  327. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  328. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  329. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  330. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  331. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  332. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  333. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  334. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  335. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  336. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  337. package/serialization/resources/index.d.ts +1 -0
  338. package/serialization/resources/index.js +3 -2
  339. package/version.d.ts +1 -1
  340. package/version.js +1 -1
  341. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  342. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  343. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  344. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  345. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  346. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  347. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  348. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  349. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  350. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  351. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  352. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  353. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  354. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  355. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  356. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  357. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  358. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  359. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  360. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  361. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  362. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  363. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  364. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  365. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  366. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  367. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  368. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  369. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  370. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  371. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  372. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  373. /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  374. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
  375. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
  376. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
  377. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  378. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  379. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  380. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  381. /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  382. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
@@ -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
  }
@@ -1 +1 @@
1
- export { type GetAllChargeCaptureBundlesRequest } from "./GetAllChargeCaptureBundlesRequest";
1
+ export { type GetAllChargeCaptureClaimCreationsRequest } from "./GetAllChargeCaptureClaimCreationsRequest";
@@ -0,0 +1,20 @@
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, string | 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
+ }
@@ -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.0", "User-Agent": "candidhealth/0.43.0", "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.0", "User-Agent": "candidhealth/0.43.0", "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.0", "User-Agent": "candidhealth/0.43.0", "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.0", "User-Agent": "candidhealth/0.43.0", "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.0", "User-Agent": "candidhealth/0.43.0", "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" }),
@@ -83,7 +83,7 @@ class V2 {
83
83
  const _response = yield core.fetcher({
84
84
  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/provider-credentialing-span/v2"),
85
85
  method: "POST",
86
- 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),
86
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.credentialing.v2.ProviderCredentialingSpanCreate.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class V2 {
138
138
  const _response = yield core.fetcher({
139
139
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
140
140
  method: "GET",
141
- 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),
141
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
142
  contentType: "application/json",
143
143
  requestType: "json",
144
144
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -217,7 +217,7 @@ class V2 {
217
217
  const _response = yield core.fetcher({
218
218
  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/provider-credentialing-span/v2"),
219
219
  method: "GET",
220
- 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),
220
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
221
  contentType: "application/json",
222
222
  queryParameters: _queryParams,
223
223
  requestType: "json",
@@ -272,7 +272,7 @@ class V2 {
272
272
  const _response = yield core.fetcher({
273
273
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
274
274
  method: "DELETE",
275
- 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),
275
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -331,7 +331,7 @@ class V2 {
331
331
  const _response = yield core.fetcher({
332
332
  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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
333
333
  method: "PATCH",
334
- 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),
334
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  body: serializers.credentialing.v2.ProviderCredentialingSpanUpdate.jsonOrThrow(request, {
@@ -72,7 +72,7 @@ class V1 {
72
72
  const _response = yield core.fetcher({
73
73
  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/custom-schemas/v1"),
74
74
  method: "GET",
75
- 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),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -125,7 +125,7 @@ class V1 {
125
125
  const _response = yield core.fetcher({
126
126
  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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
127
127
  method: "GET",
128
- 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),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -196,7 +196,7 @@ class V1 {
196
196
  const _response = yield core.fetcher({
197
197
  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/custom-schemas/v1"),
198
198
  method: "POST",
199
- 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),
199
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.customSchemas.v1.SchemaCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
260
260
  method: "PATCH",
261
- 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),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  body: serializers.customSchemas.v1.SchemaUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -78,7 +78,7 @@ class Diagnoses {
78
78
  const _response = yield core.fetcher({
79
79
  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/diagnoses/v2"),
80
80
  method: "POST",
81
- 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),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.StandaloneDiagnosisCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -123,7 +123,7 @@ class Diagnoses {
123
123
  const _response = yield core.fetcher({
124
124
  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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
125
125
  method: "PATCH",
126
- 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),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  requestType: "json",
129
129
  body: serializers.DiagnosisUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class Diagnoses {
177
177
  const _response = yield core.fetcher({
178
178
  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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
179
179
  method: "DELETE",
180
- 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),
180
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -91,7 +91,7 @@ class V2 {
91
91
  const _response = yield core.fetcher({
92
92
  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/eligibility/v2"),
93
93
  method: "POST",
94
- 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),
94
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
95
  contentType: "application/json",
96
96
  requestType: "json",
97
97
  body: request,
@@ -159,7 +159,7 @@ class V2 {
159
159
  const _response = yield core.fetcher({
160
160
  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/eligibility/v2/availity"),
161
161
  method: "GET",
162
- 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),
162
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class V2 {
225
225
  const _response = yield core.fetcher({
226
226
  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/eligibility/v2/availity"),
227
227
  method: "POST",
228
- 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),
228
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: request,
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ import { V1 } from "../resources/v1/client/Client";
7
+ export declare namespace EncounterAttachments {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ }
14
+ interface RequestOptions {
15
+ /** The maximum time to wait for a response in seconds. */
16
+ timeoutInSeconds?: number;
17
+ /** The number of times to retry the request. Defaults to 2. */
18
+ maxRetries?: number;
19
+ /** A hook to abort the request. */
20
+ abortSignal?: AbortSignal;
21
+ /** Additional headers to include in the request. */
22
+ headers?: Record<string, string>;
23
+ }
24
+ }
25
+ export declare class EncounterAttachments {
26
+ protected readonly _options: EncounterAttachments.Options;
27
+ protected _v1: V1 | undefined;
28
+ constructor(_options?: EncounterAttachments.Options);
29
+ get v1(): V1;
30
+ }
@@ -0,0 +1,17 @@
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.EncounterAttachments = void 0;
7
+ const Client_1 = require("../resources/v1/client/Client");
8
+ class EncounterAttachments {
9
+ constructor(_options = {}) {
10
+ this._options = _options;
11
+ }
12
+ get v1() {
13
+ var _a;
14
+ return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
15
+ }
16
+ }
17
+ exports.EncounterAttachments = EncounterAttachments;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./resources";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";