@gizone/rrs-client 4.2.0-alpha.241 → 4.2.0-alpha.243
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 +12 -0
- package/api.ts +2 -0
- package/apis/disaster-warning-standard-api.ts +1200 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/inspection-standard-api.ts +18 -32
- package/apis/maintenance-standard-api.ts +91 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/apis/disaster-warning-standard-api.d.ts +621 -0
- package/dist/apis/disaster-warning-standard-api.js +940 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/inspection-standard-api.d.ts +7 -14
- package/dist/apis/inspection-standard-api.js +13 -21
- package/dist/apis/maintenance-standard-api.d.ts +47 -0
- package/dist/apis/maintenance-standard-api.js +70 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/apis/disaster-warning-standard-api.d.ts +621 -0
- package/dist/esm/apis/disaster-warning-standard-api.js +933 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/inspection-standard-api.d.ts +7 -14
- package/dist/esm/apis/inspection-standard-api.js +13 -21
- package/dist/esm/apis/maintenance-standard-api.d.ts +47 -0
- package/dist/esm/apis/maintenance-standard-api.js +70 -0
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +85 -0
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.js +14 -0
- package/dist/esm/models/disaster-warning-standard-category-enum.d.ts +50 -0
- package/dist/esm/models/disaster-warning-standard-category-enum.js +51 -0
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +109 -0
- package/dist/esm/models/disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/disaster-warning-standard-import-dto.d.ts +103 -0
- package/dist/esm/models/disaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtodisaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +16 -16
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/esm/models/json-result-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/page-dto-disaster-warning-standard-entity.d.ts +31 -0
- package/dist/esm/models/page-dto-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/sync-standard-vo.d.ts +30 -0
- package/dist/esm/models/sync-standard-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +10 -4
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +85 -0
- package/dist/models/disaster-warning-standard-add-or-update-vo.js +15 -0
- package/dist/models/disaster-warning-standard-category-enum.d.ts +50 -0
- package/dist/models/disaster-warning-standard-category-enum.js +54 -0
- package/dist/models/disaster-warning-standard-entity.d.ts +109 -0
- package/dist/models/disaster-warning-standard-entity.js +15 -0
- package/dist/models/disaster-warning-standard-import-dto.d.ts +103 -0
- package/dist/models/disaster-warning-standard-import-dto.js +15 -0
- package/dist/models/excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtodisaster-warning-standard-import-dto.js +15 -0
- package/dist/models/get-user-wx200-response.d.ts +16 -16
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/models/json-result-disaster-warning-standard-entity.js +15 -0
- package/dist/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.js +15 -0
- package/dist/models/json-result-page-dto-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/models/json-result-page-dto-disaster-warning-standard-entity.js +15 -0
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/page-dto-disaster-warning-standard-entity.d.ts +31 -0
- package/dist/models/page-dto-disaster-warning-standard-entity.js +15 -0
- package/dist/models/sync-standard-vo.d.ts +30 -0
- package/dist/models/sync-standard-vo.js +15 -0
- package/dist/models/sys-user.d.ts +10 -4
- package/models/disaster-warning-standard-add-or-update-vo.ts +95 -0
- package/models/disaster-warning-standard-category-enum.ts +60 -0
- package/models/disaster-warning-standard-entity.ts +119 -0
- package/models/disaster-warning-standard-import-dto.ts +113 -0
- package/models/excel-import-result-dtodisaster-warning-standard-import-dto.ts +39 -0
- package/models/get-user-wx200-response.ts +16 -16
- package/models/index.ts +10 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-disaster-warning-standard-entity.ts +72 -0
- package/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.ts +72 -0
- package/models/json-result-page-dto-disaster-warning-standard-entity.ts +72 -0
- package/models/login-type-enum.ts +3 -1
- package/models/page-dto-disaster-warning-standard-entity.ts +39 -0
- package/models/sync-standard-vo.ts +36 -0
- package/models/sys-user.ts +10 -4
- package/package.json +1 -1
|
@@ -0,0 +1,940 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.DisasterWarningStandardApi = exports.DisasterWarningStandardApiFactory = exports.DisasterWarningStandardApiFp = exports.DisasterWarningStandardApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* DisasterWarningStandardApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const DisasterWarningStandardApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 新增灾害预警标准
|
|
41
|
+
* @param {Array<DisasterWarningStandardAddOrUpdateVo>} disasterWarningStandardAddOrUpdateVo
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
disasterWarningStandardAdd: (disasterWarningStandardAddOrUpdateVo_1, ...args_1) => __awaiter(this, [disasterWarningStandardAddOrUpdateVo_1, ...args_1], void 0, function* (disasterWarningStandardAddOrUpdateVo, options = {}) {
|
|
46
|
+
// verify required parameter 'disasterWarningStandardAddOrUpdateVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('disasterWarningStandardAdd', 'disasterWarningStandardAddOrUpdateVo', disasterWarningStandardAddOrUpdateVo);
|
|
48
|
+
const localVarPath = `/gizone/disasterWarningStandard`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(disasterWarningStandardAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 灾害预警标准导出-数据
|
|
74
|
+
* @param {number} parkId 园区id
|
|
75
|
+
* @param {string} [searchValue] 内容
|
|
76
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
disasterWarningStandardBatchExport: (parkId_1, searchValue_1, disasterWarningStandardCategory_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, disasterWarningStandardCategory_1, ...args_1], void 0, function* (parkId, searchValue, disasterWarningStandardCategory, options = {}) {
|
|
81
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
82
|
+
(0, common_1.assertParamExists)('disasterWarningStandardBatchExport', 'parkId', parkId);
|
|
83
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchExport`;
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
91
|
+
const localVarHeaderParameter = {};
|
|
92
|
+
const localVarQueryParameter = {};
|
|
93
|
+
// authentication tokenScheme required
|
|
94
|
+
// http bearer authentication required
|
|
95
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
96
|
+
if (searchValue !== undefined) {
|
|
97
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
98
|
+
}
|
|
99
|
+
if (parkId !== undefined) {
|
|
100
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
101
|
+
}
|
|
102
|
+
if (disasterWarningStandardCategory !== undefined) {
|
|
103
|
+
localVarQueryParameter['disasterWarningStandardCategory'] = disasterWarningStandardCategory;
|
|
104
|
+
}
|
|
105
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
108
|
+
return {
|
|
109
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
}),
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary 灾害预警标准导入-确认导入
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
disasterWarningStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
120
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/confirm`;
|
|
121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
123
|
+
let baseOptions;
|
|
124
|
+
if (configuration) {
|
|
125
|
+
baseOptions = configuration.baseOptions;
|
|
126
|
+
}
|
|
127
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
128
|
+
const localVarHeaderParameter = {};
|
|
129
|
+
const localVarQueryParameter = {};
|
|
130
|
+
// authentication tokenScheme required
|
|
131
|
+
// http bearer authentication required
|
|
132
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
133
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
135
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
136
|
+
return {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
};
|
|
140
|
+
}),
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @summary 灾害预警标准导入-预览结果
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
disasterWarningStandardBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
148
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/preview`;
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
156
|
+
const localVarHeaderParameter = {};
|
|
157
|
+
const localVarQueryParameter = {};
|
|
158
|
+
// authentication tokenScheme required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
return {
|
|
165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
};
|
|
168
|
+
}),
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary 灾害预警标准导入-下载模板
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
disasterWarningStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
176
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/template`;
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
184
|
+
const localVarHeaderParameter = {};
|
|
185
|
+
const localVarQueryParameter = {};
|
|
186
|
+
// authentication tokenScheme required
|
|
187
|
+
// http bearer authentication required
|
|
188
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
189
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
+
return {
|
|
193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
};
|
|
196
|
+
}),
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary 灾害预警标准导入-上传文件
|
|
200
|
+
* @param {number} parkId 园区id
|
|
201
|
+
* @param {File} file
|
|
202
|
+
* @param {string} [language] 语言
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
disasterWarningStandardBatchImportUpload: (parkId_1, file_1, language_1, ...args_1) => __awaiter(this, [parkId_1, file_1, language_1, ...args_1], void 0, function* (parkId, file, language, options = {}) {
|
|
207
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
208
|
+
(0, common_1.assertParamExists)('disasterWarningStandardBatchImportUpload', 'parkId', parkId);
|
|
209
|
+
// verify required parameter 'file' is not null or undefined
|
|
210
|
+
(0, common_1.assertParamExists)('disasterWarningStandardBatchImportUpload', 'file', file);
|
|
211
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/upload`;
|
|
212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
|
+
let baseOptions;
|
|
215
|
+
if (configuration) {
|
|
216
|
+
baseOptions = configuration.baseOptions;
|
|
217
|
+
}
|
|
218
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
219
|
+
const localVarHeaderParameter = {};
|
|
220
|
+
const localVarQueryParameter = {};
|
|
221
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
222
|
+
// authentication tokenScheme required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
225
|
+
if (parkId !== undefined) {
|
|
226
|
+
localVarFormParams.append('parkId', parkId);
|
|
227
|
+
}
|
|
228
|
+
if (language !== undefined) {
|
|
229
|
+
localVarFormParams.append('language', language);
|
|
230
|
+
}
|
|
231
|
+
if (file !== undefined) {
|
|
232
|
+
localVarFormParams.append('file', file);
|
|
233
|
+
}
|
|
234
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
235
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
238
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
239
|
+
return {
|
|
240
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
241
|
+
options: localVarRequestOptions,
|
|
242
|
+
};
|
|
243
|
+
}),
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @summary 删除灾害预警标准
|
|
247
|
+
* @param {number} id
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
disasterWarningStandardDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
252
|
+
// verify required parameter 'id' is not null or undefined
|
|
253
|
+
(0, common_1.assertParamExists)('disasterWarningStandardDelete', 'id', id);
|
|
254
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
255
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
257
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
258
|
+
let baseOptions;
|
|
259
|
+
if (configuration) {
|
|
260
|
+
baseOptions = configuration.baseOptions;
|
|
261
|
+
}
|
|
262
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
263
|
+
const localVarHeaderParameter = {};
|
|
264
|
+
const localVarQueryParameter = {};
|
|
265
|
+
// authentication tokenScheme required
|
|
266
|
+
// http bearer authentication required
|
|
267
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
268
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
271
|
+
return {
|
|
272
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
273
|
+
options: localVarRequestOptions,
|
|
274
|
+
};
|
|
275
|
+
}),
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @summary 删除灾害预警标准
|
|
279
|
+
* @param {Array<number>} requestBody
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
disasterWarningStandardDeleteBatch: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
284
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
285
|
+
(0, common_1.assertParamExists)('disasterWarningStandardDeleteBatch', 'requestBody', requestBody);
|
|
286
|
+
const localVarPath = `/gizone/disasterWarningStandard/batch`;
|
|
287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
288
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
289
|
+
let baseOptions;
|
|
290
|
+
if (configuration) {
|
|
291
|
+
baseOptions = configuration.baseOptions;
|
|
292
|
+
}
|
|
293
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
294
|
+
const localVarHeaderParameter = {};
|
|
295
|
+
const localVarQueryParameter = {};
|
|
296
|
+
// authentication tokenScheme required
|
|
297
|
+
// http bearer authentication required
|
|
298
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
299
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
300
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
303
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
304
|
+
return {
|
|
305
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
306
|
+
options: localVarRequestOptions,
|
|
307
|
+
};
|
|
308
|
+
}),
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @summary 查询灾害预警标准
|
|
312
|
+
* @param {number} id
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
disasterWarningStandardDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
317
|
+
// verify required parameter 'id' is not null or undefined
|
|
318
|
+
(0, common_1.assertParamExists)('disasterWarningStandardDetails', 'id', id);
|
|
319
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
320
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
322
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
323
|
+
let baseOptions;
|
|
324
|
+
if (configuration) {
|
|
325
|
+
baseOptions = configuration.baseOptions;
|
|
326
|
+
}
|
|
327
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
328
|
+
const localVarHeaderParameter = {};
|
|
329
|
+
const localVarQueryParameter = {};
|
|
330
|
+
// authentication tokenScheme required
|
|
331
|
+
// http bearer authentication required
|
|
332
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
333
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
334
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
335
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
336
|
+
return {
|
|
337
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
338
|
+
options: localVarRequestOptions,
|
|
339
|
+
};
|
|
340
|
+
}),
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary 查询灾害预警标准列表
|
|
344
|
+
* @param {number} parkId 园区id
|
|
345
|
+
* @param {number} pageSize 每页数量
|
|
346
|
+
* @param {number} page 页码
|
|
347
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
348
|
+
* @param {string} [searchValue] 内容
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
disasterWarningStandardList: (parkId_1, pageSize_1, page_1, disasterWarningStandardCategory_1, searchValue_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, disasterWarningStandardCategory_1, searchValue_1, ...args_1], void 0, function* (parkId, pageSize, page, disasterWarningStandardCategory, searchValue, options = {}) {
|
|
353
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
354
|
+
(0, common_1.assertParamExists)('disasterWarningStandardList', 'parkId', parkId);
|
|
355
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('disasterWarningStandardList', 'pageSize', pageSize);
|
|
357
|
+
// verify required parameter 'page' is not null or undefined
|
|
358
|
+
(0, common_1.assertParamExists)('disasterWarningStandardList', 'page', page);
|
|
359
|
+
const localVarPath = `/gizone/disasterWarningStandard`;
|
|
360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
361
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
362
|
+
let baseOptions;
|
|
363
|
+
if (configuration) {
|
|
364
|
+
baseOptions = configuration.baseOptions;
|
|
365
|
+
}
|
|
366
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
367
|
+
const localVarHeaderParameter = {};
|
|
368
|
+
const localVarQueryParameter = {};
|
|
369
|
+
// authentication tokenScheme required
|
|
370
|
+
// http bearer authentication required
|
|
371
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
372
|
+
if (parkId !== undefined) {
|
|
373
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
374
|
+
}
|
|
375
|
+
if (pageSize !== undefined) {
|
|
376
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
377
|
+
}
|
|
378
|
+
if (page !== undefined) {
|
|
379
|
+
localVarQueryParameter['page'] = page;
|
|
380
|
+
}
|
|
381
|
+
if (disasterWarningStandardCategory !== undefined) {
|
|
382
|
+
localVarQueryParameter['disasterWarningStandardCategory'] = disasterWarningStandardCategory;
|
|
383
|
+
}
|
|
384
|
+
if (searchValue !== undefined) {
|
|
385
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
386
|
+
}
|
|
387
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
389
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
390
|
+
return {
|
|
391
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
392
|
+
options: localVarRequestOptions,
|
|
393
|
+
};
|
|
394
|
+
}),
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary 修改灾害预警标准
|
|
398
|
+
* @param {number} id
|
|
399
|
+
* @param {DisasterWarningStandardAddOrUpdateVo} disasterWarningStandardAddOrUpdateVo
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
disasterWarningStandardUpdate: (id_1, disasterWarningStandardAddOrUpdateVo_1, ...args_1) => __awaiter(this, [id_1, disasterWarningStandardAddOrUpdateVo_1, ...args_1], void 0, function* (id, disasterWarningStandardAddOrUpdateVo, options = {}) {
|
|
404
|
+
// verify required parameter 'id' is not null or undefined
|
|
405
|
+
(0, common_1.assertParamExists)('disasterWarningStandardUpdate', 'id', id);
|
|
406
|
+
// verify required parameter 'disasterWarningStandardAddOrUpdateVo' is not null or undefined
|
|
407
|
+
(0, common_1.assertParamExists)('disasterWarningStandardUpdate', 'disasterWarningStandardAddOrUpdateVo', disasterWarningStandardAddOrUpdateVo);
|
|
408
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
409
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
410
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
411
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
412
|
+
let baseOptions;
|
|
413
|
+
if (configuration) {
|
|
414
|
+
baseOptions = configuration.baseOptions;
|
|
415
|
+
}
|
|
416
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
417
|
+
const localVarHeaderParameter = {};
|
|
418
|
+
const localVarQueryParameter = {};
|
|
419
|
+
// authentication tokenScheme required
|
|
420
|
+
// http bearer authentication required
|
|
421
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
422
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
423
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
424
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
425
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
426
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(disasterWarningStandardAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
427
|
+
return {
|
|
428
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
429
|
+
options: localVarRequestOptions,
|
|
430
|
+
};
|
|
431
|
+
}),
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @summary 同步其他园区巡检标准
|
|
435
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
syncDisasterWarningStandard: (syncStandardVo_1, ...args_1) => __awaiter(this, [syncStandardVo_1, ...args_1], void 0, function* (syncStandardVo, options = {}) {
|
|
440
|
+
// verify required parameter 'syncStandardVo' is not null or undefined
|
|
441
|
+
(0, common_1.assertParamExists)('syncDisasterWarningStandard', 'syncStandardVo', syncStandardVo);
|
|
442
|
+
const localVarPath = `/gizone/disasterWarningStandard/park/sync`;
|
|
443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
444
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
445
|
+
let baseOptions;
|
|
446
|
+
if (configuration) {
|
|
447
|
+
baseOptions = configuration.baseOptions;
|
|
448
|
+
}
|
|
449
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
450
|
+
const localVarHeaderParameter = {};
|
|
451
|
+
const localVarQueryParameter = {};
|
|
452
|
+
// authentication tokenScheme required
|
|
453
|
+
// http bearer authentication required
|
|
454
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
455
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
456
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
457
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
458
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
459
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(syncStandardVo, localVarRequestOptions, configuration);
|
|
460
|
+
return {
|
|
461
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
462
|
+
options: localVarRequestOptions,
|
|
463
|
+
};
|
|
464
|
+
}),
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
exports.DisasterWarningStandardApiAxiosParamCreator = DisasterWarningStandardApiAxiosParamCreator;
|
|
468
|
+
/**
|
|
469
|
+
* DisasterWarningStandardApi - functional programming interface
|
|
470
|
+
* @export
|
|
471
|
+
*/
|
|
472
|
+
const DisasterWarningStandardApiFp = function (configuration) {
|
|
473
|
+
const localVarAxiosParamCreator = (0, exports.DisasterWarningStandardApiAxiosParamCreator)(configuration);
|
|
474
|
+
return {
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @summary 新增灾害预警标准
|
|
478
|
+
* @param {Array<DisasterWarningStandardAddOrUpdateVo>} disasterWarningStandardAddOrUpdateVo
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
disasterWarningStandardAdd(disasterWarningStandardAddOrUpdateVo, options) {
|
|
483
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
484
|
+
var _a, _b, _c;
|
|
485
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardAdd(disasterWarningStandardAddOrUpdateVo, options);
|
|
486
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
487
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
488
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
489
|
+
});
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @summary 灾害预警标准导出-数据
|
|
494
|
+
* @param {number} parkId 园区id
|
|
495
|
+
* @param {string} [searchValue] 内容
|
|
496
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
disasterWarningStandardBatchExport(parkId, searchValue, disasterWarningStandardCategory, options) {
|
|
501
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
502
|
+
var _a, _b, _c;
|
|
503
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardBatchExport(parkId, searchValue, disasterWarningStandardCategory, options);
|
|
504
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
505
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
506
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
507
|
+
});
|
|
508
|
+
},
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @summary 灾害预警标准导入-确认导入
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
*/
|
|
515
|
+
disasterWarningStandardBatchImportConfirm(options) {
|
|
516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
+
var _a, _b, _c;
|
|
518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardBatchImportConfirm(options);
|
|
519
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
520
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
521
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
522
|
+
});
|
|
523
|
+
},
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @summary 灾害预警标准导入-预览结果
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
disasterWarningStandardBatchImportPreview(options) {
|
|
531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
+
var _a, _b, _c;
|
|
533
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardBatchImportPreview(options);
|
|
534
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
535
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
536
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
|
+
});
|
|
538
|
+
},
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @summary 灾害预警标准导入-下载模板
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
disasterWarningStandardBatchImportTemplate(options) {
|
|
546
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
547
|
+
var _a, _b, _c;
|
|
548
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardBatchImportTemplate(options);
|
|
549
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
550
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
551
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
552
|
+
});
|
|
553
|
+
},
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @summary 灾害预警标准导入-上传文件
|
|
557
|
+
* @param {number} parkId 园区id
|
|
558
|
+
* @param {File} file
|
|
559
|
+
* @param {string} [language] 语言
|
|
560
|
+
* @param {*} [options] Override http request option.
|
|
561
|
+
* @throws {RequiredError}
|
|
562
|
+
*/
|
|
563
|
+
disasterWarningStandardBatchImportUpload(parkId, file, language, options) {
|
|
564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
+
var _a, _b, _c;
|
|
566
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardBatchImportUpload(parkId, file, language, options);
|
|
567
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
568
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
569
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
570
|
+
});
|
|
571
|
+
},
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @summary 删除灾害预警标准
|
|
575
|
+
* @param {number} id
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
disasterWarningStandardDelete(id, options) {
|
|
580
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
581
|
+
var _a, _b, _c;
|
|
582
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardDelete(id, options);
|
|
583
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
584
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
585
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
586
|
+
});
|
|
587
|
+
},
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @summary 删除灾害预警标准
|
|
591
|
+
* @param {Array<number>} requestBody
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
disasterWarningStandardDeleteBatch(requestBody, options) {
|
|
596
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
597
|
+
var _a, _b, _c;
|
|
598
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardDeleteBatch(requestBody, options);
|
|
599
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
600
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDeleteBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
601
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
602
|
+
});
|
|
603
|
+
},
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @summary 查询灾害预警标准
|
|
607
|
+
* @param {number} id
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
disasterWarningStandardDetails(id, options) {
|
|
612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
613
|
+
var _a, _b, _c;
|
|
614
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardDetails(id, options);
|
|
615
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
616
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
617
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
618
|
+
});
|
|
619
|
+
},
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @summary 查询灾害预警标准列表
|
|
623
|
+
* @param {number} parkId 园区id
|
|
624
|
+
* @param {number} pageSize 每页数量
|
|
625
|
+
* @param {number} page 页码
|
|
626
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
627
|
+
* @param {string} [searchValue] 内容
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
disasterWarningStandardList(parkId, pageSize, page, disasterWarningStandardCategory, searchValue, options) {
|
|
632
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
633
|
+
var _a, _b, _c;
|
|
634
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardList(parkId, pageSize, page, disasterWarningStandardCategory, searchValue, options);
|
|
635
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
636
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
637
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
638
|
+
});
|
|
639
|
+
},
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @summary 修改灾害预警标准
|
|
643
|
+
* @param {number} id
|
|
644
|
+
* @param {DisasterWarningStandardAddOrUpdateVo} disasterWarningStandardAddOrUpdateVo
|
|
645
|
+
* @param {*} [options] Override http request option.
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
*/
|
|
648
|
+
disasterWarningStandardUpdate(id, disasterWarningStandardAddOrUpdateVo, options) {
|
|
649
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
650
|
+
var _a, _b, _c;
|
|
651
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disasterWarningStandardUpdate(id, disasterWarningStandardAddOrUpdateVo, options);
|
|
652
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
653
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.disasterWarningStandardUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
654
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
655
|
+
});
|
|
656
|
+
},
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @summary 同步其他园区巡检标准
|
|
660
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
*/
|
|
664
|
+
syncDisasterWarningStandard(syncStandardVo, options) {
|
|
665
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
666
|
+
var _a, _b, _c;
|
|
667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncDisasterWarningStandard(syncStandardVo, options);
|
|
668
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
669
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DisasterWarningStandardApi.syncDisasterWarningStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
670
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
671
|
+
});
|
|
672
|
+
},
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
exports.DisasterWarningStandardApiFp = DisasterWarningStandardApiFp;
|
|
676
|
+
/**
|
|
677
|
+
* DisasterWarningStandardApi - factory interface
|
|
678
|
+
* @export
|
|
679
|
+
*/
|
|
680
|
+
const DisasterWarningStandardApiFactory = function (configuration, basePath, axios) {
|
|
681
|
+
const localVarFp = (0, exports.DisasterWarningStandardApiFp)(configuration);
|
|
682
|
+
return {
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @summary 新增灾害预警标准
|
|
686
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardAddRequest} requestParameters Request parameters.
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
disasterWarningStandardAdd(requestParameters, options) {
|
|
691
|
+
return localVarFp.disasterWarningStandardAdd(requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
692
|
+
},
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @summary 灾害预警标准导出-数据
|
|
696
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest} requestParameters Request parameters.
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
*/
|
|
700
|
+
disasterWarningStandardBatchExport(requestParameters, options) {
|
|
701
|
+
return localVarFp.disasterWarningStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.disasterWarningStandardCategory, options).then((request) => request(axios, basePath));
|
|
702
|
+
},
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @summary 灾害预警标准导入-确认导入
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
disasterWarningStandardBatchImportConfirm(options) {
|
|
710
|
+
return localVarFp.disasterWarningStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
711
|
+
},
|
|
712
|
+
/**
|
|
713
|
+
*
|
|
714
|
+
* @summary 灾害预警标准导入-预览结果
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
disasterWarningStandardBatchImportPreview(options) {
|
|
719
|
+
return localVarFp.disasterWarningStandardBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
720
|
+
},
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @summary 灾害预警标准导入-下载模板
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
disasterWarningStandardBatchImportTemplate(options) {
|
|
728
|
+
return localVarFp.disasterWarningStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
729
|
+
},
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @summary 灾害预警标准导入-上传文件
|
|
733
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
disasterWarningStandardBatchImportUpload(requestParameters, options) {
|
|
738
|
+
return localVarFp.disasterWarningStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
739
|
+
},
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @summary 删除灾害预警标准
|
|
743
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteRequest} requestParameters Request parameters.
|
|
744
|
+
* @param {*} [options] Override http request option.
|
|
745
|
+
* @throws {RequiredError}
|
|
746
|
+
*/
|
|
747
|
+
disasterWarningStandardDelete(requestParameters, options) {
|
|
748
|
+
return localVarFp.disasterWarningStandardDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
749
|
+
},
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @summary 删除灾害预警标准
|
|
753
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest} requestParameters Request parameters.
|
|
754
|
+
* @param {*} [options] Override http request option.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
disasterWarningStandardDeleteBatch(requestParameters, options) {
|
|
758
|
+
return localVarFp.disasterWarningStandardDeleteBatch(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
759
|
+
},
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @summary 查询灾害预警标准
|
|
763
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDetailsRequest} requestParameters Request parameters.
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
disasterWarningStandardDetails(requestParameters, options) {
|
|
768
|
+
return localVarFp.disasterWarningStandardDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @summary 查询灾害预警标准列表
|
|
773
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardListRequest} requestParameters Request parameters.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
disasterWarningStandardList(requestParameters, options) {
|
|
778
|
+
return localVarFp.disasterWarningStandardList(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.disasterWarningStandardCategory, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @summary 修改灾害预警标准
|
|
783
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardUpdateRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
disasterWarningStandardUpdate(requestParameters, options) {
|
|
788
|
+
return localVarFp.disasterWarningStandardUpdate(requestParameters.id, requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @summary 同步其他园区巡检标准
|
|
793
|
+
* @param {DisasterWarningStandardApiSyncDisasterWarningStandardRequest} requestParameters Request parameters.
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
syncDisasterWarningStandard(requestParameters, options) {
|
|
798
|
+
return localVarFp.syncDisasterWarningStandard(requestParameters.syncStandardVo, options).then((request) => request(axios, basePath));
|
|
799
|
+
},
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
exports.DisasterWarningStandardApiFactory = DisasterWarningStandardApiFactory;
|
|
803
|
+
/**
|
|
804
|
+
* DisasterWarningStandardApi - object-oriented interface
|
|
805
|
+
* @export
|
|
806
|
+
* @class DisasterWarningStandardApi
|
|
807
|
+
* @extends {BaseAPI}
|
|
808
|
+
*/
|
|
809
|
+
class DisasterWarningStandardApi extends base_1.BaseAPI {
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @summary 新增灾害预警标准
|
|
813
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardAddRequest} requestParameters Request parameters.
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
* @memberof DisasterWarningStandardApi
|
|
817
|
+
*/
|
|
818
|
+
disasterWarningStandardAdd(requestParameters, options) {
|
|
819
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardAdd(requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @summary 灾害预警标准导出-数据
|
|
824
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest} requestParameters Request parameters.
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
* @memberof DisasterWarningStandardApi
|
|
828
|
+
*/
|
|
829
|
+
disasterWarningStandardBatchExport(requestParameters, options) {
|
|
830
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.disasterWarningStandardCategory, options).then((request) => request(this.axios, this.basePath));
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary 灾害预警标准导入-确认导入
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
* @memberof DisasterWarningStandardApi
|
|
838
|
+
*/
|
|
839
|
+
disasterWarningStandardBatchImportConfirm(options) {
|
|
840
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @summary 灾害预警标准导入-预览结果
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
* @memberof DisasterWarningStandardApi
|
|
848
|
+
*/
|
|
849
|
+
disasterWarningStandardBatchImportPreview(options) {
|
|
850
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @summary 灾害预警标准导入-下载模板
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
* @memberof DisasterWarningStandardApi
|
|
858
|
+
*/
|
|
859
|
+
disasterWarningStandardBatchImportTemplate(options) {
|
|
860
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @summary 灾害预警标准导入-上传文件
|
|
865
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
* @memberof DisasterWarningStandardApi
|
|
869
|
+
*/
|
|
870
|
+
disasterWarningStandardBatchImportUpload(requestParameters, options) {
|
|
871
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @summary 删除灾害预警标准
|
|
876
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteRequest} requestParameters Request parameters.
|
|
877
|
+
* @param {*} [options] Override http request option.
|
|
878
|
+
* @throws {RequiredError}
|
|
879
|
+
* @memberof DisasterWarningStandardApi
|
|
880
|
+
*/
|
|
881
|
+
disasterWarningStandardDelete(requestParameters, options) {
|
|
882
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @summary 删除灾害预警标准
|
|
887
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest} requestParameters Request parameters.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
* @memberof DisasterWarningStandardApi
|
|
891
|
+
*/
|
|
892
|
+
disasterWarningStandardDeleteBatch(requestParameters, options) {
|
|
893
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardDeleteBatch(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @summary 查询灾害预警标准
|
|
898
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDetailsRequest} requestParameters Request parameters.
|
|
899
|
+
* @param {*} [options] Override http request option.
|
|
900
|
+
* @throws {RequiredError}
|
|
901
|
+
* @memberof DisasterWarningStandardApi
|
|
902
|
+
*/
|
|
903
|
+
disasterWarningStandardDetails(requestParameters, options) {
|
|
904
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
*
|
|
908
|
+
* @summary 查询灾害预警标准列表
|
|
909
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardListRequest} requestParameters Request parameters.
|
|
910
|
+
* @param {*} [options] Override http request option.
|
|
911
|
+
* @throws {RequiredError}
|
|
912
|
+
* @memberof DisasterWarningStandardApi
|
|
913
|
+
*/
|
|
914
|
+
disasterWarningStandardList(requestParameters, options) {
|
|
915
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardList(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.disasterWarningStandardCategory, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @summary 修改灾害预警标准
|
|
920
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardUpdateRequest} requestParameters Request parameters.
|
|
921
|
+
* @param {*} [options] Override http request option.
|
|
922
|
+
* @throws {RequiredError}
|
|
923
|
+
* @memberof DisasterWarningStandardApi
|
|
924
|
+
*/
|
|
925
|
+
disasterWarningStandardUpdate(requestParameters, options) {
|
|
926
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).disasterWarningStandardUpdate(requestParameters.id, requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @summary 同步其他园区巡检标准
|
|
931
|
+
* @param {DisasterWarningStandardApiSyncDisasterWarningStandardRequest} requestParameters Request parameters.
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
* @memberof DisasterWarningStandardApi
|
|
935
|
+
*/
|
|
936
|
+
syncDisasterWarningStandard(requestParameters, options) {
|
|
937
|
+
return (0, exports.DisasterWarningStandardApiFp)(this.configuration).syncDisasterWarningStandard(requestParameters.syncStandardVo, options).then((request) => request(this.axios, this.basePath));
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
exports.DisasterWarningStandardApi = DisasterWarningStandardApi;
|