ch-admin-api-client-typescript 2.5.5 → 2.6.0
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 +557 -146
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +635 -217
- package/package.json +1 -1
- package/src/api.ts +882 -240
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));
|
|
@@ -6153,13 +6174,14 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6153
6174
|
* @param {boolean} [isOpen]
|
|
6154
6175
|
* @param {boolean} [isCompleted]
|
|
6155
6176
|
* @param {ConsultationStatus} [status]
|
|
6177
|
+
* @param {ConsultationType} [consultationType]
|
|
6156
6178
|
* @param {number} [page]
|
|
6157
6179
|
* @param {number} [limit]
|
|
6158
6180
|
* @param {Date} [lastRetrieved]
|
|
6159
6181
|
* @param {*} [options] Override http request option.
|
|
6160
6182
|
* @throws {RequiredError}
|
|
6161
6183
|
*/
|
|
6162
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options) {
|
|
6184
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6163
6185
|
if (options === void 0) { options = {}; }
|
|
6164
6186
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6165
6187
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6193,6 +6215,9 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6193
6215
|
if (status !== undefined) {
|
|
6194
6216
|
localVarQueryParameter['Status'] = status;
|
|
6195
6217
|
}
|
|
6218
|
+
if (consultationType !== undefined) {
|
|
6219
|
+
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
6220
|
+
}
|
|
6196
6221
|
if (page !== undefined) {
|
|
6197
6222
|
localVarQueryParameter['page'] = page;
|
|
6198
6223
|
}
|
|
@@ -6333,18 +6358,19 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
6333
6358
|
* @param {boolean} [isOpen]
|
|
6334
6359
|
* @param {boolean} [isCompleted]
|
|
6335
6360
|
* @param {ConsultationStatus} [status]
|
|
6361
|
+
* @param {ConsultationType} [consultationType]
|
|
6336
6362
|
* @param {number} [page]
|
|
6337
6363
|
* @param {number} [limit]
|
|
6338
6364
|
* @param {Date} [lastRetrieved]
|
|
6339
6365
|
* @param {*} [options] Override http request option.
|
|
6340
6366
|
* @throws {RequiredError}
|
|
6341
6367
|
*/
|
|
6342
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options) {
|
|
6368
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6343
6369
|
return __awaiter(this, void 0, void 0, function () {
|
|
6344
6370
|
var localVarAxiosArgs;
|
|
6345
6371
|
return __generator(this, function (_a) {
|
|
6346
6372
|
switch (_a.label) {
|
|
6347
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options)];
|
|
6373
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options)];
|
|
6348
6374
|
case 1:
|
|
6349
6375
|
localVarAxiosArgs = _a.sent();
|
|
6350
6376
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6420,14 +6446,15 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6420
6446
|
* @param {boolean} [isOpen]
|
|
6421
6447
|
* @param {boolean} [isCompleted]
|
|
6422
6448
|
* @param {ConsultationStatus} [status]
|
|
6449
|
+
* @param {ConsultationType} [consultationType]
|
|
6423
6450
|
* @param {number} [page]
|
|
6424
6451
|
* @param {number} [limit]
|
|
6425
6452
|
* @param {Date} [lastRetrieved]
|
|
6426
6453
|
* @param {*} [options] Override http request option.
|
|
6427
6454
|
* @throws {RequiredError}
|
|
6428
6455
|
*/
|
|
6429
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options) {
|
|
6430
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6456
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6457
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6431
6458
|
},
|
|
6432
6459
|
};
|
|
6433
6460
|
};
|
|
@@ -6511,6 +6538,7 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
6511
6538
|
* @param {boolean} [isOpen]
|
|
6512
6539
|
* @param {boolean} [isCompleted]
|
|
6513
6540
|
* @param {ConsultationStatus} [status]
|
|
6541
|
+
* @param {ConsultationType} [consultationType]
|
|
6514
6542
|
* @param {number} [page]
|
|
6515
6543
|
* @param {number} [limit]
|
|
6516
6544
|
* @param {Date} [lastRetrieved]
|
|
@@ -6518,9 +6546,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
6518
6546
|
* @throws {RequiredError}
|
|
6519
6547
|
* @memberof ConsultationsApi
|
|
6520
6548
|
*/
|
|
6521
|
-
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options) {
|
|
6549
|
+
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options) {
|
|
6522
6550
|
var _this = this;
|
|
6523
|
-
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6551
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6524
6552
|
};
|
|
6525
6553
|
return ConsultationsApi;
|
|
6526
6554
|
}(base_1.BaseAPI));
|
|
@@ -6939,9 +6967,9 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6939
6967
|
* @param {string} [email]
|
|
6940
6968
|
* @param {string} [description]
|
|
6941
6969
|
* @param {string} [website]
|
|
6942
|
-
* @param {string} [languageCode]
|
|
6943
6970
|
* @param {string} [hospitalId]
|
|
6944
6971
|
* @param {boolean} [interviewerOnly]
|
|
6972
|
+
* @param {string} [languageCode]
|
|
6945
6973
|
* @param {boolean} [showHidden]
|
|
6946
6974
|
* @param {number} [page]
|
|
6947
6975
|
* @param {number} [limit]
|
|
@@ -6949,7 +6977,7 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6949
6977
|
* @param {*} [options] Override http request option.
|
|
6950
6978
|
* @throws {RequiredError}
|
|
6951
6979
|
*/
|
|
6952
|
-
apiV1ContributorsGet: function (id, name, email, description, website,
|
|
6980
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
6953
6981
|
if (options === void 0) { options = {}; }
|
|
6954
6982
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6955
6983
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6986,15 +7014,15 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6986
7014
|
if (website !== undefined) {
|
|
6987
7015
|
localVarQueryParameter['Website'] = website;
|
|
6988
7016
|
}
|
|
6989
|
-
if (languageCode !== undefined) {
|
|
6990
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6991
|
-
}
|
|
6992
7017
|
if (hospitalId !== undefined) {
|
|
6993
7018
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
6994
7019
|
}
|
|
6995
7020
|
if (interviewerOnly !== undefined) {
|
|
6996
7021
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
6997
7022
|
}
|
|
7023
|
+
if (languageCode !== undefined) {
|
|
7024
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7025
|
+
}
|
|
6998
7026
|
if (showHidden !== undefined) {
|
|
6999
7027
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7000
7028
|
}
|
|
@@ -7300,9 +7328,9 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
7300
7328
|
* @param {string} [email]
|
|
7301
7329
|
* @param {string} [description]
|
|
7302
7330
|
* @param {string} [website]
|
|
7303
|
-
* @param {string} [languageCode]
|
|
7304
7331
|
* @param {string} [hospitalId]
|
|
7305
7332
|
* @param {boolean} [interviewerOnly]
|
|
7333
|
+
* @param {string} [languageCode]
|
|
7306
7334
|
* @param {boolean} [showHidden]
|
|
7307
7335
|
* @param {number} [page]
|
|
7308
7336
|
* @param {number} [limit]
|
|
@@ -7310,12 +7338,12 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
7310
7338
|
* @param {*} [options] Override http request option.
|
|
7311
7339
|
* @throws {RequiredError}
|
|
7312
7340
|
*/
|
|
7313
|
-
apiV1ContributorsGet: function (id, name, email, description, website,
|
|
7341
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7314
7342
|
return __awaiter(this, void 0, void 0, function () {
|
|
7315
7343
|
var localVarAxiosArgs;
|
|
7316
7344
|
return __generator(this, function (_a) {
|
|
7317
7345
|
switch (_a.label) {
|
|
7318
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website,
|
|
7346
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
7319
7347
|
case 1:
|
|
7320
7348
|
localVarAxiosArgs = _a.sent();
|
|
7321
7349
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7475,9 +7503,9 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7475
7503
|
* @param {string} [email]
|
|
7476
7504
|
* @param {string} [description]
|
|
7477
7505
|
* @param {string} [website]
|
|
7478
|
-
* @param {string} [languageCode]
|
|
7479
7506
|
* @param {string} [hospitalId]
|
|
7480
7507
|
* @param {boolean} [interviewerOnly]
|
|
7508
|
+
* @param {string} [languageCode]
|
|
7481
7509
|
* @param {boolean} [showHidden]
|
|
7482
7510
|
* @param {number} [page]
|
|
7483
7511
|
* @param {number} [limit]
|
|
@@ -7485,8 +7513,8 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7485
7513
|
* @param {*} [options] Override http request option.
|
|
7486
7514
|
* @throws {RequiredError}
|
|
7487
7515
|
*/
|
|
7488
|
-
apiV1ContributorsGet: function (id, name, email, description, website,
|
|
7489
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website,
|
|
7516
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7517
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7490
7518
|
},
|
|
7491
7519
|
/**
|
|
7492
7520
|
*
|
|
@@ -7640,9 +7668,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7640
7668
|
* @param {string} [email]
|
|
7641
7669
|
* @param {string} [description]
|
|
7642
7670
|
* @param {string} [website]
|
|
7643
|
-
* @param {string} [languageCode]
|
|
7644
7671
|
* @param {string} [hospitalId]
|
|
7645
7672
|
* @param {boolean} [interviewerOnly]
|
|
7673
|
+
* @param {string} [languageCode]
|
|
7646
7674
|
* @param {boolean} [showHidden]
|
|
7647
7675
|
* @param {number} [page]
|
|
7648
7676
|
* @param {number} [limit]
|
|
@@ -7651,9 +7679,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7651
7679
|
* @throws {RequiredError}
|
|
7652
7680
|
* @memberof ContributorsApi
|
|
7653
7681
|
*/
|
|
7654
|
-
ContributorsApi.prototype.apiV1ContributorsGet = function (id, name, email, description, website,
|
|
7682
|
+
ContributorsApi.prototype.apiV1ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7655
7683
|
var _this = this;
|
|
7656
|
-
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website,
|
|
7684
|
+
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7657
7685
|
};
|
|
7658
7686
|
/**
|
|
7659
7687
|
*
|
|
@@ -7738,10 +7766,11 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
7738
7766
|
* @summary Get country.
|
|
7739
7767
|
* @param {string} countryId
|
|
7740
7768
|
* @param {string} [languageCode]
|
|
7769
|
+
* @param {boolean} [returnDefaultValue]
|
|
7741
7770
|
* @param {*} [options] Override http request option.
|
|
7742
7771
|
* @throws {RequiredError}
|
|
7743
7772
|
*/
|
|
7744
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
7773
|
+
apiV1CountriesCountryIdGet: function (countryId, languageCode, returnDefaultValue, options) {
|
|
7745
7774
|
if (options === void 0) { options = {}; }
|
|
7746
7775
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7747
7776
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7769,6 +7798,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
7769
7798
|
if (languageCode !== undefined) {
|
|
7770
7799
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
7771
7800
|
}
|
|
7801
|
+
if (returnDefaultValue !== undefined) {
|
|
7802
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
7803
|
+
}
|
|
7772
7804
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7773
7805
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7774
7806
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8133,13 +8165,14 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8133
8165
|
* @param {Date} [createdDate]
|
|
8134
8166
|
* @param {string} [languageCode]
|
|
8135
8167
|
* @param {boolean} [showHidden]
|
|
8168
|
+
* @param {boolean} [returnDefaultValue]
|
|
8136
8169
|
* @param {number} [page]
|
|
8137
8170
|
* @param {number} [limit]
|
|
8138
8171
|
* @param {Date} [lastRetrieved]
|
|
8139
8172
|
* @param {*} [options] Override http request option.
|
|
8140
8173
|
* @throws {RequiredError}
|
|
8141
8174
|
*/
|
|
8142
|
-
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) {
|
|
8143
8176
|
if (options === void 0) { options = {}; }
|
|
8144
8177
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8145
8178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8181,6 +8214,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8181
8214
|
if (showHidden !== undefined) {
|
|
8182
8215
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
8183
8216
|
}
|
|
8217
|
+
if (returnDefaultValue !== undefined) {
|
|
8218
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8219
|
+
}
|
|
8184
8220
|
if (page !== undefined) {
|
|
8185
8221
|
localVarQueryParameter['page'] = page;
|
|
8186
8222
|
}
|
|
@@ -8250,10 +8286,11 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8250
8286
|
* @summary Get country by slug.
|
|
8251
8287
|
* @param {string} slug
|
|
8252
8288
|
* @param {string} [languageCode]
|
|
8289
|
+
* @param {boolean} [returnDefaultValue]
|
|
8253
8290
|
* @param {*} [options] Override http request option.
|
|
8254
8291
|
* @throws {RequiredError}
|
|
8255
8292
|
*/
|
|
8256
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8293
|
+
apiV1CountriesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8257
8294
|
if (options === void 0) { options = {}; }
|
|
8258
8295
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8259
8296
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8281,6 +8318,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8281
8318
|
if (languageCode !== undefined) {
|
|
8282
8319
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
8283
8320
|
}
|
|
8321
|
+
if (returnDefaultValue !== undefined) {
|
|
8322
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
8323
|
+
}
|
|
8284
8324
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8285
8325
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8286
8326
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8326,15 +8366,16 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8326
8366
|
* @summary Get country.
|
|
8327
8367
|
* @param {string} countryId
|
|
8328
8368
|
* @param {string} [languageCode]
|
|
8369
|
+
* @param {boolean} [returnDefaultValue]
|
|
8329
8370
|
* @param {*} [options] Override http request option.
|
|
8330
8371
|
* @throws {RequiredError}
|
|
8331
8372
|
*/
|
|
8332
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
8373
|
+
apiV1CountriesCountryIdGet: function (countryId, languageCode, returnDefaultValue, options) {
|
|
8333
8374
|
return __awaiter(this, void 0, void 0, function () {
|
|
8334
8375
|
var localVarAxiosArgs;
|
|
8335
8376
|
return __generator(this, function (_a) {
|
|
8336
8377
|
switch (_a.label) {
|
|
8337
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, options)];
|
|
8378
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options)];
|
|
8338
8379
|
case 1:
|
|
8339
8380
|
localVarAxiosArgs = _a.sent();
|
|
8340
8381
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8502,18 +8543,19 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8502
8543
|
* @param {Date} [createdDate]
|
|
8503
8544
|
* @param {string} [languageCode]
|
|
8504
8545
|
* @param {boolean} [showHidden]
|
|
8546
|
+
* @param {boolean} [returnDefaultValue]
|
|
8505
8547
|
* @param {number} [page]
|
|
8506
8548
|
* @param {number} [limit]
|
|
8507
8549
|
* @param {Date} [lastRetrieved]
|
|
8508
8550
|
* @param {*} [options] Override http request option.
|
|
8509
8551
|
* @throws {RequiredError}
|
|
8510
8552
|
*/
|
|
8511
|
-
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) {
|
|
8512
8554
|
return __awaiter(this, void 0, void 0, function () {
|
|
8513
8555
|
var localVarAxiosArgs;
|
|
8514
8556
|
return __generator(this, function (_a) {
|
|
8515
8557
|
switch (_a.label) {
|
|
8516
|
-
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)];
|
|
8517
8559
|
case 1:
|
|
8518
8560
|
localVarAxiosArgs = _a.sent();
|
|
8519
8561
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8546,15 +8588,16 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8546
8588
|
* @summary Get country by slug.
|
|
8547
8589
|
* @param {string} slug
|
|
8548
8590
|
* @param {string} [languageCode]
|
|
8591
|
+
* @param {boolean} [returnDefaultValue]
|
|
8549
8592
|
* @param {*} [options] Override http request option.
|
|
8550
8593
|
* @throws {RequiredError}
|
|
8551
8594
|
*/
|
|
8552
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8595
|
+
apiV1CountriesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
8553
8596
|
return __awaiter(this, void 0, void 0, function () {
|
|
8554
8597
|
var localVarAxiosArgs;
|
|
8555
8598
|
return __generator(this, function (_a) {
|
|
8556
8599
|
switch (_a.label) {
|
|
8557
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, options)];
|
|
8600
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
8558
8601
|
case 1:
|
|
8559
8602
|
localVarAxiosArgs = _a.sent();
|
|
8560
8603
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8586,11 +8629,12 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8586
8629
|
* @summary Get country.
|
|
8587
8630
|
* @param {string} countryId
|
|
8588
8631
|
* @param {string} [languageCode]
|
|
8632
|
+
* @param {boolean} [returnDefaultValue]
|
|
8589
8633
|
* @param {*} [options] Override http request option.
|
|
8590
8634
|
* @throws {RequiredError}
|
|
8591
8635
|
*/
|
|
8592
|
-
apiV1CountriesCountryIdGet: function (countryId, languageCode, options) {
|
|
8593
|
-
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); });
|
|
8594
8638
|
},
|
|
8595
8639
|
/**
|
|
8596
8640
|
*
|
|
@@ -8682,14 +8726,15 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8682
8726
|
* @param {Date} [createdDate]
|
|
8683
8727
|
* @param {string} [languageCode]
|
|
8684
8728
|
* @param {boolean} [showHidden]
|
|
8729
|
+
* @param {boolean} [returnDefaultValue]
|
|
8685
8730
|
* @param {number} [page]
|
|
8686
8731
|
* @param {number} [limit]
|
|
8687
8732
|
* @param {Date} [lastRetrieved]
|
|
8688
8733
|
* @param {*} [options] Override http request option.
|
|
8689
8734
|
* @throws {RequiredError}
|
|
8690
8735
|
*/
|
|
8691
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8692
|
-
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); });
|
|
8693
8738
|
},
|
|
8694
8739
|
/**
|
|
8695
8740
|
*
|
|
@@ -8706,11 +8751,12 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8706
8751
|
* @summary Get country by slug.
|
|
8707
8752
|
* @param {string} slug
|
|
8708
8753
|
* @param {string} [languageCode]
|
|
8754
|
+
* @param {boolean} [returnDefaultValue]
|
|
8709
8755
|
* @param {*} [options] Override http request option.
|
|
8710
8756
|
* @throws {RequiredError}
|
|
8711
8757
|
*/
|
|
8712
|
-
apiV1CountriesSlugGet: function (slug, languageCode, options) {
|
|
8713
|
-
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); });
|
|
8714
8760
|
},
|
|
8715
8761
|
};
|
|
8716
8762
|
};
|
|
@@ -8742,13 +8788,14 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8742
8788
|
* @summary Get country.
|
|
8743
8789
|
* @param {string} countryId
|
|
8744
8790
|
* @param {string} [languageCode]
|
|
8791
|
+
* @param {boolean} [returnDefaultValue]
|
|
8745
8792
|
* @param {*} [options] Override http request option.
|
|
8746
8793
|
* @throws {RequiredError}
|
|
8747
8794
|
* @memberof CountriesApi
|
|
8748
8795
|
*/
|
|
8749
|
-
CountriesApi.prototype.apiV1CountriesCountryIdGet = function (countryId, languageCode, options) {
|
|
8796
|
+
CountriesApi.prototype.apiV1CountriesCountryIdGet = function (countryId, languageCode, returnDefaultValue, options) {
|
|
8750
8797
|
var _this = this;
|
|
8751
|
-
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); });
|
|
8752
8799
|
};
|
|
8753
8800
|
/**
|
|
8754
8801
|
*
|
|
@@ -8854,6 +8901,7 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8854
8901
|
* @param {Date} [createdDate]
|
|
8855
8902
|
* @param {string} [languageCode]
|
|
8856
8903
|
* @param {boolean} [showHidden]
|
|
8904
|
+
* @param {boolean} [returnDefaultValue]
|
|
8857
8905
|
* @param {number} [page]
|
|
8858
8906
|
* @param {number} [limit]
|
|
8859
8907
|
* @param {Date} [lastRetrieved]
|
|
@@ -8861,9 +8909,9 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8861
8909
|
* @throws {RequiredError}
|
|
8862
8910
|
* @memberof CountriesApi
|
|
8863
8911
|
*/
|
|
8864
|
-
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) {
|
|
8865
8913
|
var _this = this;
|
|
8866
|
-
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); });
|
|
8867
8915
|
};
|
|
8868
8916
|
/**
|
|
8869
8917
|
*
|
|
@@ -8882,13 +8930,14 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8882
8930
|
* @summary Get country by slug.
|
|
8883
8931
|
* @param {string} slug
|
|
8884
8932
|
* @param {string} [languageCode]
|
|
8933
|
+
* @param {boolean} [returnDefaultValue]
|
|
8885
8934
|
* @param {*} [options] Override http request option.
|
|
8886
8935
|
* @throws {RequiredError}
|
|
8887
8936
|
* @memberof CountriesApi
|
|
8888
8937
|
*/
|
|
8889
|
-
CountriesApi.prototype.apiV1CountriesSlugGet = function (slug, languageCode, options) {
|
|
8938
|
+
CountriesApi.prototype.apiV1CountriesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
8890
8939
|
var _this = this;
|
|
8891
|
-
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); });
|
|
8892
8941
|
};
|
|
8893
8942
|
return CountriesApi;
|
|
8894
8943
|
}(base_1.BaseAPI));
|
|
@@ -8947,10 +8996,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
8947
8996
|
*
|
|
8948
8997
|
* @summary Get deal.
|
|
8949
8998
|
* @param {string} dealId
|
|
8999
|
+
* @param {string} [languageCode]
|
|
9000
|
+
* @param {boolean} [returnDefaultValue]
|
|
8950
9001
|
* @param {*} [options] Override http request option.
|
|
8951
9002
|
* @throws {RequiredError}
|
|
8952
9003
|
*/
|
|
8953
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
9004
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
8954
9005
|
if (options === void 0) { options = {}; }
|
|
8955
9006
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8956
9007
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8975,6 +9026,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
8975
9026
|
// authentication oauth2 required
|
|
8976
9027
|
// oauth required
|
|
8977
9028
|
_a.sent();
|
|
9029
|
+
if (languageCode !== undefined) {
|
|
9030
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9031
|
+
}
|
|
9032
|
+
if (returnDefaultValue !== undefined) {
|
|
9033
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9034
|
+
}
|
|
8978
9035
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8979
9036
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8980
9037
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9564,13 +9621,16 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9564
9621
|
* @param {string} [exceptHospitalId]
|
|
9565
9622
|
* @param {string} [exceptDealId]
|
|
9566
9623
|
* @param {Array<string>} [ids]
|
|
9624
|
+
* @param {string} [languageCode]
|
|
9625
|
+
* @param {boolean} [showHidden]
|
|
9626
|
+
* @param {boolean} [returnDefaultValue]
|
|
9567
9627
|
* @param {number} [page]
|
|
9568
9628
|
* @param {number} [limit]
|
|
9569
9629
|
* @param {Date} [lastRetrieved]
|
|
9570
9630
|
* @param {*} [options] Override http request option.
|
|
9571
9631
|
* @throws {RequiredError}
|
|
9572
9632
|
*/
|
|
9573
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
9633
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9574
9634
|
if (options === void 0) { options = {}; }
|
|
9575
9635
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9576
9636
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9625,6 +9685,15 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9625
9685
|
if (ids) {
|
|
9626
9686
|
localVarQueryParameter['Ids'] = ids;
|
|
9627
9687
|
}
|
|
9688
|
+
if (languageCode !== undefined) {
|
|
9689
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9690
|
+
}
|
|
9691
|
+
if (showHidden !== undefined) {
|
|
9692
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9693
|
+
}
|
|
9694
|
+
if (returnDefaultValue !== undefined) {
|
|
9695
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9696
|
+
}
|
|
9628
9697
|
if (page !== undefined) {
|
|
9629
9698
|
localVarQueryParameter['page'] = page;
|
|
9630
9699
|
}
|
|
@@ -9693,10 +9762,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9693
9762
|
*
|
|
9694
9763
|
* @summary Get deal by slug.
|
|
9695
9764
|
* @param {string} slug
|
|
9765
|
+
* @param {string} [languageCode]
|
|
9766
|
+
* @param {boolean} [returnDefaultValue]
|
|
9696
9767
|
* @param {*} [options] Override http request option.
|
|
9697
9768
|
* @throws {RequiredError}
|
|
9698
9769
|
*/
|
|
9699
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
9770
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
9700
9771
|
if (options === void 0) { options = {}; }
|
|
9701
9772
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9702
9773
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9721,6 +9792,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9721
9792
|
// authentication oauth2 required
|
|
9722
9793
|
// oauth required
|
|
9723
9794
|
_a.sent();
|
|
9795
|
+
if (languageCode !== undefined) {
|
|
9796
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9797
|
+
}
|
|
9798
|
+
if (returnDefaultValue !== undefined) {
|
|
9799
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9800
|
+
}
|
|
9724
9801
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9725
9802
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9726
9803
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9765,15 +9842,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
9765
9842
|
*
|
|
9766
9843
|
* @summary Get deal.
|
|
9767
9844
|
* @param {string} dealId
|
|
9845
|
+
* @param {string} [languageCode]
|
|
9846
|
+
* @param {boolean} [returnDefaultValue]
|
|
9768
9847
|
* @param {*} [options] Override http request option.
|
|
9769
9848
|
* @throws {RequiredError}
|
|
9770
9849
|
*/
|
|
9771
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
9850
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
9772
9851
|
return __awaiter(this, void 0, void 0, function () {
|
|
9773
9852
|
var localVarAxiosArgs;
|
|
9774
9853
|
return __generator(this, function (_a) {
|
|
9775
9854
|
switch (_a.label) {
|
|
9776
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, options)];
|
|
9855
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options)];
|
|
9777
9856
|
case 1:
|
|
9778
9857
|
localVarAxiosArgs = _a.sent();
|
|
9779
9858
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10038,18 +10117,21 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10038
10117
|
* @param {string} [exceptHospitalId]
|
|
10039
10118
|
* @param {string} [exceptDealId]
|
|
10040
10119
|
* @param {Array<string>} [ids]
|
|
10120
|
+
* @param {string} [languageCode]
|
|
10121
|
+
* @param {boolean} [showHidden]
|
|
10122
|
+
* @param {boolean} [returnDefaultValue]
|
|
10041
10123
|
* @param {number} [page]
|
|
10042
10124
|
* @param {number} [limit]
|
|
10043
10125
|
* @param {Date} [lastRetrieved]
|
|
10044
10126
|
* @param {*} [options] Override http request option.
|
|
10045
10127
|
* @throws {RequiredError}
|
|
10046
10128
|
*/
|
|
10047
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10129
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10048
10130
|
return __awaiter(this, void 0, void 0, function () {
|
|
10049
10131
|
var localVarAxiosArgs;
|
|
10050
10132
|
return __generator(this, function (_a) {
|
|
10051
10133
|
switch (_a.label) {
|
|
10052
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options)];
|
|
10134
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10053
10135
|
case 1:
|
|
10054
10136
|
localVarAxiosArgs = _a.sent();
|
|
10055
10137
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10081,15 +10163,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10081
10163
|
*
|
|
10082
10164
|
* @summary Get deal by slug.
|
|
10083
10165
|
* @param {string} slug
|
|
10166
|
+
* @param {string} [languageCode]
|
|
10167
|
+
* @param {boolean} [returnDefaultValue]
|
|
10084
10168
|
* @param {*} [options] Override http request option.
|
|
10085
10169
|
* @throws {RequiredError}
|
|
10086
10170
|
*/
|
|
10087
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
10171
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
10088
10172
|
return __awaiter(this, void 0, void 0, function () {
|
|
10089
10173
|
var localVarAxiosArgs;
|
|
10090
10174
|
return __generator(this, function (_a) {
|
|
10091
10175
|
switch (_a.label) {
|
|
10092
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSlugGet(slug, options)];
|
|
10176
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
10093
10177
|
case 1:
|
|
10094
10178
|
localVarAxiosArgs = _a.sent();
|
|
10095
10179
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10120,11 +10204,13 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10120
10204
|
*
|
|
10121
10205
|
* @summary Get deal.
|
|
10122
10206
|
* @param {string} dealId
|
|
10207
|
+
* @param {string} [languageCode]
|
|
10208
|
+
* @param {boolean} [returnDefaultValue]
|
|
10123
10209
|
* @param {*} [options] Override http request option.
|
|
10124
10210
|
* @throws {RequiredError}
|
|
10125
10211
|
*/
|
|
10126
|
-
apiV1DealsDealIdGet: function (dealId, options) {
|
|
10127
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, options).then(function (request) { return request(axios, basePath); });
|
|
10212
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
10213
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10128
10214
|
},
|
|
10129
10215
|
/**
|
|
10130
10216
|
*
|
|
@@ -10273,14 +10359,17 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10273
10359
|
* @param {string} [exceptHospitalId]
|
|
10274
10360
|
* @param {string} [exceptDealId]
|
|
10275
10361
|
* @param {Array<string>} [ids]
|
|
10362
|
+
* @param {string} [languageCode]
|
|
10363
|
+
* @param {boolean} [showHidden]
|
|
10364
|
+
* @param {boolean} [returnDefaultValue]
|
|
10276
10365
|
* @param {number} [page]
|
|
10277
10366
|
* @param {number} [limit]
|
|
10278
10367
|
* @param {Date} [lastRetrieved]
|
|
10279
10368
|
* @param {*} [options] Override http request option.
|
|
10280
10369
|
* @throws {RequiredError}
|
|
10281
10370
|
*/
|
|
10282
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10283
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10371
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10372
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10284
10373
|
},
|
|
10285
10374
|
/**
|
|
10286
10375
|
*
|
|
@@ -10296,11 +10385,13 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10296
10385
|
*
|
|
10297
10386
|
* @summary Get deal by slug.
|
|
10298
10387
|
* @param {string} slug
|
|
10388
|
+
* @param {string} [languageCode]
|
|
10389
|
+
* @param {boolean} [returnDefaultValue]
|
|
10299
10390
|
* @param {*} [options] Override http request option.
|
|
10300
10391
|
* @throws {RequiredError}
|
|
10301
10392
|
*/
|
|
10302
|
-
apiV1DealsSlugGet: function (slug, options) {
|
|
10303
|
-
return localVarFp.apiV1DealsSlugGet(slug, options).then(function (request) { return request(axios, basePath); });
|
|
10393
|
+
apiV1DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
10394
|
+
return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10304
10395
|
},
|
|
10305
10396
|
};
|
|
10306
10397
|
};
|
|
@@ -10331,13 +10422,15 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10331
10422
|
*
|
|
10332
10423
|
* @summary Get deal.
|
|
10333
10424
|
* @param {string} dealId
|
|
10425
|
+
* @param {string} [languageCode]
|
|
10426
|
+
* @param {boolean} [returnDefaultValue]
|
|
10334
10427
|
* @param {*} [options] Override http request option.
|
|
10335
10428
|
* @throws {RequiredError}
|
|
10336
10429
|
* @memberof DealsApi
|
|
10337
10430
|
*/
|
|
10338
|
-
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, options) {
|
|
10431
|
+
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, languageCode, returnDefaultValue, options) {
|
|
10339
10432
|
var _this = this;
|
|
10340
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10433
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10341
10434
|
};
|
|
10342
10435
|
/**
|
|
10343
10436
|
*
|
|
@@ -10508,6 +10601,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10508
10601
|
* @param {string} [exceptHospitalId]
|
|
10509
10602
|
* @param {string} [exceptDealId]
|
|
10510
10603
|
* @param {Array<string>} [ids]
|
|
10604
|
+
* @param {string} [languageCode]
|
|
10605
|
+
* @param {boolean} [showHidden]
|
|
10606
|
+
* @param {boolean} [returnDefaultValue]
|
|
10511
10607
|
* @param {number} [page]
|
|
10512
10608
|
* @param {number} [limit]
|
|
10513
10609
|
* @param {Date} [lastRetrieved]
|
|
@@ -10515,9 +10611,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10515
10611
|
* @throws {RequiredError}
|
|
10516
10612
|
* @memberof DealsApi
|
|
10517
10613
|
*/
|
|
10518
|
-
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
10614
|
+
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10519
10615
|
var _this = this;
|
|
10520
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10616
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10521
10617
|
};
|
|
10522
10618
|
/**
|
|
10523
10619
|
*
|
|
@@ -10535,13 +10631,15 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10535
10631
|
*
|
|
10536
10632
|
* @summary Get deal by slug.
|
|
10537
10633
|
* @param {string} slug
|
|
10634
|
+
* @param {string} [languageCode]
|
|
10635
|
+
* @param {boolean} [returnDefaultValue]
|
|
10538
10636
|
* @param {*} [options] Override http request option.
|
|
10539
10637
|
* @throws {RequiredError}
|
|
10540
10638
|
* @memberof DealsApi
|
|
10541
10639
|
*/
|
|
10542
|
-
DealsApi.prototype.apiV1DealsSlugGet = function (slug, options) {
|
|
10640
|
+
DealsApi.prototype.apiV1DealsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
10543
10641
|
var _this = this;
|
|
10544
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10642
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10545
10643
|
};
|
|
10546
10644
|
return DealsApi;
|
|
10547
10645
|
}(base_1.BaseAPI));
|
|
@@ -11341,10 +11439,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11341
11439
|
* @summary Get Doctor.
|
|
11342
11440
|
* @param {string} doctorId
|
|
11343
11441
|
* @param {string} [languageCode]
|
|
11442
|
+
* @param {boolean} [returnDefaultValue]
|
|
11344
11443
|
* @param {*} [options] Override http request option.
|
|
11345
11444
|
* @throws {RequiredError}
|
|
11346
11445
|
*/
|
|
11347
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
11446
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
11348
11447
|
if (options === void 0) { options = {}; }
|
|
11349
11448
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11350
11449
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11372,6 +11471,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11372
11471
|
if (languageCode !== undefined) {
|
|
11373
11472
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
11374
11473
|
}
|
|
11474
|
+
if (returnDefaultValue !== undefined) {
|
|
11475
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
11476
|
+
}
|
|
11375
11477
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11376
11478
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11377
11479
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12207,6 +12309,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12207
12309
|
* @summary Get all Doctors.
|
|
12208
12310
|
* @param {string} [hospitalId]
|
|
12209
12311
|
* @param {string} [languageCode]
|
|
12312
|
+
* @param {boolean} [returnDefaultValue]
|
|
12210
12313
|
* @param {string} [id]
|
|
12211
12314
|
* @param {string} [fullname]
|
|
12212
12315
|
* @param {string} [email]
|
|
@@ -12220,7 +12323,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12220
12323
|
* @param {*} [options] Override http request option.
|
|
12221
12324
|
* @throws {RequiredError}
|
|
12222
12325
|
*/
|
|
12223
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12326
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12224
12327
|
if (options === void 0) { options = {}; }
|
|
12225
12328
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12226
12329
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12248,6 +12351,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12248
12351
|
if (languageCode !== undefined) {
|
|
12249
12352
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12250
12353
|
}
|
|
12354
|
+
if (returnDefaultValue !== undefined) {
|
|
12355
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12356
|
+
}
|
|
12251
12357
|
if (id !== undefined) {
|
|
12252
12358
|
localVarQueryParameter['Id'] = id;
|
|
12253
12359
|
}
|
|
@@ -12342,10 +12448,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12342
12448
|
* @summary Get Doctor by slug.
|
|
12343
12449
|
* @param {string} slug
|
|
12344
12450
|
* @param {string} [languageCode]
|
|
12451
|
+
* @param {boolean} [returnDefaultValue]
|
|
12345
12452
|
* @param {*} [options] Override http request option.
|
|
12346
12453
|
* @throws {RequiredError}
|
|
12347
12454
|
*/
|
|
12348
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
12455
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
12349
12456
|
if (options === void 0) { options = {}; }
|
|
12350
12457
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12351
12458
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12373,6 +12480,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12373
12480
|
if (languageCode !== undefined) {
|
|
12374
12481
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
12375
12482
|
}
|
|
12483
|
+
if (returnDefaultValue !== undefined) {
|
|
12484
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12485
|
+
}
|
|
12376
12486
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12377
12487
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12378
12488
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12730,15 +12840,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
12730
12840
|
* @summary Get Doctor.
|
|
12731
12841
|
* @param {string} doctorId
|
|
12732
12842
|
* @param {string} [languageCode]
|
|
12843
|
+
* @param {boolean} [returnDefaultValue]
|
|
12733
12844
|
* @param {*} [options] Override http request option.
|
|
12734
12845
|
* @throws {RequiredError}
|
|
12735
12846
|
*/
|
|
12736
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
12847
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
12737
12848
|
return __awaiter(this, void 0, void 0, function () {
|
|
12738
12849
|
var localVarAxiosArgs;
|
|
12739
12850
|
return __generator(this, function (_a) {
|
|
12740
12851
|
switch (_a.label) {
|
|
12741
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options)];
|
|
12852
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options)];
|
|
12742
12853
|
case 1:
|
|
12743
12854
|
localVarAxiosArgs = _a.sent();
|
|
12744
12855
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13104,6 +13215,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13104
13215
|
* @summary Get all Doctors.
|
|
13105
13216
|
* @param {string} [hospitalId]
|
|
13106
13217
|
* @param {string} [languageCode]
|
|
13218
|
+
* @param {boolean} [returnDefaultValue]
|
|
13107
13219
|
* @param {string} [id]
|
|
13108
13220
|
* @param {string} [fullname]
|
|
13109
13221
|
* @param {string} [email]
|
|
@@ -13117,12 +13229,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13117
13229
|
* @param {*} [options] Override http request option.
|
|
13118
13230
|
* @throws {RequiredError}
|
|
13119
13231
|
*/
|
|
13120
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13232
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13121
13233
|
return __awaiter(this, void 0, void 0, function () {
|
|
13122
13234
|
var localVarAxiosArgs;
|
|
13123
13235
|
return __generator(this, function (_a) {
|
|
13124
13236
|
switch (_a.label) {
|
|
13125
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13237
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13126
13238
|
case 1:
|
|
13127
13239
|
localVarAxiosArgs = _a.sent();
|
|
13128
13240
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13155,15 +13267,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13155
13267
|
* @summary Get Doctor by slug.
|
|
13156
13268
|
* @param {string} slug
|
|
13157
13269
|
* @param {string} [languageCode]
|
|
13270
|
+
* @param {boolean} [returnDefaultValue]
|
|
13158
13271
|
* @param {*} [options] Override http request option.
|
|
13159
13272
|
* @throws {RequiredError}
|
|
13160
13273
|
*/
|
|
13161
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13274
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13162
13275
|
return __awaiter(this, void 0, void 0, function () {
|
|
13163
13276
|
var localVarAxiosArgs;
|
|
13164
13277
|
return __generator(this, function (_a) {
|
|
13165
13278
|
switch (_a.label) {
|
|
13166
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, options)];
|
|
13279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
13167
13280
|
case 1:
|
|
13168
13281
|
localVarAxiosArgs = _a.sent();
|
|
13169
13282
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13367,11 +13480,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13367
13480
|
* @summary Get Doctor.
|
|
13368
13481
|
* @param {string} doctorId
|
|
13369
13482
|
* @param {string} [languageCode]
|
|
13483
|
+
* @param {boolean} [returnDefaultValue]
|
|
13370
13484
|
* @param {*} [options] Override http request option.
|
|
13371
13485
|
* @throws {RequiredError}
|
|
13372
13486
|
*/
|
|
13373
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
13374
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13487
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13488
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13375
13489
|
},
|
|
13376
13490
|
/**
|
|
13377
13491
|
*
|
|
@@ -13571,6 +13685,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13571
13685
|
* @summary Get all Doctors.
|
|
13572
13686
|
* @param {string} [hospitalId]
|
|
13573
13687
|
* @param {string} [languageCode]
|
|
13688
|
+
* @param {boolean} [returnDefaultValue]
|
|
13574
13689
|
* @param {string} [id]
|
|
13575
13690
|
* @param {string} [fullname]
|
|
13576
13691
|
* @param {string} [email]
|
|
@@ -13584,8 +13699,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13584
13699
|
* @param {*} [options] Override http request option.
|
|
13585
13700
|
* @throws {RequiredError}
|
|
13586
13701
|
*/
|
|
13587
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13588
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13702
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13703
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13589
13704
|
},
|
|
13590
13705
|
/**
|
|
13591
13706
|
*
|
|
@@ -13602,11 +13717,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13602
13717
|
* @summary Get Doctor by slug.
|
|
13603
13718
|
* @param {string} slug
|
|
13604
13719
|
* @param {string} [languageCode]
|
|
13720
|
+
* @param {boolean} [returnDefaultValue]
|
|
13605
13721
|
* @param {*} [options] Override http request option.
|
|
13606
13722
|
* @throws {RequiredError}
|
|
13607
13723
|
*/
|
|
13608
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, options) {
|
|
13609
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13724
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
13725
|
+
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
13610
13726
|
},
|
|
13611
13727
|
};
|
|
13612
13728
|
};
|
|
@@ -13838,13 +13954,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
13838
13954
|
* @summary Get Doctor.
|
|
13839
13955
|
* @param {string} doctorId
|
|
13840
13956
|
* @param {string} [languageCode]
|
|
13957
|
+
* @param {boolean} [returnDefaultValue]
|
|
13841
13958
|
* @param {*} [options] Override http request option.
|
|
13842
13959
|
* @throws {RequiredError}
|
|
13843
13960
|
* @memberof DoctorsApi
|
|
13844
13961
|
*/
|
|
13845
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, options) {
|
|
13962
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, returnDefaultValue, options) {
|
|
13846
13963
|
var _this = this;
|
|
13847
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13964
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13848
13965
|
};
|
|
13849
13966
|
/**
|
|
13850
13967
|
*
|
|
@@ -14076,6 +14193,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14076
14193
|
* @summary Get all Doctors.
|
|
14077
14194
|
* @param {string} [hospitalId]
|
|
14078
14195
|
* @param {string} [languageCode]
|
|
14196
|
+
* @param {boolean} [returnDefaultValue]
|
|
14079
14197
|
* @param {string} [id]
|
|
14080
14198
|
* @param {string} [fullname]
|
|
14081
14199
|
* @param {string} [email]
|
|
@@ -14090,9 +14208,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14090
14208
|
* @throws {RequiredError}
|
|
14091
14209
|
* @memberof DoctorsApi
|
|
14092
14210
|
*/
|
|
14093
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14211
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14094
14212
|
var _this = this;
|
|
14095
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14213
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14096
14214
|
};
|
|
14097
14215
|
/**
|
|
14098
14216
|
*
|
|
@@ -14111,13 +14229,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14111
14229
|
* @summary Get Doctor by slug.
|
|
14112
14230
|
* @param {string} slug
|
|
14113
14231
|
* @param {string} [languageCode]
|
|
14232
|
+
* @param {boolean} [returnDefaultValue]
|
|
14114
14233
|
* @param {*} [options] Override http request option.
|
|
14115
14234
|
* @throws {RequiredError}
|
|
14116
14235
|
* @memberof DoctorsApi
|
|
14117
14236
|
*/
|
|
14118
|
-
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, options) {
|
|
14237
|
+
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
14119
14238
|
var _this = this;
|
|
14120
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14239
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14121
14240
|
};
|
|
14122
14241
|
return DoctorsApi;
|
|
14123
14242
|
}(base_1.BaseAPI));
|
|
@@ -15825,14 +15944,17 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
15825
15944
|
* @param {string} [title]
|
|
15826
15945
|
* @param {string} [content]
|
|
15827
15946
|
* @param {string} [categoryId]
|
|
15947
|
+
* @param {string} [hospitalId]
|
|
15948
|
+
* @param {string} [hospitalName]
|
|
15828
15949
|
* @param {string} [languageCode]
|
|
15950
|
+
* @param {boolean} [showHidden]
|
|
15829
15951
|
* @param {number} [page]
|
|
15830
15952
|
* @param {number} [limit]
|
|
15831
15953
|
* @param {Date} [lastRetrieved]
|
|
15832
15954
|
* @param {*} [options] Override http request option.
|
|
15833
15955
|
* @throws {RequiredError}
|
|
15834
15956
|
*/
|
|
15835
|
-
apiV1FaqsGet: function (id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options) {
|
|
15957
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
15836
15958
|
if (options === void 0) { options = {}; }
|
|
15837
15959
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15838
15960
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15866,9 +15988,18 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
15866
15988
|
if (categoryId !== undefined) {
|
|
15867
15989
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
15868
15990
|
}
|
|
15991
|
+
if (hospitalId !== undefined) {
|
|
15992
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15993
|
+
}
|
|
15994
|
+
if (hospitalName !== undefined) {
|
|
15995
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
15996
|
+
}
|
|
15869
15997
|
if (languageCode !== undefined) {
|
|
15870
15998
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15871
15999
|
}
|
|
16000
|
+
if (showHidden !== undefined) {
|
|
16001
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
16002
|
+
}
|
|
15872
16003
|
if (page !== undefined) {
|
|
15873
16004
|
localVarQueryParameter['page'] = page;
|
|
15874
16005
|
}
|
|
@@ -16168,19 +16299,22 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
16168
16299
|
* @param {string} [title]
|
|
16169
16300
|
* @param {string} [content]
|
|
16170
16301
|
* @param {string} [categoryId]
|
|
16302
|
+
* @param {string} [hospitalId]
|
|
16303
|
+
* @param {string} [hospitalName]
|
|
16171
16304
|
* @param {string} [languageCode]
|
|
16305
|
+
* @param {boolean} [showHidden]
|
|
16172
16306
|
* @param {number} [page]
|
|
16173
16307
|
* @param {number} [limit]
|
|
16174
16308
|
* @param {Date} [lastRetrieved]
|
|
16175
16309
|
* @param {*} [options] Override http request option.
|
|
16176
16310
|
* @throws {RequiredError}
|
|
16177
16311
|
*/
|
|
16178
|
-
apiV1FaqsGet: function (id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options) {
|
|
16312
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16179
16313
|
return __awaiter(this, void 0, void 0, function () {
|
|
16180
16314
|
var localVarAxiosArgs;
|
|
16181
16315
|
return __generator(this, function (_a) {
|
|
16182
16316
|
switch (_a.label) {
|
|
16183
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options)];
|
|
16317
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
16184
16318
|
case 1:
|
|
16185
16319
|
localVarAxiosArgs = _a.sent();
|
|
16186
16320
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16337,15 +16471,18 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
16337
16471
|
* @param {string} [title]
|
|
16338
16472
|
* @param {string} [content]
|
|
16339
16473
|
* @param {string} [categoryId]
|
|
16474
|
+
* @param {string} [hospitalId]
|
|
16475
|
+
* @param {string} [hospitalName]
|
|
16340
16476
|
* @param {string} [languageCode]
|
|
16477
|
+
* @param {boolean} [showHidden]
|
|
16341
16478
|
* @param {number} [page]
|
|
16342
16479
|
* @param {number} [limit]
|
|
16343
16480
|
* @param {Date} [lastRetrieved]
|
|
16344
16481
|
* @param {*} [options] Override http request option.
|
|
16345
16482
|
* @throws {RequiredError}
|
|
16346
16483
|
*/
|
|
16347
|
-
apiV1FaqsGet: function (id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options) {
|
|
16348
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16484
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16485
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16349
16486
|
},
|
|
16350
16487
|
/**
|
|
16351
16488
|
*
|
|
@@ -16496,7 +16633,10 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
16496
16633
|
* @param {string} [title]
|
|
16497
16634
|
* @param {string} [content]
|
|
16498
16635
|
* @param {string} [categoryId]
|
|
16636
|
+
* @param {string} [hospitalId]
|
|
16637
|
+
* @param {string} [hospitalName]
|
|
16499
16638
|
* @param {string} [languageCode]
|
|
16639
|
+
* @param {boolean} [showHidden]
|
|
16500
16640
|
* @param {number} [page]
|
|
16501
16641
|
* @param {number} [limit]
|
|
16502
16642
|
* @param {Date} [lastRetrieved]
|
|
@@ -16504,9 +16644,9 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
16504
16644
|
* @throws {RequiredError}
|
|
16505
16645
|
* @memberof FaqsApi
|
|
16506
16646
|
*/
|
|
16507
|
-
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options) {
|
|
16647
|
+
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16508
16648
|
var _this = this;
|
|
16509
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16649
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16510
16650
|
};
|
|
16511
16651
|
/**
|
|
16512
16652
|
*
|
|
@@ -16559,13 +16699,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16559
16699
|
* @param {boolean} [showHidden]
|
|
16560
16700
|
* @param {string} [languageCode]
|
|
16561
16701
|
* @param {Array<string>} [ids]
|
|
16702
|
+
* @param {boolean} [returnDefaultValue]
|
|
16562
16703
|
* @param {number} [page]
|
|
16563
16704
|
* @param {number} [limit]
|
|
16564
16705
|
* @param {Date} [lastRetrieved]
|
|
16565
16706
|
* @param {*} [options] Override http request option.
|
|
16566
16707
|
* @throws {RequiredError}
|
|
16567
16708
|
*/
|
|
16568
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
16709
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16569
16710
|
if (options === void 0) { options = {}; }
|
|
16570
16711
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16571
16712
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16628,6 +16769,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16628
16769
|
if (ids) {
|
|
16629
16770
|
localVarQueryParameter['Ids'] = ids;
|
|
16630
16771
|
}
|
|
16772
|
+
if (returnDefaultValue !== undefined) {
|
|
16773
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16774
|
+
}
|
|
16631
16775
|
if (page !== undefined) {
|
|
16632
16776
|
localVarQueryParameter['page'] = page;
|
|
16633
16777
|
}
|
|
@@ -17664,10 +17808,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17664
17808
|
* @summary Get Hospital.
|
|
17665
17809
|
* @param {string} hospitalId
|
|
17666
17810
|
* @param {string} [languageCode]
|
|
17811
|
+
* @param {boolean} [returnDefaultValue]
|
|
17667
17812
|
* @param {*} [options] Override http request option.
|
|
17668
17813
|
* @throws {RequiredError}
|
|
17669
17814
|
*/
|
|
17670
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
17815
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
17671
17816
|
if (options === void 0) { options = {}; }
|
|
17672
17817
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17673
17818
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17695,6 +17840,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17695
17840
|
if (languageCode !== undefined) {
|
|
17696
17841
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17697
17842
|
}
|
|
17843
|
+
if (returnDefaultValue !== undefined) {
|
|
17844
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17845
|
+
}
|
|
17698
17846
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17699
17847
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17700
17848
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18302,13 +18450,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18302
18450
|
* @param {Procedure} [procedure]
|
|
18303
18451
|
* @param {Date} [created]
|
|
18304
18452
|
* @param {string} [languageCode]
|
|
18453
|
+
* @param {boolean} [returnDefaultValue]
|
|
18305
18454
|
* @param {number} [page]
|
|
18306
18455
|
* @param {number} [limit]
|
|
18307
18456
|
* @param {Date} [lastRetrieved]
|
|
18308
18457
|
* @param {*} [options] Override http request option.
|
|
18309
18458
|
* @throws {RequiredError}
|
|
18310
18459
|
*/
|
|
18311
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
18460
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18312
18461
|
if (options === void 0) { options = {}; }
|
|
18313
18462
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18314
18463
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18377,6 +18526,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18377
18526
|
if (languageCode !== undefined) {
|
|
18378
18527
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18379
18528
|
}
|
|
18529
|
+
if (returnDefaultValue !== undefined) {
|
|
18530
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18531
|
+
}
|
|
18380
18532
|
if (page !== undefined) {
|
|
18381
18533
|
localVarQueryParameter['page'] = page;
|
|
18382
18534
|
}
|
|
@@ -18507,10 +18659,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18507
18659
|
* @param {string} specialtyId
|
|
18508
18660
|
* @param {string} serviceId
|
|
18509
18661
|
* @param {string} [languageCode]
|
|
18662
|
+
* @param {boolean} [returnDefaultValue]
|
|
18510
18663
|
* @param {*} [options] Override http request option.
|
|
18511
18664
|
* @throws {RequiredError}
|
|
18512
18665
|
*/
|
|
18513
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
18666
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
18514
18667
|
if (options === void 0) { options = {}; }
|
|
18515
18668
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18516
18669
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18544,6 +18697,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18544
18697
|
if (languageCode !== undefined) {
|
|
18545
18698
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18546
18699
|
}
|
|
18700
|
+
if (returnDefaultValue !== undefined) {
|
|
18701
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18702
|
+
}
|
|
18547
18703
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18548
18704
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18549
18705
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18962,13 +19118,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18962
19118
|
* @param {boolean} [showHidden]
|
|
18963
19119
|
* @param {string} [languageCode]
|
|
18964
19120
|
* @param {Array<string>} [ids]
|
|
19121
|
+
* @param {boolean} [returnDefaultValue]
|
|
18965
19122
|
* @param {number} [page]
|
|
18966
19123
|
* @param {number} [limit]
|
|
18967
19124
|
* @param {Date} [lastRetrieved]
|
|
18968
19125
|
* @param {*} [options] Override http request option.
|
|
18969
19126
|
* @throws {RequiredError}
|
|
18970
19127
|
*/
|
|
18971
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19128
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18972
19129
|
if (options === void 0) { options = {}; }
|
|
18973
19130
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18974
19131
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19031,6 +19188,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19031
19188
|
if (ids) {
|
|
19032
19189
|
localVarQueryParameter['Ids'] = ids;
|
|
19033
19190
|
}
|
|
19191
|
+
if (returnDefaultValue !== undefined) {
|
|
19192
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19193
|
+
}
|
|
19034
19194
|
if (page !== undefined) {
|
|
19035
19195
|
localVarQueryParameter['page'] = page;
|
|
19036
19196
|
}
|
|
@@ -19058,10 +19218,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19058
19218
|
* @summary Get Hospital by slug.
|
|
19059
19219
|
* @param {string} slug
|
|
19060
19220
|
* @param {string} [languageCode]
|
|
19221
|
+
* @param {boolean} [returnDefaultValue]
|
|
19061
19222
|
* @param {*} [options] Override http request option.
|
|
19062
19223
|
* @throws {RequiredError}
|
|
19063
19224
|
*/
|
|
19064
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
19225
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
19065
19226
|
if (options === void 0) { options = {}; }
|
|
19066
19227
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19067
19228
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19089,6 +19250,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19089
19250
|
if (languageCode !== undefined) {
|
|
19090
19251
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
19091
19252
|
}
|
|
19253
|
+
if (returnDefaultValue !== undefined) {
|
|
19254
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19255
|
+
}
|
|
19092
19256
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19093
19257
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19094
19258
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19125,18 +19289,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19125
19289
|
* @param {boolean} [showHidden]
|
|
19126
19290
|
* @param {string} [languageCode]
|
|
19127
19291
|
* @param {Array<string>} [ids]
|
|
19292
|
+
* @param {boolean} [returnDefaultValue]
|
|
19128
19293
|
* @param {number} [page]
|
|
19129
19294
|
* @param {number} [limit]
|
|
19130
19295
|
* @param {Date} [lastRetrieved]
|
|
19131
19296
|
* @param {*} [options] Override http request option.
|
|
19132
19297
|
* @throws {RequiredError}
|
|
19133
19298
|
*/
|
|
19134
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
19299
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19135
19300
|
return __awaiter(this, void 0, void 0, function () {
|
|
19136
19301
|
var localVarAxiosArgs;
|
|
19137
19302
|
return __generator(this, function (_a) {
|
|
19138
19303
|
switch (_a.label) {
|
|
19139
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
19304
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19140
19305
|
case 1:
|
|
19141
19306
|
localVarAxiosArgs = _a.sent();
|
|
19142
19307
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19576,15 +19741,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19576
19741
|
* @summary Get Hospital.
|
|
19577
19742
|
* @param {string} hospitalId
|
|
19578
19743
|
* @param {string} [languageCode]
|
|
19744
|
+
* @param {boolean} [returnDefaultValue]
|
|
19579
19745
|
* @param {*} [options] Override http request option.
|
|
19580
19746
|
* @throws {RequiredError}
|
|
19581
19747
|
*/
|
|
19582
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
19748
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
19583
19749
|
return __awaiter(this, void 0, void 0, function () {
|
|
19584
19750
|
var localVarAxiosArgs;
|
|
19585
19751
|
return __generator(this, function (_a) {
|
|
19586
19752
|
switch (_a.label) {
|
|
19587
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options)];
|
|
19753
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
|
|
19588
19754
|
case 1:
|
|
19589
19755
|
localVarAxiosArgs = _a.sent();
|
|
19590
19756
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19856,18 +20022,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19856
20022
|
* @param {Procedure} [procedure]
|
|
19857
20023
|
* @param {Date} [created]
|
|
19858
20024
|
* @param {string} [languageCode]
|
|
20025
|
+
* @param {boolean} [returnDefaultValue]
|
|
19859
20026
|
* @param {number} [page]
|
|
19860
20027
|
* @param {number} [limit]
|
|
19861
20028
|
* @param {Date} [lastRetrieved]
|
|
19862
20029
|
* @param {*} [options] Override http request option.
|
|
19863
20030
|
* @throws {RequiredError}
|
|
19864
20031
|
*/
|
|
19865
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
20032
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19866
20033
|
return __awaiter(this, void 0, void 0, function () {
|
|
19867
20034
|
var localVarAxiosArgs;
|
|
19868
20035
|
return __generator(this, function (_a) {
|
|
19869
20036
|
switch (_a.label) {
|
|
19870
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
20037
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19871
20038
|
case 1:
|
|
19872
20039
|
localVarAxiosArgs = _a.sent();
|
|
19873
20040
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19926,15 +20093,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19926
20093
|
* @param {string} specialtyId
|
|
19927
20094
|
* @param {string} serviceId
|
|
19928
20095
|
* @param {string} [languageCode]
|
|
20096
|
+
* @param {boolean} [returnDefaultValue]
|
|
19929
20097
|
* @param {*} [options] Override http request option.
|
|
19930
20098
|
* @throws {RequiredError}
|
|
19931
20099
|
*/
|
|
19932
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20100
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
19933
20101
|
return __awaiter(this, void 0, void 0, function () {
|
|
19934
20102
|
var localVarAxiosArgs;
|
|
19935
20103
|
return __generator(this, function (_a) {
|
|
19936
20104
|
switch (_a.label) {
|
|
19937
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options)];
|
|
20105
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options)];
|
|
19938
20106
|
case 1:
|
|
19939
20107
|
localVarAxiosArgs = _a.sent();
|
|
19940
20108
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20121,18 +20289,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20121
20289
|
* @param {boolean} [showHidden]
|
|
20122
20290
|
* @param {string} [languageCode]
|
|
20123
20291
|
* @param {Array<string>} [ids]
|
|
20292
|
+
* @param {boolean} [returnDefaultValue]
|
|
20124
20293
|
* @param {number} [page]
|
|
20125
20294
|
* @param {number} [limit]
|
|
20126
20295
|
* @param {Date} [lastRetrieved]
|
|
20127
20296
|
* @param {*} [options] Override http request option.
|
|
20128
20297
|
* @throws {RequiredError}
|
|
20129
20298
|
*/
|
|
20130
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20299
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20131
20300
|
return __awaiter(this, void 0, void 0, function () {
|
|
20132
20301
|
var localVarAxiosArgs;
|
|
20133
20302
|
return __generator(this, function (_a) {
|
|
20134
20303
|
switch (_a.label) {
|
|
20135
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
20304
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
20136
20305
|
case 1:
|
|
20137
20306
|
localVarAxiosArgs = _a.sent();
|
|
20138
20307
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20145,15 +20314,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20145
20314
|
* @summary Get Hospital by slug.
|
|
20146
20315
|
* @param {string} slug
|
|
20147
20316
|
* @param {string} [languageCode]
|
|
20317
|
+
* @param {boolean} [returnDefaultValue]
|
|
20148
20318
|
* @param {*} [options] Override http request option.
|
|
20149
20319
|
* @throws {RequiredError}
|
|
20150
20320
|
*/
|
|
20151
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20321
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20152
20322
|
return __awaiter(this, void 0, void 0, function () {
|
|
20153
20323
|
var localVarAxiosArgs;
|
|
20154
20324
|
return __generator(this, function (_a) {
|
|
20155
20325
|
switch (_a.label) {
|
|
20156
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, options)];
|
|
20326
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
20157
20327
|
case 1:
|
|
20158
20328
|
localVarAxiosArgs = _a.sent();
|
|
20159
20329
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20186,14 +20356,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20186
20356
|
* @param {boolean} [showHidden]
|
|
20187
20357
|
* @param {string} [languageCode]
|
|
20188
20358
|
* @param {Array<string>} [ids]
|
|
20359
|
+
* @param {boolean} [returnDefaultValue]
|
|
20189
20360
|
* @param {number} [page]
|
|
20190
20361
|
* @param {number} [limit]
|
|
20191
20362
|
* @param {Date} [lastRetrieved]
|
|
20192
20363
|
* @param {*} [options] Override http request option.
|
|
20193
20364
|
* @throws {RequiredError}
|
|
20194
20365
|
*/
|
|
20195
|
-
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20196
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20366
|
+
apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20367
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20197
20368
|
},
|
|
20198
20369
|
/**
|
|
20199
20370
|
*
|
|
@@ -20437,11 +20608,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20437
20608
|
* @summary Get Hospital.
|
|
20438
20609
|
* @param {string} hospitalId
|
|
20439
20610
|
* @param {string} [languageCode]
|
|
20611
|
+
* @param {boolean} [returnDefaultValue]
|
|
20440
20612
|
* @param {*} [options] Override http request option.
|
|
20441
20613
|
* @throws {RequiredError}
|
|
20442
20614
|
*/
|
|
20443
|
-
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, options) {
|
|
20444
|
-
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20615
|
+
apiV1HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
20616
|
+
return localVarFp.apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20445
20617
|
},
|
|
20446
20618
|
/**
|
|
20447
20619
|
*
|
|
@@ -20597,14 +20769,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20597
20769
|
* @param {Procedure} [procedure]
|
|
20598
20770
|
* @param {Date} [created]
|
|
20599
20771
|
* @param {string} [languageCode]
|
|
20772
|
+
* @param {boolean} [returnDefaultValue]
|
|
20600
20773
|
* @param {number} [page]
|
|
20601
20774
|
* @param {number} [limit]
|
|
20602
20775
|
* @param {Date} [lastRetrieved]
|
|
20603
20776
|
* @param {*} [options] Override http request option.
|
|
20604
20777
|
* @throws {RequiredError}
|
|
20605
20778
|
*/
|
|
20606
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
20607
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20779
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20780
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20608
20781
|
},
|
|
20609
20782
|
/**
|
|
20610
20783
|
*
|
|
@@ -20637,11 +20810,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20637
20810
|
* @param {string} specialtyId
|
|
20638
20811
|
* @param {string} serviceId
|
|
20639
20812
|
* @param {string} [languageCode]
|
|
20813
|
+
* @param {boolean} [returnDefaultValue]
|
|
20640
20814
|
* @param {*} [options] Override http request option.
|
|
20641
20815
|
* @throws {RequiredError}
|
|
20642
20816
|
*/
|
|
20643
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
20644
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20817
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
20818
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20645
20819
|
},
|
|
20646
20820
|
/**
|
|
20647
20821
|
*
|
|
@@ -20752,25 +20926,27 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20752
20926
|
* @param {boolean} [showHidden]
|
|
20753
20927
|
* @param {string} [languageCode]
|
|
20754
20928
|
* @param {Array<string>} [ids]
|
|
20929
|
+
* @param {boolean} [returnDefaultValue]
|
|
20755
20930
|
* @param {number} [page]
|
|
20756
20931
|
* @param {number} [limit]
|
|
20757
20932
|
* @param {Date} [lastRetrieved]
|
|
20758
20933
|
* @param {*} [options] Override http request option.
|
|
20759
20934
|
* @throws {RequiredError}
|
|
20760
20935
|
*/
|
|
20761
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20762
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20936
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20937
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20763
20938
|
},
|
|
20764
20939
|
/**
|
|
20765
20940
|
*
|
|
20766
20941
|
* @summary Get Hospital by slug.
|
|
20767
20942
|
* @param {string} slug
|
|
20768
20943
|
* @param {string} [languageCode]
|
|
20944
|
+
* @param {boolean} [returnDefaultValue]
|
|
20769
20945
|
* @param {*} [options] Override http request option.
|
|
20770
20946
|
* @throws {RequiredError}
|
|
20771
20947
|
*/
|
|
20772
|
-
apiV1HospitalsSlugGet: function (slug, languageCode, options) {
|
|
20773
|
-
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20948
|
+
apiV1HospitalsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
20949
|
+
return localVarFp.apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20774
20950
|
},
|
|
20775
20951
|
};
|
|
20776
20952
|
};
|
|
@@ -20801,6 +20977,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20801
20977
|
* @param {boolean} [showHidden]
|
|
20802
20978
|
* @param {string} [languageCode]
|
|
20803
20979
|
* @param {Array<string>} [ids]
|
|
20980
|
+
* @param {boolean} [returnDefaultValue]
|
|
20804
20981
|
* @param {number} [page]
|
|
20805
20982
|
* @param {number} [limit]
|
|
20806
20983
|
* @param {Date} [lastRetrieved]
|
|
@@ -20808,9 +20985,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
20808
20985
|
* @throws {RequiredError}
|
|
20809
20986
|
* @memberof HospitalsApi
|
|
20810
20987
|
*/
|
|
20811
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
20988
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20812
20989
|
var _this = this;
|
|
20813
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20990
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20814
20991
|
};
|
|
20815
20992
|
/**
|
|
20816
20993
|
*
|
|
@@ -21092,13 +21269,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21092
21269
|
* @summary Get Hospital.
|
|
21093
21270
|
* @param {string} hospitalId
|
|
21094
21271
|
* @param {string} [languageCode]
|
|
21272
|
+
* @param {boolean} [returnDefaultValue]
|
|
21095
21273
|
* @param {*} [options] Override http request option.
|
|
21096
21274
|
* @throws {RequiredError}
|
|
21097
21275
|
* @memberof HospitalsApi
|
|
21098
21276
|
*/
|
|
21099
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, options) {
|
|
21277
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
21100
21278
|
var _this = this;
|
|
21101
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21279
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21102
21280
|
};
|
|
21103
21281
|
/**
|
|
21104
21282
|
*
|
|
@@ -21276,6 +21454,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21276
21454
|
* @param {Procedure} [procedure]
|
|
21277
21455
|
* @param {Date} [created]
|
|
21278
21456
|
* @param {string} [languageCode]
|
|
21457
|
+
* @param {boolean} [returnDefaultValue]
|
|
21279
21458
|
* @param {number} [page]
|
|
21280
21459
|
* @param {number} [limit]
|
|
21281
21460
|
* @param {Date} [lastRetrieved]
|
|
@@ -21283,9 +21462,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21283
21462
|
* @throws {RequiredError}
|
|
21284
21463
|
* @memberof HospitalsApi
|
|
21285
21464
|
*/
|
|
21286
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
21465
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21287
21466
|
var _this = this;
|
|
21288
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21467
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21289
21468
|
};
|
|
21290
21469
|
/**
|
|
21291
21470
|
*
|
|
@@ -21322,13 +21501,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21322
21501
|
* @param {string} specialtyId
|
|
21323
21502
|
* @param {string} serviceId
|
|
21324
21503
|
* @param {string} [languageCode]
|
|
21504
|
+
* @param {boolean} [returnDefaultValue]
|
|
21325
21505
|
* @param {*} [options] Override http request option.
|
|
21326
21506
|
* @throws {RequiredError}
|
|
21327
21507
|
* @memberof HospitalsApi
|
|
21328
21508
|
*/
|
|
21329
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, options) {
|
|
21509
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet = function (hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options) {
|
|
21330
21510
|
var _this = this;
|
|
21331
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21511
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21332
21512
|
};
|
|
21333
21513
|
/**
|
|
21334
21514
|
*
|
|
@@ -21453,6 +21633,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21453
21633
|
* @param {boolean} [showHidden]
|
|
21454
21634
|
* @param {string} [languageCode]
|
|
21455
21635
|
* @param {Array<string>} [ids]
|
|
21636
|
+
* @param {boolean} [returnDefaultValue]
|
|
21456
21637
|
* @param {number} [page]
|
|
21457
21638
|
* @param {number} [limit]
|
|
21458
21639
|
* @param {Date} [lastRetrieved]
|
|
@@ -21460,22 +21641,23 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21460
21641
|
* @throws {RequiredError}
|
|
21461
21642
|
* @memberof HospitalsApi
|
|
21462
21643
|
*/
|
|
21463
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
21644
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21464
21645
|
var _this = this;
|
|
21465
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21646
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21466
21647
|
};
|
|
21467
21648
|
/**
|
|
21468
21649
|
*
|
|
21469
21650
|
* @summary Get Hospital by slug.
|
|
21470
21651
|
* @param {string} slug
|
|
21471
21652
|
* @param {string} [languageCode]
|
|
21653
|
+
* @param {boolean} [returnDefaultValue]
|
|
21472
21654
|
* @param {*} [options] Override http request option.
|
|
21473
21655
|
* @throws {RequiredError}
|
|
21474
21656
|
* @memberof HospitalsApi
|
|
21475
21657
|
*/
|
|
21476
|
-
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, options) {
|
|
21658
|
+
HospitalsApi.prototype.apiV1HospitalsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
21477
21659
|
var _this = this;
|
|
21478
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21660
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21479
21661
|
};
|
|
21480
21662
|
return HospitalsApi;
|
|
21481
21663
|
}(base_1.BaseAPI));
|
|
@@ -25508,13 +25690,14 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25508
25690
|
* @param {Procedure} [procedure]
|
|
25509
25691
|
* @param {Date} [created]
|
|
25510
25692
|
* @param {string} [languageCode]
|
|
25693
|
+
* @param {boolean} [returnDefaultValue]
|
|
25511
25694
|
* @param {number} [page]
|
|
25512
25695
|
* @param {number} [limit]
|
|
25513
25696
|
* @param {Date} [lastRetrieved]
|
|
25514
25697
|
* @param {*} [options] Override http request option.
|
|
25515
25698
|
* @throws {RequiredError}
|
|
25516
25699
|
*/
|
|
25517
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25700
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25518
25701
|
if (options === void 0) { options = {}; }
|
|
25519
25702
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25520
25703
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25583,6 +25766,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25583
25766
|
if (languageCode !== undefined) {
|
|
25584
25767
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25585
25768
|
}
|
|
25769
|
+
if (returnDefaultValue !== undefined) {
|
|
25770
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
25771
|
+
}
|
|
25586
25772
|
if (page !== undefined) {
|
|
25587
25773
|
localVarQueryParameter['page'] = page;
|
|
25588
25774
|
}
|
|
@@ -25610,10 +25796,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25610
25796
|
* @summary Get HospitalService.
|
|
25611
25797
|
* @param {string} serviceId
|
|
25612
25798
|
* @param {string} [languageCode]
|
|
25799
|
+
* @param {boolean} [returnDefaultValue]
|
|
25613
25800
|
* @param {*} [options] Override http request option.
|
|
25614
25801
|
* @throws {RequiredError}
|
|
25615
25802
|
*/
|
|
25616
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25803
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25617
25804
|
if (options === void 0) { options = {}; }
|
|
25618
25805
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25619
25806
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25641,6 +25828,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25641
25828
|
if (languageCode !== undefined) {
|
|
25642
25829
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25643
25830
|
}
|
|
25831
|
+
if (returnDefaultValue !== undefined) {
|
|
25832
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25833
|
+
}
|
|
25644
25834
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25645
25835
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25646
25836
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25657,10 +25847,11 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25657
25847
|
* @summary Get HospitalService by slug.
|
|
25658
25848
|
* @param {string} slug
|
|
25659
25849
|
* @param {string} [languageCode]
|
|
25850
|
+
* @param {boolean} [returnDefaultValue]
|
|
25660
25851
|
* @param {*} [options] Override http request option.
|
|
25661
25852
|
* @throws {RequiredError}
|
|
25662
25853
|
*/
|
|
25663
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25854
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25664
25855
|
if (options === void 0) { options = {}; }
|
|
25665
25856
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25666
25857
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -25688,6 +25879,9 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25688
25879
|
if (languageCode !== undefined) {
|
|
25689
25880
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
25690
25881
|
}
|
|
25882
|
+
if (returnDefaultValue !== undefined) {
|
|
25883
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
25884
|
+
}
|
|
25691
25885
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25692
25886
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25693
25887
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25726,18 +25920,19 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25726
25920
|
* @param {Procedure} [procedure]
|
|
25727
25921
|
* @param {Date} [created]
|
|
25728
25922
|
* @param {string} [languageCode]
|
|
25923
|
+
* @param {boolean} [returnDefaultValue]
|
|
25729
25924
|
* @param {number} [page]
|
|
25730
25925
|
* @param {number} [limit]
|
|
25731
25926
|
* @param {Date} [lastRetrieved]
|
|
25732
25927
|
* @param {*} [options] Override http request option.
|
|
25733
25928
|
* @throws {RequiredError}
|
|
25734
25929
|
*/
|
|
25735
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25930
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25736
25931
|
return __awaiter(this, void 0, void 0, function () {
|
|
25737
25932
|
var localVarAxiosArgs;
|
|
25738
25933
|
return __generator(this, function (_a) {
|
|
25739
25934
|
switch (_a.label) {
|
|
25740
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options)];
|
|
25935
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
25741
25936
|
case 1:
|
|
25742
25937
|
localVarAxiosArgs = _a.sent();
|
|
25743
25938
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25750,15 +25945,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25750
25945
|
* @summary Get HospitalService.
|
|
25751
25946
|
* @param {string} serviceId
|
|
25752
25947
|
* @param {string} [languageCode]
|
|
25948
|
+
* @param {boolean} [returnDefaultValue]
|
|
25753
25949
|
* @param {*} [options] Override http request option.
|
|
25754
25950
|
* @throws {RequiredError}
|
|
25755
25951
|
*/
|
|
25756
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25952
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25757
25953
|
return __awaiter(this, void 0, void 0, function () {
|
|
25758
25954
|
var localVarAxiosArgs;
|
|
25759
25955
|
return __generator(this, function (_a) {
|
|
25760
25956
|
switch (_a.label) {
|
|
25761
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options)];
|
|
25957
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options)];
|
|
25762
25958
|
case 1:
|
|
25763
25959
|
localVarAxiosArgs = _a.sent();
|
|
25764
25960
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25771,15 +25967,16 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25771
25967
|
* @summary Get HospitalService by slug.
|
|
25772
25968
|
* @param {string} slug
|
|
25773
25969
|
* @param {string} [languageCode]
|
|
25970
|
+
* @param {boolean} [returnDefaultValue]
|
|
25774
25971
|
* @param {*} [options] Override http request option.
|
|
25775
25972
|
* @throws {RequiredError}
|
|
25776
25973
|
*/
|
|
25777
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25974
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
25778
25975
|
return __awaiter(this, void 0, void 0, function () {
|
|
25779
25976
|
var localVarAxiosArgs;
|
|
25780
25977
|
return __generator(this, function (_a) {
|
|
25781
25978
|
switch (_a.label) {
|
|
25782
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options)];
|
|
25979
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
25783
25980
|
case 1:
|
|
25784
25981
|
localVarAxiosArgs = _a.sent();
|
|
25785
25982
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25814,36 +26011,39 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
25814
26011
|
* @param {Procedure} [procedure]
|
|
25815
26012
|
* @param {Date} [created]
|
|
25816
26013
|
* @param {string} [languageCode]
|
|
26014
|
+
* @param {boolean} [returnDefaultValue]
|
|
25817
26015
|
* @param {number} [page]
|
|
25818
26016
|
* @param {number} [limit]
|
|
25819
26017
|
* @param {Date} [lastRetrieved]
|
|
25820
26018
|
* @param {*} [options] Override http request option.
|
|
25821
26019
|
* @throws {RequiredError}
|
|
25822
26020
|
*/
|
|
25823
|
-
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
25824
|
-
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26021
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26022
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
25825
26023
|
},
|
|
25826
26024
|
/**
|
|
25827
26025
|
*
|
|
25828
26026
|
* @summary Get HospitalService.
|
|
25829
26027
|
* @param {string} serviceId
|
|
25830
26028
|
* @param {string} [languageCode]
|
|
26029
|
+
* @param {boolean} [returnDefaultValue]
|
|
25831
26030
|
* @param {*} [options] Override http request option.
|
|
25832
26031
|
* @throws {RequiredError}
|
|
25833
26032
|
*/
|
|
25834
|
-
apiV1ServicesServiceIdGet: function (serviceId, languageCode, options) {
|
|
25835
|
-
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26033
|
+
apiV1ServicesServiceIdGet: function (serviceId, languageCode, returnDefaultValue, options) {
|
|
26034
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25836
26035
|
},
|
|
25837
26036
|
/**
|
|
25838
26037
|
*
|
|
25839
26038
|
* @summary Get HospitalService by slug.
|
|
25840
26039
|
* @param {string} slug
|
|
25841
26040
|
* @param {string} [languageCode]
|
|
26041
|
+
* @param {boolean} [returnDefaultValue]
|
|
25842
26042
|
* @param {*} [options] Override http request option.
|
|
25843
26043
|
* @throws {RequiredError}
|
|
25844
26044
|
*/
|
|
25845
|
-
apiV1ServicesSlugGet: function (slug, languageCode, options) {
|
|
25846
|
-
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26045
|
+
apiV1ServicesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
26046
|
+
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
25847
26047
|
},
|
|
25848
26048
|
};
|
|
25849
26049
|
};
|
|
@@ -25876,6 +26076,7 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25876
26076
|
* @param {Procedure} [procedure]
|
|
25877
26077
|
* @param {Date} [created]
|
|
25878
26078
|
* @param {string} [languageCode]
|
|
26079
|
+
* @param {boolean} [returnDefaultValue]
|
|
25879
26080
|
* @param {number} [page]
|
|
25880
26081
|
* @param {number} [limit]
|
|
25881
26082
|
* @param {Date} [lastRetrieved]
|
|
@@ -25883,35 +26084,37 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
25883
26084
|
* @throws {RequiredError}
|
|
25884
26085
|
* @memberof ServicesApi
|
|
25885
26086
|
*/
|
|
25886
|
-
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options) {
|
|
26087
|
+
ServicesApi.prototype.apiV1ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
25887
26088
|
var _this = this;
|
|
25888
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26089
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25889
26090
|
};
|
|
25890
26091
|
/**
|
|
25891
26092
|
*
|
|
25892
26093
|
* @summary Get HospitalService.
|
|
25893
26094
|
* @param {string} serviceId
|
|
25894
26095
|
* @param {string} [languageCode]
|
|
26096
|
+
* @param {boolean} [returnDefaultValue]
|
|
25895
26097
|
* @param {*} [options] Override http request option.
|
|
25896
26098
|
* @throws {RequiredError}
|
|
25897
26099
|
* @memberof ServicesApi
|
|
25898
26100
|
*/
|
|
25899
|
-
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, options) {
|
|
26101
|
+
ServicesApi.prototype.apiV1ServicesServiceIdGet = function (serviceId, languageCode, returnDefaultValue, options) {
|
|
25900
26102
|
var _this = this;
|
|
25901
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26103
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25902
26104
|
};
|
|
25903
26105
|
/**
|
|
25904
26106
|
*
|
|
25905
26107
|
* @summary Get HospitalService by slug.
|
|
25906
26108
|
* @param {string} slug
|
|
25907
26109
|
* @param {string} [languageCode]
|
|
26110
|
+
* @param {boolean} [returnDefaultValue]
|
|
25908
26111
|
* @param {*} [options] Override http request option.
|
|
25909
26112
|
* @throws {RequiredError}
|
|
25910
26113
|
* @memberof ServicesApi
|
|
25911
26114
|
*/
|
|
25912
|
-
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, options) {
|
|
26115
|
+
ServicesApi.prototype.apiV1ServicesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
25913
26116
|
var _this = this;
|
|
25914
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26117
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25915
26118
|
};
|
|
25916
26119
|
return ServicesApi;
|
|
25917
26120
|
}(base_1.BaseAPI));
|
|
@@ -26452,13 +26655,14 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26452
26655
|
* @param {Date} [created]
|
|
26453
26656
|
* @param {string} [languageCode]
|
|
26454
26657
|
* @param {Array<string>} [ids]
|
|
26658
|
+
* @param {boolean} [returnDefaultValue]
|
|
26455
26659
|
* @param {number} [page]
|
|
26456
26660
|
* @param {number} [limit]
|
|
26457
26661
|
* @param {Date} [lastRetrieved]
|
|
26458
26662
|
* @param {*} [options] Override http request option.
|
|
26459
26663
|
* @throws {RequiredError}
|
|
26460
26664
|
*/
|
|
26461
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
26665
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26462
26666
|
if (options === void 0) { options = {}; }
|
|
26463
26667
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26464
26668
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26506,6 +26710,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26506
26710
|
if (ids) {
|
|
26507
26711
|
localVarQueryParameter['Ids'] = ids;
|
|
26508
26712
|
}
|
|
26713
|
+
if (returnDefaultValue !== undefined) {
|
|
26714
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26715
|
+
}
|
|
26509
26716
|
if (page !== undefined) {
|
|
26510
26717
|
localVarQueryParameter['page'] = page;
|
|
26511
26718
|
}
|
|
@@ -26575,10 +26782,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26575
26782
|
* @summary Get Specialty by slug.
|
|
26576
26783
|
* @param {string} slug
|
|
26577
26784
|
* @param {string} [languageCode]
|
|
26785
|
+
* @param {boolean} [returnDefaultValue]
|
|
26578
26786
|
* @param {*} [options] Override http request option.
|
|
26579
26787
|
* @throws {RequiredError}
|
|
26580
26788
|
*/
|
|
26581
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
26789
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
26582
26790
|
if (options === void 0) { options = {}; }
|
|
26583
26791
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26584
26792
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26606,6 +26814,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26606
26814
|
if (languageCode !== undefined) {
|
|
26607
26815
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26608
26816
|
}
|
|
26817
|
+
if (returnDefaultValue !== undefined) {
|
|
26818
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26819
|
+
}
|
|
26609
26820
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26610
26821
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26611
26822
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26665,10 +26876,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26665
26876
|
* @summary Get Specialty.
|
|
26666
26877
|
* @param {string} specialtyId
|
|
26667
26878
|
* @param {string} [languageCode]
|
|
26879
|
+
* @param {boolean} [returnDefaultValue]
|
|
26668
26880
|
* @param {*} [options] Override http request option.
|
|
26669
26881
|
* @throws {RequiredError}
|
|
26670
26882
|
*/
|
|
26671
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
26883
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
26672
26884
|
if (options === void 0) { options = {}; }
|
|
26673
26885
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26674
26886
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26696,6 +26908,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26696
26908
|
if (languageCode !== undefined) {
|
|
26697
26909
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
26698
26910
|
}
|
|
26911
|
+
if (returnDefaultValue !== undefined) {
|
|
26912
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
26913
|
+
}
|
|
26699
26914
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26700
26915
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26701
26916
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27028,18 +27243,19 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27028
27243
|
* @param {Date} [created]
|
|
27029
27244
|
* @param {string} [languageCode]
|
|
27030
27245
|
* @param {Array<string>} [ids]
|
|
27246
|
+
* @param {boolean} [returnDefaultValue]
|
|
27031
27247
|
* @param {number} [page]
|
|
27032
27248
|
* @param {number} [limit]
|
|
27033
27249
|
* @param {Date} [lastRetrieved]
|
|
27034
27250
|
* @param {*} [options] Override http request option.
|
|
27035
27251
|
* @throws {RequiredError}
|
|
27036
27252
|
*/
|
|
27037
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27253
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27038
27254
|
return __awaiter(this, void 0, void 0, function () {
|
|
27039
27255
|
var localVarAxiosArgs;
|
|
27040
27256
|
return __generator(this, function (_a) {
|
|
27041
27257
|
switch (_a.label) {
|
|
27042
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options)];
|
|
27258
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
27043
27259
|
case 1:
|
|
27044
27260
|
localVarAxiosArgs = _a.sent();
|
|
27045
27261
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27072,15 +27288,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27072
27288
|
* @summary Get Specialty by slug.
|
|
27073
27289
|
* @param {string} slug
|
|
27074
27290
|
* @param {string} [languageCode]
|
|
27291
|
+
* @param {boolean} [returnDefaultValue]
|
|
27075
27292
|
* @param {*} [options] Override http request option.
|
|
27076
27293
|
* @throws {RequiredError}
|
|
27077
27294
|
*/
|
|
27078
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27295
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27079
27296
|
return __awaiter(this, void 0, void 0, function () {
|
|
27080
27297
|
var localVarAxiosArgs;
|
|
27081
27298
|
return __generator(this, function (_a) {
|
|
27082
27299
|
switch (_a.label) {
|
|
27083
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, options)];
|
|
27300
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
27084
27301
|
case 1:
|
|
27085
27302
|
localVarAxiosArgs = _a.sent();
|
|
27086
27303
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27113,15 +27330,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27113
27330
|
* @summary Get Specialty.
|
|
27114
27331
|
* @param {string} specialtyId
|
|
27115
27332
|
* @param {string} [languageCode]
|
|
27333
|
+
* @param {boolean} [returnDefaultValue]
|
|
27116
27334
|
* @param {*} [options] Override http request option.
|
|
27117
27335
|
* @throws {RequiredError}
|
|
27118
27336
|
*/
|
|
27119
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27337
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27120
27338
|
return __awaiter(this, void 0, void 0, function () {
|
|
27121
27339
|
var localVarAxiosArgs;
|
|
27122
27340
|
return __generator(this, function (_a) {
|
|
27123
27341
|
switch (_a.label) {
|
|
27124
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options)];
|
|
27342
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options)];
|
|
27125
27343
|
case 1:
|
|
27126
27344
|
localVarAxiosArgs = _a.sent();
|
|
27127
27345
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27280,14 +27498,15 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27280
27498
|
* @param {Date} [created]
|
|
27281
27499
|
* @param {string} [languageCode]
|
|
27282
27500
|
* @param {Array<string>} [ids]
|
|
27501
|
+
* @param {boolean} [returnDefaultValue]
|
|
27283
27502
|
* @param {number} [page]
|
|
27284
27503
|
* @param {number} [limit]
|
|
27285
27504
|
* @param {Date} [lastRetrieved]
|
|
27286
27505
|
* @param {*} [options] Override http request option.
|
|
27287
27506
|
* @throws {RequiredError}
|
|
27288
27507
|
*/
|
|
27289
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27290
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27508
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27509
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27291
27510
|
},
|
|
27292
27511
|
/**
|
|
27293
27512
|
*
|
|
@@ -27304,11 +27523,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27304
27523
|
* @summary Get Specialty by slug.
|
|
27305
27524
|
* @param {string} slug
|
|
27306
27525
|
* @param {string} [languageCode]
|
|
27526
|
+
* @param {boolean} [returnDefaultValue]
|
|
27307
27527
|
* @param {*} [options] Override http request option.
|
|
27308
27528
|
* @throws {RequiredError}
|
|
27309
27529
|
*/
|
|
27310
|
-
apiV1SpecialtiesSlugGet: function (slug, languageCode, options) {
|
|
27311
|
-
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27530
|
+
apiV1SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27531
|
+
return localVarFp.apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27312
27532
|
},
|
|
27313
27533
|
/**
|
|
27314
27534
|
*
|
|
@@ -27325,11 +27545,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27325
27545
|
* @summary Get Specialty.
|
|
27326
27546
|
* @param {string} specialtyId
|
|
27327
27547
|
* @param {string} [languageCode]
|
|
27548
|
+
* @param {boolean} [returnDefaultValue]
|
|
27328
27549
|
* @param {*} [options] Override http request option.
|
|
27329
27550
|
* @throws {RequiredError}
|
|
27330
27551
|
*/
|
|
27331
|
-
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, options) {
|
|
27332
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
27552
|
+
apiV1SpecialtiesSpecialtyIdGet: function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27553
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
27333
27554
|
},
|
|
27334
27555
|
/**
|
|
27335
27556
|
*
|
|
@@ -27426,6 +27647,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27426
27647
|
* @param {Date} [created]
|
|
27427
27648
|
* @param {string} [languageCode]
|
|
27428
27649
|
* @param {Array<string>} [ids]
|
|
27650
|
+
* @param {boolean} [returnDefaultValue]
|
|
27429
27651
|
* @param {number} [page]
|
|
27430
27652
|
* @param {number} [limit]
|
|
27431
27653
|
* @param {Date} [lastRetrieved]
|
|
@@ -27433,9 +27655,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27433
27655
|
* @throws {RequiredError}
|
|
27434
27656
|
* @memberof SpecialtiesApi
|
|
27435
27657
|
*/
|
|
27436
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options) {
|
|
27658
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27437
27659
|
var _this = this;
|
|
27438
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27660
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27439
27661
|
};
|
|
27440
27662
|
/**
|
|
27441
27663
|
*
|
|
@@ -27454,13 +27676,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27454
27676
|
* @summary Get Specialty by slug.
|
|
27455
27677
|
* @param {string} slug
|
|
27456
27678
|
* @param {string} [languageCode]
|
|
27679
|
+
* @param {boolean} [returnDefaultValue]
|
|
27457
27680
|
* @param {*} [options] Override http request option.
|
|
27458
27681
|
* @throws {RequiredError}
|
|
27459
27682
|
* @memberof SpecialtiesApi
|
|
27460
27683
|
*/
|
|
27461
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, options) {
|
|
27684
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
27462
27685
|
var _this = this;
|
|
27463
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27686
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27464
27687
|
};
|
|
27465
27688
|
/**
|
|
27466
27689
|
*
|
|
@@ -27479,13 +27702,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27479
27702
|
* @summary Get Specialty.
|
|
27480
27703
|
* @param {string} specialtyId
|
|
27481
27704
|
* @param {string} [languageCode]
|
|
27705
|
+
* @param {boolean} [returnDefaultValue]
|
|
27482
27706
|
* @param {*} [options] Override http request option.
|
|
27483
27707
|
* @throws {RequiredError}
|
|
27484
27708
|
* @memberof SpecialtiesApi
|
|
27485
27709
|
*/
|
|
27486
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, options) {
|
|
27710
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdGet = function (specialtyId, languageCode, returnDefaultValue, options) {
|
|
27487
27711
|
var _this = this;
|
|
27488
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27712
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27489
27713
|
};
|
|
27490
27714
|
/**
|
|
27491
27715
|
*
|
|
@@ -27592,13 +27816,14 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27592
27816
|
* @param {string} [languageCode]
|
|
27593
27817
|
* @param {Array<string>} [ids]
|
|
27594
27818
|
* @param {string} [specialtyTypeCategoryId]
|
|
27819
|
+
* @param {boolean} [returnDefaultValue]
|
|
27595
27820
|
* @param {number} [page]
|
|
27596
27821
|
* @param {number} [limit]
|
|
27597
27822
|
* @param {Date} [lastRetrieved]
|
|
27598
27823
|
* @param {*} [options] Override http request option.
|
|
27599
27824
|
* @throws {RequiredError}
|
|
27600
27825
|
*/
|
|
27601
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
27826
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27602
27827
|
if (options === void 0) { options = {}; }
|
|
27603
27828
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27604
27829
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27649,6 +27874,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27649
27874
|
if (specialtyTypeCategoryId !== undefined) {
|
|
27650
27875
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
27651
27876
|
}
|
|
27877
|
+
if (returnDefaultValue !== undefined) {
|
|
27878
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
27879
|
+
}
|
|
27652
27880
|
if (page !== undefined) {
|
|
27653
27881
|
localVarQueryParameter['page'] = page;
|
|
27654
27882
|
}
|
|
@@ -27713,15 +27941,111 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27713
27941
|
});
|
|
27714
27942
|
});
|
|
27715
27943
|
},
|
|
27944
|
+
/**
|
|
27945
|
+
*
|
|
27946
|
+
* @summary Get all Hospitals.
|
|
27947
|
+
* @param {string} [id]
|
|
27948
|
+
* @param {string} [name]
|
|
27949
|
+
* @param {string} [description]
|
|
27950
|
+
* @param {MarketingType} [marketingType]
|
|
27951
|
+
* @param {string} [hospitalId]
|
|
27952
|
+
* @param {Date} [created]
|
|
27953
|
+
* @param {string} [languageCode]
|
|
27954
|
+
* @param {Array<string>} [ids]
|
|
27955
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
27956
|
+
* @param {boolean} [returnDefaultValue]
|
|
27957
|
+
* @param {number} [page]
|
|
27958
|
+
* @param {number} [limit]
|
|
27959
|
+
* @param {Date} [lastRetrieved]
|
|
27960
|
+
* @param {*} [options] Override http request option.
|
|
27961
|
+
* @throws {RequiredError}
|
|
27962
|
+
*/
|
|
27963
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27964
|
+
if (options === void 0) { options = {}; }
|
|
27965
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27966
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27967
|
+
return __generator(this, function (_a) {
|
|
27968
|
+
switch (_a.label) {
|
|
27969
|
+
case 0:
|
|
27970
|
+
localVarPath = "/api/v1/specialtytypes/simple";
|
|
27971
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27972
|
+
if (configuration) {
|
|
27973
|
+
baseOptions = configuration.baseOptions;
|
|
27974
|
+
}
|
|
27975
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27976
|
+
localVarHeaderParameter = {};
|
|
27977
|
+
localVarQueryParameter = {};
|
|
27978
|
+
// authentication oauth2 required
|
|
27979
|
+
// oauth required
|
|
27980
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27981
|
+
case 1:
|
|
27982
|
+
// authentication oauth2 required
|
|
27983
|
+
// oauth required
|
|
27984
|
+
_a.sent();
|
|
27985
|
+
if (id !== undefined) {
|
|
27986
|
+
localVarQueryParameter['Id'] = id;
|
|
27987
|
+
}
|
|
27988
|
+
if (name !== undefined) {
|
|
27989
|
+
localVarQueryParameter['Name'] = name;
|
|
27990
|
+
}
|
|
27991
|
+
if (description !== undefined) {
|
|
27992
|
+
localVarQueryParameter['Description'] = description;
|
|
27993
|
+
}
|
|
27994
|
+
if (marketingType !== undefined) {
|
|
27995
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
27996
|
+
}
|
|
27997
|
+
if (hospitalId !== undefined) {
|
|
27998
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27999
|
+
}
|
|
28000
|
+
if (created !== undefined) {
|
|
28001
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
28002
|
+
created.toISOString() :
|
|
28003
|
+
created;
|
|
28004
|
+
}
|
|
28005
|
+
if (languageCode !== undefined) {
|
|
28006
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
28007
|
+
}
|
|
28008
|
+
if (ids) {
|
|
28009
|
+
localVarQueryParameter['Ids'] = ids;
|
|
28010
|
+
}
|
|
28011
|
+
if (specialtyTypeCategoryId !== undefined) {
|
|
28012
|
+
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
28013
|
+
}
|
|
28014
|
+
if (returnDefaultValue !== undefined) {
|
|
28015
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
28016
|
+
}
|
|
28017
|
+
if (page !== undefined) {
|
|
28018
|
+
localVarQueryParameter['page'] = page;
|
|
28019
|
+
}
|
|
28020
|
+
if (limit !== undefined) {
|
|
28021
|
+
localVarQueryParameter['limit'] = limit;
|
|
28022
|
+
}
|
|
28023
|
+
if (lastRetrieved !== undefined) {
|
|
28024
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
28025
|
+
lastRetrieved.toISOString() :
|
|
28026
|
+
lastRetrieved;
|
|
28027
|
+
}
|
|
28028
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28029
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28030
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28031
|
+
return [2 /*return*/, {
|
|
28032
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
28033
|
+
options: localVarRequestOptions,
|
|
28034
|
+
}];
|
|
28035
|
+
}
|
|
28036
|
+
});
|
|
28037
|
+
});
|
|
28038
|
+
},
|
|
27716
28039
|
/**
|
|
27717
28040
|
*
|
|
27718
28041
|
* @summary Get Department by slug.
|
|
27719
28042
|
* @param {string} slug
|
|
27720
28043
|
* @param {string} [languageCode]
|
|
28044
|
+
* @param {boolean} [returnDefaultValue]
|
|
27721
28045
|
* @param {*} [options] Override http request option.
|
|
27722
28046
|
* @throws {RequiredError}
|
|
27723
28047
|
*/
|
|
27724
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28048
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
27725
28049
|
if (options === void 0) { options = {}; }
|
|
27726
28050
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27727
28051
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27749,6 +28073,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27749
28073
|
if (languageCode !== undefined) {
|
|
27750
28074
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27751
28075
|
}
|
|
28076
|
+
if (returnDefaultValue !== undefined) {
|
|
28077
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28078
|
+
}
|
|
27752
28079
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27753
28080
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27754
28081
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27808,10 +28135,11 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27808
28135
|
* @summary Get Department.
|
|
27809
28136
|
* @param {string} specialtyTypeId
|
|
27810
28137
|
* @param {string} [languageCode]
|
|
28138
|
+
* @param {boolean} [returnDefaultValue]
|
|
27811
28139
|
* @param {*} [options] Override http request option.
|
|
27812
28140
|
* @throws {RequiredError}
|
|
27813
28141
|
*/
|
|
27814
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28142
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
27815
28143
|
if (options === void 0) { options = {}; }
|
|
27816
28144
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27817
28145
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27839,6 +28167,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
27839
28167
|
if (languageCode !== undefined) {
|
|
27840
28168
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
27841
28169
|
}
|
|
28170
|
+
if (returnDefaultValue !== undefined) {
|
|
28171
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
28172
|
+
}
|
|
27842
28173
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27843
28174
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27844
28175
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -28172,18 +28503,19 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28172
28503
|
* @param {string} [languageCode]
|
|
28173
28504
|
* @param {Array<string>} [ids]
|
|
28174
28505
|
* @param {string} [specialtyTypeCategoryId]
|
|
28506
|
+
* @param {boolean} [returnDefaultValue]
|
|
28175
28507
|
* @param {number} [page]
|
|
28176
28508
|
* @param {number} [limit]
|
|
28177
28509
|
* @param {Date} [lastRetrieved]
|
|
28178
28510
|
* @param {*} [options] Override http request option.
|
|
28179
28511
|
* @throws {RequiredError}
|
|
28180
28512
|
*/
|
|
28181
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28513
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28182
28514
|
return __awaiter(this, void 0, void 0, function () {
|
|
28183
28515
|
var localVarAxiosArgs;
|
|
28184
28516
|
return __generator(this, function (_a) {
|
|
28185
28517
|
switch (_a.label) {
|
|
28186
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options)];
|
|
28518
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28187
28519
|
case 1:
|
|
28188
28520
|
localVarAxiosArgs = _a.sent();
|
|
28189
28521
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28211,20 +28543,53 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28211
28543
|
});
|
|
28212
28544
|
});
|
|
28213
28545
|
},
|
|
28546
|
+
/**
|
|
28547
|
+
*
|
|
28548
|
+
* @summary Get all Hospitals.
|
|
28549
|
+
* @param {string} [id]
|
|
28550
|
+
* @param {string} [name]
|
|
28551
|
+
* @param {string} [description]
|
|
28552
|
+
* @param {MarketingType} [marketingType]
|
|
28553
|
+
* @param {string} [hospitalId]
|
|
28554
|
+
* @param {Date} [created]
|
|
28555
|
+
* @param {string} [languageCode]
|
|
28556
|
+
* @param {Array<string>} [ids]
|
|
28557
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28558
|
+
* @param {boolean} [returnDefaultValue]
|
|
28559
|
+
* @param {number} [page]
|
|
28560
|
+
* @param {number} [limit]
|
|
28561
|
+
* @param {Date} [lastRetrieved]
|
|
28562
|
+
* @param {*} [options] Override http request option.
|
|
28563
|
+
* @throws {RequiredError}
|
|
28564
|
+
*/
|
|
28565
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28566
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
28567
|
+
var localVarAxiosArgs;
|
|
28568
|
+
return __generator(this, function (_a) {
|
|
28569
|
+
switch (_a.label) {
|
|
28570
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
28571
|
+
case 1:
|
|
28572
|
+
localVarAxiosArgs = _a.sent();
|
|
28573
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
28574
|
+
}
|
|
28575
|
+
});
|
|
28576
|
+
});
|
|
28577
|
+
},
|
|
28214
28578
|
/**
|
|
28215
28579
|
*
|
|
28216
28580
|
* @summary Get Department by slug.
|
|
28217
28581
|
* @param {string} slug
|
|
28218
28582
|
* @param {string} [languageCode]
|
|
28583
|
+
* @param {boolean} [returnDefaultValue]
|
|
28219
28584
|
* @param {*} [options] Override http request option.
|
|
28220
28585
|
* @throws {RequiredError}
|
|
28221
28586
|
*/
|
|
28222
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28587
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28223
28588
|
return __awaiter(this, void 0, void 0, function () {
|
|
28224
28589
|
var localVarAxiosArgs;
|
|
28225
28590
|
return __generator(this, function (_a) {
|
|
28226
28591
|
switch (_a.label) {
|
|
28227
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, options)];
|
|
28592
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
28228
28593
|
case 1:
|
|
28229
28594
|
localVarAxiosArgs = _a.sent();
|
|
28230
28595
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28257,15 +28622,16 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28257
28622
|
* @summary Get Department.
|
|
28258
28623
|
* @param {string} specialtyTypeId
|
|
28259
28624
|
* @param {string} [languageCode]
|
|
28625
|
+
* @param {boolean} [returnDefaultValue]
|
|
28260
28626
|
* @param {*} [options] Override http request option.
|
|
28261
28627
|
* @throws {RequiredError}
|
|
28262
28628
|
*/
|
|
28263
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28629
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28264
28630
|
return __awaiter(this, void 0, void 0, function () {
|
|
28265
28631
|
var localVarAxiosArgs;
|
|
28266
28632
|
return __generator(this, function (_a) {
|
|
28267
28633
|
switch (_a.label) {
|
|
28268
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options)];
|
|
28634
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options)];
|
|
28269
28635
|
case 1:
|
|
28270
28636
|
localVarAxiosArgs = _a.sent();
|
|
28271
28637
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28425,14 +28791,15 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28425
28791
|
* @param {string} [languageCode]
|
|
28426
28792
|
* @param {Array<string>} [ids]
|
|
28427
28793
|
* @param {string} [specialtyTypeCategoryId]
|
|
28794
|
+
* @param {boolean} [returnDefaultValue]
|
|
28428
28795
|
* @param {number} [page]
|
|
28429
28796
|
* @param {number} [limit]
|
|
28430
28797
|
* @param {Date} [lastRetrieved]
|
|
28431
28798
|
* @param {*} [options] Override http request option.
|
|
28432
28799
|
* @throws {RequiredError}
|
|
28433
28800
|
*/
|
|
28434
|
-
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28435
|
-
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28801
|
+
apiV1SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28802
|
+
return localVarFp.apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28436
28803
|
},
|
|
28437
28804
|
/**
|
|
28438
28805
|
*
|
|
@@ -28444,16 +28811,39 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28444
28811
|
apiV1SpecialtytypesPost: function (createSpecialtyTypeCommand, options) {
|
|
28445
28812
|
return localVarFp.apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
28446
28813
|
},
|
|
28814
|
+
/**
|
|
28815
|
+
*
|
|
28816
|
+
* @summary Get all Hospitals.
|
|
28817
|
+
* @param {string} [id]
|
|
28818
|
+
* @param {string} [name]
|
|
28819
|
+
* @param {string} [description]
|
|
28820
|
+
* @param {MarketingType} [marketingType]
|
|
28821
|
+
* @param {string} [hospitalId]
|
|
28822
|
+
* @param {Date} [created]
|
|
28823
|
+
* @param {string} [languageCode]
|
|
28824
|
+
* @param {Array<string>} [ids]
|
|
28825
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
28826
|
+
* @param {boolean} [returnDefaultValue]
|
|
28827
|
+
* @param {number} [page]
|
|
28828
|
+
* @param {number} [limit]
|
|
28829
|
+
* @param {Date} [lastRetrieved]
|
|
28830
|
+
* @param {*} [options] Override http request option.
|
|
28831
|
+
* @throws {RequiredError}
|
|
28832
|
+
*/
|
|
28833
|
+
apiV1SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28834
|
+
return localVarFp.apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28835
|
+
},
|
|
28447
28836
|
/**
|
|
28448
28837
|
*
|
|
28449
28838
|
* @summary Get Department by slug.
|
|
28450
28839
|
* @param {string} slug
|
|
28451
28840
|
* @param {string} [languageCode]
|
|
28841
|
+
* @param {boolean} [returnDefaultValue]
|
|
28452
28842
|
* @param {*} [options] Override http request option.
|
|
28453
28843
|
* @throws {RequiredError}
|
|
28454
28844
|
*/
|
|
28455
|
-
apiV1SpecialtytypesSlugGet: function (slug, languageCode, options) {
|
|
28456
|
-
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28845
|
+
apiV1SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
28846
|
+
return localVarFp.apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28457
28847
|
},
|
|
28458
28848
|
/**
|
|
28459
28849
|
*
|
|
@@ -28470,11 +28860,12 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28470
28860
|
* @summary Get Department.
|
|
28471
28861
|
* @param {string} specialtyTypeId
|
|
28472
28862
|
* @param {string} [languageCode]
|
|
28863
|
+
* @param {boolean} [returnDefaultValue]
|
|
28473
28864
|
* @param {*} [options] Override http request option.
|
|
28474
28865
|
* @throws {RequiredError}
|
|
28475
28866
|
*/
|
|
28476
|
-
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, options) {
|
|
28477
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
28867
|
+
apiV1SpecialtytypesSpecialtyTypeIdGet: function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28868
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
28478
28869
|
},
|
|
28479
28870
|
/**
|
|
28480
28871
|
*
|
|
@@ -28572,6 +28963,7 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28572
28963
|
* @param {string} [languageCode]
|
|
28573
28964
|
* @param {Array<string>} [ids]
|
|
28574
28965
|
* @param {string} [specialtyTypeCategoryId]
|
|
28966
|
+
* @param {boolean} [returnDefaultValue]
|
|
28575
28967
|
* @param {number} [page]
|
|
28576
28968
|
* @param {number} [limit]
|
|
28577
28969
|
* @param {Date} [lastRetrieved]
|
|
@@ -28579,9 +28971,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28579
28971
|
* @throws {RequiredError}
|
|
28580
28972
|
* @memberof SpecialtyTypesApi
|
|
28581
28973
|
*/
|
|
28582
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options) {
|
|
28974
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
28583
28975
|
var _this = this;
|
|
28584
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28976
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28585
28977
|
};
|
|
28586
28978
|
/**
|
|
28587
28979
|
*
|
|
@@ -28595,18 +28987,43 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28595
28987
|
var _this = this;
|
|
28596
28988
|
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesPost(createSpecialtyTypeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28597
28989
|
};
|
|
28990
|
+
/**
|
|
28991
|
+
*
|
|
28992
|
+
* @summary Get all Hospitals.
|
|
28993
|
+
* @param {string} [id]
|
|
28994
|
+
* @param {string} [name]
|
|
28995
|
+
* @param {string} [description]
|
|
28996
|
+
* @param {MarketingType} [marketingType]
|
|
28997
|
+
* @param {string} [hospitalId]
|
|
28998
|
+
* @param {Date} [created]
|
|
28999
|
+
* @param {string} [languageCode]
|
|
29000
|
+
* @param {Array<string>} [ids]
|
|
29001
|
+
* @param {string} [specialtyTypeCategoryId]
|
|
29002
|
+
* @param {boolean} [returnDefaultValue]
|
|
29003
|
+
* @param {number} [page]
|
|
29004
|
+
* @param {number} [limit]
|
|
29005
|
+
* @param {Date} [lastRetrieved]
|
|
29006
|
+
* @param {*} [options] Override http request option.
|
|
29007
|
+
* @throws {RequiredError}
|
|
29008
|
+
* @memberof SpecialtyTypesApi
|
|
29009
|
+
*/
|
|
29010
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
29011
|
+
var _this = this;
|
|
29012
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29013
|
+
};
|
|
28598
29014
|
/**
|
|
28599
29015
|
*
|
|
28600
29016
|
* @summary Get Department by slug.
|
|
28601
29017
|
* @param {string} slug
|
|
28602
29018
|
* @param {string} [languageCode]
|
|
29019
|
+
* @param {boolean} [returnDefaultValue]
|
|
28603
29020
|
* @param {*} [options] Override http request option.
|
|
28604
29021
|
* @throws {RequiredError}
|
|
28605
29022
|
* @memberof SpecialtyTypesApi
|
|
28606
29023
|
*/
|
|
28607
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, options) {
|
|
29024
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
28608
29025
|
var _this = this;
|
|
28609
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29026
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28610
29027
|
};
|
|
28611
29028
|
/**
|
|
28612
29029
|
*
|
|
@@ -28625,13 +29042,14 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
28625
29042
|
* @summary Get Department.
|
|
28626
29043
|
* @param {string} specialtyTypeId
|
|
28627
29044
|
* @param {string} [languageCode]
|
|
29045
|
+
* @param {boolean} [returnDefaultValue]
|
|
28628
29046
|
* @param {*} [options] Override http request option.
|
|
28629
29047
|
* @throws {RequiredError}
|
|
28630
29048
|
* @memberof SpecialtyTypesApi
|
|
28631
29049
|
*/
|
|
28632
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, options) {
|
|
29050
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdGet = function (specialtyTypeId, languageCode, returnDefaultValue, options) {
|
|
28633
29051
|
var _this = this;
|
|
28634
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29052
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28635
29053
|
};
|
|
28636
29054
|
/**
|
|
28637
29055
|
*
|