candidhealth 0.24.1 → 0.24.3

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 (362) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +45 -40
  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/commons/types/Primitive.d.ts +14 -0
  6. package/api/resources/commons/types/Primitive.js +12 -0
  7. package/api/resources/commons/types/SchemaId.d.ts +8 -0
  8. package/api/resources/commons/types/SchemaId.js +10 -0
  9. package/api/resources/commons/types/index.d.ts +2 -0
  10. package/api/resources/commons/types/index.js +2 -0
  11. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  12. package/api/resources/customSchemas/client/Client.d.ts +26 -0
  13. package/api/resources/customSchemas/client/Client.js +17 -0
  14. package/api/resources/customSchemas/client/index.d.ts +1 -0
  15. package/api/resources/customSchemas/client/index.js +2 -0
  16. package/api/resources/customSchemas/index.d.ts +2 -0
  17. package/api/resources/customSchemas/index.js +18 -0
  18. package/api/resources/customSchemas/resources/index.d.ts +1 -0
  19. package/api/resources/customSchemas/resources/index.js +27 -0
  20. package/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
  21. package/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
  22. package/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
  23. package/api/resources/customSchemas/resources/v1/client/create.js +58 -0
  24. package/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
  25. package/api/resources/customSchemas/resources/v1/client/get.js +69 -0
  26. package/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
  27. package/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
  28. package/api/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  29. package/api/resources/customSchemas/resources/v1/client/index.js +34 -0
  30. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
  31. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
  32. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
  33. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
  34. package/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  35. package/api/resources/customSchemas/resources/v1/client/requests/index.js +2 -0
  36. package/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
  37. package/api/resources/customSchemas/resources/v1/client/update.js +80 -0
  38. package/api/resources/customSchemas/resources/v1/index.d.ts +2 -0
  39. package/api/resources/customSchemas/resources/v1/index.js +18 -0
  40. package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
  41. package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
  42. package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
  43. package/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
  44. package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
  45. package/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
  46. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
  47. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
  48. package/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
  49. package/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
  50. package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
  51. package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
  52. package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
  53. package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
  54. package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
  55. package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -0
  56. package/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  57. package/api/resources/customSchemas/resources/v1/types/index.js +24 -0
  58. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  59. package/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
  60. package/api/resources/encounters/resources/v4/client/Client.js +25 -5
  61. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  62. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  63. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
  64. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
  65. package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  66. package/api/resources/encounters/resources/v4/client/update.js +11 -0
  67. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
  68. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
  69. package/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
  70. package/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +5 -0
  71. package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
  72. package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
  73. package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
  74. package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
  75. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
  76. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
  77. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
  78. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
  79. package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
  80. package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
  81. package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
  82. package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -0
  83. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
  84. package/api/resources/encounters/resources/v4/types/index.js +7 -0
  85. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  86. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  87. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  88. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  89. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  90. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  91. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  92. package/api/resources/index.d.ts +1 -0
  93. package/api/resources/index.js +2 -1
  94. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  95. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  96. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  97. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  98. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  99. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  100. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  101. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +6 -6
  103. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +7 -7
  104. package/api/resources/serviceFacility/client/Client.js +1 -1
  105. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  106. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  107. package/dist/Client.d.ts +3 -0
  108. package/dist/Client.js +45 -40
  109. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  110. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  111. package/dist/api/resources/commons/types/Primitive.d.ts +14 -0
  112. package/dist/api/resources/commons/types/Primitive.js +12 -0
  113. package/dist/api/resources/commons/types/SchemaId.d.ts +8 -0
  114. package/dist/api/resources/commons/types/SchemaId.js +10 -0
  115. package/dist/api/resources/commons/types/index.d.ts +2 -0
  116. package/dist/api/resources/commons/types/index.js +2 -0
  117. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  118. package/dist/api/resources/customSchemas/client/Client.d.ts +26 -0
  119. package/dist/api/resources/customSchemas/client/Client.js +17 -0
  120. package/dist/api/resources/customSchemas/client/index.d.ts +1 -0
  121. package/dist/api/resources/customSchemas/client/index.js +2 -0
  122. package/dist/api/resources/customSchemas/index.d.ts +2 -0
  123. package/dist/api/resources/customSchemas/index.js +18 -0
  124. package/dist/api/resources/customSchemas/resources/index.d.ts +1 -0
  125. package/dist/api/resources/customSchemas/resources/index.js +27 -0
  126. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
  127. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
  128. package/dist/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
  129. package/dist/api/resources/customSchemas/resources/v1/client/create.js +58 -0
  130. package/dist/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
  131. package/dist/api/resources/customSchemas/resources/v1/client/get.js +69 -0
  132. package/dist/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
  133. package/dist/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
  134. package/dist/api/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  135. package/dist/api/resources/customSchemas/resources/v1/client/index.js +34 -0
  136. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
  137. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
  138. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
  139. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
  140. package/dist/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  141. package/dist/api/resources/customSchemas/resources/v1/client/requests/index.js +2 -0
  142. package/dist/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
  143. package/dist/api/resources/customSchemas/resources/v1/client/update.js +80 -0
  144. package/dist/api/resources/customSchemas/resources/v1/index.d.ts +2 -0
  145. package/dist/api/resources/customSchemas/resources/v1/index.js +18 -0
  146. package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
  147. package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
  148. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
  149. package/dist/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
  150. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
  151. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
  152. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
  153. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
  154. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
  155. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
  156. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
  157. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
  158. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
  159. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
  160. package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
  161. package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -0
  162. package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  163. package/dist/api/resources/customSchemas/resources/v1/types/index.js +24 -0
  164. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  165. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
  166. package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -5
  167. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  168. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  169. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
  170. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
  171. package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  172. package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
  173. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
  174. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
  175. package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
  176. package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +5 -0
  177. package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
  178. package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
  179. package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
  180. package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
  181. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
  182. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
  183. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
  184. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
  185. package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
  186. package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
  187. package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
  188. package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -0
  189. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
  190. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -0
  191. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  192. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  193. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  194. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  195. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  196. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  197. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  198. package/dist/api/resources/index.d.ts +1 -0
  199. package/dist/api/resources/index.js +2 -1
  200. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  201. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  202. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  203. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  204. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  205. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  206. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  207. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  208. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +6 -6
  209. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +7 -7
  210. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  211. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  212. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  213. package/dist/serialization/resources/commons/types/Primitive.d.ts +10 -0
  214. package/dist/serialization/resources/commons/types/Primitive.js +31 -0
  215. package/dist/serialization/resources/commons/types/SchemaId.d.ts +10 -0
  216. package/dist/serialization/resources/commons/types/SchemaId.js +37 -0
  217. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  218. package/dist/serialization/resources/commons/types/index.js +2 -0
  219. package/dist/serialization/resources/customSchemas/index.d.ts +1 -0
  220. package/dist/serialization/resources/customSchemas/index.js +17 -0
  221. package/dist/serialization/resources/customSchemas/resources/index.d.ts +1 -0
  222. package/dist/serialization/resources/customSchemas/resources/index.js +27 -0
  223. package/dist/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
  224. package/dist/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
  225. package/dist/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
  226. package/dist/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
  227. package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
  228. package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
  229. package/dist/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  230. package/dist/serialization/resources/customSchemas/resources/v1/client/index.js +34 -0
  231. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
  232. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
  233. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
  234. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
  235. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  236. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
  237. package/dist/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
  238. package/dist/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
  239. package/dist/serialization/resources/customSchemas/resources/v1/index.d.ts +2 -0
  240. package/dist/serialization/resources/customSchemas/resources/v1/index.js +18 -0
  241. package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
  242. package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
  243. package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
  244. package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
  245. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
  246. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
  247. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
  248. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
  249. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
  250. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
  251. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
  252. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
  253. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
  254. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
  255. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
  256. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
  257. package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  258. package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
  259. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  260. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  261. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  262. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  263. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  264. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  265. package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  266. package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  267. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  268. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  269. package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
  270. package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
  271. package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
  272. package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
  273. package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
  274. package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
  275. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
  276. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
  277. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
  278. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
  279. package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
  280. package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
  281. package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
  282. package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
  283. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
  284. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +2 -1
  287. package/package.json +1 -1
  288. package/reference.md +295 -0
  289. package/serialization/resources/commons/types/Primitive.d.ts +10 -0
  290. package/serialization/resources/commons/types/Primitive.js +31 -0
  291. package/serialization/resources/commons/types/SchemaId.d.ts +10 -0
  292. package/serialization/resources/commons/types/SchemaId.js +37 -0
  293. package/serialization/resources/commons/types/index.d.ts +2 -0
  294. package/serialization/resources/commons/types/index.js +2 -0
  295. package/serialization/resources/customSchemas/index.d.ts +1 -0
  296. package/serialization/resources/customSchemas/index.js +17 -0
  297. package/serialization/resources/customSchemas/resources/index.d.ts +1 -0
  298. package/serialization/resources/customSchemas/resources/index.js +27 -0
  299. package/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
  300. package/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
  301. package/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
  302. package/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
  303. package/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
  304. package/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
  305. package/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  306. package/serialization/resources/customSchemas/resources/v1/client/index.js +34 -0
  307. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
  308. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
  309. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
  310. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
  311. package/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  312. package/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
  313. package/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
  314. package/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
  315. package/serialization/resources/customSchemas/resources/v1/index.d.ts +2 -0
  316. package/serialization/resources/customSchemas/resources/v1/index.js +18 -0
  317. package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
  318. package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
  319. package/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
  320. package/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
  321. package/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
  322. package/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
  323. package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
  324. package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
  325. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
  326. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
  327. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
  328. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
  329. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
  330. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
  331. package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
  332. package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
  333. package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  334. package/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
  335. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  336. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  337. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  338. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  339. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  340. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  341. package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  342. package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  343. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  344. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  345. package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
  346. package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
  347. package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
  348. package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
  349. package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
  350. package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
  351. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
  352. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
  353. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
  354. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
  355. package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
  356. package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
  357. package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
  358. package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
  359. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
  360. package/serialization/resources/encounters/resources/v4/types/index.js +7 -0
  361. package/serialization/resources/index.d.ts +1 -0
  362. package/serialization/resources/index.js +2 -1
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.1",
69
+ "X-Fern-SDK-Version": "0.24.3",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -156,7 +156,7 @@ class V3 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.24.1",
159
+ "X-Fern-SDK-Version": "0.24.3",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V3 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.24.1",
230
+ "X-Fern-SDK-Version": "0.24.3",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -318,7 +318,7 @@ class V3 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.24.1",
321
+ "X-Fern-SDK-Version": "0.24.3",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.1",
69
+ "X-Fern-SDK-Version": "0.24.3",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -140,7 +140,7 @@ class V2 {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
141
  "X-Fern-Language": "JavaScript",
142
142
  "X-Fern-SDK-Name": "candidhealth",
143
- "X-Fern-SDK-Version": "0.24.1",
143
+ "X-Fern-SDK-Version": "0.24.3",
144
144
  "X-Fern-Runtime": core.RUNTIME.type,
145
145
  "X-Fern-Runtime-Version": core.RUNTIME.version,
146
146
  },
@@ -204,7 +204,7 @@ class V2 {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "candidhealth",
207
- "X-Fern-SDK-Version": "0.24.1",
207
+ "X-Fern-SDK-Version": "0.24.3",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -285,7 +285,7 @@ class V2 {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "candidhealth",
288
- "X-Fern-SDK-Version": "0.24.1",
288
+ "X-Fern-SDK-Version": "0.24.3",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -348,7 +348,7 @@ class V2 {
348
348
  Authorization: yield this._getAuthorizationHeader(),
349
349
  "X-Fern-Language": "JavaScript",
350
350
  "X-Fern-SDK-Name": "candidhealth",
351
- "X-Fern-SDK-Version": "0.24.1",
351
+ "X-Fern-SDK-Version": "0.24.3",
352
352
  "X-Fern-Runtime": core.RUNTIME.type,
353
353
  "X-Fern-Runtime-Version": core.RUNTIME.version,
354
354
  },
@@ -121,7 +121,7 @@ class V4 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.1",
124
+ "X-Fern-SDK-Version": "0.24.3",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V4 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.24.1",
187
+ "X-Fern-SDK-Version": "0.24.3",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -261,7 +261,7 @@ class V4 {
261
261
  Authorization: yield this._getAuthorizationHeader(),
262
262
  "X-Fern-Language": "JavaScript",
263
263
  "X-Fern-SDK-Name": "candidhealth",
264
- "X-Fern-SDK-Version": "0.24.1",
264
+ "X-Fern-SDK-Version": "0.24.3",
265
265
  "X-Fern-Runtime": core.RUNTIME.type,
266
266
  "X-Fern-Runtime-Version": core.RUNTIME.version,
267
267
  },
@@ -338,7 +338,7 @@ class V4 {
338
338
  Authorization: yield this._getAuthorizationHeader(),
339
339
  "X-Fern-Language": "JavaScript",
340
340
  "X-Fern-SDK-Name": "candidhealth",
341
- "X-Fern-SDK-Version": "0.24.1",
341
+ "X-Fern-SDK-Version": "0.24.3",
342
342
  "X-Fern-Runtime": core.RUNTIME.type,
343
343
  "X-Fern-Runtime-Version": core.RUNTIME.version,
344
344
  },
@@ -404,7 +404,7 @@ class V4 {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "candidhealth",
407
- "X-Fern-SDK-Version": "0.24.1",
407
+ "X-Fern-SDK-Version": "0.24.3",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -121,7 +121,7 @@ class V1 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.1",
124
+ "X-Fern-SDK-Version": "0.24.3",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V1 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.24.1",
187
+ "X-Fern-SDK-Version": "0.24.3",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -262,7 +262,7 @@ class V1 {
262
262
  Authorization: yield this._getAuthorizationHeader(),
263
263
  "X-Fern-Language": "JavaScript",
264
264
  "X-Fern-SDK-Name": "candidhealth",
265
- "X-Fern-SDK-Version": "0.24.1",
265
+ "X-Fern-SDK-Version": "0.24.3",
266
266
  "X-Fern-Runtime": core.RUNTIME.type,
267
267
  "X-Fern-Runtime-Version": core.RUNTIME.version,
268
268
  },
@@ -343,7 +343,7 @@ class V1 {
343
343
  Authorization: yield this._getAuthorizationHeader(),
344
344
  "X-Fern-Language": "JavaScript",
345
345
  "X-Fern-SDK-Name": "candidhealth",
346
- "X-Fern-SDK-Version": "0.24.1",
346
+ "X-Fern-SDK-Version": "0.24.3",
347
347
  "X-Fern-Runtime": core.RUNTIME.type,
348
348
  "X-Fern-Runtime-Version": core.RUNTIME.version,
349
349
  },
@@ -409,7 +409,7 @@ class V1 {
409
409
  Authorization: yield this._getAuthorizationHeader(),
410
410
  "X-Fern-Language": "JavaScript",
411
411
  "X-Fern-SDK-Name": "candidhealth",
412
- "X-Fern-SDK-Version": "0.24.1",
412
+ "X-Fern-SDK-Version": "0.24.3",
413
413
  "X-Fern-Runtime": core.RUNTIME.type,
414
414
  "X-Fern-Runtime-Version": core.RUNTIME.version,
415
415
  },
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.1",
69
+ "X-Fern-SDK-Version": "0.24.3",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -126,7 +126,7 @@ class V3 {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.24.1",
129
+ "X-Fern-SDK-Version": "0.24.3",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -96,7 +96,7 @@ class Coverages {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.24.1",
99
+ "X-Fern-SDK-Version": "0.24.3",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -176,7 +176,7 @@ class Coverages {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.24.1",
179
+ "X-Fern-SDK-Version": "0.24.3",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -241,7 +241,7 @@ class Coverages {
241
241
  Authorization: yield this._getAuthorizationHeader(),
242
242
  "X-Fern-Language": "JavaScript",
243
243
  "X-Fern-SDK-Name": "candidhealth",
244
- "X-Fern-SDK-Version": "0.24.1",
244
+ "X-Fern-SDK-Version": "0.24.3",
245
245
  "X-Fern-Runtime": core.RUNTIME.type,
246
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
247
247
  },
@@ -288,7 +288,7 @@ class Coverages {
288
288
  Authorization: yield this._getAuthorizationHeader(),
289
289
  "X-Fern-Language": "JavaScript",
290
290
  "X-Fern-SDK-Name": "candidhealth",
291
- "X-Fern-SDK-Version": "0.24.1",
291
+ "X-Fern-SDK-Version": "0.24.3",
292
292
  "X-Fern-Runtime": core.RUNTIME.type,
293
293
  "X-Fern-Runtime-Version": core.RUNTIME.version,
294
294
  },
@@ -357,7 +357,7 @@ class Coverages {
357
357
  Authorization: yield this._getAuthorizationHeader(),
358
358
  "X-Fern-Language": "JavaScript",
359
359
  "X-Fern-SDK-Name": "candidhealth",
360
- "X-Fern-SDK-Version": "0.24.1",
360
+ "X-Fern-SDK-Version": "0.24.3",
361
361
  "X-Fern-Runtime": core.RUNTIME.type,
362
362
  "X-Fern-Runtime-Version": core.RUNTIME.version,
363
363
  },
@@ -410,7 +410,7 @@ class Coverages {
410
410
  Authorization: yield this._getAuthorizationHeader(),
411
411
  "X-Fern-Language": "JavaScript",
412
412
  "X-Fern-SDK-Name": "candidhealth",
413
- "X-Fern-SDK-Version": "0.24.1",
413
+ "X-Fern-SDK-Version": "0.24.3",
414
414
  "X-Fern-Runtime": core.RUNTIME.type,
415
415
  "X-Fern-Runtime-Version": core.RUNTIME.version,
416
416
  },
@@ -186,7 +186,7 @@ class Patients {
186
186
  Authorization: yield this._getAuthorizationHeader(),
187
187
  "X-Fern-Language": "JavaScript",
188
188
  "X-Fern-SDK-Name": "candidhealth",
189
- "X-Fern-SDK-Version": "0.24.1",
189
+ "X-Fern-SDK-Version": "0.24.3",
190
190
  "X-Fern-Runtime": core.RUNTIME.type,
191
191
  "X-Fern-Runtime-Version": core.RUNTIME.version,
192
192
  },
@@ -250,7 +250,7 @@ class Patients {
250
250
  Authorization: yield this._getAuthorizationHeader(),
251
251
  "X-Fern-Language": "JavaScript",
252
252
  "X-Fern-SDK-Name": "candidhealth",
253
- "X-Fern-SDK-Version": "0.24.1",
253
+ "X-Fern-SDK-Version": "0.24.3",
254
254
  "X-Fern-Runtime": core.RUNTIME.type,
255
255
  "X-Fern-Runtime-Version": core.RUNTIME.version,
256
256
  },
@@ -311,7 +311,7 @@ class Patients {
311
311
  Authorization: yield this._getAuthorizationHeader(),
312
312
  "X-Fern-Language": "JavaScript",
313
313
  "X-Fern-SDK-Name": "candidhealth",
314
- "X-Fern-SDK-Version": "0.24.1",
314
+ "X-Fern-SDK-Version": "0.24.3",
315
315
  "X-Fern-Runtime": core.RUNTIME.type,
316
316
  "X-Fern-Runtime-Version": core.RUNTIME.version,
317
317
  },
@@ -492,7 +492,7 @@ class Patients {
492
492
  Authorization: yield this._getAuthorizationHeader(),
493
493
  "X-Fern-Language": "JavaScript",
494
494
  "X-Fern-SDK-Name": "candidhealth",
495
- "X-Fern-SDK-Version": "0.24.1",
495
+ "X-Fern-SDK-Version": "0.24.3",
496
496
  "X-Fern-Runtime": core.RUNTIME.type,
497
497
  "X-Fern-Runtime-Version": core.RUNTIME.version,
498
498
  },
@@ -558,7 +558,7 @@ class Patients {
558
558
  Authorization: yield this._getAuthorizationHeader(),
559
559
  "X-Fern-Language": "JavaScript",
560
560
  "X-Fern-SDK-Name": "candidhealth",
561
- "X-Fern-SDK-Version": "0.24.1",
561
+ "X-Fern-SDK-Version": "0.24.3",
562
562
  "X-Fern-Runtime": core.RUNTIME.type,
563
563
  "X-Fern-Runtime-Version": core.RUNTIME.version,
564
564
  },
@@ -622,7 +622,7 @@ class Patients {
622
622
  Authorization: yield this._getAuthorizationHeader(),
623
623
  "X-Fern-Language": "JavaScript",
624
624
  "X-Fern-SDK-Name": "candidhealth",
625
- "X-Fern-SDK-Version": "0.24.1",
625
+ "X-Fern-SDK-Version": "0.24.3",
626
626
  "X-Fern-Runtime": core.RUNTIME.type,
627
627
  "X-Fern-Runtime-Version": core.RUNTIME.version,
628
628
  },
@@ -675,7 +675,7 @@ class Patients {
675
675
  Authorization: yield this._getAuthorizationHeader(),
676
676
  "X-Fern-Language": "JavaScript",
677
677
  "X-Fern-SDK-Name": "candidhealth",
678
- "X-Fern-SDK-Version": "0.24.1",
678
+ "X-Fern-SDK-Version": "0.24.3",
679
679
  "X-Fern-Runtime": core.RUNTIME.type,
680
680
  "X-Fern-Runtime-Version": core.RUNTIME.version,
681
681
  },
@@ -78,7 +78,7 @@ class ServiceFacility {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.24.1",
81
+ "X-Fern-SDK-Version": "0.24.3",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.1",
69
+ "X-Fern-SDK-Version": "0.24.3",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -166,7 +166,7 @@ class V3 {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "candidhealth",
169
- "X-Fern-SDK-Version": "0.24.1",
169
+ "X-Fern-SDK-Version": "0.24.3",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -226,7 +226,7 @@ class V3 {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "candidhealth",
229
- "X-Fern-SDK-Version": "0.24.1",
229
+ "X-Fern-SDK-Version": "0.24.3",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -294,7 +294,7 @@ class V3 {
294
294
  Authorization: yield this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.24.1",
297
+ "X-Fern-SDK-Version": "0.24.3",
298
298
  "X-Fern-Runtime": core.RUNTIME.type,
299
299
  "X-Fern-Runtime-Version": core.RUNTIME.version,
300
300
  },
@@ -345,7 +345,7 @@ class V3 {
345
345
  Authorization: yield this._getAuthorizationHeader(),
346
346
  "X-Fern-Language": "JavaScript",
347
347
  "X-Fern-SDK-Name": "candidhealth",
348
- "X-Fern-SDK-Version": "0.24.1",
348
+ "X-Fern-SDK-Version": "0.24.3",
349
349
  "X-Fern-Runtime": core.RUNTIME.type,
350
350
  "X-Fern-Runtime-Version": core.RUNTIME.version,
351
351
  },
@@ -116,7 +116,7 @@ class V1 {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "candidhealth",
119
- "X-Fern-SDK-Version": "0.24.1",
119
+ "X-Fern-SDK-Version": "0.24.3",
120
120
  "X-Fern-Runtime": core.RUNTIME.type,
121
121
  "X-Fern-Runtime-Version": core.RUNTIME.version,
122
122
  },
@@ -164,7 +164,7 @@ class V1 {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "candidhealth",
167
- "X-Fern-SDK-Version": "0.24.1",
167
+ "X-Fern-SDK-Version": "0.24.3",
168
168
  "X-Fern-Runtime": core.RUNTIME.type,
169
169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
170
170
  },
@@ -221,7 +221,7 @@ class V1 {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "candidhealth",
224
- "X-Fern-SDK-Version": "0.24.1",
224
+ "X-Fern-SDK-Version": "0.24.3",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -271,7 +271,7 @@ class V1 {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "candidhealth",
274
- "X-Fern-SDK-Version": "0.24.1",
274
+ "X-Fern-SDK-Version": "0.24.3",
275
275
  "X-Fern-Runtime": core.RUNTIME.type,
276
276
  "X-Fern-Runtime-Version": core.RUNTIME.version,
277
277
  },
package/dist/Client.d.ts CHANGED
@@ -6,6 +6,7 @@ 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
8
  import { Contracts } from "./api/resources/contracts/client/Client";
9
+ import { CustomSchemas } from "./api/resources/customSchemas/client/Client";
9
10
  import { Eligibility } from "./api/resources/eligibility/client/Client";
10
11
  import { Encounters } from "./api/resources/encounters/client/Client";
11
12
  import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
@@ -51,6 +52,8 @@ export declare class CandidApiClient {
51
52
  get billingNotes(): BillingNotes;
52
53
  protected _contracts: Contracts | undefined;
53
54
  get contracts(): Contracts;
55
+ protected _customSchemas: CustomSchemas | undefined;
56
+ get customSchemas(): CustomSchemas;
54
57
  protected _eligibility: Eligibility | undefined;
55
58
  get eligibility(): Eligibility;
56
59
  protected _encounters: Encounters | undefined;
package/dist/Client.js CHANGED
@@ -41,26 +41,27 @@ const Client_1 = require("./api/resources/auth/resources/v2/client/Client");
41
41
  const Client_2 = require("./api/resources/auth/client/Client");
42
42
  const Client_3 = require("./api/resources/billingNotes/client/Client");
43
43
  const Client_4 = require("./api/resources/contracts/client/Client");
44
- const Client_5 = require("./api/resources/eligibility/client/Client");
45
- const Client_6 = require("./api/resources/encounters/client/Client");
46
- const Client_7 = require("./api/resources/expectedNetworkStatus/client/Client");
47
- const Client_8 = require("./api/resources/exports/client/Client");
48
- const Client_9 = require("./api/resources/externalPaymentAccountConfig/client/Client");
49
- const Client_10 = require("./api/resources/feeSchedules/client/Client");
50
- const Client_11 = require("./api/resources/guarantor/client/Client");
51
- const Client_12 = require("./api/resources/importInvoice/client/Client");
52
- const Client_13 = require("./api/resources/insuranceAdjudications/client/Client");
53
- const Client_14 = require("./api/resources/insurancePayments/client/Client");
54
- const Client_15 = require("./api/resources/insuranceRefunds/client/Client");
55
- const Client_16 = require("./api/resources/organizationServiceFacilities/client/Client");
56
- const Client_17 = require("./api/resources/organizationProviders/client/Client");
57
- const Client_18 = require("./api/resources/patientPayments/client/Client");
58
- const Client_19 = require("./api/resources/patientRefunds/client/Client");
59
- const Client_20 = require("./api/resources/payers/client/Client");
60
- const Client_21 = require("./api/resources/tasks/client/Client");
61
- const Client_22 = require("./api/resources/writeOffs/client/Client");
62
- const Client_23 = require("./api/resources/serviceFacility/client/Client");
63
- const Client_24 = require("./api/resources/preEncounter/client/Client");
44
+ const Client_5 = require("./api/resources/customSchemas/client/Client");
45
+ const Client_6 = require("./api/resources/eligibility/client/Client");
46
+ const Client_7 = require("./api/resources/encounters/client/Client");
47
+ const Client_8 = require("./api/resources/expectedNetworkStatus/client/Client");
48
+ const Client_9 = require("./api/resources/exports/client/Client");
49
+ const Client_10 = require("./api/resources/externalPaymentAccountConfig/client/Client");
50
+ const Client_11 = require("./api/resources/feeSchedules/client/Client");
51
+ const Client_12 = require("./api/resources/guarantor/client/Client");
52
+ const Client_13 = require("./api/resources/importInvoice/client/Client");
53
+ const Client_14 = require("./api/resources/insuranceAdjudications/client/Client");
54
+ const Client_15 = require("./api/resources/insurancePayments/client/Client");
55
+ const Client_16 = require("./api/resources/insuranceRefunds/client/Client");
56
+ const Client_17 = require("./api/resources/organizationServiceFacilities/client/Client");
57
+ const Client_18 = require("./api/resources/organizationProviders/client/Client");
58
+ const Client_19 = require("./api/resources/patientPayments/client/Client");
59
+ const Client_20 = require("./api/resources/patientRefunds/client/Client");
60
+ const Client_21 = require("./api/resources/payers/client/Client");
61
+ const Client_22 = require("./api/resources/tasks/client/Client");
62
+ const Client_23 = require("./api/resources/writeOffs/client/Client");
63
+ const Client_24 = require("./api/resources/serviceFacility/client/Client");
64
+ const Client_25 = require("./api/resources/preEncounter/client/Client");
64
65
  class CandidApiClient {
65
66
  constructor(_options) {
66
67
  this._options = _options;
@@ -84,85 +85,89 @@ class CandidApiClient {
84
85
  var _a;
85
86
  return ((_a = this._contracts) !== null && _a !== void 0 ? _a : (this._contracts = new Client_4.Contracts(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
86
87
  }
88
+ get customSchemas() {
89
+ var _a;
90
+ return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new Client_5.CustomSchemas(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
91
+ }
87
92
  get eligibility() {
88
93
  var _a;
89
- return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new Client_5.Eligibility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
94
+ return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new Client_6.Eligibility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
90
95
  }
91
96
  get encounters() {
92
97
  var _a;
93
- return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_6.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
98
+ return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_7.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
94
99
  }
95
100
  get expectedNetworkStatus() {
96
101
  var _a;
97
- return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_7.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
102
+ return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_8.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
98
103
  }
99
104
  get exports() {
100
105
  var _a;
101
- return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_8.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
106
+ return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_9.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
102
107
  }
103
108
  get externalPaymentAccountConfig() {
104
109
  var _a;
105
- return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_9.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
110
+ return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_10.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
106
111
  }
107
112
  get feeSchedules() {
108
113
  var _a;
109
- return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_10.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
114
+ return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_11.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
110
115
  }
111
116
  get guarantor() {
112
117
  var _a;
113
- return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_11.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
118
+ return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_12.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
114
119
  }
115
120
  get importInvoice() {
116
121
  var _a;
117
- return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_12.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
122
+ return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_13.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
118
123
  }
119
124
  get insuranceAdjudications() {
120
125
  var _a;
121
- return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_13.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
126
+ return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_14.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
122
127
  }
123
128
  get insurancePayments() {
124
129
  var _a;
125
- return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_14.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
130
+ return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_15.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
126
131
  }
127
132
  get insuranceRefunds() {
128
133
  var _a;
129
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_15.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
134
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_16.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
130
135
  }
131
136
  get organizationServiceFacilities() {
132
137
  var _a;
133
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_16.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
138
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_17.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
134
139
  }
135
140
  get organizationProviders() {
136
141
  var _a;
137
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_17.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
142
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_18.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
138
143
  }
139
144
  get patientPayments() {
140
145
  var _a;
141
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_18.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
146
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_19.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
142
147
  }
143
148
  get patientRefunds() {
144
149
  var _a;
145
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_19.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
150
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_20.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
146
151
  }
147
152
  get payers() {
148
153
  var _a;
149
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_20.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
154
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_21.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
150
155
  }
151
156
  get tasks() {
152
157
  var _a;
153
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_21.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
158
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_22.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
154
159
  }
155
160
  get writeOffs() {
156
161
  var _a;
157
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_22.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
162
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_23.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
158
163
  }
159
164
  get serviceFacility() {
160
165
  var _a;
161
- return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_23.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
166
+ return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_24.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
162
167
  }
163
168
  get preEncounter() {
164
169
  var _a;
165
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_24.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
170
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_25.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
166
171
  }
167
172
  }
168
173
  exports.CandidApiClient = CandidApiClient;
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.24.1",
90
+ "X-Fern-SDK-Version": "0.24.3",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.24.1",
72
+ "X-Fern-SDK-Version": "0.24.3",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The BOOLEAN and STRING primitives respectively map to the `boolean` and `string` JSON data types.
6
+ * The DOUBLE and INTEGER primitives must be written as a JSON `number` type.
7
+ */
8
+ export declare type Primitive = "BOOLEAN" | "DOUBLE" | "INTEGER" | "STRING";
9
+ export declare const Primitive: {
10
+ readonly Boolean: "BOOLEAN";
11
+ readonly Double: "DOUBLE";
12
+ readonly Integer: "INTEGER";
13
+ readonly String: "STRING";
14
+ };