ch-admin-api-client-typescript 5.14.17 → 5.14.20

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.
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateCurationCommand } from '../models';
16
16
  import { CurationModel } from '../models';
17
17
  import { CurationsModel } from '../models';
18
+ import { TranslateCurationCommand } from '../models';
18
19
  import { UpdateCurationCommand } from '../models';
19
20
  /**
20
21
  * CurationsApi - axios parameter creator
@@ -64,6 +65,15 @@ export declare const CurationsApiAxiosParamCreator: (configuration?: Configurati
64
65
  * @throws {RequiredError}
65
66
  */
66
67
  apiV1CurationsCurationIdRevalidatePost: (curationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ *
70
+ * @summary Translate curation
71
+ * @param {string} curationId
72
+ * @param {TranslateCurationCommand} [translateCurationCommand]
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ apiV1CurationsCurationIdTranslatePost: (curationId: string, translateCurationCommand?: TranslateCurationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
77
  /**
68
78
  *
69
79
  * @summary Get all Curations
@@ -136,6 +146,15 @@ export declare const CurationsApiFp: (configuration?: Configuration) => {
136
146
  * @throws {RequiredError}
137
147
  */
138
148
  apiV1CurationsCurationIdRevalidatePost(curationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
149
+ /**
150
+ *
151
+ * @summary Translate curation
152
+ * @param {string} curationId
153
+ * @param {TranslateCurationCommand} [translateCurationCommand]
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ apiV1CurationsCurationIdTranslatePost(curationId: string, translateCurationCommand?: TranslateCurationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
139
158
  /**
140
159
  *
141
160
  * @summary Get all Curations
@@ -208,6 +227,15 @@ export declare const CurationsApiFactory: (configuration?: Configuration, basePa
208
227
  * @throws {RequiredError}
209
228
  */
210
229
  apiV1CurationsCurationIdRevalidatePost(curationId: string, options?: any): AxiosPromise<boolean>;
230
+ /**
231
+ *
232
+ * @summary Translate curation
233
+ * @param {string} curationId
234
+ * @param {TranslateCurationCommand} [translateCurationCommand]
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ apiV1CurationsCurationIdTranslatePost(curationId: string, translateCurationCommand?: TranslateCurationCommand, options?: any): AxiosPromise<boolean>;
211
239
  /**
212
240
  *
213
241
  * @summary Get all Curations
@@ -315,6 +343,25 @@ export interface CurationsApiApiV1CurationsCurationIdRevalidatePostRequest {
315
343
  */
316
344
  readonly curationId: string;
317
345
  }
346
+ /**
347
+ * Request parameters for apiV1CurationsCurationIdTranslatePost operation in CurationsApi.
348
+ * @export
349
+ * @interface CurationsApiApiV1CurationsCurationIdTranslatePostRequest
350
+ */
351
+ export interface CurationsApiApiV1CurationsCurationIdTranslatePostRequest {
352
+ /**
353
+ *
354
+ * @type {string}
355
+ * @memberof CurationsApiApiV1CurationsCurationIdTranslatePost
356
+ */
357
+ readonly curationId: string;
358
+ /**
359
+ *
360
+ * @type {TranslateCurationCommand}
361
+ * @memberof CurationsApiApiV1CurationsCurationIdTranslatePost
362
+ */
363
+ readonly translateCurationCommand?: TranslateCurationCommand;
364
+ }
318
365
  /**
319
366
  * Request parameters for apiV1CurationsGet operation in CurationsApi.
320
367
  * @export
@@ -435,6 +482,15 @@ export declare class CurationsApi extends BaseAPI {
435
482
  * @memberof CurationsApi
436
483
  */
437
484
  apiV1CurationsCurationIdRevalidatePost(requestParameters: CurationsApiApiV1CurationsCurationIdRevalidatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
485
+ /**
486
+ *
487
+ * @summary Translate curation
488
+ * @param {CurationsApiApiV1CurationsCurationIdTranslatePostRequest} requestParameters Request parameters.
489
+ * @param {*} [options] Override http request option.
490
+ * @throws {RequiredError}
491
+ * @memberof CurationsApi
492
+ */
493
+ apiV1CurationsCurationIdTranslatePost(requestParameters: CurationsApiApiV1CurationsCurationIdTranslatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
438
494
  /**
439
495
  *
440
496
  * @summary Get all Curations
@@ -1 +1 @@
1
- {"version":3,"file":"curations-api.d.ts","sourceRoot":"","sources":["../../src/api/curations-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,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAI3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,mBAA6B,aAAa;IAE5E;;;;;;;OAOG;iDACgD,MAAM,gBAAgB,OAAO,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAmCzI;;;;;;;OAOG;8CAC6C,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAmCtI;;;;;;;OAOG;8CAC6C,MAAM,0BAA0B,qBAAqB,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAkC9J;;;;;;OAMG;wDACuD,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BzH;;;;;;OAMG;yDACwD,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+B1H;;;;;;;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AAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;CACzD;AAED;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,OAAO;IACrC;;;;;;;OAOG;IACI,8BAA8B,CAAC,iBAAiB,EAAE,iDAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIxI;;;;;;;OAOG;IACI,2BAA2B,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlI;;;;;;;OAOG;IACI,2BAA2B,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlI;;;;;;;OAOG;IACI,qCAAqC,CAAC,iBAAiB,EAAE,wDAAwD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAItJ;;;;;;;OAOG;IACI,sCAAsC,CAAC,iBAAiB,EAAE,yDAAyD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIxJ;;;;;;;OAOG;IACI,qCAAqC,CAAC,iBAAiB,EAAE,wDAAwD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAItJ;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,EAAE,oCAAoC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI9G;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,GAAE,qCAA0C,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGxH"}
@@ -318,6 +318,52 @@ var CurationsApiAxiosParamCreator = function (configuration) {
318
318
  });
319
319
  });
320
320
  },
321
+ /**
322
+ *
323
+ * @summary Translate curation
324
+ * @param {string} curationId
325
+ * @param {TranslateCurationCommand} [translateCurationCommand]
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ apiV1CurationsCurationIdTranslatePost: function (curationId, translateCurationCommand, options) {
330
+ if (options === void 0) { options = {}; }
331
+ return __awaiter(_this, void 0, void 0, function () {
332
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
333
+ return __generator(this, function (_a) {
334
+ switch (_a.label) {
335
+ case 0:
336
+ // verify required parameter 'curationId' is not null or undefined
337
+ (0, common_1.assertParamExists)('apiV1CurationsCurationIdTranslatePost', 'curationId', curationId);
338
+ localVarPath = "/api/v1/curations/{curationId}/translate"
339
+ .replace("{".concat("curationId", "}"), encodeURIComponent(String(curationId)));
340
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
341
+ if (configuration) {
342
+ baseOptions = configuration.baseOptions;
343
+ }
344
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
345
+ localVarHeaderParameter = {};
346
+ localVarQueryParameter = {};
347
+ // authentication oauth2 required
348
+ // oauth required
349
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
350
+ case 1:
351
+ // authentication oauth2 required
352
+ // oauth required
353
+ _a.sent();
354
+ localVarHeaderParameter['Content-Type'] = 'application/json';
355
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(translateCurationCommand, localVarRequestOptions, configuration);
359
+ return [2 /*return*/, {
360
+ url: (0, common_1.toPathString)(localVarUrlObj),
361
+ options: localVarRequestOptions,
362
+ }];
363
+ }
364
+ });
365
+ });
366
+ },
321
367
  /**
322
368
  *
323
369
  * @summary Get all Curations
@@ -550,6 +596,27 @@ var CurationsApiFp = function (configuration) {
550
596
  });
551
597
  });
552
598
  },
599
+ /**
600
+ *
601
+ * @summary Translate curation
602
+ * @param {string} curationId
603
+ * @param {TranslateCurationCommand} [translateCurationCommand]
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ apiV1CurationsCurationIdTranslatePost: function (curationId, translateCurationCommand, options) {
608
+ return __awaiter(this, void 0, void 0, function () {
609
+ var localVarAxiosArgs;
610
+ return __generator(this, function (_a) {
611
+ switch (_a.label) {
612
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CurationsCurationIdTranslatePost(curationId, translateCurationCommand, options)];
613
+ case 1:
614
+ localVarAxiosArgs = _a.sent();
615
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
616
+ }
617
+ });
618
+ });
619
+ },
553
620
  /**
554
621
  *
555
622
  * @summary Get all Curations
@@ -660,6 +727,17 @@ var CurationsApiFactory = function (configuration, basePath, axios) {
660
727
  apiV1CurationsCurationIdRevalidatePost: function (curationId, options) {
661
728
  return localVarFp.apiV1CurationsCurationIdRevalidatePost(curationId, options).then(function (request) { return request(axios, basePath); });
662
729
  },
730
+ /**
731
+ *
732
+ * @summary Translate curation
733
+ * @param {string} curationId
734
+ * @param {TranslateCurationCommand} [translateCurationCommand]
735
+ * @param {*} [options] Override http request option.
736
+ * @throws {RequiredError}
737
+ */
738
+ apiV1CurationsCurationIdTranslatePost: function (curationId, translateCurationCommand, options) {
739
+ return localVarFp.apiV1CurationsCurationIdTranslatePost(curationId, translateCurationCommand, options).then(function (request) { return request(axios, basePath); });
740
+ },
663
741
  /**
664
742
  *
665
743
  * @summary Get all Curations
@@ -761,6 +839,18 @@ var CurationsApi = /** @class */ (function (_super) {
761
839
  var _this = this;
762
840
  return (0, exports.CurationsApiFp)(this.configuration).apiV1CurationsCurationIdRevalidatePost(requestParameters.curationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
763
841
  };
842
+ /**
843
+ *
844
+ * @summary Translate curation
845
+ * @param {CurationsApiApiV1CurationsCurationIdTranslatePostRequest} requestParameters Request parameters.
846
+ * @param {*} [options] Override http request option.
847
+ * @throws {RequiredError}
848
+ * @memberof CurationsApi
849
+ */
850
+ CurationsApi.prototype.apiV1CurationsCurationIdTranslatePost = function (requestParameters, options) {
851
+ var _this = this;
852
+ return (0, exports.CurationsApiFp)(this.configuration).apiV1CurationsCurationIdTranslatePost(requestParameters.curationId, requestParameters.translateCurationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
853
+ };
764
854
  /**
765
855
  *
766
856
  * @summary Get all Curations
@@ -1246,6 +1246,15 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
1246
1246
  * @throws {RequiredError}
1247
1247
  */
1248
1248
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut: (hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1249
+ /**
1250
+ *
1251
+ * @summary Delete HospitalSpecialty.
1252
+ * @param {string} hospitalId
1253
+ * @param {string} hospitalSpecialtyId
1254
+ * @param {*} [options] Override http request option.
1255
+ * @throws {RequiredError}
1256
+ */
1257
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut: (hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1249
1258
  /**
1250
1259
  *
1251
1260
  * @summary Revalidate hospitalSpecialty
@@ -1630,14 +1639,6 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
1630
1639
  * @throws {RequiredError}
1631
1640
  */
1632
1641
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: (hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1633
- /**
1634
- *
1635
- * @summary Delete HospitalSpecialty.
1636
- * @param {string} hospitalSpecialtyId
1637
- * @param {*} [options] Override http request option.
1638
- * @throws {RequiredError}
1639
- */
1640
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut: (hospitalSpecialtyId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1641
1642
  /**
1642
1643
  *
1643
1644
  * @summary Create Hospital.
@@ -2819,6 +2820,15 @@ export declare const HospitalsApiFp: (configuration?: Configuration) => {
2819
2820
  * @throws {RequiredError}
2820
2821
  */
2821
2822
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>>;
2823
+ /**
2824
+ *
2825
+ * @summary Delete HospitalSpecialty.
2826
+ * @param {string} hospitalId
2827
+ * @param {string} hospitalSpecialtyId
2828
+ * @param {*} [options] Override http request option.
2829
+ * @throws {RequiredError}
2830
+ */
2831
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2822
2832
  /**
2823
2833
  *
2824
2834
  * @summary Revalidate hospitalSpecialty
@@ -3203,14 +3213,6 @@ export declare const HospitalsApiFp: (configuration?: Configuration) => {
3203
3213
  * @throws {RequiredError}
3204
3214
  */
3205
3215
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDayModel>>;
3206
- /**
3207
- *
3208
- * @summary Delete HospitalSpecialty.
3209
- * @param {string} hospitalSpecialtyId
3210
- * @param {*} [options] Override http request option.
3211
- * @throws {RequiredError}
3212
- */
3213
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
3214
3216
  /**
3215
3217
  *
3216
3218
  * @summary Create Hospital.
@@ -4392,6 +4394,15 @@ export declare const HospitalsApiFactory: (configuration?: Configuration, basePa
4392
4394
  * @throws {RequiredError}
4393
4395
  */
4394
4396
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel>;
4397
+ /**
4398
+ *
4399
+ * @summary Delete HospitalSpecialty.
4400
+ * @param {string} hospitalId
4401
+ * @param {string} hospitalSpecialtyId
4402
+ * @param {*} [options] Override http request option.
4403
+ * @throws {RequiredError}
4404
+ */
4405
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean>;
4395
4406
  /**
4396
4407
  *
4397
4408
  * @summary Revalidate hospitalSpecialty
@@ -4776,14 +4787,6 @@ export declare const HospitalsApiFactory: (configuration?: Configuration, basePa
4776
4787
  * @throws {RequiredError}
4777
4788
  */
4778
4789
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel>;
4779
- /**
4780
- *
4781
- * @summary Delete HospitalSpecialty.
4782
- * @param {string} hospitalSpecialtyId
4783
- * @param {*} [options] Override http request option.
4784
- * @throws {RequiredError}
4785
- */
4786
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean>;
4787
4790
  /**
4788
4791
  *
4789
4792
  * @summary Create Hospital.
@@ -7890,6 +7893,25 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialt
7890
7893
  */
7891
7894
  readonly updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand;
7892
7895
  }
7896
+ /**
7897
+ * Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut operation in HospitalsApi.
7898
+ * @export
7899
+ * @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest
7900
+ */
7901
+ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest {
7902
+ /**
7903
+ *
7904
+ * @type {string}
7905
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut
7906
+ */
7907
+ readonly hospitalId: string;
7908
+ /**
7909
+ *
7910
+ * @type {string}
7911
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut
7912
+ */
7913
+ readonly hospitalSpecialtyId: string;
7914
+ }
7893
7915
  /**
7894
7916
  * Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost operation in HospitalsApi.
7895
7917
  * @export
@@ -9039,19 +9061,6 @@ export interface HospitalsApiApiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPutR
9039
9061
  */
9040
9062
  readonly updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand;
9041
9063
  }
9042
- /**
9043
- * Request parameters for apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut operation in HospitalsApi.
9044
- * @export
9045
- * @interface HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest
9046
- */
9047
- export interface HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest {
9048
- /**
9049
- *
9050
- * @type {string}
9051
- * @memberof HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut
9052
- */
9053
- readonly hospitalSpecialtyId: string;
9054
- }
9055
9064
  /**
9056
9065
  * Request parameters for apiV1HospitalsPost operation in HospitalsApi.
9057
9066
  * @export
@@ -10157,6 +10166,15 @@ export declare class HospitalsApi extends BaseAPI {
10157
10166
  * @memberof HospitalsApi
10158
10167
  */
10159
10168
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalSpecialtyModel, any>>;
10169
+ /**
10170
+ *
10171
+ * @summary Delete HospitalSpecialty.
10172
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest} requestParameters Request parameters.
10173
+ * @param {*} [options] Override http request option.
10174
+ * @throws {RequiredError}
10175
+ * @memberof HospitalsApi
10176
+ */
10177
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
10160
10178
  /**
10161
10179
  *
10162
10180
  * @summary Revalidate hospitalSpecialty
@@ -10454,15 +10472,6 @@ export declare class HospitalsApi extends BaseAPI {
10454
10472
  * @memberof HospitalsApi
10455
10473
  */
10456
10474
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkingDayModel, any>>;
10457
- /**
10458
- *
10459
- * @summary Delete HospitalSpecialty.
10460
- * @param {HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest} requestParameters Request parameters.
10461
- * @param {*} [options] Override http request option.
10462
- * @throws {RequiredError}
10463
- * @memberof HospitalsApi
10464
- */
10465
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
10466
10475
  /**
10467
10476
  *
10468
10477
  * @summary Create Hospital.