ch-admin-api-client-typescript 2.5.4 → 2.5.9
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 +593 -152
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +635 -217
- package/package.json +1 -1
- package/src/api.ts +918 -246
package/src/api.ts
CHANGED
|
@@ -782,6 +782,37 @@ export interface AwardModel {
|
|
|
782
782
|
*/
|
|
783
783
|
'date'?: Date;
|
|
784
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @interface BookingChangeLogModel
|
|
789
|
+
*/
|
|
790
|
+
export interface BookingChangeLogModel {
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @type {BookingStatus}
|
|
794
|
+
* @memberof BookingChangeLogModel
|
|
795
|
+
*/
|
|
796
|
+
'status'?: BookingStatus;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof BookingChangeLogModel
|
|
801
|
+
*/
|
|
802
|
+
'actorId'?: string;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {Date}
|
|
806
|
+
* @memberof BookingChangeLogModel
|
|
807
|
+
*/
|
|
808
|
+
'createdDate'?: Date;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof BookingChangeLogModel
|
|
813
|
+
*/
|
|
814
|
+
'actorName'?: string | null;
|
|
815
|
+
}
|
|
785
816
|
/**
|
|
786
817
|
*
|
|
787
818
|
* @export
|
|
@@ -1179,6 +1210,12 @@ export interface BookingModel {
|
|
|
1179
1210
|
* @memberof BookingModel
|
|
1180
1211
|
*/
|
|
1181
1212
|
'completionRate'?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {Array<BookingChangeLogModel>}
|
|
1216
|
+
* @memberof BookingModel
|
|
1217
|
+
*/
|
|
1218
|
+
'statusChangeLogs'?: Array<BookingChangeLogModel> | null;
|
|
1182
1219
|
}
|
|
1183
1220
|
/**
|
|
1184
1221
|
*
|
|
@@ -1809,6 +1846,37 @@ export interface ConfirmEmailCommand {
|
|
|
1809
1846
|
*/
|
|
1810
1847
|
'code'?: string | null;
|
|
1811
1848
|
}
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* @export
|
|
1852
|
+
* @interface ConsultationChangeLogModel
|
|
1853
|
+
*/
|
|
1854
|
+
export interface ConsultationChangeLogModel {
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {ConsultationStatus}
|
|
1858
|
+
* @memberof ConsultationChangeLogModel
|
|
1859
|
+
*/
|
|
1860
|
+
'status'?: ConsultationStatus;
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {string}
|
|
1864
|
+
* @memberof ConsultationChangeLogModel
|
|
1865
|
+
*/
|
|
1866
|
+
'actorId'?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {Date}
|
|
1870
|
+
* @memberof ConsultationChangeLogModel
|
|
1871
|
+
*/
|
|
1872
|
+
'createdDate'?: Date;
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof ConsultationChangeLogModel
|
|
1877
|
+
*/
|
|
1878
|
+
'actorName'?: string | null;
|
|
1879
|
+
}
|
|
1812
1880
|
/**
|
|
1813
1881
|
*
|
|
1814
1882
|
* @export
|
|
@@ -2326,6 +2394,12 @@ export interface ConsultationModel {
|
|
|
2326
2394
|
* @memberof ConsultationModel
|
|
2327
2395
|
*/
|
|
2328
2396
|
'completionRate'?: number;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {Array<ConsultationChangeLogModel>}
|
|
2400
|
+
* @memberof ConsultationModel
|
|
2401
|
+
*/
|
|
2402
|
+
'statusChangeLogs'?: Array<ConsultationChangeLogModel> | null;
|
|
2329
2403
|
}
|
|
2330
2404
|
/**
|
|
2331
2405
|
*
|
|
@@ -2460,10 +2534,16 @@ export interface ContributorItemModel {
|
|
|
2460
2534
|
'order'?: number;
|
|
2461
2535
|
/**
|
|
2462
2536
|
*
|
|
2463
|
-
* @type {Array<
|
|
2537
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2464
2538
|
* @memberof ContributorItemModel
|
|
2465
2539
|
*/
|
|
2466
|
-
'
|
|
2540
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2541
|
+
/**
|
|
2542
|
+
*
|
|
2543
|
+
* @type {boolean}
|
|
2544
|
+
* @memberof ContributorItemModel
|
|
2545
|
+
*/
|
|
2546
|
+
'confirmed'?: boolean;
|
|
2467
2547
|
}
|
|
2468
2548
|
/**
|
|
2469
2549
|
*
|
|
@@ -2539,10 +2619,22 @@ export interface ContributorModel {
|
|
|
2539
2619
|
'order'?: number;
|
|
2540
2620
|
/**
|
|
2541
2621
|
*
|
|
2542
|
-
* @type {Array<
|
|
2622
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2623
|
+
* @memberof ContributorModel
|
|
2624
|
+
*/
|
|
2625
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @type {boolean}
|
|
2629
|
+
* @memberof ContributorModel
|
|
2630
|
+
*/
|
|
2631
|
+
'confirmed'?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
*
|
|
2634
|
+
* @type {string}
|
|
2543
2635
|
* @memberof ContributorModel
|
|
2544
2636
|
*/
|
|
2545
|
-
'
|
|
2637
|
+
'languageCode'?: string | null;
|
|
2546
2638
|
}
|
|
2547
2639
|
/**
|
|
2548
2640
|
*
|
|
@@ -2685,6 +2777,12 @@ export interface CountryItemModel {
|
|
|
2685
2777
|
* @memberof CountryItemModel
|
|
2686
2778
|
*/
|
|
2687
2779
|
'auditableEntity'?: AuditableEntity;
|
|
2780
|
+
/**
|
|
2781
|
+
*
|
|
2782
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2783
|
+
* @memberof CountryItemModel
|
|
2784
|
+
*/
|
|
2785
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2688
2786
|
/**
|
|
2689
2787
|
*
|
|
2690
2788
|
* @type {boolean}
|
|
@@ -2776,12 +2874,24 @@ export interface CountryModel {
|
|
|
2776
2874
|
* @memberof CountryModel
|
|
2777
2875
|
*/
|
|
2778
2876
|
'auditableEntity'?: AuditableEntity;
|
|
2877
|
+
/**
|
|
2878
|
+
*
|
|
2879
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2880
|
+
* @memberof CountryModel
|
|
2881
|
+
*/
|
|
2882
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2779
2883
|
/**
|
|
2780
2884
|
*
|
|
2781
2885
|
* @type {boolean}
|
|
2782
2886
|
* @memberof CountryModel
|
|
2783
2887
|
*/
|
|
2784
2888
|
'confirmed'?: boolean;
|
|
2889
|
+
/**
|
|
2890
|
+
*
|
|
2891
|
+
* @type {string}
|
|
2892
|
+
* @memberof CountryModel
|
|
2893
|
+
*/
|
|
2894
|
+
'languageCode'?: string | null;
|
|
2785
2895
|
}
|
|
2786
2896
|
/**
|
|
2787
2897
|
*
|
|
@@ -3608,6 +3718,12 @@ export interface CreateFaqCommand {
|
|
|
3608
3718
|
* @memberof CreateFaqCommand
|
|
3609
3719
|
*/
|
|
3610
3720
|
'faqCategoryId'?: string | null;
|
|
3721
|
+
/**
|
|
3722
|
+
*
|
|
3723
|
+
* @type {string}
|
|
3724
|
+
* @memberof CreateFaqCommand
|
|
3725
|
+
*/
|
|
3726
|
+
'hospitalId'?: string;
|
|
3611
3727
|
}
|
|
3612
3728
|
/**
|
|
3613
3729
|
*
|
|
@@ -4346,6 +4462,18 @@ export interface DealItemModel {
|
|
|
4346
4462
|
* @memberof DealItemModel
|
|
4347
4463
|
*/
|
|
4348
4464
|
'auditableEntity'?: AuditableEntity;
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4468
|
+
* @memberof DealItemModel
|
|
4469
|
+
*/
|
|
4470
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {boolean}
|
|
4474
|
+
* @memberof DealItemModel
|
|
4475
|
+
*/
|
|
4476
|
+
'confirmed'?: boolean;
|
|
4349
4477
|
}
|
|
4350
4478
|
/**
|
|
4351
4479
|
*
|
|
@@ -4437,6 +4565,24 @@ export interface DealModel {
|
|
|
4437
4565
|
* @memberof DealModel
|
|
4438
4566
|
*/
|
|
4439
4567
|
'auditableEntity'?: AuditableEntity;
|
|
4568
|
+
/**
|
|
4569
|
+
*
|
|
4570
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4571
|
+
* @memberof DealModel
|
|
4572
|
+
*/
|
|
4573
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4574
|
+
/**
|
|
4575
|
+
*
|
|
4576
|
+
* @type {boolean}
|
|
4577
|
+
* @memberof DealModel
|
|
4578
|
+
*/
|
|
4579
|
+
'confirmed'?: boolean;
|
|
4580
|
+
/**
|
|
4581
|
+
*
|
|
4582
|
+
* @type {string}
|
|
4583
|
+
* @memberof DealModel
|
|
4584
|
+
*/
|
|
4585
|
+
'languageCode'?: string | null;
|
|
4440
4586
|
}
|
|
4441
4587
|
/**
|
|
4442
4588
|
*
|
|
@@ -5193,6 +5339,12 @@ export interface DoctorItemModel {
|
|
|
5193
5339
|
* @memberof DoctorItemModel
|
|
5194
5340
|
*/
|
|
5195
5341
|
'consultationFee'?: number | null;
|
|
5342
|
+
/**
|
|
5343
|
+
*
|
|
5344
|
+
* @type {Array<LocalizedUrlModel>}
|
|
5345
|
+
* @memberof DoctorItemModel
|
|
5346
|
+
*/
|
|
5347
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5196
5348
|
/**
|
|
5197
5349
|
*
|
|
5198
5350
|
* @type {boolean}
|
|
@@ -5350,6 +5502,12 @@ export interface DoctorModel {
|
|
|
5350
5502
|
* @memberof DoctorModel
|
|
5351
5503
|
*/
|
|
5352
5504
|
'consultationFee'?: number | null;
|
|
5505
|
+
/**
|
|
5506
|
+
*
|
|
5507
|
+
* @type {Array<LocalizedUrlModel>}
|
|
5508
|
+
* @memberof DoctorModel
|
|
5509
|
+
*/
|
|
5510
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5353
5511
|
/**
|
|
5354
5512
|
*
|
|
5355
5513
|
* @type {boolean}
|
|
@@ -5878,6 +6036,12 @@ export interface FaqModel {
|
|
|
5878
6036
|
* @memberof FaqModel
|
|
5879
6037
|
*/
|
|
5880
6038
|
'confirmed'?: boolean;
|
|
6039
|
+
/**
|
|
6040
|
+
*
|
|
6041
|
+
* @type {string}
|
|
6042
|
+
* @memberof FaqModel
|
|
6043
|
+
*/
|
|
6044
|
+
'languageCode'?: string | null;
|
|
5881
6045
|
/**
|
|
5882
6046
|
*
|
|
5883
6047
|
* @type {Array<FaqCategoryBreadCrumbModel>}
|
|
@@ -6938,6 +7102,12 @@ export interface HospitalServiceModel {
|
|
|
6938
7102
|
* @memberof HospitalServiceModel
|
|
6939
7103
|
*/
|
|
6940
7104
|
'auditableEntity'?: AuditableEntity;
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @type {string}
|
|
7108
|
+
* @memberof HospitalServiceModel
|
|
7109
|
+
*/
|
|
7110
|
+
'languageCode'?: string | null;
|
|
6941
7111
|
}
|
|
6942
7112
|
/**
|
|
6943
7113
|
*
|
|
@@ -9095,6 +9265,12 @@ export interface SpecialtyModel {
|
|
|
9095
9265
|
* @memberof SpecialtyModel
|
|
9096
9266
|
*/
|
|
9097
9267
|
'auditableEntity'?: AuditableEntity;
|
|
9268
|
+
/**
|
|
9269
|
+
*
|
|
9270
|
+
* @type {string}
|
|
9271
|
+
* @memberof SpecialtyModel
|
|
9272
|
+
*/
|
|
9273
|
+
'languageCode'?: string | null;
|
|
9098
9274
|
}
|
|
9099
9275
|
/**
|
|
9100
9276
|
*
|
|
@@ -9241,6 +9417,37 @@ export interface SpecialtyTypeModel {
|
|
|
9241
9417
|
* @memberof SpecialtyTypeModel
|
|
9242
9418
|
*/
|
|
9243
9419
|
'confirmed'?: boolean;
|
|
9420
|
+
/**
|
|
9421
|
+
*
|
|
9422
|
+
* @type {string}
|
|
9423
|
+
* @memberof SpecialtyTypeModel
|
|
9424
|
+
*/
|
|
9425
|
+
'languageCode'?: string | null;
|
|
9426
|
+
}
|
|
9427
|
+
/**
|
|
9428
|
+
*
|
|
9429
|
+
* @export
|
|
9430
|
+
* @interface SpecialtyTypeSimpleItemModel
|
|
9431
|
+
*/
|
|
9432
|
+
export interface SpecialtyTypeSimpleItemModel {
|
|
9433
|
+
/**
|
|
9434
|
+
*
|
|
9435
|
+
* @type {string}
|
|
9436
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9437
|
+
*/
|
|
9438
|
+
'id'?: string;
|
|
9439
|
+
/**
|
|
9440
|
+
*
|
|
9441
|
+
* @type {string}
|
|
9442
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9443
|
+
*/
|
|
9444
|
+
'name'?: string | null;
|
|
9445
|
+
/**
|
|
9446
|
+
*
|
|
9447
|
+
* @type {boolean}
|
|
9448
|
+
* @memberof SpecialtyTypeSimpleItemModel
|
|
9449
|
+
*/
|
|
9450
|
+
'confirmed'?: boolean;
|
|
9244
9451
|
}
|
|
9245
9452
|
/**
|
|
9246
9453
|
*
|
|
@@ -9261,6 +9468,25 @@ export interface SpecialtyTypesModel {
|
|
|
9261
9468
|
*/
|
|
9262
9469
|
'metaData'?: PagedListMetaData;
|
|
9263
9470
|
}
|
|
9471
|
+
/**
|
|
9472
|
+
*
|
|
9473
|
+
* @export
|
|
9474
|
+
* @interface SpecialtyTypesSimpleModel
|
|
9475
|
+
*/
|
|
9476
|
+
export interface SpecialtyTypesSimpleModel {
|
|
9477
|
+
/**
|
|
9478
|
+
*
|
|
9479
|
+
* @type {Array<SpecialtyTypeSimpleItemModel>}
|
|
9480
|
+
* @memberof SpecialtyTypesSimpleModel
|
|
9481
|
+
*/
|
|
9482
|
+
'items'?: Array<SpecialtyTypeSimpleItemModel> | null;
|
|
9483
|
+
/**
|
|
9484
|
+
*
|
|
9485
|
+
* @type {PagedListMetaData}
|
|
9486
|
+
* @memberof SpecialtyTypesSimpleModel
|
|
9487
|
+
*/
|
|
9488
|
+
'metaData'?: PagedListMetaData;
|
|
9489
|
+
}
|
|
9264
9490
|
/**
|
|
9265
9491
|
*
|
|
9266
9492
|
* @export
|
|
@@ -9944,6 +10170,12 @@ export interface UpdateCountryCommand {
|
|
|
9944
10170
|
* @memberof UpdateCountryCommand
|
|
9945
10171
|
*/
|
|
9946
10172
|
'name'?: string | null;
|
|
10173
|
+
/**
|
|
10174
|
+
*
|
|
10175
|
+
* @type {string}
|
|
10176
|
+
* @memberof UpdateCountryCommand
|
|
10177
|
+
*/
|
|
10178
|
+
'slug'?: string | null;
|
|
9947
10179
|
/**
|
|
9948
10180
|
*
|
|
9949
10181
|
* @type {string}
|
|
@@ -9968,12 +10200,6 @@ export interface UpdateCountryCommand {
|
|
|
9968
10200
|
* @memberof UpdateCountryCommand
|
|
9969
10201
|
*/
|
|
9970
10202
|
'confirmed'?: boolean;
|
|
9971
|
-
/**
|
|
9972
|
-
*
|
|
9973
|
-
* @type {Array<MediaModel>}
|
|
9974
|
-
* @memberof UpdateCountryCommand
|
|
9975
|
-
*/
|
|
9976
|
-
'medias'?: Array<MediaModel> | null;
|
|
9977
10203
|
}
|
|
9978
10204
|
/**
|
|
9979
10205
|
*
|
|
@@ -10023,6 +10249,18 @@ export interface UpdateDealCommand {
|
|
|
10023
10249
|
* @memberof UpdateDealCommand
|
|
10024
10250
|
*/
|
|
10025
10251
|
'photoThumbnail'?: string | null;
|
|
10252
|
+
/**
|
|
10253
|
+
*
|
|
10254
|
+
* @type {string}
|
|
10255
|
+
* @memberof UpdateDealCommand
|
|
10256
|
+
*/
|
|
10257
|
+
'languageCode'?: string | null;
|
|
10258
|
+
/**
|
|
10259
|
+
*
|
|
10260
|
+
* @type {boolean}
|
|
10261
|
+
* @memberof UpdateDealCommand
|
|
10262
|
+
*/
|
|
10263
|
+
'confirmed'?: boolean;
|
|
10026
10264
|
}
|
|
10027
10265
|
/**
|
|
10028
10266
|
*
|
|
@@ -10111,12 +10349,6 @@ export interface UpdateDoctorCertificateCommand {
|
|
|
10111
10349
|
* @interface UpdateDoctorCommand
|
|
10112
10350
|
*/
|
|
10113
10351
|
export interface UpdateDoctorCommand {
|
|
10114
|
-
/**
|
|
10115
|
-
*
|
|
10116
|
-
* @type {string}
|
|
10117
|
-
* @memberof UpdateDoctorCommand
|
|
10118
|
-
*/
|
|
10119
|
-
'userName'?: string | null;
|
|
10120
10352
|
/**
|
|
10121
10353
|
*
|
|
10122
10354
|
* @type {string}
|
|
@@ -10307,12 +10539,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
10307
10539
|
* @interface UpdateFaqCategoryCommand
|
|
10308
10540
|
*/
|
|
10309
10541
|
export interface UpdateFaqCategoryCommand {
|
|
10310
|
-
/**
|
|
10311
|
-
*
|
|
10312
|
-
* @type {string}
|
|
10313
|
-
* @memberof UpdateFaqCategoryCommand
|
|
10314
|
-
*/
|
|
10315
|
-
'id'?: string | null;
|
|
10316
10542
|
/**
|
|
10317
10543
|
*
|
|
10318
10544
|
* @type {string}
|
|
@@ -10844,12 +11070,6 @@ export interface UpdatePlanCommand {
|
|
|
10844
11070
|
* @memberof UpdatePlanCommand
|
|
10845
11071
|
*/
|
|
10846
11072
|
'unitPrice'?: number;
|
|
10847
|
-
/**
|
|
10848
|
-
*
|
|
10849
|
-
* @type {string}
|
|
10850
|
-
* @memberof UpdatePlanCommand
|
|
10851
|
-
*/
|
|
10852
|
-
'stripePriceId'?: string | null;
|
|
10853
11073
|
/**
|
|
10854
11074
|
*
|
|
10855
11075
|
* @type {RecurringInterval}
|
|
@@ -12101,10 +12321,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12101
12321
|
* @summary Get Article.
|
|
12102
12322
|
* @param {string} articleId
|
|
12103
12323
|
* @param {string} [languageCode]
|
|
12324
|
+
* @param {boolean} [returnDefaultValue]
|
|
12104
12325
|
* @param {*} [options] Override http request option.
|
|
12105
12326
|
* @throws {RequiredError}
|
|
12106
12327
|
*/
|
|
12107
|
-
apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12328
|
+
apiV1ArticlesArticleIdGet: async (articleId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12108
12329
|
// verify required parameter 'articleId' is not null or undefined
|
|
12109
12330
|
assertParamExists('apiV1ArticlesArticleIdGet', 'articleId', articleId)
|
|
12110
12331
|
const localVarPath = `/api/v1/articles/{articleId}`
|
|
@@ -12128,6 +12349,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12128
12349
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
12129
12350
|
}
|
|
12130
12351
|
|
|
12352
|
+
if (returnDefaultValue !== undefined) {
|
|
12353
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12354
|
+
}
|
|
12355
|
+
|
|
12131
12356
|
|
|
12132
12357
|
|
|
12133
12358
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12853,13 +13078,14 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12853
13078
|
* @param {string} [contributorId]
|
|
12854
13079
|
* @param {string} [languageCode]
|
|
12855
13080
|
* @param {boolean} [showHidden]
|
|
13081
|
+
* @param {boolean} [returnDefaultValue]
|
|
12856
13082
|
* @param {number} [page]
|
|
12857
13083
|
* @param {number} [limit]
|
|
12858
13084
|
* @param {Date} [lastRetrieved]
|
|
12859
13085
|
* @param {*} [options] Override http request option.
|
|
12860
13086
|
* @throws {RequiredError}
|
|
12861
13087
|
*/
|
|
12862
|
-
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13088
|
+
apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12863
13089
|
const localVarPath = `/api/v1/articles`;
|
|
12864
13090
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12865
13091
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12936,6 +13162,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12936
13162
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12937
13163
|
}
|
|
12938
13164
|
|
|
13165
|
+
if (returnDefaultValue !== undefined) {
|
|
13166
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13167
|
+
}
|
|
13168
|
+
|
|
12939
13169
|
if (page !== undefined) {
|
|
12940
13170
|
localVarQueryParameter['page'] = page;
|
|
12941
13171
|
}
|
|
@@ -13004,10 +13234,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13004
13234
|
* @summary Get Article by slug.
|
|
13005
13235
|
* @param {string} slug
|
|
13006
13236
|
* @param {string} [languageCode]
|
|
13237
|
+
* @param {boolean} [returnDefaultValue]
|
|
13007
13238
|
* @param {*} [options] Override http request option.
|
|
13008
13239
|
* @throws {RequiredError}
|
|
13009
13240
|
*/
|
|
13010
|
-
apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13241
|
+
apiV1ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13011
13242
|
// verify required parameter 'slug' is not null or undefined
|
|
13012
13243
|
assertParamExists('apiV1ArticlesSlugGet', 'slug', slug)
|
|
13013
13244
|
const localVarPath = `/api/v1/articles/{slug}`
|
|
@@ -13031,6 +13262,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13031
13262
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13032
13263
|
}
|
|
13033
13264
|
|
|
13265
|
+
if (returnDefaultValue !== undefined) {
|
|
13266
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13267
|
+
}
|
|
13268
|
+
|
|
13034
13269
|
|
|
13035
13270
|
|
|
13036
13271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13138,11 +13373,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13138
13373
|
* @summary Get Article.
|
|
13139
13374
|
* @param {string} articleId
|
|
13140
13375
|
* @param {string} [languageCode]
|
|
13376
|
+
* @param {boolean} [returnDefaultValue]
|
|
13141
13377
|
* @param {*} [options] Override http request option.
|
|
13142
13378
|
* @throws {RequiredError}
|
|
13143
13379
|
*/
|
|
13144
|
-
async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, options);
|
|
13380
|
+
async apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options);
|
|
13146
13382
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13147
13383
|
},
|
|
13148
13384
|
/**
|
|
@@ -13355,14 +13591,15 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13355
13591
|
* @param {string} [contributorId]
|
|
13356
13592
|
* @param {string} [languageCode]
|
|
13357
13593
|
* @param {boolean} [showHidden]
|
|
13594
|
+
* @param {boolean} [returnDefaultValue]
|
|
13358
13595
|
* @param {number} [page]
|
|
13359
13596
|
* @param {number} [limit]
|
|
13360
13597
|
* @param {Date} [lastRetrieved]
|
|
13361
13598
|
* @param {*} [options] Override http request option.
|
|
13362
13599
|
* @throws {RequiredError}
|
|
13363
13600
|
*/
|
|
13364
|
-
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
13365
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
13601
|
+
async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
|
|
13602
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13366
13603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13367
13604
|
},
|
|
13368
13605
|
/**
|
|
@@ -13381,11 +13618,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
13381
13618
|
* @summary Get Article by slug.
|
|
13382
13619
|
* @param {string} slug
|
|
13383
13620
|
* @param {string} [languageCode]
|
|
13621
|
+
* @param {boolean} [returnDefaultValue]
|
|
13384
13622
|
* @param {*} [options] Override http request option.
|
|
13385
13623
|
* @throws {RequiredError}
|
|
13386
13624
|
*/
|
|
13387
|
-
async apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13388
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, options);
|
|
13625
|
+
async apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
13626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
13389
13627
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13390
13628
|
},
|
|
13391
13629
|
}
|
|
@@ -13478,11 +13716,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13478
13716
|
* @summary Get Article.
|
|
13479
13717
|
* @param {string} articleId
|
|
13480
13718
|
* @param {string} [languageCode]
|
|
13719
|
+
* @param {boolean} [returnDefaultValue]
|
|
13481
13720
|
* @param {*} [options] Override http request option.
|
|
13482
13721
|
* @throws {RequiredError}
|
|
13483
13722
|
*/
|
|
13484
|
-
apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
13485
|
-
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(axios, basePath));
|
|
13723
|
+
apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
|
|
13724
|
+
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13486
13725
|
},
|
|
13487
13726
|
/**
|
|
13488
13727
|
*
|
|
@@ -13679,14 +13918,15 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13679
13918
|
* @param {string} [contributorId]
|
|
13680
13919
|
* @param {string} [languageCode]
|
|
13681
13920
|
* @param {boolean} [showHidden]
|
|
13921
|
+
* @param {boolean} [returnDefaultValue]
|
|
13682
13922
|
* @param {number} [page]
|
|
13683
13923
|
* @param {number} [limit]
|
|
13684
13924
|
* @param {Date} [lastRetrieved]
|
|
13685
13925
|
* @param {*} [options] Override http request option.
|
|
13686
13926
|
* @throws {RequiredError}
|
|
13687
13927
|
*/
|
|
13688
|
-
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
13689
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13928
|
+
apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
|
|
13929
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13690
13930
|
},
|
|
13691
13931
|
/**
|
|
13692
13932
|
*
|
|
@@ -13703,11 +13943,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
13703
13943
|
* @summary Get Article by slug.
|
|
13704
13944
|
* @param {string} slug
|
|
13705
13945
|
* @param {string} [languageCode]
|
|
13946
|
+
* @param {boolean} [returnDefaultValue]
|
|
13706
13947
|
* @param {*} [options] Override http request option.
|
|
13707
13948
|
* @throws {RequiredError}
|
|
13708
13949
|
*/
|
|
13709
|
-
apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
13710
|
-
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
13950
|
+
apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
|
|
13951
|
+
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13711
13952
|
},
|
|
13712
13953
|
};
|
|
13713
13954
|
};
|
|
@@ -13811,12 +14052,13 @@ export class ArticlesApi extends BaseAPI {
|
|
|
13811
14052
|
* @summary Get Article.
|
|
13812
14053
|
* @param {string} articleId
|
|
13813
14054
|
* @param {string} [languageCode]
|
|
14055
|
+
* @param {boolean} [returnDefaultValue]
|
|
13814
14056
|
* @param {*} [options] Override http request option.
|
|
13815
14057
|
* @throws {RequiredError}
|
|
13816
14058
|
* @memberof ArticlesApi
|
|
13817
14059
|
*/
|
|
13818
|
-
public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13819
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
14060
|
+
public apiV1ArticlesArticleIdGet(articleId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14061
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13820
14062
|
}
|
|
13821
14063
|
|
|
13822
14064
|
/**
|
|
@@ -14044,6 +14286,7 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14044
14286
|
* @param {string} [contributorId]
|
|
14045
14287
|
* @param {string} [languageCode]
|
|
14046
14288
|
* @param {boolean} [showHidden]
|
|
14289
|
+
* @param {boolean} [returnDefaultValue]
|
|
14047
14290
|
* @param {number} [page]
|
|
14048
14291
|
* @param {number} [limit]
|
|
14049
14292
|
* @param {Date} [lastRetrieved]
|
|
@@ -14051,8 +14294,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14051
14294
|
* @throws {RequiredError}
|
|
14052
14295
|
* @memberof ArticlesApi
|
|
14053
14296
|
*/
|
|
14054
|
-
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14055
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14297
|
+
public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14298
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14056
14299
|
}
|
|
14057
14300
|
|
|
14058
14301
|
/**
|
|
@@ -14072,12 +14315,13 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14072
14315
|
* @summary Get Article by slug.
|
|
14073
14316
|
* @param {string} slug
|
|
14074
14317
|
* @param {string} [languageCode]
|
|
14318
|
+
* @param {boolean} [returnDefaultValue]
|
|
14075
14319
|
* @param {*} [options] Override http request option.
|
|
14076
14320
|
* @throws {RequiredError}
|
|
14077
14321
|
* @memberof ArticlesApi
|
|
14078
14322
|
*/
|
|
14079
|
-
public apiV1ArticlesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
14080
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
14323
|
+
public apiV1ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14324
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
14081
14325
|
}
|
|
14082
14326
|
}
|
|
14083
14327
|
|
|
@@ -16511,13 +16755,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16511
16755
|
* @param {boolean} [isOpen]
|
|
16512
16756
|
* @param {boolean} [isCompleted]
|
|
16513
16757
|
* @param {ConsultationStatus} [status]
|
|
16758
|
+
* @param {ConsultationType} [consultationType]
|
|
16514
16759
|
* @param {number} [page]
|
|
16515
16760
|
* @param {number} [limit]
|
|
16516
16761
|
* @param {Date} [lastRetrieved]
|
|
16517
16762
|
* @param {*} [options] Override http request option.
|
|
16518
16763
|
* @throws {RequiredError}
|
|
16519
16764
|
*/
|
|
16520
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16765
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16521
16766
|
const localVarPath = `/api/v1/consultations`;
|
|
16522
16767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16523
16768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16550,6 +16795,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16550
16795
|
localVarQueryParameter['Status'] = status;
|
|
16551
16796
|
}
|
|
16552
16797
|
|
|
16798
|
+
if (consultationType !== undefined) {
|
|
16799
|
+
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
16800
|
+
}
|
|
16801
|
+
|
|
16553
16802
|
if (page !== undefined) {
|
|
16554
16803
|
localVarQueryParameter['page'] = page;
|
|
16555
16804
|
}
|
|
@@ -16649,14 +16898,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
16649
16898
|
* @param {boolean} [isOpen]
|
|
16650
16899
|
* @param {boolean} [isCompleted]
|
|
16651
16900
|
* @param {ConsultationStatus} [status]
|
|
16901
|
+
* @param {ConsultationType} [consultationType]
|
|
16652
16902
|
* @param {number} [page]
|
|
16653
16903
|
* @param {number} [limit]
|
|
16654
16904
|
* @param {Date} [lastRetrieved]
|
|
16655
16905
|
* @param {*} [options] Override http request option.
|
|
16656
16906
|
* @throws {RequiredError}
|
|
16657
16907
|
*/
|
|
16658
|
-
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16659
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options);
|
|
16908
|
+
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
16909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
|
|
16660
16910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16661
16911
|
},
|
|
16662
16912
|
}
|
|
@@ -16728,14 +16978,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
16728
16978
|
* @param {boolean} [isOpen]
|
|
16729
16979
|
* @param {boolean} [isCompleted]
|
|
16730
16980
|
* @param {ConsultationStatus} [status]
|
|
16981
|
+
* @param {ConsultationType} [consultationType]
|
|
16731
16982
|
* @param {number} [page]
|
|
16732
16983
|
* @param {number} [limit]
|
|
16733
16984
|
* @param {Date} [lastRetrieved]
|
|
16734
16985
|
* @param {*} [options] Override http request option.
|
|
16735
16986
|
* @throws {RequiredError}
|
|
16736
16987
|
*/
|
|
16737
|
-
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16738
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16988
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
16989
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16739
16990
|
},
|
|
16740
16991
|
};
|
|
16741
16992
|
};
|
|
@@ -16816,6 +17067,7 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16816
17067
|
* @param {boolean} [isOpen]
|
|
16817
17068
|
* @param {boolean} [isCompleted]
|
|
16818
17069
|
* @param {ConsultationStatus} [status]
|
|
17070
|
+
* @param {ConsultationType} [consultationType]
|
|
16819
17071
|
* @param {number} [page]
|
|
16820
17072
|
* @param {number} [limit]
|
|
16821
17073
|
* @param {Date} [lastRetrieved]
|
|
@@ -16823,8 +17075,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
16823
17075
|
* @throws {RequiredError}
|
|
16824
17076
|
* @memberof ConsultationsApi
|
|
16825
17077
|
*/
|
|
16826
|
-
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16827
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17078
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17079
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16828
17080
|
}
|
|
16829
17081
|
}
|
|
16830
17082
|
|
|
@@ -17213,9 +17465,9 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17213
17465
|
* @param {string} [email]
|
|
17214
17466
|
* @param {string} [description]
|
|
17215
17467
|
* @param {string} [website]
|
|
17216
|
-
* @param {string} [languageCode]
|
|
17217
17468
|
* @param {string} [hospitalId]
|
|
17218
17469
|
* @param {boolean} [interviewerOnly]
|
|
17470
|
+
* @param {string} [languageCode]
|
|
17219
17471
|
* @param {boolean} [showHidden]
|
|
17220
17472
|
* @param {number} [page]
|
|
17221
17473
|
* @param {number} [limit]
|
|
@@ -17223,7 +17475,7 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17223
17475
|
* @param {*} [options] Override http request option.
|
|
17224
17476
|
* @throws {RequiredError}
|
|
17225
17477
|
*/
|
|
17226
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17478
|
+
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17227
17479
|
const localVarPath = `/api/v1/contributors`;
|
|
17228
17480
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17229
17481
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17260,10 +17512,6 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17260
17512
|
localVarQueryParameter['Website'] = website;
|
|
17261
17513
|
}
|
|
17262
17514
|
|
|
17263
|
-
if (languageCode !== undefined) {
|
|
17264
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17265
|
-
}
|
|
17266
|
-
|
|
17267
17515
|
if (hospitalId !== undefined) {
|
|
17268
17516
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17269
17517
|
}
|
|
@@ -17272,6 +17520,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
17272
17520
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
17273
17521
|
}
|
|
17274
17522
|
|
|
17523
|
+
if (languageCode !== undefined) {
|
|
17524
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17525
|
+
}
|
|
17526
|
+
|
|
17275
17527
|
if (showHidden !== undefined) {
|
|
17276
17528
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17277
17529
|
}
|
|
@@ -17502,9 +17754,9 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17502
17754
|
* @param {string} [email]
|
|
17503
17755
|
* @param {string} [description]
|
|
17504
17756
|
* @param {string} [website]
|
|
17505
|
-
* @param {string} [languageCode]
|
|
17506
17757
|
* @param {string} [hospitalId]
|
|
17507
17758
|
* @param {boolean} [interviewerOnly]
|
|
17759
|
+
* @param {string} [languageCode]
|
|
17508
17760
|
* @param {boolean} [showHidden]
|
|
17509
17761
|
* @param {number} [page]
|
|
17510
17762
|
* @param {number} [limit]
|
|
@@ -17512,8 +17764,8 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
17512
17764
|
* @param {*} [options] Override http request option.
|
|
17513
17765
|
* @throws {RequiredError}
|
|
17514
17766
|
*/
|
|
17515
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17516
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website,
|
|
17767
|
+
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
17768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
17517
17769
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17518
17770
|
},
|
|
17519
17771
|
/**
|
|
@@ -17651,9 +17903,9 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17651
17903
|
* @param {string} [email]
|
|
17652
17904
|
* @param {string} [description]
|
|
17653
17905
|
* @param {string} [website]
|
|
17654
|
-
* @param {string} [languageCode]
|
|
17655
17906
|
* @param {string} [hospitalId]
|
|
17656
17907
|
* @param {boolean} [interviewerOnly]
|
|
17908
|
+
* @param {string} [languageCode]
|
|
17657
17909
|
* @param {boolean} [showHidden]
|
|
17658
17910
|
* @param {number} [page]
|
|
17659
17911
|
* @param {number} [limit]
|
|
@@ -17661,8 +17913,8 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
17661
17913
|
* @param {*} [options] Override http request option.
|
|
17662
17914
|
* @throws {RequiredError}
|
|
17663
17915
|
*/
|
|
17664
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17665
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website,
|
|
17916
|
+
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
17917
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17666
17918
|
},
|
|
17667
17919
|
/**
|
|
17668
17920
|
*
|
|
@@ -17813,9 +18065,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17813
18065
|
* @param {string} [email]
|
|
17814
18066
|
* @param {string} [description]
|
|
17815
18067
|
* @param {string} [website]
|
|
17816
|
-
* @param {string} [languageCode]
|
|
17817
18068
|
* @param {string} [hospitalId]
|
|
17818
18069
|
* @param {boolean} [interviewerOnly]
|
|
18070
|
+
* @param {string} [languageCode]
|
|
17819
18071
|
* @param {boolean} [showHidden]
|
|
17820
18072
|
* @param {number} [page]
|
|
17821
18073
|
* @param {number} [limit]
|
|
@@ -17824,8 +18076,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
17824
18076
|
* @throws {RequiredError}
|
|
17825
18077
|
* @memberof ContributorsApi
|
|
17826
18078
|
*/
|
|
17827
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string,
|
|
17828
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website,
|
|
18079
|
+
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18080
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17829
18081
|
}
|
|
17830
18082
|
|
|
17831
18083
|
/**
|
|
@@ -17904,10 +18156,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17904
18156
|
* @summary Get country.
|
|
17905
18157
|
* @param {string} countryId
|
|
17906
18158
|
* @param {string} [languageCode]
|
|
18159
|
+
* @param {boolean} [returnDefaultValue]
|
|
17907
18160
|
* @param {*} [options] Override http request option.
|
|
17908
18161
|
* @throws {RequiredError}
|
|
17909
18162
|
*/
|
|
17910
|
-
apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18163
|
+
apiV1CountriesCountryIdGet: async (countryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17911
18164
|
// verify required parameter 'countryId' is not null or undefined
|
|
17912
18165
|
assertParamExists('apiV1CountriesCountryIdGet', 'countryId', countryId)
|
|
17913
18166
|
const localVarPath = `/api/v1/countries/{countryId}`
|
|
@@ -17931,6 +18184,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17931
18184
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17932
18185
|
}
|
|
17933
18186
|
|
|
18187
|
+
if (returnDefaultValue !== undefined) {
|
|
18188
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18189
|
+
}
|
|
18190
|
+
|
|
17934
18191
|
|
|
17935
18192
|
|
|
17936
18193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18268,13 +18525,14 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18268
18525
|
* @param {Date} [createdDate]
|
|
18269
18526
|
* @param {string} [languageCode]
|
|
18270
18527
|
* @param {boolean} [showHidden]
|
|
18528
|
+
* @param {boolean} [returnDefaultValue]
|
|
18271
18529
|
* @param {number} [page]
|
|
18272
18530
|
* @param {number} [limit]
|
|
18273
18531
|
* @param {Date} [lastRetrieved]
|
|
18274
18532
|
* @param {*} [options] Override http request option.
|
|
18275
18533
|
* @throws {RequiredError}
|
|
18276
18534
|
*/
|
|
18277
|
-
apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18535
|
+
apiV1CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18278
18536
|
const localVarPath = `/api/v1/countries`;
|
|
18279
18537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18280
18538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18317,6 +18575,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18317
18575
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18318
18576
|
}
|
|
18319
18577
|
|
|
18578
|
+
if (returnDefaultValue !== undefined) {
|
|
18579
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18580
|
+
}
|
|
18581
|
+
|
|
18320
18582
|
if (page !== undefined) {
|
|
18321
18583
|
localVarQueryParameter['page'] = page;
|
|
18322
18584
|
}
|
|
@@ -18385,10 +18647,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18385
18647
|
* @summary Get country by slug.
|
|
18386
18648
|
* @param {string} slug
|
|
18387
18649
|
* @param {string} [languageCode]
|
|
18650
|
+
* @param {boolean} [returnDefaultValue]
|
|
18388
18651
|
* @param {*} [options] Override http request option.
|
|
18389
18652
|
* @throws {RequiredError}
|
|
18390
18653
|
*/
|
|
18391
|
-
apiV1CountriesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18654
|
+
apiV1CountriesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18392
18655
|
// verify required parameter 'slug' is not null or undefined
|
|
18393
18656
|
assertParamExists('apiV1CountriesSlugGet', 'slug', slug)
|
|
18394
18657
|
const localVarPath = `/api/v1/countries/{slug}`
|
|
@@ -18412,6 +18675,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18412
18675
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18413
18676
|
}
|
|
18414
18677
|
|
|
18678
|
+
if (returnDefaultValue !== undefined) {
|
|
18679
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18680
|
+
}
|
|
18681
|
+
|
|
18415
18682
|
|
|
18416
18683
|
|
|
18417
18684
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18449,11 +18716,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18449
18716
|
* @summary Get country.
|
|
18450
18717
|
* @param {string} countryId
|
|
18451
18718
|
* @param {string} [languageCode]
|
|
18719
|
+
* @param {boolean} [returnDefaultValue]
|
|
18452
18720
|
* @param {*} [options] Override http request option.
|
|
18453
18721
|
* @throws {RequiredError}
|
|
18454
18722
|
*/
|
|
18455
|
-
async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, options);
|
|
18723
|
+
async apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options);
|
|
18457
18725
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18458
18726
|
},
|
|
18459
18727
|
/**
|
|
@@ -18553,14 +18821,15 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18553
18821
|
* @param {Date} [createdDate]
|
|
18554
18822
|
* @param {string} [languageCode]
|
|
18555
18823
|
* @param {boolean} [showHidden]
|
|
18824
|
+
* @param {boolean} [returnDefaultValue]
|
|
18556
18825
|
* @param {number} [page]
|
|
18557
18826
|
* @param {number} [limit]
|
|
18558
18827
|
* @param {Date} [lastRetrieved]
|
|
18559
18828
|
* @param {*} [options] Override http request option.
|
|
18560
18829
|
* @throws {RequiredError}
|
|
18561
18830
|
*/
|
|
18562
|
-
async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
|
|
18563
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
18831
|
+
async apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
|
|
18832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
18564
18833
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18565
18834
|
},
|
|
18566
18835
|
/**
|
|
@@ -18579,11 +18848,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18579
18848
|
* @summary Get country by slug.
|
|
18580
18849
|
* @param {string} slug
|
|
18581
18850
|
* @param {string} [languageCode]
|
|
18851
|
+
* @param {boolean} [returnDefaultValue]
|
|
18582
18852
|
* @param {*} [options] Override http request option.
|
|
18583
18853
|
* @throws {RequiredError}
|
|
18584
18854
|
*/
|
|
18585
|
-
async apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18586
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, options);
|
|
18855
|
+
async apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
18856
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
18587
18857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18588
18858
|
},
|
|
18589
18859
|
}
|
|
@@ -18611,11 +18881,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18611
18881
|
* @summary Get country.
|
|
18612
18882
|
* @param {string} countryId
|
|
18613
18883
|
* @param {string} [languageCode]
|
|
18884
|
+
* @param {boolean} [returnDefaultValue]
|
|
18614
18885
|
* @param {*} [options] Override http request option.
|
|
18615
18886
|
* @throws {RequiredError}
|
|
18616
18887
|
*/
|
|
18617
|
-
apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
|
|
18618
|
-
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(axios, basePath));
|
|
18888
|
+
apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
18889
|
+
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18619
18890
|
},
|
|
18620
18891
|
/**
|
|
18621
18892
|
*
|
|
@@ -18707,14 +18978,15 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18707
18978
|
* @param {Date} [createdDate]
|
|
18708
18979
|
* @param {string} [languageCode]
|
|
18709
18980
|
* @param {boolean} [showHidden]
|
|
18981
|
+
* @param {boolean} [returnDefaultValue]
|
|
18710
18982
|
* @param {number} [page]
|
|
18711
18983
|
* @param {number} [limit]
|
|
18712
18984
|
* @param {Date} [lastRetrieved]
|
|
18713
18985
|
* @param {*} [options] Override http request option.
|
|
18714
18986
|
* @throws {RequiredError}
|
|
18715
18987
|
*/
|
|
18716
|
-
apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
|
|
18717
|
-
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18988
|
+
apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
|
|
18989
|
+
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18718
18990
|
},
|
|
18719
18991
|
/**
|
|
18720
18992
|
*
|
|
@@ -18731,11 +19003,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18731
19003
|
* @summary Get country by slug.
|
|
18732
19004
|
* @param {string} slug
|
|
18733
19005
|
* @param {string} [languageCode]
|
|
19006
|
+
* @param {boolean} [returnDefaultValue]
|
|
18734
19007
|
* @param {*} [options] Override http request option.
|
|
18735
19008
|
* @throws {RequiredError}
|
|
18736
19009
|
*/
|
|
18737
|
-
apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<CountryModel> {
|
|
18738
|
-
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
19010
|
+
apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
19011
|
+
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18739
19012
|
},
|
|
18740
19013
|
};
|
|
18741
19014
|
};
|
|
@@ -18764,12 +19037,13 @@ export class CountriesApi extends BaseAPI {
|
|
|
18764
19037
|
* @summary Get country.
|
|
18765
19038
|
* @param {string} countryId
|
|
18766
19039
|
* @param {string} [languageCode]
|
|
19040
|
+
* @param {boolean} [returnDefaultValue]
|
|
18767
19041
|
* @param {*} [options] Override http request option.
|
|
18768
19042
|
* @throws {RequiredError}
|
|
18769
19043
|
* @memberof CountriesApi
|
|
18770
19044
|
*/
|
|
18771
|
-
public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
18772
|
-
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19045
|
+
public apiV1CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19046
|
+
return CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18773
19047
|
}
|
|
18774
19048
|
|
|
18775
19049
|
/**
|
|
@@ -18876,6 +19150,7 @@ export class CountriesApi extends BaseAPI {
|
|
|
18876
19150
|
* @param {Date} [createdDate]
|
|
18877
19151
|
* @param {string} [languageCode]
|
|
18878
19152
|
* @param {boolean} [showHidden]
|
|
19153
|
+
* @param {boolean} [returnDefaultValue]
|
|
18879
19154
|
* @param {number} [page]
|
|
18880
19155
|
* @param {number} [limit]
|
|
18881
19156
|
* @param {Date} [lastRetrieved]
|
|
@@ -18883,8 +19158,8 @@ export class CountriesApi extends BaseAPI {
|
|
|
18883
19158
|
* @throws {RequiredError}
|
|
18884
19159
|
* @memberof CountriesApi
|
|
18885
19160
|
*/
|
|
18886
|
-
public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18887
|
-
return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19161
|
+
public apiV1CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19162
|
+
return CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18888
19163
|
}
|
|
18889
19164
|
|
|
18890
19165
|
/**
|
|
@@ -18904,12 +19179,13 @@ export class CountriesApi extends BaseAPI {
|
|
|
18904
19179
|
* @summary Get country by slug.
|
|
18905
19180
|
* @param {string} slug
|
|
18906
19181
|
* @param {string} [languageCode]
|
|
19182
|
+
* @param {boolean} [returnDefaultValue]
|
|
18907
19183
|
* @param {*} [options] Override http request option.
|
|
18908
19184
|
* @throws {RequiredError}
|
|
18909
19185
|
* @memberof CountriesApi
|
|
18910
19186
|
*/
|
|
18911
|
-
public apiV1CountriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
18912
|
-
return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19187
|
+
public apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19188
|
+
return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18913
19189
|
}
|
|
18914
19190
|
}
|
|
18915
19191
|
|
|
@@ -18962,10 +19238,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18962
19238
|
*
|
|
18963
19239
|
* @summary Get deal.
|
|
18964
19240
|
* @param {string} dealId
|
|
19241
|
+
* @param {string} [languageCode]
|
|
19242
|
+
* @param {boolean} [returnDefaultValue]
|
|
18965
19243
|
* @param {*} [options] Override http request option.
|
|
18966
19244
|
* @throws {RequiredError}
|
|
18967
19245
|
*/
|
|
18968
|
-
apiV1DealsDealIdGet: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19246
|
+
apiV1DealsDealIdGet: async (dealId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18969
19247
|
// verify required parameter 'dealId' is not null or undefined
|
|
18970
19248
|
assertParamExists('apiV1DealsDealIdGet', 'dealId', dealId)
|
|
18971
19249
|
const localVarPath = `/api/v1/deals/{dealId}`
|
|
@@ -18985,6 +19263,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18985
19263
|
// oauth required
|
|
18986
19264
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
18987
19265
|
|
|
19266
|
+
if (languageCode !== undefined) {
|
|
19267
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
19268
|
+
}
|
|
19269
|
+
|
|
19270
|
+
if (returnDefaultValue !== undefined) {
|
|
19271
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19272
|
+
}
|
|
19273
|
+
|
|
18988
19274
|
|
|
18989
19275
|
|
|
18990
19276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19536,13 +19822,16 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19536
19822
|
* @param {string} [exceptHospitalId]
|
|
19537
19823
|
* @param {string} [exceptDealId]
|
|
19538
19824
|
* @param {Array<string>} [ids]
|
|
19825
|
+
* @param {string} [languageCode]
|
|
19826
|
+
* @param {boolean} [showHidden]
|
|
19827
|
+
* @param {boolean} [returnDefaultValue]
|
|
19539
19828
|
* @param {number} [page]
|
|
19540
19829
|
* @param {number} [limit]
|
|
19541
19830
|
* @param {Date} [lastRetrieved]
|
|
19542
19831
|
* @param {*} [options] Override http request option.
|
|
19543
19832
|
* @throws {RequiredError}
|
|
19544
19833
|
*/
|
|
19545
|
-
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19834
|
+
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19546
19835
|
const localVarPath = `/api/v1/deals`;
|
|
19547
19836
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19548
19837
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19603,6 +19892,18 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19603
19892
|
localVarQueryParameter['Ids'] = ids;
|
|
19604
19893
|
}
|
|
19605
19894
|
|
|
19895
|
+
if (languageCode !== undefined) {
|
|
19896
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19897
|
+
}
|
|
19898
|
+
|
|
19899
|
+
if (showHidden !== undefined) {
|
|
19900
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
19901
|
+
}
|
|
19902
|
+
|
|
19903
|
+
if (returnDefaultValue !== undefined) {
|
|
19904
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19905
|
+
}
|
|
19906
|
+
|
|
19606
19907
|
if (page !== undefined) {
|
|
19607
19908
|
localVarQueryParameter['page'] = page;
|
|
19608
19909
|
}
|
|
@@ -19670,10 +19971,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19670
19971
|
*
|
|
19671
19972
|
* @summary Get deal by slug.
|
|
19672
19973
|
* @param {string} slug
|
|
19974
|
+
* @param {string} [languageCode]
|
|
19975
|
+
* @param {boolean} [returnDefaultValue]
|
|
19673
19976
|
* @param {*} [options] Override http request option.
|
|
19674
19977
|
* @throws {RequiredError}
|
|
19675
19978
|
*/
|
|
19676
|
-
apiV1DealsSlugGet: async (slug: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19979
|
+
apiV1DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19677
19980
|
// verify required parameter 'slug' is not null or undefined
|
|
19678
19981
|
assertParamExists('apiV1DealsSlugGet', 'slug', slug)
|
|
19679
19982
|
const localVarPath = `/api/v1/deals/{slug}`
|
|
@@ -19693,6 +19996,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19693
19996
|
// oauth required
|
|
19694
19997
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
19695
19998
|
|
|
19999
|
+
if (languageCode !== undefined) {
|
|
20000
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
20001
|
+
}
|
|
20002
|
+
|
|
20003
|
+
if (returnDefaultValue !== undefined) {
|
|
20004
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
20005
|
+
}
|
|
20006
|
+
|
|
19696
20007
|
|
|
19697
20008
|
|
|
19698
20009
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19729,11 +20040,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19729
20040
|
*
|
|
19730
20041
|
* @summary Get deal.
|
|
19731
20042
|
* @param {string} dealId
|
|
20043
|
+
* @param {string} [languageCode]
|
|
20044
|
+
* @param {boolean} [returnDefaultValue]
|
|
19732
20045
|
* @param {*} [options] Override http request option.
|
|
19733
20046
|
* @throws {RequiredError}
|
|
19734
20047
|
*/
|
|
19735
|
-
async apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
19736
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, options);
|
|
20048
|
+
async apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
19737
20050
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19738
20051
|
},
|
|
19739
20052
|
/**
|
|
@@ -19894,14 +20207,17 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19894
20207
|
* @param {string} [exceptHospitalId]
|
|
19895
20208
|
* @param {string} [exceptDealId]
|
|
19896
20209
|
* @param {Array<string>} [ids]
|
|
20210
|
+
* @param {string} [languageCode]
|
|
20211
|
+
* @param {boolean} [showHidden]
|
|
20212
|
+
* @param {boolean} [returnDefaultValue]
|
|
19897
20213
|
* @param {number} [page]
|
|
19898
20214
|
* @param {number} [limit]
|
|
19899
20215
|
* @param {Date} [lastRetrieved]
|
|
19900
20216
|
* @param {*} [options] Override http request option.
|
|
19901
20217
|
* @throws {RequiredError}
|
|
19902
20218
|
*/
|
|
19903
|
-
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
19904
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options);
|
|
20219
|
+
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
20220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
19905
20221
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19906
20222
|
},
|
|
19907
20223
|
/**
|
|
@@ -19919,11 +20235,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19919
20235
|
*
|
|
19920
20236
|
* @summary Get deal by slug.
|
|
19921
20237
|
* @param {string} slug
|
|
20238
|
+
* @param {string} [languageCode]
|
|
20239
|
+
* @param {boolean} [returnDefaultValue]
|
|
19922
20240
|
* @param {*} [options] Override http request option.
|
|
19923
20241
|
* @throws {RequiredError}
|
|
19924
20242
|
*/
|
|
19925
|
-
async apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
19926
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, options);
|
|
20243
|
+
async apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
19927
20245
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19928
20246
|
},
|
|
19929
20247
|
}
|
|
@@ -19950,11 +20268,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
19950
20268
|
*
|
|
19951
20269
|
* @summary Get deal.
|
|
19952
20270
|
* @param {string} dealId
|
|
20271
|
+
* @param {string} [languageCode]
|
|
20272
|
+
* @param {boolean} [returnDefaultValue]
|
|
19953
20273
|
* @param {*} [options] Override http request option.
|
|
19954
20274
|
* @throws {RequiredError}
|
|
19955
20275
|
*/
|
|
19956
|
-
apiV1DealsDealIdGet(dealId: string, options?: any): AxiosPromise<DealModel> {
|
|
19957
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, options).then((request) => request(axios, basePath));
|
|
20276
|
+
apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20277
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19958
20278
|
},
|
|
19959
20279
|
/**
|
|
19960
20280
|
*
|
|
@@ -20103,14 +20423,17 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20103
20423
|
* @param {string} [exceptHospitalId]
|
|
20104
20424
|
* @param {string} [exceptDealId]
|
|
20105
20425
|
* @param {Array<string>} [ids]
|
|
20426
|
+
* @param {string} [languageCode]
|
|
20427
|
+
* @param {boolean} [showHidden]
|
|
20428
|
+
* @param {boolean} [returnDefaultValue]
|
|
20106
20429
|
* @param {number} [page]
|
|
20107
20430
|
* @param {number} [limit]
|
|
20108
20431
|
* @param {Date} [lastRetrieved]
|
|
20109
20432
|
* @param {*} [options] Override http request option.
|
|
20110
20433
|
* @throws {RequiredError}
|
|
20111
20434
|
*/
|
|
20112
|
-
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20113
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20435
|
+
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20436
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20114
20437
|
},
|
|
20115
20438
|
/**
|
|
20116
20439
|
*
|
|
@@ -20126,11 +20449,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20126
20449
|
*
|
|
20127
20450
|
* @summary Get deal by slug.
|
|
20128
20451
|
* @param {string} slug
|
|
20452
|
+
* @param {string} [languageCode]
|
|
20453
|
+
* @param {boolean} [returnDefaultValue]
|
|
20129
20454
|
* @param {*} [options] Override http request option.
|
|
20130
20455
|
* @throws {RequiredError}
|
|
20131
20456
|
*/
|
|
20132
|
-
apiV1DealsSlugGet(slug: string, options?: any): AxiosPromise<DealModel> {
|
|
20133
|
-
return localVarFp.apiV1DealsSlugGet(slug, options).then((request) => request(axios, basePath));
|
|
20457
|
+
apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20458
|
+
return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
20134
20459
|
},
|
|
20135
20460
|
};
|
|
20136
20461
|
};
|
|
@@ -20158,12 +20483,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20158
20483
|
*
|
|
20159
20484
|
* @summary Get deal.
|
|
20160
20485
|
* @param {string} dealId
|
|
20486
|
+
* @param {string} [languageCode]
|
|
20487
|
+
* @param {boolean} [returnDefaultValue]
|
|
20161
20488
|
* @param {*} [options] Override http request option.
|
|
20162
20489
|
* @throws {RequiredError}
|
|
20163
20490
|
* @memberof DealsApi
|
|
20164
20491
|
*/
|
|
20165
|
-
public apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig) {
|
|
20166
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, options).then((request) => request(this.axios, this.basePath));
|
|
20492
|
+
public apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20493
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20167
20494
|
}
|
|
20168
20495
|
|
|
20169
20496
|
/**
|
|
@@ -20335,6 +20662,9 @@ export class DealsApi extends BaseAPI {
|
|
|
20335
20662
|
* @param {string} [exceptHospitalId]
|
|
20336
20663
|
* @param {string} [exceptDealId]
|
|
20337
20664
|
* @param {Array<string>} [ids]
|
|
20665
|
+
* @param {string} [languageCode]
|
|
20666
|
+
* @param {boolean} [showHidden]
|
|
20667
|
+
* @param {boolean} [returnDefaultValue]
|
|
20338
20668
|
* @param {number} [page]
|
|
20339
20669
|
* @param {number} [limit]
|
|
20340
20670
|
* @param {Date} [lastRetrieved]
|
|
@@ -20342,8 +20672,8 @@ export class DealsApi extends BaseAPI {
|
|
|
20342
20672
|
* @throws {RequiredError}
|
|
20343
20673
|
* @memberof DealsApi
|
|
20344
20674
|
*/
|
|
20345
|
-
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20346
|
-
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20675
|
+
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20676
|
+
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20347
20677
|
}
|
|
20348
20678
|
|
|
20349
20679
|
/**
|
|
@@ -20362,12 +20692,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20362
20692
|
*
|
|
20363
20693
|
* @summary Get deal by slug.
|
|
20364
20694
|
* @param {string} slug
|
|
20695
|
+
* @param {string} [languageCode]
|
|
20696
|
+
* @param {boolean} [returnDefaultValue]
|
|
20365
20697
|
* @param {*} [options] Override http request option.
|
|
20366
20698
|
* @throws {RequiredError}
|
|
20367
20699
|
* @memberof DealsApi
|
|
20368
20700
|
*/
|
|
20369
|
-
public apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig) {
|
|
20370
|
-
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, options).then((request) => request(this.axios, this.basePath));
|
|
20701
|
+
public apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20702
|
+
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20371
20703
|
}
|
|
20372
20704
|
}
|
|
20373
20705
|
|
|
@@ -21116,10 +21448,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21116
21448
|
* @summary Get Doctor.
|
|
21117
21449
|
* @param {string} doctorId
|
|
21118
21450
|
* @param {string} [languageCode]
|
|
21451
|
+
* @param {boolean} [returnDefaultValue]
|
|
21119
21452
|
* @param {*} [options] Override http request option.
|
|
21120
21453
|
* @throws {RequiredError}
|
|
21121
21454
|
*/
|
|
21122
|
-
apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21455
|
+
apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21123
21456
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21124
21457
|
assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
|
|
21125
21458
|
const localVarPath = `/api/v1/doctors/{doctorId}`
|
|
@@ -21143,6 +21476,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21143
21476
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
21144
21477
|
}
|
|
21145
21478
|
|
|
21479
|
+
if (returnDefaultValue !== undefined) {
|
|
21480
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
21481
|
+
}
|
|
21482
|
+
|
|
21146
21483
|
|
|
21147
21484
|
|
|
21148
21485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -21922,6 +22259,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21922
22259
|
* @summary Get all Doctors.
|
|
21923
22260
|
* @param {string} [hospitalId]
|
|
21924
22261
|
* @param {string} [languageCode]
|
|
22262
|
+
* @param {boolean} [returnDefaultValue]
|
|
21925
22263
|
* @param {string} [id]
|
|
21926
22264
|
* @param {string} [fullname]
|
|
21927
22265
|
* @param {string} [email]
|
|
@@ -21935,7 +22273,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21935
22273
|
* @param {*} [options] Override http request option.
|
|
21936
22274
|
* @throws {RequiredError}
|
|
21937
22275
|
*/
|
|
21938
|
-
apiV1DoctorsGet: async (hospitalId?: string, languageCode?: 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> => {
|
|
22276
|
+
apiV1DoctorsGet: 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> => {
|
|
21939
22277
|
const localVarPath = `/api/v1/doctors`;
|
|
21940
22278
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21941
22279
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21960,6 +22298,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21960
22298
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21961
22299
|
}
|
|
21962
22300
|
|
|
22301
|
+
if (returnDefaultValue !== undefined) {
|
|
22302
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
22303
|
+
}
|
|
22304
|
+
|
|
21963
22305
|
if (id !== undefined) {
|
|
21964
22306
|
localVarQueryParameter['Id'] = id;
|
|
21965
22307
|
}
|
|
@@ -22060,10 +22402,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22060
22402
|
* @summary Get Doctor by slug.
|
|
22061
22403
|
* @param {string} slug
|
|
22062
22404
|
* @param {string} [languageCode]
|
|
22405
|
+
* @param {boolean} [returnDefaultValue]
|
|
22063
22406
|
* @param {*} [options] Override http request option.
|
|
22064
22407
|
* @throws {RequiredError}
|
|
22065
22408
|
*/
|
|
22066
|
-
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22409
|
+
apiV1DoctorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22067
22410
|
// verify required parameter 'slug' is not null or undefined
|
|
22068
22411
|
assertParamExists('apiV1DoctorsSlugGet', 'slug', slug)
|
|
22069
22412
|
const localVarPath = `/api/v1/doctors/{slug}`
|
|
@@ -22087,6 +22430,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22087
22430
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
22088
22431
|
}
|
|
22089
22432
|
|
|
22433
|
+
if (returnDefaultValue !== undefined) {
|
|
22434
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
22435
|
+
}
|
|
22436
|
+
|
|
22090
22437
|
|
|
22091
22438
|
|
|
22092
22439
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22310,11 +22657,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22310
22657
|
* @summary Get Doctor.
|
|
22311
22658
|
* @param {string} doctorId
|
|
22312
22659
|
* @param {string} [languageCode]
|
|
22660
|
+
* @param {boolean} [returnDefaultValue]
|
|
22313
22661
|
* @param {*} [options] Override http request option.
|
|
22314
22662
|
* @throws {RequiredError}
|
|
22315
22663
|
*/
|
|
22316
|
-
async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
|
|
22664
|
+
async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
|
|
22318
22666
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22319
22667
|
},
|
|
22320
22668
|
/**
|
|
@@ -22531,6 +22879,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22531
22879
|
* @summary Get all Doctors.
|
|
22532
22880
|
* @param {string} [hospitalId]
|
|
22533
22881
|
* @param {string} [languageCode]
|
|
22882
|
+
* @param {boolean} [returnDefaultValue]
|
|
22534
22883
|
* @param {string} [id]
|
|
22535
22884
|
* @param {string} [fullname]
|
|
22536
22885
|
* @param {string} [email]
|
|
@@ -22544,8 +22893,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22544
22893
|
* @param {*} [options] Override http request option.
|
|
22545
22894
|
* @throws {RequiredError}
|
|
22546
22895
|
*/
|
|
22547
|
-
async apiV1DoctorsGet(hospitalId?: string, languageCode?: 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>> {
|
|
22548
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
22896
|
+
async apiV1DoctorsGet(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>> {
|
|
22897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
22549
22898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22550
22899
|
},
|
|
22551
22900
|
/**
|
|
@@ -22564,11 +22913,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22564
22913
|
* @summary Get Doctor by slug.
|
|
22565
22914
|
* @param {string} slug
|
|
22566
22915
|
* @param {string} [languageCode]
|
|
22916
|
+
* @param {boolean} [returnDefaultValue]
|
|
22567
22917
|
* @param {*} [options] Override http request option.
|
|
22568
22918
|
* @throws {RequiredError}
|
|
22569
22919
|
*/
|
|
22570
|
-
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22571
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options);
|
|
22920
|
+
async apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
22572
22922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22573
22923
|
},
|
|
22574
22924
|
}
|
|
@@ -22768,11 +23118,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22768
23118
|
* @summary Get Doctor.
|
|
22769
23119
|
* @param {string} doctorId
|
|
22770
23120
|
* @param {string} [languageCode]
|
|
23121
|
+
* @param {boolean} [returnDefaultValue]
|
|
22771
23122
|
* @param {*} [options] Override http request option.
|
|
22772
23123
|
* @throws {RequiredError}
|
|
22773
23124
|
*/
|
|
22774
|
-
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
22775
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
|
|
23125
|
+
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
23126
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
22776
23127
|
},
|
|
22777
23128
|
/**
|
|
22778
23129
|
*
|
|
@@ -22972,6 +23323,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22972
23323
|
* @summary Get all Doctors.
|
|
22973
23324
|
* @param {string} [hospitalId]
|
|
22974
23325
|
* @param {string} [languageCode]
|
|
23326
|
+
* @param {boolean} [returnDefaultValue]
|
|
22975
23327
|
* @param {string} [id]
|
|
22976
23328
|
* @param {string} [fullname]
|
|
22977
23329
|
* @param {string} [email]
|
|
@@ -22985,8 +23337,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22985
23337
|
* @param {*} [options] Override http request option.
|
|
22986
23338
|
* @throws {RequiredError}
|
|
22987
23339
|
*/
|
|
22988
|
-
apiV1DoctorsGet(hospitalId?: string, languageCode?: 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> {
|
|
22989
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23340
|
+
apiV1DoctorsGet(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> {
|
|
23341
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22990
23342
|
},
|
|
22991
23343
|
/**
|
|
22992
23344
|
*
|
|
@@ -23003,11 +23355,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23003
23355
|
* @summary Get Doctor by slug.
|
|
23004
23356
|
* @param {string} slug
|
|
23005
23357
|
* @param {string} [languageCode]
|
|
23358
|
+
* @param {boolean} [returnDefaultValue]
|
|
23006
23359
|
* @param {*} [options] Override http request option.
|
|
23007
23360
|
* @throws {RequiredError}
|
|
23008
23361
|
*/
|
|
23009
|
-
apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
23010
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
23362
|
+
apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
23363
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
23011
23364
|
},
|
|
23012
23365
|
};
|
|
23013
23366
|
};
|
|
@@ -23236,12 +23589,13 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23236
23589
|
* @summary Get Doctor.
|
|
23237
23590
|
* @param {string} doctorId
|
|
23238
23591
|
* @param {string} [languageCode]
|
|
23592
|
+
* @param {boolean} [returnDefaultValue]
|
|
23239
23593
|
* @param {*} [options] Override http request option.
|
|
23240
23594
|
* @throws {RequiredError}
|
|
23241
23595
|
* @memberof DoctorsApi
|
|
23242
23596
|
*/
|
|
23243
|
-
public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
23244
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
23597
|
+
public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
23598
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
23245
23599
|
}
|
|
23246
23600
|
|
|
23247
23601
|
/**
|
|
@@ -23474,6 +23828,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23474
23828
|
* @summary Get all Doctors.
|
|
23475
23829
|
* @param {string} [hospitalId]
|
|
23476
23830
|
* @param {string} [languageCode]
|
|
23831
|
+
* @param {boolean} [returnDefaultValue]
|
|
23477
23832
|
* @param {string} [id]
|
|
23478
23833
|
* @param {string} [fullname]
|
|
23479
23834
|
* @param {string} [email]
|
|
@@ -23488,8 +23843,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23488
23843
|
* @throws {RequiredError}
|
|
23489
23844
|
* @memberof DoctorsApi
|
|
23490
23845
|
*/
|
|
23491
|
-
public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23492
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23846
|
+
public apiV1DoctorsGet(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) {
|
|
23847
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23493
23848
|
}
|
|
23494
23849
|
|
|
23495
23850
|
/**
|
|
@@ -23509,12 +23864,13 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23509
23864
|
* @summary Get Doctor by slug.
|
|
23510
23865
|
* @param {string} slug
|
|
23511
23866
|
* @param {string} [languageCode]
|
|
23867
|
+
* @param {boolean} [returnDefaultValue]
|
|
23512
23868
|
* @param {*} [options] Override http request option.
|
|
23513
23869
|
* @throws {RequiredError}
|
|
23514
23870
|
* @memberof DoctorsApi
|
|
23515
23871
|
*/
|
|
23516
|
-
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
23517
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
23872
|
+
public apiV1DoctorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
23873
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
23518
23874
|
}
|
|
23519
23875
|
}
|
|
23520
23876
|
|
|
@@ -25022,14 +25378,17 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25022
25378
|
* @param {string} [title]
|
|
25023
25379
|
* @param {string} [content]
|
|
25024
25380
|
* @param {string} [categoryId]
|
|
25381
|
+
* @param {string} [hospitalId]
|
|
25382
|
+
* @param {string} [hospitalName]
|
|
25025
25383
|
* @param {string} [languageCode]
|
|
25384
|
+
* @param {boolean} [showHidden]
|
|
25026
25385
|
* @param {number} [page]
|
|
25027
25386
|
* @param {number} [limit]
|
|
25028
25387
|
* @param {Date} [lastRetrieved]
|
|
25029
25388
|
* @param {*} [options] Override http request option.
|
|
25030
25389
|
* @throws {RequiredError}
|
|
25031
25390
|
*/
|
|
25032
|
-
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25391
|
+
apiV1FaqsGet: async (id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25033
25392
|
const localVarPath = `/api/v1/faqs`;
|
|
25034
25393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25035
25394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25062,10 +25421,22 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
25062
25421
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
25063
25422
|
}
|
|
25064
25423
|
|
|
25424
|
+
if (hospitalId !== undefined) {
|
|
25425
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
25426
|
+
}
|
|
25427
|
+
|
|
25428
|
+
if (hospitalName !== undefined) {
|
|
25429
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
25430
|
+
}
|
|
25431
|
+
|
|
25065
25432
|
if (languageCode !== undefined) {
|
|
25066
25433
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25067
25434
|
}
|
|
25068
25435
|
|
|
25436
|
+
if (showHidden !== undefined) {
|
|
25437
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
25438
|
+
}
|
|
25439
|
+
|
|
25069
25440
|
if (page !== undefined) {
|
|
25070
25441
|
localVarQueryParameter['page'] = page;
|
|
25071
25442
|
}
|
|
@@ -25289,15 +25660,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
|
|
|
25289
25660
|
* @param {string} [title]
|
|
25290
25661
|
* @param {string} [content]
|
|
25291
25662
|
* @param {string} [categoryId]
|
|
25663
|
+
* @param {string} [hospitalId]
|
|
25664
|
+
* @param {string} [hospitalName]
|
|
25292
25665
|
* @param {string} [languageCode]
|
|
25666
|
+
* @param {boolean} [showHidden]
|
|
25293
25667
|
* @param {number} [page]
|
|
25294
25668
|
* @param {number} [limit]
|
|
25295
25669
|
* @param {Date} [lastRetrieved]
|
|
25296
25670
|
* @param {*} [options] Override http request option.
|
|
25297
25671
|
* @throws {RequiredError}
|
|
25298
25672
|
*/
|
|
25299
|
-
async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
|
|
25300
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options);
|
|
25673
|
+
async apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FaqsModel>> {
|
|
25674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25301
25675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25302
25676
|
},
|
|
25303
25677
|
/**
|
|
@@ -25432,15 +25806,18 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
25432
25806
|
* @param {string} [title]
|
|
25433
25807
|
* @param {string} [content]
|
|
25434
25808
|
* @param {string} [categoryId]
|
|
25809
|
+
* @param {string} [hospitalId]
|
|
25810
|
+
* @param {string} [hospitalName]
|
|
25435
25811
|
* @param {string} [languageCode]
|
|
25812
|
+
* @param {boolean} [showHidden]
|
|
25436
25813
|
* @param {number} [page]
|
|
25437
25814
|
* @param {number} [limit]
|
|
25438
25815
|
* @param {Date} [lastRetrieved]
|
|
25439
25816
|
* @param {*} [options] Override http request option.
|
|
25440
25817
|
* @throws {RequiredError}
|
|
25441
25818
|
*/
|
|
25442
|
-
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
25443
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25819
|
+
apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FaqsModel> {
|
|
25820
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25444
25821
|
},
|
|
25445
25822
|
/**
|
|
25446
25823
|
*
|
|
@@ -25588,7 +25965,10 @@ export class FaqsApi extends BaseAPI {
|
|
|
25588
25965
|
* @param {string} [title]
|
|
25589
25966
|
* @param {string} [content]
|
|
25590
25967
|
* @param {string} [categoryId]
|
|
25968
|
+
* @param {string} [hospitalId]
|
|
25969
|
+
* @param {string} [hospitalName]
|
|
25591
25970
|
* @param {string} [languageCode]
|
|
25971
|
+
* @param {boolean} [showHidden]
|
|
25592
25972
|
* @param {number} [page]
|
|
25593
25973
|
* @param {number} [limit]
|
|
25594
25974
|
* @param {Date} [lastRetrieved]
|
|
@@ -25596,8 +25976,8 @@ export class FaqsApi extends BaseAPI {
|
|
|
25596
25976
|
* @throws {RequiredError}
|
|
25597
25977
|
* @memberof FaqsApi
|
|
25598
25978
|
*/
|
|
25599
|
-
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25600
|
-
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25979
|
+
public apiV1FaqsGet(id?: string, title?: string, content?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25980
|
+
return FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25601
25981
|
}
|
|
25602
25982
|
|
|
25603
25983
|
/**
|
|
@@ -25649,13 +26029,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
25649
26029
|
* @param {boolean} [showHidden]
|
|
25650
26030
|
* @param {string} [languageCode]
|
|
25651
26031
|
* @param {Array<string>} [ids]
|
|
26032
|
+
* @param {boolean} [returnDefaultValue]
|
|
25652
26033
|
* @param {number} [page]
|
|
25653
26034
|
* @param {number} [limit]
|
|
25654
26035
|
* @param {Date} [lastRetrieved]
|
|
25655
26036
|
* @param {*} [options] Override http request option.
|
|
25656
26037
|
* @throws {RequiredError}
|
|
25657
26038
|
*/
|
|
25658
|
-
apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26039
|
+
apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25659
26040
|
const localVarPath = `/api/v1/hospitals`;
|
|
25660
26041
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25661
26042
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25726,6 +26107,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
25726
26107
|
localVarQueryParameter['Ids'] = ids;
|
|
25727
26108
|
}
|
|
25728
26109
|
|
|
26110
|
+
if (returnDefaultValue !== undefined) {
|
|
26111
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26112
|
+
}
|
|
26113
|
+
|
|
25729
26114
|
if (page !== undefined) {
|
|
25730
26115
|
localVarQueryParameter['page'] = page;
|
|
25731
26116
|
}
|
|
@@ -26702,10 +27087,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26702
27087
|
* @summary Get Hospital.
|
|
26703
27088
|
* @param {string} hospitalId
|
|
26704
27089
|
* @param {string} [languageCode]
|
|
27090
|
+
* @param {boolean} [returnDefaultValue]
|
|
26705
27091
|
* @param {*} [options] Override http request option.
|
|
26706
27092
|
* @throws {RequiredError}
|
|
26707
27093
|
*/
|
|
26708
|
-
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27094
|
+
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26709
27095
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
26710
27096
|
assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
26711
27097
|
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
@@ -26729,6 +27115,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
26729
27115
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26730
27116
|
}
|
|
26731
27117
|
|
|
27118
|
+
if (returnDefaultValue !== undefined) {
|
|
27119
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
27120
|
+
}
|
|
27121
|
+
|
|
26732
27122
|
|
|
26733
27123
|
|
|
26734
27124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27301,13 +27691,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27301
27691
|
* @param {Procedure} [procedure]
|
|
27302
27692
|
* @param {Date} [created]
|
|
27303
27693
|
* @param {string} [languageCode]
|
|
27694
|
+
* @param {boolean} [returnDefaultValue]
|
|
27304
27695
|
* @param {number} [page]
|
|
27305
27696
|
* @param {number} [limit]
|
|
27306
27697
|
* @param {Date} [lastRetrieved]
|
|
27307
27698
|
* @param {*} [options] Override http request option.
|
|
27308
27699
|
* @throws {RequiredError}
|
|
27309
27700
|
*/
|
|
27310
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27701
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27311
27702
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27312
27703
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
|
|
27313
27704
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -27384,6 +27775,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27384
27775
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
27385
27776
|
}
|
|
27386
27777
|
|
|
27778
|
+
if (returnDefaultValue !== undefined) {
|
|
27779
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27780
|
+
}
|
|
27781
|
+
|
|
27387
27782
|
if (page !== undefined) {
|
|
27388
27783
|
localVarQueryParameter['page'] = page;
|
|
27389
27784
|
}
|
|
@@ -27508,10 +27903,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27508
27903
|
* @param {string} specialtyId
|
|
27509
27904
|
* @param {string} serviceId
|
|
27510
27905
|
* @param {string} [languageCode]
|
|
27906
|
+
* @param {boolean} [returnDefaultValue]
|
|
27511
27907
|
* @param {*} [options] Override http request option.
|
|
27512
27908
|
* @throws {RequiredError}
|
|
27513
27909
|
*/
|
|
27514
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27910
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27515
27911
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
27516
27912
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
|
|
27517
27913
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -27541,6 +27937,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27541
27937
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27542
27938
|
}
|
|
27543
27939
|
|
|
27940
|
+
if (returnDefaultValue !== undefined) {
|
|
27941
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
27942
|
+
}
|
|
27943
|
+
|
|
27544
27944
|
|
|
27545
27945
|
|
|
27546
27946
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27933,13 +28333,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27933
28333
|
* @param {boolean} [showHidden]
|
|
27934
28334
|
* @param {string} [languageCode]
|
|
27935
28335
|
* @param {Array<string>} [ids]
|
|
28336
|
+
* @param {boolean} [returnDefaultValue]
|
|
27936
28337
|
* @param {number} [page]
|
|
27937
28338
|
* @param {number} [limit]
|
|
27938
28339
|
* @param {Date} [lastRetrieved]
|
|
27939
28340
|
* @param {*} [options] Override http request option.
|
|
27940
28341
|
* @throws {RequiredError}
|
|
27941
28342
|
*/
|
|
27942
|
-
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28343
|
+
apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27943
28344
|
const localVarPath = `/api/v1/hospitals/simple`;
|
|
27944
28345
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27945
28346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28010,6 +28411,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28010
28411
|
localVarQueryParameter['Ids'] = ids;
|
|
28011
28412
|
}
|
|
28012
28413
|
|
|
28414
|
+
if (returnDefaultValue !== undefined) {
|
|
28415
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
28416
|
+
}
|
|
28417
|
+
|
|
28013
28418
|
if (page !== undefined) {
|
|
28014
28419
|
localVarQueryParameter['page'] = page;
|
|
28015
28420
|
}
|
|
@@ -28040,10 +28445,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28040
28445
|
* @summary Get Hospital by slug.
|
|
28041
28446
|
* @param {string} slug
|
|
28042
28447
|
* @param {string} [languageCode]
|
|
28448
|
+
* @param {boolean} [returnDefaultValue]
|
|
28043
28449
|
* @param {*} [options] Override http request option.
|
|
28044
28450
|
* @throws {RequiredError}
|
|
28045
28451
|
*/
|
|
28046
|
-
apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28452
|
+
apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28047
28453
|
// verify required parameter 'slug' is not null or undefined
|
|
28048
28454
|
assertParamExists('apiV1HospitalsSlugGet', 'slug', slug)
|
|
28049
28455
|
const localVarPath = `/api/v1/hospitals/{slug}`
|
|
@@ -28067,6 +28473,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28067
28473
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
28068
28474
|
}
|
|
28069
28475
|
|
|
28476
|
+
if (returnDefaultValue !== undefined) {
|
|
28477
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28478
|
+
}
|
|
28479
|
+
|
|
28070
28480
|
|
|
28071
28481
|
|
|
28072
28482
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28104,14 +28514,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28104
28514
|
* @param {boolean} [showHidden]
|
|
28105
28515
|
* @param {string} [languageCode]
|
|
28106
28516
|
* @param {Array<string>} [ids]
|
|
28517
|
+
* @param {boolean} [returnDefaultValue]
|
|
28107
28518
|
* @param {number} [page]
|
|
28108
28519
|
* @param {number} [limit]
|
|
28109
28520
|
* @param {Date} [lastRetrieved]
|
|
28110
28521
|
* @param {*} [options] Override http request option.
|
|
28111
28522
|
* @throws {RequiredError}
|
|
28112
28523
|
*/
|
|
28113
|
-
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
28114
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
28524
|
+
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
28525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28115
28526
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28116
28527
|
},
|
|
28117
28528
|
/**
|
|
@@ -28375,11 +28786,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28375
28786
|
* @summary Get Hospital.
|
|
28376
28787
|
* @param {string} hospitalId
|
|
28377
28788
|
* @param {string} [languageCode]
|
|
28789
|
+
* @param {boolean} [returnDefaultValue]
|
|
28378
28790
|
* @param {*} [options] Override http request option.
|
|
28379
28791
|
* @throws {RequiredError}
|
|
28380
28792
|
*/
|
|
28381
|
-
async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28382
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options);
|
|
28793
|
+
async apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
28383
28795
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28384
28796
|
},
|
|
28385
28797
|
/**
|
|
@@ -28547,14 +28959,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28547
28959
|
* @param {Procedure} [procedure]
|
|
28548
28960
|
* @param {Date} [created]
|
|
28549
28961
|
* @param {string} [languageCode]
|
|
28962
|
+
* @param {boolean} [returnDefaultValue]
|
|
28550
28963
|
* @param {number} [page]
|
|
28551
28964
|
* @param {number} [limit]
|
|
28552
28965
|
* @param {Date} [lastRetrieved]
|
|
28553
28966
|
* @param {*} [options] Override http request option.
|
|
28554
28967
|
* @throws {RequiredError}
|
|
28555
28968
|
*/
|
|
28556
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
28557
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
28969
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
28970
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28558
28971
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28559
28972
|
},
|
|
28560
28973
|
/**
|
|
@@ -28590,11 +29003,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28590
29003
|
* @param {string} specialtyId
|
|
28591
29004
|
* @param {string} serviceId
|
|
28592
29005
|
* @param {string} [languageCode]
|
|
29006
|
+
* @param {boolean} [returnDefaultValue]
|
|
28593
29007
|
* @param {*} [options] Override http request option.
|
|
28594
29008
|
* @throws {RequiredError}
|
|
28595
29009
|
*/
|
|
28596
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
28597
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options);
|
|
29010
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
29011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options);
|
|
28598
29012
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28599
29013
|
},
|
|
28600
29014
|
/**
|
|
@@ -28713,14 +29127,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28713
29127
|
* @param {boolean} [showHidden]
|
|
28714
29128
|
* @param {string} [languageCode]
|
|
28715
29129
|
* @param {Array<string>} [ids]
|
|
29130
|
+
* @param {boolean} [returnDefaultValue]
|
|
28716
29131
|
* @param {number} [page]
|
|
28717
29132
|
* @param {number} [limit]
|
|
28718
29133
|
* @param {Date} [lastRetrieved]
|
|
28719
29134
|
* @param {*} [options] Override http request option.
|
|
28720
29135
|
* @throws {RequiredError}
|
|
28721
29136
|
*/
|
|
28722
|
-
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
28723
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
29137
|
+
async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
29138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
28724
29139
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28725
29140
|
},
|
|
28726
29141
|
/**
|
|
@@ -28728,11 +29143,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28728
29143
|
* @summary Get Hospital by slug.
|
|
28729
29144
|
* @param {string} slug
|
|
28730
29145
|
* @param {string} [languageCode]
|
|
29146
|
+
* @param {boolean} [returnDefaultValue]
|
|
28731
29147
|
* @param {*} [options] Override http request option.
|
|
28732
29148
|
* @throws {RequiredError}
|
|
28733
29149
|
*/
|
|
28734
|
-
async apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
28735
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options);
|
|
29150
|
+
async apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalModel>> {
|
|
29151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
28736
29152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28737
29153
|
},
|
|
28738
29154
|
}
|
|
@@ -28761,14 +29177,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
28761
29177
|
* @param {boolean} [showHidden]
|
|
28762
29178
|
* @param {string} [languageCode]
|
|
28763
29179
|
* @param {Array<string>} [ids]
|
|
29180
|
+
* @param {boolean} [returnDefaultValue]
|
|
28764
29181
|
* @param {number} [page]
|
|
28765
29182
|
* @param {number} [limit]
|
|
28766
29183
|
* @param {Date} [lastRetrieved]
|
|
28767
29184
|
* @param {*} [options] Override http request option.
|
|
28768
29185
|
* @throws {RequiredError}
|
|
28769
29186
|
*/
|
|
28770
|
-
apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
28771
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29187
|
+
apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
29188
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28772
29189
|
},
|
|
28773
29190
|
/**
|
|
28774
29191
|
*
|
|
@@ -29012,11 +29429,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29012
29429
|
* @summary Get Hospital.
|
|
29013
29430
|
* @param {string} hospitalId
|
|
29014
29431
|
* @param {string} [languageCode]
|
|
29432
|
+
* @param {boolean} [returnDefaultValue]
|
|
29015
29433
|
* @param {*} [options] Override http request option.
|
|
29016
29434
|
* @throws {RequiredError}
|
|
29017
29435
|
*/
|
|
29018
|
-
apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
29019
|
-
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
29436
|
+
apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
29437
|
+
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29020
29438
|
},
|
|
29021
29439
|
/**
|
|
29022
29440
|
*
|
|
@@ -29172,14 +29590,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29172
29590
|
* @param {Procedure} [procedure]
|
|
29173
29591
|
* @param {Date} [created]
|
|
29174
29592
|
* @param {string} [languageCode]
|
|
29593
|
+
* @param {boolean} [returnDefaultValue]
|
|
29175
29594
|
* @param {number} [page]
|
|
29176
29595
|
* @param {number} [limit]
|
|
29177
29596
|
* @param {Date} [lastRetrieved]
|
|
29178
29597
|
* @param {*} [options] Override http request option.
|
|
29179
29598
|
* @throws {RequiredError}
|
|
29180
29599
|
*/
|
|
29181
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
29182
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29600
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
29601
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29183
29602
|
},
|
|
29184
29603
|
/**
|
|
29185
29604
|
*
|
|
@@ -29212,11 +29631,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29212
29631
|
* @param {string} specialtyId
|
|
29213
29632
|
* @param {string} serviceId
|
|
29214
29633
|
* @param {string} [languageCode]
|
|
29634
|
+
* @param {boolean} [returnDefaultValue]
|
|
29215
29635
|
* @param {*} [options] Override http request option.
|
|
29216
29636
|
* @throws {RequiredError}
|
|
29217
29637
|
*/
|
|
29218
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
29219
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
29638
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
29639
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29220
29640
|
},
|
|
29221
29641
|
/**
|
|
29222
29642
|
*
|
|
@@ -29327,25 +29747,27 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29327
29747
|
* @param {boolean} [showHidden]
|
|
29328
29748
|
* @param {string} [languageCode]
|
|
29329
29749
|
* @param {Array<string>} [ids]
|
|
29750
|
+
* @param {boolean} [returnDefaultValue]
|
|
29330
29751
|
* @param {number} [page]
|
|
29331
29752
|
* @param {number} [limit]
|
|
29332
29753
|
* @param {Date} [lastRetrieved]
|
|
29333
29754
|
* @param {*} [options] Override http request option.
|
|
29334
29755
|
* @throws {RequiredError}
|
|
29335
29756
|
*/
|
|
29336
|
-
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
29337
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29757
|
+
apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
29758
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29338
29759
|
},
|
|
29339
29760
|
/**
|
|
29340
29761
|
*
|
|
29341
29762
|
* @summary Get Hospital by slug.
|
|
29342
29763
|
* @param {string} slug
|
|
29343
29764
|
* @param {string} [languageCode]
|
|
29765
|
+
* @param {boolean} [returnDefaultValue]
|
|
29344
29766
|
* @param {*} [options] Override http request option.
|
|
29345
29767
|
* @throws {RequiredError}
|
|
29346
29768
|
*/
|
|
29347
|
-
apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalModel> {
|
|
29348
|
-
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
29769
|
+
apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalModel> {
|
|
29770
|
+
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
29349
29771
|
},
|
|
29350
29772
|
};
|
|
29351
29773
|
};
|
|
@@ -29373,6 +29795,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29373
29795
|
* @param {boolean} [showHidden]
|
|
29374
29796
|
* @param {string} [languageCode]
|
|
29375
29797
|
* @param {Array<string>} [ids]
|
|
29798
|
+
* @param {boolean} [returnDefaultValue]
|
|
29376
29799
|
* @param {number} [page]
|
|
29377
29800
|
* @param {number} [limit]
|
|
29378
29801
|
* @param {Date} [lastRetrieved]
|
|
@@ -29380,8 +29803,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29380
29803
|
* @throws {RequiredError}
|
|
29381
29804
|
* @memberof HospitalsApi
|
|
29382
29805
|
*/
|
|
29383
|
-
public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29384
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29806
|
+
public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29807
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29385
29808
|
}
|
|
29386
29809
|
|
|
29387
29810
|
/**
|
|
@@ -29664,12 +30087,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29664
30087
|
* @summary Get Hospital.
|
|
29665
30088
|
* @param {string} hospitalId
|
|
29666
30089
|
* @param {string} [languageCode]
|
|
30090
|
+
* @param {boolean} [returnDefaultValue]
|
|
29667
30091
|
* @param {*} [options] Override http request option.
|
|
29668
30092
|
* @throws {RequiredError}
|
|
29669
30093
|
* @memberof HospitalsApi
|
|
29670
30094
|
*/
|
|
29671
|
-
public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
29672
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30095
|
+
public apiV1HospitalsHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30096
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
29673
30097
|
}
|
|
29674
30098
|
|
|
29675
30099
|
/**
|
|
@@ -29848,6 +30272,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29848
30272
|
* @param {Procedure} [procedure]
|
|
29849
30273
|
* @param {Date} [created]
|
|
29850
30274
|
* @param {string} [languageCode]
|
|
30275
|
+
* @param {boolean} [returnDefaultValue]
|
|
29851
30276
|
* @param {number} [page]
|
|
29852
30277
|
* @param {number} [limit]
|
|
29853
30278
|
* @param {Date} [lastRetrieved]
|
|
@@ -29855,8 +30280,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29855
30280
|
* @throws {RequiredError}
|
|
29856
30281
|
* @memberof HospitalsApi
|
|
29857
30282
|
*/
|
|
29858
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29859
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30283
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30284
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29860
30285
|
}
|
|
29861
30286
|
|
|
29862
30287
|
/**
|
|
@@ -29894,12 +30319,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
29894
30319
|
* @param {string} specialtyId
|
|
29895
30320
|
* @param {string} serviceId
|
|
29896
30321
|
* @param {string} [languageCode]
|
|
30322
|
+
* @param {boolean} [returnDefaultValue]
|
|
29897
30323
|
* @param {*} [options] Override http request option.
|
|
29898
30324
|
* @throws {RequiredError}
|
|
29899
30325
|
* @memberof HospitalsApi
|
|
29900
30326
|
*/
|
|
29901
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
29902
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30327
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30328
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
29903
30329
|
}
|
|
29904
30330
|
|
|
29905
30331
|
/**
|
|
@@ -30025,6 +30451,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30025
30451
|
* @param {boolean} [showHidden]
|
|
30026
30452
|
* @param {string} [languageCode]
|
|
30027
30453
|
* @param {Array<string>} [ids]
|
|
30454
|
+
* @param {boolean} [returnDefaultValue]
|
|
30028
30455
|
* @param {number} [page]
|
|
30029
30456
|
* @param {number} [limit]
|
|
30030
30457
|
* @param {Date} [lastRetrieved]
|
|
@@ -30032,8 +30459,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30032
30459
|
* @throws {RequiredError}
|
|
30033
30460
|
* @memberof HospitalsApi
|
|
30034
30461
|
*/
|
|
30035
|
-
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30036
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30462
|
+
public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30463
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30037
30464
|
}
|
|
30038
30465
|
|
|
30039
30466
|
/**
|
|
@@ -30041,12 +30468,13 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30041
30468
|
* @summary Get Hospital by slug.
|
|
30042
30469
|
* @param {string} slug
|
|
30043
30470
|
* @param {string} [languageCode]
|
|
30471
|
+
* @param {boolean} [returnDefaultValue]
|
|
30044
30472
|
* @param {*} [options] Override http request option.
|
|
30045
30473
|
* @throws {RequiredError}
|
|
30046
30474
|
* @memberof HospitalsApi
|
|
30047
30475
|
*/
|
|
30048
|
-
public apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
30049
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
30476
|
+
public apiV1HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
30477
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
30050
30478
|
}
|
|
30051
30479
|
}
|
|
30052
30480
|
|
|
@@ -33595,13 +34023,14 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33595
34023
|
* @param {Procedure} [procedure]
|
|
33596
34024
|
* @param {Date} [created]
|
|
33597
34025
|
* @param {string} [languageCode]
|
|
34026
|
+
* @param {boolean} [returnDefaultValue]
|
|
33598
34027
|
* @param {number} [page]
|
|
33599
34028
|
* @param {number} [limit]
|
|
33600
34029
|
* @param {Date} [lastRetrieved]
|
|
33601
34030
|
* @param {*} [options] Override http request option.
|
|
33602
34031
|
* @throws {RequiredError}
|
|
33603
34032
|
*/
|
|
33604
|
-
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34033
|
+
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33605
34034
|
const localVarPath = `/api/v1/services`;
|
|
33606
34035
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33607
34036
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33680,6 +34109,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33680
34109
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
33681
34110
|
}
|
|
33682
34111
|
|
|
34112
|
+
if (returnDefaultValue !== undefined) {
|
|
34113
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34114
|
+
}
|
|
34115
|
+
|
|
33683
34116
|
if (page !== undefined) {
|
|
33684
34117
|
localVarQueryParameter['page'] = page;
|
|
33685
34118
|
}
|
|
@@ -33710,10 +34143,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33710
34143
|
* @summary Get HospitalService.
|
|
33711
34144
|
* @param {string} serviceId
|
|
33712
34145
|
* @param {string} [languageCode]
|
|
34146
|
+
* @param {boolean} [returnDefaultValue]
|
|
33713
34147
|
* @param {*} [options] Override http request option.
|
|
33714
34148
|
* @throws {RequiredError}
|
|
33715
34149
|
*/
|
|
33716
|
-
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34150
|
+
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33717
34151
|
// verify required parameter 'serviceId' is not null or undefined
|
|
33718
34152
|
assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
|
|
33719
34153
|
const localVarPath = `/api/v1/services/{serviceId}`
|
|
@@ -33737,6 +34171,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33737
34171
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
33738
34172
|
}
|
|
33739
34173
|
|
|
34174
|
+
if (returnDefaultValue !== undefined) {
|
|
34175
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34176
|
+
}
|
|
34177
|
+
|
|
33740
34178
|
|
|
33741
34179
|
|
|
33742
34180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33753,10 +34191,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33753
34191
|
* @summary Get HospitalService by slug.
|
|
33754
34192
|
* @param {string} slug
|
|
33755
34193
|
* @param {string} [languageCode]
|
|
34194
|
+
* @param {boolean} [returnDefaultValue]
|
|
33756
34195
|
* @param {*} [options] Override http request option.
|
|
33757
34196
|
* @throws {RequiredError}
|
|
33758
34197
|
*/
|
|
33759
|
-
apiV1ServicesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34198
|
+
apiV1ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33760
34199
|
// verify required parameter 'slug' is not null or undefined
|
|
33761
34200
|
assertParamExists('apiV1ServicesSlugGet', 'slug', slug)
|
|
33762
34201
|
const localVarPath = `/api/v1/services/{slug}`
|
|
@@ -33780,6 +34219,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33780
34219
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
33781
34220
|
}
|
|
33782
34221
|
|
|
34222
|
+
if (returnDefaultValue !== undefined) {
|
|
34223
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
34224
|
+
}
|
|
34225
|
+
|
|
33783
34226
|
|
|
33784
34227
|
|
|
33785
34228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33819,14 +34262,15 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33819
34262
|
* @param {Procedure} [procedure]
|
|
33820
34263
|
* @param {Date} [created]
|
|
33821
34264
|
* @param {string} [languageCode]
|
|
34265
|
+
* @param {boolean} [returnDefaultValue]
|
|
33822
34266
|
* @param {number} [page]
|
|
33823
34267
|
* @param {number} [limit]
|
|
33824
34268
|
* @param {Date} [lastRetrieved]
|
|
33825
34269
|
* @param {*} [options] Override http request option.
|
|
33826
34270
|
* @throws {RequiredError}
|
|
33827
34271
|
*/
|
|
33828
|
-
async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
33829
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
34272
|
+
async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
34273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
33830
34274
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33831
34275
|
},
|
|
33832
34276
|
/**
|
|
@@ -33834,11 +34278,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33834
34278
|
* @summary Get HospitalService.
|
|
33835
34279
|
* @param {string} serviceId
|
|
33836
34280
|
* @param {string} [languageCode]
|
|
34281
|
+
* @param {boolean} [returnDefaultValue]
|
|
33837
34282
|
* @param {*} [options] Override http request option.
|
|
33838
34283
|
* @throws {RequiredError}
|
|
33839
34284
|
*/
|
|
33840
|
-
async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
33841
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options);
|
|
34285
|
+
async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
34286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options);
|
|
33842
34287
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33843
34288
|
},
|
|
33844
34289
|
/**
|
|
@@ -33846,11 +34291,12 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
33846
34291
|
* @summary Get HospitalService by slug.
|
|
33847
34292
|
* @param {string} slug
|
|
33848
34293
|
* @param {string} [languageCode]
|
|
34294
|
+
* @param {boolean} [returnDefaultValue]
|
|
33849
34295
|
* @param {*} [options] Override http request option.
|
|
33850
34296
|
* @throws {RequiredError}
|
|
33851
34297
|
*/
|
|
33852
|
-
async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
33853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options);
|
|
34298
|
+
async apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
34299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
33854
34300
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33855
34301
|
},
|
|
33856
34302
|
}
|
|
@@ -33881,36 +34327,39 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
33881
34327
|
* @param {Procedure} [procedure]
|
|
33882
34328
|
* @param {Date} [created]
|
|
33883
34329
|
* @param {string} [languageCode]
|
|
34330
|
+
* @param {boolean} [returnDefaultValue]
|
|
33884
34331
|
* @param {number} [page]
|
|
33885
34332
|
* @param {number} [limit]
|
|
33886
34333
|
* @param {Date} [lastRetrieved]
|
|
33887
34334
|
* @param {*} [options] Override http request option.
|
|
33888
34335
|
* @throws {RequiredError}
|
|
33889
34336
|
*/
|
|
33890
|
-
apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
33891
|
-
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34337
|
+
apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
34338
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
33892
34339
|
},
|
|
33893
34340
|
/**
|
|
33894
34341
|
*
|
|
33895
34342
|
* @summary Get HospitalService.
|
|
33896
34343
|
* @param {string} serviceId
|
|
33897
34344
|
* @param {string} [languageCode]
|
|
34345
|
+
* @param {boolean} [returnDefaultValue]
|
|
33898
34346
|
* @param {*} [options] Override http request option.
|
|
33899
34347
|
* @throws {RequiredError}
|
|
33900
34348
|
*/
|
|
33901
|
-
apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
33902
|
-
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
34349
|
+
apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
34350
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
33903
34351
|
},
|
|
33904
34352
|
/**
|
|
33905
34353
|
*
|
|
33906
34354
|
* @summary Get HospitalService by slug.
|
|
33907
34355
|
* @param {string} slug
|
|
33908
34356
|
* @param {string} [languageCode]
|
|
34357
|
+
* @param {boolean} [returnDefaultValue]
|
|
33909
34358
|
* @param {*} [options] Override http request option.
|
|
33910
34359
|
* @throws {RequiredError}
|
|
33911
34360
|
*/
|
|
33912
|
-
apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
33913
|
-
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
34361
|
+
apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
34362
|
+
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
33914
34363
|
},
|
|
33915
34364
|
};
|
|
33916
34365
|
};
|
|
@@ -33940,6 +34389,7 @@ export class ServicesApi extends BaseAPI {
|
|
|
33940
34389
|
* @param {Procedure} [procedure]
|
|
33941
34390
|
* @param {Date} [created]
|
|
33942
34391
|
* @param {string} [languageCode]
|
|
34392
|
+
* @param {boolean} [returnDefaultValue]
|
|
33943
34393
|
* @param {number} [page]
|
|
33944
34394
|
* @param {number} [limit]
|
|
33945
34395
|
* @param {Date} [lastRetrieved]
|
|
@@ -33947,8 +34397,8 @@ export class ServicesApi extends BaseAPI {
|
|
|
33947
34397
|
* @throws {RequiredError}
|
|
33948
34398
|
* @memberof ServicesApi
|
|
33949
34399
|
*/
|
|
33950
|
-
public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
33951
|
-
return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34400
|
+
public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34401
|
+
return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
33952
34402
|
}
|
|
33953
34403
|
|
|
33954
34404
|
/**
|
|
@@ -33956,12 +34406,13 @@ export class ServicesApi extends BaseAPI {
|
|
|
33956
34406
|
* @summary Get HospitalService.
|
|
33957
34407
|
* @param {string} serviceId
|
|
33958
34408
|
* @param {string} [languageCode]
|
|
34409
|
+
* @param {boolean} [returnDefaultValue]
|
|
33959
34410
|
* @param {*} [options] Override http request option.
|
|
33960
34411
|
* @throws {RequiredError}
|
|
33961
34412
|
* @memberof ServicesApi
|
|
33962
34413
|
*/
|
|
33963
|
-
public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
33964
|
-
return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34414
|
+
public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
34415
|
+
return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
33965
34416
|
}
|
|
33966
34417
|
|
|
33967
34418
|
/**
|
|
@@ -33969,12 +34420,13 @@ export class ServicesApi extends BaseAPI {
|
|
|
33969
34420
|
* @summary Get HospitalService by slug.
|
|
33970
34421
|
* @param {string} slug
|
|
33971
34422
|
* @param {string} [languageCode]
|
|
34423
|
+
* @param {boolean} [returnDefaultValue]
|
|
33972
34424
|
* @param {*} [options] Override http request option.
|
|
33973
34425
|
* @throws {RequiredError}
|
|
33974
34426
|
* @memberof ServicesApi
|
|
33975
34427
|
*/
|
|
33976
|
-
public apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
33977
|
-
return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
34428
|
+
public apiV1ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
34429
|
+
return ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
33978
34430
|
}
|
|
33979
34431
|
}
|
|
33980
34432
|
|
|
@@ -34451,13 +34903,14 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34451
34903
|
* @param {Date} [created]
|
|
34452
34904
|
* @param {string} [languageCode]
|
|
34453
34905
|
* @param {Array<string>} [ids]
|
|
34906
|
+
* @param {boolean} [returnDefaultValue]
|
|
34454
34907
|
* @param {number} [page]
|
|
34455
34908
|
* @param {number} [limit]
|
|
34456
34909
|
* @param {Date} [lastRetrieved]
|
|
34457
34910
|
* @param {*} [options] Override http request option.
|
|
34458
34911
|
* @throws {RequiredError}
|
|
34459
34912
|
*/
|
|
34460
|
-
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34913
|
+
apiV1SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34461
34914
|
const localVarPath = `/api/v1/specialties`;
|
|
34462
34915
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34463
34916
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34508,6 +34961,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34508
34961
|
localVarQueryParameter['Ids'] = ids;
|
|
34509
34962
|
}
|
|
34510
34963
|
|
|
34964
|
+
if (returnDefaultValue !== undefined) {
|
|
34965
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34966
|
+
}
|
|
34967
|
+
|
|
34511
34968
|
if (page !== undefined) {
|
|
34512
34969
|
localVarQueryParameter['page'] = page;
|
|
34513
34970
|
}
|
|
@@ -34576,10 +35033,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34576
35033
|
* @summary Get Specialty by slug.
|
|
34577
35034
|
* @param {string} slug
|
|
34578
35035
|
* @param {string} [languageCode]
|
|
35036
|
+
* @param {boolean} [returnDefaultValue]
|
|
34579
35037
|
* @param {*} [options] Override http request option.
|
|
34580
35038
|
* @throws {RequiredError}
|
|
34581
35039
|
*/
|
|
34582
|
-
apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35040
|
+
apiV1SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34583
35041
|
// verify required parameter 'slug' is not null or undefined
|
|
34584
35042
|
assertParamExists('apiV1SpecialtiesSlugGet', 'slug', slug)
|
|
34585
35043
|
const localVarPath = `/api/v1/specialties/{slug}`
|
|
@@ -34603,6 +35061,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34603
35061
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
34604
35062
|
}
|
|
34605
35063
|
|
|
35064
|
+
if (returnDefaultValue !== undefined) {
|
|
35065
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35066
|
+
}
|
|
35067
|
+
|
|
34606
35068
|
|
|
34607
35069
|
|
|
34608
35070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34657,10 +35119,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34657
35119
|
* @summary Get Specialty.
|
|
34658
35120
|
* @param {string} specialtyId
|
|
34659
35121
|
* @param {string} [languageCode]
|
|
35122
|
+
* @param {boolean} [returnDefaultValue]
|
|
34660
35123
|
* @param {*} [options] Override http request option.
|
|
34661
35124
|
* @throws {RequiredError}
|
|
34662
35125
|
*/
|
|
34663
|
-
apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35126
|
+
apiV1SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34664
35127
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
34665
35128
|
assertParamExists('apiV1SpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
34666
35129
|
const localVarPath = `/api/v1/specialties/{specialtyId}`
|
|
@@ -34684,6 +35147,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34684
35147
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
34685
35148
|
}
|
|
34686
35149
|
|
|
35150
|
+
if (returnDefaultValue !== undefined) {
|
|
35151
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
35152
|
+
}
|
|
35153
|
+
|
|
34687
35154
|
|
|
34688
35155
|
|
|
34689
35156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34995,14 +35462,15 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
34995
35462
|
* @param {Date} [created]
|
|
34996
35463
|
* @param {string} [languageCode]
|
|
34997
35464
|
* @param {Array<string>} [ids]
|
|
35465
|
+
* @param {boolean} [returnDefaultValue]
|
|
34998
35466
|
* @param {number} [page]
|
|
34999
35467
|
* @param {number} [limit]
|
|
35000
35468
|
* @param {Date} [lastRetrieved]
|
|
35001
35469
|
* @param {*} [options] Override http request option.
|
|
35002
35470
|
* @throws {RequiredError}
|
|
35003
35471
|
*/
|
|
35004
|
-
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
35005
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options);
|
|
35472
|
+
async apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
35473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
35006
35474
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35007
35475
|
},
|
|
35008
35476
|
/**
|
|
@@ -35021,11 +35489,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35021
35489
|
* @summary Get Specialty by slug.
|
|
35022
35490
|
* @param {string} slug
|
|
35023
35491
|
* @param {string} [languageCode]
|
|
35492
|
+
* @param {boolean} [returnDefaultValue]
|
|
35024
35493
|
* @param {*} [options] Override http request option.
|
|
35025
35494
|
* @throws {RequiredError}
|
|
35026
35495
|
*/
|
|
35027
|
-
async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35028
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options);
|
|
35496
|
+
async apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
35029
35498
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35030
35499
|
},
|
|
35031
35500
|
/**
|
|
@@ -35044,11 +35513,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35044
35513
|
* @summary Get Specialty.
|
|
35045
35514
|
* @param {string} specialtyId
|
|
35046
35515
|
* @param {string} [languageCode]
|
|
35516
|
+
* @param {boolean} [returnDefaultValue]
|
|
35047
35517
|
* @param {*} [options] Override http request option.
|
|
35048
35518
|
* @throws {RequiredError}
|
|
35049
35519
|
*/
|
|
35050
|
-
async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35051
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options);
|
|
35520
|
+
async apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
35521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options);
|
|
35052
35522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35053
35523
|
},
|
|
35054
35524
|
/**
|
|
@@ -35149,14 +35619,15 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35149
35619
|
* @param {Date} [created]
|
|
35150
35620
|
* @param {string} [languageCode]
|
|
35151
35621
|
* @param {Array<string>} [ids]
|
|
35622
|
+
* @param {boolean} [returnDefaultValue]
|
|
35152
35623
|
* @param {number} [page]
|
|
35153
35624
|
* @param {number} [limit]
|
|
35154
35625
|
* @param {Date} [lastRetrieved]
|
|
35155
35626
|
* @param {*} [options] Override http request option.
|
|
35156
35627
|
* @throws {RequiredError}
|
|
35157
35628
|
*/
|
|
35158
|
-
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
35159
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35629
|
+
apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
35630
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35160
35631
|
},
|
|
35161
35632
|
/**
|
|
35162
35633
|
*
|
|
@@ -35173,11 +35644,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35173
35644
|
* @summary Get Specialty by slug.
|
|
35174
35645
|
* @param {string} slug
|
|
35175
35646
|
* @param {string} [languageCode]
|
|
35647
|
+
* @param {boolean} [returnDefaultValue]
|
|
35176
35648
|
* @param {*} [options] Override http request option.
|
|
35177
35649
|
* @throws {RequiredError}
|
|
35178
35650
|
*/
|
|
35179
|
-
apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35180
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
35651
|
+
apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35652
|
+
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
35181
35653
|
},
|
|
35182
35654
|
/**
|
|
35183
35655
|
*
|
|
@@ -35194,11 +35666,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35194
35666
|
* @summary Get Specialty.
|
|
35195
35667
|
* @param {string} specialtyId
|
|
35196
35668
|
* @param {string} [languageCode]
|
|
35669
|
+
* @param {boolean} [returnDefaultValue]
|
|
35197
35670
|
* @param {*} [options] Override http request option.
|
|
35198
35671
|
* @throws {RequiredError}
|
|
35199
35672
|
*/
|
|
35200
|
-
apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35201
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35673
|
+
apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
35674
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
35202
35675
|
},
|
|
35203
35676
|
/**
|
|
35204
35677
|
*
|
|
@@ -35292,6 +35765,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35292
35765
|
* @param {Date} [created]
|
|
35293
35766
|
* @param {string} [languageCode]
|
|
35294
35767
|
* @param {Array<string>} [ids]
|
|
35768
|
+
* @param {boolean} [returnDefaultValue]
|
|
35295
35769
|
* @param {number} [page]
|
|
35296
35770
|
* @param {number} [limit]
|
|
35297
35771
|
* @param {Date} [lastRetrieved]
|
|
@@ -35299,8 +35773,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35299
35773
|
* @throws {RequiredError}
|
|
35300
35774
|
* @memberof SpecialtiesApi
|
|
35301
35775
|
*/
|
|
35302
|
-
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35303
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35776
|
+
public apiV1SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35777
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35304
35778
|
}
|
|
35305
35779
|
|
|
35306
35780
|
/**
|
|
@@ -35320,12 +35794,13 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35320
35794
|
* @summary Get Specialty by slug.
|
|
35321
35795
|
* @param {string} slug
|
|
35322
35796
|
* @param {string} [languageCode]
|
|
35797
|
+
* @param {boolean} [returnDefaultValue]
|
|
35323
35798
|
* @param {*} [options] Override http request option.
|
|
35324
35799
|
* @throws {RequiredError}
|
|
35325
35800
|
* @memberof SpecialtiesApi
|
|
35326
35801
|
*/
|
|
35327
|
-
public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
35328
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
35802
|
+
public apiV1SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
35803
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
35329
35804
|
}
|
|
35330
35805
|
|
|
35331
35806
|
/**
|
|
@@ -35345,12 +35820,13 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35345
35820
|
* @summary Get Specialty.
|
|
35346
35821
|
* @param {string} specialtyId
|
|
35347
35822
|
* @param {string} [languageCode]
|
|
35823
|
+
* @param {boolean} [returnDefaultValue]
|
|
35348
35824
|
* @param {*} [options] Override http request option.
|
|
35349
35825
|
* @throws {RequiredError}
|
|
35350
35826
|
* @memberof SpecialtiesApi
|
|
35351
35827
|
*/
|
|
35352
|
-
public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
35353
|
-
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
35828
|
+
public apiV1SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
35829
|
+
return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
35354
35830
|
}
|
|
35355
35831
|
|
|
35356
35832
|
/**
|
|
@@ -35456,13 +35932,14 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35456
35932
|
* @param {string} [languageCode]
|
|
35457
35933
|
* @param {Array<string>} [ids]
|
|
35458
35934
|
* @param {string} [specialtyTypeCategoryId]
|
|
35935
|
+
* @param {boolean} [returnDefaultValue]
|
|
35459
35936
|
* @param {number} [page]
|
|
35460
35937
|
* @param {number} [limit]
|
|
35461
35938
|
* @param {Date} [lastRetrieved]
|
|
35462
35939
|
* @param {*} [options] Override http request option.
|
|
35463
35940
|
* @throws {RequiredError}
|
|
35464
35941
|
*/
|
|
35465
|
-
apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35942
|
+
apiV1SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35466
35943
|
const localVarPath = `/api/v1/specialtytypes`;
|
|
35467
35944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35468
35945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35517,6 +35994,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35517
35994
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
35518
35995
|
}
|
|
35519
35996
|
|
|
35997
|
+
if (returnDefaultValue !== undefined) {
|
|
35998
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
35999
|
+
}
|
|
36000
|
+
|
|
35520
36001
|
if (page !== undefined) {
|
|
35521
36002
|
localVarQueryParameter['page'] = page;
|
|
35522
36003
|
}
|
|
@@ -35580,15 +36061,119 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35580
36061
|
options: localVarRequestOptions,
|
|
35581
36062
|
};
|
|
35582
36063
|
},
|
|
36064
|
+
/**
|
|
36065
|
+
*
|
|
36066
|
+
* @summary Get all Hospitals.
|
|
36067
|
+
* @param {string} [id]
|
|
36068
|
+
* @param {string} [name]
|
|
36069
|
+
* @param {string} [description]
|
|
36070
|
+
* @param {MarketingType} [marketingType]
|
|
36071
|
+
* @param {string} [hospitalId]
|
|
36072
|
+
* @param {Date} [created]
|
|
36073
|
+
* @param {string} [languageCode]
|
|
36074
|
+
* @param {Array<string>} [ids]
|
|
36075
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36076
|
+
* @param {boolean} [returnDefaultValue]
|
|
36077
|
+
* @param {number} [page]
|
|
36078
|
+
* @param {number} [limit]
|
|
36079
|
+
* @param {Date} [lastRetrieved]
|
|
36080
|
+
* @param {*} [options] Override http request option.
|
|
36081
|
+
* @throws {RequiredError}
|
|
36082
|
+
*/
|
|
36083
|
+
apiV1SpecialtytypesSimpleGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36084
|
+
const localVarPath = `/api/v1/specialtytypes/simple`;
|
|
36085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36087
|
+
let baseOptions;
|
|
36088
|
+
if (configuration) {
|
|
36089
|
+
baseOptions = configuration.baseOptions;
|
|
36090
|
+
}
|
|
36091
|
+
|
|
36092
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36093
|
+
const localVarHeaderParameter = {} as any;
|
|
36094
|
+
const localVarQueryParameter = {} as any;
|
|
36095
|
+
|
|
36096
|
+
// authentication oauth2 required
|
|
36097
|
+
// oauth required
|
|
36098
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
36099
|
+
|
|
36100
|
+
if (id !== undefined) {
|
|
36101
|
+
localVarQueryParameter['Id'] = id;
|
|
36102
|
+
}
|
|
36103
|
+
|
|
36104
|
+
if (name !== undefined) {
|
|
36105
|
+
localVarQueryParameter['Name'] = name;
|
|
36106
|
+
}
|
|
36107
|
+
|
|
36108
|
+
if (description !== undefined) {
|
|
36109
|
+
localVarQueryParameter['Description'] = description;
|
|
36110
|
+
}
|
|
36111
|
+
|
|
36112
|
+
if (marketingType !== undefined) {
|
|
36113
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
36114
|
+
}
|
|
36115
|
+
|
|
36116
|
+
if (hospitalId !== undefined) {
|
|
36117
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
36118
|
+
}
|
|
36119
|
+
|
|
36120
|
+
if (created !== undefined) {
|
|
36121
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
36122
|
+
(created as any).toISOString() :
|
|
36123
|
+
created;
|
|
36124
|
+
}
|
|
36125
|
+
|
|
36126
|
+
if (languageCode !== undefined) {
|
|
36127
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
36128
|
+
}
|
|
36129
|
+
|
|
36130
|
+
if (ids) {
|
|
36131
|
+
localVarQueryParameter['Ids'] = ids;
|
|
36132
|
+
}
|
|
36133
|
+
|
|
36134
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
36135
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
36136
|
+
}
|
|
36137
|
+
|
|
36138
|
+
if (returnDefaultValue !== undefined) {
|
|
36139
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
36140
|
+
}
|
|
36141
|
+
|
|
36142
|
+
if (page !== undefined) {
|
|
36143
|
+
localVarQueryParameter['page'] = page;
|
|
36144
|
+
}
|
|
36145
|
+
|
|
36146
|
+
if (limit !== undefined) {
|
|
36147
|
+
localVarQueryParameter['limit'] = limit;
|
|
36148
|
+
}
|
|
36149
|
+
|
|
36150
|
+
if (lastRetrieved !== undefined) {
|
|
36151
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
36152
|
+
(lastRetrieved as any).toISOString() :
|
|
36153
|
+
lastRetrieved;
|
|
36154
|
+
}
|
|
36155
|
+
|
|
36156
|
+
|
|
36157
|
+
|
|
36158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36161
|
+
|
|
36162
|
+
return {
|
|
36163
|
+
url: toPathString(localVarUrlObj),
|
|
36164
|
+
options: localVarRequestOptions,
|
|
36165
|
+
};
|
|
36166
|
+
},
|
|
35583
36167
|
/**
|
|
35584
36168
|
*
|
|
35585
36169
|
* @summary Get Department by slug.
|
|
35586
36170
|
* @param {string} slug
|
|
35587
36171
|
* @param {string} [languageCode]
|
|
36172
|
+
* @param {boolean} [returnDefaultValue]
|
|
35588
36173
|
* @param {*} [options] Override http request option.
|
|
35589
36174
|
* @throws {RequiredError}
|
|
35590
36175
|
*/
|
|
35591
|
-
apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36176
|
+
apiV1SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35592
36177
|
// verify required parameter 'slug' is not null or undefined
|
|
35593
36178
|
assertParamExists('apiV1SpecialtytypesSlugGet', 'slug', slug)
|
|
35594
36179
|
const localVarPath = `/api/v1/specialtytypes/{slug}`
|
|
@@ -35612,6 +36197,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35612
36197
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
35613
36198
|
}
|
|
35614
36199
|
|
|
36200
|
+
if (returnDefaultValue !== undefined) {
|
|
36201
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
36202
|
+
}
|
|
36203
|
+
|
|
35615
36204
|
|
|
35616
36205
|
|
|
35617
36206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -35666,10 +36255,11 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35666
36255
|
* @summary Get Department.
|
|
35667
36256
|
* @param {string} specialtyTypeId
|
|
35668
36257
|
* @param {string} [languageCode]
|
|
36258
|
+
* @param {boolean} [returnDefaultValue]
|
|
35669
36259
|
* @param {*} [options] Override http request option.
|
|
35670
36260
|
* @throws {RequiredError}
|
|
35671
36261
|
*/
|
|
35672
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36262
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35673
36263
|
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
35674
36264
|
assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
35675
36265
|
const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
|
|
@@ -35693,6 +36283,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
35693
36283
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
35694
36284
|
}
|
|
35695
36285
|
|
|
36286
|
+
if (returnDefaultValue !== undefined) {
|
|
36287
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
36288
|
+
}
|
|
36289
|
+
|
|
35696
36290
|
|
|
35697
36291
|
|
|
35698
36292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -36005,14 +36599,15 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36005
36599
|
* @param {string} [languageCode]
|
|
36006
36600
|
* @param {Array<string>} [ids]
|
|
36007
36601
|
* @param {string} [specialtyTypeCategoryId]
|
|
36602
|
+
* @param {boolean} [returnDefaultValue]
|
|
36008
36603
|
* @param {number} [page]
|
|
36009
36604
|
* @param {number} [limit]
|
|
36010
36605
|
* @param {Date} [lastRetrieved]
|
|
36011
36606
|
* @param {*} [options] Override http request option.
|
|
36012
36607
|
* @throws {RequiredError}
|
|
36013
36608
|
*/
|
|
36014
|
-
async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
36015
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options);
|
|
36609
|
+
async apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
36610
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
36016
36611
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36017
36612
|
},
|
|
36018
36613
|
/**
|
|
@@ -36026,16 +36621,40 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36026
36621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options);
|
|
36027
36622
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36028
36623
|
},
|
|
36624
|
+
/**
|
|
36625
|
+
*
|
|
36626
|
+
* @summary Get all Hospitals.
|
|
36627
|
+
* @param {string} [id]
|
|
36628
|
+
* @param {string} [name]
|
|
36629
|
+
* @param {string} [description]
|
|
36630
|
+
* @param {MarketingType} [marketingType]
|
|
36631
|
+
* @param {string} [hospitalId]
|
|
36632
|
+
* @param {Date} [created]
|
|
36633
|
+
* @param {string} [languageCode]
|
|
36634
|
+
* @param {Array<string>} [ids]
|
|
36635
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36636
|
+
* @param {boolean} [returnDefaultValue]
|
|
36637
|
+
* @param {number} [page]
|
|
36638
|
+
* @param {number} [limit]
|
|
36639
|
+
* @param {Date} [lastRetrieved]
|
|
36640
|
+
* @param {*} [options] Override http request option.
|
|
36641
|
+
* @throws {RequiredError}
|
|
36642
|
+
*/
|
|
36643
|
+
async apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>> {
|
|
36644
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
36645
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36646
|
+
},
|
|
36029
36647
|
/**
|
|
36030
36648
|
*
|
|
36031
36649
|
* @summary Get Department by slug.
|
|
36032
36650
|
* @param {string} slug
|
|
36033
36651
|
* @param {string} [languageCode]
|
|
36652
|
+
* @param {boolean} [returnDefaultValue]
|
|
36034
36653
|
* @param {*} [options] Override http request option.
|
|
36035
36654
|
* @throws {RequiredError}
|
|
36036
36655
|
*/
|
|
36037
|
-
async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36038
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options);
|
|
36656
|
+
async apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36657
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
36039
36658
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36040
36659
|
},
|
|
36041
36660
|
/**
|
|
@@ -36054,11 +36673,12 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36054
36673
|
* @summary Get Department.
|
|
36055
36674
|
* @param {string} specialtyTypeId
|
|
36056
36675
|
* @param {string} [languageCode]
|
|
36676
|
+
* @param {boolean} [returnDefaultValue]
|
|
36057
36677
|
* @param {*} [options] Override http request option.
|
|
36058
36678
|
* @throws {RequiredError}
|
|
36059
36679
|
*/
|
|
36060
|
-
async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options);
|
|
36680
|
+
async apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
36681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options);
|
|
36062
36682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36063
36683
|
},
|
|
36064
36684
|
/**
|
|
@@ -36160,14 +36780,15 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36160
36780
|
* @param {string} [languageCode]
|
|
36161
36781
|
* @param {Array<string>} [ids]
|
|
36162
36782
|
* @param {string} [specialtyTypeCategoryId]
|
|
36783
|
+
* @param {boolean} [returnDefaultValue]
|
|
36163
36784
|
* @param {number} [page]
|
|
36164
36785
|
* @param {number} [limit]
|
|
36165
36786
|
* @param {Date} [lastRetrieved]
|
|
36166
36787
|
* @param {*} [options] Override http request option.
|
|
36167
36788
|
* @throws {RequiredError}
|
|
36168
36789
|
*/
|
|
36169
|
-
apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
36170
|
-
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36790
|
+
apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
36791
|
+
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36171
36792
|
},
|
|
36172
36793
|
/**
|
|
36173
36794
|
*
|
|
@@ -36179,16 +36800,39 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36179
36800
|
apiV1SpecialtytypesPost(createSpecialtyTypeCommand?: CreateSpecialtyTypeCommand, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36180
36801
|
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(axios, basePath));
|
|
36181
36802
|
},
|
|
36803
|
+
/**
|
|
36804
|
+
*
|
|
36805
|
+
* @summary Get all Hospitals.
|
|
36806
|
+
* @param {string} [id]
|
|
36807
|
+
* @param {string} [name]
|
|
36808
|
+
* @param {string} [description]
|
|
36809
|
+
* @param {MarketingType} [marketingType]
|
|
36810
|
+
* @param {string} [hospitalId]
|
|
36811
|
+
* @param {Date} [created]
|
|
36812
|
+
* @param {string} [languageCode]
|
|
36813
|
+
* @param {Array<string>} [ids]
|
|
36814
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36815
|
+
* @param {boolean} [returnDefaultValue]
|
|
36816
|
+
* @param {number} [page]
|
|
36817
|
+
* @param {number} [limit]
|
|
36818
|
+
* @param {Date} [lastRetrieved]
|
|
36819
|
+
* @param {*} [options] Override http request option.
|
|
36820
|
+
* @throws {RequiredError}
|
|
36821
|
+
*/
|
|
36822
|
+
apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel> {
|
|
36823
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
36824
|
+
},
|
|
36182
36825
|
/**
|
|
36183
36826
|
*
|
|
36184
36827
|
* @summary Get Department by slug.
|
|
36185
36828
|
* @param {string} slug
|
|
36186
36829
|
* @param {string} [languageCode]
|
|
36830
|
+
* @param {boolean} [returnDefaultValue]
|
|
36187
36831
|
* @param {*} [options] Override http request option.
|
|
36188
36832
|
* @throws {RequiredError}
|
|
36189
36833
|
*/
|
|
36190
|
-
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36191
|
-
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
36834
|
+
apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36835
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
36192
36836
|
},
|
|
36193
36837
|
/**
|
|
36194
36838
|
*
|
|
@@ -36205,11 +36849,12 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36205
36849
|
* @summary Get Department.
|
|
36206
36850
|
* @param {string} specialtyTypeId
|
|
36207
36851
|
* @param {string} [languageCode]
|
|
36852
|
+
* @param {boolean} [returnDefaultValue]
|
|
36208
36853
|
* @param {*} [options] Override http request option.
|
|
36209
36854
|
* @throws {RequiredError}
|
|
36210
36855
|
*/
|
|
36211
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36212
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(axios, basePath));
|
|
36856
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
36857
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
36213
36858
|
},
|
|
36214
36859
|
/**
|
|
36215
36860
|
*
|
|
@@ -36304,6 +36949,7 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36304
36949
|
* @param {string} [languageCode]
|
|
36305
36950
|
* @param {Array<string>} [ids]
|
|
36306
36951
|
* @param {string} [specialtyTypeCategoryId]
|
|
36952
|
+
* @param {boolean} [returnDefaultValue]
|
|
36307
36953
|
* @param {number} [page]
|
|
36308
36954
|
* @param {number} [limit]
|
|
36309
36955
|
* @param {Date} [lastRetrieved]
|
|
@@ -36311,8 +36957,8 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36311
36957
|
* @throws {RequiredError}
|
|
36312
36958
|
* @memberof SpecialtyTypesApi
|
|
36313
36959
|
*/
|
|
36314
|
-
public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36315
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36960
|
+
public apiV1SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36961
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36316
36962
|
}
|
|
36317
36963
|
|
|
36318
36964
|
/**
|
|
@@ -36327,17 +36973,42 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36327
36973
|
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36328
36974
|
}
|
|
36329
36975
|
|
|
36976
|
+
/**
|
|
36977
|
+
*
|
|
36978
|
+
* @summary Get all Hospitals.
|
|
36979
|
+
* @param {string} [id]
|
|
36980
|
+
* @param {string} [name]
|
|
36981
|
+
* @param {string} [description]
|
|
36982
|
+
* @param {MarketingType} [marketingType]
|
|
36983
|
+
* @param {string} [hospitalId]
|
|
36984
|
+
* @param {Date} [created]
|
|
36985
|
+
* @param {string} [languageCode]
|
|
36986
|
+
* @param {Array<string>} [ids]
|
|
36987
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
36988
|
+
* @param {boolean} [returnDefaultValue]
|
|
36989
|
+
* @param {number} [page]
|
|
36990
|
+
* @param {number} [limit]
|
|
36991
|
+
* @param {Date} [lastRetrieved]
|
|
36992
|
+
* @param {*} [options] Override http request option.
|
|
36993
|
+
* @throws {RequiredError}
|
|
36994
|
+
* @memberof SpecialtyTypesApi
|
|
36995
|
+
*/
|
|
36996
|
+
public apiV1SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, specialtyTypeCategoryId?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36997
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36998
|
+
}
|
|
36999
|
+
|
|
36330
37000
|
/**
|
|
36331
37001
|
*
|
|
36332
37002
|
* @summary Get Department by slug.
|
|
36333
37003
|
* @param {string} slug
|
|
36334
37004
|
* @param {string} [languageCode]
|
|
37005
|
+
* @param {boolean} [returnDefaultValue]
|
|
36335
37006
|
* @param {*} [options] Override http request option.
|
|
36336
37007
|
* @throws {RequiredError}
|
|
36337
37008
|
* @memberof SpecialtyTypesApi
|
|
36338
37009
|
*/
|
|
36339
|
-
public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36340
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
37010
|
+
public apiV1SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
37011
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
36341
37012
|
}
|
|
36342
37013
|
|
|
36343
37014
|
/**
|
|
@@ -36357,12 +37028,13 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36357
37028
|
* @summary Get Department.
|
|
36358
37029
|
* @param {string} specialtyTypeId
|
|
36359
37030
|
* @param {string} [languageCode]
|
|
37031
|
+
* @param {boolean} [returnDefaultValue]
|
|
36360
37032
|
* @param {*} [options] Override http request option.
|
|
36361
37033
|
* @throws {RequiredError}
|
|
36362
37034
|
* @memberof SpecialtyTypesApi
|
|
36363
37035
|
*/
|
|
36364
|
-
public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36365
|
-
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
37036
|
+
public apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
37037
|
+
return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
36366
37038
|
}
|
|
36367
37039
|
|
|
36368
37040
|
/**
|