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