candidhealth 0.34.0 → 0.34.2

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 (858) hide show
  1. package/Client.d.ts +0 -9
  2. package/Client.js +6 -21
  3. package/README.md +1 -1
  4. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  5. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  6. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  9. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  10. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
  11. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +13 -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/client/Client.d.ts +130 -6
  15. package/api/resources/encounters/resources/v4/client/Client.js +137 -11
  16. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  17. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  18. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -8
  19. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +3 -2
  20. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +170 -1
  21. package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  22. package/api/resources/encounters/resources/v4/client/update.js +11 -0
  23. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -2
  24. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  25. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +6 -0
  26. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  27. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  28. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  29. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  30. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  31. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  32. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  33. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  34. package/api/resources/guarantor/resources/v1/client/Client.js +4 -4
  35. package/api/resources/guarantor/resources/v1/client/index.d.ts +0 -1
  36. package/api/resources/guarantor/resources/v1/client/index.js +0 -4
  37. package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +17 -0
  38. package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  39. package/api/resources/guarantor/resources/v1/types/index.js +1 -0
  40. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  41. package/api/resources/index.d.ts +0 -4
  42. package/api/resources/index.js +1 -5
  43. package/api/resources/individual/types/PatientUpdate.d.ts +21 -0
  44. package/api/resources/individual/types/index.d.ts +1 -0
  45. package/api/resources/individual/types/index.js +1 -0
  46. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  47. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  50. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  51. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  52. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  53. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  54. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  55. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  56. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  57. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  58. package/api/resources/payers/resources/v3/types/Payer.d.ts +13 -1
  59. package/api/resources/payers/resources/v3/types/PayerPage.d.ts +5 -1
  60. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +72 -0
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +77 -5
  62. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
  63. package/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +9 -0
  64. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  65. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  66. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +46 -8
  67. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +54 -16
  68. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +12 -0
  69. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +14 -0
  70. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +11 -0
  71. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +9 -0
  72. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +11 -0
  73. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +9 -0
  74. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +11 -0
  75. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +1 -0
  76. package/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +12 -0
  77. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
  78. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +2 -0
  79. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +2 -0
  80. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
  81. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
  82. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  83. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +272 -66
  84. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +280 -74
  85. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +136 -33
  86. package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +15 -0
  87. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +7 -0
  88. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +9 -0
  89. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  90. package/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +10 -0
  91. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  92. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  93. package/api/resources/serviceFacility/client/Client.d.ts +2 -3
  94. package/api/resources/serviceFacility/client/Client.js +3 -4
  95. package/api/resources/serviceFacility/client/index.d.ts +0 -1
  96. package/api/resources/serviceFacility/client/index.js +0 -4
  97. package/api/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +3 -8
  98. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  99. package/api/resources/serviceFacility/types/index.js +1 -0
  100. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  101. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  102. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  103. package/dist/Client.d.ts +0 -9
  104. package/dist/Client.js +6 -21
  105. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  106. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  107. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  108. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  109. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  110. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  111. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
  112. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +13 -0
  113. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  114. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  115. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +130 -6
  116. package/dist/api/resources/encounters/resources/v4/client/Client.js +137 -11
  117. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  118. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  119. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -8
  120. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +3 -2
  121. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +170 -1
  122. package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  123. package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
  124. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -2
  125. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  126. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +6 -0
  127. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  128. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  129. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  130. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  131. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  132. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  133. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  134. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  135. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/guarantor/resources/v1/client/index.d.ts +0 -1
  137. package/dist/api/resources/guarantor/resources/v1/client/index.js +0 -4
  138. package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +17 -0
  139. package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  140. package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
  141. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  142. package/dist/api/resources/index.d.ts +0 -4
  143. package/dist/api/resources/index.js +1 -5
  144. package/dist/api/resources/individual/types/PatientUpdate.d.ts +21 -0
  145. package/dist/api/resources/individual/types/index.d.ts +1 -0
  146. package/dist/api/resources/individual/types/index.js +1 -0
  147. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  148. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  149. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  150. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  151. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  152. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  153. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  154. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  155. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  156. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  157. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  158. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  159. package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +13 -1
  160. package/dist/api/resources/payers/resources/v3/types/PayerPage.d.ts +5 -1
  161. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +72 -0
  162. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +77 -5
  163. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
  164. package/dist/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +9 -0
  165. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  166. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  167. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +46 -8
  168. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +54 -16
  169. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +12 -0
  170. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +14 -0
  171. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +11 -0
  172. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +9 -0
  173. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +11 -0
  174. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +9 -0
  175. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +11 -0
  176. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +1 -0
  177. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +12 -0
  178. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
  179. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +2 -0
  180. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +2 -0
  181. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
  182. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
  183. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  184. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +272 -66
  185. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +280 -74
  186. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +136 -33
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +15 -0
  188. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +7 -0
  189. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +9 -0
  190. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  191. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +10 -0
  192. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  193. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  194. package/dist/api/resources/serviceFacility/client/Client.d.ts +2 -3
  195. package/dist/api/resources/serviceFacility/client/Client.js +3 -4
  196. package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
  197. package/dist/api/resources/serviceFacility/client/index.js +0 -4
  198. package/dist/api/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +3 -8
  199. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  200. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  201. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  202. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  203. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  204. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
  205. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +1 -1
  206. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +16 -0
  207. package/dist/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +8 -6
  208. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  209. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  210. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  211. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  212. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
  213. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
  214. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  215. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  216. package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  217. package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  218. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
  219. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
  220. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  221. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  222. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +12 -0
  223. package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +3 -3
  224. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  225. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  226. package/dist/serialization/resources/guarantor/resources/v1/client/index.d.ts +0 -1
  227. package/dist/serialization/resources/guarantor/resources/v1/client/index.js +0 -4
  228. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +23 -0
  229. package/dist/serialization/resources/guarantor/resources/v1/{client/requests → types}/GuarantorUpdate.js +4 -4
  230. package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  231. package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
  232. package/dist/serialization/resources/index.d.ts +0 -4
  233. package/dist/serialization/resources/index.js +1 -5
  234. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +27 -0
  235. package/dist/serialization/resources/individual/types/PatientUpdate.js +48 -0
  236. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  237. package/dist/serialization/resources/individual/types/index.js +1 -0
  238. package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +4 -0
  239. package/dist/serialization/resources/payers/resources/v3/types/Payer.js +4 -0
  240. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
  241. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +2 -0
  242. package/dist/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +15 -0
  243. package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js → preEncounter/resources/common/types/AdditionalPayerInformation.js} +6 -8
  244. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  245. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  246. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +10 -0
  247. package/dist/serialization/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js → preEncounter/resources/coverages/resources/v1/types/BenefitType.js} +10 -3
  248. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +19 -0
  249. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js +40 -0
  250. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +10 -0
  251. package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js → preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js} +3 -3
  252. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +10 -0
  253. package/{serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js → dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js} +3 -3
  254. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  255. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  256. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +15 -0
  257. package/dist/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js → preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +7 -6
  258. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
  259. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +2 -0
  260. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +3 -0
  261. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +3 -0
  262. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +3 -0
  263. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +3 -0
  264. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
  265. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
  266. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +24 -0
  267. package/dist/serialization/resources/{thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js → preEncounter/resources/patients/resources/v1/types/Authorization.js} +16 -8
  268. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +10 -0
  269. package/{serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js → dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js} +3 -3
  270. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
  271. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
  272. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +17 -0
  273. package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js → preEncounter/resources/patients/resources/v1/types/Referral.js} +9 -6
  274. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  275. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  276. package/dist/serialization/resources/serviceFacility/index.d.ts +0 -1
  277. package/dist/serialization/resources/serviceFacility/index.js +0 -1
  278. package/dist/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +5 -5
  279. package/dist/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.js +2 -2
  280. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  281. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  282. package/package.json +1 -1
  283. package/reference.md +589 -1153
  284. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
  285. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +1 -1
  286. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +16 -0
  287. package/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +8 -6
  288. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  289. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  290. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  291. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  292. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
  293. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
  294. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  295. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  296. package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  297. package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  298. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
  299. package/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
  300. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  301. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  302. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +12 -0
  303. package/serialization/resources/{thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +3 -3
  304. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  305. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  306. package/serialization/resources/guarantor/resources/v1/client/index.d.ts +0 -1
  307. package/serialization/resources/guarantor/resources/v1/client/index.js +0 -4
  308. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +23 -0
  309. package/serialization/resources/guarantor/resources/v1/{client/requests → types}/GuarantorUpdate.js +4 -4
  310. package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  311. package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
  312. package/serialization/resources/index.d.ts +0 -4
  313. package/serialization/resources/index.js +1 -5
  314. package/serialization/resources/individual/types/PatientUpdate.d.ts +27 -0
  315. package/serialization/resources/individual/types/PatientUpdate.js +48 -0
  316. package/serialization/resources/individual/types/index.d.ts +1 -0
  317. package/serialization/resources/individual/types/index.js +1 -0
  318. package/serialization/resources/payers/resources/v3/types/Payer.d.ts +4 -0
  319. package/serialization/resources/payers/resources/v3/types/Payer.js +4 -0
  320. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
  321. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +2 -0
  322. package/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +15 -0
  323. package/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.js +36 -0
  324. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  325. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  326. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +10 -0
  327. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +38 -0
  328. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +19 -0
  329. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js +40 -0
  330. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +10 -0
  331. package/{dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js → serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js} +3 -3
  332. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +10 -0
  333. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +31 -0
  334. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  335. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  336. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +15 -0
  337. package/{dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js → serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +7 -6
  338. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
  339. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +2 -0
  340. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +3 -0
  341. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +3 -0
  342. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +3 -0
  343. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +3 -0
  344. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
  345. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
  346. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +24 -0
  347. package/{dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js → serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js} +16 -13
  348. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +10 -0
  349. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +31 -0
  350. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
  351. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
  352. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +17 -0
  353. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.js +38 -0
  354. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  355. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  356. package/serialization/resources/serviceFacility/index.d.ts +0 -1
  357. package/serialization/resources/serviceFacility/index.js +0 -1
  358. package/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +5 -5
  359. package/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.js +2 -2
  360. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  361. package/serialization/resources/serviceFacility/types/index.js +1 -0
  362. package/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -44
  363. package/api/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
  364. package/api/resources/guarantor/resources/v1/client/requests/index.js +0 -2
  365. package/api/resources/serviceFacility/client/requests/index.d.ts +0 -1
  366. package/api/resources/serviceFacility/client/requests/index.js +0 -2
  367. package/api/resources/thirdPartyPayerPayments/client/Client.d.ts +0 -26
  368. package/api/resources/thirdPartyPayerPayments/client/Client.js +0 -17
  369. package/api/resources/thirdPartyPayerPayments/client/index.d.ts +0 -1
  370. package/api/resources/thirdPartyPayerPayments/client/index.js +0 -2
  371. package/api/resources/thirdPartyPayerPayments/index.d.ts +0 -2
  372. package/api/resources/thirdPartyPayerPayments/index.js +0 -18
  373. package/api/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
  374. package/api/resources/thirdPartyPayerPayments/resources/index.js +0 -27
  375. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +0 -104
  376. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +0 -428
  377. package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -34
  378. package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -69
  379. package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -34
  380. package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -69
  381. package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -28
  382. package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -58
  383. package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -28
  384. package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -58
  385. package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
  386. package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
  387. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +0 -34
  388. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -23
  389. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -2
  390. package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -2
  391. package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -34
  392. package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -69
  393. package/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
  394. package/api/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
  395. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -14
  396. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -13
  397. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -8
  398. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -10
  399. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -8
  400. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -10
  401. package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -7
  402. package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
  403. package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
  404. package/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +0 -26
  405. package/api/resources/thirdPartyPayerRefunds/client/Client.js +0 -17
  406. package/api/resources/thirdPartyPayerRefunds/client/index.d.ts +0 -1
  407. package/api/resources/thirdPartyPayerRefunds/client/index.js +0 -2
  408. package/api/resources/thirdPartyPayerRefunds/index.d.ts +0 -2
  409. package/api/resources/thirdPartyPayerRefunds/index.js +0 -18
  410. package/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
  411. package/api/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
  412. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +0 -115
  413. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +0 -439
  414. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -34
  415. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -69
  416. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -34
  417. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -69
  418. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -28
  419. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -58
  420. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -28
  421. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -58
  422. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
  423. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
  424. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +0 -34
  425. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -28
  426. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -2
  427. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -2
  428. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -34
  429. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -69
  430. package/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
  431. package/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
  432. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -14
  433. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -13
  434. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -8
  435. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -10
  436. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -8
  437. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +0 -10
  438. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -7
  439. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
  440. package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
  441. package/api/resources/thirdPartyPayers/client/Client.d.ts +0 -26
  442. package/api/resources/thirdPartyPayers/client/Client.js +0 -17
  443. package/api/resources/thirdPartyPayers/client/index.d.ts +0 -1
  444. package/api/resources/thirdPartyPayers/client/index.js +0 -2
  445. package/api/resources/thirdPartyPayers/index.d.ts +0 -2
  446. package/api/resources/thirdPartyPayers/index.js +0 -18
  447. package/api/resources/thirdPartyPayers/resources/index.d.ts +0 -1
  448. package/api/resources/thirdPartyPayers/resources/index.js +0 -27
  449. package/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +0 -97
  450. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +0 -469
  451. package/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -34
  452. package/api/resources/thirdPartyPayers/resources/v1/client/create.js +0 -69
  453. package/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -28
  454. package/api/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -58
  455. package/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -28
  456. package/api/resources/thirdPartyPayers/resources/v1/client/get.js +0 -58
  457. package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -28
  458. package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -58
  459. package/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -7
  460. package/api/resources/thirdPartyPayers/resources/v1/client/index.js +0 -36
  461. package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +0 -28
  462. package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +0 -1
  463. package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +0 -2
  464. package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -28
  465. package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -58
  466. package/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -34
  467. package/api/resources/thirdPartyPayers/resources/v1/client/update.js +0 -69
  468. package/api/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
  469. package/api/resources/thirdPartyPayers/resources/v1/index.js +0 -18
  470. package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -11
  471. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -11
  472. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
  473. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
  474. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -8
  475. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -10
  476. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -7
  477. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
  478. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +0 -12
  479. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -10
  480. package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -5
  481. package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -6
  482. package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +0 -5
  483. package/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
  484. package/api/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
  485. package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -44
  486. package/dist/api/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
  487. package/dist/api/resources/guarantor/resources/v1/client/requests/index.js +0 -2
  488. package/dist/api/resources/serviceFacility/client/requests/index.d.ts +0 -1
  489. package/dist/api/resources/serviceFacility/client/requests/index.js +0 -2
  490. package/dist/api/resources/thirdPartyPayerPayments/client/Client.d.ts +0 -26
  491. package/dist/api/resources/thirdPartyPayerPayments/client/Client.js +0 -17
  492. package/dist/api/resources/thirdPartyPayerPayments/client/index.d.ts +0 -1
  493. package/dist/api/resources/thirdPartyPayerPayments/client/index.js +0 -2
  494. package/dist/api/resources/thirdPartyPayerPayments/index.d.ts +0 -2
  495. package/dist/api/resources/thirdPartyPayerPayments/index.js +0 -18
  496. package/dist/api/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
  497. package/dist/api/resources/thirdPartyPayerPayments/resources/index.js +0 -27
  498. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +0 -104
  499. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +0 -428
  500. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -34
  501. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -69
  502. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -34
  503. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -69
  504. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -28
  505. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -58
  506. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -28
  507. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -58
  508. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
  509. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
  510. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +0 -34
  511. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +0 -5
  512. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -23
  513. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +0 -5
  514. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -2
  515. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -2
  516. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -34
  517. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -69
  518. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
  519. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
  520. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -14
  521. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -5
  522. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -13
  523. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +0 -5
  524. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -8
  525. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -10
  526. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -8
  527. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -10
  528. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -7
  529. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -5
  530. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
  531. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
  532. package/dist/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +0 -26
  533. package/dist/api/resources/thirdPartyPayerRefunds/client/Client.js +0 -17
  534. package/dist/api/resources/thirdPartyPayerRefunds/client/index.d.ts +0 -1
  535. package/dist/api/resources/thirdPartyPayerRefunds/client/index.js +0 -2
  536. package/dist/api/resources/thirdPartyPayerRefunds/index.d.ts +0 -2
  537. package/dist/api/resources/thirdPartyPayerRefunds/index.js +0 -18
  538. package/dist/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
  539. package/dist/api/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
  540. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +0 -115
  541. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +0 -439
  542. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -34
  543. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -69
  544. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -34
  545. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -69
  546. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -28
  547. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -58
  548. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -28
  549. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -58
  550. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
  551. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
  552. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +0 -34
  553. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +0 -5
  554. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -28
  555. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -5
  556. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -2
  557. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -2
  558. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -34
  559. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -69
  560. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
  561. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
  562. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -14
  563. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -5
  564. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -13
  565. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -5
  566. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -8
  567. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -10
  568. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -8
  569. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +0 -10
  570. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -7
  571. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +0 -5
  572. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
  573. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
  574. package/dist/api/resources/thirdPartyPayers/client/Client.d.ts +0 -26
  575. package/dist/api/resources/thirdPartyPayers/client/Client.js +0 -17
  576. package/dist/api/resources/thirdPartyPayers/client/index.d.ts +0 -1
  577. package/dist/api/resources/thirdPartyPayers/client/index.js +0 -2
  578. package/dist/api/resources/thirdPartyPayers/index.d.ts +0 -2
  579. package/dist/api/resources/thirdPartyPayers/index.js +0 -18
  580. package/dist/api/resources/thirdPartyPayers/resources/index.d.ts +0 -1
  581. package/dist/api/resources/thirdPartyPayers/resources/index.js +0 -27
  582. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +0 -97
  583. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +0 -469
  584. package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -34
  585. package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.js +0 -69
  586. package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -28
  587. package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -58
  588. package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -28
  589. package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.js +0 -58
  590. package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -28
  591. package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -58
  592. package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -7
  593. package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.js +0 -36
  594. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +0 -28
  595. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +0 -5
  596. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +0 -1
  597. package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +0 -2
  598. package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -28
  599. package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -58
  600. package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -34
  601. package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.js +0 -69
  602. package/dist/api/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
  603. package/dist/api/resources/thirdPartyPayers/resources/v1/index.js +0 -18
  604. package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -11
  605. package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +0 -5
  606. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -11
  607. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +0 -5
  608. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
  609. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -5
  610. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
  611. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -5
  612. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -8
  613. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -10
  614. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -7
  615. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -5
  616. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
  617. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +0 -12
  618. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -10
  619. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -5
  620. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -6
  621. package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +0 -5
  622. package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
  623. package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
  624. package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -23
  625. package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
  626. package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.js +0 -5
  627. package/dist/serialization/resources/serviceFacility/client/index.d.ts +0 -1
  628. package/dist/serialization/resources/serviceFacility/client/index.js +0 -17
  629. package/dist/serialization/resources/serviceFacility/client/requests/index.d.ts +0 -1
  630. package/dist/serialization/resources/serviceFacility/client/requests/index.js +0 -5
  631. package/dist/serialization/resources/thirdPartyPayerPayments/index.d.ts +0 -1
  632. package/dist/serialization/resources/thirdPartyPayerPayments/index.js +0 -17
  633. package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
  634. package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.js +0 -27
  635. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -20
  636. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -67
  637. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -20
  638. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -67
  639. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -15
  640. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -61
  641. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -15
  642. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -61
  643. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
  644. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
  645. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -16
  646. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -1
  647. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -5
  648. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -20
  649. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -67
  650. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
  651. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
  652. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -23
  653. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -44
  654. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -21
  655. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -10
  656. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -10
  657. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -14
  658. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -37
  659. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
  660. package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
  661. package/dist/serialization/resources/thirdPartyPayerRefunds/index.d.ts +0 -1
  662. package/dist/serialization/resources/thirdPartyPayerRefunds/index.js +0 -17
  663. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
  664. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
  665. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -20
  666. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -67
  667. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -20
  668. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -67
  669. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -15
  670. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -61
  671. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -15
  672. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -61
  673. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
  674. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
  675. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -18
  676. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -39
  677. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -1
  678. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -5
  679. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -20
  680. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -67
  681. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
  682. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
  683. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -24
  684. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -45
  685. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -22
  686. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -43
  687. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -10
  688. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -10
  689. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -14
  690. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
  691. package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
  692. package/dist/serialization/resources/thirdPartyPayers/index.d.ts +0 -1
  693. package/dist/serialization/resources/thirdPartyPayers/index.js +0 -17
  694. package/dist/serialization/resources/thirdPartyPayers/resources/index.d.ts +0 -1
  695. package/dist/serialization/resources/thirdPartyPayers/resources/index.js +0 -27
  696. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -20
  697. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +0 -67
  698. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -15
  699. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -61
  700. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -15
  701. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +0 -61
  702. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -15
  703. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -61
  704. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -6
  705. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +0 -32
  706. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -15
  707. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -61
  708. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -20
  709. package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +0 -67
  710. package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
  711. package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.js +0 -18
  712. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -14
  713. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -17
  714. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
  715. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -41
  716. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
  717. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -41
  718. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -10
  719. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -35
  720. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -14
  721. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -37
  722. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
  723. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -16
  724. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -37
  725. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -12
  726. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
  727. package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
  728. package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -23
  729. package/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
  730. package/serialization/resources/guarantor/resources/v1/client/requests/index.js +0 -5
  731. package/serialization/resources/serviceFacility/client/index.d.ts +0 -1
  732. package/serialization/resources/serviceFacility/client/index.js +0 -17
  733. package/serialization/resources/serviceFacility/client/requests/index.d.ts +0 -1
  734. package/serialization/resources/serviceFacility/client/requests/index.js +0 -5
  735. package/serialization/resources/thirdPartyPayerPayments/index.d.ts +0 -1
  736. package/serialization/resources/thirdPartyPayerPayments/index.js +0 -17
  737. package/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
  738. package/serialization/resources/thirdPartyPayerPayments/resources/index.js +0 -27
  739. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -20
  740. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -67
  741. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -20
  742. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -67
  743. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -15
  744. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -61
  745. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -15
  746. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -61
  747. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
  748. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
  749. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -16
  750. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +0 -37
  751. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -1
  752. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -5
  753. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -20
  754. package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -67
  755. package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
  756. package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
  757. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -23
  758. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -44
  759. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -21
  760. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +0 -42
  761. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -10
  762. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -35
  763. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -10
  764. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -31
  765. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -14
  766. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -37
  767. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
  768. package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
  769. package/serialization/resources/thirdPartyPayerRefunds/index.d.ts +0 -1
  770. package/serialization/resources/thirdPartyPayerRefunds/index.js +0 -17
  771. package/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
  772. package/serialization/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
  773. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -20
  774. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -67
  775. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -20
  776. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -67
  777. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -15
  778. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -61
  779. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -15
  780. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -61
  781. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
  782. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
  783. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -18
  784. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -39
  785. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -1
  786. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -5
  787. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -20
  788. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -67
  789. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
  790. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
  791. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -24
  792. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -45
  793. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -22
  794. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -43
  795. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -10
  796. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -35
  797. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -10
  798. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -14
  799. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
  800. package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
  801. package/serialization/resources/thirdPartyPayers/index.d.ts +0 -1
  802. package/serialization/resources/thirdPartyPayers/index.js +0 -17
  803. package/serialization/resources/thirdPartyPayers/resources/index.d.ts +0 -1
  804. package/serialization/resources/thirdPartyPayers/resources/index.js +0 -27
  805. package/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -20
  806. package/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +0 -67
  807. package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -15
  808. package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -61
  809. package/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -15
  810. package/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +0 -61
  811. package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -15
  812. package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -61
  813. package/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -6
  814. package/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +0 -32
  815. package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -15
  816. package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -61
  817. package/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -20
  818. package/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +0 -67
  819. package/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
  820. package/serialization/resources/thirdPartyPayers/resources/v1/index.js +0 -18
  821. package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -14
  822. package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +0 -35
  823. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -17
  824. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +0 -38
  825. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
  826. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -41
  827. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
  828. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -41
  829. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -10
  830. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -35
  831. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -14
  832. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -37
  833. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
  834. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -16
  835. package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -37
  836. package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -12
  837. package/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
  838. package/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
  839. /package/api/resources/{guarantor/resources/v1/client/requests/GuarantorUpdate.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +0 -0
  840. /package/api/resources/{serviceFacility/client/requests/EncounterServiceFacilityUpdate.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +0 -0
  841. /package/{dist/api/resources/guarantor/resources/v1/client/requests → api/resources/guarantor/resources/v1/types}/GuarantorUpdate.js +0 -0
  842. /package/api/resources/{thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js → individual/types/PatientUpdate.js} +0 -0
  843. /package/api/resources/{thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js → preEncounter/resources/common/types/AdditionalPayerInformation.js} +0 -0
  844. /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js → preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js} +0 -0
  845. /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js → preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +0 -0
  846. /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js → preEncounter/resources/patients/resources/v1/types/Authorization.js} +0 -0
  847. /package/api/resources/{thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js → preEncounter/resources/patients/resources/v1/types/Referral.js} +0 -0
  848. /package/{dist/api/resources/serviceFacility/client/requests → api/resources/serviceFacility/types}/EncounterServiceFacilityUpdate.js +0 -0
  849. /package/{api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js → dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +0 -0
  850. /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js → dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +0 -0
  851. /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js → dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.js} +0 -0
  852. /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → dist/api/resources/individual/types/PatientUpdate.js} +0 -0
  853. /package/{api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js → dist/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.js} +0 -0
  854. /package/{api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js → dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js} +0 -0
  855. /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js → dist/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +0 -0
  856. /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js} +0 -0
  857. /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.js} +0 -0
  858. /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js → dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js} +0 -0
@@ -1,469 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.V1 = void 0;
42
- const environments = __importStar(require("../../../../../../environments"));
43
- const core = __importStar(require("../../../../../../core"));
44
- const CandidApi = __importStar(require("../../../../../index"));
45
- const serializers = __importStar(require("../../../../../../serialization/index"));
46
- const url_join_1 = __importDefault(require("url-join"));
47
- class V1 {
48
- constructor(_options = {}) {
49
- this._options = _options;
50
- }
51
- /**
52
- * @param {CandidApi.thirdPartyPayers.v1.CreateThirdPartyPayerRequest} request
53
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
54
- *
55
- * @example
56
- * await client.thirdPartyPayers.v1.create({
57
- * name: "string",
58
- * description: "string",
59
- * category: "string"
60
- * })
61
- */
62
- create(request, requestOptions) {
63
- var _a, _b;
64
- return __awaiter(this, void 0, void 0, function* () {
65
- const _response = yield core.fetcher({
66
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
67
- .candidApi, "/api/third-party-payers/v1"),
68
- method: "POST",
69
- headers: {
70
- Authorization: yield this._getAuthorizationHeader(),
71
- "X-Fern-Language": "JavaScript",
72
- "X-Fern-SDK-Name": "candidhealth",
73
- "X-Fern-SDK-Version": "0.34.0",
74
- "X-Fern-Runtime": core.RUNTIME.type,
75
- "X-Fern-Runtime-Version": core.RUNTIME.version,
76
- },
77
- contentType: "application/json",
78
- requestType: "json",
79
- body: serializers.thirdPartyPayers.v1.CreateThirdPartyPayerRequest.jsonOrThrow(request, {
80
- unrecognizedObjectKeys: "strip",
81
- }),
82
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
- });
86
- if (_response.ok) {
87
- return {
88
- ok: true,
89
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
90
- unrecognizedObjectKeys: "passthrough",
91
- allowUnrecognizedUnionMembers: true,
92
- allowUnrecognizedEnumValues: true,
93
- breadcrumbsPrefix: ["response"],
94
- }),
95
- };
96
- }
97
- if (_response.error.reason === "status-code") {
98
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
99
- case "EntityNotFoundError":
100
- case "EntityConflictError":
101
- return {
102
- ok: false,
103
- error: serializers.thirdPartyPayers.v1.create.Error.parseOrThrow(_response.error.body, {
104
- unrecognizedObjectKeys: "passthrough",
105
- allowUnrecognizedUnionMembers: true,
106
- allowUnrecognizedEnumValues: true,
107
- breadcrumbsPrefix: ["response"],
108
- }),
109
- };
110
- }
111
- }
112
- return {
113
- ok: false,
114
- error: CandidApi.thirdPartyPayers.v1.create.Error._unknown(_response.error),
115
- };
116
- });
117
- }
118
- /**
119
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
120
- * @param {CandidApi.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest} request
121
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
122
- *
123
- * @example
124
- * await client.thirdPartyPayers.v1.toggleEnablement(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
125
- * enabled: true
126
- * })
127
- */
128
- toggleEnablement(thirdPartyPayerId, request, requestOptions) {
129
- var _a, _b;
130
- return __awaiter(this, void 0, void 0, function* () {
131
- const _response = yield core.fetcher({
132
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
133
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}/toggle_enablement`),
134
- method: "PATCH",
135
- headers: {
136
- Authorization: yield this._getAuthorizationHeader(),
137
- "X-Fern-Language": "JavaScript",
138
- "X-Fern-SDK-Name": "candidhealth",
139
- "X-Fern-SDK-Version": "0.34.0",
140
- "X-Fern-Runtime": core.RUNTIME.type,
141
- "X-Fern-Runtime-Version": core.RUNTIME.version,
142
- },
143
- contentType: "application/json",
144
- requestType: "json",
145
- body: serializers.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest.jsonOrThrow(request, {
146
- unrecognizedObjectKeys: "strip",
147
- }),
148
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
149
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
150
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
151
- });
152
- if (_response.ok) {
153
- return {
154
- ok: true,
155
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
156
- unrecognizedObjectKeys: "passthrough",
157
- allowUnrecognizedUnionMembers: true,
158
- allowUnrecognizedEnumValues: true,
159
- breadcrumbsPrefix: ["response"],
160
- }),
161
- };
162
- }
163
- if (_response.error.reason === "status-code") {
164
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
165
- case "EntityNotFoundError":
166
- return {
167
- ok: false,
168
- error: serializers.thirdPartyPayers.v1.toggleEnablement.Error.parseOrThrow(_response.error.body, {
169
- unrecognizedObjectKeys: "passthrough",
170
- allowUnrecognizedUnionMembers: true,
171
- allowUnrecognizedEnumValues: true,
172
- breadcrumbsPrefix: ["response"],
173
- }),
174
- };
175
- }
176
- }
177
- return {
178
- ok: false,
179
- error: CandidApi.thirdPartyPayers.v1.toggleEnablement.Error._unknown(_response.error),
180
- };
181
- });
182
- }
183
- /**
184
- * @param {CandidApi.thirdPartyPayers.v1.GetMultiThirdPartyPayersRequest} request
185
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
186
- *
187
- * @example
188
- * await client.thirdPartyPayers.v1.getMulti({
189
- * name: "string",
190
- * category: "string",
191
- * enabled: true,
192
- * sort: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerSortField.Name,
193
- * sortDirection: CandidApi.SortDirection.Asc,
194
- * limit: 1,
195
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
196
- * })
197
- */
198
- getMulti(request = {}, requestOptions) {
199
- var _a, _b;
200
- return __awaiter(this, void 0, void 0, function* () {
201
- const { name, category, enabled, sort, sortDirection, limit, pageToken } = request;
202
- const _queryParams = {};
203
- if (name != null) {
204
- _queryParams["name"] = name;
205
- }
206
- if (category != null) {
207
- _queryParams["category"] = category;
208
- }
209
- if (enabled != null) {
210
- _queryParams["enabled"] = enabled.toString();
211
- }
212
- if (sort != null) {
213
- _queryParams["sort"] = sort;
214
- }
215
- if (sortDirection != null) {
216
- _queryParams["sort_direction"] = sortDirection;
217
- }
218
- if (limit != null) {
219
- _queryParams["limit"] = limit.toString();
220
- }
221
- if (pageToken != null) {
222
- _queryParams["page_token"] = pageToken;
223
- }
224
- const _response = yield core.fetcher({
225
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
226
- .candidApi, "/api/third-party-payers/v1"),
227
- method: "GET",
228
- headers: {
229
- Authorization: yield this._getAuthorizationHeader(),
230
- "X-Fern-Language": "JavaScript",
231
- "X-Fern-SDK-Name": "candidhealth",
232
- "X-Fern-SDK-Version": "0.34.0",
233
- "X-Fern-Runtime": core.RUNTIME.type,
234
- "X-Fern-Runtime-Version": core.RUNTIME.version,
235
- },
236
- contentType: "application/json",
237
- queryParameters: _queryParams,
238
- requestType: "json",
239
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
240
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
241
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
242
- });
243
- if (_response.ok) {
244
- return {
245
- ok: true,
246
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayerPage.parseOrThrow(_response.body, {
247
- unrecognizedObjectKeys: "passthrough",
248
- allowUnrecognizedUnionMembers: true,
249
- allowUnrecognizedEnumValues: true,
250
- breadcrumbsPrefix: ["response"],
251
- }),
252
- };
253
- }
254
- if (_response.error.reason === "status-code") {
255
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
256
- case "UnprocessableEntityError":
257
- return {
258
- ok: false,
259
- error: serializers.thirdPartyPayers.v1.getMulti.Error.parseOrThrow(_response.error.body, {
260
- unrecognizedObjectKeys: "passthrough",
261
- allowUnrecognizedUnionMembers: true,
262
- allowUnrecognizedEnumValues: true,
263
- breadcrumbsPrefix: ["response"],
264
- }),
265
- };
266
- }
267
- }
268
- return {
269
- ok: false,
270
- error: CandidApi.thirdPartyPayers.v1.getMulti.Error._unknown(_response.error),
271
- };
272
- });
273
- }
274
- /**
275
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
276
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
277
- *
278
- * @example
279
- * await client.thirdPartyPayers.v1.get(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
280
- */
281
- get(thirdPartyPayerId, requestOptions) {
282
- var _a, _b;
283
- return __awaiter(this, void 0, void 0, function* () {
284
- const _response = yield core.fetcher({
285
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
286
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
287
- method: "GET",
288
- headers: {
289
- Authorization: yield this._getAuthorizationHeader(),
290
- "X-Fern-Language": "JavaScript",
291
- "X-Fern-SDK-Name": "candidhealth",
292
- "X-Fern-SDK-Version": "0.34.0",
293
- "X-Fern-Runtime": core.RUNTIME.type,
294
- "X-Fern-Runtime-Version": core.RUNTIME.version,
295
- },
296
- contentType: "application/json",
297
- requestType: "json",
298
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
300
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
301
- });
302
- if (_response.ok) {
303
- return {
304
- ok: true,
305
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
306
- unrecognizedObjectKeys: "passthrough",
307
- allowUnrecognizedUnionMembers: true,
308
- allowUnrecognizedEnumValues: true,
309
- breadcrumbsPrefix: ["response"],
310
- }),
311
- };
312
- }
313
- if (_response.error.reason === "status-code") {
314
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
315
- case "EntityNotFoundError":
316
- return {
317
- ok: false,
318
- error: serializers.thirdPartyPayers.v1.get.Error.parseOrThrow(_response.error.body, {
319
- unrecognizedObjectKeys: "passthrough",
320
- allowUnrecognizedUnionMembers: true,
321
- allowUnrecognizedEnumValues: true,
322
- breadcrumbsPrefix: ["response"],
323
- }),
324
- };
325
- }
326
- }
327
- return {
328
- ok: false,
329
- error: CandidApi.thirdPartyPayers.v1.get.Error._unknown(_response.error),
330
- };
331
- });
332
- }
333
- /**
334
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
335
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest} request
336
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
337
- *
338
- * @example
339
- * await client.thirdPartyPayers.v1.update(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
340
- * name: "string",
341
- * description: {
342
- * type: "remove"
343
- * },
344
- * category: {
345
- * type: "remove"
346
- * }
347
- * })
348
- */
349
- update(thirdPartyPayerId, request, requestOptions) {
350
- var _a, _b;
351
- return __awaiter(this, void 0, void 0, function* () {
352
- const _response = yield core.fetcher({
353
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
354
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
355
- method: "PATCH",
356
- headers: {
357
- Authorization: yield this._getAuthorizationHeader(),
358
- "X-Fern-Language": "JavaScript",
359
- "X-Fern-SDK-Name": "candidhealth",
360
- "X-Fern-SDK-Version": "0.34.0",
361
- "X-Fern-Runtime": core.RUNTIME.type,
362
- "X-Fern-Runtime-Version": core.RUNTIME.version,
363
- },
364
- contentType: "application/json",
365
- requestType: "json",
366
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest.jsonOrThrow(request, {
367
- unrecognizedObjectKeys: "strip",
368
- }),
369
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
370
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
371
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
372
- });
373
- if (_response.ok) {
374
- return {
375
- ok: true,
376
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
377
- unrecognizedObjectKeys: "passthrough",
378
- allowUnrecognizedUnionMembers: true,
379
- allowUnrecognizedEnumValues: true,
380
- breadcrumbsPrefix: ["response"],
381
- }),
382
- };
383
- }
384
- if (_response.error.reason === "status-code") {
385
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
386
- case "EntityNotFoundError":
387
- case "EntityConflictError":
388
- return {
389
- ok: false,
390
- error: serializers.thirdPartyPayers.v1.update.Error.parseOrThrow(_response.error.body, {
391
- unrecognizedObjectKeys: "passthrough",
392
- allowUnrecognizedUnionMembers: true,
393
- allowUnrecognizedEnumValues: true,
394
- breadcrumbsPrefix: ["response"],
395
- }),
396
- };
397
- }
398
- }
399
- return {
400
- ok: false,
401
- error: CandidApi.thirdPartyPayers.v1.update.Error._unknown(_response.error),
402
- };
403
- });
404
- }
405
- /**
406
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
407
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
408
- *
409
- * @example
410
- * await client.thirdPartyPayers.v1.delete(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
411
- */
412
- delete(thirdPartyPayerId, requestOptions) {
413
- var _a, _b;
414
- return __awaiter(this, void 0, void 0, function* () {
415
- const _response = yield core.fetcher({
416
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
417
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
418
- method: "DELETE",
419
- headers: {
420
- Authorization: yield this._getAuthorizationHeader(),
421
- "X-Fern-Language": "JavaScript",
422
- "X-Fern-SDK-Name": "candidhealth",
423
- "X-Fern-SDK-Version": "0.34.0",
424
- "X-Fern-Runtime": core.RUNTIME.type,
425
- "X-Fern-Runtime-Version": core.RUNTIME.version,
426
- },
427
- contentType: "application/json",
428
- requestType: "json",
429
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
430
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
431
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
432
- });
433
- if (_response.ok) {
434
- return {
435
- ok: true,
436
- body: undefined,
437
- };
438
- }
439
- if (_response.error.reason === "status-code") {
440
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
441
- case "EntityNotFoundError":
442
- return {
443
- ok: false,
444
- error: serializers.thirdPartyPayers.v1.delete.Error.parseOrThrow(_response.error.body, {
445
- unrecognizedObjectKeys: "passthrough",
446
- allowUnrecognizedUnionMembers: true,
447
- allowUnrecognizedEnumValues: true,
448
- breadcrumbsPrefix: ["response"],
449
- }),
450
- };
451
- }
452
- }
453
- return {
454
- ok: false,
455
- error: CandidApi.thirdPartyPayers.v1.delete.Error._unknown(_response.error),
456
- };
457
- });
458
- }
459
- _getAuthorizationHeader() {
460
- return __awaiter(this, void 0, void 0, function* () {
461
- const bearer = yield core.Supplier.get(this._options.token);
462
- if (bearer != null) {
463
- return `Bearer ${bearer}`;
464
- }
465
- return undefined;
466
- });
467
- }
468
- }
469
- exports.V1 = V1;
@@ -1,34 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError | CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError | CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface EntityConflictError extends _Utils {
13
- errorName: "EntityConflictError";
14
- content: CandidApi.EntityConflictErrorMessage;
15
- }
16
- interface _Unknown extends _Utils {
17
- errorName: void;
18
- content: core.Fetcher.Error;
19
- }
20
- interface _Utils {
21
- _visit: <_Result>(visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
22
- }
23
- interface _Visitor<_Result> {
24
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
- entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
26
- _other: (value: core.Fetcher.Error) => _Result;
27
- }
28
- }
29
- export declare const Error: {
30
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError;
31
- readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError;
32
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
33
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayers.v1.create.Error, visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
34
- };
@@ -1,69 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Error = void 0;
30
- const CandidApi = __importStar(require("../../../../../index"));
31
- exports.Error = {
32
- entityNotFoundError: (value) => {
33
- return {
34
- content: value,
35
- errorName: "EntityNotFoundError",
36
- _visit: function (visitor) {
37
- return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
38
- },
39
- };
40
- },
41
- entityConflictError: (value) => {
42
- return {
43
- content: value,
44
- errorName: "EntityConflictError",
45
- _visit: function (visitor) {
46
- return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
47
- },
48
- };
49
- },
50
- _unknown: (fetcherError) => {
51
- return {
52
- errorName: undefined,
53
- content: fetcherError,
54
- _visit: function (visitor) {
55
- return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
56
- },
57
- };
58
- },
59
- _visit: (value, visitor) => {
60
- switch (value.errorName) {
61
- case "EntityNotFoundError":
62
- return visitor.entityNotFoundError(value.content);
63
- case "EntityConflictError":
64
- return visitor.entityConflictError(value.content);
65
- default:
66
- return visitor._other(value);
67
- }
68
- },
69
- };
@@ -1,28 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.thirdPartyPayers.v1.delete.Error.EntityNotFoundError | CandidApi.thirdPartyPayers.v1.delete.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface _Unknown extends _Utils {
13
- errorName: void;
14
- content: core.Fetcher.Error;
15
- }
16
- interface _Utils {
17
- _visit: <_Result>(visitor: CandidApi.thirdPartyPayers.v1.delete.Error._Visitor<_Result>) => _Result;
18
- }
19
- interface _Visitor<_Result> {
20
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
21
- _other: (value: core.Fetcher.Error) => _Result;
22
- }
23
- }
24
- export declare const Error: {
25
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayers.v1.delete.Error.EntityNotFoundError;
26
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayers.v1.delete.Error._Unknown;
27
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayers.v1.delete.Error, visitor: CandidApi.thirdPartyPayers.v1.delete.Error._Visitor<_Result>) => _Result;
28
- };
@@ -1,58 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Error = void 0;
30
- const CandidApi = __importStar(require("../../../../../index"));
31
- exports.Error = {
32
- entityNotFoundError: (value) => {
33
- return {
34
- content: value,
35
- errorName: "EntityNotFoundError",
36
- _visit: function (visitor) {
37
- return CandidApi.thirdPartyPayers.v1.delete.Error._visit(this, visitor);
38
- },
39
- };
40
- },
41
- _unknown: (fetcherError) => {
42
- return {
43
- errorName: undefined,
44
- content: fetcherError,
45
- _visit: function (visitor) {
46
- return CandidApi.thirdPartyPayers.v1.delete.Error._visit(this, visitor);
47
- },
48
- };
49
- },
50
- _visit: (value, visitor) => {
51
- switch (value.errorName) {
52
- case "EntityNotFoundError":
53
- return visitor.entityNotFoundError(value.content);
54
- default:
55
- return visitor._other(value);
56
- }
57
- },
58
- };