ch-admin-api-client-typescript 4.9.6 → 4.9.8
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 +186 -28
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +20 -34
- package/lib/api/accreditations-api.d.ts +111 -16
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +17 -21
- package/lib/api/app-version-api.d.ts +117 -17
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +17 -22
- package/lib/api/appointments-api.d.ts +279 -43
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +22 -50
- package/lib/api/articles-api.d.ts +759 -114
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +77 -139
- package/lib/api/bookings-api.d.ts +231 -35
- package/lib/api/bookings-api.d.ts.map +1 -1
- package/lib/api/bookings-api.js +22 -42
- package/lib/api/chadmins-api.d.ts +141 -21
- package/lib/api/chadmins-api.d.ts.map +1 -1
- package/lib/api/chadmins-api.js +17 -26
- package/lib/api/chat-users-api.d.ts +138 -20
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +20 -26
- package/lib/api/chmanagers-api.d.ts +141 -21
- package/lib/api/chmanagers-api.d.ts.map +1 -1
- package/lib/api/chmanagers-api.js +17 -26
- package/lib/api/consultations-api.d.ts +243 -37
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +22 -44
- package/lib/api/contributors-api.d.ts +339 -51
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +35 -62
- package/lib/api/countries-api.d.ts +326 -50
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +38 -60
- package/lib/api/dash-board-api.d.ts +15 -2
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +3 -3
- package/lib/api/deals-api.d.ts +1005 -155
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +78 -180
- package/lib/api/doctor-affiliations-api.d.ts +488 -86
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +50 -87
- package/lib/api/doctors-api.d.ts +1165 -194
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +118 -213
- package/lib/api/email-marketings-api.d.ts +114 -16
- package/lib/api/email-marketings-api.d.ts.map +1 -1
- package/lib/api/email-marketings-api.js +20 -22
- package/lib/api/faq-categories-api.d.ts +186 -28
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +20 -34
- package/lib/api/faqs-api.d.ts +429 -64
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +47 -79
- package/lib/api/group-channels-api.d.ts +54 -8
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +7 -10
- package/lib/api/header-navigations-api.d.ts +99 -14
- package/lib/api/header-navigations-api.d.ts.map +1 -1
- package/lib/api/header-navigations-api.js +15 -19
- package/lib/api/hospitals-api.d.ts +3099 -477
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +270 -560
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +120 -18
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetable-overrides-api.js +12 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts +150 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetables-api.js +18 -28
- package/lib/api/languages-api.d.ts +117 -17
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +17 -22
- package/lib/api/managers-api.d.ts +261 -39
- package/lib/api/managers-api.d.ts.map +1 -1
- package/lib/api/managers-api.js +29 -48
- package/lib/api/memberships-api.d.ts +111 -17
- package/lib/api/memberships-api.d.ts.map +1 -1
- package/lib/api/memberships-api.js +10 -20
- package/lib/api/notifications-api.d.ts +54 -8
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +8 -10
- package/lib/api/patients-api.d.ts +216 -32
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +26 -40
- package/lib/api/plans-api.d.ts +228 -33
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +32 -43
- package/lib/api/profiles-api.d.ts +75 -10
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +19 -15
- package/lib/api/search-api.d.ts +15 -2
- package/lib/api/search-api.d.ts.map +1 -1
- package/lib/api/search-api.js +4 -3
- package/lib/api/service-reviews-api.d.ts +318 -48
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +32 -58
- package/lib/api/services-api.d.ts +177 -28
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +10 -31
- package/lib/api/services-categories-api.d.ts +105 -15
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +17 -20
- package/lib/api/specialties-api.d.ts +447 -68
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +42 -81
- package/lib/api/specialty-types-api.d.ts +447 -68
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +42 -81
- package/lib/api/survey-forms-api.d.ts +145 -25
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +17 -26
- package/lib/api/survey-results-api.d.ts +81 -12
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +10 -15
- package/lib/api/tags-api.d.ts +84 -12
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +14 -16
- package/lib/api/translation-api.d.ts +15 -2
- package/lib/api/translation-api.d.ts.map +1 -1
- package/lib/api/translation-api.js +4 -3
- package/openapitools.json +1 -0
- package/package.json +1 -1
- package/src/api/about-us-api.ts +214 -34
- package/src/api/accreditations-api.ts +127 -21
- package/src/api/app-version-api.ts +134 -22
- package/src/api/appointments-api.ts +322 -50
- package/src/api/articles-api.ts +873 -139
- package/src/api/bookings-api.ts +266 -42
- package/src/api/chadmins-api.ts +162 -26
- package/src/api/chat-users-api.ts +158 -26
- package/src/api/chmanagers-api.ts +162 -26
- package/src/api/consultations-api.ts +280 -44
- package/src/api/contributors-api.ts +390 -62
- package/src/api/countries-api.ts +374 -62
- package/src/api/dash-board-api.ts +17 -3
- package/src/api/deals-api.ts +1160 -180
- package/src/api/doctor-affiliations-api.ts +559 -103
- package/src/api/doctors-api.ts +1337 -231
- package/src/api/email-marketings-api.ts +130 -22
- package/src/api/faq-categories-api.ts +214 -34
- package/src/api/faqs-api.ts +493 -79
- package/src/api/group-channels-api.ts +62 -10
- package/src/api/header-navigations-api.ts +113 -19
- package/src/api/hospitals-api.ts +3566 -562
- package/src/api/hospitals-consultation-timetable-overrides-api.ts +138 -22
- package/src/api/hospitals-consultation-timetables-api.ts +172 -28
- package/src/api/languages-api.ts +134 -22
- package/src/api/managers-api.ts +300 -48
- package/src/api/memberships-api.ts +128 -20
- package/src/api/notifications-api.ts +62 -10
- package/src/api/patients-api.ts +248 -40
- package/src/api/plans-api.ts +261 -43
- package/src/api/profiles-api.ts +85 -15
- package/src/api/search-api.ts +17 -3
- package/src/api/service-reviews-api.ts +366 -58
- package/src/api/services-api.ts +205 -31
- package/src/api/services-categories-api.ts +120 -20
- package/src/api/specialties-api.ts +515 -81
- package/src/api/specialty-types-api.ts +515 -81
- package/src/api/survey-forms-api.ts +166 -30
- package/src/api/survey-results-api.ts +93 -15
- package/src/api/tags-api.ts +96 -16
- package/src/api/translation-api.ts +17 -3
package/src/api/about-us-api.ts
CHANGED
|
@@ -527,6 +527,202 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
|
|
|
527
527
|
};
|
|
528
528
|
};
|
|
529
529
|
|
|
530
|
+
/**
|
|
531
|
+
* Request parameters for apiV1AboutusGet operation in AboutUsApi.
|
|
532
|
+
* @export
|
|
533
|
+
* @interface AboutUsApiApiV1AboutusGetRequest
|
|
534
|
+
*/
|
|
535
|
+
export interface AboutUsApiApiV1AboutusGetRequest {
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {string}
|
|
539
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
540
|
+
*/
|
|
541
|
+
readonly hospitalId?: string
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {string}
|
|
546
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
547
|
+
*/
|
|
548
|
+
readonly hospitalName?: string
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
554
|
+
*/
|
|
555
|
+
readonly hospitalSlug?: string
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
561
|
+
*/
|
|
562
|
+
readonly name?: string
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {boolean}
|
|
567
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
568
|
+
*/
|
|
569
|
+
readonly returnDefaultValue?: boolean
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {boolean}
|
|
574
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
575
|
+
*/
|
|
576
|
+
readonly confirmed?: boolean
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @type {string}
|
|
581
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
582
|
+
*/
|
|
583
|
+
readonly languageCode?: string
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {boolean}
|
|
588
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
589
|
+
*/
|
|
590
|
+
readonly showHidden?: boolean
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @type {number}
|
|
595
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
596
|
+
*/
|
|
597
|
+
readonly page?: number
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {number}
|
|
602
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
603
|
+
*/
|
|
604
|
+
readonly limit?: number
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {Date}
|
|
609
|
+
* @memberof AboutUsApiApiV1AboutusGet
|
|
610
|
+
*/
|
|
611
|
+
readonly lastRetrieved?: Date
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Request parameters for apiV1AboutusHospitalIdDelete operation in AboutUsApi.
|
|
616
|
+
* @export
|
|
617
|
+
* @interface AboutUsApiApiV1AboutusHospitalIdDeleteRequest
|
|
618
|
+
*/
|
|
619
|
+
export interface AboutUsApiApiV1AboutusHospitalIdDeleteRequest {
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdDelete
|
|
624
|
+
*/
|
|
625
|
+
readonly hospitalId: string
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @type {boolean}
|
|
630
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdDelete
|
|
631
|
+
*/
|
|
632
|
+
readonly isPermanent?: boolean
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Request parameters for apiV1AboutusHospitalIdGet operation in AboutUsApi.
|
|
637
|
+
* @export
|
|
638
|
+
* @interface AboutUsApiApiV1AboutusHospitalIdGetRequest
|
|
639
|
+
*/
|
|
640
|
+
export interface AboutUsApiApiV1AboutusHospitalIdGetRequest {
|
|
641
|
+
/**
|
|
642
|
+
*
|
|
643
|
+
* @type {string}
|
|
644
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdGet
|
|
645
|
+
*/
|
|
646
|
+
readonly hospitalId: string
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdGet
|
|
652
|
+
*/
|
|
653
|
+
readonly languageCode?: string
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {boolean}
|
|
658
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdGet
|
|
659
|
+
*/
|
|
660
|
+
readonly returnDefaultValue?: boolean
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Request parameters for apiV1AboutusHospitalIdPut operation in AboutUsApi.
|
|
665
|
+
* @export
|
|
666
|
+
* @interface AboutUsApiApiV1AboutusHospitalIdPutRequest
|
|
667
|
+
*/
|
|
668
|
+
export interface AboutUsApiApiV1AboutusHospitalIdPutRequest {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdPut
|
|
673
|
+
*/
|
|
674
|
+
readonly hospitalId: string
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @type {UpdateAboutUsPageCommand}
|
|
679
|
+
* @memberof AboutUsApiApiV1AboutusHospitalIdPut
|
|
680
|
+
*/
|
|
681
|
+
readonly updateAboutUsPageCommand?: UpdateAboutUsPageCommand
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Request parameters for apiV1AboutusPost operation in AboutUsApi.
|
|
686
|
+
* @export
|
|
687
|
+
* @interface AboutUsApiApiV1AboutusPostRequest
|
|
688
|
+
*/
|
|
689
|
+
export interface AboutUsApiApiV1AboutusPostRequest {
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {CreateAboutUsPageCommand}
|
|
693
|
+
* @memberof AboutUsApiApiV1AboutusPost
|
|
694
|
+
*/
|
|
695
|
+
readonly createAboutUsPageCommand?: CreateAboutUsPageCommand
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Request parameters for apiV1AboutusSlugGet operation in AboutUsApi.
|
|
700
|
+
* @export
|
|
701
|
+
* @interface AboutUsApiApiV1AboutusSlugGetRequest
|
|
702
|
+
*/
|
|
703
|
+
export interface AboutUsApiApiV1AboutusSlugGetRequest {
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof AboutUsApiApiV1AboutusSlugGet
|
|
708
|
+
*/
|
|
709
|
+
readonly slug: string
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @type {string}
|
|
714
|
+
* @memberof AboutUsApiApiV1AboutusSlugGet
|
|
715
|
+
*/
|
|
716
|
+
readonly languageCode?: string
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @type {boolean}
|
|
721
|
+
* @memberof AboutUsApiApiV1AboutusSlugGet
|
|
722
|
+
*/
|
|
723
|
+
readonly returnDefaultValue?: boolean
|
|
724
|
+
}
|
|
725
|
+
|
|
530
726
|
/**
|
|
531
727
|
* AboutUsApi - object-oriented interface
|
|
532
728
|
* @export
|
|
@@ -537,88 +733,72 @@ export class AboutUsApi extends BaseAPI {
|
|
|
537
733
|
/**
|
|
538
734
|
*
|
|
539
735
|
* @summary Get all AboutUsList.
|
|
540
|
-
* @param {
|
|
541
|
-
* @param {string} [hospitalName]
|
|
542
|
-
* @param {string} [hospitalSlug]
|
|
543
|
-
* @param {string} [name]
|
|
544
|
-
* @param {boolean} [returnDefaultValue]
|
|
545
|
-
* @param {boolean} [confirmed]
|
|
546
|
-
* @param {string} [languageCode]
|
|
547
|
-
* @param {boolean} [showHidden]
|
|
548
|
-
* @param {number} [page]
|
|
549
|
-
* @param {number} [limit]
|
|
550
|
-
* @param {Date} [lastRetrieved]
|
|
736
|
+
* @param {AboutUsApiApiV1AboutusGetRequest} requestParameters Request parameters.
|
|
551
737
|
* @param {*} [options] Override http request option.
|
|
552
738
|
* @throws {RequiredError}
|
|
553
739
|
* @memberof AboutUsApi
|
|
554
740
|
*/
|
|
555
|
-
public apiV1AboutusGet(
|
|
556
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
741
|
+
public apiV1AboutusGet(requestParameters: AboutUsApiApiV1AboutusGetRequest = {}, options?: AxiosRequestConfig) {
|
|
742
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.hospitalSlug, requestParameters.name, requestParameters.returnDefaultValue, requestParameters.confirmed, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
557
743
|
}
|
|
558
744
|
|
|
559
745
|
/**
|
|
560
746
|
*
|
|
561
747
|
* @summary Delete AboutUs.
|
|
562
|
-
* @param {
|
|
563
|
-
* @param {boolean} [isPermanent]
|
|
748
|
+
* @param {AboutUsApiApiV1AboutusHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
564
749
|
* @param {*} [options] Override http request option.
|
|
565
750
|
* @throws {RequiredError}
|
|
566
751
|
* @memberof AboutUsApi
|
|
567
752
|
*/
|
|
568
|
-
public apiV1AboutusHospitalIdDelete(
|
|
569
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
753
|
+
public apiV1AboutusHospitalIdDelete(requestParameters: AboutUsApiApiV1AboutusHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
754
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(requestParameters.hospitalId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
570
755
|
}
|
|
571
756
|
|
|
572
757
|
/**
|
|
573
758
|
*
|
|
574
759
|
* @summary Get AboutUs.
|
|
575
|
-
* @param {
|
|
576
|
-
* @param {string} [languageCode]
|
|
577
|
-
* @param {boolean} [returnDefaultValue]
|
|
760
|
+
* @param {AboutUsApiApiV1AboutusHospitalIdGetRequest} requestParameters Request parameters.
|
|
578
761
|
* @param {*} [options] Override http request option.
|
|
579
762
|
* @throws {RequiredError}
|
|
580
763
|
* @memberof AboutUsApi
|
|
581
764
|
*/
|
|
582
|
-
public apiV1AboutusHospitalIdGet(
|
|
583
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
765
|
+
public apiV1AboutusHospitalIdGet(requestParameters: AboutUsApiApiV1AboutusHospitalIdGetRequest, options?: AxiosRequestConfig) {
|
|
766
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
584
767
|
}
|
|
585
768
|
|
|
586
769
|
/**
|
|
587
770
|
*
|
|
588
771
|
* @summary Update AboutUs.
|
|
589
|
-
* @param {
|
|
590
|
-
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
772
|
+
* @param {AboutUsApiApiV1AboutusHospitalIdPutRequest} requestParameters Request parameters.
|
|
591
773
|
* @param {*} [options] Override http request option.
|
|
592
774
|
* @throws {RequiredError}
|
|
593
775
|
* @memberof AboutUsApi
|
|
594
776
|
*/
|
|
595
|
-
public apiV1AboutusHospitalIdPut(
|
|
596
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(hospitalId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
777
|
+
public apiV1AboutusHospitalIdPut(requestParameters: AboutUsApiApiV1AboutusHospitalIdPutRequest, options?: AxiosRequestConfig) {
|
|
778
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdPut(requestParameters.hospitalId, requestParameters.updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
597
779
|
}
|
|
598
780
|
|
|
599
781
|
/**
|
|
600
782
|
*
|
|
601
783
|
* @summary Create AboutUs.
|
|
602
|
-
* @param {
|
|
784
|
+
* @param {AboutUsApiApiV1AboutusPostRequest} requestParameters Request parameters.
|
|
603
785
|
* @param {*} [options] Override http request option.
|
|
604
786
|
* @throws {RequiredError}
|
|
605
787
|
* @memberof AboutUsApi
|
|
606
788
|
*/
|
|
607
|
-
public apiV1AboutusPost(
|
|
608
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
789
|
+
public apiV1AboutusPost(requestParameters: AboutUsApiApiV1AboutusPostRequest = {}, options?: AxiosRequestConfig) {
|
|
790
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusPost(requestParameters.createAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
609
791
|
}
|
|
610
792
|
|
|
611
793
|
/**
|
|
612
794
|
*
|
|
613
795
|
* @summary
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {string} [languageCode]
|
|
616
|
-
* @param {boolean} [returnDefaultValue]
|
|
796
|
+
* @param {AboutUsApiApiV1AboutusSlugGetRequest} requestParameters Request parameters.
|
|
617
797
|
* @param {*} [options] Override http request option.
|
|
618
798
|
* @throws {RequiredError}
|
|
619
799
|
* @memberof AboutUsApi
|
|
620
800
|
*/
|
|
621
|
-
public apiV1AboutusSlugGet(
|
|
622
|
-
return AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
801
|
+
public apiV1AboutusSlugGet(requestParameters: AboutUsApiApiV1AboutusSlugGetRequest, options?: AxiosRequestConfig) {
|
|
802
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
623
803
|
}
|
|
624
804
|
}
|
|
@@ -398,6 +398,118 @@ export const AccreditationsApiFactory = function (configuration?: Configuration,
|
|
|
398
398
|
};
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
+
/**
|
|
402
|
+
* Request parameters for apiV1AccreditationsAccreditationIdDelete operation in AccreditationsApi.
|
|
403
|
+
* @export
|
|
404
|
+
* @interface AccreditationsApiApiV1AccreditationsAccreditationIdDeleteRequest
|
|
405
|
+
*/
|
|
406
|
+
export interface AccreditationsApiApiV1AccreditationsAccreditationIdDeleteRequest {
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof AccreditationsApiApiV1AccreditationsAccreditationIdDelete
|
|
411
|
+
*/
|
|
412
|
+
readonly accreditationId: string
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Request parameters for apiV1AccreditationsAccreditationIdGet operation in AccreditationsApi.
|
|
417
|
+
* @export
|
|
418
|
+
* @interface AccreditationsApiApiV1AccreditationsAccreditationIdGetRequest
|
|
419
|
+
*/
|
|
420
|
+
export interface AccreditationsApiApiV1AccreditationsAccreditationIdGetRequest {
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof AccreditationsApiApiV1AccreditationsAccreditationIdGet
|
|
425
|
+
*/
|
|
426
|
+
readonly accreditationId: string
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Request parameters for apiV1AccreditationsAccreditationIdPut operation in AccreditationsApi.
|
|
431
|
+
* @export
|
|
432
|
+
* @interface AccreditationsApiApiV1AccreditationsAccreditationIdPutRequest
|
|
433
|
+
*/
|
|
434
|
+
export interface AccreditationsApiApiV1AccreditationsAccreditationIdPutRequest {
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @type {string}
|
|
438
|
+
* @memberof AccreditationsApiApiV1AccreditationsAccreditationIdPut
|
|
439
|
+
*/
|
|
440
|
+
readonly accreditationId: string
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {UpdateAccreditationCommand}
|
|
445
|
+
* @memberof AccreditationsApiApiV1AccreditationsAccreditationIdPut
|
|
446
|
+
*/
|
|
447
|
+
readonly updateAccreditationCommand?: UpdateAccreditationCommand
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Request parameters for apiV1AccreditationsGet operation in AccreditationsApi.
|
|
452
|
+
* @export
|
|
453
|
+
* @interface AccreditationsApiApiV1AccreditationsGetRequest
|
|
454
|
+
*/
|
|
455
|
+
export interface AccreditationsApiApiV1AccreditationsGetRequest {
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @type {string}
|
|
459
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
460
|
+
*/
|
|
461
|
+
readonly name?: string
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type {string}
|
|
466
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
467
|
+
*/
|
|
468
|
+
readonly logo?: string
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
*
|
|
472
|
+
* @type {string}
|
|
473
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
474
|
+
*/
|
|
475
|
+
readonly country?: string
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @type {number}
|
|
480
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
481
|
+
*/
|
|
482
|
+
readonly page?: number
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {number}
|
|
487
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
488
|
+
*/
|
|
489
|
+
readonly limit?: number
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {Date}
|
|
494
|
+
* @memberof AccreditationsApiApiV1AccreditationsGet
|
|
495
|
+
*/
|
|
496
|
+
readonly lastRetrieved?: Date
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Request parameters for apiV1AccreditationsPost operation in AccreditationsApi.
|
|
501
|
+
* @export
|
|
502
|
+
* @interface AccreditationsApiApiV1AccreditationsPostRequest
|
|
503
|
+
*/
|
|
504
|
+
export interface AccreditationsApiApiV1AccreditationsPostRequest {
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @type {CreateAccreditationCommand}
|
|
508
|
+
* @memberof AccreditationsApiApiV1AccreditationsPost
|
|
509
|
+
*/
|
|
510
|
+
readonly createAccreditationCommand?: CreateAccreditationCommand
|
|
511
|
+
}
|
|
512
|
+
|
|
401
513
|
/**
|
|
402
514
|
* AccreditationsApi - object-oriented interface
|
|
403
515
|
* @export
|
|
@@ -408,66 +520,60 @@ export class AccreditationsApi extends BaseAPI {
|
|
|
408
520
|
/**
|
|
409
521
|
*
|
|
410
522
|
* @summary Delete Accreditation.
|
|
411
|
-
* @param {
|
|
523
|
+
* @param {AccreditationsApiApiV1AccreditationsAccreditationIdDeleteRequest} requestParameters Request parameters.
|
|
412
524
|
* @param {*} [options] Override http request option.
|
|
413
525
|
* @throws {RequiredError}
|
|
414
526
|
* @memberof AccreditationsApi
|
|
415
527
|
*/
|
|
416
|
-
public apiV1AccreditationsAccreditationIdDelete(
|
|
417
|
-
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdDelete(accreditationId, options).then((request) => request(this.axios, this.basePath));
|
|
528
|
+
public apiV1AccreditationsAccreditationIdDelete(requestParameters: AccreditationsApiApiV1AccreditationsAccreditationIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
529
|
+
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdDelete(requestParameters.accreditationId, options).then((request) => request(this.axios, this.basePath));
|
|
418
530
|
}
|
|
419
531
|
|
|
420
532
|
/**
|
|
421
533
|
*
|
|
422
534
|
* @summary Get Accreditation.
|
|
423
|
-
* @param {
|
|
535
|
+
* @param {AccreditationsApiApiV1AccreditationsAccreditationIdGetRequest} requestParameters Request parameters.
|
|
424
536
|
* @param {*} [options] Override http request option.
|
|
425
537
|
* @throws {RequiredError}
|
|
426
538
|
* @memberof AccreditationsApi
|
|
427
539
|
*/
|
|
428
|
-
public apiV1AccreditationsAccreditationIdGet(
|
|
429
|
-
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdGet(accreditationId, options).then((request) => request(this.axios, this.basePath));
|
|
540
|
+
public apiV1AccreditationsAccreditationIdGet(requestParameters: AccreditationsApiApiV1AccreditationsAccreditationIdGetRequest, options?: AxiosRequestConfig) {
|
|
541
|
+
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdGet(requestParameters.accreditationId, options).then((request) => request(this.axios, this.basePath));
|
|
430
542
|
}
|
|
431
543
|
|
|
432
544
|
/**
|
|
433
545
|
*
|
|
434
546
|
* @summary Update Accreditation.
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {UpdateAccreditationCommand} [updateAccreditationCommand]
|
|
547
|
+
* @param {AccreditationsApiApiV1AccreditationsAccreditationIdPutRequest} requestParameters Request parameters.
|
|
437
548
|
* @param {*} [options] Override http request option.
|
|
438
549
|
* @throws {RequiredError}
|
|
439
550
|
* @memberof AccreditationsApi
|
|
440
551
|
*/
|
|
441
|
-
public apiV1AccreditationsAccreditationIdPut(
|
|
442
|
-
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdPut(accreditationId, updateAccreditationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
552
|
+
public apiV1AccreditationsAccreditationIdPut(requestParameters: AccreditationsApiApiV1AccreditationsAccreditationIdPutRequest, options?: AxiosRequestConfig) {
|
|
553
|
+
return AccreditationsApiFp(this.configuration).apiV1AccreditationsAccreditationIdPut(requestParameters.accreditationId, requestParameters.updateAccreditationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
443
554
|
}
|
|
444
555
|
|
|
445
556
|
/**
|
|
446
557
|
*
|
|
447
558
|
* @summary Get all Accreditations.
|
|
448
|
-
* @param {
|
|
449
|
-
* @param {string} [logo]
|
|
450
|
-
* @param {string} [country]
|
|
451
|
-
* @param {number} [page]
|
|
452
|
-
* @param {number} [limit]
|
|
453
|
-
* @param {Date} [lastRetrieved]
|
|
559
|
+
* @param {AccreditationsApiApiV1AccreditationsGetRequest} requestParameters Request parameters.
|
|
454
560
|
* @param {*} [options] Override http request option.
|
|
455
561
|
* @throws {RequiredError}
|
|
456
562
|
* @memberof AccreditationsApi
|
|
457
563
|
*/
|
|
458
|
-
public apiV1AccreditationsGet(
|
|
459
|
-
return AccreditationsApiFp(this.configuration).apiV1AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
564
|
+
public apiV1AccreditationsGet(requestParameters: AccreditationsApiApiV1AccreditationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
565
|
+
return AccreditationsApiFp(this.configuration).apiV1AccreditationsGet(requestParameters.name, requestParameters.logo, requestParameters.country, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
460
566
|
}
|
|
461
567
|
|
|
462
568
|
/**
|
|
463
569
|
*
|
|
464
570
|
* @summary Create a Accreditation.
|
|
465
|
-
* @param {
|
|
571
|
+
* @param {AccreditationsApiApiV1AccreditationsPostRequest} requestParameters Request parameters.
|
|
466
572
|
* @param {*} [options] Override http request option.
|
|
467
573
|
* @throws {RequiredError}
|
|
468
574
|
* @memberof AccreditationsApi
|
|
469
575
|
*/
|
|
470
|
-
public apiV1AccreditationsPost(
|
|
471
|
-
return AccreditationsApiFp(this.configuration).apiV1AccreditationsPost(createAccreditationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
576
|
+
public apiV1AccreditationsPost(requestParameters: AccreditationsApiApiV1AccreditationsPostRequest = {}, options?: AxiosRequestConfig) {
|
|
577
|
+
return AccreditationsApiFp(this.configuration).apiV1AccreditationsPost(requestParameters.createAccreditationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
472
578
|
}
|
|
473
579
|
}
|