@gizone/rrs-client 4.1.0-alpha.124 → 4.1.0-alpha.126

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.
@@ -780,6 +780,7 @@ models/renovation-work-order-vo.ts
780
780
  models/reply-and-create-work-order-dto.ts
781
781
  models/response-data.ts
782
782
  models/result-code.ts
783
+ models/safety-smart-fire-record-gizone-dto.ts
783
784
  models/save-period-work-order-detail-req.ts
784
785
  models/save-water-meter-batch-request.ts
785
786
  models/scheduled-cron.ts
@@ -26,6 +26,8 @@ import type { DevicesStatusUpdateVo } from '../models';
26
26
  // @ts-ignore
27
27
  import type { JsonResultVoid } from '../models';
28
28
  // @ts-ignore
29
+ import type { SafetySmartFireRecordGizoneDTO } from '../models';
30
+ // @ts-ignore
29
31
  import type { SyncDeviceUnitVo } from '../models';
30
32
  /**
31
33
  * DeviceApi - axios parameter creator
@@ -33,6 +35,46 @@ import type { SyncDeviceUnitVo } from '../models';
33
35
  */
34
36
  export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
35
37
  return {
38
+ /**
39
+ *
40
+ * @summary 设备告警
41
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ deviceAlert: async (safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'safetySmartFireRecordGizoneDTO' is not null or undefined
47
+ assertParamExists('deviceAlert', 'safetySmartFireRecordGizoneDTO', safetySmartFireRecordGizoneDTO)
48
+ const localVarPath = `/gizone/iot/device/alert`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+
56
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57
+ const localVarHeaderParameter = {} as any;
58
+ const localVarQueryParameter = {} as any;
59
+
60
+ // authentication tokenScheme required
61
+ // http bearer authentication required
62
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63
+
64
+
65
+
66
+ localVarHeaderParameter['Content-Type'] = 'application/json';
67
+
68
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
71
+ localVarRequestOptions.data = serializeDataIfNeeded(safetySmartFireRecordGizoneDTO, localVarRequestOptions, configuration)
72
+
73
+ return {
74
+ url: toPathString(localVarUrlObj),
75
+ options: localVarRequestOptions,
76
+ };
77
+ },
36
78
  /**
37
79
  *
38
80
  * @summary 设备状态更新
@@ -123,6 +165,19 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
123
165
  export const DeviceApiFp = function(configuration?: Configuration) {
124
166
  const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
125
167
  return {
168
+ /**
169
+ *
170
+ * @summary 设备告警
171
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ async deviceAlert(safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deviceAlert(safetySmartFireRecordGizoneDTO, options);
177
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
178
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceAlert']?.[localVarOperationServerIndex]?.url;
179
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
180
+ },
126
181
  /**
127
182
  *
128
183
  * @summary 设备状态更新
@@ -159,6 +214,16 @@ export const DeviceApiFp = function(configuration?: Configuration) {
159
214
  export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
160
215
  const localVarFp = DeviceApiFp(configuration)
161
216
  return {
217
+ /**
218
+ *
219
+ * @summary 设备告警
220
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
225
+ return localVarFp.deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(axios, basePath));
226
+ },
162
227
  /**
163
228
  *
164
229
  * @summary 设备状态更新
@@ -182,6 +247,20 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
182
247
  };
183
248
  };
184
249
 
250
+ /**
251
+ * Request parameters for deviceAlert operation in DeviceApi.
252
+ * @export
253
+ * @interface DeviceApiDeviceAlertRequest
254
+ */
255
+ export interface DeviceApiDeviceAlertRequest {
256
+ /**
257
+ *
258
+ * @type {SafetySmartFireRecordGizoneDTO}
259
+ * @memberof DeviceApiDeviceAlert
260
+ */
261
+ readonly safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO
262
+ }
263
+
185
264
  /**
186
265
  * Request parameters for devicesStatus operation in DeviceApi.
187
266
  * @export
@@ -217,6 +296,18 @@ export interface DeviceApiSyncDeviceUnitRequest {
217
296
  * @extends {BaseAPI}
218
297
  */
219
298
  export class DeviceApi extends BaseAPI {
299
+ /**
300
+ *
301
+ * @summary 设备告警
302
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ * @memberof DeviceApi
306
+ */
307
+ public deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig) {
308
+ return DeviceApiFp(this.configuration).deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(this.axios, this.basePath));
309
+ }
310
+
220
311
  /**
221
312
  *
222
313
  * @summary 设备状态更新
@@ -14,12 +14,21 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { DevicesStatusUpdateVo } from '../models';
16
16
  import type { JsonResultVoid } from '../models';
17
+ import type { SafetySmartFireRecordGizoneDTO } from '../models';
17
18
  import type { SyncDeviceUnitVo } from '../models';
18
19
  /**
19
20
  * DeviceApi - axios parameter creator
20
21
  * @export
21
22
  */
22
23
  export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ *
26
+ * @summary 设备告警
27
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ deviceAlert: (safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23
32
  /**
24
33
  *
25
34
  * @summary 设备状态更新
@@ -42,6 +51,14 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
42
51
  * @export
43
52
  */
44
53
  export declare const DeviceApiFp: (configuration?: Configuration) => {
54
+ /**
55
+ *
56
+ * @summary 设备告警
57
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ deviceAlert(safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
45
62
  /**
46
63
  *
47
64
  * @summary 设备状态更新
@@ -64,6 +81,14 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
64
81
  * @export
65
82
  */
66
83
  export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
84
+ /**
85
+ *
86
+ * @summary 设备告警
87
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
67
92
  /**
68
93
  *
69
94
  * @summary 设备状态更新
@@ -81,6 +106,19 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
81
106
  */
82
107
  syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
83
108
  };
109
+ /**
110
+ * Request parameters for deviceAlert operation in DeviceApi.
111
+ * @export
112
+ * @interface DeviceApiDeviceAlertRequest
113
+ */
114
+ export interface DeviceApiDeviceAlertRequest {
115
+ /**
116
+ *
117
+ * @type {SafetySmartFireRecordGizoneDTO}
118
+ * @memberof DeviceApiDeviceAlert
119
+ */
120
+ readonly safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO;
121
+ }
84
122
  /**
85
123
  * Request parameters for devicesStatus operation in DeviceApi.
86
124
  * @export
@@ -114,6 +152,15 @@ export interface DeviceApiSyncDeviceUnitRequest {
114
152
  * @extends {BaseAPI}
115
153
  */
116
154
  export declare class DeviceApi extends BaseAPI {
155
+ /**
156
+ *
157
+ * @summary 设备告警
158
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ * @memberof DeviceApi
162
+ */
163
+ deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
117
164
  /**
118
165
  *
119
166
  * @summary 设备状态更新
@@ -35,6 +35,39 @@ const base_1 = require("../base");
35
35
  */
36
36
  const DeviceApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
+ /**
39
+ *
40
+ * @summary 设备告警
41
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ deviceAlert: (safetySmartFireRecordGizoneDTO_1, ...args_1) => __awaiter(this, [safetySmartFireRecordGizoneDTO_1, ...args_1], void 0, function* (safetySmartFireRecordGizoneDTO, options = {}) {
46
+ // verify required parameter 'safetySmartFireRecordGizoneDTO' is not null or undefined
47
+ (0, common_1.assertParamExists)('deviceAlert', 'safetySmartFireRecordGizoneDTO', safetySmartFireRecordGizoneDTO);
48
+ const localVarPath = `/gizone/iot/device/alert`;
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)(safetySmartFireRecordGizoneDTO, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
38
71
  /**
39
72
  *
40
73
  * @summary 设备状态更新
@@ -111,6 +144,22 @@ exports.DeviceApiAxiosParamCreator = DeviceApiAxiosParamCreator;
111
144
  const DeviceApiFp = function (configuration) {
112
145
  const localVarAxiosParamCreator = (0, exports.DeviceApiAxiosParamCreator)(configuration);
113
146
  return {
147
+ /**
148
+ *
149
+ * @summary 设备告警
150
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ deviceAlert(safetySmartFireRecordGizoneDTO, options) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ var _a, _b, _c;
157
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deviceAlert(safetySmartFireRecordGizoneDTO, options);
158
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
159
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeviceApi.deviceAlert']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
160
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
161
+ });
162
+ },
114
163
  /**
115
164
  *
116
165
  * @summary 设备状态更新
@@ -153,6 +202,16 @@ exports.DeviceApiFp = DeviceApiFp;
153
202
  const DeviceApiFactory = function (configuration, basePath, axios) {
154
203
  const localVarFp = (0, exports.DeviceApiFp)(configuration);
155
204
  return {
205
+ /**
206
+ *
207
+ * @summary 设备告警
208
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ deviceAlert(requestParameters, options) {
213
+ return localVarFp.deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(axios, basePath));
214
+ },
156
215
  /**
157
216
  *
158
217
  * @summary 设备状态更新
@@ -183,6 +242,17 @@ exports.DeviceApiFactory = DeviceApiFactory;
183
242
  * @extends {BaseAPI}
184
243
  */
185
244
  class DeviceApi extends base_1.BaseAPI {
245
+ /**
246
+ *
247
+ * @summary 设备告警
248
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ * @memberof DeviceApi
252
+ */
253
+ deviceAlert(requestParameters, options) {
254
+ return (0, exports.DeviceApiFp)(this.configuration).deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(this.axios, this.basePath));
255
+ }
186
256
  /**
187
257
  *
188
258
  * @summary 设备状态更新
@@ -14,12 +14,21 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { DevicesStatusUpdateVo } from '../models';
16
16
  import type { JsonResultVoid } from '../models';
17
+ import type { SafetySmartFireRecordGizoneDTO } from '../models';
17
18
  import type { SyncDeviceUnitVo } from '../models';
18
19
  /**
19
20
  * DeviceApi - axios parameter creator
20
21
  * @export
21
22
  */
22
23
  export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ *
26
+ * @summary 设备告警
27
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ deviceAlert: (safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23
32
  /**
24
33
  *
25
34
  * @summary 设备状态更新
@@ -42,6 +51,14 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
42
51
  * @export
43
52
  */
44
53
  export declare const DeviceApiFp: (configuration?: Configuration) => {
54
+ /**
55
+ *
56
+ * @summary 设备告警
57
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ deviceAlert(safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
45
62
  /**
46
63
  *
47
64
  * @summary 设备状态更新
@@ -64,6 +81,14 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
64
81
  * @export
65
82
  */
66
83
  export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
84
+ /**
85
+ *
86
+ * @summary 设备告警
87
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
67
92
  /**
68
93
  *
69
94
  * @summary 设备状态更新
@@ -81,6 +106,19 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
81
106
  */
82
107
  syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
83
108
  };
109
+ /**
110
+ * Request parameters for deviceAlert operation in DeviceApi.
111
+ * @export
112
+ * @interface DeviceApiDeviceAlertRequest
113
+ */
114
+ export interface DeviceApiDeviceAlertRequest {
115
+ /**
116
+ *
117
+ * @type {SafetySmartFireRecordGizoneDTO}
118
+ * @memberof DeviceApiDeviceAlert
119
+ */
120
+ readonly safetySmartFireRecordGizoneDTO: SafetySmartFireRecordGizoneDTO;
121
+ }
84
122
  /**
85
123
  * Request parameters for devicesStatus operation in DeviceApi.
86
124
  * @export
@@ -114,6 +152,15 @@ export interface DeviceApiSyncDeviceUnitRequest {
114
152
  * @extends {BaseAPI}
115
153
  */
116
154
  export declare class DeviceApi extends BaseAPI {
155
+ /**
156
+ *
157
+ * @summary 设备告警
158
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ * @memberof DeviceApi
162
+ */
163
+ deviceAlert(requestParameters: DeviceApiDeviceAlertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
117
164
  /**
118
165
  *
119
166
  * @summary 设备状态更新
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
32
32
  */
33
33
  export const DeviceApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
+ /**
36
+ *
37
+ * @summary 设备告警
38
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deviceAlert: (safetySmartFireRecordGizoneDTO_1, ...args_1) => __awaiter(this, [safetySmartFireRecordGizoneDTO_1, ...args_1], void 0, function* (safetySmartFireRecordGizoneDTO, options = {}) {
43
+ // verify required parameter 'safetySmartFireRecordGizoneDTO' is not null or undefined
44
+ assertParamExists('deviceAlert', 'safetySmartFireRecordGizoneDTO', safetySmartFireRecordGizoneDTO);
45
+ const localVarPath = `/gizone/iot/device/alert`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication tokenScheme required
56
+ // http bearer authentication required
57
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
+ localVarHeaderParameter['Content-Type'] = 'application/json';
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ localVarRequestOptions.data = serializeDataIfNeeded(safetySmartFireRecordGizoneDTO, localVarRequestOptions, configuration);
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ }),
35
68
  /**
36
69
  *
37
70
  * @summary 设备状态更新
@@ -107,6 +140,22 @@ export const DeviceApiAxiosParamCreator = function (configuration) {
107
140
  export const DeviceApiFp = function (configuration) {
108
141
  const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration);
109
142
  return {
143
+ /**
144
+ *
145
+ * @summary 设备告警
146
+ * @param {SafetySmartFireRecordGizoneDTO} safetySmartFireRecordGizoneDTO
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ deviceAlert(safetySmartFireRecordGizoneDTO, options) {
151
+ return __awaiter(this, void 0, void 0, function* () {
152
+ var _a, _b, _c;
153
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deviceAlert(safetySmartFireRecordGizoneDTO, options);
154
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
155
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi.deviceAlert']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
156
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
157
+ });
158
+ },
110
159
  /**
111
160
  *
112
161
  * @summary 设备状态更新
@@ -148,6 +197,16 @@ export const DeviceApiFp = function (configuration) {
148
197
  export const DeviceApiFactory = function (configuration, basePath, axios) {
149
198
  const localVarFp = DeviceApiFp(configuration);
150
199
  return {
200
+ /**
201
+ *
202
+ * @summary 设备告警
203
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ deviceAlert(requestParameters, options) {
208
+ return localVarFp.deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(axios, basePath));
209
+ },
151
210
  /**
152
211
  *
153
212
  * @summary 设备状态更新
@@ -177,6 +236,17 @@ export const DeviceApiFactory = function (configuration, basePath, axios) {
177
236
  * @extends {BaseAPI}
178
237
  */
179
238
  export class DeviceApi extends BaseAPI {
239
+ /**
240
+ *
241
+ * @summary 设备告警
242
+ * @param {DeviceApiDeviceAlertRequest} requestParameters Request parameters.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ * @memberof DeviceApi
246
+ */
247
+ deviceAlert(requestParameters, options) {
248
+ return DeviceApiFp(this.configuration).deviceAlert(requestParameters.safetySmartFireRecordGizoneDTO, options).then((request) => request(this.axios, this.basePath));
249
+ }
180
250
  /**
181
251
  *
182
252
  * @summary 设备状态更新
@@ -35,6 +35,12 @@ export interface GetUserWx200Response {
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}
@@ -715,6 +715,7 @@ export * from './renovation-work-order-vo';
715
715
  export * from './reply-and-create-work-order-dto';
716
716
  export * from './response-data';
717
717
  export * from './result-code';
718
+ export * from './safety-smart-fire-record-gizone-dto';
718
719
  export * from './save-period-work-order-detail-req';
719
720
  export * from './save-water-meter-batch-request';
720
721
  export * from './scheduled-cron';
@@ -715,6 +715,7 @@ export * from './renovation-work-order-vo';
715
715
  export * from './reply-and-create-work-order-dto';
716
716
  export * from './response-data';
717
717
  export * from './result-code';
718
+ export * from './safety-smart-fire-record-gizone-dto';
718
719
  export * from './save-period-work-order-detail-req';
719
720
  export * from './save-water-meter-batch-request';
720
721
  export * from './scheduled-cron';
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
36
36
  'records'?: Array<AccessVO>;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {boolean}
40
40
  * @memberof IPageAccessVO
41
41
  */
42
- 'pages'?: number;
42
+ 'searchCount'?: boolean;
43
43
  /**
44
44
  *
45
- * @type {boolean}
45
+ * @type {number}
46
46
  * @memberof IPageAccessVO
47
- * @deprecated
48
47
  */
49
- 'hitCount'?: boolean;
48
+ 'pages'?: number;
50
49
  /**
51
50
  *
52
51
  * @type {boolean}
53
52
  * @memberof IPageAccessVO
53
+ * @deprecated
54
54
  */
55
- 'searchCount'?: boolean;
55
+ 'hitCount'?: boolean;
56
56
  /**
57
57
  *
58
58
  * @type {number}
@@ -0,0 +1,97 @@
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 { MediaDTO } from './media-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SafetySmartFireRecordGizoneDTO
17
+ */
18
+ export interface SafetySmartFireRecordGizoneDTO {
19
+ /**
20
+ * 报警时间
21
+ * @type {string}
22
+ * @memberof SafetySmartFireRecordGizoneDTO
23
+ */
24
+ 'alarmTime': string;
25
+ /**
26
+ * 报警设备编码
27
+ * @type {string}
28
+ * @memberof SafetySmartFireRecordGizoneDTO
29
+ */
30
+ 'deviceCode': string;
31
+ /**
32
+ * 点位编码
33
+ * @type {string}
34
+ * @memberof SafetySmartFireRecordGizoneDTO
35
+ */
36
+ 'unitCode': string;
37
+ /**
38
+ * 报警类型
39
+ * @type {number}
40
+ * @memberof SafetySmartFireRecordGizoneDTO
41
+ */
42
+ 'alarmType': number;
43
+ /**
44
+ * 部件类型
45
+ * @type {string}
46
+ * @memberof SafetySmartFireRecordGizoneDTO
47
+ */
48
+ 'unitType'?: string;
49
+ /**
50
+ * 报警内容
51
+ * @type {string}
52
+ * @memberof SafetySmartFireRecordGizoneDTO
53
+ */
54
+ 'alarmContent': string;
55
+ /**
56
+ * 园区ID
57
+ * @type {number}
58
+ * @memberof SafetySmartFireRecordGizoneDTO
59
+ */
60
+ 'parkId': number;
61
+ /**
62
+ * 视频图片报警信息
63
+ * @type {Array<MediaDTO>}
64
+ * @memberof SafetySmartFireRecordGizoneDTO
65
+ */
66
+ 'media'?: Array<MediaDTO>;
67
+ /**
68
+ * 属性code
69
+ * @type {string}
70
+ * @memberof SafetySmartFireRecordGizoneDTO
71
+ */
72
+ 'itemCode'?: string;
73
+ /**
74
+ * 当前属性值
75
+ * @type {string}
76
+ * @memberof SafetySmartFireRecordGizoneDTO
77
+ */
78
+ 'itemValue'?: string;
79
+ /**
80
+ * 最大阈值
81
+ * @type {string}
82
+ * @memberof SafetySmartFireRecordGizoneDTO
83
+ */
84
+ 'maxValue'?: string;
85
+ /**
86
+ * 最小阈值
87
+ * @type {string}
88
+ * @memberof SafetySmartFireRecordGizoneDTO
89
+ */
90
+ 'minValue'?: string;
91
+ /**
92
+ * gizone AI 监测配置id
93
+ * @type {number}
94
+ * @memberof SafetySmartFireRecordGizoneDTO
95
+ */
96
+ 'aiMonitoringConfigId'?: number;
97
+ }
@@ -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 {};
@@ -35,6 +35,12 @@ export interface GetUserWx200Response {
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}
@@ -715,6 +715,7 @@ export * from './renovation-work-order-vo';
715
715
  export * from './reply-and-create-work-order-dto';
716
716
  export * from './response-data';
717
717
  export * from './result-code';
718
+ export * from './safety-smart-fire-record-gizone-dto';
718
719
  export * from './save-period-work-order-detail-req';
719
720
  export * from './save-water-meter-batch-request';
720
721
  export * from './scheduled-cron';
@@ -731,6 +731,7 @@ __exportStar(require("./renovation-work-order-vo"), exports);
731
731
  __exportStar(require("./reply-and-create-work-order-dto"), exports);
732
732
  __exportStar(require("./response-data"), exports);
733
733
  __exportStar(require("./result-code"), exports);
734
+ __exportStar(require("./safety-smart-fire-record-gizone-dto"), exports);
734
735
  __exportStar(require("./save-period-work-order-detail-req"), exports);
735
736
  __exportStar(require("./save-water-meter-batch-request"), exports);
736
737
  __exportStar(require("./scheduled-cron"), exports);
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
36
36
  'records'?: Array<AccessVO>;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {boolean}
40
40
  * @memberof IPageAccessVO
41
41
  */
42
- 'pages'?: number;
42
+ 'searchCount'?: boolean;
43
43
  /**
44
44
  *
45
- * @type {boolean}
45
+ * @type {number}
46
46
  * @memberof IPageAccessVO
47
- * @deprecated
48
47
  */
49
- 'hitCount'?: boolean;
48
+ 'pages'?: number;
50
49
  /**
51
50
  *
52
51
  * @type {boolean}
53
52
  * @memberof IPageAccessVO
53
+ * @deprecated
54
54
  */
55
- 'searchCount'?: boolean;
55
+ 'hitCount'?: boolean;
56
56
  /**
57
57
  *
58
58
  * @type {number}
@@ -0,0 +1,97 @@
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 { MediaDTO } from './media-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SafetySmartFireRecordGizoneDTO
17
+ */
18
+ export interface SafetySmartFireRecordGizoneDTO {
19
+ /**
20
+ * 报警时间
21
+ * @type {string}
22
+ * @memberof SafetySmartFireRecordGizoneDTO
23
+ */
24
+ 'alarmTime': string;
25
+ /**
26
+ * 报警设备编码
27
+ * @type {string}
28
+ * @memberof SafetySmartFireRecordGizoneDTO
29
+ */
30
+ 'deviceCode': string;
31
+ /**
32
+ * 点位编码
33
+ * @type {string}
34
+ * @memberof SafetySmartFireRecordGizoneDTO
35
+ */
36
+ 'unitCode': string;
37
+ /**
38
+ * 报警类型
39
+ * @type {number}
40
+ * @memberof SafetySmartFireRecordGizoneDTO
41
+ */
42
+ 'alarmType': number;
43
+ /**
44
+ * 部件类型
45
+ * @type {string}
46
+ * @memberof SafetySmartFireRecordGizoneDTO
47
+ */
48
+ 'unitType'?: string;
49
+ /**
50
+ * 报警内容
51
+ * @type {string}
52
+ * @memberof SafetySmartFireRecordGizoneDTO
53
+ */
54
+ 'alarmContent': string;
55
+ /**
56
+ * 园区ID
57
+ * @type {number}
58
+ * @memberof SafetySmartFireRecordGizoneDTO
59
+ */
60
+ 'parkId': number;
61
+ /**
62
+ * 视频图片报警信息
63
+ * @type {Array<MediaDTO>}
64
+ * @memberof SafetySmartFireRecordGizoneDTO
65
+ */
66
+ 'media'?: Array<MediaDTO>;
67
+ /**
68
+ * 属性code
69
+ * @type {string}
70
+ * @memberof SafetySmartFireRecordGizoneDTO
71
+ */
72
+ 'itemCode'?: string;
73
+ /**
74
+ * 当前属性值
75
+ * @type {string}
76
+ * @memberof SafetySmartFireRecordGizoneDTO
77
+ */
78
+ 'itemValue'?: string;
79
+ /**
80
+ * 最大阈值
81
+ * @type {string}
82
+ * @memberof SafetySmartFireRecordGizoneDTO
83
+ */
84
+ 'maxValue'?: string;
85
+ /**
86
+ * 最小阈值
87
+ * @type {string}
88
+ * @memberof SafetySmartFireRecordGizoneDTO
89
+ */
90
+ 'minValue'?: string;
91
+ /**
92
+ * gizone AI 监测配置id
93
+ * @type {number}
94
+ * @memberof SafetySmartFireRecordGizoneDTO
95
+ */
96
+ 'aiMonitoringConfigId'?: number;
97
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -44,6 +44,12 @@ export interface GetUserWx200Response {
44
44
  * @memberof GetUserWx200Response
45
45
  */
46
46
  'trailerFields'?: object;
47
+ /**
48
+ *
49
+ * @type {GetUserWx200ResponseLocale}
50
+ * @memberof GetUserWx200Response
51
+ */
52
+ 'locale'?: GetUserWx200ResponseLocale;
47
53
  /**
48
54
  *
49
55
  * @type {string}
@@ -62,12 +68,6 @@ export interface GetUserWx200Response {
62
68
  * @memberof GetUserWx200Response
63
69
  */
64
70
  'outputStream'?: GetUserWx200ResponseOutputStream;
65
- /**
66
- *
67
- * @type {GetUserWx200ResponseLocale}
68
- * @memberof GetUserWx200Response
69
- */
70
- 'locale'?: GetUserWx200ResponseLocale;
71
71
  /**
72
72
  *
73
73
  * @type {number}
package/models/index.ts CHANGED
@@ -715,6 +715,7 @@ export * from './renovation-work-order-vo';
715
715
  export * from './reply-and-create-work-order-dto';
716
716
  export * from './response-data';
717
717
  export * from './result-code';
718
+ export * from './safety-smart-fire-record-gizone-dto';
718
719
  export * from './save-period-work-order-detail-req';
719
720
  export * from './save-water-meter-batch-request';
720
721
  export * from './scheduled-cron';
@@ -43,23 +43,23 @@ export interface IPageAccessVO {
43
43
  'records'?: Array<AccessVO>;
44
44
  /**
45
45
  *
46
- * @type {number}
46
+ * @type {boolean}
47
47
  * @memberof IPageAccessVO
48
48
  */
49
- 'pages'?: number;
49
+ 'searchCount'?: boolean;
50
50
  /**
51
51
  *
52
- * @type {boolean}
52
+ * @type {number}
53
53
  * @memberof IPageAccessVO
54
- * @deprecated
55
54
  */
56
- 'hitCount'?: boolean;
55
+ 'pages'?: number;
57
56
  /**
58
57
  *
59
58
  * @type {boolean}
60
59
  * @memberof IPageAccessVO
60
+ * @deprecated
61
61
  */
62
- 'searchCount'?: boolean;
62
+ 'hitCount'?: boolean;
63
63
  /**
64
64
  *
65
65
  * @type {number}
@@ -0,0 +1,105 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MediaDTO } from './media-dto';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SafetySmartFireRecordGizoneDTO
24
+ */
25
+ export interface SafetySmartFireRecordGizoneDTO {
26
+ /**
27
+ * 报警时间
28
+ * @type {string}
29
+ * @memberof SafetySmartFireRecordGizoneDTO
30
+ */
31
+ 'alarmTime': string;
32
+ /**
33
+ * 报警设备编码
34
+ * @type {string}
35
+ * @memberof SafetySmartFireRecordGizoneDTO
36
+ */
37
+ 'deviceCode': string;
38
+ /**
39
+ * 点位编码
40
+ * @type {string}
41
+ * @memberof SafetySmartFireRecordGizoneDTO
42
+ */
43
+ 'unitCode': string;
44
+ /**
45
+ * 报警类型
46
+ * @type {number}
47
+ * @memberof SafetySmartFireRecordGizoneDTO
48
+ */
49
+ 'alarmType': number;
50
+ /**
51
+ * 部件类型
52
+ * @type {string}
53
+ * @memberof SafetySmartFireRecordGizoneDTO
54
+ */
55
+ 'unitType'?: string;
56
+ /**
57
+ * 报警内容
58
+ * @type {string}
59
+ * @memberof SafetySmartFireRecordGizoneDTO
60
+ */
61
+ 'alarmContent': string;
62
+ /**
63
+ * 园区ID
64
+ * @type {number}
65
+ * @memberof SafetySmartFireRecordGizoneDTO
66
+ */
67
+ 'parkId': number;
68
+ /**
69
+ * 视频图片报警信息
70
+ * @type {Array<MediaDTO>}
71
+ * @memberof SafetySmartFireRecordGizoneDTO
72
+ */
73
+ 'media'?: Array<MediaDTO>;
74
+ /**
75
+ * 属性code
76
+ * @type {string}
77
+ * @memberof SafetySmartFireRecordGizoneDTO
78
+ */
79
+ 'itemCode'?: string;
80
+ /**
81
+ * 当前属性值
82
+ * @type {string}
83
+ * @memberof SafetySmartFireRecordGizoneDTO
84
+ */
85
+ 'itemValue'?: string;
86
+ /**
87
+ * 最大阈值
88
+ * @type {string}
89
+ * @memberof SafetySmartFireRecordGizoneDTO
90
+ */
91
+ 'maxValue'?: string;
92
+ /**
93
+ * 最小阈值
94
+ * @type {string}
95
+ * @memberof SafetySmartFireRecordGizoneDTO
96
+ */
97
+ 'minValue'?: string;
98
+ /**
99
+ * gizone AI 监测配置id
100
+ * @type {number}
101
+ * @memberof SafetySmartFireRecordGizoneDTO
102
+ */
103
+ 'aiMonitoringConfigId'?: number;
104
+ }
105
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.1.0-alpha.124",
3
+ "version": "4.1.0-alpha.126",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {