ch-admin-api-client-typescript 2.5.7 → 2.5.8
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 +317 -96
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +509 -168
- package/package.json +1 -1
- package/src/api.ts +576 -168
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));
|
|
@@ -11348,10 +11390,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11348
11390
|
* @summary Get Doctor.
|
|
11349
11391
|
* @param {string} doctorId
|
|
11350
11392
|
* @param {string} [languageCode]
|
|
11393
|
+
* @param {boolean} [returnDefaultValue]
|
|
11351
11394
|
* @param {*} [options] Override http request option.
|
|
11352
11395
|
* @throws {RequiredError}
|
|
11353
11396
|
*/
|
|
11354
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
11397
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
11355
11398
|
if (options === void 0) { options = {}; }
|
|
11356
11399
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11357
11400
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11379,6 +11422,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11379
11422
|
if (languageCode !== undefined) {
|
|
11380
11423
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
11381
11424
|
}
|
|
11425
|
+
if (returnDefaultValue !== undefined) {
|
|
11426
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
11427
|
+
}
|
|
11382
11428
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11383
11429
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11384
11430
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12214,6 +12260,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12214
12260
|
* @summary Get all Doctors.
|
|
12215
12261
|
* @param {string} [hospitalId]
|
|
12216
12262
|
* @param {string} [languageCode]
|
|
12263
|
+
* @param {boolean} [returnDefaultValue]
|
|
12217
12264
|
* @param {string} [id]
|
|
12218
12265
|
* @param {string} [fullname]
|
|
12219
12266
|
* @param {string} [email]
|
|
@@ -12227,7 +12274,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12227
12274
|
* @param {*} [options] Override http request option.
|
|
12228
12275
|
* @throws {RequiredError}
|
|
12229
12276
|
*/
|
|
12230
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12277
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12231
12278
|
if (options === void 0) { options = {}; }
|
|
12232
12279
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12233
12280
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12255,6 +12302,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12255
12302
|
if (languageCode !== undefined) {
|
|
12256
12303
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12257
12304
|
}
|
|
12305
|
+
if (returnDefaultValue !== undefined) {
|
|
12306
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12307
|
+
}
|
|
12258
12308
|
if (id !== undefined) {
|
|
12259
12309
|
localVarQueryParameter['Id'] = id;
|
|
12260
12310
|
}
|
|
@@ -12349,10 +12399,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12349
12399
|
* @summary Get Doctor by slug.
|
|
12350
12400
|
* @param {string} slug
|
|
12351
12401
|
* @param {string} [languageCode]
|
|
12402
|
+
* @param {boolean} [returnDefaultValue]
|
|
12352
12403
|
* @param {*} [options] Override http request option.
|
|
12353
12404
|
* @throws {RequiredError}
|
|
12354
12405
|
*/
|
|
12355
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
12406
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
12356
12407
|
if (options === void 0) { options = {}; }
|
|
12357
12408
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12358
12409
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12380,6 +12431,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12380
12431
|
if (languageCode !== undefined) {
|
|
12381
12432
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
12382
12433
|
}
|
|
12434
|
+
if (returnDefaultValue !== undefined) {
|
|
12435
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12436
|
+
}
|
|
12383
12437
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12384
12438
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12385
12439
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12737,15 +12791,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
12737
12791
|
* @summary Get Doctor.
|
|
12738
12792
|
* @param {string} doctorId
|
|
12739
12793
|
* @param {string} [languageCode]
|
|
12794
|
+
* @param {boolean} [returnDefaultValue]
|
|
12740
12795
|
* @param {*} [options] Override http request option.
|
|
12741
12796
|
* @throws {RequiredError}
|
|
12742
12797
|
*/
|
|
12743
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
12798
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
12744
12799
|
return __awaiter(this, void 0, void 0, function () {
|
|
12745
12800
|
var localVarAxiosArgs;
|
|
12746
12801
|
return __generator(this, function (_a) {
|
|
12747
12802
|
switch (_a.label) {
|
|
12748
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options)];
|
|
12803
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options)];
|
|
12749
12804
|
case 1:
|
|
12750
12805
|
localVarAxiosArgs = _a.sent();
|
|
12751
12806
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13111,6 +13166,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13111
13166
|
* @summary Get all Doctors.
|
|
13112
13167
|
* @param {string} [hospitalId]
|
|
13113
13168
|
* @param {string} [languageCode]
|
|
13169
|
+
* @param {boolean} [returnDefaultValue]
|
|
13114
13170
|
* @param {string} [id]
|
|
13115
13171
|
* @param {string} [fullname]
|
|
13116
13172
|
* @param {string} [email]
|
|
@@ -13124,12 +13180,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13124
13180
|
* @param {*} [options] Override http request option.
|
|
13125
13181
|
* @throws {RequiredError}
|
|
13126
13182
|
*/
|
|
13127
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13183
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13128
13184
|
return __awaiter(this, void 0, void 0, function () {
|
|
13129
13185
|
var localVarAxiosArgs;
|
|
13130
13186
|
return __generator(this, function (_a) {
|
|
13131
13187
|
switch (_a.label) {
|
|
13132
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13188
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13133
13189
|
case 1:
|
|
13134
13190
|
localVarAxiosArgs = _a.sent();
|
|
13135
13191
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13162,15 +13218,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13162
13218
|
* @summary Get Doctor by slug.
|
|
13163
13219
|
* @param {string} slug
|
|
13164
13220
|
* @param {string} [languageCode]
|
|
13221
|
+
* @param {boolean} [returnDefaultValue]
|
|
13165
13222
|
* @param {*} [options] Override http request option.
|
|
13166
13223
|
* @throws {RequiredError}
|
|
13167
13224
|
*/
|
|
13168
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13225
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13169
13226
|
return __awaiter(this, void 0, void 0, function () {
|
|
13170
13227
|
var localVarAxiosArgs;
|
|
13171
13228
|
return __generator(this, function (_a) {
|
|
13172
13229
|
switch (_a.label) {
|
|
13173
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options)];
|
|
13230
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
13174
13231
|
case 1:
|
|
13175
13232
|
localVarAxiosArgs = _a.sent();
|
|
13176
13233
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13374,11 +13431,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13374
13431
|
* @summary Get Doctor.
|
|
13375
13432
|
* @param {string} doctorId
|
|
13376
13433
|
* @param {string} [languageCode]
|
|
13434
|
+
* @param {boolean} [returnDefaultValue]
|
|
13377
13435
|
* @param {*} [options] Override http request option.
|
|
13378
13436
|
* @throws {RequiredError}
|
|
13379
13437
|
*/
|
|
13380
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
13381
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13438
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13439
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13382
13440
|
},
|
|
13383
13441
|
/**
|
|
13384
13442
|
*
|
|
@@ -13578,6 +13636,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13578
13636
|
* @summary Get all Doctors.
|
|
13579
13637
|
* @param {string} [hospitalId]
|
|
13580
13638
|
* @param {string} [languageCode]
|
|
13639
|
+
* @param {boolean} [returnDefaultValue]
|
|
13581
13640
|
* @param {string} [id]
|
|
13582
13641
|
* @param {string} [fullname]
|
|
13583
13642
|
* @param {string} [email]
|
|
@@ -13591,8 +13650,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13591
13650
|
* @param {*} [options] Override http request option.
|
|
13592
13651
|
* @throws {RequiredError}
|
|
13593
13652
|
*/
|
|
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); });
|
|
13653
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13654
|
+
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
13655
|
},
|
|
13597
13656
|
/**
|
|
13598
13657
|
*
|
|
@@ -13609,11 +13668,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13609
13668
|
* @summary Get Doctor by slug.
|
|
13610
13669
|
* @param {string} slug
|
|
13611
13670
|
* @param {string} [languageCode]
|
|
13671
|
+
* @param {boolean} [returnDefaultValue]
|
|
13612
13672
|
* @param {*} [options] Override http request option.
|
|
13613
13673
|
* @throws {RequiredError}
|
|
13614
13674
|
*/
|
|
13615
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13616
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13675
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13676
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13617
13677
|
},
|
|
13618
13678
|
};
|
|
13619
13679
|
};
|
|
@@ -13845,13 +13905,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
13845
13905
|
* @summary Get Doctor.
|
|
13846
13906
|
* @param {string} doctorId
|
|
13847
13907
|
* @param {string} [languageCode]
|
|
13908
|
+
* @param {boolean} [returnDefaultValue]
|
|
13848
13909
|
* @param {*} [options] Override http request option.
|
|
13849
13910
|
* @throws {RequiredError}
|
|
13850
13911
|
* @memberof DoctorsApi
|
|
13851
13912
|
*/
|
|
13852
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, options) {
|
|
13913
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13853
13914
|
var _this = this;
|
|
13854
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13915
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13855
13916
|
};
|
|
13856
13917
|
/**
|
|
13857
13918
|
*
|
|
@@ -14083,6 +14144,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14083
14144
|
* @summary Get all Doctors.
|
|
14084
14145
|
* @param {string} [hospitalId]
|
|
14085
14146
|
* @param {string} [languageCode]
|
|
14147
|
+
* @param {boolean} [returnDefaultValue]
|
|
14086
14148
|
* @param {string} [id]
|
|
14087
14149
|
* @param {string} [fullname]
|
|
14088
14150
|
* @param {string} [email]
|
|
@@ -14097,9 +14159,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14097
14159
|
* @throws {RequiredError}
|
|
14098
14160
|
* @memberof DoctorsApi
|
|
14099
14161
|
*/
|
|
14100
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14162
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14101
14163
|
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); });
|
|
14164
|
+
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
14165
|
};
|
|
14104
14166
|
/**
|
|
14105
14167
|
*
|
|
@@ -14118,13 +14180,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14118
14180
|
* @summary Get Doctor by slug.
|
|
14119
14181
|
* @param {string} slug
|
|
14120
14182
|
* @param {string} [languageCode]
|
|
14183
|
+
* @param {boolean} [returnDefaultValue]
|
|
14121
14184
|
* @param {*} [options] Override http request option.
|
|
14122
14185
|
* @throws {RequiredError}
|
|
14123
14186
|
* @memberof DoctorsApi
|
|
14124
14187
|
*/
|
|
14125
|
-
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, options) {
|
|
14188
|
+
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
14126
14189
|
var _this = this;
|
|
14127
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14190
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14128
14191
|
};
|
|
14129
14192
|
return DoctorsApi;
|
|
14130
14193
|
}(base_1.BaseAPI));
|
|
@@ -16587,13 +16650,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16587
16650
|
* @param {boolean} [showHidden]
|
|
16588
16651
|
* @param {string} [languageCode]
|
|
16589
16652
|
* @param {Array<string>} [ids]
|
|
16653
|
+
* @param {boolean} [returnDefaultValue]
|
|
16590
16654
|
* @param {number} [page]
|
|
16591
16655
|
* @param {number} [limit]
|
|
16592
16656
|
* @param {Date} [lastRetrieved]
|
|
16593
16657
|
* @param {*} [options] Override http request option.
|
|
16594
16658
|
* @throws {RequiredError}
|
|
16595
16659
|
*/
|
|
16596
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
16660
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16597
16661
|
if (options === void 0) { options = {}; }
|
|
16598
16662
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16599
16663
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16656,6 +16720,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16656
16720
|
if (ids) {
|
|
16657
16721
|
localVarQueryParameter['Ids'] = ids;
|
|
16658
16722
|
}
|
|
16723
|
+
if (returnDefaultValue !== undefined) {
|
|
16724
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16725
|
+
}
|
|
16659
16726
|
if (page !== undefined) {
|
|
16660
16727
|
localVarQueryParameter['page'] = page;
|
|
16661
16728
|
}
|
|
@@ -17692,10 +17759,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17692
17759
|
* @summary Get Hospital.
|
|
17693
17760
|
* @param {string} hospitalId
|
|
17694
17761
|
* @param {string} [languageCode]
|
|
17762
|
+
* @param {boolean} [returnDefaultValue]
|
|
17695
17763
|
* @param {*} [options] Override http request option.
|
|
17696
17764
|
* @throws {RequiredError}
|
|
17697
17765
|
*/
|
|
17698
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
17766
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
17699
17767
|
if (options === void 0) { options = {}; }
|
|
17700
17768
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17701
17769
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17723,6 +17791,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17723
17791
|
if (languageCode !== undefined) {
|
|
17724
17792
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17725
17793
|
}
|
|
17794
|
+
if (returnDefaultValue !== undefined) {
|
|
17795
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17796
|
+
}
|
|
17726
17797
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17727
17798
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17728
17799
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18330,13 +18401,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18330
18401
|
* @param {Procedure} [procedure]
|
|
18331
18402
|
* @param {Date} [created]
|
|
18332
18403
|
* @param {string} [languageCode]
|
|
18404
|
+
* @param {boolean} [returnDefaultValue]
|
|
18333
18405
|
* @param {number} [page]
|
|
18334
18406
|
* @param {number} [limit]
|
|
18335
18407
|
* @param {Date} [lastRetrieved]
|
|
18336
18408
|
* @param {*} [options] Override http request option.
|
|
18337
18409
|
* @throws {RequiredError}
|
|
18338
18410
|
*/
|
|
18339
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18411
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18340
18412
|
if (options === void 0) { options = {}; }
|
|
18341
18413
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18342
18414
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18405,6 +18477,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18405
18477
|
if (languageCode !== undefined) {
|
|
18406
18478
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18407
18479
|
}
|
|
18480
|
+
if (returnDefaultValue !== undefined) {
|
|
18481
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18482
|
+
}
|
|
18408
18483
|
if (page !== undefined) {
|
|
18409
18484
|
localVarQueryParameter['page'] = page;
|
|
18410
18485
|
}
|
|
@@ -18535,10 +18610,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18535
18610
|
* @param {string} specialtyId
|
|
18536
18611
|
* @param {string} serviceId
|
|
18537
18612
|
* @param {string} [languageCode]
|
|
18613
|
+
* @param {boolean} [returnDefaultValue]
|
|
18538
18614
|
* @param {*} [options] Override http request option.
|
|
18539
18615
|
* @throws {RequiredError}
|
|
18540
18616
|
*/
|
|
18541
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
18617
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
18542
18618
|
if (options === void 0) { options = {}; }
|
|
18543
18619
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18544
18620
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18572,6 +18648,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18572
18648
|
if (languageCode !== undefined) {
|
|
18573
18649
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18574
18650
|
}
|
|
18651
|
+
if (returnDefaultValue !== undefined) {
|
|
18652
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18653
|
+
}
|
|
18575
18654
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18576
18655
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18577
18656
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18990,13 +19069,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18990
19069
|
* @param {boolean} [showHidden]
|
|
18991
19070
|
* @param {string} [languageCode]
|
|
18992
19071
|
* @param {Array<string>} [ids]
|
|
19072
|
+
* @param {boolean} [returnDefaultValue]
|
|
18993
19073
|
* @param {number} [page]
|
|
18994
19074
|
* @param {number} [limit]
|
|
18995
19075
|
* @param {Date} [lastRetrieved]
|
|
18996
19076
|
* @param {*} [options] Override http request option.
|
|
18997
19077
|
* @throws {RequiredError}
|
|
18998
19078
|
*/
|
|
18999
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19079
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19000
19080
|
if (options === void 0) { options = {}; }
|
|
19001
19081
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19002
19082
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19059,6 +19139,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19059
19139
|
if (ids) {
|
|
19060
19140
|
localVarQueryParameter['Ids'] = ids;
|
|
19061
19141
|
}
|
|
19142
|
+
if (returnDefaultValue !== undefined) {
|
|
19143
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19144
|
+
}
|
|
19062
19145
|
if (page !== undefined) {
|
|
19063
19146
|
localVarQueryParameter['page'] = page;
|
|
19064
19147
|
}
|
|
@@ -19086,10 +19169,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19086
19169
|
* @summary Get Hospital by slug.
|
|
19087
19170
|
* @param {string} slug
|
|
19088
19171
|
* @param {string} [languageCode]
|
|
19172
|
+
* @param {boolean} [returnDefaultValue]
|
|
19089
19173
|
* @param {*} [options] Override http request option.
|
|
19090
19174
|
* @throws {RequiredError}
|
|
19091
19175
|
*/
|
|
19092
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
19176
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
19093
19177
|
if (options === void 0) { options = {}; }
|
|
19094
19178
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19095
19179
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19117,6 +19201,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19117
19201
|
if (languageCode !== undefined) {
|
|
19118
19202
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
19119
19203
|
}
|
|
19204
|
+
if (returnDefaultValue !== undefined) {
|
|
19205
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19206
|
+
}
|
|
19120
19207
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19121
19208
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19122
19209
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19153,18 +19240,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19153
19240
|
* @param {boolean} [showHidden]
|
|
19154
19241
|
* @param {string} [languageCode]
|
|
19155
19242
|
* @param {Array<string>} [ids]
|
|
19243
|
+
* @param {boolean} [returnDefaultValue]
|
|
19156
19244
|
* @param {number} [page]
|
|
19157
19245
|
* @param {number} [limit]
|
|
19158
19246
|
* @param {Date} [lastRetrieved]
|
|
19159
19247
|
* @param {*} [options] Override http request option.
|
|
19160
19248
|
* @throws {RequiredError}
|
|
19161
19249
|
*/
|
|
19162
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19250
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19163
19251
|
return __awaiter(this, void 0, void 0, function () {
|
|
19164
19252
|
var localVarAxiosArgs;
|
|
19165
19253
|
return __generator(this, function (_a) {
|
|
19166
19254
|
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)];
|
|
19255
|
+
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
19256
|
case 1:
|
|
19169
19257
|
localVarAxiosArgs = _a.sent();
|
|
19170
19258
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19604,15 +19692,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19604
19692
|
* @summary Get Hospital.
|
|
19605
19693
|
* @param {string} hospitalId
|
|
19606
19694
|
* @param {string} [languageCode]
|
|
19695
|
+
* @param {boolean} [returnDefaultValue]
|
|
19607
19696
|
* @param {*} [options] Override http request option.
|
|
19608
19697
|
* @throws {RequiredError}
|
|
19609
19698
|
*/
|
|
19610
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
19699
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
19611
19700
|
return __awaiter(this, void 0, void 0, function () {
|
|
19612
19701
|
var localVarAxiosArgs;
|
|
19613
19702
|
return __generator(this, function (_a) {
|
|
19614
19703
|
switch (_a.label) {
|
|
19615
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options)];
|
|
19704
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
|
|
19616
19705
|
case 1:
|
|
19617
19706
|
localVarAxiosArgs = _a.sent();
|
|
19618
19707
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19884,18 +19973,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19884
19973
|
* @param {Procedure} [procedure]
|
|
19885
19974
|
* @param {Date} [created]
|
|
19886
19975
|
* @param {string} [languageCode]
|
|
19976
|
+
* @param {boolean} [returnDefaultValue]
|
|
19887
19977
|
* @param {number} [page]
|
|
19888
19978
|
* @param {number} [limit]
|
|
19889
19979
|
* @param {Date} [lastRetrieved]
|
|
19890
19980
|
* @param {*} [options] Override http request option.
|
|
19891
19981
|
* @throws {RequiredError}
|
|
19892
19982
|
*/
|
|
19893
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
19983
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19894
19984
|
return __awaiter(this, void 0, void 0, function () {
|
|
19895
19985
|
var localVarAxiosArgs;
|
|
19896
19986
|
return __generator(this, function (_a) {
|
|
19897
19987
|
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)];
|
|
19988
|
+
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
19989
|
case 1:
|
|
19900
19990
|
localVarAxiosArgs = _a.sent();
|
|
19901
19991
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19954,15 +20044,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19954
20044
|
* @param {string} specialtyId
|
|
19955
20045
|
* @param {string} serviceId
|
|
19956
20046
|
* @param {string} [languageCode]
|
|
20047
|
+
* @param {boolean} [returnDefaultValue]
|
|
19957
20048
|
* @param {*} [options] Override http request option.
|
|
19958
20049
|
* @throws {RequiredError}
|
|
19959
20050
|
*/
|
|
19960
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20051
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
19961
20052
|
return __awaiter(this, void 0, void 0, function () {
|
|
19962
20053
|
var localVarAxiosArgs;
|
|
19963
20054
|
return __generator(this, function (_a) {
|
|
19964
20055
|
switch (_a.label) {
|
|
19965
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options)];
|
|
20056
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
19966
20057
|
case 1:
|
|
19967
20058
|
localVarAxiosArgs = _a.sent();
|
|
19968
20059
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20149,18 +20240,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20149
20240
|
* @param {boolean} [showHidden]
|
|
20150
20241
|
* @param {string} [languageCode]
|
|
20151
20242
|
* @param {Array<string>} [ids]
|
|
20243
|
+
* @param {boolean} [returnDefaultValue]
|
|
20152
20244
|
* @param {number} [page]
|
|
20153
20245
|
* @param {number} [limit]
|
|
20154
20246
|
* @param {Date} [lastRetrieved]
|
|
20155
20247
|
* @param {*} [options] Override http request option.
|
|
20156
20248
|
* @throws {RequiredError}
|
|
20157
20249
|
*/
|
|
20158
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20250
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20159
20251
|
return __awaiter(this, void 0, void 0, function () {
|
|
20160
20252
|
var localVarAxiosArgs;
|
|
20161
20253
|
return __generator(this, function (_a) {
|
|
20162
20254
|
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)];
|
|
20255
|
+
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
20256
|
case 1:
|
|
20165
20257
|
localVarAxiosArgs = _a.sent();
|
|
20166
20258
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20173,15 +20265,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20173
20265
|
* @summary Get Hospital by slug.
|
|
20174
20266
|
* @param {string} slug
|
|
20175
20267
|
* @param {string} [languageCode]
|
|
20268
|
+
* @param {boolean} [returnDefaultValue]
|
|
20176
20269
|
* @param {*} [options] Override http request option.
|
|
20177
20270
|
* @throws {RequiredError}
|
|
20178
20271
|
*/
|
|
20179
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20272
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20180
20273
|
return __awaiter(this, void 0, void 0, function () {
|
|
20181
20274
|
var localVarAxiosArgs;
|
|
20182
20275
|
return __generator(this, function (_a) {
|
|
20183
20276
|
switch (_a.label) {
|
|
20184
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options)];
|
|
20277
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
20185
20278
|
case 1:
|
|
20186
20279
|
localVarAxiosArgs = _a.sent();
|
|
20187
20280
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20214,14 +20307,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20214
20307
|
* @param {boolean} [showHidden]
|
|
20215
20308
|
* @param {string} [languageCode]
|
|
20216
20309
|
* @param {Array<string>} [ids]
|
|
20310
|
+
* @param {boolean} [returnDefaultValue]
|
|
20217
20311
|
* @param {number} [page]
|
|
20218
20312
|
* @param {number} [limit]
|
|
20219
20313
|
* @param {Date} [lastRetrieved]
|
|
20220
20314
|
* @param {*} [options] Override http request option.
|
|
20221
20315
|
* @throws {RequiredError}
|
|
20222
20316
|
*/
|
|
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); });
|
|
20317
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20318
|
+
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
20319
|
},
|
|
20226
20320
|
/**
|
|
20227
20321
|
*
|
|
@@ -20465,11 +20559,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20465
20559
|
* @summary Get Hospital.
|
|
20466
20560
|
* @param {string} hospitalId
|
|
20467
20561
|
* @param {string} [languageCode]
|
|
20562
|
+
* @param {boolean} [returnDefaultValue]
|
|
20468
20563
|
* @param {*} [options] Override http request option.
|
|
20469
20564
|
* @throws {RequiredError}
|
|
20470
20565
|
*/
|
|
20471
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
20472
|
-
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20566
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
20567
|
+
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20473
20568
|
},
|
|
20474
20569
|
/**
|
|
20475
20570
|
*
|
|
@@ -20625,14 +20720,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20625
20720
|
* @param {Procedure} [procedure]
|
|
20626
20721
|
* @param {Date} [created]
|
|
20627
20722
|
* @param {string} [languageCode]
|
|
20723
|
+
* @param {boolean} [returnDefaultValue]
|
|
20628
20724
|
* @param {number} [page]
|
|
20629
20725
|
* @param {number} [limit]
|
|
20630
20726
|
* @param {Date} [lastRetrieved]
|
|
20631
20727
|
* @param {*} [options] Override http request option.
|
|
20632
20728
|
* @throws {RequiredError}
|
|
20633
20729
|
*/
|
|
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); });
|
|
20730
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20731
|
+
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
20732
|
},
|
|
20637
20733
|
/**
|
|
20638
20734
|
*
|
|
@@ -20665,11 +20761,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20665
20761
|
* @param {string} specialtyId
|
|
20666
20762
|
* @param {string} serviceId
|
|
20667
20763
|
* @param {string} [languageCode]
|
|
20764
|
+
* @param {boolean} [returnDefaultValue]
|
|
20668
20765
|
* @param {*} [options] Override http request option.
|
|
20669
20766
|
* @throws {RequiredError}
|
|
20670
20767
|
*/
|
|
20671
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20672
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20768
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
20769
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20673
20770
|
},
|
|
20674
20771
|
/**
|
|
20675
20772
|
*
|
|
@@ -20780,25 +20877,27 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20780
20877
|
* @param {boolean} [showHidden]
|
|
20781
20878
|
* @param {string} [languageCode]
|
|
20782
20879
|
* @param {Array<string>} [ids]
|
|
20880
|
+
* @param {boolean} [returnDefaultValue]
|
|
20783
20881
|
* @param {number} [page]
|
|
20784
20882
|
* @param {number} [limit]
|
|
20785
20883
|
* @param {Date} [lastRetrieved]
|
|
20786
20884
|
* @param {*} [options] Override http request option.
|
|
20787
20885
|
* @throws {RequiredError}
|
|
20788
20886
|
*/
|
|
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); });
|
|
20887
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20888
|
+
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
20889
|
},
|
|
20792
20890
|
/**
|
|
20793
20891
|
*
|
|
20794
20892
|
* @summary Get Hospital by slug.
|
|
20795
20893
|
* @param {string} slug
|
|
20796
20894
|
* @param {string} [languageCode]
|
|
20895
|
+
* @param {boolean} [returnDefaultValue]
|
|
20797
20896
|
* @param {*} [options] Override http request option.
|
|
20798
20897
|
* @throws {RequiredError}
|
|
20799
20898
|
*/
|
|
20800
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20801
|
-
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20899
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20900
|
+
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20802
20901
|
},
|
|
20803
20902
|
};
|
|
20804
20903
|
};
|
|
@@ -20829,6 +20928,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20829
20928
|
* @param {boolean} [showHidden]
|
|
20830
20929
|
* @param {string} [languageCode]
|
|
20831
20930
|
* @param {Array<string>} [ids]
|
|
20931
|
+
* @param {boolean} [returnDefaultValue]
|
|
20832
20932
|
* @param {number} [page]
|
|
20833
20933
|
* @param {number} [limit]
|
|
20834
20934
|
* @param {Date} [lastRetrieved]
|
|
@@ -20836,9 +20936,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20836
20936
|
* @throws {RequiredError}
|
|
20837
20937
|
* @memberof HospitalsApi
|
|
20838
20938
|
*/
|
|
20839
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20939
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20840
20940
|
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); });
|
|
20941
|
+
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
20942
|
};
|
|
20843
20943
|
/**
|
|
20844
20944
|
*
|
|
@@ -21120,13 +21220,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21120
21220
|
* @summary Get Hospital.
|
|
21121
21221
|
* @param {string} hospitalId
|
|
21122
21222
|
* @param {string} [languageCode]
|
|
21223
|
+
* @param {boolean} [returnDefaultValue]
|
|
21123
21224
|
* @param {*} [options] Override http request option.
|
|
21124
21225
|
* @throws {RequiredError}
|
|
21125
21226
|
* @memberof HospitalsApi
|
|
21126
21227
|
*/
|
|
21127
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, options) {
|
|
21228
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
21128
21229
|
var _this = this;
|
|
21129
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21230
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21130
21231
|
};
|
|
21131
21232
|
/**
|
|
21132
21233
|
*
|
|
@@ -21304,6 +21405,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21304
21405
|
* @param {Procedure} [procedure]
|
|
21305
21406
|
* @param {Date} [created]
|
|
21306
21407
|
* @param {string} [languageCode]
|
|
21408
|
+
* @param {boolean} [returnDefaultValue]
|
|
21307
21409
|
* @param {number} [page]
|
|
21308
21410
|
* @param {number} [limit]
|
|
21309
21411
|
* @param {Date} [lastRetrieved]
|
|
@@ -21311,9 +21413,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21311
21413
|
* @throws {RequiredError}
|
|
21312
21414
|
* @memberof HospitalsApi
|
|
21313
21415
|
*/
|
|
21314
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
21416
|
+
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
21417
|
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); });
|
|
21418
|
+
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
21419
|
};
|
|
21318
21420
|
/**
|
|
21319
21421
|
*
|
|
@@ -21350,13 +21452,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21350
21452
|
* @param {string} specialtyId
|
|
21351
21453
|
* @param {string} serviceId
|
|
21352
21454
|
* @param {string} [languageCode]
|
|
21455
|
+
* @param {boolean} [returnDefaultValue]
|
|
21353
21456
|
* @param {*} [options] Override http request option.
|
|
21354
21457
|
* @throws {RequiredError}
|
|
21355
21458
|
* @memberof HospitalsApi
|
|
21356
21459
|
*/
|
|
21357
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
21460
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
21358
21461
|
var _this = this;
|
|
21359
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21462
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21360
21463
|
};
|
|
21361
21464
|
/**
|
|
21362
21465
|
*
|
|
@@ -21481,6 +21584,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21481
21584
|
* @param {boolean} [showHidden]
|
|
21482
21585
|
* @param {string} [languageCode]
|
|
21483
21586
|
* @param {Array<string>} [ids]
|
|
21587
|
+
* @param {boolean} [returnDefaultValue]
|
|
21484
21588
|
* @param {number} [page]
|
|
21485
21589
|
* @param {number} [limit]
|
|
21486
21590
|
* @param {Date} [lastRetrieved]
|
|
@@ -21488,22 +21592,23 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21488
21592
|
* @throws {RequiredError}
|
|
21489
21593
|
* @memberof HospitalsApi
|
|
21490
21594
|
*/
|
|
21491
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
21595
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21492
21596
|
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); });
|
|
21597
|
+
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
21598
|
};
|
|
21495
21599
|
/**
|
|
21496
21600
|
*
|
|
21497
21601
|
* @summary Get Hospital by slug.
|
|
21498
21602
|
* @param {string} slug
|
|
21499
21603
|
* @param {string} [languageCode]
|
|
21604
|
+
* @param {boolean} [returnDefaultValue]
|
|
21500
21605
|
* @param {*} [options] Override http request option.
|
|
21501
21606
|
* @throws {RequiredError}
|
|
21502
21607
|
* @memberof HospitalsApi
|
|
21503
21608
|
*/
|
|
21504
|
-
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, options) {
|
|
21609
|
+
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
21505
21610
|
var _this = this;
|
|
21506
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21611
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21507
21612
|
};
|
|
21508
21613
|
return HospitalsApi;
|
|
21509
21614
|
}(base_1.BaseAPI));
|
|
@@ -25536,13 +25641,14 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25536
25641
|
* @param {Procedure} [procedure]
|
|
25537
25642
|
* @param {Date} [created]
|
|
25538
25643
|
* @param {string} [languageCode]
|
|
25644
|
+
* @param {boolean} [returnDefaultValue]
|
|
25539
25645
|
* @param {number} [page]
|
|
25540
25646
|
* @param {number} [limit]
|
|
25541
25647
|
* @param {Date} [lastRetrieved]
|
|
25542
25648
|
* @param {*} [options] Override http request option.
|
|
25543
25649
|
* @throws {RequiredError}
|
|
25544
25650
|
*/
|
|
25545
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25651
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25546
25652
|
if (options === void 0) { options = {}; }
|
|
25547
25653
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25548
25654
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25611,6 +25717,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25611
25717
|
if (languageCode !== undefined) {
|
|
25612
25718
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25613
25719
|
}
|
|
25720
|
+
if (returnDefaultValue !== undefined) {
|
|
25721
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
25722
|
+
}
|
|
25614
25723
|
if (page !== undefined) {
|
|
25615
25724
|
localVarQueryParameter['page'] = page;
|
|
25616
25725
|
}
|
|
@@ -25638,10 +25747,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25638
25747
|
* @summary Get HospitalService.
|
|
25639
25748
|
* @param {string} serviceId
|
|
25640
25749
|
* @param {string} [languageCode]
|
|
25750
|
+
* @param {boolean} [returnDefaultValue]
|
|
25641
25751
|
* @param {*} [options] Override http request option.
|
|
25642
25752
|
* @throws {RequiredError}
|
|
25643
25753
|
*/
|
|
25644
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25754
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25645
25755
|
if (options === void 0) { options = {}; }
|
|
25646
25756
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25647
25757
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25669,6 +25779,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25669
25779
|
if (languageCode !== undefined) {
|
|
25670
25780
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25671
25781
|
}
|
|
25782
|
+
if (returnDefaultValue !== undefined) {
|
|
25783
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25784
|
+
}
|
|
25672
25785
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25673
25786
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25674
25787
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25685,10 +25798,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25685
25798
|
* @summary Get HospitalService by slug.
|
|
25686
25799
|
* @param {string} slug
|
|
25687
25800
|
* @param {string} [languageCode]
|
|
25801
|
+
* @param {boolean} [returnDefaultValue]
|
|
25688
25802
|
* @param {*} [options] Override http request option.
|
|
25689
25803
|
* @throws {RequiredError}
|
|
25690
25804
|
*/
|
|
25691
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25805
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25692
25806
|
if (options === void 0) { options = {}; }
|
|
25693
25807
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25694
25808
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25716,6 +25830,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25716
25830
|
if (languageCode !== undefined) {
|
|
25717
25831
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25718
25832
|
}
|
|
25833
|
+
if (returnDefaultValue !== undefined) {
|
|
25834
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25835
|
+
}
|
|
25719
25836
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25720
25837
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25721
25838
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25754,18 +25871,19 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25754
25871
|
* @param {Procedure} [procedure]
|
|
25755
25872
|
* @param {Date} [created]
|
|
25756
25873
|
* @param {string} [languageCode]
|
|
25874
|
+
* @param {boolean} [returnDefaultValue]
|
|
25757
25875
|
* @param {number} [page]
|
|
25758
25876
|
* @param {number} [limit]
|
|
25759
25877
|
* @param {Date} [lastRetrieved]
|
|
25760
25878
|
* @param {*} [options] Override http request option.
|
|
25761
25879
|
* @throws {RequiredError}
|
|
25762
25880
|
*/
|
|
25763
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25881
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25764
25882
|
return __awaiter(this, void 0, void 0, function () {
|
|
25765
25883
|
var localVarAxiosArgs;
|
|
25766
25884
|
return __generator(this, function (_a) {
|
|
25767
25885
|
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)];
|
|
25886
|
+
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
25887
|
case 1:
|
|
25770
25888
|
localVarAxiosArgs = _a.sent();
|
|
25771
25889
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25778,15 +25896,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25778
25896
|
* @summary Get HospitalService.
|
|
25779
25897
|
* @param {string} serviceId
|
|
25780
25898
|
* @param {string} [languageCode]
|
|
25899
|
+
* @param {boolean} [returnDefaultValue]
|
|
25781
25900
|
* @param {*} [options] Override http request option.
|
|
25782
25901
|
* @throws {RequiredError}
|
|
25783
25902
|
*/
|
|
25784
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25903
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25785
25904
|
return __awaiter(this, void 0, void 0, function () {
|
|
25786
25905
|
var localVarAxiosArgs;
|
|
25787
25906
|
return __generator(this, function (_a) {
|
|
25788
25907
|
switch (_a.label) {
|
|
25789
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options)];
|
|
25908
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options)];
|
|
25790
25909
|
case 1:
|
|
25791
25910
|
localVarAxiosArgs = _a.sent();
|
|
25792
25911
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25799,15 +25918,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25799
25918
|
* @summary Get HospitalService by slug.
|
|
25800
25919
|
* @param {string} slug
|
|
25801
25920
|
* @param {string} [languageCode]
|
|
25921
|
+
* @param {boolean} [returnDefaultValue]
|
|
25802
25922
|
* @param {*} [options] Override http request option.
|
|
25803
25923
|
* @throws {RequiredError}
|
|
25804
25924
|
*/
|
|
25805
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25925
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25806
25926
|
return __awaiter(this, void 0, void 0, function () {
|
|
25807
25927
|
var localVarAxiosArgs;
|
|
25808
25928
|
return __generator(this, function (_a) {
|
|
25809
25929
|
switch (_a.label) {
|
|
25810
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options)];
|
|
25930
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
25811
25931
|
case 1:
|
|
25812
25932
|
localVarAxiosArgs = _a.sent();
|
|
25813
25933
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25842,36 +25962,39 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
25842
25962
|
* @param {Procedure} [procedure]
|
|
25843
25963
|
* @param {Date} [created]
|
|
25844
25964
|
* @param {string} [languageCode]
|
|
25965
|
+
* @param {boolean} [returnDefaultValue]
|
|
25845
25966
|
* @param {number} [page]
|
|
25846
25967
|
* @param {number} [limit]
|
|
25847
25968
|
* @param {Date} [lastRetrieved]
|
|
25848
25969
|
* @param {*} [options] Override http request option.
|
|
25849
25970
|
* @throws {RequiredError}
|
|
25850
25971
|
*/
|
|
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); });
|
|
25972
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25973
|
+
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
25974
|
},
|
|
25854
25975
|
/**
|
|
25855
25976
|
*
|
|
25856
25977
|
* @summary Get HospitalService.
|
|
25857
25978
|
* @param {string} serviceId
|
|
25858
25979
|
* @param {string} [languageCode]
|
|
25980
|
+
* @param {boolean} [returnDefaultValue]
|
|
25859
25981
|
* @param {*} [options] Override http request option.
|
|
25860
25982
|
* @throws {RequiredError}
|
|
25861
25983
|
*/
|
|
25862
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25863
|
-
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
25984
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25985
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25864
25986
|
},
|
|
25865
25987
|
/**
|
|
25866
25988
|
*
|
|
25867
25989
|
* @summary Get HospitalService by slug.
|
|
25868
25990
|
* @param {string} slug
|
|
25869
25991
|
* @param {string} [languageCode]
|
|
25992
|
+
* @param {boolean} [returnDefaultValue]
|
|
25870
25993
|
* @param {*} [options] Override http request option.
|
|
25871
25994
|
* @throws {RequiredError}
|
|
25872
25995
|
*/
|
|
25873
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25874
|
-
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
25996
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25997
|
+
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25875
25998
|
},
|
|
25876
25999
|
};
|
|
25877
26000
|
};
|
|
@@ -25904,6 +26027,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25904
26027
|
* @param {Procedure} [procedure]
|
|
25905
26028
|
* @param {Date} [created]
|
|
25906
26029
|
* @param {string} [languageCode]
|
|
26030
|
+
* @param {boolean} [returnDefaultValue]
|
|
25907
26031
|
* @param {number} [page]
|
|
25908
26032
|
* @param {number} [limit]
|
|
25909
26033
|
* @param {Date} [lastRetrieved]
|
|
@@ -25911,35 +26035,37 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25911
26035
|
* @throws {RequiredError}
|
|
25912
26036
|
* @memberof ServicesApi
|
|
25913
26037
|
*/
|
|
25914
|
-
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
26038
|
+
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
26039
|
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); });
|
|
26040
|
+
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
26041
|
};
|
|
25918
26042
|
/**
|
|
25919
26043
|
*
|
|
25920
26044
|
* @summary Get HospitalService.
|
|
25921
26045
|
* @param {string} serviceId
|
|
25922
26046
|
* @param {string} [languageCode]
|
|
26047
|
+
* @param {boolean} [returnDefaultValue]
|
|
25923
26048
|
* @param {*} [options] Override http request option.
|
|
25924
26049
|
* @throws {RequiredError}
|
|
25925
26050
|
* @memberof ServicesApi
|
|
25926
26051
|
*/
|
|
25927
|
-
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, options) {
|
|
26052
|
+
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25928
26053
|
var _this = this;
|
|
25929
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26054
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25930
26055
|
};
|
|
25931
26056
|
/**
|
|
25932
26057
|
*
|
|
25933
26058
|
* @summary Get HospitalService by slug.
|
|
25934
26059
|
* @param {string} slug
|
|
25935
26060
|
* @param {string} [languageCode]
|
|
26061
|
+
* @param {boolean} [returnDefaultValue]
|
|
25936
26062
|
* @param {*} [options] Override http request option.
|
|
25937
26063
|
* @throws {RequiredError}
|
|
25938
26064
|
* @memberof ServicesApi
|
|
25939
26065
|
*/
|
|
25940
|
-
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, options) {
|
|
26066
|
+
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
25941
26067
|
var _this = this;
|
|
25942
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26068
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25943
26069
|
};
|
|
25944
26070
|
return ServicesApi;
|
|
25945
26071
|
}(base_1.BaseAPI));
|
|
@@ -26480,13 +26606,14 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26480
26606
|
* @param {Date} [created]
|
|
26481
26607
|
* @param {string} [languageCode]
|
|
26482
26608
|
* @param {Array<string>} [ids]
|
|
26609
|
+
* @param {boolean} [returnDefaultValue]
|
|
26483
26610
|
* @param {number} [page]
|
|
26484
26611
|
* @param {number} [limit]
|
|
26485
26612
|
* @param {Date} [lastRetrieved]
|
|
26486
26613
|
* @param {*} [options] Override http request option.
|
|
26487
26614
|
* @throws {RequiredError}
|
|
26488
26615
|
*/
|
|
26489
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
26616
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26490
26617
|
if (options === void 0) { options = {}; }
|
|
26491
26618
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26492
26619
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26534,6 +26661,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26534
26661
|
if (ids) {
|
|
26535
26662
|
localVarQueryParameter['Ids'] = ids;
|
|
26536
26663
|
}
|
|
26664
|
+
if (returnDefaultValue !== undefined) {
|
|
26665
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26666
|
+
}
|
|
26537
26667
|
if (page !== undefined) {
|
|
26538
26668
|
localVarQueryParameter['page'] = page;
|
|
26539
26669
|
}
|
|
@@ -26603,10 +26733,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26603
26733
|
* @summary Get Specialty by slug.
|
|
26604
26734
|
* @param {string} slug
|
|
26605
26735
|
* @param {string} [languageCode]
|
|
26736
|
+
* @param {boolean} [returnDefaultValue]
|
|
26606
26737
|
* @param {*} [options] Override http request option.
|
|
26607
26738
|
* @throws {RequiredError}
|
|
26608
26739
|
*/
|
|
26609
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
26740
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
26610
26741
|
if (options === void 0) { options = {}; }
|
|
26611
26742
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26612
26743
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26634,6 +26765,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26634
26765
|
if (languageCode !== undefined) {
|
|
26635
26766
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26636
26767
|
}
|
|
26768
|
+
if (returnDefaultValue !== undefined) {
|
|
26769
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26770
|
+
}
|
|
26637
26771
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26638
26772
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26639
26773
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26693,10 +26827,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26693
26827
|
* @summary Get Specialty.
|
|
26694
26828
|
* @param {string} specialtyId
|
|
26695
26829
|
* @param {string} [languageCode]
|
|
26830
|
+
* @param {boolean} [returnDefaultValue]
|
|
26696
26831
|
* @param {*} [options] Override http request option.
|
|
26697
26832
|
* @throws {RequiredError}
|
|
26698
26833
|
*/
|
|
26699
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
26834
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
26700
26835
|
if (options === void 0) { options = {}; }
|
|
26701
26836
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26702
26837
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26724,6 +26859,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26724
26859
|
if (languageCode !== undefined) {
|
|
26725
26860
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26726
26861
|
}
|
|
26862
|
+
if (returnDefaultValue !== undefined) {
|
|
26863
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26864
|
+
}
|
|
26727
26865
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26728
26866
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26729
26867
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27056,18 +27194,19 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27056
27194
|
* @param {Date} [created]
|
|
27057
27195
|
* @param {string} [languageCode]
|
|
27058
27196
|
* @param {Array<string>} [ids]
|
|
27197
|
+
* @param {boolean} [returnDefaultValue]
|
|
27059
27198
|
* @param {number} [page]
|
|
27060
27199
|
* @param {number} [limit]
|
|
27061
27200
|
* @param {Date} [lastRetrieved]
|
|
27062
27201
|
* @param {*} [options] Override http request option.
|
|
27063
27202
|
* @throws {RequiredError}
|
|
27064
27203
|
*/
|
|
27065
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27204
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27066
27205
|
return __awaiter(this, void 0, void 0, function () {
|
|
27067
27206
|
var localVarAxiosArgs;
|
|
27068
27207
|
return __generator(this, function (_a) {
|
|
27069
27208
|
switch (_a.label) {
|
|
27070
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
27209
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
27071
27210
|
case 1:
|
|
27072
27211
|
localVarAxiosArgs = _a.sent();
|
|
27073
27212
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27100,15 +27239,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27100
27239
|
* @summary Get Specialty by slug.
|
|
27101
27240
|
* @param {string} slug
|
|
27102
27241
|
* @param {string} [languageCode]
|
|
27242
|
+
* @param {boolean} [returnDefaultValue]
|
|
27103
27243
|
* @param {*} [options] Override http request option.
|
|
27104
27244
|
* @throws {RequiredError}
|
|
27105
27245
|
*/
|
|
27106
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27246
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27107
27247
|
return __awaiter(this, void 0, void 0, function () {
|
|
27108
27248
|
var localVarAxiosArgs;
|
|
27109
27249
|
return __generator(this, function (_a) {
|
|
27110
27250
|
switch (_a.label) {
|
|
27111
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options)];
|
|
27251
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
27112
27252
|
case 1:
|
|
27113
27253
|
localVarAxiosArgs = _a.sent();
|
|
27114
27254
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27141,15 +27281,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27141
27281
|
* @summary Get Specialty.
|
|
27142
27282
|
* @param {string} specialtyId
|
|
27143
27283
|
* @param {string} [languageCode]
|
|
27284
|
+
* @param {boolean} [returnDefaultValue]
|
|
27144
27285
|
* @param {*} [options] Override http request option.
|
|
27145
27286
|
* @throws {RequiredError}
|
|
27146
27287
|
*/
|
|
27147
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27288
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27148
27289
|
return __awaiter(this, void 0, void 0, function () {
|
|
27149
27290
|
var localVarAxiosArgs;
|
|
27150
27291
|
return __generator(this, function (_a) {
|
|
27151
27292
|
switch (_a.label) {
|
|
27152
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options)];
|
|
27293
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options)];
|
|
27153
27294
|
case 1:
|
|
27154
27295
|
localVarAxiosArgs = _a.sent();
|
|
27155
27296
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27308,14 +27449,15 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27308
27449
|
* @param {Date} [created]
|
|
27309
27450
|
* @param {string} [languageCode]
|
|
27310
27451
|
* @param {Array<string>} [ids]
|
|
27452
|
+
* @param {boolean} [returnDefaultValue]
|
|
27311
27453
|
* @param {number} [page]
|
|
27312
27454
|
* @param {number} [limit]
|
|
27313
27455
|
* @param {Date} [lastRetrieved]
|
|
27314
27456
|
* @param {*} [options] Override http request option.
|
|
27315
27457
|
* @throws {RequiredError}
|
|
27316
27458
|
*/
|
|
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); });
|
|
27459
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27460
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27319
27461
|
},
|
|
27320
27462
|
/**
|
|
27321
27463
|
*
|
|
@@ -27332,11 +27474,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27332
27474
|
* @summary Get Specialty by slug.
|
|
27333
27475
|
* @param {string} slug
|
|
27334
27476
|
* @param {string} [languageCode]
|
|
27477
|
+
* @param {boolean} [returnDefaultValue]
|
|
27335
27478
|
* @param {*} [options] Override http request option.
|
|
27336
27479
|
* @throws {RequiredError}
|
|
27337
27480
|
*/
|
|
27338
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27339
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27481
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27482
|
+
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27340
27483
|
},
|
|
27341
27484
|
/**
|
|
27342
27485
|
*
|
|
@@ -27353,11 +27496,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27353
27496
|
* @summary Get Specialty.
|
|
27354
27497
|
* @param {string} specialtyId
|
|
27355
27498
|
* @param {string} [languageCode]
|
|
27499
|
+
* @param {boolean} [returnDefaultValue]
|
|
27356
27500
|
* @param {*} [options] Override http request option.
|
|
27357
27501
|
* @throws {RequiredError}
|
|
27358
27502
|
*/
|
|
27359
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27360
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27503
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27504
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27361
27505
|
},
|
|
27362
27506
|
/**
|
|
27363
27507
|
*
|
|
@@ -27454,6 +27598,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27454
27598
|
* @param {Date} [created]
|
|
27455
27599
|
* @param {string} [languageCode]
|
|
27456
27600
|
* @param {Array<string>} [ids]
|
|
27601
|
+
* @param {boolean} [returnDefaultValue]
|
|
27457
27602
|
* @param {number} [page]
|
|
27458
27603
|
* @param {number} [limit]
|
|
27459
27604
|
* @param {Date} [lastRetrieved]
|
|
@@ -27461,9 +27606,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27461
27606
|
* @throws {RequiredError}
|
|
27462
27607
|
* @memberof SpecialtiesApi
|
|
27463
27608
|
*/
|
|
27464
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27609
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27465
27610
|
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); });
|
|
27611
|
+
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
27612
|
};
|
|
27468
27613
|
/**
|
|
27469
27614
|
*
|
|
@@ -27482,13 +27627,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27482
27627
|
* @summary Get Specialty by slug.
|
|
27483
27628
|
* @param {string} slug
|
|
27484
27629
|
* @param {string} [languageCode]
|
|
27630
|
+
* @param {boolean} [returnDefaultValue]
|
|
27485
27631
|
* @param {*} [options] Override http request option.
|
|
27486
27632
|
* @throws {RequiredError}
|
|
27487
27633
|
* @memberof SpecialtiesApi
|
|
27488
27634
|
*/
|
|
27489
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, options) {
|
|
27635
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
27490
27636
|
var _this = this;
|
|
27491
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27637
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27492
27638
|
};
|
|
27493
27639
|
/**
|
|
27494
27640
|
*
|
|
@@ -27507,13 +27653,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27507
27653
|
* @summary Get Specialty.
|
|
27508
27654
|
* @param {string} specialtyId
|
|
27509
27655
|
* @param {string} [languageCode]
|
|
27656
|
+
* @param {boolean} [returnDefaultValue]
|
|
27510
27657
|
* @param {*} [options] Override http request option.
|
|
27511
27658
|
* @throws {RequiredError}
|
|
27512
27659
|
* @memberof SpecialtiesApi
|
|
27513
27660
|
*/
|
|
27514
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, options) {
|
|
27661
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27515
27662
|
var _this = this;
|
|
27516
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27663
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27517
27664
|
};
|
|
27518
27665
|
/**
|
|
27519
27666
|
*
|
|
@@ -27620,13 +27767,14 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27620
27767
|
* @param {string} [languageCode]
|
|
27621
27768
|
* @param {Array<string>} [ids]
|
|
27622
27769
|
* @param {string} [specialtyTypeCategoryId]
|
|
27770
|
+
* @param {boolean} [returnDefaultValue]
|
|
27623
27771
|
* @param {number} [page]
|
|
27624
27772
|
* @param {number} [limit]
|
|
27625
27773
|
* @param {Date} [lastRetrieved]
|
|
27626
27774
|
* @param {*} [options] Override http request option.
|
|
27627
27775
|
* @throws {RequiredError}
|
|
27628
27776
|
*/
|
|
27629
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
27777
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27630
27778
|
if (options === void 0) { options = {}; }
|
|
27631
27779
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27632
27780
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27677,6 +27825,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27677
27825
|
if (specialtyTypeCategoryId !== undefined) {
|
|
27678
27826
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
27679
27827
|
}
|
|
27828
|
+
if (returnDefaultValue !== undefined) {
|
|
27829
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27830
|
+
}
|
|
27680
27831
|
if (page !== undefined) {
|
|
27681
27832
|
localVarQueryParameter['page'] = page;
|
|
27682
27833
|
}
|
|
@@ -27741,15 +27892,111 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27741
27892
|
});
|
|
27742
27893
|
});
|
|
27743
27894
|
},
|
|
27895
|
+
/**
|
|
27896
|
+
*
|
|
27897
|
+
* @summary Get all Hospitals.
|
|
27898
|
+
* @param {string} [id]
|
|
27899
|
+
* @param {string} [name]
|
|
27900
|
+
* @param {string} [description]
|
|
27901
|
+
* @param {MarketingType} [marketingType]
|
|
27902
|
+
* @param {string} [hospitalId]
|
|
27903
|
+
* @param {Date} [created]
|
|
27904
|
+
* @param {string} [languageCode]
|
|
27905
|
+
* @param {Array<string>} [ids]
|
|
27906
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
27907
|
+
* @param {boolean} [returnDefaultValue]
|
|
27908
|
+
* @param {number} [page]
|
|
27909
|
+
* @param {number} [limit]
|
|
27910
|
+
* @param {Date} [lastRetrieved]
|
|
27911
|
+
* @param {*} [options] Override http request option.
|
|
27912
|
+
* @throws {RequiredError}
|
|
27913
|
+
*/
|
|
27914
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27915
|
+
if (options === void 0) { options = {}; }
|
|
27916
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27917
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27918
|
+
return __generator(this, function (_a) {
|
|
27919
|
+
switch (_a.label) {
|
|
27920
|
+
case 0:
|
|
27921
|
+
localVarPath = "/api/v1/specialtytypes/simple";
|
|
27922
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27923
|
+
if (configuration) {
|
|
27924
|
+
baseOptions = configuration.baseOptions;
|
|
27925
|
+
}
|
|
27926
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27927
|
+
localVarHeaderParameter = {};
|
|
27928
|
+
localVarQueryParameter = {};
|
|
27929
|
+
// authentication oauth2 required
|
|
27930
|
+
// oauth required
|
|
27931
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27932
|
+
case 1:
|
|
27933
|
+
// authentication oauth2 required
|
|
27934
|
+
// oauth required
|
|
27935
|
+
_a.sent();
|
|
27936
|
+
if (id !== undefined) {
|
|
27937
|
+
localVarQueryParameter['Id'] = id;
|
|
27938
|
+
}
|
|
27939
|
+
if (name !== undefined) {
|
|
27940
|
+
localVarQueryParameter['Name'] = name;
|
|
27941
|
+
}
|
|
27942
|
+
if (description !== undefined) {
|
|
27943
|
+
localVarQueryParameter['Description'] = description;
|
|
27944
|
+
}
|
|
27945
|
+
if (marketingType !== undefined) {
|
|
27946
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
27947
|
+
}
|
|
27948
|
+
if (hospitalId !== undefined) {
|
|
27949
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27950
|
+
}
|
|
27951
|
+
if (created !== undefined) {
|
|
27952
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
27953
|
+
created.toISOString() :
|
|
27954
|
+
created;
|
|
27955
|
+
}
|
|
27956
|
+
if (languageCode !== undefined) {
|
|
27957
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
27958
|
+
}
|
|
27959
|
+
if (ids) {
|
|
27960
|
+
localVarQueryParameter['Ids'] = ids;
|
|
27961
|
+
}
|
|
27962
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
27963
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
27964
|
+
}
|
|
27965
|
+
if (returnDefaultValue !== undefined) {
|
|
27966
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27967
|
+
}
|
|
27968
|
+
if (page !== undefined) {
|
|
27969
|
+
localVarQueryParameter['page'] = page;
|
|
27970
|
+
}
|
|
27971
|
+
if (limit !== undefined) {
|
|
27972
|
+
localVarQueryParameter['limit'] = limit;
|
|
27973
|
+
}
|
|
27974
|
+
if (lastRetrieved !== undefined) {
|
|
27975
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
27976
|
+
lastRetrieved.toISOString() :
|
|
27977
|
+
lastRetrieved;
|
|
27978
|
+
}
|
|
27979
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27980
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27981
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27982
|
+
return [2 /*return*/, {
|
|
27983
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27984
|
+
options: localVarRequestOptions,
|
|
27985
|
+
}];
|
|
27986
|
+
}
|
|
27987
|
+
});
|
|
27988
|
+
});
|
|
27989
|
+
},
|
|
27744
27990
|
/**
|
|
27745
27991
|
*
|
|
27746
27992
|
* @summary Get Department by slug.
|
|
27747
27993
|
* @param {string} slug
|
|
27748
27994
|
* @param {string} [languageCode]
|
|
27995
|
+
* @param {boolean} [returnDefaultValue]
|
|
27749
27996
|
* @param {*} [options] Override http request option.
|
|
27750
27997
|
* @throws {RequiredError}
|
|
27751
27998
|
*/
|
|
27752
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
27999
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27753
28000
|
if (options === void 0) { options = {}; }
|
|
27754
28001
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27755
28002
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27777,6 +28024,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27777
28024
|
if (languageCode !== undefined) {
|
|
27778
28025
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27779
28026
|
}
|
|
28027
|
+
if (returnDefaultValue !== undefined) {
|
|
28028
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28029
|
+
}
|
|
27780
28030
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27781
28031
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27782
28032
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27836,10 +28086,11 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27836
28086
|
* @summary Get Department.
|
|
27837
28087
|
* @param {string} specialtyTypeId
|
|
27838
28088
|
* @param {string} [languageCode]
|
|
28089
|
+
* @param {boolean} [returnDefaultValue]
|
|
27839
28090
|
* @param {*} [options] Override http request option.
|
|
27840
28091
|
* @throws {RequiredError}
|
|
27841
28092
|
*/
|
|
27842
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28093
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
27843
28094
|
if (options === void 0) { options = {}; }
|
|
27844
28095
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27845
28096
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27867,6 +28118,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27867
28118
|
if (languageCode !== undefined) {
|
|
27868
28119
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27869
28120
|
}
|
|
28121
|
+
if (returnDefaultValue !== undefined) {
|
|
28122
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28123
|
+
}
|
|
27870
28124
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27871
28125
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27872
28126
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -28200,18 +28454,19 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28200
28454
|
* @param {string} [languageCode]
|
|
28201
28455
|
* @param {Array<string>} [ids]
|
|
28202
28456
|
* @param {string} [specialtyTypeCategoryId]
|
|
28457
|
+
* @param {boolean} [returnDefaultValue]
|
|
28203
28458
|
* @param {number} [page]
|
|
28204
28459
|
* @param {number} [limit]
|
|
28205
28460
|
* @param {Date} [lastRetrieved]
|
|
28206
28461
|
* @param {*} [options] Override http request option.
|
|
28207
28462
|
* @throws {RequiredError}
|
|
28208
28463
|
*/
|
|
28209
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28464
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28210
28465
|
return __awaiter(this, void 0, void 0, function () {
|
|
28211
28466
|
var localVarAxiosArgs;
|
|
28212
28467
|
return __generator(this, function (_a) {
|
|
28213
28468
|
switch (_a.label) {
|
|
28214
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options)];
|
|
28469
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28215
28470
|
case 1:
|
|
28216
28471
|
localVarAxiosArgs = _a.sent();
|
|
28217
28472
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28239,20 +28494,53 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28239
28494
|
});
|
|
28240
28495
|
});
|
|
28241
28496
|
},
|
|
28497
|
+
/**
|
|
28498
|
+
*
|
|
28499
|
+
* @summary Get all Hospitals.
|
|
28500
|
+
* @param {string} [id]
|
|
28501
|
+
* @param {string} [name]
|
|
28502
|
+
* @param {string} [description]
|
|
28503
|
+
* @param {MarketingType} [marketingType]
|
|
28504
|
+
* @param {string} [hospitalId]
|
|
28505
|
+
* @param {Date} [created]
|
|
28506
|
+
* @param {string} [languageCode]
|
|
28507
|
+
* @param {Array<string>} [ids]
|
|
28508
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28509
|
+
* @param {boolean} [returnDefaultValue]
|
|
28510
|
+
* @param {number} [page]
|
|
28511
|
+
* @param {number} [limit]
|
|
28512
|
+
* @param {Date} [lastRetrieved]
|
|
28513
|
+
* @param {*} [options] Override http request option.
|
|
28514
|
+
* @throws {RequiredError}
|
|
28515
|
+
*/
|
|
28516
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28517
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
28518
|
+
var localVarAxiosArgs;
|
|
28519
|
+
return __generator(this, function (_a) {
|
|
28520
|
+
switch (_a.label) {
|
|
28521
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28522
|
+
case 1:
|
|
28523
|
+
localVarAxiosArgs = _a.sent();
|
|
28524
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
28525
|
+
}
|
|
28526
|
+
});
|
|
28527
|
+
});
|
|
28528
|
+
},
|
|
28242
28529
|
/**
|
|
28243
28530
|
*
|
|
28244
28531
|
* @summary Get Department by slug.
|
|
28245
28532
|
* @param {string} slug
|
|
28246
28533
|
* @param {string} [languageCode]
|
|
28534
|
+
* @param {boolean} [returnDefaultValue]
|
|
28247
28535
|
* @param {*} [options] Override http request option.
|
|
28248
28536
|
* @throws {RequiredError}
|
|
28249
28537
|
*/
|
|
28250
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28538
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28251
28539
|
return __awaiter(this, void 0, void 0, function () {
|
|
28252
28540
|
var localVarAxiosArgs;
|
|
28253
28541
|
return __generator(this, function (_a) {
|
|
28254
28542
|
switch (_a.label) {
|
|
28255
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options)];
|
|
28543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
28256
28544
|
case 1:
|
|
28257
28545
|
localVarAxiosArgs = _a.sent();
|
|
28258
28546
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28285,15 +28573,16 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28285
28573
|
* @summary Get Department.
|
|
28286
28574
|
* @param {string} specialtyTypeId
|
|
28287
28575
|
* @param {string} [languageCode]
|
|
28576
|
+
* @param {boolean} [returnDefaultValue]
|
|
28288
28577
|
* @param {*} [options] Override http request option.
|
|
28289
28578
|
* @throws {RequiredError}
|
|
28290
28579
|
*/
|
|
28291
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28580
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28292
28581
|
return __awaiter(this, void 0, void 0, function () {
|
|
28293
28582
|
var localVarAxiosArgs;
|
|
28294
28583
|
return __generator(this, function (_a) {
|
|
28295
28584
|
switch (_a.label) {
|
|
28296
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options)];
|
|
28585
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options)];
|
|
28297
28586
|
case 1:
|
|
28298
28587
|
localVarAxiosArgs = _a.sent();
|
|
28299
28588
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28453,14 +28742,15 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28453
28742
|
* @param {string} [languageCode]
|
|
28454
28743
|
* @param {Array<string>} [ids]
|
|
28455
28744
|
* @param {string} [specialtyTypeCategoryId]
|
|
28745
|
+
* @param {boolean} [returnDefaultValue]
|
|
28456
28746
|
* @param {number} [page]
|
|
28457
28747
|
* @param {number} [limit]
|
|
28458
28748
|
* @param {Date} [lastRetrieved]
|
|
28459
28749
|
* @param {*} [options] Override http request option.
|
|
28460
28750
|
* @throws {RequiredError}
|
|
28461
28751
|
*/
|
|
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); });
|
|
28752
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28753
|
+
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
28754
|
},
|
|
28465
28755
|
/**
|
|
28466
28756
|
*
|
|
@@ -28472,16 +28762,39 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28472
28762
|
apiV1SpecialtytypesPost: function (createSpecialtyTypeCommand, options) {
|
|
28473
28763
|
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
28474
28764
|
},
|
|
28765
|
+
/**
|
|
28766
|
+
*
|
|
28767
|
+
* @summary Get all Hospitals.
|
|
28768
|
+
* @param {string} [id]
|
|
28769
|
+
* @param {string} [name]
|
|
28770
|
+
* @param {string} [description]
|
|
28771
|
+
* @param {MarketingType} [marketingType]
|
|
28772
|
+
* @param {string} [hospitalId]
|
|
28773
|
+
* @param {Date} [created]
|
|
28774
|
+
* @param {string} [languageCode]
|
|
28775
|
+
* @param {Array<string>} [ids]
|
|
28776
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28777
|
+
* @param {boolean} [returnDefaultValue]
|
|
28778
|
+
* @param {number} [page]
|
|
28779
|
+
* @param {number} [limit]
|
|
28780
|
+
* @param {Date} [lastRetrieved]
|
|
28781
|
+
* @param {*} [options] Override http request option.
|
|
28782
|
+
* @throws {RequiredError}
|
|
28783
|
+
*/
|
|
28784
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28785
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28786
|
+
},
|
|
28475
28787
|
/**
|
|
28476
28788
|
*
|
|
28477
28789
|
* @summary Get Department by slug.
|
|
28478
28790
|
* @param {string} slug
|
|
28479
28791
|
* @param {string} [languageCode]
|
|
28792
|
+
* @param {boolean} [returnDefaultValue]
|
|
28480
28793
|
* @param {*} [options] Override http request option.
|
|
28481
28794
|
* @throws {RequiredError}
|
|
28482
28795
|
*/
|
|
28483
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28484
|
-
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28796
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28797
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28485
28798
|
},
|
|
28486
28799
|
/**
|
|
28487
28800
|
*
|
|
@@ -28498,11 +28811,12 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28498
28811
|
* @summary Get Department.
|
|
28499
28812
|
* @param {string} specialtyTypeId
|
|
28500
28813
|
* @param {string} [languageCode]
|
|
28814
|
+
* @param {boolean} [returnDefaultValue]
|
|
28501
28815
|
* @param {*} [options] Override http request option.
|
|
28502
28816
|
* @throws {RequiredError}
|
|
28503
28817
|
*/
|
|
28504
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28505
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28818
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28819
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28506
28820
|
},
|
|
28507
28821
|
/**
|
|
28508
28822
|
*
|
|
@@ -28600,6 +28914,7 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28600
28914
|
* @param {string} [languageCode]
|
|
28601
28915
|
* @param {Array<string>} [ids]
|
|
28602
28916
|
* @param {string} [specialtyTypeCategoryId]
|
|
28917
|
+
* @param {boolean} [returnDefaultValue]
|
|
28603
28918
|
* @param {number} [page]
|
|
28604
28919
|
* @param {number} [limit]
|
|
28605
28920
|
* @param {Date} [lastRetrieved]
|
|
@@ -28607,9 +28922,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28607
28922
|
* @throws {RequiredError}
|
|
28608
28923
|
* @memberof SpecialtyTypesApi
|
|
28609
28924
|
*/
|
|
28610
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28925
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28611
28926
|
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); });
|
|
28927
|
+
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
28928
|
};
|
|
28614
28929
|
/**
|
|
28615
28930
|
*
|
|
@@ -28623,18 +28938,43 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28623
28938
|
var _this = this;
|
|
28624
28939
|
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28625
28940
|
};
|
|
28941
|
+
/**
|
|
28942
|
+
*
|
|
28943
|
+
* @summary Get all Hospitals.
|
|
28944
|
+
* @param {string} [id]
|
|
28945
|
+
* @param {string} [name]
|
|
28946
|
+
* @param {string} [description]
|
|
28947
|
+
* @param {MarketingType} [marketingType]
|
|
28948
|
+
* @param {string} [hospitalId]
|
|
28949
|
+
* @param {Date} [created]
|
|
28950
|
+
* @param {string} [languageCode]
|
|
28951
|
+
* @param {Array<string>} [ids]
|
|
28952
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28953
|
+
* @param {boolean} [returnDefaultValue]
|
|
28954
|
+
* @param {number} [page]
|
|
28955
|
+
* @param {number} [limit]
|
|
28956
|
+
* @param {Date} [lastRetrieved]
|
|
28957
|
+
* @param {*} [options] Override http request option.
|
|
28958
|
+
* @throws {RequiredError}
|
|
28959
|
+
* @memberof SpecialtyTypesApi
|
|
28960
|
+
*/
|
|
28961
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28962
|
+
var _this = this;
|
|
28963
|
+
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); });
|
|
28964
|
+
};
|
|
28626
28965
|
/**
|
|
28627
28966
|
*
|
|
28628
28967
|
* @summary Get Department by slug.
|
|
28629
28968
|
* @param {string} slug
|
|
28630
28969
|
* @param {string} [languageCode]
|
|
28970
|
+
* @param {boolean} [returnDefaultValue]
|
|
28631
28971
|
* @param {*} [options] Override http request option.
|
|
28632
28972
|
* @throws {RequiredError}
|
|
28633
28973
|
* @memberof SpecialtyTypesApi
|
|
28634
28974
|
*/
|
|
28635
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, options) {
|
|
28975
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
28636
28976
|
var _this = this;
|
|
28637
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28977
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28638
28978
|
};
|
|
28639
28979
|
/**
|
|
28640
28980
|
*
|
|
@@ -28653,13 +28993,14 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28653
28993
|
* @summary Get Department.
|
|
28654
28994
|
* @param {string} specialtyTypeId
|
|
28655
28995
|
* @param {string} [languageCode]
|
|
28996
|
+
* @param {boolean} [returnDefaultValue]
|
|
28656
28997
|
* @param {*} [options] Override http request option.
|
|
28657
28998
|
* @throws {RequiredError}
|
|
28658
28999
|
* @memberof SpecialtyTypesApi
|
|
28659
29000
|
*/
|
|
28660
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, options) {
|
|
29001
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28661
29002
|
var _this = this;
|
|
28662
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29003
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28663
29004
|
};
|
|
28664
29005
|
/**
|
|
28665
29006
|
*
|