ch-admin-api-client-typescript 4.7.9 → 4.8.1
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 +407 -46
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +230 -61
- package/package.json +1 -1
package/lib/api.js
CHANGED
|
@@ -14826,14 +14826,14 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14826
14826
|
*
|
|
14827
14827
|
* @summary Get all DoctorLanguages.
|
|
14828
14828
|
* @param {string} doctorId
|
|
14829
|
-
* @param {string} [
|
|
14829
|
+
* @param {string} [languageCode]
|
|
14830
14830
|
* @param {number} [page]
|
|
14831
14831
|
* @param {number} [limit]
|
|
14832
14832
|
* @param {Date} [lastRetrieved]
|
|
14833
14833
|
* @param {*} [options] Override http request option.
|
|
14834
14834
|
* @throws {RequiredError}
|
|
14835
14835
|
*/
|
|
14836
|
-
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId,
|
|
14836
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, options) {
|
|
14837
14837
|
if (options === void 0) { options = {}; }
|
|
14838
14838
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14839
14839
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14858,8 +14858,8 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14858
14858
|
// authentication oauth2 required
|
|
14859
14859
|
// oauth required
|
|
14860
14860
|
_a.sent();
|
|
14861
|
-
if (
|
|
14862
|
-
localVarQueryParameter['
|
|
14861
|
+
if (languageCode !== undefined) {
|
|
14862
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14863
14863
|
}
|
|
14864
14864
|
if (page !== undefined) {
|
|
14865
14865
|
localVarQueryParameter['page'] = page;
|
|
@@ -14887,11 +14887,11 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14887
14887
|
*
|
|
14888
14888
|
* @summary Delete DoctorLanguage
|
|
14889
14889
|
* @param {string} doctorId
|
|
14890
|
-
* @param {string}
|
|
14890
|
+
* @param {string} languageCode
|
|
14891
14891
|
* @param {*} [options] Override http request option.
|
|
14892
14892
|
* @throws {RequiredError}
|
|
14893
14893
|
*/
|
|
14894
|
-
|
|
14894
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
|
|
14895
14895
|
if (options === void 0) { options = {}; }
|
|
14896
14896
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14897
14897
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14899,12 +14899,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14899
14899
|
switch (_a.label) {
|
|
14900
14900
|
case 0:
|
|
14901
14901
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14902
|
-
(0, common_1.assertParamExists)('
|
|
14903
|
-
// verify required parameter '
|
|
14904
|
-
(0, common_1.assertParamExists)('
|
|
14905
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{
|
|
14902
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete', 'doctorId', doctorId);
|
|
14903
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
14904
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
14905
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
|
|
14906
14906
|
.replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
|
|
14907
|
-
.replace("{".concat("
|
|
14907
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
14908
14908
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14909
14909
|
if (configuration) {
|
|
14910
14910
|
baseOptions = configuration.baseOptions;
|
|
@@ -14934,11 +14934,11 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14934
14934
|
*
|
|
14935
14935
|
* @summary Get DoctorLanguage.
|
|
14936
14936
|
* @param {string} doctorId
|
|
14937
|
-
* @param {string}
|
|
14937
|
+
* @param {string} languageCode
|
|
14938
14938
|
* @param {*} [options] Override http request option.
|
|
14939
14939
|
* @throws {RequiredError}
|
|
14940
14940
|
*/
|
|
14941
|
-
|
|
14941
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
|
|
14942
14942
|
if (options === void 0) { options = {}; }
|
|
14943
14943
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14944
14944
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14946,12 +14946,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14946
14946
|
switch (_a.label) {
|
|
14947
14947
|
case 0:
|
|
14948
14948
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14949
|
-
(0, common_1.assertParamExists)('
|
|
14950
|
-
// verify required parameter '
|
|
14951
|
-
(0, common_1.assertParamExists)('
|
|
14952
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{
|
|
14949
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeGet', 'doctorId', doctorId);
|
|
14950
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
14951
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodeGet', 'languageCode', languageCode);
|
|
14952
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
|
|
14953
14953
|
.replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
|
|
14954
|
-
.replace("{".concat("
|
|
14954
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
14955
14955
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14956
14956
|
if (configuration) {
|
|
14957
14957
|
baseOptions = configuration.baseOptions;
|
|
@@ -14981,12 +14981,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14981
14981
|
*
|
|
14982
14982
|
* @summary Update DoctorLanguage.
|
|
14983
14983
|
* @param {string} doctorId
|
|
14984
|
-
* @param {string}
|
|
14984
|
+
* @param {string} languageCode
|
|
14985
14985
|
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14986
14986
|
* @param {*} [options] Override http request option.
|
|
14987
14987
|
* @throws {RequiredError}
|
|
14988
14988
|
*/
|
|
14989
|
-
|
|
14989
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
|
|
14990
14990
|
if (options === void 0) { options = {}; }
|
|
14991
14991
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14992
14992
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14994,12 +14994,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14994
14994
|
switch (_a.label) {
|
|
14995
14995
|
case 0:
|
|
14996
14996
|
// verify required parameter 'doctorId' is not null or undefined
|
|
14997
|
-
(0, common_1.assertParamExists)('
|
|
14998
|
-
// verify required parameter '
|
|
14999
|
-
(0, common_1.assertParamExists)('
|
|
15000
|
-
localVarPath = "/api/v1/doctors/{doctorId}/languages/{
|
|
14997
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodePut', 'doctorId', doctorId);
|
|
14998
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
14999
|
+
(0, common_1.assertParamExists)('apiV1DoctorsDoctorIdLanguagesLanguageCodePut', 'languageCode', languageCode);
|
|
15000
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageCode}"
|
|
15001
15001
|
.replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
|
|
15002
|
-
.replace("{".concat("
|
|
15002
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
15003
15003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15004
15004
|
if (configuration) {
|
|
15005
15005
|
baseOptions = configuration.baseOptions;
|
|
@@ -16472,19 +16472,19 @@ var DoctorsApiFp = function (configuration) {
|
|
|
16472
16472
|
*
|
|
16473
16473
|
* @summary Get all DoctorLanguages.
|
|
16474
16474
|
* @param {string} doctorId
|
|
16475
|
-
* @param {string} [
|
|
16475
|
+
* @param {string} [languageCode]
|
|
16476
16476
|
* @param {number} [page]
|
|
16477
16477
|
* @param {number} [limit]
|
|
16478
16478
|
* @param {Date} [lastRetrieved]
|
|
16479
16479
|
* @param {*} [options] Override http request option.
|
|
16480
16480
|
* @throws {RequiredError}
|
|
16481
16481
|
*/
|
|
16482
|
-
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId,
|
|
16482
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, options) {
|
|
16483
16483
|
return __awaiter(this, void 0, void 0, function () {
|
|
16484
16484
|
var localVarAxiosArgs;
|
|
16485
16485
|
return __generator(this, function (_a) {
|
|
16486
16486
|
switch (_a.label) {
|
|
16487
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId,
|
|
16487
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options)];
|
|
16488
16488
|
case 1:
|
|
16489
16489
|
localVarAxiosArgs = _a.sent();
|
|
16490
16490
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16496,16 +16496,16 @@ var DoctorsApiFp = function (configuration) {
|
|
|
16496
16496
|
*
|
|
16497
16497
|
* @summary Delete DoctorLanguage
|
|
16498
16498
|
* @param {string} doctorId
|
|
16499
|
-
* @param {string}
|
|
16499
|
+
* @param {string} languageCode
|
|
16500
16500
|
* @param {*} [options] Override http request option.
|
|
16501
16501
|
* @throws {RequiredError}
|
|
16502
16502
|
*/
|
|
16503
|
-
|
|
16503
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
|
|
16504
16504
|
return __awaiter(this, void 0, void 0, function () {
|
|
16505
16505
|
var localVarAxiosArgs;
|
|
16506
16506
|
return __generator(this, function (_a) {
|
|
16507
16507
|
switch (_a.label) {
|
|
16508
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
16508
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options)];
|
|
16509
16509
|
case 1:
|
|
16510
16510
|
localVarAxiosArgs = _a.sent();
|
|
16511
16511
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16517,16 +16517,16 @@ var DoctorsApiFp = function (configuration) {
|
|
|
16517
16517
|
*
|
|
16518
16518
|
* @summary Get DoctorLanguage.
|
|
16519
16519
|
* @param {string} doctorId
|
|
16520
|
-
* @param {string}
|
|
16520
|
+
* @param {string} languageCode
|
|
16521
16521
|
* @param {*} [options] Override http request option.
|
|
16522
16522
|
* @throws {RequiredError}
|
|
16523
16523
|
*/
|
|
16524
|
-
|
|
16524
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
|
|
16525
16525
|
return __awaiter(this, void 0, void 0, function () {
|
|
16526
16526
|
var localVarAxiosArgs;
|
|
16527
16527
|
return __generator(this, function (_a) {
|
|
16528
16528
|
switch (_a.label) {
|
|
16529
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
16529
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options)];
|
|
16530
16530
|
case 1:
|
|
16531
16531
|
localVarAxiosArgs = _a.sent();
|
|
16532
16532
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16538,17 +16538,17 @@ var DoctorsApiFp = function (configuration) {
|
|
|
16538
16538
|
*
|
|
16539
16539
|
* @summary Update DoctorLanguage.
|
|
16540
16540
|
* @param {string} doctorId
|
|
16541
|
-
* @param {string}
|
|
16541
|
+
* @param {string} languageCode
|
|
16542
16542
|
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
16543
16543
|
* @param {*} [options] Override http request option.
|
|
16544
16544
|
* @throws {RequiredError}
|
|
16545
16545
|
*/
|
|
16546
|
-
|
|
16546
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
|
|
16547
16547
|
return __awaiter(this, void 0, void 0, function () {
|
|
16548
16548
|
var localVarAxiosArgs;
|
|
16549
16549
|
return __generator(this, function (_a) {
|
|
16550
16550
|
switch (_a.label) {
|
|
16551
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
16551
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options)];
|
|
16552
16552
|
case 1:
|
|
16553
16553
|
localVarAxiosArgs = _a.sent();
|
|
16554
16554
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17200,49 +17200,49 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
17200
17200
|
*
|
|
17201
17201
|
* @summary Get all DoctorLanguages.
|
|
17202
17202
|
* @param {string} doctorId
|
|
17203
|
-
* @param {string} [
|
|
17203
|
+
* @param {string} [languageCode]
|
|
17204
17204
|
* @param {number} [page]
|
|
17205
17205
|
* @param {number} [limit]
|
|
17206
17206
|
* @param {Date} [lastRetrieved]
|
|
17207
17207
|
* @param {*} [options] Override http request option.
|
|
17208
17208
|
* @throws {RequiredError}
|
|
17209
17209
|
*/
|
|
17210
|
-
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId,
|
|
17211
|
-
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId,
|
|
17210
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, languageCode, page, limit, lastRetrieved, options) {
|
|
17211
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17212
17212
|
},
|
|
17213
17213
|
/**
|
|
17214
17214
|
*
|
|
17215
17215
|
* @summary Delete DoctorLanguage
|
|
17216
17216
|
* @param {string} doctorId
|
|
17217
|
-
* @param {string}
|
|
17217
|
+
* @param {string} languageCode
|
|
17218
17218
|
* @param {*} [options] Override http request option.
|
|
17219
17219
|
* @throws {RequiredError}
|
|
17220
17220
|
*/
|
|
17221
|
-
|
|
17222
|
-
return localVarFp.
|
|
17221
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete: function (doctorId, languageCode, options) {
|
|
17222
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
17223
17223
|
},
|
|
17224
17224
|
/**
|
|
17225
17225
|
*
|
|
17226
17226
|
* @summary Get DoctorLanguage.
|
|
17227
17227
|
* @param {string} doctorId
|
|
17228
|
-
* @param {string}
|
|
17228
|
+
* @param {string} languageCode
|
|
17229
17229
|
* @param {*} [options] Override http request option.
|
|
17230
17230
|
* @throws {RequiredError}
|
|
17231
17231
|
*/
|
|
17232
|
-
|
|
17233
|
-
return localVarFp.
|
|
17232
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodeGet: function (doctorId, languageCode, options) {
|
|
17233
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
17234
17234
|
},
|
|
17235
17235
|
/**
|
|
17236
17236
|
*
|
|
17237
17237
|
* @summary Update DoctorLanguage.
|
|
17238
17238
|
* @param {string} doctorId
|
|
17239
|
-
* @param {string}
|
|
17239
|
+
* @param {string} languageCode
|
|
17240
17240
|
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17241
17241
|
* @param {*} [options] Override http request option.
|
|
17242
17242
|
* @throws {RequiredError}
|
|
17243
17243
|
*/
|
|
17244
|
-
|
|
17245
|
-
return localVarFp.
|
|
17244
|
+
apiV1DoctorsDoctorIdLanguagesLanguageCodePut: function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
|
|
17245
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
17246
17246
|
},
|
|
17247
17247
|
/**
|
|
17248
17248
|
*
|
|
@@ -17706,7 +17706,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17706
17706
|
*
|
|
17707
17707
|
* @summary Get all DoctorLanguages.
|
|
17708
17708
|
* @param {string} doctorId
|
|
17709
|
-
* @param {string} [
|
|
17709
|
+
* @param {string} [languageCode]
|
|
17710
17710
|
* @param {number} [page]
|
|
17711
17711
|
* @param {number} [limit]
|
|
17712
17712
|
* @param {Date} [lastRetrieved]
|
|
@@ -17714,49 +17714,49 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17714
17714
|
* @throws {RequiredError}
|
|
17715
17715
|
* @memberof DoctorsApi
|
|
17716
17716
|
*/
|
|
17717
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId,
|
|
17717
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, languageCode, page, limit, lastRetrieved, options) {
|
|
17718
17718
|
var _this = this;
|
|
17719
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId,
|
|
17719
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17720
17720
|
};
|
|
17721
17721
|
/**
|
|
17722
17722
|
*
|
|
17723
17723
|
* @summary Delete DoctorLanguage
|
|
17724
17724
|
* @param {string} doctorId
|
|
17725
|
-
* @param {string}
|
|
17725
|
+
* @param {string} languageCode
|
|
17726
17726
|
* @param {*} [options] Override http request option.
|
|
17727
17727
|
* @throws {RequiredError}
|
|
17728
17728
|
* @memberof DoctorsApi
|
|
17729
17729
|
*/
|
|
17730
|
-
DoctorsApi.prototype.
|
|
17730
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete = function (doctorId, languageCode, options) {
|
|
17731
17731
|
var _this = this;
|
|
17732
|
-
return (0, exports.DoctorsApiFp)(this.configuration).
|
|
17732
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodeDelete(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17733
17733
|
};
|
|
17734
17734
|
/**
|
|
17735
17735
|
*
|
|
17736
17736
|
* @summary Get DoctorLanguage.
|
|
17737
17737
|
* @param {string} doctorId
|
|
17738
|
-
* @param {string}
|
|
17738
|
+
* @param {string} languageCode
|
|
17739
17739
|
* @param {*} [options] Override http request option.
|
|
17740
17740
|
* @throws {RequiredError}
|
|
17741
17741
|
* @memberof DoctorsApi
|
|
17742
17742
|
*/
|
|
17743
|
-
DoctorsApi.prototype.
|
|
17743
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodeGet = function (doctorId, languageCode, options) {
|
|
17744
17744
|
var _this = this;
|
|
17745
|
-
return (0, exports.DoctorsApiFp)(this.configuration).
|
|
17745
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17746
17746
|
};
|
|
17747
17747
|
/**
|
|
17748
17748
|
*
|
|
17749
17749
|
* @summary Update DoctorLanguage.
|
|
17750
17750
|
* @param {string} doctorId
|
|
17751
|
-
* @param {string}
|
|
17751
|
+
* @param {string} languageCode
|
|
17752
17752
|
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
17753
17753
|
* @param {*} [options] Override http request option.
|
|
17754
17754
|
* @throws {RequiredError}
|
|
17755
17755
|
* @memberof DoctorsApi
|
|
17756
17756
|
*/
|
|
17757
|
-
DoctorsApi.prototype.
|
|
17757
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageCodePut = function (doctorId, languageCode, updateDoctorLanguageCommand, options) {
|
|
17758
17758
|
var _this = this;
|
|
17759
|
-
return (0, exports.DoctorsApiFp)(this.configuration).
|
|
17759
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageCodePut(doctorId, languageCode, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17760
17760
|
};
|
|
17761
17761
|
/**
|
|
17762
17762
|
*
|
|
@@ -35271,6 +35271,91 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
35271
35271
|
});
|
|
35272
35272
|
});
|
|
35273
35273
|
},
|
|
35274
|
+
/**
|
|
35275
|
+
*
|
|
35276
|
+
* @summary Create a Profile.
|
|
35277
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
35278
|
+
* @param {*} [options] Override http request option.
|
|
35279
|
+
* @throws {RequiredError}
|
|
35280
|
+
*/
|
|
35281
|
+
apiV1ProfilesPost: function (createProfileCommand, options) {
|
|
35282
|
+
if (options === void 0) { options = {}; }
|
|
35283
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
35284
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
35285
|
+
return __generator(this, function (_a) {
|
|
35286
|
+
switch (_a.label) {
|
|
35287
|
+
case 0:
|
|
35288
|
+
localVarPath = "/api/v1/profiles";
|
|
35289
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35290
|
+
if (configuration) {
|
|
35291
|
+
baseOptions = configuration.baseOptions;
|
|
35292
|
+
}
|
|
35293
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
35294
|
+
localVarHeaderParameter = {};
|
|
35295
|
+
localVarQueryParameter = {};
|
|
35296
|
+
// authentication oauth2 required
|
|
35297
|
+
// oauth required
|
|
35298
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
35299
|
+
case 1:
|
|
35300
|
+
// authentication oauth2 required
|
|
35301
|
+
// oauth required
|
|
35302
|
+
_a.sent();
|
|
35303
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35304
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35305
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35306
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35307
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createProfileCommand, localVarRequestOptions, configuration);
|
|
35308
|
+
return [2 /*return*/, {
|
|
35309
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35310
|
+
options: localVarRequestOptions,
|
|
35311
|
+
}];
|
|
35312
|
+
}
|
|
35313
|
+
});
|
|
35314
|
+
});
|
|
35315
|
+
},
|
|
35316
|
+
/**
|
|
35317
|
+
*
|
|
35318
|
+
* @summary Delete Profile.
|
|
35319
|
+
* @param {string} profileId
|
|
35320
|
+
* @param {*} [options] Override http request option.
|
|
35321
|
+
* @throws {RequiredError}
|
|
35322
|
+
*/
|
|
35323
|
+
apiV1ProfilesProfileIdDelete: function (profileId, options) {
|
|
35324
|
+
if (options === void 0) { options = {}; }
|
|
35325
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
35326
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
35327
|
+
return __generator(this, function (_a) {
|
|
35328
|
+
switch (_a.label) {
|
|
35329
|
+
case 0:
|
|
35330
|
+
// verify required parameter 'profileId' is not null or undefined
|
|
35331
|
+
(0, common_1.assertParamExists)('apiV1ProfilesProfileIdDelete', 'profileId', profileId);
|
|
35332
|
+
localVarPath = "/api/v1/profiles/{profileId}"
|
|
35333
|
+
.replace("{".concat("profileId", "}"), encodeURIComponent(String(profileId)));
|
|
35334
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35335
|
+
if (configuration) {
|
|
35336
|
+
baseOptions = configuration.baseOptions;
|
|
35337
|
+
}
|
|
35338
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
35339
|
+
localVarHeaderParameter = {};
|
|
35340
|
+
localVarQueryParameter = {};
|
|
35341
|
+
// authentication oauth2 required
|
|
35342
|
+
// oauth required
|
|
35343
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
35344
|
+
case 1:
|
|
35345
|
+
// authentication oauth2 required
|
|
35346
|
+
// oauth required
|
|
35347
|
+
_a.sent();
|
|
35348
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35349
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35350
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35351
|
+
return [2 /*return*/, {
|
|
35352
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35353
|
+
options: localVarRequestOptions,
|
|
35354
|
+
}];
|
|
35355
|
+
}
|
|
35356
|
+
});
|
|
35357
|
+
});
|
|
35358
|
+
},
|
|
35274
35359
|
/**
|
|
35275
35360
|
*
|
|
35276
35361
|
* @summary Update Profile.
|
|
@@ -35382,6 +35467,46 @@ var ProfilesApiFp = function (configuration) {
|
|
|
35382
35467
|
});
|
|
35383
35468
|
});
|
|
35384
35469
|
},
|
|
35470
|
+
/**
|
|
35471
|
+
*
|
|
35472
|
+
* @summary Create a Profile.
|
|
35473
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
35474
|
+
* @param {*} [options] Override http request option.
|
|
35475
|
+
* @throws {RequiredError}
|
|
35476
|
+
*/
|
|
35477
|
+
apiV1ProfilesPost: function (createProfileCommand, options) {
|
|
35478
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
35479
|
+
var localVarAxiosArgs;
|
|
35480
|
+
return __generator(this, function (_a) {
|
|
35481
|
+
switch (_a.label) {
|
|
35482
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ProfilesPost(createProfileCommand, options)];
|
|
35483
|
+
case 1:
|
|
35484
|
+
localVarAxiosArgs = _a.sent();
|
|
35485
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
35486
|
+
}
|
|
35487
|
+
});
|
|
35488
|
+
});
|
|
35489
|
+
},
|
|
35490
|
+
/**
|
|
35491
|
+
*
|
|
35492
|
+
* @summary Delete Profile.
|
|
35493
|
+
* @param {string} profileId
|
|
35494
|
+
* @param {*} [options] Override http request option.
|
|
35495
|
+
* @throws {RequiredError}
|
|
35496
|
+
*/
|
|
35497
|
+
apiV1ProfilesProfileIdDelete: function (profileId, options) {
|
|
35498
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
35499
|
+
var localVarAxiosArgs;
|
|
35500
|
+
return __generator(this, function (_a) {
|
|
35501
|
+
switch (_a.label) {
|
|
35502
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ProfilesProfileIdDelete(profileId, options)];
|
|
35503
|
+
case 1:
|
|
35504
|
+
localVarAxiosArgs = _a.sent();
|
|
35505
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
35506
|
+
}
|
|
35507
|
+
});
|
|
35508
|
+
});
|
|
35509
|
+
},
|
|
35385
35510
|
/**
|
|
35386
35511
|
*
|
|
35387
35512
|
* @summary Update Profile.
|
|
@@ -35441,6 +35566,26 @@ var ProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
35441
35566
|
apiV1ProfilesGet: function (options) {
|
|
35442
35567
|
return localVarFp.apiV1ProfilesGet(options).then(function (request) { return request(axios, basePath); });
|
|
35443
35568
|
},
|
|
35569
|
+
/**
|
|
35570
|
+
*
|
|
35571
|
+
* @summary Create a Profile.
|
|
35572
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
35573
|
+
* @param {*} [options] Override http request option.
|
|
35574
|
+
* @throws {RequiredError}
|
|
35575
|
+
*/
|
|
35576
|
+
apiV1ProfilesPost: function (createProfileCommand, options) {
|
|
35577
|
+
return localVarFp.apiV1ProfilesPost(createProfileCommand, options).then(function (request) { return request(axios, basePath); });
|
|
35578
|
+
},
|
|
35579
|
+
/**
|
|
35580
|
+
*
|
|
35581
|
+
* @summary Delete Profile.
|
|
35582
|
+
* @param {string} profileId
|
|
35583
|
+
* @param {*} [options] Override http request option.
|
|
35584
|
+
* @throws {RequiredError}
|
|
35585
|
+
*/
|
|
35586
|
+
apiV1ProfilesProfileIdDelete: function (profileId, options) {
|
|
35587
|
+
return localVarFp.apiV1ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(axios, basePath); });
|
|
35588
|
+
},
|
|
35444
35589
|
/**
|
|
35445
35590
|
*
|
|
35446
35591
|
* @summary Update Profile.
|
|
@@ -35500,6 +35645,30 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
35500
35645
|
var _this = this;
|
|
35501
35646
|
return (0, exports.ProfilesApiFp)(this.configuration).apiV1ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35502
35647
|
};
|
|
35648
|
+
/**
|
|
35649
|
+
*
|
|
35650
|
+
* @summary Create a Profile.
|
|
35651
|
+
* @param {CreateProfileCommand} [createProfileCommand]
|
|
35652
|
+
* @param {*} [options] Override http request option.
|
|
35653
|
+
* @throws {RequiredError}
|
|
35654
|
+
* @memberof ProfilesApi
|
|
35655
|
+
*/
|
|
35656
|
+
ProfilesApi.prototype.apiV1ProfilesPost = function (createProfileCommand, options) {
|
|
35657
|
+
var _this = this;
|
|
35658
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV1ProfilesPost(createProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35659
|
+
};
|
|
35660
|
+
/**
|
|
35661
|
+
*
|
|
35662
|
+
* @summary Delete Profile.
|
|
35663
|
+
* @param {string} profileId
|
|
35664
|
+
* @param {*} [options] Override http request option.
|
|
35665
|
+
* @throws {RequiredError}
|
|
35666
|
+
* @memberof ProfilesApi
|
|
35667
|
+
*/
|
|
35668
|
+
ProfilesApi.prototype.apiV1ProfilesProfileIdDelete = function (profileId, options) {
|
|
35669
|
+
var _this = this;
|
|
35670
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV1ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35671
|
+
};
|
|
35503
35672
|
/**
|
|
35504
35673
|
*
|
|
35505
35674
|
* @summary Update Profile.
|