ch-admin-api-client-typescript 4.2.2 → 4.2.6
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 +200 -207
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +342 -392
- package/package.json +1 -1
- package/src/api.ts +366 -395
package/lib/api.js
CHANGED
|
@@ -14317,16 +14317,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14317
14317
|
},
|
|
14318
14318
|
/**
|
|
14319
14319
|
*
|
|
14320
|
-
* @summary
|
|
14320
|
+
* @summary Delete DoctorLanguage
|
|
14321
14321
|
* @param {string} doctorId
|
|
14322
|
-
* @param {string}
|
|
14323
|
-
* @param {
|
|
14324
|
-
* @param {number} [limit]
|
|
14325
|
-
* @param {Date} [lastRetrieved]
|
|
14322
|
+
* @param {string} languageId
|
|
14323
|
+
* @param {string} code
|
|
14326
14324
|
* @param {*} [options] Override http request option.
|
|
14327
14325
|
* @throws {RequiredError}
|
|
14328
14326
|
*/
|
|
14329
|
-
|
|
14327
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
|
|
14330
14328
|
if (options === void 0) { options = {}; }
|
|
14331
14329
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14332
14330
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14334,14 +14332,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14334
14332
|
switch (_a.label) {
|
|
14335
14333
|
case 0:
|
|
14336
14334
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14337
|
-
common_1.assertParamExists('
|
|
14338
|
-
|
|
14339
|
-
|
|
14335
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'doctorId', doctorId);
|
|
14336
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
14337
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'languageId', languageId);
|
|
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)));
|
|
14340
14344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14341
14345
|
if (configuration) {
|
|
14342
14346
|
baseOptions = configuration.baseOptions;
|
|
14343
14347
|
}
|
|
14344
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14348
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
14345
14349
|
localVarHeaderParameter = {};
|
|
14346
14350
|
localVarQueryParameter = {};
|
|
14347
14351
|
// authentication oauth2 required
|
|
@@ -14351,20 +14355,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14351
14355
|
// authentication oauth2 required
|
|
14352
14356
|
// oauth required
|
|
14353
14357
|
_a.sent();
|
|
14354
|
-
if (language !== undefined) {
|
|
14355
|
-
localVarQueryParameter['Language'] = language;
|
|
14356
|
-
}
|
|
14357
|
-
if (page !== undefined) {
|
|
14358
|
-
localVarQueryParameter['page'] = page;
|
|
14359
|
-
}
|
|
14360
|
-
if (limit !== undefined) {
|
|
14361
|
-
localVarQueryParameter['limit'] = limit;
|
|
14362
|
-
}
|
|
14363
|
-
if (lastRetrieved !== undefined) {
|
|
14364
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
14365
|
-
lastRetrieved.toISOString() :
|
|
14366
|
-
lastRetrieved;
|
|
14367
|
-
}
|
|
14368
14358
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14369
14359
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14370
14360
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14378,13 +14368,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14378
14368
|
},
|
|
14379
14369
|
/**
|
|
14380
14370
|
*
|
|
14381
|
-
* @summary
|
|
14371
|
+
* @summary Get DoctorLanguage.
|
|
14382
14372
|
* @param {string} doctorId
|
|
14383
14373
|
* @param {string} languageId
|
|
14374
|
+
* @param {string} code
|
|
14384
14375
|
* @param {*} [options] Override http request option.
|
|
14385
14376
|
* @throws {RequiredError}
|
|
14386
14377
|
*/
|
|
14387
|
-
|
|
14378
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
|
|
14388
14379
|
if (options === void 0) { options = {}; }
|
|
14389
14380
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14390
14381
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14392,17 +14383,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14392
14383
|
switch (_a.label) {
|
|
14393
14384
|
case 0:
|
|
14394
14385
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14395
|
-
common_1.assertParamExists('
|
|
14386
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId);
|
|
14396
14387
|
// verify required parameter 'languageId' is not null or undefined
|
|
14397
|
-
common_1.assertParamExists('
|
|
14398
|
-
|
|
14388
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'languageId', languageId);
|
|
14389
|
+
// verify required parameter 'code' is not null or undefined
|
|
14390
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code);
|
|
14391
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
|
|
14399
14392
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14400
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14393
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14394
|
+
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14401
14395
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14402
14396
|
if (configuration) {
|
|
14403
14397
|
baseOptions = configuration.baseOptions;
|
|
14404
14398
|
}
|
|
14405
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14399
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14406
14400
|
localVarHeaderParameter = {};
|
|
14407
14401
|
localVarQueryParameter = {};
|
|
14408
14402
|
// authentication oauth2 required
|
|
@@ -14425,13 +14419,15 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14425
14419
|
},
|
|
14426
14420
|
/**
|
|
14427
14421
|
*
|
|
14428
|
-
* @summary
|
|
14422
|
+
* @summary Update DoctorLanguage.
|
|
14429
14423
|
* @param {string} doctorId
|
|
14430
14424
|
* @param {string} languageId
|
|
14425
|
+
* @param {string} code
|
|
14426
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14431
14427
|
* @param {*} [options] Override http request option.
|
|
14432
14428
|
* @throws {RequiredError}
|
|
14433
14429
|
*/
|
|
14434
|
-
|
|
14430
|
+
apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
|
|
14435
14431
|
if (options === void 0) { options = {}; }
|
|
14436
14432
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14437
14433
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14439,17 +14435,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14439
14435
|
switch (_a.label) {
|
|
14440
14436
|
case 0:
|
|
14441
14437
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14442
|
-
common_1.assertParamExists('
|
|
14438
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId);
|
|
14443
14439
|
// verify required parameter 'languageId' is not null or undefined
|
|
14444
|
-
common_1.assertParamExists('
|
|
14445
|
-
|
|
14440
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'languageId', languageId);
|
|
14441
|
+
// verify required parameter 'code' is not null or undefined
|
|
14442
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code);
|
|
14443
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
|
|
14446
14444
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14447
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14445
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14446
|
+
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14448
14447
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14449
14448
|
if (configuration) {
|
|
14450
14449
|
baseOptions = configuration.baseOptions;
|
|
14451
14450
|
}
|
|
14452
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14451
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
14453
14452
|
localVarHeaderParameter = {};
|
|
14454
14453
|
localVarQueryParameter = {};
|
|
14455
14454
|
// authentication oauth2 required
|
|
@@ -14459,9 +14458,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14459
14458
|
// authentication oauth2 required
|
|
14460
14459
|
// oauth required
|
|
14461
14460
|
_a.sent();
|
|
14461
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14462
14462
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14463
14463
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14464
14464
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14465
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
14465
14466
|
return [2 /*return*/, {
|
|
14466
14467
|
url: common_1.toPathString(localVarUrlObj),
|
|
14467
14468
|
options: localVarRequestOptions,
|
|
@@ -14472,14 +14473,16 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14472
14473
|
},
|
|
14473
14474
|
/**
|
|
14474
14475
|
*
|
|
14475
|
-
* @summary
|
|
14476
|
+
* @summary Get all DoctorLanguages.
|
|
14476
14477
|
* @param {string} doctorId
|
|
14477
|
-
* @param {string}
|
|
14478
|
-
* @param {
|
|
14478
|
+
* @param {string} [language]
|
|
14479
|
+
* @param {number} [page]
|
|
14480
|
+
* @param {number} [limit]
|
|
14481
|
+
* @param {Date} [lastRetrieved]
|
|
14479
14482
|
* @param {*} [options] Override http request option.
|
|
14480
14483
|
* @throws {RequiredError}
|
|
14481
14484
|
*/
|
|
14482
|
-
|
|
14485
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
14483
14486
|
if (options === void 0) { options = {}; }
|
|
14484
14487
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14485
14488
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14487,17 +14490,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14487
14490
|
switch (_a.label) {
|
|
14488
14491
|
case 0:
|
|
14489
14492
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14490
|
-
common_1.assertParamExists('
|
|
14491
|
-
|
|
14492
|
-
|
|
14493
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14494
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14495
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14493
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
|
|
14494
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages"
|
|
14495
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
14496
14496
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14497
14497
|
if (configuration) {
|
|
14498
14498
|
baseOptions = configuration.baseOptions;
|
|
14499
14499
|
}
|
|
14500
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14500
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14501
14501
|
localVarHeaderParameter = {};
|
|
14502
14502
|
localVarQueryParameter = {};
|
|
14503
14503
|
// authentication oauth2 required
|
|
@@ -14507,11 +14507,23 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14507
14507
|
// authentication oauth2 required
|
|
14508
14508
|
// oauth required
|
|
14509
14509
|
_a.sent();
|
|
14510
|
-
|
|
14510
|
+
if (language !== undefined) {
|
|
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
|
+
}
|
|
14511
14524
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14512
14525
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14513
14526
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14514
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
14515
14527
|
return [2 /*return*/, {
|
|
14516
14528
|
url: common_1.toPathString(localVarUrlObj),
|
|
14517
14529
|
options: localVarRequestOptions,
|
|
@@ -15917,21 +15929,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15917
15929
|
},
|
|
15918
15930
|
/**
|
|
15919
15931
|
*
|
|
15920
|
-
* @summary
|
|
15932
|
+
* @summary Delete DoctorLanguage
|
|
15921
15933
|
* @param {string} doctorId
|
|
15922
|
-
* @param {string}
|
|
15923
|
-
* @param {
|
|
15924
|
-
* @param {number} [limit]
|
|
15925
|
-
* @param {Date} [lastRetrieved]
|
|
15934
|
+
* @param {string} languageId
|
|
15935
|
+
* @param {string} code
|
|
15926
15936
|
* @param {*} [options] Override http request option.
|
|
15927
15937
|
* @throws {RequiredError}
|
|
15928
15938
|
*/
|
|
15929
|
-
|
|
15939
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
|
|
15930
15940
|
return __awaiter(this, void 0, void 0, function () {
|
|
15931
15941
|
var localVarAxiosArgs;
|
|
15932
15942
|
return __generator(this, function (_a) {
|
|
15933
15943
|
switch (_a.label) {
|
|
15934
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15944
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options)];
|
|
15935
15945
|
case 1:
|
|
15936
15946
|
localVarAxiosArgs = _a.sent();
|
|
15937
15947
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15941,18 +15951,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15941
15951
|
},
|
|
15942
15952
|
/**
|
|
15943
15953
|
*
|
|
15944
|
-
* @summary
|
|
15954
|
+
* @summary Get DoctorLanguage.
|
|
15945
15955
|
* @param {string} doctorId
|
|
15946
15956
|
* @param {string} languageId
|
|
15957
|
+
* @param {string} code
|
|
15947
15958
|
* @param {*} [options] Override http request option.
|
|
15948
15959
|
* @throws {RequiredError}
|
|
15949
15960
|
*/
|
|
15950
|
-
|
|
15961
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
|
|
15951
15962
|
return __awaiter(this, void 0, void 0, function () {
|
|
15952
15963
|
var localVarAxiosArgs;
|
|
15953
15964
|
return __generator(this, function (_a) {
|
|
15954
15965
|
switch (_a.label) {
|
|
15955
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15966
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options)];
|
|
15956
15967
|
case 1:
|
|
15957
15968
|
localVarAxiosArgs = _a.sent();
|
|
15958
15969
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15962,18 +15973,20 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15962
15973
|
},
|
|
15963
15974
|
/**
|
|
15964
15975
|
*
|
|
15965
|
-
* @summary
|
|
15976
|
+
* @summary Update DoctorLanguage.
|
|
15966
15977
|
* @param {string} doctorId
|
|
15967
15978
|
* @param {string} languageId
|
|
15979
|
+
* @param {string} code
|
|
15980
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
15968
15981
|
* @param {*} [options] Override http request option.
|
|
15969
15982
|
* @throws {RequiredError}
|
|
15970
15983
|
*/
|
|
15971
|
-
|
|
15984
|
+
apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
|
|
15972
15985
|
return __awaiter(this, void 0, void 0, function () {
|
|
15973
15986
|
var localVarAxiosArgs;
|
|
15974
15987
|
return __generator(this, function (_a) {
|
|
15975
15988
|
switch (_a.label) {
|
|
15976
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15989
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options)];
|
|
15977
15990
|
case 1:
|
|
15978
15991
|
localVarAxiosArgs = _a.sent();
|
|
15979
15992
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15983,19 +15996,21 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15983
15996
|
},
|
|
15984
15997
|
/**
|
|
15985
15998
|
*
|
|
15986
|
-
* @summary
|
|
15999
|
+
* @summary Get all DoctorLanguages.
|
|
15987
16000
|
* @param {string} doctorId
|
|
15988
|
-
* @param {string}
|
|
15989
|
-
* @param {
|
|
16001
|
+
* @param {string} [language]
|
|
16002
|
+
* @param {number} [page]
|
|
16003
|
+
* @param {number} [limit]
|
|
16004
|
+
* @param {Date} [lastRetrieved]
|
|
15990
16005
|
* @param {*} [options] Override http request option.
|
|
15991
16006
|
* @throws {RequiredError}
|
|
15992
16007
|
*/
|
|
15993
|
-
|
|
16008
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
15994
16009
|
return __awaiter(this, void 0, void 0, function () {
|
|
15995
16010
|
var localVarAxiosArgs;
|
|
15996
16011
|
return __generator(this, function (_a) {
|
|
15997
16012
|
switch (_a.label) {
|
|
15998
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
16013
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
|
|
15999
16014
|
case 1:
|
|
16000
16015
|
localVarAxiosArgs = _a.sent();
|
|
16001
16016
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16622,51 +16637,54 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
16622
16637
|
},
|
|
16623
16638
|
/**
|
|
16624
16639
|
*
|
|
16625
|
-
* @summary
|
|
16640
|
+
* @summary Delete DoctorLanguage
|
|
16626
16641
|
* @param {string} doctorId
|
|
16627
|
-
* @param {string}
|
|
16628
|
-
* @param {
|
|
16629
|
-
* @param {number} [limit]
|
|
16630
|
-
* @param {Date} [lastRetrieved]
|
|
16642
|
+
* @param {string} languageId
|
|
16643
|
+
* @param {string} code
|
|
16631
16644
|
* @param {*} [options] Override http request option.
|
|
16632
16645
|
* @throws {RequiredError}
|
|
16633
16646
|
*/
|
|
16634
|
-
|
|
16635
|
-
return localVarFp.
|
|
16647
|
+
apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
|
|
16648
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
|
|
16636
16649
|
},
|
|
16637
16650
|
/**
|
|
16638
16651
|
*
|
|
16639
|
-
* @summary
|
|
16652
|
+
* @summary Get DoctorLanguage.
|
|
16640
16653
|
* @param {string} doctorId
|
|
16641
16654
|
* @param {string} languageId
|
|
16655
|
+
* @param {string} code
|
|
16642
16656
|
* @param {*} [options] Override http request option.
|
|
16643
16657
|
* @throws {RequiredError}
|
|
16644
16658
|
*/
|
|
16645
|
-
|
|
16646
|
-
return localVarFp.
|
|
16659
|
+
apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
|
|
16660
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
|
|
16647
16661
|
},
|
|
16648
16662
|
/**
|
|
16649
16663
|
*
|
|
16650
|
-
* @summary
|
|
16664
|
+
* @summary Update DoctorLanguage.
|
|
16651
16665
|
* @param {string} doctorId
|
|
16652
16666
|
* @param {string} languageId
|
|
16667
|
+
* @param {string} code
|
|
16668
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16653
16669
|
* @param {*} [options] Override http request option.
|
|
16654
16670
|
* @throws {RequiredError}
|
|
16655
16671
|
*/
|
|
16656
|
-
|
|
16657
|
-
return localVarFp.
|
|
16672
|
+
apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
|
|
16673
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16658
16674
|
},
|
|
16659
16675
|
/**
|
|
16660
16676
|
*
|
|
16661
|
-
* @summary
|
|
16677
|
+
* @summary Get all DoctorLanguages.
|
|
16662
16678
|
* @param {string} doctorId
|
|
16663
|
-
* @param {string}
|
|
16664
|
-
* @param {
|
|
16679
|
+
* @param {string} [language]
|
|
16680
|
+
* @param {number} [page]
|
|
16681
|
+
* @param {number} [limit]
|
|
16682
|
+
* @param {Date} [lastRetrieved]
|
|
16665
16683
|
* @param {*} [options] Override http request option.
|
|
16666
16684
|
* @throws {RequiredError}
|
|
16667
16685
|
*/
|
|
16668
|
-
|
|
16669
|
-
return localVarFp.
|
|
16686
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
16687
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16670
16688
|
},
|
|
16671
16689
|
/**
|
|
16672
16690
|
*
|
|
@@ -17115,59 +17133,62 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17115
17133
|
};
|
|
17116
17134
|
/**
|
|
17117
17135
|
*
|
|
17118
|
-
* @summary
|
|
17136
|
+
* @summary Delete DoctorLanguage
|
|
17119
17137
|
* @param {string} doctorId
|
|
17120
|
-
* @param {string}
|
|
17121
|
-
* @param {
|
|
17122
|
-
* @param {number} [limit]
|
|
17123
|
-
* @param {Date} [lastRetrieved]
|
|
17138
|
+
* @param {string} languageId
|
|
17139
|
+
* @param {string} code
|
|
17124
17140
|
* @param {*} [options] Override http request option.
|
|
17125
17141
|
* @throws {RequiredError}
|
|
17126
17142
|
* @memberof DoctorsApi
|
|
17127
17143
|
*/
|
|
17128
|
-
DoctorsApi.prototype.
|
|
17144
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeDelete = function (doctorId, languageId, code, options) {
|
|
17129
17145
|
var _this = this;
|
|
17130
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17146
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17131
17147
|
};
|
|
17132
17148
|
/**
|
|
17133
17149
|
*
|
|
17134
|
-
* @summary
|
|
17150
|
+
* @summary Get DoctorLanguage.
|
|
17135
17151
|
* @param {string} doctorId
|
|
17136
17152
|
* @param {string} languageId
|
|
17153
|
+
* @param {string} code
|
|
17137
17154
|
* @param {*} [options] Override http request option.
|
|
17138
17155
|
* @throws {RequiredError}
|
|
17139
17156
|
* @memberof DoctorsApi
|
|
17140
17157
|
*/
|
|
17141
|
-
DoctorsApi.prototype.
|
|
17158
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeGet = function (doctorId, languageId, code, options) {
|
|
17142
17159
|
var _this = this;
|
|
17143
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17160
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17144
17161
|
};
|
|
17145
17162
|
/**
|
|
17146
17163
|
*
|
|
17147
|
-
* @summary
|
|
17164
|
+
* @summary Update DoctorLanguage.
|
|
17148
17165
|
* @param {string} doctorId
|
|
17149
17166
|
* @param {string} languageId
|
|
17167
|
+
* @param {string} code
|
|
17168
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17150
17169
|
* @param {*} [options] Override http request option.
|
|
17151
17170
|
* @throws {RequiredError}
|
|
17152
17171
|
* @memberof DoctorsApi
|
|
17153
17172
|
*/
|
|
17154
|
-
DoctorsApi.prototype.
|
|
17173
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodePut = function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
|
|
17155
17174
|
var _this = this;
|
|
17156
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17175
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17157
17176
|
};
|
|
17158
17177
|
/**
|
|
17159
17178
|
*
|
|
17160
|
-
* @summary
|
|
17179
|
+
* @summary Get all DoctorLanguages.
|
|
17161
17180
|
* @param {string} doctorId
|
|
17162
|
-
* @param {string}
|
|
17163
|
-
* @param {
|
|
17181
|
+
* @param {string} [language]
|
|
17182
|
+
* @param {number} [page]
|
|
17183
|
+
* @param {number} [limit]
|
|
17184
|
+
* @param {Date} [lastRetrieved]
|
|
17164
17185
|
* @param {*} [options] Override http request option.
|
|
17165
17186
|
* @throws {RequiredError}
|
|
17166
17187
|
* @memberof DoctorsApi
|
|
17167
17188
|
*/
|
|
17168
|
-
DoctorsApi.prototype.
|
|
17189
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
17169
17190
|
var _this = this;
|
|
17170
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17191
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17171
17192
|
};
|
|
17172
17193
|
/**
|
|
17173
17194
|
*
|
|
@@ -21745,16 +21766,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21745
21766
|
},
|
|
21746
21767
|
/**
|
|
21747
21768
|
*
|
|
21748
|
-
* @summary
|
|
21769
|
+
* @summary Delete GetAllLanguage.
|
|
21749
21770
|
* @param {string} hospitalId
|
|
21750
|
-
* @param {string}
|
|
21751
|
-
* @param {
|
|
21752
|
-
* @param {number} [limit]
|
|
21753
|
-
* @param {Date} [lastRetrieved]
|
|
21771
|
+
* @param {string} languageCode
|
|
21772
|
+
* @param {string} code
|
|
21754
21773
|
* @param {*} [options] Override http request option.
|
|
21755
21774
|
* @throws {RequiredError}
|
|
21756
21775
|
*/
|
|
21757
|
-
|
|
21776
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete: function (hospitalId, languageCode, code, options) {
|
|
21758
21777
|
if (options === void 0) { options = {}; }
|
|
21759
21778
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21760
21779
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21762,14 +21781,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21762
21781
|
switch (_a.label) {
|
|
21763
21782
|
case 0:
|
|
21764
21783
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21765
|
-
common_1.assertParamExists('
|
|
21766
|
-
|
|
21767
|
-
|
|
21784
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'hospitalId', hospitalId);
|
|
21785
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
21786
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'languageCode', languageCode);
|
|
21787
|
+
// verify required parameter 'code' is not null or undefined
|
|
21788
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesCodeDelete', 'code', code);
|
|
21789
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{code}"
|
|
21790
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21791
|
+
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)))
|
|
21792
|
+
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
21768
21793
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21769
21794
|
if (configuration) {
|
|
21770
21795
|
baseOptions = configuration.baseOptions;
|
|
21771
21796
|
}
|
|
21772
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21797
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
21773
21798
|
localVarHeaderParameter = {};
|
|
21774
21799
|
localVarQueryParameter = {};
|
|
21775
21800
|
// authentication oauth2 required
|
|
@@ -21779,20 +21804,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21779
21804
|
// authentication oauth2 required
|
|
21780
21805
|
// oauth required
|
|
21781
21806
|
_a.sent();
|
|
21782
|
-
if (name !== undefined) {
|
|
21783
|
-
localVarQueryParameter['Name'] = name;
|
|
21784
|
-
}
|
|
21785
|
-
if (page !== undefined) {
|
|
21786
|
-
localVarQueryParameter['page'] = page;
|
|
21787
|
-
}
|
|
21788
|
-
if (limit !== undefined) {
|
|
21789
|
-
localVarQueryParameter['limit'] = limit;
|
|
21790
|
-
}
|
|
21791
|
-
if (lastRetrieved !== undefined) {
|
|
21792
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
21793
|
-
lastRetrieved.toISOString() :
|
|
21794
|
-
lastRetrieved;
|
|
21795
|
-
}
|
|
21796
21807
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21797
21808
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21798
21809
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21806,13 +21817,16 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21806
21817
|
},
|
|
21807
21818
|
/**
|
|
21808
21819
|
*
|
|
21809
|
-
* @summary
|
|
21820
|
+
* @summary Get all GetAllLanguages.
|
|
21810
21821
|
* @param {string} hospitalId
|
|
21811
|
-
* @param {string}
|
|
21822
|
+
* @param {string} [name]
|
|
21823
|
+
* @param {number} [page]
|
|
21824
|
+
* @param {number} [limit]
|
|
21825
|
+
* @param {Date} [lastRetrieved]
|
|
21812
21826
|
* @param {*} [options] Override http request option.
|
|
21813
21827
|
* @throws {RequiredError}
|
|
21814
21828
|
*/
|
|
21815
|
-
|
|
21829
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
21816
21830
|
if (options === void 0) { options = {}; }
|
|
21817
21831
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21818
21832
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21820,17 +21834,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21820
21834
|
switch (_a.label) {
|
|
21821
21835
|
case 0:
|
|
21822
21836
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21823
|
-
common_1.assertParamExists('
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
|
|
21827
|
-
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21828
|
-
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
|
|
21837
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId);
|
|
21838
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
21839
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
21829
21840
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21830
21841
|
if (configuration) {
|
|
21831
21842
|
baseOptions = configuration.baseOptions;
|
|
21832
21843
|
}
|
|
21833
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21844
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
21834
21845
|
localVarHeaderParameter = {};
|
|
21835
21846
|
localVarQueryParameter = {};
|
|
21836
21847
|
// authentication oauth2 required
|
|
@@ -21840,6 +21851,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21840
21851
|
// authentication oauth2 required
|
|
21841
21852
|
// oauth required
|
|
21842
21853
|
_a.sent();
|
|
21854
|
+
if (name !== undefined) {
|
|
21855
|
+
localVarQueryParameter['Name'] = name;
|
|
21856
|
+
}
|
|
21857
|
+
if (page !== undefined) {
|
|
21858
|
+
localVarQueryParameter['page'] = page;
|
|
21859
|
+
}
|
|
21860
|
+
if (limit !== undefined) {
|
|
21861
|
+
localVarQueryParameter['limit'] = limit;
|
|
21862
|
+
}
|
|
21863
|
+
if (lastRetrieved !== undefined) {
|
|
21864
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
21865
|
+
lastRetrieved.toISOString() :
|
|
21866
|
+
lastRetrieved;
|
|
21867
|
+
}
|
|
21843
21868
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21844
21869
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21845
21870
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -24705,21 +24730,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24705
24730
|
},
|
|
24706
24731
|
/**
|
|
24707
24732
|
*
|
|
24708
|
-
* @summary
|
|
24733
|
+
* @summary Delete GetAllLanguage.
|
|
24709
24734
|
* @param {string} hospitalId
|
|
24710
|
-
* @param {string}
|
|
24711
|
-
* @param {
|
|
24712
|
-
* @param {number} [limit]
|
|
24713
|
-
* @param {Date} [lastRetrieved]
|
|
24735
|
+
* @param {string} languageCode
|
|
24736
|
+
* @param {string} code
|
|
24714
24737
|
* @param {*} [options] Override http request option.
|
|
24715
24738
|
* @throws {RequiredError}
|
|
24716
24739
|
*/
|
|
24717
|
-
|
|
24740
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete: function (hospitalId, languageCode, code, options) {
|
|
24718
24741
|
return __awaiter(this, void 0, void 0, function () {
|
|
24719
24742
|
var localVarAxiosArgs;
|
|
24720
24743
|
return __generator(this, function (_a) {
|
|
24721
24744
|
switch (_a.label) {
|
|
24722
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
24745
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options)];
|
|
24723
24746
|
case 1:
|
|
24724
24747
|
localVarAxiosArgs = _a.sent();
|
|
24725
24748
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24729,18 +24752,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24729
24752
|
},
|
|
24730
24753
|
/**
|
|
24731
24754
|
*
|
|
24732
|
-
* @summary
|
|
24755
|
+
* @summary Get all GetAllLanguages.
|
|
24733
24756
|
* @param {string} hospitalId
|
|
24734
|
-
* @param {string}
|
|
24757
|
+
* @param {string} [name]
|
|
24758
|
+
* @param {number} [page]
|
|
24759
|
+
* @param {number} [limit]
|
|
24760
|
+
* @param {Date} [lastRetrieved]
|
|
24735
24761
|
* @param {*} [options] Override http request option.
|
|
24736
24762
|
* @throws {RequiredError}
|
|
24737
24763
|
*/
|
|
24738
|
-
|
|
24764
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
24739
24765
|
return __awaiter(this, void 0, void 0, function () {
|
|
24740
24766
|
var localVarAxiosArgs;
|
|
24741
24767
|
return __generator(this, function (_a) {
|
|
24742
24768
|
switch (_a.label) {
|
|
24743
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
24769
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options)];
|
|
24744
24770
|
case 1:
|
|
24745
24771
|
localVarAxiosArgs = _a.sent();
|
|
24746
24772
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26016,6 +26042,18 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26016
26042
|
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
26017
26043
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26018
26044
|
},
|
|
26045
|
+
/**
|
|
26046
|
+
*
|
|
26047
|
+
* @summary Delete GetAllLanguage.
|
|
26048
|
+
* @param {string} hospitalId
|
|
26049
|
+
* @param {string} languageCode
|
|
26050
|
+
* @param {string} code
|
|
26051
|
+
* @param {*} [options] Override http request option.
|
|
26052
|
+
* @throws {RequiredError}
|
|
26053
|
+
*/
|
|
26054
|
+
apiV1HospitalsHospitalIdLanguagesCodeDelete: function (hospitalId, languageCode, code, options) {
|
|
26055
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options).then(function (request) { return request(axios, basePath); });
|
|
26056
|
+
},
|
|
26019
26057
|
/**
|
|
26020
26058
|
*
|
|
26021
26059
|
* @summary Get all GetAllLanguages.
|
|
@@ -26032,20 +26070,9 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26032
26070
|
},
|
|
26033
26071
|
/**
|
|
26034
26072
|
*
|
|
26035
|
-
* @summary
|
|
26073
|
+
* @summary Create HospitalLanguages.
|
|
26036
26074
|
* @param {string} hospitalId
|
|
26037
|
-
* @param {
|
|
26038
|
-
* @param {*} [options] Override http request option.
|
|
26039
|
-
* @throws {RequiredError}
|
|
26040
|
-
*/
|
|
26041
|
-
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
26042
|
-
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26043
|
-
},
|
|
26044
|
-
/**
|
|
26045
|
-
*
|
|
26046
|
-
* @summary Create HospitalLanguages.
|
|
26047
|
-
* @param {string} hospitalId
|
|
26048
|
-
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
26075
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
26049
26076
|
* @param {*} [options] Override http request option.
|
|
26050
26077
|
* @throws {RequiredError}
|
|
26051
26078
|
*/
|
|
@@ -26979,32 +27006,33 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26979
27006
|
};
|
|
26980
27007
|
/**
|
|
26981
27008
|
*
|
|
26982
|
-
* @summary
|
|
27009
|
+
* @summary Delete GetAllLanguage.
|
|
26983
27010
|
* @param {string} hospitalId
|
|
26984
|
-
* @param {string}
|
|
26985
|
-
* @param {
|
|
26986
|
-
* @param {number} [limit]
|
|
26987
|
-
* @param {Date} [lastRetrieved]
|
|
27011
|
+
* @param {string} languageCode
|
|
27012
|
+
* @param {string} code
|
|
26988
27013
|
* @param {*} [options] Override http request option.
|
|
26989
27014
|
* @throws {RequiredError}
|
|
26990
27015
|
* @memberof HospitalsApi
|
|
26991
27016
|
*/
|
|
26992
|
-
HospitalsApi.prototype.
|
|
27017
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesCodeDelete = function (hospitalId, languageCode, code, options) {
|
|
26993
27018
|
var _this = this;
|
|
26994
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
27019
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesCodeDelete(hospitalId, languageCode, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26995
27020
|
};
|
|
26996
27021
|
/**
|
|
26997
27022
|
*
|
|
26998
|
-
* @summary
|
|
27023
|
+
* @summary Get all GetAllLanguages.
|
|
26999
27024
|
* @param {string} hospitalId
|
|
27000
|
-
* @param {string}
|
|
27025
|
+
* @param {string} [name]
|
|
27026
|
+
* @param {number} [page]
|
|
27027
|
+
* @param {number} [limit]
|
|
27028
|
+
* @param {Date} [lastRetrieved]
|
|
27001
27029
|
* @param {*} [options] Override http request option.
|
|
27002
27030
|
* @throws {RequiredError}
|
|
27003
27031
|
* @memberof HospitalsApi
|
|
27004
27032
|
*/
|
|
27005
|
-
HospitalsApi.prototype.
|
|
27033
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
27006
27034
|
var _this = this;
|
|
27007
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
27035
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27008
27036
|
};
|
|
27009
27037
|
/**
|
|
27010
27038
|
*
|
|
@@ -27734,12 +27762,11 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27734
27762
|
return {
|
|
27735
27763
|
/**
|
|
27736
27764
|
*
|
|
27737
|
-
* @summary Get Language by code.
|
|
27738
27765
|
* @param {string} code
|
|
27739
27766
|
* @param {*} [options] Override http request option.
|
|
27740
27767
|
* @throws {RequiredError}
|
|
27741
27768
|
*/
|
|
27742
|
-
|
|
27769
|
+
apiV1LanguagesCodeDelete: function (code, options) {
|
|
27743
27770
|
if (options === void 0) { options = {}; }
|
|
27744
27771
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27745
27772
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27747,14 +27774,14 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27747
27774
|
switch (_a.label) {
|
|
27748
27775
|
case 0:
|
|
27749
27776
|
// verify required parameter 'code' is not null or undefined
|
|
27750
|
-
common_1.assertParamExists('
|
|
27777
|
+
common_1.assertParamExists('apiV1LanguagesCodeDelete', 'code', code);
|
|
27751
27778
|
localVarPath = "/api/v1/languages/{code}"
|
|
27752
27779
|
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
27753
27780
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27754
27781
|
if (configuration) {
|
|
27755
27782
|
baseOptions = configuration.baseOptions;
|
|
27756
27783
|
}
|
|
27757
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
27784
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
27758
27785
|
localVarHeaderParameter = {};
|
|
27759
27786
|
localVarQueryParameter = {};
|
|
27760
27787
|
// authentication oauth2 required
|
|
@@ -27777,26 +27804,22 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27777
27804
|
},
|
|
27778
27805
|
/**
|
|
27779
27806
|
*
|
|
27780
|
-
* @summary Get
|
|
27781
|
-
* @param {string}
|
|
27782
|
-
* @param {string} [name]
|
|
27783
|
-
* @param {string} [code]
|
|
27784
|
-
* @param {string} [description]
|
|
27785
|
-
* @param {boolean} [showPublished]
|
|
27786
|
-
* @param {number} [page]
|
|
27787
|
-
* @param {number} [limit]
|
|
27788
|
-
* @param {Date} [lastRetrieved]
|
|
27807
|
+
* @summary Get Language.
|
|
27808
|
+
* @param {string} code
|
|
27789
27809
|
* @param {*} [options] Override http request option.
|
|
27790
27810
|
* @throws {RequiredError}
|
|
27791
27811
|
*/
|
|
27792
|
-
|
|
27812
|
+
apiV1LanguagesCodeGet: function (code, options) {
|
|
27793
27813
|
if (options === void 0) { options = {}; }
|
|
27794
27814
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27795
27815
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27796
27816
|
return __generator(this, function (_a) {
|
|
27797
27817
|
switch (_a.label) {
|
|
27798
27818
|
case 0:
|
|
27799
|
-
|
|
27819
|
+
// verify required parameter 'code' is not null or undefined
|
|
27820
|
+
common_1.assertParamExists('apiV1LanguagesCodeGet', 'code', code);
|
|
27821
|
+
localVarPath = "/api/v1/languages/{code}"
|
|
27822
|
+
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
27800
27823
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27801
27824
|
if (configuration) {
|
|
27802
27825
|
baseOptions = configuration.baseOptions;
|
|
@@ -27811,32 +27834,6 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27811
27834
|
// authentication oauth2 required
|
|
27812
27835
|
// oauth required
|
|
27813
27836
|
_a.sent();
|
|
27814
|
-
if (id !== undefined) {
|
|
27815
|
-
localVarQueryParameter['Id'] = id;
|
|
27816
|
-
}
|
|
27817
|
-
if (name !== undefined) {
|
|
27818
|
-
localVarQueryParameter['Name'] = name;
|
|
27819
|
-
}
|
|
27820
|
-
if (code !== undefined) {
|
|
27821
|
-
localVarQueryParameter['Code'] = code;
|
|
27822
|
-
}
|
|
27823
|
-
if (description !== undefined) {
|
|
27824
|
-
localVarQueryParameter['Description'] = description;
|
|
27825
|
-
}
|
|
27826
|
-
if (showPublished !== undefined) {
|
|
27827
|
-
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
27828
|
-
}
|
|
27829
|
-
if (page !== undefined) {
|
|
27830
|
-
localVarQueryParameter['page'] = page;
|
|
27831
|
-
}
|
|
27832
|
-
if (limit !== undefined) {
|
|
27833
|
-
localVarQueryParameter['limit'] = limit;
|
|
27834
|
-
}
|
|
27835
|
-
if (lastRetrieved !== undefined) {
|
|
27836
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
27837
|
-
lastRetrieved.toISOString() :
|
|
27838
|
-
lastRetrieved;
|
|
27839
|
-
}
|
|
27840
27837
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27841
27838
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27842
27839
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -27850,26 +27847,27 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27850
27847
|
},
|
|
27851
27848
|
/**
|
|
27852
27849
|
*
|
|
27853
|
-
* @param {string}
|
|
27850
|
+
* @param {string} code
|
|
27851
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
27854
27852
|
* @param {*} [options] Override http request option.
|
|
27855
27853
|
* @throws {RequiredError}
|
|
27856
27854
|
*/
|
|
27857
|
-
|
|
27855
|
+
apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
|
|
27858
27856
|
if (options === void 0) { options = {}; }
|
|
27859
27857
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27860
27858
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27861
27859
|
return __generator(this, function (_a) {
|
|
27862
27860
|
switch (_a.label) {
|
|
27863
27861
|
case 0:
|
|
27864
|
-
// verify required parameter '
|
|
27865
|
-
common_1.assertParamExists('
|
|
27866
|
-
localVarPath = "/api/v1/languages/{
|
|
27867
|
-
.replace("{" + "
|
|
27862
|
+
// verify required parameter 'code' is not null or undefined
|
|
27863
|
+
common_1.assertParamExists('apiV1LanguagesCodePut', 'code', code);
|
|
27864
|
+
localVarPath = "/api/v1/languages/{code}"
|
|
27865
|
+
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
27868
27866
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27869
27867
|
if (configuration) {
|
|
27870
27868
|
baseOptions = configuration.baseOptions;
|
|
27871
27869
|
}
|
|
27872
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
27870
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
27873
27871
|
localVarHeaderParameter = {};
|
|
27874
27872
|
localVarQueryParameter = {};
|
|
27875
27873
|
// authentication oauth2 required
|
|
@@ -27879,9 +27877,11 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27879
27877
|
// authentication oauth2 required
|
|
27880
27878
|
// oauth required
|
|
27881
27879
|
_a.sent();
|
|
27880
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27882
27881
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27883
27882
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27884
27883
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27884
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration);
|
|
27885
27885
|
return [2 /*return*/, {
|
|
27886
27886
|
url: common_1.toPathString(localVarUrlObj),
|
|
27887
27887
|
options: localVarRequestOptions,
|
|
@@ -27892,22 +27892,25 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27892
27892
|
},
|
|
27893
27893
|
/**
|
|
27894
27894
|
*
|
|
27895
|
-
* @summary Get
|
|
27896
|
-
* @param {string}
|
|
27895
|
+
* @summary Get all Languages.
|
|
27896
|
+
* @param {string} [code]
|
|
27897
|
+
* @param {string} [name]
|
|
27898
|
+
* @param {string} [description]
|
|
27899
|
+
* @param {boolean} [showPublished]
|
|
27900
|
+
* @param {number} [page]
|
|
27901
|
+
* @param {number} [limit]
|
|
27902
|
+
* @param {Date} [lastRetrieved]
|
|
27897
27903
|
* @param {*} [options] Override http request option.
|
|
27898
27904
|
* @throws {RequiredError}
|
|
27899
27905
|
*/
|
|
27900
|
-
|
|
27906
|
+
apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
|
|
27901
27907
|
if (options === void 0) { options = {}; }
|
|
27902
27908
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27903
27909
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27904
27910
|
return __generator(this, function (_a) {
|
|
27905
27911
|
switch (_a.label) {
|
|
27906
27912
|
case 0:
|
|
27907
|
-
|
|
27908
|
-
common_1.assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId);
|
|
27909
|
-
localVarPath = "/api/v1/languages/{languageId}"
|
|
27910
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
27913
|
+
localVarPath = "/api/v1/languages";
|
|
27911
27914
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27912
27915
|
if (configuration) {
|
|
27913
27916
|
baseOptions = configuration.baseOptions;
|
|
@@ -27922,54 +27925,32 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
27922
27925
|
// authentication oauth2 required
|
|
27923
27926
|
// oauth required
|
|
27924
27927
|
_a.sent();
|
|
27925
|
-
|
|
27926
|
-
|
|
27927
|
-
|
|
27928
|
-
|
|
27929
|
-
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
|
|
27933
|
-
|
|
27934
|
-
|
|
27935
|
-
|
|
27936
|
-
|
|
27937
|
-
|
|
27938
|
-
|
|
27939
|
-
|
|
27940
|
-
|
|
27941
|
-
|
|
27942
|
-
|
|
27943
|
-
|
|
27944
|
-
|
|
27945
|
-
|
|
27946
|
-
|
|
27947
|
-
return __generator(this, function (_a) {
|
|
27948
|
-
switch (_a.label) {
|
|
27949
|
-
case 0:
|
|
27950
|
-
// verify required parameter 'languageId' is not null or undefined
|
|
27951
|
-
common_1.assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId);
|
|
27952
|
-
localVarPath = "/api/v1/languages/{languageId}"
|
|
27953
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
27954
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27955
|
-
if (configuration) {
|
|
27956
|
-
baseOptions = configuration.baseOptions;
|
|
27928
|
+
if (code !== undefined) {
|
|
27929
|
+
localVarQueryParameter['Code'] = code;
|
|
27930
|
+
}
|
|
27931
|
+
if (name !== undefined) {
|
|
27932
|
+
localVarQueryParameter['Name'] = name;
|
|
27933
|
+
}
|
|
27934
|
+
if (description !== undefined) {
|
|
27935
|
+
localVarQueryParameter['Description'] = description;
|
|
27936
|
+
}
|
|
27937
|
+
if (showPublished !== undefined) {
|
|
27938
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
27939
|
+
}
|
|
27940
|
+
if (page !== undefined) {
|
|
27941
|
+
localVarQueryParameter['page'] = page;
|
|
27942
|
+
}
|
|
27943
|
+
if (limit !== undefined) {
|
|
27944
|
+
localVarQueryParameter['limit'] = limit;
|
|
27945
|
+
}
|
|
27946
|
+
if (lastRetrieved !== undefined) {
|
|
27947
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
27948
|
+
lastRetrieved.toISOString() :
|
|
27949
|
+
lastRetrieved;
|
|
27957
27950
|
}
|
|
27958
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
27959
|
-
localVarHeaderParameter = {};
|
|
27960
|
-
localVarQueryParameter = {};
|
|
27961
|
-
// authentication oauth2 required
|
|
27962
|
-
// oauth required
|
|
27963
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27964
|
-
case 1:
|
|
27965
|
-
// authentication oauth2 required
|
|
27966
|
-
// oauth required
|
|
27967
|
-
_a.sent();
|
|
27968
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27969
27951
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27970
27952
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27971
27953
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27972
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration);
|
|
27973
27954
|
return [2 /*return*/, {
|
|
27974
27955
|
url: common_1.toPathString(localVarUrlObj),
|
|
27975
27956
|
options: localVarRequestOptions,
|
|
@@ -28030,44 +28011,16 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
28030
28011
|
return {
|
|
28031
28012
|
/**
|
|
28032
28013
|
*
|
|
28033
|
-
* @summary Get Language by code.
|
|
28034
28014
|
* @param {string} code
|
|
28035
28015
|
* @param {*} [options] Override http request option.
|
|
28036
28016
|
* @throws {RequiredError}
|
|
28037
28017
|
*/
|
|
28038
|
-
|
|
28039
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
28040
|
-
var localVarAxiosArgs;
|
|
28041
|
-
return __generator(this, function (_a) {
|
|
28042
|
-
switch (_a.label) {
|
|
28043
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options)];
|
|
28044
|
-
case 1:
|
|
28045
|
-
localVarAxiosArgs = _a.sent();
|
|
28046
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
28047
|
-
}
|
|
28048
|
-
});
|
|
28049
|
-
});
|
|
28050
|
-
},
|
|
28051
|
-
/**
|
|
28052
|
-
*
|
|
28053
|
-
* @summary Get all Languages.
|
|
28054
|
-
* @param {string} [id]
|
|
28055
|
-
* @param {string} [name]
|
|
28056
|
-
* @param {string} [code]
|
|
28057
|
-
* @param {string} [description]
|
|
28058
|
-
* @param {boolean} [showPublished]
|
|
28059
|
-
* @param {number} [page]
|
|
28060
|
-
* @param {number} [limit]
|
|
28061
|
-
* @param {Date} [lastRetrieved]
|
|
28062
|
-
* @param {*} [options] Override http request option.
|
|
28063
|
-
* @throws {RequiredError}
|
|
28064
|
-
*/
|
|
28065
|
-
apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28018
|
+
apiV1LanguagesCodeDelete: function (code, options) {
|
|
28066
28019
|
return __awaiter(this, void 0, void 0, function () {
|
|
28067
28020
|
var localVarAxiosArgs;
|
|
28068
28021
|
return __generator(this, function (_a) {
|
|
28069
28022
|
switch (_a.label) {
|
|
28070
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
28023
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeDelete(code, options)];
|
|
28071
28024
|
case 1:
|
|
28072
28025
|
localVarAxiosArgs = _a.sent();
|
|
28073
28026
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28077,16 +28030,17 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
28077
28030
|
},
|
|
28078
28031
|
/**
|
|
28079
28032
|
*
|
|
28080
|
-
* @
|
|
28033
|
+
* @summary Get Language.
|
|
28034
|
+
* @param {string} code
|
|
28081
28035
|
* @param {*} [options] Override http request option.
|
|
28082
28036
|
* @throws {RequiredError}
|
|
28083
28037
|
*/
|
|
28084
|
-
|
|
28038
|
+
apiV1LanguagesCodeGet: function (code, options) {
|
|
28085
28039
|
return __awaiter(this, void 0, void 0, function () {
|
|
28086
28040
|
var localVarAxiosArgs;
|
|
28087
28041
|
return __generator(this, function (_a) {
|
|
28088
28042
|
switch (_a.label) {
|
|
28089
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
28043
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options)];
|
|
28090
28044
|
case 1:
|
|
28091
28045
|
localVarAxiosArgs = _a.sent();
|
|
28092
28046
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28096,17 +28050,17 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
28096
28050
|
},
|
|
28097
28051
|
/**
|
|
28098
28052
|
*
|
|
28099
|
-
* @
|
|
28100
|
-
* @param {
|
|
28053
|
+
* @param {string} code
|
|
28054
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
28101
28055
|
* @param {*} [options] Override http request option.
|
|
28102
28056
|
* @throws {RequiredError}
|
|
28103
28057
|
*/
|
|
28104
|
-
|
|
28058
|
+
apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
|
|
28105
28059
|
return __awaiter(this, void 0, void 0, function () {
|
|
28106
28060
|
var localVarAxiosArgs;
|
|
28107
28061
|
return __generator(this, function (_a) {
|
|
28108
28062
|
switch (_a.label) {
|
|
28109
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
28063
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodePut(code, updateLanguageCommand, options)];
|
|
28110
28064
|
case 1:
|
|
28111
28065
|
localVarAxiosArgs = _a.sent();
|
|
28112
28066
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28116,17 +28070,23 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
28116
28070
|
},
|
|
28117
28071
|
/**
|
|
28118
28072
|
*
|
|
28119
|
-
* @
|
|
28120
|
-
* @param {
|
|
28073
|
+
* @summary Get all Languages.
|
|
28074
|
+
* @param {string} [code]
|
|
28075
|
+
* @param {string} [name]
|
|
28076
|
+
* @param {string} [description]
|
|
28077
|
+
* @param {boolean} [showPublished]
|
|
28078
|
+
* @param {number} [page]
|
|
28079
|
+
* @param {number} [limit]
|
|
28080
|
+
* @param {Date} [lastRetrieved]
|
|
28121
28081
|
* @param {*} [options] Override http request option.
|
|
28122
28082
|
* @throws {RequiredError}
|
|
28123
28083
|
*/
|
|
28124
|
-
|
|
28084
|
+
apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28125
28085
|
return __awaiter(this, void 0, void 0, function () {
|
|
28126
28086
|
var localVarAxiosArgs;
|
|
28127
28087
|
return __generator(this, function (_a) {
|
|
28128
28088
|
switch (_a.label) {
|
|
28129
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
28089
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options)];
|
|
28130
28090
|
case 1:
|
|
28131
28091
|
localVarAxiosArgs = _a.sent();
|
|
28132
28092
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28164,59 +28124,48 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
|
|
|
28164
28124
|
return {
|
|
28165
28125
|
/**
|
|
28166
28126
|
*
|
|
28167
|
-
* @summary Get Language by code.
|
|
28168
28127
|
* @param {string} code
|
|
28169
28128
|
* @param {*} [options] Override http request option.
|
|
28170
28129
|
* @throws {RequiredError}
|
|
28171
28130
|
*/
|
|
28172
|
-
|
|
28173
|
-
return localVarFp.
|
|
28131
|
+
apiV1LanguagesCodeDelete: function (code, options) {
|
|
28132
|
+
return localVarFp.apiV1LanguagesCodeDelete(code, options).then(function (request) { return request(axios, basePath); });
|
|
28174
28133
|
},
|
|
28175
28134
|
/**
|
|
28176
28135
|
*
|
|
28177
|
-
* @summary Get
|
|
28178
|
-
* @param {string}
|
|
28179
|
-
* @param {string} [name]
|
|
28180
|
-
* @param {string} [code]
|
|
28181
|
-
* @param {string} [description]
|
|
28182
|
-
* @param {boolean} [showPublished]
|
|
28183
|
-
* @param {number} [page]
|
|
28184
|
-
* @param {number} [limit]
|
|
28185
|
-
* @param {Date} [lastRetrieved]
|
|
28186
|
-
* @param {*} [options] Override http request option.
|
|
28187
|
-
* @throws {RequiredError}
|
|
28188
|
-
*/
|
|
28189
|
-
apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28190
|
-
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28191
|
-
},
|
|
28192
|
-
/**
|
|
28193
|
-
*
|
|
28194
|
-
* @param {string} languageId
|
|
28136
|
+
* @summary Get Language.
|
|
28137
|
+
* @param {string} code
|
|
28195
28138
|
* @param {*} [options] Override http request option.
|
|
28196
28139
|
* @throws {RequiredError}
|
|
28197
28140
|
*/
|
|
28198
|
-
|
|
28199
|
-
return localVarFp.
|
|
28141
|
+
apiV1LanguagesCodeGet: function (code, options) {
|
|
28142
|
+
return localVarFp.apiV1LanguagesCodeGet(code, options).then(function (request) { return request(axios, basePath); });
|
|
28200
28143
|
},
|
|
28201
28144
|
/**
|
|
28202
28145
|
*
|
|
28203
|
-
* @
|
|
28204
|
-
* @param {
|
|
28146
|
+
* @param {string} code
|
|
28147
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
28205
28148
|
* @param {*} [options] Override http request option.
|
|
28206
28149
|
* @throws {RequiredError}
|
|
28207
28150
|
*/
|
|
28208
|
-
|
|
28209
|
-
return localVarFp.
|
|
28151
|
+
apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
|
|
28152
|
+
return localVarFp.apiV1LanguagesCodePut(code, updateLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
28210
28153
|
},
|
|
28211
28154
|
/**
|
|
28212
28155
|
*
|
|
28213
|
-
* @
|
|
28214
|
-
* @param {
|
|
28156
|
+
* @summary Get all Languages.
|
|
28157
|
+
* @param {string} [code]
|
|
28158
|
+
* @param {string} [name]
|
|
28159
|
+
* @param {string} [description]
|
|
28160
|
+
* @param {boolean} [showPublished]
|
|
28161
|
+
* @param {number} [page]
|
|
28162
|
+
* @param {number} [limit]
|
|
28163
|
+
* @param {Date} [lastRetrieved]
|
|
28215
28164
|
* @param {*} [options] Override http request option.
|
|
28216
28165
|
* @throws {RequiredError}
|
|
28217
28166
|
*/
|
|
28218
|
-
|
|
28219
|
-
return localVarFp.
|
|
28167
|
+
apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28168
|
+
return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28220
28169
|
},
|
|
28221
28170
|
/**
|
|
28222
28171
|
*
|
|
@@ -28242,69 +28191,56 @@ var LanguagesApi = /** @class */ (function (_super) {
|
|
|
28242
28191
|
}
|
|
28243
28192
|
/**
|
|
28244
28193
|
*
|
|
28245
|
-
* @summary Get Language by code.
|
|
28246
28194
|
* @param {string} code
|
|
28247
28195
|
* @param {*} [options] Override http request option.
|
|
28248
28196
|
* @throws {RequiredError}
|
|
28249
28197
|
* @memberof LanguagesApi
|
|
28250
28198
|
*/
|
|
28251
|
-
LanguagesApi.prototype.
|
|
28199
|
+
LanguagesApi.prototype.apiV1LanguagesCodeDelete = function (code, options) {
|
|
28252
28200
|
var _this = this;
|
|
28253
|
-
return exports.LanguagesApiFp(this.configuration).
|
|
28201
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodeDelete(code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28254
28202
|
};
|
|
28255
28203
|
/**
|
|
28256
28204
|
*
|
|
28257
|
-
* @summary Get
|
|
28258
|
-
* @param {string}
|
|
28259
|
-
* @param {string} [name]
|
|
28260
|
-
* @param {string} [code]
|
|
28261
|
-
* @param {string} [description]
|
|
28262
|
-
* @param {boolean} [showPublished]
|
|
28263
|
-
* @param {number} [page]
|
|
28264
|
-
* @param {number} [limit]
|
|
28265
|
-
* @param {Date} [lastRetrieved]
|
|
28266
|
-
* @param {*} [options] Override http request option.
|
|
28267
|
-
* @throws {RequiredError}
|
|
28268
|
-
* @memberof LanguagesApi
|
|
28269
|
-
*/
|
|
28270
|
-
LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28271
|
-
var _this = this;
|
|
28272
|
-
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28273
|
-
};
|
|
28274
|
-
/**
|
|
28275
|
-
*
|
|
28276
|
-
* @param {string} languageId
|
|
28205
|
+
* @summary Get Language.
|
|
28206
|
+
* @param {string} code
|
|
28277
28207
|
* @param {*} [options] Override http request option.
|
|
28278
28208
|
* @throws {RequiredError}
|
|
28279
28209
|
* @memberof LanguagesApi
|
|
28280
28210
|
*/
|
|
28281
|
-
LanguagesApi.prototype.
|
|
28211
|
+
LanguagesApi.prototype.apiV1LanguagesCodeGet = function (code, options) {
|
|
28282
28212
|
var _this = this;
|
|
28283
|
-
return exports.LanguagesApiFp(this.configuration).
|
|
28213
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28284
28214
|
};
|
|
28285
28215
|
/**
|
|
28286
28216
|
*
|
|
28287
|
-
* @
|
|
28288
|
-
* @param {
|
|
28217
|
+
* @param {string} code
|
|
28218
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
28289
28219
|
* @param {*} [options] Override http request option.
|
|
28290
28220
|
* @throws {RequiredError}
|
|
28291
28221
|
* @memberof LanguagesApi
|
|
28292
28222
|
*/
|
|
28293
|
-
LanguagesApi.prototype.
|
|
28223
|
+
LanguagesApi.prototype.apiV1LanguagesCodePut = function (code, updateLanguageCommand, options) {
|
|
28294
28224
|
var _this = this;
|
|
28295
|
-
return exports.LanguagesApiFp(this.configuration).
|
|
28225
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodePut(code, updateLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28296
28226
|
};
|
|
28297
28227
|
/**
|
|
28298
28228
|
*
|
|
28299
|
-
* @
|
|
28300
|
-
* @param {
|
|
28229
|
+
* @summary Get all Languages.
|
|
28230
|
+
* @param {string} [code]
|
|
28231
|
+
* @param {string} [name]
|
|
28232
|
+
* @param {string} [description]
|
|
28233
|
+
* @param {boolean} [showPublished]
|
|
28234
|
+
* @param {number} [page]
|
|
28235
|
+
* @param {number} [limit]
|
|
28236
|
+
* @param {Date} [lastRetrieved]
|
|
28301
28237
|
* @param {*} [options] Override http request option.
|
|
28302
28238
|
* @throws {RequiredError}
|
|
28303
28239
|
* @memberof LanguagesApi
|
|
28304
28240
|
*/
|
|
28305
|
-
LanguagesApi.prototype.
|
|
28241
|
+
LanguagesApi.prototype.apiV1LanguagesGet = function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
|
|
28306
28242
|
var _this = this;
|
|
28307
|
-
return exports.LanguagesApiFp(this.configuration).
|
|
28243
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28308
28244
|
};
|
|
28309
28245
|
/**
|
|
28310
28246
|
*
|
|
@@ -34033,6 +33969,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34033
33969
|
* @param {string} [name]
|
|
34034
33970
|
* @param {string} [description]
|
|
34035
33971
|
* @param {string} [specialtyTypeId]
|
|
33972
|
+
* @param {MarketingType} [marketingType]
|
|
34036
33973
|
* @param {string} [hospitalId]
|
|
34037
33974
|
* @param {Date} [created]
|
|
34038
33975
|
* @param {string} [languageCode]
|
|
@@ -34045,7 +33982,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34045
33982
|
* @param {*} [options] Override http request option.
|
|
34046
33983
|
* @throws {RequiredError}
|
|
34047
33984
|
*/
|
|
34048
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
33985
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34049
33986
|
if (options === void 0) { options = {}; }
|
|
34050
33987
|
return __awaiter(_this, void 0, void 0, function () {
|
|
34051
33988
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -34079,6 +34016,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34079
34016
|
if (specialtyTypeId !== undefined) {
|
|
34080
34017
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
34081
34018
|
}
|
|
34019
|
+
if (marketingType !== undefined) {
|
|
34020
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
34021
|
+
}
|
|
34082
34022
|
if (hospitalId !== undefined) {
|
|
34083
34023
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
34084
34024
|
}
|
|
@@ -34170,6 +34110,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34170
34110
|
* @param {string} [name]
|
|
34171
34111
|
* @param {string} [description]
|
|
34172
34112
|
* @param {string} [specialtyTypeId]
|
|
34113
|
+
* @param {MarketingType} [marketingType]
|
|
34173
34114
|
* @param {string} [hospitalId]
|
|
34174
34115
|
* @param {Date} [created]
|
|
34175
34116
|
* @param {string} [languageCode]
|
|
@@ -34182,7 +34123,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34182
34123
|
* @param {*} [options] Override http request option.
|
|
34183
34124
|
* @throws {RequiredError}
|
|
34184
34125
|
*/
|
|
34185
|
-
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34126
|
+
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34186
34127
|
if (options === void 0) { options = {}; }
|
|
34187
34128
|
return __awaiter(_this, void 0, void 0, function () {
|
|
34188
34129
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -34216,6 +34157,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34216
34157
|
if (specialtyTypeId !== undefined) {
|
|
34217
34158
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
34218
34159
|
}
|
|
34160
|
+
if (marketingType !== undefined) {
|
|
34161
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
34162
|
+
}
|
|
34219
34163
|
if (hospitalId !== undefined) {
|
|
34220
34164
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
34221
34165
|
}
|
|
@@ -34719,6 +34663,7 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
34719
34663
|
* @param {string} [name]
|
|
34720
34664
|
* @param {string} [description]
|
|
34721
34665
|
* @param {string} [specialtyTypeId]
|
|
34666
|
+
* @param {MarketingType} [marketingType]
|
|
34722
34667
|
* @param {string} [hospitalId]
|
|
34723
34668
|
* @param {Date} [created]
|
|
34724
34669
|
* @param {string} [languageCode]
|
|
@@ -34731,12 +34676,12 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
34731
34676
|
* @param {*} [options] Override http request option.
|
|
34732
34677
|
* @throws {RequiredError}
|
|
34733
34678
|
*/
|
|
34734
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34679
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34735
34680
|
return __awaiter(this, void 0, void 0, function () {
|
|
34736
34681
|
var localVarAxiosArgs;
|
|
34737
34682
|
return __generator(this, function (_a) {
|
|
34738
34683
|
switch (_a.label) {
|
|
34739
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
34684
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
34740
34685
|
case 1:
|
|
34741
34686
|
localVarAxiosArgs = _a.sent();
|
|
34742
34687
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -34771,6 +34716,7 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
34771
34716
|
* @param {string} [name]
|
|
34772
34717
|
* @param {string} [description]
|
|
34773
34718
|
* @param {string} [specialtyTypeId]
|
|
34719
|
+
* @param {MarketingType} [marketingType]
|
|
34774
34720
|
* @param {string} [hospitalId]
|
|
34775
34721
|
* @param {Date} [created]
|
|
34776
34722
|
* @param {string} [languageCode]
|
|
@@ -34783,12 +34729,12 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
34783
34729
|
* @param {*} [options] Override http request option.
|
|
34784
34730
|
* @throws {RequiredError}
|
|
34785
34731
|
*/
|
|
34786
|
-
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34732
|
+
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34787
34733
|
return __awaiter(this, void 0, void 0, function () {
|
|
34788
34734
|
var localVarAxiosArgs;
|
|
34789
34735
|
return __generator(this, function (_a) {
|
|
34790
34736
|
switch (_a.label) {
|
|
34791
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
34737
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
34792
34738
|
case 1:
|
|
34793
34739
|
localVarAxiosArgs = _a.sent();
|
|
34794
34740
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -35006,6 +34952,7 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
35006
34952
|
* @param {string} [name]
|
|
35007
34953
|
* @param {string} [description]
|
|
35008
34954
|
* @param {string} [specialtyTypeId]
|
|
34955
|
+
* @param {MarketingType} [marketingType]
|
|
35009
34956
|
* @param {string} [hospitalId]
|
|
35010
34957
|
* @param {Date} [created]
|
|
35011
34958
|
* @param {string} [languageCode]
|
|
@@ -35018,8 +34965,8 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
35018
34965
|
* @param {*} [options] Override http request option.
|
|
35019
34966
|
* @throws {RequiredError}
|
|
35020
34967
|
*/
|
|
35021
|
-
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35022
|
-
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
34968
|
+
apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
34969
|
+
return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
35023
34970
|
},
|
|
35024
34971
|
/**
|
|
35025
34972
|
*
|
|
@@ -35038,6 +34985,7 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
35038
34985
|
* @param {string} [name]
|
|
35039
34986
|
* @param {string} [description]
|
|
35040
34987
|
* @param {string} [specialtyTypeId]
|
|
34988
|
+
* @param {MarketingType} [marketingType]
|
|
35041
34989
|
* @param {string} [hospitalId]
|
|
35042
34990
|
* @param {Date} [created]
|
|
35043
34991
|
* @param {string} [languageCode]
|
|
@@ -35050,8 +34998,8 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
35050
34998
|
* @param {*} [options] Override http request option.
|
|
35051
34999
|
* @throws {RequiredError}
|
|
35052
35000
|
*/
|
|
35053
|
-
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35054
|
-
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
35001
|
+
apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35002
|
+
return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
35055
35003
|
},
|
|
35056
35004
|
/**
|
|
35057
35005
|
*
|
|
@@ -35177,6 +35125,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
35177
35125
|
* @param {string} [name]
|
|
35178
35126
|
* @param {string} [description]
|
|
35179
35127
|
* @param {string} [specialtyTypeId]
|
|
35128
|
+
* @param {MarketingType} [marketingType]
|
|
35180
35129
|
* @param {string} [hospitalId]
|
|
35181
35130
|
* @param {Date} [created]
|
|
35182
35131
|
* @param {string} [languageCode]
|
|
@@ -35190,9 +35139,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
35190
35139
|
* @throws {RequiredError}
|
|
35191
35140
|
* @memberof SpecialtiesApi
|
|
35192
35141
|
*/
|
|
35193
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35142
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35194
35143
|
var _this = this;
|
|
35195
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35144
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35196
35145
|
};
|
|
35197
35146
|
/**
|
|
35198
35147
|
*
|
|
@@ -35213,6 +35162,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
35213
35162
|
* @param {string} [name]
|
|
35214
35163
|
* @param {string} [description]
|
|
35215
35164
|
* @param {string} [specialtyTypeId]
|
|
35165
|
+
* @param {MarketingType} [marketingType]
|
|
35216
35166
|
* @param {string} [hospitalId]
|
|
35217
35167
|
* @param {Date} [created]
|
|
35218
35168
|
* @param {string} [languageCode]
|
|
@@ -35226,9 +35176,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
35226
35176
|
* @throws {RequiredError}
|
|
35227
35177
|
* @memberof SpecialtiesApi
|
|
35228
35178
|
*/
|
|
35229
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35179
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
35230
35180
|
var _this = this;
|
|
35231
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35181
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35232
35182
|
};
|
|
35233
35183
|
/**
|
|
35234
35184
|
*
|