ch-admin-api-client-typescript 5.90.57 → 5.90.68

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.
Files changed (33) hide show
  1. package/lib/api/form-results-api.d.ts +74 -10
  2. package/lib/api/form-results-api.d.ts.map +1 -1
  3. package/lib/api/form-results-api.js +123 -22
  4. package/lib/api/hospitals-api.d.ts +74 -0
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +106 -0
  7. package/lib/api/survey-results-api.d.ts +74 -10
  8. package/lib/api/survey-results-api.d.ts.map +1 -1
  9. package/lib/api/survey-results-api.js +123 -22
  10. package/lib/models/article-type.d.ts +3 -1
  11. package/lib/models/article-type.d.ts.map +1 -1
  12. package/lib/models/article-type.js +4 -2
  13. package/lib/models/create-article-command.d.ts +7 -0
  14. package/lib/models/create-article-command.d.ts.map +1 -1
  15. package/lib/models/create-hospital-service-command.d.ts +6 -0
  16. package/lib/models/create-hospital-service-command.d.ts.map +1 -1
  17. package/lib/models/hospital-service-item-model.d.ts +6 -0
  18. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  19. package/lib/models/hospital-service-model.d.ts +6 -0
  20. package/lib/models/hospital-service-model.d.ts.map +1 -1
  21. package/lib/models/index.d.ts +1 -0
  22. package/lib/models/index.d.ts.map +1 -1
  23. package/lib/models/index.js +1 -0
  24. package/lib/models/patch-article-command.d.ts +7 -0
  25. package/lib/models/patch-article-command.d.ts.map +1 -1
  26. package/lib/models/patch-hospital-service-command.d.ts +143 -0
  27. package/lib/models/patch-hospital-service-command.d.ts.map +1 -0
  28. package/lib/models/patch-hospital-service-command.js +15 -0
  29. package/lib/models/update-article-command.d.ts +7 -0
  30. package/lib/models/update-article-command.d.ts.map +1 -1
  31. package/lib/models/update-hospital-service-command.d.ts +6 -0
  32. package/lib/models/update-hospital-service-command.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -9868,6 +9868,64 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9868
9868
  });
9869
9869
  });
9870
9870
  },
9871
+ /**
9872
+ *
9873
+ * @summary Patch HospitalService. <br>Updates only the requested fields. (Auth policies: RequireLocalManagerOrContentManagerRole)
9874
+ * @param {string} hospitalId
9875
+ * @param {string} specialtyId
9876
+ * @param {string} serviceId
9877
+ * @param {PatchHospitalServiceCommand} [patchHospitalServiceCommand]
9878
+ * @param {*} [options] Override http request option.
9879
+ * @throws {RequiredError}
9880
+ */
9881
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch: function (hospitalId_1, specialtyId_1, serviceId_1, patchHospitalServiceCommand_1) {
9882
+ var args_1 = [];
9883
+ for (var _i = 4; _i < arguments.length; _i++) {
9884
+ args_1[_i - 4] = arguments[_i];
9885
+ }
9886
+ return __awaiter(_this, __spreadArray([hospitalId_1, specialtyId_1, serviceId_1, patchHospitalServiceCommand_1], args_1, true), void 0, function (hospitalId, specialtyId, serviceId, patchHospitalServiceCommand, options) {
9887
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9888
+ if (options === void 0) { options = {}; }
9889
+ return __generator(this, function (_a) {
9890
+ switch (_a.label) {
9891
+ case 0:
9892
+ // verify required parameter 'hospitalId' is not null or undefined
9893
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch', 'hospitalId', hospitalId);
9894
+ // verify required parameter 'specialtyId' is not null or undefined
9895
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch', 'specialtyId', specialtyId);
9896
+ // verify required parameter 'serviceId' is not null or undefined
9897
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch', 'serviceId', serviceId);
9898
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}"
9899
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
9900
+ .replace("{".concat("specialtyId", "}"), encodeURIComponent(String(specialtyId)))
9901
+ .replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
9902
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9903
+ if (configuration) {
9904
+ baseOptions = configuration.baseOptions;
9905
+ }
9906
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
9907
+ localVarHeaderParameter = {};
9908
+ localVarQueryParameter = {};
9909
+ // authentication oauth2 required
9910
+ // oauth required
9911
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
9912
+ case 1:
9913
+ // authentication oauth2 required
9914
+ // oauth required
9915
+ _a.sent();
9916
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9917
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9918
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9919
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9920
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchHospitalServiceCommand, localVarRequestOptions, configuration);
9921
+ return [2 /*return*/, {
9922
+ url: (0, common_1.toPathString)(localVarUrlObj),
9923
+ options: localVarRequestOptions,
9924
+ }];
9925
+ }
9926
+ });
9927
+ });
9928
+ },
9871
9929
  /**
9872
9930
  *
9873
9931
  * @summary Update HospitalService. (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -14905,6 +14963,29 @@ var HospitalsApiFp = function (configuration) {
14905
14963
  });
14906
14964
  });
14907
14965
  },
14966
+ /**
14967
+ *
14968
+ * @summary Patch HospitalService. <br>Updates only the requested fields. (Auth policies: RequireLocalManagerOrContentManagerRole)
14969
+ * @param {string} hospitalId
14970
+ * @param {string} specialtyId
14971
+ * @param {string} serviceId
14972
+ * @param {PatchHospitalServiceCommand} [patchHospitalServiceCommand]
14973
+ * @param {*} [options] Override http request option.
14974
+ * @throws {RequiredError}
14975
+ */
14976
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch: function (hospitalId, specialtyId, serviceId, patchHospitalServiceCommand, options) {
14977
+ return __awaiter(this, void 0, void 0, function () {
14978
+ var localVarAxiosArgs;
14979
+ return __generator(this, function (_a) {
14980
+ switch (_a.label) {
14981
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch(hospitalId, specialtyId, serviceId, patchHospitalServiceCommand, options)];
14982
+ case 1:
14983
+ localVarAxiosArgs = _a.sent();
14984
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14985
+ }
14986
+ });
14987
+ });
14988
+ },
14908
14989
  /**
14909
14990
  *
14910
14991
  * @summary Update HospitalService. (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -17535,6 +17616,19 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
17535
17616
  apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: function (hospitalId, specialtyId, serviceId, createMediaCommand, options) {
17536
17617
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
17537
17618
  },
17619
+ /**
17620
+ *
17621
+ * @summary Patch HospitalService. <br>Updates only the requested fields. (Auth policies: RequireLocalManagerOrContentManagerRole)
17622
+ * @param {string} hospitalId
17623
+ * @param {string} specialtyId
17624
+ * @param {string} serviceId
17625
+ * @param {PatchHospitalServiceCommand} [patchHospitalServiceCommand]
17626
+ * @param {*} [options] Override http request option.
17627
+ * @throws {RequiredError}
17628
+ */
17629
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch: function (hospitalId, specialtyId, serviceId, patchHospitalServiceCommand, options) {
17630
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch(hospitalId, specialtyId, serviceId, patchHospitalServiceCommand, options).then(function (request) { return request(axios, basePath); });
17631
+ },
17538
17632
  /**
17539
17633
  *
17540
17634
  * @summary Update HospitalService. (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -19820,6 +19914,18 @@ var HospitalsApi = /** @class */ (function (_super) {
19820
19914
  var _this = this;
19821
19915
  return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
19822
19916
  };
19917
+ /**
19918
+ *
19919
+ * @summary Patch HospitalService. <br>Updates only the requested fields. (Auth policies: RequireLocalManagerOrContentManagerRole)
19920
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatchRequest} requestParameters Request parameters.
19921
+ * @param {*} [options] Override http request option.
19922
+ * @throws {RequiredError}
19923
+ * @memberof HospitalsApi
19924
+ */
19925
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch = function (requestParameters, options) {
19926
+ var _this = this;
19927
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPatch(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.patchHospitalServiceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
19928
+ };
19823
19929
  /**
19824
19930
  *
19825
19931
  * @summary Update HospitalService. (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -33,13 +33,14 @@ export declare const SurveyResultsApiAxiosParamCreator: (configuration?: Configu
33
33
  * @param {Date} [startDateTime]
34
34
  * @param {Date} [endDateTime]
35
35
  * @param {boolean} [isExternal]
36
+ * @param {boolean} [showHidden]
36
37
  * @param {number} [page]
37
38
  * @param {number} [limit]
38
39
  * @param {Date} [lastRetrieved]
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- apiV1SurveyresultsGet: (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ apiV1SurveyresultsGet: (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
44
  /**
44
45
  *
45
46
  * @summary Send manual notification of target SurveyResult (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -50,12 +51,13 @@ export declare const SurveyResultsApiAxiosParamCreator: (configuration?: Configu
50
51
  apiV1SurveyresultsSendemailPost: (sendEmailCommand?: SendEmailCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
52
  /**
52
53
  *
53
- * @summary Delete survey result (Auth policies: RequireDoctorRole)
54
+ * @summary Delete survey result (Auth policies: RequireDoctorOrPatientManagerRole)
54
55
  * @param {string} surveyResultId
56
+ * @param {boolean} [isPermanent] True for hard delete, false for soft delete.
55
57
  * @param {*} [options] Override http request option.
56
58
  * @throws {RequiredError}
57
59
  */
58
- apiV1SurveyresultsSurveyResultIdDelete: (surveyResultId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ apiV1SurveyresultsSurveyResultIdDelete: (surveyResultId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
61
  /**
60
62
  *
61
63
  * @summary Get survey result by Id (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -65,6 +67,14 @@ export declare const SurveyResultsApiAxiosParamCreator: (configuration?: Configu
65
67
  * @throws {RequiredError}
66
68
  */
67
69
  apiV1SurveyresultsSurveyResultIdGet: (surveyResultId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
+ /**
71
+ *
72
+ * @summary Reactivate survey result (Auth policies: RequireDoctorOrPatientManagerRole)
73
+ * @param {string} surveyResultId
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ apiV1SurveyresultsSurveyResultIdReactivatePut: (surveyResultId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
78
  };
69
79
  /**
70
80
  * SurveyResultsApi - functional programming interface
@@ -83,13 +93,14 @@ export declare const SurveyResultsApiFp: (configuration?: Configuration) => {
83
93
  * @param {Date} [startDateTime]
84
94
  * @param {Date} [endDateTime]
85
95
  * @param {boolean} [isExternal]
96
+ * @param {boolean} [showHidden]
86
97
  * @param {number} [page]
87
98
  * @param {number} [limit]
88
99
  * @param {Date} [lastRetrieved]
89
100
  * @param {*} [options] Override http request option.
90
101
  * @throws {RequiredError}
91
102
  */
92
- apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>>;
103
+ apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>>;
93
104
  /**
94
105
  *
95
106
  * @summary Send manual notification of target SurveyResult (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -100,12 +111,13 @@ export declare const SurveyResultsApiFp: (configuration?: Configuration) => {
100
111
  apiV1SurveyresultsSendemailPost(sendEmailCommand?: SendEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
101
112
  /**
102
113
  *
103
- * @summary Delete survey result (Auth policies: RequireDoctorRole)
114
+ * @summary Delete survey result (Auth policies: RequireDoctorOrPatientManagerRole)
104
115
  * @param {string} surveyResultId
116
+ * @param {boolean} [isPermanent] True for hard delete, false for soft delete.
105
117
  * @param {*} [options] Override http request option.
106
118
  * @throws {RequiredError}
107
119
  */
108
- apiV1SurveyresultsSurveyResultIdDelete(surveyResultId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
120
+ apiV1SurveyresultsSurveyResultIdDelete(surveyResultId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
109
121
  /**
110
122
  *
111
123
  * @summary Get survey result by Id (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -115,6 +127,14 @@ export declare const SurveyResultsApiFp: (configuration?: Configuration) => {
115
127
  * @throws {RequiredError}
116
128
  */
117
129
  apiV1SurveyresultsSurveyResultIdGet(surveyResultId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultModel>>;
130
+ /**
131
+ *
132
+ * @summary Reactivate survey result (Auth policies: RequireDoctorOrPatientManagerRole)
133
+ * @param {string} surveyResultId
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ apiV1SurveyresultsSurveyResultIdReactivatePut(surveyResultId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
118
138
  };
119
139
  /**
120
140
  * SurveyResultsApi - factory interface
@@ -133,13 +153,14 @@ export declare const SurveyResultsApiFactory: (configuration?: Configuration, ba
133
153
  * @param {Date} [startDateTime]
134
154
  * @param {Date} [endDateTime]
135
155
  * @param {boolean} [isExternal]
156
+ * @param {boolean} [showHidden]
136
157
  * @param {number} [page]
137
158
  * @param {number} [limit]
138
159
  * @param {Date} [lastRetrieved]
139
160
  * @param {*} [options] Override http request option.
140
161
  * @throws {RequiredError}
141
162
  */
142
- apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel>;
163
+ apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel>;
143
164
  /**
144
165
  *
145
166
  * @summary Send manual notification of target SurveyResult (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -150,12 +171,13 @@ export declare const SurveyResultsApiFactory: (configuration?: Configuration, ba
150
171
  apiV1SurveyresultsSendemailPost(sendEmailCommand?: SendEmailCommand, options?: any): AxiosPromise<boolean>;
151
172
  /**
152
173
  *
153
- * @summary Delete survey result (Auth policies: RequireDoctorRole)
174
+ * @summary Delete survey result (Auth policies: RequireDoctorOrPatientManagerRole)
154
175
  * @param {string} surveyResultId
176
+ * @param {boolean} [isPermanent] True for hard delete, false for soft delete.
155
177
  * @param {*} [options] Override http request option.
156
178
  * @throws {RequiredError}
157
179
  */
158
- apiV1SurveyresultsSurveyResultIdDelete(surveyResultId: string, options?: any): AxiosPromise<boolean>;
180
+ apiV1SurveyresultsSurveyResultIdDelete(surveyResultId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
159
181
  /**
160
182
  *
161
183
  * @summary Get survey result by Id (Auth policies: RequireDoctorOrPatientManagerRole)
@@ -165,6 +187,14 @@ export declare const SurveyResultsApiFactory: (configuration?: Configuration, ba
165
187
  * @throws {RequiredError}
166
188
  */
167
189
  apiV1SurveyresultsSurveyResultIdGet(surveyResultId: string, languageCode?: string, options?: any): AxiosPromise<SurveyResultModel>;
190
+ /**
191
+ *
192
+ * @summary Reactivate survey result (Auth policies: RequireDoctorOrPatientManagerRole)
193
+ * @param {string} surveyResultId
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ apiV1SurveyresultsSurveyResultIdReactivatePut(surveyResultId: string, options?: any): AxiosPromise<boolean>;
168
198
  };
169
199
  /**
170
200
  * Request parameters for apiV1SurveyresultsGet operation in SurveyResultsApi.
@@ -226,6 +256,12 @@ export interface SurveyResultsApiApiV1SurveyresultsGetRequest {
226
256
  * @memberof SurveyResultsApiApiV1SurveyresultsGet
227
257
  */
228
258
  readonly isExternal?: boolean;
259
+ /**
260
+ *
261
+ * @type {boolean}
262
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
263
+ */
264
+ readonly showHidden?: boolean;
229
265
  /**
230
266
  *
231
267
  * @type {number}
@@ -270,6 +306,12 @@ export interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest {
270
306
  * @memberof SurveyResultsApiApiV1SurveyresultsSurveyResultIdDelete
271
307
  */
272
308
  readonly surveyResultId: string;
309
+ /**
310
+ * True for hard delete, false for soft delete.
311
+ * @type {boolean}
312
+ * @memberof SurveyResultsApiApiV1SurveyresultsSurveyResultIdDelete
313
+ */
314
+ readonly isPermanent?: boolean;
273
315
  }
274
316
  /**
275
317
  * Request parameters for apiV1SurveyresultsSurveyResultIdGet operation in SurveyResultsApi.
@@ -290,6 +332,19 @@ export interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest {
290
332
  */
291
333
  readonly languageCode?: string;
292
334
  }
335
+ /**
336
+ * Request parameters for apiV1SurveyresultsSurveyResultIdReactivatePut operation in SurveyResultsApi.
337
+ * @export
338
+ * @interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdReactivatePutRequest
339
+ */
340
+ export interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdReactivatePutRequest {
341
+ /**
342
+ *
343
+ * @type {string}
344
+ * @memberof SurveyResultsApiApiV1SurveyresultsSurveyResultIdReactivatePut
345
+ */
346
+ readonly surveyResultId: string;
347
+ }
293
348
  /**
294
349
  * SurveyResultsApi - object-oriented interface
295
350
  * @export
@@ -317,7 +372,7 @@ export declare class SurveyResultsApi extends BaseAPI {
317
372
  apiV1SurveyresultsSendemailPost(requestParameters?: SurveyResultsApiApiV1SurveyresultsSendemailPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
318
373
  /**
319
374
  *
320
- * @summary Delete survey result (Auth policies: RequireDoctorRole)
375
+ * @summary Delete survey result (Auth policies: RequireDoctorOrPatientManagerRole)
321
376
  * @param {SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest} requestParameters Request parameters.
322
377
  * @param {*} [options] Override http request option.
323
378
  * @throws {RequiredError}
@@ -333,5 +388,14 @@ export declare class SurveyResultsApi extends BaseAPI {
333
388
  * @memberof SurveyResultsApi
334
389
  */
335
390
  apiV1SurveyresultsSurveyResultIdGet(requestParameters: SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SurveyResultModel, any>>;
391
+ /**
392
+ *
393
+ * @summary Reactivate survey result (Auth policies: RequireDoctorOrPatientManagerRole)
394
+ * @param {SurveyResultsApiApiV1SurveyresultsSurveyResultIdReactivatePutRequest} requestParameters Request parameters.
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ * @memberof SurveyResultsApi
398
+ */
399
+ apiV1SurveyresultsSurveyResultIdReactivatePut(requestParameters: SurveyResultsApiApiV1SurveyresultsSurveyResultIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
336
400
  }
337
401
  //# sourceMappingURL=survey-results-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"survey-results-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-results-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,WAAW,EAAE,MAAM,WAAW,CAAC;AAIxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C;;;GAGG;AACH,eAAO,MAAM,iCAAiC,mBAA6B,aAAa;IAEhF;;;;;;;;;;;;;;;;;OAiBG;iCACgC,MAAM,eAAe,MAAM,iBAAiB,MAAM,SAAS,MAAM,iBAAiB,MAAM,eAAe,WAAW,kBAAkB,IAAI,gBAAgB,IAAI,eAAe,OAAO,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAkFnU;;;;;;OAMG;yDACwD,gBAAgB,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA+BpI;;;;;;OAMG;6DAC4D,MAAM,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA+B9H;;;;;;;OAOG;0DACyD,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;CAoCzJ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,mBAA4B,aAAa;IAGhE;;;;;;;;;;;;;;;;;OAiBG;+B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