candidhealth 1.16.0 → 1.17.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 (316) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/contracts/client/Client.d.ts +3 -0
  3. package/api/resources/contracts/client/Client.js +5 -0
  4. package/api/resources/contracts/resources/index.d.ts +1 -0
  5. package/api/resources/contracts/resources/index.js +2 -1
  6. package/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
  7. package/api/resources/contracts/resources/v2/client/Client.js +4 -0
  8. package/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
  9. package/api/resources/contracts/resources/v3/client/Client.js +603 -0
  10. package/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
  11. package/api/resources/contracts/resources/v3/client/create.js +55 -0
  12. package/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
  13. package/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
  14. package/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
  15. package/api/resources/contracts/resources/v3/client/delete.js +66 -0
  16. package/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
  17. package/api/resources/contracts/resources/v3/client/get.js +66 -0
  18. package/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
  19. package/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
  20. package/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
  21. package/api/resources/contracts/resources/v3/client/index.js +47 -0
  22. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
  23. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
  24. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  25. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
  26. package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
  27. package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
  28. package/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
  29. package/api/resources/contracts/resources/v3/client/requests/index.js +2 -0
  30. package/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
  31. package/api/resources/contracts/resources/v3/client/update.js +77 -0
  32. package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
  33. package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
  34. package/api/resources/contracts/resources/v3/index.d.ts +2 -0
  35. package/api/resources/contracts/resources/v3/index.js +18 -0
  36. package/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
  37. package/api/resources/contracts/resources/v3/types/Contract.js +3 -0
  38. package/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
  39. package/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
  40. package/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
  41. package/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -0
  42. package/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
  43. package/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
  44. package/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
  45. package/api/resources/contracts/resources/v3/types/ContractId.js +7 -0
  46. package/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
  47. package/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
  48. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
  49. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
  50. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
  51. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
  52. package/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
  53. package/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
  54. package/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
  55. package/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
  56. package/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
  57. package/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
  58. package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
  59. package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
  60. package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
  61. package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
  62. package/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
  63. package/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
  64. package/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
  65. package/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
  66. package/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
  67. package/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
  68. package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
  69. package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
  70. package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
  71. package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
  72. package/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
  73. package/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
  74. package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
  75. package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
  76. package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
  77. package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
  78. package/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
  79. package/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
  80. package/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
  81. package/api/resources/contracts/resources/v3/types/index.js +38 -0
  82. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
  83. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
  84. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
  85. package/dist/Client.js +2 -2
  86. package/dist/api/resources/contracts/client/Client.d.ts +3 -0
  87. package/dist/api/resources/contracts/client/Client.js +5 -0
  88. package/dist/api/resources/contracts/resources/index.d.ts +1 -0
  89. package/dist/api/resources/contracts/resources/index.js +2 -1
  90. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
  91. package/dist/api/resources/contracts/resources/v2/client/Client.js +4 -0
  92. package/dist/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
  93. package/dist/api/resources/contracts/resources/v3/client/Client.js +603 -0
  94. package/dist/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
  95. package/dist/api/resources/contracts/resources/v3/client/create.js +55 -0
  96. package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
  97. package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
  98. package/dist/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
  99. package/dist/api/resources/contracts/resources/v3/client/delete.js +66 -0
  100. package/dist/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
  101. package/dist/api/resources/contracts/resources/v3/client/get.js +66 -0
  102. package/dist/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
  103. package/dist/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
  104. package/dist/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
  105. package/dist/api/resources/contracts/resources/v3/client/index.js +47 -0
  106. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
  107. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
  108. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  109. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
  110. package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
  111. package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
  112. package/dist/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
  113. package/dist/api/resources/contracts/resources/v3/client/requests/index.js +2 -0
  114. package/dist/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
  115. package/dist/api/resources/contracts/resources/v3/client/update.js +77 -0
  116. package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
  117. package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
  118. package/dist/api/resources/contracts/resources/v3/index.d.ts +2 -0
  119. package/dist/api/resources/contracts/resources/v3/index.js +18 -0
  120. package/dist/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
  121. package/dist/api/resources/contracts/resources/v3/types/Contract.js +3 -0
  122. package/dist/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
  123. package/dist/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
  124. package/dist/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
  125. package/dist/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -0
  126. package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
  127. package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
  128. package/dist/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
  129. package/dist/api/resources/contracts/resources/v3/types/ContractId.js +7 -0
  130. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
  131. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
  132. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
  133. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
  134. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
  135. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
  136. package/dist/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
  137. package/dist/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
  138. package/dist/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
  139. package/dist/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
  140. package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
  141. package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
  142. package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
  143. package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
  144. package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
  145. package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
  146. package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
  147. package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
  148. package/dist/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
  149. package/dist/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
  150. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
  151. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
  152. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
  153. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
  154. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
  155. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
  156. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
  157. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
  158. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
  159. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
  160. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
  161. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
  162. package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
  163. package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
  164. package/dist/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
  165. package/dist/api/resources/contracts/resources/v3/types/index.js +38 -0
  166. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
  167. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
  168. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
  169. package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
  170. package/dist/serialization/resources/contracts/resources/index.js +2 -1
  171. package/dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
  172. package/dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
  173. package/dist/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
  174. package/dist/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
  175. package/dist/serialization/resources/contracts/resources/v3/client/get.d.ts +12 -0
  176. package/dist/serialization/resources/contracts/resources/v3/client/get.js +69 -0
  177. package/dist/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
  178. package/dist/serialization/resources/contracts/resources/v3/client/index.js +45 -0
  179. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
  180. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
  181. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  182. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
  183. package/dist/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
  184. package/dist/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
  185. package/dist/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
  186. package/dist/serialization/resources/contracts/resources/v3/client/update.js +75 -0
  187. package/dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
  188. package/dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
  189. package/dist/serialization/resources/contracts/resources/v3/index.d.ts +2 -0
  190. package/dist/serialization/resources/contracts/resources/v3/index.js +18 -0
  191. package/dist/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
  192. package/dist/serialization/resources/contracts/resources/v3/types/Contract.js +50 -0
  193. package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
  194. package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
  195. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
  196. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
  197. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
  198. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
  199. package/dist/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
  200. package/dist/serialization/resources/contracts/resources/v3/types/ContractId.js +43 -0
  201. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
  202. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
  203. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
  204. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
  205. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
  206. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
  207. package/dist/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
  208. package/dist/serialization/resources/contracts/resources/v3/types/ContractType.js +39 -0
  209. package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
  210. package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
  211. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
  212. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
  213. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
  214. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
  215. package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
  216. package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
  217. package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
  218. package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
  219. package/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
  220. package/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.js +45 -0
  221. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
  222. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
  223. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
  224. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
  225. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
  226. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
  227. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
  228. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
  229. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
  230. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
  231. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
  232. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
  233. package/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
  234. package/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
  235. package/dist/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
  236. package/dist/serialization/resources/contracts/resources/v3/types/index.js +38 -0
  237. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
  238. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
  239. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
  240. package/dist/version.d.ts +1 -1
  241. package/dist/version.js +1 -1
  242. package/package.json +1 -1
  243. package/reference.md +443 -0
  244. package/serialization/resources/contracts/resources/index.d.ts +1 -0
  245. package/serialization/resources/contracts/resources/index.js +2 -1
  246. package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
  247. package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
  248. package/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
  249. package/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
  250. package/serialization/resources/contracts/resources/v3/client/get.d.ts +12 -0
  251. package/serialization/resources/contracts/resources/v3/client/get.js +69 -0
  252. package/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
  253. package/serialization/resources/contracts/resources/v3/client/index.js +45 -0
  254. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
  255. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
  256. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  257. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
  258. package/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
  259. package/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
  260. package/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
  261. package/serialization/resources/contracts/resources/v3/client/update.js +75 -0
  262. package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
  263. package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
  264. package/serialization/resources/contracts/resources/v3/index.d.ts +2 -0
  265. package/serialization/resources/contracts/resources/v3/index.js +18 -0
  266. package/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
  267. package/serialization/resources/contracts/resources/v3/types/Contract.js +50 -0
  268. package/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
  269. package/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
  270. package/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
  271. package/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
  272. package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
  273. package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
  274. package/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
  275. package/serialization/resources/contracts/resources/v3/types/ContractId.js +43 -0
  276. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
  277. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
  278. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
  279. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
  280. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
  281. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
  282. package/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
  283. package/serialization/resources/contracts/resources/v3/types/ContractType.js +39 -0
  284. package/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
  285. package/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
  286. package/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
  287. package/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
  288. package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
  289. package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
  290. package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
  291. package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
  292. package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
  293. package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
  294. package/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
  295. package/serialization/resources/contracts/resources/v3/types/ContractsPage.js +45 -0
  296. package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
  297. package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
  298. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
  299. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
  300. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
  301. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
  302. package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
  303. package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
  304. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
  305. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
  306. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
  307. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
  308. package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
  309. package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
  310. package/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
  311. package/serialization/resources/contracts/resources/v3/types/index.js +38 -0
  312. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
  313. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
  314. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
  315. package/version.d.ts +1 -1
  316. package/version.js +1 -1
@@ -0,0 +1,25 @@
1
+ import type * as core from "../../../../../../core";
2
+ import * as CandidApi from "../../../../../index";
3
+ export type Error = CandidApi.contracts.v3.updateContractServiceFacility.Error.UnprocessableEntityError | CandidApi.contracts.v3.updateContractServiceFacility.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface UnprocessableEntityError extends _Utils {
6
+ errorName: "UnprocessableEntityError";
7
+ content: CandidApi.UnprocessableEntityErrorMessage;
8
+ }
9
+ interface _Unknown extends _Utils {
10
+ errorName: void;
11
+ content: core.Fetcher.Error;
12
+ }
13
+ interface _Utils {
14
+ _visit: <_Result>(visitor: CandidApi.contracts.v3.updateContractServiceFacility.Error._Visitor<_Result>) => _Result;
15
+ }
16
+ interface _Visitor<_Result> {
17
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
18
+ _other: (value: core.Fetcher.Error) => _Result;
19
+ }
20
+ }
21
+ export declare const Error: {
22
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.contracts.v3.updateContractServiceFacility.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.updateContractServiceFacility.Error._Unknown;
24
+ readonly _visit: <_Result>(value: CandidApi.contracts.v3.updateContractServiceFacility.Error, visitor: CandidApi.contracts.v3.updateContractServiceFacility.Error._Visitor<_Result>) => _Result;
25
+ };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const CandidApi = __importStar(require("../../../../../index"));
39
+ exports.Error = {
40
+ unprocessableEntityError: (value) => {
41
+ return {
42
+ content: value,
43
+ errorName: "UnprocessableEntityError",
44
+ _visit: function (visitor) {
45
+ return CandidApi.contracts.v3.updateContractServiceFacility.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _unknown: (fetcherError) => {
50
+ return {
51
+ errorName: undefined,
52
+ content: fetcherError,
53
+ _visit: function (visitor) {
54
+ return CandidApi.contracts.v3.updateContractServiceFacility.Error._visit(this, visitor);
55
+ },
56
+ };
57
+ },
58
+ _visit: (value, visitor) => {
59
+ switch (value.errorName) {
60
+ case "UnprocessableEntityError":
61
+ return visitor.unprocessableEntityError(value.content);
62
+ default:
63
+ return visitor._other(value);
64
+ }
65
+ },
66
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface Contract extends CandidApi.contracts.v3.ContractBase {
3
+ contractId: CandidApi.contracts.v3.ContractId;
4
+ /** The provider under contract */
5
+ contractingProvider: CandidApi.organizationProviders.v2.OrganizationProvider;
6
+ /** The number of linked providers who can render medical services under this contract */
7
+ providerCount: number;
8
+ /** The insurance company under contract */
9
+ payer: CandidApi.payers.v3.Payer;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ContractBase {
3
+ /** The starting day upon which the contract is effective */
4
+ effectiveDate: CandidApi.Date_;
5
+ /** An optional end day upon which the contract expires */
6
+ expirationDate?: CandidApi.Date_;
7
+ /**
8
+ * The state(s) to which the contract's coverage extends.
9
+ * It may also be set to "national" for the entirety of the US.
10
+ */
11
+ regions: CandidApi.Regions;
12
+ contractStatus?: CandidApi.contracts.v2.ContractStatus;
13
+ authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatory;
14
+ /** The commercial plan insurance types this contract applies. */
15
+ commercialInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
16
+ /** The Medicare plan insurance types this contract applies. */
17
+ medicareInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
18
+ /** The Medicaid plan insurance types this contract applies. */
19
+ medicaidInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ContractCreate extends CandidApi.contracts.v3.ContractBase {
3
+ /** The type of contract */
4
+ contractType: CandidApi.contracts.v3.ContractType;
5
+ /** The UUID of the provider under agreement to the contract */
6
+ contractingProviderId: CandidApi.contracts.v3.ContractingProviderId;
7
+ /** The UUID of the insurance company under agreement to the contract */
8
+ payerUuid: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractCreateUnion = CandidApi.contracts.v3.ContractCreateUnion.Professional | CandidApi.contracts.v3.ContractCreateUnion.Institutional;
3
+ export declare namespace ContractCreateUnion {
4
+ interface Professional extends CandidApi.contracts.v3.ProfessionalContractCreate {
5
+ type: "professional";
6
+ }
7
+ interface Institutional extends CandidApi.contracts.v3.InstitutionalContractCreate {
8
+ type: "institutional";
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractId = string & {
3
+ contracts_v3_ContractId: void;
4
+ };
5
+ export declare function ContractId(value: string): CandidApi.contracts.v3.ContractId;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ContractId = ContractId;
5
+ function ContractId(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ContractServiceFacility extends CandidApi.contracts.v3.ContractServiceFacilityBase {
3
+ /** The UUID of the contract */
4
+ contractId: CandidApi.contracts.v3.ContractId;
5
+ contractServiceFacilityId: CandidApi.contracts.v3.ContractServiceFacilityId;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface ContractServiceFacilityBase {
2
+ /** The UUID of the service facility */
3
+ serviceFacilityId: string;
4
+ /** The providers who are authorized under the contract */
5
+ providerIds: Set<string>;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractServiceFacilityId = string & {
3
+ contracts_v3_ContractServiceFacilityId: void;
4
+ };
5
+ export declare function ContractServiceFacilityId(value: string): CandidApi.contracts.v3.ContractServiceFacilityId;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ContractServiceFacilityId = ContractServiceFacilityId;
5
+ function ContractServiceFacilityId(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,9 @@
1
+ export declare const ContractType: {
2
+ /**
3
+ * Professional contract */
4
+ readonly Professional: "professional";
5
+ /**
6
+ * Institutional contract */
7
+ readonly Institutional: "institutional";
8
+ };
9
+ export type ContractType = (typeof ContractType)[keyof typeof ContractType];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ContractType = void 0;
5
+ exports.ContractType = {
6
+ /**
7
+ * Professional contract */
8
+ Professional: "professional",
9
+ /**
10
+ * Institutional contract */
11
+ Institutional: "institutional",
12
+ };
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractUnion = CandidApi.contracts.v3.ContractUnion.Professional | CandidApi.contracts.v3.ContractUnion.Institutional;
3
+ export declare namespace ContractUnion {
4
+ interface Professional extends CandidApi.contracts.v3.Contract {
5
+ type: "professional";
6
+ }
7
+ interface Institutional extends CandidApi.contracts.v3.Contract {
8
+ type: "institutional";
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ContractUpdate {
3
+ /** The starting day upon which the contract is effective */
4
+ effectiveDate?: CandidApi.Date_;
5
+ /** An optional end day upon which the contract expires */
6
+ expirationDate?: CandidApi.contracts.v2.DateUpdate;
7
+ /**
8
+ * If present, the contract's rendering providers will be patched to this exact
9
+ * value, overriding what was set before.
10
+ */
11
+ regions?: CandidApi.contracts.v2.RegionsUpdate;
12
+ contractStatus?: CandidApi.contracts.v2.ContractStatus;
13
+ authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatoryUpdate;
14
+ commercialInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
15
+ medicareInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
16
+ medicaidInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractUpdateUnion = CandidApi.contracts.v3.ContractUpdateUnion.Professional | CandidApi.contracts.v3.ContractUpdateUnion.Institutional;
3
+ export declare namespace ContractUpdateUnion {
4
+ interface Professional extends CandidApi.contracts.v3.ProfessionalContractUpdate {
5
+ type: "professional";
6
+ }
7
+ interface Institutional extends CandidApi.contracts.v3.InstitutionalContractUpdate {
8
+ type: "institutional";
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractWithProvidersUnion = CandidApi.contracts.v3.ContractWithProvidersUnion.Professional | CandidApi.contracts.v3.ContractWithProvidersUnion.Institutional;
3
+ export declare namespace ContractWithProvidersUnion {
4
+ interface Professional extends CandidApi.contracts.v3.ProfessionalContract {
5
+ type: "professional";
6
+ }
7
+ interface Institutional extends CandidApi.contracts.v3.InstitutionalContract {
8
+ type: "institutional";
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ContractingProviderId = string & {
3
+ contracts_v3_ContractingProviderId: void;
4
+ };
5
+ export declare function ContractingProviderId(value: string): CandidApi.contracts.v3.ContractingProviderId;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ContractingProviderId = ContractingProviderId;
5
+ function ContractingProviderId(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ContractsPage extends CandidApi.ResourcePage {
3
+ items: CandidApi.contracts.v3.ContractUnion[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface InstitutionalContract extends CandidApi.contracts.v3.Contract {
3
+ /** The service facilities under contract */
4
+ contractServiceFacilities: CandidApi.contracts.v3.ContractServiceFacility[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface InstitutionalContractCreate extends CandidApi.contracts.v3.ContractCreate {
3
+ contractServiceFacilities: CandidApi.contracts.v3.ContractServiceFacilityBase[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface InstitutionalContractUpdate extends CandidApi.contracts.v3.ContractUpdate {
3
+ contractServiceFacilityIds?: Set<CandidApi.contracts.v3.ContractServiceFacilityId>;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ProfessionalContract extends CandidApi.contracts.v3.Contract {
3
+ /** The providers who can render medical services under the contract */
4
+ renderingProviderIds: Set<string>;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ProfessionalContractCreate extends CandidApi.contracts.v3.ContractCreate {
3
+ renderingProviderIds: Set<CandidApi.contracts.v3.RenderingProviderid>;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ProfessionalContractUpdate extends CandidApi.contracts.v3.ContractUpdate {
3
+ renderingProviderIds?: Set<CandidApi.contracts.v3.RenderingProviderid>;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type RenderingProviderid = string & {
3
+ contracts_v3_RenderingProviderid: void;
4
+ };
5
+ export declare function RenderingProviderid(value: string): CandidApi.contracts.v3.RenderingProviderid;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RenderingProviderid = RenderingProviderid;
5
+ function RenderingProviderid(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,22 @@
1
+ export * from "./Contract";
2
+ export * from "./ContractBase";
3
+ export * from "./ContractCreate";
4
+ export * from "./ContractCreateUnion";
5
+ export * from "./ContractId";
6
+ export * from "./ContractingProviderId";
7
+ export * from "./ContractServiceFacility";
8
+ export * from "./ContractServiceFacilityBase";
9
+ export * from "./ContractServiceFacilityId";
10
+ export * from "./ContractsPage";
11
+ export * from "./ContractType";
12
+ export * from "./ContractUnion";
13
+ export * from "./ContractUpdate";
14
+ export * from "./ContractUpdateUnion";
15
+ export * from "./ContractWithProvidersUnion";
16
+ export * from "./InstitutionalContract";
17
+ export * from "./InstitutionalContractCreate";
18
+ export * from "./InstitutionalContractUpdate";
19
+ export * from "./ProfessionalContract";
20
+ export * from "./ProfessionalContractCreate";
21
+ export * from "./ProfessionalContractUpdate";
22
+ export * from "./RenderingProviderid";
@@ -0,0 +1,38 @@
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("./Contract"), exports);
18
+ __exportStar(require("./ContractBase"), exports);
19
+ __exportStar(require("./ContractCreate"), exports);
20
+ __exportStar(require("./ContractCreateUnion"), exports);
21
+ __exportStar(require("./ContractId"), exports);
22
+ __exportStar(require("./ContractingProviderId"), exports);
23
+ __exportStar(require("./ContractServiceFacility"), exports);
24
+ __exportStar(require("./ContractServiceFacilityBase"), exports);
25
+ __exportStar(require("./ContractServiceFacilityId"), exports);
26
+ __exportStar(require("./ContractsPage"), exports);
27
+ __exportStar(require("./ContractType"), exports);
28
+ __exportStar(require("./ContractUnion"), exports);
29
+ __exportStar(require("./ContractUpdate"), exports);
30
+ __exportStar(require("./ContractUpdateUnion"), exports);
31
+ __exportStar(require("./ContractWithProvidersUnion"), exports);
32
+ __exportStar(require("./InstitutionalContract"), exports);
33
+ __exportStar(require("./InstitutionalContractCreate"), exports);
34
+ __exportStar(require("./InstitutionalContractUpdate"), exports);
35
+ __exportStar(require("./ProfessionalContract"), exports);
36
+ __exportStar(require("./ProfessionalContractCreate"), exports);
37
+ __exportStar(require("./ProfessionalContractUpdate"), exports);
38
+ __exportStar(require("./RenderingProviderid"), exports);
@@ -1 +1,5 @@
1
- export type D8Date = Date;
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type D8Date = string & {
3
+ healthCareCodeInformation_v1_D8Date: void;
4
+ };
5
+ export declare function D8Date(value: string): CandidApi.healthCareCodeInformation.v1.D8Date;
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.D8Date = D8Date;
5
+ function D8Date(value) {
6
+ return value;
7
+ }
@@ -1,16 +1,4 @@
1
1
  export interface Rd8Date {
2
- /**
3
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
4
- * For example, 2017-07-21T17:32:28Z.
5
- * In practice, only the date portion of this is used for claim submission, so
6
- * midnight time is fine.
7
- */
8
- start: Date;
9
- /**
10
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
11
- * For example, 2017-07-21T17:32:28Z.
12
- * In practice, only the date portion of this is used for claim submission, so
13
- * midnight time is fine.
14
- */
15
- end: Date;
2
+ start: string;
3
+ end: string;
16
4
  }
package/dist/Client.js CHANGED
@@ -92,8 +92,8 @@ class CandidApiClient {
92
92
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
93
93
  "X-Fern-Language": "JavaScript",
94
94
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "1.16.0",
96
- "User-Agent": "candidhealth/1.16.0",
95
+ "X-Fern-SDK-Version": "1.17.0",
96
+ "User-Agent": "candidhealth/1.17.0",
97
97
  "X-Fern-Runtime": core.RUNTIME.type,
98
98
  "X-Fern-Runtime-Version": core.RUNTIME.version,
99
99
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -1,6 +1,7 @@
1
1
  import type { BaseClientOptions } from "../../../../BaseClient";
2
2
  import type * as core from "../../../../core";
3
3
  import { V2 } from "../resources/v2/client/Client";
4
+ import { V3 } from "../resources/v3/client/Client";
4
5
  export declare namespace Contracts {
5
6
  interface Options extends BaseClientOptions {
6
7
  token?: core.Supplier<core.BearerToken | undefined>;
@@ -9,6 +10,8 @@ export declare namespace Contracts {
9
10
  export declare class Contracts {
10
11
  protected readonly _options: Contracts.Options;
11
12
  protected _v2: V2 | undefined;
13
+ protected _v3: V3 | undefined;
12
14
  constructor(_options?: Contracts.Options);
13
15
  get v2(): V2;
16
+ get v3(): V3;
14
17
  }
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Contracts = void 0;
5
5
  const Client_1 = require("../resources/v2/client/Client");
6
+ const Client_2 = require("../resources/v3/client/Client");
6
7
  class Contracts {
7
8
  constructor(_options = {}) {
8
9
  this._options = _options;
@@ -11,5 +12,9 @@ class Contracts {
11
12
  var _a;
12
13
  return ((_a = this._v2) !== null && _a !== void 0 ? _a : (this._v2 = new Client_1.V2(this._options)));
13
14
  }
15
+ get v3() {
16
+ var _a;
17
+ return ((_a = this._v3) !== null && _a !== void 0 ? _a : (this._v3 = new Client_2.V3(this._options)));
18
+ }
14
19
  }
15
20
  exports.Contracts = Contracts;
@@ -1 +1,2 @@
1
1
  export * as v2 from "./v2";
2
+ export * as v3 from "./v3";