ch-admin-api-client-typescript 5.43.15 → 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,1044 +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 { AddHospitalIntoBranchCommand } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreateHospitalBranchCommand } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { HospitalBranchModel } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { HospitalBranchesModel } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ProblemDetails } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { UpdateHospitalBranchCommand } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { UpdateHospitalBranchItemCommand } from '../models';
|
|
37
|
-
/**
|
|
38
|
-
* HospitalBranchesApi - axios parameter creator
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export const HospitalBranchesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
|
-
return {
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @summary Get hospitalBranches (Auth policies: RequireDoctorRole)
|
|
46
|
-
* @param {string} [id]
|
|
47
|
-
* @param {string} [hospitalGroupId]
|
|
48
|
-
* @param {string} [hospitalId]
|
|
49
|
-
* @param {string} [languageCode]
|
|
50
|
-
* @param {boolean} [showHidden]
|
|
51
|
-
* @param {number} [page]
|
|
52
|
-
* @param {number} [limit]
|
|
53
|
-
* @param {Date} [lastRetrieved]
|
|
54
|
-
* @param {*} [options] Override http request option.
|
|
55
|
-
* @throws {RequiredError}
|
|
56
|
-
*/
|
|
57
|
-
apiV1HospitalbranchesGet: async (id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
-
const localVarPath = `/api/v1/hospitalbranches`;
|
|
59
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
-
let baseOptions;
|
|
62
|
-
if (configuration) {
|
|
63
|
-
baseOptions = configuration.baseOptions;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
67
|
-
const localVarHeaderParameter = {} as any;
|
|
68
|
-
const localVarQueryParameter = {} as any;
|
|
69
|
-
|
|
70
|
-
// authentication oauth2 required
|
|
71
|
-
// oauth required
|
|
72
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
73
|
-
|
|
74
|
-
if (id !== undefined) {
|
|
75
|
-
localVarQueryParameter['Id'] = id;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
if (hospitalGroupId !== undefined) {
|
|
79
|
-
localVarQueryParameter['HospitalGroupId'] = hospitalGroupId;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
if (hospitalId !== undefined) {
|
|
83
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
if (languageCode !== undefined) {
|
|
87
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (showHidden !== undefined) {
|
|
91
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (page !== undefined) {
|
|
95
|
-
localVarQueryParameter['page'] = page;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
if (limit !== undefined) {
|
|
99
|
-
localVarQueryParameter['limit'] = limit;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
if (lastRetrieved !== undefined) {
|
|
103
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
104
|
-
(lastRetrieved as any).toISOString() :
|
|
105
|
-
lastRetrieved;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
111
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
113
|
-
|
|
114
|
-
return {
|
|
115
|
-
url: toPathString(localVarUrlObj),
|
|
116
|
-
options: localVarRequestOptions,
|
|
117
|
-
};
|
|
118
|
-
},
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @summary Delete hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
122
|
-
* @param {string} hospitalBranchId
|
|
123
|
-
* @param {boolean} [isPermanent]
|
|
124
|
-
* @param {*} [options] Override http request option.
|
|
125
|
-
* @throws {RequiredError}
|
|
126
|
-
*/
|
|
127
|
-
apiV1HospitalbranchesHospitalBranchIdDelete: async (hospitalBranchId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
128
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
129
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdDelete', 'hospitalBranchId', hospitalBranchId)
|
|
130
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}`
|
|
131
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)));
|
|
132
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
133
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134
|
-
let baseOptions;
|
|
135
|
-
if (configuration) {
|
|
136
|
-
baseOptions = configuration.baseOptions;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
140
|
-
const localVarHeaderParameter = {} as any;
|
|
141
|
-
const localVarQueryParameter = {} as any;
|
|
142
|
-
|
|
143
|
-
// authentication oauth2 required
|
|
144
|
-
// oauth required
|
|
145
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
146
|
-
|
|
147
|
-
if (isPermanent !== undefined) {
|
|
148
|
-
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
156
|
-
|
|
157
|
-
return {
|
|
158
|
-
url: toPathString(localVarUrlObj),
|
|
159
|
-
options: localVarRequestOptions,
|
|
160
|
-
};
|
|
161
|
-
},
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @summary Get hospitalBranch (Auth policies: RequireDoctorRole)
|
|
165
|
-
* @param {string} hospitalBranchId
|
|
166
|
-
* @param {string} [languageCode]
|
|
167
|
-
* @param {*} [options] Override http request option.
|
|
168
|
-
* @throws {RequiredError}
|
|
169
|
-
*/
|
|
170
|
-
apiV1HospitalbranchesHospitalBranchIdGet: async (hospitalBranchId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
172
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdGet', 'hospitalBranchId', hospitalBranchId)
|
|
173
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}`
|
|
174
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)));
|
|
175
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
176
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
177
|
-
let baseOptions;
|
|
178
|
-
if (configuration) {
|
|
179
|
-
baseOptions = configuration.baseOptions;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
183
|
-
const localVarHeaderParameter = {} as any;
|
|
184
|
-
const localVarQueryParameter = {} as any;
|
|
185
|
-
|
|
186
|
-
// authentication oauth2 required
|
|
187
|
-
// oauth required
|
|
188
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
189
|
-
|
|
190
|
-
if (languageCode !== undefined) {
|
|
191
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
-
|
|
200
|
-
return {
|
|
201
|
-
url: toPathString(localVarUrlObj),
|
|
202
|
-
options: localVarRequestOptions,
|
|
203
|
-
};
|
|
204
|
-
},
|
|
205
|
-
/**
|
|
206
|
-
*
|
|
207
|
-
* @summary Remove hospital from HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
208
|
-
* @param {string} hospitalBranchId
|
|
209
|
-
* @param {string} hospitalId
|
|
210
|
-
* @param {*} [options] Override http request option.
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
*/
|
|
213
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: async (hospitalBranchId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
214
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
215
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalBranchId', hospitalBranchId)
|
|
216
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
217
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId)
|
|
218
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
219
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
220
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
221
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
223
|
-
let baseOptions;
|
|
224
|
-
if (configuration) {
|
|
225
|
-
baseOptions = configuration.baseOptions;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
229
|
-
const localVarHeaderParameter = {} as any;
|
|
230
|
-
const localVarQueryParameter = {} as any;
|
|
231
|
-
|
|
232
|
-
// authentication oauth2 required
|
|
233
|
-
// oauth required
|
|
234
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
239
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
241
|
-
|
|
242
|
-
return {
|
|
243
|
-
url: toPathString(localVarUrlObj),
|
|
244
|
-
options: localVarRequestOptions,
|
|
245
|
-
};
|
|
246
|
-
},
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* @summary Add hospital into HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
250
|
-
* @param {string} hospitalBranchId
|
|
251
|
-
* @param {string} hospitalId
|
|
252
|
-
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
253
|
-
* @param {*} [options] Override http request option.
|
|
254
|
-
* @throws {RequiredError}
|
|
255
|
-
*/
|
|
256
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: async (hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
257
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
258
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalBranchId', hospitalBranchId)
|
|
259
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
260
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalId', hospitalId)
|
|
261
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
262
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
263
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
264
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
266
|
-
let baseOptions;
|
|
267
|
-
if (configuration) {
|
|
268
|
-
baseOptions = configuration.baseOptions;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
272
|
-
const localVarHeaderParameter = {} as any;
|
|
273
|
-
const localVarQueryParameter = {} as any;
|
|
274
|
-
|
|
275
|
-
// authentication oauth2 required
|
|
276
|
-
// oauth required
|
|
277
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
282
|
-
|
|
283
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
286
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addHospitalIntoBranchCommand, localVarRequestOptions, configuration)
|
|
287
|
-
|
|
288
|
-
return {
|
|
289
|
-
url: toPathString(localVarUrlObj),
|
|
290
|
-
options: localVarRequestOptions,
|
|
291
|
-
};
|
|
292
|
-
},
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* @summary Update hospitalBranchItem (Auth policies: RequireLocalManagerRole)
|
|
296
|
-
* @param {string} hospitalBranchId
|
|
297
|
-
* @param {string} hospitalId
|
|
298
|
-
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
299
|
-
* @param {*} [options] Override http request option.
|
|
300
|
-
* @throws {RequiredError}
|
|
301
|
-
*/
|
|
302
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: async (hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
303
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
304
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalBranchId', hospitalBranchId)
|
|
305
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
306
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalId', hospitalId)
|
|
307
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
308
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
309
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
310
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
311
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
312
|
-
let baseOptions;
|
|
313
|
-
if (configuration) {
|
|
314
|
-
baseOptions = configuration.baseOptions;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
318
|
-
const localVarHeaderParameter = {} as any;
|
|
319
|
-
const localVarQueryParameter = {} as any;
|
|
320
|
-
|
|
321
|
-
// authentication oauth2 required
|
|
322
|
-
// oauth required
|
|
323
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
328
|
-
|
|
329
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
330
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
331
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
332
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalBranchItemCommand, localVarRequestOptions, configuration)
|
|
333
|
-
|
|
334
|
-
return {
|
|
335
|
-
url: toPathString(localVarUrlObj),
|
|
336
|
-
options: localVarRequestOptions,
|
|
337
|
-
};
|
|
338
|
-
},
|
|
339
|
-
/**
|
|
340
|
-
*
|
|
341
|
-
* @summary Update hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
342
|
-
* @param {string} hospitalBranchId
|
|
343
|
-
* @param {UpdateHospitalBranchCommand} [updateHospitalBranchCommand]
|
|
344
|
-
* @param {*} [options] Override http request option.
|
|
345
|
-
* @throws {RequiredError}
|
|
346
|
-
*/
|
|
347
|
-
apiV1HospitalbranchesHospitalBranchIdPut: async (hospitalBranchId: string, updateHospitalBranchCommand?: UpdateHospitalBranchCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
348
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
349
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdPut', 'hospitalBranchId', hospitalBranchId)
|
|
350
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}`
|
|
351
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)));
|
|
352
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
354
|
-
let baseOptions;
|
|
355
|
-
if (configuration) {
|
|
356
|
-
baseOptions = configuration.baseOptions;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
360
|
-
const localVarHeaderParameter = {} as any;
|
|
361
|
-
const localVarQueryParameter = {} as any;
|
|
362
|
-
|
|
363
|
-
// authentication oauth2 required
|
|
364
|
-
// oauth required
|
|
365
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
370
|
-
|
|
371
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
372
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
374
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalBranchCommand, localVarRequestOptions, configuration)
|
|
375
|
-
|
|
376
|
-
return {
|
|
377
|
-
url: toPathString(localVarUrlObj),
|
|
378
|
-
options: localVarRequestOptions,
|
|
379
|
-
};
|
|
380
|
-
},
|
|
381
|
-
/**
|
|
382
|
-
*
|
|
383
|
-
* @summary Reactivate hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
384
|
-
* @param {string} hospitalBranchId
|
|
385
|
-
* @param {*} [options] Override http request option.
|
|
386
|
-
* @throws {RequiredError}
|
|
387
|
-
*/
|
|
388
|
-
apiV1HospitalbranchesHospitalBranchIdReactivatePut: async (hospitalBranchId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
389
|
-
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
390
|
-
assertParamExists('apiV1HospitalbranchesHospitalBranchIdReactivatePut', 'hospitalBranchId', hospitalBranchId)
|
|
391
|
-
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/reactivate`
|
|
392
|
-
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)));
|
|
393
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
394
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
395
|
-
let baseOptions;
|
|
396
|
-
if (configuration) {
|
|
397
|
-
baseOptions = configuration.baseOptions;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
401
|
-
const localVarHeaderParameter = {} as any;
|
|
402
|
-
const localVarQueryParameter = {} as any;
|
|
403
|
-
|
|
404
|
-
// authentication oauth2 required
|
|
405
|
-
// oauth required
|
|
406
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
411
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
413
|
-
|
|
414
|
-
return {
|
|
415
|
-
url: toPathString(localVarUrlObj),
|
|
416
|
-
options: localVarRequestOptions,
|
|
417
|
-
};
|
|
418
|
-
},
|
|
419
|
-
/**
|
|
420
|
-
*
|
|
421
|
-
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
422
|
-
* @param {CreateHospitalBranchCommand} [createHospitalBranchCommand]
|
|
423
|
-
* @param {*} [options] Override http request option.
|
|
424
|
-
* @throws {RequiredError}
|
|
425
|
-
*/
|
|
426
|
-
apiV1HospitalbranchesPost: async (createHospitalBranchCommand?: CreateHospitalBranchCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
427
|
-
const localVarPath = `/api/v1/hospitalbranches`;
|
|
428
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
429
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
430
|
-
let baseOptions;
|
|
431
|
-
if (configuration) {
|
|
432
|
-
baseOptions = configuration.baseOptions;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
436
|
-
const localVarHeaderParameter = {} as any;
|
|
437
|
-
const localVarQueryParameter = {} as any;
|
|
438
|
-
|
|
439
|
-
// authentication oauth2 required
|
|
440
|
-
// oauth required
|
|
441
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
446
|
-
|
|
447
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
448
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
449
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
450
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalBranchCommand, localVarRequestOptions, configuration)
|
|
451
|
-
|
|
452
|
-
return {
|
|
453
|
-
url: toPathString(localVarUrlObj),
|
|
454
|
-
options: localVarRequestOptions,
|
|
455
|
-
};
|
|
456
|
-
},
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* HospitalBranchesApi - functional programming interface
|
|
462
|
-
* @export
|
|
463
|
-
*/
|
|
464
|
-
export const HospitalBranchesApiFp = function(configuration?: Configuration) {
|
|
465
|
-
const localVarAxiosParamCreator = HospitalBranchesApiAxiosParamCreator(configuration)
|
|
466
|
-
return {
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @summary Get hospitalBranches (Auth policies: RequireDoctorRole)
|
|
470
|
-
* @param {string} [id]
|
|
471
|
-
* @param {string} [hospitalGroupId]
|
|
472
|
-
* @param {string} [hospitalId]
|
|
473
|
-
* @param {string} [languageCode]
|
|
474
|
-
* @param {boolean} [showHidden]
|
|
475
|
-
* @param {number} [page]
|
|
476
|
-
* @param {number} [limit]
|
|
477
|
-
* @param {Date} [lastRetrieved]
|
|
478
|
-
* @param {*} [options] Override http request option.
|
|
479
|
-
* @throws {RequiredError}
|
|
480
|
-
*/
|
|
481
|
-
async apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
483
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
484
|
-
},
|
|
485
|
-
/**
|
|
486
|
-
*
|
|
487
|
-
* @summary Delete hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
488
|
-
* @param {string} hospitalBranchId
|
|
489
|
-
* @param {boolean} [isPermanent]
|
|
490
|
-
* @param {*} [options] Override http request option.
|
|
491
|
-
* @throws {RequiredError}
|
|
492
|
-
*/
|
|
493
|
-
async apiV1HospitalbranchesHospitalBranchIdDelete(hospitalBranchId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdDelete(hospitalBranchId, isPermanent, options);
|
|
495
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
496
|
-
},
|
|
497
|
-
/**
|
|
498
|
-
*
|
|
499
|
-
* @summary Get hospitalBranch (Auth policies: RequireDoctorRole)
|
|
500
|
-
* @param {string} hospitalBranchId
|
|
501
|
-
* @param {string} [languageCode]
|
|
502
|
-
* @param {*} [options] Override http request option.
|
|
503
|
-
* @throws {RequiredError}
|
|
504
|
-
*/
|
|
505
|
-
async apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId, languageCode, options);
|
|
507
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
|
-
},
|
|
509
|
-
/**
|
|
510
|
-
*
|
|
511
|
-
* @summary Remove hospital from HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
512
|
-
* @param {string} hospitalBranchId
|
|
513
|
-
* @param {string} hospitalId
|
|
514
|
-
* @param {*} [options] Override http request option.
|
|
515
|
-
* @throws {RequiredError}
|
|
516
|
-
*/
|
|
517
|
-
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options);
|
|
519
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
520
|
-
},
|
|
521
|
-
/**
|
|
522
|
-
*
|
|
523
|
-
* @summary Add hospital into HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
524
|
-
* @param {string} hospitalBranchId
|
|
525
|
-
* @param {string} hospitalId
|
|
526
|
-
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
527
|
-
* @param {*} [options] Override http request option.
|
|
528
|
-
* @throws {RequiredError}
|
|
529
|
-
*/
|
|
530
|
-
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options);
|
|
532
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
533
|
-
},
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @summary Update hospitalBranchItem (Auth policies: RequireLocalManagerRole)
|
|
537
|
-
* @param {string} hospitalBranchId
|
|
538
|
-
* @param {string} hospitalId
|
|
539
|
-
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
540
|
-
* @param {*} [options] Override http request option.
|
|
541
|
-
* @throws {RequiredError}
|
|
542
|
-
*/
|
|
543
|
-
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
544
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options);
|
|
545
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
546
|
-
},
|
|
547
|
-
/**
|
|
548
|
-
*
|
|
549
|
-
* @summary Update hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
550
|
-
* @param {string} hospitalBranchId
|
|
551
|
-
* @param {UpdateHospitalBranchCommand} [updateHospitalBranchCommand]
|
|
552
|
-
* @param {*} [options] Override http request option.
|
|
553
|
-
* @throws {RequiredError}
|
|
554
|
-
*/
|
|
555
|
-
async apiV1HospitalbranchesHospitalBranchIdPut(hospitalBranchId: string, updateHospitalBranchCommand?: UpdateHospitalBranchCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
556
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdPut(hospitalBranchId, updateHospitalBranchCommand, options);
|
|
557
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
558
|
-
},
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
* @summary Reactivate hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
562
|
-
* @param {string} hospitalBranchId
|
|
563
|
-
* @param {*} [options] Override http request option.
|
|
564
|
-
* @throws {RequiredError}
|
|
565
|
-
*/
|
|
566
|
-
async apiV1HospitalbranchesHospitalBranchIdReactivatePut(hospitalBranchId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdReactivatePut(hospitalBranchId, options);
|
|
568
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
569
|
-
},
|
|
570
|
-
/**
|
|
571
|
-
*
|
|
572
|
-
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
573
|
-
* @param {CreateHospitalBranchCommand} [createHospitalBranchCommand]
|
|
574
|
-
* @param {*} [options] Override http request option.
|
|
575
|
-
* @throws {RequiredError}
|
|
576
|
-
*/
|
|
577
|
-
async apiV1HospitalbranchesPost(createHospitalBranchCommand?: CreateHospitalBranchCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesPost(createHospitalBranchCommand, options);
|
|
579
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
580
|
-
},
|
|
581
|
-
}
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* HospitalBranchesApi - factory interface
|
|
586
|
-
* @export
|
|
587
|
-
*/
|
|
588
|
-
export const HospitalBranchesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
589
|
-
const localVarFp = HospitalBranchesApiFp(configuration)
|
|
590
|
-
return {
|
|
591
|
-
/**
|
|
592
|
-
*
|
|
593
|
-
* @summary Get hospitalBranches (Auth policies: RequireDoctorRole)
|
|
594
|
-
* @param {string} [id]
|
|
595
|
-
* @param {string} [hospitalGroupId]
|
|
596
|
-
* @param {string} [hospitalId]
|
|
597
|
-
* @param {string} [languageCode]
|
|
598
|
-
* @param {boolean} [showHidden]
|
|
599
|
-
* @param {number} [page]
|
|
600
|
-
* @param {number} [limit]
|
|
601
|
-
* @param {Date} [lastRetrieved]
|
|
602
|
-
* @param {*} [options] Override http request option.
|
|
603
|
-
* @throws {RequiredError}
|
|
604
|
-
*/
|
|
605
|
-
apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
606
|
-
return localVarFp.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
607
|
-
},
|
|
608
|
-
/**
|
|
609
|
-
*
|
|
610
|
-
* @summary Delete hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
611
|
-
* @param {string} hospitalBranchId
|
|
612
|
-
* @param {boolean} [isPermanent]
|
|
613
|
-
* @param {*} [options] Override http request option.
|
|
614
|
-
* @throws {RequiredError}
|
|
615
|
-
*/
|
|
616
|
-
apiV1HospitalbranchesHospitalBranchIdDelete(hospitalBranchId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
617
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdDelete(hospitalBranchId, isPermanent, options).then((request) => request(axios, basePath));
|
|
618
|
-
},
|
|
619
|
-
/**
|
|
620
|
-
*
|
|
621
|
-
* @summary Get hospitalBranch (Auth policies: RequireDoctorRole)
|
|
622
|
-
* @param {string} hospitalBranchId
|
|
623
|
-
* @param {string} [languageCode]
|
|
624
|
-
* @param {*} [options] Override http request option.
|
|
625
|
-
* @throws {RequiredError}
|
|
626
|
-
*/
|
|
627
|
-
apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId: string, languageCode?: string, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
628
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId, languageCode, options).then((request) => request(axios, basePath));
|
|
629
|
-
},
|
|
630
|
-
/**
|
|
631
|
-
*
|
|
632
|
-
* @summary Remove hospital from HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
633
|
-
* @param {string} hospitalBranchId
|
|
634
|
-
* @param {string} hospitalId
|
|
635
|
-
* @param {*} [options] Override http request option.
|
|
636
|
-
* @throws {RequiredError}
|
|
637
|
-
*/
|
|
638
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
639
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options).then((request) => request(axios, basePath));
|
|
640
|
-
},
|
|
641
|
-
/**
|
|
642
|
-
*
|
|
643
|
-
* @summary Add hospital into HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
644
|
-
* @param {string} hospitalBranchId
|
|
645
|
-
* @param {string} hospitalId
|
|
646
|
-
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
651
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options).then((request) => request(axios, basePath));
|
|
652
|
-
},
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
655
|
-
* @summary Update hospitalBranchItem (Auth policies: RequireLocalManagerRole)
|
|
656
|
-
* @param {string} hospitalBranchId
|
|
657
|
-
* @param {string} hospitalId
|
|
658
|
-
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
659
|
-
* @param {*} [options] Override http request option.
|
|
660
|
-
* @throws {RequiredError}
|
|
661
|
-
*/
|
|
662
|
-
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
663
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options).then((request) => request(axios, basePath));
|
|
664
|
-
},
|
|
665
|
-
/**
|
|
666
|
-
*
|
|
667
|
-
* @summary Update hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
668
|
-
* @param {string} hospitalBranchId
|
|
669
|
-
* @param {UpdateHospitalBranchCommand} [updateHospitalBranchCommand]
|
|
670
|
-
* @param {*} [options] Override http request option.
|
|
671
|
-
* @throws {RequiredError}
|
|
672
|
-
*/
|
|
673
|
-
apiV1HospitalbranchesHospitalBranchIdPut(hospitalBranchId: string, updateHospitalBranchCommand?: UpdateHospitalBranchCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
674
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdPut(hospitalBranchId, updateHospitalBranchCommand, options).then((request) => request(axios, basePath));
|
|
675
|
-
},
|
|
676
|
-
/**
|
|
677
|
-
*
|
|
678
|
-
* @summary Reactivate hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
679
|
-
* @param {string} hospitalBranchId
|
|
680
|
-
* @param {*} [options] Override http request option.
|
|
681
|
-
* @throws {RequiredError}
|
|
682
|
-
*/
|
|
683
|
-
apiV1HospitalbranchesHospitalBranchIdReactivatePut(hospitalBranchId: string, options?: any): AxiosPromise<boolean> {
|
|
684
|
-
return localVarFp.apiV1HospitalbranchesHospitalBranchIdReactivatePut(hospitalBranchId, options).then((request) => request(axios, basePath));
|
|
685
|
-
},
|
|
686
|
-
/**
|
|
687
|
-
*
|
|
688
|
-
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
689
|
-
* @param {CreateHospitalBranchCommand} [createHospitalBranchCommand]
|
|
690
|
-
* @param {*} [options] Override http request option.
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
*/
|
|
693
|
-
apiV1HospitalbranchesPost(createHospitalBranchCommand?: CreateHospitalBranchCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
694
|
-
return localVarFp.apiV1HospitalbranchesPost(createHospitalBranchCommand, options).then((request) => request(axios, basePath));
|
|
695
|
-
},
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Request parameters for apiV1HospitalbranchesGet operation in HospitalBranchesApi.
|
|
701
|
-
* @export
|
|
702
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesGetRequest
|
|
703
|
-
*/
|
|
704
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesGetRequest {
|
|
705
|
-
/**
|
|
706
|
-
*
|
|
707
|
-
* @type {string}
|
|
708
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
709
|
-
*/
|
|
710
|
-
readonly id?: string
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
*
|
|
714
|
-
* @type {string}
|
|
715
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
716
|
-
*/
|
|
717
|
-
readonly hospitalGroupId?: string
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
723
|
-
*/
|
|
724
|
-
readonly hospitalId?: string
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
*
|
|
728
|
-
* @type {string}
|
|
729
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
730
|
-
*/
|
|
731
|
-
readonly languageCode?: string
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
*
|
|
735
|
-
* @type {boolean}
|
|
736
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
737
|
-
*/
|
|
738
|
-
readonly showHidden?: boolean
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
*
|
|
742
|
-
* @type {number}
|
|
743
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
744
|
-
*/
|
|
745
|
-
readonly page?: number
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
*
|
|
749
|
-
* @type {number}
|
|
750
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
751
|
-
*/
|
|
752
|
-
readonly limit?: number
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {Date}
|
|
757
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
758
|
-
*/
|
|
759
|
-
readonly lastRetrieved?: Date
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdDelete operation in HospitalBranchesApi.
|
|
764
|
-
* @export
|
|
765
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDeleteRequest
|
|
766
|
-
*/
|
|
767
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDeleteRequest {
|
|
768
|
-
/**
|
|
769
|
-
*
|
|
770
|
-
* @type {string}
|
|
771
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDelete
|
|
772
|
-
*/
|
|
773
|
-
readonly hospitalBranchId: string
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
*
|
|
777
|
-
* @type {boolean}
|
|
778
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDelete
|
|
779
|
-
*/
|
|
780
|
-
readonly isPermanent?: boolean
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdGet operation in HospitalBranchesApi.
|
|
785
|
-
* @export
|
|
786
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequest
|
|
787
|
-
*/
|
|
788
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequest {
|
|
789
|
-
/**
|
|
790
|
-
*
|
|
791
|
-
* @type {string}
|
|
792
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGet
|
|
793
|
-
*/
|
|
794
|
-
readonly hospitalBranchId: string
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @type {string}
|
|
799
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGet
|
|
800
|
-
*/
|
|
801
|
-
readonly languageCode?: string
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete operation in HospitalBranchesApi.
|
|
806
|
-
* @export
|
|
807
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest
|
|
808
|
-
*/
|
|
809
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest {
|
|
810
|
-
/**
|
|
811
|
-
*
|
|
812
|
-
* @type {string}
|
|
813
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
814
|
-
*/
|
|
815
|
-
readonly hospitalBranchId: string
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
821
|
-
*/
|
|
822
|
-
readonly hospitalId: string
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost operation in HospitalBranchesApi.
|
|
827
|
-
* @export
|
|
828
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest
|
|
829
|
-
*/
|
|
830
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest {
|
|
831
|
-
/**
|
|
832
|
-
*
|
|
833
|
-
* @type {string}
|
|
834
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
835
|
-
*/
|
|
836
|
-
readonly hospitalBranchId: string
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
*
|
|
840
|
-
* @type {string}
|
|
841
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
842
|
-
*/
|
|
843
|
-
readonly hospitalId: string
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
*
|
|
847
|
-
* @type {AddHospitalIntoBranchCommand}
|
|
848
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
849
|
-
*/
|
|
850
|
-
readonly addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut operation in HospitalBranchesApi.
|
|
855
|
-
* @export
|
|
856
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest
|
|
857
|
-
*/
|
|
858
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest {
|
|
859
|
-
/**
|
|
860
|
-
*
|
|
861
|
-
* @type {string}
|
|
862
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
863
|
-
*/
|
|
864
|
-
readonly hospitalBranchId: string
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
*
|
|
868
|
-
* @type {string}
|
|
869
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
870
|
-
*/
|
|
871
|
-
readonly hospitalId: string
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
*
|
|
875
|
-
* @type {UpdateHospitalBranchItemCommand}
|
|
876
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
877
|
-
*/
|
|
878
|
-
readonly updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdPut operation in HospitalBranchesApi.
|
|
883
|
-
* @export
|
|
884
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPutRequest
|
|
885
|
-
*/
|
|
886
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPutRequest {
|
|
887
|
-
/**
|
|
888
|
-
*
|
|
889
|
-
* @type {string}
|
|
890
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPut
|
|
891
|
-
*/
|
|
892
|
-
readonly hospitalBranchId: string
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
*
|
|
896
|
-
* @type {UpdateHospitalBranchCommand}
|
|
897
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPut
|
|
898
|
-
*/
|
|
899
|
-
readonly updateHospitalBranchCommand?: UpdateHospitalBranchCommand
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* Request parameters for apiV1HospitalbranchesHospitalBranchIdReactivatePut operation in HospitalBranchesApi.
|
|
904
|
-
* @export
|
|
905
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdReactivatePutRequest
|
|
906
|
-
*/
|
|
907
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdReactivatePutRequest {
|
|
908
|
-
/**
|
|
909
|
-
*
|
|
910
|
-
* @type {string}
|
|
911
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdReactivatePut
|
|
912
|
-
*/
|
|
913
|
-
readonly hospitalBranchId: string
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* Request parameters for apiV1HospitalbranchesPost operation in HospitalBranchesApi.
|
|
918
|
-
* @export
|
|
919
|
-
* @interface HospitalBranchesApiApiV1HospitalbranchesPostRequest
|
|
920
|
-
*/
|
|
921
|
-
export interface HospitalBranchesApiApiV1HospitalbranchesPostRequest {
|
|
922
|
-
/**
|
|
923
|
-
*
|
|
924
|
-
* @type {CreateHospitalBranchCommand}
|
|
925
|
-
* @memberof HospitalBranchesApiApiV1HospitalbranchesPost
|
|
926
|
-
*/
|
|
927
|
-
readonly createHospitalBranchCommand?: CreateHospitalBranchCommand
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* HospitalBranchesApi - object-oriented interface
|
|
932
|
-
* @export
|
|
933
|
-
* @class HospitalBranchesApi
|
|
934
|
-
* @extends {BaseAPI}
|
|
935
|
-
*/
|
|
936
|
-
export class HospitalBranchesApi extends BaseAPI {
|
|
937
|
-
/**
|
|
938
|
-
*
|
|
939
|
-
* @summary Get hospitalBranches (Auth policies: RequireDoctorRole)
|
|
940
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesGetRequest} requestParameters Request parameters.
|
|
941
|
-
* @param {*} [options] Override http request option.
|
|
942
|
-
* @throws {RequiredError}
|
|
943
|
-
* @memberof HospitalBranchesApi
|
|
944
|
-
*/
|
|
945
|
-
public apiV1HospitalbranchesGet(requestParameters: HospitalBranchesApiApiV1HospitalbranchesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
946
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesGet(requestParameters.id, requestParameters.hospitalGroupId, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
*
|
|
951
|
-
* @summary Delete hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
952
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDeleteRequest} requestParameters Request parameters.
|
|
953
|
-
* @param {*} [options] Override http request option.
|
|
954
|
-
* @throws {RequiredError}
|
|
955
|
-
* @memberof HospitalBranchesApi
|
|
956
|
-
*/
|
|
957
|
-
public apiV1HospitalbranchesHospitalBranchIdDelete(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
958
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdDelete(requestParameters.hospitalBranchId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
*
|
|
963
|
-
* @summary Get hospitalBranch (Auth policies: RequireDoctorRole)
|
|
964
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequest} requestParameters Request parameters.
|
|
965
|
-
* @param {*} [options] Override http request option.
|
|
966
|
-
* @throws {RequiredError}
|
|
967
|
-
* @memberof HospitalBranchesApi
|
|
968
|
-
*/
|
|
969
|
-
public apiV1HospitalbranchesHospitalBranchIdGet(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequest, options?: AxiosRequestConfig) {
|
|
970
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdGet(requestParameters.hospitalBranchId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
*
|
|
975
|
-
* @summary Remove hospital from HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
976
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
977
|
-
* @param {*} [options] Override http request option.
|
|
978
|
-
* @throws {RequiredError}
|
|
979
|
-
* @memberof HospitalBranchesApi
|
|
980
|
-
*/
|
|
981
|
-
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
982
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters.hospitalBranchId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @summary Add hospital into HospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
988
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest} requestParameters Request parameters.
|
|
989
|
-
* @param {*} [options] Override http request option.
|
|
990
|
-
* @throws {RequiredError}
|
|
991
|
-
* @memberof HospitalBranchesApi
|
|
992
|
-
*/
|
|
993
|
-
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest, options?: AxiosRequestConfig) {
|
|
994
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.addHospitalIntoBranchCommand, options).then((request) => request(this.axios, this.basePath));
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
*
|
|
999
|
-
* @summary Update hospitalBranchItem (Auth policies: RequireLocalManagerRole)
|
|
1000
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest} requestParameters Request parameters.
|
|
1001
|
-
* @param {*} [options] Override http request option.
|
|
1002
|
-
* @throws {RequiredError}
|
|
1003
|
-
* @memberof HospitalBranchesApi
|
|
1004
|
-
*/
|
|
1005
|
-
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest, options?: AxiosRequestConfig) {
|
|
1006
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.updateHospitalBranchItemCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @summary Update hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
1012
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPutRequest} requestParameters Request parameters.
|
|
1013
|
-
* @param {*} [options] Override http request option.
|
|
1014
|
-
* @throws {RequiredError}
|
|
1015
|
-
* @memberof HospitalBranchesApi
|
|
1016
|
-
*/
|
|
1017
|
-
public apiV1HospitalbranchesHospitalBranchIdPut(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdPutRequest, options?: AxiosRequestConfig) {
|
|
1018
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdPut(requestParameters.hospitalBranchId, requestParameters.updateHospitalBranchCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @summary Reactivate hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
1024
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdReactivatePutRequest} requestParameters Request parameters.
|
|
1025
|
-
* @param {*} [options] Override http request option.
|
|
1026
|
-
* @throws {RequiredError}
|
|
1027
|
-
* @memberof HospitalBranchesApi
|
|
1028
|
-
*/
|
|
1029
|
-
public apiV1HospitalbranchesHospitalBranchIdReactivatePut(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdReactivatePutRequest, options?: AxiosRequestConfig) {
|
|
1030
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdReactivatePut(requestParameters.hospitalBranchId, options).then((request) => request(this.axios, this.basePath));
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
1036
|
-
* @param {HospitalBranchesApiApiV1HospitalbranchesPostRequest} requestParameters Request parameters.
|
|
1037
|
-
* @param {*} [options] Override http request option.
|
|
1038
|
-
* @throws {RequiredError}
|
|
1039
|
-
* @memberof HospitalBranchesApi
|
|
1040
|
-
*/
|
|
1041
|
-
public apiV1HospitalbranchesPost(requestParameters: HospitalBranchesApiApiV1HospitalbranchesPostRequest = {}, options?: AxiosRequestConfig) {
|
|
1042
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesPost(requestParameters.createHospitalBranchCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1043
|
-
}
|
|
1044
|
-
}
|