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/deals-api.js
CHANGED
|
@@ -92,6 +92,236 @@ var base_1 = require("../base");
|
|
|
92
92
|
var DealsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Get DealAppointment tiemtable overrides
|
|
98
|
+
* @param {string} dealId
|
|
99
|
+
* @param {boolean} [includesPreviousItems]
|
|
100
|
+
* @param {Date} [startDate]
|
|
101
|
+
* @param {Date} [endDate]
|
|
102
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
103
|
+
* @param {number} [page]
|
|
104
|
+
* @param {number} [limit]
|
|
105
|
+
* @param {Date} [lastRetrieved]
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
apiV1DealsDealIdAppointmenttimetableoverridesGet: function (dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
110
|
+
if (options === void 0) { options = {}; }
|
|
111
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0:
|
|
116
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdAppointmenttimetableoverridesGet', 'dealId', dealId);
|
|
118
|
+
localVarPath = "/api/v1/deals/{dealId}/appointmenttimetableoverrides"
|
|
119
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
120
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
}
|
|
124
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
125
|
+
localVarHeaderParameter = {};
|
|
126
|
+
localVarQueryParameter = {};
|
|
127
|
+
// authentication oauth2 required
|
|
128
|
+
// oauth required
|
|
129
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
130
|
+
case 1:
|
|
131
|
+
// authentication oauth2 required
|
|
132
|
+
// oauth required
|
|
133
|
+
_a.sent();
|
|
134
|
+
if (includesPreviousItems !== undefined) {
|
|
135
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
136
|
+
}
|
|
137
|
+
if (startDate !== undefined) {
|
|
138
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
139
|
+
startDate.toISOString() :
|
|
140
|
+
startDate;
|
|
141
|
+
}
|
|
142
|
+
if (endDate !== undefined) {
|
|
143
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
144
|
+
endDate.toISOString() :
|
|
145
|
+
endDate;
|
|
146
|
+
}
|
|
147
|
+
if (dayOfWeek !== undefined) {
|
|
148
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
149
|
+
}
|
|
150
|
+
if (page !== undefined) {
|
|
151
|
+
localVarQueryParameter['page'] = page;
|
|
152
|
+
}
|
|
153
|
+
if (limit !== undefined) {
|
|
154
|
+
localVarQueryParameter['limit'] = limit;
|
|
155
|
+
}
|
|
156
|
+
if (lastRetrieved !== undefined) {
|
|
157
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
158
|
+
lastRetrieved.toISOString() :
|
|
159
|
+
lastRetrieved;
|
|
160
|
+
}
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
return [2 /*return*/, {
|
|
165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
}];
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Save Deal appointment timetable overrides
|
|
175
|
+
* @param {string} dealId
|
|
176
|
+
* @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
apiV1DealsDealIdAppointmenttimetableoverridesPost: function (dealId, saveDealAppointmentTimetableOverridesCommand, options) {
|
|
181
|
+
if (options === void 0) { options = {}; }
|
|
182
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
183
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
switch (_a.label) {
|
|
186
|
+
case 0:
|
|
187
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
188
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdAppointmenttimetableoverridesPost', 'dealId', dealId);
|
|
189
|
+
localVarPath = "/api/v1/deals/{dealId}/appointmenttimetableoverrides"
|
|
190
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
191
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
192
|
+
if (configuration) {
|
|
193
|
+
baseOptions = configuration.baseOptions;
|
|
194
|
+
}
|
|
195
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
196
|
+
localVarHeaderParameter = {};
|
|
197
|
+
localVarQueryParameter = {};
|
|
198
|
+
// authentication oauth2 required
|
|
199
|
+
// oauth required
|
|
200
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
201
|
+
case 1:
|
|
202
|
+
// authentication oauth2 required
|
|
203
|
+
// oauth required
|
|
204
|
+
_a.sent();
|
|
205
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
206
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
207
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
209
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveDealAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
210
|
+
return [2 /*return*/, {
|
|
211
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
}];
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
},
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Add, update and delete deal appointment timetable
|
|
221
|
+
* @param {string} dealId
|
|
222
|
+
* @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
apiV1DealsDealIdAppointmenttimetablesBatchPost: function (dealId, batchDealAppointmentTimetablesCommand, options) {
|
|
227
|
+
if (options === void 0) { options = {}; }
|
|
228
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
229
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
230
|
+
return __generator(this, function (_a) {
|
|
231
|
+
switch (_a.label) {
|
|
232
|
+
case 0:
|
|
233
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
234
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdAppointmenttimetablesBatchPost', 'dealId', dealId);
|
|
235
|
+
localVarPath = "/api/v1/deals/{dealId}/appointmenttimetables/batch"
|
|
236
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
237
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
}
|
|
241
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
242
|
+
localVarHeaderParameter = {};
|
|
243
|
+
localVarQueryParameter = {};
|
|
244
|
+
// authentication oauth2 required
|
|
245
|
+
// oauth required
|
|
246
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
247
|
+
case 1:
|
|
248
|
+
// authentication oauth2 required
|
|
249
|
+
// oauth required
|
|
250
|
+
_a.sent();
|
|
251
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
252
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchDealAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
256
|
+
return [2 /*return*/, {
|
|
257
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
258
|
+
options: localVarRequestOptions,
|
|
259
|
+
}];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary Get deal appointment timetables
|
|
267
|
+
* @param {string} dealId
|
|
268
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
269
|
+
* @param {number} [page]
|
|
270
|
+
* @param {number} [limit]
|
|
271
|
+
* @param {Date} [lastRetrieved]
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
apiV1DealsDealIdAppointmenttimetablesGet: function (dealId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
276
|
+
if (options === void 0) { options = {}; }
|
|
277
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
279
|
+
return __generator(this, function (_a) {
|
|
280
|
+
switch (_a.label) {
|
|
281
|
+
case 0:
|
|
282
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
283
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdAppointmenttimetablesGet', 'dealId', dealId);
|
|
284
|
+
localVarPath = "/api/v1/deals/{dealId}/appointmenttimetables"
|
|
285
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
286
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
287
|
+
if (configuration) {
|
|
288
|
+
baseOptions = configuration.baseOptions;
|
|
289
|
+
}
|
|
290
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
291
|
+
localVarHeaderParameter = {};
|
|
292
|
+
localVarQueryParameter = {};
|
|
293
|
+
// authentication oauth2 required
|
|
294
|
+
// oauth required
|
|
295
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
296
|
+
case 1:
|
|
297
|
+
// authentication oauth2 required
|
|
298
|
+
// oauth required
|
|
299
|
+
_a.sent();
|
|
300
|
+
if (dayOfWeek !== undefined) {
|
|
301
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
302
|
+
}
|
|
303
|
+
if (page !== undefined) {
|
|
304
|
+
localVarQueryParameter['page'] = page;
|
|
305
|
+
}
|
|
306
|
+
if (limit !== undefined) {
|
|
307
|
+
localVarQueryParameter['limit'] = limit;
|
|
308
|
+
}
|
|
309
|
+
if (lastRetrieved !== undefined) {
|
|
310
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
311
|
+
lastRetrieved.toISOString() :
|
|
312
|
+
lastRetrieved;
|
|
313
|
+
}
|
|
314
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
316
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
317
|
+
return [2 /*return*/, {
|
|
318
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
319
|
+
options: localVarRequestOptions,
|
|
320
|
+
}];
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
});
|
|
324
|
+
},
|
|
95
325
|
/**
|
|
96
326
|
*
|
|
97
327
|
* @summary Delete deal.
|
|
@@ -275,6 +505,252 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
275
505
|
});
|
|
276
506
|
});
|
|
277
507
|
},
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @summary Get DealPackage appointment timetable overrides
|
|
511
|
+
* @param {string} dealId
|
|
512
|
+
* @param {string} packageId
|
|
513
|
+
* @param {boolean} [includesPreviousItems]
|
|
514
|
+
* @param {Date} [startDate]
|
|
515
|
+
* @param {Date} [endDate]
|
|
516
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
517
|
+
* @param {number} [page]
|
|
518
|
+
* @param {number} [limit]
|
|
519
|
+
* @param {Date} [lastRetrieved]
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet: function (dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
524
|
+
if (options === void 0) { options = {}; }
|
|
525
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
526
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
527
|
+
return __generator(this, function (_a) {
|
|
528
|
+
switch (_a.label) {
|
|
529
|
+
case 0:
|
|
530
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
531
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet', 'dealId', dealId);
|
|
532
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
533
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet', 'packageId', packageId);
|
|
534
|
+
localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetableoverrides"
|
|
535
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
536
|
+
.replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
|
|
537
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
538
|
+
if (configuration) {
|
|
539
|
+
baseOptions = configuration.baseOptions;
|
|
540
|
+
}
|
|
541
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
542
|
+
localVarHeaderParameter = {};
|
|
543
|
+
localVarQueryParameter = {};
|
|
544
|
+
// authentication oauth2 required
|
|
545
|
+
// oauth required
|
|
546
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
547
|
+
case 1:
|
|
548
|
+
// authentication oauth2 required
|
|
549
|
+
// oauth required
|
|
550
|
+
_a.sent();
|
|
551
|
+
if (includesPreviousItems !== undefined) {
|
|
552
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
553
|
+
}
|
|
554
|
+
if (startDate !== undefined) {
|
|
555
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
556
|
+
startDate.toISOString() :
|
|
557
|
+
startDate;
|
|
558
|
+
}
|
|
559
|
+
if (endDate !== undefined) {
|
|
560
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
561
|
+
endDate.toISOString() :
|
|
562
|
+
endDate;
|
|
563
|
+
}
|
|
564
|
+
if (dayOfWeek !== undefined) {
|
|
565
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
566
|
+
}
|
|
567
|
+
if (page !== undefined) {
|
|
568
|
+
localVarQueryParameter['page'] = page;
|
|
569
|
+
}
|
|
570
|
+
if (limit !== undefined) {
|
|
571
|
+
localVarQueryParameter['limit'] = limit;
|
|
572
|
+
}
|
|
573
|
+
if (lastRetrieved !== undefined) {
|
|
574
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
575
|
+
lastRetrieved.toISOString() :
|
|
576
|
+
lastRetrieved;
|
|
577
|
+
}
|
|
578
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
581
|
+
return [2 /*return*/, {
|
|
582
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
583
|
+
options: localVarRequestOptions,
|
|
584
|
+
}];
|
|
585
|
+
}
|
|
586
|
+
});
|
|
587
|
+
});
|
|
588
|
+
},
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @summary Save DealPackage appointment timetable overrides
|
|
592
|
+
* @param {string} dealId
|
|
593
|
+
* @param {string} packageId
|
|
594
|
+
* @param {SaveDealPackageAppointmentTimetableOverridesCommand} [saveDealPackageAppointmentTimetableOverridesCommand]
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost: function (dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options) {
|
|
599
|
+
if (options === void 0) { options = {}; }
|
|
600
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
601
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
602
|
+
return __generator(this, function (_a) {
|
|
603
|
+
switch (_a.label) {
|
|
604
|
+
case 0:
|
|
605
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
606
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost', 'dealId', dealId);
|
|
607
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
608
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost', 'packageId', packageId);
|
|
609
|
+
localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetableoverrides"
|
|
610
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
611
|
+
.replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
|
|
612
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
613
|
+
if (configuration) {
|
|
614
|
+
baseOptions = configuration.baseOptions;
|
|
615
|
+
}
|
|
616
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
617
|
+
localVarHeaderParameter = {};
|
|
618
|
+
localVarQueryParameter = {};
|
|
619
|
+
// authentication oauth2 required
|
|
620
|
+
// oauth required
|
|
621
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
622
|
+
case 1:
|
|
623
|
+
// authentication oauth2 required
|
|
624
|
+
// oauth required
|
|
625
|
+
_a.sent();
|
|
626
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
627
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
628
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
630
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveDealPackageAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
631
|
+
return [2 /*return*/, {
|
|
632
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
633
|
+
options: localVarRequestOptions,
|
|
634
|
+
}];
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
});
|
|
638
|
+
},
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @summary Add, update and delete DealPackage appointment timetable
|
|
642
|
+
* @param {string} dealId
|
|
643
|
+
* @param {string} packageId
|
|
644
|
+
* @param {BatchDealPackageAppointmentTimetablesCommand} [batchDealPackageAppointmentTimetablesCommand]
|
|
645
|
+
* @param {*} [options] Override http request option.
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
*/
|
|
648
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost: function (dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options) {
|
|
649
|
+
if (options === void 0) { options = {}; }
|
|
650
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
651
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
652
|
+
return __generator(this, function (_a) {
|
|
653
|
+
switch (_a.label) {
|
|
654
|
+
case 0:
|
|
655
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
656
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost', 'dealId', dealId);
|
|
657
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
658
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost', 'packageId', packageId);
|
|
659
|
+
localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetables/batch"
|
|
660
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
661
|
+
.replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
|
|
662
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
663
|
+
if (configuration) {
|
|
664
|
+
baseOptions = configuration.baseOptions;
|
|
665
|
+
}
|
|
666
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
667
|
+
localVarHeaderParameter = {};
|
|
668
|
+
localVarQueryParameter = {};
|
|
669
|
+
// authentication oauth2 required
|
|
670
|
+
// oauth required
|
|
671
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
672
|
+
case 1:
|
|
673
|
+
// authentication oauth2 required
|
|
674
|
+
// oauth required
|
|
675
|
+
_a.sent();
|
|
676
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
677
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
680
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchDealPackageAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
681
|
+
return [2 /*return*/, {
|
|
682
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
683
|
+
options: localVarRequestOptions,
|
|
684
|
+
}];
|
|
685
|
+
}
|
|
686
|
+
});
|
|
687
|
+
});
|
|
688
|
+
},
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @summary Get DealPackage appointment timetables
|
|
692
|
+
* @param {string} dealId
|
|
693
|
+
* @param {string} packageId
|
|
694
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
695
|
+
* @param {number} [page]
|
|
696
|
+
* @param {number} [limit]
|
|
697
|
+
* @param {Date} [lastRetrieved]
|
|
698
|
+
* @param {*} [options] Override http request option.
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
*/
|
|
701
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet: function (dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
702
|
+
if (options === void 0) { options = {}; }
|
|
703
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
704
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
705
|
+
return __generator(this, function (_a) {
|
|
706
|
+
switch (_a.label) {
|
|
707
|
+
case 0:
|
|
708
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
709
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet', 'dealId', dealId);
|
|
710
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
711
|
+
(0, common_1.assertParamExists)('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet', 'packageId', packageId);
|
|
712
|
+
localVarPath = "/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetables"
|
|
713
|
+
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
714
|
+
.replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
|
|
715
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
716
|
+
if (configuration) {
|
|
717
|
+
baseOptions = configuration.baseOptions;
|
|
718
|
+
}
|
|
719
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
720
|
+
localVarHeaderParameter = {};
|
|
721
|
+
localVarQueryParameter = {};
|
|
722
|
+
// authentication oauth2 required
|
|
723
|
+
// oauth required
|
|
724
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
725
|
+
case 1:
|
|
726
|
+
// authentication oauth2 required
|
|
727
|
+
// oauth required
|
|
728
|
+
_a.sent();
|
|
729
|
+
if (dayOfWeek !== undefined) {
|
|
730
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
731
|
+
}
|
|
732
|
+
if (page !== undefined) {
|
|
733
|
+
localVarQueryParameter['page'] = page;
|
|
734
|
+
}
|
|
735
|
+
if (limit !== undefined) {
|
|
736
|
+
localVarQueryParameter['limit'] = limit;
|
|
737
|
+
}
|
|
738
|
+
if (lastRetrieved !== undefined) {
|
|
739
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
740
|
+
lastRetrieved.toISOString() :
|
|
741
|
+
lastRetrieved;
|
|
742
|
+
}
|
|
743
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
744
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
745
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
746
|
+
return [2 /*return*/, {
|
|
747
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
748
|
+
options: localVarRequestOptions,
|
|
749
|
+
}];
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
});
|
|
753
|
+
},
|
|
278
754
|
/**
|
|
279
755
|
*
|
|
280
756
|
* @summary Delete DealPackage.
|
|
@@ -1125,16 +1601,109 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
1125
1601
|
});
|
|
1126
1602
|
});
|
|
1127
1603
|
},
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
exports.DealsApiAxiosParamCreator = DealsApiAxiosParamCreator;
|
|
1131
|
-
/**
|
|
1132
|
-
* DealsApi - functional programming interface
|
|
1133
|
-
* @export
|
|
1134
|
-
*/
|
|
1135
|
-
var DealsApiFp = function (configuration) {
|
|
1136
|
-
var localVarAxiosParamCreator = (0, exports.DealsApiAxiosParamCreator)(configuration);
|
|
1137
|
-
return {
|
|
1604
|
+
};
|
|
1605
|
+
};
|
|
1606
|
+
exports.DealsApiAxiosParamCreator = DealsApiAxiosParamCreator;
|
|
1607
|
+
/**
|
|
1608
|
+
* DealsApi - functional programming interface
|
|
1609
|
+
* @export
|
|
1610
|
+
*/
|
|
1611
|
+
var DealsApiFp = function (configuration) {
|
|
1612
|
+
var localVarAxiosParamCreator = (0, exports.DealsApiAxiosParamCreator)(configuration);
|
|
1613
|
+
return {
|
|
1614
|
+
/**
|
|
1615
|
+
*
|
|
1616
|
+
* @summary Get DealAppointment tiemtable overrides
|
|
1617
|
+
* @param {string} dealId
|
|
1618
|
+
* @param {boolean} [includesPreviousItems]
|
|
1619
|
+
* @param {Date} [startDate]
|
|
1620
|
+
* @param {Date} [endDate]
|
|
1621
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1622
|
+
* @param {number} [page]
|
|
1623
|
+
* @param {number} [limit]
|
|
1624
|
+
* @param {Date} [lastRetrieved]
|
|
1625
|
+
* @param {*} [options] Override http request option.
|
|
1626
|
+
* @throws {RequiredError}
|
|
1627
|
+
*/
|
|
1628
|
+
apiV1DealsDealIdAppointmenttimetableoverridesGet: function (dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1629
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1630
|
+
var localVarAxiosArgs;
|
|
1631
|
+
return __generator(this, function (_a) {
|
|
1632
|
+
switch (_a.label) {
|
|
1633
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
1634
|
+
case 1:
|
|
1635
|
+
localVarAxiosArgs = _a.sent();
|
|
1636
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1637
|
+
}
|
|
1638
|
+
});
|
|
1639
|
+
});
|
|
1640
|
+
},
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @summary Save Deal appointment timetable overrides
|
|
1644
|
+
* @param {string} dealId
|
|
1645
|
+
* @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
|
|
1646
|
+
* @param {*} [options] Override http request option.
|
|
1647
|
+
* @throws {RequiredError}
|
|
1648
|
+
*/
|
|
1649
|
+
apiV1DealsDealIdAppointmenttimetableoverridesPost: function (dealId, saveDealAppointmentTimetableOverridesCommand, options) {
|
|
1650
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1651
|
+
var localVarAxiosArgs;
|
|
1652
|
+
return __generator(this, function (_a) {
|
|
1653
|
+
switch (_a.label) {
|
|
1654
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId, saveDealAppointmentTimetableOverridesCommand, options)];
|
|
1655
|
+
case 1:
|
|
1656
|
+
localVarAxiosArgs = _a.sent();
|
|
1657
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1658
|
+
}
|
|
1659
|
+
});
|
|
1660
|
+
});
|
|
1661
|
+
},
|
|
1662
|
+
/**
|
|
1663
|
+
*
|
|
1664
|
+
* @summary Add, update and delete deal appointment timetable
|
|
1665
|
+
* @param {string} dealId
|
|
1666
|
+
* @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
|
|
1667
|
+
* @param {*} [options] Override http request option.
|
|
1668
|
+
* @throws {RequiredError}
|
|
1669
|
+
*/
|
|
1670
|
+
apiV1DealsDealIdAppointmenttimetablesBatchPost: function (dealId, batchDealAppointmentTimetablesCommand, options) {
|
|
1671
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1672
|
+
var localVarAxiosArgs;
|
|
1673
|
+
return __generator(this, function (_a) {
|
|
1674
|
+
switch (_a.label) {
|
|
1675
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId, batchDealAppointmentTimetablesCommand, options)];
|
|
1676
|
+
case 1:
|
|
1677
|
+
localVarAxiosArgs = _a.sent();
|
|
1678
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1679
|
+
}
|
|
1680
|
+
});
|
|
1681
|
+
});
|
|
1682
|
+
},
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @summary Get deal appointment timetables
|
|
1686
|
+
* @param {string} dealId
|
|
1687
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1688
|
+
* @param {number} [page]
|
|
1689
|
+
* @param {number} [limit]
|
|
1690
|
+
* @param {Date} [lastRetrieved]
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
1693
|
+
*/
|
|
1694
|
+
apiV1DealsDealIdAppointmenttimetablesGet: function (dealId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1695
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1696
|
+
var localVarAxiosArgs;
|
|
1697
|
+
return __generator(this, function (_a) {
|
|
1698
|
+
switch (_a.label) {
|
|
1699
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetablesGet(dealId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
1700
|
+
case 1:
|
|
1701
|
+
localVarAxiosArgs = _a.sent();
|
|
1702
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1703
|
+
}
|
|
1704
|
+
});
|
|
1705
|
+
});
|
|
1706
|
+
},
|
|
1138
1707
|
/**
|
|
1139
1708
|
*
|
|
1140
1709
|
* @summary Delete deal.
|
|
@@ -1208,6 +1777,103 @@ var DealsApiFp = function (configuration) {
|
|
|
1208
1777
|
});
|
|
1209
1778
|
});
|
|
1210
1779
|
},
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @summary Get DealPackage appointment timetable overrides
|
|
1783
|
+
* @param {string} dealId
|
|
1784
|
+
* @param {string} packageId
|
|
1785
|
+
* @param {boolean} [includesPreviousItems]
|
|
1786
|
+
* @param {Date} [startDate]
|
|
1787
|
+
* @param {Date} [endDate]
|
|
1788
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1789
|
+
* @param {number} [page]
|
|
1790
|
+
* @param {number} [limit]
|
|
1791
|
+
* @param {Date} [lastRetrieved]
|
|
1792
|
+
* @param {*} [options] Override http request option.
|
|
1793
|
+
* @throws {RequiredError}
|
|
1794
|
+
*/
|
|
1795
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet: function (dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1796
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1797
|
+
var localVarAxiosArgs;
|
|
1798
|
+
return __generator(this, function (_a) {
|
|
1799
|
+
switch (_a.label) {
|
|
1800
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
1801
|
+
case 1:
|
|
1802
|
+
localVarAxiosArgs = _a.sent();
|
|
1803
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1806
|
+
});
|
|
1807
|
+
},
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @summary Save DealPackage appointment timetable overrides
|
|
1811
|
+
* @param {string} dealId
|
|
1812
|
+
* @param {string} packageId
|
|
1813
|
+
* @param {SaveDealPackageAppointmentTimetableOverridesCommand} [saveDealPackageAppointmentTimetableOverridesCommand]
|
|
1814
|
+
* @param {*} [options] Override http request option.
|
|
1815
|
+
* @throws {RequiredError}
|
|
1816
|
+
*/
|
|
1817
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost: function (dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options) {
|
|
1818
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1819
|
+
var localVarAxiosArgs;
|
|
1820
|
+
return __generator(this, function (_a) {
|
|
1821
|
+
switch (_a.label) {
|
|
1822
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options)];
|
|
1823
|
+
case 1:
|
|
1824
|
+
localVarAxiosArgs = _a.sent();
|
|
1825
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1826
|
+
}
|
|
1827
|
+
});
|
|
1828
|
+
});
|
|
1829
|
+
},
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @summary Add, update and delete DealPackage appointment timetable
|
|
1833
|
+
* @param {string} dealId
|
|
1834
|
+
* @param {string} packageId
|
|
1835
|
+
* @param {BatchDealPackageAppointmentTimetablesCommand} [batchDealPackageAppointmentTimetablesCommand]
|
|
1836
|
+
* @param {*} [options] Override http request option.
|
|
1837
|
+
* @throws {RequiredError}
|
|
1838
|
+
*/
|
|
1839
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost: function (dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options) {
|
|
1840
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1841
|
+
var localVarAxiosArgs;
|
|
1842
|
+
return __generator(this, function (_a) {
|
|
1843
|
+
switch (_a.label) {
|
|
1844
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost(dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options)];
|
|
1845
|
+
case 1:
|
|
1846
|
+
localVarAxiosArgs = _a.sent();
|
|
1847
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1848
|
+
}
|
|
1849
|
+
});
|
|
1850
|
+
});
|
|
1851
|
+
},
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @summary Get DealPackage appointment timetables
|
|
1855
|
+
* @param {string} dealId
|
|
1856
|
+
* @param {string} packageId
|
|
1857
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1858
|
+
* @param {number} [page]
|
|
1859
|
+
* @param {number} [limit]
|
|
1860
|
+
* @param {Date} [lastRetrieved]
|
|
1861
|
+
* @param {*} [options] Override http request option.
|
|
1862
|
+
* @throws {RequiredError}
|
|
1863
|
+
*/
|
|
1864
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet: function (dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1865
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1866
|
+
var localVarAxiosArgs;
|
|
1867
|
+
return __generator(this, function (_a) {
|
|
1868
|
+
switch (_a.label) {
|
|
1869
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
1870
|
+
case 1:
|
|
1871
|
+
localVarAxiosArgs = _a.sent();
|
|
1872
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1873
|
+
}
|
|
1874
|
+
});
|
|
1875
|
+
});
|
|
1876
|
+
},
|
|
1211
1877
|
/**
|
|
1212
1878
|
*
|
|
1213
1879
|
* @summary Delete DealPackage.
|
|
@@ -1560,6 +2226,59 @@ exports.DealsApiFp = DealsApiFp;
|
|
|
1560
2226
|
var DealsApiFactory = function (configuration, basePath, axios) {
|
|
1561
2227
|
var localVarFp = (0, exports.DealsApiFp)(configuration);
|
|
1562
2228
|
return {
|
|
2229
|
+
/**
|
|
2230
|
+
*
|
|
2231
|
+
* @summary Get DealAppointment tiemtable overrides
|
|
2232
|
+
* @param {string} dealId
|
|
2233
|
+
* @param {boolean} [includesPreviousItems]
|
|
2234
|
+
* @param {Date} [startDate]
|
|
2235
|
+
* @param {Date} [endDate]
|
|
2236
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2237
|
+
* @param {number} [page]
|
|
2238
|
+
* @param {number} [limit]
|
|
2239
|
+
* @param {Date} [lastRetrieved]
|
|
2240
|
+
* @param {*} [options] Override http request option.
|
|
2241
|
+
* @throws {RequiredError}
|
|
2242
|
+
*/
|
|
2243
|
+
apiV1DealsDealIdAppointmenttimetableoverridesGet: function (dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2244
|
+
return localVarFp.apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2245
|
+
},
|
|
2246
|
+
/**
|
|
2247
|
+
*
|
|
2248
|
+
* @summary Save Deal appointment timetable overrides
|
|
2249
|
+
* @param {string} dealId
|
|
2250
|
+
* @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
|
|
2251
|
+
* @param {*} [options] Override http request option.
|
|
2252
|
+
* @throws {RequiredError}
|
|
2253
|
+
*/
|
|
2254
|
+
apiV1DealsDealIdAppointmenttimetableoverridesPost: function (dealId, saveDealAppointmentTimetableOverridesCommand, options) {
|
|
2255
|
+
return localVarFp.apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId, saveDealAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2256
|
+
},
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
* @summary Add, update and delete deal appointment timetable
|
|
2260
|
+
* @param {string} dealId
|
|
2261
|
+
* @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
|
|
2262
|
+
* @param {*} [options] Override http request option.
|
|
2263
|
+
* @throws {RequiredError}
|
|
2264
|
+
*/
|
|
2265
|
+
apiV1DealsDealIdAppointmenttimetablesBatchPost: function (dealId, batchDealAppointmentTimetablesCommand, options) {
|
|
2266
|
+
return localVarFp.apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId, batchDealAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2267
|
+
},
|
|
2268
|
+
/**
|
|
2269
|
+
*
|
|
2270
|
+
* @summary Get deal appointment timetables
|
|
2271
|
+
* @param {string} dealId
|
|
2272
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2273
|
+
* @param {number} [page]
|
|
2274
|
+
* @param {number} [limit]
|
|
2275
|
+
* @param {Date} [lastRetrieved]
|
|
2276
|
+
* @param {*} [options] Override http request option.
|
|
2277
|
+
* @throws {RequiredError}
|
|
2278
|
+
*/
|
|
2279
|
+
apiV1DealsDealIdAppointmenttimetablesGet: function (dealId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2280
|
+
return localVarFp.apiV1DealsDealIdAppointmenttimetablesGet(dealId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2281
|
+
},
|
|
1563
2282
|
/**
|
|
1564
2283
|
*
|
|
1565
2284
|
* @summary Delete deal.
|
|
@@ -1603,6 +2322,63 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
1603
2322
|
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1604
2323
|
return localVarFp.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1605
2324
|
},
|
|
2325
|
+
/**
|
|
2326
|
+
*
|
|
2327
|
+
* @summary Get DealPackage appointment timetable overrides
|
|
2328
|
+
* @param {string} dealId
|
|
2329
|
+
* @param {string} packageId
|
|
2330
|
+
* @param {boolean} [includesPreviousItems]
|
|
2331
|
+
* @param {Date} [startDate]
|
|
2332
|
+
* @param {Date} [endDate]
|
|
2333
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2334
|
+
* @param {number} [page]
|
|
2335
|
+
* @param {number} [limit]
|
|
2336
|
+
* @param {Date} [lastRetrieved]
|
|
2337
|
+
* @param {*} [options] Override http request option.
|
|
2338
|
+
* @throws {RequiredError}
|
|
2339
|
+
*/
|
|
2340
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet: function (dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2341
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2342
|
+
},
|
|
2343
|
+
/**
|
|
2344
|
+
*
|
|
2345
|
+
* @summary Save DealPackage appointment timetable overrides
|
|
2346
|
+
* @param {string} dealId
|
|
2347
|
+
* @param {string} packageId
|
|
2348
|
+
* @param {SaveDealPackageAppointmentTimetableOverridesCommand} [saveDealPackageAppointmentTimetableOverridesCommand]
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
*/
|
|
2352
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost: function (dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options) {
|
|
2353
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2354
|
+
},
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @summary Add, update and delete DealPackage appointment timetable
|
|
2358
|
+
* @param {string} dealId
|
|
2359
|
+
* @param {string} packageId
|
|
2360
|
+
* @param {BatchDealPackageAppointmentTimetablesCommand} [batchDealPackageAppointmentTimetablesCommand]
|
|
2361
|
+
* @param {*} [options] Override http request option.
|
|
2362
|
+
* @throws {RequiredError}
|
|
2363
|
+
*/
|
|
2364
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost: function (dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options) {
|
|
2365
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost(dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2366
|
+
},
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @summary Get DealPackage appointment timetables
|
|
2370
|
+
* @param {string} dealId
|
|
2371
|
+
* @param {string} packageId
|
|
2372
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2373
|
+
* @param {number} [page]
|
|
2374
|
+
* @param {number} [limit]
|
|
2375
|
+
* @param {Date} [lastRetrieved]
|
|
2376
|
+
* @param {*} [options] Override http request option.
|
|
2377
|
+
* @throws {RequiredError}
|
|
2378
|
+
*/
|
|
2379
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet: function (dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2380
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2381
|
+
},
|
|
1606
2382
|
/**
|
|
1607
2383
|
*
|
|
1608
2384
|
* @summary Delete DealPackage.
|
|
@@ -1819,6 +2595,67 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
1819
2595
|
function DealsApi() {
|
|
1820
2596
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1821
2597
|
}
|
|
2598
|
+
/**
|
|
2599
|
+
*
|
|
2600
|
+
* @summary Get DealAppointment tiemtable overrides
|
|
2601
|
+
* @param {string} dealId
|
|
2602
|
+
* @param {boolean} [includesPreviousItems]
|
|
2603
|
+
* @param {Date} [startDate]
|
|
2604
|
+
* @param {Date} [endDate]
|
|
2605
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2606
|
+
* @param {number} [page]
|
|
2607
|
+
* @param {number} [limit]
|
|
2608
|
+
* @param {Date} [lastRetrieved]
|
|
2609
|
+
* @param {*} [options] Override http request option.
|
|
2610
|
+
* @throws {RequiredError}
|
|
2611
|
+
* @memberof DealsApi
|
|
2612
|
+
*/
|
|
2613
|
+
DealsApi.prototype.apiV1DealsDealIdAppointmenttimetableoverridesGet = function (dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2614
|
+
var _this = this;
|
|
2615
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2616
|
+
};
|
|
2617
|
+
/**
|
|
2618
|
+
*
|
|
2619
|
+
* @summary Save Deal appointment timetable overrides
|
|
2620
|
+
* @param {string} dealId
|
|
2621
|
+
* @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
|
|
2622
|
+
* @param {*} [options] Override http request option.
|
|
2623
|
+
* @throws {RequiredError}
|
|
2624
|
+
* @memberof DealsApi
|
|
2625
|
+
*/
|
|
2626
|
+
DealsApi.prototype.apiV1DealsDealIdAppointmenttimetableoverridesPost = function (dealId, saveDealAppointmentTimetableOverridesCommand, options) {
|
|
2627
|
+
var _this = this;
|
|
2628
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId, saveDealAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2629
|
+
};
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @summary Add, update and delete deal appointment timetable
|
|
2633
|
+
* @param {string} dealId
|
|
2634
|
+
* @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
|
|
2635
|
+
* @param {*} [options] Override http request option.
|
|
2636
|
+
* @throws {RequiredError}
|
|
2637
|
+
* @memberof DealsApi
|
|
2638
|
+
*/
|
|
2639
|
+
DealsApi.prototype.apiV1DealsDealIdAppointmenttimetablesBatchPost = function (dealId, batchDealAppointmentTimetablesCommand, options) {
|
|
2640
|
+
var _this = this;
|
|
2641
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId, batchDealAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2642
|
+
};
|
|
2643
|
+
/**
|
|
2644
|
+
*
|
|
2645
|
+
* @summary Get deal appointment timetables
|
|
2646
|
+
* @param {string} dealId
|
|
2647
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2648
|
+
* @param {number} [page]
|
|
2649
|
+
* @param {number} [limit]
|
|
2650
|
+
* @param {Date} [lastRetrieved]
|
|
2651
|
+
* @param {*} [options] Override http request option.
|
|
2652
|
+
* @throws {RequiredError}
|
|
2653
|
+
* @memberof DealsApi
|
|
2654
|
+
*/
|
|
2655
|
+
DealsApi.prototype.apiV1DealsDealIdAppointmenttimetablesGet = function (dealId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2656
|
+
var _this = this;
|
|
2657
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdAppointmenttimetablesGet(dealId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2658
|
+
};
|
|
1822
2659
|
/**
|
|
1823
2660
|
*
|
|
1824
2661
|
* @summary Delete deal.
|
|
@@ -1868,6 +2705,71 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
1868
2705
|
var _this = this;
|
|
1869
2706
|
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1870
2707
|
};
|
|
2708
|
+
/**
|
|
2709
|
+
*
|
|
2710
|
+
* @summary Get DealPackage appointment timetable overrides
|
|
2711
|
+
* @param {string} dealId
|
|
2712
|
+
* @param {string} packageId
|
|
2713
|
+
* @param {boolean} [includesPreviousItems]
|
|
2714
|
+
* @param {Date} [startDate]
|
|
2715
|
+
* @param {Date} [endDate]
|
|
2716
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2717
|
+
* @param {number} [page]
|
|
2718
|
+
* @param {number} [limit]
|
|
2719
|
+
* @param {Date} [lastRetrieved]
|
|
2720
|
+
* @param {*} [options] Override http request option.
|
|
2721
|
+
* @throws {RequiredError}
|
|
2722
|
+
* @memberof DealsApi
|
|
2723
|
+
*/
|
|
2724
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet = function (dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2725
|
+
var _this = this;
|
|
2726
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2727
|
+
};
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @summary Save DealPackage appointment timetable overrides
|
|
2731
|
+
* @param {string} dealId
|
|
2732
|
+
* @param {string} packageId
|
|
2733
|
+
* @param {SaveDealPackageAppointmentTimetableOverridesCommand} [saveDealPackageAppointmentTimetableOverridesCommand]
|
|
2734
|
+
* @param {*} [options] Override http request option.
|
|
2735
|
+
* @throws {RequiredError}
|
|
2736
|
+
* @memberof DealsApi
|
|
2737
|
+
*/
|
|
2738
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost = function (dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options) {
|
|
2739
|
+
var _this = this;
|
|
2740
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2741
|
+
};
|
|
2742
|
+
/**
|
|
2743
|
+
*
|
|
2744
|
+
* @summary Add, update and delete DealPackage appointment timetable
|
|
2745
|
+
* @param {string} dealId
|
|
2746
|
+
* @param {string} packageId
|
|
2747
|
+
* @param {BatchDealPackageAppointmentTimetablesCommand} [batchDealPackageAppointmentTimetablesCommand]
|
|
2748
|
+
* @param {*} [options] Override http request option.
|
|
2749
|
+
* @throws {RequiredError}
|
|
2750
|
+
* @memberof DealsApi
|
|
2751
|
+
*/
|
|
2752
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost = function (dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options) {
|
|
2753
|
+
var _this = this;
|
|
2754
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost(dealId, packageId, batchDealPackageAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2755
|
+
};
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @summary Get DealPackage appointment timetables
|
|
2759
|
+
* @param {string} dealId
|
|
2760
|
+
* @param {string} packageId
|
|
2761
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
2762
|
+
* @param {number} [page]
|
|
2763
|
+
* @param {number} [limit]
|
|
2764
|
+
* @param {Date} [lastRetrieved]
|
|
2765
|
+
* @param {*} [options] Override http request option.
|
|
2766
|
+
* @throws {RequiredError}
|
|
2767
|
+
* @memberof DealsApi
|
|
2768
|
+
*/
|
|
2769
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet = function (dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
2770
|
+
var _this = this;
|
|
2771
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2772
|
+
};
|
|
1871
2773
|
/**
|
|
1872
2774
|
*
|
|
1873
2775
|
* @summary Delete DealPackage.
|