losant_rest 1.13.1 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +10817 -3660
  3. data/docs/application.md +1 -1
  4. data/docs/device.md +43 -0
  5. data/docs/devices.md +39 -0
  6. data/docs/edgeDeployment.md +49 -0
  7. data/docs/embeddedDeployment.md +49 -0
  8. data/docs/embeddedDeployments.md +215 -0
  9. data/docs/flow.md +3 -3
  10. data/docs/flows.md +2 -2
  11. data/docs/instance.md +4 -2
  12. data/docs/instanceOrg.md +2 -0
  13. data/docs/instanceOrgInvite.md +139 -0
  14. data/docs/instanceOrgInvites.md +96 -0
  15. data/docs/instanceOrgMembers.md +2 -2
  16. data/docs/instanceOrgs.md +1 -1
  17. data/docs/me.md +1 -1
  18. data/docs/org.md +1 -1
  19. data/lib/losant_rest/client.rb +22 -2
  20. data/lib/losant_rest/device.rb +50 -0
  21. data/lib/losant_rest/devices.rb +46 -0
  22. data/lib/losant_rest/edge_deployment.rb +81 -0
  23. data/lib/losant_rest/embedded_deployment.rb +81 -0
  24. data/lib/losant_rest/embedded_deployments.rb +280 -0
  25. data/lib/losant_rest/flow.rb +3 -3
  26. data/lib/losant_rest/flows.rb +2 -2
  27. data/lib/losant_rest/instance.rb +1 -0
  28. data/lib/losant_rest/instance_org.rb +4 -0
  29. data/lib/losant_rest/instance_org_invite.rb +182 -0
  30. data/lib/losant_rest/instance_org_invites.rb +138 -0
  31. data/lib/losant_rest/instance_org_members.rb +2 -2
  32. data/lib/losant_rest/instance_orgs.rb +2 -2
  33. data/lib/losant_rest/version.rb +1 -1
  34. data/lib/losant_rest.rb +5 -0
  35. data/schemas/apiTokenPost.json +19 -0
  36. data/schemas/application.json +32 -32
  37. data/schemas/applicationCreationByTemplateResult.json +32 -32
  38. data/schemas/applicationDashboardPost.json +8 -5
  39. data/schemas/applicationPatch.json +13 -13
  40. data/schemas/applicationPost.json +13 -13
  41. data/schemas/applicationTemplate.json +16 -16
  42. data/schemas/applicationTemplates.json +16 -16
  43. data/schemas/applications.json +32 -32
  44. data/schemas/authedDevice.json +2 -1
  45. data/schemas/dashboard.json +8 -5
  46. data/schemas/dashboardPatch.json +8 -5
  47. data/schemas/dashboardPost.json +8 -5
  48. data/schemas/dashboardSendReport.json +6 -6
  49. data/schemas/dashboards.json +8 -5
  50. data/schemas/dataTableRowsDelete.json +1 -1
  51. data/schemas/device.json +2 -1
  52. data/schemas/deviceClassFilter.json +4 -2
  53. data/schemas/devicePatch.json +2 -1
  54. data/schemas/devicePayloadCounts.json +24 -0
  55. data/schemas/devicePost.json +2 -1
  56. data/schemas/deviceRecipe.json +2 -1
  57. data/schemas/deviceRecipePatch.json +2 -1
  58. data/schemas/deviceRecipePost.json +2 -1
  59. data/schemas/deviceRecipes.json +2 -1
  60. data/schemas/devices.json +4 -2
  61. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  62. data/schemas/devicesPatch.json +4 -2
  63. data/schemas/edgeDeployment.json +20 -0
  64. data/schemas/edgeDeployments.json +20 -0
  65. data/schemas/embeddedDeployment.json +179 -0
  66. data/schemas/embeddedDeploymentExport.json +44 -0
  67. data/schemas/embeddedDeploymentRelease.json +58 -0
  68. data/schemas/embeddedDeploymentRemove.json +25 -0
  69. data/schemas/embeddedDeploymentReplace.json +29 -0
  70. data/schemas/embeddedDeployments.json +212 -0
  71. data/schemas/eventsDeleted.json +1 -1
  72. data/schemas/eventsExport.json +4 -0
  73. data/schemas/experienceEndpoint.json +6 -8
  74. data/schemas/experienceEndpointPatch.json +6 -8
  75. data/schemas/experienceEndpointPost.json +6 -8
  76. data/schemas/experienceEndpoints.json +6 -8
  77. data/schemas/experienceLinkedResources.json +790 -85
  78. data/schemas/flow.json +252 -16
  79. data/schemas/flowPatch.json +251 -16
  80. data/schemas/flowPost.json +252 -16
  81. data/schemas/flowVersion.json +503 -33
  82. data/schemas/flowVersionPost.json +251 -16
  83. data/schemas/flowVersions.json +503 -33
  84. data/schemas/flows.json +253 -16
  85. data/schemas/flowsImportPost.json +503 -32
  86. data/schemas/flowsImportResult.json +785 -79
  87. data/schemas/githubLogin.json +19 -0
  88. data/schemas/historicalSummary.json +147 -102
  89. data/schemas/instance.json +92 -79
  90. data/schemas/instanceMember.json +10 -0
  91. data/schemas/instanceMemberPost.json +18 -3
  92. data/schemas/instanceMembers.json +14 -0
  93. data/schemas/instanceOrg.json +87 -74
  94. data/schemas/instanceOrgMember.json +14 -0
  95. data/schemas/instanceOrgMembers.json +8 -0
  96. data/schemas/instanceOrgPatch.json +64 -26
  97. data/schemas/instanceOrgPost.json +65 -27
  98. data/schemas/instanceOrgs.json +91 -74
  99. data/schemas/instancePatch.json +2 -2
  100. data/schemas/me.json +134 -105
  101. data/schemas/notebook.json +32 -1
  102. data/schemas/notebookExecutionLogs.json +2 -1
  103. data/schemas/notebookPatch.json +32 -1
  104. data/schemas/notebookPost.json +32 -1
  105. data/schemas/notebooks.json +32 -1
  106. data/schemas/org.json +145 -110
  107. data/schemas/orgInvite.json +90 -0
  108. data/schemas/orgInviteCollection.json +130 -0
  109. data/schemas/orgInvites.json +82 -77
  110. data/schemas/orgRoleInfo.json +69 -0
  111. data/schemas/orgs.json +145 -110
  112. data/schemas/payloadStats.json +28 -12
  113. data/schemas/userCredentials.json +19 -0
  114. data/schemas/userPost.json +19 -0
  115. data/schemas/virtualButtonPress.json +4 -0
  116. metadata +27 -6
@@ -58,7 +58,6 @@
58
58
  "onBoot",
59
59
  "onConnect",
60
60
  "onDisconnect",
61
- "request",
62
61
  "udp",
63
62
  "webhook"
64
63
  ]
@@ -83,6 +82,7 @@
83
82
  "deviceCommand",
84
83
  "deviceIdsTagsConnect",
85
84
  "deviceIdsTagsDisconnect",
85
+ "eeaInit",
86
86
  "flowError",
87
87
  "googlePubSub",
88
88
  "meridian",
@@ -92,7 +92,6 @@
92
92
  "onConnect",
93
93
  "onDisconnect",
94
94
  "particle",
95
- "request",
96
95
  "udp",
97
96
  "webhook"
98
97
  ]
@@ -147,7 +146,8 @@
147
146
  "type": "array",
148
147
  "items": {
149
148
  "type": "string",
150
- "maxLength": 255
149
+ "maxLength": 48,
150
+ "minLength": 1
151
151
  },
152
152
  "maxItems": 100
153
153
  },
@@ -251,7 +251,8 @@
251
251
  "type": "array",
252
252
  "items": {
253
253
  "type": "string",
254
- "maxLength": 255
254
+ "maxLength": 48,
255
+ "minLength": 1
255
256
  },
256
257
  "maxItems": 100
257
258
  },
@@ -298,6 +299,21 @@
298
299
  },
299
300
  "maxAge": {
300
301
  "type": "number"
302
+ },
303
+ "triggerOn": {
304
+ "type": "string",
305
+ "enum": [
306
+ "batch",
307
+ "individual",
308
+ "both"
309
+ ]
310
+ },
311
+ "batchBehavior": {
312
+ "type": "string",
313
+ "enum": [
314
+ "once",
315
+ "each"
316
+ ]
301
317
  }
302
318
  },
303
319
  "additionalProperties": false
@@ -380,7 +396,8 @@
380
396
  "type": "array",
381
397
  "items": {
382
398
  "type": "string",
383
- "maxLength": 255
399
+ "maxLength": 48,
400
+ "minLength": 1
384
401
  },
385
402
  "maxItems": 100
386
403
  },
@@ -476,8 +493,101 @@
476
493
  "type": "array",
477
494
  "items": {
478
495
  "type": "string",
496
+ "maxLength": 48,
497
+ "minLength": 1
498
+ },
499
+ "maxItems": 100
500
+ },
501
+ "maxItems": 100
502
+ }
503
+ },
504
+ "required": [
505
+ "type"
506
+ ],
507
+ "additionalProperties": false
508
+ },
509
+ {
510
+ "type": "object",
511
+ "properties": {
512
+ "key": {
513
+ "type": "string",
514
+ "maxLength": 1024
515
+ },
516
+ "type": {
517
+ "type": "string",
518
+ "enum": [
519
+ "direct"
520
+ ]
521
+ },
522
+ "config": {
523
+ "type": "object",
524
+ "properties": {},
525
+ "additionalProperties": false
526
+ },
527
+ "meta": {
528
+ "type": "object",
529
+ "properties": {
530
+ "category": {
531
+ "type": "string",
532
+ "enum": [
533
+ "trigger"
534
+ ]
535
+ },
536
+ "name": {
537
+ "type": "string",
538
+ "enum": [
539
+ "direct"
540
+ ]
541
+ },
542
+ "label": {
543
+ "type": "string",
544
+ "minLength": 1,
479
545
  "maxLength": 255
480
546
  },
547
+ "x": {
548
+ "type": "number"
549
+ },
550
+ "y": {
551
+ "type": "number"
552
+ },
553
+ "uiId": {
554
+ "type": "string",
555
+ "maxLength": 48
556
+ },
557
+ "description": {
558
+ "type": "string",
559
+ "maxLength": 32767
560
+ },
561
+ "icon": {
562
+ "type": "string",
563
+ "maxLength": 1024
564
+ },
565
+ "color": {
566
+ "type": "string",
567
+ "maxLength": 1024
568
+ },
569
+ "inputCount": {
570
+ "type": "number"
571
+ },
572
+ "outputCount": {
573
+ "type": "number"
574
+ },
575
+ "id": {
576
+ "type": "string",
577
+ "maxLength": 48
578
+ }
579
+ },
580
+ "additionalProperties": false
581
+ },
582
+ "outputIds": {
583
+ "type": "array",
584
+ "items": {
585
+ "type": "array",
586
+ "items": {
587
+ "type": "string",
588
+ "maxLength": 48,
589
+ "minLength": 1
590
+ },
481
591
  "maxItems": 100
482
592
  },
483
593
  "maxItems": 100
@@ -573,7 +683,8 @@
573
683
  "type": "array",
574
684
  "items": {
575
685
  "type": "string",
576
- "maxLength": 255
686
+ "maxLength": 48,
687
+ "minLength": 1
577
688
  },
578
689
  "maxItems": 100
579
690
  },
@@ -678,7 +789,8 @@
678
789
  "type": "array",
679
790
  "items": {
680
791
  "type": "string",
681
- "maxLength": 255
792
+ "maxLength": 48,
793
+ "minLength": 1
682
794
  },
683
795
  "maxItems": 100
684
796
  },
@@ -786,7 +898,8 @@
786
898
  "type": "array",
787
899
  "items": {
788
900
  "type": "string",
789
- "maxLength": 255
901
+ "maxLength": 48,
902
+ "minLength": 1
790
903
  },
791
904
  "maxItems": 100
792
905
  },
@@ -897,7 +1010,8 @@
897
1010
  "type": "array",
898
1011
  "items": {
899
1012
  "type": "string",
900
- "maxLength": 255
1013
+ "maxLength": 48,
1014
+ "minLength": 1
901
1015
  },
902
1016
  "maxItems": 100
903
1017
  },
@@ -998,7 +1112,8 @@
998
1112
  "type": "array",
999
1113
  "items": {
1000
1114
  "type": "string",
1001
- "maxLength": 255
1115
+ "maxLength": 48,
1116
+ "minLength": 1
1002
1117
  },
1003
1118
  "maxItems": 100
1004
1119
  },
@@ -1101,7 +1216,8 @@
1101
1216
  "type": "array",
1102
1217
  "items": {
1103
1218
  "type": "string",
1104
- "maxLength": 255
1219
+ "maxLength": 48,
1220
+ "minLength": 1
1105
1221
  },
1106
1222
  "maxItems": 100
1107
1223
  },
@@ -1241,7 +1357,8 @@
1241
1357
  "type": "array",
1242
1358
  "items": {
1243
1359
  "type": "string",
1244
- "maxLength": 255
1360
+ "maxLength": 48,
1361
+ "minLength": 1
1245
1362
  },
1246
1363
  "maxItems": 100
1247
1364
  },
@@ -1364,8 +1481,122 @@
1364
1481
  "type": "array",
1365
1482
  "items": {
1366
1483
  "type": "string",
1484
+ "maxLength": 48,
1485
+ "minLength": 1
1486
+ },
1487
+ "maxItems": 100
1488
+ },
1489
+ "maxItems": 100
1490
+ }
1491
+ },
1492
+ "required": [
1493
+ "type"
1494
+ ],
1495
+ "additionalProperties": false
1496
+ },
1497
+ {
1498
+ "type": "object",
1499
+ "properties": {
1500
+ "key": {
1501
+ "type": "string",
1502
+ "maxLength": 1024
1503
+ },
1504
+ "type": {
1505
+ "type": "string",
1506
+ "enum": [
1507
+ "request"
1508
+ ]
1509
+ },
1510
+ "config": {
1511
+ "type": "object",
1512
+ "properties": {
1513
+ "method": {
1514
+ "type": "string",
1515
+ "enum": [
1516
+ "*",
1517
+ "delete",
1518
+ "get",
1519
+ "options",
1520
+ "patch",
1521
+ "post",
1522
+ "put"
1523
+ ]
1524
+ },
1525
+ "route": {
1526
+ "type": "string",
1527
+ "maxLength": 1024
1528
+ }
1529
+ },
1530
+ "additionalProperties": false
1531
+ },
1532
+ "meta": {
1533
+ "type": "object",
1534
+ "properties": {
1535
+ "category": {
1536
+ "type": "string",
1537
+ "enum": [
1538
+ "trigger"
1539
+ ]
1540
+ },
1541
+ "name": {
1542
+ "type": "string",
1543
+ "enum": [
1544
+ "request"
1545
+ ]
1546
+ },
1547
+ "label": {
1548
+ "type": "string",
1549
+ "minLength": 1,
1367
1550
  "maxLength": 255
1368
1551
  },
1552
+ "x": {
1553
+ "type": "number"
1554
+ },
1555
+ "y": {
1556
+ "type": "number"
1557
+ },
1558
+ "uiId": {
1559
+ "type": "string",
1560
+ "maxLength": 48
1561
+ },
1562
+ "description": {
1563
+ "type": "string",
1564
+ "maxLength": 32767
1565
+ },
1566
+ "icon": {
1567
+ "type": "string",
1568
+ "maxLength": 1024
1569
+ },
1570
+ "color": {
1571
+ "type": "string",
1572
+ "maxLength": 1024
1573
+ },
1574
+ "inputCount": {
1575
+ "type": "number"
1576
+ },
1577
+ "outputCount": {
1578
+ "type": "number"
1579
+ },
1580
+ "triggerId": {
1581
+ "type": "string",
1582
+ "maxLength": 48
1583
+ },
1584
+ "id": {
1585
+ "type": "string",
1586
+ "maxLength": 48
1587
+ }
1588
+ },
1589
+ "additionalProperties": false
1590
+ },
1591
+ "outputIds": {
1592
+ "type": "array",
1593
+ "items": {
1594
+ "type": "array",
1595
+ "items": {
1596
+ "type": "string",
1597
+ "maxLength": 48,
1598
+ "minLength": 1
1599
+ },
1369
1600
  "maxItems": 100
1370
1601
  },
1371
1602
  "maxItems": 100
@@ -1507,7 +1738,8 @@
1507
1738
  "type": "array",
1508
1739
  "items": {
1509
1740
  "type": "string",
1510
- "maxLength": 255
1741
+ "maxLength": 48,
1742
+ "minLength": 1
1511
1743
  },
1512
1744
  "maxItems": 100
1513
1745
  },
@@ -1633,7 +1865,8 @@
1633
1865
  "type": "array",
1634
1866
  "items": {
1635
1867
  "type": "string",
1636
- "maxLength": 255
1868
+ "maxLength": 48,
1869
+ "minLength": 1
1637
1870
  },
1638
1871
  "maxItems": 100
1639
1872
  },
@@ -1748,7 +1981,8 @@
1748
1981
  "type": "array",
1749
1982
  "items": {
1750
1983
  "type": "string",
1751
- "maxLength": 255
1984
+ "maxLength": 48,
1985
+ "minLength": 1
1752
1986
  },
1753
1987
  "maxItems": 100
1754
1988
  },
@@ -1789,7 +2023,8 @@
1789
2023
  "type": "array",
1790
2024
  "items": {
1791
2025
  "type": "string",
1792
- "maxLength": 255
2026
+ "maxLength": 48,
2027
+ "minLength": 1
1793
2028
  },
1794
2029
  "maxItems": 100
1795
2030
  },
@@ -1830,6 +2065,7 @@
1830
2065
  "enum": [
1831
2066
  "cloud",
1832
2067
  "edge",
2068
+ "embedded",
1833
2069
  "experience",
1834
2070
  "customNode"
1835
2071
  ]
@@ -2237,7 +2473,6 @@
2237
2473
  "onBoot",
2238
2474
  "onConnect",
2239
2475
  "onDisconnect",
2240
- "request",
2241
2476
  "udp",
2242
2477
  "webhook"
2243
2478
  ]
@@ -2262,6 +2497,7 @@
2262
2497
  "deviceCommand",
2263
2498
  "deviceIdsTagsConnect",
2264
2499
  "deviceIdsTagsDisconnect",
2500
+ "eeaInit",
2265
2501
  "flowError",
2266
2502
  "googlePubSub",
2267
2503
  "meridian",
@@ -2271,7 +2507,6 @@
2271
2507
  "onConnect",
2272
2508
  "onDisconnect",
2273
2509
  "particle",
2274
- "request",
2275
2510
  "udp",
2276
2511
  "webhook"
2277
2512
  ]
@@ -2326,7 +2561,8 @@
2326
2561
  "type": "array",
2327
2562
  "items": {
2328
2563
  "type": "string",
2329
- "maxLength": 255
2564
+ "maxLength": 48,
2565
+ "minLength": 1
2330
2566
  },
2331
2567
  "maxItems": 100
2332
2568
  },
@@ -2430,7 +2666,8 @@
2430
2666
  "type": "array",
2431
2667
  "items": {
2432
2668
  "type": "string",
2433
- "maxLength": 255
2669
+ "maxLength": 48,
2670
+ "minLength": 1
2434
2671
  },
2435
2672
  "maxItems": 100
2436
2673
  },
@@ -2477,6 +2714,21 @@
2477
2714
  },
2478
2715
  "maxAge": {
2479
2716
  "type": "number"
2717
+ },
2718
+ "triggerOn": {
2719
+ "type": "string",
2720
+ "enum": [
2721
+ "batch",
2722
+ "individual",
2723
+ "both"
2724
+ ]
2725
+ },
2726
+ "batchBehavior": {
2727
+ "type": "string",
2728
+ "enum": [
2729
+ "once",
2730
+ "each"
2731
+ ]
2480
2732
  }
2481
2733
  },
2482
2734
  "additionalProperties": false
@@ -2559,7 +2811,8 @@
2559
2811
  "type": "array",
2560
2812
  "items": {
2561
2813
  "type": "string",
2562
- "maxLength": 255
2814
+ "maxLength": 48,
2815
+ "minLength": 1
2563
2816
  },
2564
2817
  "maxItems": 100
2565
2818
  },
@@ -2655,8 +2908,101 @@
2655
2908
  "type": "array",
2656
2909
  "items": {
2657
2910
  "type": "string",
2911
+ "maxLength": 48,
2912
+ "minLength": 1
2913
+ },
2914
+ "maxItems": 100
2915
+ },
2916
+ "maxItems": 100
2917
+ }
2918
+ },
2919
+ "required": [
2920
+ "type"
2921
+ ],
2922
+ "additionalProperties": false
2923
+ },
2924
+ {
2925
+ "type": "object",
2926
+ "properties": {
2927
+ "key": {
2928
+ "type": "string",
2929
+ "maxLength": 1024
2930
+ },
2931
+ "type": {
2932
+ "type": "string",
2933
+ "enum": [
2934
+ "direct"
2935
+ ]
2936
+ },
2937
+ "config": {
2938
+ "type": "object",
2939
+ "properties": {},
2940
+ "additionalProperties": false
2941
+ },
2942
+ "meta": {
2943
+ "type": "object",
2944
+ "properties": {
2945
+ "category": {
2946
+ "type": "string",
2947
+ "enum": [
2948
+ "trigger"
2949
+ ]
2950
+ },
2951
+ "name": {
2952
+ "type": "string",
2953
+ "enum": [
2954
+ "direct"
2955
+ ]
2956
+ },
2957
+ "label": {
2958
+ "type": "string",
2959
+ "minLength": 1,
2658
2960
  "maxLength": 255
2659
2961
  },
2962
+ "x": {
2963
+ "type": "number"
2964
+ },
2965
+ "y": {
2966
+ "type": "number"
2967
+ },
2968
+ "uiId": {
2969
+ "type": "string",
2970
+ "maxLength": 48
2971
+ },
2972
+ "description": {
2973
+ "type": "string",
2974
+ "maxLength": 32767
2975
+ },
2976
+ "icon": {
2977
+ "type": "string",
2978
+ "maxLength": 1024
2979
+ },
2980
+ "color": {
2981
+ "type": "string",
2982
+ "maxLength": 1024
2983
+ },
2984
+ "inputCount": {
2985
+ "type": "number"
2986
+ },
2987
+ "outputCount": {
2988
+ "type": "number"
2989
+ },
2990
+ "id": {
2991
+ "type": "string",
2992
+ "maxLength": 48
2993
+ }
2994
+ },
2995
+ "additionalProperties": false
2996
+ },
2997
+ "outputIds": {
2998
+ "type": "array",
2999
+ "items": {
3000
+ "type": "array",
3001
+ "items": {
3002
+ "type": "string",
3003
+ "maxLength": 48,
3004
+ "minLength": 1
3005
+ },
2660
3006
  "maxItems": 100
2661
3007
  },
2662
3008
  "maxItems": 100
@@ -2752,7 +3098,8 @@
2752
3098
  "type": "array",
2753
3099
  "items": {
2754
3100
  "type": "string",
2755
- "maxLength": 255
3101
+ "maxLength": 48,
3102
+ "minLength": 1
2756
3103
  },
2757
3104
  "maxItems": 100
2758
3105
  },
@@ -2857,7 +3204,8 @@
2857
3204
  "type": "array",
2858
3205
  "items": {
2859
3206
  "type": "string",
2860
- "maxLength": 255
3207
+ "maxLength": 48,
3208
+ "minLength": 1
2861
3209
  },
2862
3210
  "maxItems": 100
2863
3211
  },
@@ -2965,7 +3313,8 @@
2965
3313
  "type": "array",
2966
3314
  "items": {
2967
3315
  "type": "string",
2968
- "maxLength": 255
3316
+ "maxLength": 48,
3317
+ "minLength": 1
2969
3318
  },
2970
3319
  "maxItems": 100
2971
3320
  },
@@ -3076,7 +3425,8 @@
3076
3425
  "type": "array",
3077
3426
  "items": {
3078
3427
  "type": "string",
3079
- "maxLength": 255
3428
+ "maxLength": 48,
3429
+ "minLength": 1
3080
3430
  },
3081
3431
  "maxItems": 100
3082
3432
  },
@@ -3177,7 +3527,8 @@
3177
3527
  "type": "array",
3178
3528
  "items": {
3179
3529
  "type": "string",
3180
- "maxLength": 255
3530
+ "maxLength": 48,
3531
+ "minLength": 1
3181
3532
  },
3182
3533
  "maxItems": 100
3183
3534
  },
@@ -3280,7 +3631,8 @@
3280
3631
  "type": "array",
3281
3632
  "items": {
3282
3633
  "type": "string",
3283
- "maxLength": 255
3634
+ "maxLength": 48,
3635
+ "minLength": 1
3284
3636
  },
3285
3637
  "maxItems": 100
3286
3638
  },
@@ -3420,7 +3772,8 @@
3420
3772
  "type": "array",
3421
3773
  "items": {
3422
3774
  "type": "string",
3423
- "maxLength": 255
3775
+ "maxLength": 48,
3776
+ "minLength": 1
3424
3777
  },
3425
3778
  "maxItems": 100
3426
3779
  },
@@ -3543,8 +3896,122 @@
3543
3896
  "type": "array",
3544
3897
  "items": {
3545
3898
  "type": "string",
3899
+ "maxLength": 48,
3900
+ "minLength": 1
3901
+ },
3902
+ "maxItems": 100
3903
+ },
3904
+ "maxItems": 100
3905
+ }
3906
+ },
3907
+ "required": [
3908
+ "type"
3909
+ ],
3910
+ "additionalProperties": false
3911
+ },
3912
+ {
3913
+ "type": "object",
3914
+ "properties": {
3915
+ "key": {
3916
+ "type": "string",
3917
+ "maxLength": 1024
3918
+ },
3919
+ "type": {
3920
+ "type": "string",
3921
+ "enum": [
3922
+ "request"
3923
+ ]
3924
+ },
3925
+ "config": {
3926
+ "type": "object",
3927
+ "properties": {
3928
+ "method": {
3929
+ "type": "string",
3930
+ "enum": [
3931
+ "*",
3932
+ "delete",
3933
+ "get",
3934
+ "options",
3935
+ "patch",
3936
+ "post",
3937
+ "put"
3938
+ ]
3939
+ },
3940
+ "route": {
3941
+ "type": "string",
3942
+ "maxLength": 1024
3943
+ }
3944
+ },
3945
+ "additionalProperties": false
3946
+ },
3947
+ "meta": {
3948
+ "type": "object",
3949
+ "properties": {
3950
+ "category": {
3951
+ "type": "string",
3952
+ "enum": [
3953
+ "trigger"
3954
+ ]
3955
+ },
3956
+ "name": {
3957
+ "type": "string",
3958
+ "enum": [
3959
+ "request"
3960
+ ]
3961
+ },
3962
+ "label": {
3963
+ "type": "string",
3964
+ "minLength": 1,
3546
3965
  "maxLength": 255
3547
3966
  },
3967
+ "x": {
3968
+ "type": "number"
3969
+ },
3970
+ "y": {
3971
+ "type": "number"
3972
+ },
3973
+ "uiId": {
3974
+ "type": "string",
3975
+ "maxLength": 48
3976
+ },
3977
+ "description": {
3978
+ "type": "string",
3979
+ "maxLength": 32767
3980
+ },
3981
+ "icon": {
3982
+ "type": "string",
3983
+ "maxLength": 1024
3984
+ },
3985
+ "color": {
3986
+ "type": "string",
3987
+ "maxLength": 1024
3988
+ },
3989
+ "inputCount": {
3990
+ "type": "number"
3991
+ },
3992
+ "outputCount": {
3993
+ "type": "number"
3994
+ },
3995
+ "triggerId": {
3996
+ "type": "string",
3997
+ "maxLength": 48
3998
+ },
3999
+ "id": {
4000
+ "type": "string",
4001
+ "maxLength": 48
4002
+ }
4003
+ },
4004
+ "additionalProperties": false
4005
+ },
4006
+ "outputIds": {
4007
+ "type": "array",
4008
+ "items": {
4009
+ "type": "array",
4010
+ "items": {
4011
+ "type": "string",
4012
+ "maxLength": 48,
4013
+ "minLength": 1
4014
+ },
3548
4015
  "maxItems": 100
3549
4016
  },
3550
4017
  "maxItems": 100
@@ -3686,7 +4153,8 @@
3686
4153
  "type": "array",
3687
4154
  "items": {
3688
4155
  "type": "string",
3689
- "maxLength": 255
4156
+ "maxLength": 48,
4157
+ "minLength": 1
3690
4158
  },
3691
4159
  "maxItems": 100
3692
4160
  },
@@ -3812,7 +4280,8 @@
3812
4280
  "type": "array",
3813
4281
  "items": {
3814
4282
  "type": "string",
3815
- "maxLength": 255
4283
+ "maxLength": 48,
4284
+ "minLength": 1
3816
4285
  },
3817
4286
  "maxItems": 100
3818
4287
  },
@@ -3927,7 +4396,8 @@
3927
4396
  "type": "array",
3928
4397
  "items": {
3929
4398
  "type": "string",
3930
- "maxLength": 255
4399
+ "maxLength": 48,
4400
+ "minLength": 1
3931
4401
  },
3932
4402
  "maxItems": 100
3933
4403
  },
@@ -3968,7 +4438,8 @@
3968
4438
  "type": "array",
3969
4439
  "items": {
3970
4440
  "type": "string",
3971
- "maxLength": 255
4441
+ "maxLength": 48,
4442
+ "minLength": 1
3972
4443
  },
3973
4444
  "maxItems": 100
3974
4445
  },