candidhealth 0.4.9 → 0.6.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 (641) hide show
  1. package/Client.d.ts +9 -0
  2. package/Client.js +27 -12
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/client/Client.js +1 -1
  5. package/api/resources/commons/types/ErrorMessage.d.ts +8 -0
  6. package/api/resources/{encounters/resources/v4/types/AttachmentId.js → commons/types/ErrorMessage.js} +3 -3
  7. package/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
  8. package/api/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +13 -0
  9. package/api/resources/commons/types/index.d.ts +3 -4
  10. package/api/resources/commons/types/index.js +3 -4
  11. package/api/resources/contracts/types/index.d.ts +0 -4
  12. package/api/resources/contracts/types/index.js +0 -4
  13. package/api/resources/eligibility/client/Client.d.ts +18 -0
  14. package/api/resources/eligibility/client/Client.js +18 -0
  15. package/api/resources/eligibility/client/index.d.ts +1 -0
  16. package/api/resources/eligibility/client/index.js +2 -0
  17. package/api/resources/eligibility/index.d.ts +2 -0
  18. package/api/resources/eligibility/index.js +18 -0
  19. package/api/resources/eligibility/resources/index.d.ts +1 -0
  20. package/{serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js → api/resources/eligibility/resources/index.js} +2 -6
  21. package/api/resources/eligibility/resources/v2/client/Client.d.ts +31 -0
  22. package/api/resources/eligibility/resources/v2/client/Client.js +103 -0
  23. package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  24. package/api/resources/eligibility/resources/v2/client/index.js +27 -0
  25. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
  26. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
  27. package/api/resources/eligibility/resources/v2/index.d.ts +1 -0
  28. package/api/resources/eligibility/resources/v2/index.js +17 -0
  29. package/api/resources/encounters/resources/v4/client/Client.d.ts +0 -7
  30. package/api/resources/encounters/resources/v4/client/Client.js +4 -123
  31. package/api/resources/encounters/resources/v4/client/index.d.ts +0 -4
  32. package/api/resources/encounters/resources/v4/client/index.js +1 -5
  33. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -13
  34. package/api/resources/encounters/resources/v4/types/index.js +0 -13
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  36. package/api/resources/exports/client/Client.d.ts +18 -0
  37. package/api/resources/exports/client/Client.js +18 -0
  38. package/api/resources/exports/client/index.d.ts +1 -0
  39. package/api/resources/exports/client/index.js +2 -0
  40. package/api/resources/exports/index.d.ts +2 -0
  41. package/api/resources/exports/index.js +18 -0
  42. package/api/resources/exports/resources/index.d.ts +1 -0
  43. package/api/resources/exports/resources/index.js +27 -0
  44. package/api/resources/exports/resources/v3/client/Client.d.ts +18 -0
  45. package/api/resources/exports/resources/v3/client/Client.js +104 -0
  46. package/api/resources/exports/resources/v3/client/getExports.d.ts +53 -0
  47. package/api/resources/exports/resources/v3/client/getExports.js +102 -0
  48. package/api/resources/exports/resources/v3/client/index.d.ts +2 -0
  49. package/{dist/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js → api/resources/exports/resources/v3/client/index.js} +6 -6
  50. package/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +17 -0
  51. package/api/resources/exports/resources/v3/client/requests/index.d.ts +1 -0
  52. package/api/resources/exports/resources/v3/client/requests/index.js +2 -0
  53. package/api/resources/exports/resources/v3/index.d.ts +2 -0
  54. package/api/resources/exports/resources/v3/index.js +18 -0
  55. package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +12 -0
  56. package/api/resources/exports/resources/v3/types/index.d.ts +1 -0
  57. package/api/resources/exports/resources/v3/types/index.js +17 -0
  58. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  59. package/api/resources/{credentialing/types/RequiredCredentialingDates.d.ts → identifiers/types/Identifier.d.ts} +2 -3
  60. package/api/resources/identifiers/types/IdentifierBase.d.ts +9 -0
  61. package/api/resources/identifiers/types/IdentifierCode.d.ts +8 -0
  62. package/api/resources/identifiers/types/IdentifierCode.js +10 -0
  63. package/{dist/api/resources/commons/types/RegionStates.d.ts → api/resources/identifiers/types/IdentifierCreate.d.ts} +1 -2
  64. package/api/resources/identifiers/types/IdentifierId.d.ts +8 -0
  65. package/{dist/api/resources/encounters/resources/v4/types/AttachmentId.js → api/resources/identifiers/types/IdentifierId.js} +3 -3
  66. package/api/resources/identifiers/types/IdentifierUpdate.d.ts +10 -0
  67. package/api/resources/identifiers/types/IdentifierValue.d.ts +13 -0
  68. package/{dist/api/resources/credentialing/types/RequiredCredentialingDates.d.ts → api/resources/identifiers/types/MedicaidProviderIdentifier.d.ts} +3 -3
  69. package/api/resources/identifiers/types/MedicareProviderIdentifier.d.ts +8 -0
  70. package/api/resources/identifiers/types/UpdatableIdentifier.d.ts +17 -0
  71. package/api/resources/identifiers/types/index.d.ts +10 -0
  72. package/api/resources/identifiers/types/index.js +26 -0
  73. package/api/resources/index.d.ts +4 -2
  74. package/api/resources/index.js +5 -3
  75. package/api/resources/organizationProviders/client/Client.d.ts +18 -0
  76. package/api/resources/organizationProviders/client/Client.js +18 -0
  77. package/api/resources/organizationProviders/client/index.d.ts +1 -0
  78. package/api/resources/organizationProviders/client/index.js +2 -0
  79. package/api/resources/organizationProviders/index.d.ts +1 -0
  80. package/api/resources/organizationProviders/index.js +1 -0
  81. package/api/resources/organizationProviders/resources/index.d.ts +1 -0
  82. package/api/resources/organizationProviders/resources/index.js +2 -1
  83. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
  84. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js +12 -0
  85. package/api/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
  86. package/api/resources/organizationProviders/resources/v2/types/index.js +1 -3
  87. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +21 -0
  88. package/api/resources/organizationProviders/resources/v3/client/Client.js +241 -0
  89. package/api/resources/organizationProviders/resources/v3/client/create.d.ts +28 -0
  90. package/{dist/api/resources/encounters/resources/v4/client/markAsNotBillable.js → api/resources/organizationProviders/resources/v3/client/create.js} +12 -1
  91. package/api/resources/organizationProviders/resources/v3/client/get.d.ts +28 -0
  92. package/api/resources/{encounters/resources/v4/client/recomputeNetworkStatusResults.js → organizationProviders/resources/v3/client/get.js} +12 -1
  93. package/api/resources/{encounters/resources/v4/client/markAsNotBillable.d.ts → organizationProviders/resources/v3/client/getMulti.d.ts} +4 -4
  94. package/api/resources/{encounters/resources/v4/client/getAttachments.js → organizationProviders/resources/v3/client/getMulti.js} +1 -1
  95. package/api/resources/organizationProviders/resources/v3/client/index.d.ts +5 -0
  96. package/api/resources/organizationProviders/resources/v3/client/index.js +34 -0
  97. package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +34 -0
  98. package/api/resources/organizationProviders/resources/v3/client/requests/index.d.ts +1 -0
  99. package/api/resources/organizationProviders/resources/v3/client/requests/index.js +2 -0
  100. package/api/resources/organizationProviders/resources/v3/client/update.d.ts +34 -0
  101. package/api/resources/organizationProviders/resources/v3/client/update.js +69 -0
  102. package/api/resources/organizationProviders/resources/v3/index.d.ts +2 -0
  103. package/api/resources/organizationProviders/resources/v3/index.js +18 -0
  104. package/api/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +7 -5
  105. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +7 -0
  106. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +40 -0
  107. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +42 -0
  108. package/api/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
  109. package/api/resources/organizationProviders/resources/v3/types/index.js +20 -0
  110. package/api/resources/payers/client/Client.js +2 -2
  111. package/api/resources/tasks/resources/v3/client/Client.js +1 -1
  112. package/dist/Client.d.ts +9 -0
  113. package/dist/Client.js +27 -12
  114. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  115. package/dist/api/resources/billingNotes/client/Client.js +1 -1
  116. package/dist/api/resources/commons/types/ErrorMessage.d.ts +8 -0
  117. package/{api/resources/commons/types/ContentDownloadUrl.js → dist/api/resources/commons/types/ErrorMessage.js} +3 -3
  118. package/dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
  119. package/dist/api/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +13 -0
  120. package/dist/api/resources/commons/types/index.d.ts +3 -4
  121. package/dist/api/resources/commons/types/index.js +3 -4
  122. package/dist/api/resources/contracts/types/index.d.ts +0 -4
  123. package/dist/api/resources/contracts/types/index.js +0 -4
  124. package/dist/api/resources/eligibility/client/Client.d.ts +18 -0
  125. package/dist/api/resources/eligibility/client/Client.js +18 -0
  126. package/dist/api/resources/eligibility/client/index.d.ts +1 -0
  127. package/dist/api/resources/eligibility/client/index.js +2 -0
  128. package/dist/api/resources/eligibility/index.d.ts +2 -0
  129. package/dist/api/resources/eligibility/index.js +18 -0
  130. package/dist/api/resources/eligibility/resources/index.d.ts +1 -0
  131. package/dist/api/resources/eligibility/resources/index.js +27 -0
  132. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +31 -0
  133. package/dist/api/resources/eligibility/resources/v2/client/Client.js +103 -0
  134. package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  135. package/dist/api/resources/eligibility/resources/v2/client/index.js +27 -0
  136. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
  137. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
  138. package/dist/api/resources/eligibility/resources/v2/index.d.ts +1 -0
  139. package/dist/api/resources/eligibility/resources/v2/index.js +17 -0
  140. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +0 -7
  141. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -123
  142. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +0 -4
  143. package/dist/api/resources/encounters/resources/v4/client/index.js +1 -5
  144. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -13
  145. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -13
  146. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  147. package/dist/api/resources/exports/client/Client.d.ts +18 -0
  148. package/dist/api/resources/exports/client/Client.js +18 -0
  149. package/dist/api/resources/exports/client/index.d.ts +1 -0
  150. package/dist/api/resources/exports/client/index.js +2 -0
  151. package/dist/api/resources/exports/index.d.ts +2 -0
  152. package/dist/api/resources/exports/index.js +18 -0
  153. package/dist/api/resources/exports/resources/index.d.ts +1 -0
  154. package/dist/api/resources/exports/resources/index.js +27 -0
  155. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +18 -0
  156. package/dist/api/resources/exports/resources/v3/client/Client.js +104 -0
  157. package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +53 -0
  158. package/dist/api/resources/exports/resources/v3/client/getExports.js +102 -0
  159. package/dist/api/resources/exports/resources/v3/client/index.d.ts +2 -0
  160. package/dist/api/resources/exports/resources/v3/client/index.js +31 -0
  161. package/dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +17 -0
  162. package/dist/api/resources/exports/resources/v3/client/requests/index.d.ts +1 -0
  163. package/dist/api/resources/exports/resources/v3/client/requests/index.js +2 -0
  164. package/dist/api/resources/exports/resources/v3/index.d.ts +2 -0
  165. package/dist/api/resources/exports/resources/v3/index.js +18 -0
  166. package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +12 -0
  167. package/dist/api/resources/exports/resources/v3/types/index.d.ts +1 -0
  168. package/dist/api/resources/exports/resources/v3/types/index.js +17 -0
  169. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  170. package/dist/api/resources/identifiers/types/Identifier.d.ts +7 -0
  171. package/dist/api/resources/identifiers/types/IdentifierBase.d.ts +9 -0
  172. package/dist/api/resources/identifiers/types/IdentifierCode.d.ts +8 -0
  173. package/dist/api/resources/identifiers/types/IdentifierCode.js +10 -0
  174. package/{api/resources/commons/types/RegionStates.d.ts → dist/api/resources/identifiers/types/IdentifierCreate.d.ts} +1 -2
  175. package/dist/api/resources/identifiers/types/IdentifierId.d.ts +8 -0
  176. package/dist/api/resources/{commons/types/ContentDownloadUrl.js → identifiers/types/IdentifierId.js} +3 -3
  177. package/dist/api/resources/identifiers/types/IdentifierUpdate.d.ts +10 -0
  178. package/dist/api/resources/identifiers/types/IdentifierValue.d.ts +13 -0
  179. package/dist/api/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +8 -0
  180. package/dist/api/resources/identifiers/types/MedicareProviderIdentifier.d.ts +8 -0
  181. package/dist/api/resources/identifiers/types/UpdatableIdentifier.d.ts +17 -0
  182. package/dist/api/resources/identifiers/types/index.d.ts +10 -0
  183. package/dist/api/resources/identifiers/types/index.js +26 -0
  184. package/dist/api/resources/index.d.ts +4 -2
  185. package/dist/api/resources/index.js +5 -3
  186. package/dist/api/resources/organizationProviders/client/Client.d.ts +18 -0
  187. package/dist/api/resources/organizationProviders/client/Client.js +18 -0
  188. package/dist/api/resources/organizationProviders/client/index.d.ts +1 -0
  189. package/dist/api/resources/organizationProviders/client/index.js +2 -0
  190. package/dist/api/resources/organizationProviders/index.d.ts +1 -0
  191. package/dist/api/resources/organizationProviders/index.js +1 -0
  192. package/dist/api/resources/organizationProviders/resources/index.d.ts +1 -0
  193. package/dist/api/resources/organizationProviders/resources/index.js +2 -1
  194. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
  195. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js +12 -0
  196. package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
  197. package/dist/api/resources/organizationProviders/resources/v2/types/index.js +1 -3
  198. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +21 -0
  199. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +241 -0
  200. package/dist/api/resources/organizationProviders/resources/v3/client/create.d.ts +28 -0
  201. package/{api/resources/encounters/resources/v4/client/markAsNotBillable.js → dist/api/resources/organizationProviders/resources/v3/client/create.js} +12 -1
  202. package/dist/api/resources/organizationProviders/resources/v3/client/get.d.ts +28 -0
  203. package/{api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.js → dist/api/resources/organizationProviders/resources/v3/client/get.js} +12 -1
  204. package/dist/api/resources/{encounters/resources/v4/client/getAttachments.d.ts → organizationProviders/resources/v3/client/getMulti.d.ts} +4 -4
  205. package/dist/api/resources/{encounters/resources/v4/client/getAttachments.js → organizationProviders/resources/v3/client/getMulti.js} +1 -1
  206. package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +5 -0
  207. package/dist/api/resources/organizationProviders/resources/v3/client/index.js +34 -0
  208. package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +34 -0
  209. package/dist/api/resources/organizationProviders/resources/v3/client/requests/index.d.ts +1 -0
  210. package/dist/api/resources/organizationProviders/resources/v3/client/requests/index.js +2 -0
  211. package/dist/api/resources/organizationProviders/resources/v3/client/update.d.ts +34 -0
  212. package/dist/api/resources/organizationProviders/resources/v3/client/update.js +69 -0
  213. package/dist/api/resources/organizationProviders/resources/v3/index.d.ts +2 -0
  214. package/dist/api/resources/organizationProviders/resources/v3/index.js +18 -0
  215. package/dist/api/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +7 -5
  216. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +7 -0
  217. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +40 -0
  218. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +42 -0
  219. package/dist/api/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
  220. package/dist/api/resources/organizationProviders/resources/v3/types/index.js +20 -0
  221. package/dist/api/resources/payers/client/Client.js +2 -2
  222. package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
  223. package/dist/serialization/resources/commons/types/{ContentDownloadUrl.d.ts → ErrorMessage.d.ts} +2 -2
  224. package/dist/serialization/resources/commons/types/{ContentDownloadUrl.js → ErrorMessage.js} +3 -3
  225. package/dist/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
  226. package/dist/serialization/resources/{credentialing/types/CredentialingSpanStatus.js → commons/types/HttpServiceUnavailableErrorMessage.js} +4 -2
  227. package/dist/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +16 -0
  228. package/{serialization/resources/credentialing/types/EncounterCredentialingStatusResult.js → dist/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.js} +4 -4
  229. package/dist/serialization/resources/commons/types/index.d.ts +3 -4
  230. package/dist/serialization/resources/commons/types/index.js +3 -4
  231. package/dist/serialization/resources/contracts/types/index.d.ts +0 -4
  232. package/dist/serialization/resources/contracts/types/index.js +0 -4
  233. package/dist/serialization/resources/eligibility/index.d.ts +1 -0
  234. package/dist/serialization/resources/eligibility/index.js +17 -0
  235. package/dist/serialization/resources/eligibility/resources/index.d.ts +1 -0
  236. package/dist/serialization/resources/eligibility/resources/index.js +27 -0
  237. package/dist/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  238. package/dist/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
  239. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
  240. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
  241. package/dist/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
  242. package/dist/serialization/resources/eligibility/resources/v2/index.js +17 -0
  243. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
  244. package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -2
  245. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -13
  246. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -13
  247. package/dist/serialization/resources/exports/index.d.ts +1 -0
  248. package/dist/serialization/resources/exports/index.js +17 -0
  249. package/dist/serialization/resources/exports/resources/index.d.ts +1 -0
  250. package/dist/serialization/resources/exports/resources/index.js +27 -0
  251. package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +30 -0
  252. package/dist/serialization/resources/exports/resources/v3/client/getExports.js +66 -0
  253. package/dist/serialization/resources/exports/resources/v3/client/index.d.ts +1 -0
  254. package/dist/serialization/resources/exports/resources/v3/client/index.js +27 -0
  255. package/dist/serialization/resources/exports/resources/v3/index.d.ts +2 -0
  256. package/dist/serialization/resources/exports/resources/v3/index.js +18 -0
  257. package/dist/serialization/resources/exports/resources/v3/types/GetExportsResponse.d.ts +15 -0
  258. package/dist/serialization/resources/{encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → exports/resources/v3/types/GetExportsResponse.js} +6 -8
  259. package/dist/serialization/resources/exports/resources/v3/types/index.d.ts +1 -0
  260. package/dist/serialization/resources/exports/resources/v3/types/index.js +17 -0
  261. package/dist/serialization/resources/identifiers/types/Identifier.d.ts +12 -0
  262. package/dist/serialization/resources/identifiers/types/Identifier.js +35 -0
  263. package/dist/serialization/resources/identifiers/types/IdentifierBase.d.ts +14 -0
  264. package/dist/serialization/resources/{credentialing/types/RequiredCredentialingDates.js → identifiers/types/IdentifierBase.js} +5 -4
  265. package/dist/serialization/resources/{commons/types/RegionNational.d.ts → identifiers/types/IdentifierCode.d.ts} +3 -4
  266. package/{serialization/resources/commons/types/RegionNational.js → dist/serialization/resources/identifiers/types/IdentifierCode.js} +2 -2
  267. package/dist/serialization/resources/identifiers/types/IdentifierCreate.d.ts +11 -0
  268. package/dist/serialization/resources/{commons/types/RegionStates.js → identifiers/types/IdentifierCreate.js} +4 -4
  269. package/{serialization/resources/commons/types/ContentDownloadUrl.d.ts → dist/serialization/resources/identifiers/types/IdentifierId.d.ts} +2 -2
  270. package/{serialization/resources/commons/types/ContentDownloadUrl.js → dist/serialization/resources/identifiers/types/IdentifierId.js} +3 -3
  271. package/dist/serialization/resources/identifiers/types/IdentifierUpdate.d.ts +15 -0
  272. package/dist/serialization/resources/{encounters/resources/v4/types/BaseAttachment.js → identifiers/types/IdentifierUpdate.js} +7 -8
  273. package/dist/serialization/resources/identifiers/types/IdentifierValue.d.ts +16 -0
  274. package/{serialization/resources/commons/types/Regions.js → dist/serialization/resources/identifiers/types/IdentifierValue.js} +4 -4
  275. package/dist/serialization/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +13 -0
  276. package/dist/serialization/resources/{credentialing/types/ProviderCredentialingSpanBase.js → identifiers/types/MedicaidProviderIdentifier.js} +4 -3
  277. package/dist/serialization/resources/identifiers/types/MedicareProviderIdentifier.d.ts +13 -0
  278. package/dist/serialization/resources/identifiers/types/MedicareProviderIdentifier.js +34 -0
  279. package/dist/serialization/resources/identifiers/types/UpdatableIdentifier.d.ts +20 -0
  280. package/dist/serialization/resources/{commons/types/Regions.js → identifiers/types/UpdatableIdentifier.js} +7 -4
  281. package/dist/serialization/resources/identifiers/types/index.d.ts +10 -0
  282. package/dist/serialization/resources/identifiers/types/index.js +26 -0
  283. package/dist/serialization/resources/index.d.ts +4 -2
  284. package/dist/serialization/resources/index.js +5 -3
  285. package/dist/serialization/resources/organizationProviders/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/organizationProviders/resources/index.js +2 -1
  287. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
  288. package/dist/serialization/resources/{encounters/resources/v4/types/NetworkStatus.js → organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js} +2 -2
  289. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
  290. package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +1 -3
  291. package/dist/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +14 -0
  292. package/dist/serialization/resources/organizationProviders/resources/v3/client/create.js +46 -0
  293. package/dist/serialization/resources/organizationProviders/resources/v3/client/get.d.ts +14 -0
  294. package/{serialization/resources/encounters/resources/v4/types/AttachmentId.js → dist/serialization/resources/organizationProviders/resources/v3/client/get.js} +15 -4
  295. package/dist/serialization/resources/organizationProviders/resources/v3/client/index.d.ts +3 -0
  296. package/dist/serialization/resources/organizationProviders/resources/v3/client/index.js +29 -0
  297. package/dist/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +18 -0
  298. package/dist/serialization/resources/{encounters/resources/v4/types/AttributableContractingStatusResult.js → organizationProviders/resources/v3/client/update.js} +19 -8
  299. package/dist/serialization/resources/organizationProviders/resources/v3/index.d.ts +2 -0
  300. package/dist/serialization/resources/organizationProviders/resources/v3/index.js +18 -0
  301. package/dist/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +5 -4
  302. package/dist/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.js → v3/types/OrganizationProviderCreateV2.js} +5 -4
  303. package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +12 -0
  304. package/{serialization/resources/encounters/resources/v4/types/EncounterAttachment.js → dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +4 -4
  305. package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +25 -0
  306. package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js +54 -0
  307. package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +26 -0
  308. package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.js +49 -0
  309. package/dist/serialization/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
  310. package/dist/serialization/resources/organizationProviders/resources/v3/types/index.js +20 -0
  311. package/package.json +1 -1
  312. package/serialization/resources/{credentialing/types/ProviderCredentialingSpanId.d.ts → commons/types/ErrorMessage.d.ts} +2 -2
  313. package/{dist/serialization/resources/credentialing/types/ProviderCredentialingSpanId.js → serialization/resources/commons/types/ErrorMessage.js} +3 -3
  314. package/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
  315. package/{dist/serialization/resources/contracts/types/ContractStatus.js → serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.js} +4 -2
  316. package/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +16 -0
  317. package/{dist/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.js → serialization/resources/commons/types/RemovableDateRangeOptionalEnd.js} +4 -4
  318. package/serialization/resources/commons/types/index.d.ts +3 -4
  319. package/serialization/resources/commons/types/index.js +3 -4
  320. package/serialization/resources/contracts/types/index.d.ts +0 -4
  321. package/serialization/resources/contracts/types/index.js +0 -4
  322. package/serialization/resources/eligibility/index.d.ts +1 -0
  323. package/serialization/resources/eligibility/index.js +17 -0
  324. package/serialization/resources/eligibility/resources/index.d.ts +1 -0
  325. package/serialization/resources/eligibility/resources/index.js +27 -0
  326. package/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  327. package/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
  328. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
  329. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
  330. package/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
  331. package/serialization/resources/eligibility/resources/v2/index.js +17 -0
  332. package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
  333. package/serialization/resources/encounters/resources/v4/client/index.js +1 -2
  334. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -13
  335. package/serialization/resources/encounters/resources/v4/types/index.js +0 -13
  336. package/serialization/resources/exports/index.d.ts +1 -0
  337. package/serialization/resources/exports/index.js +17 -0
  338. package/serialization/resources/exports/resources/index.d.ts +1 -0
  339. package/serialization/resources/exports/resources/index.js +27 -0
  340. package/serialization/resources/exports/resources/v3/client/getExports.d.ts +30 -0
  341. package/serialization/resources/exports/resources/v3/client/getExports.js +66 -0
  342. package/serialization/resources/exports/resources/v3/client/index.d.ts +1 -0
  343. package/serialization/resources/exports/resources/v3/client/index.js +27 -0
  344. package/serialization/resources/exports/resources/v3/index.d.ts +2 -0
  345. package/serialization/resources/exports/resources/v3/index.js +18 -0
  346. package/serialization/resources/exports/resources/v3/types/GetExportsResponse.d.ts +15 -0
  347. package/{dist/serialization/resources/encounters/resources/v4/types/AttachmentId.js → serialization/resources/exports/resources/v3/types/GetExportsResponse.js} +6 -5
  348. package/serialization/resources/exports/resources/v3/types/index.d.ts +1 -0
  349. package/serialization/resources/exports/resources/v3/types/index.js +17 -0
  350. package/serialization/resources/identifiers/types/Identifier.d.ts +12 -0
  351. package/serialization/resources/identifiers/types/Identifier.js +35 -0
  352. package/serialization/resources/identifiers/types/IdentifierBase.d.ts +14 -0
  353. package/serialization/resources/{credentialing/types/RequiredCredentialingDates.js → identifiers/types/IdentifierBase.js} +5 -4
  354. package/serialization/resources/{commons/types/RegionNational.d.ts → identifiers/types/IdentifierCode.d.ts} +3 -4
  355. package/{dist/serialization/resources/commons/types/RegionNational.js → serialization/resources/identifiers/types/IdentifierCode.js} +2 -2
  356. package/serialization/resources/identifiers/types/IdentifierCreate.d.ts +11 -0
  357. package/serialization/resources/identifiers/types/IdentifierCreate.js +33 -0
  358. package/{dist/serialization/resources/credentialing/types/ProviderCredentialingSpanId.d.ts → serialization/resources/identifiers/types/IdentifierId.d.ts} +2 -2
  359. package/serialization/resources/{credentialing/types/ProviderCredentialingSpanId.js → identifiers/types/IdentifierId.js} +3 -3
  360. package/serialization/resources/identifiers/types/IdentifierUpdate.d.ts +15 -0
  361. package/serialization/resources/{encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js → identifiers/types/IdentifierUpdate.js} +7 -5
  362. package/serialization/resources/identifiers/types/IdentifierValue.d.ts +16 -0
  363. package/{dist/serialization/resources/credentialing/types/CredentialingSpanDates.js → serialization/resources/identifiers/types/IdentifierValue.js} +4 -4
  364. package/serialization/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +13 -0
  365. package/serialization/resources/identifiers/types/MedicaidProviderIdentifier.js +34 -0
  366. package/serialization/resources/identifiers/types/MedicareProviderIdentifier.d.ts +13 -0
  367. package/serialization/resources/identifiers/types/MedicareProviderIdentifier.js +34 -0
  368. package/serialization/resources/identifiers/types/UpdatableIdentifier.d.ts +20 -0
  369. package/serialization/resources/identifiers/types/UpdatableIdentifier.js +42 -0
  370. package/serialization/resources/identifiers/types/index.d.ts +10 -0
  371. package/serialization/resources/identifiers/types/index.js +26 -0
  372. package/serialization/resources/index.d.ts +4 -2
  373. package/serialization/resources/index.js +5 -3
  374. package/serialization/resources/organizationProviders/resources/index.d.ts +1 -0
  375. package/serialization/resources/organizationProviders/resources/index.js +2 -1
  376. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
  377. package/{dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js → serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js} +2 -2
  378. package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
  379. package/serialization/resources/organizationProviders/resources/v2/types/index.js +1 -3
  380. package/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +14 -0
  381. package/serialization/resources/organizationProviders/resources/v3/client/create.js +46 -0
  382. package/serialization/resources/organizationProviders/resources/v3/client/get.d.ts +14 -0
  383. package/serialization/resources/{encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → organizationProviders/resources/v3/client/get.js} +14 -6
  384. package/serialization/resources/organizationProviders/resources/v3/client/index.d.ts +3 -0
  385. package/serialization/resources/organizationProviders/resources/v3/client/index.js +29 -0
  386. package/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +18 -0
  387. package/serialization/resources/organizationProviders/resources/v3/client/update.js +51 -0
  388. package/serialization/resources/organizationProviders/resources/v3/index.d.ts +2 -0
  389. package/serialization/resources/organizationProviders/resources/v3/index.js +18 -0
  390. package/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +5 -4
  391. package/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.js → v3/types/OrganizationProviderCreateV2.js} +5 -4
  392. package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +12 -0
  393. package/{dist/serialization/resources/encounters/resources/v4/types/EncounterAttachment.js → serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +4 -4
  394. package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +25 -0
  395. package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js +54 -0
  396. package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +26 -0
  397. package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.js +49 -0
  398. package/serialization/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
  399. package/serialization/resources/organizationProviders/resources/v3/types/index.js +20 -0
  400. package/api/resources/commons/types/ContentDownloadUrl.d.ts +0 -8
  401. package/api/resources/commons/types/RegionNational.d.ts +0 -5
  402. package/api/resources/commons/types/Regions.d.ts +0 -13
  403. package/api/resources/contracts/types/AuthorizedSignatory.d.ts +0 -11
  404. package/api/resources/contracts/types/Contract.d.ts +0 -13
  405. package/api/resources/contracts/types/ContractBase.d.ts +0 -18
  406. package/api/resources/contracts/types/ContractStatus.d.ts +0 -22
  407. package/api/resources/contracts/types/ContractStatus.js +0 -11
  408. package/api/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -7
  409. package/api/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -13
  410. package/api/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -13
  411. package/api/resources/credentialing/types/CredentialingSpanStatus.js +0 -12
  412. package/api/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -13
  413. package/api/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -8
  414. package/api/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -23
  415. package/api/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -11
  416. package/api/resources/credentialing/types/ProviderCredentialingSpanId.d.ts +0 -8
  417. package/api/resources/credentialing/types/ProviderCredentialingSpanId.js +0 -10
  418. package/api/resources/credentialing/types/index.d.ts +0 -9
  419. package/api/resources/credentialing/types/index.js +0 -25
  420. package/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.d.ts +0 -22
  421. package/api/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -22
  422. package/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.d.ts +0 -22
  423. package/api/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -8
  424. package/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -16
  425. package/api/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -11
  426. package/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -8
  427. package/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -10
  428. package/api/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -7
  429. package/api/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -7
  430. package/api/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -9
  431. package/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -10
  432. package/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -7
  433. package/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -7
  434. package/api/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
  435. package/api/resources/encounters/resources/v4/types/NetworkStatus.js +0 -12
  436. package/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -9
  437. package/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -7
  438. package/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -8
  439. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -8
  440. package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +0 -10
  441. package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -14
  442. package/dist/api/resources/commons/types/ContentDownloadUrl.d.ts +0 -8
  443. package/dist/api/resources/commons/types/RegionNational.d.ts +0 -5
  444. package/dist/api/resources/commons/types/Regions.d.ts +0 -13
  445. package/dist/api/resources/contracts/types/AuthorizedSignatory.d.ts +0 -11
  446. package/dist/api/resources/contracts/types/Contract.d.ts +0 -13
  447. package/dist/api/resources/contracts/types/ContractBase.d.ts +0 -18
  448. package/dist/api/resources/contracts/types/ContractStatus.d.ts +0 -22
  449. package/dist/api/resources/contracts/types/ContractStatus.js +0 -11
  450. package/dist/api/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -7
  451. package/dist/api/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -13
  452. package/dist/api/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -13
  453. package/dist/api/resources/credentialing/types/CredentialingSpanStatus.js +0 -12
  454. package/dist/api/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -13
  455. package/dist/api/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -8
  456. package/dist/api/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -23
  457. package/dist/api/resources/credentialing/types/ProviderCredentialingSpan.js +0 -5
  458. package/dist/api/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -11
  459. package/dist/api/resources/credentialing/types/ProviderCredentialingSpanBase.js +0 -5
  460. package/dist/api/resources/credentialing/types/ProviderCredentialingSpanId.d.ts +0 -8
  461. package/dist/api/resources/credentialing/types/ProviderCredentialingSpanId.js +0 -10
  462. package/dist/api/resources/credentialing/types/RequiredCredentialingDates.js +0 -5
  463. package/dist/api/resources/credentialing/types/index.d.ts +0 -9
  464. package/dist/api/resources/credentialing/types/index.js +0 -25
  465. package/dist/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.d.ts +0 -22
  466. package/dist/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.js +0 -47
  467. package/dist/api/resources/encounters/resources/v4/client/markAsNotBillable.d.ts +0 -22
  468. package/dist/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.d.ts +0 -22
  469. package/dist/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.js +0 -47
  470. package/dist/api/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -8
  471. package/dist/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -16
  472. package/dist/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.js +0 -5
  473. package/dist/api/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -11
  474. package/dist/api/resources/encounters/resources/v4/types/BaseAttachment.js +0 -5
  475. package/dist/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -8
  476. package/dist/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -10
  477. package/dist/api/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -7
  478. package/dist/api/resources/encounters/resources/v4/types/EncounterAttachment.js +0 -5
  479. package/dist/api/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -7
  480. package/dist/api/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -9
  481. package/dist/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -10
  482. package/dist/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js +0 -5
  483. package/dist/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -7
  484. package/dist/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -5
  485. package/dist/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -7
  486. package/dist/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -5
  487. package/dist/api/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
  488. package/dist/api/resources/encounters/resources/v4/types/NetworkStatus.js +0 -12
  489. package/dist/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -9
  490. package/dist/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -5
  491. package/dist/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -7
  492. package/dist/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -5
  493. package/dist/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -8
  494. package/dist/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js +0 -5
  495. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -8
  496. package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +0 -10
  497. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -14
  498. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -5
  499. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +0 -5
  500. package/dist/serialization/resources/commons/types/RegionStates.d.ts +0 -12
  501. package/dist/serialization/resources/commons/types/Regions.d.ts +0 -16
  502. package/dist/serialization/resources/contracts/types/AuthorizedSignatory.d.ts +0 -17
  503. package/dist/serialization/resources/contracts/types/AuthorizedSignatory.js +0 -38
  504. package/dist/serialization/resources/contracts/types/Contract.d.ts +0 -15
  505. package/dist/serialization/resources/contracts/types/Contract.js +0 -38
  506. package/dist/serialization/resources/contracts/types/ContractBase.d.ts +0 -16
  507. package/dist/serialization/resources/contracts/types/ContractBase.js +0 -37
  508. package/dist/serialization/resources/contracts/types/ContractStatus.d.ts +0 -10
  509. package/dist/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -12
  510. package/dist/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.js +0 -33
  511. package/dist/serialization/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -16
  512. package/dist/serialization/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -10
  513. package/dist/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -16
  514. package/dist/serialization/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -13
  515. package/dist/serialization/resources/credentialing/types/NonRequiredCredentialingDates.js +0 -34
  516. package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -19
  517. package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpan.js +0 -42
  518. package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -12
  519. package/dist/serialization/resources/credentialing/types/RequiredCredentialingDates.d.ts +0 -13
  520. package/dist/serialization/resources/credentialing/types/index.d.ts +0 -9
  521. package/dist/serialization/resources/credentialing/types/index.js +0 -25
  522. package/dist/serialization/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -10
  523. package/dist/serialization/resources/encounters/resources/v4/client/getAttachments.js +0 -31
  524. package/dist/serialization/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -10
  525. package/dist/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -19
  526. package/dist/serialization/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -16
  527. package/dist/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -10
  528. package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -12
  529. package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -10
  530. package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -31
  531. package/dist/serialization/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -13
  532. package/dist/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -12
  533. package/dist/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -33
  534. package/dist/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -12
  535. package/dist/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -33
  536. package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
  537. package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -14
  538. package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -35
  539. package/dist/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -12
  540. package/dist/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -33
  541. package/dist/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -13
  542. package/dist/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js +0 -34
  543. package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -10
  544. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -15
  545. package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -38
  546. package/serialization/resources/commons/types/RegionStates.d.ts +0 -12
  547. package/serialization/resources/commons/types/RegionStates.js +0 -33
  548. package/serialization/resources/commons/types/Regions.d.ts +0 -16
  549. package/serialization/resources/contracts/types/AuthorizedSignatory.d.ts +0 -17
  550. package/serialization/resources/contracts/types/AuthorizedSignatory.js +0 -38
  551. package/serialization/resources/contracts/types/Contract.d.ts +0 -15
  552. package/serialization/resources/contracts/types/Contract.js +0 -38
  553. package/serialization/resources/contracts/types/ContractBase.d.ts +0 -16
  554. package/serialization/resources/contracts/types/ContractBase.js +0 -37
  555. package/serialization/resources/contracts/types/ContractStatus.d.ts +0 -10
  556. package/serialization/resources/contracts/types/ContractStatus.js +0 -31
  557. package/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -12
  558. package/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.js +0 -33
  559. package/serialization/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -16
  560. package/serialization/resources/credentialing/types/CredentialingSpanDates.js +0 -39
  561. package/serialization/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -10
  562. package/serialization/resources/credentialing/types/CredentialingSpanStatus.js +0 -31
  563. package/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -16
  564. package/serialization/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -13
  565. package/serialization/resources/credentialing/types/NonRequiredCredentialingDates.js +0 -34
  566. package/serialization/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -19
  567. package/serialization/resources/credentialing/types/ProviderCredentialingSpan.js +0 -42
  568. package/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -12
  569. package/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.js +0 -33
  570. package/serialization/resources/credentialing/types/RequiredCredentialingDates.d.ts +0 -13
  571. package/serialization/resources/credentialing/types/index.d.ts +0 -9
  572. package/serialization/resources/credentialing/types/index.js +0 -25
  573. package/serialization/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -10
  574. package/serialization/resources/encounters/resources/v4/client/getAttachments.js +0 -31
  575. package/serialization/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -10
  576. package/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -19
  577. package/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.js +0 -40
  578. package/serialization/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -16
  579. package/serialization/resources/encounters/resources/v4/types/BaseAttachment.js +0 -37
  580. package/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -10
  581. package/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -31
  582. package/serialization/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -12
  583. package/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -10
  584. package/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -31
  585. package/serialization/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -13
  586. package/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -12
  587. package/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -33
  588. package/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -12
  589. package/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -33
  590. package/serialization/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
  591. package/serialization/resources/encounters/resources/v4/types/NetworkStatus.js +0 -31
  592. package/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -14
  593. package/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -35
  594. package/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -12
  595. package/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -33
  596. package/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -13
  597. package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -10
  598. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -15
  599. package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -38
  600. /package/api/resources/commons/types/{RegionNational.js → HttpServiceUnavailableErrorMessage.js} +0 -0
  601. /package/api/resources/commons/types/{RegionStates.js → RemovableDateRangeOptionalEnd.js} +0 -0
  602. /package/api/resources/{commons/types/Regions.js → exports/resources/v3/client/requests/GetExportsRequest.js} +0 -0
  603. /package/api/resources/{contracts/types/AuthorizedSignatory.js → exports/resources/v3/types/GetExportsResponse.js} +0 -0
  604. /package/api/resources/{credentialing → identifiers}/index.d.ts +0 -0
  605. /package/api/resources/{credentialing → identifiers}/index.js +0 -0
  606. /package/api/resources/{contracts/types/Contract.js → identifiers/types/Identifier.js} +0 -0
  607. /package/api/resources/{contracts/types/ContractBase.js → identifiers/types/IdentifierBase.js} +0 -0
  608. /package/api/resources/{credentialing/types/CredentialedEncounterStatusResult.js → identifiers/types/IdentifierCreate.js} +0 -0
  609. /package/api/resources/{credentialing/types/CredentialingSpanDates.js → identifiers/types/IdentifierUpdate.js} +0 -0
  610. /package/api/resources/{credentialing/types/EncounterCredentialingStatusResult.js → identifiers/types/IdentifierValue.js} +0 -0
  611. /package/api/resources/{credentialing/types/NonRequiredCredentialingDates.js → identifiers/types/MedicaidProviderIdentifier.js} +0 -0
  612. /package/api/resources/{credentialing/types/ProviderCredentialingSpan.js → identifiers/types/MedicareProviderIdentifier.js} +0 -0
  613. /package/api/resources/{credentialing/types/ProviderCredentialingSpanBase.js → identifiers/types/UpdatableIdentifier.js} +0 -0
  614. /package/api/resources/{credentialing/types/RequiredCredentialingDates.js → organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.js} +0 -0
  615. /package/api/resources/{encounters/resources/v4/types/AttributableContractingStatusResult.js → organizationProviders/resources/v3/types/OrganizationProviderCreateV2.js} +0 -0
  616. /package/api/resources/{encounters/resources/v4/types/BaseAttachment.js → organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +0 -0
  617. /package/api/resources/{encounters/resources/v4/types/EncounterAttachment.js → organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js} +0 -0
  618. /package/api/resources/{encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → organizationProviders/resources/v3/types/OrganizationProviderV2.js} +0 -0
  619. /package/{api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js → dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.js} +0 -0
  620. /package/{api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js → dist/api/resources/commons/types/RemovableDateRangeOptionalEnd.js} +0 -0
  621. /package/{api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js → dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.js} +0 -0
  622. /package/{api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js → dist/api/resources/exports/resources/v3/types/GetExportsResponse.js} +0 -0
  623. /package/dist/api/resources/{credentialing → identifiers}/index.d.ts +0 -0
  624. /package/dist/api/resources/{credentialing → identifiers}/index.js +0 -0
  625. /package/{api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js → dist/api/resources/identifiers/types/Identifier.js} +0 -0
  626. /package/{api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js → dist/api/resources/identifiers/types/IdentifierBase.js} +0 -0
  627. /package/{api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js → dist/api/resources/identifiers/types/IdentifierCreate.js} +0 -0
  628. /package/dist/api/resources/{commons/types/RegionNational.js → identifiers/types/IdentifierUpdate.js} +0 -0
  629. /package/dist/api/resources/{commons/types/RegionStates.js → identifiers/types/IdentifierValue.js} +0 -0
  630. /package/dist/api/resources/{commons/types/Regions.js → identifiers/types/MedicaidProviderIdentifier.js} +0 -0
  631. /package/dist/api/resources/{contracts/types/AuthorizedSignatory.js → identifiers/types/MedicareProviderIdentifier.js} +0 -0
  632. /package/dist/api/resources/{contracts/types/Contract.js → identifiers/types/UpdatableIdentifier.js} +0 -0
  633. /package/dist/api/resources/{contracts/types/ContractBase.js → organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.js} +0 -0
  634. /package/dist/api/resources/{credentialing/types/CredentialedEncounterStatusResult.js → organizationProviders/resources/v3/types/OrganizationProviderCreateV2.js} +0 -0
  635. /package/dist/api/resources/{credentialing/types/CredentialingSpanDates.js → organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +0 -0
  636. /package/dist/api/resources/{credentialing/types/EncounterCredentialingStatusResult.js → organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js} +0 -0
  637. /package/dist/api/resources/{credentialing/types/NonRequiredCredentialingDates.js → organizationProviders/resources/v3/types/OrganizationProviderV2.js} +0 -0
  638. /package/dist/serialization/resources/{credentialing → identifiers}/index.d.ts +0 -0
  639. /package/dist/serialization/resources/{credentialing → identifiers}/index.js +0 -0
  640. /package/serialization/resources/{credentialing → identifiers}/index.d.ts +0 -0
  641. /package/serialization/resources/{credentialing → identifiers}/index.js +0 -0
@@ -15,10 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OrganizationProviderId"), exports);
18
- __exportStar(require("./OrganizationProviderBase"), exports);
19
- __exportStar(require("./OrganizationProvider"), exports);
18
+ __exportStar(require("./OrganizationProviderSortOptions"), exports);
20
19
  __exportStar(require("./ProviderType"), exports);
21
20
  __exportStar(require("./LicenseType"), exports);
22
- __exportStar(require("./EmploymentStatus"), exports);
23
21
  __exportStar(require("./OrganizationProviderAddress"), exports);
24
22
  __exportStar(require("./AddressType"), exports);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.create.Error.Raw, CandidApi.organizationProviders.v3.create.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.HttpRequestValidationError;
10
+ interface HttpRequestValidationError {
11
+ errorName: "HttpRequestValidationError";
12
+ content: serializers.RequestValidationError.Raw;
13
+ }
14
+ }
@@ -0,0 +1,46 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ HttpRequestValidationError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RequestValidationError),
36
+ }),
37
+ })
38
+ .transform({
39
+ transform: (value) => {
40
+ switch (value.errorName) {
41
+ case "HttpRequestValidationError":
42
+ return CandidApi.organizationProviders.v3.create.Error.httpRequestValidationError(value.content);
43
+ }
44
+ },
45
+ untransform: ({ _visit, ...value }) => value,
46
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.get.Error.Raw, CandidApi.organizationProviders.v3.get.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.EntityNotFoundError;
10
+ interface EntityNotFoundError {
11
+ errorName: "EntityNotFoundError";
12
+ content: serializers.EntityNotFoundErrorMessage.Raw;
13
+ }
14
+ }
@@ -26,13 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.GenerateClinicalNotesPdfResponse = void 0;
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
30
31
  const core = __importStar(require("../../../../../../core"));
31
- exports.GenerateClinicalNotesPdfResponse = core.serialization
32
- .union("result", {
33
- success: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.SuccessfulGenerateClinicalNotesPdfResponse),
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ EntityNotFoundError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
36
+ }),
34
37
  })
35
38
  .transform({
36
- transform: (value) => value,
37
- untransform: (value) => value,
39
+ transform: (value) => {
40
+ switch (value.errorName) {
41
+ case "EntityNotFoundError":
42
+ return CandidApi.organizationProviders.v3.get.Error.entityNotFoundError(value.content);
43
+ }
44
+ },
45
+ untransform: ({ _visit, ...value }) => value,
38
46
  });
@@ -0,0 +1,3 @@
1
+ export * as get from "./get";
2
+ export * as create from "./create";
3
+ export * as update from "./update";
@@ -0,0 +1,29 @@
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.update = exports.create = exports.get = void 0;
27
+ exports.get = __importStar(require("./get"));
28
+ exports.create = __importStar(require("./create"));
29
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Error: core.serialization.Schema<serializers.organizationProviders.v3.update.Error.Raw, CandidApi.organizationProviders.v3.update.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.HttpRequestValidationError | Error.EntityNotFoundError;
10
+ interface HttpRequestValidationError {
11
+ errorName: "HttpRequestValidationError";
12
+ content: serializers.RequestValidationError.Raw;
13
+ }
14
+ interface EntityNotFoundError {
15
+ errorName: "EntityNotFoundError";
16
+ content: serializers.EntityNotFoundErrorMessage.Raw;
17
+ }
18
+ }
@@ -0,0 +1,51 @@
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("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.Error = core.serialization
33
+ .union("errorName", {
34
+ HttpRequestValidationError: core.serialization.object({
35
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).RequestValidationError),
36
+ }),
37
+ EntityNotFoundError: core.serialization.object({
38
+ content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
39
+ }),
40
+ })
41
+ .transform({
42
+ transform: (value) => {
43
+ switch (value.errorName) {
44
+ case "HttpRequestValidationError":
45
+ return CandidApi.organizationProviders.v3.update.Error.httpRequestValidationError(value.content);
46
+ case "EntityNotFoundError":
47
+ return CandidApi.organizationProviders.v3.update.Error.entityNotFoundError(value.content);
48
+ }
49
+ },
50
+ untransform: ({ _visit, ...value }) => value,
51
+ });
@@ -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);
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "../../../../..";
5
5
  import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
- export declare const OrganizationProviderBase: core.serialization.ObjectSchema<serializers.organizationProviders.v2.OrganizationProviderBase.Raw, CandidApi.organizationProviders.v2.OrganizationProviderBase>;
8
- export declare namespace OrganizationProviderBase {
7
+ export declare const OrganizationProviderCreateV2: core.serialization.ObjectSchema<serializers.organizationProviders.v3.OrganizationProviderCreateV2.Raw, CandidApi.organizationProviders.v3.OrganizationProviderCreateV2>;
8
+ export declare namespace OrganizationProviderCreateV2 {
9
9
  interface Raw {
10
10
  npi: string;
11
11
  is_rendering: boolean;
@@ -17,8 +17,9 @@ export declare namespace OrganizationProviderBase {
17
17
  tax_id?: string | null;
18
18
  taxonomy_code?: string | null;
19
19
  license_type: serializers.organizationProviders.v2.LicenseType.Raw;
20
- ptan?: string | null;
21
- medicaid_provider_id?: string | null;
22
20
  addresses?: serializers.organizationProviders.v2.OrganizationProviderAddress.Raw[] | null;
21
+ employment_start_date?: string | null;
22
+ employment_termination_date?: string | null;
23
+ qualifications: serializers.IdentifierCreate.Raw[];
23
24
  }
24
25
  }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.OrganizationProviderBase = void 0;
29
+ exports.OrganizationProviderCreateV2 = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.OrganizationProviderBase = core.serialization.object({
31
+ exports.OrganizationProviderCreateV2 = core.serialization.object({
32
32
  npi: core.serialization.string(),
33
33
  isRendering: core.serialization.property("is_rendering", core.serialization.boolean()),
34
34
  isBilling: core.serialization.property("is_billing", core.serialization.boolean()),
@@ -39,9 +39,10 @@ exports.OrganizationProviderBase = core.serialization.object({
39
39
  taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
40
40
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
41
41
  licenseType: core.serialization.property("license_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.LicenseType)),
42
- ptan: core.serialization.string().optional(),
43
- medicaidProviderId: core.serialization.property("medicaid_provider_id", core.serialization.string().optional()),
44
42
  addresses: core.serialization
45
43
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderAddress))
46
44
  .optional(),
45
+ employmentStartDate: core.serialization.property("employment_start_date", core.serialization.string().optional()),
46
+ employmentTerminationDate: core.serialization.property("employment_termination_date", core.serialization.string().optional()),
47
+ qualifications: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).IdentifierCreate)),
47
48
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const OrganizationProviderPageV2: core.serialization.ObjectSchema<serializers.organizationProviders.v3.OrganizationProviderPageV2.Raw, CandidApi.organizationProviders.v3.OrganizationProviderPageV2>;
8
+ export declare namespace OrganizationProviderPageV2 {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.organizationProviders.v3.OrganizationProviderV2.Raw[];
11
+ }
12
+ }
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.EncounterAttachment = void 0;
29
+ exports.OrganizationProviderPageV2 = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.EncounterAttachment = core.serialization
31
+ exports.OrganizationProviderPageV2 = core.serialization
32
32
  .object({
33
- attachmentType: core.serialization.property("attachment_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterAttachmentType)),
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v3.OrganizationProviderV2)),
34
34
  })
35
- .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.BaseAttachment));
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const OrganizationProviderUpdateV2: core.serialization.ObjectSchema<serializers.organizationProviders.v3.OrganizationProviderUpdateV2.Raw, CandidApi.organizationProviders.v3.OrganizationProviderUpdateV2>;
8
+ export declare namespace OrganizationProviderUpdateV2 {
9
+ interface Raw {
10
+ npi?: string | null;
11
+ is_rendering?: boolean | null;
12
+ is_billing?: boolean | null;
13
+ first_name?: string | null;
14
+ last_name?: string | null;
15
+ organization_name?: string | null;
16
+ provider_type?: serializers.organizationProviders.v2.ProviderType.Raw | null;
17
+ tax_id?: string | null;
18
+ taxonomy_code?: string | null;
19
+ license_type?: serializers.organizationProviders.v2.LicenseType.Raw | null;
20
+ addresses?: serializers.organizationProviders.v2.OrganizationProviderAddress.Raw[] | null;
21
+ employment_start_date?: serializers.Date_.Raw | null;
22
+ employment_termination_date?: serializers.Date_.Raw | null;
23
+ qualifications?: serializers.UpdatableIdentifier.Raw[] | null;
24
+ }
25
+ }
@@ -0,0 +1,54 @@
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.OrganizationProviderUpdateV2 = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.OrganizationProviderUpdateV2 = core.serialization.object({
32
+ npi: core.serialization.string().optional(),
33
+ isRendering: core.serialization.property("is_rendering", core.serialization.boolean().optional()),
34
+ isBilling: core.serialization.property("is_billing", core.serialization.boolean().optional()),
35
+ firstName: core.serialization.property("first_name", core.serialization.string().optional()),
36
+ lastName: core.serialization.property("last_name", core.serialization.string().optional()),
37
+ organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
38
+ providerType: core.serialization.property("provider_type", core.serialization
39
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.ProviderType)
40
+ .optional()),
41
+ taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
42
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
43
+ licenseType: core.serialization.property("license_type", core.serialization
44
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.LicenseType)
45
+ .optional()),
46
+ addresses: core.serialization
47
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderAddress))
48
+ .optional(),
49
+ employmentStartDate: core.serialization.property("employment_start_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
50
+ employmentTerminationDate: core.serialization.property("employment_termination_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
51
+ qualifications: core.serialization
52
+ .list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UpdatableIdentifier))
53
+ .optional(),
54
+ });
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const OrganizationProviderV2: core.serialization.ObjectSchema<serializers.organizationProviders.v3.OrganizationProviderV2.Raw, CandidApi.organizationProviders.v3.OrganizationProviderV2>;
8
+ export declare namespace OrganizationProviderV2 {
9
+ interface Raw {
10
+ npi: string;
11
+ is_rendering: boolean;
12
+ is_billing: boolean;
13
+ first_name?: string | null;
14
+ last_name?: string | null;
15
+ organization_name?: string | null;
16
+ provider_type: serializers.organizationProviders.v2.ProviderType.Raw;
17
+ tax_id?: string | null;
18
+ taxonomy_code?: string | null;
19
+ license_type: serializers.organizationProviders.v2.LicenseType.Raw;
20
+ addresses?: serializers.organizationProviders.v2.OrganizationProviderAddress.Raw[] | null;
21
+ employment_start_date?: string | null;
22
+ employment_termination_date?: string | null;
23
+ organization_provider_id: serializers.organizationProviders.v2.OrganizationProviderId.Raw;
24
+ qualifications: serializers.Identifier.Raw[];
25
+ }
26
+ }
@@ -0,0 +1,49 @@
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.OrganizationProviderV2 = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.OrganizationProviderV2 = core.serialization.object({
32
+ npi: core.serialization.string(),
33
+ isRendering: core.serialization.property("is_rendering", core.serialization.boolean()),
34
+ isBilling: core.serialization.property("is_billing", core.serialization.boolean()),
35
+ firstName: core.serialization.property("first_name", core.serialization.string().optional()),
36
+ lastName: core.serialization.property("last_name", core.serialization.string().optional()),
37
+ organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
38
+ providerType: core.serialization.property("provider_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.ProviderType)),
39
+ taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
40
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
41
+ licenseType: core.serialization.property("license_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.LicenseType)),
42
+ addresses: core.serialization
43
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderAddress))
44
+ .optional(),
45
+ employmentStartDate: core.serialization.property("employment_start_date", core.serialization.string().optional()),
46
+ employmentTerminationDate: core.serialization.property("employment_termination_date", core.serialization.string().optional()),
47
+ organizationProviderId: core.serialization.property("organization_provider_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).organizationProviders.v2.OrganizationProviderId)),
48
+ qualifications: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Identifier)),
49
+ });
@@ -0,0 +1,4 @@
1
+ export * from "./OrganizationProviderV2";
2
+ export * from "./OrganizationProviderCreateV2";
3
+ export * from "./OrganizationProviderUpdateV2";
4
+ export * from "./OrganizationProviderPageV2";
@@ -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("./OrganizationProviderV2"), exports);
18
+ __exportStar(require("./OrganizationProviderCreateV2"), exports);
19
+ __exportStar(require("./OrganizationProviderUpdateV2"), exports);
20
+ __exportStar(require("./OrganizationProviderPageV2"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type ContentDownloadUrl = string & {
6
- ContentDownloadUrl: void;
7
- };
8
- export declare function ContentDownloadUrl(value: string): CandidApi.ContentDownloadUrl;
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface RegionNational {
5
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type Regions = CandidApi.Regions.States | CandidApi.Regions.National;
6
- export declare namespace Regions {
7
- interface States extends CandidApi.RegionStates {
8
- type: "states";
9
- }
10
- interface National extends CandidApi.RegionNational {
11
- type: "national";
12
- }
13
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AuthorizedSignatory {
5
- firstName?: string;
6
- lastName?: string;
7
- title?: string;
8
- email?: string;
9
- phone?: string;
10
- fax?: string;
11
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface Contract extends CandidApi.ContractBase {
6
- contractId: CandidApi.ContractId;
7
- /** The provider under contract */
8
- contractingProvider: CandidApi.organizationProviders.v2.OrganizationProvider;
9
- /** The providers who can render medical services under the contract */
10
- renderingProviders: Record<string, CandidApi.organizationProviders.v2.OrganizationProvider>;
11
- /** The insurance company under contract */
12
- payer?: CandidApi.Payer;
13
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ContractBase {
6
- /** The starting day upon which the contract is effective */
7
- effectiveDate: CandidApi.Date_;
8
- /** An optional end day upon which the contract expires */
9
- expirationDate?: CandidApi.Date_;
10
- /**
11
- * The state(s) to which the contract's coverage extends.
12
- * It may also be set to "national" for the entirety of the US.
13
- *
14
- */
15
- regions: CandidApi.Regions;
16
- contractStatus?: CandidApi.ContractStatus;
17
- authorizedSignatory?: CandidApi.AuthorizedSignatory;
18
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type ContractStatus =
5
- /**
6
- * Contract is still in the works and has not been signed and counter-signed yet
7
- * */
8
- "pending"
9
- /**
10
- * Contract is active and in effect (claims will need to
11
- * be submitted under effective contracts)
12
- * */
13
- | "effective"
14
- /**
15
- * Contract is no longer effective but kept around for historical documentation
16
- * */
17
- | "cancelled";
18
- export declare const ContractStatus: {
19
- readonly Pending: "pending";
20
- readonly Effective: "effective";
21
- readonly Cancelled: "cancelled";
22
- };
@@ -1,11 +0,0 @@
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.ContractStatus = void 0;
7
- exports.ContractStatus = {
8
- Pending: "pending",
9
- Effective: "effective",
10
- Cancelled: "cancelled",
11
- };