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,27 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v1 = void 0;
27
- exports.v1 = __importStar(require("./v1"));
@@ -1,97 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../environments";
5
- import * as core from "../../../../../../core";
6
- import * as CandidApi from "../../../../../index";
7
- export declare namespace V1 {
8
- interface Options {
9
- environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
- token?: core.Supplier<core.BearerToken | undefined>;
11
- }
12
- interface RequestOptions {
13
- /** The maximum time to wait for a response in seconds. */
14
- timeoutInSeconds?: number;
15
- /** The number of times to retry the request. Defaults to 2. */
16
- maxRetries?: number;
17
- /** A hook to abort the request. */
18
- abortSignal?: AbortSignal;
19
- }
20
- }
21
- export declare class V1 {
22
- protected readonly _options: V1.Options;
23
- constructor(_options?: V1.Options);
24
- /**
25
- * @param {CandidApi.thirdPartyPayers.v1.CreateThirdPartyPayerRequest} request
26
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
27
- *
28
- * @example
29
- * await client.thirdPartyPayers.v1.create({
30
- * name: "string",
31
- * description: "string",
32
- * category: "string"
33
- * })
34
- */
35
- create(request: CandidApi.thirdPartyPayers.v1.CreateThirdPartyPayerRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.thirdPartyPayers.v1.ThirdPartyPayer, CandidApi.thirdPartyPayers.v1.create.Error>>;
36
- /**
37
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
38
- * @param {CandidApi.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest} request
39
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
40
- *
41
- * @example
42
- * await client.thirdPartyPayers.v1.toggleEnablement(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
43
- * enabled: true
44
- * })
45
- */
46
- toggleEnablement(thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId, request: CandidApi.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.thirdPartyPayers.v1.ThirdPartyPayer, CandidApi.thirdPartyPayers.v1.toggleEnablement.Error>>;
47
- /**
48
- * @param {CandidApi.thirdPartyPayers.v1.GetMultiThirdPartyPayersRequest} request
49
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
50
- *
51
- * @example
52
- * await client.thirdPartyPayers.v1.getMulti({
53
- * name: "string",
54
- * category: "string",
55
- * enabled: true,
56
- * sort: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerSortField.Name,
57
- * sortDirection: CandidApi.SortDirection.Asc,
58
- * limit: 1,
59
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
60
- * })
61
- */
62
- getMulti(request?: CandidApi.thirdPartyPayers.v1.GetMultiThirdPartyPayersRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.thirdPartyPayers.v1.ThirdPartyPayerPage, CandidApi.thirdPartyPayers.v1.getMulti.Error>>;
63
- /**
64
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
65
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
66
- *
67
- * @example
68
- * await client.thirdPartyPayers.v1.get(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
69
- */
70
- get(thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.thirdPartyPayers.v1.ThirdPartyPayer, CandidApi.thirdPartyPayers.v1.get.Error>>;
71
- /**
72
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
73
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest} request
74
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
75
- *
76
- * @example
77
- * await client.thirdPartyPayers.v1.update(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
78
- * name: "string",
79
- * description: {
80
- * type: "remove"
81
- * },
82
- * category: {
83
- * type: "remove"
84
- * }
85
- * })
86
- */
87
- update(thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId, request: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.thirdPartyPayers.v1.ThirdPartyPayer, CandidApi.thirdPartyPayers.v1.update.Error>>;
88
- /**
89
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
90
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
91
- *
92
- * @example
93
- * await client.thirdPartyPayers.v1.delete(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
94
- */
95
- delete(thirdPartyPayerId: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.thirdPartyPayers.v1.delete.Error>>;
96
- protected _getAuthorizationHeader(): Promise<string | undefined>;
97
- }
@@ -1,469 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.V1 = void 0;
42
- const environments = __importStar(require("../../../../../../environments"));
43
- const core = __importStar(require("../../../../../../core"));
44
- const CandidApi = __importStar(require("../../../../../index"));
45
- const serializers = __importStar(require("../../../../../../serialization/index"));
46
- const url_join_1 = __importDefault(require("url-join"));
47
- class V1 {
48
- constructor(_options = {}) {
49
- this._options = _options;
50
- }
51
- /**
52
- * @param {CandidApi.thirdPartyPayers.v1.CreateThirdPartyPayerRequest} request
53
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
54
- *
55
- * @example
56
- * await client.thirdPartyPayers.v1.create({
57
- * name: "string",
58
- * description: "string",
59
- * category: "string"
60
- * })
61
- */
62
- create(request, requestOptions) {
63
- var _a, _b;
64
- return __awaiter(this, void 0, void 0, function* () {
65
- const _response = yield core.fetcher({
66
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
67
- .candidApi, "/api/third-party-payers/v1"),
68
- method: "POST",
69
- headers: {
70
- Authorization: yield this._getAuthorizationHeader(),
71
- "X-Fern-Language": "JavaScript",
72
- "X-Fern-SDK-Name": "candidhealth",
73
- "X-Fern-SDK-Version": "0.34.1",
74
- "X-Fern-Runtime": core.RUNTIME.type,
75
- "X-Fern-Runtime-Version": core.RUNTIME.version,
76
- },
77
- contentType: "application/json",
78
- requestType: "json",
79
- body: serializers.thirdPartyPayers.v1.CreateThirdPartyPayerRequest.jsonOrThrow(request, {
80
- unrecognizedObjectKeys: "strip",
81
- }),
82
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
- });
86
- if (_response.ok) {
87
- return {
88
- ok: true,
89
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
90
- unrecognizedObjectKeys: "passthrough",
91
- allowUnrecognizedUnionMembers: true,
92
- allowUnrecognizedEnumValues: true,
93
- breadcrumbsPrefix: ["response"],
94
- }),
95
- };
96
- }
97
- if (_response.error.reason === "status-code") {
98
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
99
- case "EntityNotFoundError":
100
- case "EntityConflictError":
101
- return {
102
- ok: false,
103
- error: serializers.thirdPartyPayers.v1.create.Error.parseOrThrow(_response.error.body, {
104
- unrecognizedObjectKeys: "passthrough",
105
- allowUnrecognizedUnionMembers: true,
106
- allowUnrecognizedEnumValues: true,
107
- breadcrumbsPrefix: ["response"],
108
- }),
109
- };
110
- }
111
- }
112
- return {
113
- ok: false,
114
- error: CandidApi.thirdPartyPayers.v1.create.Error._unknown(_response.error),
115
- };
116
- });
117
- }
118
- /**
119
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
120
- * @param {CandidApi.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest} request
121
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
122
- *
123
- * @example
124
- * await client.thirdPartyPayers.v1.toggleEnablement(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
125
- * enabled: true
126
- * })
127
- */
128
- toggleEnablement(thirdPartyPayerId, request, requestOptions) {
129
- var _a, _b;
130
- return __awaiter(this, void 0, void 0, function* () {
131
- const _response = yield core.fetcher({
132
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
133
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}/toggle_enablement`),
134
- method: "PATCH",
135
- headers: {
136
- Authorization: yield this._getAuthorizationHeader(),
137
- "X-Fern-Language": "JavaScript",
138
- "X-Fern-SDK-Name": "candidhealth",
139
- "X-Fern-SDK-Version": "0.34.1",
140
- "X-Fern-Runtime": core.RUNTIME.type,
141
- "X-Fern-Runtime-Version": core.RUNTIME.version,
142
- },
143
- contentType: "application/json",
144
- requestType: "json",
145
- body: serializers.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest.jsonOrThrow(request, {
146
- unrecognizedObjectKeys: "strip",
147
- }),
148
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
149
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
150
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
151
- });
152
- if (_response.ok) {
153
- return {
154
- ok: true,
155
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
156
- unrecognizedObjectKeys: "passthrough",
157
- allowUnrecognizedUnionMembers: true,
158
- allowUnrecognizedEnumValues: true,
159
- breadcrumbsPrefix: ["response"],
160
- }),
161
- };
162
- }
163
- if (_response.error.reason === "status-code") {
164
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
165
- case "EntityNotFoundError":
166
- return {
167
- ok: false,
168
- error: serializers.thirdPartyPayers.v1.toggleEnablement.Error.parseOrThrow(_response.error.body, {
169
- unrecognizedObjectKeys: "passthrough",
170
- allowUnrecognizedUnionMembers: true,
171
- allowUnrecognizedEnumValues: true,
172
- breadcrumbsPrefix: ["response"],
173
- }),
174
- };
175
- }
176
- }
177
- return {
178
- ok: false,
179
- error: CandidApi.thirdPartyPayers.v1.toggleEnablement.Error._unknown(_response.error),
180
- };
181
- });
182
- }
183
- /**
184
- * @param {CandidApi.thirdPartyPayers.v1.GetMultiThirdPartyPayersRequest} request
185
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
186
- *
187
- * @example
188
- * await client.thirdPartyPayers.v1.getMulti({
189
- * name: "string",
190
- * category: "string",
191
- * enabled: true,
192
- * sort: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerSortField.Name,
193
- * sortDirection: CandidApi.SortDirection.Asc,
194
- * limit: 1,
195
- * pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
196
- * })
197
- */
198
- getMulti(request = {}, requestOptions) {
199
- var _a, _b;
200
- return __awaiter(this, void 0, void 0, function* () {
201
- const { name, category, enabled, sort, sortDirection, limit, pageToken } = request;
202
- const _queryParams = {};
203
- if (name != null) {
204
- _queryParams["name"] = name;
205
- }
206
- if (category != null) {
207
- _queryParams["category"] = category;
208
- }
209
- if (enabled != null) {
210
- _queryParams["enabled"] = enabled.toString();
211
- }
212
- if (sort != null) {
213
- _queryParams["sort"] = sort;
214
- }
215
- if (sortDirection != null) {
216
- _queryParams["sort_direction"] = sortDirection;
217
- }
218
- if (limit != null) {
219
- _queryParams["limit"] = limit.toString();
220
- }
221
- if (pageToken != null) {
222
- _queryParams["page_token"] = pageToken;
223
- }
224
- const _response = yield core.fetcher({
225
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
226
- .candidApi, "/api/third-party-payers/v1"),
227
- method: "GET",
228
- headers: {
229
- Authorization: yield this._getAuthorizationHeader(),
230
- "X-Fern-Language": "JavaScript",
231
- "X-Fern-SDK-Name": "candidhealth",
232
- "X-Fern-SDK-Version": "0.34.1",
233
- "X-Fern-Runtime": core.RUNTIME.type,
234
- "X-Fern-Runtime-Version": core.RUNTIME.version,
235
- },
236
- contentType: "application/json",
237
- queryParameters: _queryParams,
238
- requestType: "json",
239
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
240
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
241
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
242
- });
243
- if (_response.ok) {
244
- return {
245
- ok: true,
246
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayerPage.parseOrThrow(_response.body, {
247
- unrecognizedObjectKeys: "passthrough",
248
- allowUnrecognizedUnionMembers: true,
249
- allowUnrecognizedEnumValues: true,
250
- breadcrumbsPrefix: ["response"],
251
- }),
252
- };
253
- }
254
- if (_response.error.reason === "status-code") {
255
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
256
- case "UnprocessableEntityError":
257
- return {
258
- ok: false,
259
- error: serializers.thirdPartyPayers.v1.getMulti.Error.parseOrThrow(_response.error.body, {
260
- unrecognizedObjectKeys: "passthrough",
261
- allowUnrecognizedUnionMembers: true,
262
- allowUnrecognizedEnumValues: true,
263
- breadcrumbsPrefix: ["response"],
264
- }),
265
- };
266
- }
267
- }
268
- return {
269
- ok: false,
270
- error: CandidApi.thirdPartyPayers.v1.getMulti.Error._unknown(_response.error),
271
- };
272
- });
273
- }
274
- /**
275
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
276
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
277
- *
278
- * @example
279
- * await client.thirdPartyPayers.v1.get(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
280
- */
281
- get(thirdPartyPayerId, requestOptions) {
282
- var _a, _b;
283
- return __awaiter(this, void 0, void 0, function* () {
284
- const _response = yield core.fetcher({
285
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
286
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
287
- method: "GET",
288
- headers: {
289
- Authorization: yield this._getAuthorizationHeader(),
290
- "X-Fern-Language": "JavaScript",
291
- "X-Fern-SDK-Name": "candidhealth",
292
- "X-Fern-SDK-Version": "0.34.1",
293
- "X-Fern-Runtime": core.RUNTIME.type,
294
- "X-Fern-Runtime-Version": core.RUNTIME.version,
295
- },
296
- contentType: "application/json",
297
- requestType: "json",
298
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
300
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
301
- });
302
- if (_response.ok) {
303
- return {
304
- ok: true,
305
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
306
- unrecognizedObjectKeys: "passthrough",
307
- allowUnrecognizedUnionMembers: true,
308
- allowUnrecognizedEnumValues: true,
309
- breadcrumbsPrefix: ["response"],
310
- }),
311
- };
312
- }
313
- if (_response.error.reason === "status-code") {
314
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
315
- case "EntityNotFoundError":
316
- return {
317
- ok: false,
318
- error: serializers.thirdPartyPayers.v1.get.Error.parseOrThrow(_response.error.body, {
319
- unrecognizedObjectKeys: "passthrough",
320
- allowUnrecognizedUnionMembers: true,
321
- allowUnrecognizedEnumValues: true,
322
- breadcrumbsPrefix: ["response"],
323
- }),
324
- };
325
- }
326
- }
327
- return {
328
- ok: false,
329
- error: CandidApi.thirdPartyPayers.v1.get.Error._unknown(_response.error),
330
- };
331
- });
332
- }
333
- /**
334
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
335
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest} request
336
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
337
- *
338
- * @example
339
- * await client.thirdPartyPayers.v1.update(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
340
- * name: "string",
341
- * description: {
342
- * type: "remove"
343
- * },
344
- * category: {
345
- * type: "remove"
346
- * }
347
- * })
348
- */
349
- update(thirdPartyPayerId, request, requestOptions) {
350
- var _a, _b;
351
- return __awaiter(this, void 0, void 0, function* () {
352
- const _response = yield core.fetcher({
353
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
354
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
355
- method: "PATCH",
356
- headers: {
357
- Authorization: yield this._getAuthorizationHeader(),
358
- "X-Fern-Language": "JavaScript",
359
- "X-Fern-SDK-Name": "candidhealth",
360
- "X-Fern-SDK-Version": "0.34.1",
361
- "X-Fern-Runtime": core.RUNTIME.type,
362
- "X-Fern-Runtime-Version": core.RUNTIME.version,
363
- },
364
- contentType: "application/json",
365
- requestType: "json",
366
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest.jsonOrThrow(request, {
367
- unrecognizedObjectKeys: "strip",
368
- }),
369
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
370
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
371
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
372
- });
373
- if (_response.ok) {
374
- return {
375
- ok: true,
376
- body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
377
- unrecognizedObjectKeys: "passthrough",
378
- allowUnrecognizedUnionMembers: true,
379
- allowUnrecognizedEnumValues: true,
380
- breadcrumbsPrefix: ["response"],
381
- }),
382
- };
383
- }
384
- if (_response.error.reason === "status-code") {
385
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
386
- case "EntityNotFoundError":
387
- case "EntityConflictError":
388
- return {
389
- ok: false,
390
- error: serializers.thirdPartyPayers.v1.update.Error.parseOrThrow(_response.error.body, {
391
- unrecognizedObjectKeys: "passthrough",
392
- allowUnrecognizedUnionMembers: true,
393
- allowUnrecognizedEnumValues: true,
394
- breadcrumbsPrefix: ["response"],
395
- }),
396
- };
397
- }
398
- }
399
- return {
400
- ok: false,
401
- error: CandidApi.thirdPartyPayers.v1.update.Error._unknown(_response.error),
402
- };
403
- });
404
- }
405
- /**
406
- * @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
407
- * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
408
- *
409
- * @example
410
- * await client.thirdPartyPayers.v1.delete(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
411
- */
412
- delete(thirdPartyPayerId, requestOptions) {
413
- var _a, _b;
414
- return __awaiter(this, void 0, void 0, function* () {
415
- const _response = yield core.fetcher({
416
- url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
417
- .candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
418
- method: "DELETE",
419
- headers: {
420
- Authorization: yield this._getAuthorizationHeader(),
421
- "X-Fern-Language": "JavaScript",
422
- "X-Fern-SDK-Name": "candidhealth",
423
- "X-Fern-SDK-Version": "0.34.1",
424
- "X-Fern-Runtime": core.RUNTIME.type,
425
- "X-Fern-Runtime-Version": core.RUNTIME.version,
426
- },
427
- contentType: "application/json",
428
- requestType: "json",
429
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
430
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
431
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
432
- });
433
- if (_response.ok) {
434
- return {
435
- ok: true,
436
- body: undefined,
437
- };
438
- }
439
- if (_response.error.reason === "status-code") {
440
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
441
- case "EntityNotFoundError":
442
- return {
443
- ok: false,
444
- error: serializers.thirdPartyPayers.v1.delete.Error.parseOrThrow(_response.error.body, {
445
- unrecognizedObjectKeys: "passthrough",
446
- allowUnrecognizedUnionMembers: true,
447
- allowUnrecognizedEnumValues: true,
448
- breadcrumbsPrefix: ["response"],
449
- }),
450
- };
451
- }
452
- }
453
- return {
454
- ok: false,
455
- error: CandidApi.thirdPartyPayers.v1.delete.Error._unknown(_response.error),
456
- };
457
- });
458
- }
459
- _getAuthorizationHeader() {
460
- return __awaiter(this, void 0, void 0, function* () {
461
- const bearer = yield core.Supplier.get(this._options.token);
462
- if (bearer != null) {
463
- return `Bearer ${bearer}`;
464
- }
465
- return undefined;
466
- });
467
- }
468
- }
469
- exports.V1 = V1;
@@ -1,34 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError | CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError | CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
7
- export declare namespace Error {
8
- interface EntityNotFoundError extends _Utils {
9
- errorName: "EntityNotFoundError";
10
- content: CandidApi.EntityNotFoundErrorMessage;
11
- }
12
- interface EntityConflictError extends _Utils {
13
- errorName: "EntityConflictError";
14
- content: CandidApi.EntityConflictErrorMessage;
15
- }
16
- interface _Unknown extends _Utils {
17
- errorName: void;
18
- content: core.Fetcher.Error;
19
- }
20
- interface _Utils {
21
- _visit: <_Result>(visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
22
- }
23
- interface _Visitor<_Result> {
24
- entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
25
- entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
26
- _other: (value: core.Fetcher.Error) => _Result;
27
- }
28
- }
29
- export declare const Error: {
30
- readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError;
31
- readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError;
32
- readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
33
- readonly _visit: <_Result>(value: CandidApi.thirdPartyPayers.v1.create.Error, visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
34
- };