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
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../../index"));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ unauthorizedError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "UnauthorizedError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _unknown: (fetcherError) => {
51
+ return {
52
+ errorName: undefined,
53
+ content: fetcherError,
54
+ _visit: function (visitor) {
55
+ return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ _visit: (value, visitor) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return visitor.entityNotFoundError(value.content);
63
+ case "UnauthorizedError":
64
+ return visitor.unauthorizedError(value.content);
65
+ default:
66
+ return visitor._other(value);
67
+ }
68
+ },
69
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.credentialing.v2.getAll.Error.UnauthorizedError | CandidApi.credentialing.v2.getAll.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface UnauthorizedError extends _Utils {
9
+ errorName: "UnauthorizedError";
10
+ content: CandidApi.UnauthorizedErrorMessage;
11
+ }
12
+ interface _Unknown extends _Utils {
13
+ errorName: void;
14
+ content: core.Fetcher.Error;
15
+ }
16
+ interface _Utils {
17
+ _visit: <_Result>(visitor: CandidApi.credentialing.v2.getAll.Error._Visitor<_Result>) => _Result;
18
+ }
19
+ interface _Visitor<_Result> {
20
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
21
+ _other: (value: core.Fetcher.Error) => _Result;
22
+ }
23
+ }
24
+ export declare const Error: {
25
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.credentialing.v2.getAll.Error.UnauthorizedError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.credentialing.v2.getAll.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.credentialing.v2.getAll.Error, visitor: CandidApi.credentialing.v2.getAll.Error._Visitor<_Result>) => _Result;
28
+ };
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../../index"));
31
+ exports.Error = {
32
+ unauthorizedError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "UnauthorizedError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.credentialing.v2.getAll.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _unknown: (fetcherError) => {
42
+ return {
43
+ errorName: undefined,
44
+ content: fetcherError,
45
+ _visit: function (visitor) {
46
+ return CandidApi.credentialing.v2.getAll.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _visit: (value, visitor) => {
51
+ switch (value.errorName) {
52
+ case "UnauthorizedError":
53
+ return visitor.unauthorizedError(value.content);
54
+ default:
55
+ return visitor._other(value);
56
+ }
57
+ },
58
+ };
@@ -0,0 +1,6 @@
1
+ export * from "./requests";
2
+ export * as create from "./create";
3
+ export * as get from "./get";
4
+ export * as getAll from "./getAll";
5
+ export * as delete from "./delete";
6
+ export * as update from "./update";
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.update = exports.delete = exports.getAll = exports.get = exports.create = void 0;
30
+ __exportStar(require("./requests"), exports);
31
+ exports.create = __importStar(require("./create"));
32
+ exports.get = __importStar(require("./get"));
33
+ exports.getAll = __importStar(require("./getAll"));
34
+ exports.delete = __importStar(require("./delete"));
35
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * limit: 1,
9
+ * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
10
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
11
+ * asRenderingProvider: true,
12
+ * asContractingProvider: true
13
+ * }
14
+ */
15
+ export interface GetAllProviderCredentialingSpansRequest {
16
+ /**
17
+ * Maximum number of entities per page, defaults to 100.
18
+ */
19
+ limit?: number;
20
+ pageToken?: CandidApi.PageToken;
21
+ /**
22
+ * Filter by payer.
23
+ */
24
+ payerUuid?: string;
25
+ /**
26
+ * Filter to credentialing spans where the provider is a rendering provider.
27
+ */
28
+ asRenderingProvider?: boolean;
29
+ /**
30
+ * Filter to credentialing spans where the provider is a contracting provider.
31
+ */
32
+ asContractingProvider?: boolean;
33
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,44 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
9
+ * contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
10
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
11
+ * startDate: "2023-01-15",
12
+ * endDate: "2023-01-15",
13
+ * regions: {
14
+ * type: "states",
15
+ * states: [CandidApi.State.Aa]
16
+ * },
17
+ * submittedDate: "2023-01-15",
18
+ * payerLoadedDate: "2023-01-15"
19
+ * }
20
+ */
21
+ export interface ProviderCredentialingSpanCreate {
22
+ /** The ID of the rendering provider covered by the credentialing span. */
23
+ renderingProviderId: string;
24
+ /**
25
+ * The ID of the practice location at which the rendering provider is covered by the credentialing span.
26
+ *
27
+ */
28
+ contractingProviderId: string;
29
+ /** The ID of the payer covered by the credentialing span. */
30
+ payerUuid: string;
31
+ /** Start date of the credentialing span. */
32
+ startDate?: string;
33
+ /** End date of the credentialing span. */
34
+ endDate?: string;
35
+ /**
36
+ * The states covered by the credentialing span. A span may be national and cover all states.
37
+ *
38
+ */
39
+ regions: CandidApi.Regions;
40
+ /** Date that the credential paperwork was submitted. */
41
+ submittedDate?: string;
42
+ /** Date that the payer loaded the credentialing span into their system. */
43
+ payerLoadedDate?: string;
44
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
9
+ * payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
10
+ * startDate: "2023-01-15",
11
+ * endDate: "2023-01-15",
12
+ * regions: {
13
+ * type: "states",
14
+ * states: [CandidApi.State.Aa]
15
+ * },
16
+ * submittedDate: "2023-01-15",
17
+ * payerLoadedDate: "2023-01-15"
18
+ * }
19
+ */
20
+ export interface ProviderCredentialingSpanUpdate {
21
+ /**
22
+ * The ID of the practice location at which the rendering provider is covered by the credentialing span.
23
+ *
24
+ */
25
+ contractingProviderId?: string;
26
+ /** The ID of the payer doing the credentialing. */
27
+ payerUuid?: string;
28
+ /** Start date of the credentialing span. */
29
+ startDate?: string;
30
+ /** End date of the credentialing span. */
31
+ endDate?: string;
32
+ /**
33
+ * The states covered by the credentialing span. A span may be national and cover all states.
34
+ *
35
+ */
36
+ regions?: CandidApi.Regions;
37
+ /** Date that the credential paperwork was submitted. */
38
+ submittedDate?: string;
39
+ /** Date that the payer loaded the credentialing span into their system. */
40
+ payerLoadedDate?: string;
41
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export { type ProviderCredentialingSpanCreate } from "./ProviderCredentialingSpanCreate";
2
+ export { type GetAllProviderCredentialingSpansRequest } from "./GetAllProviderCredentialingSpansRequest";
3
+ export { type ProviderCredentialingSpanUpdate } from "./ProviderCredentialingSpanUpdate";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,46 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.credentialing.v2.update.Error.EntityNotFoundError | CandidApi.credentialing.v2.update.Error.HttpRequestValidationsError | CandidApi.credentialing.v2.update.Error.UnauthorizedError | CandidApi.credentialing.v2.update.Error.UnprocessableEntityError | CandidApi.credentialing.v2.update.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface EntityNotFoundError extends _Utils {
9
+ errorName: "EntityNotFoundError";
10
+ content: CandidApi.EntityNotFoundErrorMessage;
11
+ }
12
+ interface HttpRequestValidationsError extends _Utils {
13
+ errorName: "HttpRequestValidationsError";
14
+ content: CandidApi.RequestValidationError[];
15
+ }
16
+ interface UnauthorizedError extends _Utils {
17
+ errorName: "UnauthorizedError";
18
+ content: CandidApi.UnauthorizedErrorMessage;
19
+ }
20
+ interface UnprocessableEntityError extends _Utils {
21
+ errorName: "UnprocessableEntityError";
22
+ content: CandidApi.UnprocessableEntityErrorMessage;
23
+ }
24
+ interface _Unknown extends _Utils {
25
+ errorName: void;
26
+ content: core.Fetcher.Error;
27
+ }
28
+ interface _Utils {
29
+ _visit: <_Result>(visitor: CandidApi.credentialing.v2.update.Error._Visitor<_Result>) => _Result;
30
+ }
31
+ interface _Visitor<_Result> {
32
+ entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
33
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
34
+ unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
35
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
36
+ _other: (value: core.Fetcher.Error) => _Result;
37
+ }
38
+ }
39
+ export declare const Error: {
40
+ readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.credentialing.v2.update.Error.EntityNotFoundError;
41
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.credentialing.v2.update.Error.HttpRequestValidationsError;
42
+ readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.credentialing.v2.update.Error.UnauthorizedError;
43
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.credentialing.v2.update.Error.UnprocessableEntityError;
44
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.credentialing.v2.update.Error._Unknown;
45
+ readonly _visit: <_Result>(value: CandidApi.credentialing.v2.update.Error, visitor: CandidApi.credentialing.v2.update.Error._Visitor<_Result>) => _Result;
46
+ };
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../../index"));
31
+ exports.Error = {
32
+ entityNotFoundError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "EntityNotFoundError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ httpRequestValidationsError: (value) => {
42
+ return {
43
+ content: value,
44
+ errorName: "HttpRequestValidationsError",
45
+ _visit: function (visitor) {
46
+ return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ unauthorizedError: (value) => {
51
+ return {
52
+ content: value,
53
+ errorName: "UnauthorizedError",
54
+ _visit: function (visitor) {
55
+ return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
56
+ },
57
+ };
58
+ },
59
+ unprocessableEntityError: (value) => {
60
+ return {
61
+ content: value,
62
+ errorName: "UnprocessableEntityError",
63
+ _visit: function (visitor) {
64
+ return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
65
+ },
66
+ };
67
+ },
68
+ _unknown: (fetcherError) => {
69
+ return {
70
+ errorName: undefined,
71
+ content: fetcherError,
72
+ _visit: function (visitor) {
73
+ return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
74
+ },
75
+ };
76
+ },
77
+ _visit: (value, visitor) => {
78
+ switch (value.errorName) {
79
+ case "EntityNotFoundError":
80
+ return visitor.entityNotFoundError(value.content);
81
+ case "HttpRequestValidationsError":
82
+ return visitor.httpRequestValidationsError(value.content);
83
+ case "UnauthorizedError":
84
+ return visitor.unauthorizedError(value.content);
85
+ case "UnprocessableEntityError":
86
+ return visitor.unprocessableEntityError(value.content);
87
+ default:
88
+ return visitor._other(value);
89
+ }
90
+ },
91
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Stage of a credentialing span in the credentialing workflow.
6
+ */
7
+ export declare type CredentialingSpanStatus = "work_in_progress" | "pending" | "effective" | "expired";
8
+ export declare const CredentialingSpanStatus: {
9
+ readonly WorkInProgress: "work_in_progress";
10
+ readonly Pending: "pending";
11
+ readonly Effective: "effective";
12
+ readonly Expired: "expired";
13
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CredentialingSpanStatus = void 0;
7
+ exports.CredentialingSpanStatus = {
8
+ WorkInProgress: "work_in_progress",
9
+ Pending: "pending",
10
+ Effective: "effective",
11
+ Expired: "expired",
12
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ProviderCredentialingSpan {
6
+ providerCredentialingSpanId: CandidApi.credentialing.v2.ProviderCredentialingSpanId;
7
+ /** The rendering provider covered by the credentialing span. */
8
+ renderingProvider: CandidApi.organizationProviders.v3.OrganizationProviderV2;
9
+ /** The practice location at which the rendering provider is covered by the credentialing span. */
10
+ contractingProvider: CandidApi.organizationProviders.v3.OrganizationProviderV2;
11
+ /** The payer doing the credentialing. */
12
+ payer: CandidApi.payers.v3.Payer;
13
+ /** Start date of the credentialing span. */
14
+ startDate?: string;
15
+ /** End date of the credentialing span. */
16
+ endDate?: string;
17
+ /** The states covered by the credentialing span. A span may be national and cover all states. */
18
+ regions: CandidApi.Regions;
19
+ /** Date that the credential paperwork was submitted. */
20
+ submittedDate?: string;
21
+ /** Status of the credentialing span. */
22
+ credentialingStatus: CandidApi.credentialing.v2.CredentialingSpanStatus;
23
+ /** Date that the payer loaded the credentialing span into their system. */
24
+ payerLoadedDate?: string;
25
+ /** Source of the credentialing span. */
26
+ source: string;
27
+ /** Provider ID for the related medallion payer enrollment. */
28
+ medallionPayerEnrollmentId?: string;
29
+ /** Is the credentialing span enabled? */
30
+ isEnabled: boolean;
31
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export declare type ProviderCredentialingSpanId = string & {
6
+ credentialing_v2_ProviderCredentialingSpanId: void;
7
+ };
8
+ export declare function ProviderCredentialingSpanId(value: string): CandidApi.credentialing.v2.ProviderCredentialingSpanId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ProviderCredentialingSpanId = void 0;
7
+ function ProviderCredentialingSpanId(value) {
8
+ return value;
9
+ }
10
+ exports.ProviderCredentialingSpanId = ProviderCredentialingSpanId;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ProviderCredentialingSpanPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.credentialing.v2.ProviderCredentialingSpan[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./ProviderCredentialingSpanId";
2
+ export * from "./ProviderCredentialingSpan";
3
+ export * from "./CredentialingSpanStatus";
4
+ export * from "./ProviderCredentialingSpanPage";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ProviderCredentialingSpanId"), exports);
18
+ __exportStar(require("./ProviderCredentialingSpan"), exports);
19
+ __exportStar(require("./CredentialingSpanStatus"), exports);
20
+ __exportStar(require("./ProviderCredentialingSpanPage"), exports);