ch-admin-api-client-typescript 5.13.5 → 5.14.0
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/about-us-api.d.ts +56 -0
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +90 -0
- package/lib/api/countries-api.d.ts +9 -9
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +10 -10
- package/lib/api/curations-api.d.ts +448 -0
- package/lib/api/curations-api.d.ts.map +1 -0
- package/lib/api/curations-api.js +785 -0
- package/lib/api/deals-api.d.ts +56 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +90 -0
- package/lib/api/doctor-affiliations-api.d.ts +9 -9
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +10 -10
- package/lib/api/doctors-api.d.ts +9 -9
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +10 -10
- package/lib/api/hospitals-api.d.ts +114 -49
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +150 -54
- package/lib/api/patients-api.d.ts +10 -10
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +11 -11
- package/lib/api/specialties-api.d.ts +9 -9
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +10 -10
- package/lib/api/specialty-types-api.d.ts +9 -9
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +10 -10
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/create-curation-command.d.ts +103 -0
- package/lib/models/create-curation-command.d.ts.map +1 -0
- package/lib/models/create-curation-command.js +15 -0
- package/lib/models/curation-model.d.ts +104 -0
- package/lib/models/curation-model.d.ts.map +1 -0
- package/lib/models/curation-model.js +15 -0
- package/lib/models/curations-model.d.ts +33 -0
- package/lib/models/curations-model.d.ts.map +1 -0
- package/lib/models/curations-model.js +15 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/specialty-type-item-model.d.ts +0 -6
- package/lib/models/specialty-type-item-model.d.ts.map +1 -1
- package/lib/models/specialty-type-model.d.ts +0 -6
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/translate-about-us-page-command.d.ts +44 -0
- package/lib/models/translate-about-us-page-command.d.ts.map +1 -0
- package/lib/models/translate-about-us-page-command.js +15 -0
- package/lib/models/translate-deal-command.d.ts +44 -0
- package/lib/models/translate-deal-command.d.ts.map +1 -0
- package/lib/models/translate-deal-command.js +15 -0
- package/lib/models/translate-landing-command.d.ts +44 -0
- package/lib/models/translate-landing-command.d.ts.map +1 -0
- package/lib/models/translate-landing-command.js +15 -0
- package/lib/models/update-curation-command.d.ts +91 -0
- package/lib/models/update-curation-command.d.ts.map +1 -0
- package/lib/models/update-curation-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/about-us-api.ts +100 -0
- package/src/api/countries-api.ts +14 -14
- package/src/api/curations-api.ts +795 -0
- package/src/api/deals-api.ts +100 -0
- package/src/api/doctor-affiliations-api.ts +14 -14
- package/src/api/doctors-api.ts +14 -14
- package/src/api/hospitals-api.ts +191 -78
- package/src/api/patients-api.ts +16 -16
- package/src/api/specialties-api.ts +14 -14
- package/src/api/specialty-types-api.ts +14 -14
- package/src/api.ts +1 -0
- package/src/models/create-curation-command.ts +108 -0
- package/src/models/curation-model.ts +111 -0
- package/src/models/curations-model.ts +42 -0
- package/src/models/index.ts +7 -0
- package/src/models/specialty-type-item-model.ts +0 -6
- package/src/models/specialty-type-model.ts +0 -6
- package/src/models/translate-about-us-page-command.ts +51 -0
- package/src/models/translate-deal-command.ts +51 -0
- package/src/models/translate-landing-command.ts +51 -0
- package/src/models/update-curation-command.ts +96 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -1672,7 +1672,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1672
1672
|
* @param {*} [options] Override http request option.
|
|
1673
1673
|
* @throws {RequiredError}
|
|
1674
1674
|
*/
|
|
1675
|
-
|
|
1675
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut: function (hospitalId, equipmentId, options) {
|
|
1676
1676
|
if (options === void 0) { options = {}; }
|
|
1677
1677
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1678
1678
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1680,10 +1680,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1680
1680
|
switch (_a.label) {
|
|
1681
1681
|
case 0:
|
|
1682
1682
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
1683
|
-
(0, common_1.assertParamExists)('
|
|
1683
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut', 'hospitalId', hospitalId);
|
|
1684
1684
|
// verify required parameter 'equipmentId' is not null or undefined
|
|
1685
|
-
(0, common_1.assertParamExists)('
|
|
1686
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/
|
|
1685
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut', 'equipmentId', equipmentId);
|
|
1686
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactivate"
|
|
1687
1687
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1688
1688
|
.replace("{".concat("equipmentId", "}"), encodeURIComponent(String(equipmentId)));
|
|
1689
1689
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2936,6 +2936,56 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2936
2936
|
});
|
|
2937
2937
|
});
|
|
2938
2938
|
},
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @summary Translate landing
|
|
2942
|
+
* @param {string} hospitalId
|
|
2943
|
+
* @param {string} landingId
|
|
2944
|
+
* @param {TranslateLandingCommand} [translateLandingCommand]
|
|
2945
|
+
* @param {*} [options] Override http request option.
|
|
2946
|
+
* @throws {RequiredError}
|
|
2947
|
+
*/
|
|
2948
|
+
apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost: function (hospitalId, landingId, translateLandingCommand, options) {
|
|
2949
|
+
if (options === void 0) { options = {}; }
|
|
2950
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2951
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2952
|
+
return __generator(this, function (_a) {
|
|
2953
|
+
switch (_a.label) {
|
|
2954
|
+
case 0:
|
|
2955
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2956
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost', 'hospitalId', hospitalId);
|
|
2957
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
2958
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost', 'landingId', landingId);
|
|
2959
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}/translate"
|
|
2960
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2961
|
+
.replace("{".concat("landingId", "}"), encodeURIComponent(String(landingId)));
|
|
2962
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2963
|
+
if (configuration) {
|
|
2964
|
+
baseOptions = configuration.baseOptions;
|
|
2965
|
+
}
|
|
2966
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2967
|
+
localVarHeaderParameter = {};
|
|
2968
|
+
localVarQueryParameter = {};
|
|
2969
|
+
// authentication oauth2 required
|
|
2970
|
+
// oauth required
|
|
2971
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
2972
|
+
case 1:
|
|
2973
|
+
// authentication oauth2 required
|
|
2974
|
+
// oauth required
|
|
2975
|
+
_a.sent();
|
|
2976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2977
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2978
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2979
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2980
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(translateLandingCommand, localVarRequestOptions, configuration);
|
|
2981
|
+
return [2 /*return*/, {
|
|
2982
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2983
|
+
options: localVarRequestOptions,
|
|
2984
|
+
}];
|
|
2985
|
+
}
|
|
2986
|
+
});
|
|
2987
|
+
});
|
|
2988
|
+
},
|
|
2939
2989
|
/**
|
|
2940
2990
|
*
|
|
2941
2991
|
* @summary Create HospitalLandings.
|
|
@@ -3961,7 +4011,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3961
4011
|
* @param {*} [options] Override http request option.
|
|
3962
4012
|
* @throws {RequiredError}
|
|
3963
4013
|
*/
|
|
3964
|
-
|
|
4014
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: function (hospitalId, policyId, options) {
|
|
3965
4015
|
if (options === void 0) { options = {}; }
|
|
3966
4016
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3967
4017
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3969,10 +4019,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3969
4019
|
switch (_a.label) {
|
|
3970
4020
|
case 0:
|
|
3971
4021
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3972
|
-
(0, common_1.assertParamExists)('
|
|
4022
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'hospitalId', hospitalId);
|
|
3973
4023
|
// verify required parameter 'policyId' is not null or undefined
|
|
3974
|
-
(0, common_1.assertParamExists)('
|
|
3975
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/
|
|
4024
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'policyId', policyId);
|
|
4025
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactivate"
|
|
3976
4026
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3977
4027
|
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
3978
4028
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4099,7 +4149,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4099
4149
|
* @param {*} [options] Override http request option.
|
|
4100
4150
|
* @throws {RequiredError}
|
|
4101
4151
|
*/
|
|
4102
|
-
|
|
4152
|
+
apiV1HospitalsHospitalIdReactivatePut: function (hospitalId, options) {
|
|
4103
4153
|
if (options === void 0) { options = {}; }
|
|
4104
4154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4105
4155
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4107,8 +4157,8 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4107
4157
|
switch (_a.label) {
|
|
4108
4158
|
case 0:
|
|
4109
4159
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4110
|
-
(0, common_1.assertParamExists)('
|
|
4111
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
4160
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdReactivatePut', 'hospitalId', hospitalId);
|
|
4161
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/reactivate"
|
|
4112
4162
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4113
4163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4114
4164
|
if (configuration) {
|
|
@@ -6766,7 +6816,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
6766
6816
|
* @param {*} [options] Override http request option.
|
|
6767
6817
|
* @throws {RequiredError}
|
|
6768
6818
|
*/
|
|
6769
|
-
|
|
6819
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
6770
6820
|
if (options === void 0) { options = {}; }
|
|
6771
6821
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6772
6822
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6774,12 +6824,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
6774
6824
|
switch (_a.label) {
|
|
6775
6825
|
case 0:
|
|
6776
6826
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
6777
|
-
(0, common_1.assertParamExists)('
|
|
6827
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut', 'hospitalId', hospitalId);
|
|
6778
6828
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
6779
|
-
(0, common_1.assertParamExists)('
|
|
6829
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut', 'specialtyId', specialtyId);
|
|
6780
6830
|
// verify required parameter 'serviceId' is not null or undefined
|
|
6781
|
-
(0, common_1.assertParamExists)('
|
|
6782
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/
|
|
6831
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut', 'serviceId', serviceId);
|
|
6832
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/reactivate"
|
|
6783
6833
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
6784
6834
|
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
6785
6835
|
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
@@ -7442,7 +7492,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
7442
7492
|
* @param {*} [options] Override http request option.
|
|
7443
7493
|
* @throws {RequiredError}
|
|
7444
7494
|
*/
|
|
7445
|
-
|
|
7495
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut: function (hospitalSpecialtyId, options) {
|
|
7446
7496
|
if (options === void 0) { options = {}; }
|
|
7447
7497
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7448
7498
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7450,8 +7500,8 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
7450
7500
|
switch (_a.label) {
|
|
7451
7501
|
case 0:
|
|
7452
7502
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
7453
|
-
(0, common_1.assertParamExists)('
|
|
7454
|
-
localVarPath = "/api/v1/hospitals/{hospitalSpecialtyId}/specialties/
|
|
7503
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
7504
|
+
localVarPath = "/api/v1/hospitals/{hospitalSpecialtyId}/specialties/reactivate"
|
|
7455
7505
|
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
7456
7506
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7457
7507
|
if (configuration) {
|
|
@@ -8351,12 +8401,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8351
8401
|
* @param {*} [options] Override http request option.
|
|
8352
8402
|
* @throws {RequiredError}
|
|
8353
8403
|
*/
|
|
8354
|
-
|
|
8404
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut: function (hospitalId, equipmentId, options) {
|
|
8355
8405
|
return __awaiter(this, void 0, void 0, function () {
|
|
8356
8406
|
var localVarAxiosArgs;
|
|
8357
8407
|
return __generator(this, function (_a) {
|
|
8358
8408
|
switch (_a.label) {
|
|
8359
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8409
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut(hospitalId, equipmentId, options)];
|
|
8360
8410
|
case 1:
|
|
8361
8411
|
localVarAxiosArgs = _a.sent();
|
|
8362
8412
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8882,6 +8932,28 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8882
8932
|
});
|
|
8883
8933
|
});
|
|
8884
8934
|
},
|
|
8935
|
+
/**
|
|
8936
|
+
*
|
|
8937
|
+
* @summary Translate landing
|
|
8938
|
+
* @param {string} hospitalId
|
|
8939
|
+
* @param {string} landingId
|
|
8940
|
+
* @param {TranslateLandingCommand} [translateLandingCommand]
|
|
8941
|
+
* @param {*} [options] Override http request option.
|
|
8942
|
+
* @throws {RequiredError}
|
|
8943
|
+
*/
|
|
8944
|
+
apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost: function (hospitalId, landingId, translateLandingCommand, options) {
|
|
8945
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8946
|
+
var localVarAxiosArgs;
|
|
8947
|
+
return __generator(this, function (_a) {
|
|
8948
|
+
switch (_a.label) {
|
|
8949
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost(hospitalId, landingId, translateLandingCommand, options)];
|
|
8950
|
+
case 1:
|
|
8951
|
+
localVarAxiosArgs = _a.sent();
|
|
8952
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
8953
|
+
}
|
|
8954
|
+
});
|
|
8955
|
+
});
|
|
8956
|
+
},
|
|
8885
8957
|
/**
|
|
8886
8958
|
*
|
|
8887
8959
|
* @summary Create HospitalLandings.
|
|
@@ -9319,12 +9391,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
9319
9391
|
* @param {*} [options] Override http request option.
|
|
9320
9392
|
* @throws {RequiredError}
|
|
9321
9393
|
*/
|
|
9322
|
-
|
|
9394
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: function (hospitalId, policyId, options) {
|
|
9323
9395
|
return __awaiter(this, void 0, void 0, function () {
|
|
9324
9396
|
var localVarAxiosArgs;
|
|
9325
9397
|
return __generator(this, function (_a) {
|
|
9326
9398
|
switch (_a.label) {
|
|
9327
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
9399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(hospitalId, policyId, options)];
|
|
9328
9400
|
case 1:
|
|
9329
9401
|
localVarAxiosArgs = _a.sent();
|
|
9330
9402
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9381,12 +9453,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
9381
9453
|
* @param {*} [options] Override http request option.
|
|
9382
9454
|
* @throws {RequiredError}
|
|
9383
9455
|
*/
|
|
9384
|
-
|
|
9456
|
+
apiV1HospitalsHospitalIdReactivatePut: function (hospitalId, options) {
|
|
9385
9457
|
return __awaiter(this, void 0, void 0, function () {
|
|
9386
9458
|
var localVarAxiosArgs;
|
|
9387
9459
|
return __generator(this, function (_a) {
|
|
9388
9460
|
switch (_a.label) {
|
|
9389
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
9461
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdReactivatePut(hospitalId, options)];
|
|
9390
9462
|
case 1:
|
|
9391
9463
|
localVarAxiosArgs = _a.sent();
|
|
9392
9464
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10471,12 +10543,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10471
10543
|
* @param {*} [options] Override http request option.
|
|
10472
10544
|
* @throws {RequiredError}
|
|
10473
10545
|
*/
|
|
10474
|
-
|
|
10546
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
10475
10547
|
return __awaiter(this, void 0, void 0, function () {
|
|
10476
10548
|
var localVarAxiosArgs;
|
|
10477
10549
|
return __generator(this, function (_a) {
|
|
10478
10550
|
switch (_a.label) {
|
|
10479
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
10551
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut(hospitalId, specialtyId, serviceId, options)];
|
|
10480
10552
|
case 1:
|
|
10481
10553
|
localVarAxiosArgs = _a.sent();
|
|
10482
10554
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10758,12 +10830,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10758
10830
|
* @param {*} [options] Override http request option.
|
|
10759
10831
|
* @throws {RequiredError}
|
|
10760
10832
|
*/
|
|
10761
|
-
|
|
10833
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut: function (hospitalSpecialtyId, options) {
|
|
10762
10834
|
return __awaiter(this, void 0, void 0, function () {
|
|
10763
10835
|
var localVarAxiosArgs;
|
|
10764
10836
|
return __generator(this, function (_a) {
|
|
10765
10837
|
switch (_a.label) {
|
|
10766
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
10838
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId, options)];
|
|
10767
10839
|
case 1:
|
|
10768
10840
|
localVarAxiosArgs = _a.sent();
|
|
10769
10841
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11234,8 +11306,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11234
11306
|
* @param {*} [options] Override http request option.
|
|
11235
11307
|
* @throws {RequiredError}
|
|
11236
11308
|
*/
|
|
11237
|
-
|
|
11238
|
-
return localVarFp.
|
|
11309
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut: function (hospitalId, equipmentId, options) {
|
|
11310
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut(hospitalId, equipmentId, options).then(function (request) { return request(axios, basePath); });
|
|
11239
11311
|
},
|
|
11240
11312
|
/**
|
|
11241
11313
|
*
|
|
@@ -11525,6 +11597,18 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11525
11597
|
apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost: function (hospitalId, landingId, includeCurrent, options) {
|
|
11526
11598
|
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options).then(function (request) { return request(axios, basePath); });
|
|
11527
11599
|
},
|
|
11600
|
+
/**
|
|
11601
|
+
*
|
|
11602
|
+
* @summary Translate landing
|
|
11603
|
+
* @param {string} hospitalId
|
|
11604
|
+
* @param {string} landingId
|
|
11605
|
+
* @param {TranslateLandingCommand} [translateLandingCommand]
|
|
11606
|
+
* @param {*} [options] Override http request option.
|
|
11607
|
+
* @throws {RequiredError}
|
|
11608
|
+
*/
|
|
11609
|
+
apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost: function (hospitalId, landingId, translateLandingCommand, options) {
|
|
11610
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost(hospitalId, landingId, translateLandingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
11611
|
+
},
|
|
11528
11612
|
/**
|
|
11529
11613
|
*
|
|
11530
11614
|
* @summary Create HospitalLandings.
|
|
@@ -11772,8 +11856,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11772
11856
|
* @param {*} [options] Override http request option.
|
|
11773
11857
|
* @throws {RequiredError}
|
|
11774
11858
|
*/
|
|
11775
|
-
|
|
11776
|
-
return localVarFp.
|
|
11859
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: function (hospitalId, policyId, options) {
|
|
11860
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(hospitalId, policyId, options).then(function (request) { return request(axios, basePath); });
|
|
11777
11861
|
},
|
|
11778
11862
|
/**
|
|
11779
11863
|
*
|
|
@@ -11804,8 +11888,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11804
11888
|
* @param {*} [options] Override http request option.
|
|
11805
11889
|
* @throws {RequiredError}
|
|
11806
11890
|
*/
|
|
11807
|
-
|
|
11808
|
-
return localVarFp.
|
|
11891
|
+
apiV1HospitalsHospitalIdReactivatePut: function (hospitalId, options) {
|
|
11892
|
+
return localVarFp.apiV1HospitalsHospitalIdReactivatePut(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
11809
11893
|
},
|
|
11810
11894
|
/**
|
|
11811
11895
|
*
|
|
@@ -12434,8 +12518,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12434
12518
|
* @param {*} [options] Override http request option.
|
|
12435
12519
|
* @throws {RequiredError}
|
|
12436
12520
|
*/
|
|
12437
|
-
|
|
12438
|
-
return localVarFp.
|
|
12521
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut: function (hospitalId, specialtyId, serviceId, options) {
|
|
12522
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(axios, basePath); });
|
|
12439
12523
|
},
|
|
12440
12524
|
/**
|
|
12441
12525
|
*
|
|
@@ -12591,8 +12675,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12591
12675
|
* @param {*} [options] Override http request option.
|
|
12592
12676
|
* @throws {RequiredError}
|
|
12593
12677
|
*/
|
|
12594
|
-
|
|
12595
|
-
return localVarFp.
|
|
12678
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut: function (hospitalSpecialtyId, options) {
|
|
12679
|
+
return localVarFp.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
12596
12680
|
},
|
|
12597
12681
|
/**
|
|
12598
12682
|
*
|
|
@@ -13006,14 +13090,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13006
13090
|
/**
|
|
13007
13091
|
*
|
|
13008
13092
|
* @summary Reactivate HospitalEquipment.
|
|
13009
|
-
* @param {
|
|
13093
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePutRequest} requestParameters Request parameters.
|
|
13010
13094
|
* @param {*} [options] Override http request option.
|
|
13011
13095
|
* @throws {RequiredError}
|
|
13012
13096
|
* @memberof HospitalsApi
|
|
13013
13097
|
*/
|
|
13014
|
-
HospitalsApi.prototype.
|
|
13098
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut = function (requestParameters, options) {
|
|
13015
13099
|
var _this = this;
|
|
13016
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
13100
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivatePut(requestParameters.hospitalId, requestParameters.equipmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13017
13101
|
};
|
|
13018
13102
|
/**
|
|
13019
13103
|
*
|
|
@@ -13291,6 +13375,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13291
13375
|
var _this = this;
|
|
13292
13376
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(requestParameters.hospitalId, requestParameters.landingId, requestParameters.includeCurrent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13293
13377
|
};
|
|
13378
|
+
/**
|
|
13379
|
+
*
|
|
13380
|
+
* @summary Translate landing
|
|
13381
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdTranslatePostRequest} requestParameters Request parameters.
|
|
13382
|
+
* @param {*} [options] Override http request option.
|
|
13383
|
+
* @throws {RequiredError}
|
|
13384
|
+
* @memberof HospitalsApi
|
|
13385
|
+
*/
|
|
13386
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost = function (requestParameters, options) {
|
|
13387
|
+
var _this = this;
|
|
13388
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdTranslatePost(requestParameters.hospitalId, requestParameters.landingId, requestParameters.translateLandingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13389
|
+
};
|
|
13294
13390
|
/**
|
|
13295
13391
|
*
|
|
13296
13392
|
* @summary Create HospitalLandings.
|
|
@@ -13522,14 +13618,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13522
13618
|
/**
|
|
13523
13619
|
*
|
|
13524
13620
|
* @summary Reactive policy
|
|
13525
|
-
* @param {
|
|
13621
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePutRequest} requestParameters Request parameters.
|
|
13526
13622
|
* @param {*} [options] Override http request option.
|
|
13527
13623
|
* @throws {RequiredError}
|
|
13528
13624
|
* @memberof HospitalsApi
|
|
13529
13625
|
*/
|
|
13530
|
-
HospitalsApi.prototype.
|
|
13626
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut = function (requestParameters, options) {
|
|
13531
13627
|
var _this = this;
|
|
13532
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
13628
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(requestParameters.hospitalId, requestParameters.policyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13533
13629
|
};
|
|
13534
13630
|
/**
|
|
13535
13631
|
*
|
|
@@ -13558,14 +13654,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13558
13654
|
/**
|
|
13559
13655
|
*
|
|
13560
13656
|
* @summary Delete HospitalSpecialty.
|
|
13561
|
-
* @param {
|
|
13657
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdReactivatePutRequest} requestParameters Request parameters.
|
|
13562
13658
|
* @param {*} [options] Override http request option.
|
|
13563
13659
|
* @throws {RequiredError}
|
|
13564
13660
|
* @memberof HospitalsApi
|
|
13565
13661
|
*/
|
|
13566
|
-
HospitalsApi.prototype.
|
|
13662
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdReactivatePut = function (requestParameters, options) {
|
|
13567
13663
|
var _this = this;
|
|
13568
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
13664
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdReactivatePut(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13569
13665
|
};
|
|
13570
13666
|
/**
|
|
13571
13667
|
*
|
|
@@ -14110,14 +14206,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14110
14206
|
/**
|
|
14111
14207
|
*
|
|
14112
14208
|
* @summary Reactivate Hospital Service
|
|
14113
|
-
* @param {
|
|
14209
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePutRequest} requestParameters Request parameters.
|
|
14114
14210
|
* @param {*} [options] Override http request option.
|
|
14115
14211
|
* @throws {RequiredError}
|
|
14116
14212
|
* @memberof HospitalsApi
|
|
14117
14213
|
*/
|
|
14118
|
-
HospitalsApi.prototype.
|
|
14214
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut = function (requestParameters, options) {
|
|
14119
14215
|
var _this = this;
|
|
14120
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
14216
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdReactivatePut(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14121
14217
|
};
|
|
14122
14218
|
/**
|
|
14123
14219
|
*
|
|
@@ -14266,14 +14362,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14266
14362
|
/**
|
|
14267
14363
|
*
|
|
14268
14364
|
* @summary Delete HospitalSpecialty.
|
|
14269
|
-
* @param {
|
|
14365
|
+
* @param {HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest} requestParameters Request parameters.
|
|
14270
14366
|
* @param {*} [options] Override http request option.
|
|
14271
14367
|
* @throws {RequiredError}
|
|
14272
14368
|
* @memberof HospitalsApi
|
|
14273
14369
|
*/
|
|
14274
|
-
HospitalsApi.prototype.
|
|
14370
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut = function (requestParameters, options) {
|
|
14275
14371
|
var _this = this;
|
|
14276
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
14372
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(requestParameters.hospitalSpecialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14277
14373
|
};
|
|
14278
14374
|
/**
|
|
14279
14375
|
*
|
|
@@ -67,7 +67,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: (patientId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @summary Delete Patient.
|
|
@@ -153,7 +153,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
157
157
|
/**
|
|
158
158
|
*
|
|
159
159
|
* @summary Delete Patient.
|
|
@@ -239,7 +239,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
245
|
* @summary Delete Patient.
|
|
@@ -393,21 +393,21 @@ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequ
|
|
|
393
393
|
readonly hospitalId: string;
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
|
-
* Request parameters for
|
|
396
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut operation in PatientsApi.
|
|
397
397
|
* @export
|
|
398
|
-
* @interface
|
|
398
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest
|
|
399
399
|
*/
|
|
400
|
-
export interface
|
|
400
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest {
|
|
401
401
|
/**
|
|
402
402
|
*
|
|
403
403
|
* @type {string}
|
|
404
|
-
* @memberof
|
|
404
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut
|
|
405
405
|
*/
|
|
406
406
|
readonly patientId: string;
|
|
407
407
|
/**
|
|
408
408
|
*
|
|
409
409
|
* @type {string}
|
|
410
|
-
* @memberof
|
|
410
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut
|
|
411
411
|
*/
|
|
412
412
|
readonly hospitalId: string;
|
|
413
413
|
}
|
|
@@ -512,12 +512,12 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
512
512
|
/**
|
|
513
513
|
*
|
|
514
514
|
* @summary Reactivate patient affiliation
|
|
515
|
-
* @param {
|
|
515
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
|
|
516
516
|
* @param {*} [options] Override http request option.
|
|
517
517
|
* @throws {RequiredError}
|
|
518
518
|
* @memberof PatientsApi
|
|
519
519
|
*/
|
|
520
|
-
|
|
520
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
521
521
|
/**
|
|
522
522
|
*
|
|
523
523
|
* @summary Delete Patient.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patients-api.d.ts","sourceRoot":"","sources":["../../src/api/patients-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mBAA6B,aAAa;IAE3E;;;;;;;;;;;;;;;;OAgBG;oCACmC,MAAM,OAAO,MAAM,aAAa,MAAM,UAAU,MAAM,WAAW,MAAM,gBAAgB,IAAI,YAAY,IAAI,eAAe,OAAO,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA8ErR;;;;;;;;OAQG;oEACmE,MAAM,cAAc,MAAM,gBAAgB,OAAO,YAAW,kB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AAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrH"}
|
package/lib/api/patients-api.js
CHANGED
|
@@ -287,7 +287,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
287
287
|
* @param {*} [options] Override http request option.
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: function (patientId, hospitalId, options) {
|
|
291
291
|
if (options === void 0) { options = {}; }
|
|
292
292
|
return __awaiter(_this, void 0, void 0, function () {
|
|
293
293
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -295,10 +295,10 @@ var PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
295
295
|
switch (_a.label) {
|
|
296
296
|
case 0:
|
|
297
297
|
// verify required parameter 'patientId' is not null or undefined
|
|
298
|
-
(0, common_1.assertParamExists)('
|
|
298
|
+
(0, common_1.assertParamExists)('apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut', 'patientId', patientId);
|
|
299
299
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
300
|
-
(0, common_1.assertParamExists)('
|
|
301
|
-
localVarPath = "/api/v1/patients/{patientId}/affiliations/{hospitalId}/
|
|
300
|
+
(0, common_1.assertParamExists)('apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut', 'hospitalId', hospitalId);
|
|
301
|
+
localVarPath = "/api/v1/patients/{patientId}/affiliations/{hospitalId}/reactivate"
|
|
302
302
|
.replace("{".concat("patientId", "}"), encodeURIComponent(String(patientId)))
|
|
303
303
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
304
304
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -595,12 +595,12 @@ var PatientsApiFp = function (configuration) {
|
|
|
595
595
|
* @param {*} [options] Override http request option.
|
|
596
596
|
* @throws {RequiredError}
|
|
597
597
|
*/
|
|
598
|
-
|
|
598
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: function (patientId, hospitalId, options) {
|
|
599
599
|
return __awaiter(this, void 0, void 0, function () {
|
|
600
600
|
var localVarAxiosArgs;
|
|
601
601
|
return __generator(this, function (_a) {
|
|
602
602
|
switch (_a.label) {
|
|
603
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
603
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId, hospitalId, options)];
|
|
604
604
|
case 1:
|
|
605
605
|
localVarAxiosArgs = _a.sent();
|
|
606
606
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -751,8 +751,8 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
751
751
|
* @param {*} [options] Override http request option.
|
|
752
752
|
* @throws {RequiredError}
|
|
753
753
|
*/
|
|
754
|
-
|
|
755
|
-
return localVarFp.
|
|
754
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: function (patientId, hospitalId, options) {
|
|
755
|
+
return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
756
756
|
},
|
|
757
757
|
/**
|
|
758
758
|
*
|
|
@@ -850,14 +850,14 @@ var PatientsApi = /** @class */ (function (_super) {
|
|
|
850
850
|
/**
|
|
851
851
|
*
|
|
852
852
|
* @summary Reactivate patient affiliation
|
|
853
|
-
* @param {
|
|
853
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
|
|
854
854
|
* @param {*} [options] Override http request option.
|
|
855
855
|
* @throws {RequiredError}
|
|
856
856
|
* @memberof PatientsApi
|
|
857
857
|
*/
|
|
858
|
-
PatientsApi.prototype.
|
|
858
|
+
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut = function (requestParameters, options) {
|
|
859
859
|
var _this = this;
|
|
860
|
-
return (0, exports.PatientsApiFp)(this.configuration).
|
|
860
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters.patientId, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
861
861
|
};
|
|
862
862
|
/**
|
|
863
863
|
*
|