@gizone/rrs-client 4.2.0-alpha.274 → 4.2.0-alpha.275
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -1
- package/apis/surveillance-api.ts +19 -19
- package/dist/apis/surveillance-api.d.ts +6 -7
- package/dist/apis/surveillance-api.js +14 -13
- package/dist/esm/apis/surveillance-api.d.ts +6 -7
- package/dist/esm/apis/surveillance-api.js +14 -13
- package/dist/esm/models/get-user-wx200-response.d.ts +14 -14
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/models/ipage-access-vo.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +14 -14
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/ipage-access-vo.d.ts +3 -3
- package/models/get-user-wx200-response.ts +14 -14
- package/models/index.ts +0 -1
- package/models/ipage-access-vo.ts +3 -3
- package/package.json +1 -1
- package/dist/esm/models/excel-upload-bo.d.ts +0 -36
- package/dist/esm/models/excel-upload-bo.js +0 -14
- package/dist/models/excel-upload-bo.d.ts +0 -36
- package/dist/models/excel-upload-bo.js +0 -15
- package/models/excel-upload-bo.ts +0 -42
package/.openapi-generator/FILES
CHANGED
|
@@ -284,7 +284,6 @@ models/excel-import-result-dtomaintenance-standard-import-dto.ts
|
|
|
284
284
|
models/excel-import-result-dtosurveillance-batch-import-template-dto.ts
|
|
285
285
|
models/excel-import-result-dtosurveillance-settings-export-dto.ts
|
|
286
286
|
models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts
|
|
287
|
-
models/excel-upload-bo.ts
|
|
288
287
|
models/export-energy-meter-record-bo.ts
|
|
289
288
|
models/export-hire-energy-meter-record-bo.ts
|
|
290
289
|
models/export-in-park-vehicle-bo.ts
|
package/apis/surveillance-api.ts
CHANGED
|
@@ -22,8 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type { ExcelUploadBO } from '../models';
|
|
26
|
-
// @ts-ignore
|
|
27
25
|
import type { FunctionalAreaEnum } from '../models';
|
|
28
26
|
// @ts-ignore
|
|
29
27
|
import type { IotDeviceStatusEnum } from '../models';
|
|
@@ -158,13 +156,13 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
158
156
|
/**
|
|
159
157
|
* 批量导入-上传文件
|
|
160
158
|
* @summary 批量导入-上传
|
|
161
|
-
* @param {
|
|
159
|
+
* @param {File} file
|
|
162
160
|
* @param {*} [options] Override http request option.
|
|
163
161
|
* @throws {RequiredError}
|
|
164
162
|
*/
|
|
165
|
-
surveillanceBatchImportUpload: async (
|
|
166
|
-
// verify required parameter '
|
|
167
|
-
assertParamExists('surveillanceBatchImportUpload', '
|
|
163
|
+
surveillanceBatchImportUpload: async (file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
164
|
+
// verify required parameter 'file' is not null or undefined
|
|
165
|
+
assertParamExists('surveillanceBatchImportUpload', 'file', file)
|
|
168
166
|
const localVarPath = `/gizone/surveillance/batchImport/upload`;
|
|
169
167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
170
168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -176,22 +174,24 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
176
174
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
177
175
|
const localVarHeaderParameter = {} as any;
|
|
178
176
|
const localVarQueryParameter = {} as any;
|
|
177
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
179
178
|
|
|
180
179
|
// authentication tokenScheme required
|
|
181
180
|
// http bearer authentication required
|
|
182
181
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
183
182
|
|
|
184
|
-
if (bo !== undefined) {
|
|
185
|
-
for (const [key, value] of Object.entries(bo)) {
|
|
186
|
-
localVarQueryParameter[key] = value;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
183
|
|
|
184
|
+
if (file !== undefined) {
|
|
185
|
+
localVarFormParams.append('file', file as any);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
191
190
|
|
|
192
191
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
193
192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
193
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
194
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
195
195
|
|
|
196
196
|
return {
|
|
197
197
|
url: toPathString(localVarUrlObj),
|
|
@@ -763,12 +763,12 @@ export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
|
763
763
|
/**
|
|
764
764
|
* 批量导入-上传文件
|
|
765
765
|
* @summary 批量导入-上传
|
|
766
|
-
* @param {
|
|
766
|
+
* @param {File} file
|
|
767
767
|
* @param {*} [options] Override http request option.
|
|
768
768
|
* @throws {RequiredError}
|
|
769
769
|
*/
|
|
770
|
-
async surveillanceBatchImportUpload(
|
|
771
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceBatchImportUpload(
|
|
770
|
+
async surveillanceBatchImportUpload(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>> {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceBatchImportUpload(file, options);
|
|
772
772
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
773
773
|
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceBatchImportUpload']?.[localVarOperationServerIndex]?.url;
|
|
774
774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -972,7 +972,7 @@ export const SurveillanceApiFactory = function (configuration?: Configuration, b
|
|
|
972
972
|
* @throws {RequiredError}
|
|
973
973
|
*/
|
|
974
974
|
surveillanceBatchImportUpload(requestParameters: SurveillanceApiSurveillanceBatchImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto> {
|
|
975
|
-
return localVarFp.surveillanceBatchImportUpload(requestParameters.
|
|
975
|
+
return localVarFp.surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
976
976
|
},
|
|
977
977
|
/**
|
|
978
978
|
* 抓拍监控画面
|
|
@@ -1085,10 +1085,10 @@ export const SurveillanceApiFactory = function (configuration?: Configuration, b
|
|
|
1085
1085
|
export interface SurveillanceApiSurveillanceBatchImportUploadRequest {
|
|
1086
1086
|
/**
|
|
1087
1087
|
*
|
|
1088
|
-
* @type {
|
|
1088
|
+
* @type {File}
|
|
1089
1089
|
* @memberof SurveillanceApiSurveillanceBatchImportUpload
|
|
1090
1090
|
*/
|
|
1091
|
-
readonly
|
|
1091
|
+
readonly file: File
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
1094
|
/**
|
|
@@ -1448,7 +1448,7 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1448
1448
|
* @memberof SurveillanceApi
|
|
1449
1449
|
*/
|
|
1450
1450
|
public surveillanceBatchImportUpload(requestParameters: SurveillanceApiSurveillanceBatchImportUploadRequest, options?: RawAxiosRequestConfig) {
|
|
1451
|
-
return SurveillanceApiFp(this.configuration).surveillanceBatchImportUpload(requestParameters.
|
|
1451
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
1454
1454
|
/**
|
|
@@ -12,7 +12,6 @@
|
|
|
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';
|
|
16
15
|
import type { FunctionalAreaEnum } from '../models';
|
|
17
16
|
import type { IotDeviceStatusEnum } from '../models';
|
|
18
17
|
import type { JsonResultBoolean } from '../models';
|
|
@@ -54,11 +53,11 @@ export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configur
|
|
|
54
53
|
/**
|
|
55
54
|
* 批量导入-上传文件
|
|
56
55
|
* @summary 批量导入-上传
|
|
57
|
-
* @param {
|
|
56
|
+
* @param {File} file
|
|
58
57
|
* @param {*} [options] Override http request option.
|
|
59
58
|
* @throws {RequiredError}
|
|
60
59
|
*/
|
|
61
|
-
surveillanceBatchImportUpload: (
|
|
60
|
+
surveillanceBatchImportUpload: (file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
61
|
/**
|
|
63
62
|
* 抓拍监控画面
|
|
64
63
|
* @summary 监控抓拍
|
|
@@ -193,11 +192,11 @@ export declare const SurveillanceApiFp: (configuration?: Configuration) => {
|
|
|
193
192
|
/**
|
|
194
193
|
* 批量导入-上传文件
|
|
195
194
|
* @summary 批量导入-上传
|
|
196
|
-
* @param {
|
|
195
|
+
* @param {File} file
|
|
197
196
|
* @param {*} [options] Override http request option.
|
|
198
197
|
* @throws {RequiredError}
|
|
199
198
|
*/
|
|
200
|
-
surveillanceBatchImportUpload(
|
|
199
|
+
surveillanceBatchImportUpload(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>>;
|
|
201
200
|
/**
|
|
202
201
|
* 抓拍监控画面
|
|
203
202
|
* @summary 监控抓拍
|
|
@@ -426,10 +425,10 @@ export declare const SurveillanceApiFactory: (configuration?: Configuration, bas
|
|
|
426
425
|
export interface SurveillanceApiSurveillanceBatchImportUploadRequest {
|
|
427
426
|
/**
|
|
428
427
|
*
|
|
429
|
-
* @type {
|
|
428
|
+
* @type {File}
|
|
430
429
|
* @memberof SurveillanceApiSurveillanceBatchImportUpload
|
|
431
430
|
*/
|
|
432
|
-
readonly
|
|
431
|
+
readonly file: File;
|
|
433
432
|
}
|
|
434
433
|
/**
|
|
435
434
|
* Request parameters for surveillanceCapture operation in SurveillanceApi.
|
|
@@ -122,13 +122,13 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
122
122
|
/**
|
|
123
123
|
* 批量导入-上传文件
|
|
124
124
|
* @summary 批量导入-上传
|
|
125
|
-
* @param {
|
|
125
|
+
* @param {File} file
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
|
-
surveillanceBatchImportUpload: (
|
|
130
|
-
// verify required parameter '
|
|
131
|
-
(0, common_1.assertParamExists)('surveillanceBatchImportUpload', '
|
|
129
|
+
surveillanceBatchImportUpload: (file_1, ...args_1) => __awaiter(this, [file_1, ...args_1], void 0, function* (file, options = {}) {
|
|
130
|
+
// verify required parameter 'file' is not null or undefined
|
|
131
|
+
(0, common_1.assertParamExists)('surveillanceBatchImportUpload', 'file', file);
|
|
132
132
|
const localVarPath = `/gizone/surveillance/batchImport/upload`;
|
|
133
133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
134
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -139,17 +139,18 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
139
139
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
140
140
|
const localVarHeaderParameter = {};
|
|
141
141
|
const localVarQueryParameter = {};
|
|
142
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
142
143
|
// authentication tokenScheme required
|
|
143
144
|
// http bearer authentication required
|
|
144
145
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
145
|
-
if (
|
|
146
|
-
|
|
147
|
-
localVarQueryParameter[key] = value;
|
|
148
|
-
}
|
|
146
|
+
if (file !== undefined) {
|
|
147
|
+
localVarFormParams.append('file', file);
|
|
149
148
|
}
|
|
149
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
150
150
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
152
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
153
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
153
154
|
return {
|
|
154
155
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
156
|
options: localVarRequestOptions,
|
|
@@ -643,14 +644,14 @@ const SurveillanceApiFp = function (configuration) {
|
|
|
643
644
|
/**
|
|
644
645
|
* 批量导入-上传文件
|
|
645
646
|
* @summary 批量导入-上传
|
|
646
|
-
* @param {
|
|
647
|
+
* @param {File} file
|
|
647
648
|
* @param {*} [options] Override http request option.
|
|
648
649
|
* @throws {RequiredError}
|
|
649
650
|
*/
|
|
650
|
-
surveillanceBatchImportUpload(
|
|
651
|
+
surveillanceBatchImportUpload(file, options) {
|
|
651
652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
652
653
|
var _a, _b, _c;
|
|
653
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(
|
|
654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(file, options);
|
|
654
655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
655
656
|
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
657
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -885,7 +886,7 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
|
885
886
|
* @throws {RequiredError}
|
|
886
887
|
*/
|
|
887
888
|
surveillanceBatchImportUpload(requestParameters, options) {
|
|
888
|
-
return localVarFp.surveillanceBatchImportUpload(requestParameters.
|
|
889
|
+
return localVarFp.surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
889
890
|
},
|
|
890
891
|
/**
|
|
891
892
|
* 抓拍监控画面
|
|
@@ -1036,7 +1037,7 @@ class SurveillanceApi extends base_1.BaseAPI {
|
|
|
1036
1037
|
* @memberof SurveillanceApi
|
|
1037
1038
|
*/
|
|
1038
1039
|
surveillanceBatchImportUpload(requestParameters, options) {
|
|
1039
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportUpload(requestParameters.
|
|
1040
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1040
1041
|
}
|
|
1041
1042
|
/**
|
|
1042
1043
|
* 抓拍监控画面
|
|
@@ -12,7 +12,6 @@
|
|
|
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';
|
|
16
15
|
import type { FunctionalAreaEnum } from '../models';
|
|
17
16
|
import type { IotDeviceStatusEnum } from '../models';
|
|
18
17
|
import type { JsonResultBoolean } from '../models';
|
|
@@ -54,11 +53,11 @@ export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configur
|
|
|
54
53
|
/**
|
|
55
54
|
* 批量导入-上传文件
|
|
56
55
|
* @summary 批量导入-上传
|
|
57
|
-
* @param {
|
|
56
|
+
* @param {File} file
|
|
58
57
|
* @param {*} [options] Override http request option.
|
|
59
58
|
* @throws {RequiredError}
|
|
60
59
|
*/
|
|
61
|
-
surveillanceBatchImportUpload: (
|
|
60
|
+
surveillanceBatchImportUpload: (file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
61
|
/**
|
|
63
62
|
* 抓拍监控画面
|
|
64
63
|
* @summary 监控抓拍
|
|
@@ -193,11 +192,11 @@ export declare const SurveillanceApiFp: (configuration?: Configuration) => {
|
|
|
193
192
|
/**
|
|
194
193
|
* 批量导入-上传文件
|
|
195
194
|
* @summary 批量导入-上传
|
|
196
|
-
* @param {
|
|
195
|
+
* @param {File} file
|
|
197
196
|
* @param {*} [options] Override http request option.
|
|
198
197
|
* @throws {RequiredError}
|
|
199
198
|
*/
|
|
200
|
-
surveillanceBatchImportUpload(
|
|
199
|
+
surveillanceBatchImportUpload(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto>>;
|
|
201
200
|
/**
|
|
202
201
|
* 抓拍监控画面
|
|
203
202
|
* @summary 监控抓拍
|
|
@@ -426,10 +425,10 @@ export declare const SurveillanceApiFactory: (configuration?: Configuration, bas
|
|
|
426
425
|
export interface SurveillanceApiSurveillanceBatchImportUploadRequest {
|
|
427
426
|
/**
|
|
428
427
|
*
|
|
429
|
-
* @type {
|
|
428
|
+
* @type {File}
|
|
430
429
|
* @memberof SurveillanceApiSurveillanceBatchImportUpload
|
|
431
430
|
*/
|
|
432
|
-
readonly
|
|
431
|
+
readonly file: File;
|
|
433
432
|
}
|
|
434
433
|
/**
|
|
435
434
|
* Request parameters for surveillanceCapture operation in SurveillanceApi.
|
|
@@ -119,13 +119,13 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
119
119
|
/**
|
|
120
120
|
* 批量导入-上传文件
|
|
121
121
|
* @summary 批量导入-上传
|
|
122
|
-
* @param {
|
|
122
|
+
* @param {File} file
|
|
123
123
|
* @param {*} [options] Override http request option.
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
*/
|
|
126
|
-
surveillanceBatchImportUpload: (
|
|
127
|
-
// verify required parameter '
|
|
128
|
-
assertParamExists('surveillanceBatchImportUpload', '
|
|
126
|
+
surveillanceBatchImportUpload: (file_1, ...args_1) => __awaiter(this, [file_1, ...args_1], void 0, function* (file, options = {}) {
|
|
127
|
+
// verify required parameter 'file' is not null or undefined
|
|
128
|
+
assertParamExists('surveillanceBatchImportUpload', 'file', file);
|
|
129
129
|
const localVarPath = `/gizone/surveillance/batchImport/upload`;
|
|
130
130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
131
131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -136,17 +136,18 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
137
137
|
const localVarHeaderParameter = {};
|
|
138
138
|
const localVarQueryParameter = {};
|
|
139
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
139
140
|
// authentication tokenScheme required
|
|
140
141
|
// http bearer authentication required
|
|
141
142
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
142
|
-
if (
|
|
143
|
-
|
|
144
|
-
localVarQueryParameter[key] = value;
|
|
145
|
-
}
|
|
143
|
+
if (file !== undefined) {
|
|
144
|
+
localVarFormParams.append('file', file);
|
|
146
145
|
}
|
|
146
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
147
147
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148
148
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
149
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
150
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
150
151
|
return {
|
|
151
152
|
url: toPathString(localVarUrlObj),
|
|
152
153
|
options: localVarRequestOptions,
|
|
@@ -639,14 +640,14 @@ export const SurveillanceApiFp = function (configuration) {
|
|
|
639
640
|
/**
|
|
640
641
|
* 批量导入-上传文件
|
|
641
642
|
* @summary 批量导入-上传
|
|
642
|
-
* @param {
|
|
643
|
+
* @param {File} file
|
|
643
644
|
* @param {*} [options] Override http request option.
|
|
644
645
|
* @throws {RequiredError}
|
|
645
646
|
*/
|
|
646
|
-
surveillanceBatchImportUpload(
|
|
647
|
+
surveillanceBatchImportUpload(file, options) {
|
|
647
648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
648
649
|
var _a, _b, _c;
|
|
649
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(
|
|
650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(file, options);
|
|
650
651
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
651
652
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
652
653
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -880,7 +881,7 @@ export const SurveillanceApiFactory = function (configuration, basePath, axios)
|
|
|
880
881
|
* @throws {RequiredError}
|
|
881
882
|
*/
|
|
882
883
|
surveillanceBatchImportUpload(requestParameters, options) {
|
|
883
|
-
return localVarFp.surveillanceBatchImportUpload(requestParameters.
|
|
884
|
+
return localVarFp.surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
884
885
|
},
|
|
885
886
|
/**
|
|
886
887
|
* 抓拍监控画面
|
|
@@ -1030,7 +1031,7 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1030
1031
|
* @memberof SurveillanceApi
|
|
1031
1032
|
*/
|
|
1032
1033
|
surveillanceBatchImportUpload(requestParameters, options) {
|
|
1033
|
-
return SurveillanceApiFp(this.configuration).surveillanceBatchImportUpload(requestParameters.
|
|
1034
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportUpload(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1034
1035
|
}
|
|
1035
1036
|
/**
|
|
1036
1037
|
* 抓拍监控画面
|
|
@@ -19,16 +19,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {Array<string>}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'headerNames'?: Array<string>;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {number}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'status'?: number;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
@@ -61,32 +61,32 @@ export interface GetUserWx200Response {
|
|
|
61
61
|
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {object}
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'writer'?: object;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
* @type {
|
|
76
|
+
* @type {string}
|
|
77
77
|
* @memberof GetUserWx200Response
|
|
78
78
|
*/
|
|
79
|
-
'
|
|
79
|
+
'characterEncoding'?: string;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
|
-
* @type {
|
|
82
|
+
* @type {number}
|
|
83
83
|
* @memberof GetUserWx200Response
|
|
84
84
|
*/
|
|
85
|
-
'
|
|
85
|
+
'contentLengthLong'?: number;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {boolean}
|
|
89
89
|
* @memberof GetUserWx200Response
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'committed'?: boolean;
|
|
92
92
|
}
|
|
@@ -217,7 +217,6 @@ export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
|
217
217
|
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
218
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
219
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
-
export * from './excel-upload-bo';
|
|
221
220
|
export * from './export-energy-meter-record-bo';
|
|
222
221
|
export * from './export-hire-energy-meter-record-bo';
|
|
223
222
|
export * from './export-in-park-vehicle-bo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -217,7 +217,6 @@ export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
|
217
217
|
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
218
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
219
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
-
export * from './excel-upload-bo';
|
|
221
220
|
export * from './export-energy-meter-record-bo';
|
|
222
221
|
export * from './export-hire-energy-meter-record-bo';
|
|
223
222
|
export * from './export-in-park-vehicle-bo';
|
|
@@ -44,15 +44,15 @@ export interface IPageAccessVO {
|
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
+
* @deprecated
|
|
47
48
|
*/
|
|
48
|
-
'
|
|
49
|
+
'hitCount'?: boolean;
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @type {boolean}
|
|
52
53
|
* @memberof IPageAccessVO
|
|
53
|
-
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'searchCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -19,16 +19,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {Array<string>}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'headerNames'?: Array<string>;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {number}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'status'?: number;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
@@ -61,32 +61,32 @@ export interface GetUserWx200Response {
|
|
|
61
61
|
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {object}
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'writer'?: object;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
* @type {
|
|
76
|
+
* @type {string}
|
|
77
77
|
* @memberof GetUserWx200Response
|
|
78
78
|
*/
|
|
79
|
-
'
|
|
79
|
+
'characterEncoding'?: string;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
|
-
* @type {
|
|
82
|
+
* @type {number}
|
|
83
83
|
* @memberof GetUserWx200Response
|
|
84
84
|
*/
|
|
85
|
-
'
|
|
85
|
+
'contentLengthLong'?: number;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {boolean}
|
|
89
89
|
* @memberof GetUserWx200Response
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'committed'?: boolean;
|
|
92
92
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -217,7 +217,6 @@ export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
|
217
217
|
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
218
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
219
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
-
export * from './excel-upload-bo';
|
|
221
220
|
export * from './export-energy-meter-record-bo';
|
|
222
221
|
export * from './export-hire-energy-meter-record-bo';
|
|
223
222
|
export * from './export-in-park-vehicle-bo';
|
package/dist/models/index.js
CHANGED
|
@@ -233,7 +233,6 @@ __exportStar(require("./excel-import-result-dtomaintenance-standard-import-dto")
|
|
|
233
233
|
__exportStar(require("./excel-import-result-dtosurveillance-batch-import-template-dto"), exports);
|
|
234
234
|
__exportStar(require("./excel-import-result-dtosurveillance-settings-export-dto"), exports);
|
|
235
235
|
__exportStar(require("./excel-import-upload-to-redis-vo-space-add-excel-dto"), exports);
|
|
236
|
-
__exportStar(require("./excel-upload-bo"), exports);
|
|
237
236
|
__exportStar(require("./export-energy-meter-record-bo"), exports);
|
|
238
237
|
__exportStar(require("./export-hire-energy-meter-record-bo"), exports);
|
|
239
238
|
__exportStar(require("./export-in-park-vehicle-bo"), exports);
|
|
@@ -44,15 +44,15 @@ export interface IPageAccessVO {
|
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
+
* @deprecated
|
|
47
48
|
*/
|
|
48
|
-
'
|
|
49
|
+
'hitCount'?: boolean;
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @type {boolean}
|
|
52
53
|
* @memberof IPageAccessVO
|
|
53
|
-
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'searchCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -28,16 +28,16 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
28
28
|
export interface GetUserWx200Response {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {Array<string>}
|
|
32
32
|
* @memberof GetUserWx200Response
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'headerNames'?: Array<string>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {number}
|
|
38
38
|
* @memberof GetUserWx200Response
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'status'?: number;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {object}
|
|
@@ -70,33 +70,33 @@ export interface GetUserWx200Response {
|
|
|
70
70
|
'locale'?: GetUserWx200ResponseLocale;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @type {
|
|
73
|
+
* @type {number}
|
|
74
74
|
* @memberof GetUserWx200Response
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'bufferSize'?: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {object}
|
|
80
80
|
* @memberof GetUserWx200Response
|
|
81
81
|
*/
|
|
82
|
-
'
|
|
82
|
+
'writer'?: object;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
* @type {
|
|
85
|
+
* @type {string}
|
|
86
86
|
* @memberof GetUserWx200Response
|
|
87
87
|
*/
|
|
88
|
-
'
|
|
88
|
+
'characterEncoding'?: string;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
|
-
* @type {
|
|
91
|
+
* @type {number}
|
|
92
92
|
* @memberof GetUserWx200Response
|
|
93
93
|
*/
|
|
94
|
-
'
|
|
94
|
+
'contentLengthLong'?: number;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @type {
|
|
97
|
+
* @type {boolean}
|
|
98
98
|
* @memberof GetUserWx200Response
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
100
|
+
'committed'?: boolean;
|
|
101
101
|
}
|
|
102
102
|
|
package/models/index.ts
CHANGED
|
@@ -217,7 +217,6 @@ export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
|
217
217
|
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
218
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
219
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
-
export * from './excel-upload-bo';
|
|
221
220
|
export * from './export-energy-meter-record-bo';
|
|
222
221
|
export * from './export-hire-energy-meter-record-bo';
|
|
223
222
|
export * from './export-in-park-vehicle-bo';
|
|
@@ -51,15 +51,15 @@ export interface IPageAccessVO {
|
|
|
51
51
|
*
|
|
52
52
|
* @type {boolean}
|
|
53
53
|
* @memberof IPageAccessVO
|
|
54
|
+
* @deprecated
|
|
54
55
|
*/
|
|
55
|
-
'
|
|
56
|
+
'hitCount'?: boolean;
|
|
56
57
|
/**
|
|
57
58
|
*
|
|
58
59
|
* @type {boolean}
|
|
59
60
|
* @memberof IPageAccessVO
|
|
60
|
-
* @deprecated
|
|
61
61
|
*/
|
|
62
|
-
'
|
|
62
|
+
'searchCount'?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* 文件上传参数
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ExcelUploadBO
|
|
16
|
-
*/
|
|
17
|
-
export interface ExcelUploadBO {
|
|
18
|
-
/**
|
|
19
|
-
* 园区id
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ExcelUploadBO
|
|
22
|
-
*/
|
|
23
|
-
'parkId': number;
|
|
24
|
-
/**
|
|
25
|
-
* 语言
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ExcelUploadBO
|
|
28
|
-
*/
|
|
29
|
-
'language'?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {File}
|
|
33
|
-
* @memberof ExcelUploadBO
|
|
34
|
-
*/
|
|
35
|
-
'file': File;
|
|
36
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OpenAPI definition
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* 文件上传参数
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ExcelUploadBO
|
|
16
|
-
*/
|
|
17
|
-
export interface ExcelUploadBO {
|
|
18
|
-
/**
|
|
19
|
-
* 园区id
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ExcelUploadBO
|
|
22
|
-
*/
|
|
23
|
-
'parkId': number;
|
|
24
|
-
/**
|
|
25
|
-
* 语言
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ExcelUploadBO
|
|
28
|
-
*/
|
|
29
|
-
'language'?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {File}
|
|
33
|
-
* @memberof ExcelUploadBO
|
|
34
|
-
*/
|
|
35
|
-
'file': File;
|
|
36
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* OpenAPI definition
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OpenAPI definition
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 文件上传参数
|
|
19
|
-
* @export
|
|
20
|
-
* @interface ExcelUploadBO
|
|
21
|
-
*/
|
|
22
|
-
export interface ExcelUploadBO {
|
|
23
|
-
/**
|
|
24
|
-
* 园区id
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof ExcelUploadBO
|
|
27
|
-
*/
|
|
28
|
-
'parkId': number;
|
|
29
|
-
/**
|
|
30
|
-
* 语言
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ExcelUploadBO
|
|
33
|
-
*/
|
|
34
|
-
'language'?: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {File}
|
|
38
|
-
* @memberof ExcelUploadBO
|
|
39
|
-
*/
|
|
40
|
-
'file': File;
|
|
41
|
-
}
|
|
42
|
-
|