ch-admin-api-client-typescript 4.2.6 → 4.2.9
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 +92 -108
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +172 -200
- package/package.json +1 -1
- package/src/api.ts +181 -209
package/lib/api.js
CHANGED
|
@@ -14317,14 +14317,16 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14317
14317
|
},
|
|
14318
14318
|
/**
|
|
14319
14319
|
*
|
|
14320
|
-
* @summary
|
|
14320
|
+
* @summary Get all DoctorLanguages.
|
|
14321
14321
|
* @param {string} doctorId
|
|
14322
|
-
* @param {string}
|
|
14323
|
-
* @param {
|
|
14322
|
+
* @param {string} [language]
|
|
14323
|
+
* @param {number} [page]
|
|
14324
|
+
* @param {number} [limit]
|
|
14325
|
+
* @param {Date} [lastRetrieved]
|
|
14324
14326
|
* @param {*} [options] Override http request option.
|
|
14325
14327
|
* @throws {RequiredError}
|
|
14326
14328
|
*/
|
|
14327
|
-
|
|
14329
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
14328
14330
|
if (options === void 0) { options = {}; }
|
|
14329
14331
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14330
14332
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14332,20 +14334,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14332
14334
|
switch (_a.label) {
|
|
14333
14335
|
case 0:
|
|
14334
14336
|
// 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)));
|
|
14337
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
|
|
14338
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages"
|
|
14339
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
14344
14340
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14345
14341
|
if (configuration) {
|
|
14346
14342
|
baseOptions = configuration.baseOptions;
|
|
14347
14343
|
}
|
|
14348
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14344
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14349
14345
|
localVarHeaderParameter = {};
|
|
14350
14346
|
localVarQueryParameter = {};
|
|
14351
14347
|
// authentication oauth2 required
|
|
@@ -14355,6 +14351,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14355
14351
|
// authentication oauth2 required
|
|
14356
14352
|
// oauth required
|
|
14357
14353
|
_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
|
+
}
|
|
14358
14368
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14359
14369
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14360
14370
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14368,14 +14378,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14368
14378
|
},
|
|
14369
14379
|
/**
|
|
14370
14380
|
*
|
|
14371
|
-
* @summary
|
|
14381
|
+
* @summary Delete DoctorLanguage
|
|
14372
14382
|
* @param {string} doctorId
|
|
14373
14383
|
* @param {string} languageId
|
|
14374
|
-
* @param {string} code
|
|
14375
14384
|
* @param {*} [options] Override http request option.
|
|
14376
14385
|
* @throws {RequiredError}
|
|
14377
14386
|
*/
|
|
14378
|
-
|
|
14387
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
14379
14388
|
if (options === void 0) { options = {}; }
|
|
14380
14389
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14381
14390
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14383,20 +14392,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14383
14392
|
switch (_a.label) {
|
|
14384
14393
|
case 0:
|
|
14385
14394
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14386
|
-
common_1.assertParamExists('
|
|
14395
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId);
|
|
14387
14396
|
// 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}"
|
|
14397
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId);
|
|
14398
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14392
14399
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14393
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14394
|
-
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14400
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14395
14401
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14396
14402
|
if (configuration) {
|
|
14397
14403
|
baseOptions = configuration.baseOptions;
|
|
14398
14404
|
}
|
|
14399
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14405
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
14400
14406
|
localVarHeaderParameter = {};
|
|
14401
14407
|
localVarQueryParameter = {};
|
|
14402
14408
|
// authentication oauth2 required
|
|
@@ -14419,15 +14425,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14419
14425
|
},
|
|
14420
14426
|
/**
|
|
14421
14427
|
*
|
|
14422
|
-
* @summary
|
|
14428
|
+
* @summary Get DoctorLanguage.
|
|
14423
14429
|
* @param {string} doctorId
|
|
14424
14430
|
* @param {string} languageId
|
|
14425
|
-
* @param {string} code
|
|
14426
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14427
14431
|
* @param {*} [options] Override http request option.
|
|
14428
14432
|
* @throws {RequiredError}
|
|
14429
14433
|
*/
|
|
14430
|
-
|
|
14434
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
14431
14435
|
if (options === void 0) { options = {}; }
|
|
14432
14436
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14433
14437
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14435,20 +14439,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14435
14439
|
switch (_a.label) {
|
|
14436
14440
|
case 0:
|
|
14437
14441
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14438
|
-
common_1.assertParamExists('
|
|
14442
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
|
|
14439
14443
|
// 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}"
|
|
14444
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
|
|
14445
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14444
14446
|
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14445
|
-
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
|
|
14446
|
-
.replace("{" + "code" + "}", encodeURIComponent(String(code)));
|
|
14447
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
14447
14448
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14448
14449
|
if (configuration) {
|
|
14449
14450
|
baseOptions = configuration.baseOptions;
|
|
14450
14451
|
}
|
|
14451
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
14452
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14452
14453
|
localVarHeaderParameter = {};
|
|
14453
14454
|
localVarQueryParameter = {};
|
|
14454
14455
|
// authentication oauth2 required
|
|
@@ -14458,11 +14459,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14458
14459
|
// authentication oauth2 required
|
|
14459
14460
|
// oauth required
|
|
14460
14461
|
_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);
|
|
14466
14465
|
return [2 /*return*/, {
|
|
14467
14466
|
url: common_1.toPathString(localVarUrlObj),
|
|
14468
14467
|
options: localVarRequestOptions,
|
|
@@ -14473,16 +14472,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14473
14472
|
},
|
|
14474
14473
|
/**
|
|
14475
14474
|
*
|
|
14476
|
-
* @summary
|
|
14475
|
+
* @summary Update DoctorLanguage.
|
|
14477
14476
|
* @param {string} doctorId
|
|
14478
|
-
* @param {string}
|
|
14479
|
-
* @param {
|
|
14480
|
-
* @param {number} [limit]
|
|
14481
|
-
* @param {Date} [lastRetrieved]
|
|
14477
|
+
* @param {string} languageId
|
|
14478
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14482
14479
|
* @param {*} [options] Override http request option.
|
|
14483
14480
|
* @throws {RequiredError}
|
|
14484
14481
|
*/
|
|
14485
|
-
|
|
14482
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
14486
14483
|
if (options === void 0) { options = {}; }
|
|
14487
14484
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14488
14485
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14490,14 +14487,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14490
14487
|
switch (_a.label) {
|
|
14491
14488
|
case 0:
|
|
14492
14489
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14493
|
-
common_1.assertParamExists('
|
|
14494
|
-
|
|
14495
|
-
|
|
14490
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId);
|
|
14491
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
14492
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId);
|
|
14493
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
14494
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
14495
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
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: 'PUT' }, baseOptions), options);
|
|
14501
14501
|
localVarHeaderParameter = {};
|
|
14502
14502
|
localVarQueryParameter = {};
|
|
14503
14503
|
// authentication oauth2 required
|
|
@@ -14507,23 +14507,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14507
14507
|
// authentication oauth2 required
|
|
14508
14508
|
// oauth required
|
|
14509
14509
|
_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
|
-
}
|
|
14510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14524
14511
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14525
14512
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14526
14513
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14514
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
14527
14515
|
return [2 /*return*/, {
|
|
14528
14516
|
url: common_1.toPathString(localVarUrlObj),
|
|
14529
14517
|
options: localVarRequestOptions,
|
|
@@ -15929,19 +15917,21 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15929
15917
|
},
|
|
15930
15918
|
/**
|
|
15931
15919
|
*
|
|
15932
|
-
* @summary
|
|
15920
|
+
* @summary Get all DoctorLanguages.
|
|
15933
15921
|
* @param {string} doctorId
|
|
15934
|
-
* @param {string}
|
|
15935
|
-
* @param {
|
|
15922
|
+
* @param {string} [language]
|
|
15923
|
+
* @param {number} [page]
|
|
15924
|
+
* @param {number} [limit]
|
|
15925
|
+
* @param {Date} [lastRetrieved]
|
|
15936
15926
|
* @param {*} [options] Override http request option.
|
|
15937
15927
|
* @throws {RequiredError}
|
|
15938
15928
|
*/
|
|
15939
|
-
|
|
15929
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
15940
15930
|
return __awaiter(this, void 0, void 0, function () {
|
|
15941
15931
|
var localVarAxiosArgs;
|
|
15942
15932
|
return __generator(this, function (_a) {
|
|
15943
15933
|
switch (_a.label) {
|
|
15944
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15934
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
|
|
15945
15935
|
case 1:
|
|
15946
15936
|
localVarAxiosArgs = _a.sent();
|
|
15947
15937
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15951,19 +15941,18 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15951
15941
|
},
|
|
15952
15942
|
/**
|
|
15953
15943
|
*
|
|
15954
|
-
* @summary
|
|
15944
|
+
* @summary Delete DoctorLanguage
|
|
15955
15945
|
* @param {string} doctorId
|
|
15956
15946
|
* @param {string} languageId
|
|
15957
|
-
* @param {string} code
|
|
15958
15947
|
* @param {*} [options] Override http request option.
|
|
15959
15948
|
* @throws {RequiredError}
|
|
15960
15949
|
*/
|
|
15961
|
-
|
|
15950
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
15962
15951
|
return __awaiter(this, void 0, void 0, function () {
|
|
15963
15952
|
var localVarAxiosArgs;
|
|
15964
15953
|
return __generator(this, function (_a) {
|
|
15965
15954
|
switch (_a.label) {
|
|
15966
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15955
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options)];
|
|
15967
15956
|
case 1:
|
|
15968
15957
|
localVarAxiosArgs = _a.sent();
|
|
15969
15958
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15973,20 +15962,18 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15973
15962
|
},
|
|
15974
15963
|
/**
|
|
15975
15964
|
*
|
|
15976
|
-
* @summary
|
|
15965
|
+
* @summary Get DoctorLanguage.
|
|
15977
15966
|
* @param {string} doctorId
|
|
15978
15967
|
* @param {string} languageId
|
|
15979
|
-
* @param {string} code
|
|
15980
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
15981
15968
|
* @param {*} [options] Override http request option.
|
|
15982
15969
|
* @throws {RequiredError}
|
|
15983
15970
|
*/
|
|
15984
|
-
|
|
15971
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
15985
15972
|
return __awaiter(this, void 0, void 0, function () {
|
|
15986
15973
|
var localVarAxiosArgs;
|
|
15987
15974
|
return __generator(this, function (_a) {
|
|
15988
15975
|
switch (_a.label) {
|
|
15989
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15976
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
|
|
15990
15977
|
case 1:
|
|
15991
15978
|
localVarAxiosArgs = _a.sent();
|
|
15992
15979
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15996,21 +15983,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15996
15983
|
},
|
|
15997
15984
|
/**
|
|
15998
15985
|
*
|
|
15999
|
-
* @summary
|
|
15986
|
+
* @summary Update DoctorLanguage.
|
|
16000
15987
|
* @param {string} doctorId
|
|
16001
|
-
* @param {string}
|
|
16002
|
-
* @param {
|
|
16003
|
-
* @param {number} [limit]
|
|
16004
|
-
* @param {Date} [lastRetrieved]
|
|
15988
|
+
* @param {string} languageId
|
|
15989
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16005
15990
|
* @param {*} [options] Override http request option.
|
|
16006
15991
|
* @throws {RequiredError}
|
|
16007
15992
|
*/
|
|
16008
|
-
|
|
15993
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
16009
15994
|
return __awaiter(this, void 0, void 0, function () {
|
|
16010
15995
|
var localVarAxiosArgs;
|
|
16011
15996
|
return __generator(this, function (_a) {
|
|
16012
15997
|
switch (_a.label) {
|
|
16013
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15998
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options)];
|
|
16014
15999
|
case 1:
|
|
16015
16000
|
localVarAxiosArgs = _a.sent();
|
|
16016
16001
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16637,54 +16622,51 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
16637
16622
|
},
|
|
16638
16623
|
/**
|
|
16639
16624
|
*
|
|
16640
|
-
* @summary
|
|
16625
|
+
* @summary Get all DoctorLanguages.
|
|
16641
16626
|
* @param {string} doctorId
|
|
16642
|
-
* @param {string}
|
|
16643
|
-
* @param {
|
|
16627
|
+
* @param {string} [language]
|
|
16628
|
+
* @param {number} [page]
|
|
16629
|
+
* @param {number} [limit]
|
|
16630
|
+
* @param {Date} [lastRetrieved]
|
|
16644
16631
|
* @param {*} [options] Override http request option.
|
|
16645
16632
|
* @throws {RequiredError}
|
|
16646
16633
|
*/
|
|
16647
|
-
|
|
16648
|
-
return localVarFp.
|
|
16634
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
16635
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16649
16636
|
},
|
|
16650
16637
|
/**
|
|
16651
16638
|
*
|
|
16652
|
-
* @summary
|
|
16639
|
+
* @summary Delete DoctorLanguage
|
|
16653
16640
|
* @param {string} doctorId
|
|
16654
16641
|
* @param {string} languageId
|
|
16655
|
-
* @param {string} code
|
|
16656
16642
|
* @param {*} [options] Override http request option.
|
|
16657
16643
|
* @throws {RequiredError}
|
|
16658
16644
|
*/
|
|
16659
|
-
|
|
16660
|
-
return localVarFp.
|
|
16645
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
16646
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
16661
16647
|
},
|
|
16662
16648
|
/**
|
|
16663
16649
|
*
|
|
16664
|
-
* @summary
|
|
16650
|
+
* @summary Get DoctorLanguage.
|
|
16665
16651
|
* @param {string} doctorId
|
|
16666
16652
|
* @param {string} languageId
|
|
16667
|
-
* @param {string} code
|
|
16668
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16669
16653
|
* @param {*} [options] Override http request option.
|
|
16670
16654
|
* @throws {RequiredError}
|
|
16671
16655
|
*/
|
|
16672
|
-
|
|
16673
|
-
return localVarFp.
|
|
16656
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
16657
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
16674
16658
|
},
|
|
16675
16659
|
/**
|
|
16676
16660
|
*
|
|
16677
|
-
* @summary
|
|
16661
|
+
* @summary Update DoctorLanguage.
|
|
16678
16662
|
* @param {string} doctorId
|
|
16679
|
-
* @param {string}
|
|
16680
|
-
* @param {
|
|
16681
|
-
* @param {number} [limit]
|
|
16682
|
-
* @param {Date} [lastRetrieved]
|
|
16663
|
+
* @param {string} languageId
|
|
16664
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16683
16665
|
* @param {*} [options] Override http request option.
|
|
16684
16666
|
* @throws {RequiredError}
|
|
16685
16667
|
*/
|
|
16686
|
-
|
|
16687
|
-
return localVarFp.
|
|
16668
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
16669
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16688
16670
|
},
|
|
16689
16671
|
/**
|
|
16690
16672
|
*
|
|
@@ -17133,62 +17115,59 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17133
17115
|
};
|
|
17134
17116
|
/**
|
|
17135
17117
|
*
|
|
17136
|
-
* @summary
|
|
17118
|
+
* @summary Get all DoctorLanguages.
|
|
17137
17119
|
* @param {string} doctorId
|
|
17138
|
-
* @param {string}
|
|
17139
|
-
* @param {
|
|
17120
|
+
* @param {string} [language]
|
|
17121
|
+
* @param {number} [page]
|
|
17122
|
+
* @param {number} [limit]
|
|
17123
|
+
* @param {Date} [lastRetrieved]
|
|
17140
17124
|
* @param {*} [options] Override http request option.
|
|
17141
17125
|
* @throws {RequiredError}
|
|
17142
17126
|
* @memberof DoctorsApi
|
|
17143
17127
|
*/
|
|
17144
|
-
DoctorsApi.prototype.
|
|
17128
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
17145
17129
|
var _this = this;
|
|
17146
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17130
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17147
17131
|
};
|
|
17148
17132
|
/**
|
|
17149
17133
|
*
|
|
17150
|
-
* @summary
|
|
17134
|
+
* @summary Delete DoctorLanguage
|
|
17151
17135
|
* @param {string} doctorId
|
|
17152
17136
|
* @param {string} languageId
|
|
17153
|
-
* @param {string} code
|
|
17154
17137
|
* @param {*} [options] Override http request option.
|
|
17155
17138
|
* @throws {RequiredError}
|
|
17156
17139
|
* @memberof DoctorsApi
|
|
17157
17140
|
*/
|
|
17158
|
-
DoctorsApi.prototype.
|
|
17141
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete = function (doctorId, languageId, options) {
|
|
17159
17142
|
var _this = this;
|
|
17160
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17143
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17161
17144
|
};
|
|
17162
17145
|
/**
|
|
17163
17146
|
*
|
|
17164
|
-
* @summary
|
|
17147
|
+
* @summary Get DoctorLanguage.
|
|
17165
17148
|
* @param {string} doctorId
|
|
17166
17149
|
* @param {string} languageId
|
|
17167
|
-
* @param {string} code
|
|
17168
|
-
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17169
17150
|
* @param {*} [options] Override http request option.
|
|
17170
17151
|
* @throws {RequiredError}
|
|
17171
17152
|
* @memberof DoctorsApi
|
|
17172
17153
|
*/
|
|
17173
|
-
DoctorsApi.prototype.
|
|
17154
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
|
|
17174
17155
|
var _this = this;
|
|
17175
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17156
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17176
17157
|
};
|
|
17177
17158
|
/**
|
|
17178
17159
|
*
|
|
17179
|
-
* @summary
|
|
17160
|
+
* @summary Update DoctorLanguage.
|
|
17180
17161
|
* @param {string} doctorId
|
|
17181
|
-
* @param {string}
|
|
17182
|
-
* @param {
|
|
17183
|
-
* @param {number} [limit]
|
|
17184
|
-
* @param {Date} [lastRetrieved]
|
|
17162
|
+
* @param {string} languageId
|
|
17163
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17185
17164
|
* @param {*} [options] Override http request option.
|
|
17186
17165
|
* @throws {RequiredError}
|
|
17187
17166
|
* @memberof DoctorsApi
|
|
17188
17167
|
*/
|
|
17189
|
-
DoctorsApi.prototype.
|
|
17168
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdPut = function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
17190
17169
|
var _this = this;
|
|
17191
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
17170
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17192
17171
|
};
|
|
17193
17172
|
/**
|
|
17194
17173
|
*
|
|
@@ -21766,14 +21745,16 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21766
21745
|
},
|
|
21767
21746
|
/**
|
|
21768
21747
|
*
|
|
21769
|
-
* @summary
|
|
21748
|
+
* @summary Get all GetAllLanguages.
|
|
21770
21749
|
* @param {string} hospitalId
|
|
21771
|
-
* @param {string}
|
|
21772
|
-
* @param {
|
|
21750
|
+
* @param {string} [name]
|
|
21751
|
+
* @param {number} [page]
|
|
21752
|
+
* @param {number} [limit]
|
|
21753
|
+
* @param {Date} [lastRetrieved]
|
|
21773
21754
|
* @param {*} [options] Override http request option.
|
|
21774
21755
|
* @throws {RequiredError}
|
|
21775
21756
|
*/
|
|
21776
|
-
|
|
21757
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
21777
21758
|
if (options === void 0) { options = {}; }
|
|
21778
21759
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21779
21760
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21781,20 +21762,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21781
21762
|
switch (_a.label) {
|
|
21782
21763
|
case 0:
|
|
21783
21764
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21784
|
-
common_1.assertParamExists('
|
|
21785
|
-
|
|
21786
|
-
|
|
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)));
|
|
21765
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId);
|
|
21766
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
21767
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
21793
21768
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21794
21769
|
if (configuration) {
|
|
21795
21770
|
baseOptions = configuration.baseOptions;
|
|
21796
21771
|
}
|
|
21797
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21772
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
21798
21773
|
localVarHeaderParameter = {};
|
|
21799
21774
|
localVarQueryParameter = {};
|
|
21800
21775
|
// authentication oauth2 required
|
|
@@ -21804,6 +21779,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21804
21779
|
// authentication oauth2 required
|
|
21805
21780
|
// oauth required
|
|
21806
21781
|
_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
|
+
}
|
|
21807
21796
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21808
21797
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21809
21798
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21817,16 +21806,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21817
21806
|
},
|
|
21818
21807
|
/**
|
|
21819
21808
|
*
|
|
21820
|
-
* @summary
|
|
21809
|
+
* @summary Delete GetAllLanguage.
|
|
21821
21810
|
* @param {string} hospitalId
|
|
21822
|
-
* @param {string}
|
|
21823
|
-
* @param {number} [page]
|
|
21824
|
-
* @param {number} [limit]
|
|
21825
|
-
* @param {Date} [lastRetrieved]
|
|
21811
|
+
* @param {string} languageCode
|
|
21826
21812
|
* @param {*} [options] Override http request option.
|
|
21827
21813
|
* @throws {RequiredError}
|
|
21828
21814
|
*/
|
|
21829
|
-
|
|
21815
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
21830
21816
|
if (options === void 0) { options = {}; }
|
|
21831
21817
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21832
21818
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21834,14 +21820,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21834
21820
|
switch (_a.label) {
|
|
21835
21821
|
case 0:
|
|
21836
21822
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21837
|
-
common_1.assertParamExists('
|
|
21838
|
-
|
|
21839
|
-
|
|
21823
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId);
|
|
21824
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
21825
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
21826
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
|
|
21827
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21828
|
+
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
|
|
21840
21829
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21841
21830
|
if (configuration) {
|
|
21842
21831
|
baseOptions = configuration.baseOptions;
|
|
21843
21832
|
}
|
|
21844
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
21833
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
21845
21834
|
localVarHeaderParameter = {};
|
|
21846
21835
|
localVarQueryParameter = {};
|
|
21847
21836
|
// authentication oauth2 required
|
|
@@ -21851,20 +21840,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21851
21840
|
// authentication oauth2 required
|
|
21852
21841
|
// oauth required
|
|
21853
21842
|
_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
|
-
}
|
|
21868
21843
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21869
21844
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21870
21845
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -24730,19 +24705,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24730
24705
|
},
|
|
24731
24706
|
/**
|
|
24732
24707
|
*
|
|
24733
|
-
* @summary
|
|
24708
|
+
* @summary Get all GetAllLanguages.
|
|
24734
24709
|
* @param {string} hospitalId
|
|
24735
|
-
* @param {string}
|
|
24736
|
-
* @param {
|
|
24710
|
+
* @param {string} [name]
|
|
24711
|
+
* @param {number} [page]
|
|
24712
|
+
* @param {number} [limit]
|
|
24713
|
+
* @param {Date} [lastRetrieved]
|
|
24737
24714
|
* @param {*} [options] Override http request option.
|
|
24738
24715
|
* @throws {RequiredError}
|
|
24739
24716
|
*/
|
|
24740
|
-
|
|
24717
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
24741
24718
|
return __awaiter(this, void 0, void 0, function () {
|
|
24742
24719
|
var localVarAxiosArgs;
|
|
24743
24720
|
return __generator(this, function (_a) {
|
|
24744
24721
|
switch (_a.label) {
|
|
24745
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
24722
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options)];
|
|
24746
24723
|
case 1:
|
|
24747
24724
|
localVarAxiosArgs = _a.sent();
|
|
24748
24725
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24752,21 +24729,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24752
24729
|
},
|
|
24753
24730
|
/**
|
|
24754
24731
|
*
|
|
24755
|
-
* @summary
|
|
24732
|
+
* @summary Delete GetAllLanguage.
|
|
24756
24733
|
* @param {string} hospitalId
|
|
24757
|
-
* @param {string}
|
|
24758
|
-
* @param {number} [page]
|
|
24759
|
-
* @param {number} [limit]
|
|
24760
|
-
* @param {Date} [lastRetrieved]
|
|
24734
|
+
* @param {string} languageCode
|
|
24761
24735
|
* @param {*} [options] Override http request option.
|
|
24762
24736
|
* @throws {RequiredError}
|
|
24763
24737
|
*/
|
|
24764
|
-
|
|
24738
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
24765
24739
|
return __awaiter(this, void 0, void 0, function () {
|
|
24766
24740
|
var localVarAxiosArgs;
|
|
24767
24741
|
return __generator(this, function (_a) {
|
|
24768
24742
|
switch (_a.label) {
|
|
24769
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
24743
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
|
|
24770
24744
|
case 1:
|
|
24771
24745
|
localVarAxiosArgs = _a.sent();
|
|
24772
24746
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26042,18 +26016,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26042
26016
|
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
26043
26017
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26044
26018
|
},
|
|
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
|
-
},
|
|
26057
26019
|
/**
|
|
26058
26020
|
*
|
|
26059
26021
|
* @summary Get all GetAllLanguages.
|
|
@@ -26068,6 +26030,17 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26068
26030
|
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
26069
26031
|
return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26070
26032
|
},
|
|
26033
|
+
/**
|
|
26034
|
+
*
|
|
26035
|
+
* @summary Delete GetAllLanguage.
|
|
26036
|
+
* @param {string} hospitalId
|
|
26037
|
+
* @param {string} languageCode
|
|
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
|
+
},
|
|
26071
26044
|
/**
|
|
26072
26045
|
*
|
|
26073
26046
|
* @summary Create HospitalLanguages.
|
|
@@ -27006,33 +26979,32 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
27006
26979
|
};
|
|
27007
26980
|
/**
|
|
27008
26981
|
*
|
|
27009
|
-
* @summary
|
|
26982
|
+
* @summary Get all GetAllLanguages.
|
|
27010
26983
|
* @param {string} hospitalId
|
|
27011
|
-
* @param {string}
|
|
27012
|
-
* @param {
|
|
26984
|
+
* @param {string} [name]
|
|
26985
|
+
* @param {number} [page]
|
|
26986
|
+
* @param {number} [limit]
|
|
26987
|
+
* @param {Date} [lastRetrieved]
|
|
27013
26988
|
* @param {*} [options] Override http request option.
|
|
27014
26989
|
* @throws {RequiredError}
|
|
27015
26990
|
* @memberof HospitalsApi
|
|
27016
26991
|
*/
|
|
27017
|
-
HospitalsApi.prototype.
|
|
26992
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
27018
26993
|
var _this = this;
|
|
27019
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
26994
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27020
26995
|
};
|
|
27021
26996
|
/**
|
|
27022
26997
|
*
|
|
27023
|
-
* @summary
|
|
26998
|
+
* @summary Delete GetAllLanguage.
|
|
27024
26999
|
* @param {string} hospitalId
|
|
27025
|
-
* @param {string}
|
|
27026
|
-
* @param {number} [page]
|
|
27027
|
-
* @param {number} [limit]
|
|
27028
|
-
* @param {Date} [lastRetrieved]
|
|
27000
|
+
* @param {string} languageCode
|
|
27029
27001
|
* @param {*} [options] Override http request option.
|
|
27030
27002
|
* @throws {RequiredError}
|
|
27031
27003
|
* @memberof HospitalsApi
|
|
27032
27004
|
*/
|
|
27033
|
-
HospitalsApi.prototype.
|
|
27005
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete = function (hospitalId, languageCode, options) {
|
|
27034
27006
|
var _this = this;
|
|
27035
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
27007
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27036
27008
|
};
|
|
27037
27009
|
/**
|
|
27038
27010
|
*
|