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
package/lib/api/hospitals-api.js
CHANGED
|
@@ -404,6 +404,236 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
404
404
|
});
|
|
405
405
|
});
|
|
406
406
|
},
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @summary Get Hospital appointment timetable overrides
|
|
410
|
+
* @param {string} hospitalId
|
|
411
|
+
* @param {boolean} [includesPreviousItems]
|
|
412
|
+
* @param {Date} [startDate]
|
|
413
|
+
* @param {Date} [endDate]
|
|
414
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
415
|
+
* @param {number} [page]
|
|
416
|
+
* @param {number} [limit]
|
|
417
|
+
* @param {Date} [lastRetrieved]
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
422
|
+
if (options === void 0) { options = {}; }
|
|
423
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
424
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
425
|
+
return __generator(this, function (_a) {
|
|
426
|
+
switch (_a.label) {
|
|
427
|
+
case 0:
|
|
428
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
429
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId);
|
|
430
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/appointmenttimetableoverrides"
|
|
431
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
432
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
437
|
+
localVarHeaderParameter = {};
|
|
438
|
+
localVarQueryParameter = {};
|
|
439
|
+
// authentication oauth2 required
|
|
440
|
+
// oauth required
|
|
441
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
442
|
+
case 1:
|
|
443
|
+
// authentication oauth2 required
|
|
444
|
+
// oauth required
|
|
445
|
+
_a.sent();
|
|
446
|
+
if (includesPreviousItems !== undefined) {
|
|
447
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
448
|
+
}
|
|
449
|
+
if (startDate !== undefined) {
|
|
450
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
451
|
+
startDate.toISOString() :
|
|
452
|
+
startDate;
|
|
453
|
+
}
|
|
454
|
+
if (endDate !== undefined) {
|
|
455
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
456
|
+
endDate.toISOString() :
|
|
457
|
+
endDate;
|
|
458
|
+
}
|
|
459
|
+
if (dayOfWeek !== undefined) {
|
|
460
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
461
|
+
}
|
|
462
|
+
if (page !== undefined) {
|
|
463
|
+
localVarQueryParameter['page'] = page;
|
|
464
|
+
}
|
|
465
|
+
if (limit !== undefined) {
|
|
466
|
+
localVarQueryParameter['limit'] = limit;
|
|
467
|
+
}
|
|
468
|
+
if (lastRetrieved !== undefined) {
|
|
469
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
470
|
+
lastRetrieved.toISOString() :
|
|
471
|
+
lastRetrieved;
|
|
472
|
+
}
|
|
473
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
474
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
476
|
+
return [2 /*return*/, {
|
|
477
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
478
|
+
options: localVarRequestOptions,
|
|
479
|
+
}];
|
|
480
|
+
}
|
|
481
|
+
});
|
|
482
|
+
});
|
|
483
|
+
},
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @summary Save Hospital appointment timetable overrides
|
|
487
|
+
* @param {string} hospitalId
|
|
488
|
+
* @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost: function (hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options) {
|
|
493
|
+
if (options === void 0) { options = {}; }
|
|
494
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
495
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
496
|
+
return __generator(this, function (_a) {
|
|
497
|
+
switch (_a.label) {
|
|
498
|
+
case 0:
|
|
499
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
500
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId);
|
|
501
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/appointmenttimetableoverrides"
|
|
502
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
503
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
504
|
+
if (configuration) {
|
|
505
|
+
baseOptions = configuration.baseOptions;
|
|
506
|
+
}
|
|
507
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
508
|
+
localVarHeaderParameter = {};
|
|
509
|
+
localVarQueryParameter = {};
|
|
510
|
+
// authentication oauth2 required
|
|
511
|
+
// oauth required
|
|
512
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
513
|
+
case 1:
|
|
514
|
+
// authentication oauth2 required
|
|
515
|
+
// oauth required
|
|
516
|
+
_a.sent();
|
|
517
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
518
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
519
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
520
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
521
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveHospitalAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
522
|
+
return [2 /*return*/, {
|
|
523
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
524
|
+
options: localVarRequestOptions,
|
|
525
|
+
}];
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
});
|
|
529
|
+
},
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @summary Add, update, delete Hospital appointment timetables
|
|
533
|
+
* @param {string} hospitalId
|
|
534
|
+
* @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost: function (hospitalId, batchHospitalAppointmentTimetablesCommand, options) {
|
|
539
|
+
if (options === void 0) { options = {}; }
|
|
540
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
541
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
542
|
+
return __generator(this, function (_a) {
|
|
543
|
+
switch (_a.label) {
|
|
544
|
+
case 0:
|
|
545
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
546
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId);
|
|
547
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/appointmenttimetables/batch"
|
|
548
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
549
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
550
|
+
if (configuration) {
|
|
551
|
+
baseOptions = configuration.baseOptions;
|
|
552
|
+
}
|
|
553
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
554
|
+
localVarHeaderParameter = {};
|
|
555
|
+
localVarQueryParameter = {};
|
|
556
|
+
// authentication oauth2 required
|
|
557
|
+
// oauth required
|
|
558
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
559
|
+
case 1:
|
|
560
|
+
// authentication oauth2 required
|
|
561
|
+
// oauth required
|
|
562
|
+
_a.sent();
|
|
563
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
564
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
565
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
566
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
567
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchHospitalAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
568
|
+
return [2 /*return*/, {
|
|
569
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
570
|
+
options: localVarRequestOptions,
|
|
571
|
+
}];
|
|
572
|
+
}
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
},
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @summary Get Hospital appointment timetables
|
|
579
|
+
* @param {string} hospitalId
|
|
580
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
581
|
+
* @param {number} [page]
|
|
582
|
+
* @param {number} [limit]
|
|
583
|
+
* @param {Date} [lastRetrieved]
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
588
|
+
if (options === void 0) { options = {}; }
|
|
589
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
590
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
591
|
+
return __generator(this, function (_a) {
|
|
592
|
+
switch (_a.label) {
|
|
593
|
+
case 0:
|
|
594
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
595
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
|
|
596
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/appointmenttimetables"
|
|
597
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
598
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
599
|
+
if (configuration) {
|
|
600
|
+
baseOptions = configuration.baseOptions;
|
|
601
|
+
}
|
|
602
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
603
|
+
localVarHeaderParameter = {};
|
|
604
|
+
localVarQueryParameter = {};
|
|
605
|
+
// authentication oauth2 required
|
|
606
|
+
// oauth required
|
|
607
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
608
|
+
case 1:
|
|
609
|
+
// authentication oauth2 required
|
|
610
|
+
// oauth required
|
|
611
|
+
_a.sent();
|
|
612
|
+
if (dayOfWeek !== undefined) {
|
|
613
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
614
|
+
}
|
|
615
|
+
if (page !== undefined) {
|
|
616
|
+
localVarQueryParameter['page'] = page;
|
|
617
|
+
}
|
|
618
|
+
if (limit !== undefined) {
|
|
619
|
+
localVarQueryParameter['limit'] = limit;
|
|
620
|
+
}
|
|
621
|
+
if (lastRetrieved !== undefined) {
|
|
622
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
623
|
+
lastRetrieved.toISOString() :
|
|
624
|
+
lastRetrieved;
|
|
625
|
+
}
|
|
626
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
627
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
628
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
629
|
+
return [2 /*return*/, {
|
|
630
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
631
|
+
options: localVarRequestOptions,
|
|
632
|
+
}];
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
});
|
|
636
|
+
},
|
|
407
637
|
/**
|
|
408
638
|
*
|
|
409
639
|
* @summary Delete Hospital.
|
|
@@ -2542,14 +2772,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2542
2772
|
},
|
|
2543
2773
|
/**
|
|
2544
2774
|
*
|
|
2545
|
-
* @summary
|
|
2775
|
+
* @summary Get HospitalSpecialty appointment timetable overrides
|
|
2546
2776
|
* @param {string} hospitalId
|
|
2547
2777
|
* @param {string} hospitalSpecialtyId
|
|
2548
|
-
* @param {boolean} [
|
|
2778
|
+
* @param {boolean} [includesPreviousItems]
|
|
2779
|
+
* @param {Date} [startDate]
|
|
2780
|
+
* @param {Date} [endDate]
|
|
2781
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2782
|
+
* @param {number} [page]
|
|
2783
|
+
* @param {number} [limit]
|
|
2784
|
+
* @param {Date} [lastRetrieved]
|
|
2549
2785
|
* @param {*} [options] Override http request option.
|
|
2550
2786
|
* @throws {RequiredError}
|
|
2551
2787
|
*/
|
|
2552
|
-
|
|
2788
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet: function (hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2553
2789
|
if (options === void 0) { options = {}; }
|
|
2554
2790
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2555
2791
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2557,17 +2793,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2557
2793
|
switch (_a.label) {
|
|
2558
2794
|
case 0:
|
|
2559
2795
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2560
|
-
(0, common_1.assertParamExists)('
|
|
2796
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId);
|
|
2561
2797
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
2562
|
-
(0, common_1.assertParamExists)('
|
|
2563
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}"
|
|
2798
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
2799
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetableoverrides"
|
|
2564
2800
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2565
2801
|
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
2566
2802
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2567
2803
|
if (configuration) {
|
|
2568
2804
|
baseOptions = configuration.baseOptions;
|
|
2569
2805
|
}
|
|
2570
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2806
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2571
2807
|
localVarHeaderParameter = {};
|
|
2572
2808
|
localVarQueryParameter = {};
|
|
2573
2809
|
// authentication oauth2 required
|
|
@@ -2577,8 +2813,32 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2577
2813
|
// authentication oauth2 required
|
|
2578
2814
|
// oauth required
|
|
2579
2815
|
_a.sent();
|
|
2580
|
-
if (
|
|
2581
|
-
localVarQueryParameter['
|
|
2816
|
+
if (includesPreviousItems !== undefined) {
|
|
2817
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
2818
|
+
}
|
|
2819
|
+
if (startDate !== undefined) {
|
|
2820
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
2821
|
+
startDate.toISOString() :
|
|
2822
|
+
startDate;
|
|
2823
|
+
}
|
|
2824
|
+
if (endDate !== undefined) {
|
|
2825
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
2826
|
+
endDate.toISOString() :
|
|
2827
|
+
endDate;
|
|
2828
|
+
}
|
|
2829
|
+
if (dayOfWeek !== undefined) {
|
|
2830
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
2831
|
+
}
|
|
2832
|
+
if (page !== undefined) {
|
|
2833
|
+
localVarQueryParameter['page'] = page;
|
|
2834
|
+
}
|
|
2835
|
+
if (limit !== undefined) {
|
|
2836
|
+
localVarQueryParameter['limit'] = limit;
|
|
2837
|
+
}
|
|
2838
|
+
if (lastRetrieved !== undefined) {
|
|
2839
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
2840
|
+
lastRetrieved.toISOString() :
|
|
2841
|
+
lastRetrieved;
|
|
2582
2842
|
}
|
|
2583
2843
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2584
2844
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2593,14 +2853,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2593
2853
|
},
|
|
2594
2854
|
/**
|
|
2595
2855
|
*
|
|
2596
|
-
* @summary
|
|
2856
|
+
* @summary Save HospitalSpecialty appointment timetable overrides
|
|
2597
2857
|
* @param {string} hospitalId
|
|
2598
2858
|
* @param {string} hospitalSpecialtyId
|
|
2599
|
-
* @param {
|
|
2859
|
+
* @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
|
|
2600
2860
|
* @param {*} [options] Override http request option.
|
|
2601
2861
|
* @throws {RequiredError}
|
|
2602
2862
|
*/
|
|
2603
|
-
|
|
2863
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost: function (hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options) {
|
|
2604
2864
|
if (options === void 0) { options = {}; }
|
|
2605
2865
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2606
2866
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2608,17 +2868,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2608
2868
|
switch (_a.label) {
|
|
2609
2869
|
case 0:
|
|
2610
2870
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2611
|
-
(0, common_1.assertParamExists)('
|
|
2871
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId);
|
|
2612
2872
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
2613
|
-
(0, common_1.assertParamExists)('
|
|
2614
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}"
|
|
2873
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
2874
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetableoverrides"
|
|
2615
2875
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2616
2876
|
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
2617
2877
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2618
2878
|
if (configuration) {
|
|
2619
2879
|
baseOptions = configuration.baseOptions;
|
|
2620
2880
|
}
|
|
2621
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2881
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2622
2882
|
localVarHeaderParameter = {};
|
|
2623
2883
|
localVarQueryParameter = {};
|
|
2624
2884
|
// authentication oauth2 required
|
|
@@ -2628,12 +2888,11 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2628
2888
|
// authentication oauth2 required
|
|
2629
2889
|
// oauth required
|
|
2630
2890
|
_a.sent();
|
|
2631
|
-
|
|
2632
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
2633
|
-
}
|
|
2891
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2634
2892
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2635
2893
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2636
2894
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2895
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveHospitalSpecialtyAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
2637
2896
|
return [2 /*return*/, {
|
|
2638
2897
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2639
2898
|
options: localVarRequestOptions,
|
|
@@ -2644,18 +2903,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2644
2903
|
},
|
|
2645
2904
|
/**
|
|
2646
2905
|
*
|
|
2647
|
-
* @summary
|
|
2906
|
+
* @summary Add, update, delete HospitalSpecialty appointment timetables
|
|
2648
2907
|
* @param {string} hospitalId
|
|
2649
2908
|
* @param {string} hospitalSpecialtyId
|
|
2650
|
-
* @param {
|
|
2651
|
-
* @param {MediaType} [mediaType]
|
|
2652
|
-
* @param {number} [page]
|
|
2653
|
-
* @param {number} [limit]
|
|
2654
|
-
* @param {Date} [lastRetrieved]
|
|
2909
|
+
* @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
|
|
2655
2910
|
* @param {*} [options] Override http request option.
|
|
2656
2911
|
* @throws {RequiredError}
|
|
2657
2912
|
*/
|
|
2658
|
-
|
|
2913
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost: function (hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options) {
|
|
2659
2914
|
if (options === void 0) { options = {}; }
|
|
2660
2915
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2661
2916
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2663,17 +2918,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2663
2918
|
switch (_a.label) {
|
|
2664
2919
|
case 0:
|
|
2665
2920
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2666
|
-
(0, common_1.assertParamExists)('
|
|
2921
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId);
|
|
2667
2922
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
2668
|
-
(0, common_1.assertParamExists)('
|
|
2669
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/
|
|
2923
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
2924
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables/batch"
|
|
2670
2925
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2671
2926
|
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
2672
2927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2673
2928
|
if (configuration) {
|
|
2674
2929
|
baseOptions = configuration.baseOptions;
|
|
2675
2930
|
}
|
|
2676
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2931
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2677
2932
|
localVarHeaderParameter = {};
|
|
2678
2933
|
localVarQueryParameter = {};
|
|
2679
2934
|
// authentication oauth2 required
|
|
@@ -2683,14 +2938,235 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2683
2938
|
// authentication oauth2 required
|
|
2684
2939
|
// oauth required
|
|
2685
2940
|
_a.sent();
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2941
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2942
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2943
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2944
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2945
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchHospitalSpecialtyAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
2946
|
+
return [2 /*return*/, {
|
|
2947
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2948
|
+
options: localVarRequestOptions,
|
|
2949
|
+
}];
|
|
2950
|
+
}
|
|
2951
|
+
});
|
|
2952
|
+
});
|
|
2953
|
+
},
|
|
2954
|
+
/**
|
|
2955
|
+
*
|
|
2956
|
+
* @summary Get HospitalSpecialty appointment timetables
|
|
2957
|
+
* @param {string} hospitalId
|
|
2958
|
+
* @param {string} hospitalSpecialtyId
|
|
2959
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2960
|
+
* @param {number} [page]
|
|
2961
|
+
* @param {number} [limit]
|
|
2962
|
+
* @param {Date} [lastRetrieved]
|
|
2963
|
+
* @param {*} [options] Override http request option.
|
|
2964
|
+
* @throws {RequiredError}
|
|
2965
|
+
*/
|
|
2966
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2967
|
+
if (options === void 0) { options = {}; }
|
|
2968
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2969
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2970
|
+
return __generator(this, function (_a) {
|
|
2971
|
+
switch (_a.label) {
|
|
2972
|
+
case 0:
|
|
2973
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2974
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
|
|
2975
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
2976
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
2977
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/appointmenttimetables"
|
|
2978
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2979
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
2980
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2981
|
+
if (configuration) {
|
|
2982
|
+
baseOptions = configuration.baseOptions;
|
|
2983
|
+
}
|
|
2984
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2985
|
+
localVarHeaderParameter = {};
|
|
2986
|
+
localVarQueryParameter = {};
|
|
2987
|
+
// authentication oauth2 required
|
|
2988
|
+
// oauth required
|
|
2989
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
2990
|
+
case 1:
|
|
2991
|
+
// authentication oauth2 required
|
|
2992
|
+
// oauth required
|
|
2993
|
+
_a.sent();
|
|
2994
|
+
if (dayOfWeek !== undefined) {
|
|
2995
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
2996
|
+
}
|
|
2997
|
+
if (page !== undefined) {
|
|
2998
|
+
localVarQueryParameter['page'] = page;
|
|
2999
|
+
}
|
|
3000
|
+
if (limit !== undefined) {
|
|
3001
|
+
localVarQueryParameter['limit'] = limit;
|
|
3002
|
+
}
|
|
3003
|
+
if (lastRetrieved !== undefined) {
|
|
3004
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3005
|
+
lastRetrieved.toISOString() :
|
|
3006
|
+
lastRetrieved;
|
|
3007
|
+
}
|
|
3008
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3009
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3010
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3011
|
+
return [2 /*return*/, {
|
|
3012
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3013
|
+
options: localVarRequestOptions,
|
|
3014
|
+
}];
|
|
3015
|
+
}
|
|
3016
|
+
});
|
|
3017
|
+
});
|
|
3018
|
+
},
|
|
3019
|
+
/**
|
|
3020
|
+
*
|
|
3021
|
+
* @summary Delete HospitalSpecialty.
|
|
3022
|
+
* @param {string} hospitalId
|
|
3023
|
+
* @param {string} hospitalSpecialtyId
|
|
3024
|
+
* @param {boolean} [isPermanent]
|
|
3025
|
+
* @param {*} [options] Override http request option.
|
|
3026
|
+
* @throws {RequiredError}
|
|
3027
|
+
*/
|
|
3028
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, isPermanent, options) {
|
|
3029
|
+
if (options === void 0) { options = {}; }
|
|
3030
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3031
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3032
|
+
return __generator(this, function (_a) {
|
|
3033
|
+
switch (_a.label) {
|
|
3034
|
+
case 0:
|
|
3035
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3036
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId);
|
|
3037
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
3038
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
3039
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}"
|
|
3040
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3041
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
3042
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3043
|
+
if (configuration) {
|
|
3044
|
+
baseOptions = configuration.baseOptions;
|
|
3045
|
+
}
|
|
3046
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3047
|
+
localVarHeaderParameter = {};
|
|
3048
|
+
localVarQueryParameter = {};
|
|
3049
|
+
// authentication oauth2 required
|
|
3050
|
+
// oauth required
|
|
3051
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3052
|
+
case 1:
|
|
3053
|
+
// authentication oauth2 required
|
|
3054
|
+
// oauth required
|
|
3055
|
+
_a.sent();
|
|
3056
|
+
if (isPermanent !== undefined) {
|
|
3057
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
3058
|
+
}
|
|
3059
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3060
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3061
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3062
|
+
return [2 /*return*/, {
|
|
3063
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3064
|
+
options: localVarRequestOptions,
|
|
3065
|
+
}];
|
|
3066
|
+
}
|
|
3067
|
+
});
|
|
3068
|
+
});
|
|
3069
|
+
},
|
|
3070
|
+
/**
|
|
3071
|
+
*
|
|
3072
|
+
* @summary Get HospitalSpecialty.
|
|
3073
|
+
* @param {string} hospitalId
|
|
3074
|
+
* @param {string} hospitalSpecialtyId
|
|
3075
|
+
* @param {string} [languageCode]
|
|
3076
|
+
* @param {*} [options] Override http request option.
|
|
3077
|
+
* @throws {RequiredError}
|
|
3078
|
+
*/
|
|
3079
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: function (hospitalId, hospitalSpecialtyId, languageCode, options) {
|
|
3080
|
+
if (options === void 0) { options = {}; }
|
|
3081
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3082
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3083
|
+
return __generator(this, function (_a) {
|
|
3084
|
+
switch (_a.label) {
|
|
3085
|
+
case 0:
|
|
3086
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3087
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId);
|
|
3088
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
3089
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
3090
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}"
|
|
3091
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3092
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
3093
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3094
|
+
if (configuration) {
|
|
3095
|
+
baseOptions = configuration.baseOptions;
|
|
3096
|
+
}
|
|
3097
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3098
|
+
localVarHeaderParameter = {};
|
|
3099
|
+
localVarQueryParameter = {};
|
|
3100
|
+
// authentication oauth2 required
|
|
3101
|
+
// oauth required
|
|
3102
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3103
|
+
case 1:
|
|
3104
|
+
// authentication oauth2 required
|
|
3105
|
+
// oauth required
|
|
3106
|
+
_a.sent();
|
|
3107
|
+
if (languageCode !== undefined) {
|
|
3108
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
3109
|
+
}
|
|
3110
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3111
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3112
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3113
|
+
return [2 /*return*/, {
|
|
3114
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3115
|
+
options: localVarRequestOptions,
|
|
3116
|
+
}];
|
|
3117
|
+
}
|
|
3118
|
+
});
|
|
3119
|
+
});
|
|
3120
|
+
},
|
|
3121
|
+
/**
|
|
3122
|
+
*
|
|
3123
|
+
* @summary Get all HospitalServiceMedias.
|
|
3124
|
+
* @param {string} hospitalId
|
|
3125
|
+
* @param {string} hospitalSpecialtyId
|
|
3126
|
+
* @param {string} [id]
|
|
3127
|
+
* @param {MediaType} [mediaType]
|
|
3128
|
+
* @param {number} [page]
|
|
3129
|
+
* @param {number} [limit]
|
|
3130
|
+
* @param {Date} [lastRetrieved]
|
|
3131
|
+
* @param {*} [options] Override http request option.
|
|
3132
|
+
* @throws {RequiredError}
|
|
3133
|
+
*/
|
|
3134
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
3135
|
+
if (options === void 0) { options = {}; }
|
|
3136
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3137
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3138
|
+
return __generator(this, function (_a) {
|
|
3139
|
+
switch (_a.label) {
|
|
3140
|
+
case 0:
|
|
3141
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3142
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId);
|
|
3143
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
3144
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
3145
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
|
|
3146
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3147
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
3148
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3149
|
+
if (configuration) {
|
|
3150
|
+
baseOptions = configuration.baseOptions;
|
|
3151
|
+
}
|
|
3152
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3153
|
+
localVarHeaderParameter = {};
|
|
3154
|
+
localVarQueryParameter = {};
|
|
3155
|
+
// authentication oauth2 required
|
|
3156
|
+
// oauth required
|
|
3157
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3158
|
+
case 1:
|
|
3159
|
+
// authentication oauth2 required
|
|
3160
|
+
// oauth required
|
|
3161
|
+
_a.sent();
|
|
3162
|
+
if (id !== undefined) {
|
|
3163
|
+
localVarQueryParameter['Id'] = id;
|
|
3164
|
+
}
|
|
3165
|
+
if (mediaType !== undefined) {
|
|
3166
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
3167
|
+
}
|
|
3168
|
+
if (page !== undefined) {
|
|
3169
|
+
localVarQueryParameter['page'] = page;
|
|
2694
3170
|
}
|
|
2695
3171
|
if (limit !== undefined) {
|
|
2696
3172
|
localVarQueryParameter['limit'] = limit;
|
|
@@ -3290,12 +3766,262 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3290
3766
|
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId);
|
|
3291
3767
|
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services"
|
|
3292
3768
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3293
|
-
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)));
|
|
3769
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)));
|
|
3770
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3771
|
+
if (configuration) {
|
|
3772
|
+
baseOptions = configuration.baseOptions;
|
|
3773
|
+
}
|
|
3774
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3775
|
+
localVarHeaderParameter = {};
|
|
3776
|
+
localVarQueryParameter = {};
|
|
3777
|
+
// authentication oauth2 required
|
|
3778
|
+
// oauth required
|
|
3779
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3780
|
+
case 1:
|
|
3781
|
+
// authentication oauth2 required
|
|
3782
|
+
// oauth required
|
|
3783
|
+
_a.sent();
|
|
3784
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3785
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3786
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3787
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3788
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
3789
|
+
return [2 /*return*/, {
|
|
3790
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3791
|
+
options: localVarRequestOptions,
|
|
3792
|
+
}];
|
|
3793
|
+
}
|
|
3794
|
+
});
|
|
3795
|
+
});
|
|
3796
|
+
},
|
|
3797
|
+
/**
|
|
3798
|
+
*
|
|
3799
|
+
* @summary Get Service appointment timetable overrides
|
|
3800
|
+
* @param {string} hospitalId
|
|
3801
|
+
* @param {string} specialtyId
|
|
3802
|
+
* @param {string} serviceId
|
|
3803
|
+
* @param {boolean} [includesPreviousItems]
|
|
3804
|
+
* @param {Date} [startDate]
|
|
3805
|
+
* @param {Date} [endDate]
|
|
3806
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
3807
|
+
* @param {number} [page]
|
|
3808
|
+
* @param {number} [limit]
|
|
3809
|
+
* @param {Date} [lastRetrieved]
|
|
3810
|
+
* @param {*} [options] Override http request option.
|
|
3811
|
+
* @throws {RequiredError}
|
|
3812
|
+
*/
|
|
3813
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet: function (hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
3814
|
+
if (options === void 0) { options = {}; }
|
|
3815
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3816
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3817
|
+
return __generator(this, function (_a) {
|
|
3818
|
+
switch (_a.label) {
|
|
3819
|
+
case 0:
|
|
3820
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3821
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'hospitalId', hospitalId);
|
|
3822
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
3823
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'specialtyId', specialtyId);
|
|
3824
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
3825
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet', 'serviceId', serviceId);
|
|
3826
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetableoverrides"
|
|
3827
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3828
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
3829
|
+
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
3830
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3831
|
+
if (configuration) {
|
|
3832
|
+
baseOptions = configuration.baseOptions;
|
|
3833
|
+
}
|
|
3834
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3835
|
+
localVarHeaderParameter = {};
|
|
3836
|
+
localVarQueryParameter = {};
|
|
3837
|
+
// authentication oauth2 required
|
|
3838
|
+
// oauth required
|
|
3839
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3840
|
+
case 1:
|
|
3841
|
+
// authentication oauth2 required
|
|
3842
|
+
// oauth required
|
|
3843
|
+
_a.sent();
|
|
3844
|
+
if (includesPreviousItems !== undefined) {
|
|
3845
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
3846
|
+
}
|
|
3847
|
+
if (startDate !== undefined) {
|
|
3848
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
3849
|
+
startDate.toISOString() :
|
|
3850
|
+
startDate;
|
|
3851
|
+
}
|
|
3852
|
+
if (endDate !== undefined) {
|
|
3853
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
3854
|
+
endDate.toISOString() :
|
|
3855
|
+
endDate;
|
|
3856
|
+
}
|
|
3857
|
+
if (dayOfWeek !== undefined) {
|
|
3858
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
3859
|
+
}
|
|
3860
|
+
if (page !== undefined) {
|
|
3861
|
+
localVarQueryParameter['page'] = page;
|
|
3862
|
+
}
|
|
3863
|
+
if (limit !== undefined) {
|
|
3864
|
+
localVarQueryParameter['limit'] = limit;
|
|
3865
|
+
}
|
|
3866
|
+
if (lastRetrieved !== undefined) {
|
|
3867
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3868
|
+
lastRetrieved.toISOString() :
|
|
3869
|
+
lastRetrieved;
|
|
3870
|
+
}
|
|
3871
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3872
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3873
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3874
|
+
return [2 /*return*/, {
|
|
3875
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3876
|
+
options: localVarRequestOptions,
|
|
3877
|
+
}];
|
|
3878
|
+
}
|
|
3879
|
+
});
|
|
3880
|
+
});
|
|
3881
|
+
},
|
|
3882
|
+
/**
|
|
3883
|
+
*
|
|
3884
|
+
* @summary Save Service appointment timetable overrides
|
|
3885
|
+
* @param {string} hospitalId
|
|
3886
|
+
* @param {string} specialtyId
|
|
3887
|
+
* @param {string} serviceId
|
|
3888
|
+
* @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
|
|
3889
|
+
* @param {*} [options] Override http request option.
|
|
3890
|
+
* @throws {RequiredError}
|
|
3891
|
+
*/
|
|
3892
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost: function (hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options) {
|
|
3893
|
+
if (options === void 0) { options = {}; }
|
|
3894
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3895
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3896
|
+
return __generator(this, function (_a) {
|
|
3897
|
+
switch (_a.label) {
|
|
3898
|
+
case 0:
|
|
3899
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3900
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'hospitalId', hospitalId);
|
|
3901
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
3902
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'specialtyId', specialtyId);
|
|
3903
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
3904
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost', 'serviceId', serviceId);
|
|
3905
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetableoverrides"
|
|
3906
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3907
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
3908
|
+
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
3909
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3910
|
+
if (configuration) {
|
|
3911
|
+
baseOptions = configuration.baseOptions;
|
|
3912
|
+
}
|
|
3913
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3914
|
+
localVarHeaderParameter = {};
|
|
3915
|
+
localVarQueryParameter = {};
|
|
3916
|
+
// authentication oauth2 required
|
|
3917
|
+
// oauth required
|
|
3918
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3919
|
+
case 1:
|
|
3920
|
+
// authentication oauth2 required
|
|
3921
|
+
// oauth required
|
|
3922
|
+
_a.sent();
|
|
3923
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3924
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3925
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3926
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3927
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveServiceAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
3928
|
+
return [2 /*return*/, {
|
|
3929
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3930
|
+
options: localVarRequestOptions,
|
|
3931
|
+
}];
|
|
3932
|
+
}
|
|
3933
|
+
});
|
|
3934
|
+
});
|
|
3935
|
+
},
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @summary Add, update and delete service appointment timetables
|
|
3939
|
+
* @param {string} hospitalId
|
|
3940
|
+
* @param {string} specialtyId
|
|
3941
|
+
* @param {string} serviceId
|
|
3942
|
+
* @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
|
|
3943
|
+
* @param {*} [options] Override http request option.
|
|
3944
|
+
* @throws {RequiredError}
|
|
3945
|
+
*/
|
|
3946
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost: function (hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options) {
|
|
3947
|
+
if (options === void 0) { options = {}; }
|
|
3948
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3949
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3950
|
+
return __generator(this, function (_a) {
|
|
3951
|
+
switch (_a.label) {
|
|
3952
|
+
case 0:
|
|
3953
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3954
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'hospitalId', hospitalId);
|
|
3955
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
3956
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'specialtyId', specialtyId);
|
|
3957
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
3958
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost', 'serviceId', serviceId);
|
|
3959
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables/batch"
|
|
3960
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3961
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
3962
|
+
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
3963
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3964
|
+
if (configuration) {
|
|
3965
|
+
baseOptions = configuration.baseOptions;
|
|
3966
|
+
}
|
|
3967
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3968
|
+
localVarHeaderParameter = {};
|
|
3969
|
+
localVarQueryParameter = {};
|
|
3970
|
+
// authentication oauth2 required
|
|
3971
|
+
// oauth required
|
|
3972
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3973
|
+
case 1:
|
|
3974
|
+
// authentication oauth2 required
|
|
3975
|
+
// oauth required
|
|
3976
|
+
_a.sent();
|
|
3977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3978
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3979
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3980
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3981
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchServiceAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
3982
|
+
return [2 /*return*/, {
|
|
3983
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3984
|
+
options: localVarRequestOptions,
|
|
3985
|
+
}];
|
|
3986
|
+
}
|
|
3987
|
+
});
|
|
3988
|
+
});
|
|
3989
|
+
},
|
|
3990
|
+
/**
|
|
3991
|
+
*
|
|
3992
|
+
* @summary Get Service appointment timetables
|
|
3993
|
+
* @param {string} hospitalId
|
|
3994
|
+
* @param {string} specialtyId
|
|
3995
|
+
* @param {string} serviceId
|
|
3996
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
3997
|
+
* @param {number} [page]
|
|
3998
|
+
* @param {number} [limit]
|
|
3999
|
+
* @param {Date} [lastRetrieved]
|
|
4000
|
+
* @param {*} [options] Override http request option.
|
|
4001
|
+
* @throws {RequiredError}
|
|
4002
|
+
*/
|
|
4003
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
4004
|
+
if (options === void 0) { options = {}; }
|
|
4005
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4006
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4007
|
+
return __generator(this, function (_a) {
|
|
4008
|
+
switch (_a.label) {
|
|
4009
|
+
case 0:
|
|
4010
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4011
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'hospitalId', hospitalId);
|
|
4012
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
4013
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'specialtyId', specialtyId);
|
|
4014
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
4015
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'serviceId', serviceId);
|
|
4016
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/appointmenttimetables"
|
|
4017
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4018
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
4019
|
+
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
3294
4020
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3295
4021
|
if (configuration) {
|
|
3296
4022
|
baseOptions = configuration.baseOptions;
|
|
3297
4023
|
}
|
|
3298
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
4024
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3299
4025
|
localVarHeaderParameter = {};
|
|
3300
4026
|
localVarQueryParameter = {};
|
|
3301
4027
|
// authentication oauth2 required
|
|
@@ -3305,11 +4031,23 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3305
4031
|
// authentication oauth2 required
|
|
3306
4032
|
// oauth required
|
|
3307
4033
|
_a.sent();
|
|
3308
|
-
|
|
4034
|
+
if (dayOfWeek !== undefined) {
|
|
4035
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
4036
|
+
}
|
|
4037
|
+
if (page !== undefined) {
|
|
4038
|
+
localVarQueryParameter['page'] = page;
|
|
4039
|
+
}
|
|
4040
|
+
if (limit !== undefined) {
|
|
4041
|
+
localVarQueryParameter['limit'] = limit;
|
|
4042
|
+
}
|
|
4043
|
+
if (lastRetrieved !== undefined) {
|
|
4044
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
4045
|
+
lastRetrieved.toISOString() :
|
|
4046
|
+
lastRetrieved;
|
|
4047
|
+
}
|
|
3309
4048
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3310
4049
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3311
4050
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3312
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHospitalServiceCommand, localVarRequestOptions, configuration);
|
|
3313
4051
|
return [2 /*return*/, {
|
|
3314
4052
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3315
4053
|
options: localVarRequestOptions,
|
|
@@ -4521,6 +5259,99 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4521
5259
|
});
|
|
4522
5260
|
});
|
|
4523
5261
|
},
|
|
5262
|
+
/**
|
|
5263
|
+
*
|
|
5264
|
+
* @summary Get Hospital appointment timetable overrides
|
|
5265
|
+
* @param {string} hospitalId
|
|
5266
|
+
* @param {boolean} [includesPreviousItems]
|
|
5267
|
+
* @param {Date} [startDate]
|
|
5268
|
+
* @param {Date} [endDate]
|
|
5269
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
5270
|
+
* @param {number} [page]
|
|
5271
|
+
* @param {number} [limit]
|
|
5272
|
+
* @param {Date} [lastRetrieved]
|
|
5273
|
+
* @param {*} [options] Override http request option.
|
|
5274
|
+
* @throws {RequiredError}
|
|
5275
|
+
*/
|
|
5276
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
5277
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5278
|
+
var localVarAxiosArgs;
|
|
5279
|
+
return __generator(this, function (_a) {
|
|
5280
|
+
switch (_a.label) {
|
|
5281
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
5282
|
+
case 1:
|
|
5283
|
+
localVarAxiosArgs = _a.sent();
|
|
5284
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5285
|
+
}
|
|
5286
|
+
});
|
|
5287
|
+
});
|
|
5288
|
+
},
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @summary Save Hospital appointment timetable overrides
|
|
5292
|
+
* @param {string} hospitalId
|
|
5293
|
+
* @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
|
|
5294
|
+
* @param {*} [options] Override http request option.
|
|
5295
|
+
* @throws {RequiredError}
|
|
5296
|
+
*/
|
|
5297
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost: function (hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options) {
|
|
5298
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5299
|
+
var localVarAxiosArgs;
|
|
5300
|
+
return __generator(this, function (_a) {
|
|
5301
|
+
switch (_a.label) {
|
|
5302
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options)];
|
|
5303
|
+
case 1:
|
|
5304
|
+
localVarAxiosArgs = _a.sent();
|
|
5305
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5306
|
+
}
|
|
5307
|
+
});
|
|
5308
|
+
});
|
|
5309
|
+
},
|
|
5310
|
+
/**
|
|
5311
|
+
*
|
|
5312
|
+
* @summary Add, update, delete Hospital appointment timetables
|
|
5313
|
+
* @param {string} hospitalId
|
|
5314
|
+
* @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
|
|
5315
|
+
* @param {*} [options] Override http request option.
|
|
5316
|
+
* @throws {RequiredError}
|
|
5317
|
+
*/
|
|
5318
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost: function (hospitalId, batchHospitalAppointmentTimetablesCommand, options) {
|
|
5319
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5320
|
+
var localVarAxiosArgs;
|
|
5321
|
+
return __generator(this, function (_a) {
|
|
5322
|
+
switch (_a.label) {
|
|
5323
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options)];
|
|
5324
|
+
case 1:
|
|
5325
|
+
localVarAxiosArgs = _a.sent();
|
|
5326
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5327
|
+
}
|
|
5328
|
+
});
|
|
5329
|
+
});
|
|
5330
|
+
},
|
|
5331
|
+
/**
|
|
5332
|
+
*
|
|
5333
|
+
* @summary Get Hospital appointment timetables
|
|
5334
|
+
* @param {string} hospitalId
|
|
5335
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
5336
|
+
* @param {number} [page]
|
|
5337
|
+
* @param {number} [limit]
|
|
5338
|
+
* @param {Date} [lastRetrieved]
|
|
5339
|
+
* @param {*} [options] Override http request option.
|
|
5340
|
+
* @throws {RequiredError}
|
|
5341
|
+
*/
|
|
5342
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
5343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5344
|
+
var localVarAxiosArgs;
|
|
5345
|
+
return __generator(this, function (_a) {
|
|
5346
|
+
switch (_a.label) {
|
|
5347
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
5348
|
+
case 1:
|
|
5349
|
+
localVarAxiosArgs = _a.sent();
|
|
5350
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5351
|
+
}
|
|
5352
|
+
});
|
|
5353
|
+
});
|
|
5354
|
+
},
|
|
4524
5355
|
/**
|
|
4525
5356
|
*
|
|
4526
5357
|
* @summary Delete Hospital.
|
|
@@ -5424,6 +6255,103 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5424
6255
|
});
|
|
5425
6256
|
});
|
|
5426
6257
|
},
|
|
6258
|
+
/**
|
|
6259
|
+
*
|
|
6260
|
+
* @summary Get HospitalSpecialty appointment timetable overrides
|
|
6261
|
+
* @param {string} hospitalId
|
|
6262
|
+
* @param {string} hospitalSpecialtyId
|
|
6263
|
+
* @param {boolean} [includesPreviousItems]
|
|
6264
|
+
* @param {Date} [startDate]
|
|
6265
|
+
* @param {Date} [endDate]
|
|
6266
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
6267
|
+
* @param {number} [page]
|
|
6268
|
+
* @param {number} [limit]
|
|
6269
|
+
* @param {Date} [lastRetrieved]
|
|
6270
|
+
* @param {*} [options] Override http request option.
|
|
6271
|
+
* @throws {RequiredError}
|
|
6272
|
+
*/
|
|
6273
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet: function (hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
6274
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6275
|
+
var localVarAxiosArgs;
|
|
6276
|
+
return __generator(this, function (_a) {
|
|
6277
|
+
switch (_a.label) {
|
|
6278
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
6279
|
+
case 1:
|
|
6280
|
+
localVarAxiosArgs = _a.sent();
|
|
6281
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6282
|
+
}
|
|
6283
|
+
});
|
|
6284
|
+
});
|
|
6285
|
+
},
|
|
6286
|
+
/**
|
|
6287
|
+
*
|
|
6288
|
+
* @summary Save HospitalSpecialty appointment timetable overrides
|
|
6289
|
+
* @param {string} hospitalId
|
|
6290
|
+
* @param {string} hospitalSpecialtyId
|
|
6291
|
+
* @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
|
|
6292
|
+
* @param {*} [options] Override http request option.
|
|
6293
|
+
* @throws {RequiredError}
|
|
6294
|
+
*/
|
|
6295
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost: function (hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options) {
|
|
6296
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6297
|
+
var localVarAxiosArgs;
|
|
6298
|
+
return __generator(this, function (_a) {
|
|
6299
|
+
switch (_a.label) {
|
|
6300
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options)];
|
|
6301
|
+
case 1:
|
|
6302
|
+
localVarAxiosArgs = _a.sent();
|
|
6303
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6304
|
+
}
|
|
6305
|
+
});
|
|
6306
|
+
});
|
|
6307
|
+
},
|
|
6308
|
+
/**
|
|
6309
|
+
*
|
|
6310
|
+
* @summary Add, update, delete HospitalSpecialty appointment timetables
|
|
6311
|
+
* @param {string} hospitalId
|
|
6312
|
+
* @param {string} hospitalSpecialtyId
|
|
6313
|
+
* @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
|
|
6314
|
+
* @param {*} [options] Override http request option.
|
|
6315
|
+
* @throws {RequiredError}
|
|
6316
|
+
*/
|
|
6317
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost: function (hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options) {
|
|
6318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6319
|
+
var localVarAxiosArgs;
|
|
6320
|
+
return __generator(this, function (_a) {
|
|
6321
|
+
switch (_a.label) {
|
|
6322
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options)];
|
|
6323
|
+
case 1:
|
|
6324
|
+
localVarAxiosArgs = _a.sent();
|
|
6325
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6326
|
+
}
|
|
6327
|
+
});
|
|
6328
|
+
});
|
|
6329
|
+
},
|
|
6330
|
+
/**
|
|
6331
|
+
*
|
|
6332
|
+
* @summary Get HospitalSpecialty appointment timetables
|
|
6333
|
+
* @param {string} hospitalId
|
|
6334
|
+
* @param {string} hospitalSpecialtyId
|
|
6335
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
6336
|
+
* @param {number} [page]
|
|
6337
|
+
* @param {number} [limit]
|
|
6338
|
+
* @param {Date} [lastRetrieved]
|
|
6339
|
+
* @param {*} [options] Override http request option.
|
|
6340
|
+
* @throws {RequiredError}
|
|
6341
|
+
*/
|
|
6342
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
6343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6344
|
+
var localVarAxiosArgs;
|
|
6345
|
+
return __generator(this, function (_a) {
|
|
6346
|
+
switch (_a.label) {
|
|
6347
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
6348
|
+
case 1:
|
|
6349
|
+
localVarAxiosArgs = _a.sent();
|
|
6350
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6351
|
+
}
|
|
6352
|
+
});
|
|
6353
|
+
});
|
|
6354
|
+
},
|
|
5427
6355
|
/**
|
|
5428
6356
|
*
|
|
5429
6357
|
* @summary Delete HospitalSpecialty.
|
|
@@ -5725,12 +6653,113 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5725
6653
|
* @param {*} [options] Override http request option.
|
|
5726
6654
|
* @throws {RequiredError}
|
|
5727
6655
|
*/
|
|
5728
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
6656
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
6657
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6658
|
+
var localVarAxiosArgs;
|
|
6659
|
+
return __generator(this, function (_a) {
|
|
6660
|
+
switch (_a.label) {
|
|
6661
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options)];
|
|
6662
|
+
case 1:
|
|
6663
|
+
localVarAxiosArgs = _a.sent();
|
|
6664
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6665
|
+
}
|
|
6666
|
+
});
|
|
6667
|
+
});
|
|
6668
|
+
},
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @summary Get Service appointment timetable overrides
|
|
6672
|
+
* @param {string} hospitalId
|
|
6673
|
+
* @param {string} specialtyId
|
|
6674
|
+
* @param {string} serviceId
|
|
6675
|
+
* @param {boolean} [includesPreviousItems]
|
|
6676
|
+
* @param {Date} [startDate]
|
|
6677
|
+
* @param {Date} [endDate]
|
|
6678
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
6679
|
+
* @param {number} [page]
|
|
6680
|
+
* @param {number} [limit]
|
|
6681
|
+
* @param {Date} [lastRetrieved]
|
|
6682
|
+
* @param {*} [options] Override http request option.
|
|
6683
|
+
* @throws {RequiredError}
|
|
6684
|
+
*/
|
|
6685
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet: function (hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
6686
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6687
|
+
var localVarAxiosArgs;
|
|
6688
|
+
return __generator(this, function (_a) {
|
|
6689
|
+
switch (_a.label) {
|
|
6690
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
6691
|
+
case 1:
|
|
6692
|
+
localVarAxiosArgs = _a.sent();
|
|
6693
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6694
|
+
}
|
|
6695
|
+
});
|
|
6696
|
+
});
|
|
6697
|
+
},
|
|
6698
|
+
/**
|
|
6699
|
+
*
|
|
6700
|
+
* @summary Save Service appointment timetable overrides
|
|
6701
|
+
* @param {string} hospitalId
|
|
6702
|
+
* @param {string} specialtyId
|
|
6703
|
+
* @param {string} serviceId
|
|
6704
|
+
* @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
|
|
6705
|
+
* @param {*} [options] Override http request option.
|
|
6706
|
+
* @throws {RequiredError}
|
|
6707
|
+
*/
|
|
6708
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost: function (hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options) {
|
|
6709
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6710
|
+
var localVarAxiosArgs;
|
|
6711
|
+
return __generator(this, function (_a) {
|
|
6712
|
+
switch (_a.label) {
|
|
6713
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options)];
|
|
6714
|
+
case 1:
|
|
6715
|
+
localVarAxiosArgs = _a.sent();
|
|
6716
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6717
|
+
}
|
|
6718
|
+
});
|
|
6719
|
+
});
|
|
6720
|
+
},
|
|
6721
|
+
/**
|
|
6722
|
+
*
|
|
6723
|
+
* @summary Add, update and delete service appointment timetables
|
|
6724
|
+
* @param {string} hospitalId
|
|
6725
|
+
* @param {string} specialtyId
|
|
6726
|
+
* @param {string} serviceId
|
|
6727
|
+
* @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
|
|
6728
|
+
* @param {*} [options] Override http request option.
|
|
6729
|
+
* @throws {RequiredError}
|
|
6730
|
+
*/
|
|
6731
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost: function (hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options) {
|
|
6732
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6733
|
+
var localVarAxiosArgs;
|
|
6734
|
+
return __generator(this, function (_a) {
|
|
6735
|
+
switch (_a.label) {
|
|
6736
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options)];
|
|
6737
|
+
case 1:
|
|
6738
|
+
localVarAxiosArgs = _a.sent();
|
|
6739
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6740
|
+
}
|
|
6741
|
+
});
|
|
6742
|
+
});
|
|
6743
|
+
},
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @summary Get Service appointment timetables
|
|
6747
|
+
* @param {string} hospitalId
|
|
6748
|
+
* @param {string} specialtyId
|
|
6749
|
+
* @param {string} serviceId
|
|
6750
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
6751
|
+
* @param {number} [page]
|
|
6752
|
+
* @param {number} [limit]
|
|
6753
|
+
* @param {Date} [lastRetrieved]
|
|
6754
|
+
* @param {*} [options] Override http request option.
|
|
6755
|
+
* @throws {RequiredError}
|
|
6756
|
+
*/
|
|
6757
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
5729
6758
|
return __awaiter(this, void 0, void 0, function () {
|
|
5730
6759
|
var localVarAxiosArgs;
|
|
5731
6760
|
return __generator(this, function (_a) {
|
|
5732
6761
|
switch (_a.label) {
|
|
5733
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6762
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
5734
6763
|
case 1:
|
|
5735
6764
|
localVarAxiosArgs = _a.sent();
|
|
5736
6765
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6263,6 +7292,59 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6263
7292
|
apiV1HospitalsHospitalIdAccreditationsPost: function (hospitalId, createHospitalAccreditationCommand, options) {
|
|
6264
7293
|
return localVarFp.apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
6265
7294
|
},
|
|
7295
|
+
/**
|
|
7296
|
+
*
|
|
7297
|
+
* @summary Get Hospital appointment timetable overrides
|
|
7298
|
+
* @param {string} hospitalId
|
|
7299
|
+
* @param {boolean} [includesPreviousItems]
|
|
7300
|
+
* @param {Date} [startDate]
|
|
7301
|
+
* @param {Date} [endDate]
|
|
7302
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
7303
|
+
* @param {number} [page]
|
|
7304
|
+
* @param {number} [limit]
|
|
7305
|
+
* @param {Date} [lastRetrieved]
|
|
7306
|
+
* @param {*} [options] Override http request option.
|
|
7307
|
+
* @throws {RequiredError}
|
|
7308
|
+
*/
|
|
7309
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
7310
|
+
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7311
|
+
},
|
|
7312
|
+
/**
|
|
7313
|
+
*
|
|
7314
|
+
* @summary Save Hospital appointment timetable overrides
|
|
7315
|
+
* @param {string} hospitalId
|
|
7316
|
+
* @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
|
|
7317
|
+
* @param {*} [options] Override http request option.
|
|
7318
|
+
* @throws {RequiredError}
|
|
7319
|
+
*/
|
|
7320
|
+
apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost: function (hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options) {
|
|
7321
|
+
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7322
|
+
},
|
|
7323
|
+
/**
|
|
7324
|
+
*
|
|
7325
|
+
* @summary Add, update, delete Hospital appointment timetables
|
|
7326
|
+
* @param {string} hospitalId
|
|
7327
|
+
* @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
|
|
7328
|
+
* @param {*} [options] Override http request option.
|
|
7329
|
+
* @throws {RequiredError}
|
|
7330
|
+
*/
|
|
7331
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost: function (hospitalId, batchHospitalAppointmentTimetablesCommand, options) {
|
|
7332
|
+
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7333
|
+
},
|
|
7334
|
+
/**
|
|
7335
|
+
*
|
|
7336
|
+
* @summary Get Hospital appointment timetables
|
|
7337
|
+
* @param {string} hospitalId
|
|
7338
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
7339
|
+
* @param {number} [page]
|
|
7340
|
+
* @param {number} [limit]
|
|
7341
|
+
* @param {Date} [lastRetrieved]
|
|
7342
|
+
* @param {*} [options] Override http request option.
|
|
7343
|
+
* @throws {RequiredError}
|
|
7344
|
+
*/
|
|
7345
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
7346
|
+
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7347
|
+
},
|
|
6266
7348
|
/**
|
|
6267
7349
|
*
|
|
6268
7350
|
* @summary Delete Hospital.
|
|
@@ -6766,6 +7848,63 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6766
7848
|
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
6767
7849
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6768
7850
|
},
|
|
7851
|
+
/**
|
|
7852
|
+
*
|
|
7853
|
+
* @summary Get HospitalSpecialty appointment timetable overrides
|
|
7854
|
+
* @param {string} hospitalId
|
|
7855
|
+
* @param {string} hospitalSpecialtyId
|
|
7856
|
+
* @param {boolean} [includesPreviousItems]
|
|
7857
|
+
* @param {Date} [startDate]
|
|
7858
|
+
* @param {Date} [endDate]
|
|
7859
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
7860
|
+
* @param {number} [page]
|
|
7861
|
+
* @param {number} [limit]
|
|
7862
|
+
* @param {Date} [lastRetrieved]
|
|
7863
|
+
* @param {*} [options] Override http request option.
|
|
7864
|
+
* @throws {RequiredError}
|
|
7865
|
+
*/
|
|
7866
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet: function (hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
7867
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7868
|
+
},
|
|
7869
|
+
/**
|
|
7870
|
+
*
|
|
7871
|
+
* @summary Save HospitalSpecialty appointment timetable overrides
|
|
7872
|
+
* @param {string} hospitalId
|
|
7873
|
+
* @param {string} hospitalSpecialtyId
|
|
7874
|
+
* @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
|
|
7875
|
+
* @param {*} [options] Override http request option.
|
|
7876
|
+
* @throws {RequiredError}
|
|
7877
|
+
*/
|
|
7878
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost: function (hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options) {
|
|
7879
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7880
|
+
},
|
|
7881
|
+
/**
|
|
7882
|
+
*
|
|
7883
|
+
* @summary Add, update, delete HospitalSpecialty appointment timetables
|
|
7884
|
+
* @param {string} hospitalId
|
|
7885
|
+
* @param {string} hospitalSpecialtyId
|
|
7886
|
+
* @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
|
|
7887
|
+
* @param {*} [options] Override http request option.
|
|
7888
|
+
* @throws {RequiredError}
|
|
7889
|
+
*/
|
|
7890
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost: function (hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options) {
|
|
7891
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7892
|
+
},
|
|
7893
|
+
/**
|
|
7894
|
+
*
|
|
7895
|
+
* @summary Get HospitalSpecialty appointment timetables
|
|
7896
|
+
* @param {string} hospitalId
|
|
7897
|
+
* @param {string} hospitalSpecialtyId
|
|
7898
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
7899
|
+
* @param {number} [page]
|
|
7900
|
+
* @param {number} [limit]
|
|
7901
|
+
* @param {Date} [lastRetrieved]
|
|
7902
|
+
* @param {*} [options] Override http request option.
|
|
7903
|
+
* @throws {RequiredError}
|
|
7904
|
+
*/
|
|
7905
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: function (hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
7906
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7907
|
+
},
|
|
6769
7908
|
/**
|
|
6770
7909
|
*
|
|
6771
7910
|
* @summary Delete HospitalSpecialty.
|
|
@@ -6950,6 +8089,67 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6950
8089
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: function (hospitalId, specialtyId, createHospitalServiceCommand, options) {
|
|
6951
8090
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
6952
8091
|
},
|
|
8092
|
+
/**
|
|
8093
|
+
*
|
|
8094
|
+
* @summary Get Service appointment timetable overrides
|
|
8095
|
+
* @param {string} hospitalId
|
|
8096
|
+
* @param {string} specialtyId
|
|
8097
|
+
* @param {string} serviceId
|
|
8098
|
+
* @param {boolean} [includesPreviousItems]
|
|
8099
|
+
* @param {Date} [startDate]
|
|
8100
|
+
* @param {Date} [endDate]
|
|
8101
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
8102
|
+
* @param {number} [page]
|
|
8103
|
+
* @param {number} [limit]
|
|
8104
|
+
* @param {Date} [lastRetrieved]
|
|
8105
|
+
* @param {*} [options] Override http request option.
|
|
8106
|
+
* @throws {RequiredError}
|
|
8107
|
+
*/
|
|
8108
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet: function (hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
8109
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8110
|
+
},
|
|
8111
|
+
/**
|
|
8112
|
+
*
|
|
8113
|
+
* @summary Save Service appointment timetable overrides
|
|
8114
|
+
* @param {string} hospitalId
|
|
8115
|
+
* @param {string} specialtyId
|
|
8116
|
+
* @param {string} serviceId
|
|
8117
|
+
* @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
|
|
8118
|
+
* @param {*} [options] Override http request option.
|
|
8119
|
+
* @throws {RequiredError}
|
|
8120
|
+
*/
|
|
8121
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost: function (hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options) {
|
|
8122
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
8123
|
+
},
|
|
8124
|
+
/**
|
|
8125
|
+
*
|
|
8126
|
+
* @summary Add, update and delete service appointment timetables
|
|
8127
|
+
* @param {string} hospitalId
|
|
8128
|
+
* @param {string} specialtyId
|
|
8129
|
+
* @param {string} serviceId
|
|
8130
|
+
* @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
|
|
8131
|
+
* @param {*} [options] Override http request option.
|
|
8132
|
+
* @throws {RequiredError}
|
|
8133
|
+
*/
|
|
8134
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost: function (hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options) {
|
|
8135
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
8136
|
+
},
|
|
8137
|
+
/**
|
|
8138
|
+
*
|
|
8139
|
+
* @summary Get Service appointment timetables
|
|
8140
|
+
* @param {string} hospitalId
|
|
8141
|
+
* @param {string} specialtyId
|
|
8142
|
+
* @param {string} serviceId
|
|
8143
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
8144
|
+
* @param {number} [page]
|
|
8145
|
+
* @param {number} [limit]
|
|
8146
|
+
* @param {Date} [lastRetrieved]
|
|
8147
|
+
* @param {*} [options] Override http request option.
|
|
8148
|
+
* @throws {RequiredError}
|
|
8149
|
+
*/
|
|
8150
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: function (hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
8151
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8152
|
+
},
|
|
6953
8153
|
/**
|
|
6954
8154
|
*
|
|
6955
8155
|
* @summary Delete HospitalService
|
|
@@ -7299,6 +8499,67 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
7299
8499
|
var _this = this;
|
|
7300
8500
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7301
8501
|
};
|
|
8502
|
+
/**
|
|
8503
|
+
*
|
|
8504
|
+
* @summary Get Hospital appointment timetable overrides
|
|
8505
|
+
* @param {string} hospitalId
|
|
8506
|
+
* @param {boolean} [includesPreviousItems]
|
|
8507
|
+
* @param {Date} [startDate]
|
|
8508
|
+
* @param {Date} [endDate]
|
|
8509
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
8510
|
+
* @param {number} [page]
|
|
8511
|
+
* @param {number} [limit]
|
|
8512
|
+
* @param {Date} [lastRetrieved]
|
|
8513
|
+
* @param {*} [options] Override http request option.
|
|
8514
|
+
* @throws {RequiredError}
|
|
8515
|
+
* @memberof HospitalsApi
|
|
8516
|
+
*/
|
|
8517
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet = function (hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
8518
|
+
var _this = this;
|
|
8519
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8520
|
+
};
|
|
8521
|
+
/**
|
|
8522
|
+
*
|
|
8523
|
+
* @summary Save Hospital appointment timetable overrides
|
|
8524
|
+
* @param {string} hospitalId
|
|
8525
|
+
* @param {SaveHospitalAppointmentTimetableOverridesCommand} [saveHospitalAppointmentTimetableOverridesCommand]
|
|
8526
|
+
* @param {*} [options] Override http request option.
|
|
8527
|
+
* @throws {RequiredError}
|
|
8528
|
+
* @memberof HospitalsApi
|
|
8529
|
+
*/
|
|
8530
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost = function (hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options) {
|
|
8531
|
+
var _this = this;
|
|
8532
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetableoverridesPost(hospitalId, saveHospitalAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8533
|
+
};
|
|
8534
|
+
/**
|
|
8535
|
+
*
|
|
8536
|
+
* @summary Add, update, delete Hospital appointment timetables
|
|
8537
|
+
* @param {string} hospitalId
|
|
8538
|
+
* @param {BatchHospitalAppointmentTimetablesCommand} [batchHospitalAppointmentTimetablesCommand]
|
|
8539
|
+
* @param {*} [options] Override http request option.
|
|
8540
|
+
* @throws {RequiredError}
|
|
8541
|
+
* @memberof HospitalsApi
|
|
8542
|
+
*/
|
|
8543
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost = function (hospitalId, batchHospitalAppointmentTimetablesCommand, options) {
|
|
8544
|
+
var _this = this;
|
|
8545
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesBatchPost(hospitalId, batchHospitalAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8546
|
+
};
|
|
8547
|
+
/**
|
|
8548
|
+
*
|
|
8549
|
+
* @summary Get Hospital appointment timetables
|
|
8550
|
+
* @param {string} hospitalId
|
|
8551
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
8552
|
+
* @param {number} [page]
|
|
8553
|
+
* @param {number} [limit]
|
|
8554
|
+
* @param {Date} [lastRetrieved]
|
|
8555
|
+
* @param {*} [options] Override http request option.
|
|
8556
|
+
* @throws {RequiredError}
|
|
8557
|
+
* @memberof HospitalsApi
|
|
8558
|
+
*/
|
|
8559
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdAppointmenttimetablesGet = function (hospitalId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
8560
|
+
var _this = this;
|
|
8561
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8562
|
+
};
|
|
7302
8563
|
/**
|
|
7303
8564
|
*
|
|
7304
8565
|
* @summary Delete Hospital.
|
|
@@ -7882,6 +9143,71 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
7882
9143
|
var _this = this;
|
|
7883
9144
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7884
9145
|
};
|
|
9146
|
+
/**
|
|
9147
|
+
*
|
|
9148
|
+
* @summary Get HospitalSpecialty appointment timetable overrides
|
|
9149
|
+
* @param {string} hospitalId
|
|
9150
|
+
* @param {string} hospitalSpecialtyId
|
|
9151
|
+
* @param {boolean} [includesPreviousItems]
|
|
9152
|
+
* @param {Date} [startDate]
|
|
9153
|
+
* @param {Date} [endDate]
|
|
9154
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
9155
|
+
* @param {number} [page]
|
|
9156
|
+
* @param {number} [limit]
|
|
9157
|
+
* @param {Date} [lastRetrieved]
|
|
9158
|
+
* @param {*} [options] Override http request option.
|
|
9159
|
+
* @throws {RequiredError}
|
|
9160
|
+
* @memberof HospitalsApi
|
|
9161
|
+
*/
|
|
9162
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet = function (hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
9163
|
+
var _this = this;
|
|
9164
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesGet(hospitalId, hospitalSpecialtyId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9165
|
+
};
|
|
9166
|
+
/**
|
|
9167
|
+
*
|
|
9168
|
+
* @summary Save HospitalSpecialty appointment timetable overrides
|
|
9169
|
+
* @param {string} hospitalId
|
|
9170
|
+
* @param {string} hospitalSpecialtyId
|
|
9171
|
+
* @param {SaveHospitalSpecialtyAppointmentTimetableOverridesCommand} [saveHospitalSpecialtyAppointmentTimetableOverridesCommand]
|
|
9172
|
+
* @param {*} [options] Override http request option.
|
|
9173
|
+
* @throws {RequiredError}
|
|
9174
|
+
* @memberof HospitalsApi
|
|
9175
|
+
*/
|
|
9176
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost = function (hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options) {
|
|
9177
|
+
var _this = this;
|
|
9178
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetableoverridesPost(hospitalId, hospitalSpecialtyId, saveHospitalSpecialtyAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9179
|
+
};
|
|
9180
|
+
/**
|
|
9181
|
+
*
|
|
9182
|
+
* @summary Add, update, delete HospitalSpecialty appointment timetables
|
|
9183
|
+
* @param {string} hospitalId
|
|
9184
|
+
* @param {string} hospitalSpecialtyId
|
|
9185
|
+
* @param {BatchHospitalSpecialtyAppointmentTimetablesCommand} [batchHospitalSpecialtyAppointmentTimetablesCommand]
|
|
9186
|
+
* @param {*} [options] Override http request option.
|
|
9187
|
+
* @throws {RequiredError}
|
|
9188
|
+
* @memberof HospitalsApi
|
|
9189
|
+
*/
|
|
9190
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost = function (hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options) {
|
|
9191
|
+
var _this = this;
|
|
9192
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesBatchPost(hospitalId, hospitalSpecialtyId, batchHospitalSpecialtyAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9193
|
+
};
|
|
9194
|
+
/**
|
|
9195
|
+
*
|
|
9196
|
+
* @summary Get HospitalSpecialty appointment timetables
|
|
9197
|
+
* @param {string} hospitalId
|
|
9198
|
+
* @param {string} hospitalSpecialtyId
|
|
9199
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
9200
|
+
* @param {number} [page]
|
|
9201
|
+
* @param {number} [limit]
|
|
9202
|
+
* @param {Date} [lastRetrieved]
|
|
9203
|
+
* @param {*} [options] Override http request option.
|
|
9204
|
+
* @throws {RequiredError}
|
|
9205
|
+
* @memberof HospitalsApi
|
|
9206
|
+
*/
|
|
9207
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet = function (hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
9208
|
+
var _this = this;
|
|
9209
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9210
|
+
};
|
|
7885
9211
|
/**
|
|
7886
9212
|
*
|
|
7887
9213
|
* @summary Delete HospitalSpecialty.
|
|
@@ -8092,6 +9418,75 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
8092
9418
|
var _this = this;
|
|
8093
9419
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8094
9420
|
};
|
|
9421
|
+
/**
|
|
9422
|
+
*
|
|
9423
|
+
* @summary Get Service appointment timetable overrides
|
|
9424
|
+
* @param {string} hospitalId
|
|
9425
|
+
* @param {string} specialtyId
|
|
9426
|
+
* @param {string} serviceId
|
|
9427
|
+
* @param {boolean} [includesPreviousItems]
|
|
9428
|
+
* @param {Date} [startDate]
|
|
9429
|
+
* @param {Date} [endDate]
|
|
9430
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
9431
|
+
* @param {number} [page]
|
|
9432
|
+
* @param {number} [limit]
|
|
9433
|
+
* @param {Date} [lastRetrieved]
|
|
9434
|
+
* @param {*} [options] Override http request option.
|
|
9435
|
+
* @throws {RequiredError}
|
|
9436
|
+
* @memberof HospitalsApi
|
|
9437
|
+
*/
|
|
9438
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet = function (hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
9439
|
+
var _this = this;
|
|
9440
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesGet(hospitalId, specialtyId, serviceId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9441
|
+
};
|
|
9442
|
+
/**
|
|
9443
|
+
*
|
|
9444
|
+
* @summary Save Service appointment timetable overrides
|
|
9445
|
+
* @param {string} hospitalId
|
|
9446
|
+
* @param {string} specialtyId
|
|
9447
|
+
* @param {string} serviceId
|
|
9448
|
+
* @param {SaveServiceAppointmentTimetableOverridesCommand} [saveServiceAppointmentTimetableOverridesCommand]
|
|
9449
|
+
* @param {*} [options] Override http request option.
|
|
9450
|
+
* @throws {RequiredError}
|
|
9451
|
+
* @memberof HospitalsApi
|
|
9452
|
+
*/
|
|
9453
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost = function (hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options) {
|
|
9454
|
+
var _this = this;
|
|
9455
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetableoverridesPost(hospitalId, specialtyId, serviceId, saveServiceAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9456
|
+
};
|
|
9457
|
+
/**
|
|
9458
|
+
*
|
|
9459
|
+
* @summary Add, update and delete service appointment timetables
|
|
9460
|
+
* @param {string} hospitalId
|
|
9461
|
+
* @param {string} specialtyId
|
|
9462
|
+
* @param {string} serviceId
|
|
9463
|
+
* @param {BatchServiceAppointmentTimetablesCommand} [batchServiceAppointmentTimetablesCommand]
|
|
9464
|
+
* @param {*} [options] Override http request option.
|
|
9465
|
+
* @throws {RequiredError}
|
|
9466
|
+
* @memberof HospitalsApi
|
|
9467
|
+
*/
|
|
9468
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost = function (hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options) {
|
|
9469
|
+
var _this = this;
|
|
9470
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesBatchPost(hospitalId, specialtyId, serviceId, batchServiceAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9471
|
+
};
|
|
9472
|
+
/**
|
|
9473
|
+
*
|
|
9474
|
+
* @summary Get Service appointment timetables
|
|
9475
|
+
* @param {string} hospitalId
|
|
9476
|
+
* @param {string} specialtyId
|
|
9477
|
+
* @param {string} serviceId
|
|
9478
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
9479
|
+
* @param {number} [page]
|
|
9480
|
+
* @param {number} [limit]
|
|
9481
|
+
* @param {Date} [lastRetrieved]
|
|
9482
|
+
* @param {*} [options] Override http request option.
|
|
9483
|
+
* @throws {RequiredError}
|
|
9484
|
+
* @memberof HospitalsApi
|
|
9485
|
+
*/
|
|
9486
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet = function (hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
9487
|
+
var _this = this;
|
|
9488
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9489
|
+
};
|
|
8095
9490
|
/**
|
|
8096
9491
|
*
|
|
8097
9492
|
* @summary Delete HospitalService
|