ch-admin-api-client-typescript 5.88.21 → 5.88.31
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/badge-categories-api.d.ts +384 -0
- package/lib/api/badge-categories-api.d.ts.map +1 -0
- package/lib/api/badge-categories-api.js +718 -0
- package/lib/api/badges-api.d.ts +557 -0
- package/lib/api/badges-api.d.ts.map +1 -0
- package/lib/api/badges-api.js +950 -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 +56 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +94 -0
- 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/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 +325 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +500 -0
- package/lib/api/platform-interpretation-languages-api.d.ts +375 -0
- package/lib/api/platform-interpretation-languages-api.d.ts.map +1 -0
- package/lib/api/platform-interpretation-languages-api.js +712 -0
- 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/api.d.ts +3 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +3 -0
- 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/badge-categories-model.d.ts +33 -0
- package/lib/models/badge-categories-model.d.ts.map +1 -0
- package/lib/models/badge-categories-model.js +15 -0
- package/lib/models/badge-category-item-model.d.ts +44 -0
- package/lib/models/badge-category-item-model.d.ts.map +1 -0
- package/lib/models/badge-category-item-model.js +15 -0
- package/lib/models/badge-category-model.d.ts +44 -0
- package/lib/models/badge-category-model.d.ts.map +1 -0
- package/lib/models/badge-category-model.js +15 -0
- package/lib/models/badge-item-model.d.ts +110 -0
- package/lib/models/badge-item-model.d.ts.map +1 -0
- package/lib/models/badge-item-model.js +15 -0
- package/lib/models/badge-model.d.ts +123 -0
- package/lib/models/badge-model.d.ts.map +1 -0
- package/lib/models/badge-model.js +15 -0
- package/lib/models/badges-model.d.ts +33 -0
- package/lib/models/badges-model.d.ts.map +1 -0
- package/lib/models/badges-model.js +15 -0
- package/lib/models/country-simple-item-model.d.ts +6 -0
- package/lib/models/country-simple-item-model.d.ts.map +1 -1
- package/lib/models/create-badge-category-command.d.ts +31 -0
- package/lib/models/create-badge-category-command.d.ts.map +1 -0
- package/lib/models/create-badge-category-command.js +15 -0
- package/lib/models/create-badge-command.d.ts +115 -0
- package/lib/models/create-badge-command.d.ts.map +1 -0
- package/lib/models/create-badge-command.js +15 -0
- package/lib/models/create-platform-interpretation-language-command.d.ts +37 -0
- package/lib/models/create-platform-interpretation-language-command.d.ts.map +1 -0
- package/lib/models/create-platform-interpretation-language-command.js +15 -0
- package/lib/models/index.d.ts +35 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +35 -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 +0 -6
- package/lib/models/patch-specialty-type-command.d.ts.map +1 -1
- package/lib/models/platform-interpretation-language-item-model.d.ts +56 -0
- package/lib/models/platform-interpretation-language-item-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-language-item-model.js +15 -0
- package/lib/models/platform-interpretation-language-model.d.ts +56 -0
- package/lib/models/platform-interpretation-language-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-language-model.js +15 -0
- package/lib/models/platform-interpretation-languages-model.d.ts +33 -0
- package/lib/models/platform-interpretation-languages-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-languages-model.js +15 -0
- 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-badge-category-command.d.ts +31 -0
- package/lib/models/update-badge-category-command.d.ts.map +1 -0
- package/lib/models/update-badge-category-command.js +15 -0
- package/lib/models/update-badge-command.d.ts +121 -0
- package/lib/models/update-badge-command.d.ts.map +1 -0
- package/lib/models/update-badge-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-platform-interpretation-language-command.d.ts +31 -0
- package/lib/models/update-platform-interpretation-language-command.d.ts.map +1 -0
- package/lib/models/update-platform-interpretation-language-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 +0 -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
package/lib/api/hospitals-api.js
CHANGED
|
@@ -3673,6 +3673,60 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3673
3673
|
});
|
|
3674
3674
|
});
|
|
3675
3675
|
},
|
|
3676
|
+
/**
|
|
3677
|
+
*
|
|
3678
|
+
* @summary Update Landing slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
3679
|
+
* @param {string} hospitalId
|
|
3680
|
+
* @param {string} landingId
|
|
3681
|
+
* @param {UpdateLandingSlugCommand} [updateLandingSlugCommand]
|
|
3682
|
+
* @param {*} [options] Override http request option.
|
|
3683
|
+
* @throws {RequiredError}
|
|
3684
|
+
*/
|
|
3685
|
+
apiV1HospitalsHospitalIdLandingsLandingIdSlugPut: function (hospitalId_1, landingId_1, updateLandingSlugCommand_1) {
|
|
3686
|
+
var args_1 = [];
|
|
3687
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
3688
|
+
args_1[_i - 3] = arguments[_i];
|
|
3689
|
+
}
|
|
3690
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, landingId_1, updateLandingSlugCommand_1], args_1, true), void 0, function (hospitalId, landingId, updateLandingSlugCommand, options) {
|
|
3691
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3692
|
+
if (options === void 0) { options = {}; }
|
|
3693
|
+
return __generator(this, function (_a) {
|
|
3694
|
+
switch (_a.label) {
|
|
3695
|
+
case 0:
|
|
3696
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3697
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdLandingsLandingIdSlugPut', 'hospitalId', hospitalId);
|
|
3698
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
3699
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdLandingsLandingIdSlugPut', 'landingId', landingId);
|
|
3700
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}/slug"
|
|
3701
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3702
|
+
.replace("{".concat("landingId", "}"), encodeURIComponent(String(landingId)));
|
|
3703
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3704
|
+
if (configuration) {
|
|
3705
|
+
baseOptions = configuration.baseOptions;
|
|
3706
|
+
}
|
|
3707
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
3708
|
+
localVarHeaderParameter = {};
|
|
3709
|
+
localVarQueryParameter = {};
|
|
3710
|
+
// authentication oauth2 required
|
|
3711
|
+
// oauth required
|
|
3712
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
3713
|
+
case 1:
|
|
3714
|
+
// authentication oauth2 required
|
|
3715
|
+
// oauth required
|
|
3716
|
+
_a.sent();
|
|
3717
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3718
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3719
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3720
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3721
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLandingSlugCommand, localVarRequestOptions, configuration);
|
|
3722
|
+
return [2 /*return*/, {
|
|
3723
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3724
|
+
options: localVarRequestOptions,
|
|
3725
|
+
}];
|
|
3726
|
+
}
|
|
3727
|
+
});
|
|
3728
|
+
});
|
|
3729
|
+
},
|
|
3676
3730
|
/**
|
|
3677
3731
|
*
|
|
3678
3732
|
* @summary Translate landing (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -6058,6 +6112,60 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
6058
6112
|
});
|
|
6059
6113
|
});
|
|
6060
6114
|
},
|
|
6115
|
+
/**
|
|
6116
|
+
*
|
|
6117
|
+
* @summary Update policy slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
6118
|
+
* @param {string} hospitalId
|
|
6119
|
+
* @param {string} policyId
|
|
6120
|
+
* @param {UpdatePolicySlugCommand} [updatePolicySlugCommand]
|
|
6121
|
+
* @param {*} [options] Override http request option.
|
|
6122
|
+
* @throws {RequiredError}
|
|
6123
|
+
*/
|
|
6124
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut: function (hospitalId_1, policyId_1, updatePolicySlugCommand_1) {
|
|
6125
|
+
var args_1 = [];
|
|
6126
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
6127
|
+
args_1[_i - 3] = arguments[_i];
|
|
6128
|
+
}
|
|
6129
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, policyId_1, updatePolicySlugCommand_1], args_1, true), void 0, function (hospitalId, policyId, updatePolicySlugCommand, options) {
|
|
6130
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6131
|
+
if (options === void 0) { options = {}; }
|
|
6132
|
+
return __generator(this, function (_a) {
|
|
6133
|
+
switch (_a.label) {
|
|
6134
|
+
case 0:
|
|
6135
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
6136
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut', 'hospitalId', hospitalId);
|
|
6137
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
6138
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut', 'policyId', policyId);
|
|
6139
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/slug"
|
|
6140
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
6141
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
6142
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6143
|
+
if (configuration) {
|
|
6144
|
+
baseOptions = configuration.baseOptions;
|
|
6145
|
+
}
|
|
6146
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
6147
|
+
localVarHeaderParameter = {};
|
|
6148
|
+
localVarQueryParameter = {};
|
|
6149
|
+
// authentication oauth2 required
|
|
6150
|
+
// oauth required
|
|
6151
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
6152
|
+
case 1:
|
|
6153
|
+
// authentication oauth2 required
|
|
6154
|
+
// oauth required
|
|
6155
|
+
_a.sent();
|
|
6156
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6157
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6158
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6159
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6160
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePolicySlugCommand, localVarRequestOptions, configuration);
|
|
6161
|
+
return [2 /*return*/, {
|
|
6162
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6163
|
+
options: localVarRequestOptions,
|
|
6164
|
+
}];
|
|
6165
|
+
}
|
|
6166
|
+
});
|
|
6167
|
+
});
|
|
6168
|
+
},
|
|
6061
6169
|
/**
|
|
6062
6170
|
*
|
|
6063
6171
|
* @summary Create policy (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -7256,6 +7364,56 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
7256
7364
|
});
|
|
7257
7365
|
});
|
|
7258
7366
|
},
|
|
7367
|
+
/**
|
|
7368
|
+
*
|
|
7369
|
+
* @summary Update Hospital Slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
7370
|
+
* @param {string} hospitalId
|
|
7371
|
+
* @param {UpdateHospitalSlugCommand} [updateHospitalSlugCommand]
|
|
7372
|
+
* @param {*} [options] Override http request option.
|
|
7373
|
+
* @throws {RequiredError}
|
|
7374
|
+
*/
|
|
7375
|
+
apiV1HospitalsHospitalIdSlugPut: function (hospitalId_1, updateHospitalSlugCommand_1) {
|
|
7376
|
+
var args_1 = [];
|
|
7377
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7378
|
+
args_1[_i - 2] = arguments[_i];
|
|
7379
|
+
}
|
|
7380
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, updateHospitalSlugCommand_1], args_1, true), void 0, function (hospitalId, updateHospitalSlugCommand, options) {
|
|
7381
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7382
|
+
if (options === void 0) { options = {}; }
|
|
7383
|
+
return __generator(this, function (_a) {
|
|
7384
|
+
switch (_a.label) {
|
|
7385
|
+
case 0:
|
|
7386
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
7387
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSlugPut', 'hospitalId', hospitalId);
|
|
7388
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/slug"
|
|
7389
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
7390
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7391
|
+
if (configuration) {
|
|
7392
|
+
baseOptions = configuration.baseOptions;
|
|
7393
|
+
}
|
|
7394
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7395
|
+
localVarHeaderParameter = {};
|
|
7396
|
+
localVarQueryParameter = {};
|
|
7397
|
+
// authentication oauth2 required
|
|
7398
|
+
// oauth required
|
|
7399
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
7400
|
+
case 1:
|
|
7401
|
+
// authentication oauth2 required
|
|
7402
|
+
// oauth required
|
|
7403
|
+
_a.sent();
|
|
7404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7405
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7406
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7407
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7408
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalSlugCommand, localVarRequestOptions, configuration);
|
|
7409
|
+
return [2 /*return*/, {
|
|
7410
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7411
|
+
options: localVarRequestOptions,
|
|
7412
|
+
}];
|
|
7413
|
+
}
|
|
7414
|
+
});
|
|
7415
|
+
});
|
|
7416
|
+
},
|
|
7259
7417
|
/**
|
|
7260
7418
|
*
|
|
7261
7419
|
* @summary Get all HospitalSpecialties. (Auth policies: RequireDefaultAdminAppRole)
|
|
@@ -8371,6 +8529,60 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
8371
8529
|
});
|
|
8372
8530
|
});
|
|
8373
8531
|
},
|
|
8532
|
+
/**
|
|
8533
|
+
*
|
|
8534
|
+
* @summary Update HospitalSpecialty slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
8535
|
+
* @param {string} hospitalId
|
|
8536
|
+
* @param {string} hospitalSpecialtyId
|
|
8537
|
+
* @param {UpdateHospitalSpecialtySlugCommand} [updateHospitalSpecialtySlugCommand]
|
|
8538
|
+
* @param {*} [options] Override http request option.
|
|
8539
|
+
* @throws {RequiredError}
|
|
8540
|
+
*/
|
|
8541
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut: function (hospitalId_1, hospitalSpecialtyId_1, updateHospitalSpecialtySlugCommand_1) {
|
|
8542
|
+
var args_1 = [];
|
|
8543
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
8544
|
+
args_1[_i - 3] = arguments[_i];
|
|
8545
|
+
}
|
|
8546
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, hospitalSpecialtyId_1, updateHospitalSpecialtySlugCommand_1], args_1, true), void 0, function (hospitalId, hospitalSpecialtyId, updateHospitalSpecialtySlugCommand, options) {
|
|
8547
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8548
|
+
if (options === void 0) { options = {}; }
|
|
8549
|
+
return __generator(this, function (_a) {
|
|
8550
|
+
switch (_a.label) {
|
|
8551
|
+
case 0:
|
|
8552
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
8553
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut', 'hospitalId', hospitalId);
|
|
8554
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
8555
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
8556
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/slug"
|
|
8557
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
8558
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
8559
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8560
|
+
if (configuration) {
|
|
8561
|
+
baseOptions = configuration.baseOptions;
|
|
8562
|
+
}
|
|
8563
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
8564
|
+
localVarHeaderParameter = {};
|
|
8565
|
+
localVarQueryParameter = {};
|
|
8566
|
+
// authentication oauth2 required
|
|
8567
|
+
// oauth required
|
|
8568
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
8569
|
+
case 1:
|
|
8570
|
+
// authentication oauth2 required
|
|
8571
|
+
// oauth required
|
|
8572
|
+
_a.sent();
|
|
8573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8574
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8575
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8576
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8577
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalSpecialtySlugCommand, localVarRequestOptions, configuration);
|
|
8578
|
+
return [2 /*return*/, {
|
|
8579
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8580
|
+
options: localVarRequestOptions,
|
|
8581
|
+
}];
|
|
8582
|
+
}
|
|
8583
|
+
});
|
|
8584
|
+
});
|
|
8585
|
+
},
|
|
8374
8586
|
/**
|
|
8375
8587
|
*
|
|
8376
8588
|
* @summary Translate hospitalSpecialty (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -9824,6 +10036,64 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9824
10036
|
});
|
|
9825
10037
|
});
|
|
9826
10038
|
},
|
|
10039
|
+
/**
|
|
10040
|
+
*
|
|
10041
|
+
* @summary Update HospitalService slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
10042
|
+
* @param {string} hospitalId
|
|
10043
|
+
* @param {string} specialtyId
|
|
10044
|
+
* @param {string} serviceId
|
|
10045
|
+
* @param {UpdateHospitalServiceSlugCommand} [updateHospitalServiceSlugCommand]
|
|
10046
|
+
* @param {*} [options] Override http request option.
|
|
10047
|
+
* @throws {RequiredError}
|
|
10048
|
+
*/
|
|
10049
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut: function (hospitalId_1, specialtyId_1, serviceId_1, updateHospitalServiceSlugCommand_1) {
|
|
10050
|
+
var args_1 = [];
|
|
10051
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
10052
|
+
args_1[_i - 4] = arguments[_i];
|
|
10053
|
+
}
|
|
10054
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, serviceId_1, updateHospitalServiceSlugCommand_1], args_1, true), void 0, function (hospitalId, specialtyId, serviceId, updateHospitalServiceSlugCommand, options) {
|
|
10055
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10056
|
+
if (options === void 0) { options = {}; }
|
|
10057
|
+
return __generator(this, function (_a) {
|
|
10058
|
+
switch (_a.label) {
|
|
10059
|
+
case 0:
|
|
10060
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10061
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut', 'hospitalId', hospitalId);
|
|
10062
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
10063
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut', 'specialtyId', specialtyId);
|
|
10064
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
10065
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut', 'serviceId', serviceId);
|
|
10066
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/slug"
|
|
10067
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10068
|
+
.replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
|
|
10069
|
+
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
10070
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10071
|
+
if (configuration) {
|
|
10072
|
+
baseOptions = configuration.baseOptions;
|
|
10073
|
+
}
|
|
10074
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
10075
|
+
localVarHeaderParameter = {};
|
|
10076
|
+
localVarQueryParameter = {};
|
|
10077
|
+
// authentication oauth2 required
|
|
10078
|
+
// oauth required
|
|
10079
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
10080
|
+
case 1:
|
|
10081
|
+
// authentication oauth2 required
|
|
10082
|
+
// oauth required
|
|
10083
|
+
_a.sent();
|
|
10084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10085
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10086
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10087
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10088
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalServiceSlugCommand, localVarRequestOptions, configuration);
|
|
10089
|
+
return [2 /*return*/, {
|
|
10090
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10091
|
+
options: localVarRequestOptions,
|
|
10092
|
+
}];
|
|
10093
|
+
}
|
|
10094
|
+
});
|
|
10095
|
+
});
|
|
10096
|
+
},
|
|
9827
10097
|
/**
|
|
9828
10098
|
*
|
|
9829
10099
|
* @summary Translate service (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -12219,6 +12489,28 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12219
12489
|
});
|
|
12220
12490
|
});
|
|
12221
12491
|
},
|
|
12492
|
+
/**
|
|
12493
|
+
*
|
|
12494
|
+
* @summary Update Landing slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
12495
|
+
* @param {string} hospitalId
|
|
12496
|
+
* @param {string} landingId
|
|
12497
|
+
* @param {UpdateLandingSlugCommand} [updateLandingSlugCommand]
|
|
12498
|
+
* @param {*} [options] Override http request option.
|
|
12499
|
+
* @throws {RequiredError}
|
|
12500
|
+
*/
|
|
12501
|
+
apiV1HospitalsHospitalIdLandingsLandingIdSlugPut: function (hospitalId, landingId, updateLandingSlugCommand, options) {
|
|
12502
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12503
|
+
var localVarAxiosArgs;
|
|
12504
|
+
return __generator(this, function (_a) {
|
|
12505
|
+
switch (_a.label) {
|
|
12506
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdSlugPut(hospitalId, landingId, updateLandingSlugCommand, options)];
|
|
12507
|
+
case 1:
|
|
12508
|
+
localVarAxiosArgs = _a.sent();
|
|
12509
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12510
|
+
}
|
|
12511
|
+
});
|
|
12512
|
+
});
|
|
12513
|
+
},
|
|
12222
12514
|
/**
|
|
12223
12515
|
*
|
|
12224
12516
|
* @summary Translate landing (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -13162,6 +13454,28 @@ var HospitalsApiFp = function (configuration) {
|
|
|
13162
13454
|
});
|
|
13163
13455
|
});
|
|
13164
13456
|
},
|
|
13457
|
+
/**
|
|
13458
|
+
*
|
|
13459
|
+
* @summary Update policy slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
13460
|
+
* @param {string} hospitalId
|
|
13461
|
+
* @param {string} policyId
|
|
13462
|
+
* @param {UpdatePolicySlugCommand} [updatePolicySlugCommand]
|
|
13463
|
+
* @param {*} [options] Override http request option.
|
|
13464
|
+
* @throws {RequiredError}
|
|
13465
|
+
*/
|
|
13466
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut: function (hospitalId, policyId, updatePolicySlugCommand, options) {
|
|
13467
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13468
|
+
var localVarAxiosArgs;
|
|
13469
|
+
return __generator(this, function (_a) {
|
|
13470
|
+
switch (_a.label) {
|
|
13471
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut(hospitalId, policyId, updatePolicySlugCommand, options)];
|
|
13472
|
+
case 1:
|
|
13473
|
+
localVarAxiosArgs = _a.sent();
|
|
13474
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13475
|
+
}
|
|
13476
|
+
});
|
|
13477
|
+
});
|
|
13478
|
+
},
|
|
13165
13479
|
/**
|
|
13166
13480
|
*
|
|
13167
13481
|
* @summary Create policy (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -13642,6 +13956,27 @@ var HospitalsApiFp = function (configuration) {
|
|
|
13642
13956
|
});
|
|
13643
13957
|
});
|
|
13644
13958
|
},
|
|
13959
|
+
/**
|
|
13960
|
+
*
|
|
13961
|
+
* @summary Update Hospital Slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
13962
|
+
* @param {string} hospitalId
|
|
13963
|
+
* @param {UpdateHospitalSlugCommand} [updateHospitalSlugCommand]
|
|
13964
|
+
* @param {*} [options] Override http request option.
|
|
13965
|
+
* @throws {RequiredError}
|
|
13966
|
+
*/
|
|
13967
|
+
apiV1HospitalsHospitalIdSlugPut: function (hospitalId, updateHospitalSlugCommand, options) {
|
|
13968
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13969
|
+
var localVarAxiosArgs;
|
|
13970
|
+
return __generator(this, function (_a) {
|
|
13971
|
+
switch (_a.label) {
|
|
13972
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSlugPut(hospitalId, updateHospitalSlugCommand, options)];
|
|
13973
|
+
case 1:
|
|
13974
|
+
localVarAxiosArgs = _a.sent();
|
|
13975
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13976
|
+
}
|
|
13977
|
+
});
|
|
13978
|
+
});
|
|
13979
|
+
},
|
|
13645
13980
|
/**
|
|
13646
13981
|
*
|
|
13647
13982
|
* @summary Get all HospitalSpecialties. (Auth policies: RequireDefaultAdminAppRole)
|
|
@@ -14068,6 +14403,28 @@ var HospitalsApiFp = function (configuration) {
|
|
|
14068
14403
|
});
|
|
14069
14404
|
});
|
|
14070
14405
|
},
|
|
14406
|
+
/**
|
|
14407
|
+
*
|
|
14408
|
+
* @summary Update HospitalSpecialty slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
14409
|
+
* @param {string} hospitalId
|
|
14410
|
+
* @param {string} hospitalSpecialtyId
|
|
14411
|
+
* @param {UpdateHospitalSpecialtySlugCommand} [updateHospitalSpecialtySlugCommand]
|
|
14412
|
+
* @param {*} [options] Override http request option.
|
|
14413
|
+
* @throws {RequiredError}
|
|
14414
|
+
*/
|
|
14415
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut: function (hospitalId, hospitalSpecialtyId, updateHospitalSpecialtySlugCommand, options) {
|
|
14416
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14417
|
+
var localVarAxiosArgs;
|
|
14418
|
+
return __generator(this, function (_a) {
|
|
14419
|
+
switch (_a.label) {
|
|
14420
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtySlugCommand, options)];
|
|
14421
|
+
case 1:
|
|
14422
|
+
localVarAxiosArgs = _a.sent();
|
|
14423
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14424
|
+
}
|
|
14425
|
+
});
|
|
14426
|
+
});
|
|
14427
|
+
},
|
|
14071
14428
|
/**
|
|
14072
14429
|
*
|
|
14073
14430
|
* @summary Translate hospitalSpecialty (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -14611,6 +14968,29 @@ var HospitalsApiFp = function (configuration) {
|
|
|
14611
14968
|
});
|
|
14612
14969
|
});
|
|
14613
14970
|
},
|
|
14971
|
+
/**
|
|
14972
|
+
*
|
|
14973
|
+
* @summary Update HospitalService slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
14974
|
+
* @param {string} hospitalId
|
|
14975
|
+
* @param {string} specialtyId
|
|
14976
|
+
* @param {string} serviceId
|
|
14977
|
+
* @param {UpdateHospitalServiceSlugCommand} [updateHospitalServiceSlugCommand]
|
|
14978
|
+
* @param {*} [options] Override http request option.
|
|
14979
|
+
* @throws {RequiredError}
|
|
14980
|
+
*/
|
|
14981
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceSlugCommand, options) {
|
|
14982
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14983
|
+
var localVarAxiosArgs;
|
|
14984
|
+
return __generator(this, function (_a) {
|
|
14985
|
+
switch (_a.label) {
|
|
14986
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut(hospitalId, specialtyId, serviceId, updateHospitalServiceSlugCommand, options)];
|
|
14987
|
+
case 1:
|
|
14988
|
+
localVarAxiosArgs = _a.sent();
|
|
14989
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14990
|
+
}
|
|
14991
|
+
});
|
|
14992
|
+
});
|
|
14993
|
+
},
|
|
14614
14994
|
/**
|
|
14615
14995
|
*
|
|
14616
14996
|
* @summary Translate service (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -15788,6 +16168,18 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
15788
16168
|
apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost: function (hospitalId, landingId, includeCurrent, options) {
|
|
15789
16169
|
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(hospitalId, landingId, includeCurrent, options).then(function (request) { return request(axios, basePath); });
|
|
15790
16170
|
},
|
|
16171
|
+
/**
|
|
16172
|
+
*
|
|
16173
|
+
* @summary Update Landing slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
16174
|
+
* @param {string} hospitalId
|
|
16175
|
+
* @param {string} landingId
|
|
16176
|
+
* @param {UpdateLandingSlugCommand} [updateLandingSlugCommand]
|
|
16177
|
+
* @param {*} [options] Override http request option.
|
|
16178
|
+
* @throws {RequiredError}
|
|
16179
|
+
*/
|
|
16180
|
+
apiV1HospitalsHospitalIdLandingsLandingIdSlugPut: function (hospitalId, landingId, updateLandingSlugCommand, options) {
|
|
16181
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdSlugPut(hospitalId, landingId, updateLandingSlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16182
|
+
},
|
|
15791
16183
|
/**
|
|
15792
16184
|
*
|
|
15793
16185
|
* @summary Translate landing (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -16311,6 +16703,18 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
16311
16703
|
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: function (hospitalId, policyId, options) {
|
|
16312
16704
|
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(hospitalId, policyId, options).then(function (request) { return request(axios, basePath); });
|
|
16313
16705
|
},
|
|
16706
|
+
/**
|
|
16707
|
+
*
|
|
16708
|
+
* @summary Update policy slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
16709
|
+
* @param {string} hospitalId
|
|
16710
|
+
* @param {string} policyId
|
|
16711
|
+
* @param {UpdatePolicySlugCommand} [updatePolicySlugCommand]
|
|
16712
|
+
* @param {*} [options] Override http request option.
|
|
16713
|
+
* @throws {RequiredError}
|
|
16714
|
+
*/
|
|
16715
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut: function (hospitalId, policyId, updatePolicySlugCommand, options) {
|
|
16716
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut(hospitalId, policyId, updatePolicySlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16717
|
+
},
|
|
16314
16718
|
/**
|
|
16315
16719
|
*
|
|
16316
16720
|
* @summary Create policy (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -16571,6 +16975,17 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
16571
16975
|
apiV1HospitalsHospitalIdSimpleGet: function (hospitalId, languageCode, options) {
|
|
16572
16976
|
return localVarFp.apiV1HospitalsHospitalIdSimpleGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
16573
16977
|
},
|
|
16978
|
+
/**
|
|
16979
|
+
*
|
|
16980
|
+
* @summary Update Hospital Slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
16981
|
+
* @param {string} hospitalId
|
|
16982
|
+
* @param {UpdateHospitalSlugCommand} [updateHospitalSlugCommand]
|
|
16983
|
+
* @param {*} [options] Override http request option.
|
|
16984
|
+
* @throws {RequiredError}
|
|
16985
|
+
*/
|
|
16986
|
+
apiV1HospitalsHospitalIdSlugPut: function (hospitalId, updateHospitalSlugCommand, options) {
|
|
16987
|
+
return localVarFp.apiV1HospitalsHospitalIdSlugPut(hospitalId, updateHospitalSlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16988
|
+
},
|
|
16574
16989
|
/**
|
|
16575
16990
|
*
|
|
16576
16991
|
* @summary Get all HospitalSpecialties. (Auth policies: RequireDefaultAdminAppRole)
|
|
@@ -16817,6 +17232,18 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
16817
17232
|
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost: function (hospitalId, hospitalSpecialtyId, includeCurrent, options) {
|
|
16818
17233
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(hospitalId, hospitalSpecialtyId, includeCurrent, options).then(function (request) { return request(axios, basePath); });
|
|
16819
17234
|
},
|
|
17235
|
+
/**
|
|
17236
|
+
*
|
|
17237
|
+
* @summary Update HospitalSpecialty slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
17238
|
+
* @param {string} hospitalId
|
|
17239
|
+
* @param {string} hospitalSpecialtyId
|
|
17240
|
+
* @param {UpdateHospitalSpecialtySlugCommand} [updateHospitalSpecialtySlugCommand]
|
|
17241
|
+
* @param {*} [options] Override http request option.
|
|
17242
|
+
* @throws {RequiredError}
|
|
17243
|
+
*/
|
|
17244
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut: function (hospitalId, hospitalSpecialtyId, updateHospitalSpecialtySlugCommand, options) {
|
|
17245
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtySlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
17246
|
+
},
|
|
16820
17247
|
/**
|
|
16821
17248
|
*
|
|
16822
17249
|
* @summary Translate hospitalSpecialty (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -17140,6 +17567,19 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
17140
17567
|
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost: function (hospitalId, specialtyId, serviceId, includeCurrent, options) {
|
|
17141
17568
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(hospitalId, specialtyId, serviceId, includeCurrent, options).then(function (request) { return request(axios, basePath); });
|
|
17142
17569
|
},
|
|
17570
|
+
/**
|
|
17571
|
+
*
|
|
17572
|
+
* @summary Update HospitalService slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
17573
|
+
* @param {string} hospitalId
|
|
17574
|
+
* @param {string} specialtyId
|
|
17575
|
+
* @param {string} serviceId
|
|
17576
|
+
* @param {UpdateHospitalServiceSlugCommand} [updateHospitalServiceSlugCommand]
|
|
17577
|
+
* @param {*} [options] Override http request option.
|
|
17578
|
+
* @throws {RequiredError}
|
|
17579
|
+
*/
|
|
17580
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut: function (hospitalId, specialtyId, serviceId, updateHospitalServiceSlugCommand, options) {
|
|
17581
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut(hospitalId, specialtyId, serviceId, updateHospitalServiceSlugCommand, options).then(function (request) { return request(axios, basePath); });
|
|
17582
|
+
},
|
|
17143
17583
|
/**
|
|
17144
17584
|
*
|
|
17145
17585
|
* @summary Translate service (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -18114,6 +18554,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
18114
18554
|
var _this = this;
|
|
18115
18555
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdRevalidatePost(requestParameters.hospitalId, requestParameters.landingId, requestParameters.includeCurrent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18116
18556
|
};
|
|
18557
|
+
/**
|
|
18558
|
+
*
|
|
18559
|
+
* @summary Update Landing slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
18560
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdLandingsLandingIdSlugPutRequest} requestParameters Request parameters.
|
|
18561
|
+
* @param {*} [options] Override http request option.
|
|
18562
|
+
* @throws {RequiredError}
|
|
18563
|
+
* @memberof HospitalsApi
|
|
18564
|
+
*/
|
|
18565
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdSlugPut = function (requestParameters, options) {
|
|
18566
|
+
var _this = this;
|
|
18567
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdSlugPut(requestParameters.hospitalId, requestParameters.landingId, requestParameters.updateLandingSlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18568
|
+
};
|
|
18117
18569
|
/**
|
|
18118
18570
|
*
|
|
18119
18571
|
* @summary Translate landing (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -18618,6 +19070,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
18618
19070
|
var _this = this;
|
|
18619
19071
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(requestParameters.hospitalId, requestParameters.policyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18620
19072
|
};
|
|
19073
|
+
/**
|
|
19074
|
+
*
|
|
19075
|
+
* @summary Update policy slug (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
19076
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdSlugPutRequest} requestParameters Request parameters.
|
|
19077
|
+
* @param {*} [options] Override http request option.
|
|
19078
|
+
* @throws {RequiredError}
|
|
19079
|
+
* @memberof HospitalsApi
|
|
19080
|
+
*/
|
|
19081
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut = function (requestParameters, options) {
|
|
19082
|
+
var _this = this;
|
|
19083
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdSlugPut(requestParameters.hospitalId, requestParameters.policyId, requestParameters.updatePolicySlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19084
|
+
};
|
|
18621
19085
|
/**
|
|
18622
19086
|
*
|
|
18623
19087
|
* @summary Create policy (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -18882,6 +19346,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
18882
19346
|
var _this = this;
|
|
18883
19347
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSimpleGet(requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18884
19348
|
};
|
|
19349
|
+
/**
|
|
19350
|
+
*
|
|
19351
|
+
* @summary Update Hospital Slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
19352
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSlugPutRequest} requestParameters Request parameters.
|
|
19353
|
+
* @param {*} [options] Override http request option.
|
|
19354
|
+
* @throws {RequiredError}
|
|
19355
|
+
* @memberof HospitalsApi
|
|
19356
|
+
*/
|
|
19357
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSlugPut = function (requestParameters, options) {
|
|
19358
|
+
var _this = this;
|
|
19359
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSlugPut(requestParameters.hospitalId, requestParameters.updateHospitalSlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19360
|
+
};
|
|
18885
19361
|
/**
|
|
18886
19362
|
*
|
|
18887
19363
|
* @summary Get all HospitalSpecialties. (Auth policies: RequireDefaultAdminAppRole)
|
|
@@ -19098,6 +19574,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
19098
19574
|
var _this = this;
|
|
19099
19575
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.includeCurrent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19100
19576
|
};
|
|
19577
|
+
/**
|
|
19578
|
+
*
|
|
19579
|
+
* @summary Update HospitalSpecialty slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
19580
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPutRequest} requestParameters Request parameters.
|
|
19581
|
+
* @param {*} [options] Override http request option.
|
|
19582
|
+
* @throws {RequiredError}
|
|
19583
|
+
* @memberof HospitalsApi
|
|
19584
|
+
*/
|
|
19585
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut = function (requestParameters, options) {
|
|
19586
|
+
var _this = this;
|
|
19587
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdSlugPut(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.updateHospitalSpecialtySlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19588
|
+
};
|
|
19101
19589
|
/**
|
|
19102
19590
|
*
|
|
19103
19591
|
* @summary Translate hospitalSpecialty (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
@@ -19362,6 +19850,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
19362
19850
|
var _this = this;
|
|
19363
19851
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdRevalidatePost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.includeCurrent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19364
19852
|
};
|
|
19853
|
+
/**
|
|
19854
|
+
*
|
|
19855
|
+
* @summary Update HospitalService slug. (Auth policies: RequireLocalManagerOrContentManagerRole)
|
|
19856
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPutRequest} requestParameters Request parameters.
|
|
19857
|
+
* @param {*} [options] Override http request option.
|
|
19858
|
+
* @throws {RequiredError}
|
|
19859
|
+
* @memberof HospitalsApi
|
|
19860
|
+
*/
|
|
19861
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut = function (requestParameters, options) {
|
|
19862
|
+
var _this = this;
|
|
19863
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdSlugPut(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.updateHospitalServiceSlugCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19864
|
+
};
|
|
19365
19865
|
/**
|
|
19366
19866
|
*
|
|
19367
19867
|
* @summary Translate service (Auth policies: RequireLocalManagerOrContentManagerRole)
|