ch-admin-api-client-typescript 2.5.7 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +399 -108
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +579 -189
- package/package.json +1 -1
- package/src/api.ts +695 -189
package/lib/api.js
CHANGED
|
@@ -1113,10 +1113,11 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1113
1113
|
* @summary Get Article.
|
|
1114
1114
|
* @param {string} articleId
|
|
1115
1115
|
* @param {string} [languageCode]
|
|
1116
|
+
* @param {boolean} [returnDefaultValue]
|
|
1116
1117
|
* @param {*} [options] Override http request option.
|
|
1117
1118
|
* @throws {RequiredError}
|
|
1118
1119
|
*/
|
|
1119
|
-
apiV1ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
1120
|
+
apiV1ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
|
|
1120
1121
|
if (options === void 0) { options = {}; }
|
|
1121
1122
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1122
1123
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1144,6 +1145,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1145
|
if (languageCode !== undefined) {
|
|
1145
1146
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
1146
1147
|
}
|
|
1148
|
+
if (returnDefaultValue !== undefined) {
|
|
1149
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
1150
|
+
}
|
|
1147
1151
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1148
1152
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1149
1153
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1925,13 +1929,14 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1925
1929
|
* @param {string} [contributorId]
|
|
1926
1930
|
* @param {string} [languageCode]
|
|
1927
1931
|
* @param {boolean} [showHidden]
|
|
1932
|
+
* @param {boolean} [returnDefaultValue]
|
|
1928
1933
|
* @param {number} [page]
|
|
1929
1934
|
* @param {number} [limit]
|
|
1930
1935
|
* @param {Date} [lastRetrieved]
|
|
1931
1936
|
* @param {*} [options] Override http request option.
|
|
1932
1937
|
* @throws {RequiredError}
|
|
1933
1938
|
*/
|
|
1934
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1939
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1935
1940
|
if (options === void 0) { options = {}; }
|
|
1936
1941
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1937
1942
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1998,6 +2003,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1998
2003
|
if (showHidden !== undefined) {
|
|
1999
2004
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
2000
2005
|
}
|
|
2006
|
+
if (returnDefaultValue !== undefined) {
|
|
2007
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
2008
|
+
}
|
|
2001
2009
|
if (page !== undefined) {
|
|
2002
2010
|
localVarQueryParameter['page'] = page;
|
|
2003
2011
|
}
|
|
@@ -2067,10 +2075,11 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2067
2075
|
* @summary Get Article by slug.
|
|
2068
2076
|
* @param {string} slug
|
|
2069
2077
|
* @param {string} [languageCode]
|
|
2078
|
+
* @param {boolean} [returnDefaultValue]
|
|
2070
2079
|
* @param {*} [options] Override http request option.
|
|
2071
2080
|
* @throws {RequiredError}
|
|
2072
2081
|
*/
|
|
2073
|
-
apiV1ArticlesSlugGet: function (slug, languageCode, options) {
|
|
2082
|
+
apiV1ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
2074
2083
|
if (options === void 0) { options = {}; }
|
|
2075
2084
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2076
2085
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2098,6 +2107,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2098
2107
|
if (languageCode !== undefined) {
|
|
2099
2108
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
2100
2109
|
}
|
|
2110
|
+
if (returnDefaultValue !== undefined) {
|
|
2111
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
2112
|
+
}
|
|
2101
2113
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2102
2114
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2103
2115
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2258,15 +2270,16 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2258
2270
|
* @summary Get Article.
|
|
2259
2271
|
* @param {string} articleId
|
|
2260
2272
|
* @param {string} [languageCode]
|
|
2273
|
+
* @param {boolean} [returnDefaultValue]
|
|
2261
2274
|
* @param {*} [options] Override http request option.
|
|
2262
2275
|
* @throws {RequiredError}
|
|
2263
2276
|
*/
|
|
2264
|
-
apiV1ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
2277
|
+
apiV1ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
|
|
2265
2278
|
return __awaiter(this, void 0, void 0, function () {
|
|
2266
2279
|
var localVarAxiosArgs;
|
|
2267
2280
|
return __generator(this, function (_a) {
|
|
2268
2281
|
switch (_a.label) {
|
|
2269
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, options)];
|
|
2282
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options)];
|
|
2270
2283
|
case 1:
|
|
2271
2284
|
localVarAxiosArgs = _a.sent();
|
|
2272
2285
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2619,18 +2632,19 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2619
2632
|
* @param {string} [contributorId]
|
|
2620
2633
|
* @param {string} [languageCode]
|
|
2621
2634
|
* @param {boolean} [showHidden]
|
|
2635
|
+
* @param {boolean} [returnDefaultValue]
|
|
2622
2636
|
* @param {number} [page]
|
|
2623
2637
|
* @param {number} [limit]
|
|
2624
2638
|
* @param {Date} [lastRetrieved]
|
|
2625
2639
|
* @param {*} [options] Override http request option.
|
|
2626
2640
|
* @throws {RequiredError}
|
|
2627
2641
|
*/
|
|
2628
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
2642
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2629
2643
|
return __awaiter(this, void 0, void 0, function () {
|
|
2630
2644
|
var localVarAxiosArgs;
|
|
2631
2645
|
return __generator(this, function (_a) {
|
|
2632
2646
|
switch (_a.label) {
|
|
2633
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
2647
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
2634
2648
|
case 1:
|
|
2635
2649
|
localVarAxiosArgs = _a.sent();
|
|
2636
2650
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2663,15 +2677,16 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2663
2677
|
* @summary Get Article by slug.
|
|
2664
2678
|
* @param {string} slug
|
|
2665
2679
|
* @param {string} [languageCode]
|
|
2680
|
+
* @param {boolean} [returnDefaultValue]
|
|
2666
2681
|
* @param {*} [options] Override http request option.
|
|
2667
2682
|
* @throws {RequiredError}
|
|
2668
2683
|
*/
|
|
2669
|
-
apiV1ArticlesSlugGet: function (slug, languageCode, options) {
|
|
2684
|
+
apiV1ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
2670
2685
|
return __awaiter(this, void 0, void 0, function () {
|
|
2671
2686
|
var localVarAxiosArgs;
|
|
2672
2687
|
return __generator(this, function (_a) {
|
|
2673
2688
|
switch (_a.label) {
|
|
2674
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, options)];
|
|
2689
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
2675
2690
|
case 1:
|
|
2676
2691
|
localVarAxiosArgs = _a.sent();
|
|
2677
2692
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2768,11 +2783,12 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
2768
2783
|
* @summary Get Article.
|
|
2769
2784
|
* @param {string} articleId
|
|
2770
2785
|
* @param {string} [languageCode]
|
|
2786
|
+
* @param {boolean} [returnDefaultValue]
|
|
2771
2787
|
* @param {*} [options] Override http request option.
|
|
2772
2788
|
* @throws {RequiredError}
|
|
2773
2789
|
*/
|
|
2774
|
-
apiV1ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
2775
|
-
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
2790
|
+
apiV1ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
|
|
2791
|
+
return localVarFp.apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
2776
2792
|
},
|
|
2777
2793
|
/**
|
|
2778
2794
|
*
|
|
@@ -2969,14 +2985,15 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
2969
2985
|
* @param {string} [contributorId]
|
|
2970
2986
|
* @param {string} [languageCode]
|
|
2971
2987
|
* @param {boolean} [showHidden]
|
|
2988
|
+
* @param {boolean} [returnDefaultValue]
|
|
2972
2989
|
* @param {number} [page]
|
|
2973
2990
|
* @param {number} [limit]
|
|
2974
2991
|
* @param {Date} [lastRetrieved]
|
|
2975
2992
|
* @param {*} [options] Override http request option.
|
|
2976
2993
|
* @throws {RequiredError}
|
|
2977
2994
|
*/
|
|
2978
|
-
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
2979
|
-
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2995
|
+
apiV1ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2996
|
+
return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2980
2997
|
},
|
|
2981
2998
|
/**
|
|
2982
2999
|
*
|
|
@@ -2993,11 +3010,12 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
2993
3010
|
* @summary Get Article by slug.
|
|
2994
3011
|
* @param {string} slug
|
|
2995
3012
|
* @param {string} [languageCode]
|
|
3013
|
+
* @param {boolean} [returnDefaultValue]
|
|
2996
3014
|
* @param {*} [options] Override http request option.
|
|
2997
3015
|
* @throws {RequiredError}
|
|
2998
3016
|
*/
|
|
2999
|
-
apiV1ArticlesSlugGet: function (slug, languageCode, options) {
|
|
3000
|
-
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
3017
|
+
apiV1ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
3018
|
+
return localVarFp.apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
3001
3019
|
},
|
|
3002
3020
|
};
|
|
3003
3021
|
};
|
|
@@ -3104,13 +3122,14 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3104
3122
|
* @summary Get Article.
|
|
3105
3123
|
* @param {string} articleId
|
|
3106
3124
|
* @param {string} [languageCode]
|
|
3125
|
+
* @param {boolean} [returnDefaultValue]
|
|
3107
3126
|
* @param {*} [options] Override http request option.
|
|
3108
3127
|
* @throws {RequiredError}
|
|
3109
3128
|
* @memberof ArticlesApi
|
|
3110
3129
|
*/
|
|
3111
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdGet = function (articleId, languageCode, options) {
|
|
3130
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdGet = function (articleId, languageCode, returnDefaultValue, options) {
|
|
3112
3131
|
var _this = this;
|
|
3113
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3132
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3114
3133
|
};
|
|
3115
3134
|
/**
|
|
3116
3135
|
*
|
|
@@ -3337,6 +3356,7 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3337
3356
|
* @param {string} [contributorId]
|
|
3338
3357
|
* @param {string} [languageCode]
|
|
3339
3358
|
* @param {boolean} [showHidden]
|
|
3359
|
+
* @param {boolean} [returnDefaultValue]
|
|
3340
3360
|
* @param {number} [page]
|
|
3341
3361
|
* @param {number} [limit]
|
|
3342
3362
|
* @param {Date} [lastRetrieved]
|
|
@@ -3344,9 +3364,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3344
3364
|
* @throws {RequiredError}
|
|
3345
3365
|
* @memberof ArticlesApi
|
|
3346
3366
|
*/
|
|
3347
|
-
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
3367
|
+
ArticlesApi.prototype.apiV1ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
3348
3368
|
var _this = this;
|
|
3349
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3369
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3350
3370
|
};
|
|
3351
3371
|
/**
|
|
3352
3372
|
*
|
|
@@ -3365,13 +3385,14 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3365
3385
|
* @summary Get Article by slug.
|
|
3366
3386
|
* @param {string} slug
|
|
3367
3387
|
* @param {string} [languageCode]
|
|
3388
|
+
* @param {boolean} [returnDefaultValue]
|
|
3368
3389
|
* @param {*} [options] Override http request option.
|
|
3369
3390
|
* @throws {RequiredError}
|
|
3370
3391
|
* @memberof ArticlesApi
|
|
3371
3392
|
*/
|
|
3372
|
-
ArticlesApi.prototype.apiV1ArticlesSlugGet = function (slug, languageCode, options) {
|
|
3393
|
+
ArticlesApi.prototype.apiV1ArticlesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
3373
3394
|
var _this = this;
|
|
3374
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3395
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3375
3396
|
};
|
|
3376
3397
|
return ArticlesApi;
|
|
3377
3398
|
}(base_1.BaseAPI));
|
|
@@ -7745,10 +7766,11 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
7745
7766
|
* @summary Get country.
|
|
7746
7767
|
* @param {string} countryId
|
|
7747
7768
|
* @param {string} [languageCode]
|
|
7769
|
+
* @param {boolean} [returnDefaultValue]
|
|
7748
7770
|
* @param {*} [options] Override http request option.
|
|
7749
7771
|
* @throws {RequiredError}
|
|
7750
7772
|
*/
|
|
7751
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
7773
|
+
apiV1CountriesCountryIdGet: function (countryId, languageCode, returnDefaultValue, options) {
|
|
7752
7774
|
if (options === void 0) { options = {}; }
|
|
7753
7775
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7754
7776
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7776,6 +7798,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
7776
7798
|
if (languageCode !== undefined) {
|
|
7777
7799
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
7778
7800
|
}
|
|
7801
|
+
if (returnDefaultValue !== undefined) {
|
|
7802
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
7803
|
+
}
|
|
7779
7804
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7780
7805
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7781
7806
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8140,13 +8165,14 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8140
8165
|
* @param {Date} [createdDate]
|
|
8141
8166
|
* @param {string} [languageCode]
|
|
8142
8167
|
* @param {boolean} [showHidden]
|
|
8168
|
+
* @param {boolean} [returnDefaultValue]
|
|
8143
8169
|
* @param {number} [page]
|
|
8144
8170
|
* @param {number} [limit]
|
|
8145
8171
|
* @param {Date} [lastRetrieved]
|
|
8146
8172
|
* @param {*} [options] Override http request option.
|
|
8147
8173
|
* @throws {RequiredError}
|
|
8148
8174
|
*/
|
|
8149
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8175
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8150
8176
|
if (options === void 0) { options = {}; }
|
|
8151
8177
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8152
8178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8188,6 +8214,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8188
8214
|
if (showHidden !== undefined) {
|
|
8189
8215
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
8190
8216
|
}
|
|
8217
|
+
if (returnDefaultValue !== undefined) {
|
|
8218
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8219
|
+
}
|
|
8191
8220
|
if (page !== undefined) {
|
|
8192
8221
|
localVarQueryParameter['page'] = page;
|
|
8193
8222
|
}
|
|
@@ -8257,10 +8286,11 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8257
8286
|
* @summary Get country by slug.
|
|
8258
8287
|
* @param {string} slug
|
|
8259
8288
|
* @param {string} [languageCode]
|
|
8289
|
+
* @param {boolean} [returnDefaultValue]
|
|
8260
8290
|
* @param {*} [options] Override http request option.
|
|
8261
8291
|
* @throws {RequiredError}
|
|
8262
8292
|
*/
|
|
8263
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8293
|
+
apiV1CountriesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8264
8294
|
if (options === void 0) { options = {}; }
|
|
8265
8295
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8266
8296
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8288,6 +8318,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8288
8318
|
if (languageCode !== undefined) {
|
|
8289
8319
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
8290
8320
|
}
|
|
8321
|
+
if (returnDefaultValue !== undefined) {
|
|
8322
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
8323
|
+
}
|
|
8291
8324
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8292
8325
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8293
8326
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8333,15 +8366,16 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8333
8366
|
* @summary Get country.
|
|
8334
8367
|
* @param {string} countryId
|
|
8335
8368
|
* @param {string} [languageCode]
|
|
8369
|
+
* @param {boolean} [returnDefaultValue]
|
|
8336
8370
|
* @param {*} [options] Override http request option.
|
|
8337
8371
|
* @throws {RequiredError}
|
|
8338
8372
|
*/
|
|
8339
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
8373
|
+
apiV1CountriesCountryIdGet: function (countryId, languageCode, returnDefaultValue, options) {
|
|
8340
8374
|
return __awaiter(this, void 0, void 0, function () {
|
|
8341
8375
|
var localVarAxiosArgs;
|
|
8342
8376
|
return __generator(this, function (_a) {
|
|
8343
8377
|
switch (_a.label) {
|
|
8344
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, options)];
|
|
8378
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options)];
|
|
8345
8379
|
case 1:
|
|
8346
8380
|
localVarAxiosArgs = _a.sent();
|
|
8347
8381
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8509,18 +8543,19 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8509
8543
|
* @param {Date} [createdDate]
|
|
8510
8544
|
* @param {string} [languageCode]
|
|
8511
8545
|
* @param {boolean} [showHidden]
|
|
8546
|
+
* @param {boolean} [returnDefaultValue]
|
|
8512
8547
|
* @param {number} [page]
|
|
8513
8548
|
* @param {number} [limit]
|
|
8514
8549
|
* @param {Date} [lastRetrieved]
|
|
8515
8550
|
* @param {*} [options] Override http request option.
|
|
8516
8551
|
* @throws {RequiredError}
|
|
8517
8552
|
*/
|
|
8518
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8553
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8519
8554
|
return __awaiter(this, void 0, void 0, function () {
|
|
8520
8555
|
var localVarAxiosArgs;
|
|
8521
8556
|
return __generator(this, function (_a) {
|
|
8522
8557
|
switch (_a.label) {
|
|
8523
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
8558
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
8524
8559
|
case 1:
|
|
8525
8560
|
localVarAxiosArgs = _a.sent();
|
|
8526
8561
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8553,15 +8588,16 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8553
8588
|
* @summary Get country by slug.
|
|
8554
8589
|
* @param {string} slug
|
|
8555
8590
|
* @param {string} [languageCode]
|
|
8591
|
+
* @param {boolean} [returnDefaultValue]
|
|
8556
8592
|
* @param {*} [options] Override http request option.
|
|
8557
8593
|
* @throws {RequiredError}
|
|
8558
8594
|
*/
|
|
8559
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8595
|
+
apiV1CountriesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8560
8596
|
return __awaiter(this, void 0, void 0, function () {
|
|
8561
8597
|
var localVarAxiosArgs;
|
|
8562
8598
|
return __generator(this, function (_a) {
|
|
8563
8599
|
switch (_a.label) {
|
|
8564
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, options)];
|
|
8600
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
8565
8601
|
case 1:
|
|
8566
8602
|
localVarAxiosArgs = _a.sent();
|
|
8567
8603
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8593,11 +8629,12 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8593
8629
|
* @summary Get country.
|
|
8594
8630
|
* @param {string} countryId
|
|
8595
8631
|
* @param {string} [languageCode]
|
|
8632
|
+
* @param {boolean} [returnDefaultValue]
|
|
8596
8633
|
* @param {*} [options] Override http request option.
|
|
8597
8634
|
* @throws {RequiredError}
|
|
8598
8635
|
*/
|
|
8599
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
8600
|
-
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
8636
|
+
apiV1CountriesCountryIdGet: function (countryId, languageCode, returnDefaultValue, options) {
|
|
8637
|
+
return localVarFp.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
8601
8638
|
},
|
|
8602
8639
|
/**
|
|
8603
8640
|
*
|
|
@@ -8689,14 +8726,15 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8689
8726
|
* @param {Date} [createdDate]
|
|
8690
8727
|
* @param {string} [languageCode]
|
|
8691
8728
|
* @param {boolean} [showHidden]
|
|
8729
|
+
* @param {boolean} [returnDefaultValue]
|
|
8692
8730
|
* @param {number} [page]
|
|
8693
8731
|
* @param {number} [limit]
|
|
8694
8732
|
* @param {Date} [lastRetrieved]
|
|
8695
8733
|
* @param {*} [options] Override http request option.
|
|
8696
8734
|
* @throws {RequiredError}
|
|
8697
8735
|
*/
|
|
8698
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8699
|
-
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8736
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8737
|
+
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8700
8738
|
},
|
|
8701
8739
|
/**
|
|
8702
8740
|
*
|
|
@@ -8713,11 +8751,12 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8713
8751
|
* @summary Get country by slug.
|
|
8714
8752
|
* @param {string} slug
|
|
8715
8753
|
* @param {string} [languageCode]
|
|
8754
|
+
* @param {boolean} [returnDefaultValue]
|
|
8716
8755
|
* @param {*} [options] Override http request option.
|
|
8717
8756
|
* @throws {RequiredError}
|
|
8718
8757
|
*/
|
|
8719
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8720
|
-
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
8758
|
+
apiV1CountriesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8759
|
+
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
8721
8760
|
},
|
|
8722
8761
|
};
|
|
8723
8762
|
};
|
|
@@ -8749,13 +8788,14 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8749
8788
|
* @summary Get country.
|
|
8750
8789
|
* @param {string} countryId
|
|
8751
8790
|
* @param {string} [languageCode]
|
|
8791
|
+
* @param {boolean} [returnDefaultValue]
|
|
8752
8792
|
* @param {*} [options] Override http request option.
|
|
8753
8793
|
* @throws {RequiredError}
|
|
8754
8794
|
* @memberof CountriesApi
|
|
8755
8795
|
*/
|
|
8756
|
-
CountriesApi.prototype.apiV1CountriesCountryIdGet = function (countryId, languageCode, options) {
|
|
8796
|
+
CountriesApi.prototype.apiV1CountriesCountryIdGet = function (countryId, languageCode, returnDefaultValue, options) {
|
|
8757
8797
|
var _this = this;
|
|
8758
|
-
return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8798
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8759
8799
|
};
|
|
8760
8800
|
/**
|
|
8761
8801
|
*
|
|
@@ -8861,6 +8901,7 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8861
8901
|
* @param {Date} [createdDate]
|
|
8862
8902
|
* @param {string} [languageCode]
|
|
8863
8903
|
* @param {boolean} [showHidden]
|
|
8904
|
+
* @param {boolean} [returnDefaultValue]
|
|
8864
8905
|
* @param {number} [page]
|
|
8865
8906
|
* @param {number} [limit]
|
|
8866
8907
|
* @param {Date} [lastRetrieved]
|
|
@@ -8868,9 +8909,9 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8868
8909
|
* @throws {RequiredError}
|
|
8869
8910
|
* @memberof CountriesApi
|
|
8870
8911
|
*/
|
|
8871
|
-
CountriesApi.prototype.apiV1CountriesGet = function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8912
|
+
CountriesApi.prototype.apiV1CountriesGet = function (id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8872
8913
|
var _this = this;
|
|
8873
|
-
return exports.CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8914
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8874
8915
|
};
|
|
8875
8916
|
/**
|
|
8876
8917
|
*
|
|
@@ -8889,13 +8930,14 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8889
8930
|
* @summary Get country by slug.
|
|
8890
8931
|
* @param {string} slug
|
|
8891
8932
|
* @param {string} [languageCode]
|
|
8933
|
+
* @param {boolean} [returnDefaultValue]
|
|
8892
8934
|
* @param {*} [options] Override http request option.
|
|
8893
8935
|
* @throws {RequiredError}
|
|
8894
8936
|
* @memberof CountriesApi
|
|
8895
8937
|
*/
|
|
8896
|
-
CountriesApi.prototype.apiV1CountriesSlugGet = function (slug, languageCode, options) {
|
|
8938
|
+
CountriesApi.prototype.apiV1CountriesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
8897
8939
|
var _this = this;
|
|
8898
|
-
return exports.CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8940
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8899
8941
|
};
|
|
8900
8942
|
return CountriesApi;
|
|
8901
8943
|
}(base_1.BaseAPI));
|
|
@@ -8954,10 +8996,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
8954
8996
|
*
|
|
8955
8997
|
* @summary Get deal.
|
|
8956
8998
|
* @param {string} dealId
|
|
8999
|
+
* @param {string} [languageCode]
|
|
9000
|
+
* @param {boolean} [returnDefaultValue]
|
|
8957
9001
|
* @param {*} [options] Override http request option.
|
|
8958
9002
|
* @throws {RequiredError}
|
|
8959
9003
|
*/
|
|
8960
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
9004
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
8961
9005
|
if (options === void 0) { options = {}; }
|
|
8962
9006
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8963
9007
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8982,6 +9026,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
8982
9026
|
// authentication oauth2 required
|
|
8983
9027
|
// oauth required
|
|
8984
9028
|
_a.sent();
|
|
9029
|
+
if (languageCode !== undefined) {
|
|
9030
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9031
|
+
}
|
|
9032
|
+
if (returnDefaultValue !== undefined) {
|
|
9033
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9034
|
+
}
|
|
8985
9035
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8986
9036
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8987
9037
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9571,13 +9621,16 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9571
9621
|
* @param {string} [exceptHospitalId]
|
|
9572
9622
|
* @param {string} [exceptDealId]
|
|
9573
9623
|
* @param {Array<string>} [ids]
|
|
9624
|
+
* @param {string} [languageCode]
|
|
9625
|
+
* @param {boolean} [showHidden]
|
|
9626
|
+
* @param {boolean} [returnDefaultValue]
|
|
9574
9627
|
* @param {number} [page]
|
|
9575
9628
|
* @param {number} [limit]
|
|
9576
9629
|
* @param {Date} [lastRetrieved]
|
|
9577
9630
|
* @param {*} [options] Override http request option.
|
|
9578
9631
|
* @throws {RequiredError}
|
|
9579
9632
|
*/
|
|
9580
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
9633
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9581
9634
|
if (options === void 0) { options = {}; }
|
|
9582
9635
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9583
9636
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9632,6 +9685,15 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9632
9685
|
if (ids) {
|
|
9633
9686
|
localVarQueryParameter['Ids'] = ids;
|
|
9634
9687
|
}
|
|
9688
|
+
if (languageCode !== undefined) {
|
|
9689
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9690
|
+
}
|
|
9691
|
+
if (showHidden !== undefined) {
|
|
9692
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9693
|
+
}
|
|
9694
|
+
if (returnDefaultValue !== undefined) {
|
|
9695
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9696
|
+
}
|
|
9635
9697
|
if (page !== undefined) {
|
|
9636
9698
|
localVarQueryParameter['page'] = page;
|
|
9637
9699
|
}
|
|
@@ -9700,10 +9762,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9700
9762
|
*
|
|
9701
9763
|
* @summary Get deal by slug.
|
|
9702
9764
|
* @param {string} slug
|
|
9765
|
+
* @param {string} [languageCode]
|
|
9766
|
+
* @param {boolean} [returnDefaultValue]
|
|
9703
9767
|
* @param {*} [options] Override http request option.
|
|
9704
9768
|
* @throws {RequiredError}
|
|
9705
9769
|
*/
|
|
9706
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
9770
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
9707
9771
|
if (options === void 0) { options = {}; }
|
|
9708
9772
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9709
9773
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9728,6 +9792,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9728
9792
|
// authentication oauth2 required
|
|
9729
9793
|
// oauth required
|
|
9730
9794
|
_a.sent();
|
|
9795
|
+
if (languageCode !== undefined) {
|
|
9796
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9797
|
+
}
|
|
9798
|
+
if (returnDefaultValue !== undefined) {
|
|
9799
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9800
|
+
}
|
|
9731
9801
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9732
9802
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9733
9803
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9772,15 +9842,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
9772
9842
|
*
|
|
9773
9843
|
* @summary Get deal.
|
|
9774
9844
|
* @param {string} dealId
|
|
9845
|
+
* @param {string} [languageCode]
|
|
9846
|
+
* @param {boolean} [returnDefaultValue]
|
|
9775
9847
|
* @param {*} [options] Override http request option.
|
|
9776
9848
|
* @throws {RequiredError}
|
|
9777
9849
|
*/
|
|
9778
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
9850
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
9779
9851
|
return __awaiter(this, void 0, void 0, function () {
|
|
9780
9852
|
var localVarAxiosArgs;
|
|
9781
9853
|
return __generator(this, function (_a) {
|
|
9782
9854
|
switch (_a.label) {
|
|
9783
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, options)];
|
|
9855
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options)];
|
|
9784
9856
|
case 1:
|
|
9785
9857
|
localVarAxiosArgs = _a.sent();
|
|
9786
9858
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10045,18 +10117,21 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10045
10117
|
* @param {string} [exceptHospitalId]
|
|
10046
10118
|
* @param {string} [exceptDealId]
|
|
10047
10119
|
* @param {Array<string>} [ids]
|
|
10120
|
+
* @param {string} [languageCode]
|
|
10121
|
+
* @param {boolean} [showHidden]
|
|
10122
|
+
* @param {boolean} [returnDefaultValue]
|
|
10048
10123
|
* @param {number} [page]
|
|
10049
10124
|
* @param {number} [limit]
|
|
10050
10125
|
* @param {Date} [lastRetrieved]
|
|
10051
10126
|
* @param {*} [options] Override http request option.
|
|
10052
10127
|
* @throws {RequiredError}
|
|
10053
10128
|
*/
|
|
10054
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10129
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10055
10130
|
return __awaiter(this, void 0, void 0, function () {
|
|
10056
10131
|
var localVarAxiosArgs;
|
|
10057
10132
|
return __generator(this, function (_a) {
|
|
10058
10133
|
switch (_a.label) {
|
|
10059
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options)];
|
|
10134
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10060
10135
|
case 1:
|
|
10061
10136
|
localVarAxiosArgs = _a.sent();
|
|
10062
10137
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10088,15 +10163,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10088
10163
|
*
|
|
10089
10164
|
* @summary Get deal by slug.
|
|
10090
10165
|
* @param {string} slug
|
|
10166
|
+
* @param {string} [languageCode]
|
|
10167
|
+
* @param {boolean} [returnDefaultValue]
|
|
10091
10168
|
* @param {*} [options] Override http request option.
|
|
10092
10169
|
* @throws {RequiredError}
|
|
10093
10170
|
*/
|
|
10094
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
10171
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
10095
10172
|
return __awaiter(this, void 0, void 0, function () {
|
|
10096
10173
|
var localVarAxiosArgs;
|
|
10097
10174
|
return __generator(this, function (_a) {
|
|
10098
10175
|
switch (_a.label) {
|
|
10099
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSlugGet(slug, options)];
|
|
10176
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
10100
10177
|
case 1:
|
|
10101
10178
|
localVarAxiosArgs = _a.sent();
|
|
10102
10179
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10127,11 +10204,13 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10127
10204
|
*
|
|
10128
10205
|
* @summary Get deal.
|
|
10129
10206
|
* @param {string} dealId
|
|
10207
|
+
* @param {string} [languageCode]
|
|
10208
|
+
* @param {boolean} [returnDefaultValue]
|
|
10130
10209
|
* @param {*} [options] Override http request option.
|
|
10131
10210
|
* @throws {RequiredError}
|
|
10132
10211
|
*/
|
|
10133
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
10134
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, options).then(function (request) { return request(axios, basePath); });
|
|
10212
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
10213
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10135
10214
|
},
|
|
10136
10215
|
/**
|
|
10137
10216
|
*
|
|
@@ -10280,14 +10359,17 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10280
10359
|
* @param {string} [exceptHospitalId]
|
|
10281
10360
|
* @param {string} [exceptDealId]
|
|
10282
10361
|
* @param {Array<string>} [ids]
|
|
10362
|
+
* @param {string} [languageCode]
|
|
10363
|
+
* @param {boolean} [showHidden]
|
|
10364
|
+
* @param {boolean} [returnDefaultValue]
|
|
10283
10365
|
* @param {number} [page]
|
|
10284
10366
|
* @param {number} [limit]
|
|
10285
10367
|
* @param {Date} [lastRetrieved]
|
|
10286
10368
|
* @param {*} [options] Override http request option.
|
|
10287
10369
|
* @throws {RequiredError}
|
|
10288
10370
|
*/
|
|
10289
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10290
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10371
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10372
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10291
10373
|
},
|
|
10292
10374
|
/**
|
|
10293
10375
|
*
|
|
@@ -10303,11 +10385,13 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10303
10385
|
*
|
|
10304
10386
|
* @summary Get deal by slug.
|
|
10305
10387
|
* @param {string} slug
|
|
10388
|
+
* @param {string} [languageCode]
|
|
10389
|
+
* @param {boolean} [returnDefaultValue]
|
|
10306
10390
|
* @param {*} [options] Override http request option.
|
|
10307
10391
|
* @throws {RequiredError}
|
|
10308
10392
|
*/
|
|
10309
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
10310
|
-
return localVarFp.apiV1DealsSlugGet(slug, options).then(function (request) { return request(axios, basePath); });
|
|
10393
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
10394
|
+
return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10311
10395
|
},
|
|
10312
10396
|
};
|
|
10313
10397
|
};
|
|
@@ -10338,13 +10422,15 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10338
10422
|
*
|
|
10339
10423
|
* @summary Get deal.
|
|
10340
10424
|
* @param {string} dealId
|
|
10425
|
+
* @param {string} [languageCode]
|
|
10426
|
+
* @param {boolean} [returnDefaultValue]
|
|
10341
10427
|
* @param {*} [options] Override http request option.
|
|
10342
10428
|
* @throws {RequiredError}
|
|
10343
10429
|
* @memberof DealsApi
|
|
10344
10430
|
*/
|
|
10345
|
-
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, options) {
|
|
10431
|
+
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, languageCode, returnDefaultValue, options) {
|
|
10346
10432
|
var _this = this;
|
|
10347
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10433
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10348
10434
|
};
|
|
10349
10435
|
/**
|
|
10350
10436
|
*
|
|
@@ -10515,6 +10601,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10515
10601
|
* @param {string} [exceptHospitalId]
|
|
10516
10602
|
* @param {string} [exceptDealId]
|
|
10517
10603
|
* @param {Array<string>} [ids]
|
|
10604
|
+
* @param {string} [languageCode]
|
|
10605
|
+
* @param {boolean} [showHidden]
|
|
10606
|
+
* @param {boolean} [returnDefaultValue]
|
|
10518
10607
|
* @param {number} [page]
|
|
10519
10608
|
* @param {number} [limit]
|
|
10520
10609
|
* @param {Date} [lastRetrieved]
|
|
@@ -10522,9 +10611,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10522
10611
|
* @throws {RequiredError}
|
|
10523
10612
|
* @memberof DealsApi
|
|
10524
10613
|
*/
|
|
10525
|
-
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10614
|
+
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10526
10615
|
var _this = this;
|
|
10527
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10616
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10528
10617
|
};
|
|
10529
10618
|
/**
|
|
10530
10619
|
*
|
|
@@ -10542,13 +10631,15 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10542
10631
|
*
|
|
10543
10632
|
* @summary Get deal by slug.
|
|
10544
10633
|
* @param {string} slug
|
|
10634
|
+
* @param {string} [languageCode]
|
|
10635
|
+
* @param {boolean} [returnDefaultValue]
|
|
10545
10636
|
* @param {*} [options] Override http request option.
|
|
10546
10637
|
* @throws {RequiredError}
|
|
10547
10638
|
* @memberof DealsApi
|
|
10548
10639
|
*/
|
|
10549
|
-
DealsApi.prototype.apiV1DealsSlugGet = function (slug, options) {
|
|
10640
|
+
DealsApi.prototype.apiV1DealsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
10550
10641
|
var _this = this;
|
|
10551
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10642
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10552
10643
|
};
|
|
10553
10644
|
return DealsApi;
|
|
10554
10645
|
}(base_1.BaseAPI));
|
|
@@ -11348,10 +11439,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11348
11439
|
* @summary Get Doctor.
|
|
11349
11440
|
* @param {string} doctorId
|
|
11350
11441
|
* @param {string} [languageCode]
|
|
11442
|
+
* @param {boolean} [returnDefaultValue]
|
|
11351
11443
|
* @param {*} [options] Override http request option.
|
|
11352
11444
|
* @throws {RequiredError}
|
|
11353
11445
|
*/
|
|
11354
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
11446
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
11355
11447
|
if (options === void 0) { options = {}; }
|
|
11356
11448
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11357
11449
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11379,6 +11471,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11379
11471
|
if (languageCode !== undefined) {
|
|
11380
11472
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
11381
11473
|
}
|
|
11474
|
+
if (returnDefaultValue !== undefined) {
|
|
11475
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
11476
|
+
}
|
|
11382
11477
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11383
11478
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11384
11479
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12214,6 +12309,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12214
12309
|
* @summary Get all Doctors.
|
|
12215
12310
|
* @param {string} [hospitalId]
|
|
12216
12311
|
* @param {string} [languageCode]
|
|
12312
|
+
* @param {boolean} [returnDefaultValue]
|
|
12217
12313
|
* @param {string} [id]
|
|
12218
12314
|
* @param {string} [fullname]
|
|
12219
12315
|
* @param {string} [email]
|
|
@@ -12227,7 +12323,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12227
12323
|
* @param {*} [options] Override http request option.
|
|
12228
12324
|
* @throws {RequiredError}
|
|
12229
12325
|
*/
|
|
12230
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12326
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12231
12327
|
if (options === void 0) { options = {}; }
|
|
12232
12328
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12233
12329
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12255,6 +12351,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12255
12351
|
if (languageCode !== undefined) {
|
|
12256
12352
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12257
12353
|
}
|
|
12354
|
+
if (returnDefaultValue !== undefined) {
|
|
12355
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12356
|
+
}
|
|
12258
12357
|
if (id !== undefined) {
|
|
12259
12358
|
localVarQueryParameter['Id'] = id;
|
|
12260
12359
|
}
|
|
@@ -12349,10 +12448,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12349
12448
|
* @summary Get Doctor by slug.
|
|
12350
12449
|
* @param {string} slug
|
|
12351
12450
|
* @param {string} [languageCode]
|
|
12451
|
+
* @param {boolean} [returnDefaultValue]
|
|
12352
12452
|
* @param {*} [options] Override http request option.
|
|
12353
12453
|
* @throws {RequiredError}
|
|
12354
12454
|
*/
|
|
12355
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
12455
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
12356
12456
|
if (options === void 0) { options = {}; }
|
|
12357
12457
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12358
12458
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12380,6 +12480,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12380
12480
|
if (languageCode !== undefined) {
|
|
12381
12481
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
12382
12482
|
}
|
|
12483
|
+
if (returnDefaultValue !== undefined) {
|
|
12484
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12485
|
+
}
|
|
12383
12486
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12384
12487
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12385
12488
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12737,15 +12840,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
12737
12840
|
* @summary Get Doctor.
|
|
12738
12841
|
* @param {string} doctorId
|
|
12739
12842
|
* @param {string} [languageCode]
|
|
12843
|
+
* @param {boolean} [returnDefaultValue]
|
|
12740
12844
|
* @param {*} [options] Override http request option.
|
|
12741
12845
|
* @throws {RequiredError}
|
|
12742
12846
|
*/
|
|
12743
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
12847
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
12744
12848
|
return __awaiter(this, void 0, void 0, function () {
|
|
12745
12849
|
var localVarAxiosArgs;
|
|
12746
12850
|
return __generator(this, function (_a) {
|
|
12747
12851
|
switch (_a.label) {
|
|
12748
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options)];
|
|
12852
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options)];
|
|
12749
12853
|
case 1:
|
|
12750
12854
|
localVarAxiosArgs = _a.sent();
|
|
12751
12855
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13111,6 +13215,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13111
13215
|
* @summary Get all Doctors.
|
|
13112
13216
|
* @param {string} [hospitalId]
|
|
13113
13217
|
* @param {string} [languageCode]
|
|
13218
|
+
* @param {boolean} [returnDefaultValue]
|
|
13114
13219
|
* @param {string} [id]
|
|
13115
13220
|
* @param {string} [fullname]
|
|
13116
13221
|
* @param {string} [email]
|
|
@@ -13124,12 +13229,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13124
13229
|
* @param {*} [options] Override http request option.
|
|
13125
13230
|
* @throws {RequiredError}
|
|
13126
13231
|
*/
|
|
13127
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13232
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13128
13233
|
return __awaiter(this, void 0, void 0, function () {
|
|
13129
13234
|
var localVarAxiosArgs;
|
|
13130
13235
|
return __generator(this, function (_a) {
|
|
13131
13236
|
switch (_a.label) {
|
|
13132
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13237
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13133
13238
|
case 1:
|
|
13134
13239
|
localVarAxiosArgs = _a.sent();
|
|
13135
13240
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13162,15 +13267,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13162
13267
|
* @summary Get Doctor by slug.
|
|
13163
13268
|
* @param {string} slug
|
|
13164
13269
|
* @param {string} [languageCode]
|
|
13270
|
+
* @param {boolean} [returnDefaultValue]
|
|
13165
13271
|
* @param {*} [options] Override http request option.
|
|
13166
13272
|
* @throws {RequiredError}
|
|
13167
13273
|
*/
|
|
13168
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13274
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13169
13275
|
return __awaiter(this, void 0, void 0, function () {
|
|
13170
13276
|
var localVarAxiosArgs;
|
|
13171
13277
|
return __generator(this, function (_a) {
|
|
13172
13278
|
switch (_a.label) {
|
|
13173
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options)];
|
|
13279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
13174
13280
|
case 1:
|
|
13175
13281
|
localVarAxiosArgs = _a.sent();
|
|
13176
13282
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13374,11 +13480,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13374
13480
|
* @summary Get Doctor.
|
|
13375
13481
|
* @param {string} doctorId
|
|
13376
13482
|
* @param {string} [languageCode]
|
|
13483
|
+
* @param {boolean} [returnDefaultValue]
|
|
13377
13484
|
* @param {*} [options] Override http request option.
|
|
13378
13485
|
* @throws {RequiredError}
|
|
13379
13486
|
*/
|
|
13380
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
13381
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13487
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13488
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13382
13489
|
},
|
|
13383
13490
|
/**
|
|
13384
13491
|
*
|
|
@@ -13578,6 +13685,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13578
13685
|
* @summary Get all Doctors.
|
|
13579
13686
|
* @param {string} [hospitalId]
|
|
13580
13687
|
* @param {string} [languageCode]
|
|
13688
|
+
* @param {boolean} [returnDefaultValue]
|
|
13581
13689
|
* @param {string} [id]
|
|
13582
13690
|
* @param {string} [fullname]
|
|
13583
13691
|
* @param {string} [email]
|
|
@@ -13591,8 +13699,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13591
13699
|
* @param {*} [options] Override http request option.
|
|
13592
13700
|
* @throws {RequiredError}
|
|
13593
13701
|
*/
|
|
13594
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13595
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13702
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13703
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13596
13704
|
},
|
|
13597
13705
|
/**
|
|
13598
13706
|
*
|
|
@@ -13609,11 +13717,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13609
13717
|
* @summary Get Doctor by slug.
|
|
13610
13718
|
* @param {string} slug
|
|
13611
13719
|
* @param {string} [languageCode]
|
|
13720
|
+
* @param {boolean} [returnDefaultValue]
|
|
13612
13721
|
* @param {*} [options] Override http request option.
|
|
13613
13722
|
* @throws {RequiredError}
|
|
13614
13723
|
*/
|
|
13615
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13616
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13724
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13725
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13617
13726
|
},
|
|
13618
13727
|
};
|
|
13619
13728
|
};
|
|
@@ -13845,13 +13954,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
13845
13954
|
* @summary Get Doctor.
|
|
13846
13955
|
* @param {string} doctorId
|
|
13847
13956
|
* @param {string} [languageCode]
|
|
13957
|
+
* @param {boolean} [returnDefaultValue]
|
|
13848
13958
|
* @param {*} [options] Override http request option.
|
|
13849
13959
|
* @throws {RequiredError}
|
|
13850
13960
|
* @memberof DoctorsApi
|
|
13851
13961
|
*/
|
|
13852
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, options) {
|
|
13962
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13853
13963
|
var _this = this;
|
|
13854
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13964
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13855
13965
|
};
|
|
13856
13966
|
/**
|
|
13857
13967
|
*
|
|
@@ -14083,6 +14193,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14083
14193
|
* @summary Get all Doctors.
|
|
14084
14194
|
* @param {string} [hospitalId]
|
|
14085
14195
|
* @param {string} [languageCode]
|
|
14196
|
+
* @param {boolean} [returnDefaultValue]
|
|
14086
14197
|
* @param {string} [id]
|
|
14087
14198
|
* @param {string} [fullname]
|
|
14088
14199
|
* @param {string} [email]
|
|
@@ -14097,9 +14208,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14097
14208
|
* @throws {RequiredError}
|
|
14098
14209
|
* @memberof DoctorsApi
|
|
14099
14210
|
*/
|
|
14100
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14211
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14101
14212
|
var _this = this;
|
|
14102
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14213
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14103
14214
|
};
|
|
14104
14215
|
/**
|
|
14105
14216
|
*
|
|
@@ -14118,13 +14229,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14118
14229
|
* @summary Get Doctor by slug.
|
|
14119
14230
|
* @param {string} slug
|
|
14120
14231
|
* @param {string} [languageCode]
|
|
14232
|
+
* @param {boolean} [returnDefaultValue]
|
|
14121
14233
|
* @param {*} [options] Override http request option.
|
|
14122
14234
|
* @throws {RequiredError}
|
|
14123
14235
|
* @memberof DoctorsApi
|
|
14124
14236
|
*/
|
|
14125
|
-
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, options) {
|
|
14237
|
+
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
14126
14238
|
var _this = this;
|
|
14127
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14239
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14128
14240
|
};
|
|
14129
14241
|
return DoctorsApi;
|
|
14130
14242
|
}(base_1.BaseAPI));
|
|
@@ -16587,13 +16699,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16587
16699
|
* @param {boolean} [showHidden]
|
|
16588
16700
|
* @param {string} [languageCode]
|
|
16589
16701
|
* @param {Array<string>} [ids]
|
|
16702
|
+
* @param {boolean} [returnDefaultValue]
|
|
16590
16703
|
* @param {number} [page]
|
|
16591
16704
|
* @param {number} [limit]
|
|
16592
16705
|
* @param {Date} [lastRetrieved]
|
|
16593
16706
|
* @param {*} [options] Override http request option.
|
|
16594
16707
|
* @throws {RequiredError}
|
|
16595
16708
|
*/
|
|
16596
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
16709
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16597
16710
|
if (options === void 0) { options = {}; }
|
|
16598
16711
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16599
16712
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16656,6 +16769,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16656
16769
|
if (ids) {
|
|
16657
16770
|
localVarQueryParameter['Ids'] = ids;
|
|
16658
16771
|
}
|
|
16772
|
+
if (returnDefaultValue !== undefined) {
|
|
16773
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16774
|
+
}
|
|
16659
16775
|
if (page !== undefined) {
|
|
16660
16776
|
localVarQueryParameter['page'] = page;
|
|
16661
16777
|
}
|
|
@@ -17692,10 +17808,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17692
17808
|
* @summary Get Hospital.
|
|
17693
17809
|
* @param {string} hospitalId
|
|
17694
17810
|
* @param {string} [languageCode]
|
|
17811
|
+
* @param {boolean} [returnDefaultValue]
|
|
17695
17812
|
* @param {*} [options] Override http request option.
|
|
17696
17813
|
* @throws {RequiredError}
|
|
17697
17814
|
*/
|
|
17698
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
17815
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
17699
17816
|
if (options === void 0) { options = {}; }
|
|
17700
17817
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17701
17818
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17723,6 +17840,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17723
17840
|
if (languageCode !== undefined) {
|
|
17724
17841
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17725
17842
|
}
|
|
17843
|
+
if (returnDefaultValue !== undefined) {
|
|
17844
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17845
|
+
}
|
|
17726
17846
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17727
17847
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17728
17848
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18330,13 +18450,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18330
18450
|
* @param {Procedure} [procedure]
|
|
18331
18451
|
* @param {Date} [created]
|
|
18332
18452
|
* @param {string} [languageCode]
|
|
18453
|
+
* @param {boolean} [returnDefaultValue]
|
|
18333
18454
|
* @param {number} [page]
|
|
18334
18455
|
* @param {number} [limit]
|
|
18335
18456
|
* @param {Date} [lastRetrieved]
|
|
18336
18457
|
* @param {*} [options] Override http request option.
|
|
18337
18458
|
* @throws {RequiredError}
|
|
18338
18459
|
*/
|
|
18339
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18460
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18340
18461
|
if (options === void 0) { options = {}; }
|
|
18341
18462
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18342
18463
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18405,6 +18526,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18405
18526
|
if (languageCode !== undefined) {
|
|
18406
18527
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18407
18528
|
}
|
|
18529
|
+
if (returnDefaultValue !== undefined) {
|
|
18530
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18531
|
+
}
|
|
18408
18532
|
if (page !== undefined) {
|
|
18409
18533
|
localVarQueryParameter['page'] = page;
|
|
18410
18534
|
}
|
|
@@ -18535,10 +18659,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18535
18659
|
* @param {string} specialtyId
|
|
18536
18660
|
* @param {string} serviceId
|
|
18537
18661
|
* @param {string} [languageCode]
|
|
18662
|
+
* @param {boolean} [returnDefaultValue]
|
|
18538
18663
|
* @param {*} [options] Override http request option.
|
|
18539
18664
|
* @throws {RequiredError}
|
|
18540
18665
|
*/
|
|
18541
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
18666
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
18542
18667
|
if (options === void 0) { options = {}; }
|
|
18543
18668
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18544
18669
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18572,6 +18697,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18572
18697
|
if (languageCode !== undefined) {
|
|
18573
18698
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18574
18699
|
}
|
|
18700
|
+
if (returnDefaultValue !== undefined) {
|
|
18701
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18702
|
+
}
|
|
18575
18703
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18576
18704
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18577
18705
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18990,13 +19118,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18990
19118
|
* @param {boolean} [showHidden]
|
|
18991
19119
|
* @param {string} [languageCode]
|
|
18992
19120
|
* @param {Array<string>} [ids]
|
|
19121
|
+
* @param {boolean} [returnDefaultValue]
|
|
18993
19122
|
* @param {number} [page]
|
|
18994
19123
|
* @param {number} [limit]
|
|
18995
19124
|
* @param {Date} [lastRetrieved]
|
|
18996
19125
|
* @param {*} [options] Override http request option.
|
|
18997
19126
|
* @throws {RequiredError}
|
|
18998
19127
|
*/
|
|
18999
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19128
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19000
19129
|
if (options === void 0) { options = {}; }
|
|
19001
19130
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19002
19131
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19059,6 +19188,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19059
19188
|
if (ids) {
|
|
19060
19189
|
localVarQueryParameter['Ids'] = ids;
|
|
19061
19190
|
}
|
|
19191
|
+
if (returnDefaultValue !== undefined) {
|
|
19192
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19193
|
+
}
|
|
19062
19194
|
if (page !== undefined) {
|
|
19063
19195
|
localVarQueryParameter['page'] = page;
|
|
19064
19196
|
}
|
|
@@ -19086,10 +19218,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19086
19218
|
* @summary Get Hospital by slug.
|
|
19087
19219
|
* @param {string} slug
|
|
19088
19220
|
* @param {string} [languageCode]
|
|
19221
|
+
* @param {boolean} [returnDefaultValue]
|
|
19089
19222
|
* @param {*} [options] Override http request option.
|
|
19090
19223
|
* @throws {RequiredError}
|
|
19091
19224
|
*/
|
|
19092
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
19225
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
19093
19226
|
if (options === void 0) { options = {}; }
|
|
19094
19227
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19095
19228
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19117,6 +19250,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19117
19250
|
if (languageCode !== undefined) {
|
|
19118
19251
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
19119
19252
|
}
|
|
19253
|
+
if (returnDefaultValue !== undefined) {
|
|
19254
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19255
|
+
}
|
|
19120
19256
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19121
19257
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19122
19258
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19153,18 +19289,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19153
19289
|
* @param {boolean} [showHidden]
|
|
19154
19290
|
* @param {string} [languageCode]
|
|
19155
19291
|
* @param {Array<string>} [ids]
|
|
19292
|
+
* @param {boolean} [returnDefaultValue]
|
|
19156
19293
|
* @param {number} [page]
|
|
19157
19294
|
* @param {number} [limit]
|
|
19158
19295
|
* @param {Date} [lastRetrieved]
|
|
19159
19296
|
* @param {*} [options] Override http request option.
|
|
19160
19297
|
* @throws {RequiredError}
|
|
19161
19298
|
*/
|
|
19162
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19299
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19163
19300
|
return __awaiter(this, void 0, void 0, function () {
|
|
19164
19301
|
var localVarAxiosArgs;
|
|
19165
19302
|
return __generator(this, function (_a) {
|
|
19166
19303
|
switch (_a.label) {
|
|
19167
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
19304
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19168
19305
|
case 1:
|
|
19169
19306
|
localVarAxiosArgs = _a.sent();
|
|
19170
19307
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19604,15 +19741,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19604
19741
|
* @summary Get Hospital.
|
|
19605
19742
|
* @param {string} hospitalId
|
|
19606
19743
|
* @param {string} [languageCode]
|
|
19744
|
+
* @param {boolean} [returnDefaultValue]
|
|
19607
19745
|
* @param {*} [options] Override http request option.
|
|
19608
19746
|
* @throws {RequiredError}
|
|
19609
19747
|
*/
|
|
19610
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
19748
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
19611
19749
|
return __awaiter(this, void 0, void 0, function () {
|
|
19612
19750
|
var localVarAxiosArgs;
|
|
19613
19751
|
return __generator(this, function (_a) {
|
|
19614
19752
|
switch (_a.label) {
|
|
19615
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options)];
|
|
19753
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
|
|
19616
19754
|
case 1:
|
|
19617
19755
|
localVarAxiosArgs = _a.sent();
|
|
19618
19756
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19884,18 +20022,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19884
20022
|
* @param {Procedure} [procedure]
|
|
19885
20023
|
* @param {Date} [created]
|
|
19886
20024
|
* @param {string} [languageCode]
|
|
20025
|
+
* @param {boolean} [returnDefaultValue]
|
|
19887
20026
|
* @param {number} [page]
|
|
19888
20027
|
* @param {number} [limit]
|
|
19889
20028
|
* @param {Date} [lastRetrieved]
|
|
19890
20029
|
* @param {*} [options] Override http request option.
|
|
19891
20030
|
* @throws {RequiredError}
|
|
19892
20031
|
*/
|
|
19893
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
20032
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19894
20033
|
return __awaiter(this, void 0, void 0, function () {
|
|
19895
20034
|
var localVarAxiosArgs;
|
|
19896
20035
|
return __generator(this, function (_a) {
|
|
19897
20036
|
switch (_a.label) {
|
|
19898
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
20037
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19899
20038
|
case 1:
|
|
19900
20039
|
localVarAxiosArgs = _a.sent();
|
|
19901
20040
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19954,15 +20093,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19954
20093
|
* @param {string} specialtyId
|
|
19955
20094
|
* @param {string} serviceId
|
|
19956
20095
|
* @param {string} [languageCode]
|
|
20096
|
+
* @param {boolean} [returnDefaultValue]
|
|
19957
20097
|
* @param {*} [options] Override http request option.
|
|
19958
20098
|
* @throws {RequiredError}
|
|
19959
20099
|
*/
|
|
19960
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20100
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
19961
20101
|
return __awaiter(this, void 0, void 0, function () {
|
|
19962
20102
|
var localVarAxiosArgs;
|
|
19963
20103
|
return __generator(this, function (_a) {
|
|
19964
20104
|
switch (_a.label) {
|
|
19965
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options)];
|
|
20105
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
19966
20106
|
case 1:
|
|
19967
20107
|
localVarAxiosArgs = _a.sent();
|
|
19968
20108
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20149,18 +20289,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20149
20289
|
* @param {boolean} [showHidden]
|
|
20150
20290
|
* @param {string} [languageCode]
|
|
20151
20291
|
* @param {Array<string>} [ids]
|
|
20292
|
+
* @param {boolean} [returnDefaultValue]
|
|
20152
20293
|
* @param {number} [page]
|
|
20153
20294
|
* @param {number} [limit]
|
|
20154
20295
|
* @param {Date} [lastRetrieved]
|
|
20155
20296
|
* @param {*} [options] Override http request option.
|
|
20156
20297
|
* @throws {RequiredError}
|
|
20157
20298
|
*/
|
|
20158
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20299
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20159
20300
|
return __awaiter(this, void 0, void 0, function () {
|
|
20160
20301
|
var localVarAxiosArgs;
|
|
20161
20302
|
return __generator(this, function (_a) {
|
|
20162
20303
|
switch (_a.label) {
|
|
20163
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
20304
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
20164
20305
|
case 1:
|
|
20165
20306
|
localVarAxiosArgs = _a.sent();
|
|
20166
20307
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20173,15 +20314,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20173
20314
|
* @summary Get Hospital by slug.
|
|
20174
20315
|
* @param {string} slug
|
|
20175
20316
|
* @param {string} [languageCode]
|
|
20317
|
+
* @param {boolean} [returnDefaultValue]
|
|
20176
20318
|
* @param {*} [options] Override http request option.
|
|
20177
20319
|
* @throws {RequiredError}
|
|
20178
20320
|
*/
|
|
20179
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20321
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20180
20322
|
return __awaiter(this, void 0, void 0, function () {
|
|
20181
20323
|
var localVarAxiosArgs;
|
|
20182
20324
|
return __generator(this, function (_a) {
|
|
20183
20325
|
switch (_a.label) {
|
|
20184
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options)];
|
|
20326
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
20185
20327
|
case 1:
|
|
20186
20328
|
localVarAxiosArgs = _a.sent();
|
|
20187
20329
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20214,14 +20356,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20214
20356
|
* @param {boolean} [showHidden]
|
|
20215
20357
|
* @param {string} [languageCode]
|
|
20216
20358
|
* @param {Array<string>} [ids]
|
|
20359
|
+
* @param {boolean} [returnDefaultValue]
|
|
20217
20360
|
* @param {number} [page]
|
|
20218
20361
|
* @param {number} [limit]
|
|
20219
20362
|
* @param {Date} [lastRetrieved]
|
|
20220
20363
|
* @param {*} [options] Override http request option.
|
|
20221
20364
|
* @throws {RequiredError}
|
|
20222
20365
|
*/
|
|
20223
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20224
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20366
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20367
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20225
20368
|
},
|
|
20226
20369
|
/**
|
|
20227
20370
|
*
|
|
@@ -20465,11 +20608,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20465
20608
|
* @summary Get Hospital.
|
|
20466
20609
|
* @param {string} hospitalId
|
|
20467
20610
|
* @param {string} [languageCode]
|
|
20611
|
+
* @param {boolean} [returnDefaultValue]
|
|
20468
20612
|
* @param {*} [options] Override http request option.
|
|
20469
20613
|
* @throws {RequiredError}
|
|
20470
20614
|
*/
|
|
20471
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
20472
|
-
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20615
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
20616
|
+
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20473
20617
|
},
|
|
20474
20618
|
/**
|
|
20475
20619
|
*
|
|
@@ -20625,14 +20769,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20625
20769
|
* @param {Procedure} [procedure]
|
|
20626
20770
|
* @param {Date} [created]
|
|
20627
20771
|
* @param {string} [languageCode]
|
|
20772
|
+
* @param {boolean} [returnDefaultValue]
|
|
20628
20773
|
* @param {number} [page]
|
|
20629
20774
|
* @param {number} [limit]
|
|
20630
20775
|
* @param {Date} [lastRetrieved]
|
|
20631
20776
|
* @param {*} [options] Override http request option.
|
|
20632
20777
|
* @throws {RequiredError}
|
|
20633
20778
|
*/
|
|
20634
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
20635
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20779
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20780
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20636
20781
|
},
|
|
20637
20782
|
/**
|
|
20638
20783
|
*
|
|
@@ -20665,11 +20810,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20665
20810
|
* @param {string} specialtyId
|
|
20666
20811
|
* @param {string} serviceId
|
|
20667
20812
|
* @param {string} [languageCode]
|
|
20813
|
+
* @param {boolean} [returnDefaultValue]
|
|
20668
20814
|
* @param {*} [options] Override http request option.
|
|
20669
20815
|
* @throws {RequiredError}
|
|
20670
20816
|
*/
|
|
20671
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20672
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20817
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
20818
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20673
20819
|
},
|
|
20674
20820
|
/**
|
|
20675
20821
|
*
|
|
@@ -20780,25 +20926,27 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20780
20926
|
* @param {boolean} [showHidden]
|
|
20781
20927
|
* @param {string} [languageCode]
|
|
20782
20928
|
* @param {Array<string>} [ids]
|
|
20929
|
+
* @param {boolean} [returnDefaultValue]
|
|
20783
20930
|
* @param {number} [page]
|
|
20784
20931
|
* @param {number} [limit]
|
|
20785
20932
|
* @param {Date} [lastRetrieved]
|
|
20786
20933
|
* @param {*} [options] Override http request option.
|
|
20787
20934
|
* @throws {RequiredError}
|
|
20788
20935
|
*/
|
|
20789
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20790
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20936
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20937
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20791
20938
|
},
|
|
20792
20939
|
/**
|
|
20793
20940
|
*
|
|
20794
20941
|
* @summary Get Hospital by slug.
|
|
20795
20942
|
* @param {string} slug
|
|
20796
20943
|
* @param {string} [languageCode]
|
|
20944
|
+
* @param {boolean} [returnDefaultValue]
|
|
20797
20945
|
* @param {*} [options] Override http request option.
|
|
20798
20946
|
* @throws {RequiredError}
|
|
20799
20947
|
*/
|
|
20800
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20801
|
-
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20948
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20949
|
+
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20802
20950
|
},
|
|
20803
20951
|
};
|
|
20804
20952
|
};
|
|
@@ -20829,6 +20977,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20829
20977
|
* @param {boolean} [showHidden]
|
|
20830
20978
|
* @param {string} [languageCode]
|
|
20831
20979
|
* @param {Array<string>} [ids]
|
|
20980
|
+
* @param {boolean} [returnDefaultValue]
|
|
20832
20981
|
* @param {number} [page]
|
|
20833
20982
|
* @param {number} [limit]
|
|
20834
20983
|
* @param {Date} [lastRetrieved]
|
|
@@ -20836,9 +20985,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20836
20985
|
* @throws {RequiredError}
|
|
20837
20986
|
* @memberof HospitalsApi
|
|
20838
20987
|
*/
|
|
20839
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20988
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20840
20989
|
var _this = this;
|
|
20841
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20990
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20842
20991
|
};
|
|
20843
20992
|
/**
|
|
20844
20993
|
*
|
|
@@ -21120,13 +21269,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21120
21269
|
* @summary Get Hospital.
|
|
21121
21270
|
* @param {string} hospitalId
|
|
21122
21271
|
* @param {string} [languageCode]
|
|
21272
|
+
* @param {boolean} [returnDefaultValue]
|
|
21123
21273
|
* @param {*} [options] Override http request option.
|
|
21124
21274
|
* @throws {RequiredError}
|
|
21125
21275
|
* @memberof HospitalsApi
|
|
21126
21276
|
*/
|
|
21127
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, options) {
|
|
21277
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
21128
21278
|
var _this = this;
|
|
21129
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21279
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21130
21280
|
};
|
|
21131
21281
|
/**
|
|
21132
21282
|
*
|
|
@@ -21304,6 +21454,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21304
21454
|
* @param {Procedure} [procedure]
|
|
21305
21455
|
* @param {Date} [created]
|
|
21306
21456
|
* @param {string} [languageCode]
|
|
21457
|
+
* @param {boolean} [returnDefaultValue]
|
|
21307
21458
|
* @param {number} [page]
|
|
21308
21459
|
* @param {number} [limit]
|
|
21309
21460
|
* @param {Date} [lastRetrieved]
|
|
@@ -21311,9 +21462,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21311
21462
|
* @throws {RequiredError}
|
|
21312
21463
|
* @memberof HospitalsApi
|
|
21313
21464
|
*/
|
|
21314
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
21465
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21315
21466
|
var _this = this;
|
|
21316
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21467
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21317
21468
|
};
|
|
21318
21469
|
/**
|
|
21319
21470
|
*
|
|
@@ -21350,13 +21501,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21350
21501
|
* @param {string} specialtyId
|
|
21351
21502
|
* @param {string} serviceId
|
|
21352
21503
|
* @param {string} [languageCode]
|
|
21504
|
+
* @param {boolean} [returnDefaultValue]
|
|
21353
21505
|
* @param {*} [options] Override http request option.
|
|
21354
21506
|
* @throws {RequiredError}
|
|
21355
21507
|
* @memberof HospitalsApi
|
|
21356
21508
|
*/
|
|
21357
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
21509
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
21358
21510
|
var _this = this;
|
|
21359
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21511
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21360
21512
|
};
|
|
21361
21513
|
/**
|
|
21362
21514
|
*
|
|
@@ -21481,6 +21633,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21481
21633
|
* @param {boolean} [showHidden]
|
|
21482
21634
|
* @param {string} [languageCode]
|
|
21483
21635
|
* @param {Array<string>} [ids]
|
|
21636
|
+
* @param {boolean} [returnDefaultValue]
|
|
21484
21637
|
* @param {number} [page]
|
|
21485
21638
|
* @param {number} [limit]
|
|
21486
21639
|
* @param {Date} [lastRetrieved]
|
|
@@ -21488,22 +21641,23 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21488
21641
|
* @throws {RequiredError}
|
|
21489
21642
|
* @memberof HospitalsApi
|
|
21490
21643
|
*/
|
|
21491
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
21644
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21492
21645
|
var _this = this;
|
|
21493
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21646
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21494
21647
|
};
|
|
21495
21648
|
/**
|
|
21496
21649
|
*
|
|
21497
21650
|
* @summary Get Hospital by slug.
|
|
21498
21651
|
* @param {string} slug
|
|
21499
21652
|
* @param {string} [languageCode]
|
|
21653
|
+
* @param {boolean} [returnDefaultValue]
|
|
21500
21654
|
* @param {*} [options] Override http request option.
|
|
21501
21655
|
* @throws {RequiredError}
|
|
21502
21656
|
* @memberof HospitalsApi
|
|
21503
21657
|
*/
|
|
21504
|
-
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, options) {
|
|
21658
|
+
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
21505
21659
|
var _this = this;
|
|
21506
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21660
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21507
21661
|
};
|
|
21508
21662
|
return HospitalsApi;
|
|
21509
21663
|
}(base_1.BaseAPI));
|
|
@@ -25536,13 +25690,14 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25536
25690
|
* @param {Procedure} [procedure]
|
|
25537
25691
|
* @param {Date} [created]
|
|
25538
25692
|
* @param {string} [languageCode]
|
|
25693
|
+
* @param {boolean} [returnDefaultValue]
|
|
25539
25694
|
* @param {number} [page]
|
|
25540
25695
|
* @param {number} [limit]
|
|
25541
25696
|
* @param {Date} [lastRetrieved]
|
|
25542
25697
|
* @param {*} [options] Override http request option.
|
|
25543
25698
|
* @throws {RequiredError}
|
|
25544
25699
|
*/
|
|
25545
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25700
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25546
25701
|
if (options === void 0) { options = {}; }
|
|
25547
25702
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25548
25703
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25611,6 +25766,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25611
25766
|
if (languageCode !== undefined) {
|
|
25612
25767
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25613
25768
|
}
|
|
25769
|
+
if (returnDefaultValue !== undefined) {
|
|
25770
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
25771
|
+
}
|
|
25614
25772
|
if (page !== undefined) {
|
|
25615
25773
|
localVarQueryParameter['page'] = page;
|
|
25616
25774
|
}
|
|
@@ -25638,10 +25796,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25638
25796
|
* @summary Get HospitalService.
|
|
25639
25797
|
* @param {string} serviceId
|
|
25640
25798
|
* @param {string} [languageCode]
|
|
25799
|
+
* @param {boolean} [returnDefaultValue]
|
|
25641
25800
|
* @param {*} [options] Override http request option.
|
|
25642
25801
|
* @throws {RequiredError}
|
|
25643
25802
|
*/
|
|
25644
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25803
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25645
25804
|
if (options === void 0) { options = {}; }
|
|
25646
25805
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25647
25806
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25669,6 +25828,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25669
25828
|
if (languageCode !== undefined) {
|
|
25670
25829
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25671
25830
|
}
|
|
25831
|
+
if (returnDefaultValue !== undefined) {
|
|
25832
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25833
|
+
}
|
|
25672
25834
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25673
25835
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25674
25836
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25685,10 +25847,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25685
25847
|
* @summary Get HospitalService by slug.
|
|
25686
25848
|
* @param {string} slug
|
|
25687
25849
|
* @param {string} [languageCode]
|
|
25850
|
+
* @param {boolean} [returnDefaultValue]
|
|
25688
25851
|
* @param {*} [options] Override http request option.
|
|
25689
25852
|
* @throws {RequiredError}
|
|
25690
25853
|
*/
|
|
25691
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25854
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25692
25855
|
if (options === void 0) { options = {}; }
|
|
25693
25856
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25694
25857
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25716,6 +25879,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25716
25879
|
if (languageCode !== undefined) {
|
|
25717
25880
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25718
25881
|
}
|
|
25882
|
+
if (returnDefaultValue !== undefined) {
|
|
25883
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25884
|
+
}
|
|
25719
25885
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25720
25886
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25721
25887
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25754,18 +25920,19 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25754
25920
|
* @param {Procedure} [procedure]
|
|
25755
25921
|
* @param {Date} [created]
|
|
25756
25922
|
* @param {string} [languageCode]
|
|
25923
|
+
* @param {boolean} [returnDefaultValue]
|
|
25757
25924
|
* @param {number} [page]
|
|
25758
25925
|
* @param {number} [limit]
|
|
25759
25926
|
* @param {Date} [lastRetrieved]
|
|
25760
25927
|
* @param {*} [options] Override http request option.
|
|
25761
25928
|
* @throws {RequiredError}
|
|
25762
25929
|
*/
|
|
25763
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25930
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25764
25931
|
return __awaiter(this, void 0, void 0, function () {
|
|
25765
25932
|
var localVarAxiosArgs;
|
|
25766
25933
|
return __generator(this, function (_a) {
|
|
25767
25934
|
switch (_a.label) {
|
|
25768
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
25935
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
25769
25936
|
case 1:
|
|
25770
25937
|
localVarAxiosArgs = _a.sent();
|
|
25771
25938
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25778,15 +25945,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25778
25945
|
* @summary Get HospitalService.
|
|
25779
25946
|
* @param {string} serviceId
|
|
25780
25947
|
* @param {string} [languageCode]
|
|
25948
|
+
* @param {boolean} [returnDefaultValue]
|
|
25781
25949
|
* @param {*} [options] Override http request option.
|
|
25782
25950
|
* @throws {RequiredError}
|
|
25783
25951
|
*/
|
|
25784
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25952
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25785
25953
|
return __awaiter(this, void 0, void 0, function () {
|
|
25786
25954
|
var localVarAxiosArgs;
|
|
25787
25955
|
return __generator(this, function (_a) {
|
|
25788
25956
|
switch (_a.label) {
|
|
25789
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options)];
|
|
25957
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options)];
|
|
25790
25958
|
case 1:
|
|
25791
25959
|
localVarAxiosArgs = _a.sent();
|
|
25792
25960
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25799,15 +25967,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25799
25967
|
* @summary Get HospitalService by slug.
|
|
25800
25968
|
* @param {string} slug
|
|
25801
25969
|
* @param {string} [languageCode]
|
|
25970
|
+
* @param {boolean} [returnDefaultValue]
|
|
25802
25971
|
* @param {*} [options] Override http request option.
|
|
25803
25972
|
* @throws {RequiredError}
|
|
25804
25973
|
*/
|
|
25805
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25974
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25806
25975
|
return __awaiter(this, void 0, void 0, function () {
|
|
25807
25976
|
var localVarAxiosArgs;
|
|
25808
25977
|
return __generator(this, function (_a) {
|
|
25809
25978
|
switch (_a.label) {
|
|
25810
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options)];
|
|
25979
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
25811
25980
|
case 1:
|
|
25812
25981
|
localVarAxiosArgs = _a.sent();
|
|
25813
25982
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25842,36 +26011,39 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
25842
26011
|
* @param {Procedure} [procedure]
|
|
25843
26012
|
* @param {Date} [created]
|
|
25844
26013
|
* @param {string} [languageCode]
|
|
26014
|
+
* @param {boolean} [returnDefaultValue]
|
|
25845
26015
|
* @param {number} [page]
|
|
25846
26016
|
* @param {number} [limit]
|
|
25847
26017
|
* @param {Date} [lastRetrieved]
|
|
25848
26018
|
* @param {*} [options] Override http request option.
|
|
25849
26019
|
* @throws {RequiredError}
|
|
25850
26020
|
*/
|
|
25851
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25852
|
-
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26021
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26022
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
25853
26023
|
},
|
|
25854
26024
|
/**
|
|
25855
26025
|
*
|
|
25856
26026
|
* @summary Get HospitalService.
|
|
25857
26027
|
* @param {string} serviceId
|
|
25858
26028
|
* @param {string} [languageCode]
|
|
26029
|
+
* @param {boolean} [returnDefaultValue]
|
|
25859
26030
|
* @param {*} [options] Override http request option.
|
|
25860
26031
|
* @throws {RequiredError}
|
|
25861
26032
|
*/
|
|
25862
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25863
|
-
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26033
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
26034
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25864
26035
|
},
|
|
25865
26036
|
/**
|
|
25866
26037
|
*
|
|
25867
26038
|
* @summary Get HospitalService by slug.
|
|
25868
26039
|
* @param {string} slug
|
|
25869
26040
|
* @param {string} [languageCode]
|
|
26041
|
+
* @param {boolean} [returnDefaultValue]
|
|
25870
26042
|
* @param {*} [options] Override http request option.
|
|
25871
26043
|
* @throws {RequiredError}
|
|
25872
26044
|
*/
|
|
25873
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25874
|
-
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26045
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
26046
|
+
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25875
26047
|
},
|
|
25876
26048
|
};
|
|
25877
26049
|
};
|
|
@@ -25904,6 +26076,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25904
26076
|
* @param {Procedure} [procedure]
|
|
25905
26077
|
* @param {Date} [created]
|
|
25906
26078
|
* @param {string} [languageCode]
|
|
26079
|
+
* @param {boolean} [returnDefaultValue]
|
|
25907
26080
|
* @param {number} [page]
|
|
25908
26081
|
* @param {number} [limit]
|
|
25909
26082
|
* @param {Date} [lastRetrieved]
|
|
@@ -25911,35 +26084,37 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25911
26084
|
* @throws {RequiredError}
|
|
25912
26085
|
* @memberof ServicesApi
|
|
25913
26086
|
*/
|
|
25914
|
-
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
26087
|
+
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25915
26088
|
var _this = this;
|
|
25916
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26089
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25917
26090
|
};
|
|
25918
26091
|
/**
|
|
25919
26092
|
*
|
|
25920
26093
|
* @summary Get HospitalService.
|
|
25921
26094
|
* @param {string} serviceId
|
|
25922
26095
|
* @param {string} [languageCode]
|
|
26096
|
+
* @param {boolean} [returnDefaultValue]
|
|
25923
26097
|
* @param {*} [options] Override http request option.
|
|
25924
26098
|
* @throws {RequiredError}
|
|
25925
26099
|
* @memberof ServicesApi
|
|
25926
26100
|
*/
|
|
25927
|
-
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, options) {
|
|
26101
|
+
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25928
26102
|
var _this = this;
|
|
25929
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26103
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25930
26104
|
};
|
|
25931
26105
|
/**
|
|
25932
26106
|
*
|
|
25933
26107
|
* @summary Get HospitalService by slug.
|
|
25934
26108
|
* @param {string} slug
|
|
25935
26109
|
* @param {string} [languageCode]
|
|
26110
|
+
* @param {boolean} [returnDefaultValue]
|
|
25936
26111
|
* @param {*} [options] Override http request option.
|
|
25937
26112
|
* @throws {RequiredError}
|
|
25938
26113
|
* @memberof ServicesApi
|
|
25939
26114
|
*/
|
|
25940
|
-
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, options) {
|
|
26115
|
+
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
25941
26116
|
var _this = this;
|
|
25942
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26117
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25943
26118
|
};
|
|
25944
26119
|
return ServicesApi;
|
|
25945
26120
|
}(base_1.BaseAPI));
|
|
@@ -26480,13 +26655,14 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26480
26655
|
* @param {Date} [created]
|
|
26481
26656
|
* @param {string} [languageCode]
|
|
26482
26657
|
* @param {Array<string>} [ids]
|
|
26658
|
+
* @param {boolean} [returnDefaultValue]
|
|
26483
26659
|
* @param {number} [page]
|
|
26484
26660
|
* @param {number} [limit]
|
|
26485
26661
|
* @param {Date} [lastRetrieved]
|
|
26486
26662
|
* @param {*} [options] Override http request option.
|
|
26487
26663
|
* @throws {RequiredError}
|
|
26488
26664
|
*/
|
|
26489
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
26665
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26490
26666
|
if (options === void 0) { options = {}; }
|
|
26491
26667
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26492
26668
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26534,6 +26710,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26534
26710
|
if (ids) {
|
|
26535
26711
|
localVarQueryParameter['Ids'] = ids;
|
|
26536
26712
|
}
|
|
26713
|
+
if (returnDefaultValue !== undefined) {
|
|
26714
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26715
|
+
}
|
|
26537
26716
|
if (page !== undefined) {
|
|
26538
26717
|
localVarQueryParameter['page'] = page;
|
|
26539
26718
|
}
|
|
@@ -26603,10 +26782,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26603
26782
|
* @summary Get Specialty by slug.
|
|
26604
26783
|
* @param {string} slug
|
|
26605
26784
|
* @param {string} [languageCode]
|
|
26785
|
+
* @param {boolean} [returnDefaultValue]
|
|
26606
26786
|
* @param {*} [options] Override http request option.
|
|
26607
26787
|
* @throws {RequiredError}
|
|
26608
26788
|
*/
|
|
26609
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
26789
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
26610
26790
|
if (options === void 0) { options = {}; }
|
|
26611
26791
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26612
26792
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26634,6 +26814,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26634
26814
|
if (languageCode !== undefined) {
|
|
26635
26815
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26636
26816
|
}
|
|
26817
|
+
if (returnDefaultValue !== undefined) {
|
|
26818
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26819
|
+
}
|
|
26637
26820
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26638
26821
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26639
26822
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26693,10 +26876,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26693
26876
|
* @summary Get Specialty.
|
|
26694
26877
|
* @param {string} specialtyId
|
|
26695
26878
|
* @param {string} [languageCode]
|
|
26879
|
+
* @param {boolean} [returnDefaultValue]
|
|
26696
26880
|
* @param {*} [options] Override http request option.
|
|
26697
26881
|
* @throws {RequiredError}
|
|
26698
26882
|
*/
|
|
26699
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
26883
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
26700
26884
|
if (options === void 0) { options = {}; }
|
|
26701
26885
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26702
26886
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26724,6 +26908,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26724
26908
|
if (languageCode !== undefined) {
|
|
26725
26909
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26726
26910
|
}
|
|
26911
|
+
if (returnDefaultValue !== undefined) {
|
|
26912
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26913
|
+
}
|
|
26727
26914
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26728
26915
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26729
26916
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27056,18 +27243,19 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27056
27243
|
* @param {Date} [created]
|
|
27057
27244
|
* @param {string} [languageCode]
|
|
27058
27245
|
* @param {Array<string>} [ids]
|
|
27246
|
+
* @param {boolean} [returnDefaultValue]
|
|
27059
27247
|
* @param {number} [page]
|
|
27060
27248
|
* @param {number} [limit]
|
|
27061
27249
|
* @param {Date} [lastRetrieved]
|
|
27062
27250
|
* @param {*} [options] Override http request option.
|
|
27063
27251
|
* @throws {RequiredError}
|
|
27064
27252
|
*/
|
|
27065
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27253
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27066
27254
|
return __awaiter(this, void 0, void 0, function () {
|
|
27067
27255
|
var localVarAxiosArgs;
|
|
27068
27256
|
return __generator(this, function (_a) {
|
|
27069
27257
|
switch (_a.label) {
|
|
27070
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
27258
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
27071
27259
|
case 1:
|
|
27072
27260
|
localVarAxiosArgs = _a.sent();
|
|
27073
27261
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27100,15 +27288,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27100
27288
|
* @summary Get Specialty by slug.
|
|
27101
27289
|
* @param {string} slug
|
|
27102
27290
|
* @param {string} [languageCode]
|
|
27291
|
+
* @param {boolean} [returnDefaultValue]
|
|
27103
27292
|
* @param {*} [options] Override http request option.
|
|
27104
27293
|
* @throws {RequiredError}
|
|
27105
27294
|
*/
|
|
27106
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27295
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27107
27296
|
return __awaiter(this, void 0, void 0, function () {
|
|
27108
27297
|
var localVarAxiosArgs;
|
|
27109
27298
|
return __generator(this, function (_a) {
|
|
27110
27299
|
switch (_a.label) {
|
|
27111
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options)];
|
|
27300
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
27112
27301
|
case 1:
|
|
27113
27302
|
localVarAxiosArgs = _a.sent();
|
|
27114
27303
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27141,15 +27330,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27141
27330
|
* @summary Get Specialty.
|
|
27142
27331
|
* @param {string} specialtyId
|
|
27143
27332
|
* @param {string} [languageCode]
|
|
27333
|
+
* @param {boolean} [returnDefaultValue]
|
|
27144
27334
|
* @param {*} [options] Override http request option.
|
|
27145
27335
|
* @throws {RequiredError}
|
|
27146
27336
|
*/
|
|
27147
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27337
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27148
27338
|
return __awaiter(this, void 0, void 0, function () {
|
|
27149
27339
|
var localVarAxiosArgs;
|
|
27150
27340
|
return __generator(this, function (_a) {
|
|
27151
27341
|
switch (_a.label) {
|
|
27152
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options)];
|
|
27342
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options)];
|
|
27153
27343
|
case 1:
|
|
27154
27344
|
localVarAxiosArgs = _a.sent();
|
|
27155
27345
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27308,14 +27498,15 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27308
27498
|
* @param {Date} [created]
|
|
27309
27499
|
* @param {string} [languageCode]
|
|
27310
27500
|
* @param {Array<string>} [ids]
|
|
27501
|
+
* @param {boolean} [returnDefaultValue]
|
|
27311
27502
|
* @param {number} [page]
|
|
27312
27503
|
* @param {number} [limit]
|
|
27313
27504
|
* @param {Date} [lastRetrieved]
|
|
27314
27505
|
* @param {*} [options] Override http request option.
|
|
27315
27506
|
* @throws {RequiredError}
|
|
27316
27507
|
*/
|
|
27317
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27318
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27508
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27509
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27319
27510
|
},
|
|
27320
27511
|
/**
|
|
27321
27512
|
*
|
|
@@ -27332,11 +27523,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27332
27523
|
* @summary Get Specialty by slug.
|
|
27333
27524
|
* @param {string} slug
|
|
27334
27525
|
* @param {string} [languageCode]
|
|
27526
|
+
* @param {boolean} [returnDefaultValue]
|
|
27335
27527
|
* @param {*} [options] Override http request option.
|
|
27336
27528
|
* @throws {RequiredError}
|
|
27337
27529
|
*/
|
|
27338
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27339
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27530
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27531
|
+
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27340
27532
|
},
|
|
27341
27533
|
/**
|
|
27342
27534
|
*
|
|
@@ -27353,11 +27545,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27353
27545
|
* @summary Get Specialty.
|
|
27354
27546
|
* @param {string} specialtyId
|
|
27355
27547
|
* @param {string} [languageCode]
|
|
27548
|
+
* @param {boolean} [returnDefaultValue]
|
|
27356
27549
|
* @param {*} [options] Override http request option.
|
|
27357
27550
|
* @throws {RequiredError}
|
|
27358
27551
|
*/
|
|
27359
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27360
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27552
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27553
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27361
27554
|
},
|
|
27362
27555
|
/**
|
|
27363
27556
|
*
|
|
@@ -27454,6 +27647,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27454
27647
|
* @param {Date} [created]
|
|
27455
27648
|
* @param {string} [languageCode]
|
|
27456
27649
|
* @param {Array<string>} [ids]
|
|
27650
|
+
* @param {boolean} [returnDefaultValue]
|
|
27457
27651
|
* @param {number} [page]
|
|
27458
27652
|
* @param {number} [limit]
|
|
27459
27653
|
* @param {Date} [lastRetrieved]
|
|
@@ -27461,9 +27655,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27461
27655
|
* @throws {RequiredError}
|
|
27462
27656
|
* @memberof SpecialtiesApi
|
|
27463
27657
|
*/
|
|
27464
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27658
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27465
27659
|
var _this = this;
|
|
27466
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27660
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27467
27661
|
};
|
|
27468
27662
|
/**
|
|
27469
27663
|
*
|
|
@@ -27482,13 +27676,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27482
27676
|
* @summary Get Specialty by slug.
|
|
27483
27677
|
* @param {string} slug
|
|
27484
27678
|
* @param {string} [languageCode]
|
|
27679
|
+
* @param {boolean} [returnDefaultValue]
|
|
27485
27680
|
* @param {*} [options] Override http request option.
|
|
27486
27681
|
* @throws {RequiredError}
|
|
27487
27682
|
* @memberof SpecialtiesApi
|
|
27488
27683
|
*/
|
|
27489
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, options) {
|
|
27684
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
27490
27685
|
var _this = this;
|
|
27491
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27686
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27492
27687
|
};
|
|
27493
27688
|
/**
|
|
27494
27689
|
*
|
|
@@ -27507,13 +27702,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27507
27702
|
* @summary Get Specialty.
|
|
27508
27703
|
* @param {string} specialtyId
|
|
27509
27704
|
* @param {string} [languageCode]
|
|
27705
|
+
* @param {boolean} [returnDefaultValue]
|
|
27510
27706
|
* @param {*} [options] Override http request option.
|
|
27511
27707
|
* @throws {RequiredError}
|
|
27512
27708
|
* @memberof SpecialtiesApi
|
|
27513
27709
|
*/
|
|
27514
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, options) {
|
|
27710
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27515
27711
|
var _this = this;
|
|
27516
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27712
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27517
27713
|
};
|
|
27518
27714
|
/**
|
|
27519
27715
|
*
|
|
@@ -27620,13 +27816,14 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27620
27816
|
* @param {string} [languageCode]
|
|
27621
27817
|
* @param {Array<string>} [ids]
|
|
27622
27818
|
* @param {string} [specialtyTypeCategoryId]
|
|
27819
|
+
* @param {boolean} [returnDefaultValue]
|
|
27623
27820
|
* @param {number} [page]
|
|
27624
27821
|
* @param {number} [limit]
|
|
27625
27822
|
* @param {Date} [lastRetrieved]
|
|
27626
27823
|
* @param {*} [options] Override http request option.
|
|
27627
27824
|
* @throws {RequiredError}
|
|
27628
27825
|
*/
|
|
27629
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
27826
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27630
27827
|
if (options === void 0) { options = {}; }
|
|
27631
27828
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27632
27829
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27677,6 +27874,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27677
27874
|
if (specialtyTypeCategoryId !== undefined) {
|
|
27678
27875
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
27679
27876
|
}
|
|
27877
|
+
if (returnDefaultValue !== undefined) {
|
|
27878
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27879
|
+
}
|
|
27680
27880
|
if (page !== undefined) {
|
|
27681
27881
|
localVarQueryParameter['page'] = page;
|
|
27682
27882
|
}
|
|
@@ -27741,15 +27941,111 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27741
27941
|
});
|
|
27742
27942
|
});
|
|
27743
27943
|
},
|
|
27944
|
+
/**
|
|
27945
|
+
*
|
|
27946
|
+
* @summary Get all Hospitals.
|
|
27947
|
+
* @param {string} [id]
|
|
27948
|
+
* @param {string} [name]
|
|
27949
|
+
* @param {string} [description]
|
|
27950
|
+
* @param {MarketingType} [marketingType]
|
|
27951
|
+
* @param {string} [hospitalId]
|
|
27952
|
+
* @param {Date} [created]
|
|
27953
|
+
* @param {string} [languageCode]
|
|
27954
|
+
* @param {Array<string>} [ids]
|
|
27955
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
27956
|
+
* @param {boolean} [returnDefaultValue]
|
|
27957
|
+
* @param {number} [page]
|
|
27958
|
+
* @param {number} [limit]
|
|
27959
|
+
* @param {Date} [lastRetrieved]
|
|
27960
|
+
* @param {*} [options] Override http request option.
|
|
27961
|
+
* @throws {RequiredError}
|
|
27962
|
+
*/
|
|
27963
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27964
|
+
if (options === void 0) { options = {}; }
|
|
27965
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27966
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27967
|
+
return __generator(this, function (_a) {
|
|
27968
|
+
switch (_a.label) {
|
|
27969
|
+
case 0:
|
|
27970
|
+
localVarPath = "/api/v1/specialtytypes/simple";
|
|
27971
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27972
|
+
if (configuration) {
|
|
27973
|
+
baseOptions = configuration.baseOptions;
|
|
27974
|
+
}
|
|
27975
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27976
|
+
localVarHeaderParameter = {};
|
|
27977
|
+
localVarQueryParameter = {};
|
|
27978
|
+
// authentication oauth2 required
|
|
27979
|
+
// oauth required
|
|
27980
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27981
|
+
case 1:
|
|
27982
|
+
// authentication oauth2 required
|
|
27983
|
+
// oauth required
|
|
27984
|
+
_a.sent();
|
|
27985
|
+
if (id !== undefined) {
|
|
27986
|
+
localVarQueryParameter['Id'] = id;
|
|
27987
|
+
}
|
|
27988
|
+
if (name !== undefined) {
|
|
27989
|
+
localVarQueryParameter['Name'] = name;
|
|
27990
|
+
}
|
|
27991
|
+
if (description !== undefined) {
|
|
27992
|
+
localVarQueryParameter['Description'] = description;
|
|
27993
|
+
}
|
|
27994
|
+
if (marketingType !== undefined) {
|
|
27995
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
27996
|
+
}
|
|
27997
|
+
if (hospitalId !== undefined) {
|
|
27998
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27999
|
+
}
|
|
28000
|
+
if (created !== undefined) {
|
|
28001
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
28002
|
+
created.toISOString() :
|
|
28003
|
+
created;
|
|
28004
|
+
}
|
|
28005
|
+
if (languageCode !== undefined) {
|
|
28006
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
28007
|
+
}
|
|
28008
|
+
if (ids) {
|
|
28009
|
+
localVarQueryParameter['Ids'] = ids;
|
|
28010
|
+
}
|
|
28011
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
28012
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
28013
|
+
}
|
|
28014
|
+
if (returnDefaultValue !== undefined) {
|
|
28015
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
28016
|
+
}
|
|
28017
|
+
if (page !== undefined) {
|
|
28018
|
+
localVarQueryParameter['page'] = page;
|
|
28019
|
+
}
|
|
28020
|
+
if (limit !== undefined) {
|
|
28021
|
+
localVarQueryParameter['limit'] = limit;
|
|
28022
|
+
}
|
|
28023
|
+
if (lastRetrieved !== undefined) {
|
|
28024
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
28025
|
+
lastRetrieved.toISOString() :
|
|
28026
|
+
lastRetrieved;
|
|
28027
|
+
}
|
|
28028
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28029
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28030
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28031
|
+
return [2 /*return*/, {
|
|
28032
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
28033
|
+
options: localVarRequestOptions,
|
|
28034
|
+
}];
|
|
28035
|
+
}
|
|
28036
|
+
});
|
|
28037
|
+
});
|
|
28038
|
+
},
|
|
27744
28039
|
/**
|
|
27745
28040
|
*
|
|
27746
28041
|
* @summary Get Department by slug.
|
|
27747
28042
|
* @param {string} slug
|
|
27748
28043
|
* @param {string} [languageCode]
|
|
28044
|
+
* @param {boolean} [returnDefaultValue]
|
|
27749
28045
|
* @param {*} [options] Override http request option.
|
|
27750
28046
|
* @throws {RequiredError}
|
|
27751
28047
|
*/
|
|
27752
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28048
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27753
28049
|
if (options === void 0) { options = {}; }
|
|
27754
28050
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27755
28051
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27777,6 +28073,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27777
28073
|
if (languageCode !== undefined) {
|
|
27778
28074
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27779
28075
|
}
|
|
28076
|
+
if (returnDefaultValue !== undefined) {
|
|
28077
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28078
|
+
}
|
|
27780
28079
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27781
28080
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27782
28081
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27836,10 +28135,11 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27836
28135
|
* @summary Get Department.
|
|
27837
28136
|
* @param {string} specialtyTypeId
|
|
27838
28137
|
* @param {string} [languageCode]
|
|
28138
|
+
* @param {boolean} [returnDefaultValue]
|
|
27839
28139
|
* @param {*} [options] Override http request option.
|
|
27840
28140
|
* @throws {RequiredError}
|
|
27841
28141
|
*/
|
|
27842
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28142
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
27843
28143
|
if (options === void 0) { options = {}; }
|
|
27844
28144
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27845
28145
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27867,6 +28167,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27867
28167
|
if (languageCode !== undefined) {
|
|
27868
28168
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27869
28169
|
}
|
|
28170
|
+
if (returnDefaultValue !== undefined) {
|
|
28171
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28172
|
+
}
|
|
27870
28173
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27871
28174
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27872
28175
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -28200,18 +28503,19 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28200
28503
|
* @param {string} [languageCode]
|
|
28201
28504
|
* @param {Array<string>} [ids]
|
|
28202
28505
|
* @param {string} [specialtyTypeCategoryId]
|
|
28506
|
+
* @param {boolean} [returnDefaultValue]
|
|
28203
28507
|
* @param {number} [page]
|
|
28204
28508
|
* @param {number} [limit]
|
|
28205
28509
|
* @param {Date} [lastRetrieved]
|
|
28206
28510
|
* @param {*} [options] Override http request option.
|
|
28207
28511
|
* @throws {RequiredError}
|
|
28208
28512
|
*/
|
|
28209
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28513
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28210
28514
|
return __awaiter(this, void 0, void 0, function () {
|
|
28211
28515
|
var localVarAxiosArgs;
|
|
28212
28516
|
return __generator(this, function (_a) {
|
|
28213
28517
|
switch (_a.label) {
|
|
28214
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options)];
|
|
28518
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28215
28519
|
case 1:
|
|
28216
28520
|
localVarAxiosArgs = _a.sent();
|
|
28217
28521
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28239,20 +28543,53 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28239
28543
|
});
|
|
28240
28544
|
});
|
|
28241
28545
|
},
|
|
28546
|
+
/**
|
|
28547
|
+
*
|
|
28548
|
+
* @summary Get all Hospitals.
|
|
28549
|
+
* @param {string} [id]
|
|
28550
|
+
* @param {string} [name]
|
|
28551
|
+
* @param {string} [description]
|
|
28552
|
+
* @param {MarketingType} [marketingType]
|
|
28553
|
+
* @param {string} [hospitalId]
|
|
28554
|
+
* @param {Date} [created]
|
|
28555
|
+
* @param {string} [languageCode]
|
|
28556
|
+
* @param {Array<string>} [ids]
|
|
28557
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28558
|
+
* @param {boolean} [returnDefaultValue]
|
|
28559
|
+
* @param {number} [page]
|
|
28560
|
+
* @param {number} [limit]
|
|
28561
|
+
* @param {Date} [lastRetrieved]
|
|
28562
|
+
* @param {*} [options] Override http request option.
|
|
28563
|
+
* @throws {RequiredError}
|
|
28564
|
+
*/
|
|
28565
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28566
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
28567
|
+
var localVarAxiosArgs;
|
|
28568
|
+
return __generator(this, function (_a) {
|
|
28569
|
+
switch (_a.label) {
|
|
28570
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28571
|
+
case 1:
|
|
28572
|
+
localVarAxiosArgs = _a.sent();
|
|
28573
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
28574
|
+
}
|
|
28575
|
+
});
|
|
28576
|
+
});
|
|
28577
|
+
},
|
|
28242
28578
|
/**
|
|
28243
28579
|
*
|
|
28244
28580
|
* @summary Get Department by slug.
|
|
28245
28581
|
* @param {string} slug
|
|
28246
28582
|
* @param {string} [languageCode]
|
|
28583
|
+
* @param {boolean} [returnDefaultValue]
|
|
28247
28584
|
* @param {*} [options] Override http request option.
|
|
28248
28585
|
* @throws {RequiredError}
|
|
28249
28586
|
*/
|
|
28250
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28587
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28251
28588
|
return __awaiter(this, void 0, void 0, function () {
|
|
28252
28589
|
var localVarAxiosArgs;
|
|
28253
28590
|
return __generator(this, function (_a) {
|
|
28254
28591
|
switch (_a.label) {
|
|
28255
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options)];
|
|
28592
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
28256
28593
|
case 1:
|
|
28257
28594
|
localVarAxiosArgs = _a.sent();
|
|
28258
28595
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28285,15 +28622,16 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28285
28622
|
* @summary Get Department.
|
|
28286
28623
|
* @param {string} specialtyTypeId
|
|
28287
28624
|
* @param {string} [languageCode]
|
|
28625
|
+
* @param {boolean} [returnDefaultValue]
|
|
28288
28626
|
* @param {*} [options] Override http request option.
|
|
28289
28627
|
* @throws {RequiredError}
|
|
28290
28628
|
*/
|
|
28291
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28629
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28292
28630
|
return __awaiter(this, void 0, void 0, function () {
|
|
28293
28631
|
var localVarAxiosArgs;
|
|
28294
28632
|
return __generator(this, function (_a) {
|
|
28295
28633
|
switch (_a.label) {
|
|
28296
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options)];
|
|
28634
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options)];
|
|
28297
28635
|
case 1:
|
|
28298
28636
|
localVarAxiosArgs = _a.sent();
|
|
28299
28637
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28453,14 +28791,15 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28453
28791
|
* @param {string} [languageCode]
|
|
28454
28792
|
* @param {Array<string>} [ids]
|
|
28455
28793
|
* @param {string} [specialtyTypeCategoryId]
|
|
28794
|
+
* @param {boolean} [returnDefaultValue]
|
|
28456
28795
|
* @param {number} [page]
|
|
28457
28796
|
* @param {number} [limit]
|
|
28458
28797
|
* @param {Date} [lastRetrieved]
|
|
28459
28798
|
* @param {*} [options] Override http request option.
|
|
28460
28799
|
* @throws {RequiredError}
|
|
28461
28800
|
*/
|
|
28462
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28463
|
-
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28801
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28802
|
+
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28464
28803
|
},
|
|
28465
28804
|
/**
|
|
28466
28805
|
*
|
|
@@ -28472,16 +28811,39 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28472
28811
|
apiV1SpecialtytypesPost: function (createSpecialtyTypeCommand, options) {
|
|
28473
28812
|
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
28474
28813
|
},
|
|
28814
|
+
/**
|
|
28815
|
+
*
|
|
28816
|
+
* @summary Get all Hospitals.
|
|
28817
|
+
* @param {string} [id]
|
|
28818
|
+
* @param {string} [name]
|
|
28819
|
+
* @param {string} [description]
|
|
28820
|
+
* @param {MarketingType} [marketingType]
|
|
28821
|
+
* @param {string} [hospitalId]
|
|
28822
|
+
* @param {Date} [created]
|
|
28823
|
+
* @param {string} [languageCode]
|
|
28824
|
+
* @param {Array<string>} [ids]
|
|
28825
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28826
|
+
* @param {boolean} [returnDefaultValue]
|
|
28827
|
+
* @param {number} [page]
|
|
28828
|
+
* @param {number} [limit]
|
|
28829
|
+
* @param {Date} [lastRetrieved]
|
|
28830
|
+
* @param {*} [options] Override http request option.
|
|
28831
|
+
* @throws {RequiredError}
|
|
28832
|
+
*/
|
|
28833
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28834
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28835
|
+
},
|
|
28475
28836
|
/**
|
|
28476
28837
|
*
|
|
28477
28838
|
* @summary Get Department by slug.
|
|
28478
28839
|
* @param {string} slug
|
|
28479
28840
|
* @param {string} [languageCode]
|
|
28841
|
+
* @param {boolean} [returnDefaultValue]
|
|
28480
28842
|
* @param {*} [options] Override http request option.
|
|
28481
28843
|
* @throws {RequiredError}
|
|
28482
28844
|
*/
|
|
28483
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28484
|
-
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28845
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28846
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28485
28847
|
},
|
|
28486
28848
|
/**
|
|
28487
28849
|
*
|
|
@@ -28498,11 +28860,12 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28498
28860
|
* @summary Get Department.
|
|
28499
28861
|
* @param {string} specialtyTypeId
|
|
28500
28862
|
* @param {string} [languageCode]
|
|
28863
|
+
* @param {boolean} [returnDefaultValue]
|
|
28501
28864
|
* @param {*} [options] Override http request option.
|
|
28502
28865
|
* @throws {RequiredError}
|
|
28503
28866
|
*/
|
|
28504
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28505
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28867
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28868
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28506
28869
|
},
|
|
28507
28870
|
/**
|
|
28508
28871
|
*
|
|
@@ -28600,6 +28963,7 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28600
28963
|
* @param {string} [languageCode]
|
|
28601
28964
|
* @param {Array<string>} [ids]
|
|
28602
28965
|
* @param {string} [specialtyTypeCategoryId]
|
|
28966
|
+
* @param {boolean} [returnDefaultValue]
|
|
28603
28967
|
* @param {number} [page]
|
|
28604
28968
|
* @param {number} [limit]
|
|
28605
28969
|
* @param {Date} [lastRetrieved]
|
|
@@ -28607,9 +28971,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28607
28971
|
* @throws {RequiredError}
|
|
28608
28972
|
* @memberof SpecialtyTypesApi
|
|
28609
28973
|
*/
|
|
28610
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28974
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28611
28975
|
var _this = this;
|
|
28612
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28976
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28613
28977
|
};
|
|
28614
28978
|
/**
|
|
28615
28979
|
*
|
|
@@ -28623,18 +28987,43 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28623
28987
|
var _this = this;
|
|
28624
28988
|
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28625
28989
|
};
|
|
28990
|
+
/**
|
|
28991
|
+
*
|
|
28992
|
+
* @summary Get all Hospitals.
|
|
28993
|
+
* @param {string} [id]
|
|
28994
|
+
* @param {string} [name]
|
|
28995
|
+
* @param {string} [description]
|
|
28996
|
+
* @param {MarketingType} [marketingType]
|
|
28997
|
+
* @param {string} [hospitalId]
|
|
28998
|
+
* @param {Date} [created]
|
|
28999
|
+
* @param {string} [languageCode]
|
|
29000
|
+
* @param {Array<string>} [ids]
|
|
29001
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
29002
|
+
* @param {boolean} [returnDefaultValue]
|
|
29003
|
+
* @param {number} [page]
|
|
29004
|
+
* @param {number} [limit]
|
|
29005
|
+
* @param {Date} [lastRetrieved]
|
|
29006
|
+
* @param {*} [options] Override http request option.
|
|
29007
|
+
* @throws {RequiredError}
|
|
29008
|
+
* @memberof SpecialtyTypesApi
|
|
29009
|
+
*/
|
|
29010
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
29011
|
+
var _this = this;
|
|
29012
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29013
|
+
};
|
|
28626
29014
|
/**
|
|
28627
29015
|
*
|
|
28628
29016
|
* @summary Get Department by slug.
|
|
28629
29017
|
* @param {string} slug
|
|
28630
29018
|
* @param {string} [languageCode]
|
|
29019
|
+
* @param {boolean} [returnDefaultValue]
|
|
28631
29020
|
* @param {*} [options] Override http request option.
|
|
28632
29021
|
* @throws {RequiredError}
|
|
28633
29022
|
* @memberof SpecialtyTypesApi
|
|
28634
29023
|
*/
|
|
28635
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, options) {
|
|
29024
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
28636
29025
|
var _this = this;
|
|
28637
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29026
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28638
29027
|
};
|
|
28639
29028
|
/**
|
|
28640
29029
|
*
|
|
@@ -28653,13 +29042,14 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28653
29042
|
* @summary Get Department.
|
|
28654
29043
|
* @param {string} specialtyTypeId
|
|
28655
29044
|
* @param {string} [languageCode]
|
|
29045
|
+
* @param {boolean} [returnDefaultValue]
|
|
28656
29046
|
* @param {*} [options] Override http request option.
|
|
28657
29047
|
* @throws {RequiredError}
|
|
28658
29048
|
* @memberof SpecialtyTypesApi
|
|
28659
29049
|
*/
|
|
28660
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, options) {
|
|
29050
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28661
29051
|
var _this = this;
|
|
28662
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29052
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28663
29053
|
};
|
|
28664
29054
|
/**
|
|
28665
29055
|
*
|