ch-admin-api-client-typescript 4.2.8 → 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 +56 -68
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +105 -126
- package/package.json +1 -1
- package/src/api.ts +110 -131
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
|
*
|