candidhealth 1.17.1 → 1.17.3

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 (504) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +50 -55
  3. package/api/resources/commons/types/index.d.ts +0 -1
  4. package/api/resources/commons/types/index.js +0 -1
  5. package/api/resources/eligibility/resources/v2/client/Client.d.ts +0 -29
  6. package/api/resources/eligibility/resources/v2/client/Client.js +0 -85
  7. package/api/resources/eligibility/resources/v2/client/index.d.ts +0 -1
  8. package/api/resources/eligibility/resources/v2/client/index.js +1 -2
  9. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +7 -1
  10. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +9 -0
  11. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +12 -0
  12. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  13. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  14. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  15. package/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  16. package/api/resources/financials/types/AllocationEarmarkType.d.ts +23 -0
  17. package/api/resources/financials/types/index.d.ts +1 -0
  18. package/api/resources/financials/types/index.js +1 -0
  19. package/api/resources/index.d.ts +2 -3
  20. package/api/resources/index.js +4 -5
  21. package/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +1 -0
  22. package/api/resources/serviceLines/resources/v2/client/Client.js +2 -0
  23. package/api/resources/serviceLines/resources/v2/client/create.d.ts +7 -1
  24. package/api/resources/serviceLines/resources/v2/client/create.js +11 -0
  25. package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +7 -1
  26. package/api/resources/serviceLines/resources/v2/client/createUniversal.js +11 -0
  27. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  28. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +5 -0
  29. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +5 -0
  30. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  31. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +5 -0
  32. package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -0
  33. package/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  34. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +5 -0
  35. package/api/resources/tasks/resources/commons/types/TaskType.d.ts +1 -0
  36. package/api/resources/tasks/resources/commons/types/TaskType.js +1 -0
  37. package/dist/Client.d.ts +0 -3
  38. package/dist/Client.js +50 -55
  39. package/dist/api/resources/commons/types/index.d.ts +0 -1
  40. package/dist/api/resources/commons/types/index.js +0 -1
  41. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +0 -29
  42. package/dist/api/resources/eligibility/resources/v2/client/Client.js +0 -85
  43. package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +0 -1
  44. package/dist/api/resources/eligibility/resources/v2/client/index.js +1 -2
  45. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +7 -1
  46. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +9 -0
  47. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +12 -0
  48. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  49. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  50. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  51. package/dist/api/resources/financials/types/AllocationCreate.d.ts +5 -0
  52. package/dist/api/resources/financials/types/AllocationEarmarkType.d.ts +23 -0
  53. package/dist/api/resources/financials/types/index.d.ts +1 -0
  54. package/dist/api/resources/financials/types/index.js +1 -0
  55. package/dist/api/resources/index.d.ts +2 -3
  56. package/dist/api/resources/index.js +4 -5
  57. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +1 -0
  58. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +2 -0
  59. package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +7 -1
  60. package/dist/api/resources/serviceLines/resources/v2/client/create.js +11 -0
  61. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +7 -1
  62. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +11 -0
  63. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  64. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +5 -0
  65. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +5 -0
  66. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  67. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +5 -0
  68. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -0
  69. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  70. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +5 -0
  71. package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +1 -0
  72. package/dist/api/resources/tasks/resources/commons/types/TaskType.js +1 -0
  73. package/dist/serialization/resources/claims/types/Claim.d.ts +1 -1
  74. package/dist/serialization/resources/claims/types/Claim.js +1 -1
  75. package/dist/serialization/resources/commons/types/index.d.ts +0 -1
  76. package/dist/serialization/resources/commons/types/index.js +0 -1
  77. package/dist/serialization/resources/eligibility/resources/v2/client/index.d.ts +0 -1
  78. package/dist/serialization/resources/eligibility/resources/v2/client/index.js +1 -2
  79. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +2 -0
  80. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +2 -0
  81. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +7 -0
  82. package/dist/serialization/resources/{expectedNetworkStatus/resources/v2/types/LineOfBusiness.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js} +2 -2
  83. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  84. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  85. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  86. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  87. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +2 -0
  88. package/dist/serialization/resources/financials/types/AllocationCreate.js +2 -0
  89. package/dist/serialization/resources/financials/types/AllocationEarmarkType.d.ts +17 -0
  90. package/dist/serialization/resources/financials/types/AllocationEarmarkType.js +53 -0
  91. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  92. package/dist/serialization/resources/financials/types/index.js +1 -0
  93. package/dist/serialization/resources/index.d.ts +2 -3
  94. package/dist/serialization/resources/index.js +4 -5
  95. package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +2 -0
  96. package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +2 -0
  97. package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +6 -1
  98. package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +6 -0
  99. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +6 -1
  100. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +6 -0
  101. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  102. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  103. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  104. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  105. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  106. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  107. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  108. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  109. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  110. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  111. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  112. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  113. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  114. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  115. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +1 -1
  116. package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +1 -0
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +1 -1
  120. package/reference.md +219 -557
  121. package/serialization/resources/claims/types/Claim.d.ts +1 -1
  122. package/serialization/resources/claims/types/Claim.js +1 -1
  123. package/serialization/resources/commons/types/index.d.ts +0 -1
  124. package/serialization/resources/commons/types/index.js +0 -1
  125. package/serialization/resources/eligibility/resources/v2/client/index.d.ts +0 -1
  126. package/serialization/resources/eligibility/resources/v2/client/index.js +1 -2
  127. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +2 -0
  128. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +2 -0
  129. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +7 -0
  130. package/serialization/resources/{expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js} +2 -2
  131. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  132. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  133. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  134. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  135. package/serialization/resources/financials/types/AllocationCreate.d.ts +2 -0
  136. package/serialization/resources/financials/types/AllocationCreate.js +2 -0
  137. package/serialization/resources/financials/types/AllocationEarmarkType.d.ts +17 -0
  138. package/serialization/resources/financials/types/AllocationEarmarkType.js +53 -0
  139. package/serialization/resources/financials/types/index.d.ts +1 -0
  140. package/serialization/resources/financials/types/index.js +1 -0
  141. package/serialization/resources/index.d.ts +2 -3
  142. package/serialization/resources/index.js +4 -5
  143. package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +2 -0
  144. package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +2 -0
  145. package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +6 -1
  146. package/serialization/resources/serviceLines/resources/v2/client/create.js +6 -0
  147. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +6 -1
  148. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +6 -0
  149. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  150. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  151. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  152. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  153. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  154. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  155. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  156. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  157. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  158. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  159. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  160. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  161. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  162. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  163. package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +1 -1
  164. package/serialization/resources/tasks/resources/commons/types/TaskType.js +1 -0
  165. package/version.d.ts +1 -1
  166. package/version.js +1 -1
  167. package/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +0 -3
  168. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +0 -25
  169. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +0 -66
  170. package/api/resources/expectedNetworkStatus/client/Client.d.ts +0 -17
  171. package/api/resources/expectedNetworkStatus/client/Client.js +0 -20
  172. package/api/resources/expectedNetworkStatus/client/index.d.ts +0 -1
  173. package/api/resources/expectedNetworkStatus/client/index.js +0 -2
  174. package/api/resources/expectedNetworkStatus/index.d.ts +0 -2
  175. package/api/resources/expectedNetworkStatus/index.js +0 -18
  176. package/api/resources/expectedNetworkStatus/resources/index.d.ts +0 -2
  177. package/api/resources/expectedNetworkStatus/resources/index.js +0 -38
  178. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -34
  179. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +0 -130
  180. package/api/resources/expectedNetworkStatus/resources/v1/client/compute.d.ts +0 -19
  181. package/api/resources/expectedNetworkStatus/resources/v1/client/compute.js +0 -55
  182. package/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +0 -2
  183. package/api/resources/expectedNetworkStatus/resources/v1/client/index.js +0 -41
  184. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +0 -31
  185. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/index.d.ts +0 -1
  186. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/index.js +0 -2
  187. package/api/resources/expectedNetworkStatus/resources/v1/index.d.ts +0 -2
  188. package/api/resources/expectedNetworkStatus/resources/v1/index.js +0 -18
  189. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.d.ts +0 -6
  190. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.js +0 -9
  191. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +0 -7
  192. package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +0 -3
  193. package/api/resources/expectedNetworkStatus/resources/v1/types/index.d.ts +0 -2
  194. package/api/resources/expectedNetworkStatus/resources/v1/types/index.js +0 -18
  195. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -88
  196. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +0 -269
  197. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +0 -31
  198. package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +0 -77
  199. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +0 -31
  200. package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +0 -77
  201. package/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +0 -2
  202. package/api/resources/expectedNetworkStatus/resources/v2/client/index.js +0 -38
  203. package/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +0 -2
  204. package/api/resources/expectedNetworkStatus/resources/v2/index.js +0 -18
  205. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +0 -24
  206. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +0 -3
  207. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +0 -6
  208. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +0 -3
  209. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +0 -13
  210. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +0 -3
  211. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +0 -1
  212. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +0 -3
  213. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +0 -3
  214. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +0 -3
  215. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +0 -24
  216. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +0 -3
  217. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +0 -5
  218. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +0 -3
  219. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +0 -9
  220. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +0 -3
  221. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +0 -13
  222. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +0 -3
  223. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +0 -11
  224. package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +0 -14
  225. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +0 -6
  226. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +0 -3
  227. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +0 -5
  228. package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +0 -3
  229. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +0 -7
  230. package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +0 -3
  231. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +0 -6
  232. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +0 -3
  233. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +0 -23
  234. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +0 -3
  235. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +0 -6
  236. package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +0 -9
  237. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +0 -5
  238. package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +0 -7
  239. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +0 -6
  240. package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +0 -3
  241. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +0 -44
  242. package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +0 -47
  243. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +0 -19
  244. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +0 -35
  245. package/dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +0 -3
  246. package/dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.js +0 -3
  247. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +0 -25
  248. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +0 -66
  249. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +0 -17
  250. package/dist/api/resources/expectedNetworkStatus/client/Client.js +0 -20
  251. package/dist/api/resources/expectedNetworkStatus/client/index.d.ts +0 -1
  252. package/dist/api/resources/expectedNetworkStatus/client/index.js +0 -2
  253. package/dist/api/resources/expectedNetworkStatus/index.d.ts +0 -2
  254. package/dist/api/resources/expectedNetworkStatus/index.js +0 -18
  255. package/dist/api/resources/expectedNetworkStatus/resources/index.d.ts +0 -2
  256. package/dist/api/resources/expectedNetworkStatus/resources/index.js +0 -38
  257. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -34
  258. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +0 -130
  259. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/compute.d.ts +0 -19
  260. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/compute.js +0 -55
  261. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +0 -2
  262. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.js +0 -41
  263. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +0 -31
  264. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.js +0 -3
  265. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/index.d.ts +0 -1
  266. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/index.js +0 -2
  267. package/dist/api/resources/expectedNetworkStatus/resources/v1/index.d.ts +0 -2
  268. package/dist/api/resources/expectedNetworkStatus/resources/v1/index.js +0 -18
  269. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.d.ts +0 -6
  270. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.js +0 -9
  271. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +0 -7
  272. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +0 -3
  273. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/index.d.ts +0 -2
  274. package/dist/api/resources/expectedNetworkStatus/resources/v1/types/index.js +0 -18
  275. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -88
  276. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +0 -269
  277. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +0 -31
  278. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +0 -77
  279. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +0 -31
  280. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +0 -77
  281. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +0 -2
  282. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.js +0 -38
  283. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +0 -2
  284. package/dist/api/resources/expectedNetworkStatus/resources/v2/index.js +0 -18
  285. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +0 -24
  286. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +0 -3
  287. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +0 -6
  288. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +0 -3
  289. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +0 -13
  290. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +0 -3
  291. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +0 -1
  292. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +0 -3
  293. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +0 -3
  294. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +0 -3
  295. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +0 -24
  296. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +0 -3
  297. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +0 -5
  298. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +0 -3
  299. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +0 -9
  300. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +0 -3
  301. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +0 -13
  302. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +0 -3
  303. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +0 -11
  304. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +0 -14
  305. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +0 -6
  306. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +0 -3
  307. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +0 -5
  308. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +0 -3
  309. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +0 -7
  310. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +0 -3
  311. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +0 -6
  312. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +0 -3
  313. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +0 -23
  314. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +0 -3
  315. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +0 -6
  316. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +0 -9
  317. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +0 -5
  318. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +0 -7
  319. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +0 -6
  320. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +0 -3
  321. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +0 -44
  322. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +0 -47
  323. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +0 -19
  324. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +0 -35
  325. package/dist/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +0 -9
  326. package/dist/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.js +0 -41
  327. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +0 -12
  328. package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +0 -69
  329. package/dist/serialization/resources/expectedNetworkStatus/index.d.ts +0 -1
  330. package/dist/serialization/resources/expectedNetworkStatus/index.js +0 -17
  331. package/dist/serialization/resources/expectedNetworkStatus/resources/index.d.ts +0 -2
  332. package/dist/serialization/resources/expectedNetworkStatus/resources/index.js +0 -38
  333. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +0 -1
  334. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/index.js +0 -17
  335. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +0 -21
  336. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.js +0 -53
  337. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/index.d.ts +0 -1
  338. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/index.js +0 -5
  339. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/index.d.ts +0 -2
  340. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/index.js +0 -18
  341. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.d.ts +0 -7
  342. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.js +0 -39
  343. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +0 -13
  344. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +0 -45
  345. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/index.d.ts +0 -2
  346. package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/index.js +0 -18
  347. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +0 -17
  348. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +0 -75
  349. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +0 -17
  350. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +0 -75
  351. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +0 -2
  352. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +0 -38
  353. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +0 -2
  354. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.js +0 -18
  355. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +0 -21
  356. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +0 -53
  357. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +0 -12
  358. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +0 -44
  359. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +0 -19
  360. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +0 -51
  361. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +0 -7
  362. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +0 -39
  363. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +0 -9
  364. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +0 -41
  365. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +0 -21
  366. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +0 -53
  367. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +0 -12
  368. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +0 -44
  369. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +0 -13
  370. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +0 -45
  371. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +0 -19
  372. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +0 -51
  373. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +0 -7
  374. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +0 -48
  375. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +0 -13
  376. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +0 -45
  377. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +0 -12
  378. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +0 -44
  379. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +0 -15
  380. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +0 -47
  381. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +0 -12
  382. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +0 -44
  383. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +0 -19
  384. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +0 -52
  385. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +0 -7
  386. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +0 -7
  387. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +0 -43
  388. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +0 -14
  389. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +0 -46
  390. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +0 -7
  391. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +0 -81
  392. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +0 -19
  393. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +0 -35
  394. package/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +0 -9
  395. package/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.js +0 -41
  396. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +0 -12
  397. package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +0 -69
  398. package/serialization/resources/expectedNetworkStatus/index.d.ts +0 -1
  399. package/serialization/resources/expectedNetworkStatus/index.js +0 -17
  400. package/serialization/resources/expectedNetworkStatus/resources/index.d.ts +0 -2
  401. package/serialization/resources/expectedNetworkStatus/resources/index.js +0 -38
  402. package/serialization/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +0 -1
  403. package/serialization/resources/expectedNetworkStatus/resources/v1/client/index.js +0 -17
  404. package/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +0 -21
  405. package/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.js +0 -53
  406. package/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/index.d.ts +0 -1
  407. package/serialization/resources/expectedNetworkStatus/resources/v1/client/requests/index.js +0 -5
  408. package/serialization/resources/expectedNetworkStatus/resources/v1/index.d.ts +0 -2
  409. package/serialization/resources/expectedNetworkStatus/resources/v1/index.js +0 -18
  410. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatus.d.ts +0 -7
  411. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +0 -13
  412. package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +0 -45
  413. package/serialization/resources/expectedNetworkStatus/resources/v1/types/index.d.ts +0 -2
  414. package/serialization/resources/expectedNetworkStatus/resources/v1/types/index.js +0 -18
  415. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +0 -17
  416. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +0 -75
  417. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +0 -17
  418. package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +0 -75
  419. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +0 -2
  420. package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +0 -38
  421. package/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +0 -2
  422. package/serialization/resources/expectedNetworkStatus/resources/v2/index.js +0 -18
  423. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +0 -21
  424. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +0 -53
  425. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +0 -12
  426. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +0 -44
  427. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +0 -19
  428. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +0 -51
  429. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +0 -7
  430. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +0 -39
  431. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +0 -9
  432. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +0 -41
  433. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +0 -21
  434. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +0 -53
  435. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +0 -12
  436. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +0 -44
  437. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +0 -13
  438. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +0 -45
  439. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +0 -19
  440. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +0 -51
  441. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +0 -7
  442. package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +0 -48
  443. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +0 -13
  444. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +0 -45
  445. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +0 -12
  446. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +0 -44
  447. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +0 -15
  448. package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +0 -47
  449. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +0 -12
  450. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +0 -44
  451. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +0 -19
  452. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +0 -52
  453. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +0 -7
  454. package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +0 -39
  455. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +0 -7
  456. package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +0 -43
  457. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +0 -14
  458. package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +0 -46
  459. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +0 -7
  460. package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +0 -81
  461. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +0 -19
  462. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +0 -35
  463. /package/api/resources/{era → eras}/index.d.ts +0 -0
  464. /package/api/resources/{era → eras}/index.js +0 -0
  465. /package/api/resources/{era → eras}/types/Era.d.ts +0 -0
  466. /package/api/resources/{era → eras}/types/Era.js +0 -0
  467. /package/api/resources/{era → eras}/types/EraBase.d.ts +0 -0
  468. /package/api/resources/{era → eras}/types/EraBase.js +0 -0
  469. /package/api/resources/{era → eras}/types/EraId.d.ts +0 -0
  470. /package/api/resources/{era → eras}/types/EraId.js +0 -0
  471. /package/api/resources/{era → eras}/types/index.d.ts +0 -0
  472. /package/api/resources/{era → eras}/types/index.js +0 -0
  473. /package/api/resources/{commons/types/HttpServiceUnavailableErrorMessage.js → financials/types/AllocationEarmarkType.js} +0 -0
  474. /package/dist/api/resources/{era → eras}/index.d.ts +0 -0
  475. /package/dist/api/resources/{era → eras}/index.js +0 -0
  476. /package/dist/api/resources/{era → eras}/types/Era.d.ts +0 -0
  477. /package/dist/api/resources/{era → eras}/types/Era.js +0 -0
  478. /package/dist/api/resources/{era → eras}/types/EraBase.d.ts +0 -0
  479. /package/dist/api/resources/{era → eras}/types/EraBase.js +0 -0
  480. /package/dist/api/resources/{era → eras}/types/EraId.d.ts +0 -0
  481. /package/dist/api/resources/{era → eras}/types/EraId.js +0 -0
  482. /package/dist/api/resources/{era → eras}/types/index.d.ts +0 -0
  483. /package/dist/api/resources/{era → eras}/types/index.js +0 -0
  484. /package/{api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.js → dist/api/resources/financials/types/AllocationEarmarkType.js} +0 -0
  485. /package/dist/serialization/resources/{era → eras}/index.d.ts +0 -0
  486. /package/dist/serialization/resources/{era → eras}/index.js +0 -0
  487. /package/dist/serialization/resources/{era → eras}/types/Era.d.ts +0 -0
  488. /package/dist/serialization/resources/{era → eras}/types/Era.js +0 -0
  489. /package/dist/serialization/resources/{era → eras}/types/EraBase.d.ts +0 -0
  490. /package/dist/serialization/resources/{era → eras}/types/EraBase.js +0 -0
  491. /package/dist/serialization/resources/{era → eras}/types/EraId.d.ts +0 -0
  492. /package/dist/serialization/resources/{era → eras}/types/EraId.js +0 -0
  493. /package/dist/serialization/resources/{era → eras}/types/index.d.ts +0 -0
  494. /package/dist/serialization/resources/{era → eras}/types/index.js +0 -0
  495. /package/serialization/resources/{era → eras}/index.d.ts +0 -0
  496. /package/serialization/resources/{era → eras}/index.js +0 -0
  497. /package/serialization/resources/{era → eras}/types/Era.d.ts +0 -0
  498. /package/serialization/resources/{era → eras}/types/Era.js +0 -0
  499. /package/serialization/resources/{era → eras}/types/EraBase.d.ts +0 -0
  500. /package/serialization/resources/{era → eras}/types/EraBase.js +0 -0
  501. /package/serialization/resources/{era → eras}/types/EraId.d.ts +0 -0
  502. /package/serialization/resources/{era → eras}/types/EraId.js +0 -0
  503. /package/serialization/resources/{era → eras}/types/index.d.ts +0 -0
  504. /package/serialization/resources/{era → eras}/types/index.js +0 -0
@@ -1,7 +1,11 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.serviceLines.v2.create.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.create.Error._Unknown;
3
+ export type Error = CandidApi.serviceLines.v2.create.Error.EntityConflictError | CandidApi.serviceLines.v2.create.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.create.Error._Unknown;
4
4
  export declare namespace Error {
5
+ interface EntityConflictError extends _Utils {
6
+ errorName: "EntityConflictError";
7
+ content: CandidApi.EntityConflictErrorMessage;
8
+ }
5
9
  interface HttpRequestValidationError extends _Utils {
6
10
  errorName: "HttpRequestValidationError";
7
11
  content: CandidApi.RequestValidationError;
@@ -14,11 +18,13 @@ export declare namespace Error {
14
18
  _visit: <_Result>(visitor: CandidApi.serviceLines.v2.create.Error._Visitor<_Result>) => _Result;
15
19
  }
16
20
  interface _Visitor<_Result> {
21
+ entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
17
22
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
18
23
  _other: (value: core.Fetcher.Error) => _Result;
19
24
  }
20
25
  }
21
26
  export declare const Error: {
27
+ readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.serviceLines.v2.create.Error.EntityConflictError;
22
28
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.serviceLines.v2.create.Error.HttpRequestValidationError;
23
29
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.serviceLines.v2.create.Error._Unknown;
24
30
  readonly _visit: <_Result>(value: CandidApi.serviceLines.v2.create.Error, visitor: CandidApi.serviceLines.v2.create.Error._Visitor<_Result>) => _Result;
@@ -37,6 +37,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
38
  const CandidApi = __importStar(require("../../../../../index"));
39
39
  exports.Error = {
40
+ entityConflictError: (value) => {
41
+ return {
42
+ content: value,
43
+ errorName: "EntityConflictError",
44
+ _visit: function (visitor) {
45
+ return CandidApi.serviceLines.v2.create.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
40
49
  httpRequestValidationError: (value) => {
41
50
  return {
42
51
  content: value,
@@ -57,6 +66,8 @@ exports.Error = {
57
66
  },
58
67
  _visit: (value, visitor) => {
59
68
  switch (value.errorName) {
69
+ case "EntityConflictError":
70
+ return visitor.entityConflictError(value.content);
60
71
  case "HttpRequestValidationError":
61
72
  return visitor.httpRequestValidationError(value.content);
62
73
  default:
@@ -1,7 +1,11 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.serviceLines.v2.createUniversal.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.createUniversal.Error._Unknown;
3
+ export type Error = CandidApi.serviceLines.v2.createUniversal.Error.EntityConflictError | CandidApi.serviceLines.v2.createUniversal.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.createUniversal.Error._Unknown;
4
4
  export declare namespace Error {
5
+ interface EntityConflictError extends _Utils {
6
+ errorName: "EntityConflictError";
7
+ content: CandidApi.EntityConflictErrorMessage;
8
+ }
5
9
  interface HttpRequestValidationError extends _Utils {
6
10
  errorName: "HttpRequestValidationError";
7
11
  content: CandidApi.RequestValidationError;
@@ -14,11 +18,13 @@ export declare namespace Error {
14
18
  _visit: <_Result>(visitor: CandidApi.serviceLines.v2.createUniversal.Error._Visitor<_Result>) => _Result;
15
19
  }
16
20
  interface _Visitor<_Result> {
21
+ entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
17
22
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
18
23
  _other: (value: core.Fetcher.Error) => _Result;
19
24
  }
20
25
  }
21
26
  export declare const Error: {
27
+ readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.serviceLines.v2.createUniversal.Error.EntityConflictError;
22
28
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.serviceLines.v2.createUniversal.Error.HttpRequestValidationError;
23
29
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.serviceLines.v2.createUniversal.Error._Unknown;
24
30
  readonly _visit: <_Result>(value: CandidApi.serviceLines.v2.createUniversal.Error, visitor: CandidApi.serviceLines.v2.createUniversal.Error._Visitor<_Result>) => _Result;
@@ -37,6 +37,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
38
  const CandidApi = __importStar(require("../../../../../index"));
39
39
  exports.Error = {
40
+ entityConflictError: (value) => {
41
+ return {
42
+ content: value,
43
+ errorName: "EntityConflictError",
44
+ _visit: function (visitor) {
45
+ return CandidApi.serviceLines.v2.createUniversal.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
40
49
  httpRequestValidationError: (value) => {
41
50
  return {
42
51
  content: value,
@@ -57,6 +66,8 @@ exports.Error = {
57
66
  },
58
67
  _visit: (value, visitor) => {
59
68
  switch (value.errorName) {
69
+ case "EntityConflictError":
70
+ return visitor.entityConflictError(value.content);
60
71
  case "HttpRequestValidationError":
61
72
  return visitor.httpRequestValidationError(value.content);
62
73
  default:
@@ -145,4 +145,9 @@ export interface ServiceLine {
145
145
  note?: string;
146
146
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
147
147
  priorAuthorizationNumber?: string;
148
+ /**
149
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
150
+ * This field should not contain PHI. Must be unique on a given claim.
151
+ */
152
+ externalId?: string;
148
153
  }
@@ -43,4 +43,9 @@ export interface ServiceLineCreateBaseBase {
43
43
  note?: string;
44
44
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
45
45
  priorAuthorizationNumber?: string;
46
+ /**
47
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
48
+ * This field should not contain PHI. Must be unique on a given claim.
49
+ */
50
+ externalId?: string;
46
51
  }
@@ -48,4 +48,9 @@ export interface ServiceLineCreateOptional {
48
48
  revenueCode?: string;
49
49
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
50
50
  priorAuthorizationNumber?: string;
51
+ /**
52
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
53
+ * This field should not contain PHI. Must be unique on a given claim.
54
+ */
55
+ externalId?: string;
51
56
  }
@@ -6,4 +6,9 @@ export interface ServiceLineCreateStandalone extends CandidApi.serviceLines.v2.S
6
6
  diagnosisIdThree?: CandidApi.DiagnosisId;
7
7
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
8
8
  priorAuthorizationNumber?: string;
9
+ /**
10
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
11
+ * This field should not contain PHI. Must be unique on a given claim.
12
+ */
13
+ externalId?: string;
9
14
  }
@@ -41,4 +41,9 @@ export interface ServiceLineUpdateBase {
41
41
  note?: string;
42
42
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
43
43
  priorAuthorizationNumber?: string;
44
+ /**
45
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
46
+ * This field should not contain PHI. Must be unique on a given claim.
47
+ */
48
+ externalId?: string;
44
49
  }
@@ -2,5 +2,6 @@ export declare const TestResultType: {
2
2
  readonly Hematocrit: "HEMATOCRIT";
3
3
  readonly Hemoglobin: "HEMOGLOBIN";
4
4
  readonly Ldl: "LDL";
5
+ readonly VitaminD: "VITAMIN_D";
5
6
  };
6
7
  export type TestResultType = (typeof TestResultType)[keyof typeof TestResultType];
@@ -6,4 +6,5 @@ exports.TestResultType = {
6
6
  Hematocrit: "HEMATOCRIT",
7
7
  Hemoglobin: "HEMOGLOBIN",
8
8
  Ldl: "LDL",
9
+ VitaminD: "VITAMIN_D",
9
10
  };
@@ -9,4 +9,9 @@ export interface UniversalServiceLineCreateStandalone extends CandidApi.serviceL
9
9
  procedureCode?: string;
10
10
  /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
11
11
  priorAuthorizationNumber?: string;
12
+ /**
13
+ * An external identifier for this service line. This is not used in the EDI 837, but can be used to identify the service line in external systems.
14
+ * This field should not contain PHI. Must be unique on a given claim.
15
+ */
16
+ externalId?: string;
12
17
  }
@@ -11,5 +11,6 @@ export declare const TaskType: {
11
11
  readonly PayerConfigurationError: "PAYER_CONFIGURATION_ERROR";
12
12
  readonly DenialResolution: "DENIAL_RESOLUTION";
13
13
  readonly MissingEnrollment: "MISSING_ENROLLMENT";
14
+ readonly ChargeCaptureUpdate: "CHARGE_CAPTURE_UPDATE";
14
15
  };
15
16
  export type TaskType = (typeof TaskType)[keyof typeof TaskType];
@@ -15,4 +15,5 @@ exports.TaskType = {
15
15
  PayerConfigurationError: "PAYER_CONFIGURATION_ERROR",
16
16
  DenialResolution: "DENIAL_RESOLUTION",
17
17
  MissingEnrollment: "MISSING_ENROLLMENT",
18
+ ChargeCaptureUpdate: "CHARGE_CAPTURE_UPDATE",
18
19
  };
package/dist/Client.d.ts CHANGED
@@ -12,7 +12,6 @@ import { EncounterProviders } from "./api/resources/encounterProviders/client/Cl
12
12
  import { EncounterSupplementalInformation } from "./api/resources/encounterSupplementalInformation/client/Client";
13
13
  import { Encounters } from "./api/resources/encounters/client/Client";
14
14
  import { Events } from "./api/resources/events/client/Client";
15
- import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
16
15
  import { Exports } from "./api/resources/exports/client/Client";
17
16
  import { ExternalPaymentAccountConfig } from "./api/resources/externalPaymentAccountConfig/client/Client";
18
17
  import { FeeSchedules } from "./api/resources/feeSchedules/client/Client";
@@ -63,7 +62,6 @@ export declare class CandidApiClient {
63
62
  protected _encounterSupplementalInformation: EncounterSupplementalInformation | undefined;
64
63
  protected _encounters: Encounters | undefined;
65
64
  protected _events: Events | undefined;
66
- protected _expectedNetworkStatus: ExpectedNetworkStatus | undefined;
67
65
  protected _exports: Exports | undefined;
68
66
  protected _externalPaymentAccountConfig: ExternalPaymentAccountConfig | undefined;
69
67
  protected _feeSchedules: FeeSchedules | undefined;
@@ -103,7 +101,6 @@ export declare class CandidApiClient {
103
101
  get encounterSupplementalInformation(): EncounterSupplementalInformation;
104
102
  get encounters(): Encounters;
105
103
  get events(): Events;
106
- get expectedNetworkStatus(): ExpectedNetworkStatus;
107
104
  get exports(): Exports;
108
105
  get externalPaymentAccountConfig(): ExternalPaymentAccountConfig;
109
106
  get feeSchedules(): FeeSchedules;
package/dist/Client.js CHANGED
@@ -59,31 +59,30 @@ const Client_12 = require("./api/resources/encounterProviders/client/Client");
59
59
  const Client_13 = require("./api/resources/encounterSupplementalInformation/client/Client");
60
60
  const Client_14 = require("./api/resources/encounters/client/Client");
61
61
  const Client_15 = require("./api/resources/events/client/Client");
62
- const Client_16 = require("./api/resources/expectedNetworkStatus/client/Client");
63
- const Client_17 = require("./api/resources/exports/client/Client");
64
- const Client_18 = require("./api/resources/externalPaymentAccountConfig/client/Client");
65
- const Client_19 = require("./api/resources/feeSchedules/client/Client");
66
- const Client_20 = require("./api/resources/guarantor/client/Client");
67
- const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
68
- const Client_22 = require("./api/resources/importInvoice/client/Client");
69
- const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
70
- const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
71
- const Client_25 = require("./api/resources/medicationDispense/client/Client");
72
- const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
73
- const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
74
- const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
75
- const Client_29 = require("./api/resources/organizationProviders/client/Client");
76
- const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
77
- const Client_31 = require("./api/resources/patientAr/client/Client");
78
- const Client_32 = require("./api/resources/patientPayments/client/Client");
79
- const Client_33 = require("./api/resources/patientRefunds/client/Client");
80
- const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
81
- const Client_35 = require("./api/resources/payers/client/Client");
82
- const Client_36 = require("./api/resources/preEncounter/client/Client");
83
- const Client_37 = require("./api/resources/serviceLines/client/Client");
84
- const Client_38 = require("./api/resources/superbills/client/Client");
85
- const Client_39 = require("./api/resources/tasks/client/Client");
86
- const Client_40 = require("./api/resources/writeOffs/client/Client");
62
+ const Client_16 = require("./api/resources/exports/client/Client");
63
+ const Client_17 = require("./api/resources/externalPaymentAccountConfig/client/Client");
64
+ const Client_18 = require("./api/resources/feeSchedules/client/Client");
65
+ const Client_19 = require("./api/resources/guarantor/client/Client");
66
+ const Client_20 = require("./api/resources/healthCareCodeInformation/client/Client");
67
+ const Client_21 = require("./api/resources/importInvoice/client/Client");
68
+ const Client_22 = require("./api/resources/insuranceAdjudications/client/Client");
69
+ const Client_23 = require("./api/resources/insuranceRefunds/client/Client");
70
+ const Client_24 = require("./api/resources/medicationDispense/client/Client");
71
+ const Client_25 = require("./api/resources/nonInsurancePayerPayments/client/Client");
72
+ const Client_26 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
73
+ const Client_27 = require("./api/resources/nonInsurancePayers/client/Client");
74
+ const Client_28 = require("./api/resources/organizationProviders/client/Client");
75
+ const Client_29 = require("./api/resources/organizationServiceFacilities/client/Client");
76
+ const Client_30 = require("./api/resources/patientAr/client/Client");
77
+ const Client_31 = require("./api/resources/patientPayments/client/Client");
78
+ const Client_32 = require("./api/resources/patientRefunds/client/Client");
79
+ const Client_33 = require("./api/resources/payerPlanGroups/client/Client");
80
+ const Client_34 = require("./api/resources/payers/client/Client");
81
+ const Client_35 = require("./api/resources/preEncounter/client/Client");
82
+ const Client_36 = require("./api/resources/serviceLines/client/Client");
83
+ const Client_37 = require("./api/resources/superbills/client/Client");
84
+ const Client_38 = require("./api/resources/tasks/client/Client");
85
+ const Client_39 = require("./api/resources/writeOffs/client/Client");
87
86
  const core = __importStar(require("./core"));
88
87
  const headers_1 = require("./core/headers");
89
88
  class CandidApiClient {
@@ -91,8 +90,8 @@ class CandidApiClient {
91
90
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
92
91
  "X-Fern-Language": "JavaScript",
93
92
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "1.17.1",
95
- "User-Agent": "candidhealth/1.17.1",
93
+ "X-Fern-SDK-Version": "1.17.3",
94
+ "User-Agent": "candidhealth/1.17.3",
96
95
  "X-Fern-Runtime": core.RUNTIME.type,
97
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
98
97
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -154,105 +153,101 @@ class CandidApiClient {
154
153
  var _a;
155
154
  return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_15.Events(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
156
155
  }
157
- get expectedNetworkStatus() {
158
- var _a;
159
- return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_16.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
160
- }
161
156
  get exports() {
162
157
  var _a;
163
- return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_17.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
158
+ return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_16.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
164
159
  }
165
160
  get externalPaymentAccountConfig() {
166
161
  var _a;
167
- return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_18.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
162
+ return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_17.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
168
163
  }
169
164
  get feeSchedules() {
170
165
  var _a;
171
- return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_19.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
166
+ return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_18.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
172
167
  }
173
168
  get guarantor() {
174
169
  var _a;
175
- return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_20.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
170
+ return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_19.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
176
171
  }
177
172
  get healthCareCodeInformation() {
178
173
  var _a;
179
- return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_21.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
174
+ return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_20.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
180
175
  }
181
176
  get importInvoice() {
182
177
  var _a;
183
- return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_22.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
178
+ return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_21.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
184
179
  }
185
180
  get insuranceAdjudications() {
186
181
  var _a;
187
- return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_23.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
182
+ return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_22.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
188
183
  }
189
184
  get insuranceRefunds() {
190
185
  var _a;
191
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
186
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_23.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
192
187
  }
193
188
  get medicationDispense() {
194
189
  var _a;
195
- return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
190
+ return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_24.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
196
191
  }
197
192
  get nonInsurancePayerPayments() {
198
193
  var _a;
199
- return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
194
+ return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_25.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
200
195
  }
201
196
  get nonInsurancePayerRefunds() {
202
197
  var _a;
203
- return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
198
+ return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_26.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
204
199
  }
205
200
  get nonInsurancePayers() {
206
201
  var _a;
207
- return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
202
+ return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_27.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
208
203
  }
209
204
  get organizationProviders() {
210
205
  var _a;
211
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
206
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_28.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
212
207
  }
213
208
  get organizationServiceFacilities() {
214
209
  var _a;
215
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
210
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_29.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
216
211
  }
217
212
  get patientAr() {
218
213
  var _a;
219
- return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
214
+ return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_30.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
220
215
  }
221
216
  get patientPayments() {
222
217
  var _a;
223
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
218
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_31.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
224
219
  }
225
220
  get patientRefunds() {
226
221
  var _a;
227
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
222
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_32.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
228
223
  }
229
224
  get payerPlanGroups() {
230
225
  var _a;
231
- return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
226
+ return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_33.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
232
227
  }
233
228
  get payers() {
234
229
  var _a;
235
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
230
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_34.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
236
231
  }
237
232
  get serviceLines() {
238
233
  var _a;
239
- return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
234
+ return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_36.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
240
235
  }
241
236
  get superbills() {
242
237
  var _a;
243
- return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
238
+ return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_37.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
244
239
  }
245
240
  get tasks() {
246
241
  var _a;
247
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
242
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_38.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
248
243
  }
249
244
  get writeOffs() {
250
245
  var _a;
251
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
246
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_39.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
252
247
  }
253
248
  get preEncounter() {
254
249
  var _a;
255
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
250
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_35.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
256
251
  }
257
252
  get diagnoses() {
258
253
  var _a;
@@ -23,7 +23,6 @@ export * from "./EntityNotFoundErrorMessage";
23
23
  export * from "./EpsdtReferralConditionIndicatorCode";
24
24
  export * from "./ErrorMessage";
25
25
  export * from "./FacilityTypeCode";
26
- export * from "./HttpServiceUnavailableErrorMessage";
27
26
  export * from "./InsuranceTypeCode";
28
27
  export * from "./IntendedSubmissionMedium";
29
28
  export * from "./InternalErrorMessage";
@@ -39,7 +39,6 @@ __exportStar(require("./EntityNotFoundErrorMessage"), exports);
39
39
  __exportStar(require("./EpsdtReferralConditionIndicatorCode"), exports);
40
40
  __exportStar(require("./ErrorMessage"), exports);
41
41
  __exportStar(require("./FacilityTypeCode"), exports);
42
- __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
43
42
  __exportStar(require("./InsuranceTypeCode"), exports);
44
43
  __exportStar(require("./IntendedSubmissionMedium"), exports);
45
44
  __exportStar(require("./InternalErrorMessage"), exports);
@@ -11,35 +11,6 @@ export declare namespace V2 {
11
11
  export declare class V2 {
12
12
  protected readonly _options: V2.Options;
13
13
  constructor(_options?: V2.Options);
14
- /**
15
- * <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
16
- * For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
17
- *
18
- * This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
19
- *
20
- * - [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
21
- * - [Change Healthcare - Guides: Use "Bare Minimum" Eligibility Requests](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-bare-minimum-eligibility-requests)
22
- * - [Change Healthcare - Guides: Contents of the Eligibility Response](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-response)
23
- * - [Change Healthcare - Guides: Eligibility JSON-to-EDI API Contents](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-json-to-edi-api-contents)
24
- * - [Change Healthcare - Guides: Eligibility Error Messages](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-error-messages)
25
- * - [Change Healthcare - Guides: FAQ](https://developers.changehealthcare.com/eligibilityandclaims/docs/frequently-asked-questions)
26
- * - [Change Healthcare - Guides: Eligibility FAQs](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-api-requests)
27
- * - [Change Healthcare - Guides: Sandbox API Values and Test Responses](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-sandbox-api-values-and-test-responses)
28
- * - [Change Healthcare - Guides: Sandbox Predefined Fields and Values](https://developers.changehealthcare.com/eligibilityandclaims/docs/sandbox-predefined-fields-and-values)
29
- * - [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
30
- *
31
- * A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
32
- *
33
- * @param {unknown} request
34
- * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
35
- *
36
- * @example
37
- * await client.eligibility.v2.submitEligibilityCheck({
38
- * "key": "value"
39
- * })
40
- */
41
- submitEligibilityCheck(request?: unknown, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error>>;
42
- private __submitEligibilityCheck;
43
14
  /**
44
15
  * <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
45
16
  * For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
@@ -53,91 +53,6 @@ class V2 {
53
53
  constructor(_options = {}) {
54
54
  this._options = _options;
55
55
  }
56
- /**
57
- * <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
58
- * For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
59
- *
60
- * This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
61
- *
62
- * - [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
63
- * - [Change Healthcare - Guides: Use "Bare Minimum" Eligibility Requests](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-bare-minimum-eligibility-requests)
64
- * - [Change Healthcare - Guides: Contents of the Eligibility Response](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-response)
65
- * - [Change Healthcare - Guides: Eligibility JSON-to-EDI API Contents](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-json-to-edi-api-contents)
66
- * - [Change Healthcare - Guides: Eligibility Error Messages](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-error-messages)
67
- * - [Change Healthcare - Guides: FAQ](https://developers.changehealthcare.com/eligibilityandclaims/docs/frequently-asked-questions)
68
- * - [Change Healthcare - Guides: Eligibility FAQs](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-api-requests)
69
- * - [Change Healthcare - Guides: Sandbox API Values and Test Responses](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-sandbox-api-values-and-test-responses)
70
- * - [Change Healthcare - Guides: Sandbox Predefined Fields and Values](https://developers.changehealthcare.com/eligibilityandclaims/docs/sandbox-predefined-fields-and-values)
71
- * - [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
72
- *
73
- * A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
74
- *
75
- * @param {unknown} request
76
- * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
77
- *
78
- * @example
79
- * await client.eligibility.v2.submitEligibilityCheck({
80
- * "key": "value"
81
- * })
82
- */
83
- submitEligibilityCheck(request, requestOptions) {
84
- return core.HttpResponsePromise.fromPromise(this.__submitEligibilityCheck(request, requestOptions));
85
- }
86
- __submitEligibilityCheck(request, requestOptions) {
87
- return __awaiter(this, void 0, void 0, function* () {
88
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
89
- const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
90
- const _response = yield core.fetcher({
91
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/eligibility/v2"),
92
- method: "POST",
93
- headers: _headers,
94
- contentType: "application/json",
95
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
96
- requestType: "json",
97
- body: request,
98
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
99
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
100
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
101
- });
102
- if (_response.ok) {
103
- return {
104
- data: {
105
- ok: true,
106
- body: _response.body,
107
- headers: _response.headers,
108
- rawResponse: _response.rawResponse,
109
- },
110
- rawResponse: _response.rawResponse,
111
- };
112
- }
113
- if (_response.error.reason === "status-code") {
114
- switch ((_j = _response.error.body) === null || _j === void 0 ? void 0 : _j.errorName) {
115
- case "HttpServiceUnavailableError":
116
- return {
117
- data: {
118
- ok: false,
119
- error: serializers.eligibility.v2.submitEligibilityCheck.Error.parseOrThrow(_response.error.body, {
120
- unrecognizedObjectKeys: "passthrough",
121
- allowUnrecognizedUnionMembers: true,
122
- allowUnrecognizedEnumValues: true,
123
- breadcrumbsPrefix: ["response"],
124
- }),
125
- rawResponse: _response.rawResponse,
126
- },
127
- rawResponse: _response.rawResponse,
128
- };
129
- }
130
- }
131
- return {
132
- data: {
133
- ok: false,
134
- error: CandidApi.eligibility.v2.submitEligibilityCheck.Error._unknown(_response.error),
135
- rawResponse: _response.rawResponse,
136
- },
137
- rawResponse: _response.rawResponse,
138
- };
139
- });
140
- }
141
56
  /**
142
57
  * <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
143
58
  * For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
@@ -1,3 +1,2 @@
1
- export * as submitEligibilityCheck from "./submitEligibilityCheck";
2
1
  export * as submitEligibilityCheckAvaility from "./submitEligibilityCheckAvaility";
3
2
  export * as submitEligibilityCheckAvailityPost from "./submitEligibilityCheckAvailityPost";
@@ -33,7 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.submitEligibilityCheckAvailityPost = exports.submitEligibilityCheckAvaility = exports.submitEligibilityCheck = void 0;
37
- exports.submitEligibilityCheck = __importStar(require("./submitEligibilityCheck"));
36
+ exports.submitEligibilityCheckAvailityPost = exports.submitEligibilityCheckAvaility = void 0;
38
37
  exports.submitEligibilityCheckAvaility = __importStar(require("./submitEligibilityCheckAvaility"));
39
38
  exports.submitEligibilityCheckAvailityPost = __importStar(require("./submitEligibilityCheckAvailityPost"));