candidhealth 0.12.0 → 0.13.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 (361) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +33 -28
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
  6. package/api/resources/commons/types/RegionNational.d.ts +5 -0
  7. package/api/resources/commons/types/RegionNational.js +5 -0
  8. package/api/resources/commons/types/RegionStates.d.ts +7 -0
  9. package/api/resources/commons/types/RegionStates.js +5 -0
  10. package/api/resources/commons/types/Regions.d.ts +13 -0
  11. package/api/resources/commons/types/Regions.js +5 -0
  12. package/api/resources/commons/types/index.d.ts +3 -0
  13. package/api/resources/commons/types/index.js +3 -0
  14. package/api/resources/contracts/client/Client.d.ts +18 -0
  15. package/api/resources/contracts/client/Client.js +18 -0
  16. package/api/resources/contracts/client/index.d.ts +1 -0
  17. package/api/resources/contracts/client/index.js +2 -0
  18. package/api/resources/contracts/index.d.ts +2 -1
  19. package/api/resources/contracts/index.js +2 -1
  20. package/api/resources/contracts/resources/index.d.ts +1 -0
  21. package/api/resources/contracts/resources/index.js +27 -0
  22. package/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
  23. package/api/resources/contracts/resources/v2/client/Client.js +274 -0
  24. package/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
  25. package/api/resources/contracts/resources/v2/client/create.js +47 -0
  26. package/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
  27. package/api/resources/contracts/resources/v2/client/delete.js +47 -0
  28. package/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
  29. package/api/resources/contracts/resources/v2/client/get.js +58 -0
  30. package/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
  31. package/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
  32. package/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
  33. package/api/resources/contracts/resources/v2/client/index.js +35 -0
  34. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
  35. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
  36. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
  37. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
  38. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
  39. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
  40. package/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
  41. package/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
  42. package/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
  43. package/api/resources/contracts/resources/v2/client/update.js +58 -0
  44. package/api/resources/contracts/resources/v2/index.d.ts +2 -0
  45. package/{dist/api/resources/contracts/types → api/resources/contracts/resources/v2}/index.js +2 -1
  46. package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
  47. package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
  48. package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
  49. package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
  50. package/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
  51. package/api/resources/contracts/resources/v2/types/Contract.js +5 -0
  52. package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
  53. package/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
  54. package/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
  55. package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
  56. package/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
  57. package/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
  58. package/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
  59. package/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
  60. package/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
  61. package/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
  62. package/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
  63. package/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
  64. package/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
  65. package/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
  66. package/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
  67. package/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
  68. package/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
  69. package/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
  70. package/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
  71. package/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
  72. package/api/resources/contracts/resources/v2/types/index.js +29 -0
  73. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  74. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  75. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  76. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  77. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  78. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  79. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  80. package/api/resources/index.d.ts +1 -2
  81. package/api/resources/index.js +2 -3
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  83. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  84. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  85. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  86. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  87. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +4 -4
  88. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
  89. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
  90. package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
  91. package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
  92. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
  93. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
  94. package/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  95. package/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
  96. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  97. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  98. package/api/resources/patientPayments/resources/v4/client/Client.js +4 -4
  99. package/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
  100. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  101. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  102. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  103. package/dist/Client.d.ts +3 -0
  104. package/dist/Client.js +33 -28
  105. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  106. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  107. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
  108. package/dist/api/resources/commons/types/RegionNational.d.ts +5 -0
  109. package/dist/api/resources/commons/types/RegionNational.js +5 -0
  110. package/dist/api/resources/commons/types/RegionStates.d.ts +7 -0
  111. package/dist/api/resources/commons/types/RegionStates.js +5 -0
  112. package/dist/api/resources/commons/types/Regions.d.ts +13 -0
  113. package/dist/api/resources/commons/types/Regions.js +5 -0
  114. package/dist/api/resources/commons/types/index.d.ts +3 -0
  115. package/dist/api/resources/commons/types/index.js +3 -0
  116. package/dist/api/resources/contracts/client/Client.d.ts +18 -0
  117. package/dist/api/resources/contracts/client/Client.js +18 -0
  118. package/dist/api/resources/contracts/client/index.d.ts +1 -0
  119. package/dist/api/resources/contracts/client/index.js +2 -0
  120. package/dist/api/resources/contracts/index.d.ts +2 -1
  121. package/dist/api/resources/contracts/index.js +2 -1
  122. package/dist/api/resources/contracts/resources/index.d.ts +1 -0
  123. package/dist/api/resources/contracts/resources/index.js +27 -0
  124. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
  125. package/dist/api/resources/contracts/resources/v2/client/Client.js +274 -0
  126. package/dist/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
  127. package/dist/api/resources/contracts/resources/v2/client/create.js +47 -0
  128. package/dist/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
  129. package/dist/api/resources/contracts/resources/v2/client/delete.js +47 -0
  130. package/dist/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
  131. package/dist/api/resources/contracts/resources/v2/client/get.js +58 -0
  132. package/dist/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
  133. package/dist/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
  134. package/dist/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
  135. package/dist/api/resources/contracts/resources/v2/client/index.js +35 -0
  136. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
  137. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
  138. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
  139. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
  140. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
  141. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
  142. package/dist/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
  143. package/dist/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
  144. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
  145. package/dist/api/resources/contracts/resources/v2/client/update.js +58 -0
  146. package/dist/api/resources/contracts/resources/v2/index.d.ts +2 -0
  147. package/{serialization/resources/contracts/types → dist/api/resources/contracts/resources/v2}/index.js +2 -1
  148. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
  149. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
  150. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
  151. package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
  152. package/dist/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
  153. package/dist/api/resources/contracts/resources/v2/types/Contract.js +5 -0
  154. package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
  155. package/dist/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
  156. package/dist/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
  157. package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
  158. package/dist/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
  159. package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
  160. package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
  161. package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
  162. package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
  163. package/dist/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
  164. package/dist/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
  165. package/dist/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
  166. package/dist/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
  167. package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
  168. package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
  169. package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
  170. package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
  171. package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
  172. package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
  173. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
  174. package/dist/api/resources/contracts/resources/v2/types/index.js +29 -0
  175. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  176. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  177. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  178. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  179. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  180. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  181. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  182. package/dist/api/resources/index.d.ts +1 -2
  183. package/dist/api/resources/index.js +2 -3
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  186. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  187. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  188. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  189. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +4 -4
  190. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
  191. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
  192. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
  193. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
  194. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
  195. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
  196. package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  197. package/dist/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
  198. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  199. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  200. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +4 -4
  201. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
  202. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  203. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  204. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  205. package/dist/serialization/resources/{contracts/types/ContractId.d.ts → commons/types/RegionNational.d.ts} +4 -3
  206. package/dist/serialization/resources/commons/types/RegionNational.js +31 -0
  207. package/dist/serialization/resources/commons/types/RegionStates.d.ts +12 -0
  208. package/dist/serialization/resources/commons/types/RegionStates.js +33 -0
  209. package/dist/serialization/resources/commons/types/Regions.d.ts +16 -0
  210. package/dist/serialization/resources/commons/types/Regions.js +39 -0
  211. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  212. package/dist/serialization/resources/commons/types/index.js +3 -0
  213. package/dist/serialization/resources/contracts/index.d.ts +1 -1
  214. package/dist/serialization/resources/contracts/index.js +1 -1
  215. package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
  216. package/dist/serialization/resources/contracts/resources/index.js +27 -0
  217. package/dist/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
  218. package/dist/serialization/resources/contracts/resources/v2/client/get.js +46 -0
  219. package/dist/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
  220. package/dist/serialization/resources/contracts/resources/v2/client/index.js +32 -0
  221. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
  222. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
  223. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
  224. package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
  225. package/dist/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
  226. package/dist/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
  227. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
  228. package/dist/serialization/resources/contracts/resources/v2/client/update.js +46 -0
  229. package/dist/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
  230. package/dist/serialization/resources/contracts/{types → resources/v2}/index.js +2 -1
  231. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
  232. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
  233. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
  234. package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
  235. package/dist/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
  236. package/dist/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
  237. package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
  238. package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
  239. package/dist/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
  240. package/dist/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
  241. package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
  242. package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
  243. package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
  244. package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
  245. package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
  246. package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
  247. package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
  248. package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
  249. package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
  250. package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
  251. package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
  252. package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
  253. package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
  254. package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
  255. package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
  256. package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
  257. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
  258. package/dist/serialization/resources/contracts/resources/v2/types/index.js +29 -0
  259. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  260. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
  261. package/dist/serialization/resources/index.d.ts +1 -2
  262. package/dist/serialization/resources/index.js +2 -3
  263. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  264. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
  265. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  266. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
  267. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  268. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  269. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  270. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  271. package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
  272. package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
  273. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
  274. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
  275. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
  276. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
  277. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  278. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
  279. package/package.json +1 -1
  280. package/serialization/resources/{contracts/types/ContractId.d.ts → commons/types/RegionNational.d.ts} +4 -3
  281. package/serialization/resources/commons/types/RegionNational.js +31 -0
  282. package/serialization/resources/commons/types/RegionStates.d.ts +12 -0
  283. package/serialization/resources/commons/types/RegionStates.js +33 -0
  284. package/serialization/resources/commons/types/Regions.d.ts +16 -0
  285. package/serialization/resources/commons/types/Regions.js +39 -0
  286. package/serialization/resources/commons/types/index.d.ts +3 -0
  287. package/serialization/resources/commons/types/index.js +3 -0
  288. package/serialization/resources/contracts/index.d.ts +1 -1
  289. package/serialization/resources/contracts/index.js +1 -1
  290. package/serialization/resources/contracts/resources/index.d.ts +1 -0
  291. package/serialization/resources/contracts/resources/index.js +27 -0
  292. package/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
  293. package/serialization/resources/contracts/resources/v2/client/get.js +46 -0
  294. package/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
  295. package/serialization/resources/contracts/resources/v2/client/index.js +32 -0
  296. package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
  297. package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
  298. package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
  299. package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
  300. package/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
  301. package/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
  302. package/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
  303. package/serialization/resources/contracts/resources/v2/client/update.js +46 -0
  304. package/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
  305. package/{api/resources/contracts/types → serialization/resources/contracts/resources/v2}/index.js +2 -1
  306. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
  307. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
  308. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
  309. package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
  310. package/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
  311. package/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
  312. package/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
  313. package/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
  314. package/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
  315. package/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
  316. package/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
  317. package/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
  318. package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
  319. package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
  320. package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
  321. package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
  322. package/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
  323. package/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
  324. package/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
  325. package/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
  326. package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
  327. package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
  328. package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
  329. package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
  330. package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
  331. package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
  332. package/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
  333. package/serialization/resources/contracts/resources/v2/types/index.js +29 -0
  334. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
  335. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
  336. package/serialization/resources/index.d.ts +1 -2
  337. package/serialization/resources/index.js +2 -3
  338. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
  339. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
  340. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
  341. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
  342. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  343. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  344. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  345. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  346. package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
  347. package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
  348. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
  349. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
  350. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
  351. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
  352. package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
  353. package/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
  354. package/api/resources/contracts/types/ContractId.d.ts +0 -8
  355. package/api/resources/contracts/types/index.d.ts +0 -1
  356. package/dist/api/resources/contracts/types/ContractId.d.ts +0 -8
  357. package/dist/api/resources/contracts/types/index.d.ts +0 -1
  358. package/dist/serialization/resources/contracts/types/index.d.ts +0 -1
  359. package/serialization/resources/contracts/types/index.d.ts +0 -1
  360. /package/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
  361. /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.12.0",
52
+ "X-Fern-SDK-Version": "0.13.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -115,7 +115,7 @@ class V3 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.12.0",
118
+ "X-Fern-SDK-Version": "0.13.0",
119
119
  },
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
@@ -145,7 +145,7 @@ class V3 {
145
145
  Authorization: await this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "candidhealth",
148
- "X-Fern-SDK-Version": "0.12.0",
148
+ "X-Fern-SDK-Version": "0.13.0",
149
149
  },
150
150
  contentType: "application/json",
151
151
  body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V3 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.12.0",
195
+ "X-Fern-SDK-Version": "0.13.0",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V2 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.12.0",
52
+ "X-Fern-SDK-Version": "0.13.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -103,7 +103,7 @@ class V2 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.12.0",
106
+ "X-Fern-SDK-Version": "0.13.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V2 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.12.0",
136
+ "X-Fern-SDK-Version": "0.13.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class V2 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.12.0",
180
+ "X-Fern-SDK-Version": "0.13.0",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -222,7 +222,7 @@ class V2 {
222
222
  Authorization: await this._getAuthorizationHeader(),
223
223
  "X-Fern-Language": "JavaScript",
224
224
  "X-Fern-SDK-Name": "candidhealth",
225
- "X-Fern-SDK-Version": "0.12.0",
225
+ "X-Fern-SDK-Version": "0.13.0",
226
226
  },
227
227
  contentType: "application/json",
228
228
  timeoutMs: 60000,
@@ -93,7 +93,7 @@ class V4 {
93
93
  Authorization: await this._getAuthorizationHeader(),
94
94
  "X-Fern-Language": "JavaScript",
95
95
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.12.0",
96
+ "X-Fern-SDK-Version": "0.13.0",
97
97
  },
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
@@ -127,7 +127,7 @@ class V4 {
127
127
  Authorization: await this._getAuthorizationHeader(),
128
128
  "X-Fern-Language": "JavaScript",
129
129
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.12.0",
130
+ "X-Fern-SDK-Version": "0.13.0",
131
131
  },
132
132
  contentType: "application/json",
133
133
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V4 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.12.0",
165
+ "X-Fern-SDK-Version": "0.13.0",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -198,7 +198,7 @@ class V4 {
198
198
  Authorization: await this._getAuthorizationHeader(),
199
199
  "X-Fern-Language": "JavaScript",
200
200
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.12.0",
201
+ "X-Fern-SDK-Version": "0.13.0",
202
202
  },
203
203
  contentType: "application/json",
204
204
  timeoutMs: 60000,
@@ -93,7 +93,7 @@ class V1 {
93
93
  Authorization: await this._getAuthorizationHeader(),
94
94
  "X-Fern-Language": "JavaScript",
95
95
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.12.0",
96
+ "X-Fern-SDK-Version": "0.13.0",
97
97
  },
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
@@ -127,7 +127,7 @@ class V1 {
127
127
  Authorization: await this._getAuthorizationHeader(),
128
128
  "X-Fern-Language": "JavaScript",
129
129
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.12.0",
130
+ "X-Fern-SDK-Version": "0.13.0",
131
131
  },
132
132
  contentType: "application/json",
133
133
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V1 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.12.0",
165
+ "X-Fern-SDK-Version": "0.13.0",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -198,7 +198,7 @@ class V1 {
198
198
  Authorization: await this._getAuthorizationHeader(),
199
199
  "X-Fern-Language": "JavaScript",
200
200
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.12.0",
201
+ "X-Fern-SDK-Version": "0.13.0",
202
202
  },
203
203
  contentType: "application/json",
204
204
  timeoutMs: 60000,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.12.0",
52
+ "X-Fern-SDK-Version": "0.13.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -89,7 +89,7 @@ class V3 {
89
89
  Authorization: await this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.12.0",
92
+ "X-Fern-SDK-Version": "0.13.0",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.12.0",
52
+ "X-Fern-SDK-Version": "0.13.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.12.0",
122
+ "X-Fern-SDK-Version": "0.13.0",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.12.0",
166
+ "X-Fern-SDK-Version": "0.13.0",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.12.0",
210
+ "X-Fern-SDK-Version": "0.13.0",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.12.0",
240
+ "X-Fern-SDK-Version": "0.13.0",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -74,7 +74,7 @@ class V1 {
74
74
  Authorization: await this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "candidhealth",
77
- "X-Fern-SDK-Version": "0.12.0",
77
+ "X-Fern-SDK-Version": "0.13.0",
78
78
  },
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
@@ -108,7 +108,7 @@ class V1 {
108
108
  Authorization: await this._getAuthorizationHeader(),
109
109
  "X-Fern-Language": "JavaScript",
110
110
  "X-Fern-SDK-Name": "candidhealth",
111
- "X-Fern-SDK-Version": "0.12.0",
111
+ "X-Fern-SDK-Version": "0.13.0",
112
112
  },
113
113
  contentType: "application/json",
114
114
  timeoutMs: 60000,
@@ -143,7 +143,7 @@ class V1 {
143
143
  Authorization: await this._getAuthorizationHeader(),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "candidhealth",
146
- "X-Fern-SDK-Version": "0.12.0",
146
+ "X-Fern-SDK-Version": "0.13.0",
147
147
  },
148
148
  contentType: "application/json",
149
149
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -179,7 +179,7 @@ class V1 {
179
179
  Authorization: await this._getAuthorizationHeader(),
180
180
  "X-Fern-Language": "JavaScript",
181
181
  "X-Fern-SDK-Name": "candidhealth",
182
- "X-Fern-SDK-Version": "0.12.0",
182
+ "X-Fern-SDK-Version": "0.13.0",
183
183
  },
184
184
  contentType: "application/json",
185
185
  timeoutMs: 60000,
package/dist/Client.d.ts CHANGED
@@ -5,6 +5,7 @@ import * as environments from "./environments";
5
5
  import * as core from "./core";
6
6
  import { Auth } from "./api/resources/auth/client/Client";
7
7
  import { BillingNotes } from "./api/resources/billingNotes/client/Client";
8
+ import { Contracts } from "./api/resources/contracts/client/Client";
8
9
  import { Eligibility } from "./api/resources/eligibility/client/Client";
9
10
  import { Encounters } from "./api/resources/encounters/client/Client";
10
11
  import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
@@ -32,6 +33,8 @@ export declare class CandidApiClient {
32
33
  get auth(): Auth;
33
34
  protected _billingNotes: BillingNotes | undefined;
34
35
  get billingNotes(): BillingNotes;
36
+ protected _contracts: Contracts | undefined;
37
+ get contracts(): Contracts;
35
38
  protected _eligibility: Eligibility | undefined;
36
39
  get eligibility(): Eligibility;
37
40
  protected _encounters: Encounters | undefined;
package/dist/Client.js CHANGED
@@ -6,20 +6,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CandidApiClient = void 0;
7
7
  const Client_1 = require("./api/resources/auth/client/Client");
8
8
  const Client_2 = require("./api/resources/billingNotes/client/Client");
9
- const Client_3 = require("./api/resources/eligibility/client/Client");
10
- const Client_4 = require("./api/resources/encounters/client/Client");
11
- const Client_5 = require("./api/resources/expectedNetworkStatus/client/Client");
12
- const Client_6 = require("./api/resources/exports/client/Client");
13
- const Client_7 = require("./api/resources/guarantor/client/Client");
14
- const Client_8 = require("./api/resources/insuranceAdjudications/client/Client");
15
- const Client_9 = require("./api/resources/insuranceRefunds/client/Client");
16
- const Client_10 = require("./api/resources/organizationServiceFacilities/client/Client");
17
- const Client_11 = require("./api/resources/organizationProviders/client/Client");
18
- const Client_12 = require("./api/resources/patientPayments/client/Client");
19
- const Client_13 = require("./api/resources/patientRefunds/client/Client");
20
- const Client_14 = require("./api/resources/payers/client/Client");
21
- const Client_15 = require("./api/resources/tasks/client/Client");
22
- const Client_16 = require("./api/resources/writeOffs/client/Client");
9
+ const Client_3 = require("./api/resources/contracts/client/Client");
10
+ const Client_4 = require("./api/resources/eligibility/client/Client");
11
+ const Client_5 = require("./api/resources/encounters/client/Client");
12
+ const Client_6 = require("./api/resources/expectedNetworkStatus/client/Client");
13
+ const Client_7 = require("./api/resources/exports/client/Client");
14
+ const Client_8 = require("./api/resources/guarantor/client/Client");
15
+ const Client_9 = require("./api/resources/insuranceAdjudications/client/Client");
16
+ const Client_10 = require("./api/resources/insuranceRefunds/client/Client");
17
+ const Client_11 = require("./api/resources/organizationServiceFacilities/client/Client");
18
+ const Client_12 = require("./api/resources/organizationProviders/client/Client");
19
+ const Client_13 = require("./api/resources/patientPayments/client/Client");
20
+ const Client_14 = require("./api/resources/patientRefunds/client/Client");
21
+ const Client_15 = require("./api/resources/payers/client/Client");
22
+ const Client_16 = require("./api/resources/tasks/client/Client");
23
+ const Client_17 = require("./api/resources/writeOffs/client/Client");
23
24
  class CandidApiClient {
24
25
  options;
25
26
  constructor(options) {
@@ -33,61 +34,65 @@ class CandidApiClient {
33
34
  get billingNotes() {
34
35
  return (this._billingNotes ??= new Client_2.BillingNotes(this.options));
35
36
  }
37
+ _contracts;
38
+ get contracts() {
39
+ return (this._contracts ??= new Client_3.Contracts(this.options));
40
+ }
36
41
  _eligibility;
37
42
  get eligibility() {
38
- return (this._eligibility ??= new Client_3.Eligibility(this.options));
43
+ return (this._eligibility ??= new Client_4.Eligibility(this.options));
39
44
  }
40
45
  _encounters;
41
46
  get encounters() {
42
- return (this._encounters ??= new Client_4.Encounters(this.options));
47
+ return (this._encounters ??= new Client_5.Encounters(this.options));
43
48
  }
44
49
  _expectedNetworkStatus;
45
50
  get expectedNetworkStatus() {
46
- return (this._expectedNetworkStatus ??= new Client_5.ExpectedNetworkStatus(this.options));
51
+ return (this._expectedNetworkStatus ??= new Client_6.ExpectedNetworkStatus(this.options));
47
52
  }
48
53
  _exports;
49
54
  get exports() {
50
- return (this._exports ??= new Client_6.Exports(this.options));
55
+ return (this._exports ??= new Client_7.Exports(this.options));
51
56
  }
52
57
  _guarantor;
53
58
  get guarantor() {
54
- return (this._guarantor ??= new Client_7.Guarantor(this.options));
59
+ return (this._guarantor ??= new Client_8.Guarantor(this.options));
55
60
  }
56
61
  _insuranceAdjudications;
57
62
  get insuranceAdjudications() {
58
- return (this._insuranceAdjudications ??= new Client_8.InsuranceAdjudications(this.options));
63
+ return (this._insuranceAdjudications ??= new Client_9.InsuranceAdjudications(this.options));
59
64
  }
60
65
  _insuranceRefunds;
61
66
  get insuranceRefunds() {
62
- return (this._insuranceRefunds ??= new Client_9.InsuranceRefunds(this.options));
67
+ return (this._insuranceRefunds ??= new Client_10.InsuranceRefunds(this.options));
63
68
  }
64
69
  _organizationServiceFacilities;
65
70
  get organizationServiceFacilities() {
66
- return (this._organizationServiceFacilities ??= new Client_10.OrganizationServiceFacilities(this.options));
71
+ return (this._organizationServiceFacilities ??= new Client_11.OrganizationServiceFacilities(this.options));
67
72
  }
68
73
  _organizationProviders;
69
74
  get organizationProviders() {
70
- return (this._organizationProviders ??= new Client_11.OrganizationProviders(this.options));
75
+ return (this._organizationProviders ??= new Client_12.OrganizationProviders(this.options));
71
76
  }
72
77
  _patientPayments;
73
78
  get patientPayments() {
74
- return (this._patientPayments ??= new Client_12.PatientPayments(this.options));
79
+ return (this._patientPayments ??= new Client_13.PatientPayments(this.options));
75
80
  }
76
81
  _patientRefunds;
77
82
  get patientRefunds() {
78
- return (this._patientRefunds ??= new Client_13.PatientRefunds(this.options));
83
+ return (this._patientRefunds ??= new Client_14.PatientRefunds(this.options));
79
84
  }
80
85
  _payers;
81
86
  get payers() {
82
- return (this._payers ??= new Client_14.Payers(this.options));
87
+ return (this._payers ??= new Client_15.Payers(this.options));
83
88
  }
84
89
  _tasks;
85
90
  get tasks() {
86
- return (this._tasks ??= new Client_15.Tasks(this.options));
91
+ return (this._tasks ??= new Client_16.Tasks(this.options));
87
92
  }
88
93
  _writeOffs;
89
94
  get writeOffs() {
90
- return (this._writeOffs ??= new Client_16.WriteOffs(this.options));
95
+ return (this._writeOffs ??= new Client_17.WriteOffs(this.options));
91
96
  }
92
97
  }
93
98
  exports.CandidApiClient = CandidApiClient;
@@ -62,7 +62,7 @@ class V2 {
62
62
  Authorization: await this._getAuthorizationHeader(),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "candidhealth",
65
- "X-Fern-SDK-Version": "0.12.0",
65
+ "X-Fern-SDK-Version": "0.13.0",
66
66
  },
67
67
  contentType: "application/json",
68
68
  body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
@@ -48,7 +48,7 @@ class V2 {
48
48
  Authorization: await this._getAuthorizationHeader(),
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "candidhealth",
51
- "X-Fern-SDK-Version": "0.12.0",
51
+ "X-Fern-SDK-Version": "0.13.0",
52
52
  },
53
53
  contentType: "application/json",
54
54
  body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -21,14 +21,18 @@ import * as CandidApi from "../../../../..";
21
21
  * @example
22
22
  * {
23
23
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
24
- * patientControlNumber: "PATIENT_CONTROL_NUMBER",
24
+ * patientControlNumber: "123XYZABC",
25
25
  * submissionRecords: []
26
26
  * }
27
27
  */
28
28
  export interface ExternalClaimSubmissionCreate {
29
29
  /** When the claim was created in the external system. */
30
30
  claimCreatedAt: Date;
31
- /** The Patient Control Number sent on the claim to the payer. */
31
+ /**
32
+ * The Patient Control Number sent on the claim to the payer. To guarantee compatibility with all payers, this field must consist
33
+ * only of uppercase letters and numbers and be no more than 14 characters long.
34
+ *
35
+ */
32
36
  patientControlNumber: string;
33
37
  /**
34
38
  * A successful claim submission record will be created for each value provided.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RegionNational {
5
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export interface RegionStates {
6
+ states: CandidApi.State[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../..";
5
+ export declare type Regions = CandidApi.Regions.States | CandidApi.Regions.National;
6
+ export declare namespace Regions {
7
+ interface States extends CandidApi.RegionStates {
8
+ type: "states";
9
+ }
10
+ interface National extends CandidApi.RegionNational {
11
+ type: "national";
12
+ }
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,6 +24,9 @@ export * from "./ResourcePage";
24
24
  export * from "./StreetAddressBase";
25
25
  export * from "./StreetAddressShortZip";
26
26
  export * from "./StreetAddressLongZip";
27
+ export * from "./Regions";
28
+ export * from "./RegionStates";
29
+ export * from "./RegionNational";
27
30
  export * from "./State";
28
31
  export * from "./SourceOfPaymentCode";
29
32
  export * from "./FacilityTypeCode";
@@ -40,6 +40,9 @@ __exportStar(require("./ResourcePage"), exports);
40
40
  __exportStar(require("./StreetAddressBase"), exports);
41
41
  __exportStar(require("./StreetAddressShortZip"), exports);
42
42
  __exportStar(require("./StreetAddressLongZip"), exports);
43
+ __exportStar(require("./Regions"), exports);
44
+ __exportStar(require("./RegionStates"), exports);
45
+ __exportStar(require("./RegionNational"), exports);
43
46
  __exportStar(require("./State"), exports);
44
47
  __exportStar(require("./SourceOfPaymentCode"), exports);
45
48
  __exportStar(require("./FacilityTypeCode"), exports);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ import { V2 } from "../resources/v2/client/Client";
7
+ export declare namespace Contracts {
8
+ interface Options {
9
+ environment?: environments.CandidApiEnvironment | string;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ }
13
+ export declare class Contracts {
14
+ protected readonly options: Contracts.Options;
15
+ constructor(options: Contracts.Options);
16
+ protected _v2: V2 | undefined;
17
+ get v2(): V2;
18
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Contracts = void 0;
7
+ const Client_1 = require("../resources/v2/client/Client");
8
+ class Contracts {
9
+ options;
10
+ constructor(options) {
11
+ this.options = options;
12
+ }
13
+ _v2;
14
+ get v2() {
15
+ return (this._v2 ??= new Client_1.V2(this.options));
16
+ }
17
+ }
18
+ exports.Contracts = Contracts;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export * from "./types";
1
+ export * from "./resources";
2
+ export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
17
+ __exportStar(require("./resources"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1 @@
1
+ export * as v2 from "./v2";
@@ -0,0 +1,27 @@
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 (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v2 = void 0;
27
+ exports.v2 = __importStar(require("./v2"));
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as CandidApi from "../../../../..";
7
+ export declare namespace V2 {
8
+ interface Options {
9
+ environment?: environments.CandidApiEnvironment | string;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ }
13
+ export declare class V2 {
14
+ protected readonly options: V2.Options;
15
+ constructor(options: V2.Options);
16
+ get(contractId: CandidApi.contracts.v2.ContractId): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.get.Error>>;
17
+ getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest): Promise<core.APIResponse<CandidApi.contracts.v2.ContractsPage, CandidApi.contracts.v2.getMulti.Error>>;
18
+ /**
19
+ * Creates a new contract within the user's current organization
20
+ */
21
+ create(request: CandidApi.contracts.v2.ContractCreate): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.create.Error>>;
22
+ delete(contractId: CandidApi.contracts.v2.ContractId): Promise<core.APIResponse<void, CandidApi.contracts.v2.delete.Error>>;
23
+ update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.update.Error>>;
24
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
25
+ }