ch-admin-api-client-typescript 4.9.2 → 4.9.4

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 (1637) 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
  1224. package/src/.openapi-generator/FILES +414 -0
  1225. package/src/.openapi-generator/VERSION +1 -0
  1226. package/src/.openapi-generator-ignore +23 -0
  1227. package/src/api/about-us-api.ts +624 -0
  1228. package/src/api/accreditations-api.ts +473 -0
  1229. package/src/api/app-version-api.ts +465 -0
  1230. package/src/api/articles-api.ts +2383 -0
  1231. package/src/api/bookings-api.ts +738 -0
  1232. package/src/api/chadmins-api.ts +519 -0
  1233. package/src/api/chat-users-api.ts +620 -0
  1234. package/src/api/chmanagers-api.ts +519 -0
  1235. package/src/api/communications-api.ts +252 -0
  1236. package/src/api/consultations-api.ts +756 -0
  1237. package/src/api/contributors-api.ts +1090 -0
  1238. package/src/api/countries-api.ts +1123 -0
  1239. package/src/api/dash-board-api.ts +133 -0
  1240. package/src/api/deals-api.ts +1894 -0
  1241. package/src/api/doctor-affiliations-api.ts +1136 -0
  1242. package/src/api/doctors-api.ts +3534 -0
  1243. package/src/api/email-marketings-api.ts +529 -0
  1244. package/src/api/faq-categories-api.ts +624 -0
  1245. package/src/api/faqs-api.ts +1419 -0
  1246. package/src/api/group-channels-api.ts +238 -0
  1247. package/src/api/header-navigations-api.ts +445 -0
  1248. package/src/api/hospitals-api.ts +7513 -0
  1249. package/src/api/hospitals-consultation-timetable-overrides-api.ts +437 -0
  1250. package/src/api/hospitals-consultation-timetables-api.ts +574 -0
  1251. package/src/api/images-api.ts +120 -0
  1252. package/src/api/languages-api.ts +481 -0
  1253. package/src/api/managers-api.ts +884 -0
  1254. package/src/api/memberships-api.ts +372 -0
  1255. package/src/api/notifications-api.ts +241 -0
  1256. package/src/api/patients-api.ts +769 -0
  1257. package/src/api/payments-api.ts +114 -0
  1258. package/src/api/plans-api.ts +889 -0
  1259. package/src/api/profiles-api.ts +489 -0
  1260. package/src/api/search-api.ts +132 -0
  1261. package/src/api/service-reviews-api.ts +1015 -0
  1262. package/src/api/services-api.ts +460 -0
  1263. package/src/api/services-categories-api.ts +461 -0
  1264. package/src/api/specialties-api.ts +1347 -0
  1265. package/src/api/specialty-types-api.ts +1347 -0
  1266. package/src/api/survey-forms-api.ts +515 -0
  1267. package/src/api/survey-results-api.ts +328 -0
  1268. package/src/api/tags-api.ts +385 -0
  1269. package/src/api/translation-api.ts +131 -0
  1270. package/src/api.ts +60 -0
  1271. package/src/base.ts +71 -0
  1272. package/src/common.ts +148 -0
  1273. package/src/configuration.ts +101 -0
  1274. package/src/git_push.sh +57 -0
  1275. package/src/index.ts +18 -0
  1276. package/src/models/about-us-page-item-model.ts +63 -0
  1277. package/src/models/about-us-page-model.ts +126 -0
  1278. package/src/models/about-us-pages-model.ts +42 -0
  1279. package/src/models/accreditation-item-model.ts +48 -0
  1280. package/src/models/accreditation-model.ts +48 -0
  1281. package/src/models/accreditations-model.ts +42 -0
  1282. package/src/models/admin-message-model.ts +84 -0
  1283. package/src/models/app-version-item-model.ts +51 -0
  1284. package/src/models/app-version-model.ts +51 -0
  1285. package/src/models/app-versions-model.ts +42 -0
  1286. package/src/models/approve-booking-command.ts +36 -0
  1287. package/src/models/approve-consultation-command.ts +36 -0
  1288. package/src/models/article-contributor-item-model.ts +108 -0
  1289. package/src/models/article-contributor-model.ts +135 -0
  1290. package/src/models/article-contributors-model.ts +42 -0
  1291. package/src/models/article-item-model.ts +150 -0
  1292. package/src/models/article-model.ts +174 -0
  1293. package/src/models/article-sources-model.ts +42 -0
  1294. package/src/models/article-status.ts +32 -0
  1295. package/src/models/article-tag-item-model.ts +42 -0
  1296. package/src/models/article-tag-model.ts +42 -0
  1297. package/src/models/article-tags-model.ts +42 -0
  1298. package/src/models/articles-model.ts +42 -0
  1299. package/src/models/auditable-entity-model.ts +72 -0
  1300. package/src/models/auditable-entity.ts +72 -0
  1301. package/src/models/batch-add-hospital-consultation-timetable-model.ts +45 -0
  1302. package/src/models/batch-hospital-consultation-timetable-result-model.ts +45 -0
  1303. package/src/models/batch-hospital-consultation-timetables-command.ts +48 -0
  1304. package/src/models/batch-update-hospital-consultation-timetable-model.ts +51 -0
  1305. package/src/models/booking-change-log-model.ts +51 -0
  1306. package/src/models/booking-item-model.ts +258 -0
  1307. package/src/models/booking-model.ts +267 -0
  1308. package/src/models/booking-status.ts +36 -0
  1309. package/src/models/bookings-model.ts +42 -0
  1310. package/src/models/chadmin-item-model.ts +120 -0
  1311. package/src/models/chadmin-model.ts +144 -0
  1312. package/src/models/chadmins-model.ts +42 -0
  1313. package/src/models/change-email-command.ts +30 -0
  1314. package/src/models/chat-user-model.ts +78 -0
  1315. package/src/models/chat-users-model.ts +39 -0
  1316. package/src/models/check-notifications-command.ts +36 -0
  1317. package/src/models/chmanager-item-model.ts +120 -0
  1318. package/src/models/chmanager-model.ts +144 -0
  1319. package/src/models/chmanagers-model.ts +42 -0
  1320. package/src/models/communication-user-token-model.ts +48 -0
  1321. package/src/models/confirm-email-command.ts +30 -0
  1322. package/src/models/consultation-change-log-model.ts +51 -0
  1323. package/src/models/consultation-item-model.ts +288 -0
  1324. package/src/models/consultation-model.ts +297 -0
  1325. package/src/models/consultation-status.ts +36 -0
  1326. package/src/models/consultation-type.ts +32 -0
  1327. package/src/models/consultations-model.ts +42 -0
  1328. package/src/models/contribution-type.ts +32 -0
  1329. package/src/models/contributor-item-model.ts +117 -0
  1330. package/src/models/contributor-model.ts +135 -0
  1331. package/src/models/contributor-sns-handles-model.ts +42 -0
  1332. package/src/models/contributors-model.ts +42 -0
  1333. package/src/models/countries-model.ts +42 -0
  1334. package/src/models/country-item-model.ts +69 -0
  1335. package/src/models/country-model.ts +102 -0
  1336. package/src/models/create-about-us-page-command.ts +81 -0
  1337. package/src/models/create-accreditation-command.ts +42 -0
  1338. package/src/models/create-app-version-command.ts +51 -0
  1339. package/src/models/create-article-command.ts +120 -0
  1340. package/src/models/create-article-contributor-command.ts +51 -0
  1341. package/src/models/create-article-source-command.ts +42 -0
  1342. package/src/models/create-article-tag-command.ts +36 -0
  1343. package/src/models/create-chadmin-command.ts +93 -0
  1344. package/src/models/create-chat-user-command.ts +60 -0
  1345. package/src/models/create-chmanager-command.ts +93 -0
  1346. package/src/models/create-contributor-command.ts +66 -0
  1347. package/src/models/create-contributor-sns-handle-command.ts +39 -0
  1348. package/src/models/create-country-command.ts +63 -0
  1349. package/src/models/create-deal-command.ts +81 -0
  1350. package/src/models/create-deal-package-command.ts +63 -0
  1351. package/src/models/create-deal-service-command.ts +42 -0
  1352. package/src/models/create-doctor-affiliation-command.ts +123 -0
  1353. package/src/models/create-doctor-certificate-command.ts +42 -0
  1354. package/src/models/create-doctor-command.ts +105 -0
  1355. package/src/models/create-doctor-education-command.ts +42 -0
  1356. package/src/models/create-doctor-language-command.ts +42 -0
  1357. package/src/models/create-doctor-portfolio-command.ts +60 -0
  1358. package/src/models/create-doctor-specialty-command.ts +36 -0
  1359. package/src/models/create-faq-category-command.ts +60 -0
  1360. package/src/models/create-faq-command.ts +78 -0
  1361. package/src/models/create-faq-tag-command.ts +36 -0
  1362. package/src/models/create-hospital-accreditation-command.ts +30 -0
  1363. package/src/models/create-hospital-command.ts +171 -0
  1364. package/src/models/create-hospital-consultation-timetable-command.ts +45 -0
  1365. package/src/models/create-hospital-equipment-command.ts +36 -0
  1366. package/src/models/create-hospital-evaluation-command.ts +48 -0
  1367. package/src/models/create-hospital-language-command.ts +42 -0
  1368. package/src/models/create-hospital-service-command.ts +114 -0
  1369. package/src/models/create-hospital-sns-handle-command.ts +39 -0
  1370. package/src/models/create-hospital-specialty-command.ts +99 -0
  1371. package/src/models/create-hospital-working-day-command.ts +48 -0
  1372. package/src/models/create-landing-command.ts +81 -0
  1373. package/src/models/create-language-command.ts +60 -0
  1374. package/src/models/create-manager-affiliation-command.ts +30 -0
  1375. package/src/models/create-manager-command.ts +99 -0
  1376. package/src/models/create-media-command.ts +57 -0
  1377. package/src/models/create-patient-command.ts +99 -0
  1378. package/src/models/create-plan-command.ts +69 -0
  1379. package/src/models/create-plan-hospital-command.ts +36 -0
  1380. package/src/models/create-profile-command.ts +111 -0
  1381. package/src/models/create-service-category-command.ts +42 -0
  1382. package/src/models/create-service-review-command.ts +75 -0
  1383. package/src/models/create-specialty-command.ts +87 -0
  1384. package/src/models/create-specialty-type-command.ts +90 -0
  1385. package/src/models/create-survey-form-command.ts +84 -0
  1386. package/src/models/create-tag-command.ts +30 -0
  1387. package/src/models/create-template-version-command.ts +42 -0
  1388. package/src/models/dash-board-model.ts +96 -0
  1389. package/src/models/day-of-week.ts +36 -0
  1390. package/src/models/deal-item-model.ts +120 -0
  1391. package/src/models/deal-item-simple-model.ts +54 -0
  1392. package/src/models/deal-model.ts +144 -0
  1393. package/src/models/deal-package-item-model.ts +108 -0
  1394. package/src/models/deal-package-model.ts +120 -0
  1395. package/src/models/deal-packages-model.ts +42 -0
  1396. package/src/models/deal-service-item-model.ts +72 -0
  1397. package/src/models/deal-service-model.ts +72 -0
  1398. package/src/models/deal-services-model.ts +42 -0
  1399. package/src/models/deals-model.ts +42 -0
  1400. package/src/models/deals-simple-model.ts +42 -0
  1401. package/src/models/delete-hospital-consultation-timetable-override-command.ts +51 -0
  1402. package/src/models/doctor-affiliation-item-model.ts +132 -0
  1403. package/src/models/doctor-affiliation-model.ts +177 -0
  1404. package/src/models/doctor-affiliations-model.ts +42 -0
  1405. package/src/models/doctor-certificate-item-model.ts +60 -0
  1406. package/src/models/doctor-certificate-model.ts +60 -0
  1407. package/src/models/doctor-certificates-model.ts +42 -0
  1408. package/src/models/doctor-education-item-model.ts +72 -0
  1409. package/src/models/doctor-education-model.ts +72 -0
  1410. package/src/models/doctor-educations-model.ts +42 -0
  1411. package/src/models/doctor-item-model.ts +120 -0
  1412. package/src/models/doctor-language-item-model.ts +60 -0
  1413. package/src/models/doctor-language-model.ts +60 -0
  1414. package/src/models/doctor-languages-model.ts +42 -0
  1415. package/src/models/doctor-model.ts +150 -0
  1416. package/src/models/doctor-portfolio-item-model.ts +66 -0
  1417. package/src/models/doctor-portfolio-model.ts +66 -0
  1418. package/src/models/doctor-portfolios-model.ts +42 -0
  1419. package/src/models/doctor-simple-item-model.ts +54 -0
  1420. package/src/models/doctor-specialties-model.ts +42 -0
  1421. package/src/models/doctor-specialty-model.ts +66 -0
  1422. package/src/models/doctors-model.ts +42 -0
  1423. package/src/models/doctors-simple-model.ts +42 -0
  1424. package/src/models/duration.ts +34 -0
  1425. package/src/models/faq-categories-model.ts +42 -0
  1426. package/src/models/faq-category-item-model.ts +99 -0
  1427. package/src/models/faq-category-model.ts +117 -0
  1428. package/src/models/faq-item-model.ts +129 -0
  1429. package/src/models/faq-model.ts +153 -0
  1430. package/src/models/faq-tag-item-model.ts +42 -0
  1431. package/src/models/faq-tag-model.ts +42 -0
  1432. package/src/models/faq-tags-model.ts +42 -0
  1433. package/src/models/faqs-model.ts +42 -0
  1434. package/src/models/gender.ts +34 -0
  1435. package/src/models/group-channel-list.ts +63 -0
  1436. package/src/models/group-channel.ts +174 -0
  1437. package/src/models/header-navigation-item-model.ts +66 -0
  1438. package/src/models/hospital-accreditation-item-model.ts +48 -0
  1439. package/src/models/hospital-accreditation-model.ts +48 -0
  1440. package/src/models/hospital-accreditations-model.ts +42 -0
  1441. package/src/models/hospital-consultation-option-model.ts +42 -0
  1442. package/src/models/hospital-consultation-timetable-item-model.ts +51 -0
  1443. package/src/models/hospital-consultation-timetable-model.ts +51 -0
  1444. package/src/models/hospital-consultation-timetable-override-item-model.ts +63 -0
  1445. package/src/models/hospital-consultation-timetable-override-model.ts +63 -0
  1446. package/src/models/hospital-consultation-timetable-overrides-model.ts +42 -0
  1447. package/src/models/hospital-consultation-timetables-model.ts +42 -0
  1448. package/src/models/hospital-equipment-item-model.ts +60 -0
  1449. package/src/models/hospital-equipment-model.ts +60 -0
  1450. package/src/models/hospital-equipments-model.ts +42 -0
  1451. package/src/models/hospital-evaluation-item-model.ts +54 -0
  1452. package/src/models/hospital-evaluation-model.ts +54 -0
  1453. package/src/models/hospital-evaluations-model.ts +42 -0
  1454. package/src/models/hospital-item-model.ts +147 -0
  1455. package/src/models/hospital-language-item-model.ts +60 -0
  1456. package/src/models/hospital-languages-model.ts +42 -0
  1457. package/src/models/hospital-model.ts +222 -0
  1458. package/src/models/hospital-service-item-model.ts +156 -0
  1459. package/src/models/hospital-service-model.ts +219 -0
  1460. package/src/models/hospital-services-model.ts +42 -0
  1461. package/src/models/hospital-simple-item-model.ts +54 -0
  1462. package/src/models/hospital-sns-handles-model.ts +42 -0
  1463. package/src/models/hospital-specialties-model.ts +42 -0
  1464. package/src/models/hospital-specialties-simple-model.ts +42 -0
  1465. package/src/models/hospital-specialty-item-model.ts +132 -0
  1466. package/src/models/hospital-specialty-model.ts +192 -0
  1467. package/src/models/hospital-specialty-simple-item-model.ts +60 -0
  1468. package/src/models/hospitals-model.ts +42 -0
  1469. package/src/models/hospitals-simple-model.ts +42 -0
  1470. package/src/models/http-status-code.ts +90 -0
  1471. package/src/models/index.ts +361 -0
  1472. package/src/models/invite-send-bird-group-channel-command.ts +30 -0
  1473. package/src/models/jtoken.ts +27 -0
  1474. package/src/models/landing-item-model.ts +81 -0
  1475. package/src/models/landing-model.ts +141 -0
  1476. package/src/models/landings-model.ts +42 -0
  1477. package/src/models/language-item-model.ts +60 -0
  1478. package/src/models/language-model.ts +60 -0
  1479. package/src/models/languages-model.ts +42 -0
  1480. package/src/models/leaved-group-channels-model.ts +42 -0
  1481. package/src/models/localized-url-model.ts +36 -0
  1482. package/src/models/location-model.ts +72 -0
  1483. package/src/models/manager-affiliation-item-model.ts +48 -0
  1484. package/src/models/manager-affiliation-model.ts +48 -0
  1485. package/src/models/manager-affiliations-model.ts +42 -0
  1486. package/src/models/manager-item-model.ts +126 -0
  1487. package/src/models/manager-model.ts +150 -0
  1488. package/src/models/managers-model.ts +42 -0
  1489. package/src/models/marketing-type.ts +32 -0
  1490. package/src/models/media-model.ts +63 -0
  1491. package/src/models/media-type.ts +36 -0
  1492. package/src/models/medias-model.ts +42 -0
  1493. package/src/models/member-model.ts +69 -0
  1494. package/src/models/members-model.ts +42 -0
  1495. package/src/models/membership-item-model.ts +75 -0
  1496. package/src/models/membership-model.ts +75 -0
  1497. package/src/models/memberships-model.ts +42 -0
  1498. package/src/models/mention-type.ts +31 -0
  1499. package/src/models/message-type.ts +32 -0
  1500. package/src/models/metadata.ts +42 -0
  1501. package/src/models/model-file.ts +72 -0
  1502. package/src/models/notification-code.ts +48 -0
  1503. package/src/models/notification-model.ts +93 -0
  1504. package/src/models/notifications-model.ts +48 -0
  1505. package/src/models/paged-list-meta-data.ts +84 -0
  1506. package/src/models/patient-item-model.ts +129 -0
  1507. package/src/models/patient-model.ts +159 -0
  1508. package/src/models/patients-model.ts +42 -0
  1509. package/src/models/plan-hospital-item-model.ts +54 -0
  1510. package/src/models/plan-hospital-model.ts +54 -0
  1511. package/src/models/plan-hospitals-model.ts +42 -0
  1512. package/src/models/plan-item-model.ts +75 -0
  1513. package/src/models/plan-model.ts +75 -0
  1514. package/src/models/plans-model.ts +42 -0
  1515. package/src/models/platform.ts +32 -0
  1516. package/src/models/problem-details.ts +56 -0
  1517. package/src/models/procedure.ts +31 -0
  1518. package/src/models/recurring-interval.ts +33 -0
  1519. package/src/models/refund-policy.ts +32 -0
  1520. package/src/models/reject-booking-command.ts +39 -0
  1521. package/src/models/reject-consultation-command.ts +39 -0
  1522. package/src/models/reject-reason.ts +33 -0
  1523. package/src/models/review-type.ts +32 -0
  1524. package/src/models/save-header-navigation-item-model.ts +54 -0
  1525. package/src/models/save-header-navigations-command.ts +33 -0
  1526. package/src/models/save-hospital-consultation-timetable-override-model.ts +48 -0
  1527. package/src/models/save-hospital-consultation-timetable-overrides-command.ts +33 -0
  1528. package/src/models/search-index-type.ts +41 -0
  1529. package/src/models/send-bird-group-channel-member.ts +87 -0
  1530. package/src/models/send-bird-group-channel-model.ts +153 -0
  1531. package/src/models/send-bird-group-channelr-operator.ts +42 -0
  1532. package/src/models/send-template-version-command.ts +30 -0
  1533. package/src/models/sendbird-response.ts +66 -0
  1534. package/src/models/service-categories-model.ts +42 -0
  1535. package/src/models/service-category-item-model.ts +60 -0
  1536. package/src/models/service-category-mapping-model.ts +36 -0
  1537. package/src/models/service-category-model.ts +60 -0
  1538. package/src/models/service-review-item-model.ts +135 -0
  1539. package/src/models/service-review-model.ts +153 -0
  1540. package/src/models/service-reviews-model.ts +42 -0
  1541. package/src/models/session-token.ts +36 -0
  1542. package/src/models/sns-handle-model.ts +45 -0
  1543. package/src/models/sns-type.ts +35 -0
  1544. package/src/models/sorting-order.ts +31 -0
  1545. package/src/models/source-model.ts +48 -0
  1546. package/src/models/specialties-model.ts +42 -0
  1547. package/src/models/specialties-simple-model.ts +42 -0
  1548. package/src/models/specialty-item-model.ts +117 -0
  1549. package/src/models/specialty-item-simple-model.ts +60 -0
  1550. package/src/models/specialty-model.ts +141 -0
  1551. package/src/models/specialty-type-item-model.ts +117 -0
  1552. package/src/models/specialty-type-model.ts +135 -0
  1553. package/src/models/specialty-type-simple-item-model.ts +54 -0
  1554. package/src/models/specialty-types-model.ts +42 -0
  1555. package/src/models/specialty-types-simple-model.ts +42 -0
  1556. package/src/models/string-string-ienumerable-key-value-pair.ts +36 -0
  1557. package/src/models/subscription-model.ts +42 -0
  1558. package/src/models/survey-form-element-input-model.ts +90 -0
  1559. package/src/models/survey-form-element-model.ts +90 -0
  1560. package/src/models/survey-form-element-option-input-model.ts +60 -0
  1561. package/src/models/survey-form-element-option-model.ts +66 -0
  1562. package/src/models/survey-form-element-types.ts +41 -0
  1563. package/src/models/survey-form-item-model.ts +72 -0
  1564. package/src/models/survey-form-model.ts +99 -0
  1565. package/src/models/survey-form-status.ts +31 -0
  1566. package/src/models/survey-forms-model.ts +42 -0
  1567. package/src/models/survey-result-element-model.ts +45 -0
  1568. package/src/models/survey-result-element-value-model.ts +42 -0
  1569. package/src/models/survey-result-item-model.ts +81 -0
  1570. package/src/models/survey-result-model.ts +108 -0
  1571. package/src/models/survey-result-user-model.ts +42 -0
  1572. package/src/models/survey-results-model.ts +42 -0
  1573. package/src/models/tag-item-model.ts +48 -0
  1574. package/src/models/tag-model.ts +48 -0
  1575. package/src/models/tags-model.ts +42 -0
  1576. package/src/models/template-version-item-model.ts +72 -0
  1577. package/src/models/template-version-model.ts +72 -0
  1578. package/src/models/template-versions-model.ts +42 -0
  1579. package/src/models/text-message.ts +141 -0
  1580. package/src/models/translate-all-options.ts +32 -0
  1581. package/src/models/translate-command.ts +48 -0
  1582. package/src/models/translate-doctor-affiliation-command.ts +45 -0
  1583. package/src/models/translate-hospital-command.ts +45 -0
  1584. package/src/models/update-about-us-page-command.ts +105 -0
  1585. package/src/models/update-accreditation-command.ts +42 -0
  1586. package/src/models/update-app-version-command.ts +42 -0
  1587. package/src/models/update-article-command.ts +144 -0
  1588. package/src/models/update-article-contributor-command.ts +45 -0
  1589. package/src/models/update-article-source-command.ts +42 -0
  1590. package/src/models/update-chadmin-command.ts +93 -0
  1591. package/src/models/update-chat-user-command.ts +48 -0
  1592. package/src/models/update-chmanager-command.ts +93 -0
  1593. package/src/models/update-contributor-command.ts +84 -0
  1594. package/src/models/update-contributor-sns-handle-command.ts +39 -0
  1595. package/src/models/update-country-command.ts +81 -0
  1596. package/src/models/update-deal-command.ts +87 -0
  1597. package/src/models/update-deal-package-command.ts +63 -0
  1598. package/src/models/update-deal-service-command.ts +30 -0
  1599. package/src/models/update-doctor-affiliation-command.ts +123 -0
  1600. package/src/models/update-doctor-certificate-command.ts +42 -0
  1601. package/src/models/update-doctor-command.ts +93 -0
  1602. package/src/models/update-doctor-education-command.ts +42 -0
  1603. package/src/models/update-doctor-language-command.ts +36 -0
  1604. package/src/models/update-doctor-portfolio-command.ts +60 -0
  1605. package/src/models/update-doctor-specialty-command.ts +30 -0
  1606. package/src/models/update-faq-category-command.ts +66 -0
  1607. package/src/models/update-faq-command.ts +96 -0
  1608. package/src/models/update-hospital-command.ts +183 -0
  1609. package/src/models/update-hospital-consultation-timetable-command.ts +45 -0
  1610. package/src/models/update-hospital-equipment-command.ts +54 -0
  1611. package/src/models/update-hospital-language-command.ts +36 -0
  1612. package/src/models/update-hospital-service-command.ts +126 -0
  1613. package/src/models/update-hospital-sns-handle-command.ts +39 -0
  1614. package/src/models/update-hospital-specialty-command.ts +105 -0
  1615. package/src/models/update-hospital-working-day-command.ts +48 -0
  1616. package/src/models/update-landing-command.ts +93 -0
  1617. package/src/models/update-language-command.ts +54 -0
  1618. package/src/models/update-manager-command.ts +99 -0
  1619. package/src/models/update-media-command.ts +57 -0
  1620. package/src/models/update-patient-command.ts +93 -0
  1621. package/src/models/update-plan-command.ts +63 -0
  1622. package/src/models/update-plan-hospital-command.ts +30 -0
  1623. package/src/models/update-profile-command.ts +99 -0
  1624. package/src/models/update-service-category-command.ts +42 -0
  1625. package/src/models/update-service-review-command.ts +72 -0
  1626. package/src/models/update-specialty-command.ts +105 -0
  1627. package/src/models/update-specialty-type-command.ts +108 -0
  1628. package/src/models/update-survey-form-command.ts +78 -0
  1629. package/src/models/update-template-version-command.ts +42 -0
  1630. package/src/models/user-language-model.ts +60 -0
  1631. package/src/models/user-location-model.ts +81 -0
  1632. package/src/models/user-location-type.ts +31 -0
  1633. package/src/models/user-model.ts +144 -0
  1634. package/src/models/user.ts +123 -0
  1635. package/src/models/working-day-item-model.ts +54 -0
  1636. package/src/models/working-day-model.ts +54 -0
  1637. package/src/models/working-days-model.ts +42 -0
@@ -0,0 +1,3978 @@
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.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = 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
+ * DoctorsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var DoctorsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Delete DoctorCertificate.
98
+ * @param {string} doctorId
99
+ * @param {string} certificateId
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ apiV1DoctorsDoctorIdCertificatesCertificateIdDelete: function (doctorId, certificateId, 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 'doctorId' is not null or undefined
111
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'doctorId', doctorId);
112
+ // verify required parameter 'certificateId' is not null or undefined
113
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'certificateId', certificateId);
114
+ localVarPath = "/api/v1/doctors/{doctorId}/certificates/{certificateId}"
115
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
116
+ .replace("{".concat("certificateId", "}"), encodeURIComponent(String(certificateId)));
117
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
122
+ localVarHeaderParameter = {};
123
+ localVarQueryParameter = {};
124
+ // authentication oauth2 required
125
+ // oauth required
126
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
127
+ case 1:
128
+ // authentication oauth2 required
129
+ // oauth required
130
+ _a.sent();
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 DoctorCertificate.
145
+ * @param {string} doctorId
146
+ * @param {string} certificateId
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ apiV1DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, 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 'doctorId' is not null or undefined
158
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdGet', 'doctorId', doctorId);
159
+ // verify required parameter 'certificateId' is not null or undefined
160
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdGet', 'certificateId', certificateId);
161
+ localVarPath = "/api/v1/doctors/{doctorId}/certificates/{certificateId}"
162
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
163
+ .replace("{".concat("certificateId", "}"), encodeURIComponent(String(certificateId)));
164
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
165
+ if (configuration) {
166
+ baseOptions = configuration.baseOptions;
167
+ }
168
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
169
+ localVarHeaderParameter = {};
170
+ localVarQueryParameter = {};
171
+ // authentication oauth2 required
172
+ // oauth required
173
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
174
+ case 1:
175
+ // authentication oauth2 required
176
+ // oauth required
177
+ _a.sent();
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 Update DoctorCertificate.
192
+ * @param {string} doctorId
193
+ * @param {string} certificateId
194
+ * @param {UpdateDoctorCertificateCommand} [updateDoctorCertificateCommand]
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ apiV1DoctorsDoctorIdCertificatesCertificateIdPut: function (doctorId, certificateId, updateDoctorCertificateCommand, options) {
199
+ if (options === void 0) { options = {}; }
200
+ return __awaiter(_this, void 0, void 0, function () {
201
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
202
+ return __generator(this, function (_a) {
203
+ switch (_a.label) {
204
+ case 0:
205
+ // verify required parameter 'doctorId' is not null or undefined
206
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdPut', 'doctorId', doctorId);
207
+ // verify required parameter 'certificateId' is not null or undefined
208
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesCertificateIdPut', 'certificateId', certificateId);
209
+ localVarPath = "/api/v1/doctors/{doctorId}/certificates/{certificateId}"
210
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
211
+ .replace("{".concat("certificateId", "}"), encodeURIComponent(String(certificateId)));
212
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
213
+ if (configuration) {
214
+ baseOptions = configuration.baseOptions;
215
+ }
216
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
217
+ localVarHeaderParameter = {};
218
+ localVarQueryParameter = {};
219
+ // authentication oauth2 required
220
+ // oauth required
221
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
222
+ case 1:
223
+ // authentication oauth2 required
224
+ // oauth required
225
+ _a.sent();
226
+ localVarHeaderParameter['Content-Type'] = 'application/json';
227
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
228
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
229
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
230
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorCertificateCommand, localVarRequestOptions, configuration);
231
+ return [2 /*return*/, {
232
+ url: (0, common_1.toPathString)(localVarUrlObj),
233
+ options: localVarRequestOptions,
234
+ }];
235
+ }
236
+ });
237
+ });
238
+ },
239
+ /**
240
+ *
241
+ * @summary Delete DoctorCertificate.
242
+ * @param {string} doctorId
243
+ * @param {string} [doctorName]
244
+ * @param {string} [certificateId]
245
+ * @param {string} [certificate]
246
+ * @param {Date} [activeFrom]
247
+ * @param {Date} [activeTo]
248
+ * @param {number} [page]
249
+ * @param {number} [limit]
250
+ * @param {Date} [lastRetrieved]
251
+ * @param {*} [options] Override http request option.
252
+ * @throws {RequiredError}
253
+ */
254
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
255
+ if (options === void 0) { options = {}; }
256
+ return __awaiter(_this, void 0, void 0, function () {
257
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
258
+ return __generator(this, function (_a) {
259
+ switch (_a.label) {
260
+ case 0:
261
+ // verify required parameter 'doctorId' is not null or undefined
262
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId);
263
+ localVarPath = "/api/v1/doctors/{doctorId}/certificates"
264
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
265
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
266
+ if (configuration) {
267
+ baseOptions = configuration.baseOptions;
268
+ }
269
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
270
+ localVarHeaderParameter = {};
271
+ localVarQueryParameter = {};
272
+ // authentication oauth2 required
273
+ // oauth required
274
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
275
+ case 1:
276
+ // authentication oauth2 required
277
+ // oauth required
278
+ _a.sent();
279
+ if (doctorName !== undefined) {
280
+ localVarQueryParameter['DoctorName'] = doctorName;
281
+ }
282
+ if (certificateId !== undefined) {
283
+ localVarQueryParameter['CertificateId'] = certificateId;
284
+ }
285
+ if (certificate !== undefined) {
286
+ localVarQueryParameter['Certificate'] = certificate;
287
+ }
288
+ if (activeFrom !== undefined) {
289
+ localVarQueryParameter['ActiveFrom'] = (activeFrom instanceof Date) ?
290
+ activeFrom.toISOString() :
291
+ activeFrom;
292
+ }
293
+ if (activeTo !== undefined) {
294
+ localVarQueryParameter['ActiveTo'] = (activeTo instanceof Date) ?
295
+ activeTo.toISOString() :
296
+ activeTo;
297
+ }
298
+ if (page !== undefined) {
299
+ localVarQueryParameter['page'] = page;
300
+ }
301
+ if (limit !== undefined) {
302
+ localVarQueryParameter['limit'] = limit;
303
+ }
304
+ if (lastRetrieved !== undefined) {
305
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
306
+ lastRetrieved.toISOString() :
307
+ lastRetrieved;
308
+ }
309
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
310
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
311
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
312
+ return [2 /*return*/, {
313
+ url: (0, common_1.toPathString)(localVarUrlObj),
314
+ options: localVarRequestOptions,
315
+ }];
316
+ }
317
+ });
318
+ });
319
+ },
320
+ /**
321
+ *
322
+ * @summary Create DoctorCertificate.
323
+ * @param {string} doctorId
324
+ * @param {CreateDoctorCertificateCommand} [createDoctorCertificateCommand]
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ apiV1DoctorsDoctorIdCertificatesPost: function (doctorId, createDoctorCertificateCommand, options) {
329
+ if (options === void 0) { options = {}; }
330
+ return __awaiter(_this, void 0, void 0, function () {
331
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
332
+ return __generator(this, function (_a) {
333
+ switch (_a.label) {
334
+ case 0:
335
+ // verify required parameter 'doctorId' is not null or undefined
336
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdCertificatesPost', 'doctorId', doctorId);
337
+ localVarPath = "/api/v1/doctors/{doctorId}/certificates"
338
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
339
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
340
+ if (configuration) {
341
+ baseOptions = configuration.baseOptions;
342
+ }
343
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
344
+ localVarHeaderParameter = {};
345
+ localVarQueryParameter = {};
346
+ // authentication oauth2 required
347
+ // oauth required
348
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
349
+ case 1:
350
+ // authentication oauth2 required
351
+ // oauth required
352
+ _a.sent();
353
+ localVarHeaderParameter['Content-Type'] = 'application/json';
354
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
355
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
356
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
357
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorCertificateCommand, localVarRequestOptions, configuration);
358
+ return [2 /*return*/, {
359
+ url: (0, common_1.toPathString)(localVarUrlObj),
360
+ options: localVarRequestOptions,
361
+ }];
362
+ }
363
+ });
364
+ });
365
+ },
366
+ /**
367
+ *
368
+ * @summary Delete Doctor.
369
+ * @param {string} doctorId
370
+ * @param {boolean} [isPermanent]
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
375
+ if (options === void 0) { options = {}; }
376
+ return __awaiter(_this, void 0, void 0, function () {
377
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
378
+ return __generator(this, function (_a) {
379
+ switch (_a.label) {
380
+ case 0:
381
+ // verify required parameter 'doctorId' is not null or undefined
382
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdDelete', 'doctorId', doctorId);
383
+ localVarPath = "/api/v1/doctors/{doctorId}"
384
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
385
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
386
+ if (configuration) {
387
+ baseOptions = configuration.baseOptions;
388
+ }
389
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
390
+ localVarHeaderParameter = {};
391
+ localVarQueryParameter = {};
392
+ // authentication oauth2 required
393
+ // oauth required
394
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
395
+ case 1:
396
+ // authentication oauth2 required
397
+ // oauth required
398
+ _a.sent();
399
+ if (isPermanent !== undefined) {
400
+ localVarQueryParameter['isPermanent'] = isPermanent;
401
+ }
402
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
403
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
405
+ return [2 /*return*/, {
406
+ url: (0, common_1.toPathString)(localVarUrlObj),
407
+ options: localVarRequestOptions,
408
+ }];
409
+ }
410
+ });
411
+ });
412
+ },
413
+ /**
414
+ *
415
+ * @summary Delete DoctorEducation
416
+ * @param {string} doctorId
417
+ * @param {string} educationId
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ */
421
+ apiV1DoctorsDoctorIdEducationsEducationIdDelete: function (doctorId, educationId, options) {
422
+ if (options === void 0) { options = {}; }
423
+ return __awaiter(_this, void 0, void 0, function () {
424
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
425
+ return __generator(this, function (_a) {
426
+ switch (_a.label) {
427
+ case 0:
428
+ // verify required parameter 'doctorId' is not null or undefined
429
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdDelete', 'doctorId', doctorId);
430
+ // verify required parameter 'educationId' is not null or undefined
431
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdDelete', 'educationId', educationId);
432
+ localVarPath = "/api/v1/doctors/{doctorId}/educations/{educationId}"
433
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
434
+ .replace("{".concat("educationId", "}"), encodeURIComponent(String(educationId)));
435
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
436
+ if (configuration) {
437
+ baseOptions = configuration.baseOptions;
438
+ }
439
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
440
+ localVarHeaderParameter = {};
441
+ localVarQueryParameter = {};
442
+ // authentication oauth2 required
443
+ // oauth required
444
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
445
+ case 1:
446
+ // authentication oauth2 required
447
+ // oauth required
448
+ _a.sent();
449
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
450
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
452
+ return [2 /*return*/, {
453
+ url: (0, common_1.toPathString)(localVarUrlObj),
454
+ options: localVarRequestOptions,
455
+ }];
456
+ }
457
+ });
458
+ });
459
+ },
460
+ /**
461
+ *
462
+ * @summary Get DoctorEducation.
463
+ * @param {string} doctorId
464
+ * @param {string} educationId
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ apiV1DoctorsDoctorIdEducationsEducationIdGet: function (doctorId, educationId, options) {
469
+ if (options === void 0) { options = {}; }
470
+ return __awaiter(_this, void 0, void 0, function () {
471
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
472
+ return __generator(this, function (_a) {
473
+ switch (_a.label) {
474
+ case 0:
475
+ // verify required parameter 'doctorId' is not null or undefined
476
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdGet', 'doctorId', doctorId);
477
+ // verify required parameter 'educationId' is not null or undefined
478
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdGet', 'educationId', educationId);
479
+ localVarPath = "/api/v1/doctors/{doctorId}/educations/{educationId}"
480
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
481
+ .replace("{".concat("educationId", "}"), encodeURIComponent(String(educationId)));
482
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
483
+ if (configuration) {
484
+ baseOptions = configuration.baseOptions;
485
+ }
486
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
487
+ localVarHeaderParameter = {};
488
+ localVarQueryParameter = {};
489
+ // authentication oauth2 required
490
+ // oauth required
491
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
492
+ case 1:
493
+ // authentication oauth2 required
494
+ // oauth required
495
+ _a.sent();
496
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
497
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
498
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
499
+ return [2 /*return*/, {
500
+ url: (0, common_1.toPathString)(localVarUrlObj),
501
+ options: localVarRequestOptions,
502
+ }];
503
+ }
504
+ });
505
+ });
506
+ },
507
+ /**
508
+ *
509
+ * @summary Update DoctorEducation.
510
+ * @param {string} doctorId
511
+ * @param {string} educationId
512
+ * @param {UpdateDoctorEducationCommand} [updateDoctorEducationCommand]
513
+ * @param {*} [options] Override http request option.
514
+ * @throws {RequiredError}
515
+ */
516
+ apiV1DoctorsDoctorIdEducationsEducationIdPut: function (doctorId, educationId, updateDoctorEducationCommand, options) {
517
+ if (options === void 0) { options = {}; }
518
+ return __awaiter(_this, void 0, void 0, function () {
519
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
520
+ return __generator(this, function (_a) {
521
+ switch (_a.label) {
522
+ case 0:
523
+ // verify required parameter 'doctorId' is not null or undefined
524
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdPut', 'doctorId', doctorId);
525
+ // verify required parameter 'educationId' is not null or undefined
526
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsEducationIdPut', 'educationId', educationId);
527
+ localVarPath = "/api/v1/doctors/{doctorId}/educations/{educationId}"
528
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
529
+ .replace("{".concat("educationId", "}"), encodeURIComponent(String(educationId)));
530
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
531
+ if (configuration) {
532
+ baseOptions = configuration.baseOptions;
533
+ }
534
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
535
+ localVarHeaderParameter = {};
536
+ localVarQueryParameter = {};
537
+ // authentication oauth2 required
538
+ // oauth required
539
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
540
+ case 1:
541
+ // authentication oauth2 required
542
+ // oauth required
543
+ _a.sent();
544
+ localVarHeaderParameter['Content-Type'] = 'application/json';
545
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
546
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
547
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
548
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorEducationCommand, localVarRequestOptions, configuration);
549
+ return [2 /*return*/, {
550
+ url: (0, common_1.toPathString)(localVarUrlObj),
551
+ options: localVarRequestOptions,
552
+ }];
553
+ }
554
+ });
555
+ });
556
+ },
557
+ /**
558
+ *
559
+ * @summary Get all DoctorEducations.
560
+ * @param {string} doctorId
561
+ * @param {string} [doctorName]
562
+ * @param {string} [educationId]
563
+ * @param {string} [institution]
564
+ * @param {string} [qualification]
565
+ * @param {Date} [graduationDate]
566
+ * @param {number} [page]
567
+ * @param {number} [limit]
568
+ * @param {Date} [lastRetrieved]
569
+ * @param {*} [options] Override http request option.
570
+ * @throws {RequiredError}
571
+ */
572
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
573
+ if (options === void 0) { options = {}; }
574
+ return __awaiter(_this, void 0, void 0, function () {
575
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
576
+ return __generator(this, function (_a) {
577
+ switch (_a.label) {
578
+ case 0:
579
+ // verify required parameter 'doctorId' is not null or undefined
580
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsGet', 'doctorId', doctorId);
581
+ localVarPath = "/api/v1/doctors/{doctorId}/educations"
582
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
583
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
584
+ if (configuration) {
585
+ baseOptions = configuration.baseOptions;
586
+ }
587
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
588
+ localVarHeaderParameter = {};
589
+ localVarQueryParameter = {};
590
+ // authentication oauth2 required
591
+ // oauth required
592
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
593
+ case 1:
594
+ // authentication oauth2 required
595
+ // oauth required
596
+ _a.sent();
597
+ if (doctorName !== undefined) {
598
+ localVarQueryParameter['DoctorName'] = doctorName;
599
+ }
600
+ if (educationId !== undefined) {
601
+ localVarQueryParameter['EducationId'] = educationId;
602
+ }
603
+ if (institution !== undefined) {
604
+ localVarQueryParameter['Institution'] = institution;
605
+ }
606
+ if (qualification !== undefined) {
607
+ localVarQueryParameter['Qualification'] = qualification;
608
+ }
609
+ if (graduationDate !== undefined) {
610
+ localVarQueryParameter['GraduationDate'] = (graduationDate instanceof Date) ?
611
+ graduationDate.toISOString() :
612
+ graduationDate;
613
+ }
614
+ if (page !== undefined) {
615
+ localVarQueryParameter['page'] = page;
616
+ }
617
+ if (limit !== undefined) {
618
+ localVarQueryParameter['limit'] = limit;
619
+ }
620
+ if (lastRetrieved !== undefined) {
621
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
622
+ lastRetrieved.toISOString() :
623
+ lastRetrieved;
624
+ }
625
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
626
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
627
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
628
+ return [2 /*return*/, {
629
+ url: (0, common_1.toPathString)(localVarUrlObj),
630
+ options: localVarRequestOptions,
631
+ }];
632
+ }
633
+ });
634
+ });
635
+ },
636
+ /**
637
+ *
638
+ * @summary Create DoctorEducation.
639
+ * @param {string} doctorId
640
+ * @param {CreateDoctorEducationCommand} [createDoctorEducationCommand]
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ */
644
+ apiV1DoctorsDoctorIdEducationsPost: function (doctorId, createDoctorEducationCommand, options) {
645
+ if (options === void 0) { options = {}; }
646
+ return __awaiter(_this, void 0, void 0, function () {
647
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
648
+ return __generator(this, function (_a) {
649
+ switch (_a.label) {
650
+ case 0:
651
+ // verify required parameter 'doctorId' is not null or undefined
652
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdEducationsPost', 'doctorId', doctorId);
653
+ localVarPath = "/api/v1/doctors/{doctorId}/educations"
654
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
655
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
656
+ if (configuration) {
657
+ baseOptions = configuration.baseOptions;
658
+ }
659
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
660
+ localVarHeaderParameter = {};
661
+ localVarQueryParameter = {};
662
+ // authentication oauth2 required
663
+ // oauth required
664
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
665
+ case 1:
666
+ // authentication oauth2 required
667
+ // oauth required
668
+ _a.sent();
669
+ localVarHeaderParameter['Content-Type'] = 'application/json';
670
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
671
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
672
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
673
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorEducationCommand, localVarRequestOptions, configuration);
674
+ return [2 /*return*/, {
675
+ url: (0, common_1.toPathString)(localVarUrlObj),
676
+ options: localVarRequestOptions,
677
+ }];
678
+ }
679
+ });
680
+ });
681
+ },
682
+ /**
683
+ *
684
+ * @summary
685
+ * @param {string} doctorId
686
+ * @param {*} [options] Override http request option.
687
+ * @throws {RequiredError}
688
+ */
689
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
690
+ if (options === void 0) { options = {}; }
691
+ return __awaiter(_this, void 0, void 0, function () {
692
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
693
+ return __generator(this, function (_a) {
694
+ switch (_a.label) {
695
+ case 0:
696
+ // verify required parameter 'doctorId' is not null or undefined
697
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId);
698
+ localVarPath = "/api/v1/doctors/{doctorId}"
699
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
700
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
701
+ if (configuration) {
702
+ baseOptions = configuration.baseOptions;
703
+ }
704
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
705
+ localVarHeaderParameter = {};
706
+ localVarQueryParameter = {};
707
+ // authentication oauth2 required
708
+ // oauth required
709
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
710
+ case 1:
711
+ // authentication oauth2 required
712
+ // oauth required
713
+ _a.sent();
714
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
715
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
716
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
717
+ return [2 /*return*/, {
718
+ url: (0, common_1.toPathString)(localVarUrlObj),
719
+ options: localVarRequestOptions,
720
+ }];
721
+ }
722
+ });
723
+ });
724
+ },
725
+ /**
726
+ *
727
+ * @summary Get all DoctorLanguages.
728
+ * @param {string} doctorId
729
+ * @param {string} [languageCode]
730
+ * @param {number} [page]
731
+ * @param {number} [limit]
732
+ * @param {Date} [lastRetrieved]
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ */
736
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, 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 'doctorId' is not null or undefined
744
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
745
+ localVarPath = "/api/v1/doctors/{doctorId}/languages"
746
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
747
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
748
+ if (configuration) {
749
+ baseOptions = configuration.baseOptions;
750
+ }
751
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
752
+ localVarHeaderParameter = {};
753
+ localVarQueryParameter = {};
754
+ // authentication oauth2 required
755
+ // oauth required
756
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
757
+ case 1:
758
+ // authentication oauth2 required
759
+ // oauth required
760
+ _a.sent();
761
+ if (languageCode !== undefined) {
762
+ localVarQueryParameter['LanguageCode'] = languageCode;
763
+ }
764
+ if (page !== undefined) {
765
+ localVarQueryParameter['page'] = page;
766
+ }
767
+ if (limit !== undefined) {
768
+ localVarQueryParameter['limit'] = limit;
769
+ }
770
+ if (lastRetrieved !== undefined) {
771
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
772
+ lastRetrieved.toISOString() :
773
+ lastRetrieved;
774
+ }
775
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
776
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
777
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
778
+ return [2 /*return*/, {
779
+ url: (0, common_1.toPathString)(localVarUrlObj),
780
+ options: localVarRequestOptions,
781
+ }];
782
+ }
783
+ });
784
+ });
785
+ },
786
+ /**
787
+ *
788
+ * @summary Delete DoctorLanguage
789
+ * @param {string} doctorId
790
+ * @param {string} languageCode
791
+ * @param {*} [options] Override http request option.
792
+ * @throws {RequiredError}
793
+ */
794
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
795
+ if (options === void 0) { options = {}; }
796
+ return __awaiter(_this, void 0, void 0, function () {
797
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
798
+ return __generator(this, function (_a) {
799
+ switch (_a.label) {
800
+ case 0:
801
+ // verify required parameter 'doctorId' is not null or undefined
802
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete', 'doctorId', doctorId);
803
+ // verify required parameter 'languageCode' is not null or undefined
804
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
805
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
806
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
807
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
808
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
809
+ if (configuration) {
810
+ baseOptions = configuration.baseOptions;
811
+ }
812
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
813
+ localVarHeaderParameter = {};
814
+ localVarQueryParameter = {};
815
+ // authentication oauth2 required
816
+ // oauth required
817
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
818
+ case 1:
819
+ // authentication oauth2 required
820
+ // oauth required
821
+ _a.sent();
822
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
823
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
824
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
825
+ return [2 /*return*/, {
826
+ url: (0, common_1.toPathString)(localVarUrlObj),
827
+ options: localVarRequestOptions,
828
+ }];
829
+ }
830
+ });
831
+ });
832
+ },
833
+ /**
834
+ *
835
+ * @summary Get DoctorLanguage.
836
+ * @param {string} doctorId
837
+ * @param {string} languageCode
838
+ * @param {*} [options] Override http request option.
839
+ * @throws {RequiredError}
840
+ */
841
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
842
+ if (options === void 0) { options = {}; }
843
+ return __awaiter(_this, void 0, void 0, function () {
844
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
845
+ return __generator(this, function (_a) {
846
+ switch (_a.label) {
847
+ case 0:
848
+ // verify required parameter 'doctorId' is not null or undefined
849
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeGet', 'doctorId', doctorId);
850
+ // verify required parameter 'languageCode' is not null or undefined
851
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeGet', 'languageCode', languageCode);
852
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
853
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
854
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
855
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
856
+ if (configuration) {
857
+ baseOptions = configuration.baseOptions;
858
+ }
859
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
860
+ localVarHeaderParameter = {};
861
+ localVarQueryParameter = {};
862
+ // authentication oauth2 required
863
+ // oauth required
864
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
865
+ case 1:
866
+ // authentication oauth2 required
867
+ // oauth required
868
+ _a.sent();
869
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
870
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
871
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
872
+ return [2 /*return*/, {
873
+ url: (0, common_1.toPathString)(localVarUrlObj),
874
+ options: localVarRequestOptions,
875
+ }];
876
+ }
877
+ });
878
+ });
879
+ },
880
+ /**
881
+ *
882
+ * @summary Update DoctorLanguage.
883
+ * @param {string} doctorId
884
+ * @param {string} languageCode
885
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
886
+ * @param {*} [options] Override http request option.
887
+ * @throws {RequiredError}
888
+ */
889
+ apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
890
+ if (options === void 0) { options = {}; }
891
+ return __awaiter(_this, void 0, void 0, function () {
892
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
893
+ return __generator(this, function (_a) {
894
+ switch (_a.label) {
895
+ case 0:
896
+ // verify required parameter 'doctorId' is not null or undefined
897
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodePut', 'doctorId', doctorId);
898
+ // verify required parameter 'languageCode' is not null or undefined
899
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodePut', 'languageCode', languageCode);
900
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
901
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
902
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
903
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
904
+ if (configuration) {
905
+ baseOptions = configuration.baseOptions;
906
+ }
907
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
908
+ localVarHeaderParameter = {};
909
+ localVarQueryParameter = {};
910
+ // authentication oauth2 required
911
+ // oauth required
912
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
913
+ case 1:
914
+ // authentication oauth2 required
915
+ // oauth required
916
+ _a.sent();
917
+ localVarHeaderParameter['Content-Type'] = 'application/json';
918
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
919
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
920
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
921
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
922
+ return [2 /*return*/, {
923
+ url: (0, common_1.toPathString)(localVarUrlObj),
924
+ options: localVarRequestOptions,
925
+ }];
926
+ }
927
+ });
928
+ });
929
+ },
930
+ /**
931
+ *
932
+ * @summary Create DoctorLanguage.
933
+ * @param {string} doctorId
934
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
935
+ * @param {*} [options] Override http request option.
936
+ * @throws {RequiredError}
937
+ */
938
+ apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
939
+ if (options === void 0) { options = {}; }
940
+ return __awaiter(_this, void 0, void 0, function () {
941
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
942
+ return __generator(this, function (_a) {
943
+ switch (_a.label) {
944
+ case 0:
945
+ // verify required parameter 'doctorId' is not null or undefined
946
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesPost', 'doctorId', doctorId);
947
+ localVarPath = "/api/v1/doctors/{doctorId}/languages"
948
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
949
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
950
+ if (configuration) {
951
+ baseOptions = configuration.baseOptions;
952
+ }
953
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
954
+ localVarHeaderParameter = {};
955
+ localVarQueryParameter = {};
956
+ // authentication oauth2 required
957
+ // oauth required
958
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
959
+ case 1:
960
+ // authentication oauth2 required
961
+ // oauth required
962
+ _a.sent();
963
+ localVarHeaderParameter['Content-Type'] = 'application/json';
964
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
965
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
966
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
967
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorLanguageCommand, localVarRequestOptions, configuration);
968
+ return [2 /*return*/, {
969
+ url: (0, common_1.toPathString)(localVarUrlObj),
970
+ options: localVarRequestOptions,
971
+ }];
972
+ }
973
+ });
974
+ });
975
+ },
976
+ /**
977
+ *
978
+ * @summary Get all DoctorMedias.
979
+ * @param {string} doctorId
980
+ * @param {string} [id]
981
+ * @param {MediaType} [mediaType]
982
+ * @param {number} [page]
983
+ * @param {number} [limit]
984
+ * @param {Date} [lastRetrieved]
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ apiV1DoctorsDoctorIdMediasGet: function (doctorId, id, mediaType, page, limit, lastRetrieved, options) {
989
+ if (options === void 0) { options = {}; }
990
+ return __awaiter(_this, void 0, void 0, function () {
991
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
992
+ return __generator(this, function (_a) {
993
+ switch (_a.label) {
994
+ case 0:
995
+ // verify required parameter 'doctorId' is not null or undefined
996
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasGet', 'doctorId', doctorId);
997
+ localVarPath = "/api/v1/doctors/{doctorId}/medias"
998
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
999
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1000
+ if (configuration) {
1001
+ baseOptions = configuration.baseOptions;
1002
+ }
1003
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1004
+ localVarHeaderParameter = {};
1005
+ localVarQueryParameter = {};
1006
+ // authentication oauth2 required
1007
+ // oauth required
1008
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1009
+ case 1:
1010
+ // authentication oauth2 required
1011
+ // oauth required
1012
+ _a.sent();
1013
+ if (id !== undefined) {
1014
+ localVarQueryParameter['Id'] = id;
1015
+ }
1016
+ if (mediaType !== undefined) {
1017
+ localVarQueryParameter['MediaType'] = mediaType;
1018
+ }
1019
+ if (page !== undefined) {
1020
+ localVarQueryParameter['page'] = page;
1021
+ }
1022
+ if (limit !== undefined) {
1023
+ localVarQueryParameter['limit'] = limit;
1024
+ }
1025
+ if (lastRetrieved !== undefined) {
1026
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1027
+ lastRetrieved.toISOString() :
1028
+ lastRetrieved;
1029
+ }
1030
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1031
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1032
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1033
+ return [2 /*return*/, {
1034
+ url: (0, common_1.toPathString)(localVarUrlObj),
1035
+ options: localVarRequestOptions,
1036
+ }];
1037
+ }
1038
+ });
1039
+ });
1040
+ },
1041
+ /**
1042
+ *
1043
+ * @summary Delete DoctorMedia
1044
+ * @param {string} doctorId
1045
+ * @param {string} mediaId
1046
+ * @param {*} [options] Override http request option.
1047
+ * @throws {RequiredError}
1048
+ */
1049
+ apiV1DoctorsDoctorIdMediasMediaIdDelete: function (doctorId, mediaId, options) {
1050
+ if (options === void 0) { options = {}; }
1051
+ return __awaiter(_this, void 0, void 0, function () {
1052
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1053
+ return __generator(this, function (_a) {
1054
+ switch (_a.label) {
1055
+ case 0:
1056
+ // verify required parameter 'doctorId' is not null or undefined
1057
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'doctorId', doctorId);
1058
+ // verify required parameter 'mediaId' is not null or undefined
1059
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdDelete', 'mediaId', mediaId);
1060
+ localVarPath = "/api/v1/doctors/{doctorId}/medias/{mediaId}"
1061
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1062
+ .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
1063
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1064
+ if (configuration) {
1065
+ baseOptions = configuration.baseOptions;
1066
+ }
1067
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
1068
+ localVarHeaderParameter = {};
1069
+ localVarQueryParameter = {};
1070
+ // authentication oauth2 required
1071
+ // oauth required
1072
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1073
+ case 1:
1074
+ // authentication oauth2 required
1075
+ // oauth required
1076
+ _a.sent();
1077
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1078
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1079
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1080
+ return [2 /*return*/, {
1081
+ url: (0, common_1.toPathString)(localVarUrlObj),
1082
+ options: localVarRequestOptions,
1083
+ }];
1084
+ }
1085
+ });
1086
+ });
1087
+ },
1088
+ /**
1089
+ *
1090
+ * @summary Get DoctorMedia.
1091
+ * @param {string} doctorId
1092
+ * @param {string} mediaId
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ apiV1DoctorsDoctorIdMediasMediaIdGet: function (doctorId, mediaId, options) {
1097
+ if (options === void 0) { options = {}; }
1098
+ return __awaiter(_this, void 0, void 0, function () {
1099
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1100
+ return __generator(this, function (_a) {
1101
+ switch (_a.label) {
1102
+ case 0:
1103
+ // verify required parameter 'doctorId' is not null or undefined
1104
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdGet', 'doctorId', doctorId);
1105
+ // verify required parameter 'mediaId' is not null or undefined
1106
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdGet', 'mediaId', mediaId);
1107
+ localVarPath = "/api/v1/doctors/{doctorId}/medias/{mediaId}"
1108
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1109
+ .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
1110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1111
+ if (configuration) {
1112
+ baseOptions = configuration.baseOptions;
1113
+ }
1114
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1115
+ localVarHeaderParameter = {};
1116
+ localVarQueryParameter = {};
1117
+ // authentication oauth2 required
1118
+ // oauth required
1119
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1120
+ case 1:
1121
+ // authentication oauth2 required
1122
+ // oauth required
1123
+ _a.sent();
1124
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1125
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1126
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1127
+ return [2 /*return*/, {
1128
+ url: (0, common_1.toPathString)(localVarUrlObj),
1129
+ options: localVarRequestOptions,
1130
+ }];
1131
+ }
1132
+ });
1133
+ });
1134
+ },
1135
+ /**
1136
+ *
1137
+ * @summary Update DoctorMedia.
1138
+ * @param {string} doctorId
1139
+ * @param {string} mediaId
1140
+ * @param {UpdateMediaCommand} [updateMediaCommand]
1141
+ * @param {*} [options] Override http request option.
1142
+ * @throws {RequiredError}
1143
+ */
1144
+ apiV1DoctorsDoctorIdMediasMediaIdPut: function (doctorId, mediaId, updateMediaCommand, options) {
1145
+ if (options === void 0) { options = {}; }
1146
+ return __awaiter(_this, void 0, void 0, function () {
1147
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1148
+ return __generator(this, function (_a) {
1149
+ switch (_a.label) {
1150
+ case 0:
1151
+ // verify required parameter 'doctorId' is not null or undefined
1152
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdPut', 'doctorId', doctorId);
1153
+ // verify required parameter 'mediaId' is not null or undefined
1154
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasMediaIdPut', 'mediaId', mediaId);
1155
+ localVarPath = "/api/v1/doctors/{doctorId}/medias/{mediaId}"
1156
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1157
+ .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
1158
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1159
+ if (configuration) {
1160
+ baseOptions = configuration.baseOptions;
1161
+ }
1162
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1163
+ localVarHeaderParameter = {};
1164
+ localVarQueryParameter = {};
1165
+ // authentication oauth2 required
1166
+ // oauth required
1167
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1168
+ case 1:
1169
+ // authentication oauth2 required
1170
+ // oauth required
1171
+ _a.sent();
1172
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1173
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1174
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1175
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1176
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateMediaCommand, localVarRequestOptions, configuration);
1177
+ return [2 /*return*/, {
1178
+ url: (0, common_1.toPathString)(localVarUrlObj),
1179
+ options: localVarRequestOptions,
1180
+ }];
1181
+ }
1182
+ });
1183
+ });
1184
+ },
1185
+ /**
1186
+ *
1187
+ * @summary Create DoctorMedia.
1188
+ * @param {string} doctorId
1189
+ * @param {CreateMediaCommand} [createMediaCommand]
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ apiV1DoctorsDoctorIdMediasPost: function (doctorId, createMediaCommand, options) {
1194
+ if (options === void 0) { options = {}; }
1195
+ return __awaiter(_this, void 0, void 0, function () {
1196
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1197
+ return __generator(this, function (_a) {
1198
+ switch (_a.label) {
1199
+ case 0:
1200
+ // verify required parameter 'doctorId' is not null or undefined
1201
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdMediasPost', 'doctorId', doctorId);
1202
+ localVarPath = "/api/v1/doctors/{doctorId}/medias"
1203
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1204
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1205
+ if (configuration) {
1206
+ baseOptions = configuration.baseOptions;
1207
+ }
1208
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1209
+ localVarHeaderParameter = {};
1210
+ localVarQueryParameter = {};
1211
+ // authentication oauth2 required
1212
+ // oauth required
1213
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1214
+ case 1:
1215
+ // authentication oauth2 required
1216
+ // oauth required
1217
+ _a.sent();
1218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1219
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1220
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1221
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1222
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createMediaCommand, localVarRequestOptions, configuration);
1223
+ return [2 /*return*/, {
1224
+ url: (0, common_1.toPathString)(localVarUrlObj),
1225
+ options: localVarRequestOptions,
1226
+ }];
1227
+ }
1228
+ });
1229
+ });
1230
+ },
1231
+ /**
1232
+ *
1233
+ * @summary Get All DoctorPortfolios
1234
+ * @param {string} doctorId
1235
+ * @param {string} [doctorName]
1236
+ * @param {string} [portfolioId]
1237
+ * @param {string} [name]
1238
+ * @param {number} [page]
1239
+ * @param {number} [limit]
1240
+ * @param {Date} [lastRetrieved]
1241
+ * @param {*} [options] Override http request option.
1242
+ * @throws {RequiredError}
1243
+ */
1244
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
1245
+ if (options === void 0) { options = {}; }
1246
+ return __awaiter(_this, void 0, void 0, function () {
1247
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1248
+ return __generator(this, function (_a) {
1249
+ switch (_a.label) {
1250
+ case 0:
1251
+ // verify required parameter 'doctorId' is not null or undefined
1252
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId);
1253
+ localVarPath = "/api/v1/doctors/{doctorId}/portfolios"
1254
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1255
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1256
+ if (configuration) {
1257
+ baseOptions = configuration.baseOptions;
1258
+ }
1259
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1260
+ localVarHeaderParameter = {};
1261
+ localVarQueryParameter = {};
1262
+ // authentication oauth2 required
1263
+ // oauth required
1264
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1265
+ case 1:
1266
+ // authentication oauth2 required
1267
+ // oauth required
1268
+ _a.sent();
1269
+ if (doctorName !== undefined) {
1270
+ localVarQueryParameter['DoctorName'] = doctorName;
1271
+ }
1272
+ if (portfolioId !== undefined) {
1273
+ localVarQueryParameter['PortfolioId'] = portfolioId;
1274
+ }
1275
+ if (name !== undefined) {
1276
+ localVarQueryParameter['Name'] = name;
1277
+ }
1278
+ if (page !== undefined) {
1279
+ localVarQueryParameter['page'] = page;
1280
+ }
1281
+ if (limit !== undefined) {
1282
+ localVarQueryParameter['limit'] = limit;
1283
+ }
1284
+ if (lastRetrieved !== undefined) {
1285
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1286
+ lastRetrieved.toISOString() :
1287
+ lastRetrieved;
1288
+ }
1289
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1290
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1291
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1292
+ return [2 /*return*/, {
1293
+ url: (0, common_1.toPathString)(localVarUrlObj),
1294
+ options: localVarRequestOptions,
1295
+ }];
1296
+ }
1297
+ });
1298
+ });
1299
+ },
1300
+ /**
1301
+ *
1302
+ * @summary Delete DoctorPortfolio.
1303
+ * @param {string} doctorId
1304
+ * @param {string} portfolioId
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: function (doctorId, portfolioId, options) {
1309
+ if (options === void 0) { options = {}; }
1310
+ return __awaiter(_this, void 0, void 0, function () {
1311
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1312
+ return __generator(this, function (_a) {
1313
+ switch (_a.label) {
1314
+ case 0:
1315
+ // verify required parameter 'doctorId' is not null or undefined
1316
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'doctorId', doctorId);
1317
+ // verify required parameter 'portfolioId' is not null or undefined
1318
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete', 'portfolioId', portfolioId);
1319
+ localVarPath = "/api/v1/doctors/{doctorId}/portfolios/{portfolioId}"
1320
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1321
+ .replace("{".concat("portfolioId", "}"), encodeURIComponent(String(portfolioId)));
1322
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1323
+ if (configuration) {
1324
+ baseOptions = configuration.baseOptions;
1325
+ }
1326
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
1327
+ localVarHeaderParameter = {};
1328
+ localVarQueryParameter = {};
1329
+ // authentication oauth2 required
1330
+ // oauth required
1331
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1332
+ case 1:
1333
+ // authentication oauth2 required
1334
+ // oauth required
1335
+ _a.sent();
1336
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1337
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1338
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1339
+ return [2 /*return*/, {
1340
+ url: (0, common_1.toPathString)(localVarUrlObj),
1341
+ options: localVarRequestOptions,
1342
+ }];
1343
+ }
1344
+ });
1345
+ });
1346
+ },
1347
+ /**
1348
+ *
1349
+ * @summary Get DoctorPortfolio.
1350
+ * @param {string} doctorId
1351
+ * @param {string} portfolioId
1352
+ * @param {*} [options] Override http request option.
1353
+ * @throws {RequiredError}
1354
+ */
1355
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: function (doctorId, portfolioId, options) {
1356
+ if (options === void 0) { options = {}; }
1357
+ return __awaiter(_this, void 0, void 0, function () {
1358
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1359
+ return __generator(this, function (_a) {
1360
+ switch (_a.label) {
1361
+ case 0:
1362
+ // verify required parameter 'doctorId' is not null or undefined
1363
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'doctorId', doctorId);
1364
+ // verify required parameter 'portfolioId' is not null or undefined
1365
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet', 'portfolioId', portfolioId);
1366
+ localVarPath = "/api/v1/doctors/{doctorId}/portfolios/{portfolioId}"
1367
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1368
+ .replace("{".concat("portfolioId", "}"), encodeURIComponent(String(portfolioId)));
1369
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1370
+ if (configuration) {
1371
+ baseOptions = configuration.baseOptions;
1372
+ }
1373
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1374
+ localVarHeaderParameter = {};
1375
+ localVarQueryParameter = {};
1376
+ // authentication oauth2 required
1377
+ // oauth required
1378
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1379
+ case 1:
1380
+ // authentication oauth2 required
1381
+ // oauth required
1382
+ _a.sent();
1383
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1384
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1385
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1386
+ return [2 /*return*/, {
1387
+ url: (0, common_1.toPathString)(localVarUrlObj),
1388
+ options: localVarRequestOptions,
1389
+ }];
1390
+ }
1391
+ });
1392
+ });
1393
+ },
1394
+ /**
1395
+ *
1396
+ * @summary Update DoctorPortfolio.
1397
+ * @param {string} doctorId
1398
+ * @param {string} portfolioId
1399
+ * @param {UpdateDoctorPortfolioCommand} [updateDoctorPortfolioCommand]
1400
+ * @param {*} [options] Override http request option.
1401
+ * @throws {RequiredError}
1402
+ */
1403
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut: function (doctorId, portfolioId, updateDoctorPortfolioCommand, options) {
1404
+ if (options === void 0) { options = {}; }
1405
+ return __awaiter(_this, void 0, void 0, function () {
1406
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1407
+ return __generator(this, function (_a) {
1408
+ switch (_a.label) {
1409
+ case 0:
1410
+ // verify required parameter 'doctorId' is not null or undefined
1411
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut', 'doctorId', doctorId);
1412
+ // verify required parameter 'portfolioId' is not null or undefined
1413
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut', 'portfolioId', portfolioId);
1414
+ localVarPath = "/api/v1/doctors/{doctorId}/portfolios/{portfolioId}"
1415
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1416
+ .replace("{".concat("portfolioId", "}"), encodeURIComponent(String(portfolioId)));
1417
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1418
+ if (configuration) {
1419
+ baseOptions = configuration.baseOptions;
1420
+ }
1421
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1422
+ localVarHeaderParameter = {};
1423
+ localVarQueryParameter = {};
1424
+ // authentication oauth2 required
1425
+ // oauth required
1426
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1427
+ case 1:
1428
+ // authentication oauth2 required
1429
+ // oauth required
1430
+ _a.sent();
1431
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1432
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1433
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1434
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1435
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorPortfolioCommand, localVarRequestOptions, configuration);
1436
+ return [2 /*return*/, {
1437
+ url: (0, common_1.toPathString)(localVarUrlObj),
1438
+ options: localVarRequestOptions,
1439
+ }];
1440
+ }
1441
+ });
1442
+ });
1443
+ },
1444
+ /**
1445
+ *
1446
+ * @summary Create DoctorPortfolio.
1447
+ * @param {string} doctorId
1448
+ * @param {CreateDoctorPortfolioCommand} [createDoctorPortfolioCommand]
1449
+ * @param {*} [options] Override http request option.
1450
+ * @throws {RequiredError}
1451
+ */
1452
+ apiV1DoctorsDoctorIdPortfoliosPost: function (doctorId, createDoctorPortfolioCommand, options) {
1453
+ if (options === void 0) { options = {}; }
1454
+ return __awaiter(_this, void 0, void 0, function () {
1455
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1456
+ return __generator(this, function (_a) {
1457
+ switch (_a.label) {
1458
+ case 0:
1459
+ // verify required parameter 'doctorId' is not null or undefined
1460
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPortfoliosPost', 'doctorId', doctorId);
1461
+ localVarPath = "/api/v1/doctors/{doctorId}/portfolios"
1462
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1463
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1464
+ if (configuration) {
1465
+ baseOptions = configuration.baseOptions;
1466
+ }
1467
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1468
+ localVarHeaderParameter = {};
1469
+ localVarQueryParameter = {};
1470
+ // authentication oauth2 required
1471
+ // oauth required
1472
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1473
+ case 1:
1474
+ // authentication oauth2 required
1475
+ // oauth required
1476
+ _a.sent();
1477
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1478
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1479
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1480
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1481
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorPortfolioCommand, localVarRequestOptions, configuration);
1482
+ return [2 /*return*/, {
1483
+ url: (0, common_1.toPathString)(localVarUrlObj),
1484
+ options: localVarRequestOptions,
1485
+ }];
1486
+ }
1487
+ });
1488
+ });
1489
+ },
1490
+ /**
1491
+ *
1492
+ * @summary Update Doctor.
1493
+ * @param {string} doctorId
1494
+ * @param {UpdateDoctorCommand} [updateDoctorCommand]
1495
+ * @param {*} [options] Override http request option.
1496
+ * @throws {RequiredError}
1497
+ */
1498
+ apiV1DoctorsDoctorIdPut: function (doctorId, updateDoctorCommand, options) {
1499
+ if (options === void 0) { options = {}; }
1500
+ return __awaiter(_this, void 0, void 0, function () {
1501
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1502
+ return __generator(this, function (_a) {
1503
+ switch (_a.label) {
1504
+ case 0:
1505
+ // verify required parameter 'doctorId' is not null or undefined
1506
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdPut', 'doctorId', doctorId);
1507
+ localVarPath = "/api/v1/doctors/{doctorId}"
1508
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1509
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1510
+ if (configuration) {
1511
+ baseOptions = configuration.baseOptions;
1512
+ }
1513
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1514
+ localVarHeaderParameter = {};
1515
+ localVarQueryParameter = {};
1516
+ // authentication oauth2 required
1517
+ // oauth required
1518
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1519
+ case 1:
1520
+ // authentication oauth2 required
1521
+ // oauth required
1522
+ _a.sent();
1523
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1524
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1525
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1526
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1527
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorCommand, localVarRequestOptions, configuration);
1528
+ return [2 /*return*/, {
1529
+ url: (0, common_1.toPathString)(localVarUrlObj),
1530
+ options: localVarRequestOptions,
1531
+ }];
1532
+ }
1533
+ });
1534
+ });
1535
+ },
1536
+ /**
1537
+ *
1538
+ * @summary Delete Doctor.
1539
+ * @param {string} doctorId
1540
+ * @param {*} [options] Override http request option.
1541
+ * @throws {RequiredError}
1542
+ */
1543
+ apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
1544
+ if (options === void 0) { options = {}; }
1545
+ return __awaiter(_this, void 0, void 0, function () {
1546
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1547
+ return __generator(this, function (_a) {
1548
+ switch (_a.label) {
1549
+ case 0:
1550
+ // verify required parameter 'doctorId' is not null or undefined
1551
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdReactivePut', 'doctorId', doctorId);
1552
+ localVarPath = "/api/v1/doctors/{doctorId}/reactive"
1553
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1554
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1555
+ if (configuration) {
1556
+ baseOptions = configuration.baseOptions;
1557
+ }
1558
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1559
+ localVarHeaderParameter = {};
1560
+ localVarQueryParameter = {};
1561
+ // authentication oauth2 required
1562
+ // oauth required
1563
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1564
+ case 1:
1565
+ // authentication oauth2 required
1566
+ // oauth required
1567
+ _a.sent();
1568
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1569
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1570
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1571
+ return [2 /*return*/, {
1572
+ url: (0, common_1.toPathString)(localVarUrlObj),
1573
+ options: localVarRequestOptions,
1574
+ }];
1575
+ }
1576
+ });
1577
+ });
1578
+ },
1579
+ /**
1580
+ *
1581
+ * @summary Get All DoctorSpecialties.
1582
+ * @param {string} doctorId
1583
+ * @param {string} [doctorName]
1584
+ * @param {string} [specialtyId]
1585
+ * @param {string} [specialtyName]
1586
+ * @param {string} [languageCode]
1587
+ * @param {number} [page]
1588
+ * @param {number} [limit]
1589
+ * @param {Date} [lastRetrieved]
1590
+ * @param {*} [options] Override http request option.
1591
+ * @throws {RequiredError}
1592
+ */
1593
+ apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
1594
+ if (options === void 0) { options = {}; }
1595
+ return __awaiter(_this, void 0, void 0, function () {
1596
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1597
+ return __generator(this, function (_a) {
1598
+ switch (_a.label) {
1599
+ case 0:
1600
+ // verify required parameter 'doctorId' is not null or undefined
1601
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesGet', 'doctorId', doctorId);
1602
+ localVarPath = "/api/v1/doctors/{doctorId}/specialties"
1603
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1604
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1605
+ if (configuration) {
1606
+ baseOptions = configuration.baseOptions;
1607
+ }
1608
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1609
+ localVarHeaderParameter = {};
1610
+ localVarQueryParameter = {};
1611
+ // authentication oauth2 required
1612
+ // oauth required
1613
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1614
+ case 1:
1615
+ // authentication oauth2 required
1616
+ // oauth required
1617
+ _a.sent();
1618
+ if (doctorName !== undefined) {
1619
+ localVarQueryParameter['DoctorName'] = doctorName;
1620
+ }
1621
+ if (specialtyId !== undefined) {
1622
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
1623
+ }
1624
+ if (specialtyName !== undefined) {
1625
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
1626
+ }
1627
+ if (languageCode !== undefined) {
1628
+ localVarQueryParameter['LanguageCode'] = languageCode;
1629
+ }
1630
+ if (page !== undefined) {
1631
+ localVarQueryParameter['page'] = page;
1632
+ }
1633
+ if (limit !== undefined) {
1634
+ localVarQueryParameter['limit'] = limit;
1635
+ }
1636
+ if (lastRetrieved !== undefined) {
1637
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1638
+ lastRetrieved.toISOString() :
1639
+ lastRetrieved;
1640
+ }
1641
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1642
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1643
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1644
+ return [2 /*return*/, {
1645
+ url: (0, common_1.toPathString)(localVarUrlObj),
1646
+ options: localVarRequestOptions,
1647
+ }];
1648
+ }
1649
+ });
1650
+ });
1651
+ },
1652
+ /**
1653
+ *
1654
+ * @summary Link a doctor to a specialty.
1655
+ * @param {string} doctorId
1656
+ * @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
1657
+ * @param {*} [options] Override http request option.
1658
+ * @throws {RequiredError}
1659
+ */
1660
+ apiV1DoctorsDoctorIdSpecialtiesPost: function (doctorId, createDoctorSpecialtyCommand, options) {
1661
+ if (options === void 0) { options = {}; }
1662
+ return __awaiter(_this, void 0, void 0, function () {
1663
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1664
+ return __generator(this, function (_a) {
1665
+ switch (_a.label) {
1666
+ case 0:
1667
+ // verify required parameter 'doctorId' is not null or undefined
1668
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesPost', 'doctorId', doctorId);
1669
+ localVarPath = "/api/v1/doctors/{doctorId}/specialties"
1670
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
1671
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1672
+ if (configuration) {
1673
+ baseOptions = configuration.baseOptions;
1674
+ }
1675
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1676
+ localVarHeaderParameter = {};
1677
+ localVarQueryParameter = {};
1678
+ // authentication oauth2 required
1679
+ // oauth required
1680
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1681
+ case 1:
1682
+ // authentication oauth2 required
1683
+ // oauth required
1684
+ _a.sent();
1685
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1686
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1687
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1688
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1689
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorSpecialtyCommand, localVarRequestOptions, configuration);
1690
+ return [2 /*return*/, {
1691
+ url: (0, common_1.toPathString)(localVarUrlObj),
1692
+ options: localVarRequestOptions,
1693
+ }];
1694
+ }
1695
+ });
1696
+ });
1697
+ },
1698
+ /**
1699
+ *
1700
+ * @summary Remove link between the doctor and the specialty.
1701
+ * @param {string} doctorId
1702
+ * @param {string} specialtyId
1703
+ * @param {*} [options] Override http request option.
1704
+ * @throws {RequiredError}
1705
+ */
1706
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete: function (doctorId, specialtyId, options) {
1707
+ if (options === void 0) { options = {}; }
1708
+ return __awaiter(_this, void 0, void 0, function () {
1709
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1710
+ return __generator(this, function (_a) {
1711
+ switch (_a.label) {
1712
+ case 0:
1713
+ // verify required parameter 'doctorId' is not null or undefined
1714
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete', 'doctorId', doctorId);
1715
+ // verify required parameter 'specialtyId' is not null or undefined
1716
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId);
1717
+ localVarPath = "/api/v1/doctors/{doctorId}/specialties/{specialtyId}"
1718
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1719
+ .replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)));
1720
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1721
+ if (configuration) {
1722
+ baseOptions = configuration.baseOptions;
1723
+ }
1724
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
1725
+ localVarHeaderParameter = {};
1726
+ localVarQueryParameter = {};
1727
+ // authentication oauth2 required
1728
+ // oauth required
1729
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1730
+ case 1:
1731
+ // authentication oauth2 required
1732
+ // oauth required
1733
+ _a.sent();
1734
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1735
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1736
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1737
+ return [2 /*return*/, {
1738
+ url: (0, common_1.toPathString)(localVarUrlObj),
1739
+ options: localVarRequestOptions,
1740
+ }];
1741
+ }
1742
+ });
1743
+ });
1744
+ },
1745
+ /**
1746
+ *
1747
+ * @summary Get DoctorSpecialty
1748
+ * @param {string} doctorId
1749
+ * @param {string} specialtyId
1750
+ * @param {*} [options] Override http request option.
1751
+ * @throws {RequiredError}
1752
+ */
1753
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
1754
+ if (options === void 0) { options = {}; }
1755
+ return __awaiter(_this, void 0, void 0, function () {
1756
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1757
+ return __generator(this, function (_a) {
1758
+ switch (_a.label) {
1759
+ case 0:
1760
+ // verify required parameter 'doctorId' is not null or undefined
1761
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet', 'doctorId', doctorId);
1762
+ // verify required parameter 'specialtyId' is not null or undefined
1763
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId);
1764
+ localVarPath = "/api/v1/doctors/{doctorId}/specialties/{specialtyId}"
1765
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1766
+ .replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)));
1767
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1768
+ if (configuration) {
1769
+ baseOptions = configuration.baseOptions;
1770
+ }
1771
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1772
+ localVarHeaderParameter = {};
1773
+ localVarQueryParameter = {};
1774
+ // authentication oauth2 required
1775
+ // oauth required
1776
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1777
+ case 1:
1778
+ // authentication oauth2 required
1779
+ // oauth required
1780
+ _a.sent();
1781
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1782
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1783
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1784
+ return [2 /*return*/, {
1785
+ url: (0, common_1.toPathString)(localVarUrlObj),
1786
+ options: localVarRequestOptions,
1787
+ }];
1788
+ }
1789
+ });
1790
+ });
1791
+ },
1792
+ /**
1793
+ *
1794
+ * @summary Update DoctorSpecialty.
1795
+ * @param {string} doctorId
1796
+ * @param {string} specialtyId
1797
+ * @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
1798
+ * @param {*} [options] Override http request option.
1799
+ * @throws {RequiredError}
1800
+ */
1801
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut: function (doctorId, specialtyId, updateDoctorSpecialtyCommand, options) {
1802
+ if (options === void 0) { options = {}; }
1803
+ return __awaiter(_this, void 0, void 0, function () {
1804
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1805
+ return __generator(this, function (_a) {
1806
+ switch (_a.label) {
1807
+ case 0:
1808
+ // verify required parameter 'doctorId' is not null or undefined
1809
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut', 'doctorId', doctorId);
1810
+ // verify required parameter 'specialtyId' is not null or undefined
1811
+ (0, common_1.assertParamExists)('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId);
1812
+ localVarPath = "/api/v1/doctors/{doctorId}/specialties/{specialtyId}"
1813
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
1814
+ .replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)));
1815
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1816
+ if (configuration) {
1817
+ baseOptions = configuration.baseOptions;
1818
+ }
1819
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1820
+ localVarHeaderParameter = {};
1821
+ localVarQueryParameter = {};
1822
+ // authentication oauth2 required
1823
+ // oauth required
1824
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1825
+ case 1:
1826
+ // authentication oauth2 required
1827
+ // oauth required
1828
+ _a.sent();
1829
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1830
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1831
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1832
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1833
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDoctorSpecialtyCommand, localVarRequestOptions, configuration);
1834
+ return [2 /*return*/, {
1835
+ url: (0, common_1.toPathString)(localVarUrlObj),
1836
+ options: localVarRequestOptions,
1837
+ }];
1838
+ }
1839
+ });
1840
+ });
1841
+ },
1842
+ /**
1843
+ *
1844
+ * @summary Get all Doctors.
1845
+ * @param {string} [hospitalId]
1846
+ * @param {string} [hospitalName]
1847
+ * @param {Array<string>} [ids]
1848
+ * @param {string} [specialtyId]
1849
+ * @param {boolean} [consultationEnabled]
1850
+ * @param {string} [id]
1851
+ * @param {string} [fullname]
1852
+ * @param {string} [email]
1853
+ * @param {Gender} [gender]
1854
+ * @param {Date} [dateOfBirth]
1855
+ * @param {Date} [created]
1856
+ * @param {boolean} [showHidden]
1857
+ * @param {number} [page]
1858
+ * @param {number} [limit]
1859
+ * @param {Date} [lastRetrieved]
1860
+ * @param {*} [options] Override http request option.
1861
+ * @throws {RequiredError}
1862
+ */
1863
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
1864
+ if (options === void 0) { options = {}; }
1865
+ return __awaiter(_this, void 0, void 0, function () {
1866
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1867
+ return __generator(this, function (_a) {
1868
+ switch (_a.label) {
1869
+ case 0:
1870
+ localVarPath = "/api/v1/doctors";
1871
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1872
+ if (configuration) {
1873
+ baseOptions = configuration.baseOptions;
1874
+ }
1875
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1876
+ localVarHeaderParameter = {};
1877
+ localVarQueryParameter = {};
1878
+ // authentication oauth2 required
1879
+ // oauth required
1880
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1881
+ case 1:
1882
+ // authentication oauth2 required
1883
+ // oauth required
1884
+ _a.sent();
1885
+ if (hospitalId !== undefined) {
1886
+ localVarQueryParameter['HospitalId'] = hospitalId;
1887
+ }
1888
+ if (hospitalName !== undefined) {
1889
+ localVarQueryParameter['HospitalName'] = hospitalName;
1890
+ }
1891
+ if (ids) {
1892
+ localVarQueryParameter['Ids'] = ids;
1893
+ }
1894
+ if (specialtyId !== undefined) {
1895
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
1896
+ }
1897
+ if (consultationEnabled !== undefined) {
1898
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
1899
+ }
1900
+ if (id !== undefined) {
1901
+ localVarQueryParameter['Id'] = id;
1902
+ }
1903
+ if (fullname !== undefined) {
1904
+ localVarQueryParameter['Fullname'] = fullname;
1905
+ }
1906
+ if (email !== undefined) {
1907
+ localVarQueryParameter['Email'] = email;
1908
+ }
1909
+ if (gender !== undefined) {
1910
+ localVarQueryParameter['Gender'] = gender;
1911
+ }
1912
+ if (dateOfBirth !== undefined) {
1913
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
1914
+ dateOfBirth.toISOString() :
1915
+ dateOfBirth;
1916
+ }
1917
+ if (created !== undefined) {
1918
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
1919
+ created.toISOString() :
1920
+ created;
1921
+ }
1922
+ if (showHidden !== undefined) {
1923
+ localVarQueryParameter['ShowHidden'] = showHidden;
1924
+ }
1925
+ if (page !== undefined) {
1926
+ localVarQueryParameter['page'] = page;
1927
+ }
1928
+ if (limit !== undefined) {
1929
+ localVarQueryParameter['limit'] = limit;
1930
+ }
1931
+ if (lastRetrieved !== undefined) {
1932
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1933
+ lastRetrieved.toISOString() :
1934
+ lastRetrieved;
1935
+ }
1936
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1937
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1938
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1939
+ return [2 /*return*/, {
1940
+ url: (0, common_1.toPathString)(localVarUrlObj),
1941
+ options: localVarRequestOptions,
1942
+ }];
1943
+ }
1944
+ });
1945
+ });
1946
+ },
1947
+ /**
1948
+ *
1949
+ * @summary Create a Doctor.
1950
+ * @param {CreateDoctorCommand} [createDoctorCommand]
1951
+ * @param {*} [options] Override http request option.
1952
+ * @throws {RequiredError}
1953
+ */
1954
+ apiV1DoctorsPost: function (createDoctorCommand, options) {
1955
+ if (options === void 0) { options = {}; }
1956
+ return __awaiter(_this, void 0, void 0, function () {
1957
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1958
+ return __generator(this, function (_a) {
1959
+ switch (_a.label) {
1960
+ case 0:
1961
+ localVarPath = "/api/v1/doctors";
1962
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1963
+ if (configuration) {
1964
+ baseOptions = configuration.baseOptions;
1965
+ }
1966
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1967
+ localVarHeaderParameter = {};
1968
+ localVarQueryParameter = {};
1969
+ // authentication oauth2 required
1970
+ // oauth required
1971
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
1972
+ case 1:
1973
+ // authentication oauth2 required
1974
+ // oauth required
1975
+ _a.sent();
1976
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1977
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1978
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1979
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1980
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDoctorCommand, localVarRequestOptions, configuration);
1981
+ return [2 /*return*/, {
1982
+ url: (0, common_1.toPathString)(localVarUrlObj),
1983
+ options: localVarRequestOptions,
1984
+ }];
1985
+ }
1986
+ });
1987
+ });
1988
+ },
1989
+ /**
1990
+ *
1991
+ * @summary Get all Doctors.
1992
+ * @param {string} [hospitalId]
1993
+ * @param {string} [hospitalName]
1994
+ * @param {Array<string>} [ids]
1995
+ * @param {string} [specialtyId]
1996
+ * @param {boolean} [consultationEnabled]
1997
+ * @param {string} [id]
1998
+ * @param {string} [fullname]
1999
+ * @param {string} [email]
2000
+ * @param {Gender} [gender]
2001
+ * @param {Date} [dateOfBirth]
2002
+ * @param {Date} [created]
2003
+ * @param {boolean} [showHidden]
2004
+ * @param {number} [page]
2005
+ * @param {number} [limit]
2006
+ * @param {Date} [lastRetrieved]
2007
+ * @param {*} [options] Override http request option.
2008
+ * @throws {RequiredError}
2009
+ */
2010
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
2011
+ if (options === void 0) { options = {}; }
2012
+ return __awaiter(_this, void 0, void 0, function () {
2013
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2014
+ return __generator(this, function (_a) {
2015
+ switch (_a.label) {
2016
+ case 0:
2017
+ localVarPath = "/api/v1/doctors/simple";
2018
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2019
+ if (configuration) {
2020
+ baseOptions = configuration.baseOptions;
2021
+ }
2022
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2023
+ localVarHeaderParameter = {};
2024
+ localVarQueryParameter = {};
2025
+ // authentication oauth2 required
2026
+ // oauth required
2027
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
2028
+ case 1:
2029
+ // authentication oauth2 required
2030
+ // oauth required
2031
+ _a.sent();
2032
+ if (hospitalId !== undefined) {
2033
+ localVarQueryParameter['HospitalId'] = hospitalId;
2034
+ }
2035
+ if (hospitalName !== undefined) {
2036
+ localVarQueryParameter['HospitalName'] = hospitalName;
2037
+ }
2038
+ if (ids) {
2039
+ localVarQueryParameter['Ids'] = ids;
2040
+ }
2041
+ if (specialtyId !== undefined) {
2042
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
2043
+ }
2044
+ if (consultationEnabled !== undefined) {
2045
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
2046
+ }
2047
+ if (id !== undefined) {
2048
+ localVarQueryParameter['Id'] = id;
2049
+ }
2050
+ if (fullname !== undefined) {
2051
+ localVarQueryParameter['Fullname'] = fullname;
2052
+ }
2053
+ if (email !== undefined) {
2054
+ localVarQueryParameter['Email'] = email;
2055
+ }
2056
+ if (gender !== undefined) {
2057
+ localVarQueryParameter['Gender'] = gender;
2058
+ }
2059
+ if (dateOfBirth !== undefined) {
2060
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
2061
+ dateOfBirth.toISOString() :
2062
+ dateOfBirth;
2063
+ }
2064
+ if (created !== undefined) {
2065
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
2066
+ created.toISOString() :
2067
+ created;
2068
+ }
2069
+ if (showHidden !== undefined) {
2070
+ localVarQueryParameter['ShowHidden'] = showHidden;
2071
+ }
2072
+ if (page !== undefined) {
2073
+ localVarQueryParameter['page'] = page;
2074
+ }
2075
+ if (limit !== undefined) {
2076
+ localVarQueryParameter['limit'] = limit;
2077
+ }
2078
+ if (lastRetrieved !== undefined) {
2079
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
2080
+ lastRetrieved.toISOString() :
2081
+ lastRetrieved;
2082
+ }
2083
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2084
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2085
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2086
+ return [2 /*return*/, {
2087
+ url: (0, common_1.toPathString)(localVarUrlObj),
2088
+ options: localVarRequestOptions,
2089
+ }];
2090
+ }
2091
+ });
2092
+ });
2093
+ },
2094
+ };
2095
+ };
2096
+ exports.DoctorsApiAxiosParamCreator = DoctorsApiAxiosParamCreator;
2097
+ /**
2098
+ * DoctorsApi - functional programming interface
2099
+ * @export
2100
+ */
2101
+ var DoctorsApiFp = function (configuration) {
2102
+ var localVarAxiosParamCreator = (0, exports.DoctorsApiAxiosParamCreator)(configuration);
2103
+ return {
2104
+ /**
2105
+ *
2106
+ * @summary Delete DoctorCertificate.
2107
+ * @param {string} doctorId
2108
+ * @param {string} certificateId
2109
+ * @param {*} [options] Override http request option.
2110
+ * @throws {RequiredError}
2111
+ */
2112
+ apiV1DoctorsDoctorIdCertificatesCertificateIdDelete: function (doctorId, certificateId, options) {
2113
+ return __awaiter(this, void 0, void 0, function () {
2114
+ var localVarAxiosArgs;
2115
+ return __generator(this, function (_a) {
2116
+ switch (_a.label) {
2117
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesCertificateIdDelete(doctorId, certificateId, options)];
2118
+ case 1:
2119
+ localVarAxiosArgs = _a.sent();
2120
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2121
+ }
2122
+ });
2123
+ });
2124
+ },
2125
+ /**
2126
+ *
2127
+ * @summary Get DoctorCertificate.
2128
+ * @param {string} doctorId
2129
+ * @param {string} certificateId
2130
+ * @param {*} [options] Override http request option.
2131
+ * @throws {RequiredError}
2132
+ */
2133
+ apiV1DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, options) {
2134
+ return __awaiter(this, void 0, void 0, function () {
2135
+ var localVarAxiosArgs;
2136
+ return __generator(this, function (_a) {
2137
+ switch (_a.label) {
2138
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesCertificateIdGet(doctorId, certificateId, options)];
2139
+ case 1:
2140
+ localVarAxiosArgs = _a.sent();
2141
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2142
+ }
2143
+ });
2144
+ });
2145
+ },
2146
+ /**
2147
+ *
2148
+ * @summary Update DoctorCertificate.
2149
+ * @param {string} doctorId
2150
+ * @param {string} certificateId
2151
+ * @param {UpdateDoctorCertificateCommand} [updateDoctorCertificateCommand]
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ */
2155
+ apiV1DoctorsDoctorIdCertificatesCertificateIdPut: function (doctorId, certificateId, updateDoctorCertificateCommand, options) {
2156
+ return __awaiter(this, void 0, void 0, function () {
2157
+ var localVarAxiosArgs;
2158
+ return __generator(this, function (_a) {
2159
+ switch (_a.label) {
2160
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesCertificateIdPut(doctorId, certificateId, updateDoctorCertificateCommand, options)];
2161
+ case 1:
2162
+ localVarAxiosArgs = _a.sent();
2163
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2164
+ }
2165
+ });
2166
+ });
2167
+ },
2168
+ /**
2169
+ *
2170
+ * @summary Delete DoctorCertificate.
2171
+ * @param {string} doctorId
2172
+ * @param {string} [doctorName]
2173
+ * @param {string} [certificateId]
2174
+ * @param {string} [certificate]
2175
+ * @param {Date} [activeFrom]
2176
+ * @param {Date} [activeTo]
2177
+ * @param {number} [page]
2178
+ * @param {number} [limit]
2179
+ * @param {Date} [lastRetrieved]
2180
+ * @param {*} [options] Override http request option.
2181
+ * @throws {RequiredError}
2182
+ */
2183
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
2184
+ return __awaiter(this, void 0, void 0, function () {
2185
+ var localVarAxiosArgs;
2186
+ return __generator(this, function (_a) {
2187
+ switch (_a.label) {
2188
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options)];
2189
+ case 1:
2190
+ localVarAxiosArgs = _a.sent();
2191
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2192
+ }
2193
+ });
2194
+ });
2195
+ },
2196
+ /**
2197
+ *
2198
+ * @summary Create DoctorCertificate.
2199
+ * @param {string} doctorId
2200
+ * @param {CreateDoctorCertificateCommand} [createDoctorCertificateCommand]
2201
+ * @param {*} [options] Override http request option.
2202
+ * @throws {RequiredError}
2203
+ */
2204
+ apiV1DoctorsDoctorIdCertificatesPost: function (doctorId, createDoctorCertificateCommand, options) {
2205
+ return __awaiter(this, void 0, void 0, function () {
2206
+ var localVarAxiosArgs;
2207
+ return __generator(this, function (_a) {
2208
+ switch (_a.label) {
2209
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesPost(doctorId, createDoctorCertificateCommand, options)];
2210
+ case 1:
2211
+ localVarAxiosArgs = _a.sent();
2212
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2213
+ }
2214
+ });
2215
+ });
2216
+ },
2217
+ /**
2218
+ *
2219
+ * @summary Delete Doctor.
2220
+ * @param {string} doctorId
2221
+ * @param {boolean} [isPermanent]
2222
+ * @param {*} [options] Override http request option.
2223
+ * @throws {RequiredError}
2224
+ */
2225
+ apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
2226
+ return __awaiter(this, void 0, void 0, function () {
2227
+ var localVarAxiosArgs;
2228
+ return __generator(this, function (_a) {
2229
+ switch (_a.label) {
2230
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options)];
2231
+ case 1:
2232
+ localVarAxiosArgs = _a.sent();
2233
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2234
+ }
2235
+ });
2236
+ });
2237
+ },
2238
+ /**
2239
+ *
2240
+ * @summary Delete DoctorEducation
2241
+ * @param {string} doctorId
2242
+ * @param {string} educationId
2243
+ * @param {*} [options] Override http request option.
2244
+ * @throws {RequiredError}
2245
+ */
2246
+ apiV1DoctorsDoctorIdEducationsEducationIdDelete: function (doctorId, educationId, options) {
2247
+ return __awaiter(this, void 0, void 0, function () {
2248
+ var localVarAxiosArgs;
2249
+ return __generator(this, function (_a) {
2250
+ switch (_a.label) {
2251
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsEducationIdDelete(doctorId, educationId, options)];
2252
+ case 1:
2253
+ localVarAxiosArgs = _a.sent();
2254
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2255
+ }
2256
+ });
2257
+ });
2258
+ },
2259
+ /**
2260
+ *
2261
+ * @summary Get DoctorEducation.
2262
+ * @param {string} doctorId
2263
+ * @param {string} educationId
2264
+ * @param {*} [options] Override http request option.
2265
+ * @throws {RequiredError}
2266
+ */
2267
+ apiV1DoctorsDoctorIdEducationsEducationIdGet: function (doctorId, educationId, options) {
2268
+ return __awaiter(this, void 0, void 0, function () {
2269
+ var localVarAxiosArgs;
2270
+ return __generator(this, function (_a) {
2271
+ switch (_a.label) {
2272
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsEducationIdGet(doctorId, educationId, options)];
2273
+ case 1:
2274
+ localVarAxiosArgs = _a.sent();
2275
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2276
+ }
2277
+ });
2278
+ });
2279
+ },
2280
+ /**
2281
+ *
2282
+ * @summary Update DoctorEducation.
2283
+ * @param {string} doctorId
2284
+ * @param {string} educationId
2285
+ * @param {UpdateDoctorEducationCommand} [updateDoctorEducationCommand]
2286
+ * @param {*} [options] Override http request option.
2287
+ * @throws {RequiredError}
2288
+ */
2289
+ apiV1DoctorsDoctorIdEducationsEducationIdPut: function (doctorId, educationId, updateDoctorEducationCommand, options) {
2290
+ return __awaiter(this, void 0, void 0, function () {
2291
+ var localVarAxiosArgs;
2292
+ return __generator(this, function (_a) {
2293
+ switch (_a.label) {
2294
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsEducationIdPut(doctorId, educationId, updateDoctorEducationCommand, options)];
2295
+ case 1:
2296
+ localVarAxiosArgs = _a.sent();
2297
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2298
+ }
2299
+ });
2300
+ });
2301
+ },
2302
+ /**
2303
+ *
2304
+ * @summary Get all DoctorEducations.
2305
+ * @param {string} doctorId
2306
+ * @param {string} [doctorName]
2307
+ * @param {string} [educationId]
2308
+ * @param {string} [institution]
2309
+ * @param {string} [qualification]
2310
+ * @param {Date} [graduationDate]
2311
+ * @param {number} [page]
2312
+ * @param {number} [limit]
2313
+ * @param {Date} [lastRetrieved]
2314
+ * @param {*} [options] Override http request option.
2315
+ * @throws {RequiredError}
2316
+ */
2317
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
2318
+ return __awaiter(this, void 0, void 0, function () {
2319
+ var localVarAxiosArgs;
2320
+ return __generator(this, function (_a) {
2321
+ switch (_a.label) {
2322
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options)];
2323
+ case 1:
2324
+ localVarAxiosArgs = _a.sent();
2325
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2326
+ }
2327
+ });
2328
+ });
2329
+ },
2330
+ /**
2331
+ *
2332
+ * @summary Create DoctorEducation.
2333
+ * @param {string} doctorId
2334
+ * @param {CreateDoctorEducationCommand} [createDoctorEducationCommand]
2335
+ * @param {*} [options] Override http request option.
2336
+ * @throws {RequiredError}
2337
+ */
2338
+ apiV1DoctorsDoctorIdEducationsPost: function (doctorId, createDoctorEducationCommand, options) {
2339
+ return __awaiter(this, void 0, void 0, function () {
2340
+ var localVarAxiosArgs;
2341
+ return __generator(this, function (_a) {
2342
+ switch (_a.label) {
2343
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsPost(doctorId, createDoctorEducationCommand, options)];
2344
+ case 1:
2345
+ localVarAxiosArgs = _a.sent();
2346
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2347
+ }
2348
+ });
2349
+ });
2350
+ },
2351
+ /**
2352
+ *
2353
+ * @summary
2354
+ * @param {string} doctorId
2355
+ * @param {*} [options] Override http request option.
2356
+ * @throws {RequiredError}
2357
+ */
2358
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
2359
+ return __awaiter(this, void 0, void 0, function () {
2360
+ var localVarAxiosArgs;
2361
+ return __generator(this, function (_a) {
2362
+ switch (_a.label) {
2363
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options)];
2364
+ case 1:
2365
+ localVarAxiosArgs = _a.sent();
2366
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2367
+ }
2368
+ });
2369
+ });
2370
+ },
2371
+ /**
2372
+ *
2373
+ * @summary Get all DoctorLanguages.
2374
+ * @param {string} doctorId
2375
+ * @param {string} [languageCode]
2376
+ * @param {number} [page]
2377
+ * @param {number} [limit]
2378
+ * @param {Date} [lastRetrieved]
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, options) {
2383
+ return __awaiter(this, void 0, void 0, function () {
2384
+ var localVarAxiosArgs;
2385
+ return __generator(this, function (_a) {
2386
+ switch (_a.label) {
2387
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options)];
2388
+ case 1:
2389
+ localVarAxiosArgs = _a.sent();
2390
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2391
+ }
2392
+ });
2393
+ });
2394
+ },
2395
+ /**
2396
+ *
2397
+ * @summary Delete DoctorLanguage
2398
+ * @param {string} doctorId
2399
+ * @param {string} languageCode
2400
+ * @param {*} [options] Override http request option.
2401
+ * @throws {RequiredError}
2402
+ */
2403
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
2404
+ return __awaiter(this, void 0, void 0, function () {
2405
+ var localVarAxiosArgs;
2406
+ return __generator(this, function (_a) {
2407
+ switch (_a.label) {
2408
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options)];
2409
+ case 1:
2410
+ localVarAxiosArgs = _a.sent();
2411
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2412
+ }
2413
+ });
2414
+ });
2415
+ },
2416
+ /**
2417
+ *
2418
+ * @summary Get DoctorLanguage.
2419
+ * @param {string} doctorId
2420
+ * @param {string} languageCode
2421
+ * @param {*} [options] Override http request option.
2422
+ * @throws {RequiredError}
2423
+ */
2424
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
2425
+ return __awaiter(this, void 0, void 0, function () {
2426
+ var localVarAxiosArgs;
2427
+ return __generator(this, function (_a) {
2428
+ switch (_a.label) {
2429
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options)];
2430
+ case 1:
2431
+ localVarAxiosArgs = _a.sent();
2432
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2433
+ }
2434
+ });
2435
+ });
2436
+ },
2437
+ /**
2438
+ *
2439
+ * @summary Update DoctorLanguage.
2440
+ * @param {string} doctorId
2441
+ * @param {string} languageCode
2442
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ */
2446
+ apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
2447
+ return __awaiter(this, void 0, void 0, function () {
2448
+ var localVarAxiosArgs;
2449
+ return __generator(this, function (_a) {
2450
+ switch (_a.label) {
2451
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options)];
2452
+ case 1:
2453
+ localVarAxiosArgs = _a.sent();
2454
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2455
+ }
2456
+ });
2457
+ });
2458
+ },
2459
+ /**
2460
+ *
2461
+ * @summary Create DoctorLanguage.
2462
+ * @param {string} doctorId
2463
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
2464
+ * @param {*} [options] Override http request option.
2465
+ * @throws {RequiredError}
2466
+ */
2467
+ apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
2468
+ return __awaiter(this, void 0, void 0, function () {
2469
+ var localVarAxiosArgs;
2470
+ return __generator(this, function (_a) {
2471
+ switch (_a.label) {
2472
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options)];
2473
+ case 1:
2474
+ localVarAxiosArgs = _a.sent();
2475
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2476
+ }
2477
+ });
2478
+ });
2479
+ },
2480
+ /**
2481
+ *
2482
+ * @summary Get all DoctorMedias.
2483
+ * @param {string} doctorId
2484
+ * @param {string} [id]
2485
+ * @param {MediaType} [mediaType]
2486
+ * @param {number} [page]
2487
+ * @param {number} [limit]
2488
+ * @param {Date} [lastRetrieved]
2489
+ * @param {*} [options] Override http request option.
2490
+ * @throws {RequiredError}
2491
+ */
2492
+ apiV1DoctorsDoctorIdMediasGet: function (doctorId, id, mediaType, page, limit, lastRetrieved, options) {
2493
+ return __awaiter(this, void 0, void 0, function () {
2494
+ var localVarAxiosArgs;
2495
+ return __generator(this, function (_a) {
2496
+ switch (_a.label) {
2497
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdMediasGet(doctorId, id, mediaType, page, limit, lastRetrieved, options)];
2498
+ case 1:
2499
+ localVarAxiosArgs = _a.sent();
2500
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2501
+ }
2502
+ });
2503
+ });
2504
+ },
2505
+ /**
2506
+ *
2507
+ * @summary Delete DoctorMedia
2508
+ * @param {string} doctorId
2509
+ * @param {string} mediaId
2510
+ * @param {*} [options] Override http request option.
2511
+ * @throws {RequiredError}
2512
+ */
2513
+ apiV1DoctorsDoctorIdMediasMediaIdDelete: function (doctorId, mediaId, options) {
2514
+ return __awaiter(this, void 0, void 0, function () {
2515
+ var localVarAxiosArgs;
2516
+ return __generator(this, function (_a) {
2517
+ switch (_a.label) {
2518
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdMediasMediaIdDelete(doctorId, mediaId, options)];
2519
+ case 1:
2520
+ localVarAxiosArgs = _a.sent();
2521
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2522
+ }
2523
+ });
2524
+ });
2525
+ },
2526
+ /**
2527
+ *
2528
+ * @summary Get DoctorMedia.
2529
+ * @param {string} doctorId
2530
+ * @param {string} mediaId
2531
+ * @param {*} [options] Override http request option.
2532
+ * @throws {RequiredError}
2533
+ */
2534
+ apiV1DoctorsDoctorIdMediasMediaIdGet: function (doctorId, mediaId, options) {
2535
+ return __awaiter(this, void 0, void 0, function () {
2536
+ var localVarAxiosArgs;
2537
+ return __generator(this, function (_a) {
2538
+ switch (_a.label) {
2539
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdMediasMediaIdGet(doctorId, mediaId, options)];
2540
+ case 1:
2541
+ localVarAxiosArgs = _a.sent();
2542
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2543
+ }
2544
+ });
2545
+ });
2546
+ },
2547
+ /**
2548
+ *
2549
+ * @summary Update DoctorMedia.
2550
+ * @param {string} doctorId
2551
+ * @param {string} mediaId
2552
+ * @param {UpdateMediaCommand} [updateMediaCommand]
2553
+ * @param {*} [options] Override http request option.
2554
+ * @throws {RequiredError}
2555
+ */
2556
+ apiV1DoctorsDoctorIdMediasMediaIdPut: function (doctorId, mediaId, updateMediaCommand, options) {
2557
+ return __awaiter(this, void 0, void 0, function () {
2558
+ var localVarAxiosArgs;
2559
+ return __generator(this, function (_a) {
2560
+ switch (_a.label) {
2561
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdMediasMediaIdPut(doctorId, mediaId, updateMediaCommand, options)];
2562
+ case 1:
2563
+ localVarAxiosArgs = _a.sent();
2564
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2565
+ }
2566
+ });
2567
+ });
2568
+ },
2569
+ /**
2570
+ *
2571
+ * @summary Create DoctorMedia.
2572
+ * @param {string} doctorId
2573
+ * @param {CreateMediaCommand} [createMediaCommand]
2574
+ * @param {*} [options] Override http request option.
2575
+ * @throws {RequiredError}
2576
+ */
2577
+ apiV1DoctorsDoctorIdMediasPost: function (doctorId, createMediaCommand, options) {
2578
+ return __awaiter(this, void 0, void 0, function () {
2579
+ var localVarAxiosArgs;
2580
+ return __generator(this, function (_a) {
2581
+ switch (_a.label) {
2582
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdMediasPost(doctorId, createMediaCommand, options)];
2583
+ case 1:
2584
+ localVarAxiosArgs = _a.sent();
2585
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2586
+ }
2587
+ });
2588
+ });
2589
+ },
2590
+ /**
2591
+ *
2592
+ * @summary Get All DoctorPortfolios
2593
+ * @param {string} doctorId
2594
+ * @param {string} [doctorName]
2595
+ * @param {string} [portfolioId]
2596
+ * @param {string} [name]
2597
+ * @param {number} [page]
2598
+ * @param {number} [limit]
2599
+ * @param {Date} [lastRetrieved]
2600
+ * @param {*} [options] Override http request option.
2601
+ * @throws {RequiredError}
2602
+ */
2603
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
2604
+ return __awaiter(this, void 0, void 0, function () {
2605
+ var localVarAxiosArgs;
2606
+ return __generator(this, function (_a) {
2607
+ switch (_a.label) {
2608
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options)];
2609
+ case 1:
2610
+ localVarAxiosArgs = _a.sent();
2611
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2612
+ }
2613
+ });
2614
+ });
2615
+ },
2616
+ /**
2617
+ *
2618
+ * @summary Delete DoctorPortfolio.
2619
+ * @param {string} doctorId
2620
+ * @param {string} portfolioId
2621
+ * @param {*} [options] Override http request option.
2622
+ * @throws {RequiredError}
2623
+ */
2624
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: function (doctorId, portfolioId, options) {
2625
+ return __awaiter(this, void 0, void 0, function () {
2626
+ var localVarAxiosArgs;
2627
+ return __generator(this, function (_a) {
2628
+ switch (_a.label) {
2629
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete(doctorId, portfolioId, options)];
2630
+ case 1:
2631
+ localVarAxiosArgs = _a.sent();
2632
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2633
+ }
2634
+ });
2635
+ });
2636
+ },
2637
+ /**
2638
+ *
2639
+ * @summary Get DoctorPortfolio.
2640
+ * @param {string} doctorId
2641
+ * @param {string} portfolioId
2642
+ * @param {*} [options] Override http request option.
2643
+ * @throws {RequiredError}
2644
+ */
2645
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: function (doctorId, portfolioId, options) {
2646
+ return __awaiter(this, void 0, void 0, function () {
2647
+ var localVarAxiosArgs;
2648
+ return __generator(this, function (_a) {
2649
+ switch (_a.label) {
2650
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId, portfolioId, options)];
2651
+ case 1:
2652
+ localVarAxiosArgs = _a.sent();
2653
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2654
+ }
2655
+ });
2656
+ });
2657
+ },
2658
+ /**
2659
+ *
2660
+ * @summary Update DoctorPortfolio.
2661
+ * @param {string} doctorId
2662
+ * @param {string} portfolioId
2663
+ * @param {UpdateDoctorPortfolioCommand} [updateDoctorPortfolioCommand]
2664
+ * @param {*} [options] Override http request option.
2665
+ * @throws {RequiredError}
2666
+ */
2667
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut: function (doctorId, portfolioId, updateDoctorPortfolioCommand, options) {
2668
+ return __awaiter(this, void 0, void 0, function () {
2669
+ var localVarAxiosArgs;
2670
+ return __generator(this, function (_a) {
2671
+ switch (_a.label) {
2672
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut(doctorId, portfolioId, updateDoctorPortfolioCommand, options)];
2673
+ case 1:
2674
+ localVarAxiosArgs = _a.sent();
2675
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2676
+ }
2677
+ });
2678
+ });
2679
+ },
2680
+ /**
2681
+ *
2682
+ * @summary Create DoctorPortfolio.
2683
+ * @param {string} doctorId
2684
+ * @param {CreateDoctorPortfolioCommand} [createDoctorPortfolioCommand]
2685
+ * @param {*} [options] Override http request option.
2686
+ * @throws {RequiredError}
2687
+ */
2688
+ apiV1DoctorsDoctorIdPortfoliosPost: function (doctorId, createDoctorPortfolioCommand, options) {
2689
+ return __awaiter(this, void 0, void 0, function () {
2690
+ var localVarAxiosArgs;
2691
+ return __generator(this, function (_a) {
2692
+ switch (_a.label) {
2693
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosPost(doctorId, createDoctorPortfolioCommand, options)];
2694
+ case 1:
2695
+ localVarAxiosArgs = _a.sent();
2696
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2697
+ }
2698
+ });
2699
+ });
2700
+ },
2701
+ /**
2702
+ *
2703
+ * @summary Update Doctor.
2704
+ * @param {string} doctorId
2705
+ * @param {UpdateDoctorCommand} [updateDoctorCommand]
2706
+ * @param {*} [options] Override http request option.
2707
+ * @throws {RequiredError}
2708
+ */
2709
+ apiV1DoctorsDoctorIdPut: function (doctorId, updateDoctorCommand, options) {
2710
+ return __awaiter(this, void 0, void 0, function () {
2711
+ var localVarAxiosArgs;
2712
+ return __generator(this, function (_a) {
2713
+ switch (_a.label) {
2714
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options)];
2715
+ case 1:
2716
+ localVarAxiosArgs = _a.sent();
2717
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2718
+ }
2719
+ });
2720
+ });
2721
+ },
2722
+ /**
2723
+ *
2724
+ * @summary Delete Doctor.
2725
+ * @param {string} doctorId
2726
+ * @param {*} [options] Override http request option.
2727
+ * @throws {RequiredError}
2728
+ */
2729
+ apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
2730
+ return __awaiter(this, void 0, void 0, function () {
2731
+ var localVarAxiosArgs;
2732
+ return __generator(this, function (_a) {
2733
+ switch (_a.label) {
2734
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdReactivePut(doctorId, options)];
2735
+ case 1:
2736
+ localVarAxiosArgs = _a.sent();
2737
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2738
+ }
2739
+ });
2740
+ });
2741
+ },
2742
+ /**
2743
+ *
2744
+ * @summary Get All DoctorSpecialties.
2745
+ * @param {string} doctorId
2746
+ * @param {string} [doctorName]
2747
+ * @param {string} [specialtyId]
2748
+ * @param {string} [specialtyName]
2749
+ * @param {string} [languageCode]
2750
+ * @param {number} [page]
2751
+ * @param {number} [limit]
2752
+ * @param {Date} [lastRetrieved]
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ */
2756
+ apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
2757
+ return __awaiter(this, void 0, void 0, function () {
2758
+ var localVarAxiosArgs;
2759
+ return __generator(this, function (_a) {
2760
+ switch (_a.label) {
2761
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options)];
2762
+ case 1:
2763
+ localVarAxiosArgs = _a.sent();
2764
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2765
+ }
2766
+ });
2767
+ });
2768
+ },
2769
+ /**
2770
+ *
2771
+ * @summary Link a doctor to a specialty.
2772
+ * @param {string} doctorId
2773
+ * @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
2774
+ * @param {*} [options] Override http request option.
2775
+ * @throws {RequiredError}
2776
+ */
2777
+ apiV1DoctorsDoctorIdSpecialtiesPost: function (doctorId, createDoctorSpecialtyCommand, options) {
2778
+ return __awaiter(this, void 0, void 0, function () {
2779
+ var localVarAxiosArgs;
2780
+ return __generator(this, function (_a) {
2781
+ switch (_a.label) {
2782
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options)];
2783
+ case 1:
2784
+ localVarAxiosArgs = _a.sent();
2785
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2786
+ }
2787
+ });
2788
+ });
2789
+ },
2790
+ /**
2791
+ *
2792
+ * @summary Remove link between the doctor and the specialty.
2793
+ * @param {string} doctorId
2794
+ * @param {string} specialtyId
2795
+ * @param {*} [options] Override http request option.
2796
+ * @throws {RequiredError}
2797
+ */
2798
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete: function (doctorId, specialtyId, options) {
2799
+ return __awaiter(this, void 0, void 0, function () {
2800
+ var localVarAxiosArgs;
2801
+ return __generator(this, function (_a) {
2802
+ switch (_a.label) {
2803
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete(doctorId, specialtyId, options)];
2804
+ case 1:
2805
+ localVarAxiosArgs = _a.sent();
2806
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2807
+ }
2808
+ });
2809
+ });
2810
+ },
2811
+ /**
2812
+ *
2813
+ * @summary Get DoctorSpecialty
2814
+ * @param {string} doctorId
2815
+ * @param {string} specialtyId
2816
+ * @param {*} [options] Override http request option.
2817
+ * @throws {RequiredError}
2818
+ */
2819
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
2820
+ return __awaiter(this, void 0, void 0, function () {
2821
+ var localVarAxiosArgs;
2822
+ return __generator(this, function (_a) {
2823
+ switch (_a.label) {
2824
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options)];
2825
+ case 1:
2826
+ localVarAxiosArgs = _a.sent();
2827
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2828
+ }
2829
+ });
2830
+ });
2831
+ },
2832
+ /**
2833
+ *
2834
+ * @summary Update DoctorSpecialty.
2835
+ * @param {string} doctorId
2836
+ * @param {string} specialtyId
2837
+ * @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
2838
+ * @param {*} [options] Override http request option.
2839
+ * @throws {RequiredError}
2840
+ */
2841
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut: function (doctorId, specialtyId, updateDoctorSpecialtyCommand, options) {
2842
+ return __awaiter(this, void 0, void 0, function () {
2843
+ var localVarAxiosArgs;
2844
+ return __generator(this, function (_a) {
2845
+ switch (_a.label) {
2846
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options)];
2847
+ case 1:
2848
+ localVarAxiosArgs = _a.sent();
2849
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2850
+ }
2851
+ });
2852
+ });
2853
+ },
2854
+ /**
2855
+ *
2856
+ * @summary Get all Doctors.
2857
+ * @param {string} [hospitalId]
2858
+ * @param {string} [hospitalName]
2859
+ * @param {Array<string>} [ids]
2860
+ * @param {string} [specialtyId]
2861
+ * @param {boolean} [consultationEnabled]
2862
+ * @param {string} [id]
2863
+ * @param {string} [fullname]
2864
+ * @param {string} [email]
2865
+ * @param {Gender} [gender]
2866
+ * @param {Date} [dateOfBirth]
2867
+ * @param {Date} [created]
2868
+ * @param {boolean} [showHidden]
2869
+ * @param {number} [page]
2870
+ * @param {number} [limit]
2871
+ * @param {Date} [lastRetrieved]
2872
+ * @param {*} [options] Override http request option.
2873
+ * @throws {RequiredError}
2874
+ */
2875
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
2876
+ return __awaiter(this, void 0, void 0, function () {
2877
+ var localVarAxiosArgs;
2878
+ return __generator(this, function (_a) {
2879
+ switch (_a.label) {
2880
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
2881
+ case 1:
2882
+ localVarAxiosArgs = _a.sent();
2883
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2884
+ }
2885
+ });
2886
+ });
2887
+ },
2888
+ /**
2889
+ *
2890
+ * @summary Create a Doctor.
2891
+ * @param {CreateDoctorCommand} [createDoctorCommand]
2892
+ * @param {*} [options] Override http request option.
2893
+ * @throws {RequiredError}
2894
+ */
2895
+ apiV1DoctorsPost: function (createDoctorCommand, options) {
2896
+ return __awaiter(this, void 0, void 0, function () {
2897
+ var localVarAxiosArgs;
2898
+ return __generator(this, function (_a) {
2899
+ switch (_a.label) {
2900
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options)];
2901
+ case 1:
2902
+ localVarAxiosArgs = _a.sent();
2903
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2904
+ }
2905
+ });
2906
+ });
2907
+ },
2908
+ /**
2909
+ *
2910
+ * @summary Get all Doctors.
2911
+ * @param {string} [hospitalId]
2912
+ * @param {string} [hospitalName]
2913
+ * @param {Array<string>} [ids]
2914
+ * @param {string} [specialtyId]
2915
+ * @param {boolean} [consultationEnabled]
2916
+ * @param {string} [id]
2917
+ * @param {string} [fullname]
2918
+ * @param {string} [email]
2919
+ * @param {Gender} [gender]
2920
+ * @param {Date} [dateOfBirth]
2921
+ * @param {Date} [created]
2922
+ * @param {boolean} [showHidden]
2923
+ * @param {number} [page]
2924
+ * @param {number} [limit]
2925
+ * @param {Date} [lastRetrieved]
2926
+ * @param {*} [options] Override http request option.
2927
+ * @throws {RequiredError}
2928
+ */
2929
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
2930
+ return __awaiter(this, void 0, void 0, function () {
2931
+ var localVarAxiosArgs;
2932
+ return __generator(this, function (_a) {
2933
+ switch (_a.label) {
2934
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
2935
+ case 1:
2936
+ localVarAxiosArgs = _a.sent();
2937
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2938
+ }
2939
+ });
2940
+ });
2941
+ },
2942
+ };
2943
+ };
2944
+ exports.DoctorsApiFp = DoctorsApiFp;
2945
+ /**
2946
+ * DoctorsApi - factory interface
2947
+ * @export
2948
+ */
2949
+ var DoctorsApiFactory = function (configuration, basePath, axios) {
2950
+ var localVarFp = (0, exports.DoctorsApiFp)(configuration);
2951
+ return {
2952
+ /**
2953
+ *
2954
+ * @summary Delete DoctorCertificate.
2955
+ * @param {string} doctorId
2956
+ * @param {string} certificateId
2957
+ * @param {*} [options] Override http request option.
2958
+ * @throws {RequiredError}
2959
+ */
2960
+ apiV1DoctorsDoctorIdCertificatesCertificateIdDelete: function (doctorId, certificateId, options) {
2961
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesCertificateIdDelete(doctorId, certificateId, options).then(function (request) { return request(axios, basePath); });
2962
+ },
2963
+ /**
2964
+ *
2965
+ * @summary Get DoctorCertificate.
2966
+ * @param {string} doctorId
2967
+ * @param {string} certificateId
2968
+ * @param {*} [options] Override http request option.
2969
+ * @throws {RequiredError}
2970
+ */
2971
+ apiV1DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, options) {
2972
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesCertificateIdGet(doctorId, certificateId, options).then(function (request) { return request(axios, basePath); });
2973
+ },
2974
+ /**
2975
+ *
2976
+ * @summary Update DoctorCertificate.
2977
+ * @param {string} doctorId
2978
+ * @param {string} certificateId
2979
+ * @param {UpdateDoctorCertificateCommand} [updateDoctorCertificateCommand]
2980
+ * @param {*} [options] Override http request option.
2981
+ * @throws {RequiredError}
2982
+ */
2983
+ apiV1DoctorsDoctorIdCertificatesCertificateIdPut: function (doctorId, certificateId, updateDoctorCertificateCommand, options) {
2984
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesCertificateIdPut(doctorId, certificateId, updateDoctorCertificateCommand, options).then(function (request) { return request(axios, basePath); });
2985
+ },
2986
+ /**
2987
+ *
2988
+ * @summary Delete DoctorCertificate.
2989
+ * @param {string} doctorId
2990
+ * @param {string} [doctorName]
2991
+ * @param {string} [certificateId]
2992
+ * @param {string} [certificate]
2993
+ * @param {Date} [activeFrom]
2994
+ * @param {Date} [activeTo]
2995
+ * @param {number} [page]
2996
+ * @param {number} [limit]
2997
+ * @param {Date} [lastRetrieved]
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
3002
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3003
+ },
3004
+ /**
3005
+ *
3006
+ * @summary Create DoctorCertificate.
3007
+ * @param {string} doctorId
3008
+ * @param {CreateDoctorCertificateCommand} [createDoctorCertificateCommand]
3009
+ * @param {*} [options] Override http request option.
3010
+ * @throws {RequiredError}
3011
+ */
3012
+ apiV1DoctorsDoctorIdCertificatesPost: function (doctorId, createDoctorCertificateCommand, options) {
3013
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesPost(doctorId, createDoctorCertificateCommand, options).then(function (request) { return request(axios, basePath); });
3014
+ },
3015
+ /**
3016
+ *
3017
+ * @summary Delete Doctor.
3018
+ * @param {string} doctorId
3019
+ * @param {boolean} [isPermanent]
3020
+ * @param {*} [options] Override http request option.
3021
+ * @throws {RequiredError}
3022
+ */
3023
+ apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
3024
+ return localVarFp.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then(function (request) { return request(axios, basePath); });
3025
+ },
3026
+ /**
3027
+ *
3028
+ * @summary Delete DoctorEducation
3029
+ * @param {string} doctorId
3030
+ * @param {string} educationId
3031
+ * @param {*} [options] Override http request option.
3032
+ * @throws {RequiredError}
3033
+ */
3034
+ apiV1DoctorsDoctorIdEducationsEducationIdDelete: function (doctorId, educationId, options) {
3035
+ return localVarFp.apiV1DoctorsDoctorIdEducationsEducationIdDelete(doctorId, educationId, options).then(function (request) { return request(axios, basePath); });
3036
+ },
3037
+ /**
3038
+ *
3039
+ * @summary Get DoctorEducation.
3040
+ * @param {string} doctorId
3041
+ * @param {string} educationId
3042
+ * @param {*} [options] Override http request option.
3043
+ * @throws {RequiredError}
3044
+ */
3045
+ apiV1DoctorsDoctorIdEducationsEducationIdGet: function (doctorId, educationId, options) {
3046
+ return localVarFp.apiV1DoctorsDoctorIdEducationsEducationIdGet(doctorId, educationId, options).then(function (request) { return request(axios, basePath); });
3047
+ },
3048
+ /**
3049
+ *
3050
+ * @summary Update DoctorEducation.
3051
+ * @param {string} doctorId
3052
+ * @param {string} educationId
3053
+ * @param {UpdateDoctorEducationCommand} [updateDoctorEducationCommand]
3054
+ * @param {*} [options] Override http request option.
3055
+ * @throws {RequiredError}
3056
+ */
3057
+ apiV1DoctorsDoctorIdEducationsEducationIdPut: function (doctorId, educationId, updateDoctorEducationCommand, options) {
3058
+ return localVarFp.apiV1DoctorsDoctorIdEducationsEducationIdPut(doctorId, educationId, updateDoctorEducationCommand, options).then(function (request) { return request(axios, basePath); });
3059
+ },
3060
+ /**
3061
+ *
3062
+ * @summary Get all DoctorEducations.
3063
+ * @param {string} doctorId
3064
+ * @param {string} [doctorName]
3065
+ * @param {string} [educationId]
3066
+ * @param {string} [institution]
3067
+ * @param {string} [qualification]
3068
+ * @param {Date} [graduationDate]
3069
+ * @param {number} [page]
3070
+ * @param {number} [limit]
3071
+ * @param {Date} [lastRetrieved]
3072
+ * @param {*} [options] Override http request option.
3073
+ * @throws {RequiredError}
3074
+ */
3075
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
3076
+ return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3077
+ },
3078
+ /**
3079
+ *
3080
+ * @summary Create DoctorEducation.
3081
+ * @param {string} doctorId
3082
+ * @param {CreateDoctorEducationCommand} [createDoctorEducationCommand]
3083
+ * @param {*} [options] Override http request option.
3084
+ * @throws {RequiredError}
3085
+ */
3086
+ apiV1DoctorsDoctorIdEducationsPost: function (doctorId, createDoctorEducationCommand, options) {
3087
+ return localVarFp.apiV1DoctorsDoctorIdEducationsPost(doctorId, createDoctorEducationCommand, options).then(function (request) { return request(axios, basePath); });
3088
+ },
3089
+ /**
3090
+ *
3091
+ * @summary
3092
+ * @param {string} doctorId
3093
+ * @param {*} [options] Override http request option.
3094
+ * @throws {RequiredError}
3095
+ */
3096
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
3097
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(axios, basePath); });
3098
+ },
3099
+ /**
3100
+ *
3101
+ * @summary Get all DoctorLanguages.
3102
+ * @param {string} doctorId
3103
+ * @param {string} [languageCode]
3104
+ * @param {number} [page]
3105
+ * @param {number} [limit]
3106
+ * @param {Date} [lastRetrieved]
3107
+ * @param {*} [options] Override http request option.
3108
+ * @throws {RequiredError}
3109
+ */
3110
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, options) {
3111
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3112
+ },
3113
+ /**
3114
+ *
3115
+ * @summary Delete DoctorLanguage
3116
+ * @param {string} doctorId
3117
+ * @param {string} languageCode
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
3122
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
3123
+ },
3124
+ /**
3125
+ *
3126
+ * @summary Get DoctorLanguage.
3127
+ * @param {string} doctorId
3128
+ * @param {string} languageCode
3129
+ * @param {*} [options] Override http request option.
3130
+ * @throws {RequiredError}
3131
+ */
3132
+ apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
3133
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
3134
+ },
3135
+ /**
3136
+ *
3137
+ * @summary Update DoctorLanguage.
3138
+ * @param {string} doctorId
3139
+ * @param {string} languageCode
3140
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
3141
+ * @param {*} [options] Override http request option.
3142
+ * @throws {RequiredError}
3143
+ */
3144
+ apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
3145
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
3146
+ },
3147
+ /**
3148
+ *
3149
+ * @summary Create DoctorLanguage.
3150
+ * @param {string} doctorId
3151
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
3152
+ * @param {*} [options] Override http request option.
3153
+ * @throws {RequiredError}
3154
+ */
3155
+ apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
3156
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
3157
+ },
3158
+ /**
3159
+ *
3160
+ * @summary Get all DoctorMedias.
3161
+ * @param {string} doctorId
3162
+ * @param {string} [id]
3163
+ * @param {MediaType} [mediaType]
3164
+ * @param {number} [page]
3165
+ * @param {number} [limit]
3166
+ * @param {Date} [lastRetrieved]
3167
+ * @param {*} [options] Override http request option.
3168
+ * @throws {RequiredError}
3169
+ */
3170
+ apiV1DoctorsDoctorIdMediasGet: function (doctorId, id, mediaType, page, limit, lastRetrieved, options) {
3171
+ return localVarFp.apiV1DoctorsDoctorIdMediasGet(doctorId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3172
+ },
3173
+ /**
3174
+ *
3175
+ * @summary Delete DoctorMedia
3176
+ * @param {string} doctorId
3177
+ * @param {string} mediaId
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ */
3181
+ apiV1DoctorsDoctorIdMediasMediaIdDelete: function (doctorId, mediaId, options) {
3182
+ return localVarFp.apiV1DoctorsDoctorIdMediasMediaIdDelete(doctorId, mediaId, options).then(function (request) { return request(axios, basePath); });
3183
+ },
3184
+ /**
3185
+ *
3186
+ * @summary Get DoctorMedia.
3187
+ * @param {string} doctorId
3188
+ * @param {string} mediaId
3189
+ * @param {*} [options] Override http request option.
3190
+ * @throws {RequiredError}
3191
+ */
3192
+ apiV1DoctorsDoctorIdMediasMediaIdGet: function (doctorId, mediaId, options) {
3193
+ return localVarFp.apiV1DoctorsDoctorIdMediasMediaIdGet(doctorId, mediaId, options).then(function (request) { return request(axios, basePath); });
3194
+ },
3195
+ /**
3196
+ *
3197
+ * @summary Update DoctorMedia.
3198
+ * @param {string} doctorId
3199
+ * @param {string} mediaId
3200
+ * @param {UpdateMediaCommand} [updateMediaCommand]
3201
+ * @param {*} [options] Override http request option.
3202
+ * @throws {RequiredError}
3203
+ */
3204
+ apiV1DoctorsDoctorIdMediasMediaIdPut: function (doctorId, mediaId, updateMediaCommand, options) {
3205
+ return localVarFp.apiV1DoctorsDoctorIdMediasMediaIdPut(doctorId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
3206
+ },
3207
+ /**
3208
+ *
3209
+ * @summary Create DoctorMedia.
3210
+ * @param {string} doctorId
3211
+ * @param {CreateMediaCommand} [createMediaCommand]
3212
+ * @param {*} [options] Override http request option.
3213
+ * @throws {RequiredError}
3214
+ */
3215
+ apiV1DoctorsDoctorIdMediasPost: function (doctorId, createMediaCommand, options) {
3216
+ return localVarFp.apiV1DoctorsDoctorIdMediasPost(doctorId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
3217
+ },
3218
+ /**
3219
+ *
3220
+ * @summary Get All DoctorPortfolios
3221
+ * @param {string} doctorId
3222
+ * @param {string} [doctorName]
3223
+ * @param {string} [portfolioId]
3224
+ * @param {string} [name]
3225
+ * @param {number} [page]
3226
+ * @param {number} [limit]
3227
+ * @param {Date} [lastRetrieved]
3228
+ * @param {*} [options] Override http request option.
3229
+ * @throws {RequiredError}
3230
+ */
3231
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
3232
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3233
+ },
3234
+ /**
3235
+ *
3236
+ * @summary Delete DoctorPortfolio.
3237
+ * @param {string} doctorId
3238
+ * @param {string} portfolioId
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete: function (doctorId, portfolioId, options) {
3243
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete(doctorId, portfolioId, options).then(function (request) { return request(axios, basePath); });
3244
+ },
3245
+ /**
3246
+ *
3247
+ * @summary Get DoctorPortfolio.
3248
+ * @param {string} doctorId
3249
+ * @param {string} portfolioId
3250
+ * @param {*} [options] Override http request option.
3251
+ * @throws {RequiredError}
3252
+ */
3253
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet: function (doctorId, portfolioId, options) {
3254
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId, portfolioId, options).then(function (request) { return request(axios, basePath); });
3255
+ },
3256
+ /**
3257
+ *
3258
+ * @summary Update DoctorPortfolio.
3259
+ * @param {string} doctorId
3260
+ * @param {string} portfolioId
3261
+ * @param {UpdateDoctorPortfolioCommand} [updateDoctorPortfolioCommand]
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut: function (doctorId, portfolioId, updateDoctorPortfolioCommand, options) {
3266
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut(doctorId, portfolioId, updateDoctorPortfolioCommand, options).then(function (request) { return request(axios, basePath); });
3267
+ },
3268
+ /**
3269
+ *
3270
+ * @summary Create DoctorPortfolio.
3271
+ * @param {string} doctorId
3272
+ * @param {CreateDoctorPortfolioCommand} [createDoctorPortfolioCommand]
3273
+ * @param {*} [options] Override http request option.
3274
+ * @throws {RequiredError}
3275
+ */
3276
+ apiV1DoctorsDoctorIdPortfoliosPost: function (doctorId, createDoctorPortfolioCommand, options) {
3277
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosPost(doctorId, createDoctorPortfolioCommand, options).then(function (request) { return request(axios, basePath); });
3278
+ },
3279
+ /**
3280
+ *
3281
+ * @summary Update Doctor.
3282
+ * @param {string} doctorId
3283
+ * @param {UpdateDoctorCommand} [updateDoctorCommand]
3284
+ * @param {*} [options] Override http request option.
3285
+ * @throws {RequiredError}
3286
+ */
3287
+ apiV1DoctorsDoctorIdPut: function (doctorId, updateDoctorCommand, options) {
3288
+ return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then(function (request) { return request(axios, basePath); });
3289
+ },
3290
+ /**
3291
+ *
3292
+ * @summary Delete Doctor.
3293
+ * @param {string} doctorId
3294
+ * @param {*} [options] Override http request option.
3295
+ * @throws {RequiredError}
3296
+ */
3297
+ apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
3298
+ return localVarFp.apiV1DoctorsDoctorIdReactivePut(doctorId, options).then(function (request) { return request(axios, basePath); });
3299
+ },
3300
+ /**
3301
+ *
3302
+ * @summary Get All DoctorSpecialties.
3303
+ * @param {string} doctorId
3304
+ * @param {string} [doctorName]
3305
+ * @param {string} [specialtyId]
3306
+ * @param {string} [specialtyName]
3307
+ * @param {string} [languageCode]
3308
+ * @param {number} [page]
3309
+ * @param {number} [limit]
3310
+ * @param {Date} [lastRetrieved]
3311
+ * @param {*} [options] Override http request option.
3312
+ * @throws {RequiredError}
3313
+ */
3314
+ apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
3315
+ return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3316
+ },
3317
+ /**
3318
+ *
3319
+ * @summary Link a doctor to a specialty.
3320
+ * @param {string} doctorId
3321
+ * @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
3322
+ * @param {*} [options] Override http request option.
3323
+ * @throws {RequiredError}
3324
+ */
3325
+ apiV1DoctorsDoctorIdSpecialtiesPost: function (doctorId, createDoctorSpecialtyCommand, options) {
3326
+ return localVarFp.apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
3327
+ },
3328
+ /**
3329
+ *
3330
+ * @summary Remove link between the doctor and the specialty.
3331
+ * @param {string} doctorId
3332
+ * @param {string} specialtyId
3333
+ * @param {*} [options] Override http request option.
3334
+ * @throws {RequiredError}
3335
+ */
3336
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete: function (doctorId, specialtyId, options) {
3337
+ return localVarFp.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete(doctorId, specialtyId, options).then(function (request) { return request(axios, basePath); });
3338
+ },
3339
+ /**
3340
+ *
3341
+ * @summary Get DoctorSpecialty
3342
+ * @param {string} doctorId
3343
+ * @param {string} specialtyId
3344
+ * @param {*} [options] Override http request option.
3345
+ * @throws {RequiredError}
3346
+ */
3347
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
3348
+ return localVarFp.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(axios, basePath); });
3349
+ },
3350
+ /**
3351
+ *
3352
+ * @summary Update DoctorSpecialty.
3353
+ * @param {string} doctorId
3354
+ * @param {string} specialtyId
3355
+ * @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
3356
+ * @param {*} [options] Override http request option.
3357
+ * @throws {RequiredError}
3358
+ */
3359
+ apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut: function (doctorId, specialtyId, updateDoctorSpecialtyCommand, options) {
3360
+ return localVarFp.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
3361
+ },
3362
+ /**
3363
+ *
3364
+ * @summary Get all Doctors.
3365
+ * @param {string} [hospitalId]
3366
+ * @param {string} [hospitalName]
3367
+ * @param {Array<string>} [ids]
3368
+ * @param {string} [specialtyId]
3369
+ * @param {boolean} [consultationEnabled]
3370
+ * @param {string} [id]
3371
+ * @param {string} [fullname]
3372
+ * @param {string} [email]
3373
+ * @param {Gender} [gender]
3374
+ * @param {Date} [dateOfBirth]
3375
+ * @param {Date} [created]
3376
+ * @param {boolean} [showHidden]
3377
+ * @param {number} [page]
3378
+ * @param {number} [limit]
3379
+ * @param {Date} [lastRetrieved]
3380
+ * @param {*} [options] Override http request option.
3381
+ * @throws {RequiredError}
3382
+ */
3383
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
3384
+ return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3385
+ },
3386
+ /**
3387
+ *
3388
+ * @summary Create a Doctor.
3389
+ * @param {CreateDoctorCommand} [createDoctorCommand]
3390
+ * @param {*} [options] Override http request option.
3391
+ * @throws {RequiredError}
3392
+ */
3393
+ apiV1DoctorsPost: function (createDoctorCommand, options) {
3394
+ return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(axios, basePath); });
3395
+ },
3396
+ /**
3397
+ *
3398
+ * @summary Get all Doctors.
3399
+ * @param {string} [hospitalId]
3400
+ * @param {string} [hospitalName]
3401
+ * @param {Array<string>} [ids]
3402
+ * @param {string} [specialtyId]
3403
+ * @param {boolean} [consultationEnabled]
3404
+ * @param {string} [id]
3405
+ * @param {string} [fullname]
3406
+ * @param {string} [email]
3407
+ * @param {Gender} [gender]
3408
+ * @param {Date} [dateOfBirth]
3409
+ * @param {Date} [created]
3410
+ * @param {boolean} [showHidden]
3411
+ * @param {number} [page]
3412
+ * @param {number} [limit]
3413
+ * @param {Date} [lastRetrieved]
3414
+ * @param {*} [options] Override http request option.
3415
+ * @throws {RequiredError}
3416
+ */
3417
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
3418
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3419
+ },
3420
+ };
3421
+ };
3422
+ exports.DoctorsApiFactory = DoctorsApiFactory;
3423
+ /**
3424
+ * DoctorsApi - object-oriented interface
3425
+ * @export
3426
+ * @class DoctorsApi
3427
+ * @extends {BaseAPI}
3428
+ */
3429
+ var DoctorsApi = /** @class */ (function (_super) {
3430
+ __extends(DoctorsApi, _super);
3431
+ function DoctorsApi() {
3432
+ return _super !== null && _super.apply(this, arguments) || this;
3433
+ }
3434
+ /**
3435
+ *
3436
+ * @summary Delete DoctorCertificate.
3437
+ * @param {string} doctorId
3438
+ * @param {string} certificateId
3439
+ * @param {*} [options] Override http request option.
3440
+ * @throws {RequiredError}
3441
+ * @memberof DoctorsApi
3442
+ */
3443
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesCertificateIdDelete = function (doctorId, certificateId, options) {
3444
+ var _this = this;
3445
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdCertificatesCertificateIdDelete(doctorId, certificateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3446
+ };
3447
+ /**
3448
+ *
3449
+ * @summary Get DoctorCertificate.
3450
+ * @param {string} doctorId
3451
+ * @param {string} certificateId
3452
+ * @param {*} [options] Override http request option.
3453
+ * @throws {RequiredError}
3454
+ * @memberof DoctorsApi
3455
+ */
3456
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesCertificateIdGet = function (doctorId, certificateId, options) {
3457
+ var _this = this;
3458
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdCertificatesCertificateIdGet(doctorId, certificateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3459
+ };
3460
+ /**
3461
+ *
3462
+ * @summary Update DoctorCertificate.
3463
+ * @param {string} doctorId
3464
+ * @param {string} certificateId
3465
+ * @param {UpdateDoctorCertificateCommand} [updateDoctorCertificateCommand]
3466
+ * @param {*} [options] Override http request option.
3467
+ * @throws {RequiredError}
3468
+ * @memberof DoctorsApi
3469
+ */
3470
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesCertificateIdPut = function (doctorId, certificateId, updateDoctorCertificateCommand, options) {
3471
+ var _this = this;
3472
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdCertificatesCertificateIdPut(doctorId, certificateId, updateDoctorCertificateCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3473
+ };
3474
+ /**
3475
+ *
3476
+ * @summary Delete DoctorCertificate.
3477
+ * @param {string} doctorId
3478
+ * @param {string} [doctorName]
3479
+ * @param {string} [certificateId]
3480
+ * @param {string} [certificate]
3481
+ * @param {Date} [activeFrom]
3482
+ * @param {Date} [activeTo]
3483
+ * @param {number} [page]
3484
+ * @param {number} [limit]
3485
+ * @param {Date} [lastRetrieved]
3486
+ * @param {*} [options] Override http request option.
3487
+ * @throws {RequiredError}
3488
+ * @memberof DoctorsApi
3489
+ */
3490
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesGet = function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
3491
+ var _this = this;
3492
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3493
+ };
3494
+ /**
3495
+ *
3496
+ * @summary Create DoctorCertificate.
3497
+ * @param {string} doctorId
3498
+ * @param {CreateDoctorCertificateCommand} [createDoctorCertificateCommand]
3499
+ * @param {*} [options] Override http request option.
3500
+ * @throws {RequiredError}
3501
+ * @memberof DoctorsApi
3502
+ */
3503
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesPost = function (doctorId, createDoctorCertificateCommand, options) {
3504
+ var _this = this;
3505
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdCertificatesPost(doctorId, createDoctorCertificateCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3506
+ };
3507
+ /**
3508
+ *
3509
+ * @summary Delete Doctor.
3510
+ * @param {string} doctorId
3511
+ * @param {boolean} [isPermanent]
3512
+ * @param {*} [options] Override http request option.
3513
+ * @throws {RequiredError}
3514
+ * @memberof DoctorsApi
3515
+ */
3516
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdDelete = function (doctorId, isPermanent, options) {
3517
+ var _this = this;
3518
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
3519
+ };
3520
+ /**
3521
+ *
3522
+ * @summary Delete DoctorEducation
3523
+ * @param {string} doctorId
3524
+ * @param {string} educationId
3525
+ * @param {*} [options] Override http request option.
3526
+ * @throws {RequiredError}
3527
+ * @memberof DoctorsApi
3528
+ */
3529
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsEducationIdDelete = function (doctorId, educationId, options) {
3530
+ var _this = this;
3531
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdEducationsEducationIdDelete(doctorId, educationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3532
+ };
3533
+ /**
3534
+ *
3535
+ * @summary Get DoctorEducation.
3536
+ * @param {string} doctorId
3537
+ * @param {string} educationId
3538
+ * @param {*} [options] Override http request option.
3539
+ * @throws {RequiredError}
3540
+ * @memberof DoctorsApi
3541
+ */
3542
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsEducationIdGet = function (doctorId, educationId, options) {
3543
+ var _this = this;
3544
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdEducationsEducationIdGet(doctorId, educationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3545
+ };
3546
+ /**
3547
+ *
3548
+ * @summary Update DoctorEducation.
3549
+ * @param {string} doctorId
3550
+ * @param {string} educationId
3551
+ * @param {UpdateDoctorEducationCommand} [updateDoctorEducationCommand]
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ * @memberof DoctorsApi
3555
+ */
3556
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsEducationIdPut = function (doctorId, educationId, updateDoctorEducationCommand, options) {
3557
+ var _this = this;
3558
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdEducationsEducationIdPut(doctorId, educationId, updateDoctorEducationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3559
+ };
3560
+ /**
3561
+ *
3562
+ * @summary Get all DoctorEducations.
3563
+ * @param {string} doctorId
3564
+ * @param {string} [doctorName]
3565
+ * @param {string} [educationId]
3566
+ * @param {string} [institution]
3567
+ * @param {string} [qualification]
3568
+ * @param {Date} [graduationDate]
3569
+ * @param {number} [page]
3570
+ * @param {number} [limit]
3571
+ * @param {Date} [lastRetrieved]
3572
+ * @param {*} [options] Override http request option.
3573
+ * @throws {RequiredError}
3574
+ * @memberof DoctorsApi
3575
+ */
3576
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsGet = function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
3577
+ var _this = this;
3578
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3579
+ };
3580
+ /**
3581
+ *
3582
+ * @summary Create DoctorEducation.
3583
+ * @param {string} doctorId
3584
+ * @param {CreateDoctorEducationCommand} [createDoctorEducationCommand]
3585
+ * @param {*} [options] Override http request option.
3586
+ * @throws {RequiredError}
3587
+ * @memberof DoctorsApi
3588
+ */
3589
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsPost = function (doctorId, createDoctorEducationCommand, options) {
3590
+ var _this = this;
3591
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdEducationsPost(doctorId, createDoctorEducationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3592
+ };
3593
+ /**
3594
+ *
3595
+ * @summary
3596
+ * @param {string} doctorId
3597
+ * @param {*} [options] Override http request option.
3598
+ * @throws {RequiredError}
3599
+ * @memberof DoctorsApi
3600
+ */
3601
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, options) {
3602
+ var _this = this;
3603
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3604
+ };
3605
+ /**
3606
+ *
3607
+ * @summary Get all DoctorLanguages.
3608
+ * @param {string} doctorId
3609
+ * @param {string} [languageCode]
3610
+ * @param {number} [page]
3611
+ * @param {number} [limit]
3612
+ * @param {Date} [lastRetrieved]
3613
+ * @param {*} [options] Override http request option.
3614
+ * @throws {RequiredError}
3615
+ * @memberof DoctorsApi
3616
+ */
3617
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, languageCode, page, limit, lastRetrieved, options) {
3618
+ var _this = this;
3619
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3620
+ };
3621
+ /**
3622
+ *
3623
+ * @summary Delete DoctorLanguage
3624
+ * @param {string} doctorId
3625
+ * @param {string} languageCode
3626
+ * @param {*} [options] Override http request option.
3627
+ * @throws {RequiredError}
3628
+ * @memberof DoctorsApi
3629
+ */
3630
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete = function (doctorId, languageCode, options) {
3631
+ var _this = this;
3632
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
3633
+ };
3634
+ /**
3635
+ *
3636
+ * @summary Get DoctorLanguage.
3637
+ * @param {string} doctorId
3638
+ * @param {string} languageCode
3639
+ * @param {*} [options] Override http request option.
3640
+ * @throws {RequiredError}
3641
+ * @memberof DoctorsApi
3642
+ */
3643
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet = function (doctorId, languageCode, options) {
3644
+ var _this = this;
3645
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
3646
+ };
3647
+ /**
3648
+ *
3649
+ * @summary Update DoctorLanguage.
3650
+ * @param {string} doctorId
3651
+ * @param {string} languageCode
3652
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
3653
+ * @param {*} [options] Override http request option.
3654
+ * @throws {RequiredError}
3655
+ * @memberof DoctorsApi
3656
+ */
3657
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodePut = function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
3658
+ var _this = this;
3659
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3660
+ };
3661
+ /**
3662
+ *
3663
+ * @summary Create DoctorLanguage.
3664
+ * @param {string} doctorId
3665
+ * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ * @memberof DoctorsApi
3669
+ */
3670
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesPost = function (doctorId, createDoctorLanguageCommand, options) {
3671
+ var _this = this;
3672
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3673
+ };
3674
+ /**
3675
+ *
3676
+ * @summary Get all DoctorMedias.
3677
+ * @param {string} doctorId
3678
+ * @param {string} [id]
3679
+ * @param {MediaType} [mediaType]
3680
+ * @param {number} [page]
3681
+ * @param {number} [limit]
3682
+ * @param {Date} [lastRetrieved]
3683
+ * @param {*} [options] Override http request option.
3684
+ * @throws {RequiredError}
3685
+ * @memberof DoctorsApi
3686
+ */
3687
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdMediasGet = function (doctorId, id, mediaType, page, limit, lastRetrieved, options) {
3688
+ var _this = this;
3689
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdMediasGet(doctorId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3690
+ };
3691
+ /**
3692
+ *
3693
+ * @summary Delete DoctorMedia
3694
+ * @param {string} doctorId
3695
+ * @param {string} mediaId
3696
+ * @param {*} [options] Override http request option.
3697
+ * @throws {RequiredError}
3698
+ * @memberof DoctorsApi
3699
+ */
3700
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdMediasMediaIdDelete = function (doctorId, mediaId, options) {
3701
+ var _this = this;
3702
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdMediasMediaIdDelete(doctorId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3703
+ };
3704
+ /**
3705
+ *
3706
+ * @summary Get DoctorMedia.
3707
+ * @param {string} doctorId
3708
+ * @param {string} mediaId
3709
+ * @param {*} [options] Override http request option.
3710
+ * @throws {RequiredError}
3711
+ * @memberof DoctorsApi
3712
+ */
3713
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdMediasMediaIdGet = function (doctorId, mediaId, options) {
3714
+ var _this = this;
3715
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdMediasMediaIdGet(doctorId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3716
+ };
3717
+ /**
3718
+ *
3719
+ * @summary Update DoctorMedia.
3720
+ * @param {string} doctorId
3721
+ * @param {string} mediaId
3722
+ * @param {UpdateMediaCommand} [updateMediaCommand]
3723
+ * @param {*} [options] Override http request option.
3724
+ * @throws {RequiredError}
3725
+ * @memberof DoctorsApi
3726
+ */
3727
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdMediasMediaIdPut = function (doctorId, mediaId, updateMediaCommand, options) {
3728
+ var _this = this;
3729
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdMediasMediaIdPut(doctorId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3730
+ };
3731
+ /**
3732
+ *
3733
+ * @summary Create DoctorMedia.
3734
+ * @param {string} doctorId
3735
+ * @param {CreateMediaCommand} [createMediaCommand]
3736
+ * @param {*} [options] Override http request option.
3737
+ * @throws {RequiredError}
3738
+ * @memberof DoctorsApi
3739
+ */
3740
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdMediasPost = function (doctorId, createMediaCommand, options) {
3741
+ var _this = this;
3742
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdMediasPost(doctorId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3743
+ };
3744
+ /**
3745
+ *
3746
+ * @summary Get All DoctorPortfolios
3747
+ * @param {string} doctorId
3748
+ * @param {string} [doctorName]
3749
+ * @param {string} [portfolioId]
3750
+ * @param {string} [name]
3751
+ * @param {number} [page]
3752
+ * @param {number} [limit]
3753
+ * @param {Date} [lastRetrieved]
3754
+ * @param {*} [options] Override http request option.
3755
+ * @throws {RequiredError}
3756
+ * @memberof DoctorsApi
3757
+ */
3758
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosGet = function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
3759
+ var _this = this;
3760
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3761
+ };
3762
+ /**
3763
+ *
3764
+ * @summary Delete DoctorPortfolio.
3765
+ * @param {string} doctorId
3766
+ * @param {string} portfolioId
3767
+ * @param {*} [options] Override http request option.
3768
+ * @throws {RequiredError}
3769
+ * @memberof DoctorsApi
3770
+ */
3771
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete = function (doctorId, portfolioId, options) {
3772
+ var _this = this;
3773
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPortfoliosPortfolioIdDelete(doctorId, portfolioId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3774
+ };
3775
+ /**
3776
+ *
3777
+ * @summary Get DoctorPortfolio.
3778
+ * @param {string} doctorId
3779
+ * @param {string} portfolioId
3780
+ * @param {*} [options] Override http request option.
3781
+ * @throws {RequiredError}
3782
+ * @memberof DoctorsApi
3783
+ */
3784
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet = function (doctorId, portfolioId, options) {
3785
+ var _this = this;
3786
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId, portfolioId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3787
+ };
3788
+ /**
3789
+ *
3790
+ * @summary Update DoctorPortfolio.
3791
+ * @param {string} doctorId
3792
+ * @param {string} portfolioId
3793
+ * @param {UpdateDoctorPortfolioCommand} [updateDoctorPortfolioCommand]
3794
+ * @param {*} [options] Override http request option.
3795
+ * @throws {RequiredError}
3796
+ * @memberof DoctorsApi
3797
+ */
3798
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut = function (doctorId, portfolioId, updateDoctorPortfolioCommand, options) {
3799
+ var _this = this;
3800
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPortfoliosPortfolioIdPut(doctorId, portfolioId, updateDoctorPortfolioCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3801
+ };
3802
+ /**
3803
+ *
3804
+ * @summary Create DoctorPortfolio.
3805
+ * @param {string} doctorId
3806
+ * @param {CreateDoctorPortfolioCommand} [createDoctorPortfolioCommand]
3807
+ * @param {*} [options] Override http request option.
3808
+ * @throws {RequiredError}
3809
+ * @memberof DoctorsApi
3810
+ */
3811
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosPost = function (doctorId, createDoctorPortfolioCommand, options) {
3812
+ var _this = this;
3813
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPortfoliosPost(doctorId, createDoctorPortfolioCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3814
+ };
3815
+ /**
3816
+ *
3817
+ * @summary Update Doctor.
3818
+ * @param {string} doctorId
3819
+ * @param {UpdateDoctorCommand} [updateDoctorCommand]
3820
+ * @param {*} [options] Override http request option.
3821
+ * @throws {RequiredError}
3822
+ * @memberof DoctorsApi
3823
+ */
3824
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPut = function (doctorId, updateDoctorCommand, options) {
3825
+ var _this = this;
3826
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3827
+ };
3828
+ /**
3829
+ *
3830
+ * @summary Delete Doctor.
3831
+ * @param {string} doctorId
3832
+ * @param {*} [options] Override http request option.
3833
+ * @throws {RequiredError}
3834
+ * @memberof DoctorsApi
3835
+ */
3836
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdReactivePut = function (doctorId, options) {
3837
+ var _this = this;
3838
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdReactivePut(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3839
+ };
3840
+ /**
3841
+ *
3842
+ * @summary Get All DoctorSpecialties.
3843
+ * @param {string} doctorId
3844
+ * @param {string} [doctorName]
3845
+ * @param {string} [specialtyId]
3846
+ * @param {string} [specialtyName]
3847
+ * @param {string} [languageCode]
3848
+ * @param {number} [page]
3849
+ * @param {number} [limit]
3850
+ * @param {Date} [lastRetrieved]
3851
+ * @param {*} [options] Override http request option.
3852
+ * @throws {RequiredError}
3853
+ * @memberof DoctorsApi
3854
+ */
3855
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
3856
+ var _this = this;
3857
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3858
+ };
3859
+ /**
3860
+ *
3861
+ * @summary Link a doctor to a specialty.
3862
+ * @param {string} doctorId
3863
+ * @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
3864
+ * @param {*} [options] Override http request option.
3865
+ * @throws {RequiredError}
3866
+ * @memberof DoctorsApi
3867
+ */
3868
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesPost = function (doctorId, createDoctorSpecialtyCommand, options) {
3869
+ var _this = this;
3870
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3871
+ };
3872
+ /**
3873
+ *
3874
+ * @summary Remove link between the doctor and the specialty.
3875
+ * @param {string} doctorId
3876
+ * @param {string} specialtyId
3877
+ * @param {*} [options] Override http request option.
3878
+ * @throws {RequiredError}
3879
+ * @memberof DoctorsApi
3880
+ */
3881
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete = function (doctorId, specialtyId, options) {
3882
+ var _this = this;
3883
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdDelete(doctorId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3884
+ };
3885
+ /**
3886
+ *
3887
+ * @summary Get DoctorSpecialty
3888
+ * @param {string} doctorId
3889
+ * @param {string} specialtyId
3890
+ * @param {*} [options] Override http request option.
3891
+ * @throws {RequiredError}
3892
+ * @memberof DoctorsApi
3893
+ */
3894
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet = function (doctorId, specialtyId, options) {
3895
+ var _this = this;
3896
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3897
+ };
3898
+ /**
3899
+ *
3900
+ * @summary Update DoctorSpecialty.
3901
+ * @param {string} doctorId
3902
+ * @param {string} specialtyId
3903
+ * @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
3904
+ * @param {*} [options] Override http request option.
3905
+ * @throws {RequiredError}
3906
+ * @memberof DoctorsApi
3907
+ */
3908
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut = function (doctorId, specialtyId, updateDoctorSpecialtyCommand, options) {
3909
+ var _this = this;
3910
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3911
+ };
3912
+ /**
3913
+ *
3914
+ * @summary Get all Doctors.
3915
+ * @param {string} [hospitalId]
3916
+ * @param {string} [hospitalName]
3917
+ * @param {Array<string>} [ids]
3918
+ * @param {string} [specialtyId]
3919
+ * @param {boolean} [consultationEnabled]
3920
+ * @param {string} [id]
3921
+ * @param {string} [fullname]
3922
+ * @param {string} [email]
3923
+ * @param {Gender} [gender]
3924
+ * @param {Date} [dateOfBirth]
3925
+ * @param {Date} [created]
3926
+ * @param {boolean} [showHidden]
3927
+ * @param {number} [page]
3928
+ * @param {number} [limit]
3929
+ * @param {Date} [lastRetrieved]
3930
+ * @param {*} [options] Override http request option.
3931
+ * @throws {RequiredError}
3932
+ * @memberof DoctorsApi
3933
+ */
3934
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
3935
+ var _this = this;
3936
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3937
+ };
3938
+ /**
3939
+ *
3940
+ * @summary Create a Doctor.
3941
+ * @param {CreateDoctorCommand} [createDoctorCommand]
3942
+ * @param {*} [options] Override http request option.
3943
+ * @throws {RequiredError}
3944
+ * @memberof DoctorsApi
3945
+ */
3946
+ DoctorsApi.prototype.apiV1DoctorsPost = function (createDoctorCommand, options) {
3947
+ var _this = this;
3948
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3949
+ };
3950
+ /**
3951
+ *
3952
+ * @summary Get all Doctors.
3953
+ * @param {string} [hospitalId]
3954
+ * @param {string} [hospitalName]
3955
+ * @param {Array<string>} [ids]
3956
+ * @param {string} [specialtyId]
3957
+ * @param {boolean} [consultationEnabled]
3958
+ * @param {string} [id]
3959
+ * @param {string} [fullname]
3960
+ * @param {string} [email]
3961
+ * @param {Gender} [gender]
3962
+ * @param {Date} [dateOfBirth]
3963
+ * @param {Date} [created]
3964
+ * @param {boolean} [showHidden]
3965
+ * @param {number} [page]
3966
+ * @param {number} [limit]
3967
+ * @param {Date} [lastRetrieved]
3968
+ * @param {*} [options] Override http request option.
3969
+ * @throws {RequiredError}
3970
+ * @memberof DoctorsApi
3971
+ */
3972
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
3973
+ var _this = this;
3974
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3975
+ };
3976
+ return DoctorsApi;
3977
+ }(base_1.BaseAPI));
3978
+ exports.DoctorsApi = DoctorsApi;