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,428 +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 url_join_1 = __importDefault(require("url-join"));
46
- const serializers = __importStar(require("../../../../../../serialization/index"));
47
- class V1 {
48
- constructor(_options = {}) {
49
- this._options = _options;
50
- }
51
- /**
52
- * Returns all third party payer payments
53
- *
54
- * @param {CandidApi.thirdPartyPayerPayments.v1.GetMultiThirdPartyPayerPaymentRequest} request
55
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
56
- *
57
- * @example
58
- * await client.thirdPartyPayerPayments.v1.getMulti({
59
- * limit: 1,
60
- * thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
61
- * checkNumber: "string",
62
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
63
- * sort: CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentSortField.AmountCents,
64
- * sortDirection: CandidApi.SortDirection.Asc,
65
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
66
- * })
67
- */
68
- getMulti(request = {}, requestOptions) {
69
- var _a, _b;
70
- return __awaiter(this, void 0, void 0, function* () {
71
- const { limit, thirdPartyPayerId, checkNumber, invoiceId, sort, sortDirection, pageToken } = request;
72
- const _queryParams = {};
73
- if (limit != null) {
74
- _queryParams["limit"] = limit.toString();
75
- }
76
- if (thirdPartyPayerId != null) {
77
- _queryParams["third_party_payer_id"] = thirdPartyPayerId;
78
- }
79
- if (checkNumber != null) {
80
- if (Array.isArray(checkNumber)) {
81
- _queryParams["check_number"] = checkNumber.map((item) => item);
82
- }
83
- else {
84
- _queryParams["check_number"] = checkNumber;
85
- }
86
- }
87
- if (invoiceId != null) {
88
- _queryParams["invoice_id"] = invoiceId;
89
- }
90
- if (sort != null) {
91
- _queryParams["sort"] = sort;
92
- }
93
- if (sortDirection != null) {
94
- _queryParams["sort_direction"] = sortDirection;
95
- }
96
- if (pageToken != null) {
97
- _queryParams["page_token"] = pageToken;
98
- }
99
- const _response = yield core.fetcher({
100
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
101
- .candidApi, "/api/third-party-payer-payments/v1"),
102
- method: "GET",
103
- headers: {
104
- Authorization: yield this._getAuthorizationHeader(),
105
- "X-Fern-Language": "JavaScript",
106
- "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.34.0",
108
- "X-Fern-Runtime": core.RUNTIME.type,
109
- "X-Fern-Runtime-Version": core.RUNTIME.version,
110
- },
111
- contentType: "application/json",
112
- queryParameters: _queryParams,
113
- requestType: "json",
114
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
115
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
116
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
117
- });
118
- if (_response.ok) {
119
- return {
120
- ok: true,
121
- body: serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentsPage.parseOrThrow(_response.body, {
122
- unrecognizedObjectKeys: "passthrough",
123
- allowUnrecognizedUnionMembers: true,
124
- allowUnrecognizedEnumValues: true,
125
- breadcrumbsPrefix: ["response"],
126
- }),
127
- };
128
- }
129
- if (_response.error.reason === "status-code") {
130
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
131
- case "UnprocessableEntityError":
132
- return {
133
- ok: false,
134
- error: serializers.thirdPartyPayerPayments.v1.getMulti.Error.parseOrThrow(_response.error.body, {
135
- unrecognizedObjectKeys: "passthrough",
136
- allowUnrecognizedUnionMembers: true,
137
- allowUnrecognizedEnumValues: true,
138
- breadcrumbsPrefix: ["response"],
139
- }),
140
- };
141
- }
142
- }
143
- return {
144
- ok: false,
145
- error: CandidApi.thirdPartyPayerPayments.v1.getMulti.Error._unknown(_response.error),
146
- };
147
- });
148
- }
149
- /**
150
- * Retrieves a previously created third party payer payment by its `third_party_payer_payment_id`.
151
- *
152
- * @param {CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId} thirdPartyPayerPaymentId
153
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
154
- *
155
- * @example
156
- * await client.thirdPartyPayerPayments.v1.get(CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
157
- */
158
- get(thirdPartyPayerPaymentId, requestOptions) {
159
- var _a, _b;
160
- return __awaiter(this, void 0, void 0, function* () {
161
- const _response = yield core.fetcher({
162
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
163
- .candidApi, `/api/third-party-payer-payments/v1/${encodeURIComponent(serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId.jsonOrThrow(thirdPartyPayerPaymentId))}`),
164
- method: "GET",
165
- headers: {
166
- Authorization: yield this._getAuthorizationHeader(),
167
- "X-Fern-Language": "JavaScript",
168
- "X-Fern-SDK-Name": "candidhealth",
169
- "X-Fern-SDK-Version": "0.34.0",
170
- "X-Fern-Runtime": core.RUNTIME.type,
171
- "X-Fern-Runtime-Version": core.RUNTIME.version,
172
- },
173
- contentType: "application/json",
174
- requestType: "json",
175
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
176
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
177
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
178
- });
179
- if (_response.ok) {
180
- return {
181
- ok: true,
182
- body: serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPayment.parseOrThrow(_response.body, {
183
- unrecognizedObjectKeys: "passthrough",
184
- allowUnrecognizedUnionMembers: true,
185
- allowUnrecognizedEnumValues: true,
186
- breadcrumbsPrefix: ["response"],
187
- }),
188
- };
189
- }
190
- if (_response.error.reason === "status-code") {
191
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
192
- case "EntityNotFoundError":
193
- return {
194
- ok: false,
195
- error: serializers.thirdPartyPayerPayments.v1.get.Error.parseOrThrow(_response.error.body, {
196
- unrecognizedObjectKeys: "passthrough",
197
- allowUnrecognizedUnionMembers: true,
198
- allowUnrecognizedEnumValues: true,
199
- breadcrumbsPrefix: ["response"],
200
- }),
201
- };
202
- }
203
- }
204
- return {
205
- ok: false,
206
- error: CandidApi.thirdPartyPayerPayments.v1.get.Error._unknown(_response.error),
207
- };
208
- });
209
- }
210
- /**
211
- * @param {CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentCreate} request
212
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
213
- *
214
- * @example
215
- * await client.thirdPartyPayerPayments.v1.create({
216
- * thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
217
- * amountCents: 1,
218
- * paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
219
- * paymentNote: "string",
220
- * checkNumber: "string",
221
- * allocations: [{
222
- * amountCents: 1,
223
- * target: {
224
- * type: "service_line_by_id",
225
- * value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
226
- * }
227
- * }],
228
- * invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
229
- * })
230
- */
231
- create(request, requestOptions) {
232
- var _a, _b;
233
- return __awaiter(this, void 0, void 0, function* () {
234
- const _response = yield core.fetcher({
235
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
236
- .candidApi, "/api/third-party-payer-payments/v1"),
237
- method: "POST",
238
- headers: {
239
- Authorization: yield this._getAuthorizationHeader(),
240
- "X-Fern-Language": "JavaScript",
241
- "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.34.0",
243
- "X-Fern-Runtime": core.RUNTIME.type,
244
- "X-Fern-Runtime-Version": core.RUNTIME.version,
245
- },
246
- contentType: "application/json",
247
- requestType: "json",
248
- body: serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentCreate.jsonOrThrow(request, {
249
- unrecognizedObjectKeys: "strip",
250
- }),
251
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
252
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
253
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
254
- });
255
- if (_response.ok) {
256
- return {
257
- ok: true,
258
- body: serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPayment.parseOrThrow(_response.body, {
259
- unrecognizedObjectKeys: "passthrough",
260
- allowUnrecognizedUnionMembers: true,
261
- allowUnrecognizedEnumValues: true,
262
- breadcrumbsPrefix: ["response"],
263
- }),
264
- };
265
- }
266
- if (_response.error.reason === "status-code") {
267
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
268
- case "EntityNotFoundError":
269
- case "UnprocessableEntityError":
270
- return {
271
- ok: false,
272
- error: serializers.thirdPartyPayerPayments.v1.create.Error.parseOrThrow(_response.error.body, {
273
- unrecognizedObjectKeys: "passthrough",
274
- allowUnrecognizedUnionMembers: true,
275
- allowUnrecognizedEnumValues: true,
276
- breadcrumbsPrefix: ["response"],
277
- }),
278
- };
279
- }
280
- }
281
- return {
282
- ok: false,
283
- error: CandidApi.thirdPartyPayerPayments.v1.create.Error._unknown(_response.error),
284
- };
285
- });
286
- }
287
- /**
288
- * @param {CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId} thirdPartyPayerPaymentId
289
- * @param {CandidApi.thirdPartyPayerPayments.v1.UpdateThirdPartyPayerPaymentRequest} request
290
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
291
- *
292
- * @example
293
- * await client.thirdPartyPayerPayments.v1.update(CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
294
- * paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
295
- * paymentNote: {
296
- * type: "set",
297
- * value: "string"
298
- * },
299
- * invoiceId: {
300
- * type: "set",
301
- * value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
302
- * }
303
- * })
304
- */
305
- update(thirdPartyPayerPaymentId, request = {}, requestOptions) {
306
- var _a, _b;
307
- return __awaiter(this, void 0, void 0, function* () {
308
- const _response = yield core.fetcher({
309
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
310
- .candidApi, `/api/third-party-payer-payments/v1/${encodeURIComponent(serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId.jsonOrThrow(thirdPartyPayerPaymentId))}`),
311
- method: "PATCH",
312
- headers: {
313
- Authorization: yield this._getAuthorizationHeader(),
314
- "X-Fern-Language": "JavaScript",
315
- "X-Fern-SDK-Name": "candidhealth",
316
- "X-Fern-SDK-Version": "0.34.0",
317
- "X-Fern-Runtime": core.RUNTIME.type,
318
- "X-Fern-Runtime-Version": core.RUNTIME.version,
319
- },
320
- contentType: "application/json",
321
- requestType: "json",
322
- body: serializers.thirdPartyPayerPayments.v1.UpdateThirdPartyPayerPaymentRequest.jsonOrThrow(request, {
323
- unrecognizedObjectKeys: "strip",
324
- }),
325
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
326
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
327
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
328
- });
329
- if (_response.ok) {
330
- return {
331
- ok: true,
332
- body: serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPayment.parseOrThrow(_response.body, {
333
- unrecognizedObjectKeys: "passthrough",
334
- allowUnrecognizedUnionMembers: true,
335
- allowUnrecognizedEnumValues: true,
336
- breadcrumbsPrefix: ["response"],
337
- }),
338
- };
339
- }
340
- if (_response.error.reason === "status-code") {
341
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
342
- case "EntityNotFoundError":
343
- case "UnprocessableEntityError":
344
- return {
345
- ok: false,
346
- error: serializers.thirdPartyPayerPayments.v1.update.Error.parseOrThrow(_response.error.body, {
347
- unrecognizedObjectKeys: "passthrough",
348
- allowUnrecognizedUnionMembers: true,
349
- allowUnrecognizedEnumValues: true,
350
- breadcrumbsPrefix: ["response"],
351
- }),
352
- };
353
- }
354
- }
355
- return {
356
- ok: false,
357
- error: CandidApi.thirdPartyPayerPayments.v1.update.Error._unknown(_response.error),
358
- };
359
- });
360
- }
361
- /**
362
- * Deletes the third party payer payment record matching the provided `third_party_payer_payment_id`.
363
- *
364
- * @param {CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId} thirdPartyPayerPaymentId
365
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
366
- *
367
- * @example
368
- * await client.thirdPartyPayerPayments.v1.delete(CandidApi.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
369
- */
370
- delete(thirdPartyPayerPaymentId, requestOptions) {
371
- var _a, _b;
372
- return __awaiter(this, void 0, void 0, function* () {
373
- const _response = yield core.fetcher({
374
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
375
- .candidApi, `/api/third-party-payer-payments/v1/${encodeURIComponent(serializers.thirdPartyPayerPayments.v1.ThirdPartyPayerPaymentId.jsonOrThrow(thirdPartyPayerPaymentId))}`),
376
- method: "DELETE",
377
- headers: {
378
- Authorization: yield this._getAuthorizationHeader(),
379
- "X-Fern-Language": "JavaScript",
380
- "X-Fern-SDK-Name": "candidhealth",
381
- "X-Fern-SDK-Version": "0.34.0",
382
- "X-Fern-Runtime": core.RUNTIME.type,
383
- "X-Fern-Runtime-Version": core.RUNTIME.version,
384
- },
385
- contentType: "application/json",
386
- requestType: "json",
387
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
388
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
389
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
390
- });
391
- if (_response.ok) {
392
- return {
393
- ok: true,
394
- body: undefined,
395
- };
396
- }
397
- if (_response.error.reason === "status-code") {
398
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
399
- case "EntityNotFoundError":
400
- case "UnprocessableEntityError":
401
- return {
402
- ok: false,
403
- error: serializers.thirdPartyPayerPayments.v1.delete.Error.parseOrThrow(_response.error.body, {
404
- unrecognizedObjectKeys: "passthrough",
405
- allowUnrecognizedUnionMembers: true,
406
- allowUnrecognizedEnumValues: true,
407
- breadcrumbsPrefix: ["response"],
408
- }),
409
- };
410
- }
411
- }
412
- return {
413
- ok: false,
414
- error: CandidApi.thirdPartyPayerPayments.v1.delete.Error._unknown(_response.error),
415
- };
416
- });
417
- }
418
- _getAuthorizationHeader() {
419
- return __awaiter(this, void 0, void 0, function* () {
420
- const bearer = yield core.Supplier.get(this._options.token);
421
- if (bearer != null) {
422
- return `Bearer ${bearer}`;
423
- }
424
- return undefined;
425
- });
426
- }
427
- }
428
- 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.thirdPartyPayerPayments.v1.create.Error.EntityNotFoundError | CandidApi.thirdPartyPayerPayments.v1.create.Error.UnprocessableEntityError | CandidApi.thirdPartyPayerPayments.v1.create.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface UnprocessableEntityError extends _Utils {
13
- errorName: "UnprocessableEntityError";
14
- content: CandidApi.UnprocessableEntityErrorMessage;
15
- }
16
- interface _Unknown extends _Utils {
17
- errorName: void;
18
- content: core.Fetcher.Error;
19
- }
20
- interface _Utils {
21
- _visit: <_Result>(visitor: CandidApi.thirdPartyPayerPayments.v1.create.Error._Visitor<_Result>) => _Result;
22
- }
23
- interface _Visitor<_Result> {
24
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
26
- _other: (value: core.Fetcher.Error) => _Result;
27
- }
28
- }
29
- export declare const Error: {
30
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayerPayments.v1.create.Error.EntityNotFoundError;
31
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.thirdPartyPayerPayments.v1.create.Error.UnprocessableEntityError;
32
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayerPayments.v1.create.Error._Unknown;
33
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayerPayments.v1.create.Error, visitor: CandidApi.thirdPartyPayerPayments.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.thirdPartyPayerPayments.v1.create.Error._visit(this, visitor);
38
- },
39
- };
40
- },
41
- unprocessableEntityError: (value) => {
42
- return {
43
- content: value,
44
- errorName: "UnprocessableEntityError",
45
- _visit: function (visitor) {
46
- return CandidApi.thirdPartyPayerPayments.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.thirdPartyPayerPayments.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 "UnprocessableEntityError":
64
- return visitor.unprocessableEntityError(value.content);
65
- default:
66
- return visitor._other(value);
67
- }
68
- },
69
- };
@@ -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.thirdPartyPayerPayments.v1.delete.Error.EntityNotFoundError | CandidApi.thirdPartyPayerPayments.v1.delete.Error.UnprocessableEntityError | CandidApi.thirdPartyPayerPayments.v1.delete.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface UnprocessableEntityError extends _Utils {
13
- errorName: "UnprocessableEntityError";
14
- content: CandidApi.UnprocessableEntityErrorMessage;
15
- }
16
- interface _Unknown extends _Utils {
17
- errorName: void;
18
- content: core.Fetcher.Error;
19
- }
20
- interface _Utils {
21
- _visit: <_Result>(visitor: CandidApi.thirdPartyPayerPayments.v1.delete.Error._Visitor<_Result>) => _Result;
22
- }
23
- interface _Visitor<_Result> {
24
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
26
- _other: (value: core.Fetcher.Error) => _Result;
27
- }
28
- }
29
- export declare const Error: {
30
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayerPayments.v1.delete.Error.EntityNotFoundError;
31
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.thirdPartyPayerPayments.v1.delete.Error.UnprocessableEntityError;
32
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayerPayments.v1.delete.Error._Unknown;
33
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayerPayments.v1.delete.Error, visitor: CandidApi.thirdPartyPayerPayments.v1.delete.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.thirdPartyPayerPayments.v1.delete.Error._visit(this, visitor);
38
- },
39
- };
40
- },
41
- unprocessableEntityError: (value) => {
42
- return {
43
- content: value,
44
- errorName: "UnprocessableEntityError",
45
- _visit: function (visitor) {
46
- return CandidApi.thirdPartyPayerPayments.v1.delete.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.thirdPartyPayerPayments.v1.delete.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 "UnprocessableEntityError":
64
- return visitor.unprocessableEntityError(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.thirdPartyPayerPayments.v1.get.Error.EntityNotFoundError | CandidApi.thirdPartyPayerPayments.v1.get.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.thirdPartyPayerPayments.v1.get.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.thirdPartyPayerPayments.v1.get.Error.EntityNotFoundError;
26
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayerPayments.v1.get.Error._Unknown;
27
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayerPayments.v1.get.Error, visitor: CandidApi.thirdPartyPayerPayments.v1.get.Error._Visitor<_Result>) => _Result;
28
- };