candidhealth 0.24.2 → 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
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error._Unknown;
6
+ export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.update.Error._Unknown;
7
7
  export declare namespace Error {
8
8
  interface EncounterExternalIdUniquenessError extends _Utils {
9
9
  errorName: "EncounterExternalIdUniquenessError";
@@ -21,6 +21,10 @@ export declare namespace Error {
21
21
  errorName: "HttpRequestValidationsError";
22
22
  content: CandidApi.RequestValidationError[];
23
23
  }
24
+ interface SchemaInstanceValidationHttpFailure extends _Utils {
25
+ errorName: "SchemaInstanceValidationHttpFailure";
26
+ content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
27
+ }
24
28
  interface _Unknown extends _Utils {
25
29
  errorName: void;
26
30
  content: core.Fetcher.Error;
@@ -33,6 +37,7 @@ export declare namespace Error {
33
37
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
34
38
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
35
39
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
40
+ schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
36
41
  _other: (value: core.Fetcher.Error) => _Result;
37
42
  }
38
43
  }
@@ -41,6 +46,7 @@ export declare const Error: {
41
46
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.update.Error.EntityNotFoundError;
42
47
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.update.Error.UnauthorizedError;
43
48
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.update.Error.HttpRequestValidationsError;
49
+ readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure;
44
50
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.update.Error._Unknown;
45
51
  readonly _visit: <_Result>(value: CandidApi.encounters.v4.update.Error, visitor: CandidApi.encounters.v4.update.Error._Visitor<_Result>) => _Result;
46
52
  };
@@ -65,6 +65,15 @@ exports.Error = {
65
65
  },
66
66
  };
67
67
  },
68
+ schemaInstanceValidationHttpFailure: (value) => {
69
+ return {
70
+ content: value,
71
+ errorName: "SchemaInstanceValidationHttpFailure",
72
+ _visit: function (visitor) {
73
+ return CandidApi.encounters.v4.update.Error._visit(this, visitor);
74
+ },
75
+ };
76
+ },
68
77
  _unknown: (fetcherError) => {
69
78
  return {
70
79
  errorName: undefined,
@@ -84,6 +93,8 @@ exports.Error = {
84
93
  return visitor.unauthorizedError(value.content);
85
94
  case "HttpRequestValidationsError":
86
95
  return visitor.httpRequestValidationsError(value.content);
96
+ case "SchemaInstanceValidationHttpFailure":
97
+ return visitor.schemaInstanceValidationHttpFailure(value.content);
87
98
  default:
88
99
  return visitor._other(value);
89
100
  }
@@ -374,7 +374,16 @@ import * as CandidApi from "../../../../../index";
374
374
  * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
375
375
  * admissionDate: "2023-01-01",
376
376
  * dischargeDate: "2023-01-05",
377
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-01"
377
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-01",
378
+ * schemaInstances: [{
379
+ * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
380
+ * content: {
381
+ * "provider_category": "internist",
382
+ * "is_urgent_care": true,
383
+ * "bmi": 24.2,
384
+ * "age": 38
385
+ * }
386
+ * }]
378
387
  * }
379
388
  */
380
389
  export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
@@ -455,4 +464,9 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
455
464
  * For Encounters created with an external_claim_submission object, this will be EncounterSubmissionOriginType.EXTERNAL.
456
465
  */
457
466
  submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType;
467
+ /**
468
+ * Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
469
+ * instances cannot be created for the same schema on an encounter.
470
+ */
471
+ schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
458
472
  }
@@ -375,7 +375,16 @@ import * as CandidApi from "../../../../../index";
375
375
  * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
376
376
  * admissionDate: "2023-01-01",
377
377
  * dischargeDate: "2023-01-05",
378
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-01"
378
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-01",
379
+ * schemaInstances: [{
380
+ * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
381
+ * content: {
382
+ * "provider_category": "internist",
383
+ * "is_urgent_care": true,
384
+ * "bmi": 24.2,
385
+ * "age": 38
386
+ * }
387
+ * }]
379
388
  * }]
380
389
  * }
381
390
  */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface KeyDoesNotExistError {
6
+ key: string;
7
+ schemaId: CandidApi.SchemaId;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface MultipleInstancesForSchemaError {
6
+ schemaId: CandidApi.SchemaId;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface SchemaDoesNotExistError {
6
+ schemaId: CandidApi.SchemaId;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export declare type SchemaInstanceValidationError = CandidApi.encounters.v4.SchemaInstanceValidationError.MultipleInstancesForSchema | CandidApi.encounters.v4.SchemaInstanceValidationError.ValueDoesNotMatchKeyType | CandidApi.encounters.v4.SchemaInstanceValidationError.KeyDoesNotExist | CandidApi.encounters.v4.SchemaInstanceValidationError.SchemaDoesNotExist | CandidApi.encounters.v4.SchemaInstanceValidationError.SchemaUnauthorizedAccess;
6
+ export declare namespace SchemaInstanceValidationError {
7
+ interface MultipleInstancesForSchema extends CandidApi.encounters.v4.MultipleInstancesForSchemaError {
8
+ type: "multiple_instances_for_schema";
9
+ }
10
+ interface ValueDoesNotMatchKeyType extends CandidApi.encounters.v4.ValueDoesNotMatchKeyTypeError {
11
+ type: "value_does_not_match_key_type";
12
+ }
13
+ interface KeyDoesNotExist extends CandidApi.encounters.v4.KeyDoesNotExistError {
14
+ type: "key_does_not_exist";
15
+ }
16
+ interface SchemaDoesNotExist extends CandidApi.encounters.v4.SchemaDoesNotExistError {
17
+ type: "schema_does_not_exist";
18
+ }
19
+ interface SchemaUnauthorizedAccess extends CandidApi.encounters.v4.SchemaUnauthorizedAccessError {
20
+ type: "schema_unauthorized_access";
21
+ }
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface SchemaInstanceValidationFailure {
6
+ errors: CandidApi.encounters.v4.SchemaInstanceValidationError[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface SchemaUnauthorizedAccessError {
6
+ schemaId: CandidApi.SchemaId;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ValueDoesNotMatchKeyTypeError {
6
+ schemaId: CandidApi.SchemaId;
7
+ key: string;
8
+ expectedValueType: CandidApi.Primitive;
9
+ value?: unknown;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -32,3 +32,10 @@ export * from "./EncounterPatientControlNumberUniquenessErrorType";
32
32
  export * from "./EncounterGuarantorMissingContactInfoErrorType";
33
33
  export * from "./CashPayPayerErrorMessage";
34
34
  export * from "./ServiceAuthorizationExceptionCode";
35
+ export * from "./SchemaInstanceValidationFailure";
36
+ export * from "./KeyDoesNotExistError";
37
+ export * from "./SchemaDoesNotExistError";
38
+ export * from "./SchemaUnauthorizedAccessError";
39
+ export * from "./ValueDoesNotMatchKeyTypeError";
40
+ export * from "./MultipleInstancesForSchemaError";
41
+ export * from "./SchemaInstanceValidationError";
@@ -48,3 +48,10 @@ __exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), expo
48
48
  __exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
49
49
  __exportStar(require("./CashPayPayerErrorMessage"), exports);
50
50
  __exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
51
+ __exportStar(require("./SchemaInstanceValidationFailure"), exports);
52
+ __exportStar(require("./KeyDoesNotExistError"), exports);
53
+ __exportStar(require("./SchemaDoesNotExistError"), exports);
54
+ __exportStar(require("./SchemaUnauthorizedAccessError"), exports);
55
+ __exportStar(require("./ValueDoesNotMatchKeyTypeError"), exports);
56
+ __exportStar(require("./MultipleInstancesForSchemaError"), exports);
57
+ __exportStar(require("./SchemaInstanceValidationError"), exports);
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.24.2",
82
+ "X-Fern-SDK-Version": "0.24.3",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -86,7 +86,7 @@ class V2 {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.24.2",
89
+ "X-Fern-SDK-Version": "0.24.3",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -169,7 +169,7 @@ class V2 {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "candidhealth",
172
- "X-Fern-SDK-Version": "0.24.2",
172
+ "X-Fern-SDK-Version": "0.24.3",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -86,7 +86,7 @@ class V3 {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.24.2",
89
+ "X-Fern-SDK-Version": "0.24.3",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.24.2",
85
+ "X-Fern-SDK-Version": "0.24.3",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -68,7 +68,7 @@ class V3 {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "candidhealth",
71
- "X-Fern-SDK-Version": "0.24.2",
71
+ "X-Fern-SDK-Version": "0.24.3",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -131,7 +131,7 @@ class V3 {
131
131
  Authorization: yield this._getAuthorizationHeader(),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "candidhealth",
134
- "X-Fern-SDK-Version": "0.24.2",
134
+ "X-Fern-SDK-Version": "0.24.3",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -274,7 +274,7 @@ class V3 {
274
274
  Authorization: yield this._getAuthorizationHeader(),
275
275
  "X-Fern-Language": "JavaScript",
276
276
  "X-Fern-SDK-Name": "candidhealth",
277
- "X-Fern-SDK-Version": "0.24.2",
277
+ "X-Fern-SDK-Version": "0.24.3",
278
278
  "X-Fern-Runtime": core.RUNTIME.type,
279
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
280
280
  },
@@ -401,7 +401,7 @@ class V3 {
401
401
  Authorization: yield this._getAuthorizationHeader(),
402
402
  "X-Fern-Language": "JavaScript",
403
403
  "X-Fern-SDK-Name": "candidhealth",
404
- "X-Fern-SDK-Version": "0.24.2",
404
+ "X-Fern-SDK-Version": "0.24.3",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -449,7 +449,7 @@ class V3 {
449
449
  Authorization: yield this._getAuthorizationHeader(),
450
450
  "X-Fern-Language": "JavaScript",
451
451
  "X-Fern-SDK-Name": "candidhealth",
452
- "X-Fern-SDK-Version": "0.24.2",
452
+ "X-Fern-SDK-Version": "0.24.3",
453
453
  "X-Fern-Runtime": core.RUNTIME.type,
454
454
  "X-Fern-Runtime-Version": core.RUNTIME.version,
455
455
  },
@@ -531,7 +531,7 @@ class V3 {
531
531
  Authorization: yield this._getAuthorizationHeader(),
532
532
  "X-Fern-Language": "JavaScript",
533
533
  "X-Fern-SDK-Name": "candidhealth",
534
- "X-Fern-SDK-Version": "0.24.2",
534
+ "X-Fern-SDK-Version": "0.24.3",
535
535
  "X-Fern-Runtime": core.RUNTIME.type,
536
536
  "X-Fern-Runtime-Version": core.RUNTIME.version,
537
537
  },
@@ -596,7 +596,7 @@ class V3 {
596
596
  Authorization: yield this._getAuthorizationHeader(),
597
597
  "X-Fern-Language": "JavaScript",
598
598
  "X-Fern-SDK-Name": "candidhealth",
599
- "X-Fern-SDK-Version": "0.24.2",
599
+ "X-Fern-SDK-Version": "0.24.3",
600
600
  "X-Fern-Runtime": core.RUNTIME.type,
601
601
  "X-Fern-Runtime-Version": core.RUNTIME.version,
602
602
  },
@@ -652,7 +652,7 @@ class V3 {
652
652
  Authorization: yield this._getAuthorizationHeader(),
653
653
  "X-Fern-Language": "JavaScript",
654
654
  "X-Fern-SDK-Name": "candidhealth",
655
- "X-Fern-SDK-Version": "0.24.2",
655
+ "X-Fern-SDK-Version": "0.24.3",
656
656
  "X-Fern-Runtime": core.RUNTIME.type,
657
657
  "X-Fern-Runtime-Version": core.RUNTIME.version,
658
658
  },
@@ -709,7 +709,7 @@ class V3 {
709
709
  Authorization: yield this._getAuthorizationHeader(),
710
710
  "X-Fern-Language": "JavaScript",
711
711
  "X-Fern-SDK-Name": "candidhealth",
712
- "X-Fern-SDK-Version": "0.24.2",
712
+ "X-Fern-SDK-Version": "0.24.3",
713
713
  "X-Fern-Runtime": core.RUNTIME.type,
714
714
  "X-Fern-Runtime-Version": core.RUNTIME.version,
715
715
  },
@@ -762,7 +762,7 @@ class V3 {
762
762
  Authorization: yield this._getAuthorizationHeader(),
763
763
  "X-Fern-Language": "JavaScript",
764
764
  "X-Fern-SDK-Name": "candidhealth",
765
- "X-Fern-SDK-Version": "0.24.2",
765
+ "X-Fern-SDK-Version": "0.24.3",
766
766
  "X-Fern-Runtime": core.RUNTIME.type,
767
767
  "X-Fern-Runtime-Version": core.RUNTIME.version,
768
768
  },
@@ -89,7 +89,7 @@ class V1 {
89
89
  Authorization: yield this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.24.2",
92
+ "X-Fern-SDK-Version": "0.24.3",
93
93
  "X-Fern-Runtime": core.RUNTIME.type,
94
94
  "X-Fern-Runtime-Version": core.RUNTIME.version,
95
95
  },
@@ -152,7 +152,7 @@ class V1 {
152
152
  Authorization: yield this._getAuthorizationHeader(),
153
153
  "X-Fern-Language": "JavaScript",
154
154
  "X-Fern-SDK-Name": "candidhealth",
155
- "X-Fern-SDK-Version": "0.24.2",
155
+ "X-Fern-SDK-Version": "0.24.3",
156
156
  "X-Fern-Runtime": core.RUNTIME.type,
157
157
  "X-Fern-Runtime-Version": core.RUNTIME.version,
158
158
  },
@@ -220,7 +220,7 @@ class V1 {
220
220
  Authorization: yield this._getAuthorizationHeader(),
221
221
  "X-Fern-Language": "JavaScript",
222
222
  "X-Fern-SDK-Name": "candidhealth",
223
- "X-Fern-SDK-Version": "0.24.2",
223
+ "X-Fern-SDK-Version": "0.24.3",
224
224
  "X-Fern-Runtime": core.RUNTIME.type,
225
225
  "X-Fern-Runtime-Version": core.RUNTIME.version,
226
226
  },
@@ -78,7 +78,7 @@ class V1 {
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.2",
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
  },
@@ -176,7 +176,7 @@ class V1 {
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.2",
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
  },
@@ -224,7 +224,7 @@ class V1 {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "candidhealth",
227
- "X-Fern-SDK-Version": "0.24.2",
227
+ "X-Fern-SDK-Version": "0.24.3",
228
228
  "X-Fern-Runtime": core.RUNTIME.type,
229
229
  "X-Fern-Runtime-Version": core.RUNTIME.version,
230
230
  },
@@ -295,7 +295,7 @@ class V1 {
295
295
  Authorization: yield this._getAuthorizationHeader(),
296
296
  "X-Fern-Language": "JavaScript",
297
297
  "X-Fern-SDK-Name": "candidhealth",
298
- "X-Fern-SDK-Version": "0.24.2",
298
+ "X-Fern-SDK-Version": "0.24.3",
299
299
  "X-Fern-Runtime": core.RUNTIME.type,
300
300
  "X-Fern-Runtime-Version": core.RUNTIME.version,
301
301
  },
@@ -2,6 +2,7 @@ export * as auth from "./auth";
2
2
  export * as billingNotes from "./billingNotes";
3
3
  export * as claimSubmission from "./claimSubmission";
4
4
  export * as contracts from "./contracts";
5
+ export * as customSchemas from "./customSchemas";
5
6
  export * as encounterProviders from "./encounterProviders";
6
7
  export * as encounters from "./encounters";
7
8
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
@@ -26,11 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.preEncounter = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.preEncounter = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
33
33
  exports.contracts = __importStar(require("./contracts"));
34
+ exports.customSchemas = __importStar(require("./customSchemas"));
34
35
  exports.encounterProviders = __importStar(require("./encounterProviders"));
35
36
  exports.encounters = __importStar(require("./encounters"));
36
37
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
@@ -68,7 +68,7 @@ class V1 {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "candidhealth",
71
- "X-Fern-SDK-Version": "0.24.2",
71
+ "X-Fern-SDK-Version": "0.24.3",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -127,7 +127,7 @@ class V1 {
127
127
  Authorization: yield this._getAuthorizationHeader(),
128
128
  "X-Fern-Language": "JavaScript",
129
129
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.24.2",
130
+ "X-Fern-SDK-Version": "0.24.3",
131
131
  "X-Fern-Runtime": core.RUNTIME.type,
132
132
  "X-Fern-Runtime-Version": core.RUNTIME.version,
133
133
  },
@@ -191,7 +191,7 @@ class V1 {
191
191
  Authorization: yield this._getAuthorizationHeader(),
192
192
  "X-Fern-Language": "JavaScript",
193
193
  "X-Fern-SDK-Name": "candidhealth",
194
- "X-Fern-SDK-Version": "0.24.2",
194
+ "X-Fern-SDK-Version": "0.24.3",
195
195
  "X-Fern-Runtime": core.RUNTIME.type,
196
196
  "X-Fern-Runtime-Version": core.RUNTIME.version,
197
197
  },
@@ -103,7 +103,7 @@ class V1 {
103
103
  Authorization: yield this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.24.2",
106
+ "X-Fern-SDK-Version": "0.24.3",
107
107
  "X-Fern-Runtime": core.RUNTIME.type,
108
108
  "X-Fern-Runtime-Version": core.RUNTIME.version,
109
109
  },
@@ -167,7 +167,7 @@ class V1 {
167
167
  Authorization: yield this._getAuthorizationHeader(),
168
168
  "X-Fern-Language": "JavaScript",
169
169
  "X-Fern-SDK-Name": "candidhealth",
170
- "X-Fern-SDK-Version": "0.24.2",
170
+ "X-Fern-SDK-Version": "0.24.3",
171
171
  "X-Fern-Runtime": core.RUNTIME.type,
172
172
  "X-Fern-Runtime-Version": core.RUNTIME.version,
173
173
  },
@@ -239,7 +239,7 @@ class V1 {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.24.2",
242
+ "X-Fern-SDK-Version": "0.24.3",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -313,7 +313,7 @@ class V1 {
313
313
  Authorization: yield this._getAuthorizationHeader(),
314
314
  "X-Fern-Language": "JavaScript",
315
315
  "X-Fern-SDK-Name": "candidhealth",
316
- "X-Fern-SDK-Version": "0.24.2",
316
+ "X-Fern-SDK-Version": "0.24.3",
317
317
  "X-Fern-Runtime": core.RUNTIME.type,
318
318
  "X-Fern-Runtime-Version": core.RUNTIME.version,
319
319
  },
@@ -381,7 +381,7 @@ class V1 {
381
381
  Authorization: yield this._getAuthorizationHeader(),
382
382
  "X-Fern-Language": "JavaScript",
383
383
  "X-Fern-SDK-Name": "candidhealth",
384
- "X-Fern-SDK-Version": "0.24.2",
384
+ "X-Fern-SDK-Version": "0.24.3",
385
385
  "X-Fern-Runtime": core.RUNTIME.type,
386
386
  "X-Fern-Runtime-Version": core.RUNTIME.version,
387
387
  },
@@ -104,7 +104,7 @@ class V1 {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.24.2",
107
+ "X-Fern-SDK-Version": "0.24.3",
108
108
  "X-Fern-Runtime": core.RUNTIME.type,
109
109
  "X-Fern-Runtime-Version": core.RUNTIME.version,
110
110
  },
@@ -168,7 +168,7 @@ class V1 {
168
168
  Authorization: yield this._getAuthorizationHeader(),
169
169
  "X-Fern-Language": "JavaScript",
170
170
  "X-Fern-SDK-Name": "candidhealth",
171
- "X-Fern-SDK-Version": "0.24.2",
171
+ "X-Fern-SDK-Version": "0.24.3",
172
172
  "X-Fern-Runtime": core.RUNTIME.type,
173
173
  "X-Fern-Runtime-Version": core.RUNTIME.version,
174
174
  },
@@ -241,7 +241,7 @@ class V1 {
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.2",
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
  },
@@ -319,7 +319,7 @@ class V1 {
319
319
  Authorization: yield this._getAuthorizationHeader(),
320
320
  "X-Fern-Language": "JavaScript",
321
321
  "X-Fern-SDK-Name": "candidhealth",
322
- "X-Fern-SDK-Version": "0.24.2",
322
+ "X-Fern-SDK-Version": "0.24.3",
323
323
  "X-Fern-Runtime": core.RUNTIME.type,
324
324
  "X-Fern-Runtime-Version": core.RUNTIME.version,
325
325
  },
@@ -387,7 +387,7 @@ class V1 {
387
387
  Authorization: yield this._getAuthorizationHeader(),
388
388
  "X-Fern-Language": "JavaScript",
389
389
  "X-Fern-SDK-Name": "candidhealth",
390
- "X-Fern-SDK-Version": "0.24.2",
390
+ "X-Fern-SDK-Version": "0.24.3",
391
391
  "X-Fern-Runtime": core.RUNTIME.type,
392
392
  "X-Fern-Runtime-Version": core.RUNTIME.version,
393
393
  },