ch-api-client-typescript2 5.0.3 → 5.0.5
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 +16 -7
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +16 -10
- package/lib/api/contributors-api.d.ts +12 -3
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +12 -6
- package/lib/api/countries-api.d.ts +16 -7
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +16 -10
- package/lib/api/deals-api.d.ts +12 -3
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +12 -6
- package/lib/api/hospitals-api.d.ts +56 -17
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +56 -26
- package/lib/api/services-api.d.ts +20 -11
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +20 -14
- package/lib/api/specialties-api.d.ts +20 -11
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +20 -14
- package/lib/api/specialty-types-api.d.ts +20 -11
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +20 -14
- package/lib/models/accreditation-document-model.d.ts +37 -0
- package/lib/models/accreditation-document-model.d.ts.map +1 -0
- package/lib/models/accreditation-document-model.js +15 -0
- package/lib/models/appointment-option-document-model.d.ts +49 -0
- package/lib/models/appointment-option-document-model.d.ts.map +1 -0
- package/lib/models/appointment-option-document-model.js +15 -0
- package/lib/models/article-contributor-document-model.d.ts +38 -0
- package/lib/models/article-contributor-document-model.d.ts.map +1 -0
- package/lib/models/article-contributor-document-model.js +15 -0
- package/lib/models/article-document-model.d.ts +101 -0
- package/lib/models/article-document-model.d.ts.map +1 -0
- package/lib/models/article-document-model.js +15 -0
- package/lib/models/contributor-document-model.d.ts +52 -0
- package/lib/models/contributor-document-model.d.ts.map +1 -0
- package/lib/models/contributor-document-model.js +15 -0
- package/lib/models/contributor-sub-document-model.d.ts +32 -0
- package/lib/models/contributor-sub-document-model.d.ts.map +1 -0
- package/lib/models/contributor-sub-document-model.js +15 -0
- package/lib/models/coordinate-system.d.ts +37 -0
- package/lib/models/coordinate-system.d.ts.map +1 -0
- package/lib/models/coordinate-system.js +15 -0
- package/lib/models/country-document-model.d.ts +63 -0
- package/lib/models/country-document-model.d.ts.map +1 -0
- package/lib/models/country-document-model.js +15 -0
- package/lib/models/country-sub-document-model.d.ts +32 -0
- package/lib/models/country-sub-document-model.d.ts.map +1 -0
- package/lib/models/country-sub-document-model.js +15 -0
- package/lib/models/deal-document-model.d.ts +103 -0
- package/lib/models/deal-document-model.d.ts.map +1 -0
- package/lib/models/deal-document-model.js +15 -0
- package/lib/models/department-document-model.d.ts +69 -0
- package/lib/models/department-document-model.d.ts.map +1 -0
- package/lib/models/department-document-model.js +15 -0
- package/lib/models/department-sub-document-model.d.ts +38 -0
- package/lib/models/department-sub-document-model.d.ts.map +1 -0
- package/lib/models/department-sub-document-model.js +15 -0
- package/lib/models/doctor-certificate-sub-document-model.d.ts +43 -0
- package/lib/models/doctor-certificate-sub-document-model.d.ts.map +1 -0
- package/lib/models/doctor-certificate-sub-document-model.js +15 -0
- package/lib/models/doctor-document-model.d.ts +116 -0
- package/lib/models/doctor-document-model.d.ts.map +1 -0
- package/lib/models/doctor-document-model.js +15 -0
- package/lib/models/doctor-specialty-sub-document-model.d.ts +32 -0
- package/lib/models/doctor-specialty-sub-document-model.d.ts.map +1 -0
- package/lib/models/doctor-specialty-sub-document-model.js +15 -0
- package/lib/models/faq-category-document-model.d.ts +45 -0
- package/lib/models/faq-category-document-model.d.ts.map +1 -0
- package/lib/models/faq-category-document-model.js +15 -0
- package/lib/models/faq-category-sub-document-model.d.ts +38 -0
- package/lib/models/faq-category-sub-document-model.d.ts.map +1 -0
- package/lib/models/faq-category-sub-document-model.js +15 -0
- package/lib/models/faq-document-model.d.ts +46 -0
- package/lib/models/faq-document-model.d.ts.map +1 -0
- package/lib/models/faq-document-model.js +15 -0
- package/lib/models/geography-point.d.ts +56 -0
- package/lib/models/geography-point.d.ts.map +1 -0
- package/lib/models/geography-point.js +15 -0
- package/lib/models/hospital-document-model.d.ts +165 -0
- package/lib/models/hospital-document-model.d.ts.map +1 -0
- package/lib/models/hospital-document-model.js +15 -0
- package/lib/models/hospital-specialty-document-model.d.ts +103 -0
- package/lib/models/hospital-specialty-document-model.d.ts.map +1 -0
- package/lib/models/hospital-specialty-document-model.js +15 -0
- package/lib/models/hospital-specialty-sub-document-model.d.ts +44 -0
- package/lib/models/hospital-specialty-sub-document-model.d.ts.map +1 -0
- package/lib/models/hospital-specialty-sub-document-model.js +15 -0
- package/lib/models/hospital-sub-document-model.d.ts +44 -0
- package/lib/models/hospital-sub-document-model.d.ts.map +1 -0
- package/lib/models/hospital-sub-document-model.js +15 -0
- package/lib/models/index.d.ts +35 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +35 -0
- package/lib/models/location-document-model.d.ts +62 -0
- package/lib/models/location-document-model.d.ts.map +1 -0
- package/lib/models/location-document-model.js +15 -0
- package/lib/models/media-document-model.d.ts +61 -0
- package/lib/models/media-document-model.d.ts.map +1 -0
- package/lib/models/media-document-model.js +15 -0
- package/lib/models/package-sub-document-model.d.ts +50 -0
- package/lib/models/package-sub-document-model.d.ts.map +1 -0
- package/lib/models/package-sub-document-model.js +15 -0
- package/lib/models/service-document-model.d.ts +89 -0
- package/lib/models/service-document-model.d.ts.map +1 -0
- package/lib/models/service-document-model.js +15 -0
- package/lib/models/service-sub-document-model.d.ts +32 -0
- package/lib/models/service-sub-document-model.d.ts.map +1 -0
- package/lib/models/service-sub-document-model.js +15 -0
- package/lib/models/sns-handle-document-model.d.ts +31 -0
- package/lib/models/sns-handle-document-model.d.ts.map +1 -0
- package/lib/models/sns-handle-document-model.js +15 -0
- package/lib/models/specialty-document-model.d.ts +70 -0
- package/lib/models/specialty-document-model.d.ts.map +1 -0
- package/lib/models/specialty-document-model.js +15 -0
- package/lib/models/specialty-sub-document-model.d.ts +32 -0
- package/lib/models/specialty-sub-document-model.d.ts.map +1 -0
- package/lib/models/specialty-sub-document-model.js +15 -0
- package/lib/models/tag-document-model.d.ts +31 -0
- package/lib/models/tag-document-model.d.ts.map +1 -0
- package/lib/models/tag-document-model.js +15 -0
- package/lib/models/translation-document-model.d.ts +61 -0
- package/lib/models/translation-document-model.d.ts.map +1 -0
- package/lib/models/translation-document-model.js +15 -0
- package/lib/models/translation-item-document-model.d.ts +43 -0
- package/lib/models/translation-item-document-model.d.ts.map +1 -0
- package/lib/models/translation-item-document-model.js +15 -0
- package/lib/models/user-location-document-model.d.ts +61 -0
- package/lib/models/user-location-document-model.d.ts.map +1 -0
- package/lib/models/user-location-document-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +35 -0
- package/src/api/articles-api.ts +24 -10
- package/src/api/contributors-api.ts +20 -6
- package/src/api/countries-api.ts +24 -10
- package/src/api/deals-api.ts +20 -6
- package/src/api/hospitals-api.ts +80 -26
- package/src/api/services-api.ts +28 -14
- package/src/api/specialties-api.ts +28 -14
- package/src/api/specialty-types-api.ts +28 -14
- package/src/models/accreditation-document-model.ts +42 -0
- package/src/models/appointment-option-document-model.ts +54 -0
- package/src/models/article-contributor-document-model.ts +45 -0
- package/src/models/article-document-model.ts +114 -0
- package/src/models/contributor-document-model.ts +63 -0
- package/src/models/contributor-sub-document-model.ts +39 -0
- package/src/models/coordinate-system.ts +42 -0
- package/src/models/country-document-model.ts +72 -0
- package/src/models/country-sub-document-model.ts +39 -0
- package/src/models/deal-document-model.ts +120 -0
- package/src/models/department-document-model.ts +78 -0
- package/src/models/department-sub-document-model.ts +45 -0
- package/src/models/doctor-certificate-sub-document-model.ts +48 -0
- package/src/models/doctor-document-model.ts +135 -0
- package/src/models/doctor-specialty-sub-document-model.ts +39 -0
- package/src/models/faq-category-document-model.ts +54 -0
- package/src/models/faq-category-sub-document-model.ts +45 -0
- package/src/models/faq-document-model.ts +57 -0
- package/src/models/geography-point.ts +63 -0
- package/src/models/hospital-document-model.ts +186 -0
- package/src/models/hospital-specialty-document-model.ts +120 -0
- package/src/models/hospital-specialty-sub-document-model.ts +51 -0
- package/src/models/hospital-sub-document-model.ts +51 -0
- package/src/models/index.ts +35 -0
- package/src/models/location-document-model.ts +69 -0
- package/src/models/media-document-model.ts +66 -0
- package/src/models/package-sub-document-model.ts +57 -0
- package/src/models/service-document-model.ts +102 -0
- package/src/models/service-sub-document-model.ts +39 -0
- package/src/models/sns-handle-document-model.ts +36 -0
- package/src/models/specialty-document-model.ts +81 -0
- package/src/models/specialty-sub-document-model.ts +39 -0
- package/src/models/tag-document-model.ts +36 -0
- package/src/models/translation-document-model.ts +66 -0
- package/src/models/translation-item-document-model.ts +48 -0
- package/src/models/user-location-document-model.ts +66 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -660,7 +660,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
660
660
|
},
|
|
661
661
|
/**
|
|
662
662
|
*
|
|
663
|
-
* @summary
|
|
663
|
+
* @summary Get hospital by id
|
|
664
664
|
* @param {string} hospitalId
|
|
665
665
|
* @param {string} [languageCode]
|
|
666
666
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -797,6 +797,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
797
797
|
},
|
|
798
798
|
/**
|
|
799
799
|
*
|
|
800
|
+
* @summary Get landings
|
|
800
801
|
* @param {string} hospitalId
|
|
801
802
|
* @param {string} [name]
|
|
802
803
|
* @param {string} [slug]
|
|
@@ -859,6 +860,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
859
860
|
},
|
|
860
861
|
/**
|
|
861
862
|
*
|
|
863
|
+
* @summary Get landing by id
|
|
862
864
|
* @param {string} hospitalId
|
|
863
865
|
* @param {string} landingId
|
|
864
866
|
* @param {string} [languageCode]
|
|
@@ -899,13 +901,15 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
899
901
|
},
|
|
900
902
|
/**
|
|
901
903
|
*
|
|
904
|
+
* @summary Get landing by slug
|
|
902
905
|
* @param {string} slug
|
|
903
906
|
* @param {string} hospitalId
|
|
904
907
|
* @param {string} [languageCode]
|
|
908
|
+
* @param {string} [previewSecret]
|
|
905
909
|
* @param {*} [options] Override http request option.
|
|
906
910
|
* @throws {RequiredError}
|
|
907
911
|
*/
|
|
908
|
-
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
912
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, previewSecret, options) {
|
|
909
913
|
if (options === void 0) { options = {}; }
|
|
910
914
|
return __awaiter(_this, void 0, void 0, function () {
|
|
911
915
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -927,6 +931,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
927
931
|
if (languageCode !== undefined) {
|
|
928
932
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
929
933
|
}
|
|
934
|
+
if (previewSecret !== undefined) {
|
|
935
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
936
|
+
}
|
|
930
937
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
931
938
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
932
939
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1431,10 +1438,11 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1431
1438
|
* @param {string} hospitalId
|
|
1432
1439
|
* @param {string} slug
|
|
1433
1440
|
* @param {string} [languageCode]
|
|
1441
|
+
* @param {string} [previewSecret]
|
|
1434
1442
|
* @param {*} [options] Override http request option.
|
|
1435
1443
|
* @throws {RequiredError}
|
|
1436
1444
|
*/
|
|
1437
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
1445
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
|
|
1438
1446
|
if (options === void 0) { options = {}; }
|
|
1439
1447
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1440
1448
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1456,6 +1464,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1456
1464
|
if (languageCode !== undefined) {
|
|
1457
1465
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
1458
1466
|
}
|
|
1467
|
+
if (previewSecret !== undefined) {
|
|
1468
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
1469
|
+
}
|
|
1459
1470
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1460
1471
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1461
1472
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2039,14 +2050,15 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2039
2050
|
},
|
|
2040
2051
|
/**
|
|
2041
2052
|
*
|
|
2042
|
-
* @summary
|
|
2053
|
+
* @summary Get hospital by slug
|
|
2043
2054
|
* @param {string} slug
|
|
2044
2055
|
* @param {string} [languageCode]
|
|
2045
2056
|
* @param {boolean} [returnDefaultValue]
|
|
2057
|
+
* @param {string} [previewSecret]
|
|
2046
2058
|
* @param {*} [options] Override http request option.
|
|
2047
2059
|
* @throws {RequiredError}
|
|
2048
2060
|
*/
|
|
2049
|
-
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
2061
|
+
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
2050
2062
|
if (options === void 0) { options = {}; }
|
|
2051
2063
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2052
2064
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2068,6 +2080,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2068
2080
|
if (returnDefaultValue !== undefined) {
|
|
2069
2081
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
2070
2082
|
}
|
|
2083
|
+
if (previewSecret !== undefined) {
|
|
2084
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
2085
|
+
}
|
|
2071
2086
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2072
2087
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2073
2088
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2343,7 +2358,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2343
2358
|
},
|
|
2344
2359
|
/**
|
|
2345
2360
|
*
|
|
2346
|
-
* @summary
|
|
2361
|
+
* @summary Get hospital by id
|
|
2347
2362
|
* @param {string} hospitalId
|
|
2348
2363
|
* @param {string} [languageCode]
|
|
2349
2364
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -2412,6 +2427,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2412
2427
|
},
|
|
2413
2428
|
/**
|
|
2414
2429
|
*
|
|
2430
|
+
* @summary Get landings
|
|
2415
2431
|
* @param {string} hospitalId
|
|
2416
2432
|
* @param {string} [name]
|
|
2417
2433
|
* @param {string} [slug]
|
|
@@ -2438,6 +2454,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2438
2454
|
},
|
|
2439
2455
|
/**
|
|
2440
2456
|
*
|
|
2457
|
+
* @summary Get landing by id
|
|
2441
2458
|
* @param {string} hospitalId
|
|
2442
2459
|
* @param {string} landingId
|
|
2443
2460
|
* @param {string} [languageCode]
|
|
@@ -2459,18 +2476,20 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2459
2476
|
},
|
|
2460
2477
|
/**
|
|
2461
2478
|
*
|
|
2479
|
+
* @summary Get landing by slug
|
|
2462
2480
|
* @param {string} slug
|
|
2463
2481
|
* @param {string} hospitalId
|
|
2464
2482
|
* @param {string} [languageCode]
|
|
2483
|
+
* @param {string} [previewSecret]
|
|
2465
2484
|
* @param {*} [options] Override http request option.
|
|
2466
2485
|
* @throws {RequiredError}
|
|
2467
2486
|
*/
|
|
2468
|
-
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
2487
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, previewSecret, options) {
|
|
2469
2488
|
return __awaiter(this, void 0, void 0, function () {
|
|
2470
2489
|
var localVarAxiosArgs;
|
|
2471
2490
|
return __generator(this, function (_a) {
|
|
2472
2491
|
switch (_a.label) {
|
|
2473
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options)];
|
|
2492
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, previewSecret, options)];
|
|
2474
2493
|
case 1:
|
|
2475
2494
|
localVarAxiosArgs = _a.sent();
|
|
2476
2495
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2695,15 +2714,16 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2695
2714
|
* @param {string} hospitalId
|
|
2696
2715
|
* @param {string} slug
|
|
2697
2716
|
* @param {string} [languageCode]
|
|
2717
|
+
* @param {string} [previewSecret]
|
|
2698
2718
|
* @param {*} [options] Override http request option.
|
|
2699
2719
|
* @throws {RequiredError}
|
|
2700
2720
|
*/
|
|
2701
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
2721
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
|
|
2702
2722
|
return __awaiter(this, void 0, void 0, function () {
|
|
2703
2723
|
var localVarAxiosArgs;
|
|
2704
2724
|
return __generator(this, function (_a) {
|
|
2705
2725
|
switch (_a.label) {
|
|
2706
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options)];
|
|
2726
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, previewSecret, options)];
|
|
2707
2727
|
case 1:
|
|
2708
2728
|
localVarAxiosArgs = _a.sent();
|
|
2709
2729
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2955,19 +2975,20 @@ var HospitalsApiFp = function (configuration) {
|
|
|
2955
2975
|
},
|
|
2956
2976
|
/**
|
|
2957
2977
|
*
|
|
2958
|
-
* @summary
|
|
2978
|
+
* @summary Get hospital by slug
|
|
2959
2979
|
* @param {string} slug
|
|
2960
2980
|
* @param {string} [languageCode]
|
|
2961
2981
|
* @param {boolean} [returnDefaultValue]
|
|
2982
|
+
* @param {string} [previewSecret]
|
|
2962
2983
|
* @param {*} [options] Override http request option.
|
|
2963
2984
|
* @throws {RequiredError}
|
|
2964
2985
|
*/
|
|
2965
|
-
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
2986
|
+
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
2966
2987
|
return __awaiter(this, void 0, void 0, function () {
|
|
2967
2988
|
var localVarAxiosArgs;
|
|
2968
2989
|
return __generator(this, function (_a) {
|
|
2969
2990
|
switch (_a.label) {
|
|
2970
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
2991
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options)];
|
|
2971
2992
|
case 1:
|
|
2972
2993
|
localVarAxiosArgs = _a.sent();
|
|
2973
2994
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3140,7 +3161,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3140
3161
|
},
|
|
3141
3162
|
/**
|
|
3142
3163
|
*
|
|
3143
|
-
* @summary
|
|
3164
|
+
* @summary Get hospital by id
|
|
3144
3165
|
* @param {string} hospitalId
|
|
3145
3166
|
* @param {string} [languageCode]
|
|
3146
3167
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -3179,6 +3200,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3179
3200
|
},
|
|
3180
3201
|
/**
|
|
3181
3202
|
*
|
|
3203
|
+
* @summary Get landings
|
|
3182
3204
|
* @param {string} hospitalId
|
|
3183
3205
|
* @param {string} [name]
|
|
3184
3206
|
* @param {string} [slug]
|
|
@@ -3195,6 +3217,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3195
3217
|
},
|
|
3196
3218
|
/**
|
|
3197
3219
|
*
|
|
3220
|
+
* @summary Get landing by id
|
|
3198
3221
|
* @param {string} hospitalId
|
|
3199
3222
|
* @param {string} landingId
|
|
3200
3223
|
* @param {string} [languageCode]
|
|
@@ -3206,14 +3229,16 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3206
3229
|
},
|
|
3207
3230
|
/**
|
|
3208
3231
|
*
|
|
3232
|
+
* @summary Get landing by slug
|
|
3209
3233
|
* @param {string} slug
|
|
3210
3234
|
* @param {string} hospitalId
|
|
3211
3235
|
* @param {string} [languageCode]
|
|
3236
|
+
* @param {string} [previewSecret]
|
|
3212
3237
|
* @param {*} [options] Override http request option.
|
|
3213
3238
|
* @throws {RequiredError}
|
|
3214
3239
|
*/
|
|
3215
|
-
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
3216
|
-
return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
3240
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, previewSecret, options) {
|
|
3241
|
+
return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
3217
3242
|
},
|
|
3218
3243
|
/**
|
|
3219
3244
|
*
|
|
@@ -3352,11 +3377,12 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3352
3377
|
* @param {string} hospitalId
|
|
3353
3378
|
* @param {string} slug
|
|
3354
3379
|
* @param {string} [languageCode]
|
|
3380
|
+
* @param {string} [previewSecret]
|
|
3355
3381
|
* @param {*} [options] Override http request option.
|
|
3356
3382
|
* @throws {RequiredError}
|
|
3357
3383
|
*/
|
|
3358
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
3359
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
3384
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
|
|
3385
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
3360
3386
|
},
|
|
3361
3387
|
/**
|
|
3362
3388
|
*
|
|
@@ -3512,15 +3538,16 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
3512
3538
|
},
|
|
3513
3539
|
/**
|
|
3514
3540
|
*
|
|
3515
|
-
* @summary
|
|
3541
|
+
* @summary Get hospital by slug
|
|
3516
3542
|
* @param {string} slug
|
|
3517
3543
|
* @param {string} [languageCode]
|
|
3518
3544
|
* @param {boolean} [returnDefaultValue]
|
|
3545
|
+
* @param {string} [previewSecret]
|
|
3519
3546
|
* @param {*} [options] Override http request option.
|
|
3520
3547
|
* @throws {RequiredError}
|
|
3521
3548
|
*/
|
|
3522
|
-
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
3523
|
-
return localVarFp.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
3549
|
+
apiV2HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
3550
|
+
return localVarFp.apiV2HospitalsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
3524
3551
|
},
|
|
3525
3552
|
};
|
|
3526
3553
|
};
|
|
@@ -3659,7 +3686,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3659
3686
|
};
|
|
3660
3687
|
/**
|
|
3661
3688
|
*
|
|
3662
|
-
* @summary
|
|
3689
|
+
* @summary Get hospital by id
|
|
3663
3690
|
* @param {HospitalsApiApiV2HospitalsHospitalIdGetRequest} requestParameters Request parameters.
|
|
3664
3691
|
* @param {*} [options] Override http request option.
|
|
3665
3692
|
* @throws {RequiredError}
|
|
@@ -3695,6 +3722,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3695
3722
|
};
|
|
3696
3723
|
/**
|
|
3697
3724
|
*
|
|
3725
|
+
* @summary Get landings
|
|
3698
3726
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsGetRequest} requestParameters Request parameters.
|
|
3699
3727
|
* @param {*} [options] Override http request option.
|
|
3700
3728
|
* @throws {RequiredError}
|
|
@@ -3706,6 +3734,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3706
3734
|
};
|
|
3707
3735
|
/**
|
|
3708
3736
|
*
|
|
3737
|
+
* @summary Get landing by id
|
|
3709
3738
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdGetRequest} requestParameters Request parameters.
|
|
3710
3739
|
* @param {*} [options] Override http request option.
|
|
3711
3740
|
* @throws {RequiredError}
|
|
@@ -3717,6 +3746,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3717
3746
|
};
|
|
3718
3747
|
/**
|
|
3719
3748
|
*
|
|
3749
|
+
* @summary Get landing by slug
|
|
3720
3750
|
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsSlugGetRequest} requestParameters Request parameters.
|
|
3721
3751
|
* @param {*} [options] Override http request option.
|
|
3722
3752
|
* @throws {RequiredError}
|
|
@@ -3724,7 +3754,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3724
3754
|
*/
|
|
3725
3755
|
HospitalsApi.prototype.apiV2HospitalsHospitalIdLandingsSlugGet = function (requestParameters, options) {
|
|
3726
3756
|
var _this = this;
|
|
3727
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(requestParameters.slug, requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3757
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(requestParameters.slug, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3728
3758
|
};
|
|
3729
3759
|
/**
|
|
3730
3760
|
*
|
|
@@ -3832,7 +3862,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3832
3862
|
*/
|
|
3833
3863
|
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (requestParameters, options) {
|
|
3834
3864
|
var _this = this;
|
|
3835
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3865
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3836
3866
|
};
|
|
3837
3867
|
/**
|
|
3838
3868
|
*
|
|
@@ -3945,7 +3975,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3945
3975
|
};
|
|
3946
3976
|
/**
|
|
3947
3977
|
*
|
|
3948
|
-
* @summary
|
|
3978
|
+
* @summary Get hospital by slug
|
|
3949
3979
|
* @param {HospitalsApiApiV2HospitalsSlugGetRequest} requestParameters Request parameters.
|
|
3950
3980
|
* @param {*} [options] Override http request option.
|
|
3951
3981
|
* @throws {RequiredError}
|
|
@@ -3953,7 +3983,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
3953
3983
|
*/
|
|
3954
3984
|
HospitalsApi.prototype.apiV2HospitalsSlugGet = function (requestParameters, options) {
|
|
3955
3985
|
var _this = this;
|
|
3956
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3986
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3957
3987
|
};
|
|
3958
3988
|
return HospitalsApi;
|
|
3959
3989
|
}(base_1.BaseAPI));
|
|
@@ -50,7 +50,7 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
50
50
|
apiV2ServicesGet: (id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @summary
|
|
53
|
+
* @summary Get Hospital service by id
|
|
54
54
|
* @param {string} serviceId
|
|
55
55
|
* @param {string} [languageCode]
|
|
56
56
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -60,14 +60,15 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
60
60
|
apiV2ServicesServiceIdGet: (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @summary
|
|
63
|
+
* @summary Get Hospital service by slug
|
|
64
64
|
* @param {string} slug
|
|
65
65
|
* @param {string} [languageCode]
|
|
66
66
|
* @param {boolean} [returnDefaultValue]
|
|
67
|
+
* @param {string} [previewSecret]
|
|
67
68
|
* @param {*} [options] Override http request option.
|
|
68
69
|
* @throws {RequiredError}
|
|
69
70
|
*/
|
|
70
|
-
apiV2ServicesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
apiV2ServicesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
72
|
};
|
|
72
73
|
/**
|
|
73
74
|
* ServicesApi - functional programming interface
|
|
@@ -103,7 +104,7 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
|
103
104
|
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, 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>>;
|
|
104
105
|
/**
|
|
105
106
|
*
|
|
106
|
-
* @summary
|
|
107
|
+
* @summary Get Hospital service by id
|
|
107
108
|
* @param {string} serviceId
|
|
108
109
|
* @param {string} [languageCode]
|
|
109
110
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -113,14 +114,15 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
|
113
114
|
apiV2ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>>;
|
|
114
115
|
/**
|
|
115
116
|
*
|
|
116
|
-
* @summary
|
|
117
|
+
* @summary Get Hospital service by slug
|
|
117
118
|
* @param {string} slug
|
|
118
119
|
* @param {string} [languageCode]
|
|
119
120
|
* @param {boolean} [returnDefaultValue]
|
|
121
|
+
* @param {string} [previewSecret]
|
|
120
122
|
* @param {*} [options] Override http request option.
|
|
121
123
|
* @throws {RequiredError}
|
|
122
124
|
*/
|
|
123
|
-
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>>;
|
|
125
|
+
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>>;
|
|
124
126
|
};
|
|
125
127
|
/**
|
|
126
128
|
* ServicesApi - factory interface
|
|
@@ -156,7 +158,7 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
156
158
|
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel>;
|
|
157
159
|
/**
|
|
158
160
|
*
|
|
159
|
-
* @summary
|
|
161
|
+
* @summary Get Hospital service by id
|
|
160
162
|
* @param {string} serviceId
|
|
161
163
|
* @param {string} [languageCode]
|
|
162
164
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -166,14 +168,15 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
166
168
|
apiV2ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel>;
|
|
167
169
|
/**
|
|
168
170
|
*
|
|
169
|
-
* @summary
|
|
171
|
+
* @summary Get Hospital service by slug
|
|
170
172
|
* @param {string} slug
|
|
171
173
|
* @param {string} [languageCode]
|
|
172
174
|
* @param {boolean} [returnDefaultValue]
|
|
175
|
+
* @param {string} [previewSecret]
|
|
173
176
|
* @param {*} [options] Override http request option.
|
|
174
177
|
* @throws {RequiredError}
|
|
175
178
|
*/
|
|
176
|
-
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel>;
|
|
179
|
+
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<HospitalServiceModel>;
|
|
177
180
|
};
|
|
178
181
|
/**
|
|
179
182
|
* Request parameters for apiV2ServicesGet operation in ServicesApi.
|
|
@@ -351,6 +354,12 @@ export interface ServicesApiApiV2ServicesSlugGetRequest {
|
|
|
351
354
|
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
352
355
|
*/
|
|
353
356
|
readonly returnDefaultValue?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @type {string}
|
|
360
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
361
|
+
*/
|
|
362
|
+
readonly previewSecret?: string;
|
|
354
363
|
}
|
|
355
364
|
/**
|
|
356
365
|
* ServicesApi - object-oriented interface
|
|
@@ -370,7 +379,7 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
370
379
|
apiV2ServicesGet(requestParameters?: ServicesApiApiV2ServicesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServicesModel, any>>;
|
|
371
380
|
/**
|
|
372
381
|
*
|
|
373
|
-
* @summary
|
|
382
|
+
* @summary Get Hospital service by id
|
|
374
383
|
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
375
384
|
* @param {*} [options] Override http request option.
|
|
376
385
|
* @throws {RequiredError}
|
|
@@ -379,7 +388,7 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
379
388
|
apiV2ServicesServiceIdGet(requestParameters: ServicesApiApiV2ServicesServiceIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServiceModel, any>>;
|
|
380
389
|
/**
|
|
381
390
|
*
|
|
382
|
-
* @summary
|
|
391
|
+
* @summary Get Hospital service by slug
|
|
383
392
|
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
384
393
|
* @param {*} [options] Override http request option.
|
|
385
394
|
* @throws {RequiredError}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services-api.d.ts","sourceRoot":"","sources":["../../src/api/services-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AAS,EAAE,MAAM,CAAA;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAErC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAClC;AAED;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,OAAO;IACpC;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,GAAE,kCAAuC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIhH;;;;;;;OAOG;IACI,yBAAyB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI7H;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGtH"}
|
package/lib/api/services-api.js
CHANGED
|
@@ -207,7 +207,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
},
|
|
208
208
|
/**
|
|
209
209
|
*
|
|
210
|
-
* @summary
|
|
210
|
+
* @summary Get Hospital service by id
|
|
211
211
|
* @param {string} serviceId
|
|
212
212
|
* @param {string} [languageCode]
|
|
213
213
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -248,14 +248,15 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
},
|
|
249
249
|
/**
|
|
250
250
|
*
|
|
251
|
-
* @summary
|
|
251
|
+
* @summary Get Hospital service by slug
|
|
252
252
|
* @param {string} slug
|
|
253
253
|
* @param {string} [languageCode]
|
|
254
254
|
* @param {boolean} [returnDefaultValue]
|
|
255
|
+
* @param {string} [previewSecret]
|
|
255
256
|
* @param {*} [options] Override http request option.
|
|
256
257
|
* @throws {RequiredError}
|
|
257
258
|
*/
|
|
258
|
-
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
259
|
+
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
259
260
|
if (options === void 0) { options = {}; }
|
|
260
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
262
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -277,6 +278,9 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
277
278
|
if (returnDefaultValue !== undefined) {
|
|
278
279
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
279
280
|
}
|
|
281
|
+
if (previewSecret !== undefined) {
|
|
282
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
283
|
+
}
|
|
280
284
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
281
285
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
282
286
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -338,7 +342,7 @@ var ServicesApiFp = function (configuration) {
|
|
|
338
342
|
},
|
|
339
343
|
/**
|
|
340
344
|
*
|
|
341
|
-
* @summary
|
|
345
|
+
* @summary Get Hospital service by id
|
|
342
346
|
* @param {string} serviceId
|
|
343
347
|
* @param {string} [languageCode]
|
|
344
348
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -360,19 +364,20 @@ var ServicesApiFp = function (configuration) {
|
|
|
360
364
|
},
|
|
361
365
|
/**
|
|
362
366
|
*
|
|
363
|
-
* @summary
|
|
367
|
+
* @summary Get Hospital service by slug
|
|
364
368
|
* @param {string} slug
|
|
365
369
|
* @param {string} [languageCode]
|
|
366
370
|
* @param {boolean} [returnDefaultValue]
|
|
371
|
+
* @param {string} [previewSecret]
|
|
367
372
|
* @param {*} [options] Override http request option.
|
|
368
373
|
* @throws {RequiredError}
|
|
369
374
|
*/
|
|
370
|
-
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
375
|
+
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
371
376
|
return __awaiter(this, void 0, void 0, function () {
|
|
372
377
|
var localVarAxiosArgs;
|
|
373
378
|
return __generator(this, function (_a) {
|
|
374
379
|
switch (_a.label) {
|
|
375
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
380
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options)];
|
|
376
381
|
case 1:
|
|
377
382
|
localVarAxiosArgs = _a.sent();
|
|
378
383
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -421,7 +426,7 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
421
426
|
},
|
|
422
427
|
/**
|
|
423
428
|
*
|
|
424
|
-
* @summary
|
|
429
|
+
* @summary Get Hospital service by id
|
|
425
430
|
* @param {string} serviceId
|
|
426
431
|
* @param {string} [languageCode]
|
|
427
432
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -433,15 +438,16 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
433
438
|
},
|
|
434
439
|
/**
|
|
435
440
|
*
|
|
436
|
-
* @summary
|
|
441
|
+
* @summary Get Hospital service by slug
|
|
437
442
|
* @param {string} slug
|
|
438
443
|
* @param {string} [languageCode]
|
|
439
444
|
* @param {boolean} [returnDefaultValue]
|
|
445
|
+
* @param {string} [previewSecret]
|
|
440
446
|
* @param {*} [options] Override http request option.
|
|
441
447
|
* @throws {RequiredError}
|
|
442
448
|
*/
|
|
443
|
-
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
444
|
-
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
449
|
+
apiV2ServicesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
450
|
+
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
445
451
|
},
|
|
446
452
|
};
|
|
447
453
|
};
|
|
@@ -472,7 +478,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
472
478
|
};
|
|
473
479
|
/**
|
|
474
480
|
*
|
|
475
|
-
* @summary
|
|
481
|
+
* @summary Get Hospital service by id
|
|
476
482
|
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
477
483
|
* @param {*} [options] Override http request option.
|
|
478
484
|
* @throws {RequiredError}
|
|
@@ -484,7 +490,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
484
490
|
};
|
|
485
491
|
/**
|
|
486
492
|
*
|
|
487
|
-
* @summary
|
|
493
|
+
* @summary Get Hospital service by slug
|
|
488
494
|
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
489
495
|
* @param {*} [options] Override http request option.
|
|
490
496
|
* @throws {RequiredError}
|
|
@@ -492,7 +498,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
492
498
|
*/
|
|
493
499
|
ServicesApi.prototype.apiV2ServicesSlugGet = function (requestParameters, options) {
|
|
494
500
|
var _this = this;
|
|
495
|
-
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
501
|
+
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
496
502
|
};
|
|
497
503
|
return ServicesApi;
|
|
498
504
|
}(base_1.BaseAPI));
|