ch-admin-api-client-typescript 5.43.14 → 5.43.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.map +1 -1
- package/lib/api/appointments-api.js +102 -41
- 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/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +67 -26
- 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.map +1 -1
- package/lib/api/form-results-api.js +46 -17
- 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.map +1 -1
- package/lib/api/patient-affiliations-api.js +25 -8
- 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.map +1 -1
- package/lib/api/patients-api.js +95 -38
- 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/search-curations-api.d.ts.map +1 -1
- package/lib/api/search-curations-api.js +53 -20
- 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.map +1 -1
- package/lib/api/survey-results-api.js +39 -14
- 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/common.d.ts.map +1 -1
- package/lib/common.js +2 -2
- package/package.json +11 -6
- package/.gitattributes +0 -2
- package/.github/workflows/publish-npm.yml +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-refund-upi-model.ts +0 -42
- 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/article-type.ts +0 -33
- 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-language-statistics-model.ts +0 -36
- 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/chadmins-model.ts +0 -42
- 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-language-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-template-version-command.ts +0 -42
- 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/leaved-group-channels-model.ts +0 -42
- package/src/models/localized-url-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/medias-model.ts +0 -42
- 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-environment-model.ts +0 -36
- 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
|
@@ -1,1980 +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 { CreateMediaCommand } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreateSpecialtyCommand } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { MarketingType } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { MediaModel } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { MediaType } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { MediasModel } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { ProblemDetails } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { SpecialtiesModel } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import { SpecialtiesSimpleModel } from '../models';
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
import { SpecialtyModel } from '../models';
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
import { TranslateSpecialtyCommand } from '../models';
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
import { UpdateMediaCommand } from '../models';
|
|
47
|
-
// @ts-ignore
|
|
48
|
-
import { UpdateSpecialtyCommand } from '../models';
|
|
49
|
-
/**
|
|
50
|
-
* SpecialtiesApi - axios parameter creator
|
|
51
|
-
* @export
|
|
52
|
-
*/
|
|
53
|
-
export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
54
|
-
return {
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @summary Get all Specialties. (Auth policies: RequireDoctorRole)
|
|
58
|
-
* @param {string} [id]
|
|
59
|
-
* @param {string} [name]
|
|
60
|
-
* @param {string} [description]
|
|
61
|
-
* @param {string} [specialtyTypeId]
|
|
62
|
-
* @param {MarketingType} [marketingType]
|
|
63
|
-
* @param {string} [hospitalId]
|
|
64
|
-
* @param {Date} [created]
|
|
65
|
-
* @param {string} [languageCode]
|
|
66
|
-
* @param {Array<string>} [ids]
|
|
67
|
-
* @param {boolean} [showHidden]
|
|
68
|
-
* @param {boolean} [returnDefaultValue]
|
|
69
|
-
* @param {number} [page]
|
|
70
|
-
* @param {number} [limit]
|
|
71
|
-
* @param {Date} [lastRetrieved]
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
76
|
-
const localVarPath = `/api/v1/specialties`;
|
|
77
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79
|
-
let baseOptions;
|
|
80
|
-
if (configuration) {
|
|
81
|
-
baseOptions = configuration.baseOptions;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
85
|
-
const localVarHeaderParameter = {} as any;
|
|
86
|
-
const localVarQueryParameter = {} as any;
|
|
87
|
-
|
|
88
|
-
// authentication oauth2 required
|
|
89
|
-
// oauth required
|
|
90
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
91
|
-
|
|
92
|
-
if (id !== undefined) {
|
|
93
|
-
localVarQueryParameter['Id'] = id;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
if (name !== undefined) {
|
|
97
|
-
localVarQueryParameter['Name'] = name;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (description !== undefined) {
|
|
101
|
-
localVarQueryParameter['Description'] = description;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
if (specialtyTypeId !== undefined) {
|
|
105
|
-
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
if (marketingType !== undefined) {
|
|
109
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if (hospitalId !== undefined) {
|
|
113
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (created !== undefined) {
|
|
117
|
-
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
118
|
-
(created as any).toISOString() :
|
|
119
|
-
created;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (languageCode !== undefined) {
|
|
123
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (ids) {
|
|
127
|
-
localVarQueryParameter['Ids'] = ids;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (showHidden !== undefined) {
|
|
131
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
if (returnDefaultValue !== undefined) {
|
|
135
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
if (page !== undefined) {
|
|
139
|
-
localVarQueryParameter['page'] = page;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
if (limit !== undefined) {
|
|
143
|
-
localVarQueryParameter['limit'] = limit;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
if (lastRetrieved !== undefined) {
|
|
147
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
148
|
-
(lastRetrieved as any).toISOString() :
|
|
149
|
-
lastRetrieved;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
157
|
-
|
|
158
|
-
return {
|
|
159
|
-
url: toPathString(localVarUrlObj),
|
|
160
|
-
options: localVarRequestOptions,
|
|
161
|
-
};
|
|
162
|
-
},
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @summary Create a Specialty. (Auth policies: RequireManagerRole)
|
|
166
|
-
* @param {CreateSpecialtyCommand} [createSpecialtyCommand]
|
|
167
|
-
* @param {*} [options] Override http request option.
|
|
168
|
-
* @throws {RequiredError}
|
|
169
|
-
*/
|
|
170
|
-
apiV1SpecialtiesPost: async (createSpecialtyCommand?: CreateSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
-
const localVarPath = `/api/v1/specialties`;
|
|
172
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
|
-
let baseOptions;
|
|
175
|
-
if (configuration) {
|
|
176
|
-
baseOptions = configuration.baseOptions;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
180
|
-
const localVarHeaderParameter = {} as any;
|
|
181
|
-
const localVarQueryParameter = {} as any;
|
|
182
|
-
|
|
183
|
-
// authentication oauth2 required
|
|
184
|
-
// oauth required
|
|
185
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
190
|
-
|
|
191
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
194
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createSpecialtyCommand, localVarRequestOptions, configuration)
|
|
195
|
-
|
|
196
|
-
return {
|
|
197
|
-
url: toPathString(localVarUrlObj),
|
|
198
|
-
options: localVarRequestOptions,
|
|
199
|
-
};
|
|
200
|
-
},
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary Get all Specialties Simple. (Auth policies: RequireDoctorRole)
|
|
204
|
-
* @param {string} [id]
|
|
205
|
-
* @param {string} [name]
|
|
206
|
-
* @param {string} [description]
|
|
207
|
-
* @param {string} [specialtyTypeId]
|
|
208
|
-
* @param {MarketingType} [marketingType]
|
|
209
|
-
* @param {string} [hospitalId]
|
|
210
|
-
* @param {Date} [created]
|
|
211
|
-
* @param {string} [languageCode]
|
|
212
|
-
* @param {Array<string>} [ids]
|
|
213
|
-
* @param {boolean} [showHidden]
|
|
214
|
-
* @param {boolean} [returnDefaultValue]
|
|
215
|
-
* @param {number} [page]
|
|
216
|
-
* @param {number} [limit]
|
|
217
|
-
* @param {Date} [lastRetrieved]
|
|
218
|
-
* @param {*} [options] Override http request option.
|
|
219
|
-
* @throws {RequiredError}
|
|
220
|
-
*/
|
|
221
|
-
apiV1SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
222
|
-
const localVarPath = `/api/v1/specialties/simple`;
|
|
223
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
-
let baseOptions;
|
|
226
|
-
if (configuration) {
|
|
227
|
-
baseOptions = configuration.baseOptions;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
231
|
-
const localVarHeaderParameter = {} as any;
|
|
232
|
-
const localVarQueryParameter = {} as any;
|
|
233
|
-
|
|
234
|
-
// authentication oauth2 required
|
|
235
|
-
// oauth required
|
|
236
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
237
|
-
|
|
238
|
-
if (id !== undefined) {
|
|
239
|
-
localVarQueryParameter['Id'] = id;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
if (name !== undefined) {
|
|
243
|
-
localVarQueryParameter['Name'] = name;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
if (description !== undefined) {
|
|
247
|
-
localVarQueryParameter['Description'] = description;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
if (specialtyTypeId !== undefined) {
|
|
251
|
-
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
if (marketingType !== undefined) {
|
|
255
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
if (hospitalId !== undefined) {
|
|
259
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
if (created !== undefined) {
|
|
263
|
-
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
264
|
-
(created as any).toISOString() :
|
|
265
|
-
created;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
if (languageCode !== undefined) {
|
|
269
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
if (ids) {
|
|
273
|
-
localVarQueryParameter['Ids'] = ids;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
if (showHidden !== undefined) {
|
|
277
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
if (returnDefaultValue !== undefined) {
|
|
281
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
if (page !== undefined) {
|
|
285
|
-
localVarQueryParameter['page'] = page;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
if (limit !== undefined) {
|
|
289
|
-
localVarQueryParameter['limit'] = limit;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
if (lastRetrieved !== undefined) {
|
|
293
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
294
|
-
(lastRetrieved as any).toISOString() :
|
|
295
|
-
lastRetrieved;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
301
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
303
|
-
|
|
304
|
-
return {
|
|
305
|
-
url: toPathString(localVarUrlObj),
|
|
306
|
-
options: localVarRequestOptions,
|
|
307
|
-
};
|
|
308
|
-
},
|
|
309
|
-
/**
|
|
310
|
-
*
|
|
311
|
-
* @summary (Auth policies: RequireDoctorRole)
|
|
312
|
-
* @param {string} slug
|
|
313
|
-
* @param {string} [languageCode]
|
|
314
|
-
* @param {boolean} [returnDefaultValue]
|
|
315
|
-
* @param {*} [options] Override http request option.
|
|
316
|
-
* @throws {RequiredError}
|
|
317
|
-
*/
|
|
318
|
-
apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
|
-
// verify required parameter 'slug' is not null or undefined
|
|
320
|
-
assertParamExists('apiV1SpecialtiesSlugGet', 'slug', slug)
|
|
321
|
-
const localVarPath = `/api/v1/specialties/{slug}`
|
|
322
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
323
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
324
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
325
|
-
let baseOptions;
|
|
326
|
-
if (configuration) {
|
|
327
|
-
baseOptions = configuration.baseOptions;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
331
|
-
const localVarHeaderParameter = {} as any;
|
|
332
|
-
const localVarQueryParameter = {} as any;
|
|
333
|
-
|
|
334
|
-
// authentication oauth2 required
|
|
335
|
-
// oauth required
|
|
336
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
337
|
-
|
|
338
|
-
if (languageCode !== undefined) {
|
|
339
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
if (returnDefaultValue !== undefined) {
|
|
343
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
349
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
350
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
351
|
-
|
|
352
|
-
return {
|
|
353
|
-
url: toPathString(localVarUrlObj),
|
|
354
|
-
options: localVarRequestOptions,
|
|
355
|
-
};
|
|
356
|
-
},
|
|
357
|
-
/**
|
|
358
|
-
*
|
|
359
|
-
* @summary Delete Specialty. (Auth policies: RequireManagerRole)
|
|
360
|
-
* @param {string} specialtyId
|
|
361
|
-
* @param {boolean} [isPermanent]
|
|
362
|
-
* @param {*} [options] Override http request option.
|
|
363
|
-
* @throws {RequiredError}
|
|
364
|
-
*/
|
|
365
|
-
apiV1SpecialtiesSpecialtyIdDelete: async (specialtyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
366
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
367
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
|
|
368
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}`
|
|
369
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
370
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
371
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
372
|
-
let baseOptions;
|
|
373
|
-
if (configuration) {
|
|
374
|
-
baseOptions = configuration.baseOptions;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
378
|
-
const localVarHeaderParameter = {} as any;
|
|
379
|
-
const localVarQueryParameter = {} as any;
|
|
380
|
-
|
|
381
|
-
// authentication oauth2 required
|
|
382
|
-
// oauth required
|
|
383
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
384
|
-
|
|
385
|
-
if (isPermanent !== undefined) {
|
|
386
|
-
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
392
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
393
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
394
|
-
|
|
395
|
-
return {
|
|
396
|
-
url: toPathString(localVarUrlObj),
|
|
397
|
-
options: localVarRequestOptions,
|
|
398
|
-
};
|
|
399
|
-
},
|
|
400
|
-
/**
|
|
401
|
-
*
|
|
402
|
-
* @summary Get Specialty. (Auth policies: RequireDoctorRole)
|
|
403
|
-
* @param {string} specialtyId
|
|
404
|
-
* @param {string} [languageCode]
|
|
405
|
-
* @param {boolean} [returnDefaultValue]
|
|
406
|
-
* @param {*} [options] Override http request option.
|
|
407
|
-
* @throws {RequiredError}
|
|
408
|
-
*/
|
|
409
|
-
apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
410
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
411
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
412
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}`
|
|
413
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
414
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
415
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
416
|
-
let baseOptions;
|
|
417
|
-
if (configuration) {
|
|
418
|
-
baseOptions = configuration.baseOptions;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
422
|
-
const localVarHeaderParameter = {} as any;
|
|
423
|
-
const localVarQueryParameter = {} as any;
|
|
424
|
-
|
|
425
|
-
// authentication oauth2 required
|
|
426
|
-
// oauth required
|
|
427
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
428
|
-
|
|
429
|
-
if (languageCode !== undefined) {
|
|
430
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
if (returnDefaultValue !== undefined) {
|
|
434
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
440
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
441
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
442
|
-
|
|
443
|
-
return {
|
|
444
|
-
url: toPathString(localVarUrlObj),
|
|
445
|
-
options: localVarRequestOptions,
|
|
446
|
-
};
|
|
447
|
-
},
|
|
448
|
-
/**
|
|
449
|
-
*
|
|
450
|
-
* @summary Get all SpecialtyMedias. (Auth policies: RequireDoctorRole)
|
|
451
|
-
* @param {string} specialtyId
|
|
452
|
-
* @param {string} [id]
|
|
453
|
-
* @param {MediaType} [mediaType]
|
|
454
|
-
* @param {number} [page]
|
|
455
|
-
* @param {number} [limit]
|
|
456
|
-
* @param {Date} [lastRetrieved]
|
|
457
|
-
* @param {*} [options] Override http request option.
|
|
458
|
-
* @throws {RequiredError}
|
|
459
|
-
*/
|
|
460
|
-
apiV1SpecialtiesSpecialtyIdMediasGet: async (specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
461
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
462
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasGet', 'specialtyId', specialtyId)
|
|
463
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/medias`
|
|
464
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
465
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
466
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
467
|
-
let baseOptions;
|
|
468
|
-
if (configuration) {
|
|
469
|
-
baseOptions = configuration.baseOptions;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
473
|
-
const localVarHeaderParameter = {} as any;
|
|
474
|
-
const localVarQueryParameter = {} as any;
|
|
475
|
-
|
|
476
|
-
// authentication oauth2 required
|
|
477
|
-
// oauth required
|
|
478
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
479
|
-
|
|
480
|
-
if (id !== undefined) {
|
|
481
|
-
localVarQueryParameter['Id'] = id;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
if (mediaType !== undefined) {
|
|
485
|
-
localVarQueryParameter['MediaType'] = mediaType;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
if (page !== undefined) {
|
|
489
|
-
localVarQueryParameter['page'] = page;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
if (limit !== undefined) {
|
|
493
|
-
localVarQueryParameter['limit'] = limit;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
if (lastRetrieved !== undefined) {
|
|
497
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
498
|
-
(lastRetrieved as any).toISOString() :
|
|
499
|
-
lastRetrieved;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
505
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
506
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
507
|
-
|
|
508
|
-
return {
|
|
509
|
-
url: toPathString(localVarUrlObj),
|
|
510
|
-
options: localVarRequestOptions,
|
|
511
|
-
};
|
|
512
|
-
},
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @summary Delete SpecialtyMedia (Auth policies: RequireManagerRole)
|
|
516
|
-
* @param {string} specialtyId
|
|
517
|
-
* @param {string} mediaId
|
|
518
|
-
* @param {*} [options] Override http request option.
|
|
519
|
-
* @throws {RequiredError}
|
|
520
|
-
*/
|
|
521
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete: async (specialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
522
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
523
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete', 'specialtyId', specialtyId)
|
|
524
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
525
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
526
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
|
|
527
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
528
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
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: 'DELETE', ...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
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
547
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
548
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
549
|
-
|
|
550
|
-
return {
|
|
551
|
-
url: toPathString(localVarUrlObj),
|
|
552
|
-
options: localVarRequestOptions,
|
|
553
|
-
};
|
|
554
|
-
},
|
|
555
|
-
/**
|
|
556
|
-
*
|
|
557
|
-
* @summary Get SpecialtyMedia. (Auth policies: RequireDoctorRole)
|
|
558
|
-
* @param {string} specialtyId
|
|
559
|
-
* @param {string} mediaId
|
|
560
|
-
* @param {*} [options] Override http request option.
|
|
561
|
-
* @throws {RequiredError}
|
|
562
|
-
*/
|
|
563
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdGet: async (specialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
564
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
565
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdGet', 'specialtyId', specialtyId)
|
|
566
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
567
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
568
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
|
|
569
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
570
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
571
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
572
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
573
|
-
let baseOptions;
|
|
574
|
-
if (configuration) {
|
|
575
|
-
baseOptions = configuration.baseOptions;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
579
|
-
const localVarHeaderParameter = {} as any;
|
|
580
|
-
const localVarQueryParameter = {} as any;
|
|
581
|
-
|
|
582
|
-
// authentication oauth2 required
|
|
583
|
-
// oauth required
|
|
584
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
589
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
591
|
-
|
|
592
|
-
return {
|
|
593
|
-
url: toPathString(localVarUrlObj),
|
|
594
|
-
options: localVarRequestOptions,
|
|
595
|
-
};
|
|
596
|
-
},
|
|
597
|
-
/**
|
|
598
|
-
*
|
|
599
|
-
* @summary Update SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
600
|
-
* @param {string} specialtyId
|
|
601
|
-
* @param {string} mediaId
|
|
602
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
603
|
-
* @param {*} [options] Override http request option.
|
|
604
|
-
* @throws {RequiredError}
|
|
605
|
-
*/
|
|
606
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdPut: async (specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
607
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
608
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdPut', 'specialtyId', specialtyId)
|
|
609
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
610
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
611
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/medias/{mediaId}`
|
|
612
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
613
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
614
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
615
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
616
|
-
let baseOptions;
|
|
617
|
-
if (configuration) {
|
|
618
|
-
baseOptions = configuration.baseOptions;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
622
|
-
const localVarHeaderParameter = {} as any;
|
|
623
|
-
const localVarQueryParameter = {} as any;
|
|
624
|
-
|
|
625
|
-
// authentication oauth2 required
|
|
626
|
-
// oauth required
|
|
627
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
632
|
-
|
|
633
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
634
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
636
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
637
|
-
|
|
638
|
-
return {
|
|
639
|
-
url: toPathString(localVarUrlObj),
|
|
640
|
-
options: localVarRequestOptions,
|
|
641
|
-
};
|
|
642
|
-
},
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @summary Create SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
646
|
-
* @param {string} specialtyId
|
|
647
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
648
|
-
* @param {*} [options] Override http request option.
|
|
649
|
-
* @throws {RequiredError}
|
|
650
|
-
*/
|
|
651
|
-
apiV1SpecialtiesSpecialtyIdMediasPost: async (specialtyId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
652
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
653
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdMediasPost', 'specialtyId', specialtyId)
|
|
654
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/medias`
|
|
655
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
656
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
657
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
658
|
-
let baseOptions;
|
|
659
|
-
if (configuration) {
|
|
660
|
-
baseOptions = configuration.baseOptions;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
664
|
-
const localVarHeaderParameter = {} as any;
|
|
665
|
-
const localVarQueryParameter = {} as any;
|
|
666
|
-
|
|
667
|
-
// authentication oauth2 required
|
|
668
|
-
// oauth required
|
|
669
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
674
|
-
|
|
675
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
676
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
677
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
678
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
679
|
-
|
|
680
|
-
return {
|
|
681
|
-
url: toPathString(localVarUrlObj),
|
|
682
|
-
options: localVarRequestOptions,
|
|
683
|
-
};
|
|
684
|
-
},
|
|
685
|
-
/**
|
|
686
|
-
*
|
|
687
|
-
* @summary Update Specialty. (Auth policies: RequireManagerRole)
|
|
688
|
-
* @param {string} specialtyId
|
|
689
|
-
* @param {UpdateSpecialtyCommand} [updateSpecialtyCommand]
|
|
690
|
-
* @param {*} [options] Override http request option.
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
*/
|
|
693
|
-
apiV1SpecialtiesSpecialtyIdPut: async (specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
694
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
695
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
|
|
696
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}`
|
|
697
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
698
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
699
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
700
|
-
let baseOptions;
|
|
701
|
-
if (configuration) {
|
|
702
|
-
baseOptions = configuration.baseOptions;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
706
|
-
const localVarHeaderParameter = {} as any;
|
|
707
|
-
const localVarQueryParameter = {} as any;
|
|
708
|
-
|
|
709
|
-
// authentication oauth2 required
|
|
710
|
-
// oauth required
|
|
711
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
716
|
-
|
|
717
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
718
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
720
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyCommand, localVarRequestOptions, configuration)
|
|
721
|
-
|
|
722
|
-
return {
|
|
723
|
-
url: toPathString(localVarUrlObj),
|
|
724
|
-
options: localVarRequestOptions,
|
|
725
|
-
};
|
|
726
|
-
},
|
|
727
|
-
/**
|
|
728
|
-
*
|
|
729
|
-
* @summary Reactivate Specialty. (Auth policies: RequireManagerRole)
|
|
730
|
-
* @param {string} specialtyId
|
|
731
|
-
* @param {*} [options] Override http request option.
|
|
732
|
-
* @throws {RequiredError}
|
|
733
|
-
*/
|
|
734
|
-
apiV1SpecialtiesSpecialtyIdReactivatePut: async (specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
735
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
736
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdReactivatePut', 'specialtyId', specialtyId)
|
|
737
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/reactivate`
|
|
738
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
739
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
740
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
741
|
-
let baseOptions;
|
|
742
|
-
if (configuration) {
|
|
743
|
-
baseOptions = configuration.baseOptions;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
747
|
-
const localVarHeaderParameter = {} as any;
|
|
748
|
-
const localVarQueryParameter = {} as any;
|
|
749
|
-
|
|
750
|
-
// authentication oauth2 required
|
|
751
|
-
// oauth required
|
|
752
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
757
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
758
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
759
|
-
|
|
760
|
-
return {
|
|
761
|
-
url: toPathString(localVarUrlObj),
|
|
762
|
-
options: localVarRequestOptions,
|
|
763
|
-
};
|
|
764
|
-
},
|
|
765
|
-
/**
|
|
766
|
-
*
|
|
767
|
-
* @summary Revalidate specialty (Auth policies: RequireManagerRole)
|
|
768
|
-
* @param {string} specialtyId
|
|
769
|
-
* @param {boolean} [includeCurrent]
|
|
770
|
-
* @param {*} [options] Override http request option.
|
|
771
|
-
* @throws {RequiredError}
|
|
772
|
-
*/
|
|
773
|
-
apiV1SpecialtiesSpecialtyIdRevalidatePost: async (specialtyId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
774
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
775
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdRevalidatePost', 'specialtyId', specialtyId)
|
|
776
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/revalidate`
|
|
777
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
778
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
779
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
780
|
-
let baseOptions;
|
|
781
|
-
if (configuration) {
|
|
782
|
-
baseOptions = configuration.baseOptions;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
786
|
-
const localVarHeaderParameter = {} as any;
|
|
787
|
-
const localVarQueryParameter = {} as any;
|
|
788
|
-
|
|
789
|
-
// authentication oauth2 required
|
|
790
|
-
// oauth required
|
|
791
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
792
|
-
|
|
793
|
-
if (includeCurrent !== undefined) {
|
|
794
|
-
localVarQueryParameter['includeCurrent'] = includeCurrent;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
800
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
801
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
802
|
-
|
|
803
|
-
return {
|
|
804
|
-
url: toPathString(localVarUrlObj),
|
|
805
|
-
options: localVarRequestOptions,
|
|
806
|
-
};
|
|
807
|
-
},
|
|
808
|
-
/**
|
|
809
|
-
*
|
|
810
|
-
* @summary Translate specialty (Auth policies: RequireManagerRole)
|
|
811
|
-
* @param {string} specialtyId
|
|
812
|
-
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
813
|
-
* @param {*} [options] Override http request option.
|
|
814
|
-
* @throws {RequiredError}
|
|
815
|
-
*/
|
|
816
|
-
apiV1SpecialtiesSpecialtyIdTranslatePost: async (specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
818
|
-
assertParamExists('apiV1SpecialtiesSpecialtyIdTranslatePost', 'specialtyId', specialtyId)
|
|
819
|
-
const localVarPath = `/api/v1/specialties/{specialtyId}/translate`
|
|
820
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
821
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
822
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
823
|
-
let baseOptions;
|
|
824
|
-
if (configuration) {
|
|
825
|
-
baseOptions = configuration.baseOptions;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
829
|
-
const localVarHeaderParameter = {} as any;
|
|
830
|
-
const localVarQueryParameter = {} as any;
|
|
831
|
-
|
|
832
|
-
// authentication oauth2 required
|
|
833
|
-
// oauth required
|
|
834
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
839
|
-
|
|
840
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
843
|
-
localVarRequestOptions.data = serializeDataIfNeeded(translateSpecialtyCommand, localVarRequestOptions, configuration)
|
|
844
|
-
|
|
845
|
-
return {
|
|
846
|
-
url: toPathString(localVarUrlObj),
|
|
847
|
-
options: localVarRequestOptions,
|
|
848
|
-
};
|
|
849
|
-
},
|
|
850
|
-
}
|
|
851
|
-
};
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* SpecialtiesApi - functional programming interface
|
|
855
|
-
* @export
|
|
856
|
-
*/
|
|
857
|
-
export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
858
|
-
const localVarAxiosParamCreator = SpecialtiesApiAxiosParamCreator(configuration)
|
|
859
|
-
return {
|
|
860
|
-
/**
|
|
861
|
-
*
|
|
862
|
-
* @summary Get all Specialties. (Auth policies: RequireDoctorRole)
|
|
863
|
-
* @param {string} [id]
|
|
864
|
-
* @param {string} [name]
|
|
865
|
-
* @param {string} [description]
|
|
866
|
-
* @param {string} [specialtyTypeId]
|
|
867
|
-
* @param {MarketingType} [marketingType]
|
|
868
|
-
* @param {string} [hospitalId]
|
|
869
|
-
* @param {Date} [created]
|
|
870
|
-
* @param {string} [languageCode]
|
|
871
|
-
* @param {Array<string>} [ids]
|
|
872
|
-
* @param {boolean} [showHidden]
|
|
873
|
-
* @param {boolean} [returnDefaultValue]
|
|
874
|
-
* @param {number} [page]
|
|
875
|
-
* @param {number} [limit]
|
|
876
|
-
* @param {Date} [lastRetrieved]
|
|
877
|
-
* @param {*} [options] Override http request option.
|
|
878
|
-
* @throws {RequiredError}
|
|
879
|
-
*/
|
|
880
|
-
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
882
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
883
|
-
},
|
|
884
|
-
/**
|
|
885
|
-
*
|
|
886
|
-
* @summary Create a Specialty. (Auth policies: RequireManagerRole)
|
|
887
|
-
* @param {CreateSpecialtyCommand} [createSpecialtyCommand]
|
|
888
|
-
* @param {*} [options] Override http request option.
|
|
889
|
-
* @throws {RequiredError}
|
|
890
|
-
*/
|
|
891
|
-
async apiV1SpecialtiesPost(createSpecialtyCommand?: CreateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
892
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesPost(createSpecialtyCommand, options);
|
|
893
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
894
|
-
},
|
|
895
|
-
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary Get all Specialties Simple. (Auth policies: RequireDoctorRole)
|
|
898
|
-
* @param {string} [id]
|
|
899
|
-
* @param {string} [name]
|
|
900
|
-
* @param {string} [description]
|
|
901
|
-
* @param {string} [specialtyTypeId]
|
|
902
|
-
* @param {MarketingType} [marketingType]
|
|
903
|
-
* @param {string} [hospitalId]
|
|
904
|
-
* @param {Date} [created]
|
|
905
|
-
* @param {string} [languageCode]
|
|
906
|
-
* @param {Array<string>} [ids]
|
|
907
|
-
* @param {boolean} [showHidden]
|
|
908
|
-
* @param {boolean} [returnDefaultValue]
|
|
909
|
-
* @param {number} [page]
|
|
910
|
-
* @param {number} [limit]
|
|
911
|
-
* @param {Date} [lastRetrieved]
|
|
912
|
-
* @param {*} [options] Override http request option.
|
|
913
|
-
* @throws {RequiredError}
|
|
914
|
-
*/
|
|
915
|
-
async apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
916
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
917
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
918
|
-
},
|
|
919
|
-
/**
|
|
920
|
-
*
|
|
921
|
-
* @summary (Auth policies: RequireDoctorRole)
|
|
922
|
-
* @param {string} slug
|
|
923
|
-
* @param {string} [languageCode]
|
|
924
|
-
* @param {boolean} [returnDefaultValue]
|
|
925
|
-
* @param {*} [options] Override http request option.
|
|
926
|
-
* @throws {RequiredError}
|
|
927
|
-
*/
|
|
928
|
-
async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
929
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
930
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
931
|
-
},
|
|
932
|
-
/**
|
|
933
|
-
*
|
|
934
|
-
* @summary Delete Specialty. (Auth policies: RequireManagerRole)
|
|
935
|
-
* @param {string} specialtyId
|
|
936
|
-
* @param {boolean} [isPermanent]
|
|
937
|
-
* @param {*} [options] Override http request option.
|
|
938
|
-
* @throws {RequiredError}
|
|
939
|
-
*/
|
|
940
|
-
async apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
941
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options);
|
|
942
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
943
|
-
},
|
|
944
|
-
/**
|
|
945
|
-
*
|
|
946
|
-
* @summary Get Specialty. (Auth policies: RequireDoctorRole)
|
|
947
|
-
* @param {string} specialtyId
|
|
948
|
-
* @param {string} [languageCode]
|
|
949
|
-
* @param {boolean} [returnDefaultValue]
|
|
950
|
-
* @param {*} [options] Override http request option.
|
|
951
|
-
* @throws {RequiredError}
|
|
952
|
-
*/
|
|
953
|
-
async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options);
|
|
955
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
956
|
-
},
|
|
957
|
-
/**
|
|
958
|
-
*
|
|
959
|
-
* @summary Get all SpecialtyMedias. (Auth policies: RequireDoctorRole)
|
|
960
|
-
* @param {string} specialtyId
|
|
961
|
-
* @param {string} [id]
|
|
962
|
-
* @param {MediaType} [mediaType]
|
|
963
|
-
* @param {number} [page]
|
|
964
|
-
* @param {number} [limit]
|
|
965
|
-
* @param {Date} [lastRetrieved]
|
|
966
|
-
* @param {*} [options] Override http request option.
|
|
967
|
-
* @throws {RequiredError}
|
|
968
|
-
*/
|
|
969
|
-
async apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
970
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options);
|
|
971
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
972
|
-
},
|
|
973
|
-
/**
|
|
974
|
-
*
|
|
975
|
-
* @summary Delete SpecialtyMedia (Auth policies: RequireManagerRole)
|
|
976
|
-
* @param {string} specialtyId
|
|
977
|
-
* @param {string} mediaId
|
|
978
|
-
* @param {*} [options] Override http request option.
|
|
979
|
-
* @throws {RequiredError}
|
|
980
|
-
*/
|
|
981
|
-
async apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId, mediaId, options);
|
|
983
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
984
|
-
},
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @summary Get SpecialtyMedia. (Auth policies: RequireDoctorRole)
|
|
988
|
-
* @param {string} specialtyId
|
|
989
|
-
* @param {string} mediaId
|
|
990
|
-
* @param {*} [options] Override http request option.
|
|
991
|
-
* @throws {RequiredError}
|
|
992
|
-
*/
|
|
993
|
-
async apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
994
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options);
|
|
995
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
996
|
-
},
|
|
997
|
-
/**
|
|
998
|
-
*
|
|
999
|
-
* @summary Update SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1000
|
-
* @param {string} specialtyId
|
|
1001
|
-
* @param {string} mediaId
|
|
1002
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
1003
|
-
* @param {*} [options] Override http request option.
|
|
1004
|
-
* @throws {RequiredError}
|
|
1005
|
-
*/
|
|
1006
|
-
async apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
1007
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId, mediaId, updateMediaCommand, options);
|
|
1008
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1009
|
-
},
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @summary Create SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1013
|
-
* @param {string} specialtyId
|
|
1014
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
1015
|
-
* @param {*} [options] Override http request option.
|
|
1016
|
-
* @throws {RequiredError}
|
|
1017
|
-
*/
|
|
1018
|
-
async apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
1019
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId, createMediaCommand, options);
|
|
1020
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1021
|
-
},
|
|
1022
|
-
/**
|
|
1023
|
-
*
|
|
1024
|
-
* @summary Update Specialty. (Auth policies: RequireManagerRole)
|
|
1025
|
-
* @param {string} specialtyId
|
|
1026
|
-
* @param {UpdateSpecialtyCommand} [updateSpecialtyCommand]
|
|
1027
|
-
* @param {*} [options] Override http request option.
|
|
1028
|
-
* @throws {RequiredError}
|
|
1029
|
-
*/
|
|
1030
|
-
async apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
1031
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options);
|
|
1032
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1033
|
-
},
|
|
1034
|
-
/**
|
|
1035
|
-
*
|
|
1036
|
-
* @summary Reactivate Specialty. (Auth policies: RequireManagerRole)
|
|
1037
|
-
* @param {string} specialtyId
|
|
1038
|
-
* @param {*} [options] Override http request option.
|
|
1039
|
-
* @throws {RequiredError}
|
|
1040
|
-
*/
|
|
1041
|
-
async apiV1SpecialtiesSpecialtyIdReactivatePut(specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdReactivatePut(specialtyId, options);
|
|
1043
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1044
|
-
},
|
|
1045
|
-
/**
|
|
1046
|
-
*
|
|
1047
|
-
* @summary Revalidate specialty (Auth policies: RequireManagerRole)
|
|
1048
|
-
* @param {string} specialtyId
|
|
1049
|
-
* @param {boolean} [includeCurrent]
|
|
1050
|
-
* @param {*} [options] Override http request option.
|
|
1051
|
-
* @throws {RequiredError}
|
|
1052
|
-
*/
|
|
1053
|
-
async apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1054
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options);
|
|
1055
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1056
|
-
},
|
|
1057
|
-
/**
|
|
1058
|
-
*
|
|
1059
|
-
* @summary Translate specialty (Auth policies: RequireManagerRole)
|
|
1060
|
-
* @param {string} specialtyId
|
|
1061
|
-
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1062
|
-
* @param {*} [options] Override http request option.
|
|
1063
|
-
* @throws {RequiredError}
|
|
1064
|
-
*/
|
|
1065
|
-
async apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1066
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options);
|
|
1067
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1068
|
-
},
|
|
1069
|
-
}
|
|
1070
|
-
};
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* SpecialtiesApi - factory interface
|
|
1074
|
-
* @export
|
|
1075
|
-
*/
|
|
1076
|
-
export const SpecialtiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1077
|
-
const localVarFp = SpecialtiesApiFp(configuration)
|
|
1078
|
-
return {
|
|
1079
|
-
/**
|
|
1080
|
-
*
|
|
1081
|
-
* @summary Get all Specialties. (Auth policies: RequireDoctorRole)
|
|
1082
|
-
* @param {string} [id]
|
|
1083
|
-
* @param {string} [name]
|
|
1084
|
-
* @param {string} [description]
|
|
1085
|
-
* @param {string} [specialtyTypeId]
|
|
1086
|
-
* @param {MarketingType} [marketingType]
|
|
1087
|
-
* @param {string} [hospitalId]
|
|
1088
|
-
* @param {Date} [created]
|
|
1089
|
-
* @param {string} [languageCode]
|
|
1090
|
-
* @param {Array<string>} [ids]
|
|
1091
|
-
* @param {boolean} [showHidden]
|
|
1092
|
-
* @param {boolean} [returnDefaultValue]
|
|
1093
|
-
* @param {number} [page]
|
|
1094
|
-
* @param {number} [limit]
|
|
1095
|
-
* @param {Date} [lastRetrieved]
|
|
1096
|
-
* @param {*} [options] Override http request option.
|
|
1097
|
-
* @throws {RequiredError}
|
|
1098
|
-
*/
|
|
1099
|
-
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
1100
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1101
|
-
},
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @summary Create a Specialty. (Auth policies: RequireManagerRole)
|
|
1105
|
-
* @param {CreateSpecialtyCommand} [createSpecialtyCommand]
|
|
1106
|
-
* @param {*} [options] Override http request option.
|
|
1107
|
-
* @throws {RequiredError}
|
|
1108
|
-
*/
|
|
1109
|
-
apiV1SpecialtiesPost(createSpecialtyCommand?: CreateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
|
|
1110
|
-
return localVarFp.apiV1SpecialtiesPost(createSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
1111
|
-
},
|
|
1112
|
-
/**
|
|
1113
|
-
*
|
|
1114
|
-
* @summary Get all Specialties Simple. (Auth policies: RequireDoctorRole)
|
|
1115
|
-
* @param {string} [id]
|
|
1116
|
-
* @param {string} [name]
|
|
1117
|
-
* @param {string} [description]
|
|
1118
|
-
* @param {string} [specialtyTypeId]
|
|
1119
|
-
* @param {MarketingType} [marketingType]
|
|
1120
|
-
* @param {string} [hospitalId]
|
|
1121
|
-
* @param {Date} [created]
|
|
1122
|
-
* @param {string} [languageCode]
|
|
1123
|
-
* @param {Array<string>} [ids]
|
|
1124
|
-
* @param {boolean} [showHidden]
|
|
1125
|
-
* @param {boolean} [returnDefaultValue]
|
|
1126
|
-
* @param {number} [page]
|
|
1127
|
-
* @param {number} [limit]
|
|
1128
|
-
* @param {Date} [lastRetrieved]
|
|
1129
|
-
* @param {*} [options] Override http request option.
|
|
1130
|
-
* @throws {RequiredError}
|
|
1131
|
-
*/
|
|
1132
|
-
apiV1SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
1133
|
-
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1134
|
-
},
|
|
1135
|
-
/**
|
|
1136
|
-
*
|
|
1137
|
-
* @summary (Auth policies: RequireDoctorRole)
|
|
1138
|
-
* @param {string} slug
|
|
1139
|
-
* @param {string} [languageCode]
|
|
1140
|
-
* @param {boolean} [returnDefaultValue]
|
|
1141
|
-
* @param {*} [options] Override http request option.
|
|
1142
|
-
* @throws {RequiredError}
|
|
1143
|
-
*/
|
|
1144
|
-
apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
1145
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1146
|
-
},
|
|
1147
|
-
/**
|
|
1148
|
-
*
|
|
1149
|
-
* @summary Delete Specialty. (Auth policies: RequireManagerRole)
|
|
1150
|
-
* @param {string} specialtyId
|
|
1151
|
-
* @param {boolean} [isPermanent]
|
|
1152
|
-
* @param {*} [options] Override http request option.
|
|
1153
|
-
* @throws {RequiredError}
|
|
1154
|
-
*/
|
|
1155
|
-
apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1156
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options).then((request) => request(axios, basePath));
|
|
1157
|
-
},
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @summary Get Specialty. (Auth policies: RequireDoctorRole)
|
|
1161
|
-
* @param {string} specialtyId
|
|
1162
|
-
* @param {string} [languageCode]
|
|
1163
|
-
* @param {boolean} [returnDefaultValue]
|
|
1164
|
-
* @param {*} [options] Override http request option.
|
|
1165
|
-
* @throws {RequiredError}
|
|
1166
|
-
*/
|
|
1167
|
-
apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
1168
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1169
|
-
},
|
|
1170
|
-
/**
|
|
1171
|
-
*
|
|
1172
|
-
* @summary Get all SpecialtyMedias. (Auth policies: RequireDoctorRole)
|
|
1173
|
-
* @param {string} specialtyId
|
|
1174
|
-
* @param {string} [id]
|
|
1175
|
-
* @param {MediaType} [mediaType]
|
|
1176
|
-
* @param {number} [page]
|
|
1177
|
-
* @param {number} [limit]
|
|
1178
|
-
* @param {Date} [lastRetrieved]
|
|
1179
|
-
* @param {*} [options] Override http request option.
|
|
1180
|
-
* @throws {RequiredError}
|
|
1181
|
-
*/
|
|
1182
|
-
apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
1183
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1184
|
-
},
|
|
1185
|
-
/**
|
|
1186
|
-
*
|
|
1187
|
-
* @summary Delete SpecialtyMedia (Auth policies: RequireManagerRole)
|
|
1188
|
-
* @param {string} specialtyId
|
|
1189
|
-
* @param {string} mediaId
|
|
1190
|
-
* @param {*} [options] Override http request option.
|
|
1191
|
-
* @throws {RequiredError}
|
|
1192
|
-
*/
|
|
1193
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
1194
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(specialtyId, mediaId, options).then((request) => request(axios, basePath));
|
|
1195
|
-
},
|
|
1196
|
-
/**
|
|
1197
|
-
*
|
|
1198
|
-
* @summary Get SpecialtyMedia. (Auth policies: RequireDoctorRole)
|
|
1199
|
-
* @param {string} specialtyId
|
|
1200
|
-
* @param {string} mediaId
|
|
1201
|
-
* @param {*} [options] Override http request option.
|
|
1202
|
-
* @throws {RequiredError}
|
|
1203
|
-
*/
|
|
1204
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
1205
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options).then((request) => request(axios, basePath));
|
|
1206
|
-
},
|
|
1207
|
-
/**
|
|
1208
|
-
*
|
|
1209
|
-
* @summary Update SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1210
|
-
* @param {string} specialtyId
|
|
1211
|
-
* @param {string} mediaId
|
|
1212
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
1213
|
-
* @param {*} [options] Override http request option.
|
|
1214
|
-
* @throws {RequiredError}
|
|
1215
|
-
*/
|
|
1216
|
-
apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
1217
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(specialtyId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
1218
|
-
},
|
|
1219
|
-
/**
|
|
1220
|
-
*
|
|
1221
|
-
* @summary Create SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1222
|
-
* @param {string} specialtyId
|
|
1223
|
-
* @param {CreateMediaCommand} [createMediaCommand]
|
|
1224
|
-
* @param {*} [options] Override http request option.
|
|
1225
|
-
* @throws {RequiredError}
|
|
1226
|
-
*/
|
|
1227
|
-
apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
1228
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdMediasPost(specialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
1229
|
-
},
|
|
1230
|
-
/**
|
|
1231
|
-
*
|
|
1232
|
-
* @summary Update Specialty. (Auth policies: RequireManagerRole)
|
|
1233
|
-
* @param {string} specialtyId
|
|
1234
|
-
* @param {UpdateSpecialtyCommand} [updateSpecialtyCommand]
|
|
1235
|
-
* @param {*} [options] Override http request option.
|
|
1236
|
-
* @throws {RequiredError}
|
|
1237
|
-
*/
|
|
1238
|
-
apiV1SpecialtiesSpecialtyIdPut(specialtyId: string, updateSpecialtyCommand?: UpdateSpecialtyCommand, options?: any): AxiosPromise<SpecialtyModel> {
|
|
1239
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
1240
|
-
},
|
|
1241
|
-
/**
|
|
1242
|
-
*
|
|
1243
|
-
* @summary Reactivate Specialty. (Auth policies: RequireManagerRole)
|
|
1244
|
-
* @param {string} specialtyId
|
|
1245
|
-
* @param {*} [options] Override http request option.
|
|
1246
|
-
* @throws {RequiredError}
|
|
1247
|
-
*/
|
|
1248
|
-
apiV1SpecialtiesSpecialtyIdReactivatePut(specialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
1249
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdReactivatePut(specialtyId, options).then((request) => request(axios, basePath));
|
|
1250
|
-
},
|
|
1251
|
-
/**
|
|
1252
|
-
*
|
|
1253
|
-
* @summary Revalidate specialty (Auth policies: RequireManagerRole)
|
|
1254
|
-
* @param {string} specialtyId
|
|
1255
|
-
* @param {boolean} [includeCurrent]
|
|
1256
|
-
* @param {*} [options] Override http request option.
|
|
1257
|
-
* @throws {RequiredError}
|
|
1258
|
-
*/
|
|
1259
|
-
apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
1260
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdRevalidatePost(specialtyId, includeCurrent, options).then((request) => request(axios, basePath));
|
|
1261
|
-
},
|
|
1262
|
-
/**
|
|
1263
|
-
*
|
|
1264
|
-
* @summary Translate specialty (Auth policies: RequireManagerRole)
|
|
1265
|
-
* @param {string} specialtyId
|
|
1266
|
-
* @param {TranslateSpecialtyCommand} [translateSpecialtyCommand]
|
|
1267
|
-
* @param {*} [options] Override http request option.
|
|
1268
|
-
* @throws {RequiredError}
|
|
1269
|
-
*/
|
|
1270
|
-
apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId: string, translateSpecialtyCommand?: TranslateSpecialtyCommand, options?: any): AxiosPromise<boolean> {
|
|
1271
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdTranslatePost(specialtyId, translateSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
1272
|
-
},
|
|
1273
|
-
};
|
|
1274
|
-
};
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Request parameters for apiV1SpecialtiesGet operation in SpecialtiesApi.
|
|
1278
|
-
* @export
|
|
1279
|
-
* @interface SpecialtiesApiApiV1SpecialtiesGetRequest
|
|
1280
|
-
*/
|
|
1281
|
-
export interface SpecialtiesApiApiV1SpecialtiesGetRequest {
|
|
1282
|
-
/**
|
|
1283
|
-
*
|
|
1284
|
-
* @type {string}
|
|
1285
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1286
|
-
*/
|
|
1287
|
-
readonly id?: string
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
*
|
|
1291
|
-
* @type {string}
|
|
1292
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1293
|
-
*/
|
|
1294
|
-
readonly name?: string
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
*
|
|
1298
|
-
* @type {string}
|
|
1299
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1300
|
-
*/
|
|
1301
|
-
readonly description?: string
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
*
|
|
1305
|
-
* @type {string}
|
|
1306
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1307
|
-
*/
|
|
1308
|
-
readonly specialtyTypeId?: string
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
*
|
|
1312
|
-
* @type {MarketingType}
|
|
1313
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1314
|
-
*/
|
|
1315
|
-
readonly marketingType?: MarketingType
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
*
|
|
1319
|
-
* @type {string}
|
|
1320
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1321
|
-
*/
|
|
1322
|
-
readonly hospitalId?: string
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @type {Date}
|
|
1327
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1328
|
-
*/
|
|
1329
|
-
readonly created?: Date
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
*
|
|
1333
|
-
* @type {string}
|
|
1334
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1335
|
-
*/
|
|
1336
|
-
readonly languageCode?: string
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
*
|
|
1340
|
-
* @type {Array<string>}
|
|
1341
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1342
|
-
*/
|
|
1343
|
-
readonly ids?: Array<string>
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
*
|
|
1347
|
-
* @type {boolean}
|
|
1348
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1349
|
-
*/
|
|
1350
|
-
readonly showHidden?: boolean
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
*
|
|
1354
|
-
* @type {boolean}
|
|
1355
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1356
|
-
*/
|
|
1357
|
-
readonly returnDefaultValue?: boolean
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
*
|
|
1361
|
-
* @type {number}
|
|
1362
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1363
|
-
*/
|
|
1364
|
-
readonly page?: number
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
*
|
|
1368
|
-
* @type {number}
|
|
1369
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1370
|
-
*/
|
|
1371
|
-
readonly limit?: number
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @type {Date}
|
|
1376
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesGet
|
|
1377
|
-
*/
|
|
1378
|
-
readonly lastRetrieved?: Date
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* Request parameters for apiV1SpecialtiesPost operation in SpecialtiesApi.
|
|
1383
|
-
* @export
|
|
1384
|
-
* @interface SpecialtiesApiApiV1SpecialtiesPostRequest
|
|
1385
|
-
*/
|
|
1386
|
-
export interface SpecialtiesApiApiV1SpecialtiesPostRequest {
|
|
1387
|
-
/**
|
|
1388
|
-
*
|
|
1389
|
-
* @type {CreateSpecialtyCommand}
|
|
1390
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesPost
|
|
1391
|
-
*/
|
|
1392
|
-
readonly createSpecialtyCommand?: CreateSpecialtyCommand
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* Request parameters for apiV1SpecialtiesSimpleGet operation in SpecialtiesApi.
|
|
1397
|
-
* @export
|
|
1398
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSimpleGetRequest
|
|
1399
|
-
*/
|
|
1400
|
-
export interface SpecialtiesApiApiV1SpecialtiesSimpleGetRequest {
|
|
1401
|
-
/**
|
|
1402
|
-
*
|
|
1403
|
-
* @type {string}
|
|
1404
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1405
|
-
*/
|
|
1406
|
-
readonly id?: string
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
*
|
|
1410
|
-
* @type {string}
|
|
1411
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1412
|
-
*/
|
|
1413
|
-
readonly name?: string
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
*
|
|
1417
|
-
* @type {string}
|
|
1418
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1419
|
-
*/
|
|
1420
|
-
readonly description?: string
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
*
|
|
1424
|
-
* @type {string}
|
|
1425
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1426
|
-
*/
|
|
1427
|
-
readonly specialtyTypeId?: string
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
*
|
|
1431
|
-
* @type {MarketingType}
|
|
1432
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1433
|
-
*/
|
|
1434
|
-
readonly marketingType?: MarketingType
|
|
1435
|
-
|
|
1436
|
-
/**
|
|
1437
|
-
*
|
|
1438
|
-
* @type {string}
|
|
1439
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1440
|
-
*/
|
|
1441
|
-
readonly hospitalId?: string
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
*
|
|
1445
|
-
* @type {Date}
|
|
1446
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1447
|
-
*/
|
|
1448
|
-
readonly created?: Date
|
|
1449
|
-
|
|
1450
|
-
/**
|
|
1451
|
-
*
|
|
1452
|
-
* @type {string}
|
|
1453
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1454
|
-
*/
|
|
1455
|
-
readonly languageCode?: string
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
*
|
|
1459
|
-
* @type {Array<string>}
|
|
1460
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1461
|
-
*/
|
|
1462
|
-
readonly ids?: Array<string>
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {boolean}
|
|
1467
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1468
|
-
*/
|
|
1469
|
-
readonly showHidden?: boolean
|
|
1470
|
-
|
|
1471
|
-
/**
|
|
1472
|
-
*
|
|
1473
|
-
* @type {boolean}
|
|
1474
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1475
|
-
*/
|
|
1476
|
-
readonly returnDefaultValue?: boolean
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
*
|
|
1480
|
-
* @type {number}
|
|
1481
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1482
|
-
*/
|
|
1483
|
-
readonly page?: number
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
*
|
|
1487
|
-
* @type {number}
|
|
1488
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1489
|
-
*/
|
|
1490
|
-
readonly limit?: number
|
|
1491
|
-
|
|
1492
|
-
/**
|
|
1493
|
-
*
|
|
1494
|
-
* @type {Date}
|
|
1495
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSimpleGet
|
|
1496
|
-
*/
|
|
1497
|
-
readonly lastRetrieved?: Date
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* Request parameters for apiV1SpecialtiesSlugGet operation in SpecialtiesApi.
|
|
1502
|
-
* @export
|
|
1503
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSlugGetRequest
|
|
1504
|
-
*/
|
|
1505
|
-
export interface SpecialtiesApiApiV1SpecialtiesSlugGetRequest {
|
|
1506
|
-
/**
|
|
1507
|
-
*
|
|
1508
|
-
* @type {string}
|
|
1509
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSlugGet
|
|
1510
|
-
*/
|
|
1511
|
-
readonly slug: string
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @type {string}
|
|
1516
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSlugGet
|
|
1517
|
-
*/
|
|
1518
|
-
readonly languageCode?: string
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
*
|
|
1522
|
-
* @type {boolean}
|
|
1523
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSlugGet
|
|
1524
|
-
*/
|
|
1525
|
-
readonly returnDefaultValue?: boolean
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
/**
|
|
1529
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdDelete operation in SpecialtiesApi.
|
|
1530
|
-
* @export
|
|
1531
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdDeleteRequest
|
|
1532
|
-
*/
|
|
1533
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdDeleteRequest {
|
|
1534
|
-
/**
|
|
1535
|
-
*
|
|
1536
|
-
* @type {string}
|
|
1537
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdDelete
|
|
1538
|
-
*/
|
|
1539
|
-
readonly specialtyId: string
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
*
|
|
1543
|
-
* @type {boolean}
|
|
1544
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdDelete
|
|
1545
|
-
*/
|
|
1546
|
-
readonly isPermanent?: boolean
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdGet operation in SpecialtiesApi.
|
|
1551
|
-
* @export
|
|
1552
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdGetRequest
|
|
1553
|
-
*/
|
|
1554
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdGetRequest {
|
|
1555
|
-
/**
|
|
1556
|
-
*
|
|
1557
|
-
* @type {string}
|
|
1558
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdGet
|
|
1559
|
-
*/
|
|
1560
|
-
readonly specialtyId: string
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
*
|
|
1564
|
-
* @type {string}
|
|
1565
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdGet
|
|
1566
|
-
*/
|
|
1567
|
-
readonly languageCode?: string
|
|
1568
|
-
|
|
1569
|
-
/**
|
|
1570
|
-
*
|
|
1571
|
-
* @type {boolean}
|
|
1572
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdGet
|
|
1573
|
-
*/
|
|
1574
|
-
readonly returnDefaultValue?: boolean
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdMediasGet operation in SpecialtiesApi.
|
|
1579
|
-
* @export
|
|
1580
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGetRequest
|
|
1581
|
-
*/
|
|
1582
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGetRequest {
|
|
1583
|
-
/**
|
|
1584
|
-
*
|
|
1585
|
-
* @type {string}
|
|
1586
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1587
|
-
*/
|
|
1588
|
-
readonly specialtyId: string
|
|
1589
|
-
|
|
1590
|
-
/**
|
|
1591
|
-
*
|
|
1592
|
-
* @type {string}
|
|
1593
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1594
|
-
*/
|
|
1595
|
-
readonly id?: string
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @type {MediaType}
|
|
1600
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1601
|
-
*/
|
|
1602
|
-
readonly mediaType?: MediaType
|
|
1603
|
-
|
|
1604
|
-
/**
|
|
1605
|
-
*
|
|
1606
|
-
* @type {number}
|
|
1607
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1608
|
-
*/
|
|
1609
|
-
readonly page?: number
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
*
|
|
1613
|
-
* @type {number}
|
|
1614
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1615
|
-
*/
|
|
1616
|
-
readonly limit?: number
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
*
|
|
1620
|
-
* @type {Date}
|
|
1621
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGet
|
|
1622
|
-
*/
|
|
1623
|
-
readonly lastRetrieved?: Date
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
/**
|
|
1627
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete operation in SpecialtiesApi.
|
|
1628
|
-
* @export
|
|
1629
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDeleteRequest
|
|
1630
|
-
*/
|
|
1631
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDeleteRequest {
|
|
1632
|
-
/**
|
|
1633
|
-
*
|
|
1634
|
-
* @type {string}
|
|
1635
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDelete
|
|
1636
|
-
*/
|
|
1637
|
-
readonly specialtyId: string
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
*
|
|
1641
|
-
* @type {string}
|
|
1642
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDelete
|
|
1643
|
-
*/
|
|
1644
|
-
readonly mediaId: string
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdMediasMediaIdGet operation in SpecialtiesApi.
|
|
1649
|
-
* @export
|
|
1650
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGetRequest
|
|
1651
|
-
*/
|
|
1652
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGetRequest {
|
|
1653
|
-
/**
|
|
1654
|
-
*
|
|
1655
|
-
* @type {string}
|
|
1656
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGet
|
|
1657
|
-
*/
|
|
1658
|
-
readonly specialtyId: string
|
|
1659
|
-
|
|
1660
|
-
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @type {string}
|
|
1663
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGet
|
|
1664
|
-
*/
|
|
1665
|
-
readonly mediaId: string
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
/**
|
|
1669
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdMediasMediaIdPut operation in SpecialtiesApi.
|
|
1670
|
-
* @export
|
|
1671
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPutRequest
|
|
1672
|
-
*/
|
|
1673
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPutRequest {
|
|
1674
|
-
/**
|
|
1675
|
-
*
|
|
1676
|
-
* @type {string}
|
|
1677
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPut
|
|
1678
|
-
*/
|
|
1679
|
-
readonly specialtyId: string
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
*
|
|
1683
|
-
* @type {string}
|
|
1684
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPut
|
|
1685
|
-
*/
|
|
1686
|
-
readonly mediaId: string
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
*
|
|
1690
|
-
* @type {UpdateMediaCommand}
|
|
1691
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPut
|
|
1692
|
-
*/
|
|
1693
|
-
readonly updateMediaCommand?: UpdateMediaCommand
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdMediasPost operation in SpecialtiesApi.
|
|
1698
|
-
* @export
|
|
1699
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPostRequest
|
|
1700
|
-
*/
|
|
1701
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPostRequest {
|
|
1702
|
-
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPost
|
|
1706
|
-
*/
|
|
1707
|
-
readonly specialtyId: string
|
|
1708
|
-
|
|
1709
|
-
/**
|
|
1710
|
-
*
|
|
1711
|
-
* @type {CreateMediaCommand}
|
|
1712
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPost
|
|
1713
|
-
*/
|
|
1714
|
-
readonly createMediaCommand?: CreateMediaCommand
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdPut operation in SpecialtiesApi.
|
|
1719
|
-
* @export
|
|
1720
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdPutRequest
|
|
1721
|
-
*/
|
|
1722
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdPutRequest {
|
|
1723
|
-
/**
|
|
1724
|
-
*
|
|
1725
|
-
* @type {string}
|
|
1726
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdPut
|
|
1727
|
-
*/
|
|
1728
|
-
readonly specialtyId: string
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
*
|
|
1732
|
-
* @type {UpdateSpecialtyCommand}
|
|
1733
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdPut
|
|
1734
|
-
*/
|
|
1735
|
-
readonly updateSpecialtyCommand?: UpdateSpecialtyCommand
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
/**
|
|
1739
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdReactivatePut operation in SpecialtiesApi.
|
|
1740
|
-
* @export
|
|
1741
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdReactivatePutRequest
|
|
1742
|
-
*/
|
|
1743
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdReactivatePutRequest {
|
|
1744
|
-
/**
|
|
1745
|
-
*
|
|
1746
|
-
* @type {string}
|
|
1747
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdReactivatePut
|
|
1748
|
-
*/
|
|
1749
|
-
readonly specialtyId: string
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
/**
|
|
1753
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdRevalidatePost operation in SpecialtiesApi.
|
|
1754
|
-
* @export
|
|
1755
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest
|
|
1756
|
-
*/
|
|
1757
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest {
|
|
1758
|
-
/**
|
|
1759
|
-
*
|
|
1760
|
-
* @type {string}
|
|
1761
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePost
|
|
1762
|
-
*/
|
|
1763
|
-
readonly specialtyId: string
|
|
1764
|
-
|
|
1765
|
-
/**
|
|
1766
|
-
*
|
|
1767
|
-
* @type {boolean}
|
|
1768
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePost
|
|
1769
|
-
*/
|
|
1770
|
-
readonly includeCurrent?: boolean
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* Request parameters for apiV1SpecialtiesSpecialtyIdTranslatePost operation in SpecialtiesApi.
|
|
1775
|
-
* @export
|
|
1776
|
-
* @interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest
|
|
1777
|
-
*/
|
|
1778
|
-
export interface SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest {
|
|
1779
|
-
/**
|
|
1780
|
-
*
|
|
1781
|
-
* @type {string}
|
|
1782
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1783
|
-
*/
|
|
1784
|
-
readonly specialtyId: string
|
|
1785
|
-
|
|
1786
|
-
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @type {TranslateSpecialtyCommand}
|
|
1789
|
-
* @memberof SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePost
|
|
1790
|
-
*/
|
|
1791
|
-
readonly translateSpecialtyCommand?: TranslateSpecialtyCommand
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
/**
|
|
1795
|
-
* SpecialtiesApi - object-oriented interface
|
|
1796
|
-
* @export
|
|
1797
|
-
* @class SpecialtiesApi
|
|
1798
|
-
* @extends {BaseAPI}
|
|
1799
|
-
*/
|
|
1800
|
-
export class SpecialtiesApi extends BaseAPI {
|
|
1801
|
-
/**
|
|
1802
|
-
*
|
|
1803
|
-
* @summary Get all Specialties. (Auth policies: RequireDoctorRole)
|
|
1804
|
-
* @param {SpecialtiesApiApiV1SpecialtiesGetRequest} requestParameters Request parameters.
|
|
1805
|
-
* @param {*} [options] Override http request option.
|
|
1806
|
-
* @throws {RequiredError}
|
|
1807
|
-
* @memberof SpecialtiesApi
|
|
1808
|
-
*/
|
|
1809
|
-
public apiV1SpecialtiesGet(requestParameters: SpecialtiesApiApiV1SpecialtiesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
1810
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(requestParameters.id, requestParameters.name, requestParameters.description, requestParameters.specialtyTypeId, requestParameters.marketingType, requestParameters.hospitalId, requestParameters.created, requestParameters.languageCode, requestParameters.ids, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
*
|
|
1815
|
-
* @summary Create a Specialty. (Auth policies: RequireManagerRole)
|
|
1816
|
-
* @param {SpecialtiesApiApiV1SpecialtiesPostRequest} requestParameters Request parameters.
|
|
1817
|
-
* @param {*} [options] Override http request option.
|
|
1818
|
-
* @throws {RequiredError}
|
|
1819
|
-
* @memberof SpecialtiesApi
|
|
1820
|
-
*/
|
|
1821
|
-
public apiV1SpecialtiesPost(requestParameters: SpecialtiesApiApiV1SpecialtiesPostRequest = {}, options?: AxiosRequestConfig) {
|
|
1822
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesPost(requestParameters.createSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
/**
|
|
1826
|
-
*
|
|
1827
|
-
* @summary Get all Specialties Simple. (Auth policies: RequireDoctorRole)
|
|
1828
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSimpleGetRequest} requestParameters Request parameters.
|
|
1829
|
-
* @param {*} [options] Override http request option.
|
|
1830
|
-
* @throws {RequiredError}
|
|
1831
|
-
* @memberof SpecialtiesApi
|
|
1832
|
-
*/
|
|
1833
|
-
public apiV1SpecialtiesSimpleGet(requestParameters: SpecialtiesApiApiV1SpecialtiesSimpleGetRequest = {}, options?: AxiosRequestConfig) {
|
|
1834
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(requestParameters.id, requestParameters.name, requestParameters.description, requestParameters.specialtyTypeId, requestParameters.marketingType, requestParameters.hospitalId, requestParameters.created, requestParameters.languageCode, requestParameters.ids, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
/**
|
|
1838
|
-
*
|
|
1839
|
-
* @summary (Auth policies: RequireDoctorRole)
|
|
1840
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSlugGetRequest} requestParameters Request parameters.
|
|
1841
|
-
* @param {*} [options] Override http request option.
|
|
1842
|
-
* @throws {RequiredError}
|
|
1843
|
-
* @memberof SpecialtiesApi
|
|
1844
|
-
*/
|
|
1845
|
-
public apiV1SpecialtiesSlugGet(requestParameters: SpecialtiesApiApiV1SpecialtiesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1846
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
/**
|
|
1850
|
-
*
|
|
1851
|
-
* @summary Delete Specialty. (Auth policies: RequireManagerRole)
|
|
1852
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdDeleteRequest} requestParameters Request parameters.
|
|
1853
|
-
* @param {*} [options] Override http request option.
|
|
1854
|
-
* @throws {RequiredError}
|
|
1855
|
-
* @memberof SpecialtiesApi
|
|
1856
|
-
*/
|
|
1857
|
-
public apiV1SpecialtiesSpecialtyIdDelete(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
1858
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdDelete(requestParameters.specialtyId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
*
|
|
1863
|
-
* @summary Get Specialty. (Auth policies: RequireDoctorRole)
|
|
1864
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdGetRequest} requestParameters Request parameters.
|
|
1865
|
-
* @param {*} [options] Override http request option.
|
|
1866
|
-
* @throws {RequiredError}
|
|
1867
|
-
* @memberof SpecialtiesApi
|
|
1868
|
-
*/
|
|
1869
|
-
public apiV1SpecialtiesSpecialtyIdGet(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdGetRequest, options?: AxiosRequestConfig) {
|
|
1870
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(requestParameters.specialtyId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
/**
|
|
1874
|
-
*
|
|
1875
|
-
* @summary Get all SpecialtyMedias. (Auth policies: RequireDoctorRole)
|
|
1876
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGetRequest} requestParameters Request parameters.
|
|
1877
|
-
* @param {*} [options] Override http request option.
|
|
1878
|
-
* @throws {RequiredError}
|
|
1879
|
-
* @memberof SpecialtiesApi
|
|
1880
|
-
*/
|
|
1881
|
-
public apiV1SpecialtiesSpecialtyIdMediasGet(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasGetRequest, options?: AxiosRequestConfig) {
|
|
1882
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasGet(requestParameters.specialtyId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
*
|
|
1887
|
-
* @summary Delete SpecialtyMedia (Auth policies: RequireManagerRole)
|
|
1888
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDeleteRequest} requestParameters Request parameters.
|
|
1889
|
-
* @param {*} [options] Override http request option.
|
|
1890
|
-
* @throws {RequiredError}
|
|
1891
|
-
* @memberof SpecialtiesApi
|
|
1892
|
-
*/
|
|
1893
|
-
public apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
1894
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdDelete(requestParameters.specialtyId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
*
|
|
1899
|
-
* @summary Get SpecialtyMedia. (Auth policies: RequireDoctorRole)
|
|
1900
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGetRequest} requestParameters Request parameters.
|
|
1901
|
-
* @param {*} [options] Override http request option.
|
|
1902
|
-
* @throws {RequiredError}
|
|
1903
|
-
* @memberof SpecialtiesApi
|
|
1904
|
-
*/
|
|
1905
|
-
public apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
|
|
1906
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdGet(requestParameters.specialtyId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
|
-
/**
|
|
1910
|
-
*
|
|
1911
|
-
* @summary Update SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1912
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPutRequest} requestParameters Request parameters.
|
|
1913
|
-
* @param {*} [options] Override http request option.
|
|
1914
|
-
* @throws {RequiredError}
|
|
1915
|
-
* @memberof SpecialtiesApi
|
|
1916
|
-
*/
|
|
1917
|
-
public apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasMediaIdPutRequest, options?: AxiosRequestConfig) {
|
|
1918
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasMediaIdPut(requestParameters.specialtyId, requestParameters.mediaId, requestParameters.updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
/**
|
|
1922
|
-
*
|
|
1923
|
-
* @summary Create SpecialtyMedia. (Auth policies: RequireManagerRole)
|
|
1924
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPostRequest} requestParameters Request parameters.
|
|
1925
|
-
* @param {*} [options] Override http request option.
|
|
1926
|
-
* @throws {RequiredError}
|
|
1927
|
-
* @memberof SpecialtiesApi
|
|
1928
|
-
*/
|
|
1929
|
-
public apiV1SpecialtiesSpecialtyIdMediasPost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdMediasPostRequest, options?: AxiosRequestConfig) {
|
|
1930
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdMediasPost(requestParameters.specialtyId, requestParameters.createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
*
|
|
1935
|
-
* @summary Update Specialty. (Auth policies: RequireManagerRole)
|
|
1936
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdPutRequest} requestParameters Request parameters.
|
|
1937
|
-
* @param {*} [options] Override http request option.
|
|
1938
|
-
* @throws {RequiredError}
|
|
1939
|
-
* @memberof SpecialtiesApi
|
|
1940
|
-
*/
|
|
1941
|
-
public apiV1SpecialtiesSpecialtyIdPut(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdPutRequest, options?: AxiosRequestConfig) {
|
|
1942
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdPut(requestParameters.specialtyId, requestParameters.updateSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
*
|
|
1947
|
-
* @summary Reactivate Specialty. (Auth policies: RequireManagerRole)
|
|
1948
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdReactivatePutRequest} requestParameters Request parameters.
|
|
1949
|
-
* @param {*} [options] Override http request option.
|
|
1950
|
-
* @throws {RequiredError}
|
|
1951
|
-
* @memberof SpecialtiesApi
|
|
1952
|
-
*/
|
|
1953
|
-
public apiV1SpecialtiesSpecialtyIdReactivatePut(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdReactivatePutRequest, options?: AxiosRequestConfig) {
|
|
1954
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdReactivatePut(requestParameters.specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
/**
|
|
1958
|
-
*
|
|
1959
|
-
* @summary Revalidate specialty (Auth policies: RequireManagerRole)
|
|
1960
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest} requestParameters Request parameters.
|
|
1961
|
-
* @param {*} [options] Override http request option.
|
|
1962
|
-
* @throws {RequiredError}
|
|
1963
|
-
* @memberof SpecialtiesApi
|
|
1964
|
-
*/
|
|
1965
|
-
public apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdRevalidatePostRequest, options?: AxiosRequestConfig) {
|
|
1966
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdRevalidatePost(requestParameters.specialtyId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
/**
|
|
1970
|
-
*
|
|
1971
|
-
* @summary Translate specialty (Auth policies: RequireManagerRole)
|
|
1972
|
-
* @param {SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest} requestParameters Request parameters.
|
|
1973
|
-
* @param {*} [options] Override http request option.
|
|
1974
|
-
* @throws {RequiredError}
|
|
1975
|
-
* @memberof SpecialtiesApi
|
|
1976
|
-
*/
|
|
1977
|
-
public apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters: SpecialtiesApiApiV1SpecialtiesSpecialtyIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
1978
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdTranslatePost(requestParameters.specialtyId, requestParameters.translateSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1979
|
-
}
|
|
1980
|
-
}
|