candidhealth 0.34.9 → 0.35.1

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 (492) 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.d.ts +3 -2
  68. package/api/resources/exports/resources/v3/client/Client.js +4 -3
  69. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  70. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  71. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  72. package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  73. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  74. package/api/resources/index.d.ts +2 -0
  75. package/api/resources/index.js +3 -1
  76. package/api/resources/individual/types/Patient.d.ts +14 -2
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  78. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  79. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  80. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  81. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  82. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  84. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  87. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  88. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  89. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  90. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  91. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  92. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  93. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  94. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  95. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  96. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  98. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  103. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  105. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  106. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  107. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  108. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  109. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  110. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  111. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  112. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  113. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  117. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  118. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  119. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  120. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  121. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  122. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  123. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  124. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  125. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  126. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  127. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  128. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  129. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  130. package/api/resources/remitDrafts/index.d.ts +1 -0
  131. package/api/resources/remitDrafts/index.js +17 -0
  132. package/api/resources/remitDrafts/resources/index.d.ts +1 -0
  133. package/api/resources/remitDrafts/resources/index.js +27 -0
  134. package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  135. package/api/resources/remitDrafts/resources/v1/index.js +17 -0
  136. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  137. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  138. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  139. package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  140. package/api/resources/serviceFacility/client/Client.js +1 -1
  141. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  142. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  143. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  144. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  145. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  146. package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  147. package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  148. package/dist/Client.d.ts +3 -0
  149. package/dist/Client.js +61 -56
  150. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  151. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  152. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  153. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  154. package/dist/api/resources/commons/types/index.d.ts +1 -0
  155. package/dist/api/resources/commons/types/index.js +1 -0
  156. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  157. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  158. package/dist/api/resources/credentialing/client/Client.js +17 -0
  159. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  160. package/dist/api/resources/credentialing/client/index.js +2 -0
  161. package/dist/api/resources/credentialing/index.d.ts +2 -0
  162. package/dist/api/resources/credentialing/index.js +18 -0
  163. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  164. package/dist/api/resources/credentialing/resources/index.js +27 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  166. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  167. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  168. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  169. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  170. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  171. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  172. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  173. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  174. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  175. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  176. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  177. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  178. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  179. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  180. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  181. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  182. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  183. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  184. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  185. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  186. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  187. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  188. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  189. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  190. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  191. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  192. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  193. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  194. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  195. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  196. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  197. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  198. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  199. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  200. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  201. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  202. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  203. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  204. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
  205. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  206. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  207. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  208. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  209. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  210. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  211. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  212. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  213. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  214. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  216. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  217. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
  218. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  219. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  220. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  221. package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  222. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  223. package/dist/api/resources/index.d.ts +2 -0
  224. package/dist/api/resources/index.js +3 -1
  225. package/dist/api/resources/individual/types/Patient.d.ts +14 -2
  226. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  227. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  228. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  229. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  230. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  232. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  233. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  234. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  235. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  236. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  237. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  238. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  239. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  240. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  241. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  242. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  243. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  244. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  245. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  246. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  247. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  248. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  249. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  251. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  252. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  254. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  255. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  256. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  257. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  258. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  259. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  260. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  261. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  262. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  263. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  264. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  265. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  266. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  267. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  268. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  269. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  270. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  271. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  272. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  273. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  274. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  275. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  276. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  277. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  278. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  279. package/dist/api/resources/remitDrafts/index.d.ts +1 -0
  280. package/dist/api/resources/remitDrafts/index.js +17 -0
  281. package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
  282. package/dist/api/resources/remitDrafts/resources/index.js +27 -0
  283. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  284. package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
  285. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  286. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  287. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  288. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  289. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  290. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  291. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  292. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  293. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  294. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  295. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  296. package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  297. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  298. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  299. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/commons/types/index.js +1 -0
  301. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  302. package/dist/serialization/resources/credentialing/index.js +17 -0
  303. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  305. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  306. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  307. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  308. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  309. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  310. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  311. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  312. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  313. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  314. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  315. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  316. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  317. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  318. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  319. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  320. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  321. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  322. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  323. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  324. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  325. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  326. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  327. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  328. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  329. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  330. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  331. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  332. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  333. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  334. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  335. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  336. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  337. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  338. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  339. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  340. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  341. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  342. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  343. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  344. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  345. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  346. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  347. package/dist/serialization/resources/index.d.ts +2 -0
  348. package/dist/serialization/resources/index.js +3 -1
  349. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  350. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  351. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  352. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  353. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  354. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  355. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  356. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  357. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  358. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  359. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  360. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  361. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  362. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  363. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  364. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  365. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  366. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  367. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  368. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  369. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  370. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  371. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  372. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  373. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  374. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  375. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  376. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  377. package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
  378. package/dist/serialization/resources/remitDrafts/index.js +17 -0
  379. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  380. package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
  381. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  382. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  383. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  384. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  385. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  386. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  387. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  389. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  390. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  391. package/package.json +1 -1
  392. package/reference.md +622 -457
  393. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  394. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  395. package/serialization/resources/commons/types/index.d.ts +1 -0
  396. package/serialization/resources/commons/types/index.js +1 -0
  397. package/serialization/resources/credentialing/index.d.ts +1 -0
  398. package/serialization/resources/credentialing/index.js +17 -0
  399. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  400. package/serialization/resources/credentialing/resources/index.js +27 -0
  401. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  402. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  403. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  404. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  405. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  406. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  407. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  408. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  409. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  410. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  411. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  412. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  413. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  414. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  415. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  416. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  417. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  418. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  419. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  420. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  421. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  422. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  423. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  424. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  425. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  426. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  427. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  428. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  429. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  430. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  431. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  432. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  433. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  434. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  435. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  436. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  437. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  438. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  439. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  440. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  441. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  442. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  443. package/serialization/resources/index.d.ts +2 -0
  444. package/serialization/resources/index.js +3 -1
  445. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  446. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  447. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  448. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  449. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  450. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  451. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  452. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  453. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  454. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  455. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  456. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  457. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  458. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  459. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  460. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  461. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  462. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  463. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  464. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  465. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  466. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  467. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  468. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  469. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  470. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  471. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  472. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  473. package/serialization/resources/remitDrafts/index.d.ts +1 -0
  474. package/serialization/resources/remitDrafts/index.js +17 -0
  475. package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  476. package/serialization/resources/remitDrafts/resources/index.js +27 -0
  477. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  478. package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  479. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  480. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  481. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  482. package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  483. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  484. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  485. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  486. package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  487. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  488. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  489. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  490. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  491. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  492. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.34.9",
70
+ "X-Fern-SDK-Version": "0.35.1",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.34.9",
131
+ "X-Fern-SDK-Version": "0.35.1",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -207,7 +207,7 @@ class V1 {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.34.9",
210
+ "X-Fern-SDK-Version": "0.35.1",
211
211
  "X-Fern-Runtime": core.RUNTIME.type,
212
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
213
213
  },
@@ -277,7 +277,7 @@ class V1 {
277
277
  Authorization: yield this._getAuthorizationHeader(),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "candidhealth",
280
- "X-Fern-SDK-Version": "0.34.9",
280
+ "X-Fern-SDK-Version": "0.35.1",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -73,7 +73,7 @@ class Diagnoses {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.34.9",
76
+ "X-Fern-SDK-Version": "0.35.1",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -126,7 +126,7 @@ class Diagnoses {
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.1",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -188,7 +188,7 @@ class Diagnoses {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "candidhealth",
191
- "X-Fern-SDK-Version": "0.34.9",
191
+ "X-Fern-SDK-Version": "0.35.1",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.34.9",
86
+ "X-Fern-SDK-Version": "0.35.1",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
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.1",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.34.9",
230
+ "X-Fern-SDK-Version": "0.35.1",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -81,7 +81,7 @@ class V2 {
81
81
  Authorization: yield this._getAuthorizationHeader(),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "candidhealth",
84
- "X-Fern-SDK-Version": "0.34.9",
84
+ "X-Fern-SDK-Version": "0.35.1",
85
85
  "X-Fern-Runtime": core.RUNTIME.type,
86
86
  "X-Fern-Runtime-Version": core.RUNTIME.version,
87
87
  },
@@ -160,7 +160,7 @@ class V2 {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "candidhealth",
163
- "X-Fern-SDK-Version": "0.34.9",
163
+ "X-Fern-SDK-Version": "0.35.1",
164
164
  "X-Fern-Runtime": core.RUNTIME.type,
165
165
  "X-Fern-Runtime-Version": core.RUNTIME.version,
166
166
  },
@@ -239,7 +239,7 @@ class V2 {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.34.9",
242
+ "X-Fern-SDK-Version": "0.35.1",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -318,7 +318,7 @@ class V2 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.34.9",
321
+ "X-Fern-SDK-Version": "0.35.1",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -396,7 +396,7 @@ class V2 {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "candidhealth",
399
- "X-Fern-SDK-Version": "0.34.9",
399
+ "X-Fern-SDK-Version": "0.35.1",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -476,7 +476,7 @@ class V2 {
476
476
  Authorization: yield this._getAuthorizationHeader(),
477
477
  "X-Fern-Language": "JavaScript",
478
478
  "X-Fern-SDK-Name": "candidhealth",
479
- "X-Fern-SDK-Version": "0.34.9",
479
+ "X-Fern-SDK-Version": "0.35.1",
480
480
  "X-Fern-Runtime": core.RUNTIME.type,
481
481
  "X-Fern-Runtime-Version": core.RUNTIME.version,
482
482
  },
@@ -557,7 +557,7 @@ class V2 {
557
557
  Authorization: yield this._getAuthorizationHeader(),
558
558
  "X-Fern-Language": "JavaScript",
559
559
  "X-Fern-SDK-Name": "candidhealth",
560
- "X-Fern-SDK-Version": "0.34.9",
560
+ "X-Fern-SDK-Version": "0.35.1",
561
561
  "X-Fern-Runtime": core.RUNTIME.type,
562
562
  "X-Fern-Runtime-Version": core.RUNTIME.version,
563
563
  },
@@ -637,7 +637,7 @@ class V2 {
637
637
  Authorization: yield this._getAuthorizationHeader(),
638
638
  "X-Fern-Language": "JavaScript",
639
639
  "X-Fern-SDK-Name": "candidhealth",
640
- "X-Fern-SDK-Version": "0.34.9",
640
+ "X-Fern-SDK-Version": "0.35.1",
641
641
  "X-Fern-Runtime": core.RUNTIME.type,
642
642
  "X-Fern-Runtime-Version": core.RUNTIME.version,
643
643
  },
@@ -701,7 +701,7 @@ class V2 {
701
701
  Authorization: yield this._getAuthorizationHeader(),
702
702
  "X-Fern-Language": "JavaScript",
703
703
  "X-Fern-SDK-Name": "candidhealth",
704
- "X-Fern-SDK-Version": "0.34.9",
704
+ "X-Fern-SDK-Version": "0.35.1",
705
705
  "X-Fern-Runtime": core.RUNTIME.type,
706
706
  "X-Fern-Runtime-Version": core.RUNTIME.version,
707
707
  },
@@ -756,7 +756,7 @@ class V2 {
756
756
  Authorization: yield this._getAuthorizationHeader(),
757
757
  "X-Fern-Language": "JavaScript",
758
758
  "X-Fern-SDK-Name": "candidhealth",
759
- "X-Fern-SDK-Version": "0.34.9",
759
+ "X-Fern-SDK-Version": "0.35.1",
760
760
  "X-Fern-Runtime": core.RUNTIME.type,
761
761
  "X-Fern-Runtime-Version": core.RUNTIME.version,
762
762
  },
@@ -811,7 +811,7 @@ class V2 {
811
811
  Authorization: yield this._getAuthorizationHeader(),
812
812
  "X-Fern-Language": "JavaScript",
813
813
  "X-Fern-SDK-Name": "candidhealth",
814
- "X-Fern-SDK-Version": "0.34.9",
814
+ "X-Fern-SDK-Version": "0.35.1",
815
815
  "X-Fern-Runtime": core.RUNTIME.type,
816
816
  "X-Fern-Runtime-Version": core.RUNTIME.version,
817
817
  },
@@ -866,7 +866,7 @@ class V2 {
866
866
  Authorization: yield this._getAuthorizationHeader(),
867
867
  "X-Fern-Language": "JavaScript",
868
868
  "X-Fern-SDK-Name": "candidhealth",
869
- "X-Fern-SDK-Version": "0.34.9",
869
+ "X-Fern-SDK-Version": "0.35.1",
870
870
  "X-Fern-Runtime": core.RUNTIME.type,
871
871
  "X-Fern-Runtime-Version": core.RUNTIME.version,
872
872
  },
@@ -350,6 +350,7 @@ export declare class V4 {
350
350
  * "age": 38
351
351
  * }
352
352
  * }],
353
+ * referralNumber: "string",
353
354
  * externalId: CandidApi.EncounterExternalId("string"),
354
355
  * dateOfService: "2023-01-15",
355
356
  * endDateOfService: "2023-01-15",
@@ -408,8 +409,7 @@ export declare class V4 {
408
409
  * dischargeDate: "2023-01-15",
409
410
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
410
411
  * lastMenstrualPeriodDate: "2023-01-15",
411
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
412
- * referralNumber: "string"
412
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
413
413
  * })
414
414
  */
415
415
  create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
@@ -425,7 +425,7 @@ export declare class V4 {
425
425
  * - Referring Provider
426
426
  * - Subscriber Primary
427
427
  * - Subscriber Secondary
428
- * - Prior Authorization Number
428
+ * - Referral Number
429
429
  * - Responsible Party
430
430
  * - Guarantor
431
431
  *
@@ -670,8 +670,7 @@ export declare class V4 {
670
670
  * dischargeDate: "2023-01-15",
671
671
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
672
672
  * lastMenstrualPeriodDate: "2023-01-15",
673
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
674
- * referralNumber: "string"
673
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
675
674
  * })
676
675
  */
677
676
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.34.9",
135
+ "X-Fern-SDK-Version": "0.35.1",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.34.9",
181
+ "X-Fern-SDK-Version": "0.35.1",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -507,6 +507,7 @@ class V4 {
507
507
  * "age": 38
508
508
  * }
509
509
  * }],
510
+ * referralNumber: "string",
510
511
  * externalId: CandidApi.EncounterExternalId("string"),
511
512
  * dateOfService: "2023-01-15",
512
513
  * endDateOfService: "2023-01-15",
@@ -565,8 +566,7 @@ class V4 {
565
566
  * dischargeDate: "2023-01-15",
566
567
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
567
568
  * lastMenstrualPeriodDate: "2023-01-15",
568
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
569
- * referralNumber: "string"
569
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
570
570
  * })
571
571
  */
572
572
  create(request, requestOptions) {
@@ -580,7 +580,7 @@ class V4 {
580
580
  Authorization: yield this._getAuthorizationHeader(),
581
581
  "X-Fern-Language": "JavaScript",
582
582
  "X-Fern-SDK-Name": "candidhealth",
583
- "X-Fern-SDK-Version": "0.34.9",
583
+ "X-Fern-SDK-Version": "0.35.1",
584
584
  "X-Fern-Runtime": core.RUNTIME.type,
585
585
  "X-Fern-Runtime-Version": core.RUNTIME.version,
586
586
  },
@@ -640,7 +640,7 @@ class V4 {
640
640
  * - Referring Provider
641
641
  * - Subscriber Primary
642
642
  * - Subscriber Secondary
643
- * - Prior Authorization Number
643
+ * - Referral Number
644
644
  * - Responsible Party
645
645
  * - Guarantor
646
646
  *
@@ -885,8 +885,7 @@ class V4 {
885
885
  * dischargeDate: "2023-01-15",
886
886
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
887
887
  * lastMenstrualPeriodDate: "2023-01-15",
888
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
889
- * referralNumber: "string"
888
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
890
889
  * })
891
890
  */
892
891
  createFromPreEncounterPatient(request, requestOptions) {
@@ -900,7 +899,7 @@ class V4 {
900
899
  Authorization: yield this._getAuthorizationHeader(),
901
900
  "X-Fern-Language": "JavaScript",
902
901
  "X-Fern-SDK-Name": "candidhealth",
903
- "X-Fern-SDK-Version": "0.34.9",
902
+ "X-Fern-SDK-Version": "0.35.1",
904
903
  "X-Fern-Runtime": core.RUNTIME.type,
905
904
  "X-Fern-Runtime-Version": core.RUNTIME.version,
906
905
  },
@@ -931,7 +930,6 @@ class V4 {
931
930
  case "EntityNotFoundError":
932
931
  case "HttpRequestValidationsError":
933
932
  case "SchemaInstanceValidationHttpFailure":
934
- case "InsurancePayMissingPrimaryCoverageError":
935
933
  return {
936
934
  ok: false,
937
935
  error: serializers.encounters.v4.createFromPreEncounterPatient.Error.parseOrThrow(_response.error.body, {
@@ -1229,7 +1227,7 @@ class V4 {
1229
1227
  Authorization: yield this._getAuthorizationHeader(),
1230
1228
  "X-Fern-Language": "JavaScript",
1231
1229
  "X-Fern-SDK-Name": "candidhealth",
1232
- "X-Fern-SDK-Version": "0.34.9",
1230
+ "X-Fern-SDK-Version": "0.35.1",
1233
1231
  "X-Fern-Runtime": core.RUNTIME.type,
1234
1232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1235
1233
  },
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.InsurancePayMissingPrimaryCoverageError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
6
+ export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
7
7
  export declare namespace Error {
8
8
  interface EncounterExternalIdUniquenessError extends _Utils {
9
9
  errorName: "EncounterExternalIdUniquenessError";
@@ -25,10 +25,6 @@ export declare namespace Error {
25
25
  errorName: "SchemaInstanceValidationHttpFailure";
26
26
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
27
27
  }
28
- interface InsurancePayMissingPrimaryCoverageError extends _Utils {
29
- errorName: "InsurancePayMissingPrimaryCoverageError";
30
- content: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType;
31
- }
32
28
  interface _Unknown extends _Utils {
33
29
  errorName: void;
34
30
  content: core.Fetcher.Error;
@@ -42,7 +38,6 @@ export declare namespace Error {
42
38
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
43
39
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
44
40
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
45
- insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => _Result;
46
41
  _other: (value: core.Fetcher.Error) => _Result;
47
42
  }
48
43
  }
@@ -52,7 +47,6 @@ export declare const Error: {
52
47
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError;
53
48
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
54
49
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
55
- readonly insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.InsurancePayMissingPrimaryCoverageError;
56
50
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
57
51
  readonly _visit: <_Result>(value: CandidApi.encounters.v4.createFromPreEncounterPatient.Error, visitor: CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Visitor<_Result>) => _Result;
58
52
  };
@@ -74,15 +74,6 @@ exports.Error = {
74
74
  },
75
75
  };
76
76
  },
77
- insurancePayMissingPrimaryCoverageError: (value) => {
78
- return {
79
- content: value,
80
- errorName: "InsurancePayMissingPrimaryCoverageError",
81
- _visit: function (visitor) {
82
- return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
83
- },
84
- };
85
- },
86
77
  _unknown: (fetcherError) => {
87
78
  return {
88
79
  errorName: undefined,
@@ -104,8 +95,6 @@ exports.Error = {
104
95
  return visitor.httpRequestValidationsError(value.content);
105
96
  case "SchemaInstanceValidationHttpFailure":
106
97
  return visitor.schemaInstanceValidationHttpFailure(value.content);
107
- case "InsurancePayMissingPrimaryCoverageError":
108
- return visitor.insurancePayMissingPrimaryCoverageError(value.content);
109
98
  default:
110
99
  return visitor._other(value);
111
100
  }
@@ -301,6 +301,7 @@ import * as CandidApi from "../../../../../../index";
301
301
  * "age": 38
302
302
  * }
303
303
  * }],
304
+ * referralNumber: "string",
304
305
  * externalId: CandidApi.EncounterExternalId("string"),
305
306
  * dateOfService: "2023-01-15",
306
307
  * endDateOfService: "2023-01-15",
@@ -359,8 +360,7 @@ import * as CandidApi from "../../../../../../index";
359
360
  * dischargeDate: "2023-01-15",
360
361
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
361
362
  * lastMenstrualPeriodDate: "2023-01-15",
362
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
363
- * referralNumber: "string"
363
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
364
364
  * }
365
365
  */
366
366
  export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
@@ -471,4 +471,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
471
471
  *
472
472
  */
473
473
  schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
474
+ /**
475
+ * Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
476
+ *
477
+ */
478
+ referralNumber?: string;
474
479
  }
@@ -238,8 +238,7 @@ import * as CandidApi from "../../../../../../index";
238
238
  * dischargeDate: "2023-01-15",
239
239
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
240
240
  * lastMenstrualPeriodDate: "2023-01-15",
241
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
242
- * referralNumber: "string"
241
+ * delayReasonCode: CandidApi.DelayReasonCode.C1
243
242
  * }
244
243
  */
245
244
  export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
@@ -96,7 +96,13 @@ import * as CandidApi from "../../../../../index";
96
96
  * name: "Sunrise Foundation",
97
97
  * category: "Foundation",
98
98
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
99
- * enabled: true
99
+ * enabled: true,
100
+ * address: {
101
+ * address1: "123 Main St",
102
+ * city: "San Francisco",
103
+ * state: CandidApi.State.Ca,
104
+ * zipCode: "94105"
105
+ * }
100
106
  * }],
101
107
  * nonInsurancePayersInfo: [{
102
108
  * nonInsurancePayer: {
@@ -104,7 +110,13 @@ import * as CandidApi from "../../../../../index";
104
110
  * name: "Sunrise Foundation",
105
111
  * category: "Foundation",
106
112
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
107
- * enabled: true
113
+ * enabled: true,
114
+ * address: {
115
+ * address1: "123 Main St",
116
+ * city: "San Francisco",
117
+ * state: CandidApi.State.Ca,
118
+ * zipCode: "94105"
119
+ * }
108
120
  * },
109
121
  * memberId: "123456789"
110
122
  * }],
@@ -481,4 +493,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
481
493
  * instances cannot be created for the same schema on an encounter.
482
494
  */
483
495
  schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
496
+ /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
497
+ referralNumber?: string;
484
498
  }
@@ -106,6 +106,4 @@ export interface EncounterBase {
106
106
  * Code indicating the reason why a request was delayed
107
107
  */
108
108
  delayReasonCode?: CandidApi.DelayReasonCode;
109
- /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
110
- referralNumber?: string;
111
109
  }
@@ -97,7 +97,13 @@ import * as CandidApi from "../../../../../index";
97
97
  * name: "Sunrise Foundation",
98
98
  * category: "Foundation",
99
99
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
100
- * enabled: true
100
+ * enabled: true,
101
+ * address: {
102
+ * address1: "123 Main St",
103
+ * city: "San Francisco",
104
+ * state: CandidApi.State.Ca,
105
+ * zipCode: "94105"
106
+ * }
101
107
  * }],
102
108
  * nonInsurancePayersInfo: [{
103
109
  * nonInsurancePayer: {
@@ -105,7 +111,13 @@ import * as CandidApi from "../../../../../index";
105
111
  * name: "Sunrise Foundation",
106
112
  * category: "Foundation",
107
113
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
108
- * enabled: true
114
+ * enabled: true,
115
+ * address: {
116
+ * address1: "123 Main St",
117
+ * city: "San Francisco",
118
+ * state: CandidApi.State.Ca,
119
+ * zipCode: "94105"
120
+ * }
109
121
  * },
110
122
  * memberId: "123456789"
111
123
  * }],
@@ -28,7 +28,6 @@ export * from "./PriorAuthorizationNumber";
28
28
  export * from "./RxCui";
29
29
  export * from "./IntakeQuestionId";
30
30
  export * from "./IntakeFollowUpId";
31
- export * from "./InsurancePayMissingPrimaryCoverageErrorType";
32
31
  export * from "./EncounterExternalIdUniquenessErrorType";
33
32
  export * from "./EncounterPatientControlNumberUniquenessErrorType";
34
33
  export * from "./EncounterGuarantorMissingContactInfoErrorType";
@@ -44,7 +44,6 @@ __exportStar(require("./PriorAuthorizationNumber"), exports);
44
44
  __exportStar(require("./RxCui"), exports);
45
45
  __exportStar(require("./IntakeQuestionId"), exports);
46
46
  __exportStar(require("./IntakeFollowUpId"), exports);
47
- __exportStar(require("./InsurancePayMissingPrimaryCoverageErrorType"), exports);
48
47
  __exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
49
48
  __exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), exports);
50
49
  __exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.34.9",
82
+ "X-Fern-SDK-Version": "0.35.1",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -96,7 +96,7 @@ class V2 {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.34.9",
99
+ "X-Fern-SDK-Version": "0.35.1",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -189,7 +189,7 @@ class V2 {
189
189
  Authorization: yield this._getAuthorizationHeader(),
190
190
  "X-Fern-Language": "JavaScript",
191
191
  "X-Fern-SDK-Name": "candidhealth",
192
- "X-Fern-SDK-Version": "0.34.9",
192
+ "X-Fern-SDK-Version": "0.35.1",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -32,8 +32,9 @@ export declare class V3 {
32
32
  *
33
33
  * **SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
34
34
  * available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
35
- * caller will receive a 422 response. If the file has already been generated, it will be served. Please email
36
- * our [Support team](mailto:support@joincandidhealth.com) with any data requests outside of these stated guarantees.
35
+ * caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
36
+ * up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
37
+ * outside of these stated guarantees.
37
38
  *
38
39
  * @param {CandidApi.exports.v3.GetExportsRequest} request
39
40
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -59,8 +59,9 @@ class V3 {
59
59
  *
60
60
  * **SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
61
61
  * available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
62
- * caller will receive a 422 response. If the file has already been generated, it will be served. Please email
63
- * our [Support team](mailto:support@joincandidhealth.com) with any data requests outside of these stated guarantees.
62
+ * caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
63
+ * up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
64
+ * outside of these stated guarantees.
64
65
  *
65
66
  * @param {CandidApi.exports.v3.GetExportsRequest} request
66
67
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -86,7 +87,7 @@ class V3 {
86
87
  Authorization: yield this._getAuthorizationHeader(),
87
88
  "X-Fern-Language": "JavaScript",
88
89
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.34.9",
90
+ "X-Fern-SDK-Version": "0.35.1",
90
91
  "X-Fern-Runtime": core.RUNTIME.type,
91
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
93
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.34.9",
85
+ "X-Fern-SDK-Version": "0.35.1",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },