@gizone/rrs-client 4.2.0-alpha.271 → 4.2.0-alpha.273

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 (51) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/apis/surveillance-api.ts +294 -0
  3. package/apis/work-order-api.ts +21 -5
  4. package/dist/apis/surveillance-api.d.ts +135 -0
  5. package/dist/apis/surveillance-api.js +259 -0
  6. package/dist/apis/work-order-api.d.ts +11 -2
  7. package/dist/apis/work-order-api.js +11 -5
  8. package/dist/esm/apis/surveillance-api.d.ts +135 -0
  9. package/dist/esm/apis/surveillance-api.js +259 -0
  10. package/dist/esm/apis/work-order-api.d.ts +11 -2
  11. package/dist/esm/apis/work-order-api.js +11 -5
  12. package/dist/esm/models/excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +31 -0
  13. package/dist/esm/models/excel-import-result-dtosurveillance-batch-import-template-dto.js +14 -0
  14. package/dist/esm/models/excel-upload-bo.d.ts +36 -0
  15. package/dist/esm/models/excel-upload-bo.js +14 -0
  16. package/dist/esm/models/get-user-wx200-response.d.ts +16 -16
  17. package/dist/esm/models/index.d.ts +5 -0
  18. package/dist/esm/models/index.js +5 -0
  19. package/dist/esm/models/ipage-access-vo.d.ts +6 -6
  20. package/dist/esm/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +62 -0
  21. package/dist/esm/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.js +14 -0
  22. package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +13 -0
  23. package/dist/esm/models/surveillance-batch-import-template-dto.d.ts +117 -0
  24. package/dist/esm/models/surveillance-batch-import-template-dto.js +14 -0
  25. package/dist/esm/models/work-order-reject-vo.d.ts +24 -0
  26. package/dist/esm/models/work-order-reject-vo.js +14 -0
  27. package/dist/models/excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +31 -0
  28. package/dist/models/excel-import-result-dtosurveillance-batch-import-template-dto.js +15 -0
  29. package/dist/models/excel-upload-bo.d.ts +36 -0
  30. package/dist/models/excel-upload-bo.js +15 -0
  31. package/dist/models/get-user-wx200-response.d.ts +16 -16
  32. package/dist/models/index.d.ts +5 -0
  33. package/dist/models/index.js +5 -0
  34. package/dist/models/ipage-access-vo.d.ts +6 -6
  35. package/dist/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +62 -0
  36. package/dist/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.js +15 -0
  37. package/dist/models/offline-alert-work-order-details-dto.d.ts +13 -0
  38. package/dist/models/surveillance-batch-import-template-dto.d.ts +117 -0
  39. package/dist/models/surveillance-batch-import-template-dto.js +15 -0
  40. package/dist/models/work-order-reject-vo.d.ts +24 -0
  41. package/dist/models/work-order-reject-vo.js +15 -0
  42. package/models/excel-import-result-dtosurveillance-batch-import-template-dto.ts +39 -0
  43. package/models/excel-upload-bo.ts +42 -0
  44. package/models/get-user-wx200-response.ts +16 -16
  45. package/models/index.ts +5 -0
  46. package/models/ipage-access-vo.ts +6 -6
  47. package/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.ts +72 -0
  48. package/models/offline-alert-work-order-details-dto.ts +15 -0
  49. package/models/surveillance-batch-import-template-dto.ts +131 -0
  50. package/models/work-order-reject-vo.ts +30 -0
  51. package/package.json +1 -1
@@ -35,6 +35,126 @@ const base_1 = require("../base");
35
35
  */
36
36
  const SurveillanceApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
+ /**
39
+ * 批量导入-确认数据
40
+ * @summary 批量导入-确认
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ surveillanceBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
45
+ const localVarPath = `/gizone/surveillance/batchImport/confirm`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication tokenScheme required
56
+ // http bearer authentication required
57
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
58
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
59
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
61
+ return {
62
+ url: (0, common_1.toPathString)(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ }),
66
+ /**
67
+ * 批量导入-预览数据
68
+ * @summary 批量导入-预览
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ surveillanceBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
73
+ const localVarPath = `/gizone/surveillance/batchImport/preview`;
74
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
75
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
76
+ let baseOptions;
77
+ if (configuration) {
78
+ baseOptions = configuration.baseOptions;
79
+ }
80
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
81
+ const localVarHeaderParameter = {};
82
+ const localVarQueryParameter = {};
83
+ // authentication tokenScheme required
84
+ // http bearer authentication required
85
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
86
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
89
+ return {
90
+ url: (0, common_1.toPathString)(localVarUrlObj),
91
+ options: localVarRequestOptions,
92
+ };
93
+ }),
94
+ /**
95
+ * 批量导入-模板
96
+ * @summary 批量导入-模板
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ surveillanceBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
101
+ const localVarPath = `/gizone/surveillance/batchImport/template`;
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ if (configuration) {
106
+ baseOptions = configuration.baseOptions;
107
+ }
108
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
109
+ const localVarHeaderParameter = {};
110
+ const localVarQueryParameter = {};
111
+ // authentication tokenScheme required
112
+ // http bearer authentication required
113
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
114
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
115
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
117
+ return {
118
+ url: (0, common_1.toPathString)(localVarUrlObj),
119
+ options: localVarRequestOptions,
120
+ };
121
+ }),
122
+ /**
123
+ * 批量导入-上传文件
124
+ * @summary 批量导入-上传
125
+ * @param {ExcelUploadBO} bo
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ surveillanceBatchImportUpload: (bo_1, ...args_1) => __awaiter(this, [bo_1, ...args_1], void 0, function* (bo, options = {}) {
130
+ // verify required parameter 'bo' is not null or undefined
131
+ (0, common_1.assertParamExists)('surveillanceBatchImportUpload', 'bo', bo);
132
+ const localVarPath = `/gizone/surveillance/batchImport/upload`;
133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
135
+ let baseOptions;
136
+ if (configuration) {
137
+ baseOptions = configuration.baseOptions;
138
+ }
139
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
140
+ const localVarHeaderParameter = {};
141
+ const localVarQueryParameter = {};
142
+ // authentication tokenScheme required
143
+ // http bearer authentication required
144
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
145
+ if (bo !== undefined) {
146
+ for (const [key, value] of Object.entries(bo)) {
147
+ localVarQueryParameter[key] = value;
148
+ }
149
+ }
150
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
151
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
153
+ return {
154
+ url: (0, common_1.toPathString)(localVarUrlObj),
155
+ options: localVarRequestOptions,
156
+ };
157
+ }),
38
158
  /**
39
159
  * 抓拍监控画面
40
160
  * @summary 监控抓拍
@@ -475,6 +595,67 @@ exports.SurveillanceApiAxiosParamCreator = SurveillanceApiAxiosParamCreator;
475
595
  const SurveillanceApiFp = function (configuration) {
476
596
  const localVarAxiosParamCreator = (0, exports.SurveillanceApiAxiosParamCreator)(configuration);
477
597
  return {
598
+ /**
599
+ * 批量导入-确认数据
600
+ * @summary 批量导入-确认
601
+ * @param {*} [options] Override http request option.
602
+ * @throws {RequiredError}
603
+ */
604
+ surveillanceBatchImportConfirm(options) {
605
+ return __awaiter(this, void 0, void 0, function* () {
606
+ var _a, _b, _c;
607
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportConfirm(options);
608
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
609
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
610
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
611
+ });
612
+ },
613
+ /**
614
+ * 批量导入-预览数据
615
+ * @summary 批量导入-预览
616
+ * @param {*} [options] Override http request option.
617
+ * @throws {RequiredError}
618
+ */
619
+ surveillanceBatchImportPreview(options) {
620
+ return __awaiter(this, void 0, void 0, function* () {
621
+ var _a, _b, _c;
622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportPreview(options);
623
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
624
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
625
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
626
+ });
627
+ },
628
+ /**
629
+ * 批量导入-模板
630
+ * @summary 批量导入-模板
631
+ * @param {*} [options] Override http request option.
632
+ * @throws {RequiredError}
633
+ */
634
+ surveillanceBatchImportTemplate(options) {
635
+ return __awaiter(this, void 0, void 0, function* () {
636
+ var _a, _b, _c;
637
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportTemplate(options);
638
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
639
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
640
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
641
+ });
642
+ },
643
+ /**
644
+ * 批量导入-上传文件
645
+ * @summary 批量导入-上传
646
+ * @param {ExcelUploadBO} bo
647
+ * @param {*} [options] Override http request option.
648
+ * @throws {RequiredError}
649
+ */
650
+ surveillanceBatchImportUpload(bo, options) {
651
+ return __awaiter(this, void 0, void 0, function* () {
652
+ var _a, _b, _c;
653
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(bo, options);
654
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
655
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
656
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
657
+ });
658
+ },
478
659
  /**
479
660
  * 抓拍监控画面
480
661
  * @summary 监控抓拍
@@ -669,6 +850,43 @@ exports.SurveillanceApiFp = SurveillanceApiFp;
669
850
  const SurveillanceApiFactory = function (configuration, basePath, axios) {
670
851
  const localVarFp = (0, exports.SurveillanceApiFp)(configuration);
671
852
  return {
853
+ /**
854
+ * 批量导入-确认数据
855
+ * @summary 批量导入-确认
856
+ * @param {*} [options] Override http request option.
857
+ * @throws {RequiredError}
858
+ */
859
+ surveillanceBatchImportConfirm(options) {
860
+ return localVarFp.surveillanceBatchImportConfirm(options).then((request) => request(axios, basePath));
861
+ },
862
+ /**
863
+ * 批量导入-预览数据
864
+ * @summary 批量导入-预览
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ surveillanceBatchImportPreview(options) {
869
+ return localVarFp.surveillanceBatchImportPreview(options).then((request) => request(axios, basePath));
870
+ },
871
+ /**
872
+ * 批量导入-模板
873
+ * @summary 批量导入-模板
874
+ * @param {*} [options] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ surveillanceBatchImportTemplate(options) {
878
+ return localVarFp.surveillanceBatchImportTemplate(options).then((request) => request(axios, basePath));
879
+ },
880
+ /**
881
+ * 批量导入-上传文件
882
+ * @summary 批量导入-上传
883
+ * @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
884
+ * @param {*} [options] Override http request option.
885
+ * @throws {RequiredError}
886
+ */
887
+ surveillanceBatchImportUpload(requestParameters, options) {
888
+ return localVarFp.surveillanceBatchImportUpload(requestParameters.bo, options).then((request) => request(axios, basePath));
889
+ },
672
890
  /**
673
891
  * 抓拍监控画面
674
892
  * @summary 监控抓拍
@@ -779,6 +997,47 @@ exports.SurveillanceApiFactory = SurveillanceApiFactory;
779
997
  * @extends {BaseAPI}
780
998
  */
781
999
  class SurveillanceApi extends base_1.BaseAPI {
1000
+ /**
1001
+ * 批量导入-确认数据
1002
+ * @summary 批量导入-确认
1003
+ * @param {*} [options] Override http request option.
1004
+ * @throws {RequiredError}
1005
+ * @memberof SurveillanceApi
1006
+ */
1007
+ surveillanceBatchImportConfirm(options) {
1008
+ return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
1009
+ }
1010
+ /**
1011
+ * 批量导入-预览数据
1012
+ * @summary 批量导入-预览
1013
+ * @param {*} [options] Override http request option.
1014
+ * @throws {RequiredError}
1015
+ * @memberof SurveillanceApi
1016
+ */
1017
+ surveillanceBatchImportPreview(options) {
1018
+ return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
1019
+ }
1020
+ /**
1021
+ * 批量导入-模板
1022
+ * @summary 批量导入-模板
1023
+ * @param {*} [options] Override http request option.
1024
+ * @throws {RequiredError}
1025
+ * @memberof SurveillanceApi
1026
+ */
1027
+ surveillanceBatchImportTemplate(options) {
1028
+ return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
1029
+ }
1030
+ /**
1031
+ * 批量导入-上传文件
1032
+ * @summary 批量导入-上传
1033
+ * @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ * @memberof SurveillanceApi
1037
+ */
1038
+ surveillanceBatchImportUpload(requestParameters, options) {
1039
+ return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportUpload(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
1040
+ }
782
1041
  /**
783
1042
  * 抓拍监控画面
784
1043
  * @summary 监控抓拍
@@ -57,6 +57,7 @@ import type { WorkOrderDistributeLeafletsVo } from '../models';
57
57
  import type { WorkOrderHandleMeterReadingVo } from '../models';
58
58
  import type { WorkOrderPlanRepeatsEnum } from '../models';
59
59
  import type { WorkOrderPushSettingsVO } from '../models';
60
+ import type { WorkOrderRejectVo } from '../models';
60
61
  import type { WorkOrderReportVo } from '../models';
61
62
  import type { WorkOrderSpotCheckVo } from '../models';
62
63
  import type { WorkOrderStagingDataVo } from '../models';
@@ -516,10 +517,11 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
516
517
  *
517
518
  * @summary 工单驳回
518
519
  * @param {number} workOrderId
520
+ * @param {WorkOrderRejectVo} workOrderRejectVo
519
521
  * @param {*} [options] Override http request option.
520
522
  * @throws {RequiredError}
521
523
  */
522
- workOrderReject: (workOrderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
524
+ workOrderReject: (workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
523
525
  /**
524
526
  *
525
527
  * @summary 新建工单
@@ -1031,10 +1033,11 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
1031
1033
  *
1032
1034
  * @summary 工单驳回
1033
1035
  * @param {number} workOrderId
1036
+ * @param {WorkOrderRejectVo} workOrderRejectVo
1034
1037
  * @param {*} [options] Override http request option.
1035
1038
  * @throws {RequiredError}
1036
1039
  */
1037
- workOrderReject(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
1040
+ workOrderReject(workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
1038
1041
  /**
1039
1042
  *
1040
1043
  * @summary 新建工单
@@ -2525,6 +2528,12 @@ export interface WorkOrderApiWorkOrderRejectRequest {
2525
2528
  * @memberof WorkOrderApiWorkOrderReject
2526
2529
  */
2527
2530
  readonly workOrderId: number;
2531
+ /**
2532
+ *
2533
+ * @type {WorkOrderRejectVo}
2534
+ * @memberof WorkOrderApiWorkOrderReject
2535
+ */
2536
+ readonly workOrderRejectVo: WorkOrderRejectVo;
2528
2537
  }
2529
2538
  /**
2530
2539
  * Request parameters for workOrderRepairAdd operation in WorkOrderApi.
@@ -1861,12 +1861,15 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
1861
1861
  *
1862
1862
  * @summary 工单驳回
1863
1863
  * @param {number} workOrderId
1864
+ * @param {WorkOrderRejectVo} workOrderRejectVo
1864
1865
  * @param {*} [options] Override http request option.
1865
1866
  * @throws {RequiredError}
1866
1867
  */
1867
- workOrderReject: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
1868
+ workOrderReject: (workOrderId_1, workOrderRejectVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderRejectVo_1, ...args_1], void 0, function* (workOrderId, workOrderRejectVo, options = {}) {
1868
1869
  // verify required parameter 'workOrderId' is not null or undefined
1869
1870
  (0, common_1.assertParamExists)('workOrderReject', 'workOrderId', workOrderId);
1871
+ // verify required parameter 'workOrderRejectVo' is not null or undefined
1872
+ (0, common_1.assertParamExists)('workOrderReject', 'workOrderRejectVo', workOrderRejectVo);
1870
1873
  const localVarPath = `/gizone/workOrder/reject/{workOrderId}`
1871
1874
  .replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
1872
1875
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1881,9 +1884,11 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
1881
1884
  // authentication tokenScheme required
1882
1885
  // http bearer authentication required
1883
1886
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1887
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1884
1888
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1885
1889
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1886
1890
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1891
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderRejectVo, localVarRequestOptions, configuration);
1887
1892
  return {
1888
1893
  url: (0, common_1.toPathString)(localVarUrlObj),
1889
1894
  options: localVarRequestOptions,
@@ -2970,13 +2975,14 @@ const WorkOrderApiFp = function (configuration) {
2970
2975
  *
2971
2976
  * @summary 工单驳回
2972
2977
  * @param {number} workOrderId
2978
+ * @param {WorkOrderRejectVo} workOrderRejectVo
2973
2979
  * @param {*} [options] Override http request option.
2974
2980
  * @throws {RequiredError}
2975
2981
  */
2976
- workOrderReject(workOrderId, options) {
2982
+ workOrderReject(workOrderId, workOrderRejectVo, options) {
2977
2983
  return __awaiter(this, void 0, void 0, function* () {
2978
2984
  var _a, _b, _c;
2979
- const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, options);
2985
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, workOrderRejectVo, options);
2980
2986
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2981
2987
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkOrderApi.workOrderReject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2982
2988
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3594,7 +3600,7 @@ const WorkOrderApiFactory = function (configuration, basePath, axios) {
3594
3600
  * @throws {RequiredError}
3595
3601
  */
3596
3602
  workOrderReject(requestParameters, options) {
3597
- return localVarFp.workOrderReject(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
3603
+ return localVarFp.workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(axios, basePath));
3598
3604
  },
3599
3605
  /**
3600
3606
  *
@@ -4212,7 +4218,7 @@ class WorkOrderApi extends base_1.BaseAPI {
4212
4218
  * @memberof WorkOrderApi
4213
4219
  */
4214
4220
  workOrderReject(requestParameters, options) {
4215
- return (0, exports.WorkOrderApiFp)(this.configuration).workOrderReject(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
4221
+ return (0, exports.WorkOrderApiFp)(this.configuration).workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(this.axios, this.basePath));
4216
4222
  }
4217
4223
  /**
4218
4224
  *
@@ -12,9 +12,11 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { ExcelUploadBO } from '../models';
15
16
  import type { FunctionalAreaEnum } from '../models';
16
17
  import type { IotDeviceStatusEnum } from '../models';
17
18
  import type { JsonResultBoolean } from '../models';
19
+ import type { JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto } from '../models';
18
20
  import type { JsonResultListSpaceTreeDTO } from '../models';
19
21
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
20
22
  import type { JsonResultSurveillanceDetailsDto } from '../models';
@@ -28,6 +30,35 @@ import type { SurveillanceUpdateVo } from '../models';
28
30
  * @export
29
31
  */
30
32
  export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configuration) => {
33
+ /**
34
+ * 批量导入-确认数据
35
+ * @summary 批量导入-确认
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ surveillanceBatchImportConfirm: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * 批量导入-预览数据
42
+ * @summary 批量导入-预览
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ surveillanceBatchImportPreview: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * 批量导入-模板
49
+ * @summary 批量导入-模板
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ surveillanceBatchImportTemplate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * 批量导入-上传文件
56
+ * @summary 批量导入-上传
57
+ * @param {ExcelUploadBO} bo
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ surveillanceBatchImportUpload: (bo: ExcelUploadBO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
62
  /**
32
63
  * 抓拍监控画面
33
64
  * @summary 监控抓拍
@@ -138,6 +169,35 @@ export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configur
138
169
  * @export
139
170
  */
140
171
  export declare const SurveillanceApiFp: (configuration?: Configuration) => {
172
+ /**
173
+ * 批量导入-确认数据
174
+ * @summary 批量导入-确认
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ surveillanceBatchImportConfirm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>>;
179
+ /**
180
+ * 批量导入-预览数据
181
+ * @summary 批量导入-预览
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ surveillanceBatchImportPreview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>>;
186
+ /**
187
+ * 批量导入-模板
188
+ * @summary 批量导入-模板
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ surveillanceBatchImportTemplate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
193
+ /**
194
+ * 批量导入-上传文件
195
+ * @summary 批量导入-上传
196
+ * @param {ExcelUploadBO} bo
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ surveillanceBatchImportUpload(bo: ExcelUploadBO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>>;
141
201
  /**
142
202
  * 抓拍监控画面
143
203
  * @summary 监控抓拍
@@ -248,6 +308,35 @@ export declare const SurveillanceApiFp: (configuration?: Configuration) => {
248
308
  * @export
249
309
  */
250
310
  export declare const SurveillanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
311
+ /**
312
+ * 批量导入-确认数据
313
+ * @summary 批量导入-确认
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ surveillanceBatchImportConfirm(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>;
318
+ /**
319
+ * 批量导入-预览数据
320
+ * @summary 批量导入-预览
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ surveillanceBatchImportPreview(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>;
325
+ /**
326
+ * 批量导入-模板
327
+ * @summary 批量导入-模板
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ */
331
+ surveillanceBatchImportTemplate(options?: RawAxiosRequestConfig): AxiosPromise<void>;
332
+ /**
333
+ * 批量导入-上传文件
334
+ * @summary 批量导入-上传
335
+ * @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ */
339
+ surveillanceBatchImportUpload(requestParameters: SurveillanceApiSurveillanceBatchImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>;
251
340
  /**
252
341
  * 抓拍监控画面
253
342
  * @summary 监控抓拍
@@ -329,6 +418,19 @@ export declare const SurveillanceApiFactory: (configuration?: Configuration, bas
329
418
  */
330
419
  surveillanceUpdatePoint(requestParameters: SurveillanceApiSurveillanceUpdatePointRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
331
420
  };
421
+ /**
422
+ * Request parameters for surveillanceBatchImportUpload operation in SurveillanceApi.
423
+ * @export
424
+ * @interface SurveillanceApiSurveillanceBatchImportUploadRequest
425
+ */
426
+ export interface SurveillanceApiSurveillanceBatchImportUploadRequest {
427
+ /**
428
+ *
429
+ * @type {ExcelUploadBO}
430
+ * @memberof SurveillanceApiSurveillanceBatchImportUpload
431
+ */
432
+ readonly bo: ExcelUploadBO;
433
+ }
332
434
  /**
333
435
  * Request parameters for surveillanceCapture operation in SurveillanceApi.
334
436
  * @export
@@ -610,6 +712,39 @@ export interface SurveillanceApiSurveillanceUpdatePointRequest {
610
712
  * @extends {BaseAPI}
611
713
  */
612
714
  export declare class SurveillanceApi extends BaseAPI {
715
+ /**
716
+ * 批量导入-确认数据
717
+ * @summary 批量导入-确认
718
+ * @param {*} [options] Override http request option.
719
+ * @throws {RequiredError}
720
+ * @memberof SurveillanceApi
721
+ */
722
+ surveillanceBatchImportConfirm(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto, any>>;
723
+ /**
724
+ * 批量导入-预览数据
725
+ * @summary 批量导入-预览
726
+ * @param {*} [options] Override http request option.
727
+ * @throws {RequiredError}
728
+ * @memberof SurveillanceApi
729
+ */
730
+ surveillanceBatchImportPreview(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto, any>>;
731
+ /**
732
+ * 批量导入-模板
733
+ * @summary 批量导入-模板
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ * @memberof SurveillanceApi
737
+ */
738
+ surveillanceBatchImportTemplate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
739
+ /**
740
+ * 批量导入-上传文件
741
+ * @summary 批量导入-上传
742
+ * @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
743
+ * @param {*} [options] Override http request option.
744
+ * @throws {RequiredError}
745
+ * @memberof SurveillanceApi
746
+ */
747
+ surveillanceBatchImportUpload(requestParameters: SurveillanceApiSurveillanceBatchImportUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto, any>>;
613
748
  /**
614
749
  * 抓拍监控画面
615
750
  * @summary 监控抓拍