@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.
- package/.openapi-generator/FILES +5 -0
- package/apis/surveillance-api.ts +294 -0
- package/apis/work-order-api.ts +21 -5
- package/dist/apis/surveillance-api.d.ts +135 -0
- package/dist/apis/surveillance-api.js +259 -0
- package/dist/apis/work-order-api.d.ts +11 -2
- package/dist/apis/work-order-api.js +11 -5
- package/dist/esm/apis/surveillance-api.d.ts +135 -0
- package/dist/esm/apis/surveillance-api.js +259 -0
- package/dist/esm/apis/work-order-api.d.ts +11 -2
- package/dist/esm/apis/work-order-api.js +11 -5
- package/dist/esm/models/excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtosurveillance-batch-import-template-dto.js +14 -0
- package/dist/esm/models/excel-upload-bo.d.ts +36 -0
- package/dist/esm/models/excel-upload-bo.js +14 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +16 -16
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.js +14 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +13 -0
- package/dist/esm/models/surveillance-batch-import-template-dto.d.ts +117 -0
- package/dist/esm/models/surveillance-batch-import-template-dto.js +14 -0
- package/dist/esm/models/work-order-reject-vo.d.ts +24 -0
- package/dist/esm/models/work-order-reject-vo.js +14 -0
- package/dist/models/excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtosurveillance-batch-import-template-dto.js +15 -0
- package/dist/models/excel-upload-bo.d.ts +36 -0
- package/dist/models/excel-upload-bo.js +15 -0
- package/dist/models/get-user-wx200-response.d.ts +16 -16
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.js +15 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +13 -0
- package/dist/models/surveillance-batch-import-template-dto.d.ts +117 -0
- package/dist/models/surveillance-batch-import-template-dto.js +15 -0
- package/dist/models/work-order-reject-vo.d.ts +24 -0
- package/dist/models/work-order-reject-vo.js +15 -0
- package/models/excel-import-result-dtosurveillance-batch-import-template-dto.ts +39 -0
- package/models/excel-upload-bo.ts +42 -0
- package/models/get-user-wx200-response.ts +16 -16
- package/models/index.ts +5 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-excel-import-result-dtosurveillance-batch-import-template-dto.ts +72 -0
- package/models/offline-alert-work-order-details-dto.ts +15 -0
- package/models/surveillance-batch-import-template-dto.ts +131 -0
- package/models/work-order-reject-vo.ts +30 -0
- package/package.json +1 -1
|
@@ -32,6 +32,126 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
* 批量导入-确认数据
|
|
37
|
+
* @summary 批量导入-确认
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
surveillanceBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
42
|
+
const localVarPath = `/gizone/surveillance/batchImport/confirm`;
|
|
43
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
|
+
let baseOptions;
|
|
46
|
+
if (configuration) {
|
|
47
|
+
baseOptions = configuration.baseOptions;
|
|
48
|
+
}
|
|
49
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
50
|
+
const localVarHeaderParameter = {};
|
|
51
|
+
const localVarQueryParameter = {};
|
|
52
|
+
// authentication tokenScheme required
|
|
53
|
+
// http bearer authentication required
|
|
54
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
+
return {
|
|
59
|
+
url: toPathString(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
}),
|
|
63
|
+
/**
|
|
64
|
+
* 批量导入-预览数据
|
|
65
|
+
* @summary 批量导入-预览
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
surveillanceBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
70
|
+
const localVarPath = `/gizone/surveillance/batchImport/preview`;
|
|
71
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73
|
+
let baseOptions;
|
|
74
|
+
if (configuration) {
|
|
75
|
+
baseOptions = configuration.baseOptions;
|
|
76
|
+
}
|
|
77
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
78
|
+
const localVarHeaderParameter = {};
|
|
79
|
+
const localVarQueryParameter = {};
|
|
80
|
+
// authentication tokenScheme required
|
|
81
|
+
// http bearer authentication required
|
|
82
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
83
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
86
|
+
return {
|
|
87
|
+
url: toPathString(localVarUrlObj),
|
|
88
|
+
options: localVarRequestOptions,
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
91
|
+
/**
|
|
92
|
+
* 批量导入-模板
|
|
93
|
+
* @summary 批量导入-模板
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
surveillanceBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
98
|
+
const localVarPath = `/gizone/surveillance/batchImport/template`;
|
|
99
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
+
let baseOptions;
|
|
102
|
+
if (configuration) {
|
|
103
|
+
baseOptions = configuration.baseOptions;
|
|
104
|
+
}
|
|
105
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
106
|
+
const localVarHeaderParameter = {};
|
|
107
|
+
const localVarQueryParameter = {};
|
|
108
|
+
// authentication tokenScheme required
|
|
109
|
+
// http bearer authentication required
|
|
110
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
114
|
+
return {
|
|
115
|
+
url: toPathString(localVarUrlObj),
|
|
116
|
+
options: localVarRequestOptions,
|
|
117
|
+
};
|
|
118
|
+
}),
|
|
119
|
+
/**
|
|
120
|
+
* 批量导入-上传文件
|
|
121
|
+
* @summary 批量导入-上传
|
|
122
|
+
* @param {ExcelUploadBO} bo
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
surveillanceBatchImportUpload: (bo_1, ...args_1) => __awaiter(this, [bo_1, ...args_1], void 0, function* (bo, options = {}) {
|
|
127
|
+
// verify required parameter 'bo' is not null or undefined
|
|
128
|
+
assertParamExists('surveillanceBatchImportUpload', 'bo', bo);
|
|
129
|
+
const localVarPath = `/gizone/surveillance/batchImport/upload`;
|
|
130
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
131
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
132
|
+
let baseOptions;
|
|
133
|
+
if (configuration) {
|
|
134
|
+
baseOptions = configuration.baseOptions;
|
|
135
|
+
}
|
|
136
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
137
|
+
const localVarHeaderParameter = {};
|
|
138
|
+
const localVarQueryParameter = {};
|
|
139
|
+
// authentication tokenScheme required
|
|
140
|
+
// http bearer authentication required
|
|
141
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
142
|
+
if (bo !== undefined) {
|
|
143
|
+
for (const [key, value] of Object.entries(bo)) {
|
|
144
|
+
localVarQueryParameter[key] = value;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
150
|
+
return {
|
|
151
|
+
url: toPathString(localVarUrlObj),
|
|
152
|
+
options: localVarRequestOptions,
|
|
153
|
+
};
|
|
154
|
+
}),
|
|
35
155
|
/**
|
|
36
156
|
* 抓拍监控画面
|
|
37
157
|
* @summary 监控抓拍
|
|
@@ -471,6 +591,67 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
471
591
|
export const SurveillanceApiFp = function (configuration) {
|
|
472
592
|
const localVarAxiosParamCreator = SurveillanceApiAxiosParamCreator(configuration);
|
|
473
593
|
return {
|
|
594
|
+
/**
|
|
595
|
+
* 批量导入-确认数据
|
|
596
|
+
* @summary 批量导入-确认
|
|
597
|
+
* @param {*} [options] Override http request option.
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
surveillanceBatchImportConfirm(options) {
|
|
601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
602
|
+
var _a, _b, _c;
|
|
603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportConfirm(options);
|
|
604
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
605
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
606
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
607
|
+
});
|
|
608
|
+
},
|
|
609
|
+
/**
|
|
610
|
+
* 批量导入-预览数据
|
|
611
|
+
* @summary 批量导入-预览
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
*/
|
|
615
|
+
surveillanceBatchImportPreview(options) {
|
|
616
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
617
|
+
var _a, _b, _c;
|
|
618
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportPreview(options);
|
|
619
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
620
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
621
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
622
|
+
});
|
|
623
|
+
},
|
|
624
|
+
/**
|
|
625
|
+
* 批量导入-模板
|
|
626
|
+
* @summary 批量导入-模板
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
*/
|
|
630
|
+
surveillanceBatchImportTemplate(options) {
|
|
631
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
632
|
+
var _a, _b, _c;
|
|
633
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportTemplate(options);
|
|
634
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
635
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
637
|
+
});
|
|
638
|
+
},
|
|
639
|
+
/**
|
|
640
|
+
* 批量导入-上传文件
|
|
641
|
+
* @summary 批量导入-上传
|
|
642
|
+
* @param {ExcelUploadBO} bo
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
*/
|
|
646
|
+
surveillanceBatchImportUpload(bo, options) {
|
|
647
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
648
|
+
var _a, _b, _c;
|
|
649
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceBatchImportUpload(bo, options);
|
|
650
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
651
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
652
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
653
|
+
});
|
|
654
|
+
},
|
|
474
655
|
/**
|
|
475
656
|
* 抓拍监控画面
|
|
476
657
|
* @summary 监控抓拍
|
|
@@ -664,6 +845,43 @@ export const SurveillanceApiFp = function (configuration) {
|
|
|
664
845
|
export const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
665
846
|
const localVarFp = SurveillanceApiFp(configuration);
|
|
666
847
|
return {
|
|
848
|
+
/**
|
|
849
|
+
* 批量导入-确认数据
|
|
850
|
+
* @summary 批量导入-确认
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
*/
|
|
854
|
+
surveillanceBatchImportConfirm(options) {
|
|
855
|
+
return localVarFp.surveillanceBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
856
|
+
},
|
|
857
|
+
/**
|
|
858
|
+
* 批量导入-预览数据
|
|
859
|
+
* @summary 批量导入-预览
|
|
860
|
+
* @param {*} [options] Override http request option.
|
|
861
|
+
* @throws {RequiredError}
|
|
862
|
+
*/
|
|
863
|
+
surveillanceBatchImportPreview(options) {
|
|
864
|
+
return localVarFp.surveillanceBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
865
|
+
},
|
|
866
|
+
/**
|
|
867
|
+
* 批量导入-模板
|
|
868
|
+
* @summary 批量导入-模板
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
surveillanceBatchImportTemplate(options) {
|
|
873
|
+
return localVarFp.surveillanceBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
874
|
+
},
|
|
875
|
+
/**
|
|
876
|
+
* 批量导入-上传文件
|
|
877
|
+
* @summary 批量导入-上传
|
|
878
|
+
* @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
surveillanceBatchImportUpload(requestParameters, options) {
|
|
883
|
+
return localVarFp.surveillanceBatchImportUpload(requestParameters.bo, options).then((request) => request(axios, basePath));
|
|
884
|
+
},
|
|
667
885
|
/**
|
|
668
886
|
* 抓拍监控画面
|
|
669
887
|
* @summary 监控抓拍
|
|
@@ -773,6 +991,47 @@ export const SurveillanceApiFactory = function (configuration, basePath, axios)
|
|
|
773
991
|
* @extends {BaseAPI}
|
|
774
992
|
*/
|
|
775
993
|
export class SurveillanceApi extends BaseAPI {
|
|
994
|
+
/**
|
|
995
|
+
* 批量导入-确认数据
|
|
996
|
+
* @summary 批量导入-确认
|
|
997
|
+
* @param {*} [options] Override http request option.
|
|
998
|
+
* @throws {RequiredError}
|
|
999
|
+
* @memberof SurveillanceApi
|
|
1000
|
+
*/
|
|
1001
|
+
surveillanceBatchImportConfirm(options) {
|
|
1002
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* 批量导入-预览数据
|
|
1006
|
+
* @summary 批量导入-预览
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
* @memberof SurveillanceApi
|
|
1010
|
+
*/
|
|
1011
|
+
surveillanceBatchImportPreview(options) {
|
|
1012
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* 批量导入-模板
|
|
1016
|
+
* @summary 批量导入-模板
|
|
1017
|
+
* @param {*} [options] Override http request option.
|
|
1018
|
+
* @throws {RequiredError}
|
|
1019
|
+
* @memberof SurveillanceApi
|
|
1020
|
+
*/
|
|
1021
|
+
surveillanceBatchImportTemplate(options) {
|
|
1022
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* 批量导入-上传文件
|
|
1026
|
+
* @summary 批量导入-上传
|
|
1027
|
+
* @param {SurveillanceApiSurveillanceBatchImportUploadRequest} requestParameters Request parameters.
|
|
1028
|
+
* @param {*} [options] Override http request option.
|
|
1029
|
+
* @throws {RequiredError}
|
|
1030
|
+
* @memberof SurveillanceApi
|
|
1031
|
+
*/
|
|
1032
|
+
surveillanceBatchImportUpload(requestParameters, options) {
|
|
1033
|
+
return SurveillanceApiFp(this.configuration).surveillanceBatchImportUpload(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
|
|
1034
|
+
}
|
|
776
1035
|
/**
|
|
777
1036
|
* 抓拍监控画面
|
|
778
1037
|
* @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.
|
|
@@ -1858,12 +1858,15 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1858
1858
|
*
|
|
1859
1859
|
* @summary 工单驳回
|
|
1860
1860
|
* @param {number} workOrderId
|
|
1861
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
1861
1862
|
* @param {*} [options] Override http request option.
|
|
1862
1863
|
* @throws {RequiredError}
|
|
1863
1864
|
*/
|
|
1864
|
-
workOrderReject: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
1865
|
+
workOrderReject: (workOrderId_1, workOrderRejectVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderRejectVo_1, ...args_1], void 0, function* (workOrderId, workOrderRejectVo, options = {}) {
|
|
1865
1866
|
// verify required parameter 'workOrderId' is not null or undefined
|
|
1866
1867
|
assertParamExists('workOrderReject', 'workOrderId', workOrderId);
|
|
1868
|
+
// verify required parameter 'workOrderRejectVo' is not null or undefined
|
|
1869
|
+
assertParamExists('workOrderReject', 'workOrderRejectVo', workOrderRejectVo);
|
|
1867
1870
|
const localVarPath = `/gizone/workOrder/reject/{workOrderId}`
|
|
1868
1871
|
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1869
1872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1878,9 +1881,11 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1878
1881
|
// authentication tokenScheme required
|
|
1879
1882
|
// http bearer authentication required
|
|
1880
1883
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1884
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1881
1885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1882
1886
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1883
1887
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1888
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderRejectVo, localVarRequestOptions, configuration);
|
|
1884
1889
|
return {
|
|
1885
1890
|
url: toPathString(localVarUrlObj),
|
|
1886
1891
|
options: localVarRequestOptions,
|
|
@@ -2966,13 +2971,14 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2966
2971
|
*
|
|
2967
2972
|
* @summary 工单驳回
|
|
2968
2973
|
* @param {number} workOrderId
|
|
2974
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
2969
2975
|
* @param {*} [options] Override http request option.
|
|
2970
2976
|
* @throws {RequiredError}
|
|
2971
2977
|
*/
|
|
2972
|
-
workOrderReject(workOrderId, options) {
|
|
2978
|
+
workOrderReject(workOrderId, workOrderRejectVo, options) {
|
|
2973
2979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2974
2980
|
var _a, _b, _c;
|
|
2975
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, options);
|
|
2981
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, workOrderRejectVo, options);
|
|
2976
2982
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2977
2983
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderReject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2978
2984
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3589,7 +3595,7 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3589
3595
|
* @throws {RequiredError}
|
|
3590
3596
|
*/
|
|
3591
3597
|
workOrderReject(requestParameters, options) {
|
|
3592
|
-
return localVarFp.workOrderReject(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3598
|
+
return localVarFp.workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(axios, basePath));
|
|
3593
3599
|
},
|
|
3594
3600
|
/**
|
|
3595
3601
|
*
|
|
@@ -4206,7 +4212,7 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
4206
4212
|
* @memberof WorkOrderApi
|
|
4207
4213
|
*/
|
|
4208
4214
|
workOrderReject(requestParameters, options) {
|
|
4209
|
-
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
4215
|
+
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(this.axios, this.basePath));
|
|
4210
4216
|
}
|
|
4211
4217
|
/**
|
|
4212
4218
|
*
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import type { SurveillanceBatchImportTemplateDto } from './surveillance-batch-import-template-dto';
|
|
13
|
+
/**
|
|
14
|
+
* execl导入结果返回
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExcelImportResultDTOSurveillanceBatchImportTemplateDto
|
|
17
|
+
*/
|
|
18
|
+
export interface ExcelImportResultDTOSurveillanceBatchImportTemplateDto {
|
|
19
|
+
/**
|
|
20
|
+
* 成功的数据
|
|
21
|
+
* @type {Array<SurveillanceBatchImportTemplateDto>}
|
|
22
|
+
* @memberof ExcelImportResultDTOSurveillanceBatchImportTemplateDto
|
|
23
|
+
*/
|
|
24
|
+
'successDataList'?: Array<SurveillanceBatchImportTemplateDto>;
|
|
25
|
+
/**
|
|
26
|
+
* 错误的数据
|
|
27
|
+
* @type {Array<SurveillanceBatchImportTemplateDto>}
|
|
28
|
+
* @memberof ExcelImportResultDTOSurveillanceBatchImportTemplateDto
|
|
29
|
+
*/
|
|
30
|
+
'errorDataList'?: Array<SurveillanceBatchImportTemplateDto>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -19,22 +19,28 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {number}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
35
35
|
* @memberof GetUserWx200Response
|
|
36
36
|
*/
|
|
37
37
|
'trailerFields'?: object;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {GetUserWx200ResponseLocale}
|
|
41
|
+
* @memberof GetUserWx200Response
|
|
42
|
+
*/
|
|
43
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {string}
|
|
@@ -53,12 +59,6 @@ export interface GetUserWx200Response {
|
|
|
53
59
|
* @memberof GetUserWx200Response
|
|
54
60
|
*/
|
|
55
61
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {GetUserWx200ResponseLocale}
|
|
59
|
-
* @memberof GetUserWx200Response
|
|
60
|
-
*/
|
|
61
|
-
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {number}
|
|
@@ -71,12 +71,6 @@ export interface GetUserWx200Response {
|
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
73
|
'characterEncoding'?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {object}
|
|
77
|
-
* @memberof GetUserWx200Response
|
|
78
|
-
*/
|
|
79
|
-
'writer'?: object;
|
|
80
74
|
/**
|
|
81
75
|
*
|
|
82
76
|
* @type {number}
|
|
@@ -89,4 +83,10 @@ export interface GetUserWx200Response {
|
|
|
89
83
|
* @memberof GetUserWx200Response
|
|
90
84
|
*/
|
|
91
85
|
'committed'?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {object}
|
|
89
|
+
* @memberof GetUserWx200Response
|
|
90
|
+
*/
|
|
91
|
+
'writer'?: object;
|
|
92
92
|
}
|
|
@@ -214,8 +214,10 @@ export * from './excel-import-result-dtodisaster-warning-standard-import-dto';
|
|
|
214
214
|
export * from './excel-import-result-dtoequipment-excel-add-dto';
|
|
215
215
|
export * from './excel-import-result-dtoinspection-standard-import-dto';
|
|
216
216
|
export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
217
|
+
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
217
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
218
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
+
export * from './excel-upload-bo';
|
|
219
221
|
export * from './export-energy-meter-record-bo';
|
|
220
222
|
export * from './export-hire-energy-meter-record-bo';
|
|
221
223
|
export * from './export-in-park-vehicle-bo';
|
|
@@ -369,6 +371,7 @@ export * from './json-result-excel-import-result-dtodisaster-warning-standard-im
|
|
|
369
371
|
export * from './json-result-excel-import-result-dtoequipment-excel-add-dto';
|
|
370
372
|
export * from './json-result-excel-import-result-dtoinspection-standard-import-dto';
|
|
371
373
|
export * from './json-result-excel-import-result-dtomaintenance-standard-import-dto';
|
|
374
|
+
export * from './json-result-excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
372
375
|
export * from './json-result-excel-import-result-dtosurveillance-settings-export-dto';
|
|
373
376
|
export * from './json-result-excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
374
377
|
export * from './json-result-feedback-record-detail-vo';
|
|
@@ -804,6 +807,7 @@ export * from './supplier-entity';
|
|
|
804
807
|
export * from './supplier-search-vo';
|
|
805
808
|
export * from './supplier-select-dto';
|
|
806
809
|
export * from './surveillance';
|
|
810
|
+
export * from './surveillance-batch-import-template-dto';
|
|
807
811
|
export * from './surveillance-details-dto';
|
|
808
812
|
export * from './surveillance-live-dto';
|
|
809
813
|
export * from './surveillance-point-vo';
|
|
@@ -922,6 +926,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
926
|
export * from './work-order-push-settings-entity';
|
|
923
927
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
928
|
export * from './work-order-push-settings-vo';
|
|
929
|
+
export * from './work-order-reject-vo';
|
|
925
930
|
export * from './work-order-report-vo';
|
|
926
931
|
export * from './work-order-search-dto';
|
|
927
932
|
export * from './work-order-settings-type-enum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -214,8 +214,10 @@ export * from './excel-import-result-dtodisaster-warning-standard-import-dto';
|
|
|
214
214
|
export * from './excel-import-result-dtoequipment-excel-add-dto';
|
|
215
215
|
export * from './excel-import-result-dtoinspection-standard-import-dto';
|
|
216
216
|
export * from './excel-import-result-dtomaintenance-standard-import-dto';
|
|
217
|
+
export * from './excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
217
218
|
export * from './excel-import-result-dtosurveillance-settings-export-dto';
|
|
218
219
|
export * from './excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
220
|
+
export * from './excel-upload-bo';
|
|
219
221
|
export * from './export-energy-meter-record-bo';
|
|
220
222
|
export * from './export-hire-energy-meter-record-bo';
|
|
221
223
|
export * from './export-in-park-vehicle-bo';
|
|
@@ -369,6 +371,7 @@ export * from './json-result-excel-import-result-dtodisaster-warning-standard-im
|
|
|
369
371
|
export * from './json-result-excel-import-result-dtoequipment-excel-add-dto';
|
|
370
372
|
export * from './json-result-excel-import-result-dtoinspection-standard-import-dto';
|
|
371
373
|
export * from './json-result-excel-import-result-dtomaintenance-standard-import-dto';
|
|
374
|
+
export * from './json-result-excel-import-result-dtosurveillance-batch-import-template-dto';
|
|
372
375
|
export * from './json-result-excel-import-result-dtosurveillance-settings-export-dto';
|
|
373
376
|
export * from './json-result-excel-import-upload-to-redis-vo-space-add-excel-dto';
|
|
374
377
|
export * from './json-result-feedback-record-detail-vo';
|
|
@@ -804,6 +807,7 @@ export * from './supplier-entity';
|
|
|
804
807
|
export * from './supplier-search-vo';
|
|
805
808
|
export * from './supplier-select-dto';
|
|
806
809
|
export * from './surveillance';
|
|
810
|
+
export * from './surveillance-batch-import-template-dto';
|
|
807
811
|
export * from './surveillance-details-dto';
|
|
808
812
|
export * from './surveillance-live-dto';
|
|
809
813
|
export * from './surveillance-point-vo';
|
|
@@ -922,6 +926,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
926
|
export * from './work-order-push-settings-entity';
|
|
923
927
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
928
|
export * from './work-order-push-settings-vo';
|
|
929
|
+
export * from './work-order-reject-vo';
|
|
925
930
|
export * from './work-order-report-vo';
|
|
926
931
|
export * from './work-order-search-dto';
|
|
927
932
|
export * from './work-order-settings-type-enum';
|
|
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {number}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
-
* @deprecated
|
|
48
47
|
*/
|
|
49
|
-
'
|
|
48
|
+
'pages'?: number;
|
|
50
49
|
/**
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageAccessVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|