@gizone/rrs-client 4.2.9-alpha.813 → 4.2.9-alpha.814

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.
@@ -294,6 +294,44 @@ export const EvaluationApiAxiosParamCreator = function (configuration?: Configur
294
294
  options: localVarRequestOptions,
295
295
  };
296
296
  },
297
+ /**
298
+ * 撤回已提交评价,撤回后状态变为草稿
299
+ * @summary 撤回评价
300
+ * @param {number} id
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ evaluationWithdraw: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
305
+ // verify required parameter 'id' is not null or undefined
306
+ assertParamExists('evaluationWithdraw', 'id', id)
307
+ const localVarPath = `/gizone/evaluation/{id}/withdraw`
308
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
309
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
310
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
311
+ let baseOptions;
312
+ if (configuration) {
313
+ baseOptions = configuration.baseOptions;
314
+ }
315
+
316
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
317
+ const localVarHeaderParameter = {} as any;
318
+ const localVarQueryParameter = {} as any;
319
+
320
+ // authentication tokenScheme required
321
+ // http bearer authentication required
322
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
323
+
324
+
325
+
326
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
328
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
329
+
330
+ return {
331
+ url: toPathString(localVarUrlObj),
332
+ options: localVarRequestOptions,
333
+ };
334
+ },
297
335
  /**
298
336
  *
299
337
  * @summary 物业评价导出
@@ -565,6 +603,19 @@ export const EvaluationApiFp = function(configuration?: Configuration) {
565
603
  const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationSubmit']?.[localVarOperationServerIndex]?.url;
566
604
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
567
605
  },
606
+ /**
607
+ * 撤回已提交评价,撤回后状态变为草稿
608
+ * @summary 撤回评价
609
+ * @param {number} id
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ */
613
+ async evaluationWithdraw(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>> {
614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluationWithdraw(id, options);
615
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
616
+ const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationWithdraw']?.[localVarOperationServerIndex]?.url;
617
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
618
+ },
568
619
  /**
569
620
  *
570
621
  * @summary 物业评价导出
@@ -671,6 +722,16 @@ export const EvaluationApiFactory = function (configuration?: Configuration, bas
671
722
  evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger> {
672
723
  return localVarFp.evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(axios, basePath));
673
724
  },
725
+ /**
726
+ * 撤回已提交评价,撤回后状态变为草稿
727
+ * @summary 撤回评价
728
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
729
+ * @param {*} [options] Override http request option.
730
+ * @throws {RequiredError}
731
+ */
732
+ evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger> {
733
+ return localVarFp.evaluationWithdraw(requestParameters.id, options).then((request) => request(axios, basePath));
734
+ },
674
735
  /**
675
736
  *
676
737
  * @summary 物业评价导出
@@ -834,6 +895,20 @@ export interface EvaluationApiEvaluationSubmitRequest {
834
895
  readonly evaluationSubmitDto: EvaluationSubmitDto
835
896
  }
836
897
 
898
+ /**
899
+ * Request parameters for evaluationWithdraw operation in EvaluationApi.
900
+ * @export
901
+ * @interface EvaluationApiEvaluationWithdrawRequest
902
+ */
903
+ export interface EvaluationApiEvaluationWithdrawRequest {
904
+ /**
905
+ *
906
+ * @type {number}
907
+ * @memberof EvaluationApiEvaluationWithdraw
908
+ */
909
+ readonly id: number
910
+ }
911
+
837
912
  /**
838
913
  * Request parameters for valuationExport operation in EvaluationApi.
839
914
  * @export
@@ -1069,6 +1144,18 @@ export class EvaluationApi extends BaseAPI {
1069
1144
  return EvaluationApiFp(this.configuration).evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(this.axios, this.basePath));
1070
1145
  }
1071
1146
 
1147
+ /**
1148
+ * 撤回已提交评价,撤回后状态变为草稿
1149
+ * @summary 撤回评价
1150
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
1151
+ * @param {*} [options] Override http request option.
1152
+ * @throws {RequiredError}
1153
+ * @memberof EvaluationApi
1154
+ */
1155
+ public evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig) {
1156
+ return EvaluationApiFp(this.configuration).evaluationWithdraw(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1157
+ }
1158
+
1072
1159
  /**
1073
1160
  *
1074
1161
  * @summary 物业评价导出
@@ -76,6 +76,14 @@ export declare const EvaluationApiAxiosParamCreator: (configuration?: Configurat
76
76
  * @throws {RequiredError}
77
77
  */
78
78
  evaluationSubmit: (evaluationSubmitDto: EvaluationSubmitDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79
+ /**
80
+ * 撤回已提交评价,撤回后状态变为草稿
81
+ * @summary 撤回评价
82
+ * @param {number} id
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ evaluationWithdraw: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79
87
  /**
80
88
  *
81
89
  * @summary 物业评价导出
@@ -168,6 +176,14 @@ export declare const EvaluationApiFp: (configuration?: Configuration) => {
168
176
  * @throws {RequiredError}
169
177
  */
170
178
  evaluationSubmit(evaluationSubmitDto: EvaluationSubmitDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>>;
179
+ /**
180
+ * 撤回已提交评价,撤回后状态变为草稿
181
+ * @summary 撤回评价
182
+ * @param {number} id
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ evaluationWithdraw(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>>;
171
187
  /**
172
188
  *
173
189
  * @summary 物业评价导出
@@ -250,6 +266,14 @@ export declare const EvaluationApiFactory: (configuration?: Configuration, baseP
250
266
  * @throws {RequiredError}
251
267
  */
252
268
  evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger>;
269
+ /**
270
+ * 撤回已提交评价,撤回后状态变为草稿
271
+ * @summary 撤回评价
272
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger>;
253
277
  /**
254
278
  *
255
279
  * @summary 物业评价导出
@@ -392,6 +416,19 @@ export interface EvaluationApiEvaluationSubmitRequest {
392
416
  */
393
417
  readonly evaluationSubmitDto: EvaluationSubmitDto;
394
418
  }
419
+ /**
420
+ * Request parameters for evaluationWithdraw operation in EvaluationApi.
421
+ * @export
422
+ * @interface EvaluationApiEvaluationWithdrawRequest
423
+ */
424
+ export interface EvaluationApiEvaluationWithdrawRequest {
425
+ /**
426
+ *
427
+ * @type {number}
428
+ * @memberof EvaluationApiEvaluationWithdraw
429
+ */
430
+ readonly id: number;
431
+ }
395
432
  /**
396
433
  * Request parameters for valuationExport operation in EvaluationApi.
397
434
  * @export
@@ -590,6 +627,15 @@ export declare class EvaluationApi extends BaseAPI {
590
627
  * @memberof EvaluationApi
591
628
  */
592
629
  evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultInteger, any, {}>>;
630
+ /**
631
+ * 撤回已提交评价,撤回后状态变为草稿
632
+ * @summary 撤回评价
633
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ * @memberof EvaluationApi
637
+ */
638
+ evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultInteger, any, {}>>;
593
639
  /**
594
640
  *
595
641
  * @summary 物业评价导出
@@ -241,6 +241,38 @@ const EvaluationApiAxiosParamCreator = function (configuration) {
241
241
  options: localVarRequestOptions,
242
242
  };
243
243
  }),
244
+ /**
245
+ * 撤回已提交评价,撤回后状态变为草稿
246
+ * @summary 撤回评价
247
+ * @param {number} id
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ evaluationWithdraw: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
252
+ // verify required parameter 'id' is not null or undefined
253
+ (0, common_1.assertParamExists)('evaluationWithdraw', 'id', id);
254
+ const localVarPath = `/gizone/evaluation/{id}/withdraw`
255
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
256
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
257
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
258
+ let baseOptions;
259
+ if (configuration) {
260
+ baseOptions = configuration.baseOptions;
261
+ }
262
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
263
+ const localVarHeaderParameter = {};
264
+ const localVarQueryParameter = {};
265
+ // authentication tokenScheme required
266
+ // http bearer authentication required
267
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
268
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
269
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
271
+ return {
272
+ url: (0, common_1.toPathString)(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ };
275
+ }),
244
276
  /**
245
277
  *
246
278
  * @summary 物业评价导出
@@ -493,6 +525,22 @@ const EvaluationApiFp = function (configuration) {
493
525
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
494
526
  });
495
527
  },
528
+ /**
529
+ * 撤回已提交评价,撤回后状态变为草稿
530
+ * @summary 撤回评价
531
+ * @param {number} id
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ evaluationWithdraw(id, options) {
536
+ return __awaiter(this, void 0, void 0, function* () {
537
+ var _a, _b, _c;
538
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationWithdraw(id, options);
539
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
540
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationApi.evaluationWithdraw']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
541
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
542
+ });
543
+ },
496
544
  /**
497
545
  *
498
546
  * @summary 物业评价导出
@@ -605,6 +653,16 @@ const EvaluationApiFactory = function (configuration, basePath, axios) {
605
653
  evaluationSubmit(requestParameters, options) {
606
654
  return localVarFp.evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(axios, basePath));
607
655
  },
656
+ /**
657
+ * 撤回已提交评价,撤回后状态变为草稿
658
+ * @summary 撤回评价
659
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ */
663
+ evaluationWithdraw(requestParameters, options) {
664
+ return localVarFp.evaluationWithdraw(requestParameters.id, options).then((request) => request(axios, basePath));
665
+ },
608
666
  /**
609
667
  *
610
668
  * @summary 物业评价导出
@@ -690,6 +748,17 @@ class EvaluationApi extends base_1.BaseAPI {
690
748
  evaluationSubmit(requestParameters, options) {
691
749
  return (0, exports.EvaluationApiFp)(this.configuration).evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(this.axios, this.basePath));
692
750
  }
751
+ /**
752
+ * 撤回已提交评价,撤回后状态变为草稿
753
+ * @summary 撤回评价
754
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
755
+ * @param {*} [options] Override http request option.
756
+ * @throws {RequiredError}
757
+ * @memberof EvaluationApi
758
+ */
759
+ evaluationWithdraw(requestParameters, options) {
760
+ return (0, exports.EvaluationApiFp)(this.configuration).evaluationWithdraw(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
761
+ }
693
762
  /**
694
763
  *
695
764
  * @summary 物业评价导出
@@ -76,6 +76,14 @@ export declare const EvaluationApiAxiosParamCreator: (configuration?: Configurat
76
76
  * @throws {RequiredError}
77
77
  */
78
78
  evaluationSubmit: (evaluationSubmitDto: EvaluationSubmitDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79
+ /**
80
+ * 撤回已提交评价,撤回后状态变为草稿
81
+ * @summary 撤回评价
82
+ * @param {number} id
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ evaluationWithdraw: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79
87
  /**
80
88
  *
81
89
  * @summary 物业评价导出
@@ -168,6 +176,14 @@ export declare const EvaluationApiFp: (configuration?: Configuration) => {
168
176
  * @throws {RequiredError}
169
177
  */
170
178
  evaluationSubmit(evaluationSubmitDto: EvaluationSubmitDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>>;
179
+ /**
180
+ * 撤回已提交评价,撤回后状态变为草稿
181
+ * @summary 撤回评价
182
+ * @param {number} id
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ evaluationWithdraw(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>>;
171
187
  /**
172
188
  *
173
189
  * @summary 物业评价导出
@@ -250,6 +266,14 @@ export declare const EvaluationApiFactory: (configuration?: Configuration, baseP
250
266
  * @throws {RequiredError}
251
267
  */
252
268
  evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger>;
269
+ /**
270
+ * 撤回已提交评价,撤回后状态变为草稿
271
+ * @summary 撤回评价
272
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger>;
253
277
  /**
254
278
  *
255
279
  * @summary 物业评价导出
@@ -392,6 +416,19 @@ export interface EvaluationApiEvaluationSubmitRequest {
392
416
  */
393
417
  readonly evaluationSubmitDto: EvaluationSubmitDto;
394
418
  }
419
+ /**
420
+ * Request parameters for evaluationWithdraw operation in EvaluationApi.
421
+ * @export
422
+ * @interface EvaluationApiEvaluationWithdrawRequest
423
+ */
424
+ export interface EvaluationApiEvaluationWithdrawRequest {
425
+ /**
426
+ *
427
+ * @type {number}
428
+ * @memberof EvaluationApiEvaluationWithdraw
429
+ */
430
+ readonly id: number;
431
+ }
395
432
  /**
396
433
  * Request parameters for valuationExport operation in EvaluationApi.
397
434
  * @export
@@ -590,6 +627,15 @@ export declare class EvaluationApi extends BaseAPI {
590
627
  * @memberof EvaluationApi
591
628
  */
592
629
  evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultInteger, any, {}>>;
630
+ /**
631
+ * 撤回已提交评价,撤回后状态变为草稿
632
+ * @summary 撤回评价
633
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ * @memberof EvaluationApi
637
+ */
638
+ evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultInteger, any, {}>>;
593
639
  /**
594
640
  *
595
641
  * @summary 物业评价导出
@@ -238,6 +238,38 @@ export const EvaluationApiAxiosParamCreator = function (configuration) {
238
238
  options: localVarRequestOptions,
239
239
  };
240
240
  }),
241
+ /**
242
+ * 撤回已提交评价,撤回后状态变为草稿
243
+ * @summary 撤回评价
244
+ * @param {number} id
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ evaluationWithdraw: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
249
+ // verify required parameter 'id' is not null or undefined
250
+ assertParamExists('evaluationWithdraw', 'id', id);
251
+ const localVarPath = `/gizone/evaluation/{id}/withdraw`
252
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
255
+ let baseOptions;
256
+ if (configuration) {
257
+ baseOptions = configuration.baseOptions;
258
+ }
259
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
260
+ const localVarHeaderParameter = {};
261
+ const localVarQueryParameter = {};
262
+ // authentication tokenScheme required
263
+ // http bearer authentication required
264
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
265
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
267
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
268
+ return {
269
+ url: toPathString(localVarUrlObj),
270
+ options: localVarRequestOptions,
271
+ };
272
+ }),
241
273
  /**
242
274
  *
243
275
  * @summary 物业评价导出
@@ -489,6 +521,22 @@ export const EvaluationApiFp = function (configuration) {
489
521
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
490
522
  });
491
523
  },
524
+ /**
525
+ * 撤回已提交评价,撤回后状态变为草稿
526
+ * @summary 撤回评价
527
+ * @param {number} id
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ evaluationWithdraw(id, options) {
532
+ return __awaiter(this, void 0, void 0, function* () {
533
+ var _a, _b, _c;
534
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationWithdraw(id, options);
535
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
536
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EvaluationApi.evaluationWithdraw']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
537
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
538
+ });
539
+ },
492
540
  /**
493
541
  *
494
542
  * @summary 物业评价导出
@@ -600,6 +648,16 @@ export const EvaluationApiFactory = function (configuration, basePath, axios) {
600
648
  evaluationSubmit(requestParameters, options) {
601
649
  return localVarFp.evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(axios, basePath));
602
650
  },
651
+ /**
652
+ * 撤回已提交评价,撤回后状态变为草稿
653
+ * @summary 撤回评价
654
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
655
+ * @param {*} [options] Override http request option.
656
+ * @throws {RequiredError}
657
+ */
658
+ evaluationWithdraw(requestParameters, options) {
659
+ return localVarFp.evaluationWithdraw(requestParameters.id, options).then((request) => request(axios, basePath));
660
+ },
603
661
  /**
604
662
  *
605
663
  * @summary 物业评价导出
@@ -684,6 +742,17 @@ export class EvaluationApi extends BaseAPI {
684
742
  evaluationSubmit(requestParameters, options) {
685
743
  return EvaluationApiFp(this.configuration).evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(this.axios, this.basePath));
686
744
  }
745
+ /**
746
+ * 撤回已提交评价,撤回后状态变为草稿
747
+ * @summary 撤回评价
748
+ * @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
749
+ * @param {*} [options] Override http request option.
750
+ * @throws {RequiredError}
751
+ * @memberof EvaluationApi
752
+ */
753
+ evaluationWithdraw(requestParameters, options) {
754
+ return EvaluationApiFp(this.configuration).evaluationWithdraw(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
755
+ }
687
756
  /**
688
757
  *
689
758
  * @summary 物业评价导出
@@ -27,19 +27,19 @@ export interface IPageEnergyCostRecordInfoVO {
27
27
  * @type {number}
28
28
  * @memberof IPageEnergyCostRecordInfoVO
29
29
  */
30
- 'current'?: number;
30
+ 'pages'?: number;
31
31
  /**
32
32
  *
33
- * @type {Array<EnergyCostRecordInfoVO>}
33
+ * @type {number}
34
34
  * @memberof IPageEnergyCostRecordInfoVO
35
35
  */
36
- 'records'?: Array<EnergyCostRecordInfoVO>;
36
+ 'current'?: number;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {Array<EnergyCostRecordInfoVO>}
40
40
  * @memberof IPageEnergyCostRecordInfoVO
41
41
  */
42
- 'pages'?: number;
42
+ 'records'?: Array<EnergyCostRecordInfoVO>;
43
43
  /**
44
44
  *
45
45
  * @type {boolean}
@@ -27,19 +27,19 @@ export interface IPageEnergyCostRecordInfoVO {
27
27
  * @type {number}
28
28
  * @memberof IPageEnergyCostRecordInfoVO
29
29
  */
30
- 'current'?: number;
30
+ 'pages'?: number;
31
31
  /**
32
32
  *
33
- * @type {Array<EnergyCostRecordInfoVO>}
33
+ * @type {number}
34
34
  * @memberof IPageEnergyCostRecordInfoVO
35
35
  */
36
- 'records'?: Array<EnergyCostRecordInfoVO>;
36
+ 'current'?: number;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {Array<EnergyCostRecordInfoVO>}
40
40
  * @memberof IPageEnergyCostRecordInfoVO
41
41
  */
42
- 'pages'?: number;
42
+ 'records'?: Array<EnergyCostRecordInfoVO>;
43
43
  /**
44
44
  *
45
45
  * @type {boolean}
@@ -34,19 +34,19 @@ export interface IPageEnergyCostRecordInfoVO {
34
34
  * @type {number}
35
35
  * @memberof IPageEnergyCostRecordInfoVO
36
36
  */
37
- 'current'?: number;
37
+ 'pages'?: number;
38
38
  /**
39
39
  *
40
- * @type {Array<EnergyCostRecordInfoVO>}
40
+ * @type {number}
41
41
  * @memberof IPageEnergyCostRecordInfoVO
42
42
  */
43
- 'records'?: Array<EnergyCostRecordInfoVO>;
43
+ 'current'?: number;
44
44
  /**
45
45
  *
46
- * @type {number}
46
+ * @type {Array<EnergyCostRecordInfoVO>}
47
47
  * @memberof IPageEnergyCostRecordInfoVO
48
48
  */
49
- 'pages'?: number;
49
+ 'records'?: Array<EnergyCostRecordInfoVO>;
50
50
  /**
51
51
  *
52
52
  * @type {boolean}