candidhealth 0.34.6 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  6. package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/client/Client.d.ts +26 -0
  11. package/api/resources/credentialing/client/Client.js +17 -0
  12. package/api/resources/credentialing/client/index.d.ts +1 -0
  13. package/api/resources/credentialing/client/index.js +2 -0
  14. package/api/resources/credentialing/index.d.ts +2 -0
  15. package/api/resources/credentialing/index.js +18 -0
  16. package/api/resources/credentialing/resources/index.d.ts +1 -0
  17. package/api/resources/credentialing/resources/index.js +27 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  19. package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  20. package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  21. package/api/resources/credentialing/resources/v2/client/create.js +69 -0
  22. package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  23. package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  24. package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  25. package/api/resources/credentialing/resources/v2/client/get.js +69 -0
  26. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  27. package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  28. package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  29. package/api/resources/credentialing/resources/v2/client/index.js +35 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  37. package/api/resources/credentialing/resources/v2/client/update.js +91 -0
  38. package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  39. package/api/resources/credentialing/resources/v2/index.js +18 -0
  40. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  41. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  42. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  43. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  46. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  49. package/api/resources/credentialing/resources/v2/types/index.js +20 -0
  50. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/api/resources/diagnoses/client/Client.js +3 -3
  52. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  53. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  54. package/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
  55. package/api/resources/encounters/resources/v4/client/Client.js +18 -9
  56. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  57. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  58. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  61. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  62. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  63. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  69. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  70. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  71. package/api/resources/index.d.ts +1 -0
  72. package/api/resources/index.js +2 -1
  73. package/api/resources/individual/types/Patient.d.ts +24 -1
  74. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  75. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  76. package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  78. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  79. package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  80. package/api/resources/individual/types/index.d.ts +2 -0
  81. package/api/resources/individual/types/index.js +2 -0
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  83. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  87. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  88. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  91. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  92. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  93. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  94. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  95. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  96. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  97. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  98. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  99. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  100. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  101. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  102. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  103. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  104. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  105. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  106. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  107. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  108. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  109. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  110. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  113. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  117. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  118. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  119. package/api/resources/serviceFacility/client/Client.js +1 -1
  120. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  121. package/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  122. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  123. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  124. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  125. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  126. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  127. package/dist/Client.d.ts +3 -0
  128. package/dist/Client.js +61 -56
  129. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  130. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  131. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  132. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  133. package/dist/api/resources/commons/types/index.d.ts +1 -0
  134. package/dist/api/resources/commons/types/index.js +1 -0
  135. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  137. package/dist/api/resources/credentialing/client/Client.js +17 -0
  138. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  139. package/dist/api/resources/credentialing/client/index.js +2 -0
  140. package/dist/api/resources/credentialing/index.d.ts +2 -0
  141. package/dist/api/resources/credentialing/index.js +18 -0
  142. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  143. package/dist/api/resources/credentialing/resources/index.js +27 -0
  144. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  145. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  146. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  147. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  148. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  149. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  150. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  151. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  152. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  153. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  154. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  155. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  156. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  157. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  158. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  159. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  160. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  161. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  162. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  163. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  164. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  166. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  167. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  168. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  169. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  170. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  171. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  172. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  173. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  174. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  175. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  176. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  177. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  178. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  179. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  180. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  181. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  182. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
  183. package/dist/api/resources/encounters/resources/v4/client/Client.js +18 -9
  184. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  185. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  186. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
  187. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  188. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  189. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  190. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  191. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  192. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  193. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  194. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  195. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  196. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  197. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  198. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  199. package/dist/api/resources/index.d.ts +1 -0
  200. package/dist/api/resources/index.js +2 -1
  201. package/dist/api/resources/individual/types/Patient.d.ts +24 -1
  202. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  203. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  204. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  205. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  206. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  207. package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  208. package/dist/api/resources/individual/types/index.d.ts +2 -0
  209. package/dist/api/resources/individual/types/index.js +2 -0
  210. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  211. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  212. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  213. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  214. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  218. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  219. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  220. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  221. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  222. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  223. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  224. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  225. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  226. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  227. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  228. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  229. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  230. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  232. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  233. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  234. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  235. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  236. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  237. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  241. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  242. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  243. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  244. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  245. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  246. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  247. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  248. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  249. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  250. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  251. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  252. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  254. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  255. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  256. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  257. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  258. package/dist/serialization/resources/commons/types/index.js +1 -0
  259. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  260. package/dist/serialization/resources/credentialing/index.js +17 -0
  261. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  262. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  263. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  264. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  265. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  266. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  267. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  268. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  269. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  270. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  271. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  272. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  273. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  274. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  275. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  276. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  277. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  278. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  279. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  280. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  281. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  282. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  283. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  284. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  285. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  286. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  287. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  288. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  289. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  290. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  291. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  292. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  293. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  294. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  295. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  296. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  297. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  298. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  299. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  300. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  301. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  302. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  303. package/dist/serialization/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/index.js +2 -1
  305. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  306. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  307. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  308. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  309. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  310. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  311. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  312. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  313. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  314. package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
  315. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  316. package/dist/serialization/resources/individual/types/index.js +2 -0
  317. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  318. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  319. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  320. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  321. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  322. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  323. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  324. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  325. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  326. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  327. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  328. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  329. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  330. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  331. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  332. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  333. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  334. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  335. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  336. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  337. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  338. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  339. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  340. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  341. package/package.json +1 -1
  342. package/reference.md +6630 -1164
  343. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  344. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  345. package/serialization/resources/commons/types/index.d.ts +1 -0
  346. package/serialization/resources/commons/types/index.js +1 -0
  347. package/serialization/resources/credentialing/index.d.ts +1 -0
  348. package/serialization/resources/credentialing/index.js +17 -0
  349. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  350. package/serialization/resources/credentialing/resources/index.js +27 -0
  351. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  352. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  353. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  354. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  355. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  356. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  357. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  358. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  359. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  360. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  361. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  362. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  363. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  364. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  365. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  366. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  367. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  368. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  369. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  370. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  371. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  372. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  373. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  374. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  375. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  376. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  377. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  378. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  379. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  380. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  381. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  382. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  383. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  384. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  385. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  386. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  387. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  388. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  389. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  390. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  391. package/serialization/resources/index.d.ts +1 -0
  392. package/serialization/resources/index.js +2 -1
  393. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  394. package/serialization/resources/individual/types/Patient.js +2 -0
  395. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  396. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  397. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  398. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  399. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  400. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  401. package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  402. package/serialization/resources/individual/types/PatientUpdate.js +2 -0
  403. package/serialization/resources/individual/types/index.d.ts +2 -0
  404. package/serialization/resources/individual/types/index.js +2 -0
  405. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  406. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  407. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  408. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  409. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  410. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  411. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  412. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  413. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  414. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  415. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  416. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  417. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  418. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  419. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  420. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  421. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  422. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  423. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  424. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  425. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  426. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  427. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  428. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  429. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  430. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  431. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  432. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  433. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  434. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -0,0 +1,35 @@
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.ProviderCredentialingSpanId = void 0;
30
+ const CandidApi = __importStar(require("../../../../api/index"));
31
+ const core = __importStar(require("../../../../core"));
32
+ exports.ProviderCredentialingSpanId = core.serialization.string().transform({
33
+ transform: CandidApi.ProviderCredentialingSpanId,
34
+ untransform: (value) => value,
35
+ });
@@ -18,6 +18,7 @@ export * from "./ProviderId";
18
18
  export * from "./InvoiceId";
19
19
  export * from "./RateId";
20
20
  export * from "./SchemaId";
21
+ export * from "./ProviderCredentialingSpanId";
21
22
  export * from "./Primitive";
22
23
  export * from "./LinkUrl";
23
24
  export * from "./PageToken";
@@ -34,6 +34,7 @@ __exportStar(require("./ProviderId"), exports);
34
34
  __exportStar(require("./InvoiceId"), exports);
35
35
  __exportStar(require("./RateId"), exports);
36
36
  __exportStar(require("./SchemaId"), exports);
37
+ __exportStar(require("./ProviderCredentialingSpanId"), exports);
37
38
  __exportStar(require("./Primitive"), exports);
38
39
  __exportStar(require("./LinkUrl"), exports);
39
40
  __exportStar(require("./PageToken"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v2 from "./v2";
@@ -0,0 +1,27 @@
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 __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v2 = void 0;
27
+ exports.v2 = __importStar(require("./v2"));
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.credentialing.v2.create.Error.Raw, CandidApi.credentialing.v2.create.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.HttpRequestValidationsError | Error.UnauthorizedError;
12
+ interface HttpRequestValidationsError {
13
+ errorName: "HttpRequestValidationsError";
14
+ content: RequestValidationError.Raw[];
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ HttpRequestValidationsError: core.serialization.object({
48
+ content: core.serialization.list(RequestValidationError_1.RequestValidationError),
49
+ }),
50
+ UnauthorizedError: core.serialization.object({
51
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "HttpRequestValidationsError":
58
+ return CandidApi.credentialing.v2.create.Error.httpRequestValidationsError(value.content);
59
+ case "UnauthorizedError":
60
+ return CandidApi.credentialing.v2.create.Error.unauthorizedError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.credentialing.v2.delete.Error.Raw, CandidApi.credentialing.v2.delete.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ EntityNotFoundError: core.serialization.object({
48
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
49
+ }),
50
+ UnauthorizedError: core.serialization.object({
51
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "EntityNotFoundError":
58
+ return CandidApi.credentialing.v2.delete.Error.entityNotFoundError(value.content);
59
+ case "UnauthorizedError":
60
+ return CandidApi.credentialing.v2.delete.Error.unauthorizedError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ export declare const Error: core.serialization.Schema<serializers.credentialing.v2.get.Error.Raw, CandidApi.credentialing.v2.get.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
+ interface EntityNotFoundError {
13
+ errorName: "EntityNotFoundError";
14
+ content: EntityNotFoundErrorMessage.Raw;
15
+ }
16
+ interface UnauthorizedError {
17
+ errorName: "UnauthorizedError";
18
+ content: UnauthorizedErrorMessage.Raw;
19
+ }
20
+ }
@@ -0,0 +1,67 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
44
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ EntityNotFoundError: core.serialization.object({
48
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
49
+ }),
50
+ UnauthorizedError: core.serialization.object({
51
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "EntityNotFoundError":
58
+ return CandidApi.credentialing.v2.get.Error.entityNotFoundError(value.content);
59
+ case "UnauthorizedError":
60
+ return CandidApi.credentialing.v2.get.Error.unauthorizedError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.credentialing.v2.getAll.Error.Raw, CandidApi.credentialing.v2.getAll.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.UnauthorizedError;
11
+ interface UnauthorizedError {
12
+ errorName: "UnauthorizedError";
13
+ content: UnauthorizedErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,61 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../core"));
43
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
44
+ exports.Error = core.serialization
45
+ .union("errorName", {
46
+ UnauthorizedError: core.serialization.object({
47
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
48
+ }),
49
+ })
50
+ .transform({
51
+ transform: (value) => {
52
+ switch (value.errorName) {
53
+ case "UnauthorizedError":
54
+ return CandidApi.credentialing.v2.getAll.Error.unauthorizedError(value.content);
55
+ }
56
+ },
57
+ untransform: (_a) => {
58
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
59
+ return value;
60
+ },
61
+ });
@@ -0,0 +1,6 @@
1
+ export * as create from "./create";
2
+ export * as get from "./get";
3
+ export * as getAll from "./getAll";
4
+ export * as delete from "./delete";
5
+ export * as update from "./update";
6
+ export * from "./requests";
@@ -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 __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.update = exports.delete = exports.getAll = exports.get = exports.create = void 0;
30
+ exports.create = __importStar(require("./create"));
31
+ exports.get = __importStar(require("./get"));
32
+ exports.getAll = __importStar(require("./getAll"));
33
+ exports.delete = __importStar(require("./delete"));
34
+ exports.update = __importStar(require("./update"));
35
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { Regions } from "../../../../../commons/types/Regions";
8
+ export declare const ProviderCredentialingSpanCreate: core.serialization.Schema<serializers.credentialing.v2.ProviderCredentialingSpanCreate.Raw, CandidApi.credentialing.v2.ProviderCredentialingSpanCreate>;
9
+ export declare namespace ProviderCredentialingSpanCreate {
10
+ interface Raw {
11
+ rendering_provider_id: string;
12
+ contracting_provider_id: string;
13
+ payer_uuid: string;
14
+ start_date?: string | null;
15
+ end_date?: string | null;
16
+ regions: Regions.Raw;
17
+ submitted_date?: string | null;
18
+ payer_loaded_date?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,41 @@
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.ProviderCredentialingSpanCreate = void 0;
30
+ const core = __importStar(require("../../../../../../../core"));
31
+ const Regions_1 = require("../../../../../commons/types/Regions");
32
+ exports.ProviderCredentialingSpanCreate = core.serialization.object({
33
+ renderingProviderId: core.serialization.property("rendering_provider_id", core.serialization.string()),
34
+ contractingProviderId: core.serialization.property("contracting_provider_id", core.serialization.string()),
35
+ payerUuid: core.serialization.property("payer_uuid", core.serialization.string()),
36
+ startDate: core.serialization.property("start_date", core.serialization.string().optional()),
37
+ endDate: core.serialization.property("end_date", core.serialization.string().optional()),
38
+ regions: Regions_1.Regions,
39
+ submittedDate: core.serialization.property("submitted_date", core.serialization.string().optional()),
40
+ payerLoadedDate: core.serialization.property("payer_loaded_date", core.serialization.string().optional()),
41
+ });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { Regions } from "../../../../../commons/types/Regions";
8
+ export declare const ProviderCredentialingSpanUpdate: core.serialization.Schema<serializers.credentialing.v2.ProviderCredentialingSpanUpdate.Raw, CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate>;
9
+ export declare namespace ProviderCredentialingSpanUpdate {
10
+ interface Raw {
11
+ contracting_provider_id?: string | null;
12
+ payer_uuid?: string | null;
13
+ start_date?: string | null;
14
+ end_date?: string | null;
15
+ regions?: Regions.Raw | null;
16
+ submitted_date?: string | null;
17
+ payer_loaded_date?: string | null;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
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.ProviderCredentialingSpanUpdate = void 0;
30
+ const core = __importStar(require("../../../../../../../core"));
31
+ const Regions_1 = require("../../../../../commons/types/Regions");
32
+ exports.ProviderCredentialingSpanUpdate = core.serialization.object({
33
+ contractingProviderId: core.serialization.property("contracting_provider_id", core.serialization.string().optional()),
34
+ payerUuid: core.serialization.property("payer_uuid", core.serialization.string().optional()),
35
+ startDate: core.serialization.property("start_date", core.serialization.string().optional()),
36
+ endDate: core.serialization.property("end_date", core.serialization.string().optional()),
37
+ regions: Regions_1.Regions.optional(),
38
+ submittedDate: core.serialization.property("submitted_date", core.serialization.string().optional()),
39
+ payerLoadedDate: core.serialization.property("payer_loaded_date", core.serialization.string().optional()),
40
+ });
@@ -0,0 +1,2 @@
1
+ export { ProviderCredentialingSpanCreate } from "./ProviderCredentialingSpanCreate";
2
+ export { ProviderCredentialingSpanUpdate } from "./ProviderCredentialingSpanUpdate";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProviderCredentialingSpanUpdate = exports.ProviderCredentialingSpanCreate = void 0;
4
+ var ProviderCredentialingSpanCreate_1 = require("./ProviderCredentialingSpanCreate");
5
+ Object.defineProperty(exports, "ProviderCredentialingSpanCreate", { enumerable: true, get: function () { return ProviderCredentialingSpanCreate_1.ProviderCredentialingSpanCreate; } });
6
+ var ProviderCredentialingSpanUpdate_1 = require("./ProviderCredentialingSpanUpdate");
7
+ Object.defineProperty(exports, "ProviderCredentialingSpanUpdate", { enumerable: true, get: function () { return ProviderCredentialingSpanUpdate_1.ProviderCredentialingSpanUpdate; } });