ch-api-client-typescript2 5.46.3 → 5.47.3
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 +32 -11
- package/lib/api/accounts-api.d.ts.map +1 -1
- package/lib/api/accounts-api.js +18 -5
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +25 -8
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +18 -5
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +67 -26
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +88 -35
- package/lib/api/call-histories-api.d.ts.map +1 -1
- package/lib/api/call-histories-api.js +25 -8
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +53 -20
- package/lib/api/communications-api.d.ts.map +1 -1
- package/lib/api/communications-api.js +32 -11
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +46 -17
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +46 -17
- package/lib/api/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +39 -14
- package/lib/api/currencies-api.d.ts.map +1 -1
- package/lib/api/currencies-api.js +18 -5
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +74 -29
- package/lib/api/devices-api.d.ts.map +1 -1
- package/lib/api/devices-api.js +46 -17
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +53 -20
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +116 -47
- package/lib/api/external-api.d.ts.map +1 -1
- package/lib/api/external-api.js +18 -5
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +32 -11
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +60 -23
- package/lib/api/form-results-api.d.ts.map +1 -1
- package/lib/api/form-results-api.js +39 -14
- package/lib/api/form-templates-api.d.ts.map +1 -1
- package/lib/api/form-templates-api.js +18 -5
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +46 -17
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +438 -185
- package/lib/api/images-api.d.ts.map +1 -1
- package/lib/api/images-api.js +18 -5
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +25 -8
- package/lib/api/medias-api.d.ts.map +1 -1
- package/lib/api/medias-api.js +18 -5
- package/lib/api/messages-api.d.ts.map +1 -1
- package/lib/api/messages-api.js +18 -5
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +25 -8
- package/lib/api/origins-api.d.ts.map +1 -1
- package/lib/api/origins-api.js +39 -14
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +53 -20
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +39 -14
- package/lib/api/prescriptions-api.d.ts.map +1 -1
- package/lib/api/prescriptions-api.js +25 -8
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +60 -23
- package/lib/api/promotions-api.d.ts.map +1 -1
- package/lib/api/promotions-api.js +18 -5
- package/lib/api/secure-containers-api.d.ts.map +1 -1
- package/lib/api/secure-containers-api.js +46 -17
- 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 +25 -8
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +53 -20
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +60 -23
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +18 -5
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +25 -8
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +25 -8
- package/lib/api/vonage-users-api.d.ts.map +1 -1
- package/lib/api/vonage-users-api.js +32 -11
- package/lib/common.d.ts.map +1 -1
- package/lib/common.js +2 -2
- package/package.json +11 -6
- package/.gitattributes +0 -2
- package/.github/workflows/publish-npm.yml +0 -45
- package/openapitools.json +0 -7
- package/src/.openapi-generator/FILES +0 -430
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/api/about-us-api.ts +0 -490
- package/src/api/accounts-api.ts +0 -149
- package/src/api/accreditations-api.ts +0 -283
- package/src/api/app-version-api.ts +0 -139
- package/src/api/appointments-api.ts +0 -1107
- package/src/api/articles-api.ts +0 -1682
- package/src/api/call-histories-api.ts +0 -245
- package/src/api/chat-users-api.ts +0 -587
- package/src/api/communications-api.ts +0 -252
- package/src/api/contributors-api.ts +0 -799
- package/src/api/countries-api.ts +0 -759
- package/src/api/curations-api.ts +0 -469
- package/src/api/currencies-api.ts +0 -200
- package/src/api/deals-api.ts +0 -1894
- package/src/api/devices-api.ts +0 -621
- package/src/api/doctor-affiliations-api.ts +0 -972
- package/src/api/doctors-api.ts +0 -2383
- package/src/api/external-api.ts +0 -120
- package/src/api/faq-categories-api.ts +0 -476
- package/src/api/faqs-api.ts +0 -980
- package/src/api/form-results-api.ts +0 -557
- package/src/api/form-templates-api.ts +0 -183
- package/src/api/group-channels-api.ts +0 -567
- package/src/api/hospitals-api.ts +0 -9242
- package/src/api/images-api.ts +0 -148
- package/src/api/languages-api.ts +0 -311
- package/src/api/medias-api.ts +0 -154
- package/src/api/messages-api.ts +0 -147
- package/src/api/notifications-api.ts +0 -293
- package/src/api/origins-api.ts +0 -365
- package/src/api/patients-api.ts +0 -603
- package/src/api/plans-api.ts +0 -506
- package/src/api/prescriptions-api.ts +0 -333
- package/src/api/profiles-api.ts +0 -623
- package/src/api/promotions-api.ts +0 -216
- package/src/api/secure-containers-api.ts +0 -610
- package/src/api/service-reviews-api.ts +0 -1291
- package/src/api/services-api.ts +0 -664
- package/src/api/services-categories-api.ts +0 -283
- package/src/api/specialties-api.ts +0 -1059
- package/src/api/specialty-types-api.ts +0 -1174
- package/src/api/survey-forms-api.ts +0 -183
- package/src/api/survey-results-api.ts +0 -228
- package/src/api/tags-api.ts +0 -283
- package/src/api/vonage-users-api.ts +0 -301
- package/src/api.ts +0 -62
- 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 -117
- package/src/models/about-us-pages-model.ts +0 -42
- package/src/models/accreditation-document-model.ts +0 -50
- 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/admin-message-model.ts +0 -84
- package/src/models/app-version-model.ts +0 -51
- package/src/models/appointment-change-log-model.ts +0 -51
- package/src/models/appointment-item-model.ts +0 -372
- package/src/models/appointment-model.ts +0 -396
- package/src/models/appointment-option-document-model.ts +0 -60
- package/src/models/appointment-option-model.ts +0 -66
- package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
- package/src/models/appointment-refund-upi-model.ts +0 -42
- package/src/models/appointment-status.ts +0 -39
- package/src/models/appointment-timetable-date-model.ts +0 -69
- package/src/models/appointment-timetable-status.ts +0 -31
- package/src/models/appointment-timetable-time-slot-model.ts +0 -81
- package/src/models/appointment-type.ts +0 -34
- package/src/models/appointments-model.ts +0 -42
- package/src/models/article-contributor-document-model.ts +0 -45
- package/src/models/article-contributor-item-model.ts +0 -108
- package/src/models/article-contributor-model.ts +0 -144
- package/src/models/article-contributors-model.ts +0 -42
- package/src/models/article-document-model.ts +0 -426
- package/src/models/article-item-model.ts +0 -186
- package/src/models/article-model.ts +0 -207
- package/src/models/article-sources-model.ts +0 -42
- package/src/models/article-tag-item-model.ts +0 -42
- package/src/models/article-tag-model.ts +0 -42
- package/src/models/article-tags-model.ts +0 -42
- package/src/models/article-type.ts +0 -33
- package/src/models/articles-model.ts +0 -42
- package/src/models/auditable-entity-document-model.ts +0 -54
- package/src/models/auditable-entity-model.ts +0 -72
- package/src/models/auditable-entity.ts +0 -72
- package/src/models/award-model.ts +0 -48
- 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/call-status.ts +0 -40
- package/src/models/cancel-appointment-command.ts +0 -48
- package/src/models/change-email-command.ts +0 -30
- package/src/models/channel-messenger.ts +0 -30
- package/src/models/channel-mms.ts +0 -30
- package/src/models/channel-pstn.ts +0 -30
- package/src/models/channel-sip.ts +0 -42
- package/src/models/channel-sms.ts +0 -30
- package/src/models/channel-vbc.ts +0 -30
- package/src/models/channel-viber.ts +0 -30
- package/src/models/channel-web-socket.ts +0 -42
- package/src/models/channel-whats-app.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/communication-user-token-model.ts +0 -48
- package/src/models/confirm-email-command.ts +0 -30
- package/src/models/contact-type.ts +0 -36
- package/src/models/contribution-type.ts +0 -32
- package/src/models/contributor-item-model.ts +0 -123
- package/src/models/contributor-model.ts +0 -153
- package/src/models/contributor-sns-handles-model.ts +0 -42
- package/src/models/contributor-sub-document-model.ts +0 -315
- package/src/models/contributors-model.ts +0 -42
- package/src/models/coordinate-system.ts +0 -42
- package/src/models/countries-model.ts +0 -42
- package/src/models/country-currency-document-model.ts +0 -48
- package/src/models/country-currency-item-model.ts +0 -60
- package/src/models/country-document-model.ts +0 -411
- package/src/models/country-item-model.ts +0 -129
- package/src/models/country-language-document-model.ts +0 -48
- package/src/models/country-language-item-model.ts +0 -54
- package/src/models/country-model.ts +0 -159
- package/src/models/create-appointment-command.ts +0 -159
- package/src/models/create-call-history-command.ts +0 -69
- package/src/models/create-chat-user-command.ts +0 -54
- package/src/models/create-cors-command.ts +0 -30
- package/src/models/create-device-command.ts +0 -69
- package/src/models/create-form-result-command.ts +0 -51
- package/src/models/create-media-command.ts +0 -57
- package/src/models/create-patient-command.ts +0 -93
- package/src/models/create-profile-command.ts +0 -96
- package/src/models/create-service-review-command.ts +0 -87
- package/src/models/create-survey-result-command.ts +0 -63
- package/src/models/curation-categories-model.ts +0 -42
- package/src/models/curation-category-model.ts +0 -42
- package/src/models/curation-model.ts +0 -66
- package/src/models/curations-by-category-item-model.ts +0 -54
- package/src/models/curations-by-category-model.ts +0 -51
- package/src/models/currencies-model.ts +0 -42
- package/src/models/currency-item-model.ts +0 -48
- package/src/models/day-of-week.ts +0 -36
- package/src/models/deal-document-model.ts +0 -447
- package/src/models/deal-item-model.ts +0 -210
- package/src/models/deal-item-simple-model.ts +0 -54
- package/src/models/deal-mapping-model.ts +0 -33
- package/src/models/deal-model.ts +0 -264
- package/src/models/deal-package-item-model.ts +0 -132
- package/src/models/deal-package-mapping-model.ts +0 -75
- package/src/models/deal-package-model.ts +0 -171
- package/src/models/deal-packages-model.ts +0 -42
- package/src/models/deal-service-item-model.ts +0 -72
- package/src/models/deal-service-mapping-model.ts +0 -42
- package/src/models/deal-service-model.ts +0 -72
- package/src/models/deal-service-sub-document-model.ts +0 -333
- package/src/models/deal-service-translation-item-document-model.ts +0 -42
- package/src/models/deal-services-model.ts +0 -42
- package/src/models/deal-translation-document-model.ts +0 -42
- package/src/models/deals-model.ts +0 -42
- package/src/models/deals-simple-model.ts +0 -42
- package/src/models/department-document-model.ts +0 -375
- package/src/models/department-sub-document-model.ts +0 -327
- package/src/models/device-item-model.ts +0 -63
- package/src/models/device-model.ts +0 -69
- package/src/models/devices-model.ts +0 -42
- package/src/models/doctor-affiliation-item-model.ts +0 -261
- package/src/models/doctor-affiliation-model.ts +0 -351
- package/src/models/doctor-affiliation-translation-document-model.ts +0 -60
- 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-sub-document-model.ts +0 -48
- package/src/models/doctor-certificates-model.ts +0 -42
- package/src/models/doctor-document-model.ts +0 -513
- package/src/models/doctor-education-item-model.ts +0 -78
- package/src/models/doctor-education-model.ts +0 -78
- package/src/models/doctor-educations-model.ts +0 -42
- package/src/models/doctor-item-model.ts +0 -105
- 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 -135
- package/src/models/doctor-portfolio-item-model.ts +0 -66
- package/src/models/doctor-portfolio-item-simple-model.ts +0 -48
- 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 -48
- package/src/models/doctor-specialties-model.ts +0 -42
- package/src/models/doctor-specialty-item-model.ts +0 -66
- package/src/models/doctor-specialty-model.ts +0 -66
- package/src/models/doctor-specialty-sub-document-model.ts +0 -321
- package/src/models/doctor-specialty-translation-item-document-model.ts +0 -42
- package/src/models/doctors-model.ts +0 -42
- package/src/models/doctors-simple-model.ts +0 -42
- package/src/models/facebook-user-data-deletion-response-model.ts +0 -48
- 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 -126
- package/src/models/faq-item-model.ts +0 -138
- package/src/models/faq-model.ts +0 -171
- 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-document-model.ts +0 -78
- package/src/models/feature-detail-model.ts +0 -78
- package/src/models/feature-model.ts +0 -39
- package/src/models/footer-navigation-item-model.ts +0 -72
- package/src/models/form-field-model.ts +0 -129
- package/src/models/form-field-option-model.ts +0 -60
- package/src/models/form-result-field-input-model.ts +0 -39
- package/src/models/form-result-field-model.ts +0 -99
- package/src/models/form-result-item-model.ts +0 -111
- package/src/models/form-result-model.ts +0 -120
- package/src/models/form-result-section-input-model.ts +0 -39
- 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-input-model.ts +0 -42
- package/src/models/form-result-value-model.ts +0 -66
- package/src/models/form-results-model.ts +0 -42
- package/src/models/form-section-model.ts +0 -69
- package/src/models/form-template-model.ts +0 -129
- package/src/models/form-template-status.ts +0 -31
- package/src/models/form-template-type.ts +0 -32
- package/src/models/gender.ts +0 -34
- package/src/models/geography-point.ts +0 -63
- package/src/models/get-appointment-timetables-response-model.ts +0 -51
- package/src/models/grade-document-model.ts +0 -48
- package/src/models/grade-model.ts +0 -48
- 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 -93
- package/src/models/hospital-branch-item-model.ts +0 -69
- package/src/models/hospital-branches-model.ts +0 -51
- package/src/models/hospital-consultation-option-model.ts +0 -42
- package/src/models/hospital-contact-document-model.ts +0 -78
- package/src/models/hospital-contact-item-model.ts +0 -87
- package/src/models/hospital-contacts-model.ts +0 -42
- package/src/models/hospital-doctor-portfolio-item-model.ts +0 -60
- package/src/models/hospital-doctor-portfolios-model.ts +0 -42
- package/src/models/hospital-document-model.ts +0 -516
- package/src/models/hospital-equipment-item-model.ts +0 -72
- package/src/models/hospital-equipment-model.ts +0 -72
- package/src/models/hospital-equipments-model.ts +0 -42
- package/src/models/hospital-evaluation-item-model.ts +0 -36
- package/src/models/hospital-evaluation-model.ts +0 -48
- package/src/models/hospital-evaluations-model.ts +0 -42
- package/src/models/hospital-group-item-model.ts +0 -60
- package/src/models/hospital-item-model.ts +0 -265
- 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 -388
- package/src/models/hospital-payment-gateway-model.ts +0 -36
- 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-ratings-model.ts +0 -42
- package/src/models/hospital-service-item-model.ts +0 -162
- package/src/models/hospital-service-model.ts +0 -255
- 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 -162
- package/src/models/hospital-specialty-model.ts +0 -243
- package/src/models/hospital-specialty-simple-item-model.ts +0 -60
- package/src/models/hospital-specialty-sub-document-model.ts +0 -333
- package/src/models/hospital-specialty-translation-item-document-model.ts +0 -48
- package/src/models/hospital-sub-document-model.ts +0 -360
- 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-translation-document-model.ts +0 -72
- package/src/models/hospital-working-day-of-week-model.ts +0 -45
- package/src/models/hospital-working-days-model.ts +0 -42
- package/src/models/hospitals-model.ts +0 -42
- package/src/models/hospitals-simple-model.ts +0 -42
- package/src/models/index.ts +0 -375
- 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/localized-url-model.ts +0 -42
- package/src/models/location-document-model.ts +0 -93
- package/src/models/location-model.ts +0 -103
- package/src/models/marketing-type.ts +0 -32
- package/src/models/media-document-model.ts +0 -66
- package/src/models/media-model.ts +0 -69
- package/src/models/media-type.ts +0 -37
- package/src/models/medias-model.ts +0 -42
- package/src/models/metadata.ts +0 -42
- package/src/models/notice-item-model.ts +0 -93
- 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/package-sub-document-model.ts +0 -72
- 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-model.ts +0 -48
- package/src/models/page-block-model.ts +0 -147
- package/src/models/page-block-type.ts +0 -48
- package/src/models/page-item-model.ts +0 -102
- package/src/models/page-item-status.ts +0 -32
- 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-model.ts +0 -129
- package/src/models/pay-appointment-command.ts +0 -39
- package/src/models/payment-method.ts +0 -35
- package/src/models/payment-model.ts +0 -87
- package/src/models/payment-status.ts +0 -33
- 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 -66
- package/src/models/policy-model.ts +0 -126
- package/src/models/prescription-diagnosis-model.ts +0 -42
- package/src/models/prescription-item-model.ts +0 -180
- package/src/models/prescription-medication-model.ts +0 -84
- package/src/models/prescription-model.ts +0 -207
- package/src/models/prescription-symptom-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-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-appointment-command.ts +0 -48
- package/src/models/refund-policy.ts +0 -32
- package/src/models/refund-status.ts +0 -32
- package/src/models/register-patient-command.ts +0 -42
- package/src/models/registered-account-model.ts +0 -66
- package/src/models/reject-reason.ts +0 -33
- package/src/models/remove-cors-command.ts +0 -30
- package/src/models/request-handoff-command.ts +0 -48
- package/src/models/reschedule-appointment-command.ts +0 -42
- package/src/models/review-type.ts +0 -32
- package/src/models/secure-container-item-model.ts +0 -48
- package/src/models/secure-container-model.ts +0 -57
- package/src/models/secure-containers-model.ts +0 -42
- package/src/models/secure-file-item-input-model.ts +0 -48
- 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/service-categories-model.ts +0 -42
- package/src/models/service-category-item-model.ts +0 -60
- package/src/models/service-category-model.ts +0 -60
- package/src/models/service-review-item-model.ts +0 -183
- package/src/models/service-review-model.ts +0 -183
- package/src/models/service-reviews-model.ts +0 -42
- package/src/models/simple-translation-model.ts +0 -60
- package/src/models/simple-translation-with-description-model.ts +0 -66
- package/src/models/sns-handle-document-model.ts +0 -36
- package/src/models/sns-handle-model.ts +0 -45
- package/src/models/sns-type.ts +0 -35
- 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-document-model.ts +0 -372
- package/src/models/specialty-item-model.ts +0 -123
- package/src/models/specialty-item-simple-model.ts +0 -60
- package/src/models/specialty-model.ts +0 -150
- package/src/models/specialty-type-item-model.ts +0 -132
- package/src/models/specialty-type-model.ts +0 -159
- package/src/models/specialty-type-simple-item-model.ts +0 -54
- package/src/models/specialty-types-model.ts +0 -42
- package/src/models/specialty-types-simple-model.ts +0 -42
- package/src/models/survey-form-affiliation-model.ts +0 -63
- package/src/models/survey-form-element-model.ts +0 -96
- package/src/models/survey-form-element-option-model.ts +0 -66
- package/src/models/survey-form-element-types.ts +0 -44
- package/src/models/survey-form-model.ts +0 -117
- package/src/models/survey-form-status.ts +0 -31
- package/src/models/survey-result-element-input-model.ts +0 -54
- package/src/models/survey-result-element-value-input-model.ts +0 -42
- package/src/models/tag-document-model.ts +0 -36
- 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/translation-document-model.ts +0 -36
- package/src/models/translation-item-document-model.ts +0 -36
- package/src/models/update-appointment-command.ts +0 -99
- package/src/models/update-call-history-command.ts +0 -81
- package/src/models/update-chat-user-command.ts +0 -48
- package/src/models/update-device-command.ts +0 -54
- package/src/models/update-media-command.ts +0 -57
- package/src/models/update-patient-command.ts +0 -87
- package/src/models/update-profile-command.ts +0 -84
- package/src/models/update-secure-container-command.ts +0 -45
- package/src/models/update-service-review-command.ts +0 -84
- package/src/models/update-survey-result-command.ts +0 -36
- package/src/models/update-vonage-user-command.ts +0 -66
- package/src/models/upi-payment-model.ts +0 -36
- package/src/models/uploaded-medias-model.ts +0 -33
- package/src/models/user-channels.ts +0 -105
- package/src/models/user-language-document-model.ts +0 -60
- package/src/models/user-language-model.ts +0 -60
- package/src/models/user-model.ts +0 -123
- package/src/models/user-property.ts +0 -30
- package/src/models/validate-specialty-names-by-specialty-type-command.ts +0 -42
- package/src/models/validate-specialty-names-result.ts +0 -30
- package/src/models/vonage-user.ts +0 -63
- package/src/models/web-app-metadata-model.ts +0 -66
- package/src/models/working-day-item-model.ts +0 -60
- package/src/models/working-day-model.ts +0 -60
- package/tsconfig.json +0 -71
package/src/api/articles-api.ts
DELETED
|
@@ -1,1682 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
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 { ArticleContributorModel } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ArticleContributorsModel } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { ArticleModel } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ArticleSourcesModel } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ArticleTagModel } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { ArticleTagsModel } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { ArticleType } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { ArticlesModel } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import { ContributionType } from '../models';
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
import { MediaModel } from '../models';
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
import { MediaType } from '../models';
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
import { MediasModel } from '../models';
|
|
47
|
-
// @ts-ignore
|
|
48
|
-
import { SourceModel } from '../models';
|
|
49
|
-
/**
|
|
50
|
-
* ArticlesApi - axios parameter creator
|
|
51
|
-
* @export
|
|
52
|
-
*/
|
|
53
|
-
export const ArticlesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
54
|
-
return {
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @summary Get ArticleContributor.
|
|
58
|
-
* @param {string} articleId
|
|
59
|
-
* @param {string} contributorId
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
apiV2ArticlesArticleIdContributorsContributorIdGet: async (articleId: string, contributorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
65
|
-
assertParamExists('apiV2ArticlesArticleIdContributorsContributorIdGet', 'articleId', articleId)
|
|
66
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
67
|
-
assertParamExists('apiV2ArticlesArticleIdContributorsContributorIdGet', 'contributorId', contributorId)
|
|
68
|
-
const localVarPath = `/api/v2/articles/{articleId}/contributors/{contributorId}`
|
|
69
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
70
|
-
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)));
|
|
71
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73
|
-
let baseOptions;
|
|
74
|
-
if (configuration) {
|
|
75
|
-
baseOptions = configuration.baseOptions;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
79
|
-
const localVarHeaderParameter = {} as any;
|
|
80
|
-
const localVarQueryParameter = {} as any;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
url: toPathString(localVarUrlObj),
|
|
90
|
-
options: localVarRequestOptions,
|
|
91
|
-
};
|
|
92
|
-
},
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @summary GetAll ArticleContributors.
|
|
96
|
-
* @param {string} articleId
|
|
97
|
-
* @param {string} [articleName]
|
|
98
|
-
* @param {string} [contributorId]
|
|
99
|
-
* @param {string} [contributorName]
|
|
100
|
-
* @param {string} [email]
|
|
101
|
-
* @param {string} [website]
|
|
102
|
-
* @param {ContributionType} [contributionType]
|
|
103
|
-
* @param {string} [languageCode]
|
|
104
|
-
* @param {boolean} [showHidden]
|
|
105
|
-
* @param {number} [page]
|
|
106
|
-
* @param {number} [limit]
|
|
107
|
-
* @param {Date} [lastRetrieved]
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
*/
|
|
111
|
-
apiV2ArticlesArticleIdContributorsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
113
|
-
assertParamExists('apiV2ArticlesArticleIdContributorsGet', 'articleId', articleId)
|
|
114
|
-
const localVarPath = `/api/v2/articles/{articleId}/contributors`
|
|
115
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)));
|
|
116
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
118
|
-
let baseOptions;
|
|
119
|
-
if (configuration) {
|
|
120
|
-
baseOptions = configuration.baseOptions;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
124
|
-
const localVarHeaderParameter = {} as any;
|
|
125
|
-
const localVarQueryParameter = {} as any;
|
|
126
|
-
|
|
127
|
-
if (articleName !== undefined) {
|
|
128
|
-
localVarQueryParameter['ArticleName'] = articleName;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
if (contributorId !== undefined) {
|
|
132
|
-
localVarQueryParameter['ContributorId'] = contributorId;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
if (contributorName !== undefined) {
|
|
136
|
-
localVarQueryParameter['ContributorName'] = contributorName;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
if (email !== undefined) {
|
|
140
|
-
localVarQueryParameter['Email'] = email;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
if (website !== undefined) {
|
|
144
|
-
localVarQueryParameter['Website'] = website;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
if (contributionType !== undefined) {
|
|
148
|
-
localVarQueryParameter['ContributionType'] = contributionType;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
if (languageCode !== undefined) {
|
|
152
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
if (showHidden !== undefined) {
|
|
156
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
if (page !== undefined) {
|
|
160
|
-
localVarQueryParameter['page'] = page;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
if (limit !== undefined) {
|
|
164
|
-
localVarQueryParameter['limit'] = limit;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
if (lastRetrieved !== undefined) {
|
|
168
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
169
|
-
(lastRetrieved as any).toISOString() :
|
|
170
|
-
lastRetrieved;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
178
|
-
|
|
179
|
-
return {
|
|
180
|
-
url: toPathString(localVarUrlObj),
|
|
181
|
-
options: localVarRequestOptions,
|
|
182
|
-
};
|
|
183
|
-
},
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @summary Get Article.
|
|
187
|
-
* @param {string} articleId
|
|
188
|
-
* @param {string} [languageCode]
|
|
189
|
-
* @param {*} [options] Override http request option.
|
|
190
|
-
* @throws {RequiredError}
|
|
191
|
-
*/
|
|
192
|
-
apiV2ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
194
|
-
assertParamExists('apiV2ArticlesArticleIdGet', 'articleId', articleId)
|
|
195
|
-
const localVarPath = `/api/v2/articles/{articleId}`
|
|
196
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)));
|
|
197
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
199
|
-
let baseOptions;
|
|
200
|
-
if (configuration) {
|
|
201
|
-
baseOptions = configuration.baseOptions;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
205
|
-
const localVarHeaderParameter = {} as any;
|
|
206
|
-
const localVarQueryParameter = {} as any;
|
|
207
|
-
|
|
208
|
-
if (languageCode !== undefined) {
|
|
209
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
215
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
217
|
-
|
|
218
|
-
return {
|
|
219
|
-
url: toPathString(localVarUrlObj),
|
|
220
|
-
options: localVarRequestOptions,
|
|
221
|
-
};
|
|
222
|
-
},
|
|
223
|
-
/**
|
|
224
|
-
*
|
|
225
|
-
* @summary Get all ArticleMedias.
|
|
226
|
-
* @param {string} articleId
|
|
227
|
-
* @param {string} [id]
|
|
228
|
-
* @param {MediaType} [mediaType]
|
|
229
|
-
* @param {number} [page]
|
|
230
|
-
* @param {number} [limit]
|
|
231
|
-
* @param {Date} [lastRetrieved]
|
|
232
|
-
* @param {*} [options] Override http request option.
|
|
233
|
-
* @throws {RequiredError}
|
|
234
|
-
*/
|
|
235
|
-
apiV2ArticlesArticleIdMediasGet: async (articleId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
236
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
237
|
-
assertParamExists('apiV2ArticlesArticleIdMediasGet', 'articleId', articleId)
|
|
238
|
-
const localVarPath = `/api/v2/articles/{articleId}/medias`
|
|
239
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)));
|
|
240
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
242
|
-
let baseOptions;
|
|
243
|
-
if (configuration) {
|
|
244
|
-
baseOptions = configuration.baseOptions;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
248
|
-
const localVarHeaderParameter = {} as any;
|
|
249
|
-
const localVarQueryParameter = {} as any;
|
|
250
|
-
|
|
251
|
-
if (id !== undefined) {
|
|
252
|
-
localVarQueryParameter['Id'] = id;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
if (mediaType !== undefined) {
|
|
256
|
-
localVarQueryParameter['MediaType'] = mediaType;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
if (page !== undefined) {
|
|
260
|
-
localVarQueryParameter['page'] = page;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
if (limit !== undefined) {
|
|
264
|
-
localVarQueryParameter['limit'] = limit;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
if (lastRetrieved !== undefined) {
|
|
268
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
269
|
-
(lastRetrieved as any).toISOString() :
|
|
270
|
-
lastRetrieved;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
276
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
277
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
278
|
-
|
|
279
|
-
return {
|
|
280
|
-
url: toPathString(localVarUrlObj),
|
|
281
|
-
options: localVarRequestOptions,
|
|
282
|
-
};
|
|
283
|
-
},
|
|
284
|
-
/**
|
|
285
|
-
*
|
|
286
|
-
* @summary Get ArticleMedia.
|
|
287
|
-
* @param {string} articleId
|
|
288
|
-
* @param {string} mediaId
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
*/
|
|
292
|
-
apiV2ArticlesArticleIdMediasMediaIdGet: async (articleId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
293
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
294
|
-
assertParamExists('apiV2ArticlesArticleIdMediasMediaIdGet', 'articleId', articleId)
|
|
295
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
296
|
-
assertParamExists('apiV2ArticlesArticleIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
297
|
-
const localVarPath = `/api/v2/articles/{articleId}/medias/{mediaId}`
|
|
298
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
299
|
-
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
300
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
301
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
302
|
-
let baseOptions;
|
|
303
|
-
if (configuration) {
|
|
304
|
-
baseOptions = configuration.baseOptions;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
308
|
-
const localVarHeaderParameter = {} as any;
|
|
309
|
-
const localVarQueryParameter = {} as any;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
314
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
315
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
316
|
-
|
|
317
|
-
return {
|
|
318
|
-
url: toPathString(localVarUrlObj),
|
|
319
|
-
options: localVarRequestOptions,
|
|
320
|
-
};
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary Get all ArticleSource.
|
|
325
|
-
* @param {string} articleId
|
|
326
|
-
* @param {number} [page]
|
|
327
|
-
* @param {number} [limit]
|
|
328
|
-
* @param {Date} [lastRetrieved]
|
|
329
|
-
* @param {*} [options] Override http request option.
|
|
330
|
-
* @throws {RequiredError}
|
|
331
|
-
*/
|
|
332
|
-
apiV2ArticlesArticleIdSourcesGet: async (articleId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
334
|
-
assertParamExists('apiV2ArticlesArticleIdSourcesGet', 'articleId', articleId)
|
|
335
|
-
const localVarPath = `/api/v2/articles/{articleId}/sources`
|
|
336
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)));
|
|
337
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
338
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
339
|
-
let baseOptions;
|
|
340
|
-
if (configuration) {
|
|
341
|
-
baseOptions = configuration.baseOptions;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
345
|
-
const localVarHeaderParameter = {} as any;
|
|
346
|
-
const localVarQueryParameter = {} as any;
|
|
347
|
-
|
|
348
|
-
if (page !== undefined) {
|
|
349
|
-
localVarQueryParameter['page'] = page;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
if (limit !== undefined) {
|
|
353
|
-
localVarQueryParameter['limit'] = limit;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
if (lastRetrieved !== undefined) {
|
|
357
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
358
|
-
(lastRetrieved as any).toISOString() :
|
|
359
|
-
lastRetrieved;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
365
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
366
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
367
|
-
|
|
368
|
-
return {
|
|
369
|
-
url: toPathString(localVarUrlObj),
|
|
370
|
-
options: localVarRequestOptions,
|
|
371
|
-
};
|
|
372
|
-
},
|
|
373
|
-
/**
|
|
374
|
-
*
|
|
375
|
-
* @summary Get ArticleSource.
|
|
376
|
-
* @param {string} articleId
|
|
377
|
-
* @param {string} sourceId
|
|
378
|
-
* @param {*} [options] Override http request option.
|
|
379
|
-
* @throws {RequiredError}
|
|
380
|
-
*/
|
|
381
|
-
apiV2ArticlesArticleIdSourcesSourceIdGet: async (articleId: string, sourceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
382
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
383
|
-
assertParamExists('apiV2ArticlesArticleIdSourcesSourceIdGet', 'articleId', articleId)
|
|
384
|
-
// verify required parameter 'sourceId' is not null or undefined
|
|
385
|
-
assertParamExists('apiV2ArticlesArticleIdSourcesSourceIdGet', 'sourceId', sourceId)
|
|
386
|
-
const localVarPath = `/api/v2/articles/{articleId}/sources/{sourceId}`
|
|
387
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
388
|
-
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
|
|
389
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
390
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
391
|
-
let baseOptions;
|
|
392
|
-
if (configuration) {
|
|
393
|
-
baseOptions = configuration.baseOptions;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
397
|
-
const localVarHeaderParameter = {} as any;
|
|
398
|
-
const localVarQueryParameter = {} as any;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
403
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
405
|
-
|
|
406
|
-
return {
|
|
407
|
-
url: toPathString(localVarUrlObj),
|
|
408
|
-
options: localVarRequestOptions,
|
|
409
|
-
};
|
|
410
|
-
},
|
|
411
|
-
/**
|
|
412
|
-
*
|
|
413
|
-
* @summary GetAll ArticleTags.
|
|
414
|
-
* @param {string} articleId
|
|
415
|
-
* @param {string} [tagId]
|
|
416
|
-
* @param {number} [page]
|
|
417
|
-
* @param {number} [limit]
|
|
418
|
-
* @param {Date} [lastRetrieved]
|
|
419
|
-
* @param {*} [options] Override http request option.
|
|
420
|
-
* @throws {RequiredError}
|
|
421
|
-
*/
|
|
422
|
-
apiV2ArticlesArticleIdTagsGet: async (articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
423
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
424
|
-
assertParamExists('apiV2ArticlesArticleIdTagsGet', 'articleId', articleId)
|
|
425
|
-
const localVarPath = `/api/v2/articles/{articleId}/tags`
|
|
426
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)));
|
|
427
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
428
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
429
|
-
let baseOptions;
|
|
430
|
-
if (configuration) {
|
|
431
|
-
baseOptions = configuration.baseOptions;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
435
|
-
const localVarHeaderParameter = {} as any;
|
|
436
|
-
const localVarQueryParameter = {} as any;
|
|
437
|
-
|
|
438
|
-
if (tagId !== undefined) {
|
|
439
|
-
localVarQueryParameter['TagId'] = tagId;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
if (page !== undefined) {
|
|
443
|
-
localVarQueryParameter['page'] = page;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
if (limit !== undefined) {
|
|
447
|
-
localVarQueryParameter['limit'] = limit;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
if (lastRetrieved !== undefined) {
|
|
451
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
452
|
-
(lastRetrieved as any).toISOString() :
|
|
453
|
-
lastRetrieved;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
459
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
460
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
461
|
-
|
|
462
|
-
return {
|
|
463
|
-
url: toPathString(localVarUrlObj),
|
|
464
|
-
options: localVarRequestOptions,
|
|
465
|
-
};
|
|
466
|
-
},
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @summary Get ArticleTag.
|
|
470
|
-
* @param {string} articleId
|
|
471
|
-
* @param {string} tagId
|
|
472
|
-
* @param {*} [options] Override http request option.
|
|
473
|
-
* @throws {RequiredError}
|
|
474
|
-
*/
|
|
475
|
-
apiV2ArticlesArticleIdTagsTagIdGet: async (articleId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
476
|
-
// verify required parameter 'articleId' is not null or undefined
|
|
477
|
-
assertParamExists('apiV2ArticlesArticleIdTagsTagIdGet', 'articleId', articleId)
|
|
478
|
-
// verify required parameter 'tagId' is not null or undefined
|
|
479
|
-
assertParamExists('apiV2ArticlesArticleIdTagsTagIdGet', 'tagId', tagId)
|
|
480
|
-
const localVarPath = `/api/v2/articles/{articleId}/tags/{tagId}`
|
|
481
|
-
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
482
|
-
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
483
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
484
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
485
|
-
let baseOptions;
|
|
486
|
-
if (configuration) {
|
|
487
|
-
baseOptions = configuration.baseOptions;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
491
|
-
const localVarHeaderParameter = {} as any;
|
|
492
|
-
const localVarQueryParameter = {} as any;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
497
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
498
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
499
|
-
|
|
500
|
-
return {
|
|
501
|
-
url: toPathString(localVarUrlObj),
|
|
502
|
-
options: localVarRequestOptions,
|
|
503
|
-
};
|
|
504
|
-
},
|
|
505
|
-
/**
|
|
506
|
-
*
|
|
507
|
-
* @summary Get all Articles.
|
|
508
|
-
* @param {string} [id]
|
|
509
|
-
* @param {string} [name]
|
|
510
|
-
* @param {string} [description]
|
|
511
|
-
* @param {ArticleType} [articleType]
|
|
512
|
-
* @param {string} [userId]
|
|
513
|
-
* @param {string} [userName]
|
|
514
|
-
* @param {string} [hospitalId]
|
|
515
|
-
* @param {string} [hospitalName]
|
|
516
|
-
* @param {string} [countryId]
|
|
517
|
-
* @param {string} [tag]
|
|
518
|
-
* @param {string} [exceptArticleId]
|
|
519
|
-
* @param {string} [exceptHospitalId]
|
|
520
|
-
* @param {string} [contributorId]
|
|
521
|
-
* @param {string} [languageCode]
|
|
522
|
-
* @param {boolean} [showHidden]
|
|
523
|
-
* @param {boolean} [returnDefaultValue]
|
|
524
|
-
* @param {number} [page]
|
|
525
|
-
* @param {number} [limit]
|
|
526
|
-
* @param {Date} [lastRetrieved]
|
|
527
|
-
* @param {*} [options] Override http request option.
|
|
528
|
-
* @throws {RequiredError}
|
|
529
|
-
*/
|
|
530
|
-
apiV2ArticlesGet: async (id?: string, name?: string, description?: string, articleType?: ArticleType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
531
|
-
const localVarPath = `/api/v2/articles`;
|
|
532
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
533
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
534
|
-
let baseOptions;
|
|
535
|
-
if (configuration) {
|
|
536
|
-
baseOptions = configuration.baseOptions;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
540
|
-
const localVarHeaderParameter = {} as any;
|
|
541
|
-
const localVarQueryParameter = {} as any;
|
|
542
|
-
|
|
543
|
-
if (id !== undefined) {
|
|
544
|
-
localVarQueryParameter['Id'] = id;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
if (name !== undefined) {
|
|
548
|
-
localVarQueryParameter['Name'] = name;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
if (description !== undefined) {
|
|
552
|
-
localVarQueryParameter['Description'] = description;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
if (articleType !== undefined) {
|
|
556
|
-
localVarQueryParameter['ArticleType'] = articleType;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
if (userId !== undefined) {
|
|
560
|
-
localVarQueryParameter['UserId'] = userId;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
if (userName !== undefined) {
|
|
564
|
-
localVarQueryParameter['UserName'] = userName;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
if (hospitalId !== undefined) {
|
|
568
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
if (hospitalName !== undefined) {
|
|
572
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
if (countryId !== undefined) {
|
|
576
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
if (tag !== undefined) {
|
|
580
|
-
localVarQueryParameter['Tag'] = tag;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
if (exceptArticleId !== undefined) {
|
|
584
|
-
localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
if (exceptHospitalId !== undefined) {
|
|
588
|
-
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
if (contributorId !== undefined) {
|
|
592
|
-
localVarQueryParameter['ContributorId'] = contributorId;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
if (languageCode !== undefined) {
|
|
596
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
if (showHidden !== undefined) {
|
|
600
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
if (returnDefaultValue !== undefined) {
|
|
604
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (page !== undefined) {
|
|
608
|
-
localVarQueryParameter['page'] = page;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
if (limit !== undefined) {
|
|
612
|
-
localVarQueryParameter['limit'] = limit;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
if (lastRetrieved !== undefined) {
|
|
616
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
617
|
-
(lastRetrieved as any).toISOString() :
|
|
618
|
-
lastRetrieved;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
624
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
625
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
626
|
-
|
|
627
|
-
return {
|
|
628
|
-
url: toPathString(localVarUrlObj),
|
|
629
|
-
options: localVarRequestOptions,
|
|
630
|
-
};
|
|
631
|
-
},
|
|
632
|
-
/**
|
|
633
|
-
*
|
|
634
|
-
* @summary Get article by slug
|
|
635
|
-
* @param {string} slug
|
|
636
|
-
* @param {string} [languageCode]
|
|
637
|
-
* @param {boolean} [returnDefaultValue]
|
|
638
|
-
* @param {string} [previewSecret]
|
|
639
|
-
* @param {string} [hospitalId]
|
|
640
|
-
* @param {*} [options] Override http request option.
|
|
641
|
-
* @throws {RequiredError}
|
|
642
|
-
*/
|
|
643
|
-
apiV2ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
644
|
-
// verify required parameter 'slug' is not null or undefined
|
|
645
|
-
assertParamExists('apiV2ArticlesSlugGet', 'slug', slug)
|
|
646
|
-
const localVarPath = `/api/v2/articles/{slug}`
|
|
647
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
648
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
649
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
650
|
-
let baseOptions;
|
|
651
|
-
if (configuration) {
|
|
652
|
-
baseOptions = configuration.baseOptions;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
656
|
-
const localVarHeaderParameter = {} as any;
|
|
657
|
-
const localVarQueryParameter = {} as any;
|
|
658
|
-
|
|
659
|
-
if (languageCode !== undefined) {
|
|
660
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
if (returnDefaultValue !== undefined) {
|
|
664
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
if (previewSecret !== undefined) {
|
|
668
|
-
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
if (hospitalId !== undefined) {
|
|
672
|
-
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
678
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
680
|
-
|
|
681
|
-
return {
|
|
682
|
-
url: toPathString(localVarUrlObj),
|
|
683
|
-
options: localVarRequestOptions,
|
|
684
|
-
};
|
|
685
|
-
},
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* ArticlesApi - functional programming interface
|
|
691
|
-
* @export
|
|
692
|
-
*/
|
|
693
|
-
export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
694
|
-
const localVarAxiosParamCreator = ArticlesApiAxiosParamCreator(configuration)
|
|
695
|
-
return {
|
|
696
|
-
/**
|
|
697
|
-
*
|
|
698
|
-
* @summary Get ArticleContributor.
|
|
699
|
-
* @param {string} articleId
|
|
700
|
-
* @param {string} contributorId
|
|
701
|
-
* @param {*} [options] Override http request option.
|
|
702
|
-
* @throws {RequiredError}
|
|
703
|
-
*/
|
|
704
|
-
async apiV2ArticlesArticleIdContributorsContributorIdGet(articleId: string, contributorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorModel>> {
|
|
705
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsContributorIdGet(articleId, contributorId, options);
|
|
706
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
707
|
-
},
|
|
708
|
-
/**
|
|
709
|
-
*
|
|
710
|
-
* @summary GetAll ArticleContributors.
|
|
711
|
-
* @param {string} articleId
|
|
712
|
-
* @param {string} [articleName]
|
|
713
|
-
* @param {string} [contributorId]
|
|
714
|
-
* @param {string} [contributorName]
|
|
715
|
-
* @param {string} [email]
|
|
716
|
-
* @param {string} [website]
|
|
717
|
-
* @param {ContributionType} [contributionType]
|
|
718
|
-
* @param {string} [languageCode]
|
|
719
|
-
* @param {boolean} [showHidden]
|
|
720
|
-
* @param {number} [page]
|
|
721
|
-
* @param {number} [limit]
|
|
722
|
-
* @param {Date} [lastRetrieved]
|
|
723
|
-
* @param {*} [options] Override http request option.
|
|
724
|
-
* @throws {RequiredError}
|
|
725
|
-
*/
|
|
726
|
-
async apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
|
|
727
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
728
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
729
|
-
},
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @summary Get Article.
|
|
733
|
-
* @param {string} articleId
|
|
734
|
-
* @param {string} [languageCode]
|
|
735
|
-
* @param {*} [options] Override http request option.
|
|
736
|
-
* @throws {RequiredError}
|
|
737
|
-
*/
|
|
738
|
-
async apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
739
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options);
|
|
740
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
741
|
-
},
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @summary Get all ArticleMedias.
|
|
745
|
-
* @param {string} articleId
|
|
746
|
-
* @param {string} [id]
|
|
747
|
-
* @param {MediaType} [mediaType]
|
|
748
|
-
* @param {number} [page]
|
|
749
|
-
* @param {number} [limit]
|
|
750
|
-
* @param {Date} [lastRetrieved]
|
|
751
|
-
* @param {*} [options] Override http request option.
|
|
752
|
-
* @throws {RequiredError}
|
|
753
|
-
*/
|
|
754
|
-
async apiV2ArticlesArticleIdMediasGet(articleId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
755
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdMediasGet(articleId, id, mediaType, page, limit, lastRetrieved, options);
|
|
756
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
757
|
-
},
|
|
758
|
-
/**
|
|
759
|
-
*
|
|
760
|
-
* @summary Get ArticleMedia.
|
|
761
|
-
* @param {string} articleId
|
|
762
|
-
* @param {string} mediaId
|
|
763
|
-
* @param {*} [options] Override http request option.
|
|
764
|
-
* @throws {RequiredError}
|
|
765
|
-
*/
|
|
766
|
-
async apiV2ArticlesArticleIdMediasMediaIdGet(articleId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
767
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdMediasMediaIdGet(articleId, mediaId, options);
|
|
768
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
769
|
-
},
|
|
770
|
-
/**
|
|
771
|
-
*
|
|
772
|
-
* @summary Get all ArticleSource.
|
|
773
|
-
* @param {string} articleId
|
|
774
|
-
* @param {number} [page]
|
|
775
|
-
* @param {number} [limit]
|
|
776
|
-
* @param {Date} [lastRetrieved]
|
|
777
|
-
* @param {*} [options] Override http request option.
|
|
778
|
-
* @throws {RequiredError}
|
|
779
|
-
*/
|
|
780
|
-
async apiV2ArticlesArticleIdSourcesGet(articleId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleSourcesModel>> {
|
|
781
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdSourcesGet(articleId, page, limit, lastRetrieved, options);
|
|
782
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
783
|
-
},
|
|
784
|
-
/**
|
|
785
|
-
*
|
|
786
|
-
* @summary Get ArticleSource.
|
|
787
|
-
* @param {string} articleId
|
|
788
|
-
* @param {string} sourceId
|
|
789
|
-
* @param {*} [options] Override http request option.
|
|
790
|
-
* @throws {RequiredError}
|
|
791
|
-
*/
|
|
792
|
-
async apiV2ArticlesArticleIdSourcesSourceIdGet(articleId: string, sourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceModel>> {
|
|
793
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdSourcesSourceIdGet(articleId, sourceId, options);
|
|
794
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
795
|
-
},
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @summary GetAll ArticleTags.
|
|
799
|
-
* @param {string} articleId
|
|
800
|
-
* @param {string} [tagId]
|
|
801
|
-
* @param {number} [page]
|
|
802
|
-
* @param {number} [limit]
|
|
803
|
-
* @param {Date} [lastRetrieved]
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
async apiV2ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagsModel>> {
|
|
808
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options);
|
|
809
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
810
|
-
},
|
|
811
|
-
/**
|
|
812
|
-
*
|
|
813
|
-
* @summary Get ArticleTag.
|
|
814
|
-
* @param {string} articleId
|
|
815
|
-
* @param {string} tagId
|
|
816
|
-
* @param {*} [options] Override http request option.
|
|
817
|
-
* @throws {RequiredError}
|
|
818
|
-
*/
|
|
819
|
-
async apiV2ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
|
|
820
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesArticleIdTagsTagIdGet(articleId, tagId, options);
|
|
821
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
822
|
-
},
|
|
823
|
-
/**
|
|
824
|
-
*
|
|
825
|
-
* @summary Get all Articles.
|
|
826
|
-
* @param {string} [id]
|
|
827
|
-
* @param {string} [name]
|
|
828
|
-
* @param {string} [description]
|
|
829
|
-
* @param {ArticleType} [articleType]
|
|
830
|
-
* @param {string} [userId]
|
|
831
|
-
* @param {string} [userName]
|
|
832
|
-
* @param {string} [hospitalId]
|
|
833
|
-
* @param {string} [hospitalName]
|
|
834
|
-
* @param {string} [countryId]
|
|
835
|
-
* @param {string} [tag]
|
|
836
|
-
* @param {string} [exceptArticleId]
|
|
837
|
-
* @param {string} [exceptHospitalId]
|
|
838
|
-
* @param {string} [contributorId]
|
|
839
|
-
* @param {string} [languageCode]
|
|
840
|
-
* @param {boolean} [showHidden]
|
|
841
|
-
* @param {boolean} [returnDefaultValue]
|
|
842
|
-
* @param {number} [page]
|
|
843
|
-
* @param {number} [limit]
|
|
844
|
-
* @param {Date} [lastRetrieved]
|
|
845
|
-
* @param {*} [options] Override http request option.
|
|
846
|
-
* @throws {RequiredError}
|
|
847
|
-
*/
|
|
848
|
-
async apiV2ArticlesGet(id?: string, name?: string, description?: string, articleType?: ArticleType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
849
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, articleType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
850
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
851
|
-
},
|
|
852
|
-
/**
|
|
853
|
-
*
|
|
854
|
-
* @summary Get article by slug
|
|
855
|
-
* @param {string} slug
|
|
856
|
-
* @param {string} [languageCode]
|
|
857
|
-
* @param {boolean} [returnDefaultValue]
|
|
858
|
-
* @param {string} [previewSecret]
|
|
859
|
-
* @param {string} [hospitalId]
|
|
860
|
-
* @param {*} [options] Override http request option.
|
|
861
|
-
* @throws {RequiredError}
|
|
862
|
-
*/
|
|
863
|
-
async apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, hospitalId, options);
|
|
865
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
866
|
-
},
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* ArticlesApi - factory interface
|
|
872
|
-
* @export
|
|
873
|
-
*/
|
|
874
|
-
export const ArticlesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
875
|
-
const localVarFp = ArticlesApiFp(configuration)
|
|
876
|
-
return {
|
|
877
|
-
/**
|
|
878
|
-
*
|
|
879
|
-
* @summary Get ArticleContributor.
|
|
880
|
-
* @param {string} articleId
|
|
881
|
-
* @param {string} contributorId
|
|
882
|
-
* @param {*} [options] Override http request option.
|
|
883
|
-
* @throws {RequiredError}
|
|
884
|
-
*/
|
|
885
|
-
apiV2ArticlesArticleIdContributorsContributorIdGet(articleId: string, contributorId: string, options?: any): AxiosPromise<ArticleContributorModel> {
|
|
886
|
-
return localVarFp.apiV2ArticlesArticleIdContributorsContributorIdGet(articleId, contributorId, options).then((request) => request(axios, basePath));
|
|
887
|
-
},
|
|
888
|
-
/**
|
|
889
|
-
*
|
|
890
|
-
* @summary GetAll ArticleContributors.
|
|
891
|
-
* @param {string} articleId
|
|
892
|
-
* @param {string} [articleName]
|
|
893
|
-
* @param {string} [contributorId]
|
|
894
|
-
* @param {string} [contributorName]
|
|
895
|
-
* @param {string} [email]
|
|
896
|
-
* @param {string} [website]
|
|
897
|
-
* @param {ContributionType} [contributionType]
|
|
898
|
-
* @param {string} [languageCode]
|
|
899
|
-
* @param {boolean} [showHidden]
|
|
900
|
-
* @param {number} [page]
|
|
901
|
-
* @param {number} [limit]
|
|
902
|
-
* @param {Date} [lastRetrieved]
|
|
903
|
-
* @param {*} [options] Override http request option.
|
|
904
|
-
* @throws {RequiredError}
|
|
905
|
-
*/
|
|
906
|
-
apiV2ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, website?: string, contributionType?: ContributionType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
|
|
907
|
-
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
908
|
-
},
|
|
909
|
-
/**
|
|
910
|
-
*
|
|
911
|
-
* @summary Get Article.
|
|
912
|
-
* @param {string} articleId
|
|
913
|
-
* @param {string} [languageCode]
|
|
914
|
-
* @param {*} [options] Override http request option.
|
|
915
|
-
* @throws {RequiredError}
|
|
916
|
-
*/
|
|
917
|
-
apiV2ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
918
|
-
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
|
|
919
|
-
},
|
|
920
|
-
/**
|
|
921
|
-
*
|
|
922
|
-
* @summary Get all ArticleMedias.
|
|
923
|
-
* @param {string} articleId
|
|
924
|
-
* @param {string} [id]
|
|
925
|
-
* @param {MediaType} [mediaType]
|
|
926
|
-
* @param {number} [page]
|
|
927
|
-
* @param {number} [limit]
|
|
928
|
-
* @param {Date} [lastRetrieved]
|
|
929
|
-
* @param {*} [options] Override http request option.
|
|
930
|
-
* @throws {RequiredError}
|
|
931
|
-
*/
|
|
932
|
-
apiV2ArticlesArticleIdMediasGet(articleId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
933
|
-
return localVarFp.apiV2ArticlesArticleIdMediasGet(articleId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
934
|
-
},
|
|
935
|
-
/**
|
|
936
|
-
*
|
|
937
|
-
* @summary Get ArticleMedia.
|
|
938
|
-
* @param {string} articleId
|
|
939
|
-
* @param {string} mediaId
|
|
940
|
-
* @param {*} [options] Override http request option.
|
|
941
|
-
* @throws {RequiredError}
|
|
942
|
-
*/
|
|
943
|
-
apiV2ArticlesArticleIdMediasMediaIdGet(articleId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
944
|
-
return localVarFp.apiV2ArticlesArticleIdMediasMediaIdGet(articleId, mediaId, options).then((request) => request(axios, basePath));
|
|
945
|
-
},
|
|
946
|
-
/**
|
|
947
|
-
*
|
|
948
|
-
* @summary Get all ArticleSource.
|
|
949
|
-
* @param {string} articleId
|
|
950
|
-
* @param {number} [page]
|
|
951
|
-
* @param {number} [limit]
|
|
952
|
-
* @param {Date} [lastRetrieved]
|
|
953
|
-
* @param {*} [options] Override http request option.
|
|
954
|
-
* @throws {RequiredError}
|
|
955
|
-
*/
|
|
956
|
-
apiV2ArticlesArticleIdSourcesGet(articleId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleSourcesModel> {
|
|
957
|
-
return localVarFp.apiV2ArticlesArticleIdSourcesGet(articleId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
958
|
-
},
|
|
959
|
-
/**
|
|
960
|
-
*
|
|
961
|
-
* @summary Get ArticleSource.
|
|
962
|
-
* @param {string} articleId
|
|
963
|
-
* @param {string} sourceId
|
|
964
|
-
* @param {*} [options] Override http request option.
|
|
965
|
-
* @throws {RequiredError}
|
|
966
|
-
*/
|
|
967
|
-
apiV2ArticlesArticleIdSourcesSourceIdGet(articleId: string, sourceId: string, options?: any): AxiosPromise<SourceModel> {
|
|
968
|
-
return localVarFp.apiV2ArticlesArticleIdSourcesSourceIdGet(articleId, sourceId, options).then((request) => request(axios, basePath));
|
|
969
|
-
},
|
|
970
|
-
/**
|
|
971
|
-
*
|
|
972
|
-
* @summary GetAll ArticleTags.
|
|
973
|
-
* @param {string} articleId
|
|
974
|
-
* @param {string} [tagId]
|
|
975
|
-
* @param {number} [page]
|
|
976
|
-
* @param {number} [limit]
|
|
977
|
-
* @param {Date} [lastRetrieved]
|
|
978
|
-
* @param {*} [options] Override http request option.
|
|
979
|
-
* @throws {RequiredError}
|
|
980
|
-
*/
|
|
981
|
-
apiV2ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleTagsModel> {
|
|
982
|
-
return localVarFp.apiV2ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
983
|
-
},
|
|
984
|
-
/**
|
|
985
|
-
*
|
|
986
|
-
* @summary Get ArticleTag.
|
|
987
|
-
* @param {string} articleId
|
|
988
|
-
* @param {string} tagId
|
|
989
|
-
* @param {*} [options] Override http request option.
|
|
990
|
-
* @throws {RequiredError}
|
|
991
|
-
*/
|
|
992
|
-
apiV2ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: any): AxiosPromise<ArticleTagModel> {
|
|
993
|
-
return localVarFp.apiV2ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(axios, basePath));
|
|
994
|
-
},
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @summary Get all Articles.
|
|
998
|
-
* @param {string} [id]
|
|
999
|
-
* @param {string} [name]
|
|
1000
|
-
* @param {string} [description]
|
|
1001
|
-
* @param {ArticleType} [articleType]
|
|
1002
|
-
* @param {string} [userId]
|
|
1003
|
-
* @param {string} [userName]
|
|
1004
|
-
* @param {string} [hospitalId]
|
|
1005
|
-
* @param {string} [hospitalName]
|
|
1006
|
-
* @param {string} [countryId]
|
|
1007
|
-
* @param {string} [tag]
|
|
1008
|
-
* @param {string} [exceptArticleId]
|
|
1009
|
-
* @param {string} [exceptHospitalId]
|
|
1010
|
-
* @param {string} [contributorId]
|
|
1011
|
-
* @param {string} [languageCode]
|
|
1012
|
-
* @param {boolean} [showHidden]
|
|
1013
|
-
* @param {boolean} [returnDefaultValue]
|
|
1014
|
-
* @param {number} [page]
|
|
1015
|
-
* @param {number} [limit]
|
|
1016
|
-
* @param {Date} [lastRetrieved]
|
|
1017
|
-
* @param {*} [options] Override http request option.
|
|
1018
|
-
* @throws {RequiredError}
|
|
1019
|
-
*/
|
|
1020
|
-
apiV2ArticlesGet(id?: string, name?: string, description?: string, articleType?: ArticleType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
1021
|
-
return localVarFp.apiV2ArticlesGet(id, name, description, articleType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1022
|
-
},
|
|
1023
|
-
/**
|
|
1024
|
-
*
|
|
1025
|
-
* @summary Get article by slug
|
|
1026
|
-
* @param {string} slug
|
|
1027
|
-
* @param {string} [languageCode]
|
|
1028
|
-
* @param {boolean} [returnDefaultValue]
|
|
1029
|
-
* @param {string} [previewSecret]
|
|
1030
|
-
* @param {string} [hospitalId]
|
|
1031
|
-
* @param {*} [options] Override http request option.
|
|
1032
|
-
* @throws {RequiredError}
|
|
1033
|
-
*/
|
|
1034
|
-
apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
1035
|
-
return localVarFp.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, hospitalId, options).then((request) => request(axios, basePath));
|
|
1036
|
-
},
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* Request parameters for apiV2ArticlesArticleIdContributorsContributorIdGet operation in ArticlesApi.
|
|
1042
|
-
* @export
|
|
1043
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGetRequest
|
|
1044
|
-
*/
|
|
1045
|
-
export interface ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGetRequest {
|
|
1046
|
-
/**
|
|
1047
|
-
*
|
|
1048
|
-
* @type {string}
|
|
1049
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGet
|
|
1050
|
-
*/
|
|
1051
|
-
readonly articleId: string
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
*
|
|
1055
|
-
* @type {string}
|
|
1056
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGet
|
|
1057
|
-
*/
|
|
1058
|
-
readonly contributorId: string
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Request parameters for apiV2ArticlesArticleIdContributorsGet operation in ArticlesApi.
|
|
1063
|
-
* @export
|
|
1064
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdContributorsGetRequest
|
|
1065
|
-
*/
|
|
1066
|
-
export interface ArticlesApiApiV2ArticlesArticleIdContributorsGetRequest {
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @type {string}
|
|
1070
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1071
|
-
*/
|
|
1072
|
-
readonly articleId: string
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
*
|
|
1076
|
-
* @type {string}
|
|
1077
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1078
|
-
*/
|
|
1079
|
-
readonly articleName?: string
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @type {string}
|
|
1084
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1085
|
-
*/
|
|
1086
|
-
readonly contributorId?: string
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
*
|
|
1090
|
-
* @type {string}
|
|
1091
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1092
|
-
*/
|
|
1093
|
-
readonly contributorName?: string
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
*
|
|
1097
|
-
* @type {string}
|
|
1098
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1099
|
-
*/
|
|
1100
|
-
readonly email?: string
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @type {string}
|
|
1105
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1106
|
-
*/
|
|
1107
|
-
readonly website?: string
|
|
1108
|
-
|
|
1109
|
-
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @type {ContributionType}
|
|
1112
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1113
|
-
*/
|
|
1114
|
-
readonly contributionType?: ContributionType
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
*
|
|
1118
|
-
* @type {string}
|
|
1119
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1120
|
-
*/
|
|
1121
|
-
readonly languageCode?: string
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
*
|
|
1125
|
-
* @type {boolean}
|
|
1126
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1127
|
-
*/
|
|
1128
|
-
readonly showHidden?: boolean
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
*
|
|
1132
|
-
* @type {number}
|
|
1133
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1134
|
-
*/
|
|
1135
|
-
readonly page?: number
|
|
1136
|
-
|
|
1137
|
-
/**
|
|
1138
|
-
*
|
|
1139
|
-
* @type {number}
|
|
1140
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1141
|
-
*/
|
|
1142
|
-
readonly limit?: number
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
*
|
|
1146
|
-
* @type {Date}
|
|
1147
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdContributorsGet
|
|
1148
|
-
*/
|
|
1149
|
-
readonly lastRetrieved?: Date
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* Request parameters for apiV2ArticlesArticleIdGet operation in ArticlesApi.
|
|
1154
|
-
* @export
|
|
1155
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdGetRequest
|
|
1156
|
-
*/
|
|
1157
|
-
export interface ArticlesApiApiV2ArticlesArticleIdGetRequest {
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @type {string}
|
|
1161
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdGet
|
|
1162
|
-
*/
|
|
1163
|
-
readonly articleId: string
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
*
|
|
1167
|
-
* @type {string}
|
|
1168
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdGet
|
|
1169
|
-
*/
|
|
1170
|
-
readonly languageCode?: string
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* Request parameters for apiV2ArticlesArticleIdMediasGet operation in ArticlesApi.
|
|
1175
|
-
* @export
|
|
1176
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdMediasGetRequest
|
|
1177
|
-
*/
|
|
1178
|
-
export interface ArticlesApiApiV2ArticlesArticleIdMediasGetRequest {
|
|
1179
|
-
/**
|
|
1180
|
-
*
|
|
1181
|
-
* @type {string}
|
|
1182
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1183
|
-
*/
|
|
1184
|
-
readonly articleId: string
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
*
|
|
1188
|
-
* @type {string}
|
|
1189
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1190
|
-
*/
|
|
1191
|
-
readonly id?: string
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
*
|
|
1195
|
-
* @type {MediaType}
|
|
1196
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1197
|
-
*/
|
|
1198
|
-
readonly mediaType?: MediaType
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
*
|
|
1202
|
-
* @type {number}
|
|
1203
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1204
|
-
*/
|
|
1205
|
-
readonly page?: number
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
*
|
|
1209
|
-
* @type {number}
|
|
1210
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1211
|
-
*/
|
|
1212
|
-
readonly limit?: number
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @type {Date}
|
|
1217
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasGet
|
|
1218
|
-
*/
|
|
1219
|
-
readonly lastRetrieved?: Date
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* Request parameters for apiV2ArticlesArticleIdMediasMediaIdGet operation in ArticlesApi.
|
|
1224
|
-
* @export
|
|
1225
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGetRequest
|
|
1226
|
-
*/
|
|
1227
|
-
export interface ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGetRequest {
|
|
1228
|
-
/**
|
|
1229
|
-
*
|
|
1230
|
-
* @type {string}
|
|
1231
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGet
|
|
1232
|
-
*/
|
|
1233
|
-
readonly articleId: string
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
*
|
|
1237
|
-
* @type {string}
|
|
1238
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGet
|
|
1239
|
-
*/
|
|
1240
|
-
readonly mediaId: string
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Request parameters for apiV2ArticlesArticleIdSourcesGet operation in ArticlesApi.
|
|
1245
|
-
* @export
|
|
1246
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdSourcesGetRequest
|
|
1247
|
-
*/
|
|
1248
|
-
export interface ArticlesApiApiV2ArticlesArticleIdSourcesGetRequest {
|
|
1249
|
-
/**
|
|
1250
|
-
*
|
|
1251
|
-
* @type {string}
|
|
1252
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesGet
|
|
1253
|
-
*/
|
|
1254
|
-
readonly articleId: string
|
|
1255
|
-
|
|
1256
|
-
/**
|
|
1257
|
-
*
|
|
1258
|
-
* @type {number}
|
|
1259
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesGet
|
|
1260
|
-
*/
|
|
1261
|
-
readonly page?: number
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
*
|
|
1265
|
-
* @type {number}
|
|
1266
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesGet
|
|
1267
|
-
*/
|
|
1268
|
-
readonly limit?: number
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
*
|
|
1272
|
-
* @type {Date}
|
|
1273
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesGet
|
|
1274
|
-
*/
|
|
1275
|
-
readonly lastRetrieved?: Date
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* Request parameters for apiV2ArticlesArticleIdSourcesSourceIdGet operation in ArticlesApi.
|
|
1280
|
-
* @export
|
|
1281
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGetRequest
|
|
1282
|
-
*/
|
|
1283
|
-
export interface ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGetRequest {
|
|
1284
|
-
/**
|
|
1285
|
-
*
|
|
1286
|
-
* @type {string}
|
|
1287
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGet
|
|
1288
|
-
*/
|
|
1289
|
-
readonly articleId: string
|
|
1290
|
-
|
|
1291
|
-
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @type {string}
|
|
1294
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGet
|
|
1295
|
-
*/
|
|
1296
|
-
readonly sourceId: string
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* Request parameters for apiV2ArticlesArticleIdTagsGet operation in ArticlesApi.
|
|
1301
|
-
* @export
|
|
1302
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdTagsGetRequest
|
|
1303
|
-
*/
|
|
1304
|
-
export interface ArticlesApiApiV2ArticlesArticleIdTagsGetRequest {
|
|
1305
|
-
/**
|
|
1306
|
-
*
|
|
1307
|
-
* @type {string}
|
|
1308
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsGet
|
|
1309
|
-
*/
|
|
1310
|
-
readonly articleId: string
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
*
|
|
1314
|
-
* @type {string}
|
|
1315
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsGet
|
|
1316
|
-
*/
|
|
1317
|
-
readonly tagId?: string
|
|
1318
|
-
|
|
1319
|
-
/**
|
|
1320
|
-
*
|
|
1321
|
-
* @type {number}
|
|
1322
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsGet
|
|
1323
|
-
*/
|
|
1324
|
-
readonly page?: number
|
|
1325
|
-
|
|
1326
|
-
/**
|
|
1327
|
-
*
|
|
1328
|
-
* @type {number}
|
|
1329
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsGet
|
|
1330
|
-
*/
|
|
1331
|
-
readonly limit?: number
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
*
|
|
1335
|
-
* @type {Date}
|
|
1336
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsGet
|
|
1337
|
-
*/
|
|
1338
|
-
readonly lastRetrieved?: Date
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* Request parameters for apiV2ArticlesArticleIdTagsTagIdGet operation in ArticlesApi.
|
|
1343
|
-
* @export
|
|
1344
|
-
* @interface ArticlesApiApiV2ArticlesArticleIdTagsTagIdGetRequest
|
|
1345
|
-
*/
|
|
1346
|
-
export interface ArticlesApiApiV2ArticlesArticleIdTagsTagIdGetRequest {
|
|
1347
|
-
/**
|
|
1348
|
-
*
|
|
1349
|
-
* @type {string}
|
|
1350
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsTagIdGet
|
|
1351
|
-
*/
|
|
1352
|
-
readonly articleId: string
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
*
|
|
1356
|
-
* @type {string}
|
|
1357
|
-
* @memberof ArticlesApiApiV2ArticlesArticleIdTagsTagIdGet
|
|
1358
|
-
*/
|
|
1359
|
-
readonly tagId: string
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
/**
|
|
1363
|
-
* Request parameters for apiV2ArticlesGet operation in ArticlesApi.
|
|
1364
|
-
* @export
|
|
1365
|
-
* @interface ArticlesApiApiV2ArticlesGetRequest
|
|
1366
|
-
*/
|
|
1367
|
-
export interface ArticlesApiApiV2ArticlesGetRequest {
|
|
1368
|
-
/**
|
|
1369
|
-
*
|
|
1370
|
-
* @type {string}
|
|
1371
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1372
|
-
*/
|
|
1373
|
-
readonly id?: string
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
*
|
|
1377
|
-
* @type {string}
|
|
1378
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1379
|
-
*/
|
|
1380
|
-
readonly name?: string
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
*
|
|
1384
|
-
* @type {string}
|
|
1385
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1386
|
-
*/
|
|
1387
|
-
readonly description?: string
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
*
|
|
1391
|
-
* @type {ArticleType}
|
|
1392
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1393
|
-
*/
|
|
1394
|
-
readonly articleType?: ArticleType
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
*
|
|
1398
|
-
* @type {string}
|
|
1399
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1400
|
-
*/
|
|
1401
|
-
readonly userId?: string
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
*
|
|
1405
|
-
* @type {string}
|
|
1406
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1407
|
-
*/
|
|
1408
|
-
readonly userName?: string
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
*
|
|
1412
|
-
* @type {string}
|
|
1413
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1414
|
-
*/
|
|
1415
|
-
readonly hospitalId?: string
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
*
|
|
1419
|
-
* @type {string}
|
|
1420
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1421
|
-
*/
|
|
1422
|
-
readonly hospitalName?: string
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
*
|
|
1426
|
-
* @type {string}
|
|
1427
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1428
|
-
*/
|
|
1429
|
-
readonly countryId?: string
|
|
1430
|
-
|
|
1431
|
-
/**
|
|
1432
|
-
*
|
|
1433
|
-
* @type {string}
|
|
1434
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1435
|
-
*/
|
|
1436
|
-
readonly tag?: string
|
|
1437
|
-
|
|
1438
|
-
/**
|
|
1439
|
-
*
|
|
1440
|
-
* @type {string}
|
|
1441
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1442
|
-
*/
|
|
1443
|
-
readonly exceptArticleId?: string
|
|
1444
|
-
|
|
1445
|
-
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @type {string}
|
|
1448
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1449
|
-
*/
|
|
1450
|
-
readonly exceptHospitalId?: string
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
*
|
|
1454
|
-
* @type {string}
|
|
1455
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1456
|
-
*/
|
|
1457
|
-
readonly contributorId?: string
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @type {string}
|
|
1462
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1463
|
-
*/
|
|
1464
|
-
readonly languageCode?: string
|
|
1465
|
-
|
|
1466
|
-
/**
|
|
1467
|
-
*
|
|
1468
|
-
* @type {boolean}
|
|
1469
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1470
|
-
*/
|
|
1471
|
-
readonly showHidden?: boolean
|
|
1472
|
-
|
|
1473
|
-
/**
|
|
1474
|
-
*
|
|
1475
|
-
* @type {boolean}
|
|
1476
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1477
|
-
*/
|
|
1478
|
-
readonly returnDefaultValue?: boolean
|
|
1479
|
-
|
|
1480
|
-
/**
|
|
1481
|
-
*
|
|
1482
|
-
* @type {number}
|
|
1483
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1484
|
-
*/
|
|
1485
|
-
readonly page?: number
|
|
1486
|
-
|
|
1487
|
-
/**
|
|
1488
|
-
*
|
|
1489
|
-
* @type {number}
|
|
1490
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1491
|
-
*/
|
|
1492
|
-
readonly limit?: number
|
|
1493
|
-
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
* @type {Date}
|
|
1497
|
-
* @memberof ArticlesApiApiV2ArticlesGet
|
|
1498
|
-
*/
|
|
1499
|
-
readonly lastRetrieved?: Date
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Request parameters for apiV2ArticlesSlugGet operation in ArticlesApi.
|
|
1504
|
-
* @export
|
|
1505
|
-
* @interface ArticlesApiApiV2ArticlesSlugGetRequest
|
|
1506
|
-
*/
|
|
1507
|
-
export interface ArticlesApiApiV2ArticlesSlugGetRequest {
|
|
1508
|
-
/**
|
|
1509
|
-
*
|
|
1510
|
-
* @type {string}
|
|
1511
|
-
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1512
|
-
*/
|
|
1513
|
-
readonly slug: string
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
*
|
|
1517
|
-
* @type {string}
|
|
1518
|
-
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1519
|
-
*/
|
|
1520
|
-
readonly languageCode?: string
|
|
1521
|
-
|
|
1522
|
-
/**
|
|
1523
|
-
*
|
|
1524
|
-
* @type {boolean}
|
|
1525
|
-
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1526
|
-
*/
|
|
1527
|
-
readonly returnDefaultValue?: boolean
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
*
|
|
1531
|
-
* @type {string}
|
|
1532
|
-
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1533
|
-
*/
|
|
1534
|
-
readonly previewSecret?: string
|
|
1535
|
-
|
|
1536
|
-
/**
|
|
1537
|
-
*
|
|
1538
|
-
* @type {string}
|
|
1539
|
-
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1540
|
-
*/
|
|
1541
|
-
readonly hospitalId?: string
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
/**
|
|
1545
|
-
* ArticlesApi - object-oriented interface
|
|
1546
|
-
* @export
|
|
1547
|
-
* @class ArticlesApi
|
|
1548
|
-
* @extends {BaseAPI}
|
|
1549
|
-
*/
|
|
1550
|
-
export class ArticlesApi extends BaseAPI {
|
|
1551
|
-
/**
|
|
1552
|
-
*
|
|
1553
|
-
* @summary Get ArticleContributor.
|
|
1554
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGetRequest} requestParameters Request parameters.
|
|
1555
|
-
* @param {*} [options] Override http request option.
|
|
1556
|
-
* @throws {RequiredError}
|
|
1557
|
-
* @memberof ArticlesApi
|
|
1558
|
-
*/
|
|
1559
|
-
public apiV2ArticlesArticleIdContributorsContributorIdGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdContributorsContributorIdGetRequest, options?: AxiosRequestConfig) {
|
|
1560
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdContributorsContributorIdGet(requestParameters.articleId, requestParameters.contributorId, options).then((request) => request(this.axios, this.basePath));
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
*
|
|
1565
|
-
* @summary GetAll ArticleContributors.
|
|
1566
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdContributorsGetRequest} requestParameters Request parameters.
|
|
1567
|
-
* @param {*} [options] Override http request option.
|
|
1568
|
-
* @throws {RequiredError}
|
|
1569
|
-
* @memberof ArticlesApi
|
|
1570
|
-
*/
|
|
1571
|
-
public apiV2ArticlesArticleIdContributorsGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdContributorsGetRequest, options?: AxiosRequestConfig) {
|
|
1572
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdContributorsGet(requestParameters.articleId, requestParameters.articleName, requestParameters.contributorId, requestParameters.contributorName, requestParameters.email, requestParameters.website, requestParameters.contributionType, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @summary Get Article.
|
|
1578
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdGetRequest} requestParameters Request parameters.
|
|
1579
|
-
* @param {*} [options] Override http request option.
|
|
1580
|
-
* @throws {RequiredError}
|
|
1581
|
-
* @memberof ArticlesApi
|
|
1582
|
-
*/
|
|
1583
|
-
public apiV2ArticlesArticleIdGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdGetRequest, options?: AxiosRequestConfig) {
|
|
1584
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdGet(requestParameters.articleId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
*
|
|
1589
|
-
* @summary Get all ArticleMedias.
|
|
1590
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdMediasGetRequest} requestParameters Request parameters.
|
|
1591
|
-
* @param {*} [options] Override http request option.
|
|
1592
|
-
* @throws {RequiredError}
|
|
1593
|
-
* @memberof ArticlesApi
|
|
1594
|
-
*/
|
|
1595
|
-
public apiV2ArticlesArticleIdMediasGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdMediasGetRequest, options?: AxiosRequestConfig) {
|
|
1596
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdMediasGet(requestParameters.articleId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
*
|
|
1601
|
-
* @summary Get ArticleMedia.
|
|
1602
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGetRequest} requestParameters Request parameters.
|
|
1603
|
-
* @param {*} [options] Override http request option.
|
|
1604
|
-
* @throws {RequiredError}
|
|
1605
|
-
* @memberof ArticlesApi
|
|
1606
|
-
*/
|
|
1607
|
-
public apiV2ArticlesArticleIdMediasMediaIdGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
|
|
1608
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdMediasMediaIdGet(requestParameters.articleId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
*
|
|
1613
|
-
* @summary Get all ArticleSource.
|
|
1614
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdSourcesGetRequest} requestParameters Request parameters.
|
|
1615
|
-
* @param {*} [options] Override http request option.
|
|
1616
|
-
* @throws {RequiredError}
|
|
1617
|
-
* @memberof ArticlesApi
|
|
1618
|
-
*/
|
|
1619
|
-
public apiV2ArticlesArticleIdSourcesGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdSourcesGetRequest, options?: AxiosRequestConfig) {
|
|
1620
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdSourcesGet(requestParameters.articleId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1624
|
-
*
|
|
1625
|
-
* @summary Get ArticleSource.
|
|
1626
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGetRequest} requestParameters Request parameters.
|
|
1627
|
-
* @param {*} [options] Override http request option.
|
|
1628
|
-
* @throws {RequiredError}
|
|
1629
|
-
* @memberof ArticlesApi
|
|
1630
|
-
*/
|
|
1631
|
-
public apiV2ArticlesArticleIdSourcesSourceIdGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdSourcesSourceIdGetRequest, options?: AxiosRequestConfig) {
|
|
1632
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdSourcesSourceIdGet(requestParameters.articleId, requestParameters.sourceId, options).then((request) => request(this.axios, this.basePath));
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
*
|
|
1637
|
-
* @summary GetAll ArticleTags.
|
|
1638
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdTagsGetRequest} requestParameters Request parameters.
|
|
1639
|
-
* @param {*} [options] Override http request option.
|
|
1640
|
-
* @throws {RequiredError}
|
|
1641
|
-
* @memberof ArticlesApi
|
|
1642
|
-
*/
|
|
1643
|
-
public apiV2ArticlesArticleIdTagsGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdTagsGetRequest, options?: AxiosRequestConfig) {
|
|
1644
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdTagsGet(requestParameters.articleId, requestParameters.tagId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
*
|
|
1649
|
-
* @summary Get ArticleTag.
|
|
1650
|
-
* @param {ArticlesApiApiV2ArticlesArticleIdTagsTagIdGetRequest} requestParameters Request parameters.
|
|
1651
|
-
* @param {*} [options] Override http request option.
|
|
1652
|
-
* @throws {RequiredError}
|
|
1653
|
-
* @memberof ArticlesApi
|
|
1654
|
-
*/
|
|
1655
|
-
public apiV2ArticlesArticleIdTagsTagIdGet(requestParameters: ArticlesApiApiV2ArticlesArticleIdTagsTagIdGetRequest, options?: AxiosRequestConfig) {
|
|
1656
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesArticleIdTagsTagIdGet(requestParameters.articleId, requestParameters.tagId, options).then((request) => request(this.axios, this.basePath));
|
|
1657
|
-
}
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @summary Get all Articles.
|
|
1662
|
-
* @param {ArticlesApiApiV2ArticlesGetRequest} requestParameters Request parameters.
|
|
1663
|
-
* @param {*} [options] Override http request option.
|
|
1664
|
-
* @throws {RequiredError}
|
|
1665
|
-
* @memberof ArticlesApi
|
|
1666
|
-
*/
|
|
1667
|
-
public apiV2ArticlesGet(requestParameters: ArticlesApiApiV2ArticlesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
1668
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesGet(requestParameters.id, requestParameters.name, requestParameters.description, requestParameters.articleType, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.countryId, requestParameters.tag, requestParameters.exceptArticleId, requestParameters.exceptHospitalId, requestParameters.contributorId, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
*
|
|
1673
|
-
* @summary Get article by slug
|
|
1674
|
-
* @param {ArticlesApiApiV2ArticlesSlugGetRequest} requestParameters Request parameters.
|
|
1675
|
-
* @param {*} [options] Override http request option.
|
|
1676
|
-
* @throws {RequiredError}
|
|
1677
|
-
* @memberof ArticlesApi
|
|
1678
|
-
*/
|
|
1679
|
-
public apiV2ArticlesSlugGet(requestParameters: ArticlesApiApiV2ArticlesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1680
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
1681
|
-
}
|
|
1682
|
-
}
|