ch-api-client-typescript2 2.6.9 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1477 -31
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2048 -8
- package/package.json +1 -1
- package/src/api.ts +2478 -33
package/src/api.ts
CHANGED
|
@@ -751,6 +751,18 @@ export interface AuditableEntity {
|
|
|
751
751
|
*/
|
|
752
752
|
'isDeleted'?: boolean;
|
|
753
753
|
}
|
|
754
|
+
/**
|
|
755
|
+
*
|
|
756
|
+
* @export
|
|
757
|
+
* @enum {string}
|
|
758
|
+
*/
|
|
759
|
+
|
|
760
|
+
export enum AutocompleteMode {
|
|
761
|
+
OneTerm = 'OneTerm',
|
|
762
|
+
TwoTerms = 'TwoTerms',
|
|
763
|
+
OneTermWithContext = 'OneTermWithContext'
|
|
764
|
+
}
|
|
765
|
+
|
|
754
766
|
/**
|
|
755
767
|
*
|
|
756
768
|
* @export
|
|
@@ -782,6 +794,69 @@ export interface AwardModel {
|
|
|
782
794
|
*/
|
|
783
795
|
'date'?: Date;
|
|
784
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @export
|
|
800
|
+
* @interface AzureSearchModel
|
|
801
|
+
*/
|
|
802
|
+
export interface AzureSearchModel {
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {number}
|
|
806
|
+
* @memberof AzureSearchModel
|
|
807
|
+
*/
|
|
808
|
+
'hospitals'?: number;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {number}
|
|
812
|
+
* @memberof AzureSearchModel
|
|
813
|
+
*/
|
|
814
|
+
'doctors'?: number;
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @type {number}
|
|
818
|
+
* @memberof AzureSearchModel
|
|
819
|
+
*/
|
|
820
|
+
'deals'?: number;
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @type {number}
|
|
824
|
+
* @memberof AzureSearchModel
|
|
825
|
+
*/
|
|
826
|
+
'specialties'?: number;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {number}
|
|
830
|
+
* @memberof AzureSearchModel
|
|
831
|
+
*/
|
|
832
|
+
'specialtyTypes'?: number;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @export
|
|
837
|
+
* @interface AzureSearchServiceAutocompleteModel
|
|
838
|
+
*/
|
|
839
|
+
export interface AzureSearchServiceAutocompleteModel {
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {Array<string>}
|
|
843
|
+
* @memberof AzureSearchServiceAutocompleteModel
|
|
844
|
+
*/
|
|
845
|
+
'values'?: Array<string> | null;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @export
|
|
850
|
+
* @interface AzureSearchServiceSuggestModel
|
|
851
|
+
*/
|
|
852
|
+
export interface AzureSearchServiceSuggestModel {
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @type {Array<string>}
|
|
856
|
+
* @memberof AzureSearchServiceSuggestModel
|
|
857
|
+
*/
|
|
858
|
+
'values'?: Array<string> | null;
|
|
859
|
+
}
|
|
785
860
|
/**
|
|
786
861
|
*
|
|
787
862
|
* @export
|
|
@@ -2692,6 +2767,43 @@ export interface CreateConsultationCommand {
|
|
|
2692
2767
|
*/
|
|
2693
2768
|
'timeZone'?: string | null;
|
|
2694
2769
|
}
|
|
2770
|
+
/**
|
|
2771
|
+
*
|
|
2772
|
+
* @export
|
|
2773
|
+
* @interface CreateMediaCommand
|
|
2774
|
+
*/
|
|
2775
|
+
export interface CreateMediaCommand {
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @type {MediaType}
|
|
2779
|
+
* @memberof CreateMediaCommand
|
|
2780
|
+
*/
|
|
2781
|
+
'mediaType'?: MediaType;
|
|
2782
|
+
/**
|
|
2783
|
+
*
|
|
2784
|
+
* @type {string}
|
|
2785
|
+
* @memberof CreateMediaCommand
|
|
2786
|
+
*/
|
|
2787
|
+
'url'?: string | null;
|
|
2788
|
+
/**
|
|
2789
|
+
*
|
|
2790
|
+
* @type {string}
|
|
2791
|
+
* @memberof CreateMediaCommand
|
|
2792
|
+
*/
|
|
2793
|
+
'thumbnailUrl'?: string | null;
|
|
2794
|
+
/**
|
|
2795
|
+
*
|
|
2796
|
+
* @type {string}
|
|
2797
|
+
* @memberof CreateMediaCommand
|
|
2798
|
+
*/
|
|
2799
|
+
'description'?: string | null;
|
|
2800
|
+
/**
|
|
2801
|
+
*
|
|
2802
|
+
* @type {number}
|
|
2803
|
+
* @memberof CreateMediaCommand
|
|
2804
|
+
*/
|
|
2805
|
+
'order'?: number;
|
|
2806
|
+
}
|
|
2695
2807
|
/**
|
|
2696
2808
|
*
|
|
2697
2809
|
* @export
|
|
@@ -2759,6 +2871,49 @@ export interface CreatePatientCommand {
|
|
|
2759
2871
|
*/
|
|
2760
2872
|
'timeZone'?: string | null;
|
|
2761
2873
|
}
|
|
2874
|
+
/**
|
|
2875
|
+
*
|
|
2876
|
+
* @export
|
|
2877
|
+
* @interface CreateServiceReviewCommand
|
|
2878
|
+
*/
|
|
2879
|
+
export interface CreateServiceReviewCommand {
|
|
2880
|
+
/**
|
|
2881
|
+
*
|
|
2882
|
+
* @type {string}
|
|
2883
|
+
* @memberof CreateServiceReviewCommand
|
|
2884
|
+
*/
|
|
2885
|
+
'serviceId'?: string;
|
|
2886
|
+
/**
|
|
2887
|
+
*
|
|
2888
|
+
* @type {string}
|
|
2889
|
+
* @memberof CreateServiceReviewCommand
|
|
2890
|
+
*/
|
|
2891
|
+
'patientId'?: string;
|
|
2892
|
+
/**
|
|
2893
|
+
*
|
|
2894
|
+
* @type {string}
|
|
2895
|
+
* @memberof CreateServiceReviewCommand
|
|
2896
|
+
*/
|
|
2897
|
+
'body'?: string | null;
|
|
2898
|
+
/**
|
|
2899
|
+
*
|
|
2900
|
+
* @type {boolean}
|
|
2901
|
+
* @memberof CreateServiceReviewCommand
|
|
2902
|
+
*/
|
|
2903
|
+
'recommended'?: boolean;
|
|
2904
|
+
/**
|
|
2905
|
+
*
|
|
2906
|
+
* @type {number}
|
|
2907
|
+
* @memberof CreateServiceReviewCommand
|
|
2908
|
+
*/
|
|
2909
|
+
'rate'?: number;
|
|
2910
|
+
/**
|
|
2911
|
+
*
|
|
2912
|
+
* @type {ReviewType}
|
|
2913
|
+
* @memberof CreateServiceReviewCommand
|
|
2914
|
+
*/
|
|
2915
|
+
'reviewType'?: ReviewType;
|
|
2916
|
+
}
|
|
2762
2917
|
/**
|
|
2763
2918
|
*
|
|
2764
2919
|
* @export
|
|
@@ -3575,6 +3730,12 @@ export interface DoctorItemModel {
|
|
|
3575
3730
|
* @memberof DoctorItemModel
|
|
3576
3731
|
*/
|
|
3577
3732
|
'id'?: string;
|
|
3733
|
+
/**
|
|
3734
|
+
*
|
|
3735
|
+
* @type {string}
|
|
3736
|
+
* @memberof DoctorItemModel
|
|
3737
|
+
*/
|
|
3738
|
+
'userType'?: string | null;
|
|
3578
3739
|
/**
|
|
3579
3740
|
*
|
|
3580
3741
|
* @type {string}
|
|
@@ -3653,12 +3814,6 @@ export interface DoctorItemModel {
|
|
|
3653
3814
|
* @memberof DoctorItemModel
|
|
3654
3815
|
*/
|
|
3655
3816
|
'auditableEntity'?: AuditableEntity;
|
|
3656
|
-
/**
|
|
3657
|
-
*
|
|
3658
|
-
* @type {string}
|
|
3659
|
-
* @memberof DoctorItemModel
|
|
3660
|
-
*/
|
|
3661
|
-
'userType'?: string | null;
|
|
3662
3817
|
/**
|
|
3663
3818
|
*
|
|
3664
3819
|
* @type {Array<UserLanguageModel>}
|
|
@@ -3713,6 +3868,30 @@ export interface DoctorItemModel {
|
|
|
3713
3868
|
* @memberof DoctorItemModel
|
|
3714
3869
|
*/
|
|
3715
3870
|
'consultationFee'?: number | null;
|
|
3871
|
+
/**
|
|
3872
|
+
*
|
|
3873
|
+
* @type {number}
|
|
3874
|
+
* @memberof DoctorItemModel
|
|
3875
|
+
*/
|
|
3876
|
+
'doctorSpecialtiesCount'?: number;
|
|
3877
|
+
/**
|
|
3878
|
+
*
|
|
3879
|
+
* @type {Array<DoctorSpecialtyItemModel>}
|
|
3880
|
+
* @memberof DoctorItemModel
|
|
3881
|
+
*/
|
|
3882
|
+
'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
|
|
3883
|
+
/**
|
|
3884
|
+
*
|
|
3885
|
+
* @type {number}
|
|
3886
|
+
* @memberof DoctorItemModel
|
|
3887
|
+
*/
|
|
3888
|
+
'doctorAffiliationsCount'?: number;
|
|
3889
|
+
/**
|
|
3890
|
+
*
|
|
3891
|
+
* @type {Array<HospitalAffiliationModel>}
|
|
3892
|
+
* @memberof DoctorItemModel
|
|
3893
|
+
*/
|
|
3894
|
+
'doctorAffiliations'?: Array<HospitalAffiliationModel> | null;
|
|
3716
3895
|
/**
|
|
3717
3896
|
*
|
|
3718
3897
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -3738,6 +3917,12 @@ export interface DoctorModel {
|
|
|
3738
3917
|
* @memberof DoctorModel
|
|
3739
3918
|
*/
|
|
3740
3919
|
'id'?: string;
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @type {string}
|
|
3923
|
+
* @memberof DoctorModel
|
|
3924
|
+
*/
|
|
3925
|
+
'userType'?: string | null;
|
|
3741
3926
|
/**
|
|
3742
3927
|
*
|
|
3743
3928
|
* @type {string}
|
|
@@ -3816,12 +4001,6 @@ export interface DoctorModel {
|
|
|
3816
4001
|
* @memberof DoctorModel
|
|
3817
4002
|
*/
|
|
3818
4003
|
'auditableEntity'?: AuditableEntity;
|
|
3819
|
-
/**
|
|
3820
|
-
*
|
|
3821
|
-
* @type {string}
|
|
3822
|
-
* @memberof DoctorModel
|
|
3823
|
-
*/
|
|
3824
|
-
'userType'?: string | null;
|
|
3825
4004
|
/**
|
|
3826
4005
|
*
|
|
3827
4006
|
* @type {Array<UserLanguageModel>}
|
|
@@ -3876,6 +4055,30 @@ export interface DoctorModel {
|
|
|
3876
4055
|
* @memberof DoctorModel
|
|
3877
4056
|
*/
|
|
3878
4057
|
'consultationFee'?: number | null;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {number}
|
|
4061
|
+
* @memberof DoctorModel
|
|
4062
|
+
*/
|
|
4063
|
+
'doctorSpecialtiesCount'?: number;
|
|
4064
|
+
/**
|
|
4065
|
+
*
|
|
4066
|
+
* @type {Array<DoctorSpecialtyItemModel>}
|
|
4067
|
+
* @memberof DoctorModel
|
|
4068
|
+
*/
|
|
4069
|
+
'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
|
|
4070
|
+
/**
|
|
4071
|
+
*
|
|
4072
|
+
* @type {number}
|
|
4073
|
+
* @memberof DoctorModel
|
|
4074
|
+
*/
|
|
4075
|
+
'doctorAffiliationsCount'?: number;
|
|
4076
|
+
/**
|
|
4077
|
+
*
|
|
4078
|
+
* @type {Array<HospitalAffiliationModel>}
|
|
4079
|
+
* @memberof DoctorModel
|
|
4080
|
+
*/
|
|
4081
|
+
'doctorAffiliations'?: Array<HospitalAffiliationModel> | null;
|
|
3879
4082
|
/**
|
|
3880
4083
|
*
|
|
3881
4084
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -4031,6 +4234,49 @@ export interface DoctorSpecialtiesModel {
|
|
|
4031
4234
|
*/
|
|
4032
4235
|
'metaData'?: PagedListMetaData;
|
|
4033
4236
|
}
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @export
|
|
4240
|
+
* @interface DoctorSpecialtyItemModel
|
|
4241
|
+
*/
|
|
4242
|
+
export interface DoctorSpecialtyItemModel {
|
|
4243
|
+
/**
|
|
4244
|
+
*
|
|
4245
|
+
* @type {string}
|
|
4246
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4247
|
+
*/
|
|
4248
|
+
'specialtyId'?: string;
|
|
4249
|
+
/**
|
|
4250
|
+
*
|
|
4251
|
+
* @type {string}
|
|
4252
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4253
|
+
*/
|
|
4254
|
+
'specialtyName'?: string | null;
|
|
4255
|
+
/**
|
|
4256
|
+
*
|
|
4257
|
+
* @type {string}
|
|
4258
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4259
|
+
*/
|
|
4260
|
+
'specialtySlug'?: string | null;
|
|
4261
|
+
/**
|
|
4262
|
+
*
|
|
4263
|
+
* @type {string}
|
|
4264
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4265
|
+
*/
|
|
4266
|
+
'specialtyTypeId'?: string;
|
|
4267
|
+
/**
|
|
4268
|
+
*
|
|
4269
|
+
* @type {string}
|
|
4270
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4271
|
+
*/
|
|
4272
|
+
'specialtyTypeName'?: string | null;
|
|
4273
|
+
/**
|
|
4274
|
+
*
|
|
4275
|
+
* @type {number}
|
|
4276
|
+
* @memberof DoctorSpecialtyItemModel
|
|
4277
|
+
*/
|
|
4278
|
+
'order'?: number;
|
|
4279
|
+
}
|
|
4034
4280
|
/**
|
|
4035
4281
|
*
|
|
4036
4282
|
* @export
|
|
@@ -4537,6 +4783,55 @@ export interface HospitalAccreditationsModel {
|
|
|
4537
4783
|
*/
|
|
4538
4784
|
'metaData'?: PagedListMetaData;
|
|
4539
4785
|
}
|
|
4786
|
+
/**
|
|
4787
|
+
*
|
|
4788
|
+
* @export
|
|
4789
|
+
* @interface HospitalAffiliationModel
|
|
4790
|
+
*/
|
|
4791
|
+
export interface HospitalAffiliationModel {
|
|
4792
|
+
/**
|
|
4793
|
+
*
|
|
4794
|
+
* @type {string}
|
|
4795
|
+
* @memberof HospitalAffiliationModel
|
|
4796
|
+
*/
|
|
4797
|
+
'hospitalId'?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
*
|
|
4800
|
+
* @type {string}
|
|
4801
|
+
* @memberof HospitalAffiliationModel
|
|
4802
|
+
*/
|
|
4803
|
+
'hospitalName'?: string | null;
|
|
4804
|
+
/**
|
|
4805
|
+
*
|
|
4806
|
+
* @type {string}
|
|
4807
|
+
* @memberof HospitalAffiliationModel
|
|
4808
|
+
*/
|
|
4809
|
+
'hospitalSlug'?: string | null;
|
|
4810
|
+
/**
|
|
4811
|
+
*
|
|
4812
|
+
* @type {string}
|
|
4813
|
+
* @memberof HospitalAffiliationModel
|
|
4814
|
+
*/
|
|
4815
|
+
'countryId'?: string;
|
|
4816
|
+
/**
|
|
4817
|
+
*
|
|
4818
|
+
* @type {string}
|
|
4819
|
+
* @memberof HospitalAffiliationModel
|
|
4820
|
+
*/
|
|
4821
|
+
'countryName'?: string | null;
|
|
4822
|
+
/**
|
|
4823
|
+
*
|
|
4824
|
+
* @type {string}
|
|
4825
|
+
* @memberof HospitalAffiliationModel
|
|
4826
|
+
*/
|
|
4827
|
+
'stateName'?: string | null;
|
|
4828
|
+
/**
|
|
4829
|
+
*
|
|
4830
|
+
* @type {string}
|
|
4831
|
+
* @memberof HospitalAffiliationModel
|
|
4832
|
+
*/
|
|
4833
|
+
'cityName'?: string | null;
|
|
4834
|
+
}
|
|
4540
4835
|
/**
|
|
4541
4836
|
*
|
|
4542
4837
|
* @export
|
|
@@ -6266,6 +6561,12 @@ export interface NotificationModel {
|
|
|
6266
6561
|
* @memberof NotificationModel
|
|
6267
6562
|
*/
|
|
6268
6563
|
'isChecked'?: boolean;
|
|
6564
|
+
/**
|
|
6565
|
+
*
|
|
6566
|
+
* @type {boolean}
|
|
6567
|
+
* @memberof NotificationModel
|
|
6568
|
+
*/
|
|
6569
|
+
'isDeleted'?: boolean;
|
|
6269
6570
|
}
|
|
6270
6571
|
/**
|
|
6271
6572
|
*
|
|
@@ -6376,13 +6677,19 @@ export interface PatientModel {
|
|
|
6376
6677
|
* @type {string}
|
|
6377
6678
|
* @memberof PatientModel
|
|
6378
6679
|
*/
|
|
6379
|
-
'
|
|
6680
|
+
'userType'?: string | null;
|
|
6380
6681
|
/**
|
|
6381
6682
|
*
|
|
6382
6683
|
* @type {string}
|
|
6383
6684
|
* @memberof PatientModel
|
|
6384
6685
|
*/
|
|
6385
|
-
'
|
|
6686
|
+
'userName'?: string | null;
|
|
6687
|
+
/**
|
|
6688
|
+
*
|
|
6689
|
+
* @type {string}
|
|
6690
|
+
* @memberof PatientModel
|
|
6691
|
+
*/
|
|
6692
|
+
'firstName'?: string | null;
|
|
6386
6693
|
/**
|
|
6387
6694
|
*
|
|
6388
6695
|
* @type {string}
|
|
@@ -6449,12 +6756,6 @@ export interface PatientModel {
|
|
|
6449
6756
|
* @memberof PatientModel
|
|
6450
6757
|
*/
|
|
6451
6758
|
'auditableEntity'?: AuditableEntity;
|
|
6452
|
-
/**
|
|
6453
|
-
*
|
|
6454
|
-
* @type {string}
|
|
6455
|
-
* @memberof PatientModel
|
|
6456
|
-
*/
|
|
6457
|
-
'userType'?: string | null;
|
|
6458
6759
|
/**
|
|
6459
6760
|
*
|
|
6460
6761
|
* @type {Array<UserLanguageModel>}
|
|
@@ -6822,6 +7123,18 @@ export enum RejectReason {
|
|
|
6822
7123
|
OtherReason = 'OtherReason'
|
|
6823
7124
|
}
|
|
6824
7125
|
|
|
7126
|
+
/**
|
|
7127
|
+
*
|
|
7128
|
+
* @export
|
|
7129
|
+
* @enum {string}
|
|
7130
|
+
*/
|
|
7131
|
+
|
|
7132
|
+
export enum ReviewType {
|
|
7133
|
+
Photo = 'Photo',
|
|
7134
|
+
SurgeryReview = 'SurgeryReview',
|
|
7135
|
+
RealStory = 'RealStory'
|
|
7136
|
+
}
|
|
7137
|
+
|
|
6825
7138
|
/**
|
|
6826
7139
|
*
|
|
6827
7140
|
* @export
|
|
@@ -6927,6 +7240,159 @@ export interface ServiceCategoryModel {
|
|
|
6927
7240
|
*/
|
|
6928
7241
|
'serviceCount'?: number;
|
|
6929
7242
|
}
|
|
7243
|
+
/**
|
|
7244
|
+
*
|
|
7245
|
+
* @export
|
|
7246
|
+
* @interface ServiceReviewItemModel
|
|
7247
|
+
*/
|
|
7248
|
+
export interface ServiceReviewItemModel {
|
|
7249
|
+
/**
|
|
7250
|
+
*
|
|
7251
|
+
* @type {string}
|
|
7252
|
+
* @memberof ServiceReviewItemModel
|
|
7253
|
+
*/
|
|
7254
|
+
'id'?: string;
|
|
7255
|
+
/**
|
|
7256
|
+
*
|
|
7257
|
+
* @type {string}
|
|
7258
|
+
* @memberof ServiceReviewItemModel
|
|
7259
|
+
*/
|
|
7260
|
+
'serviceId'?: string;
|
|
7261
|
+
/**
|
|
7262
|
+
*
|
|
7263
|
+
* @type {string}
|
|
7264
|
+
* @memberof ServiceReviewItemModel
|
|
7265
|
+
*/
|
|
7266
|
+
'serviceName'?: string | null;
|
|
7267
|
+
/**
|
|
7268
|
+
*
|
|
7269
|
+
* @type {string}
|
|
7270
|
+
* @memberof ServiceReviewItemModel
|
|
7271
|
+
*/
|
|
7272
|
+
'patientId'?: string | null;
|
|
7273
|
+
/**
|
|
7274
|
+
*
|
|
7275
|
+
* @type {string}
|
|
7276
|
+
* @memberof ServiceReviewItemModel
|
|
7277
|
+
*/
|
|
7278
|
+
'patientName'?: string | null;
|
|
7279
|
+
/**
|
|
7280
|
+
*
|
|
7281
|
+
* @type {string}
|
|
7282
|
+
* @memberof ServiceReviewItemModel
|
|
7283
|
+
*/
|
|
7284
|
+
'body'?: string | null;
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @type {boolean}
|
|
7288
|
+
* @memberof ServiceReviewItemModel
|
|
7289
|
+
*/
|
|
7290
|
+
'recommended'?: boolean;
|
|
7291
|
+
/**
|
|
7292
|
+
*
|
|
7293
|
+
* @type {number}
|
|
7294
|
+
* @memberof ServiceReviewItemModel
|
|
7295
|
+
*/
|
|
7296
|
+
'rate'?: number;
|
|
7297
|
+
/**
|
|
7298
|
+
*
|
|
7299
|
+
* @type {ReviewType}
|
|
7300
|
+
* @memberof ServiceReviewItemModel
|
|
7301
|
+
*/
|
|
7302
|
+
'reviewType'?: ReviewType;
|
|
7303
|
+
/**
|
|
7304
|
+
*
|
|
7305
|
+
* @type {Array<MediaModel>}
|
|
7306
|
+
* @memberof ServiceReviewItemModel
|
|
7307
|
+
*/
|
|
7308
|
+
'medias'?: Array<MediaModel> | null;
|
|
7309
|
+
}
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @export
|
|
7313
|
+
* @interface ServiceReviewModel
|
|
7314
|
+
*/
|
|
7315
|
+
export interface ServiceReviewModel {
|
|
7316
|
+
/**
|
|
7317
|
+
*
|
|
7318
|
+
* @type {string}
|
|
7319
|
+
* @memberof ServiceReviewModel
|
|
7320
|
+
*/
|
|
7321
|
+
'id'?: string;
|
|
7322
|
+
/**
|
|
7323
|
+
*
|
|
7324
|
+
* @type {string}
|
|
7325
|
+
* @memberof ServiceReviewModel
|
|
7326
|
+
*/
|
|
7327
|
+
'serviceId'?: string;
|
|
7328
|
+
/**
|
|
7329
|
+
*
|
|
7330
|
+
* @type {string}
|
|
7331
|
+
* @memberof ServiceReviewModel
|
|
7332
|
+
*/
|
|
7333
|
+
'serviceName'?: string | null;
|
|
7334
|
+
/**
|
|
7335
|
+
*
|
|
7336
|
+
* @type {string}
|
|
7337
|
+
* @memberof ServiceReviewModel
|
|
7338
|
+
*/
|
|
7339
|
+
'patientId'?: string | null;
|
|
7340
|
+
/**
|
|
7341
|
+
*
|
|
7342
|
+
* @type {string}
|
|
7343
|
+
* @memberof ServiceReviewModel
|
|
7344
|
+
*/
|
|
7345
|
+
'patientName'?: string | null;
|
|
7346
|
+
/**
|
|
7347
|
+
*
|
|
7348
|
+
* @type {string}
|
|
7349
|
+
* @memberof ServiceReviewModel
|
|
7350
|
+
*/
|
|
7351
|
+
'body'?: string | null;
|
|
7352
|
+
/**
|
|
7353
|
+
*
|
|
7354
|
+
* @type {boolean}
|
|
7355
|
+
* @memberof ServiceReviewModel
|
|
7356
|
+
*/
|
|
7357
|
+
'recommended'?: boolean;
|
|
7358
|
+
/**
|
|
7359
|
+
*
|
|
7360
|
+
* @type {number}
|
|
7361
|
+
* @memberof ServiceReviewModel
|
|
7362
|
+
*/
|
|
7363
|
+
'rate'?: number;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {ReviewType}
|
|
7367
|
+
* @memberof ServiceReviewModel
|
|
7368
|
+
*/
|
|
7369
|
+
'reviewType'?: ReviewType;
|
|
7370
|
+
/**
|
|
7371
|
+
*
|
|
7372
|
+
* @type {Array<MediaModel>}
|
|
7373
|
+
* @memberof ServiceReviewModel
|
|
7374
|
+
*/
|
|
7375
|
+
'medias'?: Array<MediaModel> | null;
|
|
7376
|
+
}
|
|
7377
|
+
/**
|
|
7378
|
+
*
|
|
7379
|
+
* @export
|
|
7380
|
+
* @interface ServiceReviewsModel
|
|
7381
|
+
*/
|
|
7382
|
+
export interface ServiceReviewsModel {
|
|
7383
|
+
/**
|
|
7384
|
+
*
|
|
7385
|
+
* @type {Array<ServiceReviewItemModel>}
|
|
7386
|
+
* @memberof ServiceReviewsModel
|
|
7387
|
+
*/
|
|
7388
|
+
'items'?: Array<ServiceReviewItemModel> | null;
|
|
7389
|
+
/**
|
|
7390
|
+
*
|
|
7391
|
+
* @type {PagedListMetaData}
|
|
7392
|
+
* @memberof ServiceReviewsModel
|
|
7393
|
+
*/
|
|
7394
|
+
'metaData'?: PagedListMetaData;
|
|
7395
|
+
}
|
|
6930
7396
|
/**
|
|
6931
7397
|
*
|
|
6932
7398
|
* @export
|
|
@@ -7700,6 +8166,43 @@ export interface UpdateConsultationCommand {
|
|
|
7700
8166
|
*/
|
|
7701
8167
|
'timeZone'?: string | null;
|
|
7702
8168
|
}
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @export
|
|
8172
|
+
* @interface UpdateMediaCommand
|
|
8173
|
+
*/
|
|
8174
|
+
export interface UpdateMediaCommand {
|
|
8175
|
+
/**
|
|
8176
|
+
*
|
|
8177
|
+
* @type {MediaType}
|
|
8178
|
+
* @memberof UpdateMediaCommand
|
|
8179
|
+
*/
|
|
8180
|
+
'mediaType'?: MediaType;
|
|
8181
|
+
/**
|
|
8182
|
+
*
|
|
8183
|
+
* @type {string}
|
|
8184
|
+
* @memberof UpdateMediaCommand
|
|
8185
|
+
*/
|
|
8186
|
+
'url'?: string | null;
|
|
8187
|
+
/**
|
|
8188
|
+
*
|
|
8189
|
+
* @type {string}
|
|
8190
|
+
* @memberof UpdateMediaCommand
|
|
8191
|
+
*/
|
|
8192
|
+
'thumbnailUrl'?: string | null;
|
|
8193
|
+
/**
|
|
8194
|
+
*
|
|
8195
|
+
* @type {string}
|
|
8196
|
+
* @memberof UpdateMediaCommand
|
|
8197
|
+
*/
|
|
8198
|
+
'description'?: string | null;
|
|
8199
|
+
/**
|
|
8200
|
+
*
|
|
8201
|
+
* @type {number}
|
|
8202
|
+
* @memberof UpdateMediaCommand
|
|
8203
|
+
*/
|
|
8204
|
+
'order'?: number;
|
|
8205
|
+
}
|
|
7703
8206
|
/**
|
|
7704
8207
|
*
|
|
7705
8208
|
* @export
|
|
@@ -7828,6 +8331,31 @@ export interface UpdateProfileCommand {
|
|
|
7828
8331
|
*/
|
|
7829
8332
|
'locations'?: Array<UserLocationModel> | null;
|
|
7830
8333
|
}
|
|
8334
|
+
/**
|
|
8335
|
+
*
|
|
8336
|
+
* @export
|
|
8337
|
+
* @interface UpdateServiceReviewCommand
|
|
8338
|
+
*/
|
|
8339
|
+
export interface UpdateServiceReviewCommand {
|
|
8340
|
+
/**
|
|
8341
|
+
*
|
|
8342
|
+
* @type {string}
|
|
8343
|
+
* @memberof UpdateServiceReviewCommand
|
|
8344
|
+
*/
|
|
8345
|
+
'body'?: string | null;
|
|
8346
|
+
/**
|
|
8347
|
+
*
|
|
8348
|
+
* @type {boolean}
|
|
8349
|
+
* @memberof UpdateServiceReviewCommand
|
|
8350
|
+
*/
|
|
8351
|
+
'recommended'?: boolean | null;
|
|
8352
|
+
/**
|
|
8353
|
+
*
|
|
8354
|
+
* @type {number}
|
|
8355
|
+
* @memberof UpdateServiceReviewCommand
|
|
8356
|
+
*/
|
|
8357
|
+
'rate'?: number | null;
|
|
8358
|
+
}
|
|
7831
8359
|
/**
|
|
7832
8360
|
*
|
|
7833
8361
|
* @export
|
|
@@ -7931,6 +8459,12 @@ export interface UserModel {
|
|
|
7931
8459
|
* @memberof UserModel
|
|
7932
8460
|
*/
|
|
7933
8461
|
'id'?: string;
|
|
8462
|
+
/**
|
|
8463
|
+
*
|
|
8464
|
+
* @type {string}
|
|
8465
|
+
* @memberof UserModel
|
|
8466
|
+
*/
|
|
8467
|
+
'userType'?: string | null;
|
|
7934
8468
|
/**
|
|
7935
8469
|
*
|
|
7936
8470
|
* @type {string}
|
|
@@ -8009,12 +8543,6 @@ export interface UserModel {
|
|
|
8009
8543
|
* @memberof UserModel
|
|
8010
8544
|
*/
|
|
8011
8545
|
'auditableEntity'?: AuditableEntity;
|
|
8012
|
-
/**
|
|
8013
|
-
*
|
|
8014
|
-
* @type {string}
|
|
8015
|
-
* @memberof UserModel
|
|
8016
|
-
*/
|
|
8017
|
-
'userType'?: string | null;
|
|
8018
8546
|
/**
|
|
8019
8547
|
*
|
|
8020
8548
|
* @type {Array<UserLanguageModel>}
|
|
@@ -14270,6 +14798,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14270
14798
|
* @param {string} [hospitalId]
|
|
14271
14799
|
* @param {string} [languageCode]
|
|
14272
14800
|
* @param {boolean} [returnDefaultValue]
|
|
14801
|
+
* @param {Array<string>} [ids]
|
|
14273
14802
|
* @param {string} [id]
|
|
14274
14803
|
* @param {string} [fullname]
|
|
14275
14804
|
* @param {string} [email]
|
|
@@ -14283,7 +14812,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14283
14812
|
* @param {*} [options] Override http request option.
|
|
14284
14813
|
* @throws {RequiredError}
|
|
14285
14814
|
*/
|
|
14286
|
-
apiV2DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14815
|
+
apiV2DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14287
14816
|
const localVarPath = `/api/v2/doctors`;
|
|
14288
14817
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14289
14818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14308,6 +14837,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14308
14837
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
14309
14838
|
}
|
|
14310
14839
|
|
|
14840
|
+
if (ids) {
|
|
14841
|
+
localVarQueryParameter['Ids'] = ids;
|
|
14842
|
+
}
|
|
14843
|
+
|
|
14311
14844
|
if (id !== undefined) {
|
|
14312
14845
|
localVarQueryParameter['Id'] = id;
|
|
14313
14846
|
}
|
|
@@ -14611,6 +15144,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
14611
15144
|
* @param {string} [hospitalId]
|
|
14612
15145
|
* @param {string} [languageCode]
|
|
14613
15146
|
* @param {boolean} [returnDefaultValue]
|
|
15147
|
+
* @param {Array<string>} [ids]
|
|
14614
15148
|
* @param {string} [id]
|
|
14615
15149
|
* @param {string} [fullname]
|
|
14616
15150
|
* @param {string} [email]
|
|
@@ -14624,8 +15158,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
14624
15158
|
* @param {*} [options] Override http request option.
|
|
14625
15159
|
* @throws {RequiredError}
|
|
14626
15160
|
*/
|
|
14627
|
-
async apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
14628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
15161
|
+
async apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
15162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
14629
15163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14630
15164
|
},
|
|
14631
15165
|
/**
|
|
@@ -14830,6 +15364,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14830
15364
|
* @param {string} [hospitalId]
|
|
14831
15365
|
* @param {string} [languageCode]
|
|
14832
15366
|
* @param {boolean} [returnDefaultValue]
|
|
15367
|
+
* @param {Array<string>} [ids]
|
|
14833
15368
|
* @param {string} [id]
|
|
14834
15369
|
* @param {string} [fullname]
|
|
14835
15370
|
* @param {string} [email]
|
|
@@ -14843,8 +15378,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14843
15378
|
* @param {*} [options] Override http request option.
|
|
14844
15379
|
* @throws {RequiredError}
|
|
14845
15380
|
*/
|
|
14846
|
-
apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
14847
|
-
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15381
|
+
apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
15382
|
+
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14848
15383
|
},
|
|
14849
15384
|
/**
|
|
14850
15385
|
*
|
|
@@ -15073,6 +15608,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
15073
15608
|
* @param {string} [hospitalId]
|
|
15074
15609
|
* @param {string} [languageCode]
|
|
15075
15610
|
* @param {boolean} [returnDefaultValue]
|
|
15611
|
+
* @param {Array<string>} [ids]
|
|
15076
15612
|
* @param {string} [id]
|
|
15077
15613
|
* @param {string} [fullname]
|
|
15078
15614
|
* @param {string} [email]
|
|
@@ -15087,8 +15623,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
15087
15623
|
* @throws {RequiredError}
|
|
15088
15624
|
* @memberof DoctorsApi
|
|
15089
15625
|
*/
|
|
15090
|
-
public apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15091
|
-
return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15626
|
+
public apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15627
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15092
15628
|
}
|
|
15093
15629
|
|
|
15094
15630
|
/**
|
|
@@ -20303,6 +20839,1915 @@ export class ProfilesApi extends BaseAPI {
|
|
|
20303
20839
|
}
|
|
20304
20840
|
|
|
20305
20841
|
|
|
20842
|
+
/**
|
|
20843
|
+
* SearchApi - axios parameter creator
|
|
20844
|
+
* @export
|
|
20845
|
+
*/
|
|
20846
|
+
export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20847
|
+
return {
|
|
20848
|
+
/**
|
|
20849
|
+
*
|
|
20850
|
+
* @param {string} keyword
|
|
20851
|
+
* @param {AutocompleteMode} [mode]
|
|
20852
|
+
* @param {boolean} [fuzzy]
|
|
20853
|
+
* @param {boolean} [highlights]
|
|
20854
|
+
* @param {number} [size]
|
|
20855
|
+
* @param {number} [minimumCoverage]
|
|
20856
|
+
* @param {*} [options] Override http request option.
|
|
20857
|
+
* @throws {RequiredError}
|
|
20858
|
+
*/
|
|
20859
|
+
apiV2SearchAutocompleteGet: async (keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20860
|
+
// verify required parameter 'keyword' is not null or undefined
|
|
20861
|
+
assertParamExists('apiV2SearchAutocompleteGet', 'keyword', keyword)
|
|
20862
|
+
const localVarPath = `/api/v2/search/autocomplete`;
|
|
20863
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20864
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20865
|
+
let baseOptions;
|
|
20866
|
+
if (configuration) {
|
|
20867
|
+
baseOptions = configuration.baseOptions;
|
|
20868
|
+
}
|
|
20869
|
+
|
|
20870
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20871
|
+
const localVarHeaderParameter = {} as any;
|
|
20872
|
+
const localVarQueryParameter = {} as any;
|
|
20873
|
+
|
|
20874
|
+
if (mode !== undefined) {
|
|
20875
|
+
localVarQueryParameter['Mode'] = mode;
|
|
20876
|
+
}
|
|
20877
|
+
|
|
20878
|
+
if (keyword !== undefined) {
|
|
20879
|
+
localVarQueryParameter['Keyword'] = keyword;
|
|
20880
|
+
}
|
|
20881
|
+
|
|
20882
|
+
if (fuzzy !== undefined) {
|
|
20883
|
+
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
20884
|
+
}
|
|
20885
|
+
|
|
20886
|
+
if (highlights !== undefined) {
|
|
20887
|
+
localVarQueryParameter['Highlights'] = highlights;
|
|
20888
|
+
}
|
|
20889
|
+
|
|
20890
|
+
if (size !== undefined) {
|
|
20891
|
+
localVarQueryParameter['Size'] = size;
|
|
20892
|
+
}
|
|
20893
|
+
|
|
20894
|
+
if (minimumCoverage !== undefined) {
|
|
20895
|
+
localVarQueryParameter['MinimumCoverage'] = minimumCoverage;
|
|
20896
|
+
}
|
|
20897
|
+
|
|
20898
|
+
|
|
20899
|
+
|
|
20900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20902
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20903
|
+
|
|
20904
|
+
return {
|
|
20905
|
+
url: toPathString(localVarUrlObj),
|
|
20906
|
+
options: localVarRequestOptions,
|
|
20907
|
+
};
|
|
20908
|
+
},
|
|
20909
|
+
/**
|
|
20910
|
+
*
|
|
20911
|
+
* @param {string} [searchTerm]
|
|
20912
|
+
* @param {boolean} [countOnly]
|
|
20913
|
+
* @param {string} [countryId]
|
|
20914
|
+
* @param {string} [hospitalId]
|
|
20915
|
+
* @param {MarketingType} [marketingType]
|
|
20916
|
+
* @param {string} [languageCode]
|
|
20917
|
+
* @param {number} [page]
|
|
20918
|
+
* @param {number} [limit]
|
|
20919
|
+
* @param {Date} [lastRetrieved]
|
|
20920
|
+
* @param {*} [options] Override http request option.
|
|
20921
|
+
* @throws {RequiredError}
|
|
20922
|
+
*/
|
|
20923
|
+
apiV2SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20924
|
+
const localVarPath = `/api/v2/search/deals`;
|
|
20925
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20926
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20927
|
+
let baseOptions;
|
|
20928
|
+
if (configuration) {
|
|
20929
|
+
baseOptions = configuration.baseOptions;
|
|
20930
|
+
}
|
|
20931
|
+
|
|
20932
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20933
|
+
const localVarHeaderParameter = {} as any;
|
|
20934
|
+
const localVarQueryParameter = {} as any;
|
|
20935
|
+
|
|
20936
|
+
if (searchTerm !== undefined) {
|
|
20937
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
20938
|
+
}
|
|
20939
|
+
|
|
20940
|
+
if (countOnly !== undefined) {
|
|
20941
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
20942
|
+
}
|
|
20943
|
+
|
|
20944
|
+
if (countryId !== undefined) {
|
|
20945
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
20946
|
+
}
|
|
20947
|
+
|
|
20948
|
+
if (hospitalId !== undefined) {
|
|
20949
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
20950
|
+
}
|
|
20951
|
+
|
|
20952
|
+
if (marketingType !== undefined) {
|
|
20953
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
20954
|
+
}
|
|
20955
|
+
|
|
20956
|
+
if (languageCode !== undefined) {
|
|
20957
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
20958
|
+
}
|
|
20959
|
+
|
|
20960
|
+
if (page !== undefined) {
|
|
20961
|
+
localVarQueryParameter['page'] = page;
|
|
20962
|
+
}
|
|
20963
|
+
|
|
20964
|
+
if (limit !== undefined) {
|
|
20965
|
+
localVarQueryParameter['limit'] = limit;
|
|
20966
|
+
}
|
|
20967
|
+
|
|
20968
|
+
if (lastRetrieved !== undefined) {
|
|
20969
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
20970
|
+
(lastRetrieved as any).toISOString() :
|
|
20971
|
+
lastRetrieved;
|
|
20972
|
+
}
|
|
20973
|
+
|
|
20974
|
+
|
|
20975
|
+
|
|
20976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20978
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20979
|
+
|
|
20980
|
+
return {
|
|
20981
|
+
url: toPathString(localVarUrlObj),
|
|
20982
|
+
options: localVarRequestOptions,
|
|
20983
|
+
};
|
|
20984
|
+
},
|
|
20985
|
+
/**
|
|
20986
|
+
*
|
|
20987
|
+
* @param {string} [searchTerm]
|
|
20988
|
+
* @param {boolean} [countOnly]
|
|
20989
|
+
* @param {string} [countryId]
|
|
20990
|
+
* @param {string} [hospitalId]
|
|
20991
|
+
* @param {MarketingType} [marketingType]
|
|
20992
|
+
* @param {string} [languageCode]
|
|
20993
|
+
* @param {number} [page]
|
|
20994
|
+
* @param {number} [limit]
|
|
20995
|
+
* @param {Date} [lastRetrieved]
|
|
20996
|
+
* @param {*} [options] Override http request option.
|
|
20997
|
+
* @throws {RequiredError}
|
|
20998
|
+
*/
|
|
20999
|
+
apiV2SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21000
|
+
const localVarPath = `/api/v2/search/doctors`;
|
|
21001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21003
|
+
let baseOptions;
|
|
21004
|
+
if (configuration) {
|
|
21005
|
+
baseOptions = configuration.baseOptions;
|
|
21006
|
+
}
|
|
21007
|
+
|
|
21008
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21009
|
+
const localVarHeaderParameter = {} as any;
|
|
21010
|
+
const localVarQueryParameter = {} as any;
|
|
21011
|
+
|
|
21012
|
+
if (searchTerm !== undefined) {
|
|
21013
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
21014
|
+
}
|
|
21015
|
+
|
|
21016
|
+
if (countOnly !== undefined) {
|
|
21017
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
21018
|
+
}
|
|
21019
|
+
|
|
21020
|
+
if (countryId !== undefined) {
|
|
21021
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21022
|
+
}
|
|
21023
|
+
|
|
21024
|
+
if (hospitalId !== undefined) {
|
|
21025
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21026
|
+
}
|
|
21027
|
+
|
|
21028
|
+
if (marketingType !== undefined) {
|
|
21029
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21030
|
+
}
|
|
21031
|
+
|
|
21032
|
+
if (languageCode !== undefined) {
|
|
21033
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21034
|
+
}
|
|
21035
|
+
|
|
21036
|
+
if (page !== undefined) {
|
|
21037
|
+
localVarQueryParameter['page'] = page;
|
|
21038
|
+
}
|
|
21039
|
+
|
|
21040
|
+
if (limit !== undefined) {
|
|
21041
|
+
localVarQueryParameter['limit'] = limit;
|
|
21042
|
+
}
|
|
21043
|
+
|
|
21044
|
+
if (lastRetrieved !== undefined) {
|
|
21045
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21046
|
+
(lastRetrieved as any).toISOString() :
|
|
21047
|
+
lastRetrieved;
|
|
21048
|
+
}
|
|
21049
|
+
|
|
21050
|
+
|
|
21051
|
+
|
|
21052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21054
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21055
|
+
|
|
21056
|
+
return {
|
|
21057
|
+
url: toPathString(localVarUrlObj),
|
|
21058
|
+
options: localVarRequestOptions,
|
|
21059
|
+
};
|
|
21060
|
+
},
|
|
21061
|
+
/**
|
|
21062
|
+
*
|
|
21063
|
+
* @param {string} [searchTerm]
|
|
21064
|
+
* @param {boolean} [countOnly]
|
|
21065
|
+
* @param {string} [countryId]
|
|
21066
|
+
* @param {string} [hospitalId]
|
|
21067
|
+
* @param {MarketingType} [marketingType]
|
|
21068
|
+
* @param {string} [languageCode]
|
|
21069
|
+
* @param {number} [page]
|
|
21070
|
+
* @param {number} [limit]
|
|
21071
|
+
* @param {Date} [lastRetrieved]
|
|
21072
|
+
* @param {*} [options] Override http request option.
|
|
21073
|
+
* @throws {RequiredError}
|
|
21074
|
+
*/
|
|
21075
|
+
apiV2SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21076
|
+
const localVarPath = `/api/v2/search/getcount`;
|
|
21077
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21079
|
+
let baseOptions;
|
|
21080
|
+
if (configuration) {
|
|
21081
|
+
baseOptions = configuration.baseOptions;
|
|
21082
|
+
}
|
|
21083
|
+
|
|
21084
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21085
|
+
const localVarHeaderParameter = {} as any;
|
|
21086
|
+
const localVarQueryParameter = {} as any;
|
|
21087
|
+
|
|
21088
|
+
if (searchTerm !== undefined) {
|
|
21089
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
21090
|
+
}
|
|
21091
|
+
|
|
21092
|
+
if (countOnly !== undefined) {
|
|
21093
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
21094
|
+
}
|
|
21095
|
+
|
|
21096
|
+
if (countryId !== undefined) {
|
|
21097
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21098
|
+
}
|
|
21099
|
+
|
|
21100
|
+
if (hospitalId !== undefined) {
|
|
21101
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21102
|
+
}
|
|
21103
|
+
|
|
21104
|
+
if (marketingType !== undefined) {
|
|
21105
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21106
|
+
}
|
|
21107
|
+
|
|
21108
|
+
if (languageCode !== undefined) {
|
|
21109
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21110
|
+
}
|
|
21111
|
+
|
|
21112
|
+
if (page !== undefined) {
|
|
21113
|
+
localVarQueryParameter['page'] = page;
|
|
21114
|
+
}
|
|
21115
|
+
|
|
21116
|
+
if (limit !== undefined) {
|
|
21117
|
+
localVarQueryParameter['limit'] = limit;
|
|
21118
|
+
}
|
|
21119
|
+
|
|
21120
|
+
if (lastRetrieved !== undefined) {
|
|
21121
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21122
|
+
(lastRetrieved as any).toISOString() :
|
|
21123
|
+
lastRetrieved;
|
|
21124
|
+
}
|
|
21125
|
+
|
|
21126
|
+
|
|
21127
|
+
|
|
21128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21130
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21131
|
+
|
|
21132
|
+
return {
|
|
21133
|
+
url: toPathString(localVarUrlObj),
|
|
21134
|
+
options: localVarRequestOptions,
|
|
21135
|
+
};
|
|
21136
|
+
},
|
|
21137
|
+
/**
|
|
21138
|
+
*
|
|
21139
|
+
* @param {string} [searchTerm]
|
|
21140
|
+
* @param {boolean} [countOnly]
|
|
21141
|
+
* @param {string} [countryId]
|
|
21142
|
+
* @param {string} [hospitalId]
|
|
21143
|
+
* @param {MarketingType} [marketingType]
|
|
21144
|
+
* @param {string} [languageCode]
|
|
21145
|
+
* @param {number} [page]
|
|
21146
|
+
* @param {number} [limit]
|
|
21147
|
+
* @param {Date} [lastRetrieved]
|
|
21148
|
+
* @param {*} [options] Override http request option.
|
|
21149
|
+
* @throws {RequiredError}
|
|
21150
|
+
*/
|
|
21151
|
+
apiV2SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21152
|
+
const localVarPath = `/api/v2/search/hospitals`;
|
|
21153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21155
|
+
let baseOptions;
|
|
21156
|
+
if (configuration) {
|
|
21157
|
+
baseOptions = configuration.baseOptions;
|
|
21158
|
+
}
|
|
21159
|
+
|
|
21160
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21161
|
+
const localVarHeaderParameter = {} as any;
|
|
21162
|
+
const localVarQueryParameter = {} as any;
|
|
21163
|
+
|
|
21164
|
+
if (searchTerm !== undefined) {
|
|
21165
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
21166
|
+
}
|
|
21167
|
+
|
|
21168
|
+
if (countOnly !== undefined) {
|
|
21169
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
21170
|
+
}
|
|
21171
|
+
|
|
21172
|
+
if (countryId !== undefined) {
|
|
21173
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21174
|
+
}
|
|
21175
|
+
|
|
21176
|
+
if (hospitalId !== undefined) {
|
|
21177
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21178
|
+
}
|
|
21179
|
+
|
|
21180
|
+
if (marketingType !== undefined) {
|
|
21181
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21182
|
+
}
|
|
21183
|
+
|
|
21184
|
+
if (languageCode !== undefined) {
|
|
21185
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21186
|
+
}
|
|
21187
|
+
|
|
21188
|
+
if (page !== undefined) {
|
|
21189
|
+
localVarQueryParameter['page'] = page;
|
|
21190
|
+
}
|
|
21191
|
+
|
|
21192
|
+
if (limit !== undefined) {
|
|
21193
|
+
localVarQueryParameter['limit'] = limit;
|
|
21194
|
+
}
|
|
21195
|
+
|
|
21196
|
+
if (lastRetrieved !== undefined) {
|
|
21197
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21198
|
+
(lastRetrieved as any).toISOString() :
|
|
21199
|
+
lastRetrieved;
|
|
21200
|
+
}
|
|
21201
|
+
|
|
21202
|
+
|
|
21203
|
+
|
|
21204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21206
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21207
|
+
|
|
21208
|
+
return {
|
|
21209
|
+
url: toPathString(localVarUrlObj),
|
|
21210
|
+
options: localVarRequestOptions,
|
|
21211
|
+
};
|
|
21212
|
+
},
|
|
21213
|
+
/**
|
|
21214
|
+
*
|
|
21215
|
+
* @param {string} [searchTerm]
|
|
21216
|
+
* @param {boolean} [countOnly]
|
|
21217
|
+
* @param {string} [countryId]
|
|
21218
|
+
* @param {string} [hospitalId]
|
|
21219
|
+
* @param {MarketingType} [marketingType]
|
|
21220
|
+
* @param {string} [languageCode]
|
|
21221
|
+
* @param {number} [page]
|
|
21222
|
+
* @param {number} [limit]
|
|
21223
|
+
* @param {Date} [lastRetrieved]
|
|
21224
|
+
* @param {*} [options] Override http request option.
|
|
21225
|
+
* @throws {RequiredError}
|
|
21226
|
+
*/
|
|
21227
|
+
apiV2SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21228
|
+
const localVarPath = `/api/v2/search/specialties`;
|
|
21229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21231
|
+
let baseOptions;
|
|
21232
|
+
if (configuration) {
|
|
21233
|
+
baseOptions = configuration.baseOptions;
|
|
21234
|
+
}
|
|
21235
|
+
|
|
21236
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21237
|
+
const localVarHeaderParameter = {} as any;
|
|
21238
|
+
const localVarQueryParameter = {} as any;
|
|
21239
|
+
|
|
21240
|
+
if (searchTerm !== undefined) {
|
|
21241
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
21242
|
+
}
|
|
21243
|
+
|
|
21244
|
+
if (countOnly !== undefined) {
|
|
21245
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
21246
|
+
}
|
|
21247
|
+
|
|
21248
|
+
if (countryId !== undefined) {
|
|
21249
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21250
|
+
}
|
|
21251
|
+
|
|
21252
|
+
if (hospitalId !== undefined) {
|
|
21253
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21254
|
+
}
|
|
21255
|
+
|
|
21256
|
+
if (marketingType !== undefined) {
|
|
21257
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21258
|
+
}
|
|
21259
|
+
|
|
21260
|
+
if (languageCode !== undefined) {
|
|
21261
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21262
|
+
}
|
|
21263
|
+
|
|
21264
|
+
if (page !== undefined) {
|
|
21265
|
+
localVarQueryParameter['page'] = page;
|
|
21266
|
+
}
|
|
21267
|
+
|
|
21268
|
+
if (limit !== undefined) {
|
|
21269
|
+
localVarQueryParameter['limit'] = limit;
|
|
21270
|
+
}
|
|
21271
|
+
|
|
21272
|
+
if (lastRetrieved !== undefined) {
|
|
21273
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21274
|
+
(lastRetrieved as any).toISOString() :
|
|
21275
|
+
lastRetrieved;
|
|
21276
|
+
}
|
|
21277
|
+
|
|
21278
|
+
|
|
21279
|
+
|
|
21280
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21282
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21283
|
+
|
|
21284
|
+
return {
|
|
21285
|
+
url: toPathString(localVarUrlObj),
|
|
21286
|
+
options: localVarRequestOptions,
|
|
21287
|
+
};
|
|
21288
|
+
},
|
|
21289
|
+
/**
|
|
21290
|
+
*
|
|
21291
|
+
* @param {string} [searchTerm]
|
|
21292
|
+
* @param {boolean} [countOnly]
|
|
21293
|
+
* @param {string} [countryId]
|
|
21294
|
+
* @param {string} [hospitalId]
|
|
21295
|
+
* @param {MarketingType} [marketingType]
|
|
21296
|
+
* @param {string} [languageCode]
|
|
21297
|
+
* @param {number} [page]
|
|
21298
|
+
* @param {number} [limit]
|
|
21299
|
+
* @param {Date} [lastRetrieved]
|
|
21300
|
+
* @param {*} [options] Override http request option.
|
|
21301
|
+
* @throws {RequiredError}
|
|
21302
|
+
*/
|
|
21303
|
+
apiV2SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21304
|
+
const localVarPath = `/api/v2/search/specialtytypes`;
|
|
21305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21307
|
+
let baseOptions;
|
|
21308
|
+
if (configuration) {
|
|
21309
|
+
baseOptions = configuration.baseOptions;
|
|
21310
|
+
}
|
|
21311
|
+
|
|
21312
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21313
|
+
const localVarHeaderParameter = {} as any;
|
|
21314
|
+
const localVarQueryParameter = {} as any;
|
|
21315
|
+
|
|
21316
|
+
if (searchTerm !== undefined) {
|
|
21317
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
21318
|
+
}
|
|
21319
|
+
|
|
21320
|
+
if (countOnly !== undefined) {
|
|
21321
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
21322
|
+
}
|
|
21323
|
+
|
|
21324
|
+
if (countryId !== undefined) {
|
|
21325
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
21326
|
+
}
|
|
21327
|
+
|
|
21328
|
+
if (hospitalId !== undefined) {
|
|
21329
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21330
|
+
}
|
|
21331
|
+
|
|
21332
|
+
if (marketingType !== undefined) {
|
|
21333
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21334
|
+
}
|
|
21335
|
+
|
|
21336
|
+
if (languageCode !== undefined) {
|
|
21337
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21338
|
+
}
|
|
21339
|
+
|
|
21340
|
+
if (page !== undefined) {
|
|
21341
|
+
localVarQueryParameter['page'] = page;
|
|
21342
|
+
}
|
|
21343
|
+
|
|
21344
|
+
if (limit !== undefined) {
|
|
21345
|
+
localVarQueryParameter['limit'] = limit;
|
|
21346
|
+
}
|
|
21347
|
+
|
|
21348
|
+
if (lastRetrieved !== undefined) {
|
|
21349
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21350
|
+
(lastRetrieved as any).toISOString() :
|
|
21351
|
+
lastRetrieved;
|
|
21352
|
+
}
|
|
21353
|
+
|
|
21354
|
+
|
|
21355
|
+
|
|
21356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21359
|
+
|
|
21360
|
+
return {
|
|
21361
|
+
url: toPathString(localVarUrlObj),
|
|
21362
|
+
options: localVarRequestOptions,
|
|
21363
|
+
};
|
|
21364
|
+
},
|
|
21365
|
+
/**
|
|
21366
|
+
*
|
|
21367
|
+
* @param {string} keyword
|
|
21368
|
+
* @param {boolean} [fuzzy]
|
|
21369
|
+
* @param {boolean} [highlights]
|
|
21370
|
+
* @param {number} [size]
|
|
21371
|
+
* @param {*} [options] Override http request option.
|
|
21372
|
+
* @throws {RequiredError}
|
|
21373
|
+
*/
|
|
21374
|
+
apiV2SearchSuggestGet: async (keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21375
|
+
// verify required parameter 'keyword' is not null or undefined
|
|
21376
|
+
assertParamExists('apiV2SearchSuggestGet', 'keyword', keyword)
|
|
21377
|
+
const localVarPath = `/api/v2/search/suggest`;
|
|
21378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21380
|
+
let baseOptions;
|
|
21381
|
+
if (configuration) {
|
|
21382
|
+
baseOptions = configuration.baseOptions;
|
|
21383
|
+
}
|
|
21384
|
+
|
|
21385
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21386
|
+
const localVarHeaderParameter = {} as any;
|
|
21387
|
+
const localVarQueryParameter = {} as any;
|
|
21388
|
+
|
|
21389
|
+
if (keyword !== undefined) {
|
|
21390
|
+
localVarQueryParameter['Keyword'] = keyword;
|
|
21391
|
+
}
|
|
21392
|
+
|
|
21393
|
+
if (fuzzy !== undefined) {
|
|
21394
|
+
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
21395
|
+
}
|
|
21396
|
+
|
|
21397
|
+
if (highlights !== undefined) {
|
|
21398
|
+
localVarQueryParameter['Highlights'] = highlights;
|
|
21399
|
+
}
|
|
21400
|
+
|
|
21401
|
+
if (size !== undefined) {
|
|
21402
|
+
localVarQueryParameter['Size'] = size;
|
|
21403
|
+
}
|
|
21404
|
+
|
|
21405
|
+
|
|
21406
|
+
|
|
21407
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21408
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21409
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21410
|
+
|
|
21411
|
+
return {
|
|
21412
|
+
url: toPathString(localVarUrlObj),
|
|
21413
|
+
options: localVarRequestOptions,
|
|
21414
|
+
};
|
|
21415
|
+
},
|
|
21416
|
+
}
|
|
21417
|
+
};
|
|
21418
|
+
|
|
21419
|
+
/**
|
|
21420
|
+
* SearchApi - functional programming interface
|
|
21421
|
+
* @export
|
|
21422
|
+
*/
|
|
21423
|
+
export const SearchApiFp = function(configuration?: Configuration) {
|
|
21424
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
|
|
21425
|
+
return {
|
|
21426
|
+
/**
|
|
21427
|
+
*
|
|
21428
|
+
* @param {string} keyword
|
|
21429
|
+
* @param {AutocompleteMode} [mode]
|
|
21430
|
+
* @param {boolean} [fuzzy]
|
|
21431
|
+
* @param {boolean} [highlights]
|
|
21432
|
+
* @param {number} [size]
|
|
21433
|
+
* @param {number} [minimumCoverage]
|
|
21434
|
+
* @param {*} [options] Override http request option.
|
|
21435
|
+
* @throws {RequiredError}
|
|
21436
|
+
*/
|
|
21437
|
+
async apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchServiceAutocompleteModel>> {
|
|
21438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options);
|
|
21439
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21440
|
+
},
|
|
21441
|
+
/**
|
|
21442
|
+
*
|
|
21443
|
+
* @param {string} [searchTerm]
|
|
21444
|
+
* @param {boolean} [countOnly]
|
|
21445
|
+
* @param {string} [countryId]
|
|
21446
|
+
* @param {string} [hospitalId]
|
|
21447
|
+
* @param {MarketingType} [marketingType]
|
|
21448
|
+
* @param {string} [languageCode]
|
|
21449
|
+
* @param {number} [page]
|
|
21450
|
+
* @param {number} [limit]
|
|
21451
|
+
* @param {Date} [lastRetrieved]
|
|
21452
|
+
* @param {*} [options] Override http request option.
|
|
21453
|
+
* @throws {RequiredError}
|
|
21454
|
+
*/
|
|
21455
|
+
async apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
21456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21458
|
+
},
|
|
21459
|
+
/**
|
|
21460
|
+
*
|
|
21461
|
+
* @param {string} [searchTerm]
|
|
21462
|
+
* @param {boolean} [countOnly]
|
|
21463
|
+
* @param {string} [countryId]
|
|
21464
|
+
* @param {string} [hospitalId]
|
|
21465
|
+
* @param {MarketingType} [marketingType]
|
|
21466
|
+
* @param {string} [languageCode]
|
|
21467
|
+
* @param {number} [page]
|
|
21468
|
+
* @param {number} [limit]
|
|
21469
|
+
* @param {Date} [lastRetrieved]
|
|
21470
|
+
* @param {*} [options] Override http request option.
|
|
21471
|
+
* @throws {RequiredError}
|
|
21472
|
+
*/
|
|
21473
|
+
async apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
21474
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21475
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21476
|
+
},
|
|
21477
|
+
/**
|
|
21478
|
+
*
|
|
21479
|
+
* @param {string} [searchTerm]
|
|
21480
|
+
* @param {boolean} [countOnly]
|
|
21481
|
+
* @param {string} [countryId]
|
|
21482
|
+
* @param {string} [hospitalId]
|
|
21483
|
+
* @param {MarketingType} [marketingType]
|
|
21484
|
+
* @param {string} [languageCode]
|
|
21485
|
+
* @param {number} [page]
|
|
21486
|
+
* @param {number} [limit]
|
|
21487
|
+
* @param {Date} [lastRetrieved]
|
|
21488
|
+
* @param {*} [options] Override http request option.
|
|
21489
|
+
* @throws {RequiredError}
|
|
21490
|
+
*/
|
|
21491
|
+
async apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchModel>> {
|
|
21492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21493
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21494
|
+
},
|
|
21495
|
+
/**
|
|
21496
|
+
*
|
|
21497
|
+
* @param {string} [searchTerm]
|
|
21498
|
+
* @param {boolean} [countOnly]
|
|
21499
|
+
* @param {string} [countryId]
|
|
21500
|
+
* @param {string} [hospitalId]
|
|
21501
|
+
* @param {MarketingType} [marketingType]
|
|
21502
|
+
* @param {string} [languageCode]
|
|
21503
|
+
* @param {number} [page]
|
|
21504
|
+
* @param {number} [limit]
|
|
21505
|
+
* @param {Date} [lastRetrieved]
|
|
21506
|
+
* @param {*} [options] Override http request option.
|
|
21507
|
+
* @throws {RequiredError}
|
|
21508
|
+
*/
|
|
21509
|
+
async apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
21510
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21511
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21512
|
+
},
|
|
21513
|
+
/**
|
|
21514
|
+
*
|
|
21515
|
+
* @param {string} [searchTerm]
|
|
21516
|
+
* @param {boolean} [countOnly]
|
|
21517
|
+
* @param {string} [countryId]
|
|
21518
|
+
* @param {string} [hospitalId]
|
|
21519
|
+
* @param {MarketingType} [marketingType]
|
|
21520
|
+
* @param {string} [languageCode]
|
|
21521
|
+
* @param {number} [page]
|
|
21522
|
+
* @param {number} [limit]
|
|
21523
|
+
* @param {Date} [lastRetrieved]
|
|
21524
|
+
* @param {*} [options] Override http request option.
|
|
21525
|
+
* @throws {RequiredError}
|
|
21526
|
+
*/
|
|
21527
|
+
async apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
21528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21529
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21530
|
+
},
|
|
21531
|
+
/**
|
|
21532
|
+
*
|
|
21533
|
+
* @param {string} [searchTerm]
|
|
21534
|
+
* @param {boolean} [countOnly]
|
|
21535
|
+
* @param {string} [countryId]
|
|
21536
|
+
* @param {string} [hospitalId]
|
|
21537
|
+
* @param {MarketingType} [marketingType]
|
|
21538
|
+
* @param {string} [languageCode]
|
|
21539
|
+
* @param {number} [page]
|
|
21540
|
+
* @param {number} [limit]
|
|
21541
|
+
* @param {Date} [lastRetrieved]
|
|
21542
|
+
* @param {*} [options] Override http request option.
|
|
21543
|
+
* @throws {RequiredError}
|
|
21544
|
+
*/
|
|
21545
|
+
async apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
21546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
21547
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21548
|
+
},
|
|
21549
|
+
/**
|
|
21550
|
+
*
|
|
21551
|
+
* @param {string} keyword
|
|
21552
|
+
* @param {boolean} [fuzzy]
|
|
21553
|
+
* @param {boolean} [highlights]
|
|
21554
|
+
* @param {number} [size]
|
|
21555
|
+
* @param {*} [options] Override http request option.
|
|
21556
|
+
* @throws {RequiredError}
|
|
21557
|
+
*/
|
|
21558
|
+
async apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchServiceSuggestModel>> {
|
|
21559
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options);
|
|
21560
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21561
|
+
},
|
|
21562
|
+
}
|
|
21563
|
+
};
|
|
21564
|
+
|
|
21565
|
+
/**
|
|
21566
|
+
* SearchApi - factory interface
|
|
21567
|
+
* @export
|
|
21568
|
+
*/
|
|
21569
|
+
export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
21570
|
+
const localVarFp = SearchApiFp(configuration)
|
|
21571
|
+
return {
|
|
21572
|
+
/**
|
|
21573
|
+
*
|
|
21574
|
+
* @param {string} keyword
|
|
21575
|
+
* @param {AutocompleteMode} [mode]
|
|
21576
|
+
* @param {boolean} [fuzzy]
|
|
21577
|
+
* @param {boolean} [highlights]
|
|
21578
|
+
* @param {number} [size]
|
|
21579
|
+
* @param {number} [minimumCoverage]
|
|
21580
|
+
* @param {*} [options] Override http request option.
|
|
21581
|
+
* @throws {RequiredError}
|
|
21582
|
+
*/
|
|
21583
|
+
apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: any): AxiosPromise<AzureSearchServiceAutocompleteModel> {
|
|
21584
|
+
return localVarFp.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then((request) => request(axios, basePath));
|
|
21585
|
+
},
|
|
21586
|
+
/**
|
|
21587
|
+
*
|
|
21588
|
+
* @param {string} [searchTerm]
|
|
21589
|
+
* @param {boolean} [countOnly]
|
|
21590
|
+
* @param {string} [countryId]
|
|
21591
|
+
* @param {string} [hospitalId]
|
|
21592
|
+
* @param {MarketingType} [marketingType]
|
|
21593
|
+
* @param {string} [languageCode]
|
|
21594
|
+
* @param {number} [page]
|
|
21595
|
+
* @param {number} [limit]
|
|
21596
|
+
* @param {Date} [lastRetrieved]
|
|
21597
|
+
* @param {*} [options] Override http request option.
|
|
21598
|
+
* @throws {RequiredError}
|
|
21599
|
+
*/
|
|
21600
|
+
apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
21601
|
+
return localVarFp.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21602
|
+
},
|
|
21603
|
+
/**
|
|
21604
|
+
*
|
|
21605
|
+
* @param {string} [searchTerm]
|
|
21606
|
+
* @param {boolean} [countOnly]
|
|
21607
|
+
* @param {string} [countryId]
|
|
21608
|
+
* @param {string} [hospitalId]
|
|
21609
|
+
* @param {MarketingType} [marketingType]
|
|
21610
|
+
* @param {string} [languageCode]
|
|
21611
|
+
* @param {number} [page]
|
|
21612
|
+
* @param {number} [limit]
|
|
21613
|
+
* @param {Date} [lastRetrieved]
|
|
21614
|
+
* @param {*} [options] Override http request option.
|
|
21615
|
+
* @throws {RequiredError}
|
|
21616
|
+
*/
|
|
21617
|
+
apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
21618
|
+
return localVarFp.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21619
|
+
},
|
|
21620
|
+
/**
|
|
21621
|
+
*
|
|
21622
|
+
* @param {string} [searchTerm]
|
|
21623
|
+
* @param {boolean} [countOnly]
|
|
21624
|
+
* @param {string} [countryId]
|
|
21625
|
+
* @param {string} [hospitalId]
|
|
21626
|
+
* @param {MarketingType} [marketingType]
|
|
21627
|
+
* @param {string} [languageCode]
|
|
21628
|
+
* @param {number} [page]
|
|
21629
|
+
* @param {number} [limit]
|
|
21630
|
+
* @param {Date} [lastRetrieved]
|
|
21631
|
+
* @param {*} [options] Override http request option.
|
|
21632
|
+
* @throws {RequiredError}
|
|
21633
|
+
*/
|
|
21634
|
+
apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
|
|
21635
|
+
return localVarFp.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21636
|
+
},
|
|
21637
|
+
/**
|
|
21638
|
+
*
|
|
21639
|
+
* @param {string} [searchTerm]
|
|
21640
|
+
* @param {boolean} [countOnly]
|
|
21641
|
+
* @param {string} [countryId]
|
|
21642
|
+
* @param {string} [hospitalId]
|
|
21643
|
+
* @param {MarketingType} [marketingType]
|
|
21644
|
+
* @param {string} [languageCode]
|
|
21645
|
+
* @param {number} [page]
|
|
21646
|
+
* @param {number} [limit]
|
|
21647
|
+
* @param {Date} [lastRetrieved]
|
|
21648
|
+
* @param {*} [options] Override http request option.
|
|
21649
|
+
* @throws {RequiredError}
|
|
21650
|
+
*/
|
|
21651
|
+
apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
21652
|
+
return localVarFp.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21653
|
+
},
|
|
21654
|
+
/**
|
|
21655
|
+
*
|
|
21656
|
+
* @param {string} [searchTerm]
|
|
21657
|
+
* @param {boolean} [countOnly]
|
|
21658
|
+
* @param {string} [countryId]
|
|
21659
|
+
* @param {string} [hospitalId]
|
|
21660
|
+
* @param {MarketingType} [marketingType]
|
|
21661
|
+
* @param {string} [languageCode]
|
|
21662
|
+
* @param {number} [page]
|
|
21663
|
+
* @param {number} [limit]
|
|
21664
|
+
* @param {Date} [lastRetrieved]
|
|
21665
|
+
* @param {*} [options] Override http request option.
|
|
21666
|
+
* @throws {RequiredError}
|
|
21667
|
+
*/
|
|
21668
|
+
apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
21669
|
+
return localVarFp.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21670
|
+
},
|
|
21671
|
+
/**
|
|
21672
|
+
*
|
|
21673
|
+
* @param {string} [searchTerm]
|
|
21674
|
+
* @param {boolean} [countOnly]
|
|
21675
|
+
* @param {string} [countryId]
|
|
21676
|
+
* @param {string} [hospitalId]
|
|
21677
|
+
* @param {MarketingType} [marketingType]
|
|
21678
|
+
* @param {string} [languageCode]
|
|
21679
|
+
* @param {number} [page]
|
|
21680
|
+
* @param {number} [limit]
|
|
21681
|
+
* @param {Date} [lastRetrieved]
|
|
21682
|
+
* @param {*} [options] Override http request option.
|
|
21683
|
+
* @throws {RequiredError}
|
|
21684
|
+
*/
|
|
21685
|
+
apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
21686
|
+
return localVarFp.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21687
|
+
},
|
|
21688
|
+
/**
|
|
21689
|
+
*
|
|
21690
|
+
* @param {string} keyword
|
|
21691
|
+
* @param {boolean} [fuzzy]
|
|
21692
|
+
* @param {boolean} [highlights]
|
|
21693
|
+
* @param {number} [size]
|
|
21694
|
+
* @param {*} [options] Override http request option.
|
|
21695
|
+
* @throws {RequiredError}
|
|
21696
|
+
*/
|
|
21697
|
+
apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: any): AxiosPromise<AzureSearchServiceSuggestModel> {
|
|
21698
|
+
return localVarFp.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then((request) => request(axios, basePath));
|
|
21699
|
+
},
|
|
21700
|
+
};
|
|
21701
|
+
};
|
|
21702
|
+
|
|
21703
|
+
/**
|
|
21704
|
+
* SearchApi - object-oriented interface
|
|
21705
|
+
* @export
|
|
21706
|
+
* @class SearchApi
|
|
21707
|
+
* @extends {BaseAPI}
|
|
21708
|
+
*/
|
|
21709
|
+
export class SearchApi extends BaseAPI {
|
|
21710
|
+
/**
|
|
21711
|
+
*
|
|
21712
|
+
* @param {string} keyword
|
|
21713
|
+
* @param {AutocompleteMode} [mode]
|
|
21714
|
+
* @param {boolean} [fuzzy]
|
|
21715
|
+
* @param {boolean} [highlights]
|
|
21716
|
+
* @param {number} [size]
|
|
21717
|
+
* @param {number} [minimumCoverage]
|
|
21718
|
+
* @param {*} [options] Override http request option.
|
|
21719
|
+
* @throws {RequiredError}
|
|
21720
|
+
* @memberof SearchApi
|
|
21721
|
+
*/
|
|
21722
|
+
public apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: AxiosRequestConfig) {
|
|
21723
|
+
return SearchApiFp(this.configuration).apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then((request) => request(this.axios, this.basePath));
|
|
21724
|
+
}
|
|
21725
|
+
|
|
21726
|
+
/**
|
|
21727
|
+
*
|
|
21728
|
+
* @param {string} [searchTerm]
|
|
21729
|
+
* @param {boolean} [countOnly]
|
|
21730
|
+
* @param {string} [countryId]
|
|
21731
|
+
* @param {string} [hospitalId]
|
|
21732
|
+
* @param {MarketingType} [marketingType]
|
|
21733
|
+
* @param {string} [languageCode]
|
|
21734
|
+
* @param {number} [page]
|
|
21735
|
+
* @param {number} [limit]
|
|
21736
|
+
* @param {Date} [lastRetrieved]
|
|
21737
|
+
* @param {*} [options] Override http request option.
|
|
21738
|
+
* @throws {RequiredError}
|
|
21739
|
+
* @memberof SearchApi
|
|
21740
|
+
*/
|
|
21741
|
+
public apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21742
|
+
return SearchApiFp(this.configuration).apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21743
|
+
}
|
|
21744
|
+
|
|
21745
|
+
/**
|
|
21746
|
+
*
|
|
21747
|
+
* @param {string} [searchTerm]
|
|
21748
|
+
* @param {boolean} [countOnly]
|
|
21749
|
+
* @param {string} [countryId]
|
|
21750
|
+
* @param {string} [hospitalId]
|
|
21751
|
+
* @param {MarketingType} [marketingType]
|
|
21752
|
+
* @param {string} [languageCode]
|
|
21753
|
+
* @param {number} [page]
|
|
21754
|
+
* @param {number} [limit]
|
|
21755
|
+
* @param {Date} [lastRetrieved]
|
|
21756
|
+
* @param {*} [options] Override http request option.
|
|
21757
|
+
* @throws {RequiredError}
|
|
21758
|
+
* @memberof SearchApi
|
|
21759
|
+
*/
|
|
21760
|
+
public apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21761
|
+
return SearchApiFp(this.configuration).apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21762
|
+
}
|
|
21763
|
+
|
|
21764
|
+
/**
|
|
21765
|
+
*
|
|
21766
|
+
* @param {string} [searchTerm]
|
|
21767
|
+
* @param {boolean} [countOnly]
|
|
21768
|
+
* @param {string} [countryId]
|
|
21769
|
+
* @param {string} [hospitalId]
|
|
21770
|
+
* @param {MarketingType} [marketingType]
|
|
21771
|
+
* @param {string} [languageCode]
|
|
21772
|
+
* @param {number} [page]
|
|
21773
|
+
* @param {number} [limit]
|
|
21774
|
+
* @param {Date} [lastRetrieved]
|
|
21775
|
+
* @param {*} [options] Override http request option.
|
|
21776
|
+
* @throws {RequiredError}
|
|
21777
|
+
* @memberof SearchApi
|
|
21778
|
+
*/
|
|
21779
|
+
public apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21780
|
+
return SearchApiFp(this.configuration).apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21781
|
+
}
|
|
21782
|
+
|
|
21783
|
+
/**
|
|
21784
|
+
*
|
|
21785
|
+
* @param {string} [searchTerm]
|
|
21786
|
+
* @param {boolean} [countOnly]
|
|
21787
|
+
* @param {string} [countryId]
|
|
21788
|
+
* @param {string} [hospitalId]
|
|
21789
|
+
* @param {MarketingType} [marketingType]
|
|
21790
|
+
* @param {string} [languageCode]
|
|
21791
|
+
* @param {number} [page]
|
|
21792
|
+
* @param {number} [limit]
|
|
21793
|
+
* @param {Date} [lastRetrieved]
|
|
21794
|
+
* @param {*} [options] Override http request option.
|
|
21795
|
+
* @throws {RequiredError}
|
|
21796
|
+
* @memberof SearchApi
|
|
21797
|
+
*/
|
|
21798
|
+
public apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21799
|
+
return SearchApiFp(this.configuration).apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21800
|
+
}
|
|
21801
|
+
|
|
21802
|
+
/**
|
|
21803
|
+
*
|
|
21804
|
+
* @param {string} [searchTerm]
|
|
21805
|
+
* @param {boolean} [countOnly]
|
|
21806
|
+
* @param {string} [countryId]
|
|
21807
|
+
* @param {string} [hospitalId]
|
|
21808
|
+
* @param {MarketingType} [marketingType]
|
|
21809
|
+
* @param {string} [languageCode]
|
|
21810
|
+
* @param {number} [page]
|
|
21811
|
+
* @param {number} [limit]
|
|
21812
|
+
* @param {Date} [lastRetrieved]
|
|
21813
|
+
* @param {*} [options] Override http request option.
|
|
21814
|
+
* @throws {RequiredError}
|
|
21815
|
+
* @memberof SearchApi
|
|
21816
|
+
*/
|
|
21817
|
+
public apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21818
|
+
return SearchApiFp(this.configuration).apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21819
|
+
}
|
|
21820
|
+
|
|
21821
|
+
/**
|
|
21822
|
+
*
|
|
21823
|
+
* @param {string} [searchTerm]
|
|
21824
|
+
* @param {boolean} [countOnly]
|
|
21825
|
+
* @param {string} [countryId]
|
|
21826
|
+
* @param {string} [hospitalId]
|
|
21827
|
+
* @param {MarketingType} [marketingType]
|
|
21828
|
+
* @param {string} [languageCode]
|
|
21829
|
+
* @param {number} [page]
|
|
21830
|
+
* @param {number} [limit]
|
|
21831
|
+
* @param {Date} [lastRetrieved]
|
|
21832
|
+
* @param {*} [options] Override http request option.
|
|
21833
|
+
* @throws {RequiredError}
|
|
21834
|
+
* @memberof SearchApi
|
|
21835
|
+
*/
|
|
21836
|
+
public apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21837
|
+
return SearchApiFp(this.configuration).apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21838
|
+
}
|
|
21839
|
+
|
|
21840
|
+
/**
|
|
21841
|
+
*
|
|
21842
|
+
* @param {string} keyword
|
|
21843
|
+
* @param {boolean} [fuzzy]
|
|
21844
|
+
* @param {boolean} [highlights]
|
|
21845
|
+
* @param {number} [size]
|
|
21846
|
+
* @param {*} [options] Override http request option.
|
|
21847
|
+
* @throws {RequiredError}
|
|
21848
|
+
* @memberof SearchApi
|
|
21849
|
+
*/
|
|
21850
|
+
public apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: AxiosRequestConfig) {
|
|
21851
|
+
return SearchApiFp(this.configuration).apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then((request) => request(this.axios, this.basePath));
|
|
21852
|
+
}
|
|
21853
|
+
}
|
|
21854
|
+
|
|
21855
|
+
|
|
21856
|
+
/**
|
|
21857
|
+
* ServiceReviewsApi - axios parameter creator
|
|
21858
|
+
* @export
|
|
21859
|
+
*/
|
|
21860
|
+
export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
21861
|
+
return {
|
|
21862
|
+
/**
|
|
21863
|
+
*
|
|
21864
|
+
* @summary Get all ServiceReviews.
|
|
21865
|
+
* @param {string} [hospitalId]
|
|
21866
|
+
* @param {string} [serviceId]
|
|
21867
|
+
* @param {string} [serviceName]
|
|
21868
|
+
* @param {string} [patientId]
|
|
21869
|
+
* @param {string} [patientName]
|
|
21870
|
+
* @param {boolean} [recommended]
|
|
21871
|
+
* @param {number} [rate]
|
|
21872
|
+
* @param {ReviewType} [reviewType]
|
|
21873
|
+
* @param {number} [page]
|
|
21874
|
+
* @param {number} [limit]
|
|
21875
|
+
* @param {Date} [lastRetrieved]
|
|
21876
|
+
* @param {*} [options] Override http request option.
|
|
21877
|
+
* @throws {RequiredError}
|
|
21878
|
+
*/
|
|
21879
|
+
apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21880
|
+
const localVarPath = `/api/v2/servicereviews`;
|
|
21881
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21882
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21883
|
+
let baseOptions;
|
|
21884
|
+
if (configuration) {
|
|
21885
|
+
baseOptions = configuration.baseOptions;
|
|
21886
|
+
}
|
|
21887
|
+
|
|
21888
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21889
|
+
const localVarHeaderParameter = {} as any;
|
|
21890
|
+
const localVarQueryParameter = {} as any;
|
|
21891
|
+
|
|
21892
|
+
if (hospitalId !== undefined) {
|
|
21893
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
21894
|
+
}
|
|
21895
|
+
|
|
21896
|
+
if (serviceId !== undefined) {
|
|
21897
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
21898
|
+
}
|
|
21899
|
+
|
|
21900
|
+
if (serviceName !== undefined) {
|
|
21901
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
21902
|
+
}
|
|
21903
|
+
|
|
21904
|
+
if (patientId !== undefined) {
|
|
21905
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
21906
|
+
}
|
|
21907
|
+
|
|
21908
|
+
if (patientName !== undefined) {
|
|
21909
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
21910
|
+
}
|
|
21911
|
+
|
|
21912
|
+
if (recommended !== undefined) {
|
|
21913
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
21914
|
+
}
|
|
21915
|
+
|
|
21916
|
+
if (rate !== undefined) {
|
|
21917
|
+
localVarQueryParameter['Rate'] = rate;
|
|
21918
|
+
}
|
|
21919
|
+
|
|
21920
|
+
if (reviewType !== undefined) {
|
|
21921
|
+
localVarQueryParameter['ReviewType'] = reviewType;
|
|
21922
|
+
}
|
|
21923
|
+
|
|
21924
|
+
if (page !== undefined) {
|
|
21925
|
+
localVarQueryParameter['page'] = page;
|
|
21926
|
+
}
|
|
21927
|
+
|
|
21928
|
+
if (limit !== undefined) {
|
|
21929
|
+
localVarQueryParameter['limit'] = limit;
|
|
21930
|
+
}
|
|
21931
|
+
|
|
21932
|
+
if (lastRetrieved !== undefined) {
|
|
21933
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
21934
|
+
(lastRetrieved as any).toISOString() :
|
|
21935
|
+
lastRetrieved;
|
|
21936
|
+
}
|
|
21937
|
+
|
|
21938
|
+
|
|
21939
|
+
|
|
21940
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21941
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21942
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21943
|
+
|
|
21944
|
+
return {
|
|
21945
|
+
url: toPathString(localVarUrlObj),
|
|
21946
|
+
options: localVarRequestOptions,
|
|
21947
|
+
};
|
|
21948
|
+
},
|
|
21949
|
+
/**
|
|
21950
|
+
*
|
|
21951
|
+
* @summary Create a ServiceReview.
|
|
21952
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
21953
|
+
* @param {*} [options] Override http request option.
|
|
21954
|
+
* @throws {RequiredError}
|
|
21955
|
+
*/
|
|
21956
|
+
apiV2ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21957
|
+
const localVarPath = `/api/v2/servicereviews`;
|
|
21958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21960
|
+
let baseOptions;
|
|
21961
|
+
if (configuration) {
|
|
21962
|
+
baseOptions = configuration.baseOptions;
|
|
21963
|
+
}
|
|
21964
|
+
|
|
21965
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21966
|
+
const localVarHeaderParameter = {} as any;
|
|
21967
|
+
const localVarQueryParameter = {} as any;
|
|
21968
|
+
|
|
21969
|
+
// authentication oauth2 required
|
|
21970
|
+
// oauth required
|
|
21971
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
21972
|
+
|
|
21973
|
+
|
|
21974
|
+
|
|
21975
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21976
|
+
|
|
21977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21979
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21980
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
|
|
21981
|
+
|
|
21982
|
+
return {
|
|
21983
|
+
url: toPathString(localVarUrlObj),
|
|
21984
|
+
options: localVarRequestOptions,
|
|
21985
|
+
};
|
|
21986
|
+
},
|
|
21987
|
+
/**
|
|
21988
|
+
*
|
|
21989
|
+
* @summary Delete ServiceReview.
|
|
21990
|
+
* @param {string} serviceReviewId
|
|
21991
|
+
* @param {*} [options] Override http request option.
|
|
21992
|
+
* @throws {RequiredError}
|
|
21993
|
+
*/
|
|
21994
|
+
apiV2ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21995
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
21996
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
|
|
21997
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
21998
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
21999
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22000
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22001
|
+
let baseOptions;
|
|
22002
|
+
if (configuration) {
|
|
22003
|
+
baseOptions = configuration.baseOptions;
|
|
22004
|
+
}
|
|
22005
|
+
|
|
22006
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
22007
|
+
const localVarHeaderParameter = {} as any;
|
|
22008
|
+
const localVarQueryParameter = {} as any;
|
|
22009
|
+
|
|
22010
|
+
// authentication oauth2 required
|
|
22011
|
+
// oauth required
|
|
22012
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
22013
|
+
|
|
22014
|
+
|
|
22015
|
+
|
|
22016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22019
|
+
|
|
22020
|
+
return {
|
|
22021
|
+
url: toPathString(localVarUrlObj),
|
|
22022
|
+
options: localVarRequestOptions,
|
|
22023
|
+
};
|
|
22024
|
+
},
|
|
22025
|
+
/**
|
|
22026
|
+
*
|
|
22027
|
+
* @param {string} serviceReviewId
|
|
22028
|
+
* @param {*} [options] Override http request option.
|
|
22029
|
+
* @throws {RequiredError}
|
|
22030
|
+
*/
|
|
22031
|
+
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22032
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22033
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
22034
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
22035
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
22036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22037
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22038
|
+
let baseOptions;
|
|
22039
|
+
if (configuration) {
|
|
22040
|
+
baseOptions = configuration.baseOptions;
|
|
22041
|
+
}
|
|
22042
|
+
|
|
22043
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22044
|
+
const localVarHeaderParameter = {} as any;
|
|
22045
|
+
const localVarQueryParameter = {} as any;
|
|
22046
|
+
|
|
22047
|
+
|
|
22048
|
+
|
|
22049
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22050
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22051
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22052
|
+
|
|
22053
|
+
return {
|
|
22054
|
+
url: toPathString(localVarUrlObj),
|
|
22055
|
+
options: localVarRequestOptions,
|
|
22056
|
+
};
|
|
22057
|
+
},
|
|
22058
|
+
/**
|
|
22059
|
+
*
|
|
22060
|
+
* @summary Get all ServiceReviewMedias.
|
|
22061
|
+
* @param {string} serviceReviewId
|
|
22062
|
+
* @param {string} [id]
|
|
22063
|
+
* @param {MediaType} [mediaType]
|
|
22064
|
+
* @param {number} [page]
|
|
22065
|
+
* @param {number} [limit]
|
|
22066
|
+
* @param {Date} [lastRetrieved]
|
|
22067
|
+
* @param {*} [options] Override http request option.
|
|
22068
|
+
* @throws {RequiredError}
|
|
22069
|
+
*/
|
|
22070
|
+
apiV2ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22071
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22072
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
|
|
22073
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias`
|
|
22074
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
22075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22076
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22077
|
+
let baseOptions;
|
|
22078
|
+
if (configuration) {
|
|
22079
|
+
baseOptions = configuration.baseOptions;
|
|
22080
|
+
}
|
|
22081
|
+
|
|
22082
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22083
|
+
const localVarHeaderParameter = {} as any;
|
|
22084
|
+
const localVarQueryParameter = {} as any;
|
|
22085
|
+
|
|
22086
|
+
if (id !== undefined) {
|
|
22087
|
+
localVarQueryParameter['Id'] = id;
|
|
22088
|
+
}
|
|
22089
|
+
|
|
22090
|
+
if (mediaType !== undefined) {
|
|
22091
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
22092
|
+
}
|
|
22093
|
+
|
|
22094
|
+
if (page !== undefined) {
|
|
22095
|
+
localVarQueryParameter['page'] = page;
|
|
22096
|
+
}
|
|
22097
|
+
|
|
22098
|
+
if (limit !== undefined) {
|
|
22099
|
+
localVarQueryParameter['limit'] = limit;
|
|
22100
|
+
}
|
|
22101
|
+
|
|
22102
|
+
if (lastRetrieved !== undefined) {
|
|
22103
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
22104
|
+
(lastRetrieved as any).toISOString() :
|
|
22105
|
+
lastRetrieved;
|
|
22106
|
+
}
|
|
22107
|
+
|
|
22108
|
+
|
|
22109
|
+
|
|
22110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22112
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22113
|
+
|
|
22114
|
+
return {
|
|
22115
|
+
url: toPathString(localVarUrlObj),
|
|
22116
|
+
options: localVarRequestOptions,
|
|
22117
|
+
};
|
|
22118
|
+
},
|
|
22119
|
+
/**
|
|
22120
|
+
*
|
|
22121
|
+
* @summary Delete ServiceReviewMedia
|
|
22122
|
+
* @param {string} serviceReviewId
|
|
22123
|
+
* @param {string} mediaId
|
|
22124
|
+
* @param {*} [options] Override http request option.
|
|
22125
|
+
* @throws {RequiredError}
|
|
22126
|
+
*/
|
|
22127
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22128
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22129
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId)
|
|
22130
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
22131
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
22132
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
22133
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
22134
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
22135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22137
|
+
let baseOptions;
|
|
22138
|
+
if (configuration) {
|
|
22139
|
+
baseOptions = configuration.baseOptions;
|
|
22140
|
+
}
|
|
22141
|
+
|
|
22142
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
22143
|
+
const localVarHeaderParameter = {} as any;
|
|
22144
|
+
const localVarQueryParameter = {} as any;
|
|
22145
|
+
|
|
22146
|
+
// authentication oauth2 required
|
|
22147
|
+
// oauth required
|
|
22148
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
22149
|
+
|
|
22150
|
+
|
|
22151
|
+
|
|
22152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22154
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22155
|
+
|
|
22156
|
+
return {
|
|
22157
|
+
url: toPathString(localVarUrlObj),
|
|
22158
|
+
options: localVarRequestOptions,
|
|
22159
|
+
};
|
|
22160
|
+
},
|
|
22161
|
+
/**
|
|
22162
|
+
*
|
|
22163
|
+
* @summary Get ServiceReviewMedia.
|
|
22164
|
+
* @param {string} serviceReviewId
|
|
22165
|
+
* @param {string} mediaId
|
|
22166
|
+
* @param {*} [options] Override http request option.
|
|
22167
|
+
* @throws {RequiredError}
|
|
22168
|
+
*/
|
|
22169
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22170
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22171
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId)
|
|
22172
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
22173
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
22174
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
22175
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
22176
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
22177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22179
|
+
let baseOptions;
|
|
22180
|
+
if (configuration) {
|
|
22181
|
+
baseOptions = configuration.baseOptions;
|
|
22182
|
+
}
|
|
22183
|
+
|
|
22184
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22185
|
+
const localVarHeaderParameter = {} as any;
|
|
22186
|
+
const localVarQueryParameter = {} as any;
|
|
22187
|
+
|
|
22188
|
+
|
|
22189
|
+
|
|
22190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22193
|
+
|
|
22194
|
+
return {
|
|
22195
|
+
url: toPathString(localVarUrlObj),
|
|
22196
|
+
options: localVarRequestOptions,
|
|
22197
|
+
};
|
|
22198
|
+
},
|
|
22199
|
+
/**
|
|
22200
|
+
*
|
|
22201
|
+
* @summary Update ServiceReviewMedia.
|
|
22202
|
+
* @param {string} serviceReviewId
|
|
22203
|
+
* @param {string} mediaId
|
|
22204
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22205
|
+
* @param {*} [options] Override http request option.
|
|
22206
|
+
* @throws {RequiredError}
|
|
22207
|
+
*/
|
|
22208
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut: async (serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22209
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22210
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId)
|
|
22211
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
22212
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
22213
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
22214
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
22215
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
22216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22218
|
+
let baseOptions;
|
|
22219
|
+
if (configuration) {
|
|
22220
|
+
baseOptions = configuration.baseOptions;
|
|
22221
|
+
}
|
|
22222
|
+
|
|
22223
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
22224
|
+
const localVarHeaderParameter = {} as any;
|
|
22225
|
+
const localVarQueryParameter = {} as any;
|
|
22226
|
+
|
|
22227
|
+
// authentication oauth2 required
|
|
22228
|
+
// oauth required
|
|
22229
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
22230
|
+
|
|
22231
|
+
|
|
22232
|
+
|
|
22233
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22234
|
+
|
|
22235
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22237
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22238
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
22239
|
+
|
|
22240
|
+
return {
|
|
22241
|
+
url: toPathString(localVarUrlObj),
|
|
22242
|
+
options: localVarRequestOptions,
|
|
22243
|
+
};
|
|
22244
|
+
},
|
|
22245
|
+
/**
|
|
22246
|
+
*
|
|
22247
|
+
* @summary Create ServiceReviewMedia.
|
|
22248
|
+
* @param {string} serviceReviewId
|
|
22249
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22250
|
+
* @param {*} [options] Override http request option.
|
|
22251
|
+
* @throws {RequiredError}
|
|
22252
|
+
*/
|
|
22253
|
+
apiV2ServicereviewsServiceReviewIdMediasPost: async (serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22254
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22255
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId)
|
|
22256
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias`
|
|
22257
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
22258
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22260
|
+
let baseOptions;
|
|
22261
|
+
if (configuration) {
|
|
22262
|
+
baseOptions = configuration.baseOptions;
|
|
22263
|
+
}
|
|
22264
|
+
|
|
22265
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22266
|
+
const localVarHeaderParameter = {} as any;
|
|
22267
|
+
const localVarQueryParameter = {} as any;
|
|
22268
|
+
|
|
22269
|
+
// authentication oauth2 required
|
|
22270
|
+
// oauth required
|
|
22271
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
22272
|
+
|
|
22273
|
+
|
|
22274
|
+
|
|
22275
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22276
|
+
|
|
22277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22279
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22280
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
22281
|
+
|
|
22282
|
+
return {
|
|
22283
|
+
url: toPathString(localVarUrlObj),
|
|
22284
|
+
options: localVarRequestOptions,
|
|
22285
|
+
};
|
|
22286
|
+
},
|
|
22287
|
+
/**
|
|
22288
|
+
*
|
|
22289
|
+
* @summary Update ServiceReview.
|
|
22290
|
+
* @param {string} serviceReviewId
|
|
22291
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
22292
|
+
* @param {*} [options] Override http request option.
|
|
22293
|
+
* @throws {RequiredError}
|
|
22294
|
+
*/
|
|
22295
|
+
apiV2ServicereviewsServiceReviewIdPut: async (serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22296
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
22297
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId)
|
|
22298
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
22299
|
+
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
22300
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22301
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22302
|
+
let baseOptions;
|
|
22303
|
+
if (configuration) {
|
|
22304
|
+
baseOptions = configuration.baseOptions;
|
|
22305
|
+
}
|
|
22306
|
+
|
|
22307
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
22308
|
+
const localVarHeaderParameter = {} as any;
|
|
22309
|
+
const localVarQueryParameter = {} as any;
|
|
22310
|
+
|
|
22311
|
+
// authentication oauth2 required
|
|
22312
|
+
// oauth required
|
|
22313
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
22314
|
+
|
|
22315
|
+
|
|
22316
|
+
|
|
22317
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22318
|
+
|
|
22319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22322
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateServiceReviewCommand, localVarRequestOptions, configuration)
|
|
22323
|
+
|
|
22324
|
+
return {
|
|
22325
|
+
url: toPathString(localVarUrlObj),
|
|
22326
|
+
options: localVarRequestOptions,
|
|
22327
|
+
};
|
|
22328
|
+
},
|
|
22329
|
+
}
|
|
22330
|
+
};
|
|
22331
|
+
|
|
22332
|
+
/**
|
|
22333
|
+
* ServiceReviewsApi - functional programming interface
|
|
22334
|
+
* @export
|
|
22335
|
+
*/
|
|
22336
|
+
export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
22337
|
+
const localVarAxiosParamCreator = ServiceReviewsApiAxiosParamCreator(configuration)
|
|
22338
|
+
return {
|
|
22339
|
+
/**
|
|
22340
|
+
*
|
|
22341
|
+
* @summary Get all ServiceReviews.
|
|
22342
|
+
* @param {string} [hospitalId]
|
|
22343
|
+
* @param {string} [serviceId]
|
|
22344
|
+
* @param {string} [serviceName]
|
|
22345
|
+
* @param {string} [patientId]
|
|
22346
|
+
* @param {string} [patientName]
|
|
22347
|
+
* @param {boolean} [recommended]
|
|
22348
|
+
* @param {number} [rate]
|
|
22349
|
+
* @param {ReviewType} [reviewType]
|
|
22350
|
+
* @param {number} [page]
|
|
22351
|
+
* @param {number} [limit]
|
|
22352
|
+
* @param {Date} [lastRetrieved]
|
|
22353
|
+
* @param {*} [options] Override http request option.
|
|
22354
|
+
* @throws {RequiredError}
|
|
22355
|
+
*/
|
|
22356
|
+
async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
22357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
22358
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22359
|
+
},
|
|
22360
|
+
/**
|
|
22361
|
+
*
|
|
22362
|
+
* @summary Create a ServiceReview.
|
|
22363
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
22364
|
+
* @param {*} [options] Override http request option.
|
|
22365
|
+
* @throws {RequiredError}
|
|
22366
|
+
*/
|
|
22367
|
+
async apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
22368
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsPost(createServiceReviewCommand, options);
|
|
22369
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22370
|
+
},
|
|
22371
|
+
/**
|
|
22372
|
+
*
|
|
22373
|
+
* @summary Delete ServiceReview.
|
|
22374
|
+
* @param {string} serviceReviewId
|
|
22375
|
+
* @param {*} [options] Override http request option.
|
|
22376
|
+
* @throws {RequiredError}
|
|
22377
|
+
*/
|
|
22378
|
+
async apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
22379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options);
|
|
22380
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22381
|
+
},
|
|
22382
|
+
/**
|
|
22383
|
+
*
|
|
22384
|
+
* @param {string} serviceReviewId
|
|
22385
|
+
* @param {*} [options] Override http request option.
|
|
22386
|
+
* @throws {RequiredError}
|
|
22387
|
+
*/
|
|
22388
|
+
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
22389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
|
|
22390
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22391
|
+
},
|
|
22392
|
+
/**
|
|
22393
|
+
*
|
|
22394
|
+
* @summary Get all ServiceReviewMedias.
|
|
22395
|
+
* @param {string} serviceReviewId
|
|
22396
|
+
* @param {string} [id]
|
|
22397
|
+
* @param {MediaType} [mediaType]
|
|
22398
|
+
* @param {number} [page]
|
|
22399
|
+
* @param {number} [limit]
|
|
22400
|
+
* @param {Date} [lastRetrieved]
|
|
22401
|
+
* @param {*} [options] Override http request option.
|
|
22402
|
+
* @throws {RequiredError}
|
|
22403
|
+
*/
|
|
22404
|
+
async apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
22405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options);
|
|
22406
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22407
|
+
},
|
|
22408
|
+
/**
|
|
22409
|
+
*
|
|
22410
|
+
* @summary Delete ServiceReviewMedia
|
|
22411
|
+
* @param {string} serviceReviewId
|
|
22412
|
+
* @param {string} mediaId
|
|
22413
|
+
* @param {*} [options] Override http request option.
|
|
22414
|
+
* @throws {RequiredError}
|
|
22415
|
+
*/
|
|
22416
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
22417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options);
|
|
22418
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22419
|
+
},
|
|
22420
|
+
/**
|
|
22421
|
+
*
|
|
22422
|
+
* @summary Get ServiceReviewMedia.
|
|
22423
|
+
* @param {string} serviceReviewId
|
|
22424
|
+
* @param {string} mediaId
|
|
22425
|
+
* @param {*} [options] Override http request option.
|
|
22426
|
+
* @throws {RequiredError}
|
|
22427
|
+
*/
|
|
22428
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
22429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options);
|
|
22430
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22431
|
+
},
|
|
22432
|
+
/**
|
|
22433
|
+
*
|
|
22434
|
+
* @summary Update ServiceReviewMedia.
|
|
22435
|
+
* @param {string} serviceReviewId
|
|
22436
|
+
* @param {string} mediaId
|
|
22437
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22438
|
+
* @param {*} [options] Override http request option.
|
|
22439
|
+
* @throws {RequiredError}
|
|
22440
|
+
*/
|
|
22441
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
22442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options);
|
|
22443
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22444
|
+
},
|
|
22445
|
+
/**
|
|
22446
|
+
*
|
|
22447
|
+
* @summary Create ServiceReviewMedia.
|
|
22448
|
+
* @param {string} serviceReviewId
|
|
22449
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22450
|
+
* @param {*} [options] Override http request option.
|
|
22451
|
+
* @throws {RequiredError}
|
|
22452
|
+
*/
|
|
22453
|
+
async apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
22454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options);
|
|
22455
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22456
|
+
},
|
|
22457
|
+
/**
|
|
22458
|
+
*
|
|
22459
|
+
* @summary Update ServiceReview.
|
|
22460
|
+
* @param {string} serviceReviewId
|
|
22461
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
22462
|
+
* @param {*} [options] Override http request option.
|
|
22463
|
+
* @throws {RequiredError}
|
|
22464
|
+
*/
|
|
22465
|
+
async apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
22466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options);
|
|
22467
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22468
|
+
},
|
|
22469
|
+
}
|
|
22470
|
+
};
|
|
22471
|
+
|
|
22472
|
+
/**
|
|
22473
|
+
* ServiceReviewsApi - factory interface
|
|
22474
|
+
* @export
|
|
22475
|
+
*/
|
|
22476
|
+
export const ServiceReviewsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
22477
|
+
const localVarFp = ServiceReviewsApiFp(configuration)
|
|
22478
|
+
return {
|
|
22479
|
+
/**
|
|
22480
|
+
*
|
|
22481
|
+
* @summary Get all ServiceReviews.
|
|
22482
|
+
* @param {string} [hospitalId]
|
|
22483
|
+
* @param {string} [serviceId]
|
|
22484
|
+
* @param {string} [serviceName]
|
|
22485
|
+
* @param {string} [patientId]
|
|
22486
|
+
* @param {string} [patientName]
|
|
22487
|
+
* @param {boolean} [recommended]
|
|
22488
|
+
* @param {number} [rate]
|
|
22489
|
+
* @param {ReviewType} [reviewType]
|
|
22490
|
+
* @param {number} [page]
|
|
22491
|
+
* @param {number} [limit]
|
|
22492
|
+
* @param {Date} [lastRetrieved]
|
|
22493
|
+
* @param {*} [options] Override http request option.
|
|
22494
|
+
* @throws {RequiredError}
|
|
22495
|
+
*/
|
|
22496
|
+
apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
22497
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22498
|
+
},
|
|
22499
|
+
/**
|
|
22500
|
+
*
|
|
22501
|
+
* @summary Create a ServiceReview.
|
|
22502
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
22503
|
+
* @param {*} [options] Override http request option.
|
|
22504
|
+
* @throws {RequiredError}
|
|
22505
|
+
*/
|
|
22506
|
+
apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
22507
|
+
return localVarFp.apiV2ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
22508
|
+
},
|
|
22509
|
+
/**
|
|
22510
|
+
*
|
|
22511
|
+
* @summary Delete ServiceReview.
|
|
22512
|
+
* @param {string} serviceReviewId
|
|
22513
|
+
* @param {*} [options] Override http request option.
|
|
22514
|
+
* @throws {RequiredError}
|
|
22515
|
+
*/
|
|
22516
|
+
apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
|
|
22517
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
22518
|
+
},
|
|
22519
|
+
/**
|
|
22520
|
+
*
|
|
22521
|
+
* @param {string} serviceReviewId
|
|
22522
|
+
* @param {*} [options] Override http request option.
|
|
22523
|
+
* @throws {RequiredError}
|
|
22524
|
+
*/
|
|
22525
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
22526
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
22527
|
+
},
|
|
22528
|
+
/**
|
|
22529
|
+
*
|
|
22530
|
+
* @summary Get all ServiceReviewMedias.
|
|
22531
|
+
* @param {string} serviceReviewId
|
|
22532
|
+
* @param {string} [id]
|
|
22533
|
+
* @param {MediaType} [mediaType]
|
|
22534
|
+
* @param {number} [page]
|
|
22535
|
+
* @param {number} [limit]
|
|
22536
|
+
* @param {Date} [lastRetrieved]
|
|
22537
|
+
* @param {*} [options] Override http request option.
|
|
22538
|
+
* @throws {RequiredError}
|
|
22539
|
+
*/
|
|
22540
|
+
apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
22541
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22542
|
+
},
|
|
22543
|
+
/**
|
|
22544
|
+
*
|
|
22545
|
+
* @summary Delete ServiceReviewMedia
|
|
22546
|
+
* @param {string} serviceReviewId
|
|
22547
|
+
* @param {string} mediaId
|
|
22548
|
+
* @param {*} [options] Override http request option.
|
|
22549
|
+
* @throws {RequiredError}
|
|
22550
|
+
*/
|
|
22551
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
22552
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
22553
|
+
},
|
|
22554
|
+
/**
|
|
22555
|
+
*
|
|
22556
|
+
* @summary Get ServiceReviewMedia.
|
|
22557
|
+
* @param {string} serviceReviewId
|
|
22558
|
+
* @param {string} mediaId
|
|
22559
|
+
* @param {*} [options] Override http request option.
|
|
22560
|
+
* @throws {RequiredError}
|
|
22561
|
+
*/
|
|
22562
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
22563
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
22564
|
+
},
|
|
22565
|
+
/**
|
|
22566
|
+
*
|
|
22567
|
+
* @summary Update ServiceReviewMedia.
|
|
22568
|
+
* @param {string} serviceReviewId
|
|
22569
|
+
* @param {string} mediaId
|
|
22570
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22571
|
+
* @param {*} [options] Override http request option.
|
|
22572
|
+
* @throws {RequiredError}
|
|
22573
|
+
*/
|
|
22574
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
22575
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
22576
|
+
},
|
|
22577
|
+
/**
|
|
22578
|
+
*
|
|
22579
|
+
* @summary Create ServiceReviewMedia.
|
|
22580
|
+
* @param {string} serviceReviewId
|
|
22581
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22582
|
+
* @param {*} [options] Override http request option.
|
|
22583
|
+
* @throws {RequiredError}
|
|
22584
|
+
*/
|
|
22585
|
+
apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
22586
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
22587
|
+
},
|
|
22588
|
+
/**
|
|
22589
|
+
*
|
|
22590
|
+
* @summary Update ServiceReview.
|
|
22591
|
+
* @param {string} serviceReviewId
|
|
22592
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
22593
|
+
* @param {*} [options] Override http request option.
|
|
22594
|
+
* @throws {RequiredError}
|
|
22595
|
+
*/
|
|
22596
|
+
apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
22597
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
22598
|
+
},
|
|
22599
|
+
};
|
|
22600
|
+
};
|
|
22601
|
+
|
|
22602
|
+
/**
|
|
22603
|
+
* ServiceReviewsApi - object-oriented interface
|
|
22604
|
+
* @export
|
|
22605
|
+
* @class ServiceReviewsApi
|
|
22606
|
+
* @extends {BaseAPI}
|
|
22607
|
+
*/
|
|
22608
|
+
export class ServiceReviewsApi extends BaseAPI {
|
|
22609
|
+
/**
|
|
22610
|
+
*
|
|
22611
|
+
* @summary Get all ServiceReviews.
|
|
22612
|
+
* @param {string} [hospitalId]
|
|
22613
|
+
* @param {string} [serviceId]
|
|
22614
|
+
* @param {string} [serviceName]
|
|
22615
|
+
* @param {string} [patientId]
|
|
22616
|
+
* @param {string} [patientName]
|
|
22617
|
+
* @param {boolean} [recommended]
|
|
22618
|
+
* @param {number} [rate]
|
|
22619
|
+
* @param {ReviewType} [reviewType]
|
|
22620
|
+
* @param {number} [page]
|
|
22621
|
+
* @param {number} [limit]
|
|
22622
|
+
* @param {Date} [lastRetrieved]
|
|
22623
|
+
* @param {*} [options] Override http request option.
|
|
22624
|
+
* @throws {RequiredError}
|
|
22625
|
+
* @memberof ServiceReviewsApi
|
|
22626
|
+
*/
|
|
22627
|
+
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22628
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22629
|
+
}
|
|
22630
|
+
|
|
22631
|
+
/**
|
|
22632
|
+
*
|
|
22633
|
+
* @summary Create a ServiceReview.
|
|
22634
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
22635
|
+
* @param {*} [options] Override http request option.
|
|
22636
|
+
* @throws {RequiredError}
|
|
22637
|
+
* @memberof ServiceReviewsApi
|
|
22638
|
+
*/
|
|
22639
|
+
public apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
22640
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22641
|
+
}
|
|
22642
|
+
|
|
22643
|
+
/**
|
|
22644
|
+
*
|
|
22645
|
+
* @summary Delete ServiceReview.
|
|
22646
|
+
* @param {string} serviceReviewId
|
|
22647
|
+
* @param {*} [options] Override http request option.
|
|
22648
|
+
* @throws {RequiredError}
|
|
22649
|
+
* @memberof ServiceReviewsApi
|
|
22650
|
+
*/
|
|
22651
|
+
public apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
22652
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
22653
|
+
}
|
|
22654
|
+
|
|
22655
|
+
/**
|
|
22656
|
+
*
|
|
22657
|
+
* @param {string} serviceReviewId
|
|
22658
|
+
* @param {*} [options] Override http request option.
|
|
22659
|
+
* @throws {RequiredError}
|
|
22660
|
+
* @memberof ServiceReviewsApi
|
|
22661
|
+
*/
|
|
22662
|
+
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
22663
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
22664
|
+
}
|
|
22665
|
+
|
|
22666
|
+
/**
|
|
22667
|
+
*
|
|
22668
|
+
* @summary Get all ServiceReviewMedias.
|
|
22669
|
+
* @param {string} serviceReviewId
|
|
22670
|
+
* @param {string} [id]
|
|
22671
|
+
* @param {MediaType} [mediaType]
|
|
22672
|
+
* @param {number} [page]
|
|
22673
|
+
* @param {number} [limit]
|
|
22674
|
+
* @param {Date} [lastRetrieved]
|
|
22675
|
+
* @param {*} [options] Override http request option.
|
|
22676
|
+
* @throws {RequiredError}
|
|
22677
|
+
* @memberof ServiceReviewsApi
|
|
22678
|
+
*/
|
|
22679
|
+
public apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22680
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22681
|
+
}
|
|
22682
|
+
|
|
22683
|
+
/**
|
|
22684
|
+
*
|
|
22685
|
+
* @summary Delete ServiceReviewMedia
|
|
22686
|
+
* @param {string} serviceReviewId
|
|
22687
|
+
* @param {string} mediaId
|
|
22688
|
+
* @param {*} [options] Override http request option.
|
|
22689
|
+
* @throws {RequiredError}
|
|
22690
|
+
* @memberof ServiceReviewsApi
|
|
22691
|
+
*/
|
|
22692
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
22693
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
22694
|
+
}
|
|
22695
|
+
|
|
22696
|
+
/**
|
|
22697
|
+
*
|
|
22698
|
+
* @summary Get ServiceReviewMedia.
|
|
22699
|
+
* @param {string} serviceReviewId
|
|
22700
|
+
* @param {string} mediaId
|
|
22701
|
+
* @param {*} [options] Override http request option.
|
|
22702
|
+
* @throws {RequiredError}
|
|
22703
|
+
* @memberof ServiceReviewsApi
|
|
22704
|
+
*/
|
|
22705
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
22706
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
22707
|
+
}
|
|
22708
|
+
|
|
22709
|
+
/**
|
|
22710
|
+
*
|
|
22711
|
+
* @summary Update ServiceReviewMedia.
|
|
22712
|
+
* @param {string} serviceReviewId
|
|
22713
|
+
* @param {string} mediaId
|
|
22714
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
22715
|
+
* @param {*} [options] Override http request option.
|
|
22716
|
+
* @throws {RequiredError}
|
|
22717
|
+
* @memberof ServiceReviewsApi
|
|
22718
|
+
*/
|
|
22719
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
22720
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22721
|
+
}
|
|
22722
|
+
|
|
22723
|
+
/**
|
|
22724
|
+
*
|
|
22725
|
+
* @summary Create ServiceReviewMedia.
|
|
22726
|
+
* @param {string} serviceReviewId
|
|
22727
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
22728
|
+
* @param {*} [options] Override http request option.
|
|
22729
|
+
* @throws {RequiredError}
|
|
22730
|
+
* @memberof ServiceReviewsApi
|
|
22731
|
+
*/
|
|
22732
|
+
public apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
22733
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22734
|
+
}
|
|
22735
|
+
|
|
22736
|
+
/**
|
|
22737
|
+
*
|
|
22738
|
+
* @summary Update ServiceReview.
|
|
22739
|
+
* @param {string} serviceReviewId
|
|
22740
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
22741
|
+
* @param {*} [options] Override http request option.
|
|
22742
|
+
* @throws {RequiredError}
|
|
22743
|
+
* @memberof ServiceReviewsApi
|
|
22744
|
+
*/
|
|
22745
|
+
public apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
22746
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22747
|
+
}
|
|
22748
|
+
}
|
|
22749
|
+
|
|
22750
|
+
|
|
20306
22751
|
/**
|
|
20307
22752
|
* ServicesApi - axios parameter creator
|
|
20308
22753
|
* @export
|