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