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
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EncounterAttachment } from "../types/EncounterAttachment";
8
+ export declare const Response: core.serialization.Schema<serializers.encounterAttachments.v1.get.Response.Raw, CandidApi.encounterAttachments.v1.EncounterAttachment[]>;
9
+ export declare namespace Response {
10
+ type Raw = EncounterAttachment.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const EncounterAttachment_1 = require("../types/EncounterAttachment");
42
+ exports.Response = core.serialization.list(EncounterAttachment_1.EncounterAttachment);
@@ -0,0 +1,2 @@
1
+ export * as get from "./get";
2
+ export * from "./requests";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.get = void 0;
40
+ exports.get = __importStar(require("./get"));
41
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { AttachmentId } from "../../types/AttachmentId";
8
+ export declare const DeleteAttachmentRequest: core.serialization.Schema<serializers.encounterAttachments.v1.DeleteAttachmentRequest.Raw, CandidApi.encounterAttachments.v1.DeleteAttachmentRequest>;
9
+ export declare namespace DeleteAttachmentRequest {
10
+ interface Raw {
11
+ attachment_id: AttachmentId.Raw;
12
+ }
13
+ }
@@ -36,8 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.NotImplementedErrorMessage = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.NotImplementedErrorMessage = core.serialization.object({
42
- message: core.serialization.string().optional(),
39
+ exports.DeleteAttachmentRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const AttachmentId_1 = require("../../types/AttachmentId");
42
+ exports.DeleteAttachmentRequest = core.serialization.object({
43
+ attachmentId: core.serialization.property("attachment_id", AttachmentId_1.AttachmentId),
43
44
  });
@@ -0,0 +1 @@
1
+ export { DeleteAttachmentRequest } from "./DeleteAttachmentRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAttachmentRequest = void 0;
4
+ var DeleteAttachmentRequest_1 = require("./DeleteAttachmentRequest");
5
+ Object.defineProperty(exports, "DeleteAttachmentRequest", { enumerable: true, get: function () { return DeleteAttachmentRequest_1.DeleteAttachmentRequest; } });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
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("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const AttachmentId: core.serialization.Schema<serializers.encounterAttachments.v1.AttachmentId.Raw, CandidApi.encounterAttachments.v1.AttachmentId>;
8
+ export declare namespace AttachmentId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AttachmentId = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../api/index"));
41
+ const core = __importStar(require("../../../../../../core"));
42
+ exports.AttachmentId = core.serialization.string().transform({
43
+ transform: CandidApi.encounterAttachments.v1.AttachmentId,
44
+ untransform: (value) => value,
45
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { AttachmentId } from "./AttachmentId";
8
+ import { LinkUrl } from "../../../../commons/types/LinkUrl";
9
+ export declare const BaseAttachment: core.serialization.ObjectSchema<serializers.encounterAttachments.v1.BaseAttachment.Raw, CandidApi.encounterAttachments.v1.BaseAttachment>;
10
+ export declare namespace BaseAttachment {
11
+ interface Raw {
12
+ attachment_id: AttachmentId.Raw;
13
+ file_name: string;
14
+ description: string;
15
+ content_type: string;
16
+ authed_url: LinkUrl.Raw;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BaseAttachment = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const AttachmentId_1 = require("./AttachmentId");
42
+ const LinkUrl_1 = require("../../../../commons/types/LinkUrl");
43
+ exports.BaseAttachment = core.serialization.object({
44
+ attachmentId: core.serialization.property("attachment_id", AttachmentId_1.AttachmentId),
45
+ fileName: core.serialization.property("file_name", core.serialization.string()),
46
+ description: core.serialization.string(),
47
+ contentType: core.serialization.property("content_type", core.serialization.string()),
48
+ authedUrl: core.serialization.property("authed_url", LinkUrl_1.LinkUrl),
49
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EncounterId } from "../../../../commons/types/EncounterId";
8
+ import { EncounterAttachmentType } from "./EncounterAttachmentType";
9
+ import { BaseAttachment } from "./BaseAttachment";
10
+ export declare const EncounterAttachment: core.serialization.ObjectSchema<serializers.encounterAttachments.v1.EncounterAttachment.Raw, CandidApi.encounterAttachments.v1.EncounterAttachment>;
11
+ export declare namespace EncounterAttachment {
12
+ interface Raw extends BaseAttachment.Raw {
13
+ encounter_id: EncounterId.Raw;
14
+ attachment_type: EncounterAttachmentType.Raw;
15
+ }
16
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EncounterAttachment = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const EncounterId_1 = require("../../../../commons/types/EncounterId");
42
+ const EncounterAttachmentType_1 = require("./EncounterAttachmentType");
43
+ const BaseAttachment_1 = require("./BaseAttachment");
44
+ exports.EncounterAttachment = core.serialization
45
+ .object({
46
+ encounterId: core.serialization.property("encounter_id", EncounterId_1.EncounterId),
47
+ attachmentType: core.serialization.property("attachment_type", EncounterAttachmentType_1.EncounterAttachmentType),
48
+ })
49
+ .extend(BaseAttachment_1.BaseAttachment);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const EncounterAttachmentType: core.serialization.Schema<serializers.encounterAttachments.v1.EncounterAttachmentType.Raw, CandidApi.encounterAttachments.v1.EncounterAttachmentType>;
8
+ export declare namespace EncounterAttachmentType {
9
+ type Raw = "DOCUMENTATION" | "EOB" | "OTHER";
10
+ }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ChargeCaptureBundleSortField = void 0;
39
+ exports.EncounterAttachmentType = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleSortField = core.serialization.enum_(["created_at"]);
41
+ exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION", "EOB", "OTHER"]);
@@ -0,0 +1,4 @@
1
+ export * from "./AttachmentId";
2
+ export * from "./BaseAttachment";
3
+ export * from "./EncounterAttachment";
4
+ export * from "./EncounterAttachmentType";
@@ -0,0 +1,20 @@
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("./AttachmentId"), exports);
18
+ __exportStar(require("./BaseAttachment"), exports);
19
+ __exportStar(require("./EncounterAttachment"), exports);
20
+ __exportStar(require("./EncounterAttachmentType"), exports);
@@ -10,6 +10,7 @@ export * as clinicalTrials from "./clinicalTrials";
10
10
  export * as contracts from "./contracts";
11
11
  export * as credentialing from "./credentialing";
12
12
  export * as customSchemas from "./customSchemas";
13
+ export * as encounterAttachments from "./encounterAttachments";
13
14
  export * as encounterProviders from "./encounterProviders";
14
15
  export * as encounters from "./encounters";
15
16
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
- exports.eligibility = exports.tags = void 0;
39
+ exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.encounterAttachments = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
+ exports.eligibility = exports.tags = exports.serviceFacility = void 0;
41
41
  exports.feeSchedules = __importStar(require("./feeSchedules"));
42
42
  exports.commons = __importStar(require("./commons"));
43
43
  __exportStar(require("./commons/errors"), exports);
@@ -50,6 +50,7 @@ exports.clinicalTrials = __importStar(require("./clinicalTrials"));
50
50
  exports.contracts = __importStar(require("./contracts"));
51
51
  exports.credentialing = __importStar(require("./credentialing"));
52
52
  exports.customSchemas = __importStar(require("./customSchemas"));
53
+ exports.encounterAttachments = __importStar(require("./encounterAttachments"));
53
54
  exports.encounterProviders = __importStar(require("./encounterProviders"));
54
55
  exports.encounters = __importStar(require("./encounters"));
55
56
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.42.5";
1
+ export declare const SDK_VERSION = "0.43.1";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.42.5";
4
+ exports.SDK_VERSION = "0.43.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.42.5",
3
+ "version": "0.43.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -18,7 +18,8 @@
18
18
  "node-fetch": "^2.7.0",
19
19
  "qs": "^6.13.1",
20
20
  "readable-stream": "^4.5.2",
21
- "js-base64": "3.7.7"
21
+ "js-base64": "3.7.7",
22
+ "form-data-encoder": "^4.0.2"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@types/url-join": "4.0.1",