candidhealth 0.34.6 → 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 (434) 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 +13 -3
  55. package/api/resources/encounters/resources/v4/client/Client.js +18 -9
  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 +10 -0
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  61. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  62. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  63. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  69. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  70. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  71. package/api/resources/index.d.ts +1 -0
  72. package/api/resources/index.js +2 -1
  73. package/api/resources/individual/types/Patient.d.ts +24 -1
  74. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  75. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  76. package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  78. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  79. package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  80. package/api/resources/individual/types/index.d.ts +2 -0
  81. package/api/resources/individual/types/index.js +2 -0
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  83. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  87. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  88. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  91. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  92. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  93. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  94. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  95. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  96. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  97. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  98. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  99. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  100. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  101. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  102. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  103. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  104. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  105. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  106. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  107. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  108. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  109. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  110. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  113. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  117. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  118. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  119. package/api/resources/serviceFacility/client/Client.js +1 -1
  120. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  121. package/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  122. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  123. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  124. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  125. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  126. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  127. package/dist/Client.d.ts +3 -0
  128. package/dist/Client.js +61 -56
  129. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  130. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  131. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  132. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  133. package/dist/api/resources/commons/types/index.d.ts +1 -0
  134. package/dist/api/resources/commons/types/index.js +1 -0
  135. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  137. package/dist/api/resources/credentialing/client/Client.js +17 -0
  138. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  139. package/dist/api/resources/credentialing/client/index.js +2 -0
  140. package/dist/api/resources/credentialing/index.d.ts +2 -0
  141. package/dist/api/resources/credentialing/index.js +18 -0
  142. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  143. package/dist/api/resources/credentialing/resources/index.js +27 -0
  144. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  145. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  146. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  147. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  148. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  149. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  150. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  151. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  152. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  153. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  154. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  155. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  156. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  157. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  158. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  159. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  160. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  161. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  162. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  163. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  164. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  166. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  167. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  168. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  169. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  170. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  171. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  172. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  173. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  174. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  175. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  176. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  177. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  178. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  179. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  180. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  181. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  182. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
  183. package/dist/api/resources/encounters/resources/v4/client/Client.js +18 -9
  184. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  185. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  186. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
  187. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  188. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  189. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  190. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  191. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  192. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  193. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  194. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  195. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  196. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  197. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  198. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  199. package/dist/api/resources/index.d.ts +1 -0
  200. package/dist/api/resources/index.js +2 -1
  201. package/dist/api/resources/individual/types/Patient.d.ts +24 -1
  202. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  203. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  204. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  205. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  206. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  207. package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  208. package/dist/api/resources/individual/types/index.d.ts +2 -0
  209. package/dist/api/resources/individual/types/index.js +2 -0
  210. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  211. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  212. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  213. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  214. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  218. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  219. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  220. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  221. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  222. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  223. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  224. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  225. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  226. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  227. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  228. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  229. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  230. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  232. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  233. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  234. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  235. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  236. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  237. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  241. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  242. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  243. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  244. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  245. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  246. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  247. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  248. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  249. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  250. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  251. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  252. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  254. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  255. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  256. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  257. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  258. package/dist/serialization/resources/commons/types/index.js +1 -0
  259. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  260. package/dist/serialization/resources/credentialing/index.js +17 -0
  261. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  262. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  263. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  264. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  265. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  266. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  267. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  268. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  269. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  270. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  271. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  272. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  273. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  274. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  275. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  276. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  277. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  278. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  279. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  280. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  281. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  282. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  283. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  284. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  285. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  286. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  287. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  288. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  289. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  290. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  291. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  292. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  293. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  294. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  295. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  296. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  297. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  298. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  299. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  300. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  301. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  302. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  303. package/dist/serialization/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/index.js +2 -1
  305. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  306. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  307. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  308. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  309. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  310. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  311. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  312. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  313. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  314. package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
  315. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  316. package/dist/serialization/resources/individual/types/index.js +2 -0
  317. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  318. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  319. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  320. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  321. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  322. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  323. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  324. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  325. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  326. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  327. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  328. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  329. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  330. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  331. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  332. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  333. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  334. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  335. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  336. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  337. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  338. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  339. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  340. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  341. package/package.json +1 -1
  342. package/reference.md +6630 -1164
  343. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  344. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  345. package/serialization/resources/commons/types/index.d.ts +1 -0
  346. package/serialization/resources/commons/types/index.js +1 -0
  347. package/serialization/resources/credentialing/index.d.ts +1 -0
  348. package/serialization/resources/credentialing/index.js +17 -0
  349. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  350. package/serialization/resources/credentialing/resources/index.js +27 -0
  351. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  352. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  353. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  354. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  355. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  356. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  357. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  358. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  359. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  360. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  361. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  362. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  363. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  364. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  365. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  366. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  367. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  368. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  369. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  370. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  371. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  372. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  373. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  374. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  375. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  376. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  377. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  378. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  379. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  380. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  381. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  382. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  383. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  384. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  385. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  386. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  387. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  388. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  389. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  390. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  391. package/serialization/resources/index.d.ts +1 -0
  392. package/serialization/resources/index.js +2 -1
  393. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  394. package/serialization/resources/individual/types/Patient.js +2 -0
  395. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  396. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  397. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  398. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  399. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  400. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  401. package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  402. package/serialization/resources/individual/types/PatientUpdate.js +2 -0
  403. package/serialization/resources/individual/types/index.d.ts +2 -0
  404. package/serialization/resources/individual/types/index.js +2 -0
  405. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  406. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  407. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  408. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  409. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  410. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  411. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  412. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  413. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  414. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  415. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  416. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  417. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  418. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  419. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  420. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  421. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  422. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  423. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  424. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  425. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  426. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  427. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  428. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  429. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  430. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  431. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  432. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  433. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  434. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -35,17 +35,19 @@ 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
- * biologicalSex: CandidApi.preEncounter.Sex.Female
41
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
42
+ * address: {
43
+ * use: CandidApi.preEncounter.AddressUse.Home,
44
+ * line: ["string"],
45
+ * city: "string",
46
+ * state: "string",
47
+ * postalCode: "string",
48
+ * country: "string",
49
+ * period: {}
50
+ * }
49
51
  * },
50
52
  * relationship: CandidApi.preEncounter.Relationship.Self,
51
53
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -63,14 +65,7 @@ export declare class V1 {
63
65
  * name: "string",
64
66
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
65
67
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
66
- * period: {
67
- * start: {
68
- * "key": "value"
69
- * },
70
- * end: {
71
- * "key": "value"
72
- * }
73
- * },
68
+ * period: {},
74
69
  * insuranceCardImageLocator: "string"
75
70
  * },
76
71
  * verified: true,
@@ -86,14 +81,7 @@ export declare class V1 {
86
81
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
87
82
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
88
83
  * },
89
- * benefits: {
90
- * planCoverage: {
91
- * "key": "value"
92
- * },
93
- * serviceSpecificCoverage: {
94
- * "key": "value"
95
- * }
96
- * }
84
+ * benefits: {}
97
85
  * })
98
86
  */
99
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>>;
@@ -113,17 +101,19 @@ export declare class V1 {
113
101
  * family: "string",
114
102
  * given: ["string"],
115
103
  * use: CandidApi.preEncounter.NameUse.Usual,
116
- * period: {
117
- * start: {
118
- * "key": "value"
119
- * },
120
- * end: {
121
- * "key": "value"
122
- * }
123
- * }
104
+ * period: {}
124
105
  * },
125
106
  * dateOfBirth: "2023-01-15",
126
- * biologicalSex: CandidApi.preEncounter.Sex.Female
107
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
108
+ * address: {
109
+ * use: CandidApi.preEncounter.AddressUse.Home,
110
+ * line: ["string"],
111
+ * city: "string",
112
+ * state: "string",
113
+ * postalCode: "string",
114
+ * country: "string",
115
+ * period: {}
116
+ * }
127
117
  * },
128
118
  * relationship: CandidApi.preEncounter.Relationship.Self,
129
119
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -141,14 +131,7 @@ export declare class V1 {
141
131
  * name: "string",
142
132
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
143
133
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
144
- * period: {
145
- * start: {
146
- * "key": "value"
147
- * },
148
- * end: {
149
- * "key": "value"
150
- * }
151
- * },
134
+ * period: {},
152
135
  * insuranceCardImageLocator: "string"
153
136
  * },
154
137
  * verified: true,
@@ -164,14 +147,7 @@ export declare class V1 {
164
147
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
165
148
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
166
149
  * },
167
- * benefits: {
168
- * planCoverage: {
169
- * "key": "value"
170
- * },
171
- * serviceSpecificCoverage: {
172
- * "key": "value"
173
- * }
174
- * }
150
+ * benefits: {}
175
151
  * })
176
152
  */
177
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>>;
@@ -62,17 +62,19 @@ class V1 {
62
62
  * family: "string",
63
63
  * given: ["string"],
64
64
  * use: CandidApi.preEncounter.NameUse.Usual,
65
- * period: {
66
- * start: {
67
- * "key": "value"
68
- * },
69
- * end: {
70
- * "key": "value"
71
- * }
72
- * }
65
+ * period: {}
73
66
  * },
74
67
  * dateOfBirth: "2023-01-15",
75
- * biologicalSex: CandidApi.preEncounter.Sex.Female
68
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
69
+ * address: {
70
+ * use: CandidApi.preEncounter.AddressUse.Home,
71
+ * line: ["string"],
72
+ * city: "string",
73
+ * state: "string",
74
+ * postalCode: "string",
75
+ * country: "string",
76
+ * period: {}
77
+ * }
76
78
  * },
77
79
  * relationship: CandidApi.preEncounter.Relationship.Self,
78
80
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -90,14 +92,7 @@ class V1 {
90
92
  * name: "string",
91
93
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
92
94
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
93
- * period: {
94
- * start: {
95
- * "key": "value"
96
- * },
97
- * end: {
98
- * "key": "value"
99
- * }
100
- * },
95
+ * period: {},
101
96
  * insuranceCardImageLocator: "string"
102
97
  * },
103
98
  * verified: true,
@@ -113,14 +108,7 @@ class V1 {
113
108
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
114
109
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
115
110
  * },
116
- * benefits: {
117
- * planCoverage: {
118
- * "key": "value"
119
- * },
120
- * serviceSpecificCoverage: {
121
- * "key": "value"
122
- * }
123
- * }
111
+ * benefits: {}
124
112
  * })
125
113
  */
126
114
  create(request, requestOptions) {
@@ -134,7 +122,7 @@ class V1 {
134
122
  Authorization: yield this._getAuthorizationHeader(),
135
123
  "X-Fern-Language": "JavaScript",
136
124
  "X-Fern-SDK-Name": "candidhealth",
137
- "X-Fern-SDK-Version": "0.34.6",
125
+ "X-Fern-SDK-Version": "0.35.0",
138
126
  "X-Fern-Runtime": core.RUNTIME.type,
139
127
  "X-Fern-Runtime-Version": core.RUNTIME.version,
140
128
  },
@@ -180,17 +168,19 @@ class V1 {
180
168
  * family: "string",
181
169
  * given: ["string"],
182
170
  * use: CandidApi.preEncounter.NameUse.Usual,
183
- * period: {
184
- * start: {
185
- * "key": "value"
186
- * },
187
- * end: {
188
- * "key": "value"
189
- * }
190
- * }
171
+ * period: {}
191
172
  * },
192
173
  * dateOfBirth: "2023-01-15",
193
- * biologicalSex: CandidApi.preEncounter.Sex.Female
174
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
175
+ * address: {
176
+ * use: CandidApi.preEncounter.AddressUse.Home,
177
+ * line: ["string"],
178
+ * city: "string",
179
+ * state: "string",
180
+ * postalCode: "string",
181
+ * country: "string",
182
+ * period: {}
183
+ * }
194
184
  * },
195
185
  * relationship: CandidApi.preEncounter.Relationship.Self,
196
186
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -208,14 +198,7 @@ class V1 {
208
198
  * name: "string",
209
199
  * planType: CandidApi.preEncounter.coverages.v1.NetworkType.SelfPay,
210
200
  * type: CandidApi.preEncounter.coverages.v1.InsuranceTypeCode.C01,
211
- * period: {
212
- * start: {
213
- * "key": "value"
214
- * },
215
- * end: {
216
- * "key": "value"
217
- * }
218
- * },
201
+ * period: {},
219
202
  * insuranceCardImageLocator: "string"
220
203
  * },
221
204
  * verified: true,
@@ -231,14 +214,7 @@ class V1 {
231
214
  * status: CandidApi.preEncounter.coverages.v1.EligibilityStatus.Active,
232
215
  * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
233
216
  * },
234
- * benefits: {
235
- * planCoverage: {
236
- * "key": "value"
237
- * },
238
- * serviceSpecificCoverage: {
239
- * "key": "value"
240
- * }
241
- * }
217
+ * benefits: {}
242
218
  * })
243
219
  */
244
220
  update(id, version, request, requestOptions) {
@@ -252,7 +228,7 @@ class V1 {
252
228
  Authorization: yield this._getAuthorizationHeader(),
253
229
  "X-Fern-Language": "JavaScript",
254
230
  "X-Fern-SDK-Name": "candidhealth",
255
- "X-Fern-SDK-Version": "0.34.6",
231
+ "X-Fern-SDK-Version": "0.35.0",
256
232
  "X-Fern-Runtime": core.RUNTIME.type,
257
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
258
234
  },
@@ -317,7 +293,7 @@ class V1 {
317
293
  Authorization: yield this._getAuthorizationHeader(),
318
294
  "X-Fern-Language": "JavaScript",
319
295
  "X-Fern-SDK-Name": "candidhealth",
320
- "X-Fern-SDK-Version": "0.34.6",
296
+ "X-Fern-SDK-Version": "0.35.0",
321
297
  "X-Fern-Runtime": core.RUNTIME.type,
322
298
  "X-Fern-Runtime-Version": core.RUNTIME.version,
323
299
  },
@@ -364,7 +340,7 @@ class V1 {
364
340
  Authorization: yield this._getAuthorizationHeader(),
365
341
  "X-Fern-Language": "JavaScript",
366
342
  "X-Fern-SDK-Name": "candidhealth",
367
- "X-Fern-SDK-Version": "0.34.6",
343
+ "X-Fern-SDK-Version": "0.35.0",
368
344
  "X-Fern-Runtime": core.RUNTIME.type,
369
345
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
346
  },
@@ -432,7 +408,7 @@ class V1 {
432
408
  Authorization: yield this._getAuthorizationHeader(),
433
409
  "X-Fern-Language": "JavaScript",
434
410
  "X-Fern-SDK-Name": "candidhealth",
435
- "X-Fern-SDK-Version": "0.34.6",
411
+ "X-Fern-SDK-Version": "0.35.0",
436
412
  "X-Fern-Runtime": core.RUNTIME.type,
437
413
  "X-Fern-Runtime-Version": core.RUNTIME.version,
438
414
  },
@@ -485,7 +461,7 @@ class V1 {
485
461
  Authorization: yield this._getAuthorizationHeader(),
486
462
  "X-Fern-Language": "JavaScript",
487
463
  "X-Fern-SDK-Name": "candidhealth",
488
- "X-Fern-SDK-Version": "0.34.6",
464
+ "X-Fern-SDK-Version": "0.35.0",
489
465
  "X-Fern-Runtime": core.RUNTIME.type,
490
466
  "X-Fern-Runtime-Version": core.RUNTIME.version,
491
467
  },
@@ -538,7 +514,7 @@ class V1 {
538
514
  Authorization: yield this._getAuthorizationHeader(),
539
515
  "X-Fern-Language": "JavaScript",
540
516
  "X-Fern-SDK-Name": "candidhealth",
541
- "X-Fern-SDK-Version": "0.34.6",
517
+ "X-Fern-SDK-Version": "0.35.0",
542
518
  "X-Fern-Runtime": core.RUNTIME.type,
543
519
  "X-Fern-Runtime-Version": core.RUNTIME.version,
544
520
  },
@@ -589,7 +565,7 @@ class V1 {
589
565
  Authorization: yield this._getAuthorizationHeader(),
590
566
  "X-Fern-Language": "JavaScript",
591
567
  "X-Fern-SDK-Name": "candidhealth",
592
- "X-Fern-SDK-Version": "0.34.6",
568
+ "X-Fern-SDK-Version": "0.35.0",
593
569
  "X-Fern-Runtime": core.RUNTIME.type,
594
570
  "X-Fern-Runtime-Version": core.RUNTIME.version,
595
571
  },
@@ -6,4 +6,5 @@ export interface Subscriber {
6
6
  name: CandidApi.preEncounter.HumanName;
7
7
  dateOfBirth: string;
8
8
  biologicalSex: CandidApi.preEncounter.Sex;
9
+ address?: CandidApi.preEncounter.Address;
9
10
  }
@@ -91,7 +91,7 @@ class V1 {
91
91
  Authorization: yield this._getAuthorizationHeader(),
92
92
  "X-Fern-Language": "JavaScript",
93
93
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "0.34.6",
94
+ "X-Fern-SDK-Version": "0.35.0",
95
95
  "X-Fern-Runtime": core.RUNTIME.type,
96
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
97
  },
@@ -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.34.6",
179
+ "X-Fern-SDK-Version": "0.35.0",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },