ch-admin-api-client-typescript 4.3.4 → 4.3.5
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 +173 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +439 -0
- package/package.json +1 -1
- package/src/api.ts +369 -0
package/lib/api.js
CHANGED
|
@@ -13133,6 +13133,49 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
13133
13133
|
});
|
|
13134
13134
|
});
|
|
13135
13135
|
},
|
|
13136
|
+
/**
|
|
13137
|
+
*
|
|
13138
|
+
* @summary Reactivate doctor affiliation.
|
|
13139
|
+
* @param {string} id
|
|
13140
|
+
* @param {*} [options] Override http request option.
|
|
13141
|
+
* @throws {RequiredError}
|
|
13142
|
+
*/
|
|
13143
|
+
apiV1DoctoraffiliationsIdReactivePut: function (id, options) {
|
|
13144
|
+
if (options === void 0) { options = {}; }
|
|
13145
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
13146
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13147
|
+
return __generator(this, function (_a) {
|
|
13148
|
+
switch (_a.label) {
|
|
13149
|
+
case 0:
|
|
13150
|
+
// verify required parameter 'id' is not null or undefined
|
|
13151
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdReactivePut', 'id', id);
|
|
13152
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}/reactive"
|
|
13153
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
13154
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13155
|
+
if (configuration) {
|
|
13156
|
+
baseOptions = configuration.baseOptions;
|
|
13157
|
+
}
|
|
13158
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
13159
|
+
localVarHeaderParameter = {};
|
|
13160
|
+
localVarQueryParameter = {};
|
|
13161
|
+
// authentication oauth2 required
|
|
13162
|
+
// oauth required
|
|
13163
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13164
|
+
case 1:
|
|
13165
|
+
// authentication oauth2 required
|
|
13166
|
+
// oauth required
|
|
13167
|
+
_a.sent();
|
|
13168
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13169
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13170
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13171
|
+
return [2 /*return*/, {
|
|
13172
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
13173
|
+
options: localVarRequestOptions,
|
|
13174
|
+
}];
|
|
13175
|
+
}
|
|
13176
|
+
});
|
|
13177
|
+
});
|
|
13178
|
+
},
|
|
13136
13179
|
/**
|
|
13137
13180
|
*
|
|
13138
13181
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -13387,6 +13430,26 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13387
13430
|
});
|
|
13388
13431
|
});
|
|
13389
13432
|
},
|
|
13433
|
+
/**
|
|
13434
|
+
*
|
|
13435
|
+
* @summary Reactivate doctor affiliation.
|
|
13436
|
+
* @param {string} id
|
|
13437
|
+
* @param {*} [options] Override http request option.
|
|
13438
|
+
* @throws {RequiredError}
|
|
13439
|
+
*/
|
|
13440
|
+
apiV1DoctoraffiliationsIdReactivePut: function (id, options) {
|
|
13441
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13442
|
+
var localVarAxiosArgs;
|
|
13443
|
+
return __generator(this, function (_a) {
|
|
13444
|
+
switch (_a.label) {
|
|
13445
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdReactivePut(id, options)];
|
|
13446
|
+
case 1:
|
|
13447
|
+
localVarAxiosArgs = _a.sent();
|
|
13448
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13449
|
+
}
|
|
13450
|
+
});
|
|
13451
|
+
});
|
|
13452
|
+
},
|
|
13390
13453
|
/**
|
|
13391
13454
|
*
|
|
13392
13455
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -13529,6 +13592,16 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13529
13592
|
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
13530
13593
|
return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13531
13594
|
},
|
|
13595
|
+
/**
|
|
13596
|
+
*
|
|
13597
|
+
* @summary Reactivate doctor affiliation.
|
|
13598
|
+
* @param {string} id
|
|
13599
|
+
* @param {*} [options] Override http request option.
|
|
13600
|
+
* @throws {RequiredError}
|
|
13601
|
+
*/
|
|
13602
|
+
apiV1DoctoraffiliationsIdReactivePut: function (id, options) {
|
|
13603
|
+
return localVarFp.apiV1DoctoraffiliationsIdReactivePut(id, options).then(function (request) { return request(axios, basePath); });
|
|
13604
|
+
},
|
|
13532
13605
|
/**
|
|
13533
13606
|
*
|
|
13534
13607
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -13683,6 +13756,18 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13683
13756
|
var _this = this;
|
|
13684
13757
|
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13685
13758
|
};
|
|
13759
|
+
/**
|
|
13760
|
+
*
|
|
13761
|
+
* @summary Reactivate doctor affiliation.
|
|
13762
|
+
* @param {string} id
|
|
13763
|
+
* @param {*} [options] Override http request option.
|
|
13764
|
+
* @throws {RequiredError}
|
|
13765
|
+
* @memberof DoctorAffiliationsApi
|
|
13766
|
+
*/
|
|
13767
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdReactivePut = function (id, options) {
|
|
13768
|
+
var _this = this;
|
|
13769
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdReactivePut(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13770
|
+
};
|
|
13686
13771
|
/**
|
|
13687
13772
|
*
|
|
13688
13773
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
@@ -15140,6 +15225,49 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
15140
15225
|
});
|
|
15141
15226
|
});
|
|
15142
15227
|
},
|
|
15228
|
+
/**
|
|
15229
|
+
*
|
|
15230
|
+
* @summary Delete Doctor.
|
|
15231
|
+
* @param {string} doctorId
|
|
15232
|
+
* @param {*} [options] Override http request option.
|
|
15233
|
+
* @throws {RequiredError}
|
|
15234
|
+
*/
|
|
15235
|
+
apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
|
|
15236
|
+
if (options === void 0) { options = {}; }
|
|
15237
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
15238
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15239
|
+
return __generator(this, function (_a) {
|
|
15240
|
+
switch (_a.label) {
|
|
15241
|
+
case 0:
|
|
15242
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
15243
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdReactivePut', 'doctorId', doctorId);
|
|
15244
|
+
localVarPath = "/api/v1/doctors/{doctorId}/reactive"
|
|
15245
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
15246
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15247
|
+
if (configuration) {
|
|
15248
|
+
baseOptions = configuration.baseOptions;
|
|
15249
|
+
}
|
|
15250
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
15251
|
+
localVarHeaderParameter = {};
|
|
15252
|
+
localVarQueryParameter = {};
|
|
15253
|
+
// authentication oauth2 required
|
|
15254
|
+
// oauth required
|
|
15255
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
15256
|
+
case 1:
|
|
15257
|
+
// authentication oauth2 required
|
|
15258
|
+
// oauth required
|
|
15259
|
+
_a.sent();
|
|
15260
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15261
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15262
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15263
|
+
return [2 /*return*/, {
|
|
15264
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
15265
|
+
options: localVarRequestOptions,
|
|
15266
|
+
}];
|
|
15267
|
+
}
|
|
15268
|
+
});
|
|
15269
|
+
});
|
|
15270
|
+
},
|
|
15143
15271
|
/**
|
|
15144
15272
|
*
|
|
15145
15273
|
* @summary Get All DoctorSpecialties.
|
|
@@ -16280,6 +16408,26 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
16280
16408
|
});
|
|
16281
16409
|
});
|
|
16282
16410
|
},
|
|
16411
|
+
/**
|
|
16412
|
+
*
|
|
16413
|
+
* @summary Delete Doctor.
|
|
16414
|
+
* @param {string} doctorId
|
|
16415
|
+
* @param {*} [options] Override http request option.
|
|
16416
|
+
* @throws {RequiredError}
|
|
16417
|
+
*/
|
|
16418
|
+
apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
|
|
16419
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16420
|
+
var localVarAxiosArgs;
|
|
16421
|
+
return __generator(this, function (_a) {
|
|
16422
|
+
switch (_a.label) {
|
|
16423
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdReactivePut(doctorId, options)];
|
|
16424
|
+
case 1:
|
|
16425
|
+
localVarAxiosArgs = _a.sent();
|
|
16426
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
16427
|
+
}
|
|
16428
|
+
});
|
|
16429
|
+
});
|
|
16430
|
+
},
|
|
16283
16431
|
/**
|
|
16284
16432
|
*
|
|
16285
16433
|
* @summary Get All DoctorSpecialties.
|
|
@@ -16825,6 +16973,16 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
16825
16973
|
apiV1DoctorsDoctorIdPut: function (doctorId, updateDoctorCommand, options) {
|
|
16826
16974
|
return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16827
16975
|
},
|
|
16976
|
+
/**
|
|
16977
|
+
*
|
|
16978
|
+
* @summary Delete Doctor.
|
|
16979
|
+
* @param {string} doctorId
|
|
16980
|
+
* @param {*} [options] Override http request option.
|
|
16981
|
+
* @throws {RequiredError}
|
|
16982
|
+
*/
|
|
16983
|
+
apiV1DoctorsDoctorIdReactivePut: function (doctorId, options) {
|
|
16984
|
+
return localVarFp.apiV1DoctorsDoctorIdReactivePut(doctorId, options).then(function (request) { return request(axios, basePath); });
|
|
16985
|
+
},
|
|
16828
16986
|
/**
|
|
16829
16987
|
*
|
|
16830
16988
|
* @summary Get All DoctorSpecialties.
|
|
@@ -17350,6 +17508,18 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17350
17508
|
var _this = this;
|
|
17351
17509
|
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17352
17510
|
};
|
|
17511
|
+
/**
|
|
17512
|
+
*
|
|
17513
|
+
* @summary Delete Doctor.
|
|
17514
|
+
* @param {string} doctorId
|
|
17515
|
+
* @param {*} [options] Override http request option.
|
|
17516
|
+
* @throws {RequiredError}
|
|
17517
|
+
* @memberof DoctorsApi
|
|
17518
|
+
*/
|
|
17519
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdReactivePut = function (doctorId, options) {
|
|
17520
|
+
var _this = this;
|
|
17521
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdReactivePut(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17522
|
+
};
|
|
17353
17523
|
/**
|
|
17354
17524
|
*
|
|
17355
17525
|
* @summary Get All DoctorSpecialties.
|
|
@@ -23583,6 +23753,57 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
23583
23753
|
});
|
|
23584
23754
|
});
|
|
23585
23755
|
},
|
|
23756
|
+
/**
|
|
23757
|
+
*
|
|
23758
|
+
* @summary Reactivate Hospital Service
|
|
23759
|
+
* @param {string} hospitalId
|
|
23760
|
+
* @param {string} specialtyId
|
|
23761
|
+
* @param {string} serviceId
|
|
23762
|
+
* @param {*} [options] Override http request option.
|
|
23763
|
+
* @throws {RequiredError}
|
|
23764
|
+
*/
|
|
23765
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
23766
|
+
if (options === void 0) { options = {}; }
|
|
23767
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
23768
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
23769
|
+
return __generator(this, function (_a) {
|
|
23770
|
+
switch (_a.label) {
|
|
23771
|
+
case 0:
|
|
23772
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
23773
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'hospitalId', hospitalId);
|
|
23774
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
23775
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'specialtyId', specialtyId);
|
|
23776
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
23777
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut', 'serviceId', serviceId);
|
|
23778
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/reactive"
|
|
23779
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
23780
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)))
|
|
23781
|
+
.replace("{" + "serviceId" + "}", encodeURIComponent(String(serviceId)));
|
|
23782
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23783
|
+
if (configuration) {
|
|
23784
|
+
baseOptions = configuration.baseOptions;
|
|
23785
|
+
}
|
|
23786
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
23787
|
+
localVarHeaderParameter = {};
|
|
23788
|
+
localVarQueryParameter = {};
|
|
23789
|
+
// authentication oauth2 required
|
|
23790
|
+
// oauth required
|
|
23791
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
23792
|
+
case 1:
|
|
23793
|
+
// authentication oauth2 required
|
|
23794
|
+
// oauth required
|
|
23795
|
+
_a.sent();
|
|
23796
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23797
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23798
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23799
|
+
return [2 /*return*/, {
|
|
23800
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
23801
|
+
options: localVarRequestOptions,
|
|
23802
|
+
}];
|
|
23803
|
+
}
|
|
23804
|
+
});
|
|
23805
|
+
});
|
|
23806
|
+
},
|
|
23586
23807
|
/**
|
|
23587
23808
|
*
|
|
23588
23809
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -25467,6 +25688,28 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
25467
25688
|
});
|
|
25468
25689
|
});
|
|
25469
25690
|
},
|
|
25691
|
+
/**
|
|
25692
|
+
*
|
|
25693
|
+
* @summary Reactivate Hospital Service
|
|
25694
|
+
* @param {string} hospitalId
|
|
25695
|
+
* @param {string} specialtyId
|
|
25696
|
+
* @param {string} serviceId
|
|
25697
|
+
* @param {*} [options] Override http request option.
|
|
25698
|
+
* @throws {RequiredError}
|
|
25699
|
+
*/
|
|
25700
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
25701
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25702
|
+
var localVarAxiosArgs;
|
|
25703
|
+
return __generator(this, function (_a) {
|
|
25704
|
+
switch (_a.label) {
|
|
25705
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options)];
|
|
25706
|
+
case 1:
|
|
25707
|
+
localVarAxiosArgs = _a.sent();
|
|
25708
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25709
|
+
}
|
|
25710
|
+
});
|
|
25711
|
+
});
|
|
25712
|
+
},
|
|
25470
25713
|
/**
|
|
25471
25714
|
*
|
|
25472
25715
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -26460,6 +26703,18 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26460
26703
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options) {
|
|
26461
26704
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26462
26705
|
},
|
|
26706
|
+
/**
|
|
26707
|
+
*
|
|
26708
|
+
* @summary Reactivate Hospital Service
|
|
26709
|
+
* @param {string} hospitalId
|
|
26710
|
+
* @param {string} specialtyId
|
|
26711
|
+
* @param {string} serviceId
|
|
26712
|
+
* @param {*} [options] Override http request option.
|
|
26713
|
+
* @throws {RequiredError}
|
|
26714
|
+
*/
|
|
26715
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
26716
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(axios, basePath); });
|
|
26717
|
+
},
|
|
26463
26718
|
/**
|
|
26464
26719
|
*
|
|
26465
26720
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -27485,6 +27740,20 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
27485
27740
|
var _this = this;
|
|
27486
27741
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27487
27742
|
};
|
|
27743
|
+
/**
|
|
27744
|
+
*
|
|
27745
|
+
* @summary Reactivate Hospital Service
|
|
27746
|
+
* @param {string} hospitalId
|
|
27747
|
+
* @param {string} specialtyId
|
|
27748
|
+
* @param {string} serviceId
|
|
27749
|
+
* @param {*} [options] Override http request option.
|
|
27750
|
+
* @throws {RequiredError}
|
|
27751
|
+
* @memberof HospitalsApi
|
|
27752
|
+
*/
|
|
27753
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut = function (hospitalId, specialtyId, serviceId, options) {
|
|
27754
|
+
var _this = this;
|
|
27755
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivePut(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27756
|
+
};
|
|
27488
27757
|
/**
|
|
27489
27758
|
*
|
|
27490
27759
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -34633,6 +34902,49 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
34633
34902
|
});
|
|
34634
34903
|
});
|
|
34635
34904
|
},
|
|
34905
|
+
/**
|
|
34906
|
+
*
|
|
34907
|
+
* @summary Reactivate Specialty.
|
|
34908
|
+
* @param {string} specialtyId
|
|
34909
|
+
* @param {*} [options] Override http request option.
|
|
34910
|
+
* @throws {RequiredError}
|
|
34911
|
+
*/
|
|
34912
|
+
apiV1SpecialtiesSpecialtyIdReactivePut: function (specialtyId, options) {
|
|
34913
|
+
if (options === void 0) { options = {}; }
|
|
34914
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
34915
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
34916
|
+
return __generator(this, function (_a) {
|
|
34917
|
+
switch (_a.label) {
|
|
34918
|
+
case 0:
|
|
34919
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
34920
|
+
common_1.assertParamExists('apiV1SpecialtiesSpecialtyIdReactivePut', 'specialtyId', specialtyId);
|
|
34921
|
+
localVarPath = "/api/v1/specialties/{specialtyId}/reactive"
|
|
34922
|
+
.replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
|
|
34923
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34924
|
+
if (configuration) {
|
|
34925
|
+
baseOptions = configuration.baseOptions;
|
|
34926
|
+
}
|
|
34927
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
34928
|
+
localVarHeaderParameter = {};
|
|
34929
|
+
localVarQueryParameter = {};
|
|
34930
|
+
// authentication oauth2 required
|
|
34931
|
+
// oauth required
|
|
34932
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
34933
|
+
case 1:
|
|
34934
|
+
// authentication oauth2 required
|
|
34935
|
+
// oauth required
|
|
34936
|
+
_a.sent();
|
|
34937
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34938
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34939
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34940
|
+
return [2 /*return*/, {
|
|
34941
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
34942
|
+
options: localVarRequestOptions,
|
|
34943
|
+
}];
|
|
34944
|
+
}
|
|
34945
|
+
});
|
|
34946
|
+
});
|
|
34947
|
+
},
|
|
34636
34948
|
};
|
|
34637
34949
|
};
|
|
34638
34950
|
/**
|
|
@@ -34922,6 +35234,26 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
34922
35234
|
});
|
|
34923
35235
|
});
|
|
34924
35236
|
},
|
|
35237
|
+
/**
|
|
35238
|
+
*
|
|
35239
|
+
* @summary Reactivate Specialty.
|
|
35240
|
+
* @param {string} specialtyId
|
|
35241
|
+
* @param {*} [options] Override http request option.
|
|
35242
|
+
* @throws {RequiredError}
|
|
35243
|
+
*/
|
|
35244
|
+
apiV1SpecialtiesSpecialtyIdReactivePut: function (specialtyId, options) {
|
|
35245
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
35246
|
+
var localVarAxiosArgs;
|
|
35247
|
+
return __generator(this, function (_a) {
|
|
35248
|
+
switch (_a.label) {
|
|
35249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options)];
|
|
35250
|
+
case 1:
|
|
35251
|
+
localVarAxiosArgs = _a.sent();
|
|
35252
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
35253
|
+
}
|
|
35254
|
+
});
|
|
35255
|
+
});
|
|
35256
|
+
},
|
|
34925
35257
|
};
|
|
34926
35258
|
};
|
|
34927
35259
|
/**
|
|
@@ -35091,6 +35423,16 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
35091
35423
|
apiV1SpecialtiesSpecialtyIdPut: function (specialtyId, updateSpecialtyCommand, options) {
|
|
35092
35424
|
return localVarFp.apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
35093
35425
|
},
|
|
35426
|
+
/**
|
|
35427
|
+
*
|
|
35428
|
+
* @summary Reactivate Specialty.
|
|
35429
|
+
* @param {string} specialtyId
|
|
35430
|
+
* @param {*} [options] Override http request option.
|
|
35431
|
+
* @throws {RequiredError}
|
|
35432
|
+
*/
|
|
35433
|
+
apiV1SpecialtiesSpecialtyIdReactivePut: function (specialtyId, options) {
|
|
35434
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
35435
|
+
},
|
|
35094
35436
|
};
|
|
35095
35437
|
};
|
|
35096
35438
|
/**
|
|
@@ -35288,6 +35630,18 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
35288
35630
|
var _this = this;
|
|
35289
35631
|
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdPut(specialtyId, updateSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35290
35632
|
};
|
|
35633
|
+
/**
|
|
35634
|
+
*
|
|
35635
|
+
* @summary Reactivate Specialty.
|
|
35636
|
+
* @param {string} specialtyId
|
|
35637
|
+
* @param {*} [options] Override http request option.
|
|
35638
|
+
* @throws {RequiredError}
|
|
35639
|
+
* @memberof SpecialtiesApi
|
|
35640
|
+
*/
|
|
35641
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdReactivePut = function (specialtyId, options) {
|
|
35642
|
+
var _this = this;
|
|
35643
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdReactivePut(specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35644
|
+
};
|
|
35291
35645
|
return SpecialtiesApi;
|
|
35292
35646
|
}(base_1.BaseAPI));
|
|
35293
35647
|
exports.SpecialtiesApi = SpecialtiesApi;
|
|
@@ -35982,6 +36336,49 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
35982
36336
|
});
|
|
35983
36337
|
});
|
|
35984
36338
|
},
|
|
36339
|
+
/**
|
|
36340
|
+
*
|
|
36341
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
36342
|
+
* @param {string} specialtyTypeId
|
|
36343
|
+
* @param {*} [options] Override http request option.
|
|
36344
|
+
* @throws {RequiredError}
|
|
36345
|
+
*/
|
|
36346
|
+
apiV1SpecialtytypesSpecialtyTypeIdReactivePut: function (specialtyTypeId, options) {
|
|
36347
|
+
if (options === void 0) { options = {}; }
|
|
36348
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
36349
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
36350
|
+
return __generator(this, function (_a) {
|
|
36351
|
+
switch (_a.label) {
|
|
36352
|
+
case 0:
|
|
36353
|
+
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
36354
|
+
common_1.assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdReactivePut', 'specialtyTypeId', specialtyTypeId);
|
|
36355
|
+
localVarPath = "/api/v1/specialtytypes/{specialtyTypeId}/reactive"
|
|
36356
|
+
.replace("{" + "specialtyTypeId" + "}", encodeURIComponent(String(specialtyTypeId)));
|
|
36357
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36358
|
+
if (configuration) {
|
|
36359
|
+
baseOptions = configuration.baseOptions;
|
|
36360
|
+
}
|
|
36361
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
36362
|
+
localVarHeaderParameter = {};
|
|
36363
|
+
localVarQueryParameter = {};
|
|
36364
|
+
// authentication oauth2 required
|
|
36365
|
+
// oauth required
|
|
36366
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
36367
|
+
case 1:
|
|
36368
|
+
// authentication oauth2 required
|
|
36369
|
+
// oauth required
|
|
36370
|
+
_a.sent();
|
|
36371
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36372
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36373
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36374
|
+
return [2 /*return*/, {
|
|
36375
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
36376
|
+
options: localVarRequestOptions,
|
|
36377
|
+
}];
|
|
36378
|
+
}
|
|
36379
|
+
});
|
|
36380
|
+
});
|
|
36381
|
+
},
|
|
35985
36382
|
};
|
|
35986
36383
|
};
|
|
35987
36384
|
/**
|
|
@@ -36270,6 +36667,26 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
36270
36667
|
});
|
|
36271
36668
|
});
|
|
36272
36669
|
},
|
|
36670
|
+
/**
|
|
36671
|
+
*
|
|
36672
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
36673
|
+
* @param {string} specialtyTypeId
|
|
36674
|
+
* @param {*} [options] Override http request option.
|
|
36675
|
+
* @throws {RequiredError}
|
|
36676
|
+
*/
|
|
36677
|
+
apiV1SpecialtytypesSpecialtyTypeIdReactivePut: function (specialtyTypeId, options) {
|
|
36678
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
36679
|
+
var localVarAxiosArgs;
|
|
36680
|
+
return __generator(this, function (_a) {
|
|
36681
|
+
switch (_a.label) {
|
|
36682
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options)];
|
|
36683
|
+
case 1:
|
|
36684
|
+
localVarAxiosArgs = _a.sent();
|
|
36685
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
36686
|
+
}
|
|
36687
|
+
});
|
|
36688
|
+
});
|
|
36689
|
+
},
|
|
36273
36690
|
};
|
|
36274
36691
|
};
|
|
36275
36692
|
/**
|
|
@@ -36438,6 +36855,16 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
36438
36855
|
apiV1SpecialtytypesSpecialtyTypeIdPut: function (specialtyTypeId, updateSpecialtyTypeCommand, options) {
|
|
36439
36856
|
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
36440
36857
|
},
|
|
36858
|
+
/**
|
|
36859
|
+
*
|
|
36860
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
36861
|
+
* @param {string} specialtyTypeId
|
|
36862
|
+
* @param {*} [options] Override http request option.
|
|
36863
|
+
* @throws {RequiredError}
|
|
36864
|
+
*/
|
|
36865
|
+
apiV1SpecialtytypesSpecialtyTypeIdReactivePut: function (specialtyTypeId, options) {
|
|
36866
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then(function (request) { return request(axios, basePath); });
|
|
36867
|
+
},
|
|
36441
36868
|
};
|
|
36442
36869
|
};
|
|
36443
36870
|
/**
|
|
@@ -36634,6 +37061,18 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
36634
37061
|
var _this = this;
|
|
36635
37062
|
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdPut(specialtyTypeId, updateSpecialtyTypeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
36636
37063
|
};
|
|
37064
|
+
/**
|
|
37065
|
+
*
|
|
37066
|
+
* @summary Reactivate Department (SpecialtyType).
|
|
37067
|
+
* @param {string} specialtyTypeId
|
|
37068
|
+
* @param {*} [options] Override http request option.
|
|
37069
|
+
* @throws {RequiredError}
|
|
37070
|
+
* @memberof SpecialtyTypesApi
|
|
37071
|
+
*/
|
|
37072
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdReactivePut = function (specialtyTypeId, options) {
|
|
37073
|
+
var _this = this;
|
|
37074
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdReactivePut(specialtyTypeId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
37075
|
+
};
|
|
36637
37076
|
return SpecialtyTypesApi;
|
|
36638
37077
|
}(base_1.BaseAPI));
|
|
36639
37078
|
exports.SpecialtyTypesApi = SpecialtyTypesApi;
|