ch-admin-api-client-typescript 5.43.14 → 5.43.20

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 (796) hide show
  1. package/lib/api/about-us-api.d.ts.map +1 -1
  2. package/lib/api/about-us-api.js +60 -23
  3. package/lib/api/accreditations-api.d.ts.map +1 -1
  4. package/lib/api/accreditations-api.js +46 -17
  5. package/lib/api/app-version-api.d.ts.map +1 -1
  6. package/lib/api/app-version-api.js +46 -17
  7. package/lib/api/appointments-api.d.ts.map +1 -1
  8. package/lib/api/appointments-api.js +102 -41
  9. package/lib/api/articles-api.d.ts.map +1 -1
  10. package/lib/api/articles-api.js +193 -80
  11. package/lib/api/azure-functions-app-webhooks-api.d.ts.map +1 -1
  12. package/lib/api/azure-functions-app-webhooks-api.js +18 -5
  13. package/lib/api/call-histories-api.d.ts.map +1 -1
  14. package/lib/api/call-histories-api.js +25 -8
  15. package/lib/api/chadmins-api.d.ts.map +1 -1
  16. package/lib/api/chadmins-api.js +46 -17
  17. package/lib/api/chat-users-api.d.ts.map +1 -1
  18. package/lib/api/chat-users-api.js +60 -23
  19. package/lib/api/chmanagers-api.d.ts.map +1 -1
  20. package/lib/api/chmanagers-api.js +46 -17
  21. package/lib/api/communications-api.d.ts.map +1 -1
  22. package/lib/api/communications-api.js +32 -11
  23. package/lib/api/content-managers-api.d.ts.map +1 -1
  24. package/lib/api/content-managers-api.js +53 -20
  25. package/lib/api/contributors-api.d.ts.map +1 -1
  26. package/lib/api/contributors-api.js +95 -38
  27. package/lib/api/countries-api.d.ts.map +1 -1
  28. package/lib/api/countries-api.js +186 -77
  29. package/lib/api/curations-api.d.ts.map +1 -1
  30. package/lib/api/curations-api.js +67 -26
  31. package/lib/api/currencies-api.d.ts.map +1 -1
  32. package/lib/api/currencies-api.js +60 -23
  33. package/lib/api/dash-board-api.d.ts.map +1 -1
  34. package/lib/api/dash-board-api.js +46 -17
  35. package/lib/api/deals-api.d.ts.map +1 -1
  36. package/lib/api/deals-api.js +186 -77
  37. package/lib/api/dev-supports-api.d.ts.map +1 -1
  38. package/lib/api/dev-supports-api.js +39 -14
  39. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  40. package/lib/api/doctor-affiliations-api.js +144 -59
  41. package/lib/api/doctors-api.d.ts.map +1 -1
  42. package/lib/api/doctors-api.js +291 -122
  43. package/lib/api/email-marketings-api.d.ts.map +1 -1
  44. package/lib/api/email-marketings-api.js +53 -20
  45. package/lib/api/email-webhooks-api.d.ts.map +1 -1
  46. package/lib/api/email-webhooks-api.js +39 -14
  47. package/lib/api/faq-categories-api.d.ts.map +1 -1
  48. package/lib/api/faq-categories-api.js +60 -23
  49. package/lib/api/faqs-api.d.ts.map +1 -1
  50. package/lib/api/faqs-api.js +123 -50
  51. package/lib/api/form-results-api.d.ts.map +1 -1
  52. package/lib/api/form-results-api.js +46 -17
  53. package/lib/api/form-templates-api.d.ts.map +1 -1
  54. package/lib/api/form-templates-api.js +81 -32
  55. package/lib/api/grades-api.d.ts.map +1 -1
  56. package/lib/api/grades-api.js +46 -17
  57. package/lib/api/group-channels-api.d.ts.map +1 -1
  58. package/lib/api/group-channels-api.js +25 -8
  59. package/lib/api/hospital-branches-api.d.ts.map +1 -1
  60. package/lib/api/hospital-branches-api.js +74 -29
  61. package/lib/api/hospital-groups-api.d.ts.map +1 -1
  62. package/lib/api/hospital-groups-api.js +53 -20
  63. package/lib/api/hospitals-api.d.ts.map +1 -1
  64. package/lib/api/hospitals-api.js +1257 -536
  65. package/lib/api/images-api.d.ts.map +1 -1
  66. package/lib/api/images-api.js +25 -8
  67. package/lib/api/languages-api.d.ts.map +1 -1
  68. package/lib/api/languages-api.js +46 -17
  69. package/lib/api/managers-api.d.ts.map +1 -1
  70. package/lib/api/managers-api.js +74 -29
  71. package/lib/api/notifications-api.d.ts.map +1 -1
  72. package/lib/api/notifications-api.js +25 -8
  73. package/lib/api/patient-affiliations-api.d.ts.map +1 -1
  74. package/lib/api/patient-affiliations-api.js +25 -8
  75. package/lib/api/patient-managers-api.d.ts.map +1 -1
  76. package/lib/api/patient-managers-api.js +53 -20
  77. package/lib/api/patients-api.d.ts.map +1 -1
  78. package/lib/api/patients-api.js +95 -38
  79. package/lib/api/payments-api.d.ts.map +1 -1
  80. package/lib/api/payments-api.js +18 -5
  81. package/lib/api/plans-api.d.ts.map +1 -1
  82. package/lib/api/plans-api.js +81 -32
  83. package/lib/api/prescriptions-api.d.ts.map +1 -1
  84. package/lib/api/prescriptions-api.js +81 -32
  85. package/lib/api/profiles-api.d.ts.map +1 -1
  86. package/lib/api/profiles-api.js +53 -20
  87. package/lib/api/promotions-api.d.ts.map +1 -1
  88. package/lib/api/promotions-api.js +53 -20
  89. package/lib/api/search-api.d.ts.map +1 -1
  90. package/lib/api/search-api.js +25 -8
  91. package/lib/api/search-curations-api.d.ts.map +1 -1
  92. package/lib/api/search-curations-api.js +53 -20
  93. package/lib/api/service-reviews-api.d.ts.map +1 -1
  94. package/lib/api/service-reviews-api.js +81 -32
  95. package/lib/api/services-api.d.ts.map +1 -1
  96. package/lib/api/services-api.js +32 -11
  97. package/lib/api/services-categories-api.d.ts.map +1 -1
  98. package/lib/api/services-categories-api.js +46 -17
  99. package/lib/api/specialties-api.d.ts.map +1 -1
  100. package/lib/api/specialties-api.js +116 -47
  101. package/lib/api/specialty-types-api.d.ts.map +1 -1
  102. package/lib/api/specialty-types-api.js +123 -50
  103. package/lib/api/survey-forms-api.d.ts.map +1 -1
  104. package/lib/api/survey-forms-api.js +74 -29
  105. package/lib/api/survey-results-api.d.ts.map +1 -1
  106. package/lib/api/survey-results-api.js +39 -14
  107. package/lib/api/tags-api.d.ts.map +1 -1
  108. package/lib/api/tags-api.js +39 -14
  109. package/lib/api/translation-api.d.ts.map +1 -1
  110. package/lib/api/translation-api.js +18 -5
  111. package/lib/api/web-apps-api.d.ts.map +1 -1
  112. package/lib/api/web-apps-api.js +74 -29
  113. package/lib/common.d.ts.map +1 -1
  114. package/lib/common.js +2 -2
  115. package/package.json +11 -6
  116. package/.gitattributes +0 -2
  117. package/.github/workflows/publish-npm.yml +0 -31
  118. package/openapitools.json +0 -23
  119. package/src/.openapi-generator/FILES +0 -677
  120. package/src/.openapi-generator/VERSION +0 -1
  121. package/src/.openapi-generator-ignore +0 -23
  122. package/src/api/about-us-api.ts +0 -904
  123. package/src/api/accreditations-api.ts +0 -579
  124. package/src/api/app-version-api.ts +0 -597
  125. package/src/api/appointments-api.ts +0 -1734
  126. package/src/api/articles-api.ts +0 -3230
  127. package/src/api/azure-functions-app-webhooks-api.ts +0 -143
  128. package/src/api/call-histories-api.ts +0 -451
  129. package/src/api/chadmins-api.ts +0 -655
  130. package/src/api/chat-users-api.ts +0 -756
  131. package/src/api/chmanagers-api.ts +0 -655
  132. package/src/api/communications-api.ts +0 -252
  133. package/src/api/content-managers-api.ts +0 -740
  134. package/src/api/contributors-api.ts +0 -1503
  135. package/src/api/countries-api.ts +0 -2835
  136. package/src/api/curations-api.ts +0 -909
  137. package/src/api/currencies-api.ts +0 -751
  138. package/src/api/dash-board-api.ts +0 -650
  139. package/src/api/deals-api.ts +0 -3686
  140. package/src/api/dev-supports-api.ts +0 -476
  141. package/src/api/doctor-affiliations-api.ts +0 -2404
  142. package/src/api/doctors-api.ts +0 -4927
  143. package/src/api/email-marketings-api.ts +0 -637
  144. package/src/api/email-webhooks-api.ts +0 -554
  145. package/src/api/faq-categories-api.ts +0 -903
  146. package/src/api/faqs-api.ts +0 -1932
  147. package/src/api/form-results-api.ts +0 -730
  148. package/src/api/form-templates-api.ts +0 -1238
  149. package/src/api/grades-api.ts +0 -595
  150. package/src/api/group-channels-api.ts +0 -290
  151. package/src/api/hospital-branches-api.ts +0 -1044
  152. package/src/api/hospital-groups-api.ts +0 -720
  153. package/src/api/hospitals-api.ts +0 -22461
  154. package/src/api/images-api.ts +0 -243
  155. package/src/api/languages-api.ts +0 -593
  156. package/src/api/managers-api.ts +0 -1140
  157. package/src/api/notifications-api.ts +0 -293
  158. package/src/api/patient-affiliations-api.ts +0 -361
  159. package/src/api/patient-managers-api.ts +0 -740
  160. package/src/api/patients-api.ts +0 -1393
  161. package/src/api/payments-api.ts +0 -114
  162. package/src/api/plans-api.ts +0 -1107
  163. package/src/api/prescriptions-api.ts +0 -1130
  164. package/src/api/profiles-api.ts +0 -559
  165. package/src/api/promotions-api.ts +0 -754
  166. package/src/api/search-api.ts +0 -266
  167. package/src/api/search-curations-api.ts +0 -638
  168. package/src/api/service-reviews-api.ts +0 -1337
  169. package/src/api/services-api.ts +0 -634
  170. package/src/api/services-categories-api.ts +0 -565
  171. package/src/api/specialties-api.ts +0 -1980
  172. package/src/api/specialty-types-api.ts +0 -2069
  173. package/src/api/survey-forms-api.ts +0 -1134
  174. package/src/api/survey-results-api.ts +0 -583
  175. package/src/api/tags-api.ts +0 -481
  176. package/src/api/translation-api.ts +0 -145
  177. package/src/api/web-apps-api.ts +0 -1069
  178. package/src/api.ts +0 -73
  179. package/src/base.ts +0 -71
  180. package/src/common.ts +0 -148
  181. package/src/configuration.ts +0 -101
  182. package/src/git_push.sh +0 -57
  183. package/src/index.ts +0 -18
  184. package/src/models/about-us-page-item-model.ts +0 -63
  185. package/src/models/about-us-page-model.ts +0 -126
  186. package/src/models/about-us-pages-model.ts +0 -42
  187. package/src/models/accreditation-item-model.ts +0 -54
  188. package/src/models/accreditation-model.ts +0 -54
  189. package/src/models/accreditations-model.ts +0 -42
  190. package/src/models/add-hospital-into-branch-command.ts +0 -36
  191. package/src/models/add-or-update-web-app-environments-command.ts +0 -33
  192. package/src/models/admin-message-model.ts +0 -84
  193. package/src/models/app-version-item-model.ts +0 -51
  194. package/src/models/app-version-model.ts +0 -51
  195. package/src/models/app-versions-model.ts +0 -42
  196. package/src/models/appointment-change-log-model.ts +0 -51
  197. package/src/models/appointment-duration-statisctics-model.ts +0 -36
  198. package/src/models/appointment-item-model.ts +0 -357
  199. package/src/models/appointment-model.ts +0 -381
  200. package/src/models/appointment-option-input-model.ts +0 -66
  201. package/src/models/appointment-option-model.ts +0 -84
  202. package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
  203. package/src/models/appointment-refund-upi-model.ts +0 -42
  204. package/src/models/appointment-statistics-model.ts +0 -51
  205. package/src/models/appointment-status.ts +0 -39
  206. package/src/models/appointment-timetable-date-model.ts +0 -69
  207. package/src/models/appointment-timetable-model.ts +0 -69
  208. package/src/models/appointment-timetable-override-model.ts +0 -81
  209. package/src/models/appointment-timetable-overrides-model.ts +0 -42
  210. package/src/models/appointment-timetable-status.ts +0 -31
  211. package/src/models/appointment-timetable-time-slot-model.ts +0 -81
  212. package/src/models/appointment-timetables-model.ts +0 -42
  213. package/src/models/appointment-type.ts +0 -34
  214. package/src/models/appointments-model.ts +0 -42
  215. package/src/models/approve-appointment-command.ts +0 -36
  216. package/src/models/article-contributor-item-model.ts +0 -108
  217. package/src/models/article-contributor-model.ts +0 -135
  218. package/src/models/article-contributors-model.ts +0 -42
  219. package/src/models/article-item-model.ts +0 -150
  220. package/src/models/article-model.ts +0 -174
  221. package/src/models/article-sources-model.ts +0 -42
  222. package/src/models/article-status.ts +0 -32
  223. package/src/models/article-tag-item-model.ts +0 -42
  224. package/src/models/article-tag-model.ts +0 -42
  225. package/src/models/article-tags-model.ts +0 -42
  226. package/src/models/article-type.ts +0 -33
  227. package/src/models/articles-model.ts +0 -42
  228. package/src/models/auditable-entity-model.ts +0 -72
  229. package/src/models/auditable-entity.ts +0 -72
  230. package/src/models/bank-account-info-item-model.ts +0 -78
  231. package/src/models/bank-account-info-model.ts +0 -78
  232. package/src/models/bank-account-infos-model.ts +0 -42
  233. package/src/models/bank-transfer-payment-model.ts +0 -48
  234. package/src/models/batch-add-appointment-timetable-model.ts +0 -63
  235. package/src/models/batch-appointment-timetables-result-model.ts +0 -45
  236. package/src/models/batch-deal-package-appointment-timetables-command.ts +0 -48
  237. package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +0 -48
  238. package/src/models/batch-hospital-appointment-timetables-command.ts +0 -48
  239. package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +0 -48
  240. package/src/models/batch-hospital-working-days-command.ts +0 -33
  241. package/src/models/batch-service-appointment-timetables-command.ts +0 -48
  242. package/src/models/batch-update-appointment-timetable-model.ts +0 -69
  243. package/src/models/call-duration-statistics-model.ts +0 -45
  244. package/src/models/call-histories-model.ts +0 -42
  245. package/src/models/call-history-change-log-model.ts +0 -51
  246. package/src/models/call-history-item-model.ts +0 -126
  247. package/src/models/call-history-language-statistics-model.ts +0 -36
  248. package/src/models/call-history-model.ts +0 -141
  249. package/src/models/call-statistics-model.ts +0 -45
  250. package/src/models/call-status.ts +0 -40
  251. package/src/models/cancel-appointment-command.ts +0 -42
  252. package/src/models/chadmin-item-model.ts +0 -114
  253. package/src/models/chadmin-model.ts +0 -132
  254. package/src/models/chadmins-model.ts +0 -42
  255. package/src/models/change-email-command.ts +0 -30
  256. package/src/models/charge-status.ts +0 -32
  257. package/src/models/chat-user-model.ts +0 -78
  258. package/src/models/chat-users-model.ts +0 -39
  259. package/src/models/check-notifications-command.ts +0 -36
  260. package/src/models/chmanager-item-model.ts +0 -114
  261. package/src/models/chmanager-model.ts +0 -132
  262. package/src/models/chmanagers-model.ts +0 -42
  263. package/src/models/communication-user-token-model.ts +0 -48
  264. package/src/models/confirm-email-command.ts +0 -30
  265. package/src/models/contact-sorting-command.ts +0 -33
  266. package/src/models/contact-type.ts +0 -36
  267. package/src/models/content-manager-item-model.ts +0 -114
  268. package/src/models/content-manager-model.ts +0 -132
  269. package/src/models/content-managers-model.ts +0 -42
  270. package/src/models/contribution-type.ts +0 -32
  271. package/src/models/contributor-item-model.ts +0 -123
  272. package/src/models/contributor-model.ts +0 -141
  273. package/src/models/contributor-sns-handles-model.ts +0 -42
  274. package/src/models/contributors-model.ts +0 -42
  275. package/src/models/countries-model.ts +0 -42
  276. package/src/models/country-currencies-model.ts +0 -42
  277. package/src/models/country-currency-item-model.ts +0 -60
  278. package/src/models/country-currency-model.ts +0 -60
  279. package/src/models/country-item-model.ts +0 -93
  280. package/src/models/country-language-item-model.ts +0 -54
  281. package/src/models/country-language-model.ts +0 -54
  282. package/src/models/country-languages-model.ts +0 -42
  283. package/src/models/country-model.ts +0 -126
  284. package/src/models/country-sorting-command.ts +0 -33
  285. package/src/models/create-about-us-page-command.ts +0 -81
  286. package/src/models/create-accreditation-command.ts +0 -48
  287. package/src/models/create-app-version-command.ts +0 -51
  288. package/src/models/create-article-command.ts +0 -132
  289. package/src/models/create-article-contributor-command.ts +0 -51
  290. package/src/models/create-article-source-command.ts +0 -42
  291. package/src/models/create-article-tag-command.ts +0 -36
  292. package/src/models/create-chadmin-command.ts +0 -87
  293. package/src/models/create-chat-user-command.ts +0 -60
  294. package/src/models/create-chmanager-command.ts +0 -87
  295. package/src/models/create-content-manager-command.ts +0 -87
  296. package/src/models/create-contributor-command.ts +0 -78
  297. package/src/models/create-contributor-sns-handle-command.ts +0 -39
  298. package/src/models/create-country-command.ts +0 -93
  299. package/src/models/create-curation-command.ts +0 -108
  300. package/src/models/create-currency-command.ts +0 -42
  301. package/src/models/create-deal-command.ts +0 -87
  302. package/src/models/create-deal-package-command.ts +0 -81
  303. package/src/models/create-deal-service-command.ts +0 -42
  304. package/src/models/create-doctor-affiliation-command.ts +0 -168
  305. package/src/models/create-doctor-certificate-command.ts +0 -48
  306. package/src/models/create-doctor-command.ts +0 -117
  307. package/src/models/create-doctor-education-command.ts +0 -48
  308. package/src/models/create-doctor-language-command.ts +0 -42
  309. package/src/models/create-doctor-portfolio-command.ts +0 -60
  310. package/src/models/create-doctor-specialty-command.ts +0 -36
  311. package/src/models/create-faq-category-command.ts +0 -60
  312. package/src/models/create-faq-command.ts +0 -78
  313. package/src/models/create-faq-tag-command.ts +0 -36
  314. package/src/models/create-grade-command.ts +0 -57
  315. package/src/models/create-hospital-accreditation-command.ts +0 -30
  316. package/src/models/create-hospital-bank-account-info-command.ts +0 -66
  317. package/src/models/create-hospital-branch-command.ts +0 -72
  318. package/src/models/create-hospital-command.ts +0 -253
  319. package/src/models/create-hospital-contact-command.ts +0 -69
  320. package/src/models/create-hospital-equipment-command.ts +0 -36
  321. package/src/models/create-hospital-evaluation-command.ts +0 -48
  322. package/src/models/create-hospital-group-command.ts +0 -72
  323. package/src/models/create-hospital-language-command.ts +0 -42
  324. package/src/models/create-hospital-payment-method-command.ts +0 -78
  325. package/src/models/create-hospital-rating-command.ts +0 -66
  326. package/src/models/create-hospital-service-command.ts +0 -138
  327. package/src/models/create-hospital-sns-handle-command.ts +0 -39
  328. package/src/models/create-hospital-specialty-command.ts +0 -123
  329. package/src/models/create-hospital-tag-command.ts +0 -36
  330. package/src/models/create-hospital-working-day-command.ts +0 -54
  331. package/src/models/create-landing-command.ts +0 -81
  332. package/src/models/create-language-command.ts +0 -60
  333. package/src/models/create-manager-affiliation-command.ts +0 -30
  334. package/src/models/create-manager-command.ts +0 -93
  335. package/src/models/create-media-command.ts +0 -57
  336. package/src/models/create-notice-command.ts +0 -69
  337. package/src/models/create-page-command.ts +0 -90
  338. package/src/models/create-patient-affiliation-command.ts +0 -114
  339. package/src/models/create-patient-command.ts +0 -183
  340. package/src/models/create-patient-manager-command.ts +0 -87
  341. package/src/models/create-plan-command.ts +0 -69
  342. package/src/models/create-plan-hospital-command.ts +0 -36
  343. package/src/models/create-policy-command.ts +0 -81
  344. package/src/models/create-prescription-command.ts +0 -207
  345. package/src/models/create-profile-command.ts +0 -96
  346. package/src/models/create-promotion-command.ts +0 -102
  347. package/src/models/create-service-category-command.ts +0 -42
  348. package/src/models/create-service-review-command.ts +0 -99
  349. package/src/models/create-specialty-command.ts +0 -87
  350. package/src/models/create-specialty-type-command.ts +0 -102
  351. package/src/models/create-survey-form-command.ts +0 -96
  352. package/src/models/create-tag-command.ts +0 -30
  353. package/src/models/create-template-version-command.ts +0 -42
  354. package/src/models/create-walk-in-appointment-command.ts +0 -174
  355. package/src/models/create-web-app-command.ts +0 -75
  356. package/src/models/curation-model.ts +0 -111
  357. package/src/models/curations-model.ts +0 -42
  358. package/src/models/currencies-model.ts +0 -42
  359. package/src/models/currency-item-model.ts +0 -48
  360. package/src/models/currency-model.ts +0 -57
  361. package/src/models/dash-board-model.ts +0 -60
  362. package/src/models/day-of-week.ts +0 -36
  363. package/src/models/deal-item-model.ts +0 -129
  364. package/src/models/deal-item-simple-model.ts +0 -54
  365. package/src/models/deal-model.ts +0 -153
  366. package/src/models/deal-package-item-model.ts +0 -123
  367. package/src/models/deal-package-model.ts +0 -144
  368. package/src/models/deal-packages-model.ts +0 -42
  369. package/src/models/deal-service-item-model.ts +0 -72
  370. package/src/models/deal-service-model.ts +0 -72
  371. package/src/models/deal-services-model.ts +0 -42
  372. package/src/models/deals-model.ts +0 -42
  373. package/src/models/deals-simple-model.ts +0 -42
  374. package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +0 -51
  375. package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -51
  376. package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +0 -51
  377. package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +0 -51
  378. package/src/models/delete-service-appointment-timetable-overrides-command.ts +0 -51
  379. package/src/models/deploy-status.ts +0 -38
  380. package/src/models/doctor-affiliation-item-model.ts +0 -174
  381. package/src/models/doctor-affiliation-model.ts +0 -234
  382. package/src/models/doctor-affiliation-simple-model.ts +0 -48
  383. package/src/models/doctor-affiliations-model.ts +0 -42
  384. package/src/models/doctor-certificate-item-model.ts +0 -66
  385. package/src/models/doctor-certificate-model.ts +0 -66
  386. package/src/models/doctor-certificate-sorting-command.ts +0 -33
  387. package/src/models/doctor-certificates-model.ts +0 -42
  388. package/src/models/doctor-education-item-model.ts +0 -78
  389. package/src/models/doctor-education-model.ts +0 -78
  390. package/src/models/doctor-education-sorting-command.ts +0 -33
  391. package/src/models/doctor-educations-model.ts +0 -42
  392. package/src/models/doctor-item-model.ts +0 -120
  393. package/src/models/doctor-language-item-model.ts +0 -60
  394. package/src/models/doctor-language-model.ts +0 -60
  395. package/src/models/doctor-languages-model.ts +0 -42
  396. package/src/models/doctor-model.ts +0 -153
  397. package/src/models/doctor-portfolio-item-model.ts +0 -66
  398. package/src/models/doctor-portfolio-model.ts +0 -66
  399. package/src/models/doctor-portfolios-model.ts +0 -42
  400. package/src/models/doctor-prefix.ts +0 -31
  401. package/src/models/doctor-simple-item-model.ts +0 -54
  402. package/src/models/doctor-specialties-model.ts +0 -42
  403. package/src/models/doctor-specialty-model.ts +0 -66
  404. package/src/models/doctors-model.ts +0 -42
  405. package/src/models/doctors-simple-model.ts +0 -42
  406. package/src/models/duration.ts +0 -34
  407. package/src/models/email-record-event-model.ts +0 -165
  408. package/src/models/email-record-item-model.ts +0 -87
  409. package/src/models/email-record-model.ts +0 -96
  410. package/src/models/email-records-model.ts +0 -42
  411. package/src/models/email-status.ts +0 -44
  412. package/src/models/faq-categories-model.ts +0 -42
  413. package/src/models/faq-category-item-model.ts +0 -99
  414. package/src/models/faq-category-model.ts +0 -117
  415. package/src/models/faq-item-model.ts +0 -129
  416. package/src/models/faq-model.ts +0 -153
  417. package/src/models/faq-tag-item-model.ts +0 -42
  418. package/src/models/faq-tag-model.ts +0 -42
  419. package/src/models/faq-tags-model.ts +0 -42
  420. package/src/models/faqs-model.ts +0 -42
  421. package/src/models/feature-detail-input-model.ts +0 -66
  422. package/src/models/feature-detail-model.ts +0 -78
  423. package/src/models/feature-input-model.ts +0 -39
  424. package/src/models/feature-model.ts +0 -39
  425. package/src/models/footer-navigation-item-model.ts +0 -72
  426. package/src/models/form-field-input-model.ts +0 -123
  427. package/src/models/form-field-model.ts +0 -129
  428. package/src/models/form-field-option-input-model.ts +0 -54
  429. package/src/models/form-field-option-model.ts +0 -60
  430. package/src/models/form-result-field-model.ts +0 -99
  431. package/src/models/form-result-item-model.ts +0 -117
  432. package/src/models/form-result-model.ts +0 -126
  433. package/src/models/form-result-section-model.ts +0 -69
  434. package/src/models/form-result-status.ts +0 -32
  435. package/src/models/form-result-value-model.ts +0 -66
  436. package/src/models/form-results-model.ts +0 -42
  437. package/src/models/form-section-input-model.ts +0 -63
  438. package/src/models/form-section-model.ts +0 -69
  439. package/src/models/form-template-affiliation-model.ts +0 -48
  440. package/src/models/form-template-affiliations-model.ts +0 -42
  441. package/src/models/form-template-item-model.ts +0 -114
  442. package/src/models/form-template-model.ts +0 -141
  443. package/src/models/form-template-platform.ts +0 -31
  444. package/src/models/form-template-status.ts +0 -31
  445. package/src/models/form-template-type.ts +0 -32
  446. package/src/models/form-templates-model.ts +0 -42
  447. package/src/models/gender.ts +0 -34
  448. package/src/models/general-statistics-model.ts +0 -48
  449. package/src/models/generated-pdf-command.ts +0 -30
  450. package/src/models/get-appointment-timetables-response-model.ts +0 -51
  451. package/src/models/get-patient-walk-in-query.ts +0 -42
  452. package/src/models/grade-item-model.ts +0 -72
  453. package/src/models/grade-model.ts +0 -72
  454. package/src/models/grade-targets.ts +0 -31
  455. package/src/models/grades-model.ts +0 -42
  456. package/src/models/group-channel-list.ts +0 -45
  457. package/src/models/group-channel.ts +0 -156
  458. package/src/models/header-navigation-item-model.ts +0 -78
  459. package/src/models/hospital-accreditation-item-model.ts +0 -54
  460. package/src/models/hospital-accreditation-model.ts +0 -54
  461. package/src/models/hospital-accreditations-model.ts +0 -42
  462. package/src/models/hospital-branch-item-mapping-model.ts +0 -45
  463. package/src/models/hospital-branch-item-model.ts +0 -75
  464. package/src/models/hospital-branch-model.ts +0 -102
  465. package/src/models/hospital-branches-model.ts +0 -42
  466. package/src/models/hospital-consultation-option-model.ts +0 -42
  467. package/src/models/hospital-contact-item-model.ts +0 -96
  468. package/src/models/hospital-contact-model.ts +0 -96
  469. package/src/models/hospital-contacts-model.ts +0 -42
  470. package/src/models/hospital-equipment-item-model.ts +0 -60
  471. package/src/models/hospital-equipment-model.ts +0 -60
  472. package/src/models/hospital-equipments-model.ts +0 -42
  473. package/src/models/hospital-evaluation-item-model.ts +0 -54
  474. package/src/models/hospital-evaluation-model.ts +0 -54
  475. package/src/models/hospital-evaluations-model.ts +0 -42
  476. package/src/models/hospital-group-item-model.ts +0 -69
  477. package/src/models/hospital-group-model.ts +0 -87
  478. package/src/models/hospital-groups-model.ts +0 -42
  479. package/src/models/hospital-item-model.ts +0 -121
  480. package/src/models/hospital-language-item-model.ts +0 -60
  481. package/src/models/hospital-languages-model.ts +0 -42
  482. package/src/models/hospital-model.ts +0 -334
  483. package/src/models/hospital-payment-gateway-model.ts +0 -36
  484. package/src/models/hospital-payment-method-item-model.ts +0 -63
  485. package/src/models/hospital-payment-method-model.ts +0 -90
  486. package/src/models/hospital-payment-methods-model.ts +0 -42
  487. package/src/models/hospital-rating-item-model.ts +0 -72
  488. package/src/models/hospital-rating-model.ts +0 -72
  489. package/src/models/hospital-rating-sorting-command.ts +0 -33
  490. package/src/models/hospital-ratings-model.ts +0 -42
  491. package/src/models/hospital-service-item-model.ts +0 -171
  492. package/src/models/hospital-service-model.ts +0 -243
  493. package/src/models/hospital-services-model.ts +0 -42
  494. package/src/models/hospital-simple-item-model.ts +0 -54
  495. package/src/models/hospital-sns-handles-model.ts +0 -42
  496. package/src/models/hospital-specialties-model.ts +0 -42
  497. package/src/models/hospital-specialties-simple-model.ts +0 -42
  498. package/src/models/hospital-specialty-item-model.ts +0 -147
  499. package/src/models/hospital-specialty-model.ts +0 -216
  500. package/src/models/hospital-specialty-simple-item-model.ts +0 -60
  501. package/src/models/hospital-tag-item-model.ts +0 -36
  502. package/src/models/hospital-tag-model.ts +0 -42
  503. package/src/models/hospital-tags-model.ts +0 -42
  504. package/src/models/hospital-working-days-batch-result-model.ts +0 -57
  505. package/src/models/hospitals-model.ts +0 -42
  506. package/src/models/hospitals-simple-model.ts +0 -42
  507. package/src/models/index.ts +0 -611
  508. package/src/models/invite-send-bird-group-channel-command.ts +0 -30
  509. package/src/models/landing-item-model.ts +0 -81
  510. package/src/models/landing-model.ts +0 -141
  511. package/src/models/landings-model.ts +0 -42
  512. package/src/models/language-item-model.ts +0 -60
  513. package/src/models/language-model.ts +0 -60
  514. package/src/models/languages-model.ts +0 -42
  515. package/src/models/leaved-group-channels-model.ts +0 -42
  516. package/src/models/localized-url-model.ts +0 -42
  517. package/src/models/location-model.ts +0 -103
  518. package/src/models/manager-affiliation-item-model.ts +0 -48
  519. package/src/models/manager-affiliation-model.ts +0 -48
  520. package/src/models/manager-affiliations-model.ts +0 -42
  521. package/src/models/manager-item-model.ts +0 -120
  522. package/src/models/manager-model.ts +0 -147
  523. package/src/models/managers-model.ts +0 -42
  524. package/src/models/marketing-type.ts +0 -32
  525. package/src/models/media-model.ts +0 -69
  526. package/src/models/media-type.ts +0 -37
  527. package/src/models/medias-model.ts +0 -42
  528. package/src/models/mention-type.ts +0 -31
  529. package/src/models/message-type.ts +0 -32
  530. package/src/models/metadata.ts +0 -42
  531. package/src/models/model-file.ts +0 -54
  532. package/src/models/notice-item-model.ts +0 -102
  533. package/src/models/notice-model.ts +0 -114
  534. package/src/models/notice-sorting-command.ts +0 -33
  535. package/src/models/notice-status.ts +0 -32
  536. package/src/models/notices-model.ts +0 -42
  537. package/src/models/notification-code.ts +0 -68
  538. package/src/models/notification-model.ts +0 -93
  539. package/src/models/notifications-model.ts +0 -48
  540. package/src/models/page-block-input-model.ts +0 -126
  541. package/src/models/page-block-link-input-model.ts +0 -69
  542. package/src/models/page-block-link-model.ts +0 -81
  543. package/src/models/page-block-link-type.ts +0 -32
  544. package/src/models/page-block-location-input-model.ts +0 -54
  545. package/src/models/page-block-location-model.ts +0 -54
  546. package/src/models/page-block-model.ts +0 -144
  547. package/src/models/page-block-type.ts +0 -48
  548. package/src/models/page-item-item-model.ts +0 -78
  549. package/src/models/page-item-model.ts +0 -111
  550. package/src/models/page-item-status.ts +0 -32
  551. package/src/models/page-items-model.ts +0 -42
  552. package/src/models/page-section-input-model.ts +0 -69
  553. package/src/models/page-section-list-type.ts +0 -34
  554. package/src/models/page-section-model.ts +0 -69
  555. package/src/models/paged-list-meta-data.ts +0 -84
  556. package/src/models/patient-affiliation-item-model.ts +0 -162
  557. package/src/models/patient-affiliation-model.ts +0 -162
  558. package/src/models/patient-affiliations-model.ts +0 -42
  559. package/src/models/patient-item-model.ts +0 -114
  560. package/src/models/patient-manager-item-model.ts +0 -114
  561. package/src/models/patient-manager-model.ts +0 -132
  562. package/src/models/patient-managers-model.ts +0 -42
  563. package/src/models/patient-model.ts +0 -138
  564. package/src/models/patient-walk-in-model.ts +0 -39
  565. package/src/models/patients-model.ts +0 -42
  566. package/src/models/payment-method.ts +0 -35
  567. package/src/models/payment-model.ts +0 -93
  568. package/src/models/payment-status.ts +0 -33
  569. package/src/models/period-units.ts +0 -31
  570. package/src/models/plan-hospital-item-model.ts +0 -54
  571. package/src/models/plan-hospital-model.ts +0 -54
  572. package/src/models/plan-hospitals-model.ts +0 -42
  573. package/src/models/plan-item-model.ts +0 -75
  574. package/src/models/plan-model.ts +0 -75
  575. package/src/models/plans-model.ts +0 -42
  576. package/src/models/platform.ts +0 -32
  577. package/src/models/policies-model.ts +0 -42
  578. package/src/models/policy-item-model.ts +0 -75
  579. package/src/models/policy-model.ts +0 -135
  580. package/src/models/prescription-diagnosis-input-model.ts +0 -42
  581. package/src/models/prescription-diagnosis-item-model.ts +0 -42
  582. package/src/models/prescription-item-model.ts +0 -195
  583. package/src/models/prescription-medication-input-model.ts +0 -84
  584. package/src/models/prescription-medication-item-model.ts +0 -84
  585. package/src/models/prescription-model.ts +0 -222
  586. package/src/models/prescription-symptom-input-model.ts +0 -54
  587. package/src/models/prescription-symptom-item-model.ts +0 -54
  588. package/src/models/prescriptions-model.ts +0 -42
  589. package/src/models/problem-details.ts +0 -56
  590. package/src/models/procedure.ts +0 -31
  591. package/src/models/promotion-item-model.ts +0 -99
  592. package/src/models/promotion-model.ts +0 -108
  593. package/src/models/promotion-type.ts +0 -32
  594. package/src/models/promotions-model.ts +0 -42
  595. package/src/models/recurring-interval.ts +0 -33
  596. package/src/models/refund-policy.ts +0 -32
  597. package/src/models/refund-status.ts +0 -32
  598. package/src/models/reject-appointment-command.ts +0 -39
  599. package/src/models/reject-reason.ts +0 -33
  600. package/src/models/reschedule-appointment-command.ts +0 -42
  601. package/src/models/review-type.ts +0 -32
  602. package/src/models/save-appointment-timetable-override-model.ts +0 -66
  603. package/src/models/save-appointment-timetable-overrides-result-model.ts +0 -33
  604. package/src/models/save-country-currency-command.ts +0 -30
  605. package/src/models/save-country-language-command.ts +0 -30
  606. package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +0 -33
  607. package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -33
  608. package/src/models/save-footer-navigation-item-model.ts +0 -60
  609. package/src/models/save-footer-navigations-command.ts +0 -33
  610. package/src/models/save-form-template-command.ts +0 -105
  611. package/src/models/save-header-navigation-item-model.ts +0 -66
  612. package/src/models/save-header-navigations-command.ts +0 -33
  613. package/src/models/save-hospital-appointment-timetable-overrides-command.ts +0 -33
  614. package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +0 -33
  615. package/src/models/save-search-curations-command.ts +0 -33
  616. package/src/models/save-service-appointment-timetable-overrides-command.ts +0 -33
  617. package/src/models/search-curation-item-input-model.ts +0 -99
  618. package/src/models/search-curation-item-model.ts +0 -105
  619. package/src/models/search-curation-primary-item-model.ts +0 -36
  620. package/src/models/search-index-type.ts +0 -36
  621. package/src/models/secure-container-item-model.ts +0 -72
  622. package/src/models/secure-container-model.ts +0 -81
  623. package/src/models/secure-containers-model.ts +0 -42
  624. package/src/models/secure-file-model.ts +0 -93
  625. package/src/models/secure-files-uploaded-model.ts +0 -33
  626. package/src/models/send-bird-group-channel-member.ts +0 -87
  627. package/src/models/send-bird-group-channel-model.ts +0 -153
  628. package/src/models/send-bird-group-channelr-operator.ts +0 -42
  629. package/src/models/send-email-command.ts +0 -54
  630. package/src/models/send-template-version-command.ts +0 -30
  631. package/src/models/service-categories-model.ts +0 -42
  632. package/src/models/service-category-item-model.ts +0 -60
  633. package/src/models/service-category-mapping-model.ts +0 -36
  634. package/src/models/service-category-model.ts +0 -60
  635. package/src/models/service-review-item-model.ts +0 -153
  636. package/src/models/service-review-model.ts +0 -171
  637. package/src/models/service-reviews-model.ts +0 -42
  638. package/src/models/session-token.ts +0 -36
  639. package/src/models/set-hospital-into-form-template-command.ts +0 -30
  640. package/src/models/set-hospital-into-survey-form-command.ts +0 -30
  641. package/src/models/sns-handle-model.ts +0 -45
  642. package/src/models/sns-type.ts +0 -35
  643. package/src/models/sort-country-currencies-command.ts +0 -33
  644. package/src/models/sort-country-languages-command.ts +0 -33
  645. package/src/models/sort-currencies-command.ts +0 -33
  646. package/src/models/sort-footer-navigations-command.ts +0 -33
  647. package/src/models/sorting-item-model.ts +0 -36
  648. package/src/models/sorting-order.ts +0 -31
  649. package/src/models/sorting-result-model.ts +0 -33
  650. package/src/models/source-model.ts +0 -48
  651. package/src/models/specialties-model.ts +0 -42
  652. package/src/models/specialties-simple-model.ts +0 -42
  653. package/src/models/specialty-item-model.ts +0 -117
  654. package/src/models/specialty-item-simple-model.ts +0 -60
  655. package/src/models/specialty-model.ts +0 -141
  656. package/src/models/specialty-type-item-model.ts +0 -117
  657. package/src/models/specialty-type-model.ts +0 -135
  658. package/src/models/specialty-type-simple-item-model.ts +0 -60
  659. package/src/models/specialty-type-sorting-command.ts +0 -33
  660. package/src/models/specialty-types-model.ts +0 -42
  661. package/src/models/specialty-types-simple-model.ts +0 -42
  662. package/src/models/string-filter-types.ts +0 -33
  663. package/src/models/survey-form-affiliation-model.ts +0 -36
  664. package/src/models/survey-form-affiliations-model.ts +0 -42
  665. package/src/models/survey-form-duration-statistics-model.ts +0 -45
  666. package/src/models/survey-form-element-input-model.ts +0 -96
  667. package/src/models/survey-form-element-model.ts +0 -102
  668. package/src/models/survey-form-element-option-input-model.ts +0 -60
  669. package/src/models/survey-form-element-option-model.ts +0 -72
  670. package/src/models/survey-form-element-types.ts +0 -44
  671. package/src/models/survey-form-item-model.ts +0 -90
  672. package/src/models/survey-form-language-statistics-model.ts +0 -36
  673. package/src/models/survey-form-model.ts +0 -123
  674. package/src/models/survey-form-statistics-model.ts +0 -45
  675. package/src/models/survey-form-status.ts +0 -31
  676. package/src/models/survey-forms-model.ts +0 -42
  677. package/src/models/survey-result-element-model.ts +0 -54
  678. package/src/models/survey-result-element-value-model.ts +0 -42
  679. package/src/models/survey-result-item-model.ts +0 -99
  680. package/src/models/survey-result-model.ts +0 -135
  681. package/src/models/survey-result-user-model.ts +0 -42
  682. package/src/models/survey-results-model.ts +0 -42
  683. package/src/models/tag-item-model.ts +0 -48
  684. package/src/models/tag-model.ts +0 -48
  685. package/src/models/tags-model.ts +0 -42
  686. package/src/models/template-version-item-model.ts +0 -72
  687. package/src/models/template-version-model.ts +0 -72
  688. package/src/models/template-versions-model.ts +0 -42
  689. package/src/models/test-email-model.ts +0 -30
  690. package/src/models/test-email-webhook-command.ts +0 -36
  691. package/src/models/text-message.ts +0 -123
  692. package/src/models/translate-about-us-page-command.ts +0 -51
  693. package/src/models/translate-all-options.ts +0 -32
  694. package/src/models/translate-command.ts +0 -48
  695. package/src/models/translate-country-command.ts +0 -51
  696. package/src/models/translate-curation-command.ts +0 -51
  697. package/src/models/translate-deal-command.ts +0 -51
  698. package/src/models/translate-doctor-affiliation-command.ts +0 -51
  699. package/src/models/translate-form-result-command.ts +0 -51
  700. package/src/models/translate-form-template-command.ts +0 -51
  701. package/src/models/translate-hospital-command.ts +0 -51
  702. package/src/models/translate-hospital-service-command.ts +0 -51
  703. package/src/models/translate-hospital-specialty-command.ts +0 -51
  704. package/src/models/translate-landing-command.ts +0 -51
  705. package/src/models/translate-page-command.ts +0 -57
  706. package/src/models/translate-page-section-command.ts +0 -57
  707. package/src/models/translate-specialty-command.ts +0 -51
  708. package/src/models/translate-specialty-type-command.ts +0 -51
  709. package/src/models/translation-batch-result-model.ts +0 -57
  710. package/src/models/translation-charaters-model.ts +0 -42
  711. package/src/models/translation-contents-model.ts +0 -57
  712. package/src/models/translation-contents-target-model.ts +0 -42
  713. package/src/models/translation-target-entities.ts +0 -36
  714. package/src/models/update-about-us-page-command.ts +0 -105
  715. package/src/models/update-accreditation-command.ts +0 -48
  716. package/src/models/update-app-version-command.ts +0 -42
  717. package/src/models/update-article-command.ts +0 -150
  718. package/src/models/update-article-contributor-command.ts +0 -45
  719. package/src/models/update-article-source-command.ts +0 -42
  720. package/src/models/update-chadmin-command.ts +0 -87
  721. package/src/models/update-chat-user-command.ts +0 -48
  722. package/src/models/update-chmanager-command.ts +0 -87
  723. package/src/models/update-content-manager-command.ts +0 -87
  724. package/src/models/update-content-text-only-value-domains.ts +0 -38
  725. package/src/models/update-contributor-command.ts +0 -90
  726. package/src/models/update-contributor-sns-handle-command.ts +0 -39
  727. package/src/models/update-country-command.ts +0 -111
  728. package/src/models/update-curation-command.ts +0 -96
  729. package/src/models/update-currency-command.ts +0 -42
  730. package/src/models/update-deal-command.ts +0 -93
  731. package/src/models/update-deal-package-command.ts +0 -81
  732. package/src/models/update-deal-service-command.ts +0 -30
  733. package/src/models/update-doctor-affiliation-command.ts +0 -156
  734. package/src/models/update-doctor-certificate-command.ts +0 -48
  735. package/src/models/update-doctor-command.ts +0 -93
  736. package/src/models/update-doctor-education-command.ts +0 -48
  737. package/src/models/update-doctor-language-command.ts +0 -36
  738. package/src/models/update-doctor-portfolio-command.ts +0 -60
  739. package/src/models/update-doctor-specialty-command.ts +0 -30
  740. package/src/models/update-faq-category-command.ts +0 -66
  741. package/src/models/update-faq-command.ts +0 -96
  742. package/src/models/update-form-result-command.ts +0 -39
  743. package/src/models/update-grade-command.ts +0 -48
  744. package/src/models/update-hospital-bank-account-info-command.ts +0 -66
  745. package/src/models/update-hospital-branch-command.ts +0 -66
  746. package/src/models/update-hospital-branch-item-command.ts +0 -36
  747. package/src/models/update-hospital-command.ts +0 -265
  748. package/src/models/update-hospital-contact-command.ts +0 -69
  749. package/src/models/update-hospital-equipment-command.ts +0 -54
  750. package/src/models/update-hospital-group-command.ts +0 -72
  751. package/src/models/update-hospital-language-command.ts +0 -36
  752. package/src/models/update-hospital-payment-method-command.ts +0 -78
  753. package/src/models/update-hospital-rating-command.ts +0 -66
  754. package/src/models/update-hospital-service-command.ts +0 -150
  755. package/src/models/update-hospital-sns-handle-command.ts +0 -39
  756. package/src/models/update-hospital-specialty-command.ts +0 -129
  757. package/src/models/update-hospital-working-day-command.ts +0 -54
  758. package/src/models/update-landing-command.ts +0 -93
  759. package/src/models/update-language-command.ts +0 -54
  760. package/src/models/update-manager-command.ts +0 -93
  761. package/src/models/update-media-command.ts +0 -57
  762. package/src/models/update-notice-command.ts +0 -69
  763. package/src/models/update-page-command.ts +0 -90
  764. package/src/models/update-patient-affiliation-command.ts +0 -120
  765. package/src/models/update-patient-command.ts +0 -87
  766. package/src/models/update-patient-manager-command.ts +0 -87
  767. package/src/models/update-plan-command.ts +0 -63
  768. package/src/models/update-plan-hospital-command.ts +0 -30
  769. package/src/models/update-policy-command.ts +0 -87
  770. package/src/models/update-prescription-command.ts +0 -171
  771. package/src/models/update-profile-command.ts +0 -84
  772. package/src/models/update-promotion-command.ts +0 -96
  773. package/src/models/update-service-category-command.ts +0 -42
  774. package/src/models/update-service-review-command.ts +0 -90
  775. package/src/models/update-specialty-command.ts +0 -105
  776. package/src/models/update-specialty-type-command.ts +0 -114
  777. package/src/models/update-survey-form-command.ts +0 -84
  778. package/src/models/update-template-version-command.ts +0 -42
  779. package/src/models/update-web-app-command.ts +0 -78
  780. package/src/models/upi-payment-model.ts +0 -36
  781. package/src/models/upload-media-from-uri-command.ts +0 -30
  782. package/src/models/uploaded-medias-model.ts +0 -33
  783. package/src/models/user-language-model.ts +0 -60
  784. package/src/models/user-model.ts +0 -132
  785. package/src/models/user-type.ts +0 -37
  786. package/src/models/user.ts +0 -105
  787. package/src/models/web-app-environment-model.ts +0 -36
  788. package/src/models/web-app-environments-model.ts +0 -39
  789. package/src/models/web-app-item-model.ts +0 -120
  790. package/src/models/web-app-model.ts +0 -120
  791. package/src/models/web-apps-model.ts +0 -42
  792. package/src/models/working-day-input-model.ts +0 -60
  793. package/src/models/working-day-item-model.ts +0 -60
  794. package/src/models/working-day-model.ts +0 -60
  795. package/src/models/working-days-model.ts +0 -42
  796. package/tsconfig.json +0 -71
@@ -1,2404 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * CloudHospital Admin Api
5
- * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
- *
7
- * The version of the OpenAPI document: 1
8
- * Contact: developer@icloudhospital.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { AppointmentTimetableOverridesModel } from '../models';
25
- // @ts-ignore
26
- import { AppointmentTimetablesModel } from '../models';
27
- // @ts-ignore
28
- import { BatchAppointmentTimetablesResultModel } from '../models';
29
- // @ts-ignore
30
- import { BatchDoctorAffiliationAppointmentTimetablesCommand } from '../models';
31
- // @ts-ignore
32
- import { CreateDoctorAffiliationCommand } from '../models';
33
- // @ts-ignore
34
- import { CreateMediaCommand } from '../models';
35
- // @ts-ignore
36
- import { DayOfWeek } from '../models';
37
- // @ts-ignore
38
- import { DeleteDoctorAffiliationAppointmentTimetableOverridesCommand } from '../models';
39
- // @ts-ignore
40
- import { DoctorAffiliationModel } from '../models';
41
- // @ts-ignore
42
- import { DoctorAffiliationsModel } from '../models';
43
- // @ts-ignore
44
- import { GetAppointmentTimetablesResponseModel } from '../models';
45
- // @ts-ignore
46
- import { MarketingType } from '../models';
47
- // @ts-ignore
48
- import { MediaModel } from '../models';
49
- // @ts-ignore
50
- import { MediaType } from '../models';
51
- // @ts-ignore
52
- import { MediasModel } from '../models';
53
- // @ts-ignore
54
- import { ProblemDetails } from '../models';
55
- // @ts-ignore
56
- import { SaveAppointmentTimetableOverridesResultModel } from '../models';
57
- // @ts-ignore
58
- import { SaveDoctorAffiliationAppointmentTimetableOverridesCommand } from '../models';
59
- // @ts-ignore
60
- import { TranslateDoctorAffiliationCommand } from '../models';
61
- // @ts-ignore
62
- import { UpdateDoctorAffiliationCommand } from '../models';
63
- // @ts-ignore
64
- import { UpdateMediaCommand } from '../models';
65
- /**
66
- * DoctorAffiliationsApi - axios parameter creator
67
- * @export
68
- */
69
- export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
70
- return {
71
- /**
72
- *
73
- * @summary Get DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
74
- * @param {string} doctorAffiliationId
75
- * @param {boolean} [includesPreviousItems]
76
- * @param {Date} [startDate]
77
- * @param {Date} [endDate]
78
- * @param {DayOfWeek} [dayOfWeek]
79
- * @param {number} [page]
80
- * @param {number} [limit]
81
- * @param {Date} [lastRetrieved]
82
- * @param {*} [options] Override http request option.
83
- * @throws {RequiredError}
84
- */
85
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet: async (doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
86
- // verify required parameter 'doctorAffiliationId' is not null or undefined
87
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet', 'doctorAffiliationId', doctorAffiliationId)
88
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
89
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
90
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
91
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
92
- let baseOptions;
93
- if (configuration) {
94
- baseOptions = configuration.baseOptions;
95
- }
96
-
97
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
98
- const localVarHeaderParameter = {} as any;
99
- const localVarQueryParameter = {} as any;
100
-
101
- // authentication oauth2 required
102
- // oauth required
103
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
104
-
105
- if (includesPreviousItems !== undefined) {
106
- localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
107
- }
108
-
109
- if (startDate !== undefined) {
110
- localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
111
- (startDate as any).toISOString() :
112
- startDate;
113
- }
114
-
115
- if (endDate !== undefined) {
116
- localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
117
- (endDate as any).toISOString() :
118
- endDate;
119
- }
120
-
121
- if (dayOfWeek !== undefined) {
122
- localVarQueryParameter['DayOfWeek'] = dayOfWeek;
123
- }
124
-
125
- if (page !== undefined) {
126
- localVarQueryParameter['page'] = page;
127
- }
128
-
129
- if (limit !== undefined) {
130
- localVarQueryParameter['limit'] = limit;
131
- }
132
-
133
- if (lastRetrieved !== undefined) {
134
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
135
- (lastRetrieved as any).toISOString() :
136
- lastRetrieved;
137
- }
138
-
139
-
140
-
141
- setSearchParams(localVarUrlObj, localVarQueryParameter);
142
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
143
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
144
-
145
- return {
146
- url: toPathString(localVarUrlObj),
147
- options: localVarRequestOptions,
148
- };
149
- },
150
- /**
151
- *
152
- * @summary Delete DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
153
- * @param {string} doctorAffiliationId
154
- * @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch: async (doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
159
- // verify required parameter 'doctorAffiliationId' is not null or undefined
160
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch', 'doctorAffiliationId', doctorAffiliationId)
161
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
162
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
163
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
164
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
165
- let baseOptions;
166
- if (configuration) {
167
- baseOptions = configuration.baseOptions;
168
- }
169
-
170
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
171
- const localVarHeaderParameter = {} as any;
172
- const localVarQueryParameter = {} as any;
173
-
174
- // authentication oauth2 required
175
- // oauth required
176
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
177
-
178
-
179
-
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
-
182
- setSearchParams(localVarUrlObj, localVarQueryParameter);
183
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
185
- localVarRequestOptions.data = serializeDataIfNeeded(deleteDoctorAffiliationAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
186
-
187
- return {
188
- url: toPathString(localVarUrlObj),
189
- options: localVarRequestOptions,
190
- };
191
- },
192
- /**
193
- *
194
- * @summary Save DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
195
- * @param {string} doctorAffiliationId
196
- * @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost: async (doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
201
- // verify required parameter 'doctorAffiliationId' is not null or undefined
202
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost', 'doctorAffiliationId', doctorAffiliationId)
203
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
204
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
205
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
207
- let baseOptions;
208
- if (configuration) {
209
- baseOptions = configuration.baseOptions;
210
- }
211
-
212
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
213
- const localVarHeaderParameter = {} as any;
214
- const localVarQueryParameter = {} as any;
215
-
216
- // authentication oauth2 required
217
- // oauth required
218
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
219
-
220
-
221
-
222
- localVarHeaderParameter['Content-Type'] = 'application/json';
223
-
224
- setSearchParams(localVarUrlObj, localVarQueryParameter);
225
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
226
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
227
- localVarRequestOptions.data = serializeDataIfNeeded(saveDoctorAffiliationAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
228
-
229
- return {
230
- url: toPathString(localVarUrlObj),
231
- options: localVarRequestOptions,
232
- };
233
- },
234
- /**
235
- *
236
- * @summary Get DoctorAffiliation appointment timetables for application (Auth policies: RequireDoctorRole)
237
- * @param {string} doctorAffiliationId
238
- * @param {number} [year]
239
- * @param {number} [month]
240
- * @param {string} [timeZone]
241
- * @param {boolean} [isExternal]
242
- * @param {boolean} [isOnline]
243
- * @param {string} [appointmentIdExcluded]
244
- * @param {boolean} [excludeUnavailableTimeSlots]
245
- * @param {*} [options] Override http request option.
246
- * @throws {RequiredError}
247
- */
248
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
249
- // verify required parameter 'doctorAffiliationId' is not null or undefined
250
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet', 'doctorAffiliationId', doctorAffiliationId)
251
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/application`
252
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
253
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
255
- let baseOptions;
256
- if (configuration) {
257
- baseOptions = configuration.baseOptions;
258
- }
259
-
260
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
261
- const localVarHeaderParameter = {} as any;
262
- const localVarQueryParameter = {} as any;
263
-
264
- // authentication oauth2 required
265
- // oauth required
266
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
267
-
268
- if (year !== undefined) {
269
- localVarQueryParameter['Year'] = year;
270
- }
271
-
272
- if (month !== undefined) {
273
- localVarQueryParameter['Month'] = month;
274
- }
275
-
276
- if (timeZone !== undefined) {
277
- localVarQueryParameter['TimeZone'] = timeZone;
278
- }
279
-
280
- if (isExternal !== undefined) {
281
- localVarQueryParameter['IsExternal'] = isExternal;
282
- }
283
-
284
- if (isOnline !== undefined) {
285
- localVarQueryParameter['IsOnline'] = isOnline;
286
- }
287
-
288
- if (appointmentIdExcluded !== undefined) {
289
- localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
290
- }
291
-
292
- if (excludeUnavailableTimeSlots !== undefined) {
293
- localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
294
- }
295
-
296
-
297
-
298
- setSearchParams(localVarUrlObj, localVarQueryParameter);
299
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
300
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
301
-
302
- return {
303
- url: toPathString(localVarUrlObj),
304
- options: localVarRequestOptions,
305
- };
306
- },
307
- /**
308
- *
309
- * @summary Add, update and delete DoctorAffiliationAppointmentTimetables (Auth policies: RequireDoctorRole)
310
- * @param {string} doctorAffiliationId
311
- * @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
312
- * @param {*} [options] Override http request option.
313
- * @throws {RequiredError}
314
- */
315
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost: async (doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
316
- // verify required parameter 'doctorAffiliationId' is not null or undefined
317
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost', 'doctorAffiliationId', doctorAffiliationId)
318
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/batch`
319
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
320
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
321
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
322
- let baseOptions;
323
- if (configuration) {
324
- baseOptions = configuration.baseOptions;
325
- }
326
-
327
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
328
- const localVarHeaderParameter = {} as any;
329
- const localVarQueryParameter = {} as any;
330
-
331
- // authentication oauth2 required
332
- // oauth required
333
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
334
-
335
-
336
-
337
- localVarHeaderParameter['Content-Type'] = 'application/json';
338
-
339
- setSearchParams(localVarUrlObj, localVarQueryParameter);
340
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
341
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
342
- localVarRequestOptions.data = serializeDataIfNeeded(batchDoctorAffiliationAppointmentTimetablesCommand, localVarRequestOptions, configuration)
343
-
344
- return {
345
- url: toPathString(localVarUrlObj),
346
- options: localVarRequestOptions,
347
- };
348
- },
349
- /**
350
- *
351
- * @summary Get DoctorAffiliation appointment timetables (Auth policies: RequireDoctorRole)
352
- * @param {string} doctorAffiliationId
353
- * @param {DayOfWeek} [dayOfWeek]
354
- * @param {number} [page]
355
- * @param {number} [limit]
356
- * @param {Date} [lastRetrieved]
357
- * @param {*} [options] Override http request option.
358
- * @throws {RequiredError}
359
- */
360
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
361
- // verify required parameter 'doctorAffiliationId' is not null or undefined
362
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet', 'doctorAffiliationId', doctorAffiliationId)
363
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables`
364
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
365
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
366
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
367
- let baseOptions;
368
- if (configuration) {
369
- baseOptions = configuration.baseOptions;
370
- }
371
-
372
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
373
- const localVarHeaderParameter = {} as any;
374
- const localVarQueryParameter = {} as any;
375
-
376
- // authentication oauth2 required
377
- // oauth required
378
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
379
-
380
- if (dayOfWeek !== undefined) {
381
- localVarQueryParameter['DayOfWeek'] = dayOfWeek;
382
- }
383
-
384
- if (page !== undefined) {
385
- localVarQueryParameter['page'] = page;
386
- }
387
-
388
- if (limit !== undefined) {
389
- localVarQueryParameter['limit'] = limit;
390
- }
391
-
392
- if (lastRetrieved !== undefined) {
393
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
394
- (lastRetrieved as any).toISOString() :
395
- lastRetrieved;
396
- }
397
-
398
-
399
-
400
- setSearchParams(localVarUrlObj, localVarQueryParameter);
401
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
402
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
403
-
404
- return {
405
- url: toPathString(localVarUrlObj),
406
- options: localVarRequestOptions,
407
- };
408
- },
409
- /**
410
- *
411
- * @summary Get all DoctorAffiliationMedias. (Auth policies: RequireDoctorRole)
412
- * @param {string} doctorAffiliationId
413
- * @param {string} [id]
414
- * @param {MediaType} [mediaType]
415
- * @param {number} [page]
416
- * @param {number} [limit]
417
- * @param {Date} [lastRetrieved]
418
- * @param {*} [options] Override http request option.
419
- * @throws {RequiredError}
420
- */
421
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
422
- // verify required parameter 'doctorAffiliationId' is not null or undefined
423
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
424
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
425
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
426
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
427
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
428
- let baseOptions;
429
- if (configuration) {
430
- baseOptions = configuration.baseOptions;
431
- }
432
-
433
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
434
- const localVarHeaderParameter = {} as any;
435
- const localVarQueryParameter = {} as any;
436
-
437
- // authentication oauth2 required
438
- // oauth required
439
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
440
-
441
- if (id !== undefined) {
442
- localVarQueryParameter['Id'] = id;
443
- }
444
-
445
- if (mediaType !== undefined) {
446
- localVarQueryParameter['MediaType'] = mediaType;
447
- }
448
-
449
- if (page !== undefined) {
450
- localVarQueryParameter['page'] = page;
451
- }
452
-
453
- if (limit !== undefined) {
454
- localVarQueryParameter['limit'] = limit;
455
- }
456
-
457
- if (lastRetrieved !== undefined) {
458
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
459
- (lastRetrieved as any).toISOString() :
460
- lastRetrieved;
461
- }
462
-
463
-
464
-
465
- setSearchParams(localVarUrlObj, localVarQueryParameter);
466
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
467
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
468
-
469
- return {
470
- url: toPathString(localVarUrlObj),
471
- options: localVarRequestOptions,
472
- };
473
- },
474
- /**
475
- *
476
- * @summary Delete DoctorAffiliationMedia (Auth policies: RequireDoctorRole)
477
- * @param {string} doctorAffiliationId
478
- * @param {string} mediaId
479
- * @param {*} [options] Override http request option.
480
- * @throws {RequiredError}
481
- */
482
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
483
- // verify required parameter 'doctorAffiliationId' is not null or undefined
484
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'doctorAffiliationId', doctorAffiliationId)
485
- // verify required parameter 'mediaId' is not null or undefined
486
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete', 'mediaId', mediaId)
487
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
488
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
489
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
490
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
491
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
492
- let baseOptions;
493
- if (configuration) {
494
- baseOptions = configuration.baseOptions;
495
- }
496
-
497
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
498
- const localVarHeaderParameter = {} as any;
499
- const localVarQueryParameter = {} as any;
500
-
501
- // authentication oauth2 required
502
- // oauth required
503
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
504
-
505
-
506
-
507
- setSearchParams(localVarUrlObj, localVarQueryParameter);
508
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
509
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
510
-
511
- return {
512
- url: toPathString(localVarUrlObj),
513
- options: localVarRequestOptions,
514
- };
515
- },
516
- /**
517
- *
518
- * @summary Get DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
519
- * @param {string} doctorAffiliationId
520
- * @param {string} mediaId
521
- * @param {*} [options] Override http request option.
522
- * @throws {RequiredError}
523
- */
524
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
525
- // verify required parameter 'doctorAffiliationId' is not null or undefined
526
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
527
- // verify required parameter 'mediaId' is not null or undefined
528
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
529
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
530
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
531
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
532
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
533
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
534
- let baseOptions;
535
- if (configuration) {
536
- baseOptions = configuration.baseOptions;
537
- }
538
-
539
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
540
- const localVarHeaderParameter = {} as any;
541
- const localVarQueryParameter = {} as any;
542
-
543
- // authentication oauth2 required
544
- // oauth required
545
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
546
-
547
-
548
-
549
- setSearchParams(localVarUrlObj, localVarQueryParameter);
550
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
551
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
552
-
553
- return {
554
- url: toPathString(localVarUrlObj),
555
- options: localVarRequestOptions,
556
- };
557
- },
558
- /**
559
- *
560
- * @summary Update DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
561
- * @param {string} doctorAffiliationId
562
- * @param {string} mediaId
563
- * @param {UpdateMediaCommand} [updateMediaCommand]
564
- * @param {*} [options] Override http request option.
565
- * @throws {RequiredError}
566
- */
567
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut: async (doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
568
- // verify required parameter 'doctorAffiliationId' is not null or undefined
569
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'doctorAffiliationId', doctorAffiliationId)
570
- // verify required parameter 'mediaId' is not null or undefined
571
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut', 'mediaId', mediaId)
572
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
573
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
574
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
575
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
576
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
577
- let baseOptions;
578
- if (configuration) {
579
- baseOptions = configuration.baseOptions;
580
- }
581
-
582
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
583
- const localVarHeaderParameter = {} as any;
584
- const localVarQueryParameter = {} as any;
585
-
586
- // authentication oauth2 required
587
- // oauth required
588
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
589
-
590
-
591
-
592
- localVarHeaderParameter['Content-Type'] = 'application/json';
593
-
594
- setSearchParams(localVarUrlObj, localVarQueryParameter);
595
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
596
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
597
- localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
598
-
599
- return {
600
- url: toPathString(localVarUrlObj),
601
- options: localVarRequestOptions,
602
- };
603
- },
604
- /**
605
- *
606
- * @summary Create DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
607
- * @param {string} doctorAffiliationId
608
- * @param {CreateMediaCommand} [createMediaCommand]
609
- * @param {*} [options] Override http request option.
610
- * @throws {RequiredError}
611
- */
612
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost: async (doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
613
- // verify required parameter 'doctorAffiliationId' is not null or undefined
614
- assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost', 'doctorAffiliationId', doctorAffiliationId)
615
- const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/medias`
616
- .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
617
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
618
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
619
- let baseOptions;
620
- if (configuration) {
621
- baseOptions = configuration.baseOptions;
622
- }
623
-
624
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
625
- const localVarHeaderParameter = {} as any;
626
- const localVarQueryParameter = {} as any;
627
-
628
- // authentication oauth2 required
629
- // oauth required
630
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
631
-
632
-
633
-
634
- localVarHeaderParameter['Content-Type'] = 'application/json';
635
-
636
- setSearchParams(localVarUrlObj, localVarQueryParameter);
637
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
638
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
639
- localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
640
-
641
- return {
642
- url: toPathString(localVarUrlObj),
643
- options: localVarRequestOptions,
644
- };
645
- },
646
- /**
647
- *
648
- * @summary Get all doctor affiliations. (Auth policies: RequireDoctorRole)
649
- * @param {string} [hospitalId]
650
- * @param {string} [hospitalName]
651
- * @param {string} [doctorId]
652
- * @param {string} [doctorName]
653
- * @param {string} [doctorSlug]
654
- * @param {string} [specialtyId]
655
- * @param {string} [specialtyTypeId]
656
- * @param {MarketingType} [marketingType]
657
- * @param {string} [countryId]
658
- * @param {string} [languageCode]
659
- * @param {boolean} [showHidden]
660
- * @param {number} [page]
661
- * @param {number} [limit]
662
- * @param {Date} [lastRetrieved]
663
- * @param {*} [options] Override http request option.
664
- * @throws {RequiredError}
665
- */
666
- apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, specialtyTypeId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
667
- const localVarPath = `/api/v1/doctoraffiliations`;
668
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
669
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
670
- let baseOptions;
671
- if (configuration) {
672
- baseOptions = configuration.baseOptions;
673
- }
674
-
675
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
676
- const localVarHeaderParameter = {} as any;
677
- const localVarQueryParameter = {} as any;
678
-
679
- // authentication oauth2 required
680
- // oauth required
681
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
682
-
683
- if (hospitalId !== undefined) {
684
- localVarQueryParameter['HospitalId'] = hospitalId;
685
- }
686
-
687
- if (hospitalName !== undefined) {
688
- localVarQueryParameter['HospitalName'] = hospitalName;
689
- }
690
-
691
- if (doctorId !== undefined) {
692
- localVarQueryParameter['DoctorId'] = doctorId;
693
- }
694
-
695
- if (doctorName !== undefined) {
696
- localVarQueryParameter['DoctorName'] = doctorName;
697
- }
698
-
699
- if (doctorSlug !== undefined) {
700
- localVarQueryParameter['DoctorSlug'] = doctorSlug;
701
- }
702
-
703
- if (specialtyId !== undefined) {
704
- localVarQueryParameter['SpecialtyId'] = specialtyId;
705
- }
706
-
707
- if (specialtyTypeId !== undefined) {
708
- localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
709
- }
710
-
711
- if (marketingType !== undefined) {
712
- localVarQueryParameter['MarketingType'] = marketingType;
713
- }
714
-
715
- if (countryId !== undefined) {
716
- localVarQueryParameter['CountryId'] = countryId;
717
- }
718
-
719
- if (languageCode !== undefined) {
720
- localVarQueryParameter['LanguageCode'] = languageCode;
721
- }
722
-
723
- if (showHidden !== undefined) {
724
- localVarQueryParameter['ShowHidden'] = showHidden;
725
- }
726
-
727
- if (page !== undefined) {
728
- localVarQueryParameter['page'] = page;
729
- }
730
-
731
- if (limit !== undefined) {
732
- localVarQueryParameter['limit'] = limit;
733
- }
734
-
735
- if (lastRetrieved !== undefined) {
736
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
737
- (lastRetrieved as any).toISOString() :
738
- lastRetrieved;
739
- }
740
-
741
-
742
-
743
- setSearchParams(localVarUrlObj, localVarQueryParameter);
744
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
745
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
746
-
747
- return {
748
- url: toPathString(localVarUrlObj),
749
- options: localVarRequestOptions,
750
- };
751
- },
752
- /**
753
- *
754
- * @summary Delete doctor affiliation. (Auth policies: RequireLocalManagerRole)
755
- * @param {string} id
756
- * @param {boolean} [isPermanent]
757
- * @param {*} [options] Override http request option.
758
- * @throws {RequiredError}
759
- */
760
- apiV1DoctoraffiliationsIdDelete: async (id: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
761
- // verify required parameter 'id' is not null or undefined
762
- assertParamExists('apiV1DoctoraffiliationsIdDelete', 'id', id)
763
- const localVarPath = `/api/v1/doctoraffiliations/{id}`
764
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
765
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
766
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
767
- let baseOptions;
768
- if (configuration) {
769
- baseOptions = configuration.baseOptions;
770
- }
771
-
772
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
773
- const localVarHeaderParameter = {} as any;
774
- const localVarQueryParameter = {} as any;
775
-
776
- // authentication oauth2 required
777
- // oauth required
778
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
779
-
780
- if (isPermanent !== undefined) {
781
- localVarQueryParameter['isPermanent'] = isPermanent;
782
- }
783
-
784
-
785
-
786
- setSearchParams(localVarUrlObj, localVarQueryParameter);
787
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
788
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
789
-
790
- return {
791
- url: toPathString(localVarUrlObj),
792
- options: localVarRequestOptions,
793
- };
794
- },
795
- /**
796
- *
797
- * @summary Get doctor affiliation. (Auth policies: RequireDoctorRole)
798
- * @param {string} id
799
- * @param {string} [languageCode]
800
- * @param {*} [options] Override http request option.
801
- * @throws {RequiredError}
802
- */
803
- apiV1DoctoraffiliationsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
804
- // verify required parameter 'id' is not null or undefined
805
- assertParamExists('apiV1DoctoraffiliationsIdGet', 'id', id)
806
- const localVarPath = `/api/v1/doctoraffiliations/{id}`
807
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
808
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
809
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
810
- let baseOptions;
811
- if (configuration) {
812
- baseOptions = configuration.baseOptions;
813
- }
814
-
815
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
816
- const localVarHeaderParameter = {} as any;
817
- const localVarQueryParameter = {} as any;
818
-
819
- // authentication oauth2 required
820
- // oauth required
821
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
822
-
823
- if (languageCode !== undefined) {
824
- localVarQueryParameter['languageCode'] = languageCode;
825
- }
826
-
827
-
828
-
829
- setSearchParams(localVarUrlObj, localVarQueryParameter);
830
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
831
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
832
-
833
- return {
834
- url: toPathString(localVarUrlObj),
835
- options: localVarRequestOptions,
836
- };
837
- },
838
- /**
839
- *
840
- * @summary Update doctor affiliation. (Auth policies: RequireLocalManagerRole)
841
- * @param {string} id
842
- * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
843
- * @param {*} [options] Override http request option.
844
- * @throws {RequiredError}
845
- */
846
- apiV1DoctoraffiliationsIdPut: async (id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
847
- // verify required parameter 'id' is not null or undefined
848
- assertParamExists('apiV1DoctoraffiliationsIdPut', 'id', id)
849
- const localVarPath = `/api/v1/doctoraffiliations/{id}`
850
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
851
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
852
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
853
- let baseOptions;
854
- if (configuration) {
855
- baseOptions = configuration.baseOptions;
856
- }
857
-
858
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
859
- const localVarHeaderParameter = {} as any;
860
- const localVarQueryParameter = {} as any;
861
-
862
- // authentication oauth2 required
863
- // oauth required
864
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
865
-
866
-
867
-
868
- localVarHeaderParameter['Content-Type'] = 'application/json';
869
-
870
- setSearchParams(localVarUrlObj, localVarQueryParameter);
871
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
872
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
873
- localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorAffiliationCommand, localVarRequestOptions, configuration)
874
-
875
- return {
876
- url: toPathString(localVarUrlObj),
877
- options: localVarRequestOptions,
878
- };
879
- },
880
- /**
881
- *
882
- * @summary Reactivate doctor affiliation. (Auth policies: RequireLocalManagerRole)
883
- * @param {string} id
884
- * @param {*} [options] Override http request option.
885
- * @throws {RequiredError}
886
- */
887
- apiV1DoctoraffiliationsIdReactivatePut: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
888
- // verify required parameter 'id' is not null or undefined
889
- assertParamExists('apiV1DoctoraffiliationsIdReactivatePut', 'id', id)
890
- const localVarPath = `/api/v1/doctoraffiliations/{id}/reactivate`
891
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
892
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
893
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
894
- let baseOptions;
895
- if (configuration) {
896
- baseOptions = configuration.baseOptions;
897
- }
898
-
899
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
900
- const localVarHeaderParameter = {} as any;
901
- const localVarQueryParameter = {} as any;
902
-
903
- // authentication oauth2 required
904
- // oauth required
905
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
906
-
907
-
908
-
909
- setSearchParams(localVarUrlObj, localVarQueryParameter);
910
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
911
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
912
-
913
- return {
914
- url: toPathString(localVarUrlObj),
915
- options: localVarRequestOptions,
916
- };
917
- },
918
- /**
919
- *
920
- * @summary Revalidate doctorAffiliation (Auth policies: RequireLocalManagerRole)
921
- * @param {string} id
922
- * @param {boolean} [includeCurrent]
923
- * @param {*} [options] Override http request option.
924
- * @throws {RequiredError}
925
- */
926
- apiV1DoctoraffiliationsIdRevalidatePost: async (id: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
927
- // verify required parameter 'id' is not null or undefined
928
- assertParamExists('apiV1DoctoraffiliationsIdRevalidatePost', 'id', id)
929
- const localVarPath = `/api/v1/doctoraffiliations/{id}/revalidate`
930
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
931
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
932
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
933
- let baseOptions;
934
- if (configuration) {
935
- baseOptions = configuration.baseOptions;
936
- }
937
-
938
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
939
- const localVarHeaderParameter = {} as any;
940
- const localVarQueryParameter = {} as any;
941
-
942
- // authentication oauth2 required
943
- // oauth required
944
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
945
-
946
- if (includeCurrent !== undefined) {
947
- localVarQueryParameter['includeCurrent'] = includeCurrent;
948
- }
949
-
950
-
951
-
952
- setSearchParams(localVarUrlObj, localVarQueryParameter);
953
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
954
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
955
-
956
- return {
957
- url: toPathString(localVarUrlObj),
958
- options: localVarRequestOptions,
959
- };
960
- },
961
- /**
962
- *
963
- * @summary Translate doctorAffiliation at once (Auth policies: RequireLocalManagerRole)
964
- * @param {string} id
965
- * @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
966
- * @param {*} [options] Override http request option.
967
- * @throws {RequiredError}
968
- */
969
- apiV1DoctoraffiliationsIdTranslatePost: async (id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
970
- // verify required parameter 'id' is not null or undefined
971
- assertParamExists('apiV1DoctoraffiliationsIdTranslatePost', 'id', id)
972
- const localVarPath = `/api/v1/doctoraffiliations/{id}/translate`
973
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
974
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
975
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
976
- let baseOptions;
977
- if (configuration) {
978
- baseOptions = configuration.baseOptions;
979
- }
980
-
981
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
982
- const localVarHeaderParameter = {} as any;
983
- const localVarQueryParameter = {} as any;
984
-
985
- // authentication oauth2 required
986
- // oauth required
987
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
988
-
989
-
990
-
991
- localVarHeaderParameter['Content-Type'] = 'application/json';
992
-
993
- setSearchParams(localVarUrlObj, localVarQueryParameter);
994
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
995
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
996
- localVarRequestOptions.data = serializeDataIfNeeded(translateDoctorAffiliationCommand, localVarRequestOptions, configuration)
997
-
998
- return {
999
- url: toPathString(localVarUrlObj),
1000
- options: localVarRequestOptions,
1001
- };
1002
- },
1003
- /**
1004
- *
1005
- * @summary (Auth policies: RequireLocalManagerRole)
1006
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
1007
- * @param {*} [options] Override http request option.
1008
- * @throws {RequiredError}
1009
- */
1010
- apiV1DoctoraffiliationsPost: async (createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1011
- const localVarPath = `/api/v1/doctoraffiliations`;
1012
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1013
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1014
- let baseOptions;
1015
- if (configuration) {
1016
- baseOptions = configuration.baseOptions;
1017
- }
1018
-
1019
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1020
- const localVarHeaderParameter = {} as any;
1021
- const localVarQueryParameter = {} as any;
1022
-
1023
- // authentication oauth2 required
1024
- // oauth required
1025
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
1026
-
1027
-
1028
-
1029
- localVarHeaderParameter['Content-Type'] = 'application/json';
1030
-
1031
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1032
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1033
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1034
- localVarRequestOptions.data = serializeDataIfNeeded(createDoctorAffiliationCommand, localVarRequestOptions, configuration)
1035
-
1036
- return {
1037
- url: toPathString(localVarUrlObj),
1038
- options: localVarRequestOptions,
1039
- };
1040
- },
1041
- }
1042
- };
1043
-
1044
- /**
1045
- * DoctorAffiliationsApi - functional programming interface
1046
- * @export
1047
- */
1048
- export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
1049
- const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
1050
- return {
1051
- /**
1052
- *
1053
- * @summary Get DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1054
- * @param {string} doctorAffiliationId
1055
- * @param {boolean} [includesPreviousItems]
1056
- * @param {Date} [startDate]
1057
- * @param {Date} [endDate]
1058
- * @param {DayOfWeek} [dayOfWeek]
1059
- * @param {number} [page]
1060
- * @param {number} [limit]
1061
- * @param {Date} [lastRetrieved]
1062
- * @param {*} [options] Override http request option.
1063
- * @throws {RequiredError}
1064
- */
1065
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
1066
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
1067
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1068
- },
1069
- /**
1070
- *
1071
- * @summary Delete DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1072
- * @param {string} doctorAffiliationId
1073
- * @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
1074
- * @param {*} [options] Override http request option.
1075
- * @throws {RequiredError}
1076
- */
1077
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1078
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId, deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options);
1079
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1080
- },
1081
- /**
1082
- *
1083
- * @summary Save DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1084
- * @param {string} doctorAffiliationId
1085
- * @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
1086
- * @param {*} [options] Override http request option.
1087
- * @throws {RequiredError}
1088
- */
1089
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
1090
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options);
1091
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1092
- },
1093
- /**
1094
- *
1095
- * @summary Get DoctorAffiliation appointment timetables for application (Auth policies: RequireDoctorRole)
1096
- * @param {string} doctorAffiliationId
1097
- * @param {number} [year]
1098
- * @param {number} [month]
1099
- * @param {string} [timeZone]
1100
- * @param {boolean} [isExternal]
1101
- * @param {boolean} [isOnline]
1102
- * @param {string} [appointmentIdExcluded]
1103
- * @param {boolean} [excludeUnavailableTimeSlots]
1104
- * @param {*} [options] Override http request option.
1105
- * @throws {RequiredError}
1106
- */
1107
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
1108
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
1109
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1110
- },
1111
- /**
1112
- *
1113
- * @summary Add, update and delete DoctorAffiliationAppointmentTimetables (Auth policies: RequireDoctorRole)
1114
- * @param {string} doctorAffiliationId
1115
- * @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
1116
- * @param {*} [options] Override http request option.
1117
- * @throws {RequiredError}
1118
- */
1119
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
1120
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options);
1121
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1122
- },
1123
- /**
1124
- *
1125
- * @summary Get DoctorAffiliation appointment timetables (Auth policies: RequireDoctorRole)
1126
- * @param {string} doctorAffiliationId
1127
- * @param {DayOfWeek} [dayOfWeek]
1128
- * @param {number} [page]
1129
- * @param {number} [limit]
1130
- * @param {Date} [lastRetrieved]
1131
- * @param {*} [options] Override http request option.
1132
- * @throws {RequiredError}
1133
- */
1134
- async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
1135
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options);
1136
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1137
- },
1138
- /**
1139
- *
1140
- * @summary Get all DoctorAffiliationMedias. (Auth policies: RequireDoctorRole)
1141
- * @param {string} doctorAffiliationId
1142
- * @param {string} [id]
1143
- * @param {MediaType} [mediaType]
1144
- * @param {number} [page]
1145
- * @param {number} [limit]
1146
- * @param {Date} [lastRetrieved]
1147
- * @param {*} [options] Override http request option.
1148
- * @throws {RequiredError}
1149
- */
1150
- async apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
1151
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
1152
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1153
- },
1154
- /**
1155
- *
1156
- * @summary Delete DoctorAffiliationMedia (Auth policies: RequireDoctorRole)
1157
- * @param {string} doctorAffiliationId
1158
- * @param {string} mediaId
1159
- * @param {*} [options] Override http request option.
1160
- * @throws {RequiredError}
1161
- */
1162
- async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1163
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options);
1164
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1165
- },
1166
- /**
1167
- *
1168
- * @summary Get DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1169
- * @param {string} doctorAffiliationId
1170
- * @param {string} mediaId
1171
- * @param {*} [options] Override http request option.
1172
- * @throws {RequiredError}
1173
- */
1174
- async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
1175
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
1176
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1177
- },
1178
- /**
1179
- *
1180
- * @summary Update DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1181
- * @param {string} doctorAffiliationId
1182
- * @param {string} mediaId
1183
- * @param {UpdateMediaCommand} [updateMediaCommand]
1184
- * @param {*} [options] Override http request option.
1185
- * @throws {RequiredError}
1186
- */
1187
- async apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
1188
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options);
1189
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1190
- },
1191
- /**
1192
- *
1193
- * @summary Create DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1194
- * @param {string} doctorAffiliationId
1195
- * @param {CreateMediaCommand} [createMediaCommand]
1196
- * @param {*} [options] Override http request option.
1197
- * @throws {RequiredError}
1198
- */
1199
- async apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
1200
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options);
1201
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1202
- },
1203
- /**
1204
- *
1205
- * @summary Get all doctor affiliations. (Auth policies: RequireDoctorRole)
1206
- * @param {string} [hospitalId]
1207
- * @param {string} [hospitalName]
1208
- * @param {string} [doctorId]
1209
- * @param {string} [doctorName]
1210
- * @param {string} [doctorSlug]
1211
- * @param {string} [specialtyId]
1212
- * @param {string} [specialtyTypeId]
1213
- * @param {MarketingType} [marketingType]
1214
- * @param {string} [countryId]
1215
- * @param {string} [languageCode]
1216
- * @param {boolean} [showHidden]
1217
- * @param {number} [page]
1218
- * @param {number} [limit]
1219
- * @param {Date} [lastRetrieved]
1220
- * @param {*} [options] Override http request option.
1221
- * @throws {RequiredError}
1222
- */
1223
- async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, specialtyTypeId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
1224
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, specialtyTypeId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options);
1225
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1226
- },
1227
- /**
1228
- *
1229
- * @summary Delete doctor affiliation. (Auth policies: RequireLocalManagerRole)
1230
- * @param {string} id
1231
- * @param {boolean} [isPermanent]
1232
- * @param {*} [options] Override http request option.
1233
- * @throws {RequiredError}
1234
- */
1235
- async apiV1DoctoraffiliationsIdDelete(id: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1236
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options);
1237
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1238
- },
1239
- /**
1240
- *
1241
- * @summary Get doctor affiliation. (Auth policies: RequireDoctorRole)
1242
- * @param {string} id
1243
- * @param {string} [languageCode]
1244
- * @param {*} [options] Override http request option.
1245
- * @throws {RequiredError}
1246
- */
1247
- async apiV1DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
1248
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdGet(id, languageCode, options);
1249
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1250
- },
1251
- /**
1252
- *
1253
- * @summary Update doctor affiliation. (Auth policies: RequireLocalManagerRole)
1254
- * @param {string} id
1255
- * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
1256
- * @param {*} [options] Override http request option.
1257
- * @throws {RequiredError}
1258
- */
1259
- async apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
1260
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options);
1261
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1262
- },
1263
- /**
1264
- *
1265
- * @summary Reactivate doctor affiliation. (Auth policies: RequireLocalManagerRole)
1266
- * @param {string} id
1267
- * @param {*} [options] Override http request option.
1268
- * @throws {RequiredError}
1269
- */
1270
- async apiV1DoctoraffiliationsIdReactivatePut(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1271
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdReactivatePut(id, options);
1272
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1273
- },
1274
- /**
1275
- *
1276
- * @summary Revalidate doctorAffiliation (Auth policies: RequireLocalManagerRole)
1277
- * @param {string} id
1278
- * @param {boolean} [includeCurrent]
1279
- * @param {*} [options] Override http request option.
1280
- * @throws {RequiredError}
1281
- */
1282
- async apiV1DoctoraffiliationsIdRevalidatePost(id: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1283
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdRevalidatePost(id, includeCurrent, options);
1284
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1285
- },
1286
- /**
1287
- *
1288
- * @summary Translate doctorAffiliation at once (Auth policies: RequireLocalManagerRole)
1289
- * @param {string} id
1290
- * @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
1291
- * @param {*} [options] Override http request option.
1292
- * @throws {RequiredError}
1293
- */
1294
- async apiV1DoctoraffiliationsIdTranslatePost(id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
1295
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdTranslatePost(id, translateDoctorAffiliationCommand, options);
1296
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1297
- },
1298
- /**
1299
- *
1300
- * @summary (Auth policies: RequireLocalManagerRole)
1301
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
1302
- * @param {*} [options] Override http request option.
1303
- * @throws {RequiredError}
1304
- */
1305
- async apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
1306
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options);
1307
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1308
- },
1309
- }
1310
- };
1311
-
1312
- /**
1313
- * DoctorAffiliationsApi - factory interface
1314
- * @export
1315
- */
1316
- export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1317
- const localVarFp = DoctorAffiliationsApiFp(configuration)
1318
- return {
1319
- /**
1320
- *
1321
- * @summary Get DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1322
- * @param {string} doctorAffiliationId
1323
- * @param {boolean} [includesPreviousItems]
1324
- * @param {Date} [startDate]
1325
- * @param {Date} [endDate]
1326
- * @param {DayOfWeek} [dayOfWeek]
1327
- * @param {number} [page]
1328
- * @param {number} [limit]
1329
- * @param {Date} [lastRetrieved]
1330
- * @param {*} [options] Override http request option.
1331
- * @throws {RequiredError}
1332
- */
1333
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
1334
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1335
- },
1336
- /**
1337
- *
1338
- * @summary Delete DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1339
- * @param {string} doctorAffiliationId
1340
- * @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
1341
- * @param {*} [options] Override http request option.
1342
- * @throws {RequiredError}
1343
- */
1344
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<boolean> {
1345
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId, deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
1346
- },
1347
- /**
1348
- *
1349
- * @summary Save DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
1350
- * @param {string} doctorAffiliationId
1351
- * @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
1352
- * @param {*} [options] Override http request option.
1353
- * @throws {RequiredError}
1354
- */
1355
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
1356
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
1357
- },
1358
- /**
1359
- *
1360
- * @summary Get DoctorAffiliation appointment timetables for application (Auth policies: RequireDoctorRole)
1361
- * @param {string} doctorAffiliationId
1362
- * @param {number} [year]
1363
- * @param {number} [month]
1364
- * @param {string} [timeZone]
1365
- * @param {boolean} [isExternal]
1366
- * @param {boolean} [isOnline]
1367
- * @param {string} [appointmentIdExcluded]
1368
- * @param {boolean} [excludeUnavailableTimeSlots]
1369
- * @param {*} [options] Override http request option.
1370
- * @throws {RequiredError}
1371
- */
1372
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
1373
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
1374
- },
1375
- /**
1376
- *
1377
- * @summary Add, update and delete DoctorAffiliationAppointmentTimetables (Auth policies: RequireDoctorRole)
1378
- * @param {string} doctorAffiliationId
1379
- * @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
1380
- * @param {*} [options] Override http request option.
1381
- * @throws {RequiredError}
1382
- */
1383
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
1384
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
1385
- },
1386
- /**
1387
- *
1388
- * @summary Get DoctorAffiliation appointment timetables (Auth policies: RequireDoctorRole)
1389
- * @param {string} doctorAffiliationId
1390
- * @param {DayOfWeek} [dayOfWeek]
1391
- * @param {number} [page]
1392
- * @param {number} [limit]
1393
- * @param {Date} [lastRetrieved]
1394
- * @param {*} [options] Override http request option.
1395
- * @throws {RequiredError}
1396
- */
1397
- apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
1398
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1399
- },
1400
- /**
1401
- *
1402
- * @summary Get all DoctorAffiliationMedias. (Auth policies: RequireDoctorRole)
1403
- * @param {string} doctorAffiliationId
1404
- * @param {string} [id]
1405
- * @param {MediaType} [mediaType]
1406
- * @param {number} [page]
1407
- * @param {number} [limit]
1408
- * @param {Date} [lastRetrieved]
1409
- * @param {*} [options] Override http request option.
1410
- * @throws {RequiredError}
1411
- */
1412
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
1413
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1414
- },
1415
- /**
1416
- *
1417
- * @summary Delete DoctorAffiliationMedia (Auth policies: RequireDoctorRole)
1418
- * @param {string} doctorAffiliationId
1419
- * @param {string} mediaId
1420
- * @param {*} [options] Override http request option.
1421
- * @throws {RequiredError}
1422
- */
1423
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
1424
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
1425
- },
1426
- /**
1427
- *
1428
- * @summary Get DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1429
- * @param {string} doctorAffiliationId
1430
- * @param {string} mediaId
1431
- * @param {*} [options] Override http request option.
1432
- * @throws {RequiredError}
1433
- */
1434
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
1435
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
1436
- },
1437
- /**
1438
- *
1439
- * @summary Update DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1440
- * @param {string} doctorAffiliationId
1441
- * @param {string} mediaId
1442
- * @param {UpdateMediaCommand} [updateMediaCommand]
1443
- * @param {*} [options] Override http request option.
1444
- * @throws {RequiredError}
1445
- */
1446
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
1447
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(doctorAffiliationId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
1448
- },
1449
- /**
1450
- *
1451
- * @summary Create DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
1452
- * @param {string} doctorAffiliationId
1453
- * @param {CreateMediaCommand} [createMediaCommand]
1454
- * @param {*} [options] Override http request option.
1455
- * @throws {RequiredError}
1456
- */
1457
- apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
1458
- return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(doctorAffiliationId, createMediaCommand, options).then((request) => request(axios, basePath));
1459
- },
1460
- /**
1461
- *
1462
- * @summary Get all doctor affiliations. (Auth policies: RequireDoctorRole)
1463
- * @param {string} [hospitalId]
1464
- * @param {string} [hospitalName]
1465
- * @param {string} [doctorId]
1466
- * @param {string} [doctorName]
1467
- * @param {string} [doctorSlug]
1468
- * @param {string} [specialtyId]
1469
- * @param {string} [specialtyTypeId]
1470
- * @param {MarketingType} [marketingType]
1471
- * @param {string} [countryId]
1472
- * @param {string} [languageCode]
1473
- * @param {boolean} [showHidden]
1474
- * @param {number} [page]
1475
- * @param {number} [limit]
1476
- * @param {Date} [lastRetrieved]
1477
- * @param {*} [options] Override http request option.
1478
- * @throws {RequiredError}
1479
- */
1480
- apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, specialtyTypeId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
1481
- return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, specialtyTypeId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1482
- },
1483
- /**
1484
- *
1485
- * @summary Delete doctor affiliation. (Auth policies: RequireLocalManagerRole)
1486
- * @param {string} id
1487
- * @param {boolean} [isPermanent]
1488
- * @param {*} [options] Override http request option.
1489
- * @throws {RequiredError}
1490
- */
1491
- apiV1DoctoraffiliationsIdDelete(id: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
1492
- return localVarFp.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options).then((request) => request(axios, basePath));
1493
- },
1494
- /**
1495
- *
1496
- * @summary Get doctor affiliation. (Auth policies: RequireDoctorRole)
1497
- * @param {string} id
1498
- * @param {string} [languageCode]
1499
- * @param {*} [options] Override http request option.
1500
- * @throws {RequiredError}
1501
- */
1502
- apiV1DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
1503
- return localVarFp.apiV1DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
1504
- },
1505
- /**
1506
- *
1507
- * @summary Update doctor affiliation. (Auth policies: RequireLocalManagerRole)
1508
- * @param {string} id
1509
- * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
1510
- * @param {*} [options] Override http request option.
1511
- * @throws {RequiredError}
1512
- */
1513
- apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
1514
- return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
1515
- },
1516
- /**
1517
- *
1518
- * @summary Reactivate doctor affiliation. (Auth policies: RequireLocalManagerRole)
1519
- * @param {string} id
1520
- * @param {*} [options] Override http request option.
1521
- * @throws {RequiredError}
1522
- */
1523
- apiV1DoctoraffiliationsIdReactivatePut(id: string, options?: any): AxiosPromise<boolean> {
1524
- return localVarFp.apiV1DoctoraffiliationsIdReactivatePut(id, options).then((request) => request(axios, basePath));
1525
- },
1526
- /**
1527
- *
1528
- * @summary Revalidate doctorAffiliation (Auth policies: RequireLocalManagerRole)
1529
- * @param {string} id
1530
- * @param {boolean} [includeCurrent]
1531
- * @param {*} [options] Override http request option.
1532
- * @throws {RequiredError}
1533
- */
1534
- apiV1DoctoraffiliationsIdRevalidatePost(id: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
1535
- return localVarFp.apiV1DoctoraffiliationsIdRevalidatePost(id, includeCurrent, options).then((request) => request(axios, basePath));
1536
- },
1537
- /**
1538
- *
1539
- * @summary Translate doctorAffiliation at once (Auth policies: RequireLocalManagerRole)
1540
- * @param {string} id
1541
- * @param {TranslateDoctorAffiliationCommand} [translateDoctorAffiliationCommand]
1542
- * @param {*} [options] Override http request option.
1543
- * @throws {RequiredError}
1544
- */
1545
- apiV1DoctoraffiliationsIdTranslatePost(id: string, translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand, options?: any): AxiosPromise<boolean> {
1546
- return localVarFp.apiV1DoctoraffiliationsIdTranslatePost(id, translateDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
1547
- },
1548
- /**
1549
- *
1550
- * @summary (Auth policies: RequireLocalManagerRole)
1551
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
1552
- * @param {*} [options] Override http request option.
1553
- * @throws {RequiredError}
1554
- */
1555
- apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
1556
- return localVarFp.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
1557
- },
1558
- };
1559
- };
1560
-
1561
- /**
1562
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet operation in DoctorAffiliationsApi.
1563
- * @export
1564
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGetRequest
1565
- */
1566
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGetRequest {
1567
- /**
1568
- *
1569
- * @type {string}
1570
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1571
- */
1572
- readonly doctorAffiliationId: string
1573
-
1574
- /**
1575
- *
1576
- * @type {boolean}
1577
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1578
- */
1579
- readonly includesPreviousItems?: boolean
1580
-
1581
- /**
1582
- *
1583
- * @type {Date}
1584
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1585
- */
1586
- readonly startDate?: Date
1587
-
1588
- /**
1589
- *
1590
- * @type {Date}
1591
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1592
- */
1593
- readonly endDate?: Date
1594
-
1595
- /**
1596
- *
1597
- * @type {DayOfWeek}
1598
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1599
- */
1600
- readonly dayOfWeek?: DayOfWeek
1601
-
1602
- /**
1603
- *
1604
- * @type {number}
1605
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1606
- */
1607
- readonly page?: number
1608
-
1609
- /**
1610
- *
1611
- * @type {number}
1612
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1613
- */
1614
- readonly limit?: number
1615
-
1616
- /**
1617
- *
1618
- * @type {Date}
1619
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet
1620
- */
1621
- readonly lastRetrieved?: Date
1622
- }
1623
-
1624
- /**
1625
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch operation in DoctorAffiliationsApi.
1626
- * @export
1627
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest
1628
- */
1629
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest {
1630
- /**
1631
- *
1632
- * @type {string}
1633
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch
1634
- */
1635
- readonly doctorAffiliationId: string
1636
-
1637
- /**
1638
- *
1639
- * @type {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand}
1640
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch
1641
- */
1642
- readonly deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand
1643
- }
1644
-
1645
- /**
1646
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost operation in DoctorAffiliationsApi.
1647
- * @export
1648
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPostRequest
1649
- */
1650
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPostRequest {
1651
- /**
1652
- *
1653
- * @type {string}
1654
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost
1655
- */
1656
- readonly doctorAffiliationId: string
1657
-
1658
- /**
1659
- *
1660
- * @type {SaveDoctorAffiliationAppointmentTimetableOverridesCommand}
1661
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost
1662
- */
1663
- readonly saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand
1664
- }
1665
-
1666
- /**
1667
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet operation in DoctorAffiliationsApi.
1668
- * @export
1669
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest
1670
- */
1671
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest {
1672
- /**
1673
- *
1674
- * @type {string}
1675
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1676
- */
1677
- readonly doctorAffiliationId: string
1678
-
1679
- /**
1680
- *
1681
- * @type {number}
1682
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1683
- */
1684
- readonly year?: number
1685
-
1686
- /**
1687
- *
1688
- * @type {number}
1689
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1690
- */
1691
- readonly month?: number
1692
-
1693
- /**
1694
- *
1695
- * @type {string}
1696
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1697
- */
1698
- readonly timeZone?: string
1699
-
1700
- /**
1701
- *
1702
- * @type {boolean}
1703
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1704
- */
1705
- readonly isExternal?: boolean
1706
-
1707
- /**
1708
- *
1709
- * @type {boolean}
1710
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1711
- */
1712
- readonly isOnline?: boolean
1713
-
1714
- /**
1715
- *
1716
- * @type {string}
1717
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1718
- */
1719
- readonly appointmentIdExcluded?: string
1720
-
1721
- /**
1722
- *
1723
- * @type {boolean}
1724
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
1725
- */
1726
- readonly excludeUnavailableTimeSlots?: boolean
1727
- }
1728
-
1729
- /**
1730
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost operation in DoctorAffiliationsApi.
1731
- * @export
1732
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPostRequest
1733
- */
1734
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPostRequest {
1735
- /**
1736
- *
1737
- * @type {string}
1738
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost
1739
- */
1740
- readonly doctorAffiliationId: string
1741
-
1742
- /**
1743
- *
1744
- * @type {BatchDoctorAffiliationAppointmentTimetablesCommand}
1745
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost
1746
- */
1747
- readonly batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand
1748
- }
1749
-
1750
- /**
1751
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet operation in DoctorAffiliationsApi.
1752
- * @export
1753
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest
1754
- */
1755
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest {
1756
- /**
1757
- *
1758
- * @type {string}
1759
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
1760
- */
1761
- readonly doctorAffiliationId: string
1762
-
1763
- /**
1764
- *
1765
- * @type {DayOfWeek}
1766
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
1767
- */
1768
- readonly dayOfWeek?: DayOfWeek
1769
-
1770
- /**
1771
- *
1772
- * @type {number}
1773
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
1774
- */
1775
- readonly page?: number
1776
-
1777
- /**
1778
- *
1779
- * @type {number}
1780
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
1781
- */
1782
- readonly limit?: number
1783
-
1784
- /**
1785
- *
1786
- * @type {Date}
1787
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
1788
- */
1789
- readonly lastRetrieved?: Date
1790
- }
1791
-
1792
- /**
1793
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet operation in DoctorAffiliationsApi.
1794
- * @export
1795
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGetRequest
1796
- */
1797
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGetRequest {
1798
- /**
1799
- *
1800
- * @type {string}
1801
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1802
- */
1803
- readonly doctorAffiliationId: string
1804
-
1805
- /**
1806
- *
1807
- * @type {string}
1808
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1809
- */
1810
- readonly id?: string
1811
-
1812
- /**
1813
- *
1814
- * @type {MediaType}
1815
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1816
- */
1817
- readonly mediaType?: MediaType
1818
-
1819
- /**
1820
- *
1821
- * @type {number}
1822
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1823
- */
1824
- readonly page?: number
1825
-
1826
- /**
1827
- *
1828
- * @type {number}
1829
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1830
- */
1831
- readonly limit?: number
1832
-
1833
- /**
1834
- *
1835
- * @type {Date}
1836
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGet
1837
- */
1838
- readonly lastRetrieved?: Date
1839
- }
1840
-
1841
- /**
1842
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete operation in DoctorAffiliationsApi.
1843
- * @export
1844
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDeleteRequest
1845
- */
1846
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDeleteRequest {
1847
- /**
1848
- *
1849
- * @type {string}
1850
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete
1851
- */
1852
- readonly doctorAffiliationId: string
1853
-
1854
- /**
1855
- *
1856
- * @type {string}
1857
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete
1858
- */
1859
- readonly mediaId: string
1860
- }
1861
-
1862
- /**
1863
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet operation in DoctorAffiliationsApi.
1864
- * @export
1865
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest
1866
- */
1867
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest {
1868
- /**
1869
- *
1870
- * @type {string}
1871
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet
1872
- */
1873
- readonly doctorAffiliationId: string
1874
-
1875
- /**
1876
- *
1877
- * @type {string}
1878
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet
1879
- */
1880
- readonly mediaId: string
1881
- }
1882
-
1883
- /**
1884
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut operation in DoctorAffiliationsApi.
1885
- * @export
1886
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPutRequest
1887
- */
1888
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPutRequest {
1889
- /**
1890
- *
1891
- * @type {string}
1892
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut
1893
- */
1894
- readonly doctorAffiliationId: string
1895
-
1896
- /**
1897
- *
1898
- * @type {string}
1899
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut
1900
- */
1901
- readonly mediaId: string
1902
-
1903
- /**
1904
- *
1905
- * @type {UpdateMediaCommand}
1906
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut
1907
- */
1908
- readonly updateMediaCommand?: UpdateMediaCommand
1909
- }
1910
-
1911
- /**
1912
- * Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost operation in DoctorAffiliationsApi.
1913
- * @export
1914
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPostRequest
1915
- */
1916
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPostRequest {
1917
- /**
1918
- *
1919
- * @type {string}
1920
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPost
1921
- */
1922
- readonly doctorAffiliationId: string
1923
-
1924
- /**
1925
- *
1926
- * @type {CreateMediaCommand}
1927
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPost
1928
- */
1929
- readonly createMediaCommand?: CreateMediaCommand
1930
- }
1931
-
1932
- /**
1933
- * Request parameters for apiV1DoctoraffiliationsGet operation in DoctorAffiliationsApi.
1934
- * @export
1935
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsGetRequest
1936
- */
1937
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsGetRequest {
1938
- /**
1939
- *
1940
- * @type {string}
1941
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1942
- */
1943
- readonly hospitalId?: string
1944
-
1945
- /**
1946
- *
1947
- * @type {string}
1948
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1949
- */
1950
- readonly hospitalName?: string
1951
-
1952
- /**
1953
- *
1954
- * @type {string}
1955
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1956
- */
1957
- readonly doctorId?: string
1958
-
1959
- /**
1960
- *
1961
- * @type {string}
1962
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1963
- */
1964
- readonly doctorName?: string
1965
-
1966
- /**
1967
- *
1968
- * @type {string}
1969
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1970
- */
1971
- readonly doctorSlug?: string
1972
-
1973
- /**
1974
- *
1975
- * @type {string}
1976
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1977
- */
1978
- readonly specialtyId?: string
1979
-
1980
- /**
1981
- *
1982
- * @type {string}
1983
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1984
- */
1985
- readonly specialtyTypeId?: string
1986
-
1987
- /**
1988
- *
1989
- * @type {MarketingType}
1990
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1991
- */
1992
- readonly marketingType?: MarketingType
1993
-
1994
- /**
1995
- *
1996
- * @type {string}
1997
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
1998
- */
1999
- readonly countryId?: string
2000
-
2001
- /**
2002
- *
2003
- * @type {string}
2004
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
2005
- */
2006
- readonly languageCode?: string
2007
-
2008
- /**
2009
- *
2010
- * @type {boolean}
2011
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
2012
- */
2013
- readonly showHidden?: boolean
2014
-
2015
- /**
2016
- *
2017
- * @type {number}
2018
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
2019
- */
2020
- readonly page?: number
2021
-
2022
- /**
2023
- *
2024
- * @type {number}
2025
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
2026
- */
2027
- readonly limit?: number
2028
-
2029
- /**
2030
- *
2031
- * @type {Date}
2032
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsGet
2033
- */
2034
- readonly lastRetrieved?: Date
2035
- }
2036
-
2037
- /**
2038
- * Request parameters for apiV1DoctoraffiliationsIdDelete operation in DoctorAffiliationsApi.
2039
- * @export
2040
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdDeleteRequest
2041
- */
2042
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdDeleteRequest {
2043
- /**
2044
- *
2045
- * @type {string}
2046
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdDelete
2047
- */
2048
- readonly id: string
2049
-
2050
- /**
2051
- *
2052
- * @type {boolean}
2053
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdDelete
2054
- */
2055
- readonly isPermanent?: boolean
2056
- }
2057
-
2058
- /**
2059
- * Request parameters for apiV1DoctoraffiliationsIdGet operation in DoctorAffiliationsApi.
2060
- * @export
2061
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdGetRequest
2062
- */
2063
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdGetRequest {
2064
- /**
2065
- *
2066
- * @type {string}
2067
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdGet
2068
- */
2069
- readonly id: string
2070
-
2071
- /**
2072
- *
2073
- * @type {string}
2074
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdGet
2075
- */
2076
- readonly languageCode?: string
2077
- }
2078
-
2079
- /**
2080
- * Request parameters for apiV1DoctoraffiliationsIdPut operation in DoctorAffiliationsApi.
2081
- * @export
2082
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdPutRequest
2083
- */
2084
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdPutRequest {
2085
- /**
2086
- *
2087
- * @type {string}
2088
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdPut
2089
- */
2090
- readonly id: string
2091
-
2092
- /**
2093
- *
2094
- * @type {UpdateDoctorAffiliationCommand}
2095
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdPut
2096
- */
2097
- readonly updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand
2098
- }
2099
-
2100
- /**
2101
- * Request parameters for apiV1DoctoraffiliationsIdReactivatePut operation in DoctorAffiliationsApi.
2102
- * @export
2103
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdReactivatePutRequest
2104
- */
2105
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdReactivatePutRequest {
2106
- /**
2107
- *
2108
- * @type {string}
2109
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdReactivatePut
2110
- */
2111
- readonly id: string
2112
- }
2113
-
2114
- /**
2115
- * Request parameters for apiV1DoctoraffiliationsIdRevalidatePost operation in DoctorAffiliationsApi.
2116
- * @export
2117
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePostRequest
2118
- */
2119
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePostRequest {
2120
- /**
2121
- *
2122
- * @type {string}
2123
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePost
2124
- */
2125
- readonly id: string
2126
-
2127
- /**
2128
- *
2129
- * @type {boolean}
2130
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePost
2131
- */
2132
- readonly includeCurrent?: boolean
2133
- }
2134
-
2135
- /**
2136
- * Request parameters for apiV1DoctoraffiliationsIdTranslatePost operation in DoctorAffiliationsApi.
2137
- * @export
2138
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePostRequest
2139
- */
2140
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePostRequest {
2141
- /**
2142
- *
2143
- * @type {string}
2144
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePost
2145
- */
2146
- readonly id: string
2147
-
2148
- /**
2149
- *
2150
- * @type {TranslateDoctorAffiliationCommand}
2151
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePost
2152
- */
2153
- readonly translateDoctorAffiliationCommand?: TranslateDoctorAffiliationCommand
2154
- }
2155
-
2156
- /**
2157
- * Request parameters for apiV1DoctoraffiliationsPost operation in DoctorAffiliationsApi.
2158
- * @export
2159
- * @interface DoctorAffiliationsApiApiV1DoctoraffiliationsPostRequest
2160
- */
2161
- export interface DoctorAffiliationsApiApiV1DoctoraffiliationsPostRequest {
2162
- /**
2163
- *
2164
- * @type {CreateDoctorAffiliationCommand}
2165
- * @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsPost
2166
- */
2167
- readonly createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand
2168
- }
2169
-
2170
- /**
2171
- * DoctorAffiliationsApi - object-oriented interface
2172
- * @export
2173
- * @class DoctorAffiliationsApi
2174
- * @extends {BaseAPI}
2175
- */
2176
- export class DoctorAffiliationsApi extends BaseAPI {
2177
- /**
2178
- *
2179
- * @summary Get DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
2180
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGetRequest} requestParameters Request parameters.
2181
- * @param {*} [options] Override http request option.
2182
- * @throws {RequiredError}
2183
- * @memberof DoctorAffiliationsApi
2184
- */
2185
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGetRequest, options?: AxiosRequestConfig) {
2186
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(requestParameters.doctorAffiliationId, requestParameters.includesPreviousItems, requestParameters.startDate, requestParameters.endDate, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2187
- }
2188
-
2189
- /**
2190
- *
2191
- * @summary Delete DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
2192
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest} requestParameters Request parameters.
2193
- * @param {*} [options] Override http request option.
2194
- * @throws {RequiredError}
2195
- * @memberof DoctorAffiliationsApi
2196
- */
2197
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest, options?: AxiosRequestConfig) {
2198
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(requestParameters.doctorAffiliationId, requestParameters.deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
2199
- }
2200
-
2201
- /**
2202
- *
2203
- * @summary Save DoctorAffiliation appointment timetable overrides (Auth policies: RequireDoctorRole)
2204
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPostRequest} requestParameters Request parameters.
2205
- * @param {*} [options] Override http request option.
2206
- * @throws {RequiredError}
2207
- * @memberof DoctorAffiliationsApi
2208
- */
2209
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPostRequest, options?: AxiosRequestConfig) {
2210
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(requestParameters.doctorAffiliationId, requestParameters.saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
2211
- }
2212
-
2213
- /**
2214
- *
2215
- * @summary Get DoctorAffiliation appointment timetables for application (Auth policies: RequireDoctorRole)
2216
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest} requestParameters Request parameters.
2217
- * @param {*} [options] Override http request option.
2218
- * @throws {RequiredError}
2219
- * @memberof DoctorAffiliationsApi
2220
- */
2221
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
2222
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
2223
- }
2224
-
2225
- /**
2226
- *
2227
- * @summary Add, update and delete DoctorAffiliationAppointmentTimetables (Auth policies: RequireDoctorRole)
2228
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPostRequest} requestParameters Request parameters.
2229
- * @param {*} [options] Override http request option.
2230
- * @throws {RequiredError}
2231
- * @memberof DoctorAffiliationsApi
2232
- */
2233
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPostRequest, options?: AxiosRequestConfig) {
2234
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(requestParameters.doctorAffiliationId, requestParameters.batchDoctorAffiliationAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
2235
- }
2236
-
2237
- /**
2238
- *
2239
- * @summary Get DoctorAffiliation appointment timetables (Auth policies: RequireDoctorRole)
2240
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
2241
- * @param {*} [options] Override http request option.
2242
- * @throws {RequiredError}
2243
- * @memberof DoctorAffiliationsApi
2244
- */
2245
- public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
2246
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2247
- }
2248
-
2249
- /**
2250
- *
2251
- * @summary Get all DoctorAffiliationMedias. (Auth policies: RequireDoctorRole)
2252
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGetRequest} requestParameters Request parameters.
2253
- * @param {*} [options] Override http request option.
2254
- * @throws {RequiredError}
2255
- * @memberof DoctorAffiliationsApi
2256
- */
2257
- public apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasGetRequest, options?: AxiosRequestConfig) {
2258
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasGet(requestParameters.doctorAffiliationId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2259
- }
2260
-
2261
- /**
2262
- *
2263
- * @summary Delete DoctorAffiliationMedia (Auth policies: RequireDoctorRole)
2264
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDeleteRequest} requestParameters Request parameters.
2265
- * @param {*} [options] Override http request option.
2266
- * @throws {RequiredError}
2267
- * @memberof DoctorAffiliationsApi
2268
- */
2269
- public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDeleteRequest, options?: AxiosRequestConfig) {
2270
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdDelete(requestParameters.doctorAffiliationId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
2271
- }
2272
-
2273
- /**
2274
- *
2275
- * @summary Get DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
2276
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest} requestParameters Request parameters.
2277
- * @param {*} [options] Override http request option.
2278
- * @throws {RequiredError}
2279
- * @memberof DoctorAffiliationsApi
2280
- */
2281
- public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
2282
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(requestParameters.doctorAffiliationId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
2283
- }
2284
-
2285
- /**
2286
- *
2287
- * @summary Update DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
2288
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPutRequest} requestParameters Request parameters.
2289
- * @param {*} [options] Override http request option.
2290
- * @throws {RequiredError}
2291
- * @memberof DoctorAffiliationsApi
2292
- */
2293
- public apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPutRequest, options?: AxiosRequestConfig) {
2294
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasMediaIdPut(requestParameters.doctorAffiliationId, requestParameters.mediaId, requestParameters.updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
2295
- }
2296
-
2297
- /**
2298
- *
2299
- * @summary Create DoctorAffiliationMedia. (Auth policies: RequireDoctorRole)
2300
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPostRequest} requestParameters Request parameters.
2301
- * @param {*} [options] Override http request option.
2302
- * @throws {RequiredError}
2303
- * @memberof DoctorAffiliationsApi
2304
- */
2305
- public apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdMediasPostRequest, options?: AxiosRequestConfig) {
2306
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdMediasPost(requestParameters.doctorAffiliationId, requestParameters.createMediaCommand, options).then((request) => request(this.axios, this.basePath));
2307
- }
2308
-
2309
- /**
2310
- *
2311
- * @summary Get all doctor affiliations. (Auth policies: RequireDoctorRole)
2312
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsGetRequest} requestParameters Request parameters.
2313
- * @param {*} [options] Override http request option.
2314
- * @throws {RequiredError}
2315
- * @memberof DoctorAffiliationsApi
2316
- */
2317
- public apiV1DoctoraffiliationsGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsGetRequest = {}, options?: AxiosRequestConfig) {
2318
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.doctorSlug, requestParameters.specialtyId, requestParameters.specialtyTypeId, requestParameters.marketingType, requestParameters.countryId, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2319
- }
2320
-
2321
- /**
2322
- *
2323
- * @summary Delete doctor affiliation. (Auth policies: RequireLocalManagerRole)
2324
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdDeleteRequest} requestParameters Request parameters.
2325
- * @param {*} [options] Override http request option.
2326
- * @throws {RequiredError}
2327
- * @memberof DoctorAffiliationsApi
2328
- */
2329
- public apiV1DoctoraffiliationsIdDelete(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdDeleteRequest, options?: AxiosRequestConfig) {
2330
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(requestParameters.id, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
2331
- }
2332
-
2333
- /**
2334
- *
2335
- * @summary Get doctor affiliation. (Auth policies: RequireDoctorRole)
2336
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdGetRequest} requestParameters Request parameters.
2337
- * @param {*} [options] Override http request option.
2338
- * @throws {RequiredError}
2339
- * @memberof DoctorAffiliationsApi
2340
- */
2341
- public apiV1DoctoraffiliationsIdGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdGetRequest, options?: AxiosRequestConfig) {
2342
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdGet(requestParameters.id, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
2343
- }
2344
-
2345
- /**
2346
- *
2347
- * @summary Update doctor affiliation. (Auth policies: RequireLocalManagerRole)
2348
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdPutRequest} requestParameters Request parameters.
2349
- * @param {*} [options] Override http request option.
2350
- * @throws {RequiredError}
2351
- * @memberof DoctorAffiliationsApi
2352
- */
2353
- public apiV1DoctoraffiliationsIdPut(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdPutRequest, options?: AxiosRequestConfig) {
2354
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(requestParameters.id, requestParameters.updateDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
2355
- }
2356
-
2357
- /**
2358
- *
2359
- * @summary Reactivate doctor affiliation. (Auth policies: RequireLocalManagerRole)
2360
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdReactivatePutRequest} requestParameters Request parameters.
2361
- * @param {*} [options] Override http request option.
2362
- * @throws {RequiredError}
2363
- * @memberof DoctorAffiliationsApi
2364
- */
2365
- public apiV1DoctoraffiliationsIdReactivatePut(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdReactivatePutRequest, options?: AxiosRequestConfig) {
2366
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdReactivatePut(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2367
- }
2368
-
2369
- /**
2370
- *
2371
- * @summary Revalidate doctorAffiliation (Auth policies: RequireLocalManagerRole)
2372
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePostRequest} requestParameters Request parameters.
2373
- * @param {*} [options] Override http request option.
2374
- * @throws {RequiredError}
2375
- * @memberof DoctorAffiliationsApi
2376
- */
2377
- public apiV1DoctoraffiliationsIdRevalidatePost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdRevalidatePostRequest, options?: AxiosRequestConfig) {
2378
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdRevalidatePost(requestParameters.id, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
2379
- }
2380
-
2381
- /**
2382
- *
2383
- * @summary Translate doctorAffiliation at once (Auth policies: RequireLocalManagerRole)
2384
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePostRequest} requestParameters Request parameters.
2385
- * @param {*} [options] Override http request option.
2386
- * @throws {RequiredError}
2387
- * @memberof DoctorAffiliationsApi
2388
- */
2389
- public apiV1DoctoraffiliationsIdTranslatePost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsIdTranslatePostRequest, options?: AxiosRequestConfig) {
2390
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdTranslatePost(requestParameters.id, requestParameters.translateDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
2391
- }
2392
-
2393
- /**
2394
- *
2395
- * @summary (Auth policies: RequireLocalManagerRole)
2396
- * @param {DoctorAffiliationsApiApiV1DoctoraffiliationsPostRequest} requestParameters Request parameters.
2397
- * @param {*} [options] Override http request option.
2398
- * @throws {RequiredError}
2399
- * @memberof DoctorAffiliationsApi
2400
- */
2401
- public apiV1DoctoraffiliationsPost(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsPostRequest = {}, options?: AxiosRequestConfig) {
2402
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsPost(requestParameters.createDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
2403
- }
2404
- }