ch-admin-api-client-typescript 5.88.17 → 5.88.27
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 +94 -0
- package/lib/api/article-categories-api.d.ts +56 -0
- package/lib/api/article-categories-api.d.ts.map +1 -1
- package/lib/api/article-categories-api.js +94 -0
- package/lib/api/articles-api.d.ts +56 -0
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +94 -0
- package/lib/api/contributors-api.d.ts +60 -4
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +98 -4
- package/lib/api/countries-api.d.ts +68 -12
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +106 -12
- package/lib/api/deals-api.d.ts +81 -6
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +124 -18
- package/lib/api/doctor-affiliations-api.d.ts +56 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +94 -0
- package/lib/api/faq-categories-api.d.ts +56 -0
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +94 -0
- package/lib/api/faqs-api.d.ts +56 -0
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +94 -0
- package/lib/api/frequently-asked-questions-api.d.ts +48 -3
- package/lib/api/frequently-asked-questions-api.d.ts.map +1 -1
- package/lib/api/frequently-asked-questions-api.js +39 -9
- package/lib/api/general-articles-api.d.ts +56 -0
- package/lib/api/general-articles-api.d.ts.map +1 -1
- package/lib/api/general-articles-api.js +94 -0
- package/lib/api/hospital-branches-api.d.ts +56 -0
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +94 -0
- package/lib/api/hospital-groups-api.d.ts +56 -0
- package/lib/api/hospital-groups-api.d.ts.map +1 -1
- package/lib/api/hospital-groups-api.js +94 -0
- package/lib/api/hospitals-api.d.ts +337 -3
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +515 -9
- package/lib/api/service-reviews-api.d.ts +56 -0
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +94 -0
- package/lib/api/specialties-api.d.ts +56 -0
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +94 -0
- package/lib/api/specialty-types-api.d.ts +60 -4
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +98 -4
- package/lib/models/about-us-page-item-model.d.ts +6 -0
- package/lib/models/about-us-page-item-model.d.ts.map +1 -1
- package/lib/models/about-us-page-model.d.ts +6 -6
- package/lib/models/about-us-page-model.d.ts.map +1 -1
- package/lib/models/create-frequently-asked-question-command.d.ts +30 -0
- package/lib/models/create-frequently-asked-question-command.d.ts.map +1 -1
- package/lib/models/create-specialty-type-command.d.ts +7 -0
- package/lib/models/create-specialty-type-command.d.ts.map +1 -1
- package/lib/models/frequently-asked-question-item-model.d.ts +60 -0
- package/lib/models/frequently-asked-question-item-model.d.ts.map +1 -1
- package/lib/models/frequently-asked-question-model.d.ts +60 -0
- package/lib/models/frequently-asked-question-model.d.ts.map +1 -1
- package/lib/models/frequently-asked-question-subcategories.d.ts +5 -0
- package/lib/models/frequently-asked-question-subcategories.d.ts.map +1 -1
- package/lib/models/frequently-asked-question-subcategories.js +6 -1
- package/lib/models/index.d.ts +20 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +20 -0
- package/lib/models/patch-article-command.d.ts +0 -6
- package/lib/models/patch-article-command.d.ts.map +1 -1
- package/lib/models/patch-deal-command.d.ts +0 -6
- package/lib/models/patch-deal-command.d.ts.map +1 -1
- package/lib/models/patch-doctor-affiliation-command.d.ts +0 -6
- package/lib/models/patch-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/patch-general-article-command.d.ts +0 -6
- package/lib/models/patch-general-article-command.d.ts.map +1 -1
- package/lib/models/patch-hospital-command.d.ts +0 -6
- package/lib/models/patch-hospital-command.d.ts.map +1 -1
- package/lib/models/patch-hospital-specialty-command.d.ts +0 -6
- package/lib/models/patch-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/patch-specialty-command.d.ts +0 -6
- package/lib/models/patch-specialty-command.d.ts.map +1 -1
- package/lib/models/patch-specialty-type-command.d.ts +7 -6
- package/lib/models/patch-specialty-type-command.d.ts.map +1 -1
- package/lib/models/specialty-type-model.d.ts +7 -0
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/survey-form-element-input-model.d.ts +6 -0
- package/lib/models/survey-form-element-input-model.d.ts.map +1 -1
- package/lib/models/survey-form-element-model.d.ts +6 -0
- package/lib/models/survey-form-element-model.d.ts.map +1 -1
- package/lib/models/survey-result-element-model.d.ts +6 -0
- package/lib/models/survey-result-element-model.d.ts.map +1 -1
- package/lib/models/update-about-us-page-command.d.ts +0 -6
- package/lib/models/update-about-us-page-command.d.ts.map +1 -1
- package/lib/models/update-about-us-page-slug-command.d.ts +31 -0
- package/lib/models/update-about-us-page-slug-command.d.ts.map +1 -0
- package/lib/models/update-about-us-page-slug-command.js +15 -0
- package/lib/models/update-article-category-command.d.ts +0 -6
- package/lib/models/update-article-category-command.d.ts.map +1 -1
- package/lib/models/update-article-category-slug-command.d.ts +31 -0
- package/lib/models/update-article-category-slug-command.d.ts.map +1 -0
- package/lib/models/update-article-category-slug-command.js +15 -0
- package/lib/models/update-article-command.d.ts +0 -6
- package/lib/models/update-article-command.d.ts.map +1 -1
- package/lib/models/update-article-slug-command.d.ts +31 -0
- package/lib/models/update-article-slug-command.d.ts.map +1 -0
- package/lib/models/update-article-slug-command.js +15 -0
- package/lib/models/update-contributor-command.d.ts +0 -6
- package/lib/models/update-contributor-command.d.ts.map +1 -1
- package/lib/models/update-contributor-slug-command.d.ts +31 -0
- package/lib/models/update-contributor-slug-command.d.ts.map +1 -0
- package/lib/models/update-contributor-slug-command.js +15 -0
- package/lib/models/update-country-command.d.ts +0 -6
- package/lib/models/update-country-command.d.ts.map +1 -1
- package/lib/models/update-country-slug-command.d.ts +31 -0
- package/lib/models/update-country-slug-command.d.ts.map +1 -0
- package/lib/models/update-country-slug-command.js +15 -0
- package/lib/models/update-deal-command.d.ts +0 -6
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-deal-slug-command.d.ts +31 -0
- package/lib/models/update-deal-slug-command.d.ts.map +1 -0
- package/lib/models/update-deal-slug-command.js +15 -0
- package/lib/models/update-doctor-affiliation-command.d.ts +0 -6
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-slug-command.d.ts +31 -0
- package/lib/models/update-doctor-affiliation-slug-command.d.ts.map +1 -0
- package/lib/models/update-doctor-affiliation-slug-command.js +15 -0
- package/lib/models/update-faq-category-command.d.ts +0 -6
- package/lib/models/update-faq-category-command.d.ts.map +1 -1
- package/lib/models/update-faq-category-slug-command.d.ts +31 -0
- package/lib/models/update-faq-category-slug-command.d.ts.map +1 -0
- package/lib/models/update-faq-category-slug-command.js +15 -0
- package/lib/models/update-faq-command.d.ts +0 -6
- package/lib/models/update-faq-command.d.ts.map +1 -1
- package/lib/models/update-faq-slug-command.d.ts +31 -0
- package/lib/models/update-faq-slug-command.d.ts.map +1 -0
- package/lib/models/update-faq-slug-command.js +15 -0
- package/lib/models/update-general-article-command.d.ts +0 -6
- package/lib/models/update-general-article-command.d.ts.map +1 -1
- package/lib/models/update-general-article-slug-command.d.ts +31 -0
- package/lib/models/update-general-article-slug-command.d.ts.map +1 -0
- package/lib/models/update-general-article-slug-command.js +15 -0
- package/lib/models/update-hospital-branch-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-branch-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-branch-slug-command.js +15 -0
- package/lib/models/update-hospital-command.d.ts +0 -6
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-group-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-group-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-group-slug-command.js +15 -0
- package/lib/models/update-hospital-service-command.d.ts +0 -6
- package/lib/models/update-hospital-service-command.d.ts.map +1 -1
- package/lib/models/update-hospital-service-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-service-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-service-slug-command.js +15 -0
- package/lib/models/update-hospital-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-slug-command.js +15 -0
- package/lib/models/update-hospital-specialty-command.d.ts +0 -6
- package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/update-hospital-specialty-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-specialty-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-specialty-slug-command.js +15 -0
- package/lib/models/update-landing-command.d.ts +0 -6
- package/lib/models/update-landing-command.d.ts.map +1 -1
- package/lib/models/update-landing-slug-command.d.ts +37 -0
- package/lib/models/update-landing-slug-command.d.ts.map +1 -0
- package/lib/models/update-landing-slug-command.js +15 -0
- package/lib/models/update-policy-command.d.ts +0 -6
- package/lib/models/update-policy-command.d.ts.map +1 -1
- package/lib/models/update-policy-slug-command.d.ts +37 -0
- package/lib/models/update-policy-slug-command.d.ts.map +1 -0
- package/lib/models/update-policy-slug-command.js +15 -0
- package/lib/models/update-service-review-command.d.ts +0 -6
- package/lib/models/update-service-review-command.d.ts.map +1 -1
- package/lib/models/update-service-review-slug-command.d.ts +31 -0
- package/lib/models/update-service-review-slug-command.d.ts.map +1 -0
- package/lib/models/update-service-review-slug-command.js +15 -0
- package/lib/models/update-specialty-command.d.ts +0 -6
- package/lib/models/update-specialty-command.d.ts.map +1 -1
- package/lib/models/update-specialty-slug-command.d.ts +31 -0
- package/lib/models/update-specialty-slug-command.d.ts.map +1 -0
- package/lib/models/update-specialty-slug-command.js +15 -0
- package/lib/models/update-specialty-type-command.d.ts +7 -6
- package/lib/models/update-specialty-type-command.d.ts.map +1 -1
- package/lib/models/update-specialty-type-slug-command.d.ts +31 -0
- package/lib/models/update-specialty-type-slug-command.d.ts.map +1 -0
- package/lib/models/update-specialty-type-slug-command.js +15 -0
- package/package.json +1 -1
|
@@ -536,6 +536,56 @@ var HospitalBranchesApiAxiosParamCreator = function (configuration) {
|
|
|
536
536
|
});
|
|
537
537
|
});
|
|
538
538
|
},
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @summary Update hospitalBranch slug. (Auth policies: RequireLocalManagerRole)
|
|
542
|
+
* @param {string} hospitalBranchId
|
|
543
|
+
* @param {UpdateHospitalBranchSlugCommand} [updateHospitalBranchSlugCommand]
|
|
544
|
+
* @param {*} [options] Override http request option.
|
|
545
|
+
* @throws {RequiredError}
|
|
546
|
+
*/
|
|
547
|
+
apiV1HospitalbranchesHospitalBranchIdSlugPut: function (hospitalBranchId_1, updateHospitalBranchSlugCommand_1) {
|
|
548
|
+
var args_1 = [];
|
|
549
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
550
|
+
args_1[_i - 2] = arguments[_i];
|
|
551
|
+
}
|
|
552
|
+
return __awaiter(_this, __spreadArray([hospitalBranchId_1, updateHospitalBranchSlugCommand_1], args_1, true), void 0, function (hospitalBranchId, updateHospitalBranchSlugCommand, options) {
|
|
553
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
554
|
+
if (options === void 0) { options = {}; }
|
|
555
|
+
return __generator(this, function (_a) {
|
|
556
|
+
switch (_a.label) {
|
|
557
|
+
case 0:
|
|
558
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
559
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdSlugPut', 'hospitalBranchId', hospitalBranchId);
|
|
560
|
+
localVarPath = "/api/v1/hospitalbranches/{hospitalBranchId}/slug"
|
|
561
|
+
.replace("{".concat("hospitalBranchId", "}"), encodeURIComponent(String(hospitalBranchId)));
|
|
562
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
563
|
+
if (configuration) {
|
|
564
|
+
baseOptions = configuration.baseOptions;
|
|
565
|
+
}
|
|
566
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
567
|
+
localVarHeaderParameter = {};
|
|
568
|
+
localVarQueryParameter = {};
|
|
569
|
+
// authentication oauth2 required
|
|
570
|
+
// oauth required
|
|
571
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
572
|
+
case 1:
|
|
573
|
+
// authentication oauth2 required
|
|
574
|
+
// oauth required
|
|
575
|
+
_a.sent();
|
|
576
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
577
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
578
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
579
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
580
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalBranchSlugCommand, localVarRequestOptions, configuration);
|
|
581
|
+
return [2 /*return*/, {
|
|
582
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
583
|
+
options: localVarRequestOptions,
|
|
584
|
+
}];
|
|
585
|
+
}
|
|
586
|
+
});
|
|
587
|
+
});
|
|
588
|
+
},
|
|
539
589
|
/**
|
|
540
590
|
*
|
|
541
591
|
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
@@ -767,6 +817,27 @@ var HospitalBranchesApiFp = function (configuration) {
|
|
|
767
817
|
});
|
|
768
818
|
});
|
|
769
819
|
},
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @summary Update hospitalBranch slug. (Auth policies: RequireLocalManagerRole)
|
|
823
|
+
* @param {string} hospitalBranchId
|
|
824
|
+
* @param {UpdateHospitalBranchSlugCommand} [updateHospitalBranchSlugCommand]
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
apiV1HospitalbranchesHospitalBranchIdSlugPut: function (hospitalBranchId, updateHospitalBranchSlugCommand, options) {
|
|
829
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
830
|
+
var localVarAxiosArgs;
|
|
831
|
+
return __generator(this, function (_a) {
|
|
832
|
+
switch (_a.label) {
|
|
833
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdSlugPut(hospitalBranchId, updateHospitalBranchSlugCommand, options)];
|
|
834
|
+
case 1:
|
|
835
|
+
localVarAxiosArgs = _a.sent();
|
|
836
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
837
|
+
}
|
|
838
|
+
});
|
|
839
|
+
});
|
|
840
|
+
},
|
|
770
841
|
/**
|
|
771
842
|
*
|
|
772
843
|
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
@@ -892,6 +963,17 @@ var HospitalBranchesApiFactory = function (configuration, basePath, axios) {
|
|
|
892
963
|
apiV1HospitalbranchesHospitalBranchIdReactivatePut: function (hospitalBranchId, options) {
|
|
893
964
|
return localVarFp.apiV1HospitalbranchesHospitalBranchIdReactivatePut(hospitalBranchId, options).then(function (request) { return request(axios, basePath); });
|
|
894
965
|
},
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @summary Update hospitalBranch slug. (Auth policies: RequireLocalManagerRole)
|
|
969
|
+
* @param {string} hospitalBranchId
|
|
970
|
+
* @param {UpdateHospitalBranchSlugCommand} [updateHospitalBranchSlugCommand]
|
|
971
|
+
* @param {*} [options] Override http request option.
|
|
972
|
+
* @throws {RequiredError}
|
|
973
|
+
*/
|
|
974
|
+
apiV1HospitalbranchesHospitalBranchIdSlugPut: function (hospitalBranchId, updateHospitalBranchSlugCommand, options) {
|
|
975
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdSlugPut(hospitalBranchId, updateHospitalBranchSlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
976
|
+
},
|
|
895
977
|
/**
|
|
896
978
|
*
|
|
897
979
|
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
@@ -1013,6 +1095,18 @@ var HospitalBranchesApi = /** @class */ (function (_super) {
|
|
|
1013
1095
|
var _this = this;
|
|
1014
1096
|
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdReactivatePut(requestParameters.hospitalBranchId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1015
1097
|
};
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @summary Update hospitalBranch slug. (Auth policies: RequireLocalManagerRole)
|
|
1101
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdSlugPutRequest} requestParameters Request parameters.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
* @memberof HospitalBranchesApi
|
|
1105
|
+
*/
|
|
1106
|
+
HospitalBranchesApi.prototype.apiV1HospitalbranchesHospitalBranchIdSlugPut = function (requestParameters, options) {
|
|
1107
|
+
var _this = this;
|
|
1108
|
+
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdSlugPut(requestParameters.hospitalBranchId, requestParameters.updateHospitalBranchSlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1109
|
+
};
|
|
1016
1110
|
/**
|
|
1017
1111
|
*
|
|
1018
1112
|
* @summary Create hospitalBranch (Auth policies: RequireLocalManagerRole)
|
|
@@ -16,6 +16,7 @@ import { CreateHospitalGroupCommand } from '../models';
|
|
|
16
16
|
import { HospitalGroupModel } from '../models';
|
|
17
17
|
import { HospitalGroupsModel } from '../models';
|
|
18
18
|
import { UpdateHospitalGroupCommand } from '../models';
|
|
19
|
+
import { UpdateHospitalGroupSlugCommand } from '../models';
|
|
19
20
|
/**
|
|
20
21
|
* HospitalGroupsApi - axios parameter creator
|
|
21
22
|
* @export
|
|
@@ -71,6 +72,15 @@ export declare const HospitalGroupsApiAxiosParamCreator: (configuration?: Config
|
|
|
71
72
|
* @throws {RequiredError}
|
|
72
73
|
*/
|
|
73
74
|
apiV1HospitalgroupsHospitalGroupIdReactivatePut: (hospitalGroupId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
78
|
+
* @param {string} hospitalGroupId
|
|
79
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut: (hospitalGroupId: string, updateHospitalGroupSlugCommand?: UpdateHospitalGroupSlugCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
84
|
/**
|
|
75
85
|
*
|
|
76
86
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -135,6 +145,15 @@ export declare const HospitalGroupsApiFp: (configuration?: Configuration) => {
|
|
|
135
145
|
* @throws {RequiredError}
|
|
136
146
|
*/
|
|
137
147
|
apiV1HospitalgroupsHospitalGroupIdReactivatePut(hospitalGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
151
|
+
* @param {string} hospitalGroupId
|
|
152
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut(hospitalGroupId: string, updateHospitalGroupSlugCommand?: UpdateHospitalGroupSlugCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
138
157
|
/**
|
|
139
158
|
*
|
|
140
159
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -199,6 +218,15 @@ export declare const HospitalGroupsApiFactory: (configuration?: Configuration, b
|
|
|
199
218
|
* @throws {RequiredError}
|
|
200
219
|
*/
|
|
201
220
|
apiV1HospitalgroupsHospitalGroupIdReactivatePut(hospitalGroupId: string, options?: any): AxiosPromise<boolean>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
224
|
+
* @param {string} hospitalGroupId
|
|
225
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut(hospitalGroupId: string, updateHospitalGroupSlugCommand?: UpdateHospitalGroupSlugCommand, options?: any): AxiosPromise<void>;
|
|
202
230
|
/**
|
|
203
231
|
*
|
|
204
232
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -333,6 +361,25 @@ export interface HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdReactivatePu
|
|
|
333
361
|
*/
|
|
334
362
|
readonly hospitalGroupId: string;
|
|
335
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Request parameters for apiV1HospitalgroupsHospitalGroupIdSlugPut operation in HospitalGroupsApi.
|
|
366
|
+
* @export
|
|
367
|
+
* @interface HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPutRequest
|
|
368
|
+
*/
|
|
369
|
+
export interface HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPutRequest {
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {string}
|
|
373
|
+
* @memberof HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPut
|
|
374
|
+
*/
|
|
375
|
+
readonly hospitalGroupId: string;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {UpdateHospitalGroupSlugCommand}
|
|
379
|
+
* @memberof HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPut
|
|
380
|
+
*/
|
|
381
|
+
readonly updateHospitalGroupSlugCommand?: UpdateHospitalGroupSlugCommand;
|
|
382
|
+
}
|
|
336
383
|
/**
|
|
337
384
|
* Request parameters for apiV1HospitalgroupsPost operation in HospitalGroupsApi.
|
|
338
385
|
* @export
|
|
@@ -398,6 +445,15 @@ export declare class HospitalGroupsApi extends BaseAPI {
|
|
|
398
445
|
* @memberof HospitalGroupsApi
|
|
399
446
|
*/
|
|
400
447
|
apiV1HospitalgroupsHospitalGroupIdReactivatePut(requestParameters: HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
451
|
+
* @param {HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPutRequest} requestParameters Request parameters.
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
* @memberof HospitalGroupsApi
|
|
455
|
+
*/
|
|
456
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut(requestParameters: HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
401
457
|
/**
|
|
402
458
|
*
|
|
403
459
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-groups-api.d.ts","sourceRoot":"","sources":["../../src/api/hospital-groups-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,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-groups-api.d.ts","sourceRoot":"","sources":["../../src/api/hospital-groups-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,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,MA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;IACI,qCAAqC,CAAC,iBAAiB,EAAE,6DAA6D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3J;;;;;;;OAOG;IACI,+CAA+C,CAAC,iBAAiB,EAAE,uEAAuE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI/K;;;;;;;OAOG;IACI,yCAAyC,CAAC,iBAAiB,EAAE,iEAAiE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAInK;;;;;;;OAOG;IACI,uBAAuB,CAAC,iBAAiB,GAAE,+CAAoD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGvI"}
|
|
@@ -377,6 +377,56 @@ var HospitalGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
377
377
|
});
|
|
378
378
|
});
|
|
379
379
|
},
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
383
|
+
* @param {string} hospitalGroupId
|
|
384
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut: function (hospitalGroupId_1, updateHospitalGroupSlugCommand_1) {
|
|
389
|
+
var args_1 = [];
|
|
390
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
391
|
+
args_1[_i - 2] = arguments[_i];
|
|
392
|
+
}
|
|
393
|
+
return __awaiter(_this, __spreadArray([hospitalGroupId_1, updateHospitalGroupSlugCommand_1], args_1, true), void 0, function (hospitalGroupId, updateHospitalGroupSlugCommand, options) {
|
|
394
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
395
|
+
if (options === void 0) { options = {}; }
|
|
396
|
+
return __generator(this, function (_a) {
|
|
397
|
+
switch (_a.label) {
|
|
398
|
+
case 0:
|
|
399
|
+
// verify required parameter 'hospitalGroupId' is not null or undefined
|
|
400
|
+
(0, common_1.assertParamExists)('apiV1HospitalgroupsHospitalGroupIdSlugPut', 'hospitalGroupId', hospitalGroupId);
|
|
401
|
+
localVarPath = "/api/v1/hospitalgroups/{hospitalGroupId}/slug"
|
|
402
|
+
.replace("{".concat("hospitalGroupId", "}"), encodeURIComponent(String(hospitalGroupId)));
|
|
403
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
404
|
+
if (configuration) {
|
|
405
|
+
baseOptions = configuration.baseOptions;
|
|
406
|
+
}
|
|
407
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
408
|
+
localVarHeaderParameter = {};
|
|
409
|
+
localVarQueryParameter = {};
|
|
410
|
+
// authentication oauth2 required
|
|
411
|
+
// oauth required
|
|
412
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
413
|
+
case 1:
|
|
414
|
+
// authentication oauth2 required
|
|
415
|
+
// oauth required
|
|
416
|
+
_a.sent();
|
|
417
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
418
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
419
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
420
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
421
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalGroupSlugCommand, localVarRequestOptions, configuration);
|
|
422
|
+
return [2 /*return*/, {
|
|
423
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
424
|
+
options: localVarRequestOptions,
|
|
425
|
+
}];
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
});
|
|
429
|
+
},
|
|
380
430
|
/**
|
|
381
431
|
*
|
|
382
432
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -543,6 +593,27 @@ var HospitalGroupsApiFp = function (configuration) {
|
|
|
543
593
|
});
|
|
544
594
|
});
|
|
545
595
|
},
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
599
|
+
* @param {string} hospitalGroupId
|
|
600
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut: function (hospitalGroupId, updateHospitalGroupSlugCommand, options) {
|
|
605
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
606
|
+
var localVarAxiosArgs;
|
|
607
|
+
return __generator(this, function (_a) {
|
|
608
|
+
switch (_a.label) {
|
|
609
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalgroupsHospitalGroupIdSlugPut(hospitalGroupId, updateHospitalGroupSlugCommand, options)];
|
|
610
|
+
case 1:
|
|
611
|
+
localVarAxiosArgs = _a.sent();
|
|
612
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
});
|
|
616
|
+
},
|
|
546
617
|
/**
|
|
547
618
|
*
|
|
548
619
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -633,6 +704,17 @@ var HospitalGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
633
704
|
apiV1HospitalgroupsHospitalGroupIdReactivatePut: function (hospitalGroupId, options) {
|
|
634
705
|
return localVarFp.apiV1HospitalgroupsHospitalGroupIdReactivatePut(hospitalGroupId, options).then(function (request) { return request(axios, basePath); });
|
|
635
706
|
},
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
710
|
+
* @param {string} hospitalGroupId
|
|
711
|
+
* @param {UpdateHospitalGroupSlugCommand} [updateHospitalGroupSlugCommand]
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
*/
|
|
715
|
+
apiV1HospitalgroupsHospitalGroupIdSlugPut: function (hospitalGroupId, updateHospitalGroupSlugCommand, options) {
|
|
716
|
+
return localVarFp.apiV1HospitalgroupsHospitalGroupIdSlugPut(hospitalGroupId, updateHospitalGroupSlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
717
|
+
},
|
|
636
718
|
/**
|
|
637
719
|
*
|
|
638
720
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|
|
@@ -718,6 +800,18 @@ var HospitalGroupsApi = /** @class */ (function (_super) {
|
|
|
718
800
|
var _this = this;
|
|
719
801
|
return (0, exports.HospitalGroupsApiFp)(this.configuration).apiV1HospitalgroupsHospitalGroupIdReactivatePut(requestParameters.hospitalGroupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
720
802
|
};
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @summary Update hospitalGroup slug. (Auth policies: RequireLocalManagerRole)
|
|
806
|
+
* @param {HospitalGroupsApiApiV1HospitalgroupsHospitalGroupIdSlugPutRequest} requestParameters Request parameters.
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @throws {RequiredError}
|
|
809
|
+
* @memberof HospitalGroupsApi
|
|
810
|
+
*/
|
|
811
|
+
HospitalGroupsApi.prototype.apiV1HospitalgroupsHospitalGroupIdSlugPut = function (requestParameters, options) {
|
|
812
|
+
var _this = this;
|
|
813
|
+
return (0, exports.HospitalGroupsApiFp)(this.configuration).apiV1HospitalgroupsHospitalGroupIdSlugPut(requestParameters.hospitalGroupId, requestParameters.updateHospitalGroupSlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
814
|
+
};
|
|
721
815
|
/**
|
|
722
816
|
*
|
|
723
817
|
* @summary Create hospitalGroup (Auth policies: RequireLocalManagerRole)
|