@alicloud/xtee20210910 2.1.1 → 2.2.0
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/dist/client.d.ts +45 -0
- package/dist/client.js +156 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CompareRuleRequest.d.ts +47 -0
- package/dist/models/CompareRuleRequest.js +64 -0
- package/dist/models/CompareRuleRequest.js.map +1 -0
- package/dist/models/CompareRuleResponse.d.ts +19 -0
- package/dist/models/CompareRuleResponse.js +69 -0
- package/dist/models/CompareRuleResponse.js.map +1 -0
- package/dist/models/CompareRuleResponseBody.d.ts +644 -0
- package/dist/models/CompareRuleResponseBody.js +222 -0
- package/dist/models/CompareRuleResponseBody.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.d.ts +63 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.js +68 -0
- package/dist/models/DescribeExpressionVariableVersionDetailRequest.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.d.ts +19 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.js +69 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponse.js.map +1 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.d.ts +214 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.js +124 -0
- package/dist/models/DescribeExpressionVariableVersionDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeSafDeOrderResponseBody.d.ts +46 -0
- package/dist/models/DescribeSafDeOrderResponseBody.js +29 -1
- package/dist/models/DescribeSafDeOrderResponseBody.js.map +1 -1
- package/dist/models/DescribeVariableVersionDetailRequest.d.ts +63 -0
- package/dist/models/DescribeVariableVersionDetailRequest.js +68 -0
- package/dist/models/DescribeVariableVersionDetailRequest.js.map +1 -0
- package/dist/models/DescribeVariableVersionDetailResponse.d.ts +19 -0
- package/dist/models/DescribeVariableVersionDetailResponse.js +69 -0
- package/dist/models/DescribeVariableVersionDetailResponse.js.map +1 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.d.ts +166 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.js +112 -0
- package/dist/models/DescribeVariableVersionDetailResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +55 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +178 -0
- package/src/models/CompareRuleRequest.ts +66 -0
- package/src/models/CompareRuleResponse.ts +40 -0
- package/src/models/CompareRuleResponseBody.ts +790 -0
- package/src/models/DescribeExpressionVariableVersionDetailRequest.ts +86 -0
- package/src/models/DescribeExpressionVariableVersionDetailResponse.ts +40 -0
- package/src/models/DescribeExpressionVariableVersionDetailResponseBody.ts +284 -0
- package/src/models/DescribeSafDeOrderResponseBody.ts +65 -0
- package/src/models/DescribeVariableVersionDetailRequest.ts +86 -0
- package/src/models/DescribeVariableVersionDetailResponse.ts +40 -0
- package/src/models/DescribeVariableVersionDetailResponseBody.ts +224 -0
- package/src/models/model.ts +15 -0
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CompareRuleResponseBodyResultObjectNewRule extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Audit ID.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 258
|
|
9
|
+
*/
|
|
10
|
+
auditId?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Authorization type.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* all
|
|
17
|
+
*/
|
|
18
|
+
authType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* Primary key ID of the rule.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 6760
|
|
25
|
+
*/
|
|
26
|
+
consoleRuleId?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* Creation type.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* NORMAL
|
|
33
|
+
*/
|
|
34
|
+
createType?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Event code.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* de_asssce8122
|
|
41
|
+
*/
|
|
42
|
+
eventCode?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* Event name.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 注册_事件
|
|
49
|
+
*/
|
|
50
|
+
eventName?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Creation time.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 1760670462000
|
|
57
|
+
*/
|
|
58
|
+
gmtCreate?: number;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* Modification time.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 1761196952000
|
|
65
|
+
*/
|
|
66
|
+
gmtModified?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* Logic of the rule expression execution.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* 1&2&3
|
|
73
|
+
*/
|
|
74
|
+
logicExpression?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Main event code.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* de_asssce8122
|
|
81
|
+
*/
|
|
82
|
+
mainEventCode?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* Memo.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 鸿蒙元服务_交费业务
|
|
89
|
+
*/
|
|
90
|
+
memo?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Returned rule action structure. Returned when the policy type is DEFAULT.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* {
|
|
97
|
+
* "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"
|
|
98
|
+
* }
|
|
99
|
+
*/
|
|
100
|
+
ruleActionMap?: {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Output actions of the rule execution. Returned when the rule type is DEFAULT.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* [
|
|
109
|
+
* {
|
|
110
|
+
* "actionType": "TAG",
|
|
111
|
+
* "code": "addDeTags",
|
|
112
|
+
* "description": "打标签",
|
|
113
|
+
* "displayType": "ACTION",
|
|
114
|
+
* "fieldType": "STRING",
|
|
115
|
+
* "inputs": [
|
|
116
|
+
* "test"
|
|
117
|
+
* ],
|
|
118
|
+
* "name": "__addDeTags__",
|
|
119
|
+
* "sourceType": "SAF",
|
|
120
|
+
* "title": "打标签",
|
|
121
|
+
* "type": "ACTION"
|
|
122
|
+
* }
|
|
123
|
+
* ]
|
|
124
|
+
*/
|
|
125
|
+
ruleActions?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* Authorization type of the rule.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* NORMAL
|
|
132
|
+
*/
|
|
133
|
+
ruleAuthType?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* DSL logic for rule execution. Returned when the rule type is DSL.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* {
|
|
140
|
+
* "elseStatement": {
|
|
141
|
+
*
|
|
142
|
+
* },
|
|
143
|
+
* "ifStatement": {
|
|
144
|
+
* "condition": {
|
|
145
|
+
* "currentId": 0,
|
|
146
|
+
* "deepCount": 1,
|
|
147
|
+
* "list": [
|
|
148
|
+
* {
|
|
149
|
+
* "sequence": 1,
|
|
150
|
+
* "left": {
|
|
151
|
+
* "displayType": "NATIVE",
|
|
152
|
+
* "code": "ip",
|
|
153
|
+
* "functionCode": "",
|
|
154
|
+
* "functionName": "",
|
|
155
|
+
* "name": "ip",
|
|
156
|
+
* "description": "IP地址",
|
|
157
|
+
* "hasRightVariable": true,
|
|
158
|
+
* "title": "IP地址",
|
|
159
|
+
* "type": "NATIVE",
|
|
160
|
+
* "fieldType": "STRING"
|
|
161
|
+
* },
|
|
162
|
+
* "currentId": 0,
|
|
163
|
+
* "deepCount": 1,
|
|
164
|
+
* "right": {
|
|
165
|
+
* "name": "192.168.1.1",
|
|
166
|
+
* "rightVariableType": "constant"
|
|
167
|
+
* },
|
|
168
|
+
* "operatorCode": "equals",
|
|
169
|
+
* "operatorName": "等于",
|
|
170
|
+
* "parentId": 0
|
|
171
|
+
* }
|
|
172
|
+
* ],
|
|
173
|
+
* "relationship": "and",
|
|
174
|
+
* "parentId": 0
|
|
175
|
+
* },
|
|
176
|
+
* "then": [
|
|
177
|
+
* {
|
|
178
|
+
* "actionType": "TAG",
|
|
179
|
+
* "displayType": "ACTION",
|
|
180
|
+
* "code": "addDeTags",
|
|
181
|
+
* "sourceType": "SAF",
|
|
182
|
+
* "inputs": [
|
|
183
|
+
* "10"
|
|
184
|
+
* ],
|
|
185
|
+
* "name": "__addDeTags__",
|
|
186
|
+
* "description": "打标签",
|
|
187
|
+
* "outputType": "const",
|
|
188
|
+
* "title": "打标签",
|
|
189
|
+
* "type": "ACTION",
|
|
190
|
+
* "fieldType": "STRING"
|
|
191
|
+
* }
|
|
192
|
+
* ],
|
|
193
|
+
* "expressions": [
|
|
194
|
+
* {
|
|
195
|
+
* "itemId": 1,
|
|
196
|
+
* "left": {
|
|
197
|
+
* "displayType": "NATIVE",
|
|
198
|
+
* "code": "ip",
|
|
199
|
+
* "functionCode": "",
|
|
200
|
+
* "functionName": "",
|
|
201
|
+
* "name": "ip",
|
|
202
|
+
* "description": "IP地址",
|
|
203
|
+
* "hasRightVariable": true,
|
|
204
|
+
* "title": "IP地址",
|
|
205
|
+
* "type": "NATIVE",
|
|
206
|
+
* "fieldType": "STRING"
|
|
207
|
+
* },
|
|
208
|
+
* "expressionName": "IP地址 等于 192.168.1.1",
|
|
209
|
+
* "rightValue": "192.168.1.1",
|
|
210
|
+
* "right": {
|
|
211
|
+
* "name": "192.168.1.1",
|
|
212
|
+
* "fieldValue": "192.168.1.1"
|
|
213
|
+
* },
|
|
214
|
+
* "operatorCode": "equals",
|
|
215
|
+
* "operatorName": "等于"
|
|
216
|
+
* }
|
|
217
|
+
* ]
|
|
218
|
+
* },
|
|
219
|
+
* "elseIfStatement": [
|
|
220
|
+
*
|
|
221
|
+
* ]
|
|
222
|
+
* }
|
|
223
|
+
*/
|
|
224
|
+
ruleBody?: string;
|
|
225
|
+
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* Policy expressions. Returned when the policy type is DEFAULT.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* [{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]
|
|
231
|
+
*/
|
|
232
|
+
ruleExpressions?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* Rule ID.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* 101793
|
|
239
|
+
*/
|
|
240
|
+
ruleId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* Rule name.
|
|
244
|
+
*
|
|
245
|
+
* @example
|
|
246
|
+
* 返回设备信息
|
|
247
|
+
*/
|
|
248
|
+
ruleName?: string;
|
|
249
|
+
/**
|
|
250
|
+
* @remarks
|
|
251
|
+
* Policy status.
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* DRAFT
|
|
255
|
+
*/
|
|
256
|
+
ruleStatus?: string;
|
|
257
|
+
/**
|
|
258
|
+
* @remarks
|
|
259
|
+
* Rule type.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* DSL
|
|
263
|
+
*/
|
|
264
|
+
ruleType?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* Primary key ID of the rule version.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* 11519
|
|
271
|
+
*/
|
|
272
|
+
ruleVersionId?: number;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* User UID.
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* 151222xxxxxxxxx
|
|
279
|
+
*/
|
|
280
|
+
userId?: number;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* Version number.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* 3
|
|
287
|
+
*/
|
|
288
|
+
version?: number;
|
|
289
|
+
static names(): {
|
|
290
|
+
[key: string]: string;
|
|
291
|
+
};
|
|
292
|
+
static types(): {
|
|
293
|
+
[key: string]: any;
|
|
294
|
+
};
|
|
295
|
+
validate(): void;
|
|
296
|
+
constructor(map?: {
|
|
297
|
+
[key: string]: any;
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
export declare class CompareRuleResponseBodyResultObjectOldRule extends $dara.Model {
|
|
301
|
+
/**
|
|
302
|
+
* @remarks
|
|
303
|
+
* Audit ID.
|
|
304
|
+
*
|
|
305
|
+
* @example
|
|
306
|
+
* 257
|
|
307
|
+
*/
|
|
308
|
+
auditId?: number;
|
|
309
|
+
/**
|
|
310
|
+
* @remarks
|
|
311
|
+
* Authorization type.
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* all
|
|
315
|
+
*/
|
|
316
|
+
authType?: string;
|
|
317
|
+
/**
|
|
318
|
+
* @remarks
|
|
319
|
+
* Primary key ID of the policy.
|
|
320
|
+
*
|
|
321
|
+
* @example
|
|
322
|
+
* 6760
|
|
323
|
+
*/
|
|
324
|
+
consoleRuleId?: number;
|
|
325
|
+
/**
|
|
326
|
+
* @remarks
|
|
327
|
+
* Creation type.
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* NORMAL
|
|
331
|
+
*/
|
|
332
|
+
createType?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @remarks
|
|
335
|
+
* Event code.
|
|
336
|
+
*
|
|
337
|
+
* @example
|
|
338
|
+
* de_asssce8122
|
|
339
|
+
*/
|
|
340
|
+
eventCode?: string;
|
|
341
|
+
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* Event name.
|
|
344
|
+
*
|
|
345
|
+
* @example
|
|
346
|
+
* 注册_事件
|
|
347
|
+
*/
|
|
348
|
+
eventName?: string;
|
|
349
|
+
/**
|
|
350
|
+
* @remarks
|
|
351
|
+
* Creation time.
|
|
352
|
+
*
|
|
353
|
+
* @example
|
|
354
|
+
* 1760670462000
|
|
355
|
+
*/
|
|
356
|
+
gmtCreate?: number;
|
|
357
|
+
/**
|
|
358
|
+
* @remarks
|
|
359
|
+
* Modification time.
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* 1760670462000
|
|
363
|
+
*/
|
|
364
|
+
gmtModified?: number;
|
|
365
|
+
/**
|
|
366
|
+
* @remarks
|
|
367
|
+
* Execution logic of the policy expression.
|
|
368
|
+
*
|
|
369
|
+
* @example
|
|
370
|
+
* 1&2
|
|
371
|
+
*/
|
|
372
|
+
logicExpression?: string;
|
|
373
|
+
/**
|
|
374
|
+
* @remarks
|
|
375
|
+
* Main event code.
|
|
376
|
+
*
|
|
377
|
+
* @example
|
|
378
|
+
* de_asssce8122
|
|
379
|
+
*/
|
|
380
|
+
mainEventCode?: string;
|
|
381
|
+
/**
|
|
382
|
+
* @remarks
|
|
383
|
+
* Description.
|
|
384
|
+
*
|
|
385
|
+
* @example
|
|
386
|
+
* 鸿蒙元服务_交费业务
|
|
387
|
+
*/
|
|
388
|
+
memo?: string;
|
|
389
|
+
/**
|
|
390
|
+
* @remarks
|
|
391
|
+
* Returned rule action structure. Returned when the policy type is DEFAULT.
|
|
392
|
+
*
|
|
393
|
+
* @example
|
|
394
|
+
* {
|
|
395
|
+
* "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"
|
|
396
|
+
* }
|
|
397
|
+
*/
|
|
398
|
+
ruleActionMap?: {
|
|
399
|
+
[key: string]: any;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* @remarks
|
|
403
|
+
* Policy execution output actions. Returned when the policy type is DEFAULT.
|
|
404
|
+
*
|
|
405
|
+
* @example
|
|
406
|
+
* [
|
|
407
|
+
* {
|
|
408
|
+
* "actionType": "TAG",
|
|
409
|
+
* "code": "addDeTags",
|
|
410
|
+
* "description": "打标签",
|
|
411
|
+
* "displayType": "ACTION",
|
|
412
|
+
* "fieldType": "STRING",
|
|
413
|
+
* "inputs": [
|
|
414
|
+
* "test"
|
|
415
|
+
* ],
|
|
416
|
+
* "name": "__addDeTags__",
|
|
417
|
+
* "sourceType": "SAF",
|
|
418
|
+
* "title": "打标签",
|
|
419
|
+
* "type": "ACTION"
|
|
420
|
+
* }
|
|
421
|
+
* ]
|
|
422
|
+
*/
|
|
423
|
+
ruleActions?: string;
|
|
424
|
+
/**
|
|
425
|
+
* @remarks
|
|
426
|
+
* Policy authorization type.
|
|
427
|
+
*
|
|
428
|
+
* @example
|
|
429
|
+
* NORMAL
|
|
430
|
+
*/
|
|
431
|
+
ruleAuthType?: string;
|
|
432
|
+
/**
|
|
433
|
+
* @remarks
|
|
434
|
+
* DSL policy execution logic. Returned when the policy type is DSL.
|
|
435
|
+
*
|
|
436
|
+
* @example
|
|
437
|
+
* {
|
|
438
|
+
* "elseStatement": {
|
|
439
|
+
*
|
|
440
|
+
* },
|
|
441
|
+
* "ifStatement": {
|
|
442
|
+
* "condition": {
|
|
443
|
+
* "currentId": 0,
|
|
444
|
+
* "deepCount": 1,
|
|
445
|
+
* "list": [
|
|
446
|
+
* {
|
|
447
|
+
* "sequence": 1,
|
|
448
|
+
* "left": {
|
|
449
|
+
* "displayType": "NATIVE",
|
|
450
|
+
* "code": "ip",
|
|
451
|
+
* "functionCode": "",
|
|
452
|
+
* "functionName": "",
|
|
453
|
+
* "name": "ip",
|
|
454
|
+
* "description": "IP地址",
|
|
455
|
+
* "hasRightVariable": true,
|
|
456
|
+
* "title": "IP地址",
|
|
457
|
+
* "type": "NATIVE",
|
|
458
|
+
* "fieldType": "STRING"
|
|
459
|
+
* },
|
|
460
|
+
* "currentId": 0,
|
|
461
|
+
* "deepCount": 1,
|
|
462
|
+
* "right": {
|
|
463
|
+
* "name": "192.168.1.1",
|
|
464
|
+
* "rightVariableType": "constant"
|
|
465
|
+
* },
|
|
466
|
+
* "operatorCode": "equals",
|
|
467
|
+
* "operatorName": "等于",
|
|
468
|
+
* "parentId": 0
|
|
469
|
+
* }
|
|
470
|
+
* ],
|
|
471
|
+
* "relationship": "and",
|
|
472
|
+
* "parentId": 0
|
|
473
|
+
* },
|
|
474
|
+
* "then": [
|
|
475
|
+
* {
|
|
476
|
+
* "actionType": "TAG",
|
|
477
|
+
* "displayType": "ACTION",
|
|
478
|
+
* "code": "addDeTags",
|
|
479
|
+
* "sourceType": "SAF",
|
|
480
|
+
* "inputs": [
|
|
481
|
+
* "10"
|
|
482
|
+
* ],
|
|
483
|
+
* "name": "__addDeTags__",
|
|
484
|
+
* "description": "打标签",
|
|
485
|
+
* "outputType": "const",
|
|
486
|
+
* "title": "打标签",
|
|
487
|
+
* "type": "ACTION",
|
|
488
|
+
* "fieldType": "STRING"
|
|
489
|
+
* }
|
|
490
|
+
* ],
|
|
491
|
+
* "expressions": [
|
|
492
|
+
* {
|
|
493
|
+
* "itemId": 1,
|
|
494
|
+
* "left": {
|
|
495
|
+
* "displayType": "NATIVE",
|
|
496
|
+
* "code": "ip",
|
|
497
|
+
* "functionCode": "",
|
|
498
|
+
* "functionName": "",
|
|
499
|
+
* "name": "ip",
|
|
500
|
+
* "description": "IP地址",
|
|
501
|
+
* "hasRightVariable": true,
|
|
502
|
+
* "title": "IP地址",
|
|
503
|
+
* "type": "NATIVE",
|
|
504
|
+
* "fieldType": "STRING"
|
|
505
|
+
* },
|
|
506
|
+
* "expressionName": "IP地址 等于 192.168.1.1",
|
|
507
|
+
* "rightValue": "192.168.1.1",
|
|
508
|
+
* "right": {
|
|
509
|
+
* "name": "192.168.1.1",
|
|
510
|
+
* "fieldValue": "192.168.1.1"
|
|
511
|
+
* },
|
|
512
|
+
* "operatorCode": "equals",
|
|
513
|
+
* "operatorName": "等于"
|
|
514
|
+
* }
|
|
515
|
+
* ]
|
|
516
|
+
* },
|
|
517
|
+
* "elseIfStatement": [
|
|
518
|
+
*
|
|
519
|
+
* ]
|
|
520
|
+
* }
|
|
521
|
+
*/
|
|
522
|
+
ruleBody?: string;
|
|
523
|
+
/**
|
|
524
|
+
* @remarks
|
|
525
|
+
* Policy expression. Returned when the policy type is DEFAULT.
|
|
526
|
+
*
|
|
527
|
+
* @example
|
|
528
|
+
* [{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]
|
|
529
|
+
*/
|
|
530
|
+
ruleExpressions?: string;
|
|
531
|
+
/**
|
|
532
|
+
* @remarks
|
|
533
|
+
* Policy ID.
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* 101793
|
|
537
|
+
*/
|
|
538
|
+
ruleId?: string;
|
|
539
|
+
/**
|
|
540
|
+
* @remarks
|
|
541
|
+
* Policy name.
|
|
542
|
+
*
|
|
543
|
+
* @example
|
|
544
|
+
* 返回设备信息
|
|
545
|
+
*/
|
|
546
|
+
ruleName?: string;
|
|
547
|
+
/**
|
|
548
|
+
* @remarks
|
|
549
|
+
* Policy status.
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
552
|
+
* RUNNING
|
|
553
|
+
*/
|
|
554
|
+
ruleStatus?: string;
|
|
555
|
+
/**
|
|
556
|
+
* @remarks
|
|
557
|
+
* Policy type.
|
|
558
|
+
*
|
|
559
|
+
* @example
|
|
560
|
+
* DSL
|
|
561
|
+
*/
|
|
562
|
+
ruleType?: string;
|
|
563
|
+
/**
|
|
564
|
+
* @remarks
|
|
565
|
+
* Primary key ID of the policy version.
|
|
566
|
+
*
|
|
567
|
+
* @example
|
|
568
|
+
* 11518
|
|
569
|
+
*/
|
|
570
|
+
ruleVersionId?: number;
|
|
571
|
+
/**
|
|
572
|
+
* @remarks
|
|
573
|
+
* User UID.
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* 151222xxxxxxxxx
|
|
577
|
+
*/
|
|
578
|
+
userId?: number;
|
|
579
|
+
/**
|
|
580
|
+
* @remarks
|
|
581
|
+
* Version number.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
* 2
|
|
585
|
+
*/
|
|
586
|
+
version?: number;
|
|
587
|
+
static names(): {
|
|
588
|
+
[key: string]: string;
|
|
589
|
+
};
|
|
590
|
+
static types(): {
|
|
591
|
+
[key: string]: any;
|
|
592
|
+
};
|
|
593
|
+
validate(): void;
|
|
594
|
+
constructor(map?: {
|
|
595
|
+
[key: string]: any;
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
export declare class CompareRuleResponseBodyResultObject extends $dara.Model {
|
|
599
|
+
/**
|
|
600
|
+
* @remarks
|
|
601
|
+
* New policy object.
|
|
602
|
+
*/
|
|
603
|
+
newRule?: CompareRuleResponseBodyResultObjectNewRule;
|
|
604
|
+
/**
|
|
605
|
+
* @remarks
|
|
606
|
+
* Old policy object.
|
|
607
|
+
*/
|
|
608
|
+
oldRule?: CompareRuleResponseBodyResultObjectOldRule;
|
|
609
|
+
static names(): {
|
|
610
|
+
[key: string]: string;
|
|
611
|
+
};
|
|
612
|
+
static types(): {
|
|
613
|
+
[key: string]: any;
|
|
614
|
+
};
|
|
615
|
+
validate(): void;
|
|
616
|
+
constructor(map?: {
|
|
617
|
+
[key: string]: any;
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
export declare class CompareRuleResponseBody extends $dara.Model {
|
|
621
|
+
/**
|
|
622
|
+
* @remarks
|
|
623
|
+
* Request ID.
|
|
624
|
+
*
|
|
625
|
+
* @example
|
|
626
|
+
* A32FE941-35F2-5378-B37C-4B8FDB16F094
|
|
627
|
+
*/
|
|
628
|
+
requestId?: string;
|
|
629
|
+
/**
|
|
630
|
+
* @remarks
|
|
631
|
+
* Returned object.
|
|
632
|
+
*/
|
|
633
|
+
resultObject?: CompareRuleResponseBodyResultObject;
|
|
634
|
+
static names(): {
|
|
635
|
+
[key: string]: string;
|
|
636
|
+
};
|
|
637
|
+
static types(): {
|
|
638
|
+
[key: string]: any;
|
|
639
|
+
};
|
|
640
|
+
validate(): void;
|
|
641
|
+
constructor(map?: {
|
|
642
|
+
[key: string]: any;
|
|
643
|
+
});
|
|
644
|
+
}
|