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