losant_rest 1.14.0 → 1.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/docs/_schemas.md +10590 -3153
- data/docs/devices.md +40 -0
- data/docs/embeddedDeployment.md +49 -0
- data/docs/embeddedDeployments.md +215 -0
- data/docs/flow.md +2 -2
- data/docs/flows.md +2 -2
- data/docs/instance.md +4 -2
- data/lib/losant_rest/application.rb +1 -1
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_certificate.rb +1 -1
- data/lib/losant_rest/application_certificate_authorities.rb +1 -1
- data/lib/losant_rest/application_certificate_authority.rb +1 -1
- data/lib/losant_rest/application_certificates.rb +1 -1
- data/lib/losant_rest/application_dashboard.rb +1 -1
- data/lib/losant_rest/application_dashboards.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -1
- data/lib/losant_rest/application_template.rb +1 -1
- data/lib/losant_rest/application_templates.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +11 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +1 -1
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +50 -1
- data/lib/losant_rest/edge_deployment.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/embedded_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployments.rb +280 -0
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +1 -1
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +1 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +3 -3
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +3 -3
- data/lib/losant_rest/instance.rb +2 -1
- data/lib/losant_rest/instance_api_token.rb +1 -1
- data/lib/losant_rest/instance_api_tokens.rb +1 -1
- data/lib/losant_rest/instance_member.rb +1 -1
- data/lib/losant_rest/instance_members.rb +1 -1
- data/lib/losant_rest/instance_org.rb +1 -1
- data/lib/losant_rest/instance_org_invite.rb +1 -1
- data/lib/losant_rest/instance_org_invites.rb +1 -1
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +1 -1
- data/lib/losant_rest/instance_orgs.rb +1 -1
- data/lib/losant_rest/instances.rb +1 -1
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +1 -1
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +1 -1
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/user_api_token.rb +1 -1
- data/lib/losant_rest/user_api_tokens.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/lib/losant_rest.rb +3 -1
- data/schemas/apiTokenPost.json +9 -0
- data/schemas/application.json +32 -32
- data/schemas/applicationCreationByTemplateResult.json +32 -32
- data/schemas/applicationDashboardPost.json +8 -5
- data/schemas/applicationPatch.json +13 -13
- data/schemas/applicationPost.json +13 -13
- data/schemas/applicationTemplate.json +16 -16
- data/schemas/applicationTemplates.json +16 -16
- data/schemas/applications.json +32 -32
- data/schemas/authedDevice.json +2 -1
- data/schemas/dashboard.json +8 -5
- data/schemas/dashboardPatch.json +8 -5
- data/schemas/dashboardPost.json +8 -5
- data/schemas/dashboardSendReport.json +6 -6
- data/schemas/dashboards.json +8 -5
- data/schemas/dataTableRowsDelete.json +1 -1
- data/schemas/device.json +2 -1
- data/schemas/deviceClassFilter.json +4 -2
- data/schemas/deviceNamesResponse.json +36 -0
- data/schemas/devicePatch.json +2 -1
- data/schemas/devicePost.json +2 -1
- data/schemas/deviceRecipe.json +2 -1
- data/schemas/deviceRecipePatch.json +2 -1
- data/schemas/deviceRecipePost.json +2 -1
- data/schemas/deviceRecipes.json +2 -1
- data/schemas/devices.json +4 -2
- data/schemas/devicesPatch.json +4 -2
- data/schemas/edgeDeployment.json +4 -0
- data/schemas/edgeDeployments.json +4 -0
- data/schemas/embeddedDeployment.json +179 -0
- data/schemas/embeddedDeploymentExport.json +44 -0
- data/schemas/embeddedDeploymentRelease.json +58 -0
- data/schemas/embeddedDeploymentRemove.json +25 -0
- data/schemas/embeddedDeploymentReplace.json +29 -0
- data/schemas/embeddedDeployments.json +212 -0
- data/schemas/eventsDeleted.json +1 -1
- data/schemas/eventsExport.json +4 -0
- data/schemas/experienceEndpoint.json +6 -8
- data/schemas/experienceEndpointPatch.json +6 -8
- data/schemas/experienceEndpointPost.json +6 -8
- data/schemas/experienceEndpoints.json +6 -8
- data/schemas/experienceLinkedResources.json +1292 -167
- data/schemas/flow.json +391 -15
- data/schemas/flowPatch.json +390 -15
- data/schemas/flowPost.json +391 -15
- data/schemas/flowVersion.json +821 -71
- data/schemas/flowVersionPost.json +390 -15
- data/schemas/flowVersions.json +821 -71
- data/schemas/flows.json +392 -15
- data/schemas/flowsImportPost.json +821 -70
- data/schemas/flowsImportResult.json +1392 -266
- data/schemas/githubLogin.json +9 -0
- data/schemas/historicalSummary.json +87 -74
- data/schemas/instance.json +92 -79
- data/schemas/instanceMember.json +6 -1
- data/schemas/instanceMembers.json +6 -1
- data/schemas/instanceOrg.json +87 -74
- data/schemas/instanceOrgMember.json +6 -1
- data/schemas/instanceOrgPatch.json +64 -26
- data/schemas/instanceOrgPost.json +65 -27
- data/schemas/instanceOrgs.json +87 -74
- data/schemas/instancePatch.json +2 -2
- data/schemas/integration.json +1 -1
- data/schemas/integrationPatch.json +1 -1
- data/schemas/integrationPost.json +1 -1
- data/schemas/integrations.json +1 -1
- data/schemas/me.json +104 -92
- data/schemas/mePatch.json +0 -1
- data/schemas/notebook.json +2 -1
- data/schemas/notebookExecutionLogs.json +2 -1
- data/schemas/notebookPatch.json +2 -1
- data/schemas/notebookPost.json +2 -1
- data/schemas/notebooks.json +2 -1
- data/schemas/org.json +115 -97
- data/schemas/orgs.json +115 -97
- data/schemas/userCredentials.json +9 -0
- data/schemas/userPost.json +9 -1
- metadata +17 -6
@@ -60,6 +60,7 @@
|
|
60
60
|
"enum": [
|
61
61
|
"cloud",
|
62
62
|
"edge",
|
63
|
+
"embedded",
|
63
64
|
"experience",
|
64
65
|
"customNode"
|
65
66
|
]
|
@@ -89,7 +90,6 @@
|
|
89
90
|
"onBoot",
|
90
91
|
"onConnect",
|
91
92
|
"onDisconnect",
|
92
|
-
"request",
|
93
93
|
"udp",
|
94
94
|
"webhook"
|
95
95
|
]
|
@@ -114,6 +114,7 @@
|
|
114
114
|
"deviceCommand",
|
115
115
|
"deviceIdsTagsConnect",
|
116
116
|
"deviceIdsTagsDisconnect",
|
117
|
+
"eeaInit",
|
117
118
|
"flowError",
|
118
119
|
"googlePubSub",
|
119
120
|
"meridian",
|
@@ -123,7 +124,6 @@
|
|
123
124
|
"onConnect",
|
124
125
|
"onDisconnect",
|
125
126
|
"particle",
|
126
|
-
"request",
|
127
127
|
"udp",
|
128
128
|
"webhook"
|
129
129
|
]
|
@@ -178,7 +178,8 @@
|
|
178
178
|
"type": "array",
|
179
179
|
"items": {
|
180
180
|
"type": "string",
|
181
|
-
"maxLength":
|
181
|
+
"maxLength": 48,
|
182
|
+
"minLength": 1
|
182
183
|
},
|
183
184
|
"maxItems": 100
|
184
185
|
},
|
@@ -282,7 +283,8 @@
|
|
282
283
|
"type": "array",
|
283
284
|
"items": {
|
284
285
|
"type": "string",
|
285
|
-
"maxLength":
|
286
|
+
"maxLength": 48,
|
287
|
+
"minLength": 1
|
286
288
|
},
|
287
289
|
"maxItems": 100
|
288
290
|
},
|
@@ -426,7 +428,8 @@
|
|
426
428
|
"type": "array",
|
427
429
|
"items": {
|
428
430
|
"type": "string",
|
429
|
-
"maxLength":
|
431
|
+
"maxLength": 48,
|
432
|
+
"minLength": 1
|
430
433
|
},
|
431
434
|
"maxItems": 100
|
432
435
|
},
|
@@ -522,8 +525,101 @@
|
|
522
525
|
"type": "array",
|
523
526
|
"items": {
|
524
527
|
"type": "string",
|
528
|
+
"maxLength": 48,
|
529
|
+
"minLength": 1
|
530
|
+
},
|
531
|
+
"maxItems": 100
|
532
|
+
},
|
533
|
+
"maxItems": 100
|
534
|
+
}
|
535
|
+
},
|
536
|
+
"required": [
|
537
|
+
"type"
|
538
|
+
],
|
539
|
+
"additionalProperties": false
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"type": "object",
|
543
|
+
"properties": {
|
544
|
+
"key": {
|
545
|
+
"type": "string",
|
546
|
+
"maxLength": 1024
|
547
|
+
},
|
548
|
+
"type": {
|
549
|
+
"type": "string",
|
550
|
+
"enum": [
|
551
|
+
"direct"
|
552
|
+
]
|
553
|
+
},
|
554
|
+
"config": {
|
555
|
+
"type": "object",
|
556
|
+
"properties": {},
|
557
|
+
"additionalProperties": false
|
558
|
+
},
|
559
|
+
"meta": {
|
560
|
+
"type": "object",
|
561
|
+
"properties": {
|
562
|
+
"category": {
|
563
|
+
"type": "string",
|
564
|
+
"enum": [
|
565
|
+
"trigger"
|
566
|
+
]
|
567
|
+
},
|
568
|
+
"name": {
|
569
|
+
"type": "string",
|
570
|
+
"enum": [
|
571
|
+
"direct"
|
572
|
+
]
|
573
|
+
},
|
574
|
+
"label": {
|
575
|
+
"type": "string",
|
576
|
+
"minLength": 1,
|
525
577
|
"maxLength": 255
|
526
578
|
},
|
579
|
+
"x": {
|
580
|
+
"type": "number"
|
581
|
+
},
|
582
|
+
"y": {
|
583
|
+
"type": "number"
|
584
|
+
},
|
585
|
+
"uiId": {
|
586
|
+
"type": "string",
|
587
|
+
"maxLength": 48
|
588
|
+
},
|
589
|
+
"description": {
|
590
|
+
"type": "string",
|
591
|
+
"maxLength": 32767
|
592
|
+
},
|
593
|
+
"icon": {
|
594
|
+
"type": "string",
|
595
|
+
"maxLength": 1024
|
596
|
+
},
|
597
|
+
"color": {
|
598
|
+
"type": "string",
|
599
|
+
"maxLength": 1024
|
600
|
+
},
|
601
|
+
"inputCount": {
|
602
|
+
"type": "number"
|
603
|
+
},
|
604
|
+
"outputCount": {
|
605
|
+
"type": "number"
|
606
|
+
},
|
607
|
+
"id": {
|
608
|
+
"type": "string",
|
609
|
+
"maxLength": 48
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"additionalProperties": false
|
613
|
+
},
|
614
|
+
"outputIds": {
|
615
|
+
"type": "array",
|
616
|
+
"items": {
|
617
|
+
"type": "array",
|
618
|
+
"items": {
|
619
|
+
"type": "string",
|
620
|
+
"maxLength": 48,
|
621
|
+
"minLength": 1
|
622
|
+
},
|
527
623
|
"maxItems": 100
|
528
624
|
},
|
529
625
|
"maxItems": 100
|
@@ -619,7 +715,8 @@
|
|
619
715
|
"type": "array",
|
620
716
|
"items": {
|
621
717
|
"type": "string",
|
622
|
-
"maxLength":
|
718
|
+
"maxLength": 48,
|
719
|
+
"minLength": 1
|
623
720
|
},
|
624
721
|
"maxItems": 100
|
625
722
|
},
|
@@ -724,7 +821,8 @@
|
|
724
821
|
"type": "array",
|
725
822
|
"items": {
|
726
823
|
"type": "string",
|
727
|
-
"maxLength":
|
824
|
+
"maxLength": 48,
|
825
|
+
"minLength": 1
|
728
826
|
},
|
729
827
|
"maxItems": 100
|
730
828
|
},
|
@@ -832,7 +930,8 @@
|
|
832
930
|
"type": "array",
|
833
931
|
"items": {
|
834
932
|
"type": "string",
|
835
|
-
"maxLength":
|
933
|
+
"maxLength": 48,
|
934
|
+
"minLength": 1
|
836
935
|
},
|
837
936
|
"maxItems": 100
|
838
937
|
},
|
@@ -943,7 +1042,8 @@
|
|
943
1042
|
"type": "array",
|
944
1043
|
"items": {
|
945
1044
|
"type": "string",
|
946
|
-
"maxLength":
|
1045
|
+
"maxLength": 48,
|
1046
|
+
"minLength": 1
|
947
1047
|
},
|
948
1048
|
"maxItems": 100
|
949
1049
|
},
|
@@ -1044,7 +1144,8 @@
|
|
1044
1144
|
"type": "array",
|
1045
1145
|
"items": {
|
1046
1146
|
"type": "string",
|
1047
|
-
"maxLength":
|
1147
|
+
"maxLength": 48,
|
1148
|
+
"minLength": 1
|
1048
1149
|
},
|
1049
1150
|
"maxItems": 100
|
1050
1151
|
},
|
@@ -1147,7 +1248,8 @@
|
|
1147
1248
|
"type": "array",
|
1148
1249
|
"items": {
|
1149
1250
|
"type": "string",
|
1150
|
-
"maxLength":
|
1251
|
+
"maxLength": 48,
|
1252
|
+
"minLength": 1
|
1151
1253
|
},
|
1152
1254
|
"maxItems": 100
|
1153
1255
|
},
|
@@ -1287,7 +1389,8 @@
|
|
1287
1389
|
"type": "array",
|
1288
1390
|
"items": {
|
1289
1391
|
"type": "string",
|
1290
|
-
"maxLength":
|
1392
|
+
"maxLength": 48,
|
1393
|
+
"minLength": 1
|
1291
1394
|
},
|
1292
1395
|
"maxItems": 100
|
1293
1396
|
},
|
@@ -1410,7 +1513,8 @@
|
|
1410
1513
|
"type": "array",
|
1411
1514
|
"items": {
|
1412
1515
|
"type": "string",
|
1413
|
-
"maxLength":
|
1516
|
+
"maxLength": 48,
|
1517
|
+
"minLength": 1
|
1414
1518
|
},
|
1415
1519
|
"maxItems": 100
|
1416
1520
|
},
|
@@ -1432,55 +1536,27 @@
|
|
1432
1536
|
"type": {
|
1433
1537
|
"type": "string",
|
1434
1538
|
"enum": [
|
1435
|
-
"
|
1539
|
+
"request"
|
1436
1540
|
]
|
1437
1541
|
},
|
1438
1542
|
"config": {
|
1439
1543
|
"type": "object",
|
1440
1544
|
"properties": {
|
1441
|
-
"
|
1442
|
-
"type": "string",
|
1443
|
-
"maxLength": 1024
|
1444
|
-
},
|
1445
|
-
"baudRate": {
|
1446
|
-
"type": "number"
|
1447
|
-
},
|
1448
|
-
"dataBits": {
|
1449
|
-
"type": "number"
|
1450
|
-
},
|
1451
|
-
"stopBits": {
|
1452
|
-
"type": "number"
|
1453
|
-
},
|
1454
|
-
"parity": {
|
1545
|
+
"method": {
|
1455
1546
|
"type": "string",
|
1456
|
-
"
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1547
|
+
"enum": [
|
1548
|
+
"*",
|
1549
|
+
"delete",
|
1550
|
+
"get",
|
1551
|
+
"options",
|
1552
|
+
"patch",
|
1553
|
+
"post",
|
1554
|
+
"put"
|
1555
|
+
]
|
1464
1556
|
},
|
1465
|
-
"
|
1557
|
+
"route": {
|
1466
1558
|
"type": "string",
|
1467
1559
|
"maxLength": 1024
|
1468
|
-
},
|
1469
|
-
"writeOnOpenEncoding": {
|
1470
|
-
"type": "string",
|
1471
|
-
"maxLength": 48
|
1472
|
-
},
|
1473
|
-
"byteLength": {
|
1474
|
-
"type": "string",
|
1475
|
-
"maxLength": 48
|
1476
|
-
},
|
1477
|
-
"delimiter": {
|
1478
|
-
"type": "string",
|
1479
|
-
"maxLength": 48
|
1480
|
-
},
|
1481
|
-
"delimiterEncoding": {
|
1482
|
-
"type": "string",
|
1483
|
-
"maxLength": 48
|
1484
1560
|
}
|
1485
1561
|
},
|
1486
1562
|
"additionalProperties": false
|
@@ -1497,7 +1573,7 @@
|
|
1497
1573
|
"name": {
|
1498
1574
|
"type": "string",
|
1499
1575
|
"enum": [
|
1500
|
-
"
|
1576
|
+
"request"
|
1501
1577
|
]
|
1502
1578
|
},
|
1503
1579
|
"label": {
|
@@ -1533,16 +1609,13 @@
|
|
1533
1609
|
"outputCount": {
|
1534
1610
|
"type": "number"
|
1535
1611
|
},
|
1536
|
-
"
|
1612
|
+
"triggerId": {
|
1537
1613
|
"type": "string",
|
1538
1614
|
"maxLength": 48
|
1539
1615
|
},
|
1540
|
-
"
|
1616
|
+
"id": {
|
1541
1617
|
"type": "string",
|
1542
|
-
"
|
1543
|
-
"byteLength",
|
1544
|
-
"delimiter"
|
1545
|
-
]
|
1618
|
+
"maxLength": 48
|
1546
1619
|
}
|
1547
1620
|
},
|
1548
1621
|
"additionalProperties": false
|
@@ -1553,7 +1626,8 @@
|
|
1553
1626
|
"type": "array",
|
1554
1627
|
"items": {
|
1555
1628
|
"type": "string",
|
1556
|
-
"maxLength":
|
1629
|
+
"maxLength": 48,
|
1630
|
+
"minLength": 1
|
1557
1631
|
},
|
1558
1632
|
"maxItems": 100
|
1559
1633
|
},
|
@@ -1575,22 +1649,55 @@
|
|
1575
1649
|
"type": {
|
1576
1650
|
"type": "string",
|
1577
1651
|
"enum": [
|
1578
|
-
"
|
1652
|
+
"serial"
|
1579
1653
|
]
|
1580
1654
|
},
|
1581
1655
|
"config": {
|
1582
1656
|
"type": "object",
|
1583
1657
|
"properties": {
|
1584
|
-
"
|
1658
|
+
"path": {
|
1659
|
+
"type": "string",
|
1660
|
+
"maxLength": 1024
|
1661
|
+
},
|
1662
|
+
"baudRate": {
|
1585
1663
|
"type": "number"
|
1586
1664
|
},
|
1587
|
-
"
|
1665
|
+
"dataBits": {
|
1666
|
+
"type": "number"
|
1667
|
+
},
|
1668
|
+
"stopBits": {
|
1669
|
+
"type": "number"
|
1670
|
+
},
|
1671
|
+
"parity": {
|
1588
1672
|
"type": "string",
|
1589
|
-
"maxLength":
|
1673
|
+
"maxLength": 8
|
1590
1674
|
},
|
1591
|
-
"
|
1675
|
+
"rtscts": {
|
1676
|
+
"type": "boolean"
|
1677
|
+
},
|
1678
|
+
"encoding": {
|
1592
1679
|
"type": "string",
|
1593
|
-
"maxLength":
|
1680
|
+
"maxLength": 48
|
1681
|
+
},
|
1682
|
+
"writeOnOpen": {
|
1683
|
+
"type": "string",
|
1684
|
+
"maxLength": 1024
|
1685
|
+
},
|
1686
|
+
"writeOnOpenEncoding": {
|
1687
|
+
"type": "string",
|
1688
|
+
"maxLength": 48
|
1689
|
+
},
|
1690
|
+
"byteLength": {
|
1691
|
+
"type": "string",
|
1692
|
+
"maxLength": 48
|
1693
|
+
},
|
1694
|
+
"delimiter": {
|
1695
|
+
"type": "string",
|
1696
|
+
"maxLength": 48
|
1697
|
+
},
|
1698
|
+
"delimiterEncoding": {
|
1699
|
+
"type": "string",
|
1700
|
+
"maxLength": 48
|
1594
1701
|
}
|
1595
1702
|
},
|
1596
1703
|
"additionalProperties": false
|
@@ -1607,7 +1714,7 @@
|
|
1607
1714
|
"name": {
|
1608
1715
|
"type": "string",
|
1609
1716
|
"enum": [
|
1610
|
-
"
|
1717
|
+
"serial"
|
1611
1718
|
]
|
1612
1719
|
},
|
1613
1720
|
"label": {
|
@@ -1647,28 +1754,12 @@
|
|
1647
1754
|
"type": "string",
|
1648
1755
|
"maxLength": 48
|
1649
1756
|
},
|
1650
|
-
"
|
1757
|
+
"parseBy": {
|
1651
1758
|
"type": "string",
|
1652
1759
|
"enum": [
|
1653
|
-
"
|
1654
|
-
"
|
1655
|
-
"cron"
|
1760
|
+
"byteLength",
|
1761
|
+
"delimiter"
|
1656
1762
|
]
|
1657
|
-
},
|
1658
|
-
"timeAt": {
|
1659
|
-
"type": "string",
|
1660
|
-
"maxLength": 255
|
1661
|
-
},
|
1662
|
-
"timezone": {
|
1663
|
-
"type": "string",
|
1664
|
-
"maxLength": 255
|
1665
|
-
},
|
1666
|
-
"weekdays": {
|
1667
|
-
"type": "array",
|
1668
|
-
"maxItems": 7,
|
1669
|
-
"items": {
|
1670
|
-
"type": "number"
|
1671
|
-
}
|
1672
1763
|
}
|
1673
1764
|
},
|
1674
1765
|
"additionalProperties": false
|
@@ -1679,7 +1770,8 @@
|
|
1679
1770
|
"type": "array",
|
1680
1771
|
"items": {
|
1681
1772
|
"type": "string",
|
1682
|
-
"maxLength":
|
1773
|
+
"maxLength": 48,
|
1774
|
+
"minLength": 1
|
1683
1775
|
},
|
1684
1776
|
"maxItems": 100
|
1685
1777
|
},
|
@@ -1701,11 +1793,75 @@
|
|
1701
1793
|
"type": {
|
1702
1794
|
"type": "string",
|
1703
1795
|
"enum": [
|
1704
|
-
"
|
1796
|
+
"snmpTrap"
|
1705
1797
|
]
|
1706
1798
|
},
|
1707
1799
|
"config": {
|
1708
1800
|
"type": "object",
|
1801
|
+
"properties": {
|
1802
|
+
"udpPort": {
|
1803
|
+
"type": "string",
|
1804
|
+
"maxLength": 5
|
1805
|
+
},
|
1806
|
+
"snmpTrapConfig": {
|
1807
|
+
"type": "object",
|
1808
|
+
"properties": {
|
1809
|
+
"community": {
|
1810
|
+
"type": "string",
|
1811
|
+
"maxLength": 1024
|
1812
|
+
},
|
1813
|
+
"user": {
|
1814
|
+
"type": "object",
|
1815
|
+
"properties": {
|
1816
|
+
"name": {
|
1817
|
+
"type": "string",
|
1818
|
+
"maxLength": 1024
|
1819
|
+
},
|
1820
|
+
"securityLevel": {
|
1821
|
+
"type": "string",
|
1822
|
+
"enum": [
|
1823
|
+
"none",
|
1824
|
+
"auth",
|
1825
|
+
"authAndEncrypt"
|
1826
|
+
]
|
1827
|
+
},
|
1828
|
+
"authMethod": {
|
1829
|
+
"type": "string",
|
1830
|
+
"enum": [
|
1831
|
+
"sha",
|
1832
|
+
"md5"
|
1833
|
+
]
|
1834
|
+
},
|
1835
|
+
"authKey": {
|
1836
|
+
"type": "string",
|
1837
|
+
"maxLength": 1024
|
1838
|
+
},
|
1839
|
+
"encryptionMethod": {
|
1840
|
+
"type": "string",
|
1841
|
+
"enum": [
|
1842
|
+
"aes",
|
1843
|
+
"des"
|
1844
|
+
]
|
1845
|
+
},
|
1846
|
+
"encryptionKey": {
|
1847
|
+
"type": "string",
|
1848
|
+
"maxLength": 1024
|
1849
|
+
}
|
1850
|
+
},
|
1851
|
+
"required": [
|
1852
|
+
"name",
|
1853
|
+
"securityLevel"
|
1854
|
+
],
|
1855
|
+
"additionalProperties": false
|
1856
|
+
}
|
1857
|
+
},
|
1858
|
+
"additionalProperties": false
|
1859
|
+
}
|
1860
|
+
},
|
1861
|
+
"required": [
|
1862
|
+
"udpPort",
|
1863
|
+
"snmpTrapConfig"
|
1864
|
+
],
|
1709
1865
|
"additionalProperties": false
|
1710
1866
|
},
|
1711
1867
|
"meta": {
|
@@ -1720,7 +1876,225 @@
|
|
1720
1876
|
"name": {
|
1721
1877
|
"type": "string",
|
1722
1878
|
"enum": [
|
1723
|
-
"
|
1879
|
+
"snmpTrap"
|
1880
|
+
]
|
1881
|
+
},
|
1882
|
+
"label": {
|
1883
|
+
"type": "string",
|
1884
|
+
"minLength": 1,
|
1885
|
+
"maxLength": 255
|
1886
|
+
},
|
1887
|
+
"x": {
|
1888
|
+
"type": "number"
|
1889
|
+
},
|
1890
|
+
"y": {
|
1891
|
+
"type": "number"
|
1892
|
+
},
|
1893
|
+
"uiId": {
|
1894
|
+
"type": "string",
|
1895
|
+
"maxLength": 48
|
1896
|
+
},
|
1897
|
+
"description": {
|
1898
|
+
"type": "string",
|
1899
|
+
"maxLength": 32767
|
1900
|
+
},
|
1901
|
+
"icon": {
|
1902
|
+
"type": "string",
|
1903
|
+
"maxLength": 1024
|
1904
|
+
},
|
1905
|
+
"color": {
|
1906
|
+
"type": "string",
|
1907
|
+
"maxLength": 1024
|
1908
|
+
},
|
1909
|
+
"inputCount": {
|
1910
|
+
"type": "number"
|
1911
|
+
},
|
1912
|
+
"outputCount": {
|
1913
|
+
"type": "number"
|
1914
|
+
},
|
1915
|
+
"id": {
|
1916
|
+
"type": "string",
|
1917
|
+
"maxLength": 48
|
1918
|
+
}
|
1919
|
+
},
|
1920
|
+
"additionalProperties": false
|
1921
|
+
},
|
1922
|
+
"outputIds": {
|
1923
|
+
"type": "array",
|
1924
|
+
"items": {
|
1925
|
+
"type": "array",
|
1926
|
+
"items": {
|
1927
|
+
"type": "string",
|
1928
|
+
"maxLength": 48,
|
1929
|
+
"minLength": 1
|
1930
|
+
},
|
1931
|
+
"maxItems": 100
|
1932
|
+
},
|
1933
|
+
"maxItems": 100
|
1934
|
+
}
|
1935
|
+
},
|
1936
|
+
"required": [
|
1937
|
+
"type"
|
1938
|
+
],
|
1939
|
+
"additionalProperties": false
|
1940
|
+
},
|
1941
|
+
{
|
1942
|
+
"type": "object",
|
1943
|
+
"properties": {
|
1944
|
+
"key": {
|
1945
|
+
"type": "string",
|
1946
|
+
"maxLength": 1024
|
1947
|
+
},
|
1948
|
+
"type": {
|
1949
|
+
"type": "string",
|
1950
|
+
"enum": [
|
1951
|
+
"timer"
|
1952
|
+
]
|
1953
|
+
},
|
1954
|
+
"config": {
|
1955
|
+
"type": "object",
|
1956
|
+
"properties": {
|
1957
|
+
"seconds": {
|
1958
|
+
"type": "number"
|
1959
|
+
},
|
1960
|
+
"cron": {
|
1961
|
+
"type": "string",
|
1962
|
+
"maxLength": 255
|
1963
|
+
},
|
1964
|
+
"tz": {
|
1965
|
+
"type": "string",
|
1966
|
+
"maxLength": 255
|
1967
|
+
}
|
1968
|
+
},
|
1969
|
+
"additionalProperties": false
|
1970
|
+
},
|
1971
|
+
"meta": {
|
1972
|
+
"type": "object",
|
1973
|
+
"properties": {
|
1974
|
+
"category": {
|
1975
|
+
"type": "string",
|
1976
|
+
"enum": [
|
1977
|
+
"trigger"
|
1978
|
+
]
|
1979
|
+
},
|
1980
|
+
"name": {
|
1981
|
+
"type": "string",
|
1982
|
+
"enum": [
|
1983
|
+
"timer"
|
1984
|
+
]
|
1985
|
+
},
|
1986
|
+
"label": {
|
1987
|
+
"type": "string",
|
1988
|
+
"minLength": 1,
|
1989
|
+
"maxLength": 255
|
1990
|
+
},
|
1991
|
+
"x": {
|
1992
|
+
"type": "number"
|
1993
|
+
},
|
1994
|
+
"y": {
|
1995
|
+
"type": "number"
|
1996
|
+
},
|
1997
|
+
"uiId": {
|
1998
|
+
"type": "string",
|
1999
|
+
"maxLength": 48
|
2000
|
+
},
|
2001
|
+
"description": {
|
2002
|
+
"type": "string",
|
2003
|
+
"maxLength": 32767
|
2004
|
+
},
|
2005
|
+
"icon": {
|
2006
|
+
"type": "string",
|
2007
|
+
"maxLength": 1024
|
2008
|
+
},
|
2009
|
+
"color": {
|
2010
|
+
"type": "string",
|
2011
|
+
"maxLength": 1024
|
2012
|
+
},
|
2013
|
+
"inputCount": {
|
2014
|
+
"type": "number"
|
2015
|
+
},
|
2016
|
+
"outputCount": {
|
2017
|
+
"type": "number"
|
2018
|
+
},
|
2019
|
+
"id": {
|
2020
|
+
"type": "string",
|
2021
|
+
"maxLength": 48
|
2022
|
+
},
|
2023
|
+
"timerTypeSelect": {
|
2024
|
+
"type": "string",
|
2025
|
+
"enum": [
|
2026
|
+
"cronWeekly",
|
2027
|
+
"seconds",
|
2028
|
+
"cron"
|
2029
|
+
]
|
2030
|
+
},
|
2031
|
+
"timeAt": {
|
2032
|
+
"type": "string",
|
2033
|
+
"maxLength": 255
|
2034
|
+
},
|
2035
|
+
"timezone": {
|
2036
|
+
"type": "string",
|
2037
|
+
"maxLength": 255
|
2038
|
+
},
|
2039
|
+
"weekdays": {
|
2040
|
+
"type": "array",
|
2041
|
+
"maxItems": 7,
|
2042
|
+
"items": {
|
2043
|
+
"type": "number"
|
2044
|
+
}
|
2045
|
+
}
|
2046
|
+
},
|
2047
|
+
"additionalProperties": false
|
2048
|
+
},
|
2049
|
+
"outputIds": {
|
2050
|
+
"type": "array",
|
2051
|
+
"items": {
|
2052
|
+
"type": "array",
|
2053
|
+
"items": {
|
2054
|
+
"type": "string",
|
2055
|
+
"maxLength": 48,
|
2056
|
+
"minLength": 1
|
2057
|
+
},
|
2058
|
+
"maxItems": 100
|
2059
|
+
},
|
2060
|
+
"maxItems": 100
|
2061
|
+
}
|
2062
|
+
},
|
2063
|
+
"required": [
|
2064
|
+
"type"
|
2065
|
+
],
|
2066
|
+
"additionalProperties": false
|
2067
|
+
},
|
2068
|
+
{
|
2069
|
+
"type": "object",
|
2070
|
+
"properties": {
|
2071
|
+
"key": {
|
2072
|
+
"type": "string",
|
2073
|
+
"maxLength": 1024
|
2074
|
+
},
|
2075
|
+
"type": {
|
2076
|
+
"type": "string",
|
2077
|
+
"enum": [
|
2078
|
+
"virtualButton"
|
2079
|
+
]
|
2080
|
+
},
|
2081
|
+
"config": {
|
2082
|
+
"type": "object",
|
2083
|
+
"additionalProperties": false
|
2084
|
+
},
|
2085
|
+
"meta": {
|
2086
|
+
"type": "object",
|
2087
|
+
"properties": {
|
2088
|
+
"category": {
|
2089
|
+
"type": "string",
|
2090
|
+
"enum": [
|
2091
|
+
"trigger"
|
2092
|
+
]
|
2093
|
+
},
|
2094
|
+
"name": {
|
2095
|
+
"type": "string",
|
2096
|
+
"enum": [
|
2097
|
+
"virtualButton"
|
1724
2098
|
]
|
1725
2099
|
},
|
1726
2100
|
"label": {
|
@@ -1794,7 +2168,8 @@
|
|
1794
2168
|
"type": "array",
|
1795
2169
|
"items": {
|
1796
2170
|
"type": "string",
|
1797
|
-
"maxLength":
|
2171
|
+
"maxLength": 48,
|
2172
|
+
"minLength": 1
|
1798
2173
|
},
|
1799
2174
|
"maxItems": 100
|
1800
2175
|
},
|
@@ -1835,7 +2210,8 @@
|
|
1835
2210
|
"type": "array",
|
1836
2211
|
"items": {
|
1837
2212
|
"type": "string",
|
1838
|
-
"maxLength":
|
2213
|
+
"maxLength": 48,
|
2214
|
+
"minLength": 1
|
1839
2215
|
},
|
1840
2216
|
"maxItems": 100
|
1841
2217
|
},
|
@@ -2238,7 +2614,7 @@
|
|
2238
2614
|
"description": "Schema for a single Workflow Version",
|
2239
2615
|
"oneOf": [
|
2240
2616
|
{
|
2241
|
-
"description": "Schema for a single Cloud/Edge/Custom Node Workflow Version",
|
2617
|
+
"description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
|
2242
2618
|
"type": "object",
|
2243
2619
|
"properties": {
|
2244
2620
|
"id": {
|
@@ -2302,7 +2678,6 @@
|
|
2302
2678
|
"onBoot",
|
2303
2679
|
"onConnect",
|
2304
2680
|
"onDisconnect",
|
2305
|
-
"request",
|
2306
2681
|
"udp",
|
2307
2682
|
"webhook"
|
2308
2683
|
]
|
@@ -2327,6 +2702,7 @@
|
|
2327
2702
|
"deviceCommand",
|
2328
2703
|
"deviceIdsTagsConnect",
|
2329
2704
|
"deviceIdsTagsDisconnect",
|
2705
|
+
"eeaInit",
|
2330
2706
|
"flowError",
|
2331
2707
|
"googlePubSub",
|
2332
2708
|
"meridian",
|
@@ -2336,7 +2712,6 @@
|
|
2336
2712
|
"onConnect",
|
2337
2713
|
"onDisconnect",
|
2338
2714
|
"particle",
|
2339
|
-
"request",
|
2340
2715
|
"udp",
|
2341
2716
|
"webhook"
|
2342
2717
|
]
|
@@ -2391,7 +2766,8 @@
|
|
2391
2766
|
"type": "array",
|
2392
2767
|
"items": {
|
2393
2768
|
"type": "string",
|
2394
|
-
"maxLength":
|
2769
|
+
"maxLength": 48,
|
2770
|
+
"minLength": 1
|
2395
2771
|
},
|
2396
2772
|
"maxItems": 100
|
2397
2773
|
},
|
@@ -2495,7 +2871,8 @@
|
|
2495
2871
|
"type": "array",
|
2496
2872
|
"items": {
|
2497
2873
|
"type": "string",
|
2498
|
-
"maxLength":
|
2874
|
+
"maxLength": 48,
|
2875
|
+
"minLength": 1
|
2499
2876
|
},
|
2500
2877
|
"maxItems": 100
|
2501
2878
|
},
|
@@ -2639,7 +3016,8 @@
|
|
2639
3016
|
"type": "array",
|
2640
3017
|
"items": {
|
2641
3018
|
"type": "string",
|
2642
|
-
"maxLength":
|
3019
|
+
"maxLength": 48,
|
3020
|
+
"minLength": 1
|
2643
3021
|
},
|
2644
3022
|
"maxItems": 100
|
2645
3023
|
},
|
@@ -2735,7 +3113,8 @@
|
|
2735
3113
|
"type": "array",
|
2736
3114
|
"items": {
|
2737
3115
|
"type": "string",
|
2738
|
-
"maxLength":
|
3116
|
+
"maxLength": 48,
|
3117
|
+
"minLength": 1
|
2739
3118
|
},
|
2740
3119
|
"maxItems": 100
|
2741
3120
|
},
|
@@ -2757,18 +3136,12 @@
|
|
2757
3136
|
"type": {
|
2758
3137
|
"type": "string",
|
2759
3138
|
"enum": [
|
2760
|
-
"
|
3139
|
+
"direct"
|
2761
3140
|
]
|
2762
3141
|
},
|
2763
3142
|
"config": {
|
2764
3143
|
"type": "object",
|
2765
|
-
"properties": {
|
2766
|
-
"experienceVersion": {
|
2767
|
-
"type": "string",
|
2768
|
-
"minLength": 1,
|
2769
|
-
"maxLength": 255
|
2770
|
-
}
|
2771
|
-
},
|
3144
|
+
"properties": {},
|
2772
3145
|
"additionalProperties": false
|
2773
3146
|
},
|
2774
3147
|
"meta": {
|
@@ -2783,7 +3156,7 @@
|
|
2783
3156
|
"name": {
|
2784
3157
|
"type": "string",
|
2785
3158
|
"enum": [
|
2786
|
-
"
|
3159
|
+
"direct"
|
2787
3160
|
]
|
2788
3161
|
},
|
2789
3162
|
"label": {
|
@@ -2832,7 +3205,8 @@
|
|
2832
3205
|
"type": "array",
|
2833
3206
|
"items": {
|
2834
3207
|
"type": "string",
|
2835
|
-
"maxLength":
|
3208
|
+
"maxLength": 48,
|
3209
|
+
"minLength": 1
|
2836
3210
|
},
|
2837
3211
|
"maxItems": 100
|
2838
3212
|
},
|
@@ -2854,24 +3228,16 @@
|
|
2854
3228
|
"type": {
|
2855
3229
|
"type": "string",
|
2856
3230
|
"enum": [
|
2857
|
-
"
|
3231
|
+
"endpoint"
|
2858
3232
|
]
|
2859
3233
|
},
|
2860
3234
|
"config": {
|
2861
3235
|
"type": "object",
|
2862
3236
|
"properties": {
|
2863
|
-
"
|
3237
|
+
"experienceVersion": {
|
2864
3238
|
"type": "string",
|
3239
|
+
"minLength": 1,
|
2865
3240
|
"maxLength": 255
|
2866
|
-
},
|
2867
|
-
"new": {
|
2868
|
-
"type": "boolean"
|
2869
|
-
},
|
2870
|
-
"acknowledged": {
|
2871
|
-
"type": "boolean"
|
2872
|
-
},
|
2873
|
-
"resolved": {
|
2874
|
-
"type": "boolean"
|
2875
3241
|
}
|
2876
3242
|
},
|
2877
3243
|
"additionalProperties": false
|
@@ -2888,7 +3254,7 @@
|
|
2888
3254
|
"name": {
|
2889
3255
|
"type": "string",
|
2890
3256
|
"enum": [
|
2891
|
-
"
|
3257
|
+
"endpoint"
|
2892
3258
|
]
|
2893
3259
|
},
|
2894
3260
|
"label": {
|
@@ -2937,7 +3303,8 @@
|
|
2937
3303
|
"type": "array",
|
2938
3304
|
"items": {
|
2939
3305
|
"type": "string",
|
2940
|
-
"maxLength":
|
3306
|
+
"maxLength": 48,
|
3307
|
+
"minLength": 1
|
2941
3308
|
},
|
2942
3309
|
"maxItems": 100
|
2943
3310
|
},
|
@@ -2959,19 +3326,125 @@
|
|
2959
3326
|
"type": {
|
2960
3327
|
"type": "string",
|
2961
3328
|
"enum": [
|
2962
|
-
"
|
3329
|
+
"event"
|
2963
3330
|
]
|
2964
3331
|
},
|
2965
3332
|
"config": {
|
2966
3333
|
"type": "object",
|
2967
3334
|
"properties": {
|
2968
|
-
"
|
2969
|
-
"type": "string",
|
2970
|
-
"maxLength": 1024
|
2971
|
-
},
|
2972
|
-
"encoding": {
|
3335
|
+
"subject": {
|
2973
3336
|
"type": "string",
|
2974
|
-
"maxLength":
|
3337
|
+
"maxLength": 255
|
3338
|
+
},
|
3339
|
+
"new": {
|
3340
|
+
"type": "boolean"
|
3341
|
+
},
|
3342
|
+
"acknowledged": {
|
3343
|
+
"type": "boolean"
|
3344
|
+
},
|
3345
|
+
"resolved": {
|
3346
|
+
"type": "boolean"
|
3347
|
+
}
|
3348
|
+
},
|
3349
|
+
"additionalProperties": false
|
3350
|
+
},
|
3351
|
+
"meta": {
|
3352
|
+
"type": "object",
|
3353
|
+
"properties": {
|
3354
|
+
"category": {
|
3355
|
+
"type": "string",
|
3356
|
+
"enum": [
|
3357
|
+
"trigger"
|
3358
|
+
]
|
3359
|
+
},
|
3360
|
+
"name": {
|
3361
|
+
"type": "string",
|
3362
|
+
"enum": [
|
3363
|
+
"event"
|
3364
|
+
]
|
3365
|
+
},
|
3366
|
+
"label": {
|
3367
|
+
"type": "string",
|
3368
|
+
"minLength": 1,
|
3369
|
+
"maxLength": 255
|
3370
|
+
},
|
3371
|
+
"x": {
|
3372
|
+
"type": "number"
|
3373
|
+
},
|
3374
|
+
"y": {
|
3375
|
+
"type": "number"
|
3376
|
+
},
|
3377
|
+
"uiId": {
|
3378
|
+
"type": "string",
|
3379
|
+
"maxLength": 48
|
3380
|
+
},
|
3381
|
+
"description": {
|
3382
|
+
"type": "string",
|
3383
|
+
"maxLength": 32767
|
3384
|
+
},
|
3385
|
+
"icon": {
|
3386
|
+
"type": "string",
|
3387
|
+
"maxLength": 1024
|
3388
|
+
},
|
3389
|
+
"color": {
|
3390
|
+
"type": "string",
|
3391
|
+
"maxLength": 1024
|
3392
|
+
},
|
3393
|
+
"inputCount": {
|
3394
|
+
"type": "number"
|
3395
|
+
},
|
3396
|
+
"outputCount": {
|
3397
|
+
"type": "number"
|
3398
|
+
},
|
3399
|
+
"id": {
|
3400
|
+
"type": "string",
|
3401
|
+
"maxLength": 48
|
3402
|
+
}
|
3403
|
+
},
|
3404
|
+
"additionalProperties": false
|
3405
|
+
},
|
3406
|
+
"outputIds": {
|
3407
|
+
"type": "array",
|
3408
|
+
"items": {
|
3409
|
+
"type": "array",
|
3410
|
+
"items": {
|
3411
|
+
"type": "string",
|
3412
|
+
"maxLength": 48,
|
3413
|
+
"minLength": 1
|
3414
|
+
},
|
3415
|
+
"maxItems": 100
|
3416
|
+
},
|
3417
|
+
"maxItems": 100
|
3418
|
+
}
|
3419
|
+
},
|
3420
|
+
"required": [
|
3421
|
+
"type"
|
3422
|
+
],
|
3423
|
+
"additionalProperties": false
|
3424
|
+
},
|
3425
|
+
{
|
3426
|
+
"type": "object",
|
3427
|
+
"properties": {
|
3428
|
+
"key": {
|
3429
|
+
"type": "string",
|
3430
|
+
"maxLength": 1024
|
3431
|
+
},
|
3432
|
+
"type": {
|
3433
|
+
"type": "string",
|
3434
|
+
"enum": [
|
3435
|
+
"fileTail"
|
3436
|
+
]
|
3437
|
+
},
|
3438
|
+
"config": {
|
3439
|
+
"type": "object",
|
3440
|
+
"properties": {
|
3441
|
+
"path": {
|
3442
|
+
"type": "string",
|
3443
|
+
"maxLength": 1024
|
3444
|
+
},
|
3445
|
+
"encoding": {
|
3446
|
+
"type": "string",
|
3447
|
+
"maxLength": 48
|
2975
3448
|
},
|
2976
3449
|
"byteLength": {
|
2977
3450
|
"type": "string",
|
@@ -3045,7 +3518,8 @@
|
|
3045
3518
|
"type": "array",
|
3046
3519
|
"items": {
|
3047
3520
|
"type": "string",
|
3048
|
-
"maxLength":
|
3521
|
+
"maxLength": 48,
|
3522
|
+
"minLength": 1
|
3049
3523
|
},
|
3050
3524
|
"maxItems": 100
|
3051
3525
|
},
|
@@ -3156,7 +3630,8 @@
|
|
3156
3630
|
"type": "array",
|
3157
3631
|
"items": {
|
3158
3632
|
"type": "string",
|
3159
|
-
"maxLength":
|
3633
|
+
"maxLength": 48,
|
3634
|
+
"minLength": 1
|
3160
3635
|
},
|
3161
3636
|
"maxItems": 100
|
3162
3637
|
},
|
@@ -3257,7 +3732,8 @@
|
|
3257
3732
|
"type": "array",
|
3258
3733
|
"items": {
|
3259
3734
|
"type": "string",
|
3260
|
-
"maxLength":
|
3735
|
+
"maxLength": 48,
|
3736
|
+
"minLength": 1
|
3261
3737
|
},
|
3262
3738
|
"maxItems": 100
|
3263
3739
|
},
|
@@ -3360,7 +3836,8 @@
|
|
3360
3836
|
"type": "array",
|
3361
3837
|
"items": {
|
3362
3838
|
"type": "string",
|
3363
|
-
"maxLength":
|
3839
|
+
"maxLength": 48,
|
3840
|
+
"minLength": 1
|
3364
3841
|
},
|
3365
3842
|
"maxItems": 100
|
3366
3843
|
},
|
@@ -3451,7 +3928,240 @@
|
|
3451
3928
|
"name": {
|
3452
3929
|
"type": "string",
|
3453
3930
|
"enum": [
|
3454
|
-
"opcua"
|
3931
|
+
"opcua"
|
3932
|
+
]
|
3933
|
+
},
|
3934
|
+
"label": {
|
3935
|
+
"type": "string",
|
3936
|
+
"minLength": 1,
|
3937
|
+
"maxLength": 255
|
3938
|
+
},
|
3939
|
+
"x": {
|
3940
|
+
"type": "number"
|
3941
|
+
},
|
3942
|
+
"y": {
|
3943
|
+
"type": "number"
|
3944
|
+
},
|
3945
|
+
"uiId": {
|
3946
|
+
"type": "string",
|
3947
|
+
"maxLength": 48
|
3948
|
+
},
|
3949
|
+
"description": {
|
3950
|
+
"type": "string",
|
3951
|
+
"maxLength": 32767
|
3952
|
+
},
|
3953
|
+
"icon": {
|
3954
|
+
"type": "string",
|
3955
|
+
"maxLength": 1024
|
3956
|
+
},
|
3957
|
+
"color": {
|
3958
|
+
"type": "string",
|
3959
|
+
"maxLength": 1024
|
3960
|
+
},
|
3961
|
+
"inputCount": {
|
3962
|
+
"type": "number"
|
3963
|
+
},
|
3964
|
+
"outputCount": {
|
3965
|
+
"type": "number"
|
3966
|
+
},
|
3967
|
+
"id": {
|
3968
|
+
"type": "string",
|
3969
|
+
"maxLength": 48
|
3970
|
+
}
|
3971
|
+
},
|
3972
|
+
"additionalProperties": false
|
3973
|
+
},
|
3974
|
+
"outputIds": {
|
3975
|
+
"type": "array",
|
3976
|
+
"items": {
|
3977
|
+
"type": "array",
|
3978
|
+
"items": {
|
3979
|
+
"type": "string",
|
3980
|
+
"maxLength": 48,
|
3981
|
+
"minLength": 1
|
3982
|
+
},
|
3983
|
+
"maxItems": 100
|
3984
|
+
},
|
3985
|
+
"maxItems": 100
|
3986
|
+
}
|
3987
|
+
},
|
3988
|
+
"required": [
|
3989
|
+
"type"
|
3990
|
+
],
|
3991
|
+
"additionalProperties": false
|
3992
|
+
},
|
3993
|
+
{
|
3994
|
+
"type": "object",
|
3995
|
+
"properties": {
|
3996
|
+
"key": {
|
3997
|
+
"type": "string",
|
3998
|
+
"maxLength": 1024
|
3999
|
+
},
|
4000
|
+
"type": {
|
4001
|
+
"type": "string",
|
4002
|
+
"enum": [
|
4003
|
+
"redis"
|
4004
|
+
]
|
4005
|
+
},
|
4006
|
+
"config": {
|
4007
|
+
"type": "object",
|
4008
|
+
"properties": {
|
4009
|
+
"host": {
|
4010
|
+
"type": "string",
|
4011
|
+
"maxLength": 1024
|
4012
|
+
},
|
4013
|
+
"port": {
|
4014
|
+
"type": "string",
|
4015
|
+
"maxLength": 16
|
4016
|
+
},
|
4017
|
+
"password": {
|
4018
|
+
"type": "string",
|
4019
|
+
"maxLength": 1024
|
4020
|
+
},
|
4021
|
+
"topic": {
|
4022
|
+
"type": "string",
|
4023
|
+
"maxLength": 1024
|
4024
|
+
},
|
4025
|
+
"fileAdded": {
|
4026
|
+
"type": "boolean"
|
4027
|
+
},
|
4028
|
+
"fileChanged": {
|
4029
|
+
"type": "boolean"
|
4030
|
+
},
|
4031
|
+
"fileRemoved": {
|
4032
|
+
"type": "boolean"
|
4033
|
+
},
|
4034
|
+
"directoryAdded": {
|
4035
|
+
"type": "boolean"
|
4036
|
+
},
|
4037
|
+
"directoryRemoved": {
|
4038
|
+
"type": "boolean"
|
4039
|
+
}
|
4040
|
+
},
|
4041
|
+
"additionalProperties": false
|
4042
|
+
},
|
4043
|
+
"meta": {
|
4044
|
+
"type": "object",
|
4045
|
+
"properties": {
|
4046
|
+
"category": {
|
4047
|
+
"type": "string",
|
4048
|
+
"enum": [
|
4049
|
+
"trigger"
|
4050
|
+
]
|
4051
|
+
},
|
4052
|
+
"name": {
|
4053
|
+
"type": "string",
|
4054
|
+
"enum": [
|
4055
|
+
"redisTrigger"
|
4056
|
+
]
|
4057
|
+
},
|
4058
|
+
"label": {
|
4059
|
+
"type": "string",
|
4060
|
+
"minLength": 1,
|
4061
|
+
"maxLength": 255
|
4062
|
+
},
|
4063
|
+
"x": {
|
4064
|
+
"type": "number"
|
4065
|
+
},
|
4066
|
+
"y": {
|
4067
|
+
"type": "number"
|
4068
|
+
},
|
4069
|
+
"uiId": {
|
4070
|
+
"type": "string",
|
4071
|
+
"maxLength": 48
|
4072
|
+
},
|
4073
|
+
"description": {
|
4074
|
+
"type": "string",
|
4075
|
+
"maxLength": 32767
|
4076
|
+
},
|
4077
|
+
"icon": {
|
4078
|
+
"type": "string",
|
4079
|
+
"maxLength": 1024
|
4080
|
+
},
|
4081
|
+
"color": {
|
4082
|
+
"type": "string",
|
4083
|
+
"maxLength": 1024
|
4084
|
+
},
|
4085
|
+
"inputCount": {
|
4086
|
+
"type": "number"
|
4087
|
+
},
|
4088
|
+
"outputCount": {
|
4089
|
+
"type": "number"
|
4090
|
+
},
|
4091
|
+
"id": {
|
4092
|
+
"type": "string",
|
4093
|
+
"maxLength": 48
|
4094
|
+
}
|
4095
|
+
},
|
4096
|
+
"additionalProperties": false
|
4097
|
+
},
|
4098
|
+
"outputIds": {
|
4099
|
+
"type": "array",
|
4100
|
+
"items": {
|
4101
|
+
"type": "array",
|
4102
|
+
"items": {
|
4103
|
+
"type": "string",
|
4104
|
+
"maxLength": 48,
|
4105
|
+
"minLength": 1
|
4106
|
+
},
|
4107
|
+
"maxItems": 100
|
4108
|
+
},
|
4109
|
+
"maxItems": 100
|
4110
|
+
}
|
4111
|
+
},
|
4112
|
+
"required": [
|
4113
|
+
"type"
|
4114
|
+
],
|
4115
|
+
"additionalProperties": false
|
4116
|
+
},
|
4117
|
+
{
|
4118
|
+
"type": "object",
|
4119
|
+
"properties": {
|
4120
|
+
"key": {
|
4121
|
+
"type": "string",
|
4122
|
+
"maxLength": 1024
|
4123
|
+
},
|
4124
|
+
"type": {
|
4125
|
+
"type": "string",
|
4126
|
+
"enum": [
|
4127
|
+
"request"
|
4128
|
+
]
|
4129
|
+
},
|
4130
|
+
"config": {
|
4131
|
+
"type": "object",
|
4132
|
+
"properties": {
|
4133
|
+
"method": {
|
4134
|
+
"type": "string",
|
4135
|
+
"enum": [
|
4136
|
+
"*",
|
4137
|
+
"delete",
|
4138
|
+
"get",
|
4139
|
+
"options",
|
4140
|
+
"patch",
|
4141
|
+
"post",
|
4142
|
+
"put"
|
4143
|
+
]
|
4144
|
+
},
|
4145
|
+
"route": {
|
4146
|
+
"type": "string",
|
4147
|
+
"maxLength": 1024
|
4148
|
+
}
|
4149
|
+
},
|
4150
|
+
"additionalProperties": false
|
4151
|
+
},
|
4152
|
+
"meta": {
|
4153
|
+
"type": "object",
|
4154
|
+
"properties": {
|
4155
|
+
"category": {
|
4156
|
+
"type": "string",
|
4157
|
+
"enum": [
|
4158
|
+
"trigger"
|
4159
|
+
]
|
4160
|
+
},
|
4161
|
+
"name": {
|
4162
|
+
"type": "string",
|
4163
|
+
"enum": [
|
4164
|
+
"request"
|
3455
4165
|
]
|
3456
4166
|
},
|
3457
4167
|
"label": {
|
@@ -3487,6 +4197,10 @@
|
|
3487
4197
|
"outputCount": {
|
3488
4198
|
"type": "number"
|
3489
4199
|
},
|
4200
|
+
"triggerId": {
|
4201
|
+
"type": "string",
|
4202
|
+
"maxLength": 48
|
4203
|
+
},
|
3490
4204
|
"id": {
|
3491
4205
|
"type": "string",
|
3492
4206
|
"maxLength": 48
|
@@ -3500,7 +4214,8 @@
|
|
3500
4214
|
"type": "array",
|
3501
4215
|
"items": {
|
3502
4216
|
"type": "string",
|
3503
|
-
"maxLength":
|
4217
|
+
"maxLength": 48,
|
4218
|
+
"minLength": 1
|
3504
4219
|
},
|
3505
4220
|
"maxItems": 100
|
3506
4221
|
},
|
@@ -3522,42 +4237,55 @@
|
|
3522
4237
|
"type": {
|
3523
4238
|
"type": "string",
|
3524
4239
|
"enum": [
|
3525
|
-
"
|
4240
|
+
"serial"
|
3526
4241
|
]
|
3527
4242
|
},
|
3528
4243
|
"config": {
|
3529
4244
|
"type": "object",
|
3530
4245
|
"properties": {
|
3531
|
-
"
|
4246
|
+
"path": {
|
3532
4247
|
"type": "string",
|
3533
4248
|
"maxLength": 1024
|
3534
4249
|
},
|
3535
|
-
"
|
4250
|
+
"baudRate": {
|
4251
|
+
"type": "number"
|
4252
|
+
},
|
4253
|
+
"dataBits": {
|
4254
|
+
"type": "number"
|
4255
|
+
},
|
4256
|
+
"stopBits": {
|
4257
|
+
"type": "number"
|
4258
|
+
},
|
4259
|
+
"parity": {
|
3536
4260
|
"type": "string",
|
3537
|
-
"maxLength":
|
4261
|
+
"maxLength": 8
|
3538
4262
|
},
|
3539
|
-
"
|
4263
|
+
"rtscts": {
|
4264
|
+
"type": "boolean"
|
4265
|
+
},
|
4266
|
+
"encoding": {
|
3540
4267
|
"type": "string",
|
3541
|
-
"maxLength":
|
4268
|
+
"maxLength": 48
|
3542
4269
|
},
|
3543
|
-
"
|
4270
|
+
"writeOnOpen": {
|
3544
4271
|
"type": "string",
|
3545
4272
|
"maxLength": 1024
|
3546
4273
|
},
|
3547
|
-
"
|
3548
|
-
"type": "
|
3549
|
-
|
3550
|
-
"fileChanged": {
|
3551
|
-
"type": "boolean"
|
4274
|
+
"writeOnOpenEncoding": {
|
4275
|
+
"type": "string",
|
4276
|
+
"maxLength": 48
|
3552
4277
|
},
|
3553
|
-
"
|
3554
|
-
"type": "
|
4278
|
+
"byteLength": {
|
4279
|
+
"type": "string",
|
4280
|
+
"maxLength": 48
|
3555
4281
|
},
|
3556
|
-
"
|
3557
|
-
"type": "
|
4282
|
+
"delimiter": {
|
4283
|
+
"type": "string",
|
4284
|
+
"maxLength": 48
|
3558
4285
|
},
|
3559
|
-
"
|
3560
|
-
"type": "
|
4286
|
+
"delimiterEncoding": {
|
4287
|
+
"type": "string",
|
4288
|
+
"maxLength": 48
|
3561
4289
|
}
|
3562
4290
|
},
|
3563
4291
|
"additionalProperties": false
|
@@ -3574,7 +4302,7 @@
|
|
3574
4302
|
"name": {
|
3575
4303
|
"type": "string",
|
3576
4304
|
"enum": [
|
3577
|
-
"
|
4305
|
+
"serial"
|
3578
4306
|
]
|
3579
4307
|
},
|
3580
4308
|
"label": {
|
@@ -3613,6 +4341,13 @@
|
|
3613
4341
|
"id": {
|
3614
4342
|
"type": "string",
|
3615
4343
|
"maxLength": 48
|
4344
|
+
},
|
4345
|
+
"parseBy": {
|
4346
|
+
"type": "string",
|
4347
|
+
"enum": [
|
4348
|
+
"byteLength",
|
4349
|
+
"delimiter"
|
4350
|
+
]
|
3616
4351
|
}
|
3617
4352
|
},
|
3618
4353
|
"additionalProperties": false
|
@@ -3623,7 +4358,8 @@
|
|
3623
4358
|
"type": "array",
|
3624
4359
|
"items": {
|
3625
4360
|
"type": "string",
|
3626
|
-
"maxLength":
|
4361
|
+
"maxLength": 48,
|
4362
|
+
"minLength": 1
|
3627
4363
|
},
|
3628
4364
|
"maxItems": 100
|
3629
4365
|
},
|
@@ -3645,57 +4381,75 @@
|
|
3645
4381
|
"type": {
|
3646
4382
|
"type": "string",
|
3647
4383
|
"enum": [
|
3648
|
-
"
|
4384
|
+
"snmpTrap"
|
3649
4385
|
]
|
3650
4386
|
},
|
3651
4387
|
"config": {
|
3652
4388
|
"type": "object",
|
3653
4389
|
"properties": {
|
3654
|
-
"
|
3655
|
-
"type": "string",
|
3656
|
-
"maxLength": 1024
|
3657
|
-
},
|
3658
|
-
"baudRate": {
|
3659
|
-
"type": "number"
|
3660
|
-
},
|
3661
|
-
"dataBits": {
|
3662
|
-
"type": "number"
|
3663
|
-
},
|
3664
|
-
"stopBits": {
|
3665
|
-
"type": "number"
|
3666
|
-
},
|
3667
|
-
"parity": {
|
3668
|
-
"type": "string",
|
3669
|
-
"maxLength": 8
|
3670
|
-
},
|
3671
|
-
"rtscts": {
|
3672
|
-
"type": "boolean"
|
3673
|
-
},
|
3674
|
-
"encoding": {
|
3675
|
-
"type": "string",
|
3676
|
-
"maxLength": 48
|
3677
|
-
},
|
3678
|
-
"writeOnOpen": {
|
3679
|
-
"type": "string",
|
3680
|
-
"maxLength": 1024
|
3681
|
-
},
|
3682
|
-
"writeOnOpenEncoding": {
|
3683
|
-
"type": "string",
|
3684
|
-
"maxLength": 48
|
3685
|
-
},
|
3686
|
-
"byteLength": {
|
3687
|
-
"type": "string",
|
3688
|
-
"maxLength": 48
|
3689
|
-
},
|
3690
|
-
"delimiter": {
|
4390
|
+
"udpPort": {
|
3691
4391
|
"type": "string",
|
3692
|
-
"maxLength":
|
4392
|
+
"maxLength": 5
|
3693
4393
|
},
|
3694
|
-
"
|
3695
|
-
"type": "
|
3696
|
-
"
|
4394
|
+
"snmpTrapConfig": {
|
4395
|
+
"type": "object",
|
4396
|
+
"properties": {
|
4397
|
+
"community": {
|
4398
|
+
"type": "string",
|
4399
|
+
"maxLength": 1024
|
4400
|
+
},
|
4401
|
+
"user": {
|
4402
|
+
"type": "object",
|
4403
|
+
"properties": {
|
4404
|
+
"name": {
|
4405
|
+
"type": "string",
|
4406
|
+
"maxLength": 1024
|
4407
|
+
},
|
4408
|
+
"securityLevel": {
|
4409
|
+
"type": "string",
|
4410
|
+
"enum": [
|
4411
|
+
"none",
|
4412
|
+
"auth",
|
4413
|
+
"authAndEncrypt"
|
4414
|
+
]
|
4415
|
+
},
|
4416
|
+
"authMethod": {
|
4417
|
+
"type": "string",
|
4418
|
+
"enum": [
|
4419
|
+
"sha",
|
4420
|
+
"md5"
|
4421
|
+
]
|
4422
|
+
},
|
4423
|
+
"authKey": {
|
4424
|
+
"type": "string",
|
4425
|
+
"maxLength": 1024
|
4426
|
+
},
|
4427
|
+
"encryptionMethod": {
|
4428
|
+
"type": "string",
|
4429
|
+
"enum": [
|
4430
|
+
"aes",
|
4431
|
+
"des"
|
4432
|
+
]
|
4433
|
+
},
|
4434
|
+
"encryptionKey": {
|
4435
|
+
"type": "string",
|
4436
|
+
"maxLength": 1024
|
4437
|
+
}
|
4438
|
+
},
|
4439
|
+
"required": [
|
4440
|
+
"name",
|
4441
|
+
"securityLevel"
|
4442
|
+
],
|
4443
|
+
"additionalProperties": false
|
4444
|
+
}
|
4445
|
+
},
|
4446
|
+
"additionalProperties": false
|
3697
4447
|
}
|
3698
4448
|
},
|
4449
|
+
"required": [
|
4450
|
+
"udpPort",
|
4451
|
+
"snmpTrapConfig"
|
4452
|
+
],
|
3699
4453
|
"additionalProperties": false
|
3700
4454
|
},
|
3701
4455
|
"meta": {
|
@@ -3710,7 +4464,7 @@
|
|
3710
4464
|
"name": {
|
3711
4465
|
"type": "string",
|
3712
4466
|
"enum": [
|
3713
|
-
"
|
4467
|
+
"snmpTrap"
|
3714
4468
|
]
|
3715
4469
|
},
|
3716
4470
|
"label": {
|
@@ -3749,13 +4503,6 @@
|
|
3749
4503
|
"id": {
|
3750
4504
|
"type": "string",
|
3751
4505
|
"maxLength": 48
|
3752
|
-
},
|
3753
|
-
"parseBy": {
|
3754
|
-
"type": "string",
|
3755
|
-
"enum": [
|
3756
|
-
"byteLength",
|
3757
|
-
"delimiter"
|
3758
|
-
]
|
3759
4506
|
}
|
3760
4507
|
},
|
3761
4508
|
"additionalProperties": false
|
@@ -3766,7 +4513,8 @@
|
|
3766
4513
|
"type": "array",
|
3767
4514
|
"items": {
|
3768
4515
|
"type": "string",
|
3769
|
-
"maxLength":
|
4516
|
+
"maxLength": 48,
|
4517
|
+
"minLength": 1
|
3770
4518
|
},
|
3771
4519
|
"maxItems": 100
|
3772
4520
|
},
|
@@ -3892,7 +4640,8 @@
|
|
3892
4640
|
"type": "array",
|
3893
4641
|
"items": {
|
3894
4642
|
"type": "string",
|
3895
|
-
"maxLength":
|
4643
|
+
"maxLength": 48,
|
4644
|
+
"minLength": 1
|
3896
4645
|
},
|
3897
4646
|
"maxItems": 100
|
3898
4647
|
},
|
@@ -4007,7 +4756,8 @@
|
|
4007
4756
|
"type": "array",
|
4008
4757
|
"items": {
|
4009
4758
|
"type": "string",
|
4010
|
-
"maxLength":
|
4759
|
+
"maxLength": 48,
|
4760
|
+
"minLength": 1
|
4011
4761
|
},
|
4012
4762
|
"maxItems": 100
|
4013
4763
|
},
|
@@ -4048,7 +4798,8 @@
|
|
4048
4798
|
"type": "array",
|
4049
4799
|
"items": {
|
4050
4800
|
"type": "string",
|
4051
|
-
"maxLength":
|
4801
|
+
"maxLength": 48,
|
4802
|
+
"minLength": 1
|
4052
4803
|
},
|
4053
4804
|
"maxItems": 100
|
4054
4805
|
},
|
@@ -4515,7 +5266,6 @@
|
|
4515
5266
|
"onBoot",
|
4516
5267
|
"onConnect",
|
4517
5268
|
"onDisconnect",
|
4518
|
-
"request",
|
4519
5269
|
"udp",
|
4520
5270
|
"webhook"
|
4521
5271
|
]
|
@@ -4540,6 +5290,7 @@
|
|
4540
5290
|
"deviceCommand",
|
4541
5291
|
"deviceIdsTagsConnect",
|
4542
5292
|
"deviceIdsTagsDisconnect",
|
5293
|
+
"eeaInit",
|
4543
5294
|
"flowError",
|
4544
5295
|
"googlePubSub",
|
4545
5296
|
"meridian",
|
@@ -4549,7 +5300,6 @@
|
|
4549
5300
|
"onConnect",
|
4550
5301
|
"onDisconnect",
|
4551
5302
|
"particle",
|
4552
|
-
"request",
|
4553
5303
|
"udp",
|
4554
5304
|
"webhook"
|
4555
5305
|
]
|
@@ -4604,7 +5354,8 @@
|
|
4604
5354
|
"type": "array",
|
4605
5355
|
"items": {
|
4606
5356
|
"type": "string",
|
4607
|
-
"maxLength":
|
5357
|
+
"maxLength": 48,
|
5358
|
+
"minLength": 1
|
4608
5359
|
},
|
4609
5360
|
"maxItems": 100
|
4610
5361
|
},
|
@@ -4708,7 +5459,8 @@
|
|
4708
5459
|
"type": "array",
|
4709
5460
|
"items": {
|
4710
5461
|
"type": "string",
|
4711
|
-
"maxLength":
|
5462
|
+
"maxLength": 48,
|
5463
|
+
"minLength": 1
|
4712
5464
|
},
|
4713
5465
|
"maxItems": 100
|
4714
5466
|
},
|
@@ -4755,21 +5507,135 @@
|
|
4755
5507
|
},
|
4756
5508
|
"maxAge": {
|
4757
5509
|
"type": "number"
|
4758
|
-
},
|
4759
|
-
"triggerOn": {
|
4760
|
-
"type": "string",
|
4761
|
-
"enum": [
|
4762
|
-
"batch",
|
4763
|
-
"individual",
|
4764
|
-
"both"
|
4765
|
-
]
|
4766
|
-
},
|
4767
|
-
"batchBehavior": {
|
4768
|
-
"type": "string",
|
4769
|
-
"enum": [
|
4770
|
-
"once",
|
4771
|
-
"each"
|
4772
|
-
]
|
5510
|
+
},
|
5511
|
+
"triggerOn": {
|
5512
|
+
"type": "string",
|
5513
|
+
"enum": [
|
5514
|
+
"batch",
|
5515
|
+
"individual",
|
5516
|
+
"both"
|
5517
|
+
]
|
5518
|
+
},
|
5519
|
+
"batchBehavior": {
|
5520
|
+
"type": "string",
|
5521
|
+
"enum": [
|
5522
|
+
"once",
|
5523
|
+
"each"
|
5524
|
+
]
|
5525
|
+
}
|
5526
|
+
},
|
5527
|
+
"additionalProperties": false
|
5528
|
+
},
|
5529
|
+
"meta": {
|
5530
|
+
"type": "object",
|
5531
|
+
"properties": {
|
5532
|
+
"category": {
|
5533
|
+
"type": "string",
|
5534
|
+
"enum": [
|
5535
|
+
"trigger"
|
5536
|
+
]
|
5537
|
+
},
|
5538
|
+
"name": {
|
5539
|
+
"type": "string",
|
5540
|
+
"enum": [
|
5541
|
+
"deviceIdsTags",
|
5542
|
+
"device",
|
5543
|
+
"deviceTag"
|
5544
|
+
]
|
5545
|
+
},
|
5546
|
+
"label": {
|
5547
|
+
"type": "string",
|
5548
|
+
"minLength": 1,
|
5549
|
+
"maxLength": 255
|
5550
|
+
},
|
5551
|
+
"x": {
|
5552
|
+
"type": "number"
|
5553
|
+
},
|
5554
|
+
"y": {
|
5555
|
+
"type": "number"
|
5556
|
+
},
|
5557
|
+
"uiId": {
|
5558
|
+
"type": "string",
|
5559
|
+
"maxLength": 48
|
5560
|
+
},
|
5561
|
+
"description": {
|
5562
|
+
"type": "string",
|
5563
|
+
"maxLength": 32767
|
5564
|
+
},
|
5565
|
+
"icon": {
|
5566
|
+
"type": "string",
|
5567
|
+
"maxLength": 1024
|
5568
|
+
},
|
5569
|
+
"color": {
|
5570
|
+
"type": "string",
|
5571
|
+
"maxLength": 1024
|
5572
|
+
},
|
5573
|
+
"inputCount": {
|
5574
|
+
"type": "number"
|
5575
|
+
},
|
5576
|
+
"outputCount": {
|
5577
|
+
"type": "number"
|
5578
|
+
},
|
5579
|
+
"id": {
|
5580
|
+
"type": "string",
|
5581
|
+
"maxLength": 48
|
5582
|
+
},
|
5583
|
+
"timeUnit": {
|
5584
|
+
"type": "string",
|
5585
|
+
"maxLength": 48
|
5586
|
+
},
|
5587
|
+
"maxAgeToggle": {
|
5588
|
+
"type": "boolean"
|
5589
|
+
},
|
5590
|
+
"allowedAttributeType": {
|
5591
|
+
"type": "string",
|
5592
|
+
"enum": [
|
5593
|
+
"attributeWhitelist",
|
5594
|
+
"any",
|
5595
|
+
"attributeBlacklist"
|
5596
|
+
]
|
5597
|
+
}
|
5598
|
+
},
|
5599
|
+
"additionalProperties": false
|
5600
|
+
},
|
5601
|
+
"outputIds": {
|
5602
|
+
"type": "array",
|
5603
|
+
"items": {
|
5604
|
+
"type": "array",
|
5605
|
+
"items": {
|
5606
|
+
"type": "string",
|
5607
|
+
"maxLength": 48,
|
5608
|
+
"minLength": 1
|
5609
|
+
},
|
5610
|
+
"maxItems": 100
|
5611
|
+
},
|
5612
|
+
"maxItems": 100
|
5613
|
+
}
|
5614
|
+
},
|
5615
|
+
"required": [
|
5616
|
+
"type"
|
5617
|
+
],
|
5618
|
+
"additionalProperties": false
|
5619
|
+
},
|
5620
|
+
{
|
5621
|
+
"type": "object",
|
5622
|
+
"properties": {
|
5623
|
+
"key": {
|
5624
|
+
"type": "string",
|
5625
|
+
"maxLength": 1024
|
5626
|
+
},
|
5627
|
+
"type": {
|
5628
|
+
"type": "string",
|
5629
|
+
"enum": [
|
5630
|
+
"deviceIdInactivity",
|
5631
|
+
"deviceTagInactivity"
|
5632
|
+
]
|
5633
|
+
},
|
5634
|
+
"config": {
|
5635
|
+
"type": "object",
|
5636
|
+
"properties": {
|
5637
|
+
"seconds": {
|
5638
|
+
"type": "number"
|
4773
5639
|
}
|
4774
5640
|
},
|
4775
5641
|
"additionalProperties": false
|
@@ -4786,9 +5652,7 @@
|
|
4786
5652
|
"name": {
|
4787
5653
|
"type": "string",
|
4788
5654
|
"enum": [
|
4789
|
-
"
|
4790
|
-
"device",
|
4791
|
-
"deviceTag"
|
5655
|
+
"deviceIdsTagsInactivity"
|
4792
5656
|
]
|
4793
5657
|
},
|
4794
5658
|
"label": {
|
@@ -4827,21 +5691,6 @@
|
|
4827
5691
|
"id": {
|
4828
5692
|
"type": "string",
|
4829
5693
|
"maxLength": 48
|
4830
|
-
},
|
4831
|
-
"timeUnit": {
|
4832
|
-
"type": "string",
|
4833
|
-
"maxLength": 48
|
4834
|
-
},
|
4835
|
-
"maxAgeToggle": {
|
4836
|
-
"type": "boolean"
|
4837
|
-
},
|
4838
|
-
"allowedAttributeType": {
|
4839
|
-
"type": "string",
|
4840
|
-
"enum": [
|
4841
|
-
"attributeWhitelist",
|
4842
|
-
"any",
|
4843
|
-
"attributeBlacklist"
|
4844
|
-
]
|
4845
5694
|
}
|
4846
5695
|
},
|
4847
5696
|
"additionalProperties": false
|
@@ -4852,7 +5701,8 @@
|
|
4852
5701
|
"type": "array",
|
4853
5702
|
"items": {
|
4854
5703
|
"type": "string",
|
4855
|
-
"maxLength":
|
5704
|
+
"maxLength": 48,
|
5705
|
+
"minLength": 1
|
4856
5706
|
},
|
4857
5707
|
"maxItems": 100
|
4858
5708
|
},
|
@@ -4874,17 +5724,12 @@
|
|
4874
5724
|
"type": {
|
4875
5725
|
"type": "string",
|
4876
5726
|
"enum": [
|
4877
|
-
"
|
4878
|
-
"deviceTagInactivity"
|
5727
|
+
"direct"
|
4879
5728
|
]
|
4880
5729
|
},
|
4881
5730
|
"config": {
|
4882
5731
|
"type": "object",
|
4883
|
-
"properties": {
|
4884
|
-
"seconds": {
|
4885
|
-
"type": "number"
|
4886
|
-
}
|
4887
|
-
},
|
5732
|
+
"properties": {},
|
4888
5733
|
"additionalProperties": false
|
4889
5734
|
},
|
4890
5735
|
"meta": {
|
@@ -4899,7 +5744,7 @@
|
|
4899
5744
|
"name": {
|
4900
5745
|
"type": "string",
|
4901
5746
|
"enum": [
|
4902
|
-
"
|
5747
|
+
"direct"
|
4903
5748
|
]
|
4904
5749
|
},
|
4905
5750
|
"label": {
|
@@ -4948,7 +5793,8 @@
|
|
4948
5793
|
"type": "array",
|
4949
5794
|
"items": {
|
4950
5795
|
"type": "string",
|
4951
|
-
"maxLength":
|
5796
|
+
"maxLength": 48,
|
5797
|
+
"minLength": 1
|
4952
5798
|
},
|
4953
5799
|
"maxItems": 100
|
4954
5800
|
},
|
@@ -5045,7 +5891,8 @@
|
|
5045
5891
|
"type": "array",
|
5046
5892
|
"items": {
|
5047
5893
|
"type": "string",
|
5048
|
-
"maxLength":
|
5894
|
+
"maxLength": 48,
|
5895
|
+
"minLength": 1
|
5049
5896
|
},
|
5050
5897
|
"maxItems": 100
|
5051
5898
|
},
|
@@ -5150,7 +5997,8 @@
|
|
5150
5997
|
"type": "array",
|
5151
5998
|
"items": {
|
5152
5999
|
"type": "string",
|
5153
|
-
"maxLength":
|
6000
|
+
"maxLength": 48,
|
6001
|
+
"minLength": 1
|
5154
6002
|
},
|
5155
6003
|
"maxItems": 100
|
5156
6004
|
},
|
@@ -5258,7 +6106,8 @@
|
|
5258
6106
|
"type": "array",
|
5259
6107
|
"items": {
|
5260
6108
|
"type": "string",
|
5261
|
-
"maxLength":
|
6109
|
+
"maxLength": 48,
|
6110
|
+
"minLength": 1
|
5262
6111
|
},
|
5263
6112
|
"maxItems": 100
|
5264
6113
|
},
|
@@ -5369,7 +6218,8 @@
|
|
5369
6218
|
"type": "array",
|
5370
6219
|
"items": {
|
5371
6220
|
"type": "string",
|
5372
|
-
"maxLength":
|
6221
|
+
"maxLength": 48,
|
6222
|
+
"minLength": 1
|
5373
6223
|
},
|
5374
6224
|
"maxItems": 100
|
5375
6225
|
},
|
@@ -5470,7 +6320,8 @@
|
|
5470
6320
|
"type": "array",
|
5471
6321
|
"items": {
|
5472
6322
|
"type": "string",
|
5473
|
-
"maxLength":
|
6323
|
+
"maxLength": 48,
|
6324
|
+
"minLength": 1
|
5474
6325
|
},
|
5475
6326
|
"maxItems": 100
|
5476
6327
|
},
|
@@ -5573,7 +6424,8 @@
|
|
5573
6424
|
"type": "array",
|
5574
6425
|
"items": {
|
5575
6426
|
"type": "string",
|
5576
|
-
"maxLength":
|
6427
|
+
"maxLength": 48,
|
6428
|
+
"minLength": 1
|
5577
6429
|
},
|
5578
6430
|
"maxItems": 100
|
5579
6431
|
},
|
@@ -5713,7 +6565,8 @@
|
|
5713
6565
|
"type": "array",
|
5714
6566
|
"items": {
|
5715
6567
|
"type": "string",
|
5716
|
-
"maxLength":
|
6568
|
+
"maxLength": 48,
|
6569
|
+
"minLength": 1
|
5717
6570
|
},
|
5718
6571
|
"maxItems": 100
|
5719
6572
|
},
|
@@ -5836,8 +6689,122 @@
|
|
5836
6689
|
"type": "array",
|
5837
6690
|
"items": {
|
5838
6691
|
"type": "string",
|
6692
|
+
"maxLength": 48,
|
6693
|
+
"minLength": 1
|
6694
|
+
},
|
6695
|
+
"maxItems": 100
|
6696
|
+
},
|
6697
|
+
"maxItems": 100
|
6698
|
+
}
|
6699
|
+
},
|
6700
|
+
"required": [
|
6701
|
+
"type"
|
6702
|
+
],
|
6703
|
+
"additionalProperties": false
|
6704
|
+
},
|
6705
|
+
{
|
6706
|
+
"type": "object",
|
6707
|
+
"properties": {
|
6708
|
+
"key": {
|
6709
|
+
"type": "string",
|
6710
|
+
"maxLength": 1024
|
6711
|
+
},
|
6712
|
+
"type": {
|
6713
|
+
"type": "string",
|
6714
|
+
"enum": [
|
6715
|
+
"request"
|
6716
|
+
]
|
6717
|
+
},
|
6718
|
+
"config": {
|
6719
|
+
"type": "object",
|
6720
|
+
"properties": {
|
6721
|
+
"method": {
|
6722
|
+
"type": "string",
|
6723
|
+
"enum": [
|
6724
|
+
"*",
|
6725
|
+
"delete",
|
6726
|
+
"get",
|
6727
|
+
"options",
|
6728
|
+
"patch",
|
6729
|
+
"post",
|
6730
|
+
"put"
|
6731
|
+
]
|
6732
|
+
},
|
6733
|
+
"route": {
|
6734
|
+
"type": "string",
|
6735
|
+
"maxLength": 1024
|
6736
|
+
}
|
6737
|
+
},
|
6738
|
+
"additionalProperties": false
|
6739
|
+
},
|
6740
|
+
"meta": {
|
6741
|
+
"type": "object",
|
6742
|
+
"properties": {
|
6743
|
+
"category": {
|
6744
|
+
"type": "string",
|
6745
|
+
"enum": [
|
6746
|
+
"trigger"
|
6747
|
+
]
|
6748
|
+
},
|
6749
|
+
"name": {
|
6750
|
+
"type": "string",
|
6751
|
+
"enum": [
|
6752
|
+
"request"
|
6753
|
+
]
|
6754
|
+
},
|
6755
|
+
"label": {
|
6756
|
+
"type": "string",
|
6757
|
+
"minLength": 1,
|
5839
6758
|
"maxLength": 255
|
5840
6759
|
},
|
6760
|
+
"x": {
|
6761
|
+
"type": "number"
|
6762
|
+
},
|
6763
|
+
"y": {
|
6764
|
+
"type": "number"
|
6765
|
+
},
|
6766
|
+
"uiId": {
|
6767
|
+
"type": "string",
|
6768
|
+
"maxLength": 48
|
6769
|
+
},
|
6770
|
+
"description": {
|
6771
|
+
"type": "string",
|
6772
|
+
"maxLength": 32767
|
6773
|
+
},
|
6774
|
+
"icon": {
|
6775
|
+
"type": "string",
|
6776
|
+
"maxLength": 1024
|
6777
|
+
},
|
6778
|
+
"color": {
|
6779
|
+
"type": "string",
|
6780
|
+
"maxLength": 1024
|
6781
|
+
},
|
6782
|
+
"inputCount": {
|
6783
|
+
"type": "number"
|
6784
|
+
},
|
6785
|
+
"outputCount": {
|
6786
|
+
"type": "number"
|
6787
|
+
},
|
6788
|
+
"triggerId": {
|
6789
|
+
"type": "string",
|
6790
|
+
"maxLength": 48
|
6791
|
+
},
|
6792
|
+
"id": {
|
6793
|
+
"type": "string",
|
6794
|
+
"maxLength": 48
|
6795
|
+
}
|
6796
|
+
},
|
6797
|
+
"additionalProperties": false
|
6798
|
+
},
|
6799
|
+
"outputIds": {
|
6800
|
+
"type": "array",
|
6801
|
+
"items": {
|
6802
|
+
"type": "array",
|
6803
|
+
"items": {
|
6804
|
+
"type": "string",
|
6805
|
+
"maxLength": 48,
|
6806
|
+
"minLength": 1
|
6807
|
+
},
|
5841
6808
|
"maxItems": 100
|
5842
6809
|
},
|
5843
6810
|
"maxItems": 100
|
@@ -5979,8 +6946,164 @@
|
|
5979
6946
|
"type": "array",
|
5980
6947
|
"items": {
|
5981
6948
|
"type": "string",
|
6949
|
+
"maxLength": 48,
|
6950
|
+
"minLength": 1
|
6951
|
+
},
|
6952
|
+
"maxItems": 100
|
6953
|
+
},
|
6954
|
+
"maxItems": 100
|
6955
|
+
}
|
6956
|
+
},
|
6957
|
+
"required": [
|
6958
|
+
"type"
|
6959
|
+
],
|
6960
|
+
"additionalProperties": false
|
6961
|
+
},
|
6962
|
+
{
|
6963
|
+
"type": "object",
|
6964
|
+
"properties": {
|
6965
|
+
"key": {
|
6966
|
+
"type": "string",
|
6967
|
+
"maxLength": 1024
|
6968
|
+
},
|
6969
|
+
"type": {
|
6970
|
+
"type": "string",
|
6971
|
+
"enum": [
|
6972
|
+
"snmpTrap"
|
6973
|
+
]
|
6974
|
+
},
|
6975
|
+
"config": {
|
6976
|
+
"type": "object",
|
6977
|
+
"properties": {
|
6978
|
+
"udpPort": {
|
6979
|
+
"type": "string",
|
6980
|
+
"maxLength": 5
|
6981
|
+
},
|
6982
|
+
"snmpTrapConfig": {
|
6983
|
+
"type": "object",
|
6984
|
+
"properties": {
|
6985
|
+
"community": {
|
6986
|
+
"type": "string",
|
6987
|
+
"maxLength": 1024
|
6988
|
+
},
|
6989
|
+
"user": {
|
6990
|
+
"type": "object",
|
6991
|
+
"properties": {
|
6992
|
+
"name": {
|
6993
|
+
"type": "string",
|
6994
|
+
"maxLength": 1024
|
6995
|
+
},
|
6996
|
+
"securityLevel": {
|
6997
|
+
"type": "string",
|
6998
|
+
"enum": [
|
6999
|
+
"none",
|
7000
|
+
"auth",
|
7001
|
+
"authAndEncrypt"
|
7002
|
+
]
|
7003
|
+
},
|
7004
|
+
"authMethod": {
|
7005
|
+
"type": "string",
|
7006
|
+
"enum": [
|
7007
|
+
"sha",
|
7008
|
+
"md5"
|
7009
|
+
]
|
7010
|
+
},
|
7011
|
+
"authKey": {
|
7012
|
+
"type": "string",
|
7013
|
+
"maxLength": 1024
|
7014
|
+
},
|
7015
|
+
"encryptionMethod": {
|
7016
|
+
"type": "string",
|
7017
|
+
"enum": [
|
7018
|
+
"aes",
|
7019
|
+
"des"
|
7020
|
+
]
|
7021
|
+
},
|
7022
|
+
"encryptionKey": {
|
7023
|
+
"type": "string",
|
7024
|
+
"maxLength": 1024
|
7025
|
+
}
|
7026
|
+
},
|
7027
|
+
"required": [
|
7028
|
+
"name",
|
7029
|
+
"securityLevel"
|
7030
|
+
],
|
7031
|
+
"additionalProperties": false
|
7032
|
+
}
|
7033
|
+
},
|
7034
|
+
"additionalProperties": false
|
7035
|
+
}
|
7036
|
+
},
|
7037
|
+
"required": [
|
7038
|
+
"udpPort",
|
7039
|
+
"snmpTrapConfig"
|
7040
|
+
],
|
7041
|
+
"additionalProperties": false
|
7042
|
+
},
|
7043
|
+
"meta": {
|
7044
|
+
"type": "object",
|
7045
|
+
"properties": {
|
7046
|
+
"category": {
|
7047
|
+
"type": "string",
|
7048
|
+
"enum": [
|
7049
|
+
"trigger"
|
7050
|
+
]
|
7051
|
+
},
|
7052
|
+
"name": {
|
7053
|
+
"type": "string",
|
7054
|
+
"enum": [
|
7055
|
+
"snmpTrap"
|
7056
|
+
]
|
7057
|
+
},
|
7058
|
+
"label": {
|
7059
|
+
"type": "string",
|
7060
|
+
"minLength": 1,
|
5982
7061
|
"maxLength": 255
|
5983
7062
|
},
|
7063
|
+
"x": {
|
7064
|
+
"type": "number"
|
7065
|
+
},
|
7066
|
+
"y": {
|
7067
|
+
"type": "number"
|
7068
|
+
},
|
7069
|
+
"uiId": {
|
7070
|
+
"type": "string",
|
7071
|
+
"maxLength": 48
|
7072
|
+
},
|
7073
|
+
"description": {
|
7074
|
+
"type": "string",
|
7075
|
+
"maxLength": 32767
|
7076
|
+
},
|
7077
|
+
"icon": {
|
7078
|
+
"type": "string",
|
7079
|
+
"maxLength": 1024
|
7080
|
+
},
|
7081
|
+
"color": {
|
7082
|
+
"type": "string",
|
7083
|
+
"maxLength": 1024
|
7084
|
+
},
|
7085
|
+
"inputCount": {
|
7086
|
+
"type": "number"
|
7087
|
+
},
|
7088
|
+
"outputCount": {
|
7089
|
+
"type": "number"
|
7090
|
+
},
|
7091
|
+
"id": {
|
7092
|
+
"type": "string",
|
7093
|
+
"maxLength": 48
|
7094
|
+
}
|
7095
|
+
},
|
7096
|
+
"additionalProperties": false
|
7097
|
+
},
|
7098
|
+
"outputIds": {
|
7099
|
+
"type": "array",
|
7100
|
+
"items": {
|
7101
|
+
"type": "array",
|
7102
|
+
"items": {
|
7103
|
+
"type": "string",
|
7104
|
+
"maxLength": 48,
|
7105
|
+
"minLength": 1
|
7106
|
+
},
|
5984
7107
|
"maxItems": 100
|
5985
7108
|
},
|
5986
7109
|
"maxItems": 100
|
@@ -6105,7 +7228,8 @@
|
|
6105
7228
|
"type": "array",
|
6106
7229
|
"items": {
|
6107
7230
|
"type": "string",
|
6108
|
-
"maxLength":
|
7231
|
+
"maxLength": 48,
|
7232
|
+
"minLength": 1
|
6109
7233
|
},
|
6110
7234
|
"maxItems": 100
|
6111
7235
|
},
|
@@ -6220,7 +7344,8 @@
|
|
6220
7344
|
"type": "array",
|
6221
7345
|
"items": {
|
6222
7346
|
"type": "string",
|
6223
|
-
"maxLength":
|
7347
|
+
"maxLength": 48,
|
7348
|
+
"minLength": 1
|
6224
7349
|
},
|
6225
7350
|
"maxItems": 100
|
6226
7351
|
},
|
@@ -6261,7 +7386,8 @@
|
|
6261
7386
|
"type": "array",
|
6262
7387
|
"items": {
|
6263
7388
|
"type": "string",
|
6264
|
-
"maxLength":
|
7389
|
+
"maxLength": 48,
|
7390
|
+
"minLength": 1
|
6265
7391
|
},
|
6266
7392
|
"maxItems": 100
|
6267
7393
|
},
|