ch-api-client-typescript2 5.79.15 → 5.79.17
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/articles-api.d.ts +36 -9
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +45 -27
- package/lib/api/deals-api.d.ts +39 -30
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +52 -46
- package/lib/api/doctor-affiliations-api.d.ts +36 -9
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +45 -27
- package/lib/api/doctors-api.d.ts +40 -13
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +49 -31
- package/lib/api/hospitals-api.d.ts +96 -29
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +115 -69
- package/lib/api/service-reviews-api.d.ts +12 -3
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +15 -9
- package/lib/api/services-api.d.ts +36 -9
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +45 -27
- package/lib/api/specialties-api.d.ts +24 -6
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +30 -18
- package/lib/api/specialty-types-api.d.ts +28 -10
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +34 -22
- package/package.json +1 -1
package/lib/api/hospitals-api.js
CHANGED
|
@@ -103,17 +103,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
return {
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
|
-
* @
|
|
107
|
-
* @param {string}
|
|
106
|
+
* @summary Get hospitals that are featured relative to the specified hospital
|
|
107
|
+
* @param {string} hospitalId The reference hospital ID used to determine featured hospitals
|
|
108
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
109
|
+
* @param {string} [languageCode] The language code for localized content
|
|
108
110
|
* @param {*} [options] Override http request option.
|
|
109
111
|
* @throws {RequiredError}
|
|
110
112
|
*/
|
|
111
|
-
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId_1, languageCode_1) {
|
|
113
|
+
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId_1, xCloudhospitalPlatform_1, languageCode_1) {
|
|
112
114
|
var args_1 = [];
|
|
113
|
-
for (var _i =
|
|
114
|
-
args_1[_i -
|
|
115
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
116
|
+
args_1[_i - 3] = arguments[_i];
|
|
115
117
|
}
|
|
116
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, languageCode_1], args_1, true), void 0, function (hospitalId, languageCode, options) {
|
|
118
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, xCloudhospitalPlatform_1, languageCode_1], args_1, true), void 0, function (hospitalId, xCloudhospitalPlatform, languageCode, options) {
|
|
117
119
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
118
120
|
if (options === void 0) { options = {}; }
|
|
119
121
|
return __generator(this, function (_a) {
|
|
@@ -131,6 +133,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
131
133
|
if (languageCode !== undefined) {
|
|
132
134
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
133
135
|
}
|
|
136
|
+
if (xCloudhospitalPlatform != null) {
|
|
137
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
138
|
+
}
|
|
134
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
135
140
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
141
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -144,6 +149,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
144
149
|
/**
|
|
145
150
|
*
|
|
146
151
|
* @summary Get all Hospitals.
|
|
152
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
147
153
|
* @param {string} [hospitalId]
|
|
148
154
|
* @param {string} [name]
|
|
149
155
|
* @param {string} [countryId]
|
|
@@ -165,12 +171,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
165
171
|
* @param {*} [options] Override http request option.
|
|
166
172
|
* @throws {RequiredError}
|
|
167
173
|
*/
|
|
168
|
-
apiV2HospitalsGet: function (hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1) {
|
|
174
|
+
apiV2HospitalsGet: function (xCloudhospitalPlatform_1, hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1) {
|
|
169
175
|
var args_1 = [];
|
|
170
|
-
for (var _i =
|
|
171
|
-
args_1[_i -
|
|
176
|
+
for (var _i = 19; _i < arguments.length; _i++) {
|
|
177
|
+
args_1[_i - 19] = arguments[_i];
|
|
172
178
|
}
|
|
173
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
179
|
+
return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
174
180
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
175
181
|
if (options === void 0) { options = {}; }
|
|
176
182
|
return __generator(this, function (_a) {
|
|
@@ -240,6 +246,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
240
246
|
lastRetrieved.toISOString() :
|
|
241
247
|
lastRetrieved;
|
|
242
248
|
}
|
|
249
|
+
if (xCloudhospitalPlatform != null) {
|
|
250
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
251
|
+
}
|
|
243
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
253
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
254
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1315,6 +1324,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1315
1324
|
*
|
|
1316
1325
|
* @summary Get hospital by id
|
|
1317
1326
|
* @param {string} hospitalId
|
|
1327
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
1318
1328
|
* @param {string} [languageCode]
|
|
1319
1329
|
* @param {boolean} [returnDefaultValue]
|
|
1320
1330
|
* @param {string} [previewSecret]
|
|
@@ -1322,12 +1332,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1322
1332
|
* @param {*} [options] Override http request option.
|
|
1323
1333
|
* @throws {RequiredError}
|
|
1324
1334
|
*/
|
|
1325
|
-
apiV2HospitalsHospitalIdGet: function (hospitalId_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1) {
|
|
1335
|
+
apiV2HospitalsHospitalIdGet: function (hospitalId_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1) {
|
|
1326
1336
|
var args_1 = [];
|
|
1327
|
-
for (var _i =
|
|
1328
|
-
args_1[_i -
|
|
1337
|
+
for (var _i = 6; _i < arguments.length; _i++) {
|
|
1338
|
+
args_1[_i - 6] = arguments[_i];
|
|
1329
1339
|
}
|
|
1330
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1], args_1, true), void 0, function (hospitalId, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
1340
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1], args_1, true), void 0, function (hospitalId, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
1331
1341
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1332
1342
|
if (options === void 0) { options = {}; }
|
|
1333
1343
|
return __generator(this, function (_a) {
|
|
@@ -1354,6 +1364,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1354
1364
|
if (fillAdditionalFields) {
|
|
1355
1365
|
localVarQueryParameter['fillAdditionalFields'] = fillAdditionalFields;
|
|
1356
1366
|
}
|
|
1367
|
+
if (xCloudhospitalPlatform != null) {
|
|
1368
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
1369
|
+
}
|
|
1357
1370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1358
1371
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1359
1372
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2787,6 +2800,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2787
2800
|
* @summary Get all HospitalServices.
|
|
2788
2801
|
* @param {string} hospitalId
|
|
2789
2802
|
* @param {string} specialtyId
|
|
2803
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
2790
2804
|
* @param {string} [id]
|
|
2791
2805
|
* @param {string} [name]
|
|
2792
2806
|
* @param {string} [slug]
|
|
@@ -2803,12 +2817,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2803
2817
|
* @param {*} [options] Override http request option.
|
|
2804
2818
|
* @throws {RequiredError}
|
|
2805
2819
|
*/
|
|
2806
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId_1, specialtyId_1, id_1, name_1, slug_1, serviceCategoryId_1, marketingType_1, procedure_1, created_1, appointmentEnabled_1, languageCode_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1) {
|
|
2820
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId_1, specialtyId_1, xCloudhospitalPlatform_1, id_1, name_1, slug_1, serviceCategoryId_1, marketingType_1, procedure_1, created_1, appointmentEnabled_1, languageCode_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1) {
|
|
2807
2821
|
var args_1 = [];
|
|
2808
|
-
for (var _i =
|
|
2809
|
-
args_1[_i -
|
|
2822
|
+
for (var _i = 16; _i < arguments.length; _i++) {
|
|
2823
|
+
args_1[_i - 16] = arguments[_i];
|
|
2810
2824
|
}
|
|
2811
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, id_1, name_1, slug_1, serviceCategoryId_1, marketingType_1, procedure_1, created_1, appointmentEnabled_1, languageCode_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2825
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, xCloudhospitalPlatform_1, id_1, name_1, slug_1, serviceCategoryId_1, marketingType_1, procedure_1, created_1, appointmentEnabled_1, languageCode_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, specialtyId, xCloudhospitalPlatform, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2812
2826
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2813
2827
|
if (options === void 0) { options = {}; }
|
|
2814
2828
|
return __generator(this, function (_a) {
|
|
@@ -2869,6 +2883,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2869
2883
|
lastRetrieved.toISOString() :
|
|
2870
2884
|
lastRetrieved;
|
|
2871
2885
|
}
|
|
2886
|
+
if (xCloudhospitalPlatform != null) {
|
|
2887
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
2888
|
+
}
|
|
2872
2889
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2873
2890
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2874
2891
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2968,17 +2985,18 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2968
2985
|
* @param {string} hospitalId
|
|
2969
2986
|
* @param {string} specialtyId
|
|
2970
2987
|
* @param {string} serviceId
|
|
2988
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
2971
2989
|
* @param {string} [languageCode]
|
|
2972
2990
|
* @param {boolean} [returnDefaultValue]
|
|
2973
2991
|
* @param {*} [options] Override http request option.
|
|
2974
2992
|
* @throws {RequiredError}
|
|
2975
2993
|
*/
|
|
2976
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId_1, specialtyId_1, serviceId_1, languageCode_1, returnDefaultValue_1) {
|
|
2994
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId_1, specialtyId_1, serviceId_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1) {
|
|
2977
2995
|
var args_1 = [];
|
|
2978
|
-
for (var _i =
|
|
2979
|
-
args_1[_i -
|
|
2996
|
+
for (var _i = 6; _i < arguments.length; _i++) {
|
|
2997
|
+
args_1[_i - 6] = arguments[_i];
|
|
2980
2998
|
}
|
|
2981
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, serviceId_1, languageCode_1, returnDefaultValue_1], args_1, true), void 0, function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
2999
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, serviceId_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1], args_1, true), void 0, function (hospitalId, specialtyId, serviceId, xCloudhospitalPlatform, languageCode, returnDefaultValue, options) {
|
|
2982
3000
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2983
3001
|
if (options === void 0) { options = {}; }
|
|
2984
3002
|
return __generator(this, function (_a) {
|
|
@@ -3005,6 +3023,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3005
3023
|
if (returnDefaultValue !== undefined) {
|
|
3006
3024
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
3007
3025
|
}
|
|
3026
|
+
if (xCloudhospitalPlatform != null) {
|
|
3027
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
3028
|
+
}
|
|
3008
3029
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3009
3030
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3010
3031
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3477,6 +3498,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3477
3498
|
/**
|
|
3478
3499
|
*
|
|
3479
3500
|
* @summary Get all Hospitals.
|
|
3501
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
3480
3502
|
* @param {string} [hospitalId]
|
|
3481
3503
|
* @param {string} [name]
|
|
3482
3504
|
* @param {string} [countryId]
|
|
@@ -3498,12 +3520,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3498
3520
|
* @param {*} [options] Override http request option.
|
|
3499
3521
|
* @throws {RequiredError}
|
|
3500
3522
|
*/
|
|
3501
|
-
apiV2HospitalsSimpleGet: function (hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1) {
|
|
3523
|
+
apiV2HospitalsSimpleGet: function (xCloudhospitalPlatform_1, hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1) {
|
|
3502
3524
|
var args_1 = [];
|
|
3503
|
-
for (var _i =
|
|
3504
|
-
args_1[_i -
|
|
3525
|
+
for (var _i = 19; _i < arguments.length; _i++) {
|
|
3526
|
+
args_1[_i - 19] = arguments[_i];
|
|
3505
3527
|
}
|
|
3506
|
-
return __awaiter(_this, __spreadArray([hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
3528
|
+
return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, hospitalId_1, name_1, countryId_1, created_1, marketingType_1, specialtyTypeId_1, specialtyId_1, exceptHospitalId_1, mediaCount_1, showHidden_1, languageCode_1, ids_1, returnDefaultValue_1, paymentEnabled_1, appointmentEnabled_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
3507
3529
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3508
3530
|
if (options === void 0) { options = {}; }
|
|
3509
3531
|
return __generator(this, function (_a) {
|
|
@@ -3573,6 +3595,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3573
3595
|
lastRetrieved.toISOString() :
|
|
3574
3596
|
lastRetrieved;
|
|
3575
3597
|
}
|
|
3598
|
+
if (xCloudhospitalPlatform != null) {
|
|
3599
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
3600
|
+
}
|
|
3576
3601
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3577
3602
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3578
3603
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3587,6 +3612,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3587
3612
|
*
|
|
3588
3613
|
* @summary Get hospital by slug
|
|
3589
3614
|
* @param {string} slug
|
|
3615
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
3590
3616
|
* @param {string} [languageCode]
|
|
3591
3617
|
* @param {boolean} [returnDefaultValue]
|
|
3592
3618
|
* @param {string} [previewSecret]
|
|
@@ -3594,12 +3620,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3594
3620
|
* @param {*} [options] Override http request option.
|
|
3595
3621
|
* @throws {RequiredError}
|
|
3596
3622
|
*/
|
|
3597
|
-
apiV2HospitalsSlugGet: function (slug_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1) {
|
|
3623
|
+
apiV2HospitalsSlugGet: function (slug_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1) {
|
|
3598
3624
|
var args_1 = [];
|
|
3599
|
-
for (var _i =
|
|
3600
|
-
args_1[_i -
|
|
3625
|
+
for (var _i = 6; _i < arguments.length; _i++) {
|
|
3626
|
+
args_1[_i - 6] = arguments[_i];
|
|
3601
3627
|
}
|
|
3602
|
-
return __awaiter(_this, __spreadArray([slug_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1], args_1, true), void 0, function (slug, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
3628
|
+
return __awaiter(_this, __spreadArray([slug_1, xCloudhospitalPlatform_1, languageCode_1, returnDefaultValue_1, previewSecret_1, fillAdditionalFields_1], args_1, true), void 0, function (slug, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
3603
3629
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3604
3630
|
if (options === void 0) { options = {}; }
|
|
3605
3631
|
return __generator(this, function (_a) {
|
|
@@ -3626,6 +3652,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3626
3652
|
if (fillAdditionalFields) {
|
|
3627
3653
|
localVarQueryParameter['fillAdditionalFields'] = fillAdditionalFields;
|
|
3628
3654
|
}
|
|
3655
|
+
if (xCloudhospitalPlatform != null) {
|
|
3656
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
3657
|
+
}
|
|
3629
3658
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3630
3659
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3631
3660
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3648,17 +3677,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
3648
3677
|
return {
|
|
3649
3678
|
/**
|
|
3650
3679
|
*
|
|
3651
|
-
* @
|
|
3652
|
-
* @param {string}
|
|
3680
|
+
* @summary Get hospitals that are featured relative to the specified hospital
|
|
3681
|
+
* @param {string} hospitalId The reference hospital ID used to determine featured hospitals
|
|
3682
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
3683
|
+
* @param {string} [languageCode] The language code for localized content
|
|
3653
3684
|
* @param {*} [options] Override http request option.
|
|
3654
3685
|
* @throws {RequiredError}
|
|
3655
3686
|
*/
|
|
3656
|
-
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
3687
|
+
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId, xCloudhospitalPlatform, languageCode, options) {
|
|
3657
3688
|
return __awaiter(this, void 0, void 0, function () {
|
|
3658
3689
|
var localVarAxiosArgs;
|
|
3659
3690
|
return __generator(this, function (_a) {
|
|
3660
3691
|
switch (_a.label) {
|
|
3661
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsFeaturedHospitalIdGet(hospitalId, languageCode, options)];
|
|
3692
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsFeaturedHospitalIdGet(hospitalId, xCloudhospitalPlatform, languageCode, options)];
|
|
3662
3693
|
case 1:
|
|
3663
3694
|
localVarAxiosArgs = _a.sent();
|
|
3664
3695
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3669,6 +3700,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
3669
3700
|
/**
|
|
3670
3701
|
*
|
|
3671
3702
|
* @summary Get all Hospitals.
|
|
3703
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
3672
3704
|
* @param {string} [hospitalId]
|
|
3673
3705
|
* @param {string} [name]
|
|
3674
3706
|
* @param {string} [countryId]
|
|
@@ -3690,12 +3722,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
3690
3722
|
* @param {*} [options] Override http request option.
|
|
3691
3723
|
* @throws {RequiredError}
|
|
3692
3724
|
*/
|
|
3693
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
3725
|
+
apiV2HospitalsGet: function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
3694
3726
|
return __awaiter(this, void 0, void 0, function () {
|
|
3695
3727
|
var localVarAxiosArgs;
|
|
3696
3728
|
return __generator(this, function (_a) {
|
|
3697
3729
|
switch (_a.label) {
|
|
3698
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options)];
|
|
3730
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options)];
|
|
3699
3731
|
case 1:
|
|
3700
3732
|
localVarAxiosArgs = _a.sent();
|
|
3701
3733
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4168,6 +4200,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4168
4200
|
*
|
|
4169
4201
|
* @summary Get hospital by id
|
|
4170
4202
|
* @param {string} hospitalId
|
|
4203
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
4171
4204
|
* @param {string} [languageCode]
|
|
4172
4205
|
* @param {boolean} [returnDefaultValue]
|
|
4173
4206
|
* @param {string} [previewSecret]
|
|
@@ -4175,12 +4208,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4175
4208
|
* @param {*} [options] Override http request option.
|
|
4176
4209
|
* @throws {RequiredError}
|
|
4177
4210
|
*/
|
|
4178
|
-
apiV2HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
4211
|
+
apiV2HospitalsHospitalIdGet: function (hospitalId, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
4179
4212
|
return __awaiter(this, void 0, void 0, function () {
|
|
4180
4213
|
var localVarAxiosArgs;
|
|
4181
4214
|
return __generator(this, function (_a) {
|
|
4182
4215
|
switch (_a.label) {
|
|
4183
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options)];
|
|
4216
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdGet(hospitalId, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options)];
|
|
4184
4217
|
case 1:
|
|
4185
4218
|
localVarAxiosArgs = _a.sent();
|
|
4186
4219
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4807,6 +4840,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4807
4840
|
* @summary Get all HospitalServices.
|
|
4808
4841
|
* @param {string} hospitalId
|
|
4809
4842
|
* @param {string} specialtyId
|
|
4843
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
4810
4844
|
* @param {string} [id]
|
|
4811
4845
|
* @param {string} [name]
|
|
4812
4846
|
* @param {string} [slug]
|
|
@@ -4823,12 +4857,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4823
4857
|
* @param {*} [options] Override http request option.
|
|
4824
4858
|
* @throws {RequiredError}
|
|
4825
4859
|
*/
|
|
4826
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4860
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, xCloudhospitalPlatform, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4827
4861
|
return __awaiter(this, void 0, void 0, function () {
|
|
4828
4862
|
var localVarAxiosArgs;
|
|
4829
4863
|
return __generator(this, function (_a) {
|
|
4830
4864
|
switch (_a.label) {
|
|
4831
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
4865
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, xCloudhospitalPlatform, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
4832
4866
|
case 1:
|
|
4833
4867
|
localVarAxiosArgs = _a.sent();
|
|
4834
4868
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4871,17 +4905,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
4871
4905
|
* @param {string} hospitalId
|
|
4872
4906
|
* @param {string} specialtyId
|
|
4873
4907
|
* @param {string} serviceId
|
|
4908
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
4874
4909
|
* @param {string} [languageCode]
|
|
4875
4910
|
* @param {boolean} [returnDefaultValue]
|
|
4876
4911
|
* @param {*} [options] Override http request option.
|
|
4877
4912
|
* @throws {RequiredError}
|
|
4878
4913
|
*/
|
|
4879
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
4914
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, xCloudhospitalPlatform, languageCode, returnDefaultValue, options) {
|
|
4880
4915
|
return __awaiter(this, void 0, void 0, function () {
|
|
4881
4916
|
var localVarAxiosArgs;
|
|
4882
4917
|
return __generator(this, function (_a) {
|
|
4883
4918
|
switch (_a.label) {
|
|
4884
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
4919
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, xCloudhospitalPlatform, languageCode, returnDefaultValue, options)];
|
|
4885
4920
|
case 1:
|
|
4886
4921
|
localVarAxiosArgs = _a.sent();
|
|
4887
4922
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5101,6 +5136,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5101
5136
|
/**
|
|
5102
5137
|
*
|
|
5103
5138
|
* @summary Get all Hospitals.
|
|
5139
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5104
5140
|
* @param {string} [hospitalId]
|
|
5105
5141
|
* @param {string} [name]
|
|
5106
5142
|
* @param {string} [countryId]
|
|
@@ -5122,12 +5158,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5122
5158
|
* @param {*} [options] Override http request option.
|
|
5123
5159
|
* @throws {RequiredError}
|
|
5124
5160
|
*/
|
|
5125
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
5161
|
+
apiV2HospitalsSimpleGet: function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
5126
5162
|
return __awaiter(this, void 0, void 0, function () {
|
|
5127
5163
|
var localVarAxiosArgs;
|
|
5128
5164
|
return __generator(this, function (_a) {
|
|
5129
5165
|
switch (_a.label) {
|
|
5130
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options)];
|
|
5166
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options)];
|
|
5131
5167
|
case 1:
|
|
5132
5168
|
localVarAxiosArgs = _a.sent();
|
|
5133
5169
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5139,6 +5175,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5139
5175
|
*
|
|
5140
5176
|
* @summary Get hospital by slug
|
|
5141
5177
|
* @param {string} slug
|
|
5178
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5142
5179
|
* @param {string} [languageCode]
|
|
5143
5180
|
* @param {boolean} [returnDefaultValue]
|
|
5144
5181
|
* @param {string} [previewSecret]
|
|
@@ -5146,12 +5183,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5146
5183
|
* @param {*} [options] Override http request option.
|
|
5147
5184
|
* @throws {RequiredError}
|
|
5148
5185
|
*/
|
|
5149
|
-
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
5186
|
+
apiV2HospitalsSlugGet: function (slug, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
5150
5187
|
return __awaiter(this, void 0, void 0, function () {
|
|
5151
5188
|
var localVarAxiosArgs;
|
|
5152
5189
|
return __generator(this, function (_a) {
|
|
5153
5190
|
switch (_a.label) {
|
|
5154
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options)];
|
|
5191
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options)];
|
|
5155
5192
|
case 1:
|
|
5156
5193
|
localVarAxiosArgs = _a.sent();
|
|
5157
5194
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5171,17 +5208,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5171
5208
|
return {
|
|
5172
5209
|
/**
|
|
5173
5210
|
*
|
|
5174
|
-
* @
|
|
5175
|
-
* @param {string}
|
|
5211
|
+
* @summary Get hospitals that are featured relative to the specified hospital
|
|
5212
|
+
* @param {string} hospitalId The reference hospital ID used to determine featured hospitals
|
|
5213
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5214
|
+
* @param {string} [languageCode] The language code for localized content
|
|
5176
5215
|
* @param {*} [options] Override http request option.
|
|
5177
5216
|
* @throws {RequiredError}
|
|
5178
5217
|
*/
|
|
5179
|
-
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
5180
|
-
return localVarFp.apiV2HospitalsFeaturedHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
5218
|
+
apiV2HospitalsFeaturedHospitalIdGet: function (hospitalId, xCloudhospitalPlatform, languageCode, options) {
|
|
5219
|
+
return localVarFp.apiV2HospitalsFeaturedHospitalIdGet(hospitalId, xCloudhospitalPlatform, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
5181
5220
|
},
|
|
5182
5221
|
/**
|
|
5183
5222
|
*
|
|
5184
5223
|
* @summary Get all Hospitals.
|
|
5224
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5185
5225
|
* @param {string} [hospitalId]
|
|
5186
5226
|
* @param {string} [name]
|
|
5187
5227
|
* @param {string} [countryId]
|
|
@@ -5203,8 +5243,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5203
5243
|
* @param {*} [options] Override http request option.
|
|
5204
5244
|
* @throws {RequiredError}
|
|
5205
5245
|
*/
|
|
5206
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
5207
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5246
|
+
apiV2HospitalsGet: function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
5247
|
+
return localVarFp.apiV2HospitalsGet(xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5208
5248
|
},
|
|
5209
5249
|
/**
|
|
5210
5250
|
*
|
|
@@ -5481,6 +5521,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5481
5521
|
*
|
|
5482
5522
|
* @summary Get hospital by id
|
|
5483
5523
|
* @param {string} hospitalId
|
|
5524
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5484
5525
|
* @param {string} [languageCode]
|
|
5485
5526
|
* @param {boolean} [returnDefaultValue]
|
|
5486
5527
|
* @param {string} [previewSecret]
|
|
@@ -5488,8 +5529,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5488
5529
|
* @param {*} [options] Override http request option.
|
|
5489
5530
|
* @throws {RequiredError}
|
|
5490
5531
|
*/
|
|
5491
|
-
apiV2HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
5492
|
-
return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options).then(function (request) { return request(axios, basePath); });
|
|
5532
|
+
apiV2HospitalsHospitalIdGet: function (hospitalId, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
5533
|
+
return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options).then(function (request) { return request(axios, basePath); });
|
|
5493
5534
|
},
|
|
5494
5535
|
/**
|
|
5495
5536
|
*
|
|
@@ -5860,6 +5901,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5860
5901
|
* @summary Get all HospitalServices.
|
|
5861
5902
|
* @param {string} hospitalId
|
|
5862
5903
|
* @param {string} specialtyId
|
|
5904
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5863
5905
|
* @param {string} [id]
|
|
5864
5906
|
* @param {string} [name]
|
|
5865
5907
|
* @param {string} [slug]
|
|
@@ -5876,8 +5918,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5876
5918
|
* @param {*} [options] Override http request option.
|
|
5877
5919
|
* @throws {RequiredError}
|
|
5878
5920
|
*/
|
|
5879
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5880
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5921
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, xCloudhospitalPlatform, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5922
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, xCloudhospitalPlatform, id, name, slug, serviceCategoryId, marketingType, procedure, created, appointmentEnabled, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5881
5923
|
},
|
|
5882
5924
|
/**
|
|
5883
5925
|
*
|
|
@@ -5904,13 +5946,14 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
5904
5946
|
* @param {string} hospitalId
|
|
5905
5947
|
* @param {string} specialtyId
|
|
5906
5948
|
* @param {string} serviceId
|
|
5949
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
5907
5950
|
* @param {string} [languageCode]
|
|
5908
5951
|
* @param {boolean} [returnDefaultValue]
|
|
5909
5952
|
* @param {*} [options] Override http request option.
|
|
5910
5953
|
* @throws {RequiredError}
|
|
5911
5954
|
*/
|
|
5912
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
5913
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
5955
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, xCloudhospitalPlatform, languageCode, returnDefaultValue, options) {
|
|
5956
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, xCloudhospitalPlatform, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
5914
5957
|
},
|
|
5915
5958
|
/**
|
|
5916
5959
|
*
|
|
@@ -6034,6 +6077,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6034
6077
|
/**
|
|
6035
6078
|
*
|
|
6036
6079
|
* @summary Get all Hospitals.
|
|
6080
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
6037
6081
|
* @param {string} [hospitalId]
|
|
6038
6082
|
* @param {string} [name]
|
|
6039
6083
|
* @param {string} [countryId]
|
|
@@ -6055,13 +6099,14 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6055
6099
|
* @param {*} [options] Override http request option.
|
|
6056
6100
|
* @throws {RequiredError}
|
|
6057
6101
|
*/
|
|
6058
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
6059
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6102
|
+
apiV2HospitalsSimpleGet: function (xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options) {
|
|
6103
|
+
return localVarFp.apiV2HospitalsSimpleGet(xCloudhospitalPlatform, hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, appointmentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6060
6104
|
},
|
|
6061
6105
|
/**
|
|
6062
6106
|
*
|
|
6063
6107
|
* @summary Get hospital by slug
|
|
6064
6108
|
* @param {string} slug
|
|
6109
|
+
* @param {string} [xCloudhospitalPlatform] Platform identifier from request header
|
|
6065
6110
|
* @param {string} [languageCode]
|
|
6066
6111
|
* @param {boolean} [returnDefaultValue]
|
|
6067
6112
|
* @param {string} [previewSecret]
|
|
@@ -6069,8 +6114,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6069
6114
|
* @param {*} [options] Override http request option.
|
|
6070
6115
|
* @throws {RequiredError}
|
|
6071
6116
|
*/
|
|
6072
|
-
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
6073
|
-
return localVarFp.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options).then(function (request) { return request(axios, basePath); });
|
|
6117
|
+
apiV2HospitalsSlugGet: function (slug, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options) {
|
|
6118
|
+
return localVarFp.apiV2HospitalsSlugGet(slug, xCloudhospitalPlatform, languageCode, returnDefaultValue, previewSecret, fillAdditionalFields, options).then(function (request) { return request(axios, basePath); });
|
|
6074
6119
|
},
|
|
6075
6120
|
};
|
|
6076
6121
|
};
|
|
@@ -6088,6 +6133,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6088
6133
|
}
|
|
6089
6134
|
/**
|
|
6090
6135
|
*
|
|
6136
|
+
* @summary Get hospitals that are featured relative to the specified hospital
|
|
6091
6137
|
* @param {HospitalsApiApiV2HospitalsFeaturedHospitalIdGetRequest} requestParameters Request parameters.
|
|
6092
6138
|
* @param {*} [options] Override http request option.
|
|
6093
6139
|
* @throws {RequiredError}
|
|
@@ -6095,7 +6141,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6095
6141
|
*/
|
|
6096
6142
|
HospitalsApi.prototype.apiV2HospitalsFeaturedHospitalIdGet = function (requestParameters, options) {
|
|
6097
6143
|
var _this = this;
|
|
6098
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsFeaturedHospitalIdGet(requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6144
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsFeaturedHospitalIdGet(requestParameters.hospitalId, requestParameters.xCloudhospitalPlatform, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6099
6145
|
};
|
|
6100
6146
|
/**
|
|
6101
6147
|
*
|
|
@@ -6108,7 +6154,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6108
6154
|
HospitalsApi.prototype.apiV2HospitalsGet = function (requestParameters, options) {
|
|
6109
6155
|
var _this = this;
|
|
6110
6156
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
6111
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(requestParameters.hospitalId, requestParameters.name, requestParameters.countryId, requestParameters.created, requestParameters.marketingType, requestParameters.specialtyTypeId, requestParameters.specialtyId, requestParameters.exceptHospitalId, requestParameters.mediaCount, requestParameters.showHidden, requestParameters.languageCode, requestParameters.ids, requestParameters.returnDefaultValue, requestParameters.paymentEnabled, requestParameters.appointmentEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6157
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(requestParameters.xCloudhospitalPlatform, requestParameters.hospitalId, requestParameters.name, requestParameters.countryId, requestParameters.created, requestParameters.marketingType, requestParameters.specialtyTypeId, requestParameters.specialtyId, requestParameters.exceptHospitalId, requestParameters.mediaCount, requestParameters.showHidden, requestParameters.languageCode, requestParameters.ids, requestParameters.returnDefaultValue, requestParameters.paymentEnabled, requestParameters.appointmentEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6112
6158
|
};
|
|
6113
6159
|
/**
|
|
6114
6160
|
*
|
|
@@ -6348,7 +6394,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6348
6394
|
*/
|
|
6349
6395
|
HospitalsApi.prototype.apiV2HospitalsHospitalIdGet = function (requestParameters, options) {
|
|
6350
6396
|
var _this = this;
|
|
6351
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.fillAdditionalFields, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6397
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdGet(requestParameters.hospitalId, requestParameters.xCloudhospitalPlatform, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.fillAdditionalFields, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6352
6398
|
};
|
|
6353
6399
|
/**
|
|
6354
6400
|
*
|
|
@@ -6660,7 +6706,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6660
6706
|
*/
|
|
6661
6707
|
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (requestParameters, options) {
|
|
6662
6708
|
var _this = this;
|
|
6663
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.id, requestParameters.name, requestParameters.slug, requestParameters.serviceCategoryId, requestParameters.marketingType, requestParameters.procedure, requestParameters.created, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6709
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.xCloudhospitalPlatform, requestParameters.id, requestParameters.name, requestParameters.slug, requestParameters.serviceCategoryId, requestParameters.marketingType, requestParameters.procedure, requestParameters.created, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6664
6710
|
};
|
|
6665
6711
|
/**
|
|
6666
6712
|
*
|
|
@@ -6684,7 +6730,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6684
6730
|
*/
|
|
6685
6731
|
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (requestParameters, options) {
|
|
6686
6732
|
var _this = this;
|
|
6687
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6733
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.xCloudhospitalPlatform, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6688
6734
|
};
|
|
6689
6735
|
/**
|
|
6690
6736
|
*
|
|
@@ -6805,7 +6851,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6805
6851
|
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (requestParameters, options) {
|
|
6806
6852
|
var _this = this;
|
|
6807
6853
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
6808
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(requestParameters.hospitalId, requestParameters.name, requestParameters.countryId, requestParameters.created, requestParameters.marketingType, requestParameters.specialtyTypeId, requestParameters.specialtyId, requestParameters.exceptHospitalId, requestParameters.mediaCount, requestParameters.showHidden, requestParameters.languageCode, requestParameters.ids, requestParameters.returnDefaultValue, requestParameters.paymentEnabled, requestParameters.appointmentEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6854
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(requestParameters.xCloudhospitalPlatform, requestParameters.hospitalId, requestParameters.name, requestParameters.countryId, requestParameters.created, requestParameters.marketingType, requestParameters.specialtyTypeId, requestParameters.specialtyId, requestParameters.exceptHospitalId, requestParameters.mediaCount, requestParameters.showHidden, requestParameters.languageCode, requestParameters.ids, requestParameters.returnDefaultValue, requestParameters.paymentEnabled, requestParameters.appointmentEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6809
6855
|
};
|
|
6810
6856
|
/**
|
|
6811
6857
|
*
|
|
@@ -6817,7 +6863,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
6817
6863
|
*/
|
|
6818
6864
|
HospitalsApi.prototype.apiV2HospitalsSlugGet = function (requestParameters, options) {
|
|
6819
6865
|
var _this = this;
|
|
6820
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.fillAdditionalFields, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6866
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.xCloudhospitalPlatform, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.fillAdditionalFields, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6821
6867
|
};
|
|
6822
6868
|
return HospitalsApi;
|
|
6823
6869
|
}(base_1.BaseAPI));
|