candidhealth 0.34.1 → 0.34.3

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