ch-admin-api-client-typescript 4.9.2 → 4.9.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 (1223) hide show
  1. package/lib/api/about-us-api.d.ts +307 -0
  2. package/lib/api/about-us-api.d.ts.map +1 -0
  3. package/lib/api/about-us-api.js +753 -0
  4. package/lib/api/accreditations-api.d.ts +234 -0
  5. package/lib/api/accreditations-api.d.ts.map +1 -0
  6. package/lib/api/accreditations-api.js +598 -0
  7. package/lib/api/app-version-api.d.ts +219 -0
  8. package/lib/api/app-version-api.d.ts.map +1 -0
  9. package/lib/api/app-version-api.js +587 -0
  10. package/lib/api/articles-api.d.ts +1144 -0
  11. package/lib/api/articles-api.d.ts.map +1 -0
  12. package/lib/api/articles-api.js +2705 -0
  13. package/lib/api/bookings-api.d.ts +362 -0
  14. package/lib/api/bookings-api.d.ts.map +1 -0
  15. package/lib/api/bookings-api.js +873 -0
  16. package/lib/api/chadmins-api.d.ts +255 -0
  17. package/lib/api/chadmins-api.d.ts.map +1 -0
  18. package/lib/api/chadmins-api.js +637 -0
  19. package/lib/api/chat-users-api.d.ts +301 -0
  20. package/lib/api/chat-users-api.d.ts.map +1 -0
  21. package/lib/api/chat-users-api.js +769 -0
  22. package/lib/api/chmanagers-api.d.ts +255 -0
  23. package/lib/api/chmanagers-api.d.ts.map +1 -0
  24. package/lib/api/chmanagers-api.js +637 -0
  25. package/lib/api/communications-api.d.ts +129 -0
  26. package/lib/api/communications-api.d.ts.map +1 -0
  27. package/lib/api/communications-api.js +365 -0
  28. package/lib/api/consultations-api.d.ts +371 -0
  29. package/lib/api/consultations-api.d.ts.map +1 -0
  30. package/lib/api/consultations-api.js +887 -0
  31. package/lib/api/contributors-api.d.ts +529 -0
  32. package/lib/api/contributors-api.d.ts.map +1 -0
  33. package/lib/api/contributors-api.js +1269 -0
  34. package/lib/api/countries-api.d.ts +542 -0
  35. package/lib/api/countries-api.d.ts.map +1 -0
  36. package/lib/api/countries-api.js +1321 -0
  37. package/lib/api/dash-board-api.d.ts +76 -0
  38. package/lib/api/dash-board-api.d.ts.map +1 -0
  39. package/lib/api/dash-board-api.js +216 -0
  40. package/lib/api/deals-api.d.ts +916 -0
  41. package/lib/api/deals-api.d.ts.map +1 -0
  42. package/lib/api/deals-api.js +2103 -0
  43. package/lib/api/doctor-affiliations-api.d.ts +548 -0
  44. package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
  45. package/lib/api/doctor-affiliations-api.js +1328 -0
  46. package/lib/api/doctors-api.d.ts +1685 -0
  47. package/lib/api/doctors-api.d.ts.map +1 -0
  48. package/lib/api/doctors-api.js +3978 -0
  49. package/lib/api/email-marketings-api.d.ts +260 -0
  50. package/lib/api/email-marketings-api.d.ts.map +1 -0
  51. package/lib/api/email-marketings-api.js +668 -0
  52. package/lib/api/faq-categories-api.d.ts +307 -0
  53. package/lib/api/faq-categories-api.d.ts.map +1 -0
  54. package/lib/api/faq-categories-api.js +753 -0
  55. package/lib/api/faqs-api.d.ts +684 -0
  56. package/lib/api/faqs-api.d.ts.map +1 -0
  57. package/lib/api/faqs-api.js +1645 -0
  58. package/lib/api/group-channels-api.d.ts +126 -0
  59. package/lib/api/group-channels-api.d.ts.map +1 -0
  60. package/lib/api/group-channels-api.js +328 -0
  61. package/lib/api/header-navigations-api.d.ts +224 -0
  62. package/lib/api/header-navigations-api.d.ts.map +1 -0
  63. package/lib/api/header-navigations-api.js +583 -0
  64. package/lib/api/hospitals-api.d.ts +3598 -0
  65. package/lib/api/hospitals-api.d.ts.map +1 -0
  66. package/lib/api/hospitals-api.js +8387 -0
  67. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +219 -0
  68. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +1 -0
  69. package/lib/api/hospitals-consultation-timetable-overrides-api.js +545 -0
  70. package/lib/api/hospitals-consultation-timetables-api.d.ts +286 -0
  71. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
  72. package/lib/api/hospitals-consultation-timetables-api.js +710 -0
  73. package/lib/api/images-api.d.ts +67 -0
  74. package/lib/api/images-api.d.ts.map +1 -0
  75. package/lib/api/images-api.js +205 -0
  76. package/lib/api/languages-api.d.ts +238 -0
  77. package/lib/api/languages-api.d.ts.map +1 -0
  78. package/lib/api/languages-api.js +605 -0
  79. package/lib/api/managers-api.d.ts +426 -0
  80. package/lib/api/managers-api.d.ts.map +1 -0
  81. package/lib/api/managers-api.js +1044 -0
  82. package/lib/api/memberships-api.d.ts +187 -0
  83. package/lib/api/memberships-api.d.ts.map +1 -0
  84. package/lib/api/memberships-api.js +467 -0
  85. package/lib/api/notifications-api.d.ts +126 -0
  86. package/lib/api/notifications-api.d.ts.map +1 -0
  87. package/lib/api/notifications-api.js +330 -0
  88. package/lib/api/patients-api.d.ts +374 -0
  89. package/lib/api/patients-api.d.ts.map +1 -0
  90. package/lib/api/patients-api.js +927 -0
  91. package/lib/api/payments-api.d.ts +66 -0
  92. package/lib/api/payments-api.d.ts.map +1 -0
  93. package/lib/api/payments-api.js +195 -0
  94. package/lib/api/plans-api.d.ts +431 -0
  95. package/lib/api/plans-api.d.ts.map +1 -0
  96. package/lib/api/plans-api.js +1072 -0
  97. package/lib/api/profiles-api.d.ts +240 -0
  98. package/lib/api/profiles-api.d.ts.map +1 -0
  99. package/lib/api/profiles-api.js +630 -0
  100. package/lib/api/search-api.d.ts +75 -0
  101. package/lib/api/search-api.d.ts.map +1 -0
  102. package/lib/api/search-api.js +216 -0
  103. package/lib/api/service-reviews-api.d.ts +494 -0
  104. package/lib/api/service-reviews-api.d.ts.map +1 -0
  105. package/lib/api/service-reviews-api.js +1177 -0
  106. package/lib/api/services-api.d.ts +232 -0
  107. package/lib/api/services-api.d.ts.map +1 -0
  108. package/lib/api/services-api.js +544 -0
  109. package/lib/api/services-categories-api.d.ts +226 -0
  110. package/lib/api/services-categories-api.d.ts.map +1 -0
  111. package/lib/api/services-categories-api.js +587 -0
  112. package/lib/api/specialties-api.d.ts +649 -0
  113. package/lib/api/specialties-api.d.ts.map +1 -0
  114. package/lib/api/specialties-api.js +1536 -0
  115. package/lib/api/specialty-types-api.d.ts +649 -0
  116. package/lib/api/specialty-types-api.d.ts.map +1 -0
  117. package/lib/api/specialty-types-api.js +1536 -0
  118. package/lib/api/survey-forms-api.d.ts +255 -0
  119. package/lib/api/survey-forms-api.d.ts.map +1 -0
  120. package/lib/api/survey-forms-api.js +633 -0
  121. package/lib/api/survey-results-api.d.ts +166 -0
  122. package/lib/api/survey-results-api.d.ts.map +1 -0
  123. package/lib/api/survey-results-api.js +430 -0
  124. package/lib/api/tags-api.d.ts +192 -0
  125. package/lib/api/tags-api.d.ts.map +1 -0
  126. package/lib/api/tags-api.js +500 -0
  127. package/lib/api/translation-api.d.ts +75 -0
  128. package/lib/api/translation-api.d.ts.map +1 -0
  129. package/lib/api/translation-api.js +215 -0
  130. package/lib/api.d.ts +43 -35190
  131. package/lib/api.d.ts.map +1 -1
  132. package/lib/api.js +56 -42209
  133. package/lib/index.d.ts +1 -0
  134. package/lib/index.d.ts.map +1 -1
  135. package/lib/index.js +1 -0
  136. package/lib/models/about-us-page-item-model.d.ts +56 -0
  137. package/lib/models/about-us-page-item-model.d.ts.map +1 -0
  138. package/lib/models/about-us-page-item-model.js +15 -0
  139. package/lib/models/about-us-page-model.d.ts +117 -0
  140. package/lib/models/about-us-page-model.d.ts.map +1 -0
  141. package/lib/models/about-us-page-model.js +15 -0
  142. package/lib/models/about-us-pages-model.d.ts +33 -0
  143. package/lib/models/about-us-pages-model.d.ts.map +1 -0
  144. package/lib/models/about-us-pages-model.js +15 -0
  145. package/lib/models/accreditation-item-model.d.ts +43 -0
  146. package/lib/models/accreditation-item-model.d.ts.map +1 -0
  147. package/lib/models/accreditation-item-model.js +15 -0
  148. package/lib/models/accreditation-model.d.ts +43 -0
  149. package/lib/models/accreditation-model.d.ts.map +1 -0
  150. package/lib/models/accreditation-model.js +15 -0
  151. package/lib/models/accreditations-model.d.ts +33 -0
  152. package/lib/models/accreditations-model.d.ts.map +1 -0
  153. package/lib/models/accreditations-model.js +15 -0
  154. package/lib/models/admin-message-model.d.ts +79 -0
  155. package/lib/models/admin-message-model.d.ts.map +1 -0
  156. package/lib/models/admin-message-model.js +15 -0
  157. package/lib/models/app-version-item-model.d.ts +44 -0
  158. package/lib/models/app-version-item-model.d.ts.map +1 -0
  159. package/lib/models/app-version-item-model.js +15 -0
  160. package/lib/models/app-version-model.d.ts +44 -0
  161. package/lib/models/app-version-model.d.ts.map +1 -0
  162. package/lib/models/app-version-model.js +15 -0
  163. package/lib/models/app-versions-model.d.ts +33 -0
  164. package/lib/models/app-versions-model.d.ts.map +1 -0
  165. package/lib/models/app-versions-model.js +15 -0
  166. package/lib/models/approve-booking-command.d.ts +31 -0
  167. package/lib/models/approve-booking-command.d.ts.map +1 -0
  168. package/lib/models/approve-booking-command.js +15 -0
  169. package/lib/models/approve-consultation-command.d.ts +31 -0
  170. package/lib/models/approve-consultation-command.d.ts.map +1 -0
  171. package/lib/models/approve-consultation-command.js +15 -0
  172. package/lib/models/article-contributor-item-model.d.ts +99 -0
  173. package/lib/models/article-contributor-item-model.d.ts.map +1 -0
  174. package/lib/models/article-contributor-item-model.js +15 -0
  175. package/lib/models/article-contributor-model.d.ts +124 -0
  176. package/lib/models/article-contributor-model.d.ts.map +1 -0
  177. package/lib/models/article-contributor-model.js +15 -0
  178. package/lib/models/article-contributors-model.d.ts +33 -0
  179. package/lib/models/article-contributors-model.d.ts.map +1 -0
  180. package/lib/models/article-contributors-model.js +15 -0
  181. package/lib/models/article-item-model.d.ts +137 -0
  182. package/lib/models/article-item-model.d.ts.map +1 -0
  183. package/lib/models/article-item-model.js +15 -0
  184. package/lib/models/article-model.d.ts +161 -0
  185. package/lib/models/article-model.d.ts.map +1 -0
  186. package/lib/models/article-model.js +15 -0
  187. package/lib/models/article-sources-model.d.ts +33 -0
  188. package/lib/models/article-sources-model.d.ts.map +1 -0
  189. package/lib/models/article-sources-model.js +15 -0
  190. package/lib/models/article-status.d.ts +23 -0
  191. package/lib/models/article-status.d.ts.map +1 -0
  192. package/lib/models/article-status.js +26 -0
  193. package/lib/models/article-tag-item-model.d.ts +37 -0
  194. package/lib/models/article-tag-item-model.d.ts.map +1 -0
  195. package/lib/models/article-tag-item-model.js +15 -0
  196. package/lib/models/article-tag-model.d.ts +37 -0
  197. package/lib/models/article-tag-model.d.ts.map +1 -0
  198. package/lib/models/article-tag-model.js +15 -0
  199. package/lib/models/article-tags-model.d.ts +33 -0
  200. package/lib/models/article-tags-model.d.ts.map +1 -0
  201. package/lib/models/article-tags-model.js +15 -0
  202. package/lib/models/articles-model.d.ts +33 -0
  203. package/lib/models/articles-model.d.ts.map +1 -0
  204. package/lib/models/articles-model.js +15 -0
  205. package/lib/models/auditable-entity-model.d.ts +67 -0
  206. package/lib/models/auditable-entity-model.d.ts.map +1 -0
  207. package/lib/models/auditable-entity-model.js +15 -0
  208. package/lib/models/auditable-entity.d.ts +67 -0
  209. package/lib/models/auditable-entity.d.ts.map +1 -0
  210. package/lib/models/auditable-entity.js +15 -0
  211. package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts +38 -0
  212. package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts.map +1 -0
  213. package/lib/models/batch-add-hospital-consultation-timetable-model.js +15 -0
  214. package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts +38 -0
  215. package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts.map +1 -0
  216. package/lib/models/batch-hospital-consultation-timetable-result-model.js +15 -0
  217. package/lib/models/batch-hospital-consultation-timetables-command.d.ts +39 -0
  218. package/lib/models/batch-hospital-consultation-timetables-command.d.ts.map +1 -0
  219. package/lib/models/batch-hospital-consultation-timetables-command.js +15 -0
  220. package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts +44 -0
  221. package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts.map +1 -0
  222. package/lib/models/batch-update-hospital-consultation-timetable-model.js +15 -0
  223. package/lib/models/booking-change-log-model.d.ts +44 -0
  224. package/lib/models/booking-change-log-model.d.ts.map +1 -0
  225. package/lib/models/booking-change-log-model.js +15 -0
  226. package/lib/models/booking-item-model.d.ts +245 -0
  227. package/lib/models/booking-item-model.d.ts.map +1 -0
  228. package/lib/models/booking-item-model.js +15 -0
  229. package/lib/models/booking-model.d.ts +252 -0
  230. package/lib/models/booking-model.d.ts.map +1 -0
  231. package/lib/models/booking-model.js +15 -0
  232. package/lib/models/booking-status.d.ts +27 -0
  233. package/lib/models/booking-status.d.ts.map +1 -0
  234. package/lib/models/booking-status.js +30 -0
  235. package/lib/models/bookings-model.d.ts +33 -0
  236. package/lib/models/bookings-model.d.ts.map +1 -0
  237. package/lib/models/bookings-model.js +15 -0
  238. package/lib/models/chadmin-item-model.d.ts +111 -0
  239. package/lib/models/chadmin-item-model.d.ts.map +1 -0
  240. package/lib/models/chadmin-item-model.js +15 -0
  241. package/lib/models/chadmin-model.d.ts +131 -0
  242. package/lib/models/chadmin-model.d.ts.map +1 -0
  243. package/lib/models/chadmin-model.js +15 -0
  244. package/lib/models/chadmins-model.d.ts +33 -0
  245. package/lib/models/chadmins-model.d.ts.map +1 -0
  246. package/lib/models/chadmins-model.js +15 -0
  247. package/lib/models/change-email-command.d.ts +25 -0
  248. package/lib/models/change-email-command.d.ts.map +1 -0
  249. package/lib/models/change-email-command.js +15 -0
  250. package/lib/models/chat-user-model.d.ts +73 -0
  251. package/lib/models/chat-user-model.d.ts.map +1 -0
  252. package/lib/models/chat-user-model.js +15 -0
  253. package/lib/models/chat-users-model.d.ts +32 -0
  254. package/lib/models/chat-users-model.d.ts.map +1 -0
  255. package/lib/models/chat-users-model.js +15 -0
  256. package/lib/models/check-notifications-command.d.ts +31 -0
  257. package/lib/models/check-notifications-command.d.ts.map +1 -0
  258. package/lib/models/check-notifications-command.js +15 -0
  259. package/lib/models/chmanager-item-model.d.ts +111 -0
  260. package/lib/models/chmanager-item-model.d.ts.map +1 -0
  261. package/lib/models/chmanager-item-model.js +15 -0
  262. package/lib/models/chmanager-model.d.ts +131 -0
  263. package/lib/models/chmanager-model.d.ts.map +1 -0
  264. package/lib/models/chmanager-model.js +15 -0
  265. package/lib/models/chmanagers-model.d.ts +33 -0
  266. package/lib/models/chmanagers-model.d.ts.map +1 -0
  267. package/lib/models/chmanagers-model.js +15 -0
  268. package/lib/models/communication-user-token-model.d.ts +43 -0
  269. package/lib/models/communication-user-token-model.d.ts.map +1 -0
  270. package/lib/models/communication-user-token-model.js +15 -0
  271. package/lib/models/confirm-email-command.d.ts +25 -0
  272. package/lib/models/confirm-email-command.d.ts.map +1 -0
  273. package/lib/models/confirm-email-command.js +15 -0
  274. package/lib/models/consultation-change-log-model.d.ts +44 -0
  275. package/lib/models/consultation-change-log-model.d.ts.map +1 -0
  276. package/lib/models/consultation-change-log-model.js +15 -0
  277. package/lib/models/consultation-item-model.d.ts +275 -0
  278. package/lib/models/consultation-item-model.d.ts.map +1 -0
  279. package/lib/models/consultation-item-model.js +15 -0
  280. package/lib/models/consultation-model.d.ts +282 -0
  281. package/lib/models/consultation-model.d.ts.map +1 -0
  282. package/lib/models/consultation-model.js +15 -0
  283. package/lib/models/consultation-status.d.ts +27 -0
  284. package/lib/models/consultation-status.d.ts.map +1 -0
  285. package/lib/models/consultation-status.js +30 -0
  286. package/lib/models/consultation-type.d.ts +23 -0
  287. package/lib/models/consultation-type.d.ts.map +1 -0
  288. package/lib/models/consultation-type.js +26 -0
  289. package/lib/models/consultations-model.d.ts +33 -0
  290. package/lib/models/consultations-model.d.ts.map +1 -0
  291. package/lib/models/consultations-model.js +15 -0
  292. package/lib/models/contribution-type.d.ts +23 -0
  293. package/lib/models/contribution-type.d.ts.map +1 -0
  294. package/lib/models/contribution-type.js +26 -0
  295. package/lib/models/contributor-item-model.d.ts +110 -0
  296. package/lib/models/contributor-item-model.d.ts.map +1 -0
  297. package/lib/models/contributor-item-model.js +15 -0
  298. package/lib/models/contributor-model.d.ts +128 -0
  299. package/lib/models/contributor-model.d.ts.map +1 -0
  300. package/lib/models/contributor-model.js +15 -0
  301. package/lib/models/contributor-sns-handles-model.d.ts +33 -0
  302. package/lib/models/contributor-sns-handles-model.d.ts.map +1 -0
  303. package/lib/models/contributor-sns-handles-model.js +15 -0
  304. package/lib/models/contributors-model.d.ts +33 -0
  305. package/lib/models/contributors-model.d.ts.map +1 -0
  306. package/lib/models/contributors-model.js +15 -0
  307. package/lib/models/countries-model.d.ts +33 -0
  308. package/lib/models/countries-model.d.ts.map +1 -0
  309. package/lib/models/countries-model.js +15 -0
  310. package/lib/models/country-item-model.d.ts +62 -0
  311. package/lib/models/country-item-model.d.ts.map +1 -0
  312. package/lib/models/country-item-model.js +15 -0
  313. package/lib/models/country-model.d.ts +93 -0
  314. package/lib/models/country-model.d.ts.map +1 -0
  315. package/lib/models/country-model.js +15 -0
  316. package/lib/models/create-about-us-page-command.d.ts +74 -0
  317. package/lib/models/create-about-us-page-command.d.ts.map +1 -0
  318. package/lib/models/create-about-us-page-command.js +15 -0
  319. package/lib/models/create-accreditation-command.d.ts +37 -0
  320. package/lib/models/create-accreditation-command.d.ts.map +1 -0
  321. package/lib/models/create-accreditation-command.js +15 -0
  322. package/lib/models/create-app-version-command.d.ts +44 -0
  323. package/lib/models/create-app-version-command.d.ts.map +1 -0
  324. package/lib/models/create-app-version-command.js +15 -0
  325. package/lib/models/create-article-command.d.ts +107 -0
  326. package/lib/models/create-article-command.d.ts.map +1 -0
  327. package/lib/models/create-article-command.js +15 -0
  328. package/lib/models/create-article-contributor-command.d.ts +44 -0
  329. package/lib/models/create-article-contributor-command.d.ts.map +1 -0
  330. package/lib/models/create-article-contributor-command.js +15 -0
  331. package/lib/models/create-article-source-command.d.ts +37 -0
  332. package/lib/models/create-article-source-command.d.ts.map +1 -0
  333. package/lib/models/create-article-source-command.js +15 -0
  334. package/lib/models/create-article-tag-command.d.ts +31 -0
  335. package/lib/models/create-article-tag-command.d.ts.map +1 -0
  336. package/lib/models/create-article-tag-command.js +15 -0
  337. package/lib/models/create-chadmin-command.d.ts +86 -0
  338. package/lib/models/create-chadmin-command.d.ts.map +1 -0
  339. package/lib/models/create-chadmin-command.js +15 -0
  340. package/lib/models/create-chat-user-command.d.ts +55 -0
  341. package/lib/models/create-chat-user-command.d.ts.map +1 -0
  342. package/lib/models/create-chat-user-command.js +15 -0
  343. package/lib/models/create-chmanager-command.d.ts +86 -0
  344. package/lib/models/create-chmanager-command.d.ts.map +1 -0
  345. package/lib/models/create-chmanager-command.js +15 -0
  346. package/lib/models/create-contributor-command.d.ts +61 -0
  347. package/lib/models/create-contributor-command.d.ts.map +1 -0
  348. package/lib/models/create-contributor-command.js +15 -0
  349. package/lib/models/create-contributor-sns-handle-command.d.ts +32 -0
  350. package/lib/models/create-contributor-sns-handle-command.d.ts.map +1 -0
  351. package/lib/models/create-contributor-sns-handle-command.js +15 -0
  352. package/lib/models/create-country-command.d.ts +56 -0
  353. package/lib/models/create-country-command.d.ts.map +1 -0
  354. package/lib/models/create-country-command.js +15 -0
  355. package/lib/models/create-deal-command.d.ts +74 -0
  356. package/lib/models/create-deal-command.d.ts.map +1 -0
  357. package/lib/models/create-deal-command.js +15 -0
  358. package/lib/models/create-deal-package-command.d.ts +56 -0
  359. package/lib/models/create-deal-package-command.d.ts.map +1 -0
  360. package/lib/models/create-deal-package-command.js +15 -0
  361. package/lib/models/create-deal-service-command.d.ts +37 -0
  362. package/lib/models/create-deal-service-command.d.ts.map +1 -0
  363. package/lib/models/create-deal-service-command.js +15 -0
  364. package/lib/models/create-doctor-affiliation-command.d.ts +116 -0
  365. package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -0
  366. package/lib/models/create-doctor-affiliation-command.js +15 -0
  367. package/lib/models/create-doctor-certificate-command.d.ts +37 -0
  368. package/lib/models/create-doctor-certificate-command.d.ts.map +1 -0
  369. package/lib/models/create-doctor-certificate-command.js +15 -0
  370. package/lib/models/create-doctor-command.d.ts +98 -0
  371. package/lib/models/create-doctor-command.d.ts.map +1 -0
  372. package/lib/models/create-doctor-command.js +15 -0
  373. package/lib/models/create-doctor-education-command.d.ts +37 -0
  374. package/lib/models/create-doctor-education-command.d.ts.map +1 -0
  375. package/lib/models/create-doctor-education-command.js +15 -0
  376. package/lib/models/create-doctor-language-command.d.ts +37 -0
  377. package/lib/models/create-doctor-language-command.d.ts.map +1 -0
  378. package/lib/models/create-doctor-language-command.js +15 -0
  379. package/lib/models/create-doctor-portfolio-command.d.ts +55 -0
  380. package/lib/models/create-doctor-portfolio-command.d.ts.map +1 -0
  381. package/lib/models/create-doctor-portfolio-command.js +15 -0
  382. package/lib/models/create-doctor-specialty-command.d.ts +31 -0
  383. package/lib/models/create-doctor-specialty-command.d.ts.map +1 -0
  384. package/lib/models/create-doctor-specialty-command.js +15 -0
  385. package/lib/models/create-faq-category-command.d.ts +55 -0
  386. package/lib/models/create-faq-category-command.d.ts.map +1 -0
  387. package/lib/models/create-faq-category-command.js +15 -0
  388. package/lib/models/create-faq-command.d.ts +69 -0
  389. package/lib/models/create-faq-command.d.ts.map +1 -0
  390. package/lib/models/create-faq-command.js +15 -0
  391. package/lib/models/create-faq-tag-command.d.ts +31 -0
  392. package/lib/models/create-faq-tag-command.d.ts.map +1 -0
  393. package/lib/models/create-faq-tag-command.js +15 -0
  394. package/lib/models/create-hospital-accreditation-command.d.ts +25 -0
  395. package/lib/models/create-hospital-accreditation-command.d.ts.map +1 -0
  396. package/lib/models/create-hospital-accreditation-command.js +15 -0
  397. package/lib/models/create-hospital-command.d.ts +160 -0
  398. package/lib/models/create-hospital-command.d.ts.map +1 -0
  399. package/lib/models/create-hospital-command.js +15 -0
  400. package/lib/models/create-hospital-consultation-timetable-command.d.ts +38 -0
  401. package/lib/models/create-hospital-consultation-timetable-command.d.ts.map +1 -0
  402. package/lib/models/create-hospital-consultation-timetable-command.js +15 -0
  403. package/lib/models/create-hospital-equipment-command.d.ts +31 -0
  404. package/lib/models/create-hospital-equipment-command.d.ts.map +1 -0
  405. package/lib/models/create-hospital-equipment-command.js +15 -0
  406. package/lib/models/create-hospital-evaluation-command.d.ts +43 -0
  407. package/lib/models/create-hospital-evaluation-command.d.ts.map +1 -0
  408. package/lib/models/create-hospital-evaluation-command.js +15 -0
  409. package/lib/models/create-hospital-language-command.d.ts +37 -0
  410. package/lib/models/create-hospital-language-command.d.ts.map +1 -0
  411. package/lib/models/create-hospital-language-command.js +15 -0
  412. package/lib/models/create-hospital-service-command.d.ts +105 -0
  413. package/lib/models/create-hospital-service-command.d.ts.map +1 -0
  414. package/lib/models/create-hospital-service-command.js +15 -0
  415. package/lib/models/create-hospital-sns-handle-command.d.ts +32 -0
  416. package/lib/models/create-hospital-sns-handle-command.d.ts.map +1 -0
  417. package/lib/models/create-hospital-sns-handle-command.js +15 -0
  418. package/lib/models/create-hospital-specialty-command.d.ts +92 -0
  419. package/lib/models/create-hospital-specialty-command.d.ts.map +1 -0
  420. package/lib/models/create-hospital-specialty-command.js +15 -0
  421. package/lib/models/create-hospital-working-day-command.d.ts +43 -0
  422. package/lib/models/create-hospital-working-day-command.d.ts.map +1 -0
  423. package/lib/models/create-hospital-working-day-command.js +15 -0
  424. package/lib/models/create-landing-command.d.ts +74 -0
  425. package/lib/models/create-landing-command.d.ts.map +1 -0
  426. package/lib/models/create-landing-command.js +15 -0
  427. package/lib/models/create-language-command.d.ts +55 -0
  428. package/lib/models/create-language-command.d.ts.map +1 -0
  429. package/lib/models/create-language-command.js +15 -0
  430. package/lib/models/create-manager-affiliation-command.d.ts +25 -0
  431. package/lib/models/create-manager-affiliation-command.d.ts.map +1 -0
  432. package/lib/models/create-manager-affiliation-command.js +15 -0
  433. package/lib/models/create-manager-command.d.ts +92 -0
  434. package/lib/models/create-manager-command.d.ts.map +1 -0
  435. package/lib/models/create-manager-command.js +15 -0
  436. package/lib/models/create-media-command.d.ts +50 -0
  437. package/lib/models/create-media-command.d.ts.map +1 -0
  438. package/lib/models/create-media-command.js +15 -0
  439. package/lib/models/create-patient-command.d.ts +92 -0
  440. package/lib/models/create-patient-command.d.ts.map +1 -0
  441. package/lib/models/create-patient-command.js +15 -0
  442. package/lib/models/create-plan-command.d.ts +62 -0
  443. package/lib/models/create-plan-command.d.ts.map +1 -0
  444. package/lib/models/create-plan-command.js +15 -0
  445. package/lib/models/create-plan-hospital-command.d.ts +31 -0
  446. package/lib/models/create-plan-hospital-command.d.ts.map +1 -0
  447. package/lib/models/create-plan-hospital-command.js +15 -0
  448. package/lib/models/create-profile-command.d.ts +100 -0
  449. package/lib/models/create-profile-command.d.ts.map +1 -0
  450. package/lib/models/create-profile-command.js +15 -0
  451. package/lib/models/create-service-category-command.d.ts +37 -0
  452. package/lib/models/create-service-category-command.d.ts.map +1 -0
  453. package/lib/models/create-service-category-command.js +15 -0
  454. package/lib/models/create-service-review-command.d.ts +68 -0
  455. package/lib/models/create-service-review-command.d.ts.map +1 -0
  456. package/lib/models/create-service-review-command.js +15 -0
  457. package/lib/models/create-specialty-command.d.ts +80 -0
  458. package/lib/models/create-specialty-command.d.ts.map +1 -0
  459. package/lib/models/create-specialty-command.js +15 -0
  460. package/lib/models/create-specialty-type-command.d.ts +81 -0
  461. package/lib/models/create-specialty-type-command.d.ts.map +1 -0
  462. package/lib/models/create-specialty-type-command.js +15 -0
  463. package/lib/models/create-survey-form-command.d.ts +75 -0
  464. package/lib/models/create-survey-form-command.d.ts.map +1 -0
  465. package/lib/models/create-survey-form-command.js +15 -0
  466. package/lib/models/create-tag-command.d.ts +25 -0
  467. package/lib/models/create-tag-command.d.ts.map +1 -0
  468. package/lib/models/create-tag-command.js +15 -0
  469. package/lib/models/create-template-version-command.d.ts +37 -0
  470. package/lib/models/create-template-version-command.d.ts.map +1 -0
  471. package/lib/models/create-template-version-command.js +15 -0
  472. package/lib/models/dash-board-model.d.ts +91 -0
  473. package/lib/models/dash-board-model.d.ts.map +1 -0
  474. package/lib/models/dash-board-model.js +15 -0
  475. package/lib/models/day-of-week.d.ts +27 -0
  476. package/lib/models/day-of-week.d.ts.map +1 -0
  477. package/lib/models/day-of-week.js +30 -0
  478. package/lib/models/deal-item-model.d.ts +111 -0
  479. package/lib/models/deal-item-model.d.ts.map +1 -0
  480. package/lib/models/deal-item-model.js +15 -0
  481. package/lib/models/deal-item-simple-model.d.ts +49 -0
  482. package/lib/models/deal-item-simple-model.d.ts.map +1 -0
  483. package/lib/models/deal-item-simple-model.js +15 -0
  484. package/lib/models/deal-model.d.ts +135 -0
  485. package/lib/models/deal-model.d.ts.map +1 -0
  486. package/lib/models/deal-model.js +15 -0
  487. package/lib/models/deal-package-item-model.d.ts +99 -0
  488. package/lib/models/deal-package-item-model.d.ts.map +1 -0
  489. package/lib/models/deal-package-item-model.js +15 -0
  490. package/lib/models/deal-package-model.d.ts +111 -0
  491. package/lib/models/deal-package-model.d.ts.map +1 -0
  492. package/lib/models/deal-package-model.js +15 -0
  493. package/lib/models/deal-packages-model.d.ts +33 -0
  494. package/lib/models/deal-packages-model.d.ts.map +1 -0
  495. package/lib/models/deal-packages-model.js +15 -0
  496. package/lib/models/deal-service-item-model.d.ts +67 -0
  497. package/lib/models/deal-service-item-model.d.ts.map +1 -0
  498. package/lib/models/deal-service-item-model.js +15 -0
  499. package/lib/models/deal-service-model.d.ts +67 -0
  500. package/lib/models/deal-service-model.d.ts.map +1 -0
  501. package/lib/models/deal-service-model.js +15 -0
  502. package/lib/models/deal-services-model.d.ts +33 -0
  503. package/lib/models/deal-services-model.d.ts.map +1 -0
  504. package/lib/models/deal-services-model.js +15 -0
  505. package/lib/models/deals-model.d.ts +33 -0
  506. package/lib/models/deals-model.d.ts.map +1 -0
  507. package/lib/models/deals-model.js +15 -0
  508. package/lib/models/deals-simple-model.d.ts +33 -0
  509. package/lib/models/deals-simple-model.d.ts.map +1 -0
  510. package/lib/models/deals-simple-model.js +15 -0
  511. package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts +44 -0
  512. package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts.map +1 -0
  513. package/lib/models/delete-hospital-consultation-timetable-override-command.js +15 -0
  514. package/lib/models/doctor-affiliation-item-model.d.ts +123 -0
  515. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -0
  516. package/lib/models/doctor-affiliation-item-model.js +15 -0
  517. package/lib/models/doctor-affiliation-model.d.ts +166 -0
  518. package/lib/models/doctor-affiliation-model.d.ts.map +1 -0
  519. package/lib/models/doctor-affiliation-model.js +15 -0
  520. package/lib/models/doctor-affiliations-model.d.ts +33 -0
  521. package/lib/models/doctor-affiliations-model.d.ts.map +1 -0
  522. package/lib/models/doctor-affiliations-model.js +15 -0
  523. package/lib/models/doctor-certificate-item-model.d.ts +55 -0
  524. package/lib/models/doctor-certificate-item-model.d.ts.map +1 -0
  525. package/lib/models/doctor-certificate-item-model.js +15 -0
  526. package/lib/models/doctor-certificate-model.d.ts +55 -0
  527. package/lib/models/doctor-certificate-model.d.ts.map +1 -0
  528. package/lib/models/doctor-certificate-model.js +15 -0
  529. package/lib/models/doctor-certificates-model.d.ts +33 -0
  530. package/lib/models/doctor-certificates-model.d.ts.map +1 -0
  531. package/lib/models/doctor-certificates-model.js +15 -0
  532. package/lib/models/doctor-education-item-model.d.ts +67 -0
  533. package/lib/models/doctor-education-item-model.d.ts.map +1 -0
  534. package/lib/models/doctor-education-item-model.js +15 -0
  535. package/lib/models/doctor-education-model.d.ts +67 -0
  536. package/lib/models/doctor-education-model.d.ts.map +1 -0
  537. package/lib/models/doctor-education-model.js +15 -0
  538. package/lib/models/doctor-educations-model.d.ts +33 -0
  539. package/lib/models/doctor-educations-model.d.ts.map +1 -0
  540. package/lib/models/doctor-educations-model.js +15 -0
  541. package/lib/models/doctor-item-model.d.ts +111 -0
  542. package/lib/models/doctor-item-model.d.ts.map +1 -0
  543. package/lib/models/doctor-item-model.js +15 -0
  544. package/lib/models/doctor-language-item-model.d.ts +55 -0
  545. package/lib/models/doctor-language-item-model.d.ts.map +1 -0
  546. package/lib/models/doctor-language-item-model.js +15 -0
  547. package/lib/models/doctor-language-model.d.ts +55 -0
  548. package/lib/models/doctor-language-model.d.ts.map +1 -0
  549. package/lib/models/doctor-language-model.js +15 -0
  550. package/lib/models/doctor-languages-model.d.ts +33 -0
  551. package/lib/models/doctor-languages-model.d.ts.map +1 -0
  552. package/lib/models/doctor-languages-model.js +15 -0
  553. package/lib/models/doctor-model.d.ts +137 -0
  554. package/lib/models/doctor-model.d.ts.map +1 -0
  555. package/lib/models/doctor-model.js +15 -0
  556. package/lib/models/doctor-portfolio-item-model.d.ts +61 -0
  557. package/lib/models/doctor-portfolio-item-model.d.ts.map +1 -0
  558. package/lib/models/doctor-portfolio-item-model.js +15 -0
  559. package/lib/models/doctor-portfolio-model.d.ts +61 -0
  560. package/lib/models/doctor-portfolio-model.d.ts.map +1 -0
  561. package/lib/models/doctor-portfolio-model.js +15 -0
  562. package/lib/models/doctor-portfolios-model.d.ts +33 -0
  563. package/lib/models/doctor-portfolios-model.d.ts.map +1 -0
  564. package/lib/models/doctor-portfolios-model.js +15 -0
  565. package/lib/models/doctor-simple-item-model.d.ts +49 -0
  566. package/lib/models/doctor-simple-item-model.d.ts.map +1 -0
  567. package/lib/models/doctor-simple-item-model.js +15 -0
  568. package/lib/models/doctor-specialties-model.d.ts +33 -0
  569. package/lib/models/doctor-specialties-model.d.ts.map +1 -0
  570. package/lib/models/doctor-specialties-model.js +15 -0
  571. package/lib/models/doctor-specialty-model.d.ts +61 -0
  572. package/lib/models/doctor-specialty-model.d.ts.map +1 -0
  573. package/lib/models/doctor-specialty-model.js +15 -0
  574. package/lib/models/doctors-model.d.ts +33 -0
  575. package/lib/models/doctors-model.d.ts.map +1 -0
  576. package/lib/models/doctors-model.js +15 -0
  577. package/lib/models/doctors-simple-model.d.ts +33 -0
  578. package/lib/models/doctors-simple-model.d.ts.map +1 -0
  579. package/lib/models/doctors-simple-model.js +15 -0
  580. package/lib/models/duration.d.ts +25 -0
  581. package/lib/models/duration.d.ts.map +1 -0
  582. package/lib/models/duration.js +28 -0
  583. package/lib/models/faq-categories-model.d.ts +33 -0
  584. package/lib/models/faq-categories-model.d.ts.map +1 -0
  585. package/lib/models/faq-categories-model.js +15 -0
  586. package/lib/models/faq-category-item-model.d.ts +92 -0
  587. package/lib/models/faq-category-item-model.d.ts.map +1 -0
  588. package/lib/models/faq-category-item-model.js +15 -0
  589. package/lib/models/faq-category-model.d.ts +110 -0
  590. package/lib/models/faq-category-model.d.ts.map +1 -0
  591. package/lib/models/faq-category-model.js +15 -0
  592. package/lib/models/faq-item-model.d.ts +118 -0
  593. package/lib/models/faq-item-model.d.ts.map +1 -0
  594. package/lib/models/faq-item-model.js +15 -0
  595. package/lib/models/faq-model.d.ts +142 -0
  596. package/lib/models/faq-model.d.ts.map +1 -0
  597. package/lib/models/faq-model.js +15 -0
  598. package/lib/models/faq-tag-item-model.d.ts +37 -0
  599. package/lib/models/faq-tag-item-model.d.ts.map +1 -0
  600. package/lib/models/faq-tag-item-model.js +15 -0
  601. package/lib/models/faq-tag-model.d.ts +37 -0
  602. package/lib/models/faq-tag-model.d.ts.map +1 -0
  603. package/lib/models/faq-tag-model.js +15 -0
  604. package/lib/models/faq-tags-model.d.ts +33 -0
  605. package/lib/models/faq-tags-model.d.ts.map +1 -0
  606. package/lib/models/faq-tags-model.js +15 -0
  607. package/lib/models/faqs-model.d.ts +33 -0
  608. package/lib/models/faqs-model.d.ts.map +1 -0
  609. package/lib/models/faqs-model.js +15 -0
  610. package/lib/models/gender.d.ts +25 -0
  611. package/lib/models/gender.d.ts.map +1 -0
  612. package/lib/models/gender.js +28 -0
  613. package/lib/models/group-channel-list.d.ts +54 -0
  614. package/lib/models/group-channel-list.d.ts.map +1 -0
  615. package/lib/models/group-channel-list.js +15 -0
  616. package/lib/models/group-channel.d.ts +165 -0
  617. package/lib/models/group-channel.d.ts.map +1 -0
  618. package/lib/models/group-channel.js +15 -0
  619. package/lib/models/header-navigation-item-model.d.ts +61 -0
  620. package/lib/models/header-navigation-item-model.d.ts.map +1 -0
  621. package/lib/models/header-navigation-item-model.js +15 -0
  622. package/lib/models/hospital-accreditation-item-model.d.ts +43 -0
  623. package/lib/models/hospital-accreditation-item-model.d.ts.map +1 -0
  624. package/lib/models/hospital-accreditation-item-model.js +15 -0
  625. package/lib/models/hospital-accreditation-model.d.ts +43 -0
  626. package/lib/models/hospital-accreditation-model.d.ts.map +1 -0
  627. package/lib/models/hospital-accreditation-model.js +15 -0
  628. package/lib/models/hospital-accreditations-model.d.ts +33 -0
  629. package/lib/models/hospital-accreditations-model.d.ts.map +1 -0
  630. package/lib/models/hospital-accreditations-model.js +15 -0
  631. package/lib/models/hospital-consultation-option-model.d.ts +37 -0
  632. package/lib/models/hospital-consultation-option-model.d.ts.map +1 -0
  633. package/lib/models/hospital-consultation-option-model.js +15 -0
  634. package/lib/models/hospital-consultation-timetable-item-model.d.ts +44 -0
  635. package/lib/models/hospital-consultation-timetable-item-model.d.ts.map +1 -0
  636. package/lib/models/hospital-consultation-timetable-item-model.js +15 -0
  637. package/lib/models/hospital-consultation-timetable-model.d.ts +44 -0
  638. package/lib/models/hospital-consultation-timetable-model.d.ts.map +1 -0
  639. package/lib/models/hospital-consultation-timetable-model.js +15 -0
  640. package/lib/models/hospital-consultation-timetable-override-item-model.d.ts +56 -0
  641. package/lib/models/hospital-consultation-timetable-override-item-model.d.ts.map +1 -0
  642. package/lib/models/hospital-consultation-timetable-override-item-model.js +15 -0
  643. package/lib/models/hospital-consultation-timetable-override-model.d.ts +56 -0
  644. package/lib/models/hospital-consultation-timetable-override-model.d.ts.map +1 -0
  645. package/lib/models/hospital-consultation-timetable-override-model.js +15 -0
  646. package/lib/models/hospital-consultation-timetable-overrides-model.d.ts +33 -0
  647. package/lib/models/hospital-consultation-timetable-overrides-model.d.ts.map +1 -0
  648. package/lib/models/hospital-consultation-timetable-overrides-model.js +15 -0
  649. package/lib/models/hospital-consultation-timetables-model.d.ts +33 -0
  650. package/lib/models/hospital-consultation-timetables-model.d.ts.map +1 -0
  651. package/lib/models/hospital-consultation-timetables-model.js +15 -0
  652. package/lib/models/hospital-equipment-item-model.d.ts +51 -0
  653. package/lib/models/hospital-equipment-item-model.d.ts.map +1 -0
  654. package/lib/models/hospital-equipment-item-model.js +15 -0
  655. package/lib/models/hospital-equipment-model.d.ts +51 -0
  656. package/lib/models/hospital-equipment-model.d.ts.map +1 -0
  657. package/lib/models/hospital-equipment-model.js +15 -0
  658. package/lib/models/hospital-equipments-model.d.ts +33 -0
  659. package/lib/models/hospital-equipments-model.d.ts.map +1 -0
  660. package/lib/models/hospital-equipments-model.js +15 -0
  661. package/lib/models/hospital-evaluation-item-model.d.ts +49 -0
  662. package/lib/models/hospital-evaluation-item-model.d.ts.map +1 -0
  663. package/lib/models/hospital-evaluation-item-model.js +15 -0
  664. package/lib/models/hospital-evaluation-model.d.ts +49 -0
  665. package/lib/models/hospital-evaluation-model.d.ts.map +1 -0
  666. package/lib/models/hospital-evaluation-model.js +15 -0
  667. package/lib/models/hospital-evaluations-model.d.ts +33 -0
  668. package/lib/models/hospital-evaluations-model.d.ts.map +1 -0
  669. package/lib/models/hospital-evaluations-model.js +15 -0
  670. package/lib/models/hospital-item-model.d.ts +132 -0
  671. package/lib/models/hospital-item-model.d.ts.map +1 -0
  672. package/lib/models/hospital-item-model.js +15 -0
  673. package/lib/models/hospital-language-item-model.d.ts +55 -0
  674. package/lib/models/hospital-language-item-model.d.ts.map +1 -0
  675. package/lib/models/hospital-language-item-model.js +15 -0
  676. package/lib/models/hospital-languages-model.d.ts +33 -0
  677. package/lib/models/hospital-languages-model.d.ts.map +1 -0
  678. package/lib/models/hospital-languages-model.js +15 -0
  679. package/lib/models/hospital-model.d.ts +205 -0
  680. package/lib/models/hospital-model.d.ts.map +1 -0
  681. package/lib/models/hospital-model.js +15 -0
  682. package/lib/models/hospital-service-item-model.d.ts +147 -0
  683. package/lib/models/hospital-service-item-model.d.ts.map +1 -0
  684. package/lib/models/hospital-service-item-model.js +15 -0
  685. package/lib/models/hospital-service-model.d.ts +204 -0
  686. package/lib/models/hospital-service-model.d.ts.map +1 -0
  687. package/lib/models/hospital-service-model.js +15 -0
  688. package/lib/models/hospital-services-model.d.ts +33 -0
  689. package/lib/models/hospital-services-model.d.ts.map +1 -0
  690. package/lib/models/hospital-services-model.js +15 -0
  691. package/lib/models/hospital-simple-item-model.d.ts +49 -0
  692. package/lib/models/hospital-simple-item-model.d.ts.map +1 -0
  693. package/lib/models/hospital-simple-item-model.js +15 -0
  694. package/lib/models/hospital-sns-handles-model.d.ts +33 -0
  695. package/lib/models/hospital-sns-handles-model.d.ts.map +1 -0
  696. package/lib/models/hospital-sns-handles-model.js +15 -0
  697. package/lib/models/hospital-specialties-model.d.ts +33 -0
  698. package/lib/models/hospital-specialties-model.d.ts.map +1 -0
  699. package/lib/models/hospital-specialties-model.js +15 -0
  700. package/lib/models/hospital-specialties-simple-model.d.ts +33 -0
  701. package/lib/models/hospital-specialties-simple-model.d.ts.map +1 -0
  702. package/lib/models/hospital-specialties-simple-model.js +15 -0
  703. package/lib/models/hospital-specialty-item-model.d.ts +123 -0
  704. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -0
  705. package/lib/models/hospital-specialty-item-model.js +15 -0
  706. package/lib/models/hospital-specialty-model.d.ts +179 -0
  707. package/lib/models/hospital-specialty-model.d.ts.map +1 -0
  708. package/lib/models/hospital-specialty-model.js +15 -0
  709. package/lib/models/hospital-specialty-simple-item-model.d.ts +55 -0
  710. package/lib/models/hospital-specialty-simple-item-model.d.ts.map +1 -0
  711. package/lib/models/hospital-specialty-simple-item-model.js +15 -0
  712. package/lib/models/hospitals-model.d.ts +33 -0
  713. package/lib/models/hospitals-model.d.ts.map +1 -0
  714. package/lib/models/hospitals-model.js +15 -0
  715. package/lib/models/hospitals-simple-model.d.ts +33 -0
  716. package/lib/models/hospitals-simple-model.d.ts.map +1 -0
  717. package/lib/models/hospitals-simple-model.js +15 -0
  718. package/lib/models/http-status-code.d.ts +81 -0
  719. package/lib/models/http-status-code.d.ts.map +1 -0
  720. package/lib/models/http-status-code.js +84 -0
  721. package/lib/models/index.d.ts +362 -0
  722. package/lib/models/index.d.ts.map +1 -0
  723. package/lib/models/index.js +377 -0
  724. package/lib/models/invite-send-bird-group-channel-command.d.ts +25 -0
  725. package/lib/models/invite-send-bird-group-channel-command.d.ts.map +1 -0
  726. package/lib/models/invite-send-bird-group-channel-command.js +15 -0
  727. package/lib/models/jtoken.d.ts +20 -0
  728. package/lib/models/jtoken.d.ts.map +1 -0
  729. package/lib/models/jtoken.js +15 -0
  730. package/lib/models/landing-item-model.d.ts +74 -0
  731. package/lib/models/landing-item-model.d.ts.map +1 -0
  732. package/lib/models/landing-item-model.js +15 -0
  733. package/lib/models/landing-model.d.ts +130 -0
  734. package/lib/models/landing-model.d.ts.map +1 -0
  735. package/lib/models/landing-model.js +15 -0
  736. package/lib/models/landings-model.d.ts +33 -0
  737. package/lib/models/landings-model.d.ts.map +1 -0
  738. package/lib/models/landings-model.js +15 -0
  739. package/lib/models/language-item-model.d.ts +55 -0
  740. package/lib/models/language-item-model.d.ts.map +1 -0
  741. package/lib/models/language-item-model.js +15 -0
  742. package/lib/models/language-model.d.ts +55 -0
  743. package/lib/models/language-model.d.ts.map +1 -0
  744. package/lib/models/language-model.js +15 -0
  745. package/lib/models/languages-model.d.ts +33 -0
  746. package/lib/models/languages-model.d.ts.map +1 -0
  747. package/lib/models/languages-model.js +15 -0
  748. package/lib/models/leaved-group-channels-model.d.ts +37 -0
  749. package/lib/models/leaved-group-channels-model.d.ts.map +1 -0
  750. package/lib/models/leaved-group-channels-model.js +15 -0
  751. package/lib/models/localized-url-model.d.ts +31 -0
  752. package/lib/models/localized-url-model.d.ts.map +1 -0
  753. package/lib/models/localized-url-model.js +15 -0
  754. package/lib/models/location-model.d.ts +67 -0
  755. package/lib/models/location-model.d.ts.map +1 -0
  756. package/lib/models/location-model.js +15 -0
  757. package/lib/models/manager-affiliation-item-model.d.ts +43 -0
  758. package/lib/models/manager-affiliation-item-model.d.ts.map +1 -0
  759. package/lib/models/manager-affiliation-item-model.js +15 -0
  760. package/lib/models/manager-affiliation-model.d.ts +43 -0
  761. package/lib/models/manager-affiliation-model.d.ts.map +1 -0
  762. package/lib/models/manager-affiliation-model.js +15 -0
  763. package/lib/models/manager-affiliations-model.d.ts +33 -0
  764. package/lib/models/manager-affiliations-model.d.ts.map +1 -0
  765. package/lib/models/manager-affiliations-model.js +15 -0
  766. package/lib/models/manager-item-model.d.ts +117 -0
  767. package/lib/models/manager-item-model.d.ts.map +1 -0
  768. package/lib/models/manager-item-model.js +15 -0
  769. package/lib/models/manager-model.d.ts +137 -0
  770. package/lib/models/manager-model.d.ts.map +1 -0
  771. package/lib/models/manager-model.js +15 -0
  772. package/lib/models/managers-model.d.ts +33 -0
  773. package/lib/models/managers-model.d.ts.map +1 -0
  774. package/lib/models/managers-model.js +15 -0
  775. package/lib/models/marketing-type.d.ts +23 -0
  776. package/lib/models/marketing-type.d.ts.map +1 -0
  777. package/lib/models/marketing-type.js +26 -0
  778. package/lib/models/media-model.d.ts +56 -0
  779. package/lib/models/media-model.d.ts.map +1 -0
  780. package/lib/models/media-model.js +15 -0
  781. package/lib/models/media-type.d.ts +27 -0
  782. package/lib/models/media-type.d.ts.map +1 -0
  783. package/lib/models/media-type.js +30 -0
  784. package/lib/models/medias-model.d.ts +33 -0
  785. package/lib/models/medias-model.d.ts.map +1 -0
  786. package/lib/models/medias-model.js +15 -0
  787. package/lib/models/member-model.d.ts +62 -0
  788. package/lib/models/member-model.d.ts.map +1 -0
  789. package/lib/models/member-model.js +15 -0
  790. package/lib/models/members-model.d.ts +33 -0
  791. package/lib/models/members-model.d.ts.map +1 -0
  792. package/lib/models/members-model.js +15 -0
  793. package/lib/models/membership-item-model.d.ts +68 -0
  794. package/lib/models/membership-item-model.d.ts.map +1 -0
  795. package/lib/models/membership-item-model.js +15 -0
  796. package/lib/models/membership-model.d.ts +68 -0
  797. package/lib/models/membership-model.d.ts.map +1 -0
  798. package/lib/models/membership-model.js +15 -0
  799. package/lib/models/memberships-model.d.ts +33 -0
  800. package/lib/models/memberships-model.d.ts.map +1 -0
  801. package/lib/models/memberships-model.js +15 -0
  802. package/lib/models/mention-type.d.ts +22 -0
  803. package/lib/models/mention-type.d.ts.map +1 -0
  804. package/lib/models/mention-type.js +25 -0
  805. package/lib/models/message-type.d.ts +23 -0
  806. package/lib/models/message-type.d.ts.map +1 -0
  807. package/lib/models/message-type.js +26 -0
  808. package/lib/models/metadata.d.ts +37 -0
  809. package/lib/models/metadata.d.ts.map +1 -0
  810. package/lib/models/metadata.js +15 -0
  811. package/lib/models/model-file.d.ts +65 -0
  812. package/lib/models/model-file.d.ts.map +1 -0
  813. package/lib/models/model-file.js +15 -0
  814. package/lib/models/notification-code.d.ts +39 -0
  815. package/lib/models/notification-code.d.ts.map +1 -0
  816. package/lib/models/notification-code.js +42 -0
  817. package/lib/models/notification-model.d.ts +86 -0
  818. package/lib/models/notification-model.d.ts.map +1 -0
  819. package/lib/models/notification-model.js +15 -0
  820. package/lib/models/notifications-model.d.ts +39 -0
  821. package/lib/models/notifications-model.d.ts.map +1 -0
  822. package/lib/models/notifications-model.js +15 -0
  823. package/lib/models/paged-list-meta-data.d.ts +79 -0
  824. package/lib/models/paged-list-meta-data.d.ts.map +1 -0
  825. package/lib/models/paged-list-meta-data.js +15 -0
  826. package/lib/models/patient-item-model.d.ts +118 -0
  827. package/lib/models/patient-item-model.d.ts.map +1 -0
  828. package/lib/models/patient-item-model.js +15 -0
  829. package/lib/models/patient-model.d.ts +144 -0
  830. package/lib/models/patient-model.d.ts.map +1 -0
  831. package/lib/models/patient-model.js +15 -0
  832. package/lib/models/patients-model.d.ts +33 -0
  833. package/lib/models/patients-model.d.ts.map +1 -0
  834. package/lib/models/patients-model.js +15 -0
  835. package/lib/models/plan-hospital-item-model.d.ts +49 -0
  836. package/lib/models/plan-hospital-item-model.d.ts.map +1 -0
  837. package/lib/models/plan-hospital-item-model.js +15 -0
  838. package/lib/models/plan-hospital-model.d.ts +49 -0
  839. package/lib/models/plan-hospital-model.d.ts.map +1 -0
  840. package/lib/models/plan-hospital-model.js +15 -0
  841. package/lib/models/plan-hospitals-model.d.ts +33 -0
  842. package/lib/models/plan-hospitals-model.d.ts.map +1 -0
  843. package/lib/models/plan-hospitals-model.js +15 -0
  844. package/lib/models/plan-item-model.d.ts +68 -0
  845. package/lib/models/plan-item-model.d.ts.map +1 -0
  846. package/lib/models/plan-item-model.js +15 -0
  847. package/lib/models/plan-model.d.ts +68 -0
  848. package/lib/models/plan-model.d.ts.map +1 -0
  849. package/lib/models/plan-model.js +15 -0
  850. package/lib/models/plans-model.d.ts +33 -0
  851. package/lib/models/plans-model.d.ts.map +1 -0
  852. package/lib/models/plans-model.js +15 -0
  853. package/lib/models/platform.d.ts +23 -0
  854. package/lib/models/platform.d.ts.map +1 -0
  855. package/lib/models/platform.js +26 -0
  856. package/lib/models/problem-details.d.ts +50 -0
  857. package/lib/models/problem-details.d.ts.map +1 -0
  858. package/lib/models/problem-details.js +15 -0
  859. package/lib/models/procedure.d.ts +22 -0
  860. package/lib/models/procedure.d.ts.map +1 -0
  861. package/lib/models/procedure.js +25 -0
  862. package/lib/models/recurring-interval.d.ts +24 -0
  863. package/lib/models/recurring-interval.d.ts.map +1 -0
  864. package/lib/models/recurring-interval.js +27 -0
  865. package/lib/models/refund-policy.d.ts +23 -0
  866. package/lib/models/refund-policy.d.ts.map +1 -0
  867. package/lib/models/refund-policy.js +26 -0
  868. package/lib/models/reject-booking-command.d.ts +32 -0
  869. package/lib/models/reject-booking-command.d.ts.map +1 -0
  870. package/lib/models/reject-booking-command.js +15 -0
  871. package/lib/models/reject-consultation-command.d.ts +32 -0
  872. package/lib/models/reject-consultation-command.d.ts.map +1 -0
  873. package/lib/models/reject-consultation-command.js +15 -0
  874. package/lib/models/reject-reason.d.ts +24 -0
  875. package/lib/models/reject-reason.d.ts.map +1 -0
  876. package/lib/models/reject-reason.js +27 -0
  877. package/lib/models/review-type.d.ts +23 -0
  878. package/lib/models/review-type.d.ts.map +1 -0
  879. package/lib/models/review-type.js +26 -0
  880. package/lib/models/save-header-navigation-item-model.d.ts +49 -0
  881. package/lib/models/save-header-navigation-item-model.d.ts.map +1 -0
  882. package/lib/models/save-header-navigation-item-model.js +15 -0
  883. package/lib/models/save-header-navigations-command.d.ts +26 -0
  884. package/lib/models/save-header-navigations-command.d.ts.map +1 -0
  885. package/lib/models/save-header-navigations-command.js +15 -0
  886. package/lib/models/save-hospital-consultation-timetable-override-model.d.ts +43 -0
  887. package/lib/models/save-hospital-consultation-timetable-override-model.d.ts.map +1 -0
  888. package/lib/models/save-hospital-consultation-timetable-override-model.js +15 -0
  889. package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts +26 -0
  890. package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts.map +1 -0
  891. package/lib/models/save-hospital-consultation-timetable-overrides-command.js +15 -0
  892. package/lib/models/search-index-type.d.ts +32 -0
  893. package/lib/models/search-index-type.d.ts.map +1 -0
  894. package/lib/models/search-index-type.js +35 -0
  895. package/lib/models/send-bird-group-channel-member.d.ts +80 -0
  896. package/lib/models/send-bird-group-channel-member.d.ts.map +1 -0
  897. package/lib/models/send-bird-group-channel-member.js +15 -0
  898. package/lib/models/send-bird-group-channel-model.d.ts +142 -0
  899. package/lib/models/send-bird-group-channel-model.d.ts.map +1 -0
  900. package/lib/models/send-bird-group-channel-model.js +15 -0
  901. package/lib/models/send-bird-group-channelr-operator.d.ts +37 -0
  902. package/lib/models/send-bird-group-channelr-operator.d.ts.map +1 -0
  903. package/lib/models/send-bird-group-channelr-operator.js +15 -0
  904. package/lib/models/send-template-version-command.d.ts +25 -0
  905. package/lib/models/send-template-version-command.d.ts.map +1 -0
  906. package/lib/models/send-template-version-command.js +15 -0
  907. package/lib/models/sendbird-response.d.ts +57 -0
  908. package/lib/models/sendbird-response.d.ts.map +1 -0
  909. package/lib/models/sendbird-response.js +15 -0
  910. package/lib/models/service-categories-model.d.ts +33 -0
  911. package/lib/models/service-categories-model.d.ts.map +1 -0
  912. package/lib/models/service-categories-model.js +15 -0
  913. package/lib/models/service-category-item-model.d.ts +55 -0
  914. package/lib/models/service-category-item-model.d.ts.map +1 -0
  915. package/lib/models/service-category-item-model.js +15 -0
  916. package/lib/models/service-category-mapping-model.d.ts +31 -0
  917. package/lib/models/service-category-mapping-model.d.ts.map +1 -0
  918. package/lib/models/service-category-mapping-model.js +15 -0
  919. package/lib/models/service-category-model.d.ts +55 -0
  920. package/lib/models/service-category-model.d.ts.map +1 -0
  921. package/lib/models/service-category-model.js +15 -0
  922. package/lib/models/service-review-item-model.d.ts +124 -0
  923. package/lib/models/service-review-item-model.d.ts.map +1 -0
  924. package/lib/models/service-review-item-model.js +15 -0
  925. package/lib/models/service-review-model.d.ts +142 -0
  926. package/lib/models/service-review-model.d.ts.map +1 -0
  927. package/lib/models/service-review-model.js +15 -0
  928. package/lib/models/service-reviews-model.d.ts +33 -0
  929. package/lib/models/service-reviews-model.d.ts.map +1 -0
  930. package/lib/models/service-reviews-model.js +15 -0
  931. package/lib/models/session-token.d.ts +31 -0
  932. package/lib/models/session-token.d.ts.map +1 -0
  933. package/lib/models/session-token.js +15 -0
  934. package/lib/models/sns-handle-model.d.ts +38 -0
  935. package/lib/models/sns-handle-model.d.ts.map +1 -0
  936. package/lib/models/sns-handle-model.js +15 -0
  937. package/lib/models/sns-type.d.ts +26 -0
  938. package/lib/models/sns-type.d.ts.map +1 -0
  939. package/lib/models/sns-type.js +29 -0
  940. package/lib/models/sorting-order.d.ts +22 -0
  941. package/lib/models/sorting-order.d.ts.map +1 -0
  942. package/lib/models/sorting-order.js +25 -0
  943. package/lib/models/source-model.d.ts +43 -0
  944. package/lib/models/source-model.d.ts.map +1 -0
  945. package/lib/models/source-model.js +15 -0
  946. package/lib/models/specialties-model.d.ts +33 -0
  947. package/lib/models/specialties-model.d.ts.map +1 -0
  948. package/lib/models/specialties-model.js +15 -0
  949. package/lib/models/specialties-simple-model.d.ts +33 -0
  950. package/lib/models/specialties-simple-model.d.ts.map +1 -0
  951. package/lib/models/specialties-simple-model.js +15 -0
  952. package/lib/models/specialty-item-model.d.ts +106 -0
  953. package/lib/models/specialty-item-model.d.ts.map +1 -0
  954. package/lib/models/specialty-item-model.js +15 -0
  955. package/lib/models/specialty-item-simple-model.d.ts +55 -0
  956. package/lib/models/specialty-item-simple-model.d.ts.map +1 -0
  957. package/lib/models/specialty-item-simple-model.js +15 -0
  958. package/lib/models/specialty-model.d.ts +130 -0
  959. package/lib/models/specialty-model.d.ts.map +1 -0
  960. package/lib/models/specialty-model.js +15 -0
  961. package/lib/models/specialty-type-item-model.d.ts +106 -0
  962. package/lib/models/specialty-type-item-model.d.ts.map +1 -0
  963. package/lib/models/specialty-type-item-model.js +15 -0
  964. package/lib/models/specialty-type-model.d.ts +124 -0
  965. package/lib/models/specialty-type-model.d.ts.map +1 -0
  966. package/lib/models/specialty-type-model.js +15 -0
  967. package/lib/models/specialty-type-simple-item-model.d.ts +49 -0
  968. package/lib/models/specialty-type-simple-item-model.d.ts.map +1 -0
  969. package/lib/models/specialty-type-simple-item-model.js +15 -0
  970. package/lib/models/specialty-types-model.d.ts +33 -0
  971. package/lib/models/specialty-types-model.d.ts.map +1 -0
  972. package/lib/models/specialty-types-model.js +15 -0
  973. package/lib/models/specialty-types-simple-model.d.ts +33 -0
  974. package/lib/models/specialty-types-simple-model.d.ts.map +1 -0
  975. package/lib/models/specialty-types-simple-model.js +15 -0
  976. package/lib/models/string-string-ienumerable-key-value-pair.d.ts +31 -0
  977. package/lib/models/string-string-ienumerable-key-value-pair.d.ts.map +1 -0
  978. package/lib/models/string-string-ienumerable-key-value-pair.js +15 -0
  979. package/lib/models/subscription-model.d.ts +37 -0
  980. package/lib/models/subscription-model.d.ts.map +1 -0
  981. package/lib/models/subscription-model.js +15 -0
  982. package/lib/models/survey-form-element-input-model.d.ts +81 -0
  983. package/lib/models/survey-form-element-input-model.d.ts.map +1 -0
  984. package/lib/models/survey-form-element-input-model.js +15 -0
  985. package/lib/models/survey-form-element-model.d.ts +81 -0
  986. package/lib/models/survey-form-element-model.d.ts.map +1 -0
  987. package/lib/models/survey-form-element-model.js +15 -0
  988. package/lib/models/survey-form-element-option-input-model.d.ts +55 -0
  989. package/lib/models/survey-form-element-option-input-model.d.ts.map +1 -0
  990. package/lib/models/survey-form-element-option-input-model.js +15 -0
  991. package/lib/models/survey-form-element-option-model.d.ts +61 -0
  992. package/lib/models/survey-form-element-option-model.d.ts.map +1 -0
  993. package/lib/models/survey-form-element-option-model.js +15 -0
  994. package/lib/models/survey-form-element-types.d.ts +32 -0
  995. package/lib/models/survey-form-element-types.d.ts.map +1 -0
  996. package/lib/models/survey-form-element-types.js +35 -0
  997. package/lib/models/survey-form-item-model.d.ts +63 -0
  998. package/lib/models/survey-form-item-model.d.ts.map +1 -0
  999. package/lib/models/survey-form-item-model.js +15 -0
  1000. package/lib/models/survey-form-model.d.ts +88 -0
  1001. package/lib/models/survey-form-model.d.ts.map +1 -0
  1002. package/lib/models/survey-form-model.js +15 -0
  1003. package/lib/models/survey-form-status.d.ts +22 -0
  1004. package/lib/models/survey-form-status.d.ts.map +1 -0
  1005. package/lib/models/survey-form-status.js +25 -0
  1006. package/lib/models/survey-forms-model.d.ts +33 -0
  1007. package/lib/models/survey-forms-model.d.ts.map +1 -0
  1008. package/lib/models/survey-forms-model.js +15 -0
  1009. package/lib/models/survey-result-element-model.d.ts +38 -0
  1010. package/lib/models/survey-result-element-model.d.ts.map +1 -0
  1011. package/lib/models/survey-result-element-model.js +15 -0
  1012. package/lib/models/survey-result-element-value-model.d.ts +37 -0
  1013. package/lib/models/survey-result-element-value-model.d.ts.map +1 -0
  1014. package/lib/models/survey-result-element-value-model.js +15 -0
  1015. package/lib/models/survey-result-item-model.d.ts +74 -0
  1016. package/lib/models/survey-result-item-model.d.ts.map +1 -0
  1017. package/lib/models/survey-result-item-model.js +15 -0
  1018. package/lib/models/survey-result-model.d.ts +99 -0
  1019. package/lib/models/survey-result-model.d.ts.map +1 -0
  1020. package/lib/models/survey-result-model.js +15 -0
  1021. package/lib/models/survey-result-user-model.d.ts +37 -0
  1022. package/lib/models/survey-result-user-model.d.ts.map +1 -0
  1023. package/lib/models/survey-result-user-model.js +15 -0
  1024. package/lib/models/survey-results-model.d.ts +33 -0
  1025. package/lib/models/survey-results-model.d.ts.map +1 -0
  1026. package/lib/models/survey-results-model.js +15 -0
  1027. package/lib/models/tag-item-model.d.ts +43 -0
  1028. package/lib/models/tag-item-model.d.ts.map +1 -0
  1029. package/lib/models/tag-item-model.js +15 -0
  1030. package/lib/models/tag-model.d.ts +43 -0
  1031. package/lib/models/tag-model.d.ts.map +1 -0
  1032. package/lib/models/tag-model.js +15 -0
  1033. package/lib/models/tags-model.d.ts +33 -0
  1034. package/lib/models/tags-model.d.ts.map +1 -0
  1035. package/lib/models/tags-model.js +15 -0
  1036. package/lib/models/template-version-item-model.d.ts +67 -0
  1037. package/lib/models/template-version-item-model.d.ts.map +1 -0
  1038. package/lib/models/template-version-item-model.js +15 -0
  1039. package/lib/models/template-version-model.d.ts +67 -0
  1040. package/lib/models/template-version-model.d.ts.map +1 -0
  1041. package/lib/models/template-version-model.js +15 -0
  1042. package/lib/models/template-versions-model.d.ts +33 -0
  1043. package/lib/models/template-versions-model.d.ts.map +1 -0
  1044. package/lib/models/template-versions-model.js +15 -0
  1045. package/lib/models/text-message.d.ts +130 -0
  1046. package/lib/models/text-message.d.ts.map +1 -0
  1047. package/lib/models/text-message.js +15 -0
  1048. package/lib/models/translate-all-options.d.ts +23 -0
  1049. package/lib/models/translate-all-options.d.ts.map +1 -0
  1050. package/lib/models/translate-all-options.js +26 -0
  1051. package/lib/models/translate-command.d.ts +43 -0
  1052. package/lib/models/translate-command.d.ts.map +1 -0
  1053. package/lib/models/translate-command.js +15 -0
  1054. package/lib/models/translate-doctor-affiliation-command.d.ts +38 -0
  1055. package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -0
  1056. package/lib/models/translate-doctor-affiliation-command.js +15 -0
  1057. package/lib/models/translate-hospital-command.d.ts +38 -0
  1058. package/lib/models/translate-hospital-command.d.ts.map +1 -0
  1059. package/lib/models/translate-hospital-command.js +15 -0
  1060. package/lib/models/update-about-us-page-command.d.ts +98 -0
  1061. package/lib/models/update-about-us-page-command.d.ts.map +1 -0
  1062. package/lib/models/update-about-us-page-command.js +15 -0
  1063. package/lib/models/update-accreditation-command.d.ts +37 -0
  1064. package/lib/models/update-accreditation-command.d.ts.map +1 -0
  1065. package/lib/models/update-accreditation-command.js +15 -0
  1066. package/lib/models/update-app-version-command.d.ts +37 -0
  1067. package/lib/models/update-app-version-command.d.ts.map +1 -0
  1068. package/lib/models/update-app-version-command.js +15 -0
  1069. package/lib/models/update-article-command.d.ts +131 -0
  1070. package/lib/models/update-article-command.d.ts.map +1 -0
  1071. package/lib/models/update-article-command.js +15 -0
  1072. package/lib/models/update-article-contributor-command.d.ts +38 -0
  1073. package/lib/models/update-article-contributor-command.d.ts.map +1 -0
  1074. package/lib/models/update-article-contributor-command.js +15 -0
  1075. package/lib/models/update-article-source-command.d.ts +37 -0
  1076. package/lib/models/update-article-source-command.d.ts.map +1 -0
  1077. package/lib/models/update-article-source-command.js +15 -0
  1078. package/lib/models/update-chadmin-command.d.ts +86 -0
  1079. package/lib/models/update-chadmin-command.d.ts.map +1 -0
  1080. package/lib/models/update-chadmin-command.js +15 -0
  1081. package/lib/models/update-chat-user-command.d.ts +43 -0
  1082. package/lib/models/update-chat-user-command.d.ts.map +1 -0
  1083. package/lib/models/update-chat-user-command.js +15 -0
  1084. package/lib/models/update-chmanager-command.d.ts +86 -0
  1085. package/lib/models/update-chmanager-command.d.ts.map +1 -0
  1086. package/lib/models/update-chmanager-command.js +15 -0
  1087. package/lib/models/update-contributor-command.d.ts +79 -0
  1088. package/lib/models/update-contributor-command.d.ts.map +1 -0
  1089. package/lib/models/update-contributor-command.js +15 -0
  1090. package/lib/models/update-contributor-sns-handle-command.d.ts +32 -0
  1091. package/lib/models/update-contributor-sns-handle-command.d.ts.map +1 -0
  1092. package/lib/models/update-contributor-sns-handle-command.js +15 -0
  1093. package/lib/models/update-country-command.d.ts +74 -0
  1094. package/lib/models/update-country-command.d.ts.map +1 -0
  1095. package/lib/models/update-country-command.js +15 -0
  1096. package/lib/models/update-deal-command.d.ts +80 -0
  1097. package/lib/models/update-deal-command.d.ts.map +1 -0
  1098. package/lib/models/update-deal-command.js +15 -0
  1099. package/lib/models/update-deal-package-command.d.ts +56 -0
  1100. package/lib/models/update-deal-package-command.d.ts.map +1 -0
  1101. package/lib/models/update-deal-package-command.js +15 -0
  1102. package/lib/models/update-deal-service-command.d.ts +25 -0
  1103. package/lib/models/update-deal-service-command.d.ts.map +1 -0
  1104. package/lib/models/update-deal-service-command.js +15 -0
  1105. package/lib/models/update-doctor-affiliation-command.d.ts +116 -0
  1106. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -0
  1107. package/lib/models/update-doctor-affiliation-command.js +15 -0
  1108. package/lib/models/update-doctor-certificate-command.d.ts +37 -0
  1109. package/lib/models/update-doctor-certificate-command.d.ts.map +1 -0
  1110. package/lib/models/update-doctor-certificate-command.js +15 -0
  1111. package/lib/models/update-doctor-command.d.ts +86 -0
  1112. package/lib/models/update-doctor-command.d.ts.map +1 -0
  1113. package/lib/models/update-doctor-command.js +15 -0
  1114. package/lib/models/update-doctor-education-command.d.ts +37 -0
  1115. package/lib/models/update-doctor-education-command.d.ts.map +1 -0
  1116. package/lib/models/update-doctor-education-command.js +15 -0
  1117. package/lib/models/update-doctor-language-command.d.ts +31 -0
  1118. package/lib/models/update-doctor-language-command.d.ts.map +1 -0
  1119. package/lib/models/update-doctor-language-command.js +15 -0
  1120. package/lib/models/update-doctor-portfolio-command.d.ts +55 -0
  1121. package/lib/models/update-doctor-portfolio-command.d.ts.map +1 -0
  1122. package/lib/models/update-doctor-portfolio-command.js +15 -0
  1123. package/lib/models/update-doctor-specialty-command.d.ts +25 -0
  1124. package/lib/models/update-doctor-specialty-command.d.ts.map +1 -0
  1125. package/lib/models/update-doctor-specialty-command.js +15 -0
  1126. package/lib/models/update-faq-category-command.d.ts +61 -0
  1127. package/lib/models/update-faq-category-command.d.ts.map +1 -0
  1128. package/lib/models/update-faq-category-command.js +15 -0
  1129. package/lib/models/update-faq-command.d.ts +87 -0
  1130. package/lib/models/update-faq-command.d.ts.map +1 -0
  1131. package/lib/models/update-faq-command.js +15 -0
  1132. package/lib/models/update-hospital-command.d.ts +172 -0
  1133. package/lib/models/update-hospital-command.d.ts.map +1 -0
  1134. package/lib/models/update-hospital-command.js +15 -0
  1135. package/lib/models/update-hospital-consultation-timetable-command.d.ts +38 -0
  1136. package/lib/models/update-hospital-consultation-timetable-command.d.ts.map +1 -0
  1137. package/lib/models/update-hospital-consultation-timetable-command.js +15 -0
  1138. package/lib/models/update-hospital-equipment-command.d.ts +45 -0
  1139. package/lib/models/update-hospital-equipment-command.d.ts.map +1 -0
  1140. package/lib/models/update-hospital-equipment-command.js +15 -0
  1141. package/lib/models/update-hospital-language-command.d.ts +31 -0
  1142. package/lib/models/update-hospital-language-command.d.ts.map +1 -0
  1143. package/lib/models/update-hospital-language-command.js +15 -0
  1144. package/lib/models/update-hospital-service-command.d.ts +117 -0
  1145. package/lib/models/update-hospital-service-command.d.ts.map +1 -0
  1146. package/lib/models/update-hospital-service-command.js +15 -0
  1147. package/lib/models/update-hospital-sns-handle-command.d.ts +32 -0
  1148. package/lib/models/update-hospital-sns-handle-command.d.ts.map +1 -0
  1149. package/lib/models/update-hospital-sns-handle-command.js +15 -0
  1150. package/lib/models/update-hospital-specialty-command.d.ts +98 -0
  1151. package/lib/models/update-hospital-specialty-command.d.ts.map +1 -0
  1152. package/lib/models/update-hospital-specialty-command.js +15 -0
  1153. package/lib/models/update-hospital-working-day-command.d.ts +43 -0
  1154. package/lib/models/update-hospital-working-day-command.d.ts.map +1 -0
  1155. package/lib/models/update-hospital-working-day-command.js +15 -0
  1156. package/lib/models/update-landing-command.d.ts +86 -0
  1157. package/lib/models/update-landing-command.d.ts.map +1 -0
  1158. package/lib/models/update-landing-command.js +15 -0
  1159. package/lib/models/update-language-command.d.ts +49 -0
  1160. package/lib/models/update-language-command.d.ts.map +1 -0
  1161. package/lib/models/update-language-command.js +15 -0
  1162. package/lib/models/update-manager-command.d.ts +92 -0
  1163. package/lib/models/update-manager-command.d.ts.map +1 -0
  1164. package/lib/models/update-manager-command.js +15 -0
  1165. package/lib/models/update-media-command.d.ts +50 -0
  1166. package/lib/models/update-media-command.d.ts.map +1 -0
  1167. package/lib/models/update-media-command.js +15 -0
  1168. package/lib/models/update-patient-command.d.ts +86 -0
  1169. package/lib/models/update-patient-command.d.ts.map +1 -0
  1170. package/lib/models/update-patient-command.js +15 -0
  1171. package/lib/models/update-plan-command.d.ts +56 -0
  1172. package/lib/models/update-plan-command.d.ts.map +1 -0
  1173. package/lib/models/update-plan-command.js +15 -0
  1174. package/lib/models/update-plan-hospital-command.d.ts +25 -0
  1175. package/lib/models/update-plan-hospital-command.d.ts.map +1 -0
  1176. package/lib/models/update-plan-hospital-command.js +15 -0
  1177. package/lib/models/update-profile-command.d.ts +88 -0
  1178. package/lib/models/update-profile-command.d.ts.map +1 -0
  1179. package/lib/models/update-profile-command.js +15 -0
  1180. package/lib/models/update-service-category-command.d.ts +37 -0
  1181. package/lib/models/update-service-category-command.d.ts.map +1 -0
  1182. package/lib/models/update-service-category-command.js +15 -0
  1183. package/lib/models/update-service-review-command.d.ts +67 -0
  1184. package/lib/models/update-service-review-command.d.ts.map +1 -0
  1185. package/lib/models/update-service-review-command.js +15 -0
  1186. package/lib/models/update-specialty-command.d.ts +98 -0
  1187. package/lib/models/update-specialty-command.d.ts.map +1 -0
  1188. package/lib/models/update-specialty-command.js +15 -0
  1189. package/lib/models/update-specialty-type-command.d.ts +99 -0
  1190. package/lib/models/update-specialty-type-command.d.ts.map +1 -0
  1191. package/lib/models/update-specialty-type-command.js +15 -0
  1192. package/lib/models/update-survey-form-command.d.ts +69 -0
  1193. package/lib/models/update-survey-form-command.d.ts.map +1 -0
  1194. package/lib/models/update-survey-form-command.js +15 -0
  1195. package/lib/models/update-template-version-command.d.ts +37 -0
  1196. package/lib/models/update-template-version-command.d.ts.map +1 -0
  1197. package/lib/models/update-template-version-command.js +15 -0
  1198. package/lib/models/user-language-model.d.ts +55 -0
  1199. package/lib/models/user-language-model.d.ts.map +1 -0
  1200. package/lib/models/user-language-model.js +15 -0
  1201. package/lib/models/user-location-model.d.ts +74 -0
  1202. package/lib/models/user-location-model.d.ts.map +1 -0
  1203. package/lib/models/user-location-model.js +15 -0
  1204. package/lib/models/user-location-type.d.ts +22 -0
  1205. package/lib/models/user-location-type.d.ts.map +1 -0
  1206. package/lib/models/user-location-type.js +25 -0
  1207. package/lib/models/user-model.d.ts +131 -0
  1208. package/lib/models/user-model.d.ts.map +1 -0
  1209. package/lib/models/user-model.js +15 -0
  1210. package/lib/models/user.d.ts +116 -0
  1211. package/lib/models/user.d.ts.map +1 -0
  1212. package/lib/models/user.js +15 -0
  1213. package/lib/models/working-day-item-model.d.ts +49 -0
  1214. package/lib/models/working-day-item-model.d.ts.map +1 -0
  1215. package/lib/models/working-day-item-model.js +15 -0
  1216. package/lib/models/working-day-model.d.ts +49 -0
  1217. package/lib/models/working-day-model.d.ts.map +1 -0
  1218. package/lib/models/working-day-model.js +15 -0
  1219. package/lib/models/working-days-model.d.ts +33 -0
  1220. package/lib/models/working-days-model.d.ts.map +1 -0
  1221. package/lib/models/working-days-model.js +15 -0
  1222. package/openapitools.json +6 -1
  1223. package/package.json +1 -1
@@ -0,0 +1,2103 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * DealsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var DealsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Delete deal.
98
+ * @param {string} dealId
99
+ * @param {boolean} [isPermanent]
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
106
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
109
+ case 0:
110
+ // verify required parameter 'dealId' is not null or undefined
111
+ (0, common_1.assertParamExists)('apiV1DealsDealIdDelete', 'dealId', dealId);
112
+ localVarPath = "/api/v1/deals/{dealId}"
113
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
114
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
+ if (configuration) {
116
+ baseOptions = configuration.baseOptions;
117
+ }
118
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
119
+ localVarHeaderParameter = {};
120
+ localVarQueryParameter = {};
121
+ // authentication oauth2 required
122
+ // oauth required
123
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
124
+ case 1:
125
+ // authentication oauth2 required
126
+ // oauth required
127
+ _a.sent();
128
+ if (isPermanent !== undefined) {
129
+ localVarQueryParameter['isPermanent'] = isPermanent;
130
+ }
131
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
+ return [2 /*return*/, {
135
+ url: (0, common_1.toPathString)(localVarUrlObj),
136
+ options: localVarRequestOptions,
137
+ }];
138
+ }
139
+ });
140
+ });
141
+ },
142
+ /**
143
+ *
144
+ * @summary Get deal.
145
+ * @param {string} dealId
146
+ * @param {string} [languageCode]
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ apiV1DealsDealIdGet: function (dealId, languageCode, options) {
151
+ if (options === void 0) { options = {}; }
152
+ return __awaiter(_this, void 0, void 0, function () {
153
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
154
+ return __generator(this, function (_a) {
155
+ switch (_a.label) {
156
+ case 0:
157
+ // verify required parameter 'dealId' is not null or undefined
158
+ (0, common_1.assertParamExists)('apiV1DealsDealIdGet', 'dealId', dealId);
159
+ localVarPath = "/api/v1/deals/{dealId}"
160
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
161
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
162
+ if (configuration) {
163
+ baseOptions = configuration.baseOptions;
164
+ }
165
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
166
+ localVarHeaderParameter = {};
167
+ localVarQueryParameter = {};
168
+ // authentication oauth2 required
169
+ // oauth required
170
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
171
+ case 1:
172
+ // authentication oauth2 required
173
+ // oauth required
174
+ _a.sent();
175
+ if (languageCode !== undefined) {
176
+ localVarQueryParameter['languageCode'] = languageCode;
177
+ }
178
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
179
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
181
+ return [2 /*return*/, {
182
+ url: (0, common_1.toPathString)(localVarUrlObj),
183
+ options: localVarRequestOptions,
184
+ }];
185
+ }
186
+ });
187
+ });
188
+ },
189
+ /**
190
+ *
191
+ * @summary Get all DealPackage.
192
+ * @param {string} dealId
193
+ * @param {string} [relatedDealPackageId]
194
+ * @param {string} [dealName]
195
+ * @param {string} [name]
196
+ * @param {string} [countryId]
197
+ * @param {string} [hospitalId]
198
+ * @param {string} [hospitalName]
199
+ * @param {string} [languageCode]
200
+ * @param {boolean} [showHidden]
201
+ * @param {number} [page]
202
+ * @param {number} [limit]
203
+ * @param {Date} [lastRetrieved]
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
208
+ if (options === void 0) { options = {}; }
209
+ return __awaiter(_this, void 0, void 0, function () {
210
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
211
+ return __generator(this, function (_a) {
212
+ switch (_a.label) {
213
+ case 0:
214
+ // verify required parameter 'dealId' is not null or undefined
215
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesGet', 'dealId', dealId);
216
+ localVarPath = "/api/v1/deals/{dealId}/packages"
217
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
218
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
219
+ if (configuration) {
220
+ baseOptions = configuration.baseOptions;
221
+ }
222
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
223
+ localVarHeaderParameter = {};
224
+ localVarQueryParameter = {};
225
+ // authentication oauth2 required
226
+ // oauth required
227
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
228
+ case 1:
229
+ // authentication oauth2 required
230
+ // oauth required
231
+ _a.sent();
232
+ if (relatedDealPackageId !== undefined) {
233
+ localVarQueryParameter['RelatedDealPackageId'] = relatedDealPackageId;
234
+ }
235
+ if (dealName !== undefined) {
236
+ localVarQueryParameter['DealName'] = dealName;
237
+ }
238
+ if (name !== undefined) {
239
+ localVarQueryParameter['Name'] = name;
240
+ }
241
+ if (countryId !== undefined) {
242
+ localVarQueryParameter['CountryId'] = countryId;
243
+ }
244
+ if (hospitalId !== undefined) {
245
+ localVarQueryParameter['HospitalId'] = hospitalId;
246
+ }
247
+ if (hospitalName !== undefined) {
248
+ localVarQueryParameter['HospitalName'] = hospitalName;
249
+ }
250
+ if (languageCode !== undefined) {
251
+ localVarQueryParameter['LanguageCode'] = languageCode;
252
+ }
253
+ if (showHidden !== undefined) {
254
+ localVarQueryParameter['ShowHidden'] = showHidden;
255
+ }
256
+ if (page !== undefined) {
257
+ localVarQueryParameter['page'] = page;
258
+ }
259
+ if (limit !== undefined) {
260
+ localVarQueryParameter['limit'] = limit;
261
+ }
262
+ if (lastRetrieved !== undefined) {
263
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
264
+ lastRetrieved.toISOString() :
265
+ lastRetrieved;
266
+ }
267
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
268
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
270
+ return [2 /*return*/, {
271
+ url: (0, common_1.toPathString)(localVarUrlObj),
272
+ options: localVarRequestOptions,
273
+ }];
274
+ }
275
+ });
276
+ });
277
+ },
278
+ /**
279
+ *
280
+ * @summary Delete DealPackage.
281
+ * @param {string} dealId
282
+ * @param {string} packageId
283
+ * @param {boolean} [isPermanent]
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
288
+ if (options === void 0) { options = {}; }
289
+ return __awaiter(_this, void 0, void 0, function () {
290
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
291
+ return __generator(this, function (_a) {
292
+ switch (_a.label) {
293
+ case 0:
294
+ // verify required parameter 'dealId' is not null or undefined
295
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdDelete', 'dealId', dealId);
296
+ // verify required parameter 'packageId' is not null or undefined
297
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdDelete', 'packageId', packageId);
298
+ localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}"
299
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
300
+ .replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
301
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
302
+ if (configuration) {
303
+ baseOptions = configuration.baseOptions;
304
+ }
305
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
306
+ localVarHeaderParameter = {};
307
+ localVarQueryParameter = {};
308
+ // authentication oauth2 required
309
+ // oauth required
310
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
311
+ case 1:
312
+ // authentication oauth2 required
313
+ // oauth required
314
+ _a.sent();
315
+ if (isPermanent !== undefined) {
316
+ localVarQueryParameter['isPermanent'] = isPermanent;
317
+ }
318
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
319
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
320
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
321
+ return [2 /*return*/, {
322
+ url: (0, common_1.toPathString)(localVarUrlObj),
323
+ options: localVarRequestOptions,
324
+ }];
325
+ }
326
+ });
327
+ });
328
+ },
329
+ /**
330
+ *
331
+ * @summary Get DealPackage.
332
+ * @param {string} dealId
333
+ * @param {string} packageId
334
+ * @param {string} [languageCode]
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
339
+ if (options === void 0) { options = {}; }
340
+ return __awaiter(_this, void 0, void 0, function () {
341
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
342
+ return __generator(this, function (_a) {
343
+ switch (_a.label) {
344
+ case 0:
345
+ // verify required parameter 'dealId' is not null or undefined
346
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdGet', 'dealId', dealId);
347
+ // verify required parameter 'packageId' is not null or undefined
348
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdGet', 'packageId', packageId);
349
+ localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}"
350
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
351
+ .replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
352
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
353
+ if (configuration) {
354
+ baseOptions = configuration.baseOptions;
355
+ }
356
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
357
+ localVarHeaderParameter = {};
358
+ localVarQueryParameter = {};
359
+ // authentication oauth2 required
360
+ // oauth required
361
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
362
+ case 1:
363
+ // authentication oauth2 required
364
+ // oauth required
365
+ _a.sent();
366
+ if (languageCode !== undefined) {
367
+ localVarQueryParameter['languageCode'] = languageCode;
368
+ }
369
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
370
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
371
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
372
+ return [2 /*return*/, {
373
+ url: (0, common_1.toPathString)(localVarUrlObj),
374
+ options: localVarRequestOptions,
375
+ }];
376
+ }
377
+ });
378
+ });
379
+ },
380
+ /**
381
+ *
382
+ * @summary Update DealPackage.
383
+ * @param {string} dealId
384
+ * @param {string} packageId
385
+ * @param {UpdateDealPackageCommand} [updateDealPackageCommand]
386
+ * @param {*} [options] Override http request option.
387
+ * @throws {RequiredError}
388
+ */
389
+ apiV1DealsDealIdPackagesPackageIdPut: function (dealId, packageId, updateDealPackageCommand, options) {
390
+ if (options === void 0) { options = {}; }
391
+ return __awaiter(_this, void 0, void 0, function () {
392
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
393
+ return __generator(this, function (_a) {
394
+ switch (_a.label) {
395
+ case 0:
396
+ // verify required parameter 'dealId' is not null or undefined
397
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdPut', 'dealId', dealId);
398
+ // verify required parameter 'packageId' is not null or undefined
399
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdPut', 'packageId', packageId);
400
+ localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}"
401
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
402
+ .replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
403
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
404
+ if (configuration) {
405
+ baseOptions = configuration.baseOptions;
406
+ }
407
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
408
+ localVarHeaderParameter = {};
409
+ localVarQueryParameter = {};
410
+ // authentication oauth2 required
411
+ // oauth required
412
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
413
+ case 1:
414
+ // authentication oauth2 required
415
+ // oauth required
416
+ _a.sent();
417
+ localVarHeaderParameter['Content-Type'] = 'application/json';
418
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
419
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
420
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
421
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDealPackageCommand, localVarRequestOptions, configuration);
422
+ return [2 /*return*/, {
423
+ url: (0, common_1.toPathString)(localVarUrlObj),
424
+ options: localVarRequestOptions,
425
+ }];
426
+ }
427
+ });
428
+ });
429
+ },
430
+ /**
431
+ *
432
+ * @summary Create DealPackage.
433
+ * @param {string} dealId
434
+ * @param {CreateDealPackageCommand} [createDealPackageCommand]
435
+ * @param {*} [options] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ apiV1DealsDealIdPackagesPost: function (dealId, createDealPackageCommand, options) {
439
+ if (options === void 0) { options = {}; }
440
+ return __awaiter(_this, void 0, void 0, function () {
441
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
442
+ return __generator(this, function (_a) {
443
+ switch (_a.label) {
444
+ case 0:
445
+ // verify required parameter 'dealId' is not null or undefined
446
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPost', 'dealId', dealId);
447
+ localVarPath = "/api/v1/deals/{dealId}/packages"
448
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
449
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
450
+ if (configuration) {
451
+ baseOptions = configuration.baseOptions;
452
+ }
453
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
454
+ localVarHeaderParameter = {};
455
+ localVarQueryParameter = {};
456
+ // authentication oauth2 required
457
+ // oauth required
458
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
459
+ case 1:
460
+ // authentication oauth2 required
461
+ // oauth required
462
+ _a.sent();
463
+ localVarHeaderParameter['Content-Type'] = 'application/json';
464
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
465
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
466
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
467
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDealPackageCommand, localVarRequestOptions, configuration);
468
+ return [2 /*return*/, {
469
+ url: (0, common_1.toPathString)(localVarUrlObj),
470
+ options: localVarRequestOptions,
471
+ }];
472
+ }
473
+ });
474
+ });
475
+ },
476
+ /**
477
+ *
478
+ * @summary Update deal.
479
+ * @param {string} dealId
480
+ * @param {UpdateDealCommand} [updateDealCommand]
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ apiV1DealsDealIdPut: function (dealId, updateDealCommand, options) {
485
+ if (options === void 0) { options = {}; }
486
+ return __awaiter(_this, void 0, void 0, function () {
487
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
488
+ return __generator(this, function (_a) {
489
+ switch (_a.label) {
490
+ case 0:
491
+ // verify required parameter 'dealId' is not null or undefined
492
+ (0, common_1.assertParamExists)('apiV1DealsDealIdPut', 'dealId', dealId);
493
+ localVarPath = "/api/v1/deals/{dealId}"
494
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
495
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
496
+ if (configuration) {
497
+ baseOptions = configuration.baseOptions;
498
+ }
499
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
500
+ localVarHeaderParameter = {};
501
+ localVarQueryParameter = {};
502
+ // authentication oauth2 required
503
+ // oauth required
504
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
505
+ case 1:
506
+ // authentication oauth2 required
507
+ // oauth required
508
+ _a.sent();
509
+ localVarHeaderParameter['Content-Type'] = 'application/json';
510
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
511
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
512
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
513
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDealCommand, localVarRequestOptions, configuration);
514
+ return [2 /*return*/, {
515
+ url: (0, common_1.toPathString)(localVarUrlObj),
516
+ options: localVarRequestOptions,
517
+ }];
518
+ }
519
+ });
520
+ });
521
+ },
522
+ /**
523
+ *
524
+ * @summary Get all DealService.
525
+ * @param {string} dealId
526
+ * @param {string} [languageCode]
527
+ * @param {number} [page]
528
+ * @param {number} [limit]
529
+ * @param {Date} [lastRetrieved]
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
534
+ if (options === void 0) { options = {}; }
535
+ return __awaiter(_this, void 0, void 0, function () {
536
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
537
+ return __generator(this, function (_a) {
538
+ switch (_a.label) {
539
+ case 0:
540
+ // verify required parameter 'dealId' is not null or undefined
541
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesGet', 'dealId', dealId);
542
+ localVarPath = "/api/v1/deals/{dealId}/services"
543
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
544
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
545
+ if (configuration) {
546
+ baseOptions = configuration.baseOptions;
547
+ }
548
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
549
+ localVarHeaderParameter = {};
550
+ localVarQueryParameter = {};
551
+ // authentication oauth2 required
552
+ // oauth required
553
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
554
+ case 1:
555
+ // authentication oauth2 required
556
+ // oauth required
557
+ _a.sent();
558
+ if (languageCode !== undefined) {
559
+ localVarQueryParameter['LanguageCode'] = languageCode;
560
+ }
561
+ if (page !== undefined) {
562
+ localVarQueryParameter['page'] = page;
563
+ }
564
+ if (limit !== undefined) {
565
+ localVarQueryParameter['limit'] = limit;
566
+ }
567
+ if (lastRetrieved !== undefined) {
568
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
569
+ lastRetrieved.toISOString() :
570
+ lastRetrieved;
571
+ }
572
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
573
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
574
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
575
+ return [2 /*return*/, {
576
+ url: (0, common_1.toPathString)(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ }];
579
+ }
580
+ });
581
+ });
582
+ },
583
+ /**
584
+ *
585
+ * @summary Create DealService.
586
+ * @param {string} dealId
587
+ * @param {CreateDealServiceCommand} [createDealServiceCommand]
588
+ * @param {*} [options] Override http request option.
589
+ * @throws {RequiredError}
590
+ */
591
+ apiV1DealsDealIdServicesPost: function (dealId, createDealServiceCommand, options) {
592
+ if (options === void 0) { options = {}; }
593
+ return __awaiter(_this, void 0, void 0, function () {
594
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
595
+ return __generator(this, function (_a) {
596
+ switch (_a.label) {
597
+ case 0:
598
+ // verify required parameter 'dealId' is not null or undefined
599
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesPost', 'dealId', dealId);
600
+ localVarPath = "/api/v1/deals/{dealId}/services"
601
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
602
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
603
+ if (configuration) {
604
+ baseOptions = configuration.baseOptions;
605
+ }
606
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
607
+ localVarHeaderParameter = {};
608
+ localVarQueryParameter = {};
609
+ // authentication oauth2 required
610
+ // oauth required
611
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
612
+ case 1:
613
+ // authentication oauth2 required
614
+ // oauth required
615
+ _a.sent();
616
+ localVarHeaderParameter['Content-Type'] = 'application/json';
617
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
618
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
619
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
620
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDealServiceCommand, localVarRequestOptions, configuration);
621
+ return [2 /*return*/, {
622
+ url: (0, common_1.toPathString)(localVarUrlObj),
623
+ options: localVarRequestOptions,
624
+ }];
625
+ }
626
+ });
627
+ });
628
+ },
629
+ /**
630
+ *
631
+ * @summary Delete DealService.
632
+ * @param {string} dealId
633
+ * @param {string} serviceId
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ */
637
+ apiV1DealsDealIdServicesServiceIdDelete: function (dealId, serviceId, options) {
638
+ if (options === void 0) { options = {}; }
639
+ return __awaiter(_this, void 0, void 0, function () {
640
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
641
+ return __generator(this, function (_a) {
642
+ switch (_a.label) {
643
+ case 0:
644
+ // verify required parameter 'dealId' is not null or undefined
645
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdDelete', 'dealId', dealId);
646
+ // verify required parameter 'serviceId' is not null or undefined
647
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdDelete', 'serviceId', serviceId);
648
+ localVarPath = "/api/v1/deals/{dealId}/services/{serviceId}"
649
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
650
+ .replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
651
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
652
+ if (configuration) {
653
+ baseOptions = configuration.baseOptions;
654
+ }
655
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
656
+ localVarHeaderParameter = {};
657
+ localVarQueryParameter = {};
658
+ // authentication oauth2 required
659
+ // oauth required
660
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
661
+ case 1:
662
+ // authentication oauth2 required
663
+ // oauth required
664
+ _a.sent();
665
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
666
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
667
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
668
+ return [2 /*return*/, {
669
+ url: (0, common_1.toPathString)(localVarUrlObj),
670
+ options: localVarRequestOptions,
671
+ }];
672
+ }
673
+ });
674
+ });
675
+ },
676
+ /**
677
+ *
678
+ * @summary Get DealService.
679
+ * @param {string} dealId
680
+ * @param {string} serviceId
681
+ * @param {string} [languageCode]
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
686
+ if (options === void 0) { options = {}; }
687
+ return __awaiter(_this, void 0, void 0, function () {
688
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
689
+ return __generator(this, function (_a) {
690
+ switch (_a.label) {
691
+ case 0:
692
+ // verify required parameter 'dealId' is not null or undefined
693
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdGet', 'dealId', dealId);
694
+ // verify required parameter 'serviceId' is not null or undefined
695
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdGet', 'serviceId', serviceId);
696
+ localVarPath = "/api/v1/deals/{dealId}/services/{serviceId}"
697
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
698
+ .replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
699
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
700
+ if (configuration) {
701
+ baseOptions = configuration.baseOptions;
702
+ }
703
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
704
+ localVarHeaderParameter = {};
705
+ localVarQueryParameter = {};
706
+ // authentication oauth2 required
707
+ // oauth required
708
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
709
+ case 1:
710
+ // authentication oauth2 required
711
+ // oauth required
712
+ _a.sent();
713
+ if (languageCode !== undefined) {
714
+ localVarQueryParameter['languageCode'] = languageCode;
715
+ }
716
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
717
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
718
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
719
+ return [2 /*return*/, {
720
+ url: (0, common_1.toPathString)(localVarUrlObj),
721
+ options: localVarRequestOptions,
722
+ }];
723
+ }
724
+ });
725
+ });
726
+ },
727
+ /**
728
+ *
729
+ * @summary Update DealService.
730
+ * @param {string} dealId
731
+ * @param {string} serviceId
732
+ * @param {UpdateDealServiceCommand} [updateDealServiceCommand]
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ */
736
+ apiV1DealsDealIdServicesServiceIdPut: function (dealId, serviceId, updateDealServiceCommand, options) {
737
+ if (options === void 0) { options = {}; }
738
+ return __awaiter(_this, void 0, void 0, function () {
739
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
740
+ return __generator(this, function (_a) {
741
+ switch (_a.label) {
742
+ case 0:
743
+ // verify required parameter 'dealId' is not null or undefined
744
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdPut', 'dealId', dealId);
745
+ // verify required parameter 'serviceId' is not null or undefined
746
+ (0, common_1.assertParamExists)('apiV1DealsDealIdServicesServiceIdPut', 'serviceId', serviceId);
747
+ localVarPath = "/api/v1/deals/{dealId}/services/{serviceId}"
748
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
749
+ .replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
750
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
751
+ if (configuration) {
752
+ baseOptions = configuration.baseOptions;
753
+ }
754
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
755
+ localVarHeaderParameter = {};
756
+ localVarQueryParameter = {};
757
+ // authentication oauth2 required
758
+ // oauth required
759
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
760
+ case 1:
761
+ // authentication oauth2 required
762
+ // oauth required
763
+ _a.sent();
764
+ localVarHeaderParameter['Content-Type'] = 'application/json';
765
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
766
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
767
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
768
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDealServiceCommand, localVarRequestOptions, configuration);
769
+ return [2 /*return*/, {
770
+ url: (0, common_1.toPathString)(localVarUrlObj),
771
+ options: localVarRequestOptions,
772
+ }];
773
+ }
774
+ });
775
+ });
776
+ },
777
+ /**
778
+ *
779
+ * @summary Get all deals.
780
+ * @param {string} [id]
781
+ * @param {string} [name]
782
+ * @param {MarketingType} [marketingType]
783
+ * @param {string} [countryId]
784
+ * @param {string} [hospitalId]
785
+ * @param {string} [hospitalName]
786
+ * @param {string} [specialtyId]
787
+ * @param {string} [specialtyName]
788
+ * @param {string} [specialtyTypeId]
789
+ * @param {string} [specialtyTypeName]
790
+ * @param {string} [serviceId]
791
+ * @param {string} [serviceName]
792
+ * @param {string} [exceptHospitalId]
793
+ * @param {string} [exceptDealId]
794
+ * @param {Array<string>} [ids]
795
+ * @param {number} [serviceDuration]
796
+ * @param {string} [languageCode]
797
+ * @param {boolean} [showHidden]
798
+ * @param {boolean} [returnDefaultValue]
799
+ * @param {number} [page]
800
+ * @param {number} [limit]
801
+ * @param {Date} [lastRetrieved]
802
+ * @param {*} [options] Override http request option.
803
+ * @throws {RequiredError}
804
+ */
805
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
806
+ if (options === void 0) { options = {}; }
807
+ return __awaiter(_this, void 0, void 0, function () {
808
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
809
+ return __generator(this, function (_a) {
810
+ switch (_a.label) {
811
+ case 0:
812
+ localVarPath = "/api/v1/deals";
813
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
814
+ if (configuration) {
815
+ baseOptions = configuration.baseOptions;
816
+ }
817
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
818
+ localVarHeaderParameter = {};
819
+ localVarQueryParameter = {};
820
+ // authentication oauth2 required
821
+ // oauth required
822
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
823
+ case 1:
824
+ // authentication oauth2 required
825
+ // oauth required
826
+ _a.sent();
827
+ if (id !== undefined) {
828
+ localVarQueryParameter['Id'] = id;
829
+ }
830
+ if (name !== undefined) {
831
+ localVarQueryParameter['Name'] = name;
832
+ }
833
+ if (marketingType !== undefined) {
834
+ localVarQueryParameter['MarketingType'] = marketingType;
835
+ }
836
+ if (countryId !== undefined) {
837
+ localVarQueryParameter['CountryId'] = countryId;
838
+ }
839
+ if (hospitalId !== undefined) {
840
+ localVarQueryParameter['HospitalId'] = hospitalId;
841
+ }
842
+ if (hospitalName !== undefined) {
843
+ localVarQueryParameter['HospitalName'] = hospitalName;
844
+ }
845
+ if (specialtyId !== undefined) {
846
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
847
+ }
848
+ if (specialtyName !== undefined) {
849
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
850
+ }
851
+ if (specialtyTypeId !== undefined) {
852
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
853
+ }
854
+ if (specialtyTypeName !== undefined) {
855
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
856
+ }
857
+ if (serviceId !== undefined) {
858
+ localVarQueryParameter['ServiceId'] = serviceId;
859
+ }
860
+ if (serviceName !== undefined) {
861
+ localVarQueryParameter['ServiceName'] = serviceName;
862
+ }
863
+ if (exceptHospitalId !== undefined) {
864
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
865
+ }
866
+ if (exceptDealId !== undefined) {
867
+ localVarQueryParameter['ExceptDealId'] = exceptDealId;
868
+ }
869
+ if (ids) {
870
+ localVarQueryParameter['Ids'] = ids;
871
+ }
872
+ if (serviceDuration !== undefined) {
873
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
874
+ }
875
+ if (languageCode !== undefined) {
876
+ localVarQueryParameter['LanguageCode'] = languageCode;
877
+ }
878
+ if (showHidden !== undefined) {
879
+ localVarQueryParameter['ShowHidden'] = showHidden;
880
+ }
881
+ if (returnDefaultValue !== undefined) {
882
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
883
+ }
884
+ if (page !== undefined) {
885
+ localVarQueryParameter['page'] = page;
886
+ }
887
+ if (limit !== undefined) {
888
+ localVarQueryParameter['limit'] = limit;
889
+ }
890
+ if (lastRetrieved !== undefined) {
891
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
892
+ lastRetrieved.toISOString() :
893
+ lastRetrieved;
894
+ }
895
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
896
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
897
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
898
+ return [2 /*return*/, {
899
+ url: (0, common_1.toPathString)(localVarUrlObj),
900
+ options: localVarRequestOptions,
901
+ }];
902
+ }
903
+ });
904
+ });
905
+ },
906
+ /**
907
+ *
908
+ * @summary Create a deal.
909
+ * @param {CreateDealCommand} [createDealCommand]
910
+ * @param {*} [options] Override http request option.
911
+ * @throws {RequiredError}
912
+ */
913
+ apiV1DealsPost: function (createDealCommand, options) {
914
+ if (options === void 0) { options = {}; }
915
+ return __awaiter(_this, void 0, void 0, function () {
916
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
917
+ return __generator(this, function (_a) {
918
+ switch (_a.label) {
919
+ case 0:
920
+ localVarPath = "/api/v1/deals";
921
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
922
+ if (configuration) {
923
+ baseOptions = configuration.baseOptions;
924
+ }
925
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
926
+ localVarHeaderParameter = {};
927
+ localVarQueryParameter = {};
928
+ // authentication oauth2 required
929
+ // oauth required
930
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
931
+ case 1:
932
+ // authentication oauth2 required
933
+ // oauth required
934
+ _a.sent();
935
+ localVarHeaderParameter['Content-Type'] = 'application/json';
936
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
937
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
938
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
939
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDealCommand, localVarRequestOptions, configuration);
940
+ return [2 /*return*/, {
941
+ url: (0, common_1.toPathString)(localVarUrlObj),
942
+ options: localVarRequestOptions,
943
+ }];
944
+ }
945
+ });
946
+ });
947
+ },
948
+ /**
949
+ *
950
+ * @summary Get all deals.
951
+ * @param {string} [id]
952
+ * @param {string} [name]
953
+ * @param {MarketingType} [marketingType]
954
+ * @param {string} [countryId]
955
+ * @param {string} [hospitalId]
956
+ * @param {string} [hospitalName]
957
+ * @param {string} [specialtyId]
958
+ * @param {string} [specialtyName]
959
+ * @param {string} [specialtyTypeId]
960
+ * @param {string} [specialtyTypeName]
961
+ * @param {string} [serviceId]
962
+ * @param {string} [serviceName]
963
+ * @param {string} [exceptHospitalId]
964
+ * @param {string} [exceptDealId]
965
+ * @param {Array<string>} [ids]
966
+ * @param {number} [serviceDuration]
967
+ * @param {string} [languageCode]
968
+ * @param {boolean} [showHidden]
969
+ * @param {boolean} [returnDefaultValue]
970
+ * @param {number} [page]
971
+ * @param {number} [limit]
972
+ * @param {Date} [lastRetrieved]
973
+ * @param {*} [options] Override http request option.
974
+ * @throws {RequiredError}
975
+ */
976
+ apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
977
+ if (options === void 0) { options = {}; }
978
+ return __awaiter(_this, void 0, void 0, function () {
979
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
980
+ return __generator(this, function (_a) {
981
+ switch (_a.label) {
982
+ case 0:
983
+ localVarPath = "/api/v1/deals/simple";
984
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
985
+ if (configuration) {
986
+ baseOptions = configuration.baseOptions;
987
+ }
988
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
989
+ localVarHeaderParameter = {};
990
+ localVarQueryParameter = {};
991
+ // authentication oauth2 required
992
+ // oauth required
993
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
994
+ case 1:
995
+ // authentication oauth2 required
996
+ // oauth required
997
+ _a.sent();
998
+ if (id !== undefined) {
999
+ localVarQueryParameter['Id'] = id;
1000
+ }
1001
+ if (name !== undefined) {
1002
+ localVarQueryParameter['Name'] = name;
1003
+ }
1004
+ if (marketingType !== undefined) {
1005
+ localVarQueryParameter['MarketingType'] = marketingType;
1006
+ }
1007
+ if (countryId !== undefined) {
1008
+ localVarQueryParameter['CountryId'] = countryId;
1009
+ }
1010
+ if (hospitalId !== undefined) {
1011
+ localVarQueryParameter['HospitalId'] = hospitalId;
1012
+ }
1013
+ if (hospitalName !== undefined) {
1014
+ localVarQueryParameter['HospitalName'] = hospitalName;
1015
+ }
1016
+ if (specialtyId !== undefined) {
1017
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
1018
+ }
1019
+ if (specialtyName !== undefined) {
1020
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
1021
+ }
1022
+ if (specialtyTypeId !== undefined) {
1023
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
1024
+ }
1025
+ if (specialtyTypeName !== undefined) {
1026
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
1027
+ }
1028
+ if (serviceId !== undefined) {
1029
+ localVarQueryParameter['ServiceId'] = serviceId;
1030
+ }
1031
+ if (serviceName !== undefined) {
1032
+ localVarQueryParameter['ServiceName'] = serviceName;
1033
+ }
1034
+ if (exceptHospitalId !== undefined) {
1035
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
1036
+ }
1037
+ if (exceptDealId !== undefined) {
1038
+ localVarQueryParameter['ExceptDealId'] = exceptDealId;
1039
+ }
1040
+ if (ids) {
1041
+ localVarQueryParameter['Ids'] = ids;
1042
+ }
1043
+ if (serviceDuration !== undefined) {
1044
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
1045
+ }
1046
+ if (languageCode !== undefined) {
1047
+ localVarQueryParameter['LanguageCode'] = languageCode;
1048
+ }
1049
+ if (showHidden !== undefined) {
1050
+ localVarQueryParameter['ShowHidden'] = showHidden;
1051
+ }
1052
+ if (returnDefaultValue !== undefined) {
1053
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
1054
+ }
1055
+ if (page !== undefined) {
1056
+ localVarQueryParameter['page'] = page;
1057
+ }
1058
+ if (limit !== undefined) {
1059
+ localVarQueryParameter['limit'] = limit;
1060
+ }
1061
+ if (lastRetrieved !== undefined) {
1062
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1063
+ lastRetrieved.toISOString() :
1064
+ lastRetrieved;
1065
+ }
1066
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1067
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1068
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1069
+ return [2 /*return*/, {
1070
+ url: (0, common_1.toPathString)(localVarUrlObj),
1071
+ options: localVarRequestOptions,
1072
+ }];
1073
+ }
1074
+ });
1075
+ });
1076
+ },
1077
+ /**
1078
+ *
1079
+ * @summary Get deal by slug.
1080
+ * @param {string} slug
1081
+ * @param {string} [languageCode]
1082
+ * @param {boolean} [returnDefaultValue]
1083
+ * @param {*} [options] Override http request option.
1084
+ * @throws {RequiredError}
1085
+ */
1086
+ apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
1087
+ if (options === void 0) { options = {}; }
1088
+ return __awaiter(_this, void 0, void 0, function () {
1089
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1090
+ return __generator(this, function (_a) {
1091
+ switch (_a.label) {
1092
+ case 0:
1093
+ // verify required parameter 'slug' is not null or undefined
1094
+ (0, common_1.assertParamExists)('apiV1DealsSlugGet', 'slug', slug);
1095
+ localVarPath = "/api/v1/deals/{slug}"
1096
+ .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
1097
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1098
+ if (configuration) {
1099
+ baseOptions = configuration.baseOptions;
1100
+ }
1101
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1102
+ localVarHeaderParameter = {};
1103
+ localVarQueryParameter = {};
1104
+ // authentication oauth2 required
1105
+ // oauth required
1106
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1107
+ case 1:
1108
+ // authentication oauth2 required
1109
+ // oauth required
1110
+ _a.sent();
1111
+ if (languageCode !== undefined) {
1112
+ localVarQueryParameter['languageCode'] = languageCode;
1113
+ }
1114
+ if (returnDefaultValue !== undefined) {
1115
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
1116
+ }
1117
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1118
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1119
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1120
+ return [2 /*return*/, {
1121
+ url: (0, common_1.toPathString)(localVarUrlObj),
1122
+ options: localVarRequestOptions,
1123
+ }];
1124
+ }
1125
+ });
1126
+ });
1127
+ },
1128
+ };
1129
+ };
1130
+ exports.DealsApiAxiosParamCreator = DealsApiAxiosParamCreator;
1131
+ /**
1132
+ * DealsApi - functional programming interface
1133
+ * @export
1134
+ */
1135
+ var DealsApiFp = function (configuration) {
1136
+ var localVarAxiosParamCreator = (0, exports.DealsApiAxiosParamCreator)(configuration);
1137
+ return {
1138
+ /**
1139
+ *
1140
+ * @summary Delete deal.
1141
+ * @param {string} dealId
1142
+ * @param {boolean} [isPermanent]
1143
+ * @param {*} [options] Override http request option.
1144
+ * @throws {RequiredError}
1145
+ */
1146
+ apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
1147
+ return __awaiter(this, void 0, void 0, function () {
1148
+ var localVarAxiosArgs;
1149
+ return __generator(this, function (_a) {
1150
+ switch (_a.label) {
1151
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdDelete(dealId, isPermanent, options)];
1152
+ case 1:
1153
+ localVarAxiosArgs = _a.sent();
1154
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1155
+ }
1156
+ });
1157
+ });
1158
+ },
1159
+ /**
1160
+ *
1161
+ * @summary Get deal.
1162
+ * @param {string} dealId
1163
+ * @param {string} [languageCode]
1164
+ * @param {*} [options] Override http request option.
1165
+ * @throws {RequiredError}
1166
+ */
1167
+ apiV1DealsDealIdGet: function (dealId, languageCode, options) {
1168
+ return __awaiter(this, void 0, void 0, function () {
1169
+ var localVarAxiosArgs;
1170
+ return __generator(this, function (_a) {
1171
+ switch (_a.label) {
1172
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, options)];
1173
+ case 1:
1174
+ localVarAxiosArgs = _a.sent();
1175
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1176
+ }
1177
+ });
1178
+ });
1179
+ },
1180
+ /**
1181
+ *
1182
+ * @summary Get all DealPackage.
1183
+ * @param {string} dealId
1184
+ * @param {string} [relatedDealPackageId]
1185
+ * @param {string} [dealName]
1186
+ * @param {string} [name]
1187
+ * @param {string} [countryId]
1188
+ * @param {string} [hospitalId]
1189
+ * @param {string} [hospitalName]
1190
+ * @param {string} [languageCode]
1191
+ * @param {boolean} [showHidden]
1192
+ * @param {number} [page]
1193
+ * @param {number} [limit]
1194
+ * @param {Date} [lastRetrieved]
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
1199
+ return __awaiter(this, void 0, void 0, function () {
1200
+ var localVarAxiosArgs;
1201
+ return __generator(this, function (_a) {
1202
+ switch (_a.label) {
1203
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
1204
+ case 1:
1205
+ localVarAxiosArgs = _a.sent();
1206
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1207
+ }
1208
+ });
1209
+ });
1210
+ },
1211
+ /**
1212
+ *
1213
+ * @summary Delete DealPackage.
1214
+ * @param {string} dealId
1215
+ * @param {string} packageId
1216
+ * @param {boolean} [isPermanent]
1217
+ * @param {*} [options] Override http request option.
1218
+ * @throws {RequiredError}
1219
+ */
1220
+ apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
1221
+ return __awaiter(this, void 0, void 0, function () {
1222
+ var localVarAxiosArgs;
1223
+ return __generator(this, function (_a) {
1224
+ switch (_a.label) {
1225
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options)];
1226
+ case 1:
1227
+ localVarAxiosArgs = _a.sent();
1228
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1229
+ }
1230
+ });
1231
+ });
1232
+ },
1233
+ /**
1234
+ *
1235
+ * @summary Get DealPackage.
1236
+ * @param {string} dealId
1237
+ * @param {string} packageId
1238
+ * @param {string} [languageCode]
1239
+ * @param {*} [options] Override http request option.
1240
+ * @throws {RequiredError}
1241
+ */
1242
+ apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
1243
+ return __awaiter(this, void 0, void 0, function () {
1244
+ var localVarAxiosArgs;
1245
+ return __generator(this, function (_a) {
1246
+ switch (_a.label) {
1247
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options)];
1248
+ case 1:
1249
+ localVarAxiosArgs = _a.sent();
1250
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1251
+ }
1252
+ });
1253
+ });
1254
+ },
1255
+ /**
1256
+ *
1257
+ * @summary Update DealPackage.
1258
+ * @param {string} dealId
1259
+ * @param {string} packageId
1260
+ * @param {UpdateDealPackageCommand} [updateDealPackageCommand]
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ apiV1DealsDealIdPackagesPackageIdPut: function (dealId, packageId, updateDealPackageCommand, options) {
1265
+ return __awaiter(this, void 0, void 0, function () {
1266
+ var localVarAxiosArgs;
1267
+ return __generator(this, function (_a) {
1268
+ switch (_a.label) {
1269
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options)];
1270
+ case 1:
1271
+ localVarAxiosArgs = _a.sent();
1272
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1273
+ }
1274
+ });
1275
+ });
1276
+ },
1277
+ /**
1278
+ *
1279
+ * @summary Create DealPackage.
1280
+ * @param {string} dealId
1281
+ * @param {CreateDealPackageCommand} [createDealPackageCommand]
1282
+ * @param {*} [options] Override http request option.
1283
+ * @throws {RequiredError}
1284
+ */
1285
+ apiV1DealsDealIdPackagesPost: function (dealId, createDealPackageCommand, options) {
1286
+ return __awaiter(this, void 0, void 0, function () {
1287
+ var localVarAxiosArgs;
1288
+ return __generator(this, function (_a) {
1289
+ switch (_a.label) {
1290
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPost(dealId, createDealPackageCommand, options)];
1291
+ case 1:
1292
+ localVarAxiosArgs = _a.sent();
1293
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1294
+ }
1295
+ });
1296
+ });
1297
+ },
1298
+ /**
1299
+ *
1300
+ * @summary Update deal.
1301
+ * @param {string} dealId
1302
+ * @param {UpdateDealCommand} [updateDealCommand]
1303
+ * @param {*} [options] Override http request option.
1304
+ * @throws {RequiredError}
1305
+ */
1306
+ apiV1DealsDealIdPut: function (dealId, updateDealCommand, options) {
1307
+ return __awaiter(this, void 0, void 0, function () {
1308
+ var localVarAxiosArgs;
1309
+ return __generator(this, function (_a) {
1310
+ switch (_a.label) {
1311
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPut(dealId, updateDealCommand, options)];
1312
+ case 1:
1313
+ localVarAxiosArgs = _a.sent();
1314
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1315
+ }
1316
+ });
1317
+ });
1318
+ },
1319
+ /**
1320
+ *
1321
+ * @summary Get all DealService.
1322
+ * @param {string} dealId
1323
+ * @param {string} [languageCode]
1324
+ * @param {number} [page]
1325
+ * @param {number} [limit]
1326
+ * @param {Date} [lastRetrieved]
1327
+ * @param {*} [options] Override http request option.
1328
+ * @throws {RequiredError}
1329
+ */
1330
+ apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
1331
+ return __awaiter(this, void 0, void 0, function () {
1332
+ var localVarAxiosArgs;
1333
+ return __generator(this, function (_a) {
1334
+ switch (_a.label) {
1335
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options)];
1336
+ case 1:
1337
+ localVarAxiosArgs = _a.sent();
1338
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1339
+ }
1340
+ });
1341
+ });
1342
+ },
1343
+ /**
1344
+ *
1345
+ * @summary Create DealService.
1346
+ * @param {string} dealId
1347
+ * @param {CreateDealServiceCommand} [createDealServiceCommand]
1348
+ * @param {*} [options] Override http request option.
1349
+ * @throws {RequiredError}
1350
+ */
1351
+ apiV1DealsDealIdServicesPost: function (dealId, createDealServiceCommand, options) {
1352
+ return __awaiter(this, void 0, void 0, function () {
1353
+ var localVarAxiosArgs;
1354
+ return __generator(this, function (_a) {
1355
+ switch (_a.label) {
1356
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesPost(dealId, createDealServiceCommand, options)];
1357
+ case 1:
1358
+ localVarAxiosArgs = _a.sent();
1359
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1360
+ }
1361
+ });
1362
+ });
1363
+ },
1364
+ /**
1365
+ *
1366
+ * @summary Delete DealService.
1367
+ * @param {string} dealId
1368
+ * @param {string} serviceId
1369
+ * @param {*} [options] Override http request option.
1370
+ * @throws {RequiredError}
1371
+ */
1372
+ apiV1DealsDealIdServicesServiceIdDelete: function (dealId, serviceId, options) {
1373
+ return __awaiter(this, void 0, void 0, function () {
1374
+ var localVarAxiosArgs;
1375
+ return __generator(this, function (_a) {
1376
+ switch (_a.label) {
1377
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdDelete(dealId, serviceId, options)];
1378
+ case 1:
1379
+ localVarAxiosArgs = _a.sent();
1380
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1381
+ }
1382
+ });
1383
+ });
1384
+ },
1385
+ /**
1386
+ *
1387
+ * @summary Get DealService.
1388
+ * @param {string} dealId
1389
+ * @param {string} serviceId
1390
+ * @param {string} [languageCode]
1391
+ * @param {*} [options] Override http request option.
1392
+ * @throws {RequiredError}
1393
+ */
1394
+ apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
1395
+ return __awaiter(this, void 0, void 0, function () {
1396
+ var localVarAxiosArgs;
1397
+ return __generator(this, function (_a) {
1398
+ switch (_a.label) {
1399
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options)];
1400
+ case 1:
1401
+ localVarAxiosArgs = _a.sent();
1402
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1403
+ }
1404
+ });
1405
+ });
1406
+ },
1407
+ /**
1408
+ *
1409
+ * @summary Update DealService.
1410
+ * @param {string} dealId
1411
+ * @param {string} serviceId
1412
+ * @param {UpdateDealServiceCommand} [updateDealServiceCommand]
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ apiV1DealsDealIdServicesServiceIdPut: function (dealId, serviceId, updateDealServiceCommand, options) {
1417
+ return __awaiter(this, void 0, void 0, function () {
1418
+ var localVarAxiosArgs;
1419
+ return __generator(this, function (_a) {
1420
+ switch (_a.label) {
1421
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options)];
1422
+ case 1:
1423
+ localVarAxiosArgs = _a.sent();
1424
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1425
+ }
1426
+ });
1427
+ });
1428
+ },
1429
+ /**
1430
+ *
1431
+ * @summary Get all deals.
1432
+ * @param {string} [id]
1433
+ * @param {string} [name]
1434
+ * @param {MarketingType} [marketingType]
1435
+ * @param {string} [countryId]
1436
+ * @param {string} [hospitalId]
1437
+ * @param {string} [hospitalName]
1438
+ * @param {string} [specialtyId]
1439
+ * @param {string} [specialtyName]
1440
+ * @param {string} [specialtyTypeId]
1441
+ * @param {string} [specialtyTypeName]
1442
+ * @param {string} [serviceId]
1443
+ * @param {string} [serviceName]
1444
+ * @param {string} [exceptHospitalId]
1445
+ * @param {string} [exceptDealId]
1446
+ * @param {Array<string>} [ids]
1447
+ * @param {number} [serviceDuration]
1448
+ * @param {string} [languageCode]
1449
+ * @param {boolean} [showHidden]
1450
+ * @param {boolean} [returnDefaultValue]
1451
+ * @param {number} [page]
1452
+ * @param {number} [limit]
1453
+ * @param {Date} [lastRetrieved]
1454
+ * @param {*} [options] Override http request option.
1455
+ * @throws {RequiredError}
1456
+ */
1457
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1458
+ return __awaiter(this, void 0, void 0, function () {
1459
+ var localVarAxiosArgs;
1460
+ return __generator(this, function (_a) {
1461
+ switch (_a.label) {
1462
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
1463
+ case 1:
1464
+ localVarAxiosArgs = _a.sent();
1465
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1466
+ }
1467
+ });
1468
+ });
1469
+ },
1470
+ /**
1471
+ *
1472
+ * @summary Create a deal.
1473
+ * @param {CreateDealCommand} [createDealCommand]
1474
+ * @param {*} [options] Override http request option.
1475
+ * @throws {RequiredError}
1476
+ */
1477
+ apiV1DealsPost: function (createDealCommand, options) {
1478
+ return __awaiter(this, void 0, void 0, function () {
1479
+ var localVarAxiosArgs;
1480
+ return __generator(this, function (_a) {
1481
+ switch (_a.label) {
1482
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsPost(createDealCommand, options)];
1483
+ case 1:
1484
+ localVarAxiosArgs = _a.sent();
1485
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1486
+ }
1487
+ });
1488
+ });
1489
+ },
1490
+ /**
1491
+ *
1492
+ * @summary Get all deals.
1493
+ * @param {string} [id]
1494
+ * @param {string} [name]
1495
+ * @param {MarketingType} [marketingType]
1496
+ * @param {string} [countryId]
1497
+ * @param {string} [hospitalId]
1498
+ * @param {string} [hospitalName]
1499
+ * @param {string} [specialtyId]
1500
+ * @param {string} [specialtyName]
1501
+ * @param {string} [specialtyTypeId]
1502
+ * @param {string} [specialtyTypeName]
1503
+ * @param {string} [serviceId]
1504
+ * @param {string} [serviceName]
1505
+ * @param {string} [exceptHospitalId]
1506
+ * @param {string} [exceptDealId]
1507
+ * @param {Array<string>} [ids]
1508
+ * @param {number} [serviceDuration]
1509
+ * @param {string} [languageCode]
1510
+ * @param {boolean} [showHidden]
1511
+ * @param {boolean} [returnDefaultValue]
1512
+ * @param {number} [page]
1513
+ * @param {number} [limit]
1514
+ * @param {Date} [lastRetrieved]
1515
+ * @param {*} [options] Override http request option.
1516
+ * @throws {RequiredError}
1517
+ */
1518
+ apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1519
+ return __awaiter(this, void 0, void 0, function () {
1520
+ var localVarAxiosArgs;
1521
+ return __generator(this, function (_a) {
1522
+ switch (_a.label) {
1523
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
1524
+ case 1:
1525
+ localVarAxiosArgs = _a.sent();
1526
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1527
+ }
1528
+ });
1529
+ });
1530
+ },
1531
+ /**
1532
+ *
1533
+ * @summary Get deal by slug.
1534
+ * @param {string} slug
1535
+ * @param {string} [languageCode]
1536
+ * @param {boolean} [returnDefaultValue]
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
1541
+ return __awaiter(this, void 0, void 0, function () {
1542
+ var localVarAxiosArgs;
1543
+ return __generator(this, function (_a) {
1544
+ switch (_a.label) {
1545
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options)];
1546
+ case 1:
1547
+ localVarAxiosArgs = _a.sent();
1548
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1549
+ }
1550
+ });
1551
+ });
1552
+ },
1553
+ };
1554
+ };
1555
+ exports.DealsApiFp = DealsApiFp;
1556
+ /**
1557
+ * DealsApi - factory interface
1558
+ * @export
1559
+ */
1560
+ var DealsApiFactory = function (configuration, basePath, axios) {
1561
+ var localVarFp = (0, exports.DealsApiFp)(configuration);
1562
+ return {
1563
+ /**
1564
+ *
1565
+ * @summary Delete deal.
1566
+ * @param {string} dealId
1567
+ * @param {boolean} [isPermanent]
1568
+ * @param {*} [options] Override http request option.
1569
+ * @throws {RequiredError}
1570
+ */
1571
+ apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
1572
+ return localVarFp.apiV1DealsDealIdDelete(dealId, isPermanent, options).then(function (request) { return request(axios, basePath); });
1573
+ },
1574
+ /**
1575
+ *
1576
+ * @summary Get deal.
1577
+ * @param {string} dealId
1578
+ * @param {string} [languageCode]
1579
+ * @param {*} [options] Override http request option.
1580
+ * @throws {RequiredError}
1581
+ */
1582
+ apiV1DealsDealIdGet: function (dealId, languageCode, options) {
1583
+ return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, options).then(function (request) { return request(axios, basePath); });
1584
+ },
1585
+ /**
1586
+ *
1587
+ * @summary Get all DealPackage.
1588
+ * @param {string} dealId
1589
+ * @param {string} [relatedDealPackageId]
1590
+ * @param {string} [dealName]
1591
+ * @param {string} [name]
1592
+ * @param {string} [countryId]
1593
+ * @param {string} [hospitalId]
1594
+ * @param {string} [hospitalName]
1595
+ * @param {string} [languageCode]
1596
+ * @param {boolean} [showHidden]
1597
+ * @param {number} [page]
1598
+ * @param {number} [limit]
1599
+ * @param {Date} [lastRetrieved]
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
1604
+ return localVarFp.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1605
+ },
1606
+ /**
1607
+ *
1608
+ * @summary Delete DealPackage.
1609
+ * @param {string} dealId
1610
+ * @param {string} packageId
1611
+ * @param {boolean} [isPermanent]
1612
+ * @param {*} [options] Override http request option.
1613
+ * @throws {RequiredError}
1614
+ */
1615
+ apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
1616
+ return localVarFp.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then(function (request) { return request(axios, basePath); });
1617
+ },
1618
+ /**
1619
+ *
1620
+ * @summary Get DealPackage.
1621
+ * @param {string} dealId
1622
+ * @param {string} packageId
1623
+ * @param {string} [languageCode]
1624
+ * @param {*} [options] Override http request option.
1625
+ * @throws {RequiredError}
1626
+ */
1627
+ apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
1628
+ return localVarFp.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(axios, basePath); });
1629
+ },
1630
+ /**
1631
+ *
1632
+ * @summary Update DealPackage.
1633
+ * @param {string} dealId
1634
+ * @param {string} packageId
1635
+ * @param {UpdateDealPackageCommand} [updateDealPackageCommand]
1636
+ * @param {*} [options] Override http request option.
1637
+ * @throws {RequiredError}
1638
+ */
1639
+ apiV1DealsDealIdPackagesPackageIdPut: function (dealId, packageId, updateDealPackageCommand, options) {
1640
+ return localVarFp.apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options).then(function (request) { return request(axios, basePath); });
1641
+ },
1642
+ /**
1643
+ *
1644
+ * @summary Create DealPackage.
1645
+ * @param {string} dealId
1646
+ * @param {CreateDealPackageCommand} [createDealPackageCommand]
1647
+ * @param {*} [options] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ */
1650
+ apiV1DealsDealIdPackagesPost: function (dealId, createDealPackageCommand, options) {
1651
+ return localVarFp.apiV1DealsDealIdPackagesPost(dealId, createDealPackageCommand, options).then(function (request) { return request(axios, basePath); });
1652
+ },
1653
+ /**
1654
+ *
1655
+ * @summary Update deal.
1656
+ * @param {string} dealId
1657
+ * @param {UpdateDealCommand} [updateDealCommand]
1658
+ * @param {*} [options] Override http request option.
1659
+ * @throws {RequiredError}
1660
+ */
1661
+ apiV1DealsDealIdPut: function (dealId, updateDealCommand, options) {
1662
+ return localVarFp.apiV1DealsDealIdPut(dealId, updateDealCommand, options).then(function (request) { return request(axios, basePath); });
1663
+ },
1664
+ /**
1665
+ *
1666
+ * @summary Get all DealService.
1667
+ * @param {string} dealId
1668
+ * @param {string} [languageCode]
1669
+ * @param {number} [page]
1670
+ * @param {number} [limit]
1671
+ * @param {Date} [lastRetrieved]
1672
+ * @param {*} [options] Override http request option.
1673
+ * @throws {RequiredError}
1674
+ */
1675
+ apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
1676
+ return localVarFp.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1677
+ },
1678
+ /**
1679
+ *
1680
+ * @summary Create DealService.
1681
+ * @param {string} dealId
1682
+ * @param {CreateDealServiceCommand} [createDealServiceCommand]
1683
+ * @param {*} [options] Override http request option.
1684
+ * @throws {RequiredError}
1685
+ */
1686
+ apiV1DealsDealIdServicesPost: function (dealId, createDealServiceCommand, options) {
1687
+ return localVarFp.apiV1DealsDealIdServicesPost(dealId, createDealServiceCommand, options).then(function (request) { return request(axios, basePath); });
1688
+ },
1689
+ /**
1690
+ *
1691
+ * @summary Delete DealService.
1692
+ * @param {string} dealId
1693
+ * @param {string} serviceId
1694
+ * @param {*} [options] Override http request option.
1695
+ * @throws {RequiredError}
1696
+ */
1697
+ apiV1DealsDealIdServicesServiceIdDelete: function (dealId, serviceId, options) {
1698
+ return localVarFp.apiV1DealsDealIdServicesServiceIdDelete(dealId, serviceId, options).then(function (request) { return request(axios, basePath); });
1699
+ },
1700
+ /**
1701
+ *
1702
+ * @summary Get DealService.
1703
+ * @param {string} dealId
1704
+ * @param {string} serviceId
1705
+ * @param {string} [languageCode]
1706
+ * @param {*} [options] Override http request option.
1707
+ * @throws {RequiredError}
1708
+ */
1709
+ apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
1710
+ return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
1711
+ },
1712
+ /**
1713
+ *
1714
+ * @summary Update DealService.
1715
+ * @param {string} dealId
1716
+ * @param {string} serviceId
1717
+ * @param {UpdateDealServiceCommand} [updateDealServiceCommand]
1718
+ * @param {*} [options] Override http request option.
1719
+ * @throws {RequiredError}
1720
+ */
1721
+ apiV1DealsDealIdServicesServiceIdPut: function (dealId, serviceId, updateDealServiceCommand, options) {
1722
+ return localVarFp.apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options).then(function (request) { return request(axios, basePath); });
1723
+ },
1724
+ /**
1725
+ *
1726
+ * @summary Get all deals.
1727
+ * @param {string} [id]
1728
+ * @param {string} [name]
1729
+ * @param {MarketingType} [marketingType]
1730
+ * @param {string} [countryId]
1731
+ * @param {string} [hospitalId]
1732
+ * @param {string} [hospitalName]
1733
+ * @param {string} [specialtyId]
1734
+ * @param {string} [specialtyName]
1735
+ * @param {string} [specialtyTypeId]
1736
+ * @param {string} [specialtyTypeName]
1737
+ * @param {string} [serviceId]
1738
+ * @param {string} [serviceName]
1739
+ * @param {string} [exceptHospitalId]
1740
+ * @param {string} [exceptDealId]
1741
+ * @param {Array<string>} [ids]
1742
+ * @param {number} [serviceDuration]
1743
+ * @param {string} [languageCode]
1744
+ * @param {boolean} [showHidden]
1745
+ * @param {boolean} [returnDefaultValue]
1746
+ * @param {number} [page]
1747
+ * @param {number} [limit]
1748
+ * @param {Date} [lastRetrieved]
1749
+ * @param {*} [options] Override http request option.
1750
+ * @throws {RequiredError}
1751
+ */
1752
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1753
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1754
+ },
1755
+ /**
1756
+ *
1757
+ * @summary Create a deal.
1758
+ * @param {CreateDealCommand} [createDealCommand]
1759
+ * @param {*} [options] Override http request option.
1760
+ * @throws {RequiredError}
1761
+ */
1762
+ apiV1DealsPost: function (createDealCommand, options) {
1763
+ return localVarFp.apiV1DealsPost(createDealCommand, options).then(function (request) { return request(axios, basePath); });
1764
+ },
1765
+ /**
1766
+ *
1767
+ * @summary Get all deals.
1768
+ * @param {string} [id]
1769
+ * @param {string} [name]
1770
+ * @param {MarketingType} [marketingType]
1771
+ * @param {string} [countryId]
1772
+ * @param {string} [hospitalId]
1773
+ * @param {string} [hospitalName]
1774
+ * @param {string} [specialtyId]
1775
+ * @param {string} [specialtyName]
1776
+ * @param {string} [specialtyTypeId]
1777
+ * @param {string} [specialtyTypeName]
1778
+ * @param {string} [serviceId]
1779
+ * @param {string} [serviceName]
1780
+ * @param {string} [exceptHospitalId]
1781
+ * @param {string} [exceptDealId]
1782
+ * @param {Array<string>} [ids]
1783
+ * @param {number} [serviceDuration]
1784
+ * @param {string} [languageCode]
1785
+ * @param {boolean} [showHidden]
1786
+ * @param {boolean} [returnDefaultValue]
1787
+ * @param {number} [page]
1788
+ * @param {number} [limit]
1789
+ * @param {Date} [lastRetrieved]
1790
+ * @param {*} [options] Override http request option.
1791
+ * @throws {RequiredError}
1792
+ */
1793
+ apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1794
+ return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1795
+ },
1796
+ /**
1797
+ *
1798
+ * @summary Get deal by slug.
1799
+ * @param {string} slug
1800
+ * @param {string} [languageCode]
1801
+ * @param {boolean} [returnDefaultValue]
1802
+ * @param {*} [options] Override http request option.
1803
+ * @throws {RequiredError}
1804
+ */
1805
+ apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
1806
+ return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
1807
+ },
1808
+ };
1809
+ };
1810
+ exports.DealsApiFactory = DealsApiFactory;
1811
+ /**
1812
+ * DealsApi - object-oriented interface
1813
+ * @export
1814
+ * @class DealsApi
1815
+ * @extends {BaseAPI}
1816
+ */
1817
+ var DealsApi = /** @class */ (function (_super) {
1818
+ __extends(DealsApi, _super);
1819
+ function DealsApi() {
1820
+ return _super !== null && _super.apply(this, arguments) || this;
1821
+ }
1822
+ /**
1823
+ *
1824
+ * @summary Delete deal.
1825
+ * @param {string} dealId
1826
+ * @param {boolean} [isPermanent]
1827
+ * @param {*} [options] Override http request option.
1828
+ * @throws {RequiredError}
1829
+ * @memberof DealsApi
1830
+ */
1831
+ DealsApi.prototype.apiV1DealsDealIdDelete = function (dealId, isPermanent, options) {
1832
+ var _this = this;
1833
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdDelete(dealId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
1834
+ };
1835
+ /**
1836
+ *
1837
+ * @summary Get deal.
1838
+ * @param {string} dealId
1839
+ * @param {string} [languageCode]
1840
+ * @param {*} [options] Override http request option.
1841
+ * @throws {RequiredError}
1842
+ * @memberof DealsApi
1843
+ */
1844
+ DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, languageCode, options) {
1845
+ var _this = this;
1846
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1847
+ };
1848
+ /**
1849
+ *
1850
+ * @summary Get all DealPackage.
1851
+ * @param {string} dealId
1852
+ * @param {string} [relatedDealPackageId]
1853
+ * @param {string} [dealName]
1854
+ * @param {string} [name]
1855
+ * @param {string} [countryId]
1856
+ * @param {string} [hospitalId]
1857
+ * @param {string} [hospitalName]
1858
+ * @param {string} [languageCode]
1859
+ * @param {boolean} [showHidden]
1860
+ * @param {number} [page]
1861
+ * @param {number} [limit]
1862
+ * @param {Date} [lastRetrieved]
1863
+ * @param {*} [options] Override http request option.
1864
+ * @throws {RequiredError}
1865
+ * @memberof DealsApi
1866
+ */
1867
+ DealsApi.prototype.apiV1DealsDealIdPackagesGet = function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
1868
+ var _this = this;
1869
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1870
+ };
1871
+ /**
1872
+ *
1873
+ * @summary Delete DealPackage.
1874
+ * @param {string} dealId
1875
+ * @param {string} packageId
1876
+ * @param {boolean} [isPermanent]
1877
+ * @param {*} [options] Override http request option.
1878
+ * @throws {RequiredError}
1879
+ * @memberof DealsApi
1880
+ */
1881
+ DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdDelete = function (dealId, packageId, isPermanent, options) {
1882
+ var _this = this;
1883
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
1884
+ };
1885
+ /**
1886
+ *
1887
+ * @summary Get DealPackage.
1888
+ * @param {string} dealId
1889
+ * @param {string} packageId
1890
+ * @param {string} [languageCode]
1891
+ * @param {*} [options] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ * @memberof DealsApi
1894
+ */
1895
+ DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdGet = function (dealId, packageId, languageCode, options) {
1896
+ var _this = this;
1897
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1898
+ };
1899
+ /**
1900
+ *
1901
+ * @summary Update DealPackage.
1902
+ * @param {string} dealId
1903
+ * @param {string} packageId
1904
+ * @param {UpdateDealPackageCommand} [updateDealPackageCommand]
1905
+ * @param {*} [options] Override http request option.
1906
+ * @throws {RequiredError}
1907
+ * @memberof DealsApi
1908
+ */
1909
+ DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdPut = function (dealId, packageId, updateDealPackageCommand, options) {
1910
+ var _this = this;
1911
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdPut(dealId, packageId, updateDealPackageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1912
+ };
1913
+ /**
1914
+ *
1915
+ * @summary Create DealPackage.
1916
+ * @param {string} dealId
1917
+ * @param {CreateDealPackageCommand} [createDealPackageCommand]
1918
+ * @param {*} [options] Override http request option.
1919
+ * @throws {RequiredError}
1920
+ * @memberof DealsApi
1921
+ */
1922
+ DealsApi.prototype.apiV1DealsDealIdPackagesPost = function (dealId, createDealPackageCommand, options) {
1923
+ var _this = this;
1924
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPost(dealId, createDealPackageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1925
+ };
1926
+ /**
1927
+ *
1928
+ * @summary Update deal.
1929
+ * @param {string} dealId
1930
+ * @param {UpdateDealCommand} [updateDealCommand]
1931
+ * @param {*} [options] Override http request option.
1932
+ * @throws {RequiredError}
1933
+ * @memberof DealsApi
1934
+ */
1935
+ DealsApi.prototype.apiV1DealsDealIdPut = function (dealId, updateDealCommand, options) {
1936
+ var _this = this;
1937
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPut(dealId, updateDealCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1938
+ };
1939
+ /**
1940
+ *
1941
+ * @summary Get all DealService.
1942
+ * @param {string} dealId
1943
+ * @param {string} [languageCode]
1944
+ * @param {number} [page]
1945
+ * @param {number} [limit]
1946
+ * @param {Date} [lastRetrieved]
1947
+ * @param {*} [options] Override http request option.
1948
+ * @throws {RequiredError}
1949
+ * @memberof DealsApi
1950
+ */
1951
+ DealsApi.prototype.apiV1DealsDealIdServicesGet = function (dealId, languageCode, page, limit, lastRetrieved, options) {
1952
+ var _this = this;
1953
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1954
+ };
1955
+ /**
1956
+ *
1957
+ * @summary Create DealService.
1958
+ * @param {string} dealId
1959
+ * @param {CreateDealServiceCommand} [createDealServiceCommand]
1960
+ * @param {*} [options] Override http request option.
1961
+ * @throws {RequiredError}
1962
+ * @memberof DealsApi
1963
+ */
1964
+ DealsApi.prototype.apiV1DealsDealIdServicesPost = function (dealId, createDealServiceCommand, options) {
1965
+ var _this = this;
1966
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdServicesPost(dealId, createDealServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1967
+ };
1968
+ /**
1969
+ *
1970
+ * @summary Delete DealService.
1971
+ * @param {string} dealId
1972
+ * @param {string} serviceId
1973
+ * @param {*} [options] Override http request option.
1974
+ * @throws {RequiredError}
1975
+ * @memberof DealsApi
1976
+ */
1977
+ DealsApi.prototype.apiV1DealsDealIdServicesServiceIdDelete = function (dealId, serviceId, options) {
1978
+ var _this = this;
1979
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdServicesServiceIdDelete(dealId, serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1980
+ };
1981
+ /**
1982
+ *
1983
+ * @summary Get DealService.
1984
+ * @param {string} dealId
1985
+ * @param {string} serviceId
1986
+ * @param {string} [languageCode]
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ * @memberof DealsApi
1990
+ */
1991
+ DealsApi.prototype.apiV1DealsDealIdServicesServiceIdGet = function (dealId, serviceId, languageCode, options) {
1992
+ var _this = this;
1993
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1994
+ };
1995
+ /**
1996
+ *
1997
+ * @summary Update DealService.
1998
+ * @param {string} dealId
1999
+ * @param {string} serviceId
2000
+ * @param {UpdateDealServiceCommand} [updateDealServiceCommand]
2001
+ * @param {*} [options] Override http request option.
2002
+ * @throws {RequiredError}
2003
+ * @memberof DealsApi
2004
+ */
2005
+ DealsApi.prototype.apiV1DealsDealIdServicesServiceIdPut = function (dealId, serviceId, updateDealServiceCommand, options) {
2006
+ var _this = this;
2007
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdServicesServiceIdPut(dealId, serviceId, updateDealServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
2008
+ };
2009
+ /**
2010
+ *
2011
+ * @summary Get all deals.
2012
+ * @param {string} [id]
2013
+ * @param {string} [name]
2014
+ * @param {MarketingType} [marketingType]
2015
+ * @param {string} [countryId]
2016
+ * @param {string} [hospitalId]
2017
+ * @param {string} [hospitalName]
2018
+ * @param {string} [specialtyId]
2019
+ * @param {string} [specialtyName]
2020
+ * @param {string} [specialtyTypeId]
2021
+ * @param {string} [specialtyTypeName]
2022
+ * @param {string} [serviceId]
2023
+ * @param {string} [serviceName]
2024
+ * @param {string} [exceptHospitalId]
2025
+ * @param {string} [exceptDealId]
2026
+ * @param {Array<string>} [ids]
2027
+ * @param {number} [serviceDuration]
2028
+ * @param {string} [languageCode]
2029
+ * @param {boolean} [showHidden]
2030
+ * @param {boolean} [returnDefaultValue]
2031
+ * @param {number} [page]
2032
+ * @param {number} [limit]
2033
+ * @param {Date} [lastRetrieved]
2034
+ * @param {*} [options] Override http request option.
2035
+ * @throws {RequiredError}
2036
+ * @memberof DealsApi
2037
+ */
2038
+ DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2039
+ var _this = this;
2040
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
2041
+ };
2042
+ /**
2043
+ *
2044
+ * @summary Create a deal.
2045
+ * @param {CreateDealCommand} [createDealCommand]
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ * @memberof DealsApi
2049
+ */
2050
+ DealsApi.prototype.apiV1DealsPost = function (createDealCommand, options) {
2051
+ var _this = this;
2052
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsPost(createDealCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
2053
+ };
2054
+ /**
2055
+ *
2056
+ * @summary Get all deals.
2057
+ * @param {string} [id]
2058
+ * @param {string} [name]
2059
+ * @param {MarketingType} [marketingType]
2060
+ * @param {string} [countryId]
2061
+ * @param {string} [hospitalId]
2062
+ * @param {string} [hospitalName]
2063
+ * @param {string} [specialtyId]
2064
+ * @param {string} [specialtyName]
2065
+ * @param {string} [specialtyTypeId]
2066
+ * @param {string} [specialtyTypeName]
2067
+ * @param {string} [serviceId]
2068
+ * @param {string} [serviceName]
2069
+ * @param {string} [exceptHospitalId]
2070
+ * @param {string} [exceptDealId]
2071
+ * @param {Array<string>} [ids]
2072
+ * @param {number} [serviceDuration]
2073
+ * @param {string} [languageCode]
2074
+ * @param {boolean} [showHidden]
2075
+ * @param {boolean} [returnDefaultValue]
2076
+ * @param {number} [page]
2077
+ * @param {number} [limit]
2078
+ * @param {Date} [lastRetrieved]
2079
+ * @param {*} [options] Override http request option.
2080
+ * @throws {RequiredError}
2081
+ * @memberof DealsApi
2082
+ */
2083
+ DealsApi.prototype.apiV1DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2084
+ var _this = this;
2085
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
2086
+ };
2087
+ /**
2088
+ *
2089
+ * @summary Get deal by slug.
2090
+ * @param {string} slug
2091
+ * @param {string} [languageCode]
2092
+ * @param {boolean} [returnDefaultValue]
2093
+ * @param {*} [options] Override http request option.
2094
+ * @throws {RequiredError}
2095
+ * @memberof DealsApi
2096
+ */
2097
+ DealsApi.prototype.apiV1DealsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
2098
+ var _this = this;
2099
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
2100
+ };
2101
+ return DealsApi;
2102
+ }(base_1.BaseAPI));
2103
+ exports.DealsApi = DealsApi;