ch-api-client-typescript2 2.5.9 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +12 -52
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +54 -126
- package/package.json +1 -1
- package/src/api.ts +12 -60
package/lib/api.js
CHANGED
|
@@ -1036,7 +1036,6 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1036
1036
|
},
|
|
1037
1037
|
/**
|
|
1038
1038
|
*
|
|
1039
|
-
* @summary Get Article by slug.
|
|
1040
1039
|
* @param {string} slug
|
|
1041
1040
|
* @param {string} [languageCode]
|
|
1042
1041
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -1332,7 +1331,6 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
1332
1331
|
},
|
|
1333
1332
|
/**
|
|
1334
1333
|
*
|
|
1335
|
-
* @summary Get Article by slug.
|
|
1336
1334
|
* @param {string} slug
|
|
1337
1335
|
* @param {string} [languageCode]
|
|
1338
1336
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -1509,7 +1507,6 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1509
1507
|
},
|
|
1510
1508
|
/**
|
|
1511
1509
|
*
|
|
1512
|
-
* @summary Get Article by slug.
|
|
1513
1510
|
* @param {string} slug
|
|
1514
1511
|
* @param {string} [languageCode]
|
|
1515
1512
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -1700,7 +1697,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
1700
1697
|
};
|
|
1701
1698
|
/**
|
|
1702
1699
|
*
|
|
1703
|
-
* @summary Get Article by slug.
|
|
1704
1700
|
* @param {string} slug
|
|
1705
1701
|
* @param {string} [languageCode]
|
|
1706
1702
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4367,7 +4363,6 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
4367
4363
|
return {
|
|
4368
4364
|
/**
|
|
4369
4365
|
*
|
|
4370
|
-
* @summary Get country.
|
|
4371
4366
|
* @param {string} countryId
|
|
4372
4367
|
* @param {string} [languageCode]
|
|
4373
4368
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4573,7 +4568,6 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
4573
4568
|
},
|
|
4574
4569
|
/**
|
|
4575
4570
|
*
|
|
4576
|
-
* @summary Get country by slug.
|
|
4577
4571
|
* @param {string} slug
|
|
4578
4572
|
* @param {string} [languageCode]
|
|
4579
4573
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4623,7 +4617,6 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
4623
4617
|
return {
|
|
4624
4618
|
/**
|
|
4625
4619
|
*
|
|
4626
|
-
* @summary Get country.
|
|
4627
4620
|
* @param {string} countryId
|
|
4628
4621
|
* @param {string} [languageCode]
|
|
4629
4622
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4720,7 +4713,6 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
4720
4713
|
},
|
|
4721
4714
|
/**
|
|
4722
4715
|
*
|
|
4723
|
-
* @summary Get country by slug.
|
|
4724
4716
|
* @param {string} slug
|
|
4725
4717
|
* @param {string} [languageCode]
|
|
4726
4718
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4751,7 +4743,6 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
4751
4743
|
return {
|
|
4752
4744
|
/**
|
|
4753
4745
|
*
|
|
4754
|
-
* @summary Get country.
|
|
4755
4746
|
* @param {string} countryId
|
|
4756
4747
|
* @param {string} [languageCode]
|
|
4757
4748
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4808,7 +4799,6 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
4808
4799
|
},
|
|
4809
4800
|
/**
|
|
4810
4801
|
*
|
|
4811
|
-
* @summary Get country by slug.
|
|
4812
4802
|
* @param {string} slug
|
|
4813
4803
|
* @param {string} [languageCode]
|
|
4814
4804
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4833,7 +4823,6 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
4833
4823
|
}
|
|
4834
4824
|
/**
|
|
4835
4825
|
*
|
|
4836
|
-
* @summary Get country.
|
|
4837
4826
|
* @param {string} countryId
|
|
4838
4827
|
* @param {string} [languageCode]
|
|
4839
4828
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -4898,7 +4887,6 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
4898
4887
|
};
|
|
4899
4888
|
/**
|
|
4900
4889
|
*
|
|
4901
|
-
* @summary Get country by slug.
|
|
4902
4890
|
* @param {string} slug
|
|
4903
4891
|
* @param {string} [languageCode]
|
|
4904
4892
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -5985,7 +5973,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
5985
5973
|
},
|
|
5986
5974
|
/**
|
|
5987
5975
|
*
|
|
5988
|
-
* @summary Get Doctor.
|
|
5989
5976
|
* @param {string} doctorId
|
|
5990
5977
|
* @param {string} [languageCode]
|
|
5991
5978
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -6397,7 +6384,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6397
6384
|
},
|
|
6398
6385
|
/**
|
|
6399
6386
|
*
|
|
6400
|
-
* @summary Get Doctor by slug.
|
|
6401
6387
|
* @param {string} slug
|
|
6402
6388
|
* @param {string} [languageCode]
|
|
6403
6389
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -6590,7 +6576,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
6590
6576
|
},
|
|
6591
6577
|
/**
|
|
6592
6578
|
*
|
|
6593
|
-
* @summary Get Doctor.
|
|
6594
6579
|
* @param {string} doctorId
|
|
6595
6580
|
* @param {string} [languageCode]
|
|
6596
6581
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -6784,7 +6769,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
6784
6769
|
},
|
|
6785
6770
|
/**
|
|
6786
6771
|
*
|
|
6787
|
-
* @summary Get Doctor by slug.
|
|
6788
6772
|
* @param {string} slug
|
|
6789
6773
|
* @param {string} [languageCode]
|
|
6790
6774
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -6898,7 +6882,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
6898
6882
|
},
|
|
6899
6883
|
/**
|
|
6900
6884
|
*
|
|
6901
|
-
* @summary Get Doctor.
|
|
6902
6885
|
* @param {string} doctorId
|
|
6903
6886
|
* @param {string} [languageCode]
|
|
6904
6887
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -7012,7 +6995,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7012
6995
|
},
|
|
7013
6996
|
/**
|
|
7014
6997
|
*
|
|
7015
|
-
* @summary Get Doctor by slug.
|
|
7016
6998
|
* @param {string} slug
|
|
7017
6999
|
* @param {string} [languageCode]
|
|
7018
7000
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -7132,7 +7114,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7132
7114
|
};
|
|
7133
7115
|
/**
|
|
7134
7116
|
*
|
|
7135
|
-
* @summary Get Doctor.
|
|
7136
7117
|
* @param {string} doctorId
|
|
7137
7118
|
* @param {string} [languageCode]
|
|
7138
7119
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -7262,7 +7243,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7262
7243
|
};
|
|
7263
7244
|
/**
|
|
7264
7245
|
*
|
|
7265
|
-
* @summary Get Doctor by slug.
|
|
7266
7246
|
* @param {string} slug
|
|
7267
7247
|
* @param {string} [languageCode]
|
|
7268
7248
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8748,7 +8728,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
8748
8728
|
},
|
|
8749
8729
|
/**
|
|
8750
8730
|
*
|
|
8751
|
-
* @summary Get Hospital.
|
|
8752
8731
|
* @param {string} hospitalId
|
|
8753
8732
|
* @param {string} [languageCode]
|
|
8754
8733
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -9362,7 +9341,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9362
9341
|
},
|
|
9363
9342
|
/**
|
|
9364
9343
|
*
|
|
9365
|
-
* @summary Get Hospital by slug.
|
|
9366
9344
|
* @param {string} slug
|
|
9367
9345
|
* @param {string} [languageCode]
|
|
9368
9346
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -9640,7 +9618,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
9640
9618
|
},
|
|
9641
9619
|
/**
|
|
9642
9620
|
*
|
|
9643
|
-
* @summary Get Hospital.
|
|
9644
9621
|
* @param {string} hospitalId
|
|
9645
9622
|
* @param {string} [languageCode]
|
|
9646
9623
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -9907,7 +9884,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
9907
9884
|
},
|
|
9908
9885
|
/**
|
|
9909
9886
|
*
|
|
9910
|
-
* @summary Get Hospital by slug.
|
|
9911
9887
|
* @param {string} slug
|
|
9912
9888
|
* @param {string} [languageCode]
|
|
9913
9889
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10076,7 +10052,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10076
10052
|
},
|
|
10077
10053
|
/**
|
|
10078
10054
|
*
|
|
10079
|
-
* @summary Get Hospital.
|
|
10080
10055
|
* @param {string} hospitalId
|
|
10081
10056
|
* @param {string} [languageCode]
|
|
10082
10057
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10243,7 +10218,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10243
10218
|
},
|
|
10244
10219
|
/**
|
|
10245
10220
|
*
|
|
10246
|
-
* @summary Get Hospital by slug.
|
|
10247
10221
|
* @param {string} slug
|
|
10248
10222
|
* @param {string} [languageCode]
|
|
10249
10223
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10424,7 +10398,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10424
10398
|
};
|
|
10425
10399
|
/**
|
|
10426
10400
|
*
|
|
10427
|
-
* @summary Get Hospital.
|
|
10428
10401
|
* @param {string} hospitalId
|
|
10429
10402
|
* @param {string} [languageCode]
|
|
10430
10403
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10611,7 +10584,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10611
10584
|
};
|
|
10612
10585
|
/**
|
|
10613
10586
|
*
|
|
10614
|
-
* @summary Get Hospital by slug.
|
|
10615
10587
|
* @param {string} slug
|
|
10616
10588
|
* @param {string} [languageCode]
|
|
10617
10589
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -12944,7 +12916,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
12944
12916
|
},
|
|
12945
12917
|
/**
|
|
12946
12918
|
*
|
|
12947
|
-
* @summary Get HospitalService.
|
|
12948
12919
|
* @param {string} serviceId
|
|
12949
12920
|
* @param {string} [languageCode]
|
|
12950
12921
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -12985,7 +12956,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
12985
12956
|
},
|
|
12986
12957
|
/**
|
|
12987
12958
|
*
|
|
12988
|
-
* @summary Get HospitalService by slug.
|
|
12989
12959
|
* @param {string} slug
|
|
12990
12960
|
* @param {string} [languageCode]
|
|
12991
12961
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13073,7 +13043,6 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
13073
13043
|
},
|
|
13074
13044
|
/**
|
|
13075
13045
|
*
|
|
13076
|
-
* @summary Get HospitalService.
|
|
13077
13046
|
* @param {string} serviceId
|
|
13078
13047
|
* @param {string} [languageCode]
|
|
13079
13048
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13095,7 +13064,6 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
13095
13064
|
},
|
|
13096
13065
|
/**
|
|
13097
13066
|
*
|
|
13098
|
-
* @summary Get HospitalService by slug.
|
|
13099
13067
|
* @param {string} slug
|
|
13100
13068
|
* @param {string} [languageCode]
|
|
13101
13069
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13154,7 +13122,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
13154
13122
|
},
|
|
13155
13123
|
/**
|
|
13156
13124
|
*
|
|
13157
|
-
* @summary Get HospitalService.
|
|
13158
13125
|
* @param {string} serviceId
|
|
13159
13126
|
* @param {string} [languageCode]
|
|
13160
13127
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13166,7 +13133,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
13166
13133
|
},
|
|
13167
13134
|
/**
|
|
13168
13135
|
*
|
|
13169
|
-
* @summary Get HospitalService by slug.
|
|
13170
13136
|
* @param {string} slug
|
|
13171
13137
|
* @param {string} [languageCode]
|
|
13172
13138
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13221,7 +13187,6 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
13221
13187
|
};
|
|
13222
13188
|
/**
|
|
13223
13189
|
*
|
|
13224
|
-
* @summary Get HospitalService.
|
|
13225
13190
|
* @param {string} serviceId
|
|
13226
13191
|
* @param {string} [languageCode]
|
|
13227
13192
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13235,7 +13200,6 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
13235
13200
|
};
|
|
13236
13201
|
/**
|
|
13237
13202
|
*
|
|
13238
|
-
* @summary Get HospitalService by slug.
|
|
13239
13203
|
* @param {string} slug
|
|
13240
13204
|
* @param {string} [languageCode]
|
|
13241
13205
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13582,7 +13546,6 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
13582
13546
|
},
|
|
13583
13547
|
/**
|
|
13584
13548
|
*
|
|
13585
|
-
* @summary Get Specialty by slug.
|
|
13586
13549
|
* @param {string} slug
|
|
13587
13550
|
* @param {string} [languageCode]
|
|
13588
13551
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13623,7 +13586,6 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
13623
13586
|
},
|
|
13624
13587
|
/**
|
|
13625
13588
|
*
|
|
13626
|
-
* @summary Get Specialty.
|
|
13627
13589
|
* @param {string} specialtyId
|
|
13628
13590
|
* @param {string} [languageCode]
|
|
13629
13591
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13796,7 +13758,6 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
13796
13758
|
},
|
|
13797
13759
|
/**
|
|
13798
13760
|
*
|
|
13799
|
-
* @summary Get Specialty by slug.
|
|
13800
13761
|
* @param {string} slug
|
|
13801
13762
|
* @param {string} [languageCode]
|
|
13802
13763
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13818,7 +13779,6 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
13818
13779
|
},
|
|
13819
13780
|
/**
|
|
13820
13781
|
*
|
|
13821
|
-
* @summary Get Specialty.
|
|
13822
13782
|
* @param {string} specialtyId
|
|
13823
13783
|
* @param {string} [languageCode]
|
|
13824
13784
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13916,7 +13876,6 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
13916
13876
|
},
|
|
13917
13877
|
/**
|
|
13918
13878
|
*
|
|
13919
|
-
* @summary Get Specialty by slug.
|
|
13920
13879
|
* @param {string} slug
|
|
13921
13880
|
* @param {string} [languageCode]
|
|
13922
13881
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13928,7 +13887,6 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
13928
13887
|
},
|
|
13929
13888
|
/**
|
|
13930
13889
|
*
|
|
13931
|
-
* @summary Get Specialty.
|
|
13932
13890
|
* @param {string} specialtyId
|
|
13933
13891
|
* @param {string} [languageCode]
|
|
13934
13892
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14002,7 +13960,6 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
14002
13960
|
};
|
|
14003
13961
|
/**
|
|
14004
13962
|
*
|
|
14005
|
-
* @summary Get Specialty by slug.
|
|
14006
13963
|
* @param {string} slug
|
|
14007
13964
|
* @param {string} [languageCode]
|
|
14008
13965
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14016,7 +13973,6 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
14016
13973
|
};
|
|
14017
13974
|
/**
|
|
14018
13975
|
*
|
|
14019
|
-
* @summary Get Specialty.
|
|
14020
13976
|
* @param {string} specialtyId
|
|
14021
13977
|
* @param {string} [languageCode]
|
|
14022
13978
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14240,7 +14196,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
14240
14196
|
},
|
|
14241
14197
|
/**
|
|
14242
14198
|
*
|
|
14243
|
-
* @summary Get Department by slug.
|
|
14244
14199
|
* @param {string} slug
|
|
14245
14200
|
* @param {string} [languageCode]
|
|
14246
14201
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14281,7 +14236,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
14281
14236
|
},
|
|
14282
14237
|
/**
|
|
14283
14238
|
*
|
|
14284
|
-
* @summary Get Department.
|
|
14285
14239
|
* @param {string} specialtyTypeId
|
|
14286
14240
|
* @param {string} [languageCode]
|
|
14287
14241
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14337,51 +14291,41 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
14337
14291
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14338
14292
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14339
14293
|
return __generator(this, function (_a) {
|
|
14340
|
-
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
// authentication oauth2 required
|
|
14354
|
-
// oauth required
|
|
14355
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
14356
|
-
case 1:
|
|
14357
|
-
// authentication oauth2 required
|
|
14358
|
-
// oauth required
|
|
14359
|
-
_a.sent();
|
|
14360
|
-
if (id !== undefined) {
|
|
14361
|
-
localVarQueryParameter['Id'] = id;
|
|
14362
|
-
}
|
|
14363
|
-
if (mediaType !== undefined) {
|
|
14364
|
-
localVarQueryParameter['MediaType'] = mediaType;
|
|
14365
|
-
}
|
|
14366
|
-
if (page !== undefined) {
|
|
14367
|
-
localVarQueryParameter['page'] = page;
|
|
14368
|
-
}
|
|
14369
|
-
if (limit !== undefined) {
|
|
14370
|
-
localVarQueryParameter['limit'] = limit;
|
|
14371
|
-
}
|
|
14372
|
-
if (lastRetrieved !== undefined) {
|
|
14373
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14374
|
-
lastRetrieved.toISOString() :
|
|
14375
|
-
lastRetrieved;
|
|
14376
|
-
}
|
|
14377
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14378
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14379
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14380
|
-
return [2 /*return*/, {
|
|
14381
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
14382
|
-
options: localVarRequestOptions,
|
|
14383
|
-
}];
|
|
14294
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
14295
|
+
common_1.assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasGet', 'specialtyTypeId', specialtyTypeId);
|
|
14296
|
+
localVarPath = "/api/v2/specialtytypes/{specialtyTypeId}/medias"
|
|
14297
|
+
.replace("{" + "specialtyTypeId" + "}", encodeURIComponent(String(specialtyTypeId)));
|
|
14298
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14299
|
+
if (configuration) {
|
|
14300
|
+
baseOptions = configuration.baseOptions;
|
|
14301
|
+
}
|
|
14302
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14303
|
+
localVarHeaderParameter = {};
|
|
14304
|
+
localVarQueryParameter = {};
|
|
14305
|
+
if (id !== undefined) {
|
|
14306
|
+
localVarQueryParameter['Id'] = id;
|
|
14384
14307
|
}
|
|
14308
|
+
if (mediaType !== undefined) {
|
|
14309
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
14310
|
+
}
|
|
14311
|
+
if (page !== undefined) {
|
|
14312
|
+
localVarQueryParameter['page'] = page;
|
|
14313
|
+
}
|
|
14314
|
+
if (limit !== undefined) {
|
|
14315
|
+
localVarQueryParameter['limit'] = limit;
|
|
14316
|
+
}
|
|
14317
|
+
if (lastRetrieved !== undefined) {
|
|
14318
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14319
|
+
lastRetrieved.toISOString() :
|
|
14320
|
+
lastRetrieved;
|
|
14321
|
+
}
|
|
14322
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14323
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14324
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14325
|
+
return [2 /*return*/, {
|
|
14326
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14327
|
+
options: localVarRequestOptions,
|
|
14328
|
+
}];
|
|
14385
14329
|
});
|
|
14386
14330
|
});
|
|
14387
14331
|
},
|
|
@@ -14398,37 +14342,27 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
14398
14342
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14399
14343
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14400
14344
|
return __generator(this, function (_a) {
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
if (configuration) {
|
|
14412
|
-
baseOptions = configuration.baseOptions;
|
|
14413
|
-
}
|
|
14414
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14415
|
-
localVarHeaderParameter = {};
|
|
14416
|
-
localVarQueryParameter = {};
|
|
14417
|
-
// authentication oauth2 required
|
|
14418
|
-
// oauth required
|
|
14419
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
14420
|
-
case 1:
|
|
14421
|
-
// authentication oauth2 required
|
|
14422
|
-
// oauth required
|
|
14423
|
-
_a.sent();
|
|
14424
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14425
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14426
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14427
|
-
return [2 /*return*/, {
|
|
14428
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
14429
|
-
options: localVarRequestOptions,
|
|
14430
|
-
}];
|
|
14345
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
14346
|
+
common_1.assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'specialtyTypeId', specialtyTypeId);
|
|
14347
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
14348
|
+
common_1.assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
14349
|
+
localVarPath = "/api/v2/specialtytypes/{specialtyTypeId}/medias/{mediaId}"
|
|
14350
|
+
.replace("{" + "specialtyTypeId" + "}", encodeURIComponent(String(specialtyTypeId)))
|
|
14351
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
14352
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14353
|
+
if (configuration) {
|
|
14354
|
+
baseOptions = configuration.baseOptions;
|
|
14431
14355
|
}
|
|
14356
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14357
|
+
localVarHeaderParameter = {};
|
|
14358
|
+
localVarQueryParameter = {};
|
|
14359
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14360
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14361
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14362
|
+
return [2 /*return*/, {
|
|
14363
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14364
|
+
options: localVarRequestOptions,
|
|
14365
|
+
}];
|
|
14432
14366
|
});
|
|
14433
14367
|
});
|
|
14434
14368
|
},
|
|
@@ -14507,7 +14441,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
14507
14441
|
},
|
|
14508
14442
|
/**
|
|
14509
14443
|
*
|
|
14510
|
-
* @summary Get Department by slug.
|
|
14511
14444
|
* @param {string} slug
|
|
14512
14445
|
* @param {string} [languageCode]
|
|
14513
14446
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14529,7 +14462,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
14529
14462
|
},
|
|
14530
14463
|
/**
|
|
14531
14464
|
*
|
|
14532
|
-
* @summary Get Department.
|
|
14533
14465
|
* @param {string} specialtyTypeId
|
|
14534
14466
|
* @param {string} [languageCode]
|
|
14535
14467
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14650,7 +14582,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
14650
14582
|
},
|
|
14651
14583
|
/**
|
|
14652
14584
|
*
|
|
14653
|
-
* @summary Get Department by slug.
|
|
14654
14585
|
* @param {string} slug
|
|
14655
14586
|
* @param {string} [languageCode]
|
|
14656
14587
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14662,7 +14593,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
14662
14593
|
},
|
|
14663
14594
|
/**
|
|
14664
14595
|
*
|
|
14665
|
-
* @summary Get Department.
|
|
14666
14596
|
* @param {string} specialtyTypeId
|
|
14667
14597
|
* @param {string} [languageCode]
|
|
14668
14598
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14761,7 +14691,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
14761
14691
|
};
|
|
14762
14692
|
/**
|
|
14763
14693
|
*
|
|
14764
|
-
* @summary Get Department by slug.
|
|
14765
14694
|
* @param {string} slug
|
|
14766
14695
|
* @param {string} [languageCode]
|
|
14767
14696
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14775,7 +14704,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
14775
14704
|
};
|
|
14776
14705
|
/**
|
|
14777
14706
|
*
|
|
14778
|
-
* @summary Get Department.
|
|
14779
14707
|
* @param {string} specialtyTypeId
|
|
14780
14708
|
* @param {string} [languageCode]
|
|
14781
14709
|
* @param {boolean} [returnDefaultValue]
|