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
@@ -258,10 +258,9 @@
|
|
258
258
|
"type": "string"
|
259
259
|
},
|
260
260
|
"statusCode": {
|
261
|
-
"type": "
|
262
|
-
"
|
263
|
-
"
|
264
|
-
"integer": true
|
261
|
+
"type": "integer",
|
262
|
+
"minimum": 100,
|
263
|
+
"maximum": 599
|
265
264
|
},
|
266
265
|
"type": {
|
267
266
|
"type": "string",
|
@@ -291,10 +290,9 @@
|
|
291
290
|
"type": "string"
|
292
291
|
},
|
293
292
|
"statusCode": {
|
294
|
-
"type": "
|
295
|
-
"
|
296
|
-
"
|
297
|
-
"integer": true
|
293
|
+
"type": "integer",
|
294
|
+
"minimum": 100,
|
295
|
+
"maximum": 599
|
298
296
|
},
|
299
297
|
"type": {
|
300
298
|
"type": "string",
|
@@ -435,6 +433,7 @@
|
|
435
433
|
"enum": [
|
436
434
|
"cloud",
|
437
435
|
"edge",
|
436
|
+
"embedded",
|
438
437
|
"experience",
|
439
438
|
"customNode"
|
440
439
|
]
|
@@ -464,7 +463,6 @@
|
|
464
463
|
"onBoot",
|
465
464
|
"onConnect",
|
466
465
|
"onDisconnect",
|
467
|
-
"request",
|
468
466
|
"udp",
|
469
467
|
"webhook"
|
470
468
|
]
|
@@ -489,6 +487,7 @@
|
|
489
487
|
"deviceCommand",
|
490
488
|
"deviceIdsTagsConnect",
|
491
489
|
"deviceIdsTagsDisconnect",
|
490
|
+
"eeaInit",
|
492
491
|
"flowError",
|
493
492
|
"googlePubSub",
|
494
493
|
"meridian",
|
@@ -498,7 +497,6 @@
|
|
498
497
|
"onConnect",
|
499
498
|
"onDisconnect",
|
500
499
|
"particle",
|
501
|
-
"request",
|
502
500
|
"udp",
|
503
501
|
"webhook"
|
504
502
|
]
|
@@ -553,7 +551,8 @@
|
|
553
551
|
"type": "array",
|
554
552
|
"items": {
|
555
553
|
"type": "string",
|
556
|
-
"maxLength":
|
554
|
+
"maxLength": 48,
|
555
|
+
"minLength": 1
|
557
556
|
},
|
558
557
|
"maxItems": 100
|
559
558
|
},
|
@@ -657,7 +656,8 @@
|
|
657
656
|
"type": "array",
|
658
657
|
"items": {
|
659
658
|
"type": "string",
|
660
|
-
"maxLength":
|
659
|
+
"maxLength": 48,
|
660
|
+
"minLength": 1
|
661
661
|
},
|
662
662
|
"maxItems": 100
|
663
663
|
},
|
@@ -801,7 +801,8 @@
|
|
801
801
|
"type": "array",
|
802
802
|
"items": {
|
803
803
|
"type": "string",
|
804
|
-
"maxLength":
|
804
|
+
"maxLength": 48,
|
805
|
+
"minLength": 1
|
805
806
|
},
|
806
807
|
"maxItems": 100
|
807
808
|
},
|
@@ -897,8 +898,101 @@
|
|
897
898
|
"type": "array",
|
898
899
|
"items": {
|
899
900
|
"type": "string",
|
901
|
+
"maxLength": 48,
|
902
|
+
"minLength": 1
|
903
|
+
},
|
904
|
+
"maxItems": 100
|
905
|
+
},
|
906
|
+
"maxItems": 100
|
907
|
+
}
|
908
|
+
},
|
909
|
+
"required": [
|
910
|
+
"type"
|
911
|
+
],
|
912
|
+
"additionalProperties": false
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"type": "object",
|
916
|
+
"properties": {
|
917
|
+
"key": {
|
918
|
+
"type": "string",
|
919
|
+
"maxLength": 1024
|
920
|
+
},
|
921
|
+
"type": {
|
922
|
+
"type": "string",
|
923
|
+
"enum": [
|
924
|
+
"direct"
|
925
|
+
]
|
926
|
+
},
|
927
|
+
"config": {
|
928
|
+
"type": "object",
|
929
|
+
"properties": {},
|
930
|
+
"additionalProperties": false
|
931
|
+
},
|
932
|
+
"meta": {
|
933
|
+
"type": "object",
|
934
|
+
"properties": {
|
935
|
+
"category": {
|
936
|
+
"type": "string",
|
937
|
+
"enum": [
|
938
|
+
"trigger"
|
939
|
+
]
|
940
|
+
},
|
941
|
+
"name": {
|
942
|
+
"type": "string",
|
943
|
+
"enum": [
|
944
|
+
"direct"
|
945
|
+
]
|
946
|
+
},
|
947
|
+
"label": {
|
948
|
+
"type": "string",
|
949
|
+
"minLength": 1,
|
900
950
|
"maxLength": 255
|
901
951
|
},
|
952
|
+
"x": {
|
953
|
+
"type": "number"
|
954
|
+
},
|
955
|
+
"y": {
|
956
|
+
"type": "number"
|
957
|
+
},
|
958
|
+
"uiId": {
|
959
|
+
"type": "string",
|
960
|
+
"maxLength": 48
|
961
|
+
},
|
962
|
+
"description": {
|
963
|
+
"type": "string",
|
964
|
+
"maxLength": 32767
|
965
|
+
},
|
966
|
+
"icon": {
|
967
|
+
"type": "string",
|
968
|
+
"maxLength": 1024
|
969
|
+
},
|
970
|
+
"color": {
|
971
|
+
"type": "string",
|
972
|
+
"maxLength": 1024
|
973
|
+
},
|
974
|
+
"inputCount": {
|
975
|
+
"type": "number"
|
976
|
+
},
|
977
|
+
"outputCount": {
|
978
|
+
"type": "number"
|
979
|
+
},
|
980
|
+
"id": {
|
981
|
+
"type": "string",
|
982
|
+
"maxLength": 48
|
983
|
+
}
|
984
|
+
},
|
985
|
+
"additionalProperties": false
|
986
|
+
},
|
987
|
+
"outputIds": {
|
988
|
+
"type": "array",
|
989
|
+
"items": {
|
990
|
+
"type": "array",
|
991
|
+
"items": {
|
992
|
+
"type": "string",
|
993
|
+
"maxLength": 48,
|
994
|
+
"minLength": 1
|
995
|
+
},
|
902
996
|
"maxItems": 100
|
903
997
|
},
|
904
998
|
"maxItems": 100
|
@@ -994,7 +1088,8 @@
|
|
994
1088
|
"type": "array",
|
995
1089
|
"items": {
|
996
1090
|
"type": "string",
|
997
|
-
"maxLength":
|
1091
|
+
"maxLength": 48,
|
1092
|
+
"minLength": 1
|
998
1093
|
},
|
999
1094
|
"maxItems": 100
|
1000
1095
|
},
|
@@ -1099,7 +1194,8 @@
|
|
1099
1194
|
"type": "array",
|
1100
1195
|
"items": {
|
1101
1196
|
"type": "string",
|
1102
|
-
"maxLength":
|
1197
|
+
"maxLength": 48,
|
1198
|
+
"minLength": 1
|
1103
1199
|
},
|
1104
1200
|
"maxItems": 100
|
1105
1201
|
},
|
@@ -1207,7 +1303,8 @@
|
|
1207
1303
|
"type": "array",
|
1208
1304
|
"items": {
|
1209
1305
|
"type": "string",
|
1210
|
-
"maxLength":
|
1306
|
+
"maxLength": 48,
|
1307
|
+
"minLength": 1
|
1211
1308
|
},
|
1212
1309
|
"maxItems": 100
|
1213
1310
|
},
|
@@ -1318,7 +1415,8 @@
|
|
1318
1415
|
"type": "array",
|
1319
1416
|
"items": {
|
1320
1417
|
"type": "string",
|
1321
|
-
"maxLength":
|
1418
|
+
"maxLength": 48,
|
1419
|
+
"minLength": 1
|
1322
1420
|
},
|
1323
1421
|
"maxItems": 100
|
1324
1422
|
},
|
@@ -1419,7 +1517,8 @@
|
|
1419
1517
|
"type": "array",
|
1420
1518
|
"items": {
|
1421
1519
|
"type": "string",
|
1422
|
-
"maxLength":
|
1520
|
+
"maxLength": 48,
|
1521
|
+
"minLength": 1
|
1423
1522
|
},
|
1424
1523
|
"maxItems": 100
|
1425
1524
|
},
|
@@ -1522,7 +1621,8 @@
|
|
1522
1621
|
"type": "array",
|
1523
1622
|
"items": {
|
1524
1623
|
"type": "string",
|
1525
|
-
"maxLength":
|
1624
|
+
"maxLength": 48,
|
1625
|
+
"minLength": 1
|
1526
1626
|
},
|
1527
1627
|
"maxItems": 100
|
1528
1628
|
},
|
@@ -1662,7 +1762,8 @@
|
|
1662
1762
|
"type": "array",
|
1663
1763
|
"items": {
|
1664
1764
|
"type": "string",
|
1665
|
-
"maxLength":
|
1765
|
+
"maxLength": 48,
|
1766
|
+
"minLength": 1
|
1666
1767
|
},
|
1667
1768
|
"maxItems": 100
|
1668
1769
|
},
|
@@ -1785,8 +1886,122 @@
|
|
1785
1886
|
"type": "array",
|
1786
1887
|
"items": {
|
1787
1888
|
"type": "string",
|
1889
|
+
"maxLength": 48,
|
1890
|
+
"minLength": 1
|
1891
|
+
},
|
1892
|
+
"maxItems": 100
|
1893
|
+
},
|
1894
|
+
"maxItems": 100
|
1895
|
+
}
|
1896
|
+
},
|
1897
|
+
"required": [
|
1898
|
+
"type"
|
1899
|
+
],
|
1900
|
+
"additionalProperties": false
|
1901
|
+
},
|
1902
|
+
{
|
1903
|
+
"type": "object",
|
1904
|
+
"properties": {
|
1905
|
+
"key": {
|
1906
|
+
"type": "string",
|
1907
|
+
"maxLength": 1024
|
1908
|
+
},
|
1909
|
+
"type": {
|
1910
|
+
"type": "string",
|
1911
|
+
"enum": [
|
1912
|
+
"request"
|
1913
|
+
]
|
1914
|
+
},
|
1915
|
+
"config": {
|
1916
|
+
"type": "object",
|
1917
|
+
"properties": {
|
1918
|
+
"method": {
|
1919
|
+
"type": "string",
|
1920
|
+
"enum": [
|
1921
|
+
"*",
|
1922
|
+
"delete",
|
1923
|
+
"get",
|
1924
|
+
"options",
|
1925
|
+
"patch",
|
1926
|
+
"post",
|
1927
|
+
"put"
|
1928
|
+
]
|
1929
|
+
},
|
1930
|
+
"route": {
|
1931
|
+
"type": "string",
|
1932
|
+
"maxLength": 1024
|
1933
|
+
}
|
1934
|
+
},
|
1935
|
+
"additionalProperties": false
|
1936
|
+
},
|
1937
|
+
"meta": {
|
1938
|
+
"type": "object",
|
1939
|
+
"properties": {
|
1940
|
+
"category": {
|
1941
|
+
"type": "string",
|
1942
|
+
"enum": [
|
1943
|
+
"trigger"
|
1944
|
+
]
|
1945
|
+
},
|
1946
|
+
"name": {
|
1947
|
+
"type": "string",
|
1948
|
+
"enum": [
|
1949
|
+
"request"
|
1950
|
+
]
|
1951
|
+
},
|
1952
|
+
"label": {
|
1953
|
+
"type": "string",
|
1954
|
+
"minLength": 1,
|
1788
1955
|
"maxLength": 255
|
1789
1956
|
},
|
1957
|
+
"x": {
|
1958
|
+
"type": "number"
|
1959
|
+
},
|
1960
|
+
"y": {
|
1961
|
+
"type": "number"
|
1962
|
+
},
|
1963
|
+
"uiId": {
|
1964
|
+
"type": "string",
|
1965
|
+
"maxLength": 48
|
1966
|
+
},
|
1967
|
+
"description": {
|
1968
|
+
"type": "string",
|
1969
|
+
"maxLength": 32767
|
1970
|
+
},
|
1971
|
+
"icon": {
|
1972
|
+
"type": "string",
|
1973
|
+
"maxLength": 1024
|
1974
|
+
},
|
1975
|
+
"color": {
|
1976
|
+
"type": "string",
|
1977
|
+
"maxLength": 1024
|
1978
|
+
},
|
1979
|
+
"inputCount": {
|
1980
|
+
"type": "number"
|
1981
|
+
},
|
1982
|
+
"outputCount": {
|
1983
|
+
"type": "number"
|
1984
|
+
},
|
1985
|
+
"triggerId": {
|
1986
|
+
"type": "string",
|
1987
|
+
"maxLength": 48
|
1988
|
+
},
|
1989
|
+
"id": {
|
1990
|
+
"type": "string",
|
1991
|
+
"maxLength": 48
|
1992
|
+
}
|
1993
|
+
},
|
1994
|
+
"additionalProperties": false
|
1995
|
+
},
|
1996
|
+
"outputIds": {
|
1997
|
+
"type": "array",
|
1998
|
+
"items": {
|
1999
|
+
"type": "array",
|
2000
|
+
"items": {
|
2001
|
+
"type": "string",
|
2002
|
+
"maxLength": 48,
|
2003
|
+
"minLength": 1
|
2004
|
+
},
|
1790
2005
|
"maxItems": 100
|
1791
2006
|
},
|
1792
2007
|
"maxItems": 100
|
@@ -1928,7 +2143,8 @@
|
|
1928
2143
|
"type": "array",
|
1929
2144
|
"items": {
|
1930
2145
|
"type": "string",
|
1931
|
-
"maxLength":
|
2146
|
+
"maxLength": 48,
|
2147
|
+
"minLength": 1
|
1932
2148
|
},
|
1933
2149
|
"maxItems": 100
|
1934
2150
|
},
|
@@ -1950,24 +2166,75 @@
|
|
1950
2166
|
"type": {
|
1951
2167
|
"type": "string",
|
1952
2168
|
"enum": [
|
1953
|
-
"
|
2169
|
+
"snmpTrap"
|
1954
2170
|
]
|
1955
2171
|
},
|
1956
2172
|
"config": {
|
1957
2173
|
"type": "object",
|
1958
2174
|
"properties": {
|
1959
|
-
"
|
1960
|
-
"type": "number"
|
1961
|
-
},
|
1962
|
-
"cron": {
|
2175
|
+
"udpPort": {
|
1963
2176
|
"type": "string",
|
1964
|
-
"maxLength":
|
2177
|
+
"maxLength": 5
|
1965
2178
|
},
|
1966
|
-
"
|
1967
|
-
"type": "
|
1968
|
-
"
|
2179
|
+
"snmpTrapConfig": {
|
2180
|
+
"type": "object",
|
2181
|
+
"properties": {
|
2182
|
+
"community": {
|
2183
|
+
"type": "string",
|
2184
|
+
"maxLength": 1024
|
2185
|
+
},
|
2186
|
+
"user": {
|
2187
|
+
"type": "object",
|
2188
|
+
"properties": {
|
2189
|
+
"name": {
|
2190
|
+
"type": "string",
|
2191
|
+
"maxLength": 1024
|
2192
|
+
},
|
2193
|
+
"securityLevel": {
|
2194
|
+
"type": "string",
|
2195
|
+
"enum": [
|
2196
|
+
"none",
|
2197
|
+
"auth",
|
2198
|
+
"authAndEncrypt"
|
2199
|
+
]
|
2200
|
+
},
|
2201
|
+
"authMethod": {
|
2202
|
+
"type": "string",
|
2203
|
+
"enum": [
|
2204
|
+
"sha",
|
2205
|
+
"md5"
|
2206
|
+
]
|
2207
|
+
},
|
2208
|
+
"authKey": {
|
2209
|
+
"type": "string",
|
2210
|
+
"maxLength": 1024
|
2211
|
+
},
|
2212
|
+
"encryptionMethod": {
|
2213
|
+
"type": "string",
|
2214
|
+
"enum": [
|
2215
|
+
"aes",
|
2216
|
+
"des"
|
2217
|
+
]
|
2218
|
+
},
|
2219
|
+
"encryptionKey": {
|
2220
|
+
"type": "string",
|
2221
|
+
"maxLength": 1024
|
2222
|
+
}
|
2223
|
+
},
|
2224
|
+
"required": [
|
2225
|
+
"name",
|
2226
|
+
"securityLevel"
|
2227
|
+
],
|
2228
|
+
"additionalProperties": false
|
2229
|
+
}
|
2230
|
+
},
|
2231
|
+
"additionalProperties": false
|
1969
2232
|
}
|
1970
2233
|
},
|
2234
|
+
"required": [
|
2235
|
+
"udpPort",
|
2236
|
+
"snmpTrapConfig"
|
2237
|
+
],
|
1971
2238
|
"additionalProperties": false
|
1972
2239
|
},
|
1973
2240
|
"meta": {
|
@@ -1982,7 +2249,7 @@
|
|
1982
2249
|
"name": {
|
1983
2250
|
"type": "string",
|
1984
2251
|
"enum": [
|
1985
|
-
"
|
2252
|
+
"snmpTrap"
|
1986
2253
|
]
|
1987
2254
|
},
|
1988
2255
|
"label": {
|
@@ -2021,18 +2288,122 @@
|
|
2021
2288
|
"id": {
|
2022
2289
|
"type": "string",
|
2023
2290
|
"maxLength": 48
|
2024
|
-
}
|
2025
|
-
|
2291
|
+
}
|
2292
|
+
},
|
2293
|
+
"additionalProperties": false
|
2294
|
+
},
|
2295
|
+
"outputIds": {
|
2296
|
+
"type": "array",
|
2297
|
+
"items": {
|
2298
|
+
"type": "array",
|
2299
|
+
"items": {
|
2026
2300
|
"type": "string",
|
2027
|
-
"
|
2028
|
-
|
2029
|
-
"seconds",
|
2030
|
-
"cron"
|
2031
|
-
]
|
2301
|
+
"maxLength": 48,
|
2302
|
+
"minLength": 1
|
2032
2303
|
},
|
2033
|
-
"
|
2034
|
-
|
2035
|
-
|
2304
|
+
"maxItems": 100
|
2305
|
+
},
|
2306
|
+
"maxItems": 100
|
2307
|
+
}
|
2308
|
+
},
|
2309
|
+
"required": [
|
2310
|
+
"type"
|
2311
|
+
],
|
2312
|
+
"additionalProperties": false
|
2313
|
+
},
|
2314
|
+
{
|
2315
|
+
"type": "object",
|
2316
|
+
"properties": {
|
2317
|
+
"key": {
|
2318
|
+
"type": "string",
|
2319
|
+
"maxLength": 1024
|
2320
|
+
},
|
2321
|
+
"type": {
|
2322
|
+
"type": "string",
|
2323
|
+
"enum": [
|
2324
|
+
"timer"
|
2325
|
+
]
|
2326
|
+
},
|
2327
|
+
"config": {
|
2328
|
+
"type": "object",
|
2329
|
+
"properties": {
|
2330
|
+
"seconds": {
|
2331
|
+
"type": "number"
|
2332
|
+
},
|
2333
|
+
"cron": {
|
2334
|
+
"type": "string",
|
2335
|
+
"maxLength": 255
|
2336
|
+
},
|
2337
|
+
"tz": {
|
2338
|
+
"type": "string",
|
2339
|
+
"maxLength": 255
|
2340
|
+
}
|
2341
|
+
},
|
2342
|
+
"additionalProperties": false
|
2343
|
+
},
|
2344
|
+
"meta": {
|
2345
|
+
"type": "object",
|
2346
|
+
"properties": {
|
2347
|
+
"category": {
|
2348
|
+
"type": "string",
|
2349
|
+
"enum": [
|
2350
|
+
"trigger"
|
2351
|
+
]
|
2352
|
+
},
|
2353
|
+
"name": {
|
2354
|
+
"type": "string",
|
2355
|
+
"enum": [
|
2356
|
+
"timer"
|
2357
|
+
]
|
2358
|
+
},
|
2359
|
+
"label": {
|
2360
|
+
"type": "string",
|
2361
|
+
"minLength": 1,
|
2362
|
+
"maxLength": 255
|
2363
|
+
},
|
2364
|
+
"x": {
|
2365
|
+
"type": "number"
|
2366
|
+
},
|
2367
|
+
"y": {
|
2368
|
+
"type": "number"
|
2369
|
+
},
|
2370
|
+
"uiId": {
|
2371
|
+
"type": "string",
|
2372
|
+
"maxLength": 48
|
2373
|
+
},
|
2374
|
+
"description": {
|
2375
|
+
"type": "string",
|
2376
|
+
"maxLength": 32767
|
2377
|
+
},
|
2378
|
+
"icon": {
|
2379
|
+
"type": "string",
|
2380
|
+
"maxLength": 1024
|
2381
|
+
},
|
2382
|
+
"color": {
|
2383
|
+
"type": "string",
|
2384
|
+
"maxLength": 1024
|
2385
|
+
},
|
2386
|
+
"inputCount": {
|
2387
|
+
"type": "number"
|
2388
|
+
},
|
2389
|
+
"outputCount": {
|
2390
|
+
"type": "number"
|
2391
|
+
},
|
2392
|
+
"id": {
|
2393
|
+
"type": "string",
|
2394
|
+
"maxLength": 48
|
2395
|
+
},
|
2396
|
+
"timerTypeSelect": {
|
2397
|
+
"type": "string",
|
2398
|
+
"enum": [
|
2399
|
+
"cronWeekly",
|
2400
|
+
"seconds",
|
2401
|
+
"cron"
|
2402
|
+
]
|
2403
|
+
},
|
2404
|
+
"timeAt": {
|
2405
|
+
"type": "string",
|
2406
|
+
"maxLength": 255
|
2036
2407
|
},
|
2037
2408
|
"timezone": {
|
2038
2409
|
"type": "string",
|
@@ -2054,7 +2425,8 @@
|
|
2054
2425
|
"type": "array",
|
2055
2426
|
"items": {
|
2056
2427
|
"type": "string",
|
2057
|
-
"maxLength":
|
2428
|
+
"maxLength": 48,
|
2429
|
+
"minLength": 1
|
2058
2430
|
},
|
2059
2431
|
"maxItems": 100
|
2060
2432
|
},
|
@@ -2169,7 +2541,8 @@
|
|
2169
2541
|
"type": "array",
|
2170
2542
|
"items": {
|
2171
2543
|
"type": "string",
|
2172
|
-
"maxLength":
|
2544
|
+
"maxLength": 48,
|
2545
|
+
"minLength": 1
|
2173
2546
|
},
|
2174
2547
|
"maxItems": 100
|
2175
2548
|
},
|
@@ -2210,7 +2583,8 @@
|
|
2210
2583
|
"type": "array",
|
2211
2584
|
"items": {
|
2212
2585
|
"type": "string",
|
2213
|
-
"maxLength":
|
2586
|
+
"maxLength": 48,
|
2587
|
+
"minLength": 1
|
2214
2588
|
},
|
2215
2589
|
"maxItems": 100
|
2216
2590
|
},
|
@@ -2645,6 +3019,7 @@
|
|
2645
3019
|
"enum": [
|
2646
3020
|
"cloud",
|
2647
3021
|
"edge",
|
3022
|
+
"embedded",
|
2648
3023
|
"experience",
|
2649
3024
|
"customNode"
|
2650
3025
|
]
|
@@ -2663,7 +3038,7 @@
|
|
2663
3038
|
"description": "Schema for a single Workflow Version",
|
2664
3039
|
"oneOf": [
|
2665
3040
|
{
|
2666
|
-
"description": "Schema for a single Cloud/Edge/Custom Node Workflow Version",
|
3041
|
+
"description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
|
2667
3042
|
"type": "object",
|
2668
3043
|
"properties": {
|
2669
3044
|
"id": {
|
@@ -2727,7 +3102,6 @@
|
|
2727
3102
|
"onBoot",
|
2728
3103
|
"onConnect",
|
2729
3104
|
"onDisconnect",
|
2730
|
-
"request",
|
2731
3105
|
"udp",
|
2732
3106
|
"webhook"
|
2733
3107
|
]
|
@@ -2752,6 +3126,7 @@
|
|
2752
3126
|
"deviceCommand",
|
2753
3127
|
"deviceIdsTagsConnect",
|
2754
3128
|
"deviceIdsTagsDisconnect",
|
3129
|
+
"eeaInit",
|
2755
3130
|
"flowError",
|
2756
3131
|
"googlePubSub",
|
2757
3132
|
"meridian",
|
@@ -2761,7 +3136,6 @@
|
|
2761
3136
|
"onConnect",
|
2762
3137
|
"onDisconnect",
|
2763
3138
|
"particle",
|
2764
|
-
"request",
|
2765
3139
|
"udp",
|
2766
3140
|
"webhook"
|
2767
3141
|
]
|
@@ -2816,7 +3190,8 @@
|
|
2816
3190
|
"type": "array",
|
2817
3191
|
"items": {
|
2818
3192
|
"type": "string",
|
2819
|
-
"maxLength":
|
3193
|
+
"maxLength": 48,
|
3194
|
+
"minLength": 1
|
2820
3195
|
},
|
2821
3196
|
"maxItems": 100
|
2822
3197
|
},
|
@@ -2920,7 +3295,8 @@
|
|
2920
3295
|
"type": "array",
|
2921
3296
|
"items": {
|
2922
3297
|
"type": "string",
|
2923
|
-
"maxLength":
|
3298
|
+
"maxLength": 48,
|
3299
|
+
"minLength": 1
|
2924
3300
|
},
|
2925
3301
|
"maxItems": 100
|
2926
3302
|
},
|
@@ -3064,7 +3440,8 @@
|
|
3064
3440
|
"type": "array",
|
3065
3441
|
"items": {
|
3066
3442
|
"type": "string",
|
3067
|
-
"maxLength":
|
3443
|
+
"maxLength": 48,
|
3444
|
+
"minLength": 1
|
3068
3445
|
},
|
3069
3446
|
"maxItems": 100
|
3070
3447
|
},
|
@@ -3160,8 +3537,101 @@
|
|
3160
3537
|
"type": "array",
|
3161
3538
|
"items": {
|
3162
3539
|
"type": "string",
|
3540
|
+
"maxLength": 48,
|
3541
|
+
"minLength": 1
|
3542
|
+
},
|
3543
|
+
"maxItems": 100
|
3544
|
+
},
|
3545
|
+
"maxItems": 100
|
3546
|
+
}
|
3547
|
+
},
|
3548
|
+
"required": [
|
3549
|
+
"type"
|
3550
|
+
],
|
3551
|
+
"additionalProperties": false
|
3552
|
+
},
|
3553
|
+
{
|
3554
|
+
"type": "object",
|
3555
|
+
"properties": {
|
3556
|
+
"key": {
|
3557
|
+
"type": "string",
|
3558
|
+
"maxLength": 1024
|
3559
|
+
},
|
3560
|
+
"type": {
|
3561
|
+
"type": "string",
|
3562
|
+
"enum": [
|
3563
|
+
"direct"
|
3564
|
+
]
|
3565
|
+
},
|
3566
|
+
"config": {
|
3567
|
+
"type": "object",
|
3568
|
+
"properties": {},
|
3569
|
+
"additionalProperties": false
|
3570
|
+
},
|
3571
|
+
"meta": {
|
3572
|
+
"type": "object",
|
3573
|
+
"properties": {
|
3574
|
+
"category": {
|
3575
|
+
"type": "string",
|
3576
|
+
"enum": [
|
3577
|
+
"trigger"
|
3578
|
+
]
|
3579
|
+
},
|
3580
|
+
"name": {
|
3581
|
+
"type": "string",
|
3582
|
+
"enum": [
|
3583
|
+
"direct"
|
3584
|
+
]
|
3585
|
+
},
|
3586
|
+
"label": {
|
3587
|
+
"type": "string",
|
3588
|
+
"minLength": 1,
|
3163
3589
|
"maxLength": 255
|
3164
3590
|
},
|
3591
|
+
"x": {
|
3592
|
+
"type": "number"
|
3593
|
+
},
|
3594
|
+
"y": {
|
3595
|
+
"type": "number"
|
3596
|
+
},
|
3597
|
+
"uiId": {
|
3598
|
+
"type": "string",
|
3599
|
+
"maxLength": 48
|
3600
|
+
},
|
3601
|
+
"description": {
|
3602
|
+
"type": "string",
|
3603
|
+
"maxLength": 32767
|
3604
|
+
},
|
3605
|
+
"icon": {
|
3606
|
+
"type": "string",
|
3607
|
+
"maxLength": 1024
|
3608
|
+
},
|
3609
|
+
"color": {
|
3610
|
+
"type": "string",
|
3611
|
+
"maxLength": 1024
|
3612
|
+
},
|
3613
|
+
"inputCount": {
|
3614
|
+
"type": "number"
|
3615
|
+
},
|
3616
|
+
"outputCount": {
|
3617
|
+
"type": "number"
|
3618
|
+
},
|
3619
|
+
"id": {
|
3620
|
+
"type": "string",
|
3621
|
+
"maxLength": 48
|
3622
|
+
}
|
3623
|
+
},
|
3624
|
+
"additionalProperties": false
|
3625
|
+
},
|
3626
|
+
"outputIds": {
|
3627
|
+
"type": "array",
|
3628
|
+
"items": {
|
3629
|
+
"type": "array",
|
3630
|
+
"items": {
|
3631
|
+
"type": "string",
|
3632
|
+
"maxLength": 48,
|
3633
|
+
"minLength": 1
|
3634
|
+
},
|
3165
3635
|
"maxItems": 100
|
3166
3636
|
},
|
3167
3637
|
"maxItems": 100
|
@@ -3257,7 +3727,8 @@
|
|
3257
3727
|
"type": "array",
|
3258
3728
|
"items": {
|
3259
3729
|
"type": "string",
|
3260
|
-
"maxLength":
|
3730
|
+
"maxLength": 48,
|
3731
|
+
"minLength": 1
|
3261
3732
|
},
|
3262
3733
|
"maxItems": 100
|
3263
3734
|
},
|
@@ -3362,7 +3833,8 @@
|
|
3362
3833
|
"type": "array",
|
3363
3834
|
"items": {
|
3364
3835
|
"type": "string",
|
3365
|
-
"maxLength":
|
3836
|
+
"maxLength": 48,
|
3837
|
+
"minLength": 1
|
3366
3838
|
},
|
3367
3839
|
"maxItems": 100
|
3368
3840
|
},
|
@@ -3470,7 +3942,8 @@
|
|
3470
3942
|
"type": "array",
|
3471
3943
|
"items": {
|
3472
3944
|
"type": "string",
|
3473
|
-
"maxLength":
|
3945
|
+
"maxLength": 48,
|
3946
|
+
"minLength": 1
|
3474
3947
|
},
|
3475
3948
|
"maxItems": 100
|
3476
3949
|
},
|
@@ -3581,7 +4054,8 @@
|
|
3581
4054
|
"type": "array",
|
3582
4055
|
"items": {
|
3583
4056
|
"type": "string",
|
3584
|
-
"maxLength":
|
4057
|
+
"maxLength": 48,
|
4058
|
+
"minLength": 1
|
3585
4059
|
},
|
3586
4060
|
"maxItems": 100
|
3587
4061
|
},
|
@@ -3682,7 +4156,8 @@
|
|
3682
4156
|
"type": "array",
|
3683
4157
|
"items": {
|
3684
4158
|
"type": "string",
|
3685
|
-
"maxLength":
|
4159
|
+
"maxLength": 48,
|
4160
|
+
"minLength": 1
|
3686
4161
|
},
|
3687
4162
|
"maxItems": 100
|
3688
4163
|
},
|
@@ -3785,7 +4260,8 @@
|
|
3785
4260
|
"type": "array",
|
3786
4261
|
"items": {
|
3787
4262
|
"type": "string",
|
3788
|
-
"maxLength":
|
4263
|
+
"maxLength": 48,
|
4264
|
+
"minLength": 1
|
3789
4265
|
},
|
3790
4266
|
"maxItems": 100
|
3791
4267
|
},
|
@@ -3925,7 +4401,8 @@
|
|
3925
4401
|
"type": "array",
|
3926
4402
|
"items": {
|
3927
4403
|
"type": "string",
|
3928
|
-
"maxLength":
|
4404
|
+
"maxLength": 48,
|
4405
|
+
"minLength": 1
|
3929
4406
|
},
|
3930
4407
|
"maxItems": 100
|
3931
4408
|
},
|
@@ -4048,7 +4525,8 @@
|
|
4048
4525
|
"type": "array",
|
4049
4526
|
"items": {
|
4050
4527
|
"type": "string",
|
4051
|
-
"maxLength":
|
4528
|
+
"maxLength": 48,
|
4529
|
+
"minLength": 1
|
4052
4530
|
},
|
4053
4531
|
"maxItems": 100
|
4054
4532
|
},
|
@@ -4070,55 +4548,27 @@
|
|
4070
4548
|
"type": {
|
4071
4549
|
"type": "string",
|
4072
4550
|
"enum": [
|
4073
|
-
"
|
4551
|
+
"request"
|
4074
4552
|
]
|
4075
4553
|
},
|
4076
4554
|
"config": {
|
4077
4555
|
"type": "object",
|
4078
4556
|
"properties": {
|
4079
|
-
"
|
4080
|
-
"type": "string",
|
4081
|
-
"maxLength": 1024
|
4082
|
-
},
|
4083
|
-
"baudRate": {
|
4084
|
-
"type": "number"
|
4085
|
-
},
|
4086
|
-
"dataBits": {
|
4087
|
-
"type": "number"
|
4088
|
-
},
|
4089
|
-
"stopBits": {
|
4090
|
-
"type": "number"
|
4091
|
-
},
|
4092
|
-
"parity": {
|
4093
|
-
"type": "string",
|
4094
|
-
"maxLength": 8
|
4095
|
-
},
|
4096
|
-
"rtscts": {
|
4097
|
-
"type": "boolean"
|
4098
|
-
},
|
4099
|
-
"encoding": {
|
4557
|
+
"method": {
|
4100
4558
|
"type": "string",
|
4101
|
-
"
|
4559
|
+
"enum": [
|
4560
|
+
"*",
|
4561
|
+
"delete",
|
4562
|
+
"get",
|
4563
|
+
"options",
|
4564
|
+
"patch",
|
4565
|
+
"post",
|
4566
|
+
"put"
|
4567
|
+
]
|
4102
4568
|
},
|
4103
|
-
"
|
4569
|
+
"route": {
|
4104
4570
|
"type": "string",
|
4105
4571
|
"maxLength": 1024
|
4106
|
-
},
|
4107
|
-
"writeOnOpenEncoding": {
|
4108
|
-
"type": "string",
|
4109
|
-
"maxLength": 48
|
4110
|
-
},
|
4111
|
-
"byteLength": {
|
4112
|
-
"type": "string",
|
4113
|
-
"maxLength": 48
|
4114
|
-
},
|
4115
|
-
"delimiter": {
|
4116
|
-
"type": "string",
|
4117
|
-
"maxLength": 48
|
4118
|
-
},
|
4119
|
-
"delimiterEncoding": {
|
4120
|
-
"type": "string",
|
4121
|
-
"maxLength": 48
|
4122
4572
|
}
|
4123
4573
|
},
|
4124
4574
|
"additionalProperties": false
|
@@ -4135,7 +4585,7 @@
|
|
4135
4585
|
"name": {
|
4136
4586
|
"type": "string",
|
4137
4587
|
"enum": [
|
4138
|
-
"
|
4588
|
+
"request"
|
4139
4589
|
]
|
4140
4590
|
},
|
4141
4591
|
"label": {
|
@@ -4171,16 +4621,13 @@
|
|
4171
4621
|
"outputCount": {
|
4172
4622
|
"type": "number"
|
4173
4623
|
},
|
4174
|
-
"
|
4624
|
+
"triggerId": {
|
4175
4625
|
"type": "string",
|
4176
4626
|
"maxLength": 48
|
4177
4627
|
},
|
4178
|
-
"
|
4628
|
+
"id": {
|
4179
4629
|
"type": "string",
|
4180
|
-
"
|
4181
|
-
"byteLength",
|
4182
|
-
"delimiter"
|
4183
|
-
]
|
4630
|
+
"maxLength": 48
|
4184
4631
|
}
|
4185
4632
|
},
|
4186
4633
|
"additionalProperties": false
|
@@ -4191,7 +4638,8 @@
|
|
4191
4638
|
"type": "array",
|
4192
4639
|
"items": {
|
4193
4640
|
"type": "string",
|
4194
|
-
"maxLength":
|
4641
|
+
"maxLength": 48,
|
4642
|
+
"minLength": 1
|
4195
4643
|
},
|
4196
4644
|
"maxItems": 100
|
4197
4645
|
},
|
@@ -4213,7 +4661,306 @@
|
|
4213
4661
|
"type": {
|
4214
4662
|
"type": "string",
|
4215
4663
|
"enum": [
|
4216
|
-
"
|
4664
|
+
"serial"
|
4665
|
+
]
|
4666
|
+
},
|
4667
|
+
"config": {
|
4668
|
+
"type": "object",
|
4669
|
+
"properties": {
|
4670
|
+
"path": {
|
4671
|
+
"type": "string",
|
4672
|
+
"maxLength": 1024
|
4673
|
+
},
|
4674
|
+
"baudRate": {
|
4675
|
+
"type": "number"
|
4676
|
+
},
|
4677
|
+
"dataBits": {
|
4678
|
+
"type": "number"
|
4679
|
+
},
|
4680
|
+
"stopBits": {
|
4681
|
+
"type": "number"
|
4682
|
+
},
|
4683
|
+
"parity": {
|
4684
|
+
"type": "string",
|
4685
|
+
"maxLength": 8
|
4686
|
+
},
|
4687
|
+
"rtscts": {
|
4688
|
+
"type": "boolean"
|
4689
|
+
},
|
4690
|
+
"encoding": {
|
4691
|
+
"type": "string",
|
4692
|
+
"maxLength": 48
|
4693
|
+
},
|
4694
|
+
"writeOnOpen": {
|
4695
|
+
"type": "string",
|
4696
|
+
"maxLength": 1024
|
4697
|
+
},
|
4698
|
+
"writeOnOpenEncoding": {
|
4699
|
+
"type": "string",
|
4700
|
+
"maxLength": 48
|
4701
|
+
},
|
4702
|
+
"byteLength": {
|
4703
|
+
"type": "string",
|
4704
|
+
"maxLength": 48
|
4705
|
+
},
|
4706
|
+
"delimiter": {
|
4707
|
+
"type": "string",
|
4708
|
+
"maxLength": 48
|
4709
|
+
},
|
4710
|
+
"delimiterEncoding": {
|
4711
|
+
"type": "string",
|
4712
|
+
"maxLength": 48
|
4713
|
+
}
|
4714
|
+
},
|
4715
|
+
"additionalProperties": false
|
4716
|
+
},
|
4717
|
+
"meta": {
|
4718
|
+
"type": "object",
|
4719
|
+
"properties": {
|
4720
|
+
"category": {
|
4721
|
+
"type": "string",
|
4722
|
+
"enum": [
|
4723
|
+
"trigger"
|
4724
|
+
]
|
4725
|
+
},
|
4726
|
+
"name": {
|
4727
|
+
"type": "string",
|
4728
|
+
"enum": [
|
4729
|
+
"serial"
|
4730
|
+
]
|
4731
|
+
},
|
4732
|
+
"label": {
|
4733
|
+
"type": "string",
|
4734
|
+
"minLength": 1,
|
4735
|
+
"maxLength": 255
|
4736
|
+
},
|
4737
|
+
"x": {
|
4738
|
+
"type": "number"
|
4739
|
+
},
|
4740
|
+
"y": {
|
4741
|
+
"type": "number"
|
4742
|
+
},
|
4743
|
+
"uiId": {
|
4744
|
+
"type": "string",
|
4745
|
+
"maxLength": 48
|
4746
|
+
},
|
4747
|
+
"description": {
|
4748
|
+
"type": "string",
|
4749
|
+
"maxLength": 32767
|
4750
|
+
},
|
4751
|
+
"icon": {
|
4752
|
+
"type": "string",
|
4753
|
+
"maxLength": 1024
|
4754
|
+
},
|
4755
|
+
"color": {
|
4756
|
+
"type": "string",
|
4757
|
+
"maxLength": 1024
|
4758
|
+
},
|
4759
|
+
"inputCount": {
|
4760
|
+
"type": "number"
|
4761
|
+
},
|
4762
|
+
"outputCount": {
|
4763
|
+
"type": "number"
|
4764
|
+
},
|
4765
|
+
"id": {
|
4766
|
+
"type": "string",
|
4767
|
+
"maxLength": 48
|
4768
|
+
},
|
4769
|
+
"parseBy": {
|
4770
|
+
"type": "string",
|
4771
|
+
"enum": [
|
4772
|
+
"byteLength",
|
4773
|
+
"delimiter"
|
4774
|
+
]
|
4775
|
+
}
|
4776
|
+
},
|
4777
|
+
"additionalProperties": false
|
4778
|
+
},
|
4779
|
+
"outputIds": {
|
4780
|
+
"type": "array",
|
4781
|
+
"items": {
|
4782
|
+
"type": "array",
|
4783
|
+
"items": {
|
4784
|
+
"type": "string",
|
4785
|
+
"maxLength": 48,
|
4786
|
+
"minLength": 1
|
4787
|
+
},
|
4788
|
+
"maxItems": 100
|
4789
|
+
},
|
4790
|
+
"maxItems": 100
|
4791
|
+
}
|
4792
|
+
},
|
4793
|
+
"required": [
|
4794
|
+
"type"
|
4795
|
+
],
|
4796
|
+
"additionalProperties": false
|
4797
|
+
},
|
4798
|
+
{
|
4799
|
+
"type": "object",
|
4800
|
+
"properties": {
|
4801
|
+
"key": {
|
4802
|
+
"type": "string",
|
4803
|
+
"maxLength": 1024
|
4804
|
+
},
|
4805
|
+
"type": {
|
4806
|
+
"type": "string",
|
4807
|
+
"enum": [
|
4808
|
+
"snmpTrap"
|
4809
|
+
]
|
4810
|
+
},
|
4811
|
+
"config": {
|
4812
|
+
"type": "object",
|
4813
|
+
"properties": {
|
4814
|
+
"udpPort": {
|
4815
|
+
"type": "string",
|
4816
|
+
"maxLength": 5
|
4817
|
+
},
|
4818
|
+
"snmpTrapConfig": {
|
4819
|
+
"type": "object",
|
4820
|
+
"properties": {
|
4821
|
+
"community": {
|
4822
|
+
"type": "string",
|
4823
|
+
"maxLength": 1024
|
4824
|
+
},
|
4825
|
+
"user": {
|
4826
|
+
"type": "object",
|
4827
|
+
"properties": {
|
4828
|
+
"name": {
|
4829
|
+
"type": "string",
|
4830
|
+
"maxLength": 1024
|
4831
|
+
},
|
4832
|
+
"securityLevel": {
|
4833
|
+
"type": "string",
|
4834
|
+
"enum": [
|
4835
|
+
"none",
|
4836
|
+
"auth",
|
4837
|
+
"authAndEncrypt"
|
4838
|
+
]
|
4839
|
+
},
|
4840
|
+
"authMethod": {
|
4841
|
+
"type": "string",
|
4842
|
+
"enum": [
|
4843
|
+
"sha",
|
4844
|
+
"md5"
|
4845
|
+
]
|
4846
|
+
},
|
4847
|
+
"authKey": {
|
4848
|
+
"type": "string",
|
4849
|
+
"maxLength": 1024
|
4850
|
+
},
|
4851
|
+
"encryptionMethod": {
|
4852
|
+
"type": "string",
|
4853
|
+
"enum": [
|
4854
|
+
"aes",
|
4855
|
+
"des"
|
4856
|
+
]
|
4857
|
+
},
|
4858
|
+
"encryptionKey": {
|
4859
|
+
"type": "string",
|
4860
|
+
"maxLength": 1024
|
4861
|
+
}
|
4862
|
+
},
|
4863
|
+
"required": [
|
4864
|
+
"name",
|
4865
|
+
"securityLevel"
|
4866
|
+
],
|
4867
|
+
"additionalProperties": false
|
4868
|
+
}
|
4869
|
+
},
|
4870
|
+
"additionalProperties": false
|
4871
|
+
}
|
4872
|
+
},
|
4873
|
+
"required": [
|
4874
|
+
"udpPort",
|
4875
|
+
"snmpTrapConfig"
|
4876
|
+
],
|
4877
|
+
"additionalProperties": false
|
4878
|
+
},
|
4879
|
+
"meta": {
|
4880
|
+
"type": "object",
|
4881
|
+
"properties": {
|
4882
|
+
"category": {
|
4883
|
+
"type": "string",
|
4884
|
+
"enum": [
|
4885
|
+
"trigger"
|
4886
|
+
]
|
4887
|
+
},
|
4888
|
+
"name": {
|
4889
|
+
"type": "string",
|
4890
|
+
"enum": [
|
4891
|
+
"snmpTrap"
|
4892
|
+
]
|
4893
|
+
},
|
4894
|
+
"label": {
|
4895
|
+
"type": "string",
|
4896
|
+
"minLength": 1,
|
4897
|
+
"maxLength": 255
|
4898
|
+
},
|
4899
|
+
"x": {
|
4900
|
+
"type": "number"
|
4901
|
+
},
|
4902
|
+
"y": {
|
4903
|
+
"type": "number"
|
4904
|
+
},
|
4905
|
+
"uiId": {
|
4906
|
+
"type": "string",
|
4907
|
+
"maxLength": 48
|
4908
|
+
},
|
4909
|
+
"description": {
|
4910
|
+
"type": "string",
|
4911
|
+
"maxLength": 32767
|
4912
|
+
},
|
4913
|
+
"icon": {
|
4914
|
+
"type": "string",
|
4915
|
+
"maxLength": 1024
|
4916
|
+
},
|
4917
|
+
"color": {
|
4918
|
+
"type": "string",
|
4919
|
+
"maxLength": 1024
|
4920
|
+
},
|
4921
|
+
"inputCount": {
|
4922
|
+
"type": "number"
|
4923
|
+
},
|
4924
|
+
"outputCount": {
|
4925
|
+
"type": "number"
|
4926
|
+
},
|
4927
|
+
"id": {
|
4928
|
+
"type": "string",
|
4929
|
+
"maxLength": 48
|
4930
|
+
}
|
4931
|
+
},
|
4932
|
+
"additionalProperties": false
|
4933
|
+
},
|
4934
|
+
"outputIds": {
|
4935
|
+
"type": "array",
|
4936
|
+
"items": {
|
4937
|
+
"type": "array",
|
4938
|
+
"items": {
|
4939
|
+
"type": "string",
|
4940
|
+
"maxLength": 48,
|
4941
|
+
"minLength": 1
|
4942
|
+
},
|
4943
|
+
"maxItems": 100
|
4944
|
+
},
|
4945
|
+
"maxItems": 100
|
4946
|
+
}
|
4947
|
+
},
|
4948
|
+
"required": [
|
4949
|
+
"type"
|
4950
|
+
],
|
4951
|
+
"additionalProperties": false
|
4952
|
+
},
|
4953
|
+
{
|
4954
|
+
"type": "object",
|
4955
|
+
"properties": {
|
4956
|
+
"key": {
|
4957
|
+
"type": "string",
|
4958
|
+
"maxLength": 1024
|
4959
|
+
},
|
4960
|
+
"type": {
|
4961
|
+
"type": "string",
|
4962
|
+
"enum": [
|
4963
|
+
"timer"
|
4217
4964
|
]
|
4218
4965
|
},
|
4219
4966
|
"config": {
|
@@ -4317,7 +5064,8 @@
|
|
4317
5064
|
"type": "array",
|
4318
5065
|
"items": {
|
4319
5066
|
"type": "string",
|
4320
|
-
"maxLength":
|
5067
|
+
"maxLength": 48,
|
5068
|
+
"minLength": 1
|
4321
5069
|
},
|
4322
5070
|
"maxItems": 100
|
4323
5071
|
},
|
@@ -4432,7 +5180,8 @@
|
|
4432
5180
|
"type": "array",
|
4433
5181
|
"items": {
|
4434
5182
|
"type": "string",
|
4435
|
-
"maxLength":
|
5183
|
+
"maxLength": 48,
|
5184
|
+
"minLength": 1
|
4436
5185
|
},
|
4437
5186
|
"maxItems": 100
|
4438
5187
|
},
|
@@ -4473,7 +5222,8 @@
|
|
4473
5222
|
"type": "array",
|
4474
5223
|
"items": {
|
4475
5224
|
"type": "string",
|
4476
|
-
"maxLength":
|
5225
|
+
"maxLength": 48,
|
5226
|
+
"minLength": 1
|
4477
5227
|
},
|
4478
5228
|
"maxItems": 100
|
4479
5229
|
},
|
@@ -4940,7 +5690,6 @@
|
|
4940
5690
|
"onBoot",
|
4941
5691
|
"onConnect",
|
4942
5692
|
"onDisconnect",
|
4943
|
-
"request",
|
4944
5693
|
"udp",
|
4945
5694
|
"webhook"
|
4946
5695
|
]
|
@@ -4965,6 +5714,7 @@
|
|
4965
5714
|
"deviceCommand",
|
4966
5715
|
"deviceIdsTagsConnect",
|
4967
5716
|
"deviceIdsTagsDisconnect",
|
5717
|
+
"eeaInit",
|
4968
5718
|
"flowError",
|
4969
5719
|
"googlePubSub",
|
4970
5720
|
"meridian",
|
@@ -4974,7 +5724,6 @@
|
|
4974
5724
|
"onConnect",
|
4975
5725
|
"onDisconnect",
|
4976
5726
|
"particle",
|
4977
|
-
"request",
|
4978
5727
|
"udp",
|
4979
5728
|
"webhook"
|
4980
5729
|
]
|
@@ -5029,7 +5778,8 @@
|
|
5029
5778
|
"type": "array",
|
5030
5779
|
"items": {
|
5031
5780
|
"type": "string",
|
5032
|
-
"maxLength":
|
5781
|
+
"maxLength": 48,
|
5782
|
+
"minLength": 1
|
5033
5783
|
},
|
5034
5784
|
"maxItems": 100
|
5035
5785
|
},
|
@@ -5133,7 +5883,8 @@
|
|
5133
5883
|
"type": "array",
|
5134
5884
|
"items": {
|
5135
5885
|
"type": "string",
|
5136
|
-
"maxLength":
|
5886
|
+
"maxLength": 48,
|
5887
|
+
"minLength": 1
|
5137
5888
|
},
|
5138
5889
|
"maxItems": 100
|
5139
5890
|
},
|
@@ -5180,21 +5931,135 @@
|
|
5180
5931
|
},
|
5181
5932
|
"maxAge": {
|
5182
5933
|
"type": "number"
|
5183
|
-
},
|
5184
|
-
"triggerOn": {
|
5185
|
-
"type": "string",
|
5186
|
-
"enum": [
|
5187
|
-
"batch",
|
5188
|
-
"individual",
|
5189
|
-
"both"
|
5190
|
-
]
|
5191
|
-
},
|
5192
|
-
"batchBehavior": {
|
5193
|
-
"type": "string",
|
5194
|
-
"enum": [
|
5195
|
-
"once",
|
5196
|
-
"each"
|
5197
|
-
]
|
5934
|
+
},
|
5935
|
+
"triggerOn": {
|
5936
|
+
"type": "string",
|
5937
|
+
"enum": [
|
5938
|
+
"batch",
|
5939
|
+
"individual",
|
5940
|
+
"both"
|
5941
|
+
]
|
5942
|
+
},
|
5943
|
+
"batchBehavior": {
|
5944
|
+
"type": "string",
|
5945
|
+
"enum": [
|
5946
|
+
"once",
|
5947
|
+
"each"
|
5948
|
+
]
|
5949
|
+
}
|
5950
|
+
},
|
5951
|
+
"additionalProperties": false
|
5952
|
+
},
|
5953
|
+
"meta": {
|
5954
|
+
"type": "object",
|
5955
|
+
"properties": {
|
5956
|
+
"category": {
|
5957
|
+
"type": "string",
|
5958
|
+
"enum": [
|
5959
|
+
"trigger"
|
5960
|
+
]
|
5961
|
+
},
|
5962
|
+
"name": {
|
5963
|
+
"type": "string",
|
5964
|
+
"enum": [
|
5965
|
+
"deviceIdsTags",
|
5966
|
+
"device",
|
5967
|
+
"deviceTag"
|
5968
|
+
]
|
5969
|
+
},
|
5970
|
+
"label": {
|
5971
|
+
"type": "string",
|
5972
|
+
"minLength": 1,
|
5973
|
+
"maxLength": 255
|
5974
|
+
},
|
5975
|
+
"x": {
|
5976
|
+
"type": "number"
|
5977
|
+
},
|
5978
|
+
"y": {
|
5979
|
+
"type": "number"
|
5980
|
+
},
|
5981
|
+
"uiId": {
|
5982
|
+
"type": "string",
|
5983
|
+
"maxLength": 48
|
5984
|
+
},
|
5985
|
+
"description": {
|
5986
|
+
"type": "string",
|
5987
|
+
"maxLength": 32767
|
5988
|
+
},
|
5989
|
+
"icon": {
|
5990
|
+
"type": "string",
|
5991
|
+
"maxLength": 1024
|
5992
|
+
},
|
5993
|
+
"color": {
|
5994
|
+
"type": "string",
|
5995
|
+
"maxLength": 1024
|
5996
|
+
},
|
5997
|
+
"inputCount": {
|
5998
|
+
"type": "number"
|
5999
|
+
},
|
6000
|
+
"outputCount": {
|
6001
|
+
"type": "number"
|
6002
|
+
},
|
6003
|
+
"id": {
|
6004
|
+
"type": "string",
|
6005
|
+
"maxLength": 48
|
6006
|
+
},
|
6007
|
+
"timeUnit": {
|
6008
|
+
"type": "string",
|
6009
|
+
"maxLength": 48
|
6010
|
+
},
|
6011
|
+
"maxAgeToggle": {
|
6012
|
+
"type": "boolean"
|
6013
|
+
},
|
6014
|
+
"allowedAttributeType": {
|
6015
|
+
"type": "string",
|
6016
|
+
"enum": [
|
6017
|
+
"attributeWhitelist",
|
6018
|
+
"any",
|
6019
|
+
"attributeBlacklist"
|
6020
|
+
]
|
6021
|
+
}
|
6022
|
+
},
|
6023
|
+
"additionalProperties": false
|
6024
|
+
},
|
6025
|
+
"outputIds": {
|
6026
|
+
"type": "array",
|
6027
|
+
"items": {
|
6028
|
+
"type": "array",
|
6029
|
+
"items": {
|
6030
|
+
"type": "string",
|
6031
|
+
"maxLength": 48,
|
6032
|
+
"minLength": 1
|
6033
|
+
},
|
6034
|
+
"maxItems": 100
|
6035
|
+
},
|
6036
|
+
"maxItems": 100
|
6037
|
+
}
|
6038
|
+
},
|
6039
|
+
"required": [
|
6040
|
+
"type"
|
6041
|
+
],
|
6042
|
+
"additionalProperties": false
|
6043
|
+
},
|
6044
|
+
{
|
6045
|
+
"type": "object",
|
6046
|
+
"properties": {
|
6047
|
+
"key": {
|
6048
|
+
"type": "string",
|
6049
|
+
"maxLength": 1024
|
6050
|
+
},
|
6051
|
+
"type": {
|
6052
|
+
"type": "string",
|
6053
|
+
"enum": [
|
6054
|
+
"deviceIdInactivity",
|
6055
|
+
"deviceTagInactivity"
|
6056
|
+
]
|
6057
|
+
},
|
6058
|
+
"config": {
|
6059
|
+
"type": "object",
|
6060
|
+
"properties": {
|
6061
|
+
"seconds": {
|
6062
|
+
"type": "number"
|
5198
6063
|
}
|
5199
6064
|
},
|
5200
6065
|
"additionalProperties": false
|
@@ -5211,9 +6076,7 @@
|
|
5211
6076
|
"name": {
|
5212
6077
|
"type": "string",
|
5213
6078
|
"enum": [
|
5214
|
-
"
|
5215
|
-
"device",
|
5216
|
-
"deviceTag"
|
6079
|
+
"deviceIdsTagsInactivity"
|
5217
6080
|
]
|
5218
6081
|
},
|
5219
6082
|
"label": {
|
@@ -5252,21 +6115,6 @@
|
|
5252
6115
|
"id": {
|
5253
6116
|
"type": "string",
|
5254
6117
|
"maxLength": 48
|
5255
|
-
},
|
5256
|
-
"timeUnit": {
|
5257
|
-
"type": "string",
|
5258
|
-
"maxLength": 48
|
5259
|
-
},
|
5260
|
-
"maxAgeToggle": {
|
5261
|
-
"type": "boolean"
|
5262
|
-
},
|
5263
|
-
"allowedAttributeType": {
|
5264
|
-
"type": "string",
|
5265
|
-
"enum": [
|
5266
|
-
"attributeWhitelist",
|
5267
|
-
"any",
|
5268
|
-
"attributeBlacklist"
|
5269
|
-
]
|
5270
6118
|
}
|
5271
6119
|
},
|
5272
6120
|
"additionalProperties": false
|
@@ -5277,7 +6125,8 @@
|
|
5277
6125
|
"type": "array",
|
5278
6126
|
"items": {
|
5279
6127
|
"type": "string",
|
5280
|
-
"maxLength":
|
6128
|
+
"maxLength": 48,
|
6129
|
+
"minLength": 1
|
5281
6130
|
},
|
5282
6131
|
"maxItems": 100
|
5283
6132
|
},
|
@@ -5299,17 +6148,12 @@
|
|
5299
6148
|
"type": {
|
5300
6149
|
"type": "string",
|
5301
6150
|
"enum": [
|
5302
|
-
"
|
5303
|
-
"deviceTagInactivity"
|
6151
|
+
"direct"
|
5304
6152
|
]
|
5305
6153
|
},
|
5306
6154
|
"config": {
|
5307
6155
|
"type": "object",
|
5308
|
-
"properties": {
|
5309
|
-
"seconds": {
|
5310
|
-
"type": "number"
|
5311
|
-
}
|
5312
|
-
},
|
6156
|
+
"properties": {},
|
5313
6157
|
"additionalProperties": false
|
5314
6158
|
},
|
5315
6159
|
"meta": {
|
@@ -5324,7 +6168,7 @@
|
|
5324
6168
|
"name": {
|
5325
6169
|
"type": "string",
|
5326
6170
|
"enum": [
|
5327
|
-
"
|
6171
|
+
"direct"
|
5328
6172
|
]
|
5329
6173
|
},
|
5330
6174
|
"label": {
|
@@ -5373,7 +6217,8 @@
|
|
5373
6217
|
"type": "array",
|
5374
6218
|
"items": {
|
5375
6219
|
"type": "string",
|
5376
|
-
"maxLength":
|
6220
|
+
"maxLength": 48,
|
6221
|
+
"minLength": 1
|
5377
6222
|
},
|
5378
6223
|
"maxItems": 100
|
5379
6224
|
},
|
@@ -5470,7 +6315,8 @@
|
|
5470
6315
|
"type": "array",
|
5471
6316
|
"items": {
|
5472
6317
|
"type": "string",
|
5473
|
-
"maxLength":
|
6318
|
+
"maxLength": 48,
|
6319
|
+
"minLength": 1
|
5474
6320
|
},
|
5475
6321
|
"maxItems": 100
|
5476
6322
|
},
|
@@ -5575,7 +6421,8 @@
|
|
5575
6421
|
"type": "array",
|
5576
6422
|
"items": {
|
5577
6423
|
"type": "string",
|
5578
|
-
"maxLength":
|
6424
|
+
"maxLength": 48,
|
6425
|
+
"minLength": 1
|
5579
6426
|
},
|
5580
6427
|
"maxItems": 100
|
5581
6428
|
},
|
@@ -5683,7 +6530,8 @@
|
|
5683
6530
|
"type": "array",
|
5684
6531
|
"items": {
|
5685
6532
|
"type": "string",
|
5686
|
-
"maxLength":
|
6533
|
+
"maxLength": 48,
|
6534
|
+
"minLength": 1
|
5687
6535
|
},
|
5688
6536
|
"maxItems": 100
|
5689
6537
|
},
|
@@ -5794,7 +6642,8 @@
|
|
5794
6642
|
"type": "array",
|
5795
6643
|
"items": {
|
5796
6644
|
"type": "string",
|
5797
|
-
"maxLength":
|
6645
|
+
"maxLength": 48,
|
6646
|
+
"minLength": 1
|
5798
6647
|
},
|
5799
6648
|
"maxItems": 100
|
5800
6649
|
},
|
@@ -5895,7 +6744,8 @@
|
|
5895
6744
|
"type": "array",
|
5896
6745
|
"items": {
|
5897
6746
|
"type": "string",
|
5898
|
-
"maxLength":
|
6747
|
+
"maxLength": 48,
|
6748
|
+
"minLength": 1
|
5899
6749
|
},
|
5900
6750
|
"maxItems": 100
|
5901
6751
|
},
|
@@ -5998,7 +6848,8 @@
|
|
5998
6848
|
"type": "array",
|
5999
6849
|
"items": {
|
6000
6850
|
"type": "string",
|
6001
|
-
"maxLength":
|
6851
|
+
"maxLength": 48,
|
6852
|
+
"minLength": 1
|
6002
6853
|
},
|
6003
6854
|
"maxItems": 100
|
6004
6855
|
},
|
@@ -6138,7 +6989,8 @@
|
|
6138
6989
|
"type": "array",
|
6139
6990
|
"items": {
|
6140
6991
|
"type": "string",
|
6141
|
-
"maxLength":
|
6992
|
+
"maxLength": 48,
|
6993
|
+
"minLength": 1
|
6142
6994
|
},
|
6143
6995
|
"maxItems": 100
|
6144
6996
|
},
|
@@ -6261,8 +7113,122 @@
|
|
6261
7113
|
"type": "array",
|
6262
7114
|
"items": {
|
6263
7115
|
"type": "string",
|
7116
|
+
"maxLength": 48,
|
7117
|
+
"minLength": 1
|
7118
|
+
},
|
7119
|
+
"maxItems": 100
|
7120
|
+
},
|
7121
|
+
"maxItems": 100
|
7122
|
+
}
|
7123
|
+
},
|
7124
|
+
"required": [
|
7125
|
+
"type"
|
7126
|
+
],
|
7127
|
+
"additionalProperties": false
|
7128
|
+
},
|
7129
|
+
{
|
7130
|
+
"type": "object",
|
7131
|
+
"properties": {
|
7132
|
+
"key": {
|
7133
|
+
"type": "string",
|
7134
|
+
"maxLength": 1024
|
7135
|
+
},
|
7136
|
+
"type": {
|
7137
|
+
"type": "string",
|
7138
|
+
"enum": [
|
7139
|
+
"request"
|
7140
|
+
]
|
7141
|
+
},
|
7142
|
+
"config": {
|
7143
|
+
"type": "object",
|
7144
|
+
"properties": {
|
7145
|
+
"method": {
|
7146
|
+
"type": "string",
|
7147
|
+
"enum": [
|
7148
|
+
"*",
|
7149
|
+
"delete",
|
7150
|
+
"get",
|
7151
|
+
"options",
|
7152
|
+
"patch",
|
7153
|
+
"post",
|
7154
|
+
"put"
|
7155
|
+
]
|
7156
|
+
},
|
7157
|
+
"route": {
|
7158
|
+
"type": "string",
|
7159
|
+
"maxLength": 1024
|
7160
|
+
}
|
7161
|
+
},
|
7162
|
+
"additionalProperties": false
|
7163
|
+
},
|
7164
|
+
"meta": {
|
7165
|
+
"type": "object",
|
7166
|
+
"properties": {
|
7167
|
+
"category": {
|
7168
|
+
"type": "string",
|
7169
|
+
"enum": [
|
7170
|
+
"trigger"
|
7171
|
+
]
|
7172
|
+
},
|
7173
|
+
"name": {
|
7174
|
+
"type": "string",
|
7175
|
+
"enum": [
|
7176
|
+
"request"
|
7177
|
+
]
|
7178
|
+
},
|
7179
|
+
"label": {
|
7180
|
+
"type": "string",
|
7181
|
+
"minLength": 1,
|
6264
7182
|
"maxLength": 255
|
6265
7183
|
},
|
7184
|
+
"x": {
|
7185
|
+
"type": "number"
|
7186
|
+
},
|
7187
|
+
"y": {
|
7188
|
+
"type": "number"
|
7189
|
+
},
|
7190
|
+
"uiId": {
|
7191
|
+
"type": "string",
|
7192
|
+
"maxLength": 48
|
7193
|
+
},
|
7194
|
+
"description": {
|
7195
|
+
"type": "string",
|
7196
|
+
"maxLength": 32767
|
7197
|
+
},
|
7198
|
+
"icon": {
|
7199
|
+
"type": "string",
|
7200
|
+
"maxLength": 1024
|
7201
|
+
},
|
7202
|
+
"color": {
|
7203
|
+
"type": "string",
|
7204
|
+
"maxLength": 1024
|
7205
|
+
},
|
7206
|
+
"inputCount": {
|
7207
|
+
"type": "number"
|
7208
|
+
},
|
7209
|
+
"outputCount": {
|
7210
|
+
"type": "number"
|
7211
|
+
},
|
7212
|
+
"triggerId": {
|
7213
|
+
"type": "string",
|
7214
|
+
"maxLength": 48
|
7215
|
+
},
|
7216
|
+
"id": {
|
7217
|
+
"type": "string",
|
7218
|
+
"maxLength": 48
|
7219
|
+
}
|
7220
|
+
},
|
7221
|
+
"additionalProperties": false
|
7222
|
+
},
|
7223
|
+
"outputIds": {
|
7224
|
+
"type": "array",
|
7225
|
+
"items": {
|
7226
|
+
"type": "array",
|
7227
|
+
"items": {
|
7228
|
+
"type": "string",
|
7229
|
+
"maxLength": 48,
|
7230
|
+
"minLength": 1
|
7231
|
+
},
|
6266
7232
|
"maxItems": 100
|
6267
7233
|
},
|
6268
7234
|
"maxItems": 100
|
@@ -6404,8 +7370,164 @@
|
|
6404
7370
|
"type": "array",
|
6405
7371
|
"items": {
|
6406
7372
|
"type": "string",
|
7373
|
+
"maxLength": 48,
|
7374
|
+
"minLength": 1
|
7375
|
+
},
|
7376
|
+
"maxItems": 100
|
7377
|
+
},
|
7378
|
+
"maxItems": 100
|
7379
|
+
}
|
7380
|
+
},
|
7381
|
+
"required": [
|
7382
|
+
"type"
|
7383
|
+
],
|
7384
|
+
"additionalProperties": false
|
7385
|
+
},
|
7386
|
+
{
|
7387
|
+
"type": "object",
|
7388
|
+
"properties": {
|
7389
|
+
"key": {
|
7390
|
+
"type": "string",
|
7391
|
+
"maxLength": 1024
|
7392
|
+
},
|
7393
|
+
"type": {
|
7394
|
+
"type": "string",
|
7395
|
+
"enum": [
|
7396
|
+
"snmpTrap"
|
7397
|
+
]
|
7398
|
+
},
|
7399
|
+
"config": {
|
7400
|
+
"type": "object",
|
7401
|
+
"properties": {
|
7402
|
+
"udpPort": {
|
7403
|
+
"type": "string",
|
7404
|
+
"maxLength": 5
|
7405
|
+
},
|
7406
|
+
"snmpTrapConfig": {
|
7407
|
+
"type": "object",
|
7408
|
+
"properties": {
|
7409
|
+
"community": {
|
7410
|
+
"type": "string",
|
7411
|
+
"maxLength": 1024
|
7412
|
+
},
|
7413
|
+
"user": {
|
7414
|
+
"type": "object",
|
7415
|
+
"properties": {
|
7416
|
+
"name": {
|
7417
|
+
"type": "string",
|
7418
|
+
"maxLength": 1024
|
7419
|
+
},
|
7420
|
+
"securityLevel": {
|
7421
|
+
"type": "string",
|
7422
|
+
"enum": [
|
7423
|
+
"none",
|
7424
|
+
"auth",
|
7425
|
+
"authAndEncrypt"
|
7426
|
+
]
|
7427
|
+
},
|
7428
|
+
"authMethod": {
|
7429
|
+
"type": "string",
|
7430
|
+
"enum": [
|
7431
|
+
"sha",
|
7432
|
+
"md5"
|
7433
|
+
]
|
7434
|
+
},
|
7435
|
+
"authKey": {
|
7436
|
+
"type": "string",
|
7437
|
+
"maxLength": 1024
|
7438
|
+
},
|
7439
|
+
"encryptionMethod": {
|
7440
|
+
"type": "string",
|
7441
|
+
"enum": [
|
7442
|
+
"aes",
|
7443
|
+
"des"
|
7444
|
+
]
|
7445
|
+
},
|
7446
|
+
"encryptionKey": {
|
7447
|
+
"type": "string",
|
7448
|
+
"maxLength": 1024
|
7449
|
+
}
|
7450
|
+
},
|
7451
|
+
"required": [
|
7452
|
+
"name",
|
7453
|
+
"securityLevel"
|
7454
|
+
],
|
7455
|
+
"additionalProperties": false
|
7456
|
+
}
|
7457
|
+
},
|
7458
|
+
"additionalProperties": false
|
7459
|
+
}
|
7460
|
+
},
|
7461
|
+
"required": [
|
7462
|
+
"udpPort",
|
7463
|
+
"snmpTrapConfig"
|
7464
|
+
],
|
7465
|
+
"additionalProperties": false
|
7466
|
+
},
|
7467
|
+
"meta": {
|
7468
|
+
"type": "object",
|
7469
|
+
"properties": {
|
7470
|
+
"category": {
|
7471
|
+
"type": "string",
|
7472
|
+
"enum": [
|
7473
|
+
"trigger"
|
7474
|
+
]
|
7475
|
+
},
|
7476
|
+
"name": {
|
7477
|
+
"type": "string",
|
7478
|
+
"enum": [
|
7479
|
+
"snmpTrap"
|
7480
|
+
]
|
7481
|
+
},
|
7482
|
+
"label": {
|
7483
|
+
"type": "string",
|
7484
|
+
"minLength": 1,
|
6407
7485
|
"maxLength": 255
|
6408
7486
|
},
|
7487
|
+
"x": {
|
7488
|
+
"type": "number"
|
7489
|
+
},
|
7490
|
+
"y": {
|
7491
|
+
"type": "number"
|
7492
|
+
},
|
7493
|
+
"uiId": {
|
7494
|
+
"type": "string",
|
7495
|
+
"maxLength": 48
|
7496
|
+
},
|
7497
|
+
"description": {
|
7498
|
+
"type": "string",
|
7499
|
+
"maxLength": 32767
|
7500
|
+
},
|
7501
|
+
"icon": {
|
7502
|
+
"type": "string",
|
7503
|
+
"maxLength": 1024
|
7504
|
+
},
|
7505
|
+
"color": {
|
7506
|
+
"type": "string",
|
7507
|
+
"maxLength": 1024
|
7508
|
+
},
|
7509
|
+
"inputCount": {
|
7510
|
+
"type": "number"
|
7511
|
+
},
|
7512
|
+
"outputCount": {
|
7513
|
+
"type": "number"
|
7514
|
+
},
|
7515
|
+
"id": {
|
7516
|
+
"type": "string",
|
7517
|
+
"maxLength": 48
|
7518
|
+
}
|
7519
|
+
},
|
7520
|
+
"additionalProperties": false
|
7521
|
+
},
|
7522
|
+
"outputIds": {
|
7523
|
+
"type": "array",
|
7524
|
+
"items": {
|
7525
|
+
"type": "array",
|
7526
|
+
"items": {
|
7527
|
+
"type": "string",
|
7528
|
+
"maxLength": 48,
|
7529
|
+
"minLength": 1
|
7530
|
+
},
|
6409
7531
|
"maxItems": 100
|
6410
7532
|
},
|
6411
7533
|
"maxItems": 100
|
@@ -6530,7 +7652,8 @@
|
|
6530
7652
|
"type": "array",
|
6531
7653
|
"items": {
|
6532
7654
|
"type": "string",
|
6533
|
-
"maxLength":
|
7655
|
+
"maxLength": 48,
|
7656
|
+
"minLength": 1
|
6534
7657
|
},
|
6535
7658
|
"maxItems": 100
|
6536
7659
|
},
|
@@ -6645,7 +7768,8 @@
|
|
6645
7768
|
"type": "array",
|
6646
7769
|
"items": {
|
6647
7770
|
"type": "string",
|
6648
|
-
"maxLength":
|
7771
|
+
"maxLength": 48,
|
7772
|
+
"minLength": 1
|
6649
7773
|
},
|
6650
7774
|
"maxItems": 100
|
6651
7775
|
},
|
@@ -6686,7 +7810,8 @@
|
|
6686
7810
|
"type": "array",
|
6687
7811
|
"items": {
|
6688
7812
|
"type": "string",
|
6689
|
-
"maxLength":
|
7813
|
+
"maxLength": 48,
|
7814
|
+
"minLength": 1
|
6690
7815
|
},
|
6691
7816
|
"maxItems": 100
|
6692
7817
|
},
|