candidhealth 0.35.3 → 0.37.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 (418) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +65 -60
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  5. package/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  6. package/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  7. package/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  8. package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  9. package/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  10. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  11. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  12. package/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  13. package/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  14. package/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  15. package/api/resources/chargeCapture/client/Client.d.ts +26 -0
  16. package/api/resources/chargeCapture/client/Client.js +17 -0
  17. package/api/resources/chargeCapture/client/index.d.ts +1 -0
  18. package/api/resources/chargeCapture/client/index.js +2 -0
  19. package/api/resources/chargeCapture/index.d.ts +2 -0
  20. package/api/resources/chargeCapture/index.js +18 -0
  21. package/api/resources/chargeCapture/resources/index.d.ts +1 -0
  22. package/api/resources/chargeCapture/resources/index.js +27 -0
  23. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  24. package/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
  25. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  26. package/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  27. package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
  28. package/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
  29. package/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  30. package/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  31. package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
  32. package/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
  33. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  34. package/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  35. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  36. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  37. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  38. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  39. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  40. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  41. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  42. package/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  43. package/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  44. package/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  45. package/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  46. package/api/resources/chargeCapture/resources/v1/index.js +18 -0
  47. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  48. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  49. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  50. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  51. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  52. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  53. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  54. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  55. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  56. package/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  57. package/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  58. package/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  59. package/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  60. package/api/resources/commons/types/ChargeCaptureId.js +10 -0
  61. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  62. package/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  63. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  64. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  65. package/api/resources/commons/types/index.d.ts +3 -0
  66. package/api/resources/commons/types/index.js +3 -0
  67. package/api/resources/contracts/resources/v2/client/Client.js +6 -5
  68. package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  69. package/api/resources/contracts/resources/v2/client/update.js +11 -0
  70. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  71. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  72. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  73. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  74. package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  75. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  76. package/api/resources/diagnoses/client/Client.js +3 -3
  77. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  78. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  79. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  80. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  81. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  82. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  83. package/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
  84. package/api/resources/encounters/resources/v4/client/Client.js +34 -278
  85. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
  86. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
  87. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  88. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  89. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  90. package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  91. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  92. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  93. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  94. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  95. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  96. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  97. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  98. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  99. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  100. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  101. package/api/resources/index.d.ts +1 -0
  102. package/api/resources/index.js +2 -1
  103. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  104. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  105. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  106. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  107. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  108. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  109. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  110. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  111. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  112. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  113. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  114. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  115. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  116. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  117. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  118. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  119. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  120. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  121. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  122. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  123. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  124. package/api/resources/serviceFacility/client/Client.js +1 -1
  125. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  126. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  127. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  128. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  129. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  130. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  131. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  132. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  133. package/dist/Client.d.ts +3 -0
  134. package/dist/Client.js +65 -60
  135. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  136. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  137. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  138. package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  139. package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  140. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  141. package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  142. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  143. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  144. package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  145. package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  146. package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  147. package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
  148. package/dist/api/resources/chargeCapture/client/Client.js +17 -0
  149. package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
  150. package/dist/api/resources/chargeCapture/client/index.js +2 -0
  151. package/dist/api/resources/chargeCapture/index.d.ts +2 -0
  152. package/dist/api/resources/chargeCapture/index.js +18 -0
  153. package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
  154. package/dist/api/resources/chargeCapture/resources/index.js +27 -0
  155. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  156. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
  157. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  158. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  159. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
  160. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
  161. package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  162. package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  163. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
  164. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
  165. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  166. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  167. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  168. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  169. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  170. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  171. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  172. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  173. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  174. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  175. package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  176. package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  177. package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  178. package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
  179. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  180. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  181. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  182. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  183. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  184. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  185. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  186. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  187. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  188. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  189. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  190. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  191. package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  192. package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
  193. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  194. package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  195. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  196. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  197. package/dist/api/resources/commons/types/index.d.ts +3 -0
  198. package/dist/api/resources/commons/types/index.js +3 -0
  199. package/dist/api/resources/contracts/resources/v2/client/Client.js +6 -5
  200. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  201. package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
  202. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  203. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  204. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  205. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  206. package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  207. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  208. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  209. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  210. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  211. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  212. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  213. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  214. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  215. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
  216. package/dist/api/resources/encounters/resources/v4/client/Client.js +34 -278
  217. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
  218. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
  219. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  220. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  221. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  222. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  223. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  224. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  225. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  226. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  227. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  228. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  229. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  230. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  231. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  232. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  233. package/dist/api/resources/index.d.ts +1 -0
  234. package/dist/api/resources/index.js +2 -1
  235. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  236. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  237. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  238. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  239. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  240. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  241. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  242. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  243. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  244. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  245. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  246. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  247. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  248. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  249. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  250. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  251. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  252. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  253. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  254. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  255. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  256. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  257. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  258. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  259. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  260. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  261. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  262. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  263. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  264. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  265. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  266. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  267. package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  269. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  270. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  271. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  273. package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  274. package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  275. package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
  276. package/dist/serialization/resources/chargeCapture/index.js +17 -0
  277. package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  278. package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
  279. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  280. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  281. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
  282. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
  283. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
  284. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
  285. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
  286. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
  287. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  288. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  289. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  290. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  291. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  292. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  293. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  294. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  295. package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  296. package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  297. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  298. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  299. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  300. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  301. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  302. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  303. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  304. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  305. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  306. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  307. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  308. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  309. package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  310. package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  311. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  312. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  313. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  314. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  315. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  316. package/dist/serialization/resources/commons/types/index.js +3 -0
  317. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  318. package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  319. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  320. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  321. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  322. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  323. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  324. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  325. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  326. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  327. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  328. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  329. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  330. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  331. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  332. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  333. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  334. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  335. package/dist/serialization/resources/index.d.ts +1 -0
  336. package/dist/serialization/resources/index.js +2 -1
  337. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  338. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  339. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  340. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  341. package/package.json +1 -1
  342. package/reference.md +606 -362
  343. package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  344. package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  345. package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  346. package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  347. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  348. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  349. package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  350. package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  351. package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  352. package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  353. package/serialization/resources/chargeCapture/index.d.ts +1 -0
  354. package/serialization/resources/chargeCapture/index.js +17 -0
  355. package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  356. package/serialization/resources/chargeCapture/resources/index.js +27 -0
  357. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  358. package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  359. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
  360. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
  361. package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
  362. package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
  363. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
  364. package/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
  365. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  366. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  367. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  368. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  369. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  370. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  371. package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  372. package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  373. package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  374. package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  375. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  376. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  377. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  378. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  379. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  380. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  381. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  382. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  383. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  384. package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  385. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  386. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  387. package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  388. package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  389. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  390. package/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  391. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  392. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  393. package/serialization/resources/commons/types/index.d.ts +3 -0
  394. package/serialization/resources/commons/types/index.js +3 -0
  395. package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  396. package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  397. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  398. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  399. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  400. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  401. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  402. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  403. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  404. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  405. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  406. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  407. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  408. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  409. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  410. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  411. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  412. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  413. package/serialization/resources/index.d.ts +1 -0
  414. package/serialization/resources/index.js +2 -1
  415. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  416. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  417. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  418. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChargeCapture = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
32
+ const ChargeCaptureStatus_1 = require("./ChargeCaptureStatus");
33
+ const ChargeCaptureData_1 = require("./ChargeCaptureData");
34
+ const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
35
+ const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
36
+ exports.ChargeCapture = core.serialization.object({
37
+ id: ChargeCaptureId_1.ChargeCaptureId,
38
+ status: ChargeCaptureStatus_1.ChargeCaptureStatus,
39
+ chargeCaptureData: core.serialization.property("charge_capture_data", ChargeCaptureData_1.ChargeCaptureData),
40
+ patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
41
+ encounterExternalId: core.serialization.property("encounter_external_id", EncounterExternalId_1.EncounterExternalId),
42
+ ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
43
+ });
@@ -0,0 +1,24 @@
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 { DiagnosisCreate } from "../../../../diagnoses/types/DiagnosisCreate";
8
+ import { Intervention } from "../../../../encounters/resources/v4/types/Intervention";
9
+ import { ExternalClaimSubmissionCreate } from "../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
10
+ import { ServiceLineCreate } from "../../../../serviceLines/resources/v2/types/ServiceLineCreate";
11
+ import { PatientHistoryCategory } from "../../../../encounters/resources/v4/types/PatientHistoryCategory";
12
+ import { BillingNote } from "../../../../billingNotes/resources/v2/types/BillingNote";
13
+ import { EncounterOptional } from "../../../../encounters/resources/v4/types/EncounterOptional";
14
+ export declare const ChargeCaptureData: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureData.Raw, CandidApi.chargeCapture.v1.ChargeCaptureData>;
15
+ export declare namespace ChargeCaptureData {
16
+ interface Raw extends EncounterOptional.Raw {
17
+ diagnoses?: DiagnosisCreate.Raw[] | null;
18
+ interventions?: Intervention.Raw[] | null;
19
+ external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
20
+ service_lines?: ServiceLineCreate.Raw[] | null;
21
+ patient_histories?: PatientHistoryCategory.Raw[] | null;
22
+ billing_notes?: BillingNote.Raw[] | null;
23
+ }
24
+ }
@@ -0,0 +1,47 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChargeCaptureData = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const DiagnosisCreate_1 = require("../../../../diagnoses/types/DiagnosisCreate");
32
+ const Intervention_1 = require("../../../../encounters/resources/v4/types/Intervention");
33
+ const ExternalClaimSubmissionCreate_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
34
+ const ServiceLineCreate_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreate");
35
+ const PatientHistoryCategory_1 = require("../../../../encounters/resources/v4/types/PatientHistoryCategory");
36
+ const BillingNote_1 = require("../../../../billingNotes/resources/v2/types/BillingNote");
37
+ const EncounterOptional_1 = require("../../../../encounters/resources/v4/types/EncounterOptional");
38
+ exports.ChargeCaptureData = core.serialization
39
+ .object({
40
+ diagnoses: core.serialization.list(DiagnosisCreate_1.DiagnosisCreate).optional(),
41
+ interventions: core.serialization.list(Intervention_1.Intervention).optional(),
42
+ externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
43
+ serviceLines: core.serialization.property("service_lines", core.serialization.list(ServiceLineCreate_1.ServiceLineCreate).optional()),
44
+ patientHistories: core.serialization.property("patient_histories", core.serialization.list(PatientHistoryCategory_1.PatientHistoryCategory).optional()),
45
+ billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNote_1.BillingNote).optional()),
46
+ })
47
+ .extend(EncounterOptional_1.EncounterOptional);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ChargeCapture } from "./ChargeCapture";
8
+ import { ResourcePage } from "../../../../commons/types/ResourcePage";
9
+ export declare const ChargeCapturePage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapturePage.Raw, CandidApi.chargeCapture.v1.ChargeCapturePage>;
10
+ export declare namespace ChargeCapturePage {
11
+ interface Raw extends ResourcePage.Raw {
12
+ items: ChargeCapture.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,37 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChargeCapturePage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const ChargeCapture_1 = require("./ChargeCapture");
32
+ const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
33
+ exports.ChargeCapturePage = core.serialization
34
+ .object({
35
+ items: core.serialization.list(ChargeCapture_1.ChargeCapture),
36
+ })
37
+ .extend(ResourcePage_1.ResourcePage);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ChargeCaptureStatus: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureStatus.Raw, CandidApi.chargeCapture.v1.ChargeCaptureStatus>;
8
+ export declare namespace ChargeCaptureStatus {
9
+ type Raw = "planned" | "not-billable" | "billable" | "aborted" | "billed" | "entered-in-error" | "unknown";
10
+ }
@@ -0,0 +1,39 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChargeCaptureStatus = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.ChargeCaptureStatus = core.serialization.enum_([
32
+ "planned",
33
+ "not-billable",
34
+ "billable",
35
+ "aborted",
36
+ "billed",
37
+ "entered-in-error",
38
+ "unknown",
39
+ ]);
@@ -0,0 +1,4 @@
1
+ export * from "./ChargeCapturePage";
2
+ export * from "./ChargeCapture";
3
+ export * from "./ChargeCaptureData";
4
+ export * from "./ChargeCaptureStatus";
@@ -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("./ChargeCapturePage"), exports);
18
+ __exportStar(require("./ChargeCapture"), exports);
19
+ __exportStar(require("./ChargeCaptureData"), exports);
20
+ __exportStar(require("./ChargeCaptureStatus"), 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 BillingProviderCommercialLicenseType: core.serialization.Schema<serializers.BillingProviderCommercialLicenseType.Raw, CandidApi.BillingProviderCommercialLicenseType>;
8
+ export declare namespace BillingProviderCommercialLicenseType {
9
+ type Raw = "0" | "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I";
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.BillingProviderCommercialLicenseType = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.BillingProviderCommercialLicenseType = core.serialization.enum_(["0", "A", "B", "C", "D", "E", "F", "G", "H", "I"]);
@@ -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 ChargeCaptureId: core.serialization.Schema<serializers.ChargeCaptureId.Raw, CandidApi.ChargeCaptureId>;
8
+ export declare namespace ChargeCaptureId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChargeCaptureId = void 0;
30
+ const CandidApi = __importStar(require("../../../../api/index"));
31
+ const core = __importStar(require("../../../../core"));
32
+ exports.ChargeCaptureId = core.serialization.string().transform({
33
+ transform: CandidApi.ChargeCaptureId,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const NotImplementedErrorMessage: core.serialization.ObjectSchema<serializers.NotImplementedErrorMessage.Raw, CandidApi.NotImplementedErrorMessage>;
8
+ export declare namespace NotImplementedErrorMessage {
9
+ interface Raw {
10
+ message?: string | null;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NotImplementedErrorMessage = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.NotImplementedErrorMessage = core.serialization.object({
32
+ message: core.serialization.string().optional(),
33
+ });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
8
8
  export declare namespace ProcedureModifier {
9
- type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "XE";
9
+ type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "XE" | "XS";
10
10
  }
@@ -417,4 +417,5 @@ exports.ProcedureModifier = core.serialization.enum_([
417
417
  "V2",
418
418
  "V3",
419
419
  "XE",
420
+ "XS",
420
421
  ]);
@@ -1,4 +1,5 @@
1
1
  export * from "./EncounterId";
2
+ export * from "./ChargeCaptureId";
2
3
  export * from "./OrganizationId";
3
4
  export * from "./ClaimId";
4
5
  export * from "./PreEncounterPatientId";
@@ -55,8 +56,10 @@ export * from "./HttpServiceUnavailableErrorMessage";
55
56
  export * from "./RequestValidationError";
56
57
  export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
57
58
  export * from "./OrganizationNotAuthorizedErrorMessage";
59
+ export * from "./NotImplementedErrorMessage";
58
60
  export * from "./PhoneNumber";
59
61
  export * from "./PhoneNumberType";
60
62
  export * from "./Email";
61
63
  export * from "./DelayReasonCode";
62
64
  export * from "./IntendedSubmissionMedium";
65
+ export * from "./BillingProviderCommercialLicenseType";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./EncounterId"), exports);
18
+ __exportStar(require("./ChargeCaptureId"), exports);
18
19
  __exportStar(require("./OrganizationId"), exports);
19
20
  __exportStar(require("./ClaimId"), exports);
20
21
  __exportStar(require("./PreEncounterPatientId"), exports);
@@ -71,8 +72,10 @@ __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
71
72
  __exportStar(require("./RequestValidationError"), exports);
72
73
  __exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
73
74
  __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
75
+ __exportStar(require("./NotImplementedErrorMessage"), exports);
74
76
  __exportStar(require("./PhoneNumber"), exports);
75
77
  __exportStar(require("./PhoneNumberType"), exports);
76
78
  __exportStar(require("./Email"), exports);
77
79
  __exportStar(require("./DelayReasonCode"), exports);
78
80
  __exportStar(require("./IntendedSubmissionMedium"), exports);
81
+ __exportStar(require("./BillingProviderCommercialLicenseType"), exports);
@@ -5,11 +5,16 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
8
+ import { ContractInvalidExpirationDateError } from "../types/ContractInvalidExpirationDateError";
8
9
  export declare const Error: core.serialization.Schema<serializers.contracts.v2.update.Error.Raw, CandidApi.contracts.v2.update.Error>;
9
10
  export declare namespace Error {
10
- type Raw = Error.UnprocessableEntityError;
11
+ type Raw = Error.UnprocessableEntityError | Error.ContractInvalidExpirationDateHttpError;
11
12
  interface UnprocessableEntityError {
12
13
  errorName: "UnprocessableEntityError";
13
14
  content: UnprocessableEntityErrorMessage.Raw;
14
15
  }
16
+ interface ContractInvalidExpirationDateHttpError {
17
+ errorName: "ContractInvalidExpirationDateHttpError";
18
+ content: ContractInvalidExpirationDateError.Raw;
19
+ }
15
20
  }
@@ -41,17 +41,23 @@ exports.Error = void 0;
41
41
  const CandidApi = __importStar(require("../../../../../../api/index"));
42
42
  const core = __importStar(require("../../../../../../core"));
43
43
  const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
44
+ const ContractInvalidExpirationDateError_1 = require("../types/ContractInvalidExpirationDateError");
44
45
  exports.Error = core.serialization
45
46
  .union("errorName", {
46
47
  UnprocessableEntityError: core.serialization.object({
47
48
  content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
48
49
  }),
50
+ ContractInvalidExpirationDateHttpError: core.serialization.object({
51
+ content: ContractInvalidExpirationDateError_1.ContractInvalidExpirationDateError,
52
+ }),
49
53
  })
50
54
  .transform({
51
55
  transform: (value) => {
52
56
  switch (value.errorName) {
53
57
  case "UnprocessableEntityError":
54
58
  return CandidApi.contracts.v2.update.Error.unprocessableEntityError(value.content);
59
+ case "ContractInvalidExpirationDateHttpError":
60
+ return CandidApi.contracts.v2.update.Error.contractInvalidExpirationDateHttpError(value.content);
55
61
  }
56
62
  },
57
63
  untransform: (_a) => {
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ContractInvalidExpirationDateError: core.serialization.ObjectSchema<serializers.contracts.v2.ContractInvalidExpirationDateError.Raw, CandidApi.contracts.v2.ContractInvalidExpirationDateError>;
8
+ export declare namespace ContractInvalidExpirationDateError {
9
+ interface Raw {
10
+ message: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ContractInvalidExpirationDateError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.ContractInvalidExpirationDateError = core.serialization.object({
32
+ message: core.serialization.string(),
33
+ });
@@ -1,4 +1,5 @@
1
1
  export * from "./ContractIsLinkedToFeeScheduleError";
2
+ export * from "./ContractInvalidExpirationDateError";
2
3
  export * from "./ContractId";
3
4
  export * from "./ContractingProviderId";
4
5
  export * from "./RenderingProviderid";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ContractIsLinkedToFeeScheduleError"), exports);
18
+ __exportStar(require("./ContractInvalidExpirationDateError"), exports);
18
19
  __exportStar(require("./ContractId"), exports);
19
20
  __exportStar(require("./ContractingProviderId"), exports);
20
21
  __exportStar(require("./RenderingProviderid"), exports);
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
8
+ import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
8
9
  import { EncounterProviderBase } from "./EncounterProviderBase";
9
10
  export declare const BillingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProvider.Raw, CandidApi.encounterProviders.v2.BillingProvider>;
10
11
  export declare namespace BillingProvider {
@@ -13,5 +14,6 @@ export declare namespace BillingProvider {
13
14
  tax_id: string;
14
15
  npi: string;
15
16
  taxonomy_code?: string | null;
17
+ provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
18
  }
17
19
  }
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.BillingProvider = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
32
+ const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
32
33
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
33
34
  exports.BillingProvider = core.serialization
34
35
  .object({
@@ -36,5 +37,6 @@ exports.BillingProvider = core.serialization
36
37
  taxId: core.serialization.property("tax_id", core.serialization.string()),
37
38
  npi: core.serialization.string(),
38
39
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
40
+ providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
39
41
  })
40
42
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
8
+ import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
8
9
  import { EncounterProviderBase } from "./EncounterProviderBase";
9
10
  export declare const BillingProviderUpdate: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdate.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdate>;
10
11
  export declare namespace BillingProviderUpdate {
@@ -13,5 +14,6 @@ export declare namespace BillingProviderUpdate {
13
14
  tax_id?: string | null;
14
15
  npi?: string | null;
15
16
  taxonomy_code?: string | null;
17
+ provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
18
  }
17
19
  }