ch-admin-api-client-typescript 4.9.3 → 4.9.5
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.
- package/lib/api/appointments-api.d.ts +395 -0
- package/lib/api/appointments-api.d.ts.map +1 -0
- package/lib/api/appointments-api.js +929 -0
- package/lib/api/deals-api.d.ts +393 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +912 -10
- package/lib/api/doctor-affiliations-api.d.ts +191 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +437 -0
- package/lib/api/hospitals-api.d.ts +611 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1439 -44
- package/lib/api/services-api.d.ts +8 -8
- package/lib/api/services-api.js +8 -8
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/appointment-change-log-model.d.ts +44 -0
- package/lib/models/appointment-change-log-model.d.ts.map +1 -0
- package/lib/models/appointment-change-log-model.js +15 -0
- package/lib/models/appointment-item-model.d.ts +282 -0
- package/lib/models/appointment-item-model.d.ts.map +1 -0
- package/lib/models/appointment-item-model.js +15 -0
- package/lib/models/appointment-model.d.ts +302 -0
- package/lib/models/appointment-model.d.ts.map +1 -0
- package/lib/models/appointment-model.js +15 -0
- package/lib/models/appointment-option-model.d.ts +63 -0
- package/lib/models/appointment-option-model.d.ts.map +1 -0
- package/lib/models/appointment-option-model.js +15 -0
- package/lib/models/appointment-status.d.ts +27 -0
- package/lib/models/appointment-status.d.ts.map +1 -0
- package/lib/models/appointment-status.js +30 -0
- package/lib/models/appointment-timetable-model.d.ts +44 -0
- package/lib/models/appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-model.js +15 -0
- package/lib/models/appointment-timetable-override-model.d.ts +56 -0
- package/lib/models/appointment-timetable-override-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-override-model.js +15 -0
- package/lib/models/appointment-timetable-overrides-model.d.ts +33 -0
- package/lib/models/appointment-timetable-overrides-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-overrides-model.js +15 -0
- package/lib/models/appointment-timetables-model.d.ts +33 -0
- package/lib/models/appointment-timetables-model.d.ts.map +1 -0
- package/lib/models/appointment-timetables-model.js +15 -0
- package/lib/models/appointment-type.d.ts +26 -0
- package/lib/models/appointment-type.d.ts.map +1 -0
- package/lib/models/appointment-type.js +29 -0
- package/lib/models/appointments-model.d.ts +33 -0
- package/lib/models/appointments-model.d.ts.map +1 -0
- package/lib/models/appointments-model.js +15 -0
- package/lib/models/approve-appointment-command.d.ts +31 -0
- package/lib/models/approve-appointment-command.d.ts.map +1 -0
- package/lib/models/approve-appointment-command.js +15 -0
- package/lib/models/batch-add-appointment-timetable-model.d.ts +38 -0
- package/lib/models/batch-add-appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/batch-add-appointment-timetable-model.js +15 -0
- package/lib/models/batch-appointment-timetables-result-model.d.ts +38 -0
- package/lib/models/batch-appointment-timetables-result-model.d.ts.map +1 -0
- package/lib/models/batch-appointment-timetables-result-model.js +15 -0
- package/lib/models/batch-deal-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-deal-appointment-timetables-command.js +15 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.js +15 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.js +15 -0
- package/lib/models/batch-hospital-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-hospital-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-hospital-appointment-timetables-command.js +15 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.js +15 -0
- package/lib/models/batch-service-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-service-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-service-appointment-timetables-command.js +15 -0
- package/lib/models/batch-update-appointment-timetable-model.d.ts +44 -0
- package/lib/models/batch-update-appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/batch-update-appointment-timetable-model.js +15 -0
- package/lib/models/create-article-command.d.ts +6 -0
- package/lib/models/create-article-command.d.ts.map +1 -1
- package/lib/models/create-deal-command.d.ts +7 -0
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-deal-package-command.d.ts +7 -0
- package/lib/models/create-deal-package-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +7 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-service-command.d.ts +7 -0
- package/lib/models/create-hospital-service-command.d.ts.map +1 -1
- package/lib/models/create-hospital-specialty-command.d.ts +7 -0
- package/lib/models/create-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +7 -0
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +7 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/deal-package-item-model.d.ts +7 -0
- package/lib/models/deal-package-item-model.d.ts.map +1 -1
- package/lib/models/deal-package-model.d.ts +7 -0
- package/lib/models/deal-package-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +7 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-service-item-model.d.ts +7 -0
- package/lib/models/hospital-service-item-model.d.ts.map +1 -1
- package/lib/models/hospital-service-model.d.ts +7 -0
- package/lib/models/hospital-service-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-item-model.d.ts +7 -0
- package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-model.d.ts +7 -0
- package/lib/models/hospital-specialty-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +30 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +30 -0
- package/lib/models/notification-code.d.ts +9 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +10 -1
- package/lib/models/reject-appointment-command.d.ts +32 -0
- package/lib/models/reject-appointment-command.d.ts.map +1 -0
- package/lib/models/reject-appointment-command.js +15 -0
- package/lib/models/save-appointment-timetable-override-model.d.ts +43 -0
- package/lib/models/save-appointment-timetable-override-model.d.ts.map +1 -0
- package/lib/models/save-appointment-timetable-override-model.js +15 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.d.ts +26 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.d.ts.map +1 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.js +15 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/update-deal-command.d.ts +7 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-deal-package-command.d.ts +7 -0
- package/lib/models/update-deal-package-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +7 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-service-command.d.ts +7 -0
- package/lib/models/update-hospital-service-command.d.ts.map +1 -1
- package/lib/models/update-hospital-specialty-command.d.ts +7 -0
- package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +445 -0
- package/src/.openapi-generator/VERSION +1 -0
- package/src/.openapi-generator-ignore +23 -0
- package/src/api/about-us-api.ts +624 -0
- package/src/api/accreditations-api.ts +473 -0
- package/src/api/app-version-api.ts +465 -0
- package/src/api/appointments-api.ts +802 -0
- package/src/api/articles-api.ts +2383 -0
- package/src/api/bookings-api.ts +738 -0
- package/src/api/chadmins-api.ts +519 -0
- package/src/api/chat-users-api.ts +620 -0
- package/src/api/chmanagers-api.ts +519 -0
- package/src/api/communications-api.ts +252 -0
- package/src/api/consultations-api.ts +756 -0
- package/src/api/contributors-api.ts +1090 -0
- package/src/api/countries-api.ts +1123 -0
- package/src/api/dash-board-api.ts +133 -0
- package/src/api/deals-api.ts +2728 -0
- package/src/api/doctor-affiliations-api.ts +1544 -0
- package/src/api/doctors-api.ts +3534 -0
- package/src/api/email-marketings-api.ts +529 -0
- package/src/api/faq-categories-api.ts +624 -0
- package/src/api/faqs-api.ts +1419 -0
- package/src/api/group-channels-api.ts +238 -0
- package/src/api/header-navigations-api.ts +445 -0
- package/src/api/hospitals-api.ts +8801 -0
- package/src/api/hospitals-consultation-timetable-overrides-api.ts +437 -0
- package/src/api/hospitals-consultation-timetables-api.ts +574 -0
- package/src/api/images-api.ts +120 -0
- package/src/api/languages-api.ts +481 -0
- package/src/api/managers-api.ts +884 -0
- package/src/api/memberships-api.ts +372 -0
- package/src/api/notifications-api.ts +241 -0
- package/src/api/patients-api.ts +769 -0
- package/src/api/payments-api.ts +114 -0
- package/src/api/plans-api.ts +889 -0
- package/src/api/profiles-api.ts +489 -0
- package/src/api/search-api.ts +132 -0
- package/src/api/service-reviews-api.ts +1015 -0
- package/src/api/services-api.ts +460 -0
- package/src/api/services-categories-api.ts +461 -0
- package/src/api/specialties-api.ts +1347 -0
- package/src/api/specialty-types-api.ts +1347 -0
- package/src/api/survey-forms-api.ts +515 -0
- package/src/api/survey-results-api.ts +328 -0
- package/src/api/tags-api.ts +385 -0
- package/src/api/translation-api.ts +131 -0
- package/src/api.ts +61 -0
- package/src/base.ts +71 -0
- package/src/common.ts +148 -0
- package/src/configuration.ts +101 -0
- package/src/git_push.sh +57 -0
- package/src/index.ts +18 -0
- package/src/models/about-us-page-item-model.ts +63 -0
- package/src/models/about-us-page-model.ts +126 -0
- package/src/models/about-us-pages-model.ts +42 -0
- package/src/models/accreditation-item-model.ts +48 -0
- package/src/models/accreditation-model.ts +48 -0
- package/src/models/accreditations-model.ts +42 -0
- package/src/models/admin-message-model.ts +84 -0
- package/src/models/app-version-item-model.ts +51 -0
- package/src/models/app-version-model.ts +51 -0
- package/src/models/app-versions-model.ts +42 -0
- package/src/models/appointment-change-log-model.ts +51 -0
- package/src/models/appointment-item-model.ts +297 -0
- package/src/models/appointment-model.ts +321 -0
- package/src/models/appointment-option-model.ts +72 -0
- package/src/models/appointment-status.ts +36 -0
- package/src/models/appointment-timetable-model.ts +51 -0
- package/src/models/appointment-timetable-override-model.ts +63 -0
- package/src/models/appointment-timetable-overrides-model.ts +42 -0
- package/src/models/appointment-timetables-model.ts +42 -0
- package/src/models/appointment-type.ts +35 -0
- package/src/models/appointments-model.ts +42 -0
- package/src/models/approve-appointment-command.ts +36 -0
- package/src/models/approve-booking-command.ts +36 -0
- package/src/models/approve-consultation-command.ts +36 -0
- package/src/models/article-contributor-item-model.ts +108 -0
- package/src/models/article-contributor-model.ts +135 -0
- package/src/models/article-contributors-model.ts +42 -0
- package/src/models/article-item-model.ts +150 -0
- package/src/models/article-model.ts +174 -0
- package/src/models/article-sources-model.ts +42 -0
- package/src/models/article-status.ts +32 -0
- package/src/models/article-tag-item-model.ts +42 -0
- package/src/models/article-tag-model.ts +42 -0
- package/src/models/article-tags-model.ts +42 -0
- package/src/models/articles-model.ts +42 -0
- package/src/models/auditable-entity-model.ts +72 -0
- package/src/models/auditable-entity.ts +72 -0
- package/src/models/batch-add-appointment-timetable-model.ts +45 -0
- package/src/models/batch-add-hospital-consultation-timetable-model.ts +45 -0
- package/src/models/batch-appointment-timetables-result-model.ts +45 -0
- package/src/models/batch-deal-appointment-timetables-command.ts +48 -0
- package/src/models/batch-deal-package-appointment-timetables-command.ts +48 -0
- package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +48 -0
- package/src/models/batch-hospital-appointment-timetables-command.ts +48 -0
- package/src/models/batch-hospital-consultation-timetable-result-model.ts +45 -0
- package/src/models/batch-hospital-consultation-timetables-command.ts +48 -0
- package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +48 -0
- package/src/models/batch-service-appointment-timetables-command.ts +48 -0
- package/src/models/batch-update-appointment-timetable-model.ts +51 -0
- package/src/models/batch-update-hospital-consultation-timetable-model.ts +51 -0
- package/src/models/booking-change-log-model.ts +51 -0
- package/src/models/booking-item-model.ts +258 -0
- package/src/models/booking-model.ts +267 -0
- package/src/models/booking-status.ts +36 -0
- package/src/models/bookings-model.ts +42 -0
- package/src/models/chadmin-item-model.ts +120 -0
- package/src/models/chadmin-model.ts +144 -0
- package/src/models/chadmins-model.ts +42 -0
- package/src/models/change-email-command.ts +30 -0
- package/src/models/chat-user-model.ts +78 -0
- package/src/models/chat-users-model.ts +39 -0
- package/src/models/check-notifications-command.ts +36 -0
- package/src/models/chmanager-item-model.ts +120 -0
- package/src/models/chmanager-model.ts +144 -0
- package/src/models/chmanagers-model.ts +42 -0
- package/src/models/communication-user-token-model.ts +48 -0
- package/src/models/confirm-email-command.ts +30 -0
- package/src/models/consultation-change-log-model.ts +51 -0
- package/src/models/consultation-item-model.ts +288 -0
- package/src/models/consultation-model.ts +297 -0
- package/src/models/consultation-status.ts +36 -0
- package/src/models/consultation-type.ts +32 -0
- package/src/models/consultations-model.ts +42 -0
- package/src/models/contribution-type.ts +32 -0
- package/src/models/contributor-item-model.ts +117 -0
- package/src/models/contributor-model.ts +135 -0
- package/src/models/contributor-sns-handles-model.ts +42 -0
- package/src/models/contributors-model.ts +42 -0
- package/src/models/countries-model.ts +42 -0
- package/src/models/country-item-model.ts +69 -0
- package/src/models/country-model.ts +102 -0
- package/src/models/create-about-us-page-command.ts +81 -0
- package/src/models/create-accreditation-command.ts +42 -0
- package/src/models/create-app-version-command.ts +51 -0
- package/src/models/create-article-command.ts +126 -0
- package/src/models/create-article-contributor-command.ts +51 -0
- package/src/models/create-article-source-command.ts +42 -0
- package/src/models/create-article-tag-command.ts +36 -0
- package/src/models/create-chadmin-command.ts +93 -0
- package/src/models/create-chat-user-command.ts +60 -0
- package/src/models/create-chmanager-command.ts +93 -0
- package/src/models/create-contributor-command.ts +66 -0
- package/src/models/create-contributor-sns-handle-command.ts +39 -0
- package/src/models/create-country-command.ts +63 -0
- package/src/models/create-deal-command.ts +90 -0
- package/src/models/create-deal-package-command.ts +72 -0
- package/src/models/create-deal-service-command.ts +42 -0
- package/src/models/create-doctor-affiliation-command.ts +132 -0
- package/src/models/create-doctor-certificate-command.ts +42 -0
- package/src/models/create-doctor-command.ts +105 -0
- package/src/models/create-doctor-education-command.ts +42 -0
- package/src/models/create-doctor-language-command.ts +42 -0
- package/src/models/create-doctor-portfolio-command.ts +60 -0
- package/src/models/create-doctor-specialty-command.ts +36 -0
- package/src/models/create-faq-category-command.ts +60 -0
- package/src/models/create-faq-command.ts +78 -0
- package/src/models/create-faq-tag-command.ts +36 -0
- package/src/models/create-hospital-accreditation-command.ts +30 -0
- package/src/models/create-hospital-command.ts +180 -0
- package/src/models/create-hospital-consultation-timetable-command.ts +45 -0
- package/src/models/create-hospital-equipment-command.ts +36 -0
- package/src/models/create-hospital-evaluation-command.ts +48 -0
- package/src/models/create-hospital-language-command.ts +42 -0
- package/src/models/create-hospital-service-command.ts +123 -0
- package/src/models/create-hospital-sns-handle-command.ts +39 -0
- package/src/models/create-hospital-specialty-command.ts +108 -0
- package/src/models/create-hospital-working-day-command.ts +48 -0
- package/src/models/create-landing-command.ts +81 -0
- package/src/models/create-language-command.ts +60 -0
- package/src/models/create-manager-affiliation-command.ts +30 -0
- package/src/models/create-manager-command.ts +99 -0
- package/src/models/create-media-command.ts +57 -0
- package/src/models/create-patient-command.ts +99 -0
- package/src/models/create-plan-command.ts +69 -0
- package/src/models/create-plan-hospital-command.ts +36 -0
- package/src/models/create-profile-command.ts +111 -0
- package/src/models/create-service-category-command.ts +42 -0
- package/src/models/create-service-review-command.ts +75 -0
- package/src/models/create-specialty-command.ts +87 -0
- package/src/models/create-specialty-type-command.ts +90 -0
- package/src/models/create-survey-form-command.ts +84 -0
- package/src/models/create-tag-command.ts +30 -0
- package/src/models/create-template-version-command.ts +42 -0
- package/src/models/dash-board-model.ts +96 -0
- package/src/models/day-of-week.ts +36 -0
- package/src/models/deal-item-model.ts +129 -0
- package/src/models/deal-item-simple-model.ts +54 -0
- package/src/models/deal-model.ts +153 -0
- package/src/models/deal-package-item-model.ts +117 -0
- package/src/models/deal-package-model.ts +129 -0
- package/src/models/deal-packages-model.ts +42 -0
- package/src/models/deal-service-item-model.ts +72 -0
- package/src/models/deal-service-model.ts +72 -0
- package/src/models/deal-services-model.ts +42 -0
- package/src/models/deals-model.ts +42 -0
- package/src/models/deals-simple-model.ts +42 -0
- package/src/models/delete-hospital-consultation-timetable-override-command.ts +51 -0
- package/src/models/doctor-affiliation-item-model.ts +141 -0
- package/src/models/doctor-affiliation-model.ts +186 -0
- package/src/models/doctor-affiliations-model.ts +42 -0
- package/src/models/doctor-certificate-item-model.ts +60 -0
- package/src/models/doctor-certificate-model.ts +60 -0
- package/src/models/doctor-certificates-model.ts +42 -0
- package/src/models/doctor-education-item-model.ts +72 -0
- package/src/models/doctor-education-model.ts +72 -0
- package/src/models/doctor-educations-model.ts +42 -0
- package/src/models/doctor-item-model.ts +120 -0
- package/src/models/doctor-language-item-model.ts +60 -0
- package/src/models/doctor-language-model.ts +60 -0
- package/src/models/doctor-languages-model.ts +42 -0
- package/src/models/doctor-model.ts +150 -0
- package/src/models/doctor-portfolio-item-model.ts +66 -0
- package/src/models/doctor-portfolio-model.ts +66 -0
- package/src/models/doctor-portfolios-model.ts +42 -0
- package/src/models/doctor-simple-item-model.ts +54 -0
- package/src/models/doctor-specialties-model.ts +42 -0
- package/src/models/doctor-specialty-model.ts +66 -0
- package/src/models/doctors-model.ts +42 -0
- package/src/models/doctors-simple-model.ts +42 -0
- package/src/models/duration.ts +34 -0
- package/src/models/faq-categories-model.ts +42 -0
- package/src/models/faq-category-item-model.ts +99 -0
- package/src/models/faq-category-model.ts +117 -0
- package/src/models/faq-item-model.ts +129 -0
- package/src/models/faq-model.ts +153 -0
- package/src/models/faq-tag-item-model.ts +42 -0
- package/src/models/faq-tag-model.ts +42 -0
- package/src/models/faq-tags-model.ts +42 -0
- package/src/models/faqs-model.ts +42 -0
- package/src/models/gender.ts +34 -0
- package/src/models/group-channel-list.ts +63 -0
- package/src/models/group-channel.ts +174 -0
- package/src/models/header-navigation-item-model.ts +66 -0
- package/src/models/hospital-accreditation-item-model.ts +48 -0
- package/src/models/hospital-accreditation-model.ts +48 -0
- package/src/models/hospital-accreditations-model.ts +42 -0
- package/src/models/hospital-consultation-option-model.ts +42 -0
- package/src/models/hospital-consultation-timetable-item-model.ts +51 -0
- package/src/models/hospital-consultation-timetable-model.ts +51 -0
- package/src/models/hospital-consultation-timetable-override-item-model.ts +63 -0
- package/src/models/hospital-consultation-timetable-override-model.ts +63 -0
- package/src/models/hospital-consultation-timetable-overrides-model.ts +42 -0
- package/src/models/hospital-consultation-timetables-model.ts +42 -0
- package/src/models/hospital-equipment-item-model.ts +60 -0
- package/src/models/hospital-equipment-model.ts +60 -0
- package/src/models/hospital-equipments-model.ts +42 -0
- package/src/models/hospital-evaluation-item-model.ts +54 -0
- package/src/models/hospital-evaluation-model.ts +54 -0
- package/src/models/hospital-evaluations-model.ts +42 -0
- package/src/models/hospital-item-model.ts +156 -0
- package/src/models/hospital-language-item-model.ts +60 -0
- package/src/models/hospital-languages-model.ts +42 -0
- package/src/models/hospital-model.ts +231 -0
- package/src/models/hospital-service-item-model.ts +165 -0
- package/src/models/hospital-service-model.ts +228 -0
- package/src/models/hospital-services-model.ts +42 -0
- package/src/models/hospital-simple-item-model.ts +54 -0
- package/src/models/hospital-sns-handles-model.ts +42 -0
- package/src/models/hospital-specialties-model.ts +42 -0
- package/src/models/hospital-specialties-simple-model.ts +42 -0
- package/src/models/hospital-specialty-item-model.ts +141 -0
- package/src/models/hospital-specialty-model.ts +201 -0
- package/src/models/hospital-specialty-simple-item-model.ts +60 -0
- package/src/models/hospitals-model.ts +42 -0
- package/src/models/hospitals-simple-model.ts +42 -0
- package/src/models/http-status-code.ts +90 -0
- package/src/models/index.ts +391 -0
- package/src/models/invite-send-bird-group-channel-command.ts +30 -0
- package/src/models/jtoken.ts +27 -0
- package/src/models/landing-item-model.ts +81 -0
- package/src/models/landing-model.ts +141 -0
- package/src/models/landings-model.ts +42 -0
- package/src/models/language-item-model.ts +60 -0
- package/src/models/language-model.ts +60 -0
- package/src/models/languages-model.ts +42 -0
- package/src/models/leaved-group-channels-model.ts +42 -0
- package/src/models/localized-url-model.ts +36 -0
- package/src/models/location-model.ts +72 -0
- package/src/models/manager-affiliation-item-model.ts +48 -0
- package/src/models/manager-affiliation-model.ts +48 -0
- package/src/models/manager-affiliations-model.ts +42 -0
- package/src/models/manager-item-model.ts +126 -0
- package/src/models/manager-model.ts +150 -0
- package/src/models/managers-model.ts +42 -0
- package/src/models/marketing-type.ts +32 -0
- package/src/models/media-model.ts +63 -0
- package/src/models/media-type.ts +36 -0
- package/src/models/medias-model.ts +42 -0
- package/src/models/member-model.ts +69 -0
- package/src/models/members-model.ts +42 -0
- package/src/models/membership-item-model.ts +75 -0
- package/src/models/membership-model.ts +75 -0
- package/src/models/memberships-model.ts +42 -0
- package/src/models/mention-type.ts +31 -0
- package/src/models/message-type.ts +32 -0
- package/src/models/metadata.ts +42 -0
- package/src/models/model-file.ts +72 -0
- package/src/models/notification-code.ts +57 -0
- package/src/models/notification-model.ts +93 -0
- package/src/models/notifications-model.ts +48 -0
- package/src/models/paged-list-meta-data.ts +84 -0
- package/src/models/patient-item-model.ts +129 -0
- package/src/models/patient-model.ts +159 -0
- package/src/models/patients-model.ts +42 -0
- package/src/models/plan-hospital-item-model.ts +54 -0
- package/src/models/plan-hospital-model.ts +54 -0
- package/src/models/plan-hospitals-model.ts +42 -0
- package/src/models/plan-item-model.ts +75 -0
- package/src/models/plan-model.ts +75 -0
- package/src/models/plans-model.ts +42 -0
- package/src/models/platform.ts +32 -0
- package/src/models/problem-details.ts +56 -0
- package/src/models/procedure.ts +31 -0
- package/src/models/recurring-interval.ts +33 -0
- package/src/models/refund-policy.ts +32 -0
- package/src/models/reject-appointment-command.ts +39 -0
- package/src/models/reject-booking-command.ts +39 -0
- package/src/models/reject-consultation-command.ts +39 -0
- package/src/models/reject-reason.ts +33 -0
- package/src/models/review-type.ts +32 -0
- package/src/models/save-appointment-timetable-override-model.ts +48 -0
- package/src/models/save-appointment-timetable-overrides-result-model.ts +33 -0
- package/src/models/save-deal-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-header-navigation-item-model.ts +54 -0
- package/src/models/save-header-navigations-command.ts +33 -0
- package/src/models/save-hospital-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-hospital-consultation-timetable-override-model.ts +48 -0
- package/src/models/save-hospital-consultation-timetable-overrides-command.ts +33 -0
- package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-service-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/search-index-type.ts +41 -0
- package/src/models/send-bird-group-channel-member.ts +87 -0
- package/src/models/send-bird-group-channel-model.ts +153 -0
- package/src/models/send-bird-group-channelr-operator.ts +42 -0
- package/src/models/send-template-version-command.ts +30 -0
- package/src/models/sendbird-response.ts +66 -0
- package/src/models/service-categories-model.ts +42 -0
- package/src/models/service-category-item-model.ts +60 -0
- package/src/models/service-category-mapping-model.ts +36 -0
- package/src/models/service-category-model.ts +60 -0
- package/src/models/service-review-item-model.ts +135 -0
- package/src/models/service-review-model.ts +153 -0
- package/src/models/service-reviews-model.ts +42 -0
- package/src/models/session-token.ts +36 -0
- package/src/models/sns-handle-model.ts +45 -0
- package/src/models/sns-type.ts +35 -0
- package/src/models/sorting-order.ts +31 -0
- package/src/models/source-model.ts +48 -0
- package/src/models/specialties-model.ts +42 -0
- package/src/models/specialties-simple-model.ts +42 -0
- package/src/models/specialty-item-model.ts +117 -0
- package/src/models/specialty-item-simple-model.ts +60 -0
- package/src/models/specialty-model.ts +141 -0
- package/src/models/specialty-type-item-model.ts +117 -0
- package/src/models/specialty-type-model.ts +135 -0
- package/src/models/specialty-type-simple-item-model.ts +54 -0
- package/src/models/specialty-types-model.ts +42 -0
- package/src/models/specialty-types-simple-model.ts +42 -0
- package/src/models/string-string-ienumerable-key-value-pair.ts +36 -0
- package/src/models/subscription-model.ts +42 -0
- package/src/models/survey-form-element-input-model.ts +90 -0
- package/src/models/survey-form-element-model.ts +90 -0
- package/src/models/survey-form-element-option-input-model.ts +60 -0
- package/src/models/survey-form-element-option-model.ts +66 -0
- package/src/models/survey-form-element-types.ts +41 -0
- package/src/models/survey-form-item-model.ts +72 -0
- package/src/models/survey-form-model.ts +99 -0
- package/src/models/survey-form-status.ts +31 -0
- package/src/models/survey-forms-model.ts +42 -0
- package/src/models/survey-result-element-model.ts +45 -0
- package/src/models/survey-result-element-value-model.ts +42 -0
- package/src/models/survey-result-item-model.ts +81 -0
- package/src/models/survey-result-model.ts +108 -0
- package/src/models/survey-result-user-model.ts +42 -0
- package/src/models/survey-results-model.ts +42 -0
- package/src/models/tag-item-model.ts +48 -0
- package/src/models/tag-model.ts +48 -0
- package/src/models/tags-model.ts +42 -0
- package/src/models/template-version-item-model.ts +72 -0
- package/src/models/template-version-model.ts +72 -0
- package/src/models/template-versions-model.ts +42 -0
- package/src/models/text-message.ts +141 -0
- package/src/models/translate-all-options.ts +32 -0
- package/src/models/translate-command.ts +48 -0
- package/src/models/translate-doctor-affiliation-command.ts +45 -0
- package/src/models/translate-hospital-command.ts +45 -0
- package/src/models/update-about-us-page-command.ts +105 -0
- package/src/models/update-accreditation-command.ts +42 -0
- package/src/models/update-app-version-command.ts +42 -0
- package/src/models/update-article-command.ts +144 -0
- package/src/models/update-article-contributor-command.ts +45 -0
- package/src/models/update-article-source-command.ts +42 -0
- package/src/models/update-chadmin-command.ts +93 -0
- package/src/models/update-chat-user-command.ts +48 -0
- package/src/models/update-chmanager-command.ts +93 -0
- package/src/models/update-contributor-command.ts +84 -0
- package/src/models/update-contributor-sns-handle-command.ts +39 -0
- package/src/models/update-country-command.ts +81 -0
- package/src/models/update-deal-command.ts +96 -0
- package/src/models/update-deal-package-command.ts +72 -0
- package/src/models/update-deal-service-command.ts +30 -0
- package/src/models/update-doctor-affiliation-command.ts +132 -0
- package/src/models/update-doctor-certificate-command.ts +42 -0
- package/src/models/update-doctor-command.ts +93 -0
- package/src/models/update-doctor-education-command.ts +42 -0
- package/src/models/update-doctor-language-command.ts +36 -0
- package/src/models/update-doctor-portfolio-command.ts +60 -0
- package/src/models/update-doctor-specialty-command.ts +30 -0
- package/src/models/update-faq-category-command.ts +66 -0
- package/src/models/update-faq-command.ts +96 -0
- package/src/models/update-hospital-command.ts +192 -0
- package/src/models/update-hospital-consultation-timetable-command.ts +45 -0
- package/src/models/update-hospital-equipment-command.ts +54 -0
- package/src/models/update-hospital-language-command.ts +36 -0
- package/src/models/update-hospital-service-command.ts +135 -0
- package/src/models/update-hospital-sns-handle-command.ts +39 -0
- package/src/models/update-hospital-specialty-command.ts +114 -0
- package/src/models/update-hospital-working-day-command.ts +48 -0
- package/src/models/update-landing-command.ts +93 -0
- package/src/models/update-language-command.ts +54 -0
- package/src/models/update-manager-command.ts +99 -0
- package/src/models/update-media-command.ts +57 -0
- package/src/models/update-patient-command.ts +93 -0
- package/src/models/update-plan-command.ts +63 -0
- package/src/models/update-plan-hospital-command.ts +30 -0
- package/src/models/update-profile-command.ts +99 -0
- package/src/models/update-service-category-command.ts +42 -0
- package/src/models/update-service-review-command.ts +72 -0
- package/src/models/update-specialty-command.ts +105 -0
- package/src/models/update-specialty-type-command.ts +108 -0
- package/src/models/update-survey-form-command.ts +78 -0
- package/src/models/update-template-version-command.ts +42 -0
- package/src/models/user-language-model.ts +60 -0
- package/src/models/user-location-model.ts +81 -0
- package/src/models/user-location-type.ts +31 -0
- package/src/models/user-model.ts +144 -0
- package/src/models/user.ts +123 -0
- package/src/models/working-day-item-model.ts +54 -0
- package/src/models/working-day-model.ts +54 -0
- package/src/models/working-days-model.ts +42 -0
|
@@ -0,0 +1,1347 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@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 { CreateMediaCommand } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateSpecialtyTypeCommand } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { MarketingType } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MediaModel } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { MediaType } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { MediasModel } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { ProblemDetails } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { SpecialtyTypeModel } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import { SpecialtyTypesModel } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import { SpecialtyTypesSimpleModel } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
import { UpdateMediaCommand } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
import { UpdateSpecialtyTypeCommand } from '../models';
|
|
47
|
+
/**
|
|
48
|
+
* SpecialtyTypesApi - axios parameter creator
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
52
|
+
return {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Get all Departments.
|
|
56
|
+
* @param {string} [id]
|
|
57
|
+
* @param {string} [name]
|
|
58
|
+
* @param {string} [description]
|
|
59
|
+
* @param {MarketingType} [marketingType]
|
|
60
|
+
* @param {string} [hospitalId]
|
|
61
|
+
* @param {Date} [created]
|
|
62
|
+
* @param {Array<string>} [ids]
|
|
63
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
64
|
+
* @param {string} [languageCode]
|
|
65
|
+
* @param {boolean} [showHidden]
|
|
66
|
+
* @param {boolean} [returnDefaultValue]
|
|
67
|
+
* @param {number} [page]
|
|
68
|
+
* @param {number} [limit]
|
|
69
|
+
* @param {Date} [lastRetrieved]
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74
|
+
const localVarPath = `/api/v1/specialtytypes`;
|
|
75
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
77
|
+
let baseOptions;
|
|
78
|
+
if (configuration) {
|
|
79
|
+
baseOptions = configuration.baseOptions;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
83
|
+
const localVarHeaderParameter = {} as any;
|
|
84
|
+
const localVarQueryParameter = {} as any;
|
|
85
|
+
|
|
86
|
+
// authentication oauth2 required
|
|
87
|
+
// oauth required
|
|
88
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
89
|
+
|
|
90
|
+
if (id !== undefined) {
|
|
91
|
+
localVarQueryParameter['Id'] = id;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (name !== undefined) {
|
|
95
|
+
localVarQueryParameter['Name'] = name;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (description !== undefined) {
|
|
99
|
+
localVarQueryParameter['Description'] = description;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (marketingType !== undefined) {
|
|
103
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (hospitalId !== undefined) {
|
|
107
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (created !== undefined) {
|
|
111
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
112
|
+
(created as any).toISOString() :
|
|
113
|
+
created;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (ids) {
|
|
117
|
+
localVarQueryParameter['Ids'] = ids;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
121
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (languageCode !== undefined) {
|
|
125
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (showHidden !== undefined) {
|
|
129
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
if (returnDefaultValue !== undefined) {
|
|
133
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (page !== undefined) {
|
|
137
|
+
localVarQueryParameter['page'] = page;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (limit !== undefined) {
|
|
141
|
+
localVarQueryParameter['limit'] = limit;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (lastRetrieved !== undefined) {
|
|
145
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
146
|
+
(lastRetrieved as any).toISOString() :
|
|
147
|
+
lastRetrieved;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
155
|
+
|
|
156
|
+
return {
|
|
157
|
+
url: toPathString(localVarUrlObj),
|
|
158
|
+
options: localVarRequestOptions,
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary Create a Department.
|
|
164
|
+
* @param {CreateSpecialtyTypeCommand} [createSpecialtyTypeCommand]
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
apiV1SpecialtytypesPost: async (createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
169
|
+
const localVarPath = `/api/v1/specialtytypes`;
|
|
170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
172
|
+
let baseOptions;
|
|
173
|
+
if (configuration) {
|
|
174
|
+
baseOptions = configuration.baseOptions;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
178
|
+
const localVarHeaderParameter = {} as any;
|
|
179
|
+
const localVarQueryParameter = {} as any;
|
|
180
|
+
|
|
181
|
+
// authentication oauth2 required
|
|
182
|
+
// oauth required
|
|
183
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
188
|
+
|
|
189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
192
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSpecialtyTypeCommand, localVarRequestOptions, configuration)
|
|
193
|
+
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary Get all Hospitals.
|
|
202
|
+
* @param {string} [id]
|
|
203
|
+
* @param {string} [name]
|
|
204
|
+
* @param {string} [description]
|
|
205
|
+
* @param {MarketingType} [marketingType]
|
|
206
|
+
* @param {string} [hospitalId]
|
|
207
|
+
* @param {Date} [created]
|
|
208
|
+
* @param {Array<string>} [ids]
|
|
209
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
210
|
+
* @param {string} [languageCode]
|
|
211
|
+
* @param {boolean} [showHidden]
|
|
212
|
+
* @param {boolean} [returnDefaultValue]
|
|
213
|
+
* @param {number} [page]
|
|
214
|
+
* @param {number} [limit]
|
|
215
|
+
* @param {Date} [lastRetrieved]
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
apiV1SpecialtytypesSimpleGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
220
|
+
const localVarPath = `/api/v1/specialtytypes/simple`;
|
|
221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
223
|
+
let baseOptions;
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
229
|
+
const localVarHeaderParameter = {} as any;
|
|
230
|
+
const localVarQueryParameter = {} as any;
|
|
231
|
+
|
|
232
|
+
// authentication oauth2 required
|
|
233
|
+
// oauth required
|
|
234
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
235
|
+
|
|
236
|
+
if (id !== undefined) {
|
|
237
|
+
localVarQueryParameter['Id'] = id;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (name !== undefined) {
|
|
241
|
+
localVarQueryParameter['Name'] = name;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (description !== undefined) {
|
|
245
|
+
localVarQueryParameter['Description'] = description;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (marketingType !== undefined) {
|
|
249
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (hospitalId !== undefined) {
|
|
253
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
if (created !== undefined) {
|
|
257
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
258
|
+
(created as any).toISOString() :
|
|
259
|
+
created;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
if (ids) {
|
|
263
|
+
localVarQueryParameter['Ids'] = ids;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
267
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
if (languageCode !== undefined) {
|
|
271
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
if (showHidden !== undefined) {
|
|
275
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
if (returnDefaultValue !== undefined) {
|
|
279
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
if (page !== undefined) {
|
|
283
|
+
localVarQueryParameter['page'] = page;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
if (limit !== undefined) {
|
|
287
|
+
localVarQueryParameter['limit'] = limit;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
if (lastRetrieved !== undefined) {
|
|
291
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
292
|
+
(lastRetrieved as any).toISOString() :
|
|
293
|
+
lastRetrieved;
|
|
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
|
|
310
|
+
* @param {string} slug
|
|
311
|
+
* @param {string} [languageCode]
|
|
312
|
+
* @param {boolean} [returnDefaultValue]
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
317
|
+
// verify required parameter 'slug' is not null or undefined
|
|
318
|
+
assertParamExists('apiV1SpecialtytypesSlugGet', 'slug', slug)
|
|
319
|
+
const localVarPath = `/api/v1/specialtytypes/{slug}`
|
|
320
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
322
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
323
|
+
let baseOptions;
|
|
324
|
+
if (configuration) {
|
|
325
|
+
baseOptions = configuration.baseOptions;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
329
|
+
const localVarHeaderParameter = {} as any;
|
|
330
|
+
const localVarQueryParameter = {} as any;
|
|
331
|
+
|
|
332
|
+
// authentication oauth2 required
|
|
333
|
+
// oauth required
|
|
334
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
335
|
+
|
|
336
|
+
if (languageCode !== undefined) {
|
|
337
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
if (returnDefaultValue !== undefined) {
|
|
341
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
349
|
+
|
|
350
|
+
return {
|
|
351
|
+
url: toPathString(localVarUrlObj),
|
|
352
|
+
options: localVarRequestOptions,
|
|
353
|
+
};
|
|
354
|
+
},
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Delete Department.
|
|
358
|
+
* @param {string} specialtyTypeId
|
|
359
|
+
* @param {boolean} [isPermanent]
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
apiV1SpecialtytypesSpecialtyTypeIdDelete: async (specialtyTypeId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
364
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
365
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdDelete', 'specialtyTypeId', specialtyTypeId)
|
|
366
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
|
|
367
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
368
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
369
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
370
|
+
let baseOptions;
|
|
371
|
+
if (configuration) {
|
|
372
|
+
baseOptions = configuration.baseOptions;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
376
|
+
const localVarHeaderParameter = {} as any;
|
|
377
|
+
const localVarQueryParameter = {} as any;
|
|
378
|
+
|
|
379
|
+
// authentication oauth2 required
|
|
380
|
+
// oauth required
|
|
381
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
382
|
+
|
|
383
|
+
if (isPermanent !== undefined) {
|
|
384
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
392
|
+
|
|
393
|
+
return {
|
|
394
|
+
url: toPathString(localVarUrlObj),
|
|
395
|
+
options: localVarRequestOptions,
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @summary
|
|
401
|
+
* @param {string} specialtyTypeId
|
|
402
|
+
* @param {string} [languageCode]
|
|
403
|
+
* @param {boolean} [returnDefaultValue]
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
408
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
409
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
410
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
|
|
411
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
413
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
414
|
+
let baseOptions;
|
|
415
|
+
if (configuration) {
|
|
416
|
+
baseOptions = configuration.baseOptions;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
420
|
+
const localVarHeaderParameter = {} as any;
|
|
421
|
+
const localVarQueryParameter = {} as any;
|
|
422
|
+
|
|
423
|
+
// authentication oauth2 required
|
|
424
|
+
// oauth required
|
|
425
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
426
|
+
|
|
427
|
+
if (languageCode !== undefined) {
|
|
428
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
if (returnDefaultValue !== undefined) {
|
|
432
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
439
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
440
|
+
|
|
441
|
+
return {
|
|
442
|
+
url: toPathString(localVarUrlObj),
|
|
443
|
+
options: localVarRequestOptions,
|
|
444
|
+
};
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary Get all SpecialtyTypeMedias.
|
|
449
|
+
* @param {string} specialtyTypeId
|
|
450
|
+
* @param {string} [id]
|
|
451
|
+
* @param {MediaType} [mediaType]
|
|
452
|
+
* @param {number} [page]
|
|
453
|
+
* @param {number} [limit]
|
|
454
|
+
* @param {Date} [lastRetrieved]
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasGet: async (specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
459
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
460
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasGet', 'specialtyTypeId', specialtyTypeId)
|
|
461
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/medias`
|
|
462
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
465
|
+
let baseOptions;
|
|
466
|
+
if (configuration) {
|
|
467
|
+
baseOptions = configuration.baseOptions;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
471
|
+
const localVarHeaderParameter = {} as any;
|
|
472
|
+
const localVarQueryParameter = {} as any;
|
|
473
|
+
|
|
474
|
+
// authentication oauth2 required
|
|
475
|
+
// oauth required
|
|
476
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
477
|
+
|
|
478
|
+
if (id !== undefined) {
|
|
479
|
+
localVarQueryParameter['Id'] = id;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
if (mediaType !== undefined) {
|
|
483
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
if (page !== undefined) {
|
|
487
|
+
localVarQueryParameter['page'] = page;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
if (limit !== undefined) {
|
|
491
|
+
localVarQueryParameter['limit'] = limit;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
if (lastRetrieved !== undefined) {
|
|
495
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
496
|
+
(lastRetrieved as any).toISOString() :
|
|
497
|
+
lastRetrieved;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
503
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
504
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
505
|
+
|
|
506
|
+
return {
|
|
507
|
+
url: toPathString(localVarUrlObj),
|
|
508
|
+
options: localVarRequestOptions,
|
|
509
|
+
};
|
|
510
|
+
},
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @summary Delete SpecialtyTypeMedia
|
|
514
|
+
* @param {string} specialtyTypeId
|
|
515
|
+
* @param {string} mediaId
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete: async (specialtyTypeId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
520
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
521
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete', 'specialtyTypeId', specialtyTypeId)
|
|
522
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
523
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
524
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/medias/{mediaId}`
|
|
525
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)))
|
|
526
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
527
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
528
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
529
|
+
let baseOptions;
|
|
530
|
+
if (configuration) {
|
|
531
|
+
baseOptions = configuration.baseOptions;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
535
|
+
const localVarHeaderParameter = {} as any;
|
|
536
|
+
const localVarQueryParameter = {} as any;
|
|
537
|
+
|
|
538
|
+
// authentication oauth2 required
|
|
539
|
+
// oauth required
|
|
540
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
545
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
547
|
+
|
|
548
|
+
return {
|
|
549
|
+
url: toPathString(localVarUrlObj),
|
|
550
|
+
options: localVarRequestOptions,
|
|
551
|
+
};
|
|
552
|
+
},
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @summary Get SpecialtyTypeMedia.
|
|
556
|
+
* @param {string} specialtyTypeId
|
|
557
|
+
* @param {string} mediaId
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
*/
|
|
561
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet: async (specialtyTypeId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
562
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
563
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
564
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
565
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
566
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/medias/{mediaId}`
|
|
567
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)))
|
|
568
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
569
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
570
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
571
|
+
let baseOptions;
|
|
572
|
+
if (configuration) {
|
|
573
|
+
baseOptions = configuration.baseOptions;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
577
|
+
const localVarHeaderParameter = {} as any;
|
|
578
|
+
const localVarQueryParameter = {} as any;
|
|
579
|
+
|
|
580
|
+
// authentication oauth2 required
|
|
581
|
+
// oauth required
|
|
582
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
589
|
+
|
|
590
|
+
return {
|
|
591
|
+
url: toPathString(localVarUrlObj),
|
|
592
|
+
options: localVarRequestOptions,
|
|
593
|
+
};
|
|
594
|
+
},
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @summary Update SpecialtyTypeMedia.
|
|
598
|
+
* @param {string} specialtyTypeId
|
|
599
|
+
* @param {string} mediaId
|
|
600
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut: async (specialtyTypeId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
605
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
606
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut', 'specialtyTypeId', specialtyTypeId)
|
|
607
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
608
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
609
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/medias/{mediaId}`
|
|
610
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)))
|
|
611
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
614
|
+
let baseOptions;
|
|
615
|
+
if (configuration) {
|
|
616
|
+
baseOptions = configuration.baseOptions;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
620
|
+
const localVarHeaderParameter = {} as any;
|
|
621
|
+
const localVarQueryParameter = {} as any;
|
|
622
|
+
|
|
623
|
+
// authentication oauth2 required
|
|
624
|
+
// oauth required
|
|
625
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
630
|
+
|
|
631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
633
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
634
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
635
|
+
|
|
636
|
+
return {
|
|
637
|
+
url: toPathString(localVarUrlObj),
|
|
638
|
+
options: localVarRequestOptions,
|
|
639
|
+
};
|
|
640
|
+
},
|
|
641
|
+
/**
|
|
642
|
+
*
|
|
643
|
+
* @summary Create SpecialtyTypeMedia.
|
|
644
|
+
* @param {string} specialtyTypeId
|
|
645
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasPost: async (specialtyTypeId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
650
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
651
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdMediasPost', 'specialtyTypeId', specialtyTypeId)
|
|
652
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/medias`
|
|
653
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
654
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
656
|
+
let baseOptions;
|
|
657
|
+
if (configuration) {
|
|
658
|
+
baseOptions = configuration.baseOptions;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
662
|
+
const localVarHeaderParameter = {} as any;
|
|
663
|
+
const localVarQueryParameter = {} as any;
|
|
664
|
+
|
|
665
|
+
// authentication oauth2 required
|
|
666
|
+
// oauth required
|
|
667
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
672
|
+
|
|
673
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
675
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
676
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
677
|
+
|
|
678
|
+
return {
|
|
679
|
+
url: toPathString(localVarUrlObj),
|
|
680
|
+
options: localVarRequestOptions,
|
|
681
|
+
};
|
|
682
|
+
},
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @summary Update Department.
|
|
686
|
+
* @param {string} specialtyTypeId
|
|
687
|
+
* @param {UpdateSpecialtyTypeCommand} [updateSpecialtyTypeCommand]
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
apiV1SpecialtytypesSpecialtyTypeIdPut: async (specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
692
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
693
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdPut', 'specialtyTypeId', specialtyTypeId)
|
|
694
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
|
|
695
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
698
|
+
let baseOptions;
|
|
699
|
+
if (configuration) {
|
|
700
|
+
baseOptions = configuration.baseOptions;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
704
|
+
const localVarHeaderParameter = {} as any;
|
|
705
|
+
const localVarQueryParameter = {} as any;
|
|
706
|
+
|
|
707
|
+
// authentication oauth2 required
|
|
708
|
+
// oauth required
|
|
709
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
714
|
+
|
|
715
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
717
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
718
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypeCommand, localVarRequestOptions, configuration)
|
|
719
|
+
|
|
720
|
+
return {
|
|
721
|
+
url: toPathString(localVarUrlObj),
|
|
722
|
+
options: localVarRequestOptions,
|
|
723
|
+
};
|
|
724
|
+
},
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
728
|
+
* @param {string} specialtyTypeId
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
apiV1SpecialtytypesSpecialtyTypeIdReactivePut: async (specialtyTypeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
733
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
734
|
+
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdReactivePut', 'specialtyTypeId', specialtyTypeId)
|
|
735
|
+
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}/reactive`
|
|
736
|
+
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
738
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
739
|
+
let baseOptions;
|
|
740
|
+
if (configuration) {
|
|
741
|
+
baseOptions = configuration.baseOptions;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
745
|
+
const localVarHeaderParameter = {} as any;
|
|
746
|
+
const localVarQueryParameter = {} as any;
|
|
747
|
+
|
|
748
|
+
// authentication oauth2 required
|
|
749
|
+
// oauth required
|
|
750
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
755
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
756
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
757
|
+
|
|
758
|
+
return {
|
|
759
|
+
url: toPathString(localVarUrlObj),
|
|
760
|
+
options: localVarRequestOptions,
|
|
761
|
+
};
|
|
762
|
+
},
|
|
763
|
+
}
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* SpecialtyTypesApi - functional programming interface
|
|
768
|
+
* @export
|
|
769
|
+
*/
|
|
770
|
+
export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
771
|
+
const localVarAxiosParamCreator = SpecialtyTypesApiAxiosParamCreator(configuration)
|
|
772
|
+
return {
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @summary Get all Departments.
|
|
776
|
+
* @param {string} [id]
|
|
777
|
+
* @param {string} [name]
|
|
778
|
+
* @param {string} [description]
|
|
779
|
+
* @param {MarketingType} [marketingType]
|
|
780
|
+
* @param {string} [hospitalId]
|
|
781
|
+
* @param {Date} [created]
|
|
782
|
+
* @param {Array<string>} [ids]
|
|
783
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
784
|
+
* @param {string} [languageCode]
|
|
785
|
+
* @param {boolean} [showHidden]
|
|
786
|
+
* @param {boolean} [returnDefaultValue]
|
|
787
|
+
* @param {number} [page]
|
|
788
|
+
* @param {number} [limit]
|
|
789
|
+
* @param {Date} [lastRetrieved]
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
*/
|
|
793
|
+
async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
795
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
796
|
+
},
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @summary Create a Department.
|
|
800
|
+
* @param {CreateSpecialtyTypeCommand} [createSpecialtyTypeCommand]
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
*/
|
|
804
|
+
async apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options);
|
|
806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Get all Hospitals.
|
|
811
|
+
* @param {string} [id]
|
|
812
|
+
* @param {string} [name]
|
|
813
|
+
* @param {string} [description]
|
|
814
|
+
* @param {MarketingType} [marketingType]
|
|
815
|
+
* @param {string} [hospitalId]
|
|
816
|
+
* @param {Date} [created]
|
|
817
|
+
* @param {Array<string>} [ids]
|
|
818
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
819
|
+
* @param {string} [languageCode]
|
|
820
|
+
* @param {boolean} [showHidden]
|
|
821
|
+
* @param {boolean} [returnDefaultValue]
|
|
822
|
+
* @param {number} [page]
|
|
823
|
+
* @param {number} [limit]
|
|
824
|
+
* @param {Date} [lastRetrieved]
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
async apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>> {
|
|
829
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
830
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
831
|
+
},
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary
|
|
835
|
+
* @param {string} slug
|
|
836
|
+
* @param {string} [languageCode]
|
|
837
|
+
* @param {boolean} [returnDefaultValue]
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
843
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
844
|
+
},
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @summary Delete Department.
|
|
848
|
+
* @param {string} specialtyTypeId
|
|
849
|
+
* @param {boolean} [isPermanent]
|
|
850
|
+
* @param {*} [options] Override http request option.
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
*/
|
|
853
|
+
async apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options);
|
|
855
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
856
|
+
},
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @summary
|
|
860
|
+
* @param {string} specialtyTypeId
|
|
861
|
+
* @param {string} [languageCode]
|
|
862
|
+
* @param {boolean} [returnDefaultValue]
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
*/
|
|
866
|
+
async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options);
|
|
868
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
869
|
+
},
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @summary Get all SpecialtyTypeMedias.
|
|
873
|
+
* @param {string} specialtyTypeId
|
|
874
|
+
* @param {string} [id]
|
|
875
|
+
* @param {MediaType} [mediaType]
|
|
876
|
+
* @param {number} [page]
|
|
877
|
+
* @param {number} [limit]
|
|
878
|
+
* @param {Date} [lastRetrieved]
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
async apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options);
|
|
884
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
885
|
+
},
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @summary Delete SpecialtyTypeMedia
|
|
889
|
+
* @param {string} specialtyTypeId
|
|
890
|
+
* @param {string} mediaId
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
async apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId, mediaId, options);
|
|
896
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
897
|
+
},
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @summary Get SpecialtyTypeMedia.
|
|
901
|
+
* @param {string} specialtyTypeId
|
|
902
|
+
* @param {string} mediaId
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
async apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options);
|
|
908
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
909
|
+
},
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @summary Update SpecialtyTypeMedia.
|
|
913
|
+
* @param {string} specialtyTypeId
|
|
914
|
+
* @param {string} mediaId
|
|
915
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
async apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
920
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId, mediaId, updateMediaCommand, options);
|
|
921
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
922
|
+
},
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @summary Create SpecialtyTypeMedia.
|
|
926
|
+
* @param {string} specialtyTypeId
|
|
927
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
928
|
+
* @param {*} [options] Override http request option.
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
*/
|
|
931
|
+
async apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId, createMediaCommand, options);
|
|
933
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
934
|
+
},
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @summary Update Department.
|
|
938
|
+
* @param {string} specialtyTypeId
|
|
939
|
+
* @param {UpdateSpecialtyTypeCommand} [updateSpecialtyTypeCommand]
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @throws {RequiredError}
|
|
942
|
+
*/
|
|
943
|
+
async apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
944
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options);
|
|
945
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
946
|
+
},
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
950
|
+
* @param {string} specialtyTypeId
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
*/
|
|
954
|
+
async apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options);
|
|
956
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
957
|
+
},
|
|
958
|
+
}
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* SpecialtyTypesApi - factory interface
|
|
963
|
+
* @export
|
|
964
|
+
*/
|
|
965
|
+
export const SpecialtyTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
966
|
+
const localVarFp = SpecialtyTypesApiFp(configuration)
|
|
967
|
+
return {
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @summary Get all Departments.
|
|
971
|
+
* @param {string} [id]
|
|
972
|
+
* @param {string} [name]
|
|
973
|
+
* @param {string} [description]
|
|
974
|
+
* @param {MarketingType} [marketingType]
|
|
975
|
+
* @param {string} [hospitalId]
|
|
976
|
+
* @param {Date} [created]
|
|
977
|
+
* @param {Array<string>} [ids]
|
|
978
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
979
|
+
* @param {string} [languageCode]
|
|
980
|
+
* @param {boolean} [showHidden]
|
|
981
|
+
* @param {boolean} [returnDefaultValue]
|
|
982
|
+
* @param {number} [page]
|
|
983
|
+
* @param {number} [limit]
|
|
984
|
+
* @param {Date} [lastRetrieved]
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
989
|
+
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
990
|
+
},
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @summary Create a Department.
|
|
994
|
+
* @param {CreateSpecialtyTypeCommand} [createSpecialtyTypeCommand]
|
|
995
|
+
* @param {*} [options] Override http request option.
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
*/
|
|
998
|
+
apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
999
|
+
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
1000
|
+
},
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @summary Get all Hospitals.
|
|
1004
|
+
* @param {string} [id]
|
|
1005
|
+
* @param {string} [name]
|
|
1006
|
+
* @param {string} [description]
|
|
1007
|
+
* @param {MarketingType} [marketingType]
|
|
1008
|
+
* @param {string} [hospitalId]
|
|
1009
|
+
* @param {Date} [created]
|
|
1010
|
+
* @param {Array<string>} [ids]
|
|
1011
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
1012
|
+
* @param {string} [languageCode]
|
|
1013
|
+
* @param {boolean} [showHidden]
|
|
1014
|
+
* @param {boolean} [returnDefaultValue]
|
|
1015
|
+
* @param {number} [page]
|
|
1016
|
+
* @param {number} [limit]
|
|
1017
|
+
* @param {Date} [lastRetrieved]
|
|
1018
|
+
* @param {*} [options] Override http request option.
|
|
1019
|
+
* @throws {RequiredError}
|
|
1020
|
+
*/
|
|
1021
|
+
apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel> {
|
|
1022
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1023
|
+
},
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @summary
|
|
1027
|
+
* @param {string} slug
|
|
1028
|
+
* @param {string} [languageCode]
|
|
1029
|
+
* @param {boolean} [returnDefaultValue]
|
|
1030
|
+
* @param {*} [options] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
*/
|
|
1033
|
+
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
1034
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1035
|
+
},
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @summary Delete Department.
|
|
1039
|
+
* @param {string} specialtyTypeId
|
|
1040
|
+
* @param {boolean} [isPermanent]
|
|
1041
|
+
* @param {*} [options] Override http request option.
|
|
1042
|
+
* @throws {RequiredError}
|
|
1043
|
+
*/
|
|
1044
|
+
apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1045
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then((request) => request(axios, basePath));
|
|
1046
|
+
},
|
|
1047
|
+
/**
|
|
1048
|
+
*
|
|
1049
|
+
* @summary
|
|
1050
|
+
* @param {string} specialtyTypeId
|
|
1051
|
+
* @param {string} [languageCode]
|
|
1052
|
+
* @param {boolean} [returnDefaultValue]
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
*/
|
|
1056
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
1057
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1058
|
+
},
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary Get all SpecialtyTypeMedias.
|
|
1062
|
+
* @param {string} specialtyTypeId
|
|
1063
|
+
* @param {string} [id]
|
|
1064
|
+
* @param {MediaType} [mediaType]
|
|
1065
|
+
* @param {number} [page]
|
|
1066
|
+
* @param {number} [limit]
|
|
1067
|
+
* @param {Date} [lastRetrieved]
|
|
1068
|
+
* @param {*} [options] Override http request option.
|
|
1069
|
+
* @throws {RequiredError}
|
|
1070
|
+
*/
|
|
1071
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
1072
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1073
|
+
},
|
|
1074
|
+
/**
|
|
1075
|
+
*
|
|
1076
|
+
* @summary Delete SpecialtyTypeMedia
|
|
1077
|
+
* @param {string} specialtyTypeId
|
|
1078
|
+
* @param {string} mediaId
|
|
1079
|
+
* @param {*} [options] Override http request option.
|
|
1080
|
+
* @throws {RequiredError}
|
|
1081
|
+
*/
|
|
1082
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
1083
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId, mediaId, options).then((request) => request(axios, basePath));
|
|
1084
|
+
},
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @summary Get SpecialtyTypeMedia.
|
|
1088
|
+
* @param {string} specialtyTypeId
|
|
1089
|
+
* @param {string} mediaId
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
*/
|
|
1093
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
1094
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options).then((request) => request(axios, basePath));
|
|
1095
|
+
},
|
|
1096
|
+
/**
|
|
1097
|
+
*
|
|
1098
|
+
* @summary Update SpecialtyTypeMedia.
|
|
1099
|
+
* @param {string} specialtyTypeId
|
|
1100
|
+
* @param {string} mediaId
|
|
1101
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
*/
|
|
1105
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
1106
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
1107
|
+
},
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @summary Create SpecialtyTypeMedia.
|
|
1111
|
+
* @param {string} specialtyTypeId
|
|
1112
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
*/
|
|
1116
|
+
apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
1117
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
1118
|
+
},
|
|
1119
|
+
/**
|
|
1120
|
+
*
|
|
1121
|
+
* @summary Update Department.
|
|
1122
|
+
* @param {string} specialtyTypeId
|
|
1123
|
+
* @param {UpdateSpecialtyTypeCommand} [updateSpecialtyTypeCommand]
|
|
1124
|
+
* @param {*} [options] Override http request option.
|
|
1125
|
+
* @throws {RequiredError}
|
|
1126
|
+
*/
|
|
1127
|
+
apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
1128
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
1129
|
+
},
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
1133
|
+
* @param {string} specialtyTypeId
|
|
1134
|
+
* @param {*} [options] Override http request option.
|
|
1135
|
+
* @throws {RequiredError}
|
|
1136
|
+
*/
|
|
1137
|
+
apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: any): AxiosPromise<boolean> {
|
|
1138
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then((request) => request(axios, basePath));
|
|
1139
|
+
},
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* SpecialtyTypesApi - object-oriented interface
|
|
1145
|
+
* @export
|
|
1146
|
+
* @class SpecialtyTypesApi
|
|
1147
|
+
* @extends {BaseAPI}
|
|
1148
|
+
*/
|
|
1149
|
+
export class SpecialtyTypesApi extends BaseAPI {
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @summary Get all Departments.
|
|
1153
|
+
* @param {string} [id]
|
|
1154
|
+
* @param {string} [name]
|
|
1155
|
+
* @param {string} [description]
|
|
1156
|
+
* @param {MarketingType} [marketingType]
|
|
1157
|
+
* @param {string} [hospitalId]
|
|
1158
|
+
* @param {Date} [created]
|
|
1159
|
+
* @param {Array<string>} [ids]
|
|
1160
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
1161
|
+
* @param {string} [languageCode]
|
|
1162
|
+
* @param {boolean} [showHidden]
|
|
1163
|
+
* @param {boolean} [returnDefaultValue]
|
|
1164
|
+
* @param {number} [page]
|
|
1165
|
+
* @param {number} [limit]
|
|
1166
|
+
* @param {Date} [lastRetrieved]
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
* @memberof SpecialtyTypesApi
|
|
1170
|
+
*/
|
|
1171
|
+
public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1172
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @summary Create a Department.
|
|
1178
|
+
* @param {CreateSpecialtyTypeCommand} [createSpecialtyTypeCommand]
|
|
1179
|
+
* @param {*} [options] Override http request option.
|
|
1180
|
+
* @throws {RequiredError}
|
|
1181
|
+
* @memberof SpecialtyTypesApi
|
|
1182
|
+
*/
|
|
1183
|
+
public apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: AxiosRequestConfig) {
|
|
1184
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @summary Get all Hospitals.
|
|
1190
|
+
* @param {string} [id]
|
|
1191
|
+
* @param {string} [name]
|
|
1192
|
+
* @param {string} [description]
|
|
1193
|
+
* @param {MarketingType} [marketingType]
|
|
1194
|
+
* @param {string} [hospitalId]
|
|
1195
|
+
* @param {Date} [created]
|
|
1196
|
+
* @param {Array<string>} [ids]
|
|
1197
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
1198
|
+
* @param {string} [languageCode]
|
|
1199
|
+
* @param {boolean} [showHidden]
|
|
1200
|
+
* @param {boolean} [returnDefaultValue]
|
|
1201
|
+
* @param {number} [page]
|
|
1202
|
+
* @param {number} [limit]
|
|
1203
|
+
* @param {Date} [lastRetrieved]
|
|
1204
|
+
* @param {*} [options] Override http request option.
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
* @memberof SpecialtyTypesApi
|
|
1207
|
+
*/
|
|
1208
|
+
public apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1209
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @summary
|
|
1215
|
+
* @param {string} slug
|
|
1216
|
+
* @param {string} [languageCode]
|
|
1217
|
+
* @param {boolean} [returnDefaultValue]
|
|
1218
|
+
* @param {*} [options] Override http request option.
|
|
1219
|
+
* @throws {RequiredError}
|
|
1220
|
+
* @memberof SpecialtyTypesApi
|
|
1221
|
+
*/
|
|
1222
|
+
public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
1223
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @summary Delete Department.
|
|
1229
|
+
* @param {string} specialtyTypeId
|
|
1230
|
+
* @param {boolean} [isPermanent]
|
|
1231
|
+
* @param {*} [options] Override http request option.
|
|
1232
|
+
* @throws {RequiredError}
|
|
1233
|
+
* @memberof SpecialtyTypesApi
|
|
1234
|
+
*/
|
|
1235
|
+
public apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
|
|
1236
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @summary
|
|
1242
|
+
* @param {string} specialtyTypeId
|
|
1243
|
+
* @param {string} [languageCode]
|
|
1244
|
+
* @param {boolean} [returnDefaultValue]
|
|
1245
|
+
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @throws {RequiredError}
|
|
1247
|
+
* @memberof SpecialtyTypesApi
|
|
1248
|
+
*/
|
|
1249
|
+
public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
1250
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @summary Get all SpecialtyTypeMedias.
|
|
1256
|
+
* @param {string} specialtyTypeId
|
|
1257
|
+
* @param {string} [id]
|
|
1258
|
+
* @param {MediaType} [mediaType]
|
|
1259
|
+
* @param {number} [page]
|
|
1260
|
+
* @param {number} [limit]
|
|
1261
|
+
* @param {Date} [lastRetrieved]
|
|
1262
|
+
* @param {*} [options] Override http request option.
|
|
1263
|
+
* @throws {RequiredError}
|
|
1264
|
+
* @memberof SpecialtyTypesApi
|
|
1265
|
+
*/
|
|
1266
|
+
public apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1267
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @summary Delete SpecialtyTypeMedia
|
|
1273
|
+
* @param {string} specialtyTypeId
|
|
1274
|
+
* @param {string} mediaId
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
* @memberof SpecialtyTypesApi
|
|
1278
|
+
*/
|
|
1279
|
+
public apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
1280
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdDelete(specialtyTypeId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @summary Get SpecialtyTypeMedia.
|
|
1286
|
+
* @param {string} specialtyTypeId
|
|
1287
|
+
* @param {string} mediaId
|
|
1288
|
+
* @param {*} [options] Override http request option.
|
|
1289
|
+
* @throws {RequiredError}
|
|
1290
|
+
* @memberof SpecialtyTypesApi
|
|
1291
|
+
*/
|
|
1292
|
+
public apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
1293
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
*
|
|
1298
|
+
* @summary Update SpecialtyTypeMedia.
|
|
1299
|
+
* @param {string} specialtyTypeId
|
|
1300
|
+
* @param {string} mediaId
|
|
1301
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof SpecialtyTypesApi
|
|
1305
|
+
*/
|
|
1306
|
+
public apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
1307
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdMediasMediaIdPut(specialtyTypeId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @summary Create SpecialtyTypeMedia.
|
|
1313
|
+
* @param {string} specialtyTypeId
|
|
1314
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
1315
|
+
* @param {*} [options] Override http request option.
|
|
1316
|
+
* @throws {RequiredError}
|
|
1317
|
+
* @memberof SpecialtyTypesApi
|
|
1318
|
+
*/
|
|
1319
|
+
public apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
1320
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdMediasPost(specialtyTypeId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
*
|
|
1325
|
+
* @summary Update Department.
|
|
1326
|
+
* @param {string} specialtyTypeId
|
|
1327
|
+
* @param {UpdateSpecialtyTypeCommand} [updateSpecialtyTypeCommand]
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
* @memberof SpecialtyTypesApi
|
|
1331
|
+
*/
|
|
1332
|
+
public apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId: string, updateSpecialtyTypeCommand?: UpdateSpecialtyTypeCommand, options?: AxiosRequestConfig) {
|
|
1333
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
1339
|
+
* @param {string} specialtyTypeId
|
|
1340
|
+
* @param {*} [options] Override http request option.
|
|
1341
|
+
* @throws {RequiredError}
|
|
1342
|
+
* @memberof SpecialtyTypesApi
|
|
1343
|
+
*/
|
|
1344
|
+
public apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId: string, options?: AxiosRequestConfig) {
|
|
1345
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
1346
|
+
}
|
|
1347
|
+
}
|