candidhealth 0.34.9 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  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/ProviderCredentialingSpanId.d.ts +8 -0
  6. package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/client/Client.d.ts +26 -0
  11. package/api/resources/credentialing/client/Client.js +17 -0
  12. package/api/resources/credentialing/client/index.d.ts +1 -0
  13. package/api/resources/credentialing/client/index.js +2 -0
  14. package/api/resources/credentialing/index.d.ts +2 -0
  15. package/api/resources/credentialing/index.js +18 -0
  16. package/api/resources/credentialing/resources/index.d.ts +1 -0
  17. package/api/resources/credentialing/resources/index.js +27 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  19. package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  20. package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  21. package/api/resources/credentialing/resources/v2/client/create.js +69 -0
  22. package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  23. package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  24. package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  25. package/api/resources/credentialing/resources/v2/client/get.js +69 -0
  26. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  27. package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  28. package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  29. package/api/resources/credentialing/resources/v2/client/index.js +35 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  37. package/api/resources/credentialing/resources/v2/client/update.js +91 -0
  38. package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  39. package/api/resources/credentialing/resources/v2/index.js +18 -0
  40. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  41. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  42. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  43. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  46. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  49. package/api/resources/credentialing/resources/v2/types/index.js +20 -0
  50. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/api/resources/diagnoses/client/Client.js +3 -3
  52. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  53. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  54. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  55. package/api/resources/encounters/resources/v4/client/Client.js +9 -11
  56. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  57. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  58. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  61. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  62. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  63. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  64. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  65. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  66. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  67. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  68. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  69. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  70. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  71. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  72. package/api/resources/index.d.ts +1 -0
  73. package/api/resources/index.js +2 -1
  74. package/api/resources/individual/types/Patient.d.ts +14 -2
  75. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  76. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  77. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  78. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  79. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  80. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  81. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  82. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  84. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  85. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  86. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  87. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  88. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  89. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  91. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  92. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  95. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  96. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +48 -316
  97. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +56 -324
  98. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +24 -158
  99. package/api/resources/serviceFacility/client/Client.js +1 -1
  100. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  101. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  102. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  103. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  104. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  105. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  106. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  107. package/dist/Client.d.ts +3 -0
  108. package/dist/Client.js +61 -56
  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/ProviderCredentialingSpanId.d.ts +8 -0
  112. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  113. package/dist/api/resources/commons/types/index.d.ts +1 -0
  114. package/dist/api/resources/commons/types/index.js +1 -0
  115. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  116. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  117. package/dist/api/resources/credentialing/client/Client.js +17 -0
  118. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  119. package/dist/api/resources/credentialing/client/index.js +2 -0
  120. package/dist/api/resources/credentialing/index.d.ts +2 -0
  121. package/dist/api/resources/credentialing/index.js +18 -0
  122. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  123. package/dist/api/resources/credentialing/resources/index.js +27 -0
  124. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  125. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  126. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  127. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  128. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  129. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  130. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  131. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  132. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  133. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  134. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  135. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  136. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  137. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  138. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  139. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  140. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  141. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  142. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  143. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  144. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  145. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  146. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  147. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  148. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  149. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  150. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  151. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  152. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  153. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  154. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  155. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  156. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  157. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  158. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  159. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  160. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  161. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  162. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  163. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
  164. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  165. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  166. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  167. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  168. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  169. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  170. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  171. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  172. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  173. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  174. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  175. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  176. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  177. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  178. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  179. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  180. package/dist/api/resources/index.d.ts +1 -0
  181. package/dist/api/resources/index.js +2 -1
  182. package/dist/api/resources/individual/types/Patient.d.ts +14 -2
  183. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  186. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  187. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  188. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  189. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  192. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  193. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  194. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  195. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  196. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  197. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  198. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  199. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  200. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  201. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  202. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  203. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  204. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +48 -316
  205. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +56 -324
  206. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +24 -158
  207. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  208. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  209. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  210. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  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/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  214. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  215. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  216. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  217. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  218. package/dist/serialization/resources/commons/types/index.js +1 -0
  219. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  220. package/dist/serialization/resources/credentialing/index.js +17 -0
  221. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  222. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  223. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  224. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  225. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  226. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  227. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  228. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  229. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  230. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  231. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  232. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  233. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  234. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  235. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  236. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  237. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  238. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  239. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  240. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  241. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  242. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  243. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  244. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  245. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  246. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  247. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  248. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  249. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  250. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  251. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  252. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  253. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  254. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  255. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  256. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  257. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  258. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  259. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  260. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  261. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  262. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  263. package/dist/serialization/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/index.js +2 -1
  265. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  266. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  267. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  268. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  269. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  270. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  271. package/package.json +1 -1
  272. package/reference.md +357 -446
  273. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  274. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  275. package/serialization/resources/commons/types/index.d.ts +1 -0
  276. package/serialization/resources/commons/types/index.js +1 -0
  277. package/serialization/resources/credentialing/index.d.ts +1 -0
  278. package/serialization/resources/credentialing/index.js +17 -0
  279. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  280. package/serialization/resources/credentialing/resources/index.js +27 -0
  281. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  282. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  283. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  284. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  285. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  286. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  287. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  288. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  289. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  290. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  291. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  292. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  293. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  294. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  295. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  296. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  297. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  298. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  299. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  300. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  301. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  302. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  303. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  304. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  305. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  306. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  307. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  308. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  309. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  310. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  311. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  312. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  313. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  314. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  315. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  316. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  317. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  318. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  319. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  320. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  321. package/serialization/resources/index.d.ts +1 -0
  322. package/serialization/resources/index.js +2 -1
  323. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  324. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  325. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  326. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  327. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  328. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  329. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  330. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  331. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  332. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  333. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  334. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -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.34.9",
69
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
159
+ "X-Fern-SDK-Version": "0.35.0",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -215,10 +215,7 @@ class V3 {
215
215
  * employmentTerminationDate: "2023-01-15",
216
216
  * qualifications: [{
217
217
  * period: {
218
- * startDate: CandidApi.Date_("string"),
219
- * endDate: {
220
- * "key": "value"
221
- * }
218
+ * startDate: CandidApi.Date_("string")
222
219
  * },
223
220
  * identifierCode: CandidApi.IdentifierCode.Mcr,
224
221
  * identifierValue: {
@@ -238,7 +235,7 @@ class V3 {
238
235
  Authorization: yield this._getAuthorizationHeader(),
239
236
  "X-Fern-Language": "JavaScript",
240
237
  "X-Fern-SDK-Name": "candidhealth",
241
- "X-Fern-SDK-Version": "0.34.9",
238
+ "X-Fern-SDK-Version": "0.35.0",
242
239
  "X-Fern-Runtime": core.RUNTIME.type,
243
240
  "X-Fern-Runtime-Version": core.RUNTIME.version,
244
241
  },
@@ -316,10 +313,7 @@ class V3 {
316
313
  * qualifications: [{
317
314
  * type: "add",
318
315
  * period: {
319
- * startDate: CandidApi.Date_("string"),
320
- * endDate: {
321
- * "key": "value"
322
- * }
316
+ * startDate: CandidApi.Date_("string")
323
317
  * },
324
318
  * identifierCode: CandidApi.IdentifierCode.Mcr,
325
319
  * identifierValue: {
@@ -339,7 +333,7 @@ class V3 {
339
333
  Authorization: yield this._getAuthorizationHeader(),
340
334
  "X-Fern-Language": "JavaScript",
341
335
  "X-Fern-SDK-Name": "candidhealth",
342
- "X-Fern-SDK-Version": "0.34.9",
336
+ "X-Fern-SDK-Version": "0.35.0",
343
337
  "X-Fern-Runtime": core.RUNTIME.type,
344
338
  "X-Fern-Runtime-Version": core.RUNTIME.version,
345
339
  },
@@ -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.34.9",
69
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
143
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
207
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
288
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
351
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
124
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
187
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
264
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
341
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
407
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
124
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
187
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
265
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
346
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
412
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
69
+ "X-Fern-SDK-Version": "0.35.0",
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.34.9",
129
+ "X-Fern-SDK-Version": "0.35.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -43,35 +43,16 @@ export declare class V1 {
43
43
  * family: "string",
44
44
  * given: ["string"],
45
45
  * use: CandidApi.preEncounter.NameUse.Usual,
46
- * period: {
47
- * start: {
48
- * "key": "value"
49
- * },
50
- * end: {
51
- * "key": "value"
52
- * }
53
- * }
46
+ * period: {}
54
47
  * },
55
48
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
56
49
  * npi: "string",
57
50
  * telecoms: [{
58
51
  * value: "string",
59
- * use: CandidApi.preEncounter.ContactPointUse.Home,
60
- * period: {
61
- * "key": "value"
62
- * }
52
+ * use: CandidApi.preEncounter.ContactPointUse.Home
63
53
  * }],
64
- * addresses: [{
65
- * "key": "value"
66
- * }],
67
- * period: {
68
- * start: {
69
- * "key": "value"
70
- * },
71
- * end: {
72
- * "key": "value"
73
- * }
74
- * },
54
+ * addresses: [],
55
+ * period: {},
75
56
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
76
57
  * },
77
58
  * estimatedCopayCents: 1,
@@ -129,35 +110,16 @@ export declare class V1 {
129
110
  * family: "string",
130
111
  * given: ["string"],
131
112
  * use: CandidApi.preEncounter.NameUse.Usual,
132
- * period: {
133
- * start: {
134
- * "key": "value"
135
- * },
136
- * end: {
137
- * "key": "value"
138
- * }
139
- * }
113
+ * period: {}
140
114
  * },
141
115
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
142
116
  * npi: "string",
143
117
  * telecoms: [{
144
118
  * value: "string",
145
- * use: CandidApi.preEncounter.ContactPointUse.Home,
146
- * period: {
147
- * "key": "value"
148
- * }
119
+ * use: CandidApi.preEncounter.ContactPointUse.Home
149
120
  * }],
150
- * addresses: [{
151
- * "key": "value"
152
- * }],
153
- * period: {
154
- * start: {
155
- * "key": "value"
156
- * },
157
- * end: {
158
- * "key": "value"
159
- * }
160
- * },
121
+ * addresses: [],
122
+ * period: {},
161
123
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
162
124
  * },
163
125
  * estimatedCopayCents: 1,
@@ -70,35 +70,16 @@ class V1 {
70
70
  * family: "string",
71
71
  * given: ["string"],
72
72
  * use: CandidApi.preEncounter.NameUse.Usual,
73
- * period: {
74
- * start: {
75
- * "key": "value"
76
- * },
77
- * end: {
78
- * "key": "value"
79
- * }
80
- * }
73
+ * period: {}
81
74
  * },
82
75
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
83
76
  * npi: "string",
84
77
  * telecoms: [{
85
78
  * value: "string",
86
- * use: CandidApi.preEncounter.ContactPointUse.Home,
87
- * period: {
88
- * "key": "value"
89
- * }
79
+ * use: CandidApi.preEncounter.ContactPointUse.Home
90
80
  * }],
91
- * addresses: [{
92
- * "key": "value"
93
- * }],
94
- * period: {
95
- * start: {
96
- * "key": "value"
97
- * },
98
- * end: {
99
- * "key": "value"
100
- * }
101
- * },
81
+ * addresses: [],
82
+ * period: {},
102
83
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
103
84
  * },
104
85
  * estimatedCopayCents: 1,
@@ -122,7 +103,7 @@ class V1 {
122
103
  Authorization: yield this._getAuthorizationHeader(),
123
104
  "X-Fern-Language": "JavaScript",
124
105
  "X-Fern-SDK-Name": "candidhealth",
125
- "X-Fern-SDK-Version": "0.34.9",
106
+ "X-Fern-SDK-Version": "0.35.0",
126
107
  "X-Fern-Runtime": core.RUNTIME.type,
127
108
  "X-Fern-Runtime-Version": core.RUNTIME.version,
128
109
  },
@@ -187,7 +168,7 @@ class V1 {
187
168
  Authorization: yield this._getAuthorizationHeader(),
188
169
  "X-Fern-Language": "JavaScript",
189
170
  "X-Fern-SDK-Name": "candidhealth",
190
- "X-Fern-SDK-Version": "0.34.9",
171
+ "X-Fern-SDK-Version": "0.35.0",
191
172
  "X-Fern-Runtime": core.RUNTIME.type,
192
173
  "X-Fern-Runtime-Version": core.RUNTIME.version,
193
174
  },
@@ -248,7 +229,7 @@ class V1 {
248
229
  Authorization: yield this._getAuthorizationHeader(),
249
230
  "X-Fern-Language": "JavaScript",
250
231
  "X-Fern-SDK-Name": "candidhealth",
251
- "X-Fern-SDK-Version": "0.34.9",
232
+ "X-Fern-SDK-Version": "0.35.0",
252
233
  "X-Fern-Runtime": core.RUNTIME.type,
253
234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
254
235
  },
@@ -313,35 +294,16 @@ class V1 {
313
294
  * family: "string",
314
295
  * given: ["string"],
315
296
  * use: CandidApi.preEncounter.NameUse.Usual,
316
- * period: {
317
- * start: {
318
- * "key": "value"
319
- * },
320
- * end: {
321
- * "key": "value"
322
- * }
323
- * }
297
+ * period: {}
324
298
  * },
325
299
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
326
300
  * npi: "string",
327
301
  * telecoms: [{
328
302
  * value: "string",
329
- * use: CandidApi.preEncounter.ContactPointUse.Home,
330
- * period: {
331
- * "key": "value"
332
- * }
303
+ * use: CandidApi.preEncounter.ContactPointUse.Home
333
304
  * }],
334
- * addresses: [{
335
- * "key": "value"
336
- * }],
337
- * period: {
338
- * start: {
339
- * "key": "value"
340
- * },
341
- * end: {
342
- * "key": "value"
343
- * }
344
- * },
305
+ * addresses: [],
306
+ * period: {},
345
307
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
346
308
  * },
347
309
  * estimatedCopayCents: 1,
@@ -365,7 +327,7 @@ class V1 {
365
327
  Authorization: yield this._getAuthorizationHeader(),
366
328
  "X-Fern-Language": "JavaScript",
367
329
  "X-Fern-SDK-Name": "candidhealth",
368
- "X-Fern-SDK-Version": "0.34.9",
330
+ "X-Fern-SDK-Version": "0.35.0",
369
331
  "X-Fern-Runtime": core.RUNTIME.type,
370
332
  "X-Fern-Runtime-Version": core.RUNTIME.version,
371
333
  },
@@ -435,7 +397,7 @@ class V1 {
435
397
  Authorization: yield this._getAuthorizationHeader(),
436
398
  "X-Fern-Language": "JavaScript",
437
399
  "X-Fern-SDK-Name": "candidhealth",
438
- "X-Fern-SDK-Version": "0.34.9",
400
+ "X-Fern-SDK-Version": "0.35.0",
439
401
  "X-Fern-Runtime": core.RUNTIME.type,
440
402
  "X-Fern-Runtime-Version": core.RUNTIME.version,
441
403
  },
@@ -484,7 +446,7 @@ class V1 {
484
446
  Authorization: yield this._getAuthorizationHeader(),
485
447
  "X-Fern-Language": "JavaScript",
486
448
  "X-Fern-SDK-Name": "candidhealth",
487
- "X-Fern-SDK-Version": "0.34.9",
449
+ "X-Fern-SDK-Version": "0.35.0",
488
450
  "X-Fern-Runtime": core.RUNTIME.type,
489
451
  "X-Fern-Runtime-Version": core.RUNTIME.version,
490
452
  },
@@ -35,14 +35,7 @@ export declare class V1 {
35
35
  * family: "string",
36
36
  * given: ["string"],
37
37
  * use: CandidApi.preEncounter.NameUse.Usual,
38
- * period: {
39
- * start: {
40
- * "key": "value"
41
- * },
42
- * end: {
43
- * "key": "value"
44
- * }
45
- * }
38
+ * period: {}
46
39
  * },
47
40
  * dateOfBirth: "2023-01-15",
48
41
  * biologicalSex: CandidApi.preEncounter.Sex.Female,
@@ -53,14 +46,7 @@ export declare class V1 {
53
46
  * state: "string",
54
47
  * postalCode: "string",
55
48
  * country: "string",
56
- * period: {
57
- * start: {
58
- * "key": "value"
59
- * },
60
- * end: {
61
- * "key": "value"
62
- * }
63
- * }
49
+ * period: {}
64
50
  * }
65
51
  * },
66
52
  * relationship: CandidApi.preEncounter.Relationship.Self,
@@ -79,14 +65,7 @@ export declare class V1 {
79
65
  * name: "string",
80
66
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
81
67
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
82
- * period: {
83
- * start: {
84
- * "key": "value"
85
- * },
86
- * end: {
87
- * "key": "value"
88
- * }
89
- * },
68
+ * period: {},
90
69
  * insuranceCardImageLocator: "string"
91
70
  * },
92
71
  * verified: true,
@@ -102,14 +81,7 @@ export declare class V1 {
102
81
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
103
82
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
104
83
  * },
105
- * benefits: {
106
- * planCoverage: {
107
- * "key": "value"
108
- * },
109
- * serviceSpecificCoverage: {
110
- * "key": "value"
111
- * }
112
- * }
84
+ * benefits: {}
113
85
  * })
114
86
  */
115
87
  create(request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.create.Error>>;
@@ -129,14 +101,7 @@ export declare class V1 {
129
101
  * family: "string",
130
102
  * given: ["string"],
131
103
  * use: CandidApi.preEncounter.NameUse.Usual,
132
- * period: {
133
- * start: {
134
- * "key": "value"
135
- * },
136
- * end: {
137
- * "key": "value"
138
- * }
139
- * }
104
+ * period: {}
140
105
  * },
141
106
  * dateOfBirth: "2023-01-15",
142
107
  * biologicalSex: CandidApi.preEncounter.Sex.Female,
@@ -147,14 +112,7 @@ export declare class V1 {
147
112
  * state: "string",
148
113
  * postalCode: "string",
149
114
  * country: "string",
150
- * period: {
151
- * start: {
152
- * "key": "value"
153
- * },
154
- * end: {
155
- * "key": "value"
156
- * }
157
- * }
115
+ * period: {}
158
116
  * }
159
117
  * },
160
118
  * relationship: CandidApi.preEncounter.Relationship.Self,
@@ -173,14 +131,7 @@ export declare class V1 {
173
131
  * name: "string",
174
132
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
175
133
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
176
- * period: {
177
- * start: {
178
- * "key": "value"
179
- * },
180
- * end: {
181
- * "key": "value"
182
- * }
183
- * },
134
+ * period: {},
184
135
  * insuranceCardImageLocator: "string"
185
136
  * },
186
137
  * verified: true,
@@ -196,14 +147,7 @@ export declare class V1 {
196
147
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
197
148
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
198
149
  * },
199
- * benefits: {
200
- * planCoverage: {
201
- * "key": "value"
202
- * },
203
- * serviceSpecificCoverage: {
204
- * "key": "value"
205
- * }
206
- * }
150
+ * benefits: {}
207
151
  * })
208
152
  */
209
153
  update(id: CandidApi.preEncounter.CoverageId, version: string, request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.update.Error>>;