ch-admin-api-client-typescript 4.2.7 → 4.2.10
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 +96 -80
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +137 -151
- package/package.json +1 -1
- package/src/api.ts +168 -156
package/lib/api.js
CHANGED
|
@@ -12913,6 +12913,8 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12913
12913
|
* @param {string} [doctorName]
|
|
12914
12914
|
* @param {string} [doctorSlug]
|
|
12915
12915
|
* @param {string} [specialtyId]
|
|
12916
|
+
* @param {MarketingType} [marketingType]
|
|
12917
|
+
* @param {string} [countryId]
|
|
12916
12918
|
* @param {string} [languageCode]
|
|
12917
12919
|
* @param {boolean} [showHidden]
|
|
12918
12920
|
* @param {number} [page]
|
|
@@ -12921,7 +12923,7 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12921
12923
|
* @param {*} [options] Override http request option.
|
|
12922
12924
|
* @throws {RequiredError}
|
|
12923
12925
|
*/
|
|
12924
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12926
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12925
12927
|
if (options === void 0) { options = {}; }
|
|
12926
12928
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12927
12929
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12961,6 +12963,12 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12961
12963
|
if (specialtyId !== undefined) {
|
|
12962
12964
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
12963
12965
|
}
|
|
12966
|
+
if (marketingType !== undefined) {
|
|
12967
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
12968
|
+
}
|
|
12969
|
+
if (countryId !== undefined) {
|
|
12970
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
12971
|
+
}
|
|
12964
12972
|
if (languageCode !== undefined) {
|
|
12965
12973
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12966
12974
|
}
|
|
@@ -13294,6 +13302,8 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13294
13302
|
* @param {string} [doctorName]
|
|
13295
13303
|
* @param {string} [doctorSlug]
|
|
13296
13304
|
* @param {string} [specialtyId]
|
|
13305
|
+
* @param {MarketingType} [marketingType]
|
|
13306
|
+
* @param {string} [countryId]
|
|
13297
13307
|
* @param {string} [languageCode]
|
|
13298
13308
|
* @param {boolean} [showHidden]
|
|
13299
13309
|
* @param {number} [page]
|
|
@@ -13302,12 +13312,12 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13302
13312
|
* @param {*} [options] Override http request option.
|
|
13303
13313
|
* @throws {RequiredError}
|
|
13304
13314
|
*/
|
|
13305
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13315
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13306
13316
|
return __awaiter(this, void 0, void 0, function () {
|
|
13307
13317
|
var localVarAxiosArgs;
|
|
13308
13318
|
return __generator(this, function (_a) {
|
|
13309
13319
|
switch (_a.label) {
|
|
13310
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
13320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
13311
13321
|
case 1:
|
|
13312
13322
|
localVarAxiosArgs = _a.sent();
|
|
13313
13323
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13474,6 +13484,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13474
13484
|
* @param {string} [doctorName]
|
|
13475
13485
|
* @param {string} [doctorSlug]
|
|
13476
13486
|
* @param {string} [specialtyId]
|
|
13487
|
+
* @param {MarketingType} [marketingType]
|
|
13488
|
+
* @param {string} [countryId]
|
|
13477
13489
|
* @param {string} [languageCode]
|
|
13478
13490
|
* @param {boolean} [showHidden]
|
|
13479
13491
|
* @param {number} [page]
|
|
@@ -13482,8 +13494,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13482
13494
|
* @param {*} [options] Override http request option.
|
|
13483
13495
|
* @throws {RequiredError}
|
|
13484
13496
|
*/
|
|
13485
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13486
|
-
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13497
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13498
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13487
13499
|
},
|
|
13488
13500
|
/**
|
|
13489
13501
|
*
|
|
@@ -13618,6 +13630,8 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13618
13630
|
* @param {string} [doctorName]
|
|
13619
13631
|
* @param {string} [doctorSlug]
|
|
13620
13632
|
* @param {string} [specialtyId]
|
|
13633
|
+
* @param {MarketingType} [marketingType]
|
|
13634
|
+
* @param {string} [countryId]
|
|
13621
13635
|
* @param {string} [languageCode]
|
|
13622
13636
|
* @param {boolean} [showHidden]
|
|
13623
13637
|
* @param {number} [page]
|
|
@@ -13627,9 +13641,9 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13627
13641
|
* @throws {RequiredError}
|
|
13628
13642
|
* @memberof DoctorAffiliationsApi
|
|
13629
13643
|
*/
|
|
13630
|
-
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13644
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13631
13645
|
var _this = this;
|
|
13632
|
-
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13646
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13633
13647
|
};
|
|
13634
13648
|
/**
|
|
13635
13649
|
*
|
|
@@ -14317,14 +14331,16 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14317
14331
|
},
|
|
14318
14332
|
/**
|
|
14319
14333
|
*
|
|
14320
|
-
* @summary
|
|
14334
|
+
* @summary Get all DoctorLanguages.
|
|
14321
14335
|
* @param {string} doctorId
|
|
14322
|
-
* @param {string}
|
|
14323
|
-
* @param {
|
|
14336
|
+
* @param {string} [language]
|
|
14337
|
+
* @param {number} [page]
|
|
14338
|
+
* @param {number} [limit]
|
|
14339
|
+
* @param {Date} [lastRetrieved]
|
|
14324
14340
|
* @param {*} [options] Override http request option.
|
|
14325
14341
|
* @throws {RequiredError}
|
|
14326
14342
|
*/
|
|
14327
|
-
|
|
14343
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
14328
14344
|
if (options === void 0) { options = {}; }
|
|
14329
14345
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14330
14346
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14332,20 +14348,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14332
14348
|
switch (_a.label) {
|
|
14333
14349
|
case 0:
|
|
14334
14350
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14335
|
-
common_1.assertParamExists('
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
// verify required parameter 'code' is not null or undefined
|
|
14339
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'code', code);
|
|
14340
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
|
|
14341
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14342
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14343
|
-
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14351
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
|
|
14352
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages"
|
|
14353
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
14344
14354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14345
14355
|
if (configuration) {
|
|
14346
14356
|
baseOptions = configuration.baseOptions;
|
|
14347
14357
|
}
|
|
14348
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14358
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14349
14359
|
localVarHeaderParameter = {};
|
|
14350
14360
|
localVarQueryParameter = {};
|
|
14351
14361
|
// authentication oauth2 required
|
|
@@ -14355,6 +14365,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14355
14365
|
// authentication oauth2 required
|
|
14356
14366
|
// oauth required
|
|
14357
14367
|
_a.sent();
|
|
14368
|
+
if (language !== undefined) {
|
|
14369
|
+
localVarQueryParameter['Language'] = language;
|
|
14370
|
+
}
|
|
14371
|
+
if (page !== undefined) {
|
|
14372
|
+
localVarQueryParameter['page'] = page;
|
|
14373
|
+
}
|
|
14374
|
+
if (limit !== undefined) {
|
|
14375
|
+
localVarQueryParameter['limit'] = limit;
|
|
14376
|
+
}
|
|
14377
|
+
if (lastRetrieved !== undefined) {
|
|
14378
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14379
|
+
lastRetrieved.toISOString() :
|
|
14380
|
+
lastRetrieved;
|
|
14381
|
+
}
|
|
14358
14382
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14359
14383
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14360
14384
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14368,14 +14392,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14368
14392
|
},
|
|
14369
14393
|
/**
|
|
14370
14394
|
*
|
|
14371
|
-
* @summary
|
|
14395
|
+
* @summary Delete DoctorLanguage
|
|
14372
14396
|
* @param {string} doctorId
|
|
14373
14397
|
* @param {string} languageId
|
|
14374
|
-
* @param {string} code
|
|
14375
14398
|
* @param {*} [options] Override http request option.
|
|
14376
14399
|
* @throws {RequiredError}
|
|
14377
14400
|
*/
|
|
14378
|
-
|
|
14401
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
14379
14402
|
if (options === void 0) { options = {}; }
|
|
14380
14403
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14381
14404
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14383,20 +14406,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14383
14406
|
switch (_a.label) {
|
|
14384
14407
|
case 0:
|
|
14385
14408
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14386
|
-
common_1.assertParamExists('
|
|
14409
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId);
|
|
14387
14410
|
// verify required parameter 'languageId' is not null or undefined
|
|
14388
|
-
common_1.assertParamExists('
|
|
14389
|
-
|
|
14390
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code);
|
|
14391
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
|
|
14411
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId);
|
|
14412
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14392
14413
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14393
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14394
|
-
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14414
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14395
14415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14396
14416
|
if (configuration) {
|
|
14397
14417
|
baseOptions = configuration.baseOptions;
|
|
14398
14418
|
}
|
|
14399
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14419
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
14400
14420
|
localVarHeaderParameter = {};
|
|
14401
14421
|
localVarQueryParameter = {};
|
|
14402
14422
|
// authentication oauth2 required
|
|
@@ -14419,15 +14439,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14419
14439
|
},
|
|
14420
14440
|
/**
|
|
14421
14441
|
*
|
|
14422
|
-
* @summary
|
|
14442
|
+
* @summary Get DoctorLanguage.
|
|
14423
14443
|
* @param {string} doctorId
|
|
14424
14444
|
* @param {string} languageId
|
|
14425
|
-
* @param {string} code
|
|
14426
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14427
14445
|
* @param {*} [options] Override http request option.
|
|
14428
14446
|
* @throws {RequiredError}
|
|
14429
14447
|
*/
|
|
14430
|
-
|
|
14448
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
14431
14449
|
if (options === void 0) { options = {}; }
|
|
14432
14450
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14433
14451
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14435,20 +14453,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14435
14453
|
switch (_a.label) {
|
|
14436
14454
|
case 0:
|
|
14437
14455
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14438
|
-
common_1.assertParamExists('
|
|
14456
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
|
|
14439
14457
|
// verify required parameter 'languageId' is not null or undefined
|
|
14440
|
-
common_1.assertParamExists('
|
|
14441
|
-
|
|
14442
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code);
|
|
14443
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
|
|
14458
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
|
|
14459
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14444
14460
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14445
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14446
|
-
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14461
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14447
14462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14448
14463
|
if (configuration) {
|
|
14449
14464
|
baseOptions = configuration.baseOptions;
|
|
14450
14465
|
}
|
|
14451
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14466
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14452
14467
|
localVarHeaderParameter = {};
|
|
14453
14468
|
localVarQueryParameter = {};
|
|
14454
14469
|
// authentication oauth2 required
|
|
@@ -14458,11 +14473,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14458
14473
|
// authentication oauth2 required
|
|
14459
14474
|
// oauth required
|
|
14460
14475
|
_a.sent();
|
|
14461
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14462
14476
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14463
14477
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14464
14478
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14465
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
14466
14479
|
return [2 /*return*/, {
|
|
14467
14480
|
url: common_1.toPathString(localVarUrlObj),
|
|
14468
14481
|
options: localVarRequestOptions,
|
|
@@ -14473,16 +14486,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14473
14486
|
},
|
|
14474
14487
|
/**
|
|
14475
14488
|
*
|
|
14476
|
-
* @summary
|
|
14489
|
+
* @summary Update DoctorLanguage.
|
|
14477
14490
|
* @param {string} doctorId
|
|
14478
|
-
* @param {string}
|
|
14479
|
-
* @param {
|
|
14480
|
-
* @param {number} [limit]
|
|
14481
|
-
* @param {Date} [lastRetrieved]
|
|
14491
|
+
* @param {string} languageId
|
|
14492
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14482
14493
|
* @param {*} [options] Override http request option.
|
|
14483
14494
|
* @throws {RequiredError}
|
|
14484
14495
|
*/
|
|
14485
|
-
|
|
14496
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
14486
14497
|
if (options === void 0) { options = {}; }
|
|
14487
14498
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14488
14499
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14490,14 +14501,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14490
14501
|
switch (_a.label) {
|
|
14491
14502
|
case 0:
|
|
14492
14503
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14493
|
-
common_1.assertParamExists('
|
|
14494
|
-
|
|
14495
|
-
|
|
14504
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId);
|
|
14505
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
14506
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId);
|
|
14507
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14508
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14509
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14496
14510
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14497
14511
|
if (configuration) {
|
|
14498
14512
|
baseOptions = configuration.baseOptions;
|
|
14499
14513
|
}
|
|
14500
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14514
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
14501
14515
|
localVarHeaderParameter = {};
|
|
14502
14516
|
localVarQueryParameter = {};
|
|
14503
14517
|
// authentication oauth2 required
|
|
@@ -14507,23 +14521,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14507
14521
|
// authentication oauth2 required
|
|
14508
14522
|
// oauth required
|
|
14509
14523
|
_a.sent();
|
|
14510
|
-
|
|
14511
|
-
localVarQueryParameter['Language'] = language;
|
|
14512
|
-
}
|
|
14513
|
-
if (page !== undefined) {
|
|
14514
|
-
localVarQueryParameter['page'] = page;
|
|
14515
|
-
}
|
|
14516
|
-
if (limit !== undefined) {
|
|
14517
|
-
localVarQueryParameter['limit'] = limit;
|
|
14518
|
-
}
|
|
14519
|
-
if (lastRetrieved !== undefined) {
|
|
14520
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14521
|
-
lastRetrieved.toISOString() :
|
|
14522
|
-
lastRetrieved;
|
|
14523
|
-
}
|
|
14524
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14524
14525
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14525
14526
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14526
14527
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14528
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
14527
14529
|
return [2 /*return*/, {
|
|
14528
14530
|
url: common_1.toPathString(localVarUrlObj),
|
|
14529
14531
|
options: localVarRequestOptions,
|
|
@@ -15929,19 +15931,21 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15929
15931
|
},
|
|
15930
15932
|
/**
|
|
15931
15933
|
*
|
|
15932
|
-
* @summary
|
|
15934
|
+
* @summary Get all DoctorLanguages.
|
|
15933
15935
|
* @param {string} doctorId
|
|
15934
|
-
* @param {string}
|
|
15935
|
-
* @param {
|
|
15936
|
+
* @param {string} [language]
|
|
15937
|
+
* @param {number} [page]
|
|
15938
|
+
* @param {number} [limit]
|
|
15939
|
+
* @param {Date} [lastRetrieved]
|
|
15936
15940
|
* @param {*} [options] Override http request option.
|
|
15937
15941
|
* @throws {RequiredError}
|
|
15938
15942
|
*/
|
|
15939
|
-
|
|
15943
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
15940
15944
|
return __awaiter(this, void 0, void 0, function () {
|
|
15941
15945
|
var localVarAxiosArgs;
|
|
15942
15946
|
return __generator(this, function (_a) {
|
|
15943
15947
|
switch (_a.label) {
|
|
15944
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15948
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
|
|
15945
15949
|
case 1:
|
|
15946
15950
|
localVarAxiosArgs = _a.sent();
|
|
15947
15951
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15951,19 +15955,18 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15951
15955
|
},
|
|
15952
15956
|
/**
|
|
15953
15957
|
*
|
|
15954
|
-
* @summary
|
|
15958
|
+
* @summary Delete DoctorLanguage
|
|
15955
15959
|
* @param {string} doctorId
|
|
15956
15960
|
* @param {string} languageId
|
|
15957
|
-
* @param {string} code
|
|
15958
15961
|
* @param {*} [options] Override http request option.
|
|
15959
15962
|
* @throws {RequiredError}
|
|
15960
15963
|
*/
|
|
15961
|
-
|
|
15964
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
15962
15965
|
return __awaiter(this, void 0, void 0, function () {
|
|
15963
15966
|
var localVarAxiosArgs;
|
|
15964
15967
|
return __generator(this, function (_a) {
|
|
15965
15968
|
switch (_a.label) {
|
|
15966
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15969
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options)];
|
|
15967
15970
|
case 1:
|
|
15968
15971
|
localVarAxiosArgs = _a.sent();
|
|
15969
15972
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15973,20 +15976,18 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15973
15976
|
},
|
|
15974
15977
|
/**
|
|
15975
15978
|
*
|
|
15976
|
-
* @summary
|
|
15979
|
+
* @summary Get DoctorLanguage.
|
|
15977
15980
|
* @param {string} doctorId
|
|
15978
15981
|
* @param {string} languageId
|
|
15979
|
-
* @param {string} code
|
|
15980
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
15981
15982
|
* @param {*} [options] Override http request option.
|
|
15982
15983
|
* @throws {RequiredError}
|
|
15983
15984
|
*/
|
|
15984
|
-
|
|
15985
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
15985
15986
|
return __awaiter(this, void 0, void 0, function () {
|
|
15986
15987
|
var localVarAxiosArgs;
|
|
15987
15988
|
return __generator(this, function (_a) {
|
|
15988
15989
|
switch (_a.label) {
|
|
15989
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15990
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
|
|
15990
15991
|
case 1:
|
|
15991
15992
|
localVarAxiosArgs = _a.sent();
|
|
15992
15993
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15996,21 +15997,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15996
15997
|
},
|
|
15997
15998
|
/**
|
|
15998
15999
|
*
|
|
15999
|
-
* @summary
|
|
16000
|
+
* @summary Update DoctorLanguage.
|
|
16000
16001
|
* @param {string} doctorId
|
|
16001
|
-
* @param {string}
|
|
16002
|
-
* @param {
|
|
16003
|
-
* @param {number} [limit]
|
|
16004
|
-
* @param {Date} [lastRetrieved]
|
|
16002
|
+
* @param {string} languageId
|
|
16003
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16005
16004
|
* @param {*} [options] Override http request option.
|
|
16006
16005
|
* @throws {RequiredError}
|
|
16007
16006
|
*/
|
|
16008
|
-
|
|
16007
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
16009
16008
|
return __awaiter(this, void 0, void 0, function () {
|
|
16010
16009
|
var localVarAxiosArgs;
|
|
16011
16010
|
return __generator(this, function (_a) {
|
|
16012
16011
|
switch (_a.label) {
|
|
16013
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
16012
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options)];
|
|
16014
16013
|
case 1:
|
|
16015
16014
|
localVarAxiosArgs = _a.sent();
|
|
16016
16015
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16637,54 +16636,51 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
16637
16636
|
},
|
|
16638
16637
|
/**
|
|
16639
16638
|
*
|
|
16640
|
-
* @summary
|
|
16639
|
+
* @summary Get all DoctorLanguages.
|
|
16641
16640
|
* @param {string} doctorId
|
|
16642
|
-
* @param {string}
|
|
16643
|
-
* @param {
|
|
16641
|
+
* @param {string} [language]
|
|
16642
|
+
* @param {number} [page]
|
|
16643
|
+
* @param {number} [limit]
|
|
16644
|
+
* @param {Date} [lastRetrieved]
|
|
16644
16645
|
* @param {*} [options] Override http request option.
|
|
16645
16646
|
* @throws {RequiredError}
|
|
16646
16647
|
*/
|
|
16647
|
-
|
|
16648
|
-
return localVarFp.
|
|
16648
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
16649
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16649
16650
|
},
|
|
16650
16651
|
/**
|
|
16651
16652
|
*
|
|
16652
|
-
* @summary
|
|
16653
|
+
* @summary Delete DoctorLanguage
|
|
16653
16654
|
* @param {string} doctorId
|
|
16654
16655
|
* @param {string} languageId
|
|
16655
|
-
* @param {string} code
|
|
16656
16656
|
* @param {*} [options] Override http request option.
|
|
16657
16657
|
* @throws {RequiredError}
|
|
16658
16658
|
*/
|
|
16659
|
-
|
|
16660
|
-
return localVarFp.
|
|
16659
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
16660
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
16661
16661
|
},
|
|
16662
16662
|
/**
|
|
16663
16663
|
*
|
|
16664
|
-
* @summary
|
|
16664
|
+
* @summary Get DoctorLanguage.
|
|
16665
16665
|
* @param {string} doctorId
|
|
16666
16666
|
* @param {string} languageId
|
|
16667
|
-
* @param {string} code
|
|
16668
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16669
16667
|
* @param {*} [options] Override http request option.
|
|
16670
16668
|
* @throws {RequiredError}
|
|
16671
16669
|
*/
|
|
16672
|
-
|
|
16673
|
-
return localVarFp.
|
|
16670
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
16671
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
16674
16672
|
},
|
|
16675
16673
|
/**
|
|
16676
16674
|
*
|
|
16677
|
-
* @summary
|
|
16675
|
+
* @summary Update DoctorLanguage.
|
|
16678
16676
|
* @param {string} doctorId
|
|
16679
|
-
* @param {string}
|
|
16680
|
-
* @param {
|
|
16681
|
-
* @param {number} [limit]
|
|
16682
|
-
* @param {Date} [lastRetrieved]
|
|
16677
|
+
* @param {string} languageId
|
|
16678
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16683
16679
|
* @param {*} [options] Override http request option.
|
|
16684
16680
|
* @throws {RequiredError}
|
|
16685
16681
|
*/
|
|
16686
|
-
|
|
16687
|
-
return localVarFp.
|
|
16682
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
16683
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16688
16684
|
},
|
|
16689
16685
|
/**
|
|
16690
16686
|
*
|
|
@@ -17133,62 +17129,59 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17133
17129
|
};
|
|
17134
17130
|
/**
|
|
17135
17131
|
*
|
|
17136
|
-
* @summary
|
|
17132
|
+
* @summary Get all DoctorLanguages.
|
|
17137
17133
|
* @param {string} doctorId
|
|
17138
|
-
* @param {string}
|
|
17139
|
-
* @param {
|
|
17134
|
+
* @param {string} [language]
|
|
17135
|
+
* @param {number} [page]
|
|
17136
|
+
* @param {number} [limit]
|
|
17137
|
+
* @param {Date} [lastRetrieved]
|
|
17140
17138
|
* @param {*} [options] Override http request option.
|
|
17141
17139
|
* @throws {RequiredError}
|
|
17142
17140
|
* @memberof DoctorsApi
|
|
17143
17141
|
*/
|
|
17144
|
-
DoctorsApi.prototype.
|
|
17142
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
17145
17143
|
var _this = this;
|
|
17146
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17144
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17147
17145
|
};
|
|
17148
17146
|
/**
|
|
17149
17147
|
*
|
|
17150
|
-
* @summary
|
|
17148
|
+
* @summary Delete DoctorLanguage
|
|
17151
17149
|
* @param {string} doctorId
|
|
17152
17150
|
* @param {string} languageId
|
|
17153
|
-
* @param {string} code
|
|
17154
17151
|
* @param {*} [options] Override http request option.
|
|
17155
17152
|
* @throws {RequiredError}
|
|
17156
17153
|
* @memberof DoctorsApi
|
|
17157
17154
|
*/
|
|
17158
|
-
DoctorsApi.prototype.
|
|
17155
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete = function (doctorId, languageId, options) {
|
|
17159
17156
|
var _this = this;
|
|
17160
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17157
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17161
17158
|
};
|
|
17162
17159
|
/**
|
|
17163
17160
|
*
|
|
17164
|
-
* @summary
|
|
17161
|
+
* @summary Get DoctorLanguage.
|
|
17165
17162
|
* @param {string} doctorId
|
|
17166
17163
|
* @param {string} languageId
|
|
17167
|
-
* @param {string} code
|
|
17168
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17169
17164
|
* @param {*} [options] Override http request option.
|
|
17170
17165
|
* @throws {RequiredError}
|
|
17171
17166
|
* @memberof DoctorsApi
|
|
17172
17167
|
*/
|
|
17173
|
-
DoctorsApi.prototype.
|
|
17168
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
|
|
17174
17169
|
var _this = this;
|
|
17175
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17170
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17176
17171
|
};
|
|
17177
17172
|
/**
|
|
17178
17173
|
*
|
|
17179
|
-
* @summary
|
|
17174
|
+
* @summary Update DoctorLanguage.
|
|
17180
17175
|
* @param {string} doctorId
|
|
17181
|
-
* @param {string}
|
|
17182
|
-
* @param {
|
|
17183
|
-
* @param {number} [limit]
|
|
17184
|
-
* @param {Date} [lastRetrieved]
|
|
17176
|
+
* @param {string} languageId
|
|
17177
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17185
17178
|
* @param {*} [options] Override http request option.
|
|
17186
17179
|
* @throws {RequiredError}
|
|
17187
17180
|
* @memberof DoctorsApi
|
|
17188
17181
|
*/
|
|
17189
|
-
DoctorsApi.prototype.
|
|
17182
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdPut = function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
17190
17183
|
var _this = this;
|
|
17191
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17184
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17192
17185
|
};
|
|
17193
17186
|
/**
|
|
17194
17187
|
*
|
|
@@ -21830,11 +21823,10 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21830
21823
|
* @summary Delete GetAllLanguage.
|
|
21831
21824
|
* @param {string} hospitalId
|
|
21832
21825
|
* @param {string} languageCode
|
|
21833
|
-
* @param {string} langaugeCode
|
|
21834
21826
|
* @param {*} [options] Override http request option.
|
|
21835
21827
|
* @throws {RequiredError}
|
|
21836
21828
|
*/
|
|
21837
|
-
|
|
21829
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
21838
21830
|
if (options === void 0) { options = {}; }
|
|
21839
21831
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21840
21832
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21842,15 +21834,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21842
21834
|
switch (_a.label) {
|
|
21843
21835
|
case 0:
|
|
21844
21836
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21845
|
-
common_1.assertParamExists('
|
|
21837
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId);
|
|
21846
21838
|
// verify required parameter 'languageCode' is not null or undefined
|
|
21847
|
-
common_1.assertParamExists('
|
|
21848
|
-
|
|
21849
|
-
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete', 'langaugeCode', langaugeCode);
|
|
21850
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{langaugeCode}"
|
|
21839
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
21840
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
|
|
21851
21841
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21852
|
-
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)))
|
|
21853
|
-
.replace("{" + "langaugeCode" + "}", encodeURIComponent(String(langaugeCode)));
|
|
21842
|
+
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
|
|
21854
21843
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21855
21844
|
if (configuration) {
|
|
21856
21845
|
baseOptions = configuration.baseOptions;
|
|
@@ -24757,16 +24746,15 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24757
24746
|
* @summary Delete GetAllLanguage.
|
|
24758
24747
|
* @param {string} hospitalId
|
|
24759
24748
|
* @param {string} languageCode
|
|
24760
|
-
* @param {string} langaugeCode
|
|
24761
24749
|
* @param {*} [options] Override http request option.
|
|
24762
24750
|
* @throws {RequiredError}
|
|
24763
24751
|
*/
|
|
24764
|
-
|
|
24752
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
24765
24753
|
return __awaiter(this, void 0, void 0, function () {
|
|
24766
24754
|
var localVarAxiosArgs;
|
|
24767
24755
|
return __generator(this, function (_a) {
|
|
24768
24756
|
switch (_a.label) {
|
|
24769
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
24757
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
|
|
24770
24758
|
case 1:
|
|
24771
24759
|
localVarAxiosArgs = _a.sent();
|
|
24772
24760
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26061,12 +26049,11 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26061
26049
|
* @summary Delete GetAllLanguage.
|
|
26062
26050
|
* @param {string} hospitalId
|
|
26063
26051
|
* @param {string} languageCode
|
|
26064
|
-
* @param {string} langaugeCode
|
|
26065
26052
|
* @param {*} [options] Override http request option.
|
|
26066
26053
|
* @throws {RequiredError}
|
|
26067
26054
|
*/
|
|
26068
|
-
|
|
26069
|
-
return localVarFp.
|
|
26055
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
26056
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26070
26057
|
},
|
|
26071
26058
|
/**
|
|
26072
26059
|
*
|
|
@@ -27025,14 +27012,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
27025
27012
|
* @summary Delete GetAllLanguage.
|
|
27026
27013
|
* @param {string} hospitalId
|
|
27027
27014
|
* @param {string} languageCode
|
|
27028
|
-
* @param {string} langaugeCode
|
|
27029
27015
|
* @param {*} [options] Override http request option.
|
|
27030
27016
|
* @throws {RequiredError}
|
|
27031
27017
|
* @memberof HospitalsApi
|
|
27032
27018
|
*/
|
|
27033
|
-
HospitalsApi.prototype.
|
|
27019
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete = function (hospitalId, languageCode, options) {
|
|
27034
27020
|
var _this = this;
|
|
27035
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
27021
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27036
27022
|
};
|
|
27037
27023
|
/**
|
|
27038
27024
|
*
|