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
@@ -9,7 +9,7 @@
9
9
  "description": "Schema for a single Workflow Version",
10
10
  "oneOf": [
11
11
  {
12
- "description": "Schema for a single Cloud/Edge/Custom Node Workflow Version",
12
+ "description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
13
13
  "type": "object",
14
14
  "properties": {
15
15
  "id": {
@@ -73,7 +73,6 @@
73
73
  "onBoot",
74
74
  "onConnect",
75
75
  "onDisconnect",
76
- "request",
77
76
  "udp",
78
77
  "webhook"
79
78
  ]
@@ -98,6 +97,7 @@
98
97
  "deviceCommand",
99
98
  "deviceIdsTagsConnect",
100
99
  "deviceIdsTagsDisconnect",
100
+ "eeaInit",
101
101
  "flowError",
102
102
  "googlePubSub",
103
103
  "meridian",
@@ -107,7 +107,6 @@
107
107
  "onConnect",
108
108
  "onDisconnect",
109
109
  "particle",
110
- "request",
111
110
  "udp",
112
111
  "webhook"
113
112
  ]
@@ -162,7 +161,8 @@
162
161
  "type": "array",
163
162
  "items": {
164
163
  "type": "string",
165
- "maxLength": 255
164
+ "maxLength": 48,
165
+ "minLength": 1
166
166
  },
167
167
  "maxItems": 100
168
168
  },
@@ -266,7 +266,8 @@
266
266
  "type": "array",
267
267
  "items": {
268
268
  "type": "string",
269
- "maxLength": 255
269
+ "maxLength": 48,
270
+ "minLength": 1
270
271
  },
271
272
  "maxItems": 100
272
273
  },
@@ -313,6 +314,21 @@
313
314
  },
314
315
  "maxAge": {
315
316
  "type": "number"
317
+ },
318
+ "triggerOn": {
319
+ "type": "string",
320
+ "enum": [
321
+ "batch",
322
+ "individual",
323
+ "both"
324
+ ]
325
+ },
326
+ "batchBehavior": {
327
+ "type": "string",
328
+ "enum": [
329
+ "once",
330
+ "each"
331
+ ]
316
332
  }
317
333
  },
318
334
  "additionalProperties": false
@@ -395,7 +411,8 @@
395
411
  "type": "array",
396
412
  "items": {
397
413
  "type": "string",
398
- "maxLength": 255
414
+ "maxLength": 48,
415
+ "minLength": 1
399
416
  },
400
417
  "maxItems": 100
401
418
  },
@@ -491,8 +508,101 @@
491
508
  "type": "array",
492
509
  "items": {
493
510
  "type": "string",
511
+ "maxLength": 48,
512
+ "minLength": 1
513
+ },
514
+ "maxItems": 100
515
+ },
516
+ "maxItems": 100
517
+ }
518
+ },
519
+ "required": [
520
+ "type"
521
+ ],
522
+ "additionalProperties": false
523
+ },
524
+ {
525
+ "type": "object",
526
+ "properties": {
527
+ "key": {
528
+ "type": "string",
529
+ "maxLength": 1024
530
+ },
531
+ "type": {
532
+ "type": "string",
533
+ "enum": [
534
+ "direct"
535
+ ]
536
+ },
537
+ "config": {
538
+ "type": "object",
539
+ "properties": {},
540
+ "additionalProperties": false
541
+ },
542
+ "meta": {
543
+ "type": "object",
544
+ "properties": {
545
+ "category": {
546
+ "type": "string",
547
+ "enum": [
548
+ "trigger"
549
+ ]
550
+ },
551
+ "name": {
552
+ "type": "string",
553
+ "enum": [
554
+ "direct"
555
+ ]
556
+ },
557
+ "label": {
558
+ "type": "string",
559
+ "minLength": 1,
494
560
  "maxLength": 255
495
561
  },
562
+ "x": {
563
+ "type": "number"
564
+ },
565
+ "y": {
566
+ "type": "number"
567
+ },
568
+ "uiId": {
569
+ "type": "string",
570
+ "maxLength": 48
571
+ },
572
+ "description": {
573
+ "type": "string",
574
+ "maxLength": 32767
575
+ },
576
+ "icon": {
577
+ "type": "string",
578
+ "maxLength": 1024
579
+ },
580
+ "color": {
581
+ "type": "string",
582
+ "maxLength": 1024
583
+ },
584
+ "inputCount": {
585
+ "type": "number"
586
+ },
587
+ "outputCount": {
588
+ "type": "number"
589
+ },
590
+ "id": {
591
+ "type": "string",
592
+ "maxLength": 48
593
+ }
594
+ },
595
+ "additionalProperties": false
596
+ },
597
+ "outputIds": {
598
+ "type": "array",
599
+ "items": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "string",
603
+ "maxLength": 48,
604
+ "minLength": 1
605
+ },
496
606
  "maxItems": 100
497
607
  },
498
608
  "maxItems": 100
@@ -588,7 +698,8 @@
588
698
  "type": "array",
589
699
  "items": {
590
700
  "type": "string",
591
- "maxLength": 255
701
+ "maxLength": 48,
702
+ "minLength": 1
592
703
  },
593
704
  "maxItems": 100
594
705
  },
@@ -693,7 +804,8 @@
693
804
  "type": "array",
694
805
  "items": {
695
806
  "type": "string",
696
- "maxLength": 255
807
+ "maxLength": 48,
808
+ "minLength": 1
697
809
  },
698
810
  "maxItems": 100
699
811
  },
@@ -801,7 +913,8 @@
801
913
  "type": "array",
802
914
  "items": {
803
915
  "type": "string",
804
- "maxLength": 255
916
+ "maxLength": 48,
917
+ "minLength": 1
805
918
  },
806
919
  "maxItems": 100
807
920
  },
@@ -912,7 +1025,8 @@
912
1025
  "type": "array",
913
1026
  "items": {
914
1027
  "type": "string",
915
- "maxLength": 255
1028
+ "maxLength": 48,
1029
+ "minLength": 1
916
1030
  },
917
1031
  "maxItems": 100
918
1032
  },
@@ -1013,7 +1127,8 @@
1013
1127
  "type": "array",
1014
1128
  "items": {
1015
1129
  "type": "string",
1016
- "maxLength": 255
1130
+ "maxLength": 48,
1131
+ "minLength": 1
1017
1132
  },
1018
1133
  "maxItems": 100
1019
1134
  },
@@ -1116,7 +1231,8 @@
1116
1231
  "type": "array",
1117
1232
  "items": {
1118
1233
  "type": "string",
1119
- "maxLength": 255
1234
+ "maxLength": 48,
1235
+ "minLength": 1
1120
1236
  },
1121
1237
  "maxItems": 100
1122
1238
  },
@@ -1256,7 +1372,8 @@
1256
1372
  "type": "array",
1257
1373
  "items": {
1258
1374
  "type": "string",
1259
- "maxLength": 255
1375
+ "maxLength": 48,
1376
+ "minLength": 1
1260
1377
  },
1261
1378
  "maxItems": 100
1262
1379
  },
@@ -1379,8 +1496,122 @@
1379
1496
  "type": "array",
1380
1497
  "items": {
1381
1498
  "type": "string",
1499
+ "maxLength": 48,
1500
+ "minLength": 1
1501
+ },
1502
+ "maxItems": 100
1503
+ },
1504
+ "maxItems": 100
1505
+ }
1506
+ },
1507
+ "required": [
1508
+ "type"
1509
+ ],
1510
+ "additionalProperties": false
1511
+ },
1512
+ {
1513
+ "type": "object",
1514
+ "properties": {
1515
+ "key": {
1516
+ "type": "string",
1517
+ "maxLength": 1024
1518
+ },
1519
+ "type": {
1520
+ "type": "string",
1521
+ "enum": [
1522
+ "request"
1523
+ ]
1524
+ },
1525
+ "config": {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "method": {
1529
+ "type": "string",
1530
+ "enum": [
1531
+ "*",
1532
+ "delete",
1533
+ "get",
1534
+ "options",
1535
+ "patch",
1536
+ "post",
1537
+ "put"
1538
+ ]
1539
+ },
1540
+ "route": {
1541
+ "type": "string",
1542
+ "maxLength": 1024
1543
+ }
1544
+ },
1545
+ "additionalProperties": false
1546
+ },
1547
+ "meta": {
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "category": {
1551
+ "type": "string",
1552
+ "enum": [
1553
+ "trigger"
1554
+ ]
1555
+ },
1556
+ "name": {
1557
+ "type": "string",
1558
+ "enum": [
1559
+ "request"
1560
+ ]
1561
+ },
1562
+ "label": {
1563
+ "type": "string",
1564
+ "minLength": 1,
1382
1565
  "maxLength": 255
1383
1566
  },
1567
+ "x": {
1568
+ "type": "number"
1569
+ },
1570
+ "y": {
1571
+ "type": "number"
1572
+ },
1573
+ "uiId": {
1574
+ "type": "string",
1575
+ "maxLength": 48
1576
+ },
1577
+ "description": {
1578
+ "type": "string",
1579
+ "maxLength": 32767
1580
+ },
1581
+ "icon": {
1582
+ "type": "string",
1583
+ "maxLength": 1024
1584
+ },
1585
+ "color": {
1586
+ "type": "string",
1587
+ "maxLength": 1024
1588
+ },
1589
+ "inputCount": {
1590
+ "type": "number"
1591
+ },
1592
+ "outputCount": {
1593
+ "type": "number"
1594
+ },
1595
+ "triggerId": {
1596
+ "type": "string",
1597
+ "maxLength": 48
1598
+ },
1599
+ "id": {
1600
+ "type": "string",
1601
+ "maxLength": 48
1602
+ }
1603
+ },
1604
+ "additionalProperties": false
1605
+ },
1606
+ "outputIds": {
1607
+ "type": "array",
1608
+ "items": {
1609
+ "type": "array",
1610
+ "items": {
1611
+ "type": "string",
1612
+ "maxLength": 48,
1613
+ "minLength": 1
1614
+ },
1384
1615
  "maxItems": 100
1385
1616
  },
1386
1617
  "maxItems": 100
@@ -1522,7 +1753,8 @@
1522
1753
  "type": "array",
1523
1754
  "items": {
1524
1755
  "type": "string",
1525
- "maxLength": 255
1756
+ "maxLength": 48,
1757
+ "minLength": 1
1526
1758
  },
1527
1759
  "maxItems": 100
1528
1760
  },
@@ -1648,7 +1880,8 @@
1648
1880
  "type": "array",
1649
1881
  "items": {
1650
1882
  "type": "string",
1651
- "maxLength": 255
1883
+ "maxLength": 48,
1884
+ "minLength": 1
1652
1885
  },
1653
1886
  "maxItems": 100
1654
1887
  },
@@ -1763,7 +1996,8 @@
1763
1996
  "type": "array",
1764
1997
  "items": {
1765
1998
  "type": "string",
1766
- "maxLength": 255
1999
+ "maxLength": 48,
2000
+ "minLength": 1
1767
2001
  },
1768
2002
  "maxItems": 100
1769
2003
  },
@@ -1804,7 +2038,8 @@
1804
2038
  "type": "array",
1805
2039
  "items": {
1806
2040
  "type": "string",
1807
- "maxLength": 255
2041
+ "maxLength": 48,
2042
+ "minLength": 1
1808
2043
  },
1809
2044
  "maxItems": 100
1810
2045
  },
@@ -2271,7 +2506,6 @@
2271
2506
  "onBoot",
2272
2507
  "onConnect",
2273
2508
  "onDisconnect",
2274
- "request",
2275
2509
  "udp",
2276
2510
  "webhook"
2277
2511
  ]
@@ -2296,6 +2530,7 @@
2296
2530
  "deviceCommand",
2297
2531
  "deviceIdsTagsConnect",
2298
2532
  "deviceIdsTagsDisconnect",
2533
+ "eeaInit",
2299
2534
  "flowError",
2300
2535
  "googlePubSub",
2301
2536
  "meridian",
@@ -2305,7 +2540,6 @@
2305
2540
  "onConnect",
2306
2541
  "onDisconnect",
2307
2542
  "particle",
2308
- "request",
2309
2543
  "udp",
2310
2544
  "webhook"
2311
2545
  ]
@@ -2360,7 +2594,8 @@
2360
2594
  "type": "array",
2361
2595
  "items": {
2362
2596
  "type": "string",
2363
- "maxLength": 255
2597
+ "maxLength": 48,
2598
+ "minLength": 1
2364
2599
  },
2365
2600
  "maxItems": 100
2366
2601
  },
@@ -2464,7 +2699,8 @@
2464
2699
  "type": "array",
2465
2700
  "items": {
2466
2701
  "type": "string",
2467
- "maxLength": 255
2702
+ "maxLength": 48,
2703
+ "minLength": 1
2468
2704
  },
2469
2705
  "maxItems": 100
2470
2706
  },
@@ -2511,6 +2747,21 @@
2511
2747
  },
2512
2748
  "maxAge": {
2513
2749
  "type": "number"
2750
+ },
2751
+ "triggerOn": {
2752
+ "type": "string",
2753
+ "enum": [
2754
+ "batch",
2755
+ "individual",
2756
+ "both"
2757
+ ]
2758
+ },
2759
+ "batchBehavior": {
2760
+ "type": "string",
2761
+ "enum": [
2762
+ "once",
2763
+ "each"
2764
+ ]
2514
2765
  }
2515
2766
  },
2516
2767
  "additionalProperties": false
@@ -2593,7 +2844,8 @@
2593
2844
  "type": "array",
2594
2845
  "items": {
2595
2846
  "type": "string",
2596
- "maxLength": 255
2847
+ "maxLength": 48,
2848
+ "minLength": 1
2597
2849
  },
2598
2850
  "maxItems": 100
2599
2851
  },
@@ -2689,8 +2941,101 @@
2689
2941
  "type": "array",
2690
2942
  "items": {
2691
2943
  "type": "string",
2944
+ "maxLength": 48,
2945
+ "minLength": 1
2946
+ },
2947
+ "maxItems": 100
2948
+ },
2949
+ "maxItems": 100
2950
+ }
2951
+ },
2952
+ "required": [
2953
+ "type"
2954
+ ],
2955
+ "additionalProperties": false
2956
+ },
2957
+ {
2958
+ "type": "object",
2959
+ "properties": {
2960
+ "key": {
2961
+ "type": "string",
2962
+ "maxLength": 1024
2963
+ },
2964
+ "type": {
2965
+ "type": "string",
2966
+ "enum": [
2967
+ "direct"
2968
+ ]
2969
+ },
2970
+ "config": {
2971
+ "type": "object",
2972
+ "properties": {},
2973
+ "additionalProperties": false
2974
+ },
2975
+ "meta": {
2976
+ "type": "object",
2977
+ "properties": {
2978
+ "category": {
2979
+ "type": "string",
2980
+ "enum": [
2981
+ "trigger"
2982
+ ]
2983
+ },
2984
+ "name": {
2985
+ "type": "string",
2986
+ "enum": [
2987
+ "direct"
2988
+ ]
2989
+ },
2990
+ "label": {
2991
+ "type": "string",
2992
+ "minLength": 1,
2692
2993
  "maxLength": 255
2693
2994
  },
2995
+ "x": {
2996
+ "type": "number"
2997
+ },
2998
+ "y": {
2999
+ "type": "number"
3000
+ },
3001
+ "uiId": {
3002
+ "type": "string",
3003
+ "maxLength": 48
3004
+ },
3005
+ "description": {
3006
+ "type": "string",
3007
+ "maxLength": 32767
3008
+ },
3009
+ "icon": {
3010
+ "type": "string",
3011
+ "maxLength": 1024
3012
+ },
3013
+ "color": {
3014
+ "type": "string",
3015
+ "maxLength": 1024
3016
+ },
3017
+ "inputCount": {
3018
+ "type": "number"
3019
+ },
3020
+ "outputCount": {
3021
+ "type": "number"
3022
+ },
3023
+ "id": {
3024
+ "type": "string",
3025
+ "maxLength": 48
3026
+ }
3027
+ },
3028
+ "additionalProperties": false
3029
+ },
3030
+ "outputIds": {
3031
+ "type": "array",
3032
+ "items": {
3033
+ "type": "array",
3034
+ "items": {
3035
+ "type": "string",
3036
+ "maxLength": 48,
3037
+ "minLength": 1
3038
+ },
2694
3039
  "maxItems": 100
2695
3040
  },
2696
3041
  "maxItems": 100
@@ -2786,7 +3131,8 @@
2786
3131
  "type": "array",
2787
3132
  "items": {
2788
3133
  "type": "string",
2789
- "maxLength": 255
3134
+ "maxLength": 48,
3135
+ "minLength": 1
2790
3136
  },
2791
3137
  "maxItems": 100
2792
3138
  },
@@ -2891,7 +3237,8 @@
2891
3237
  "type": "array",
2892
3238
  "items": {
2893
3239
  "type": "string",
2894
- "maxLength": 255
3240
+ "maxLength": 48,
3241
+ "minLength": 1
2895
3242
  },
2896
3243
  "maxItems": 100
2897
3244
  },
@@ -2999,7 +3346,8 @@
2999
3346
  "type": "array",
3000
3347
  "items": {
3001
3348
  "type": "string",
3002
- "maxLength": 255
3349
+ "maxLength": 48,
3350
+ "minLength": 1
3003
3351
  },
3004
3352
  "maxItems": 100
3005
3353
  },
@@ -3110,7 +3458,8 @@
3110
3458
  "type": "array",
3111
3459
  "items": {
3112
3460
  "type": "string",
3113
- "maxLength": 255
3461
+ "maxLength": 48,
3462
+ "minLength": 1
3114
3463
  },
3115
3464
  "maxItems": 100
3116
3465
  },
@@ -3211,7 +3560,8 @@
3211
3560
  "type": "array",
3212
3561
  "items": {
3213
3562
  "type": "string",
3214
- "maxLength": 255
3563
+ "maxLength": 48,
3564
+ "minLength": 1
3215
3565
  },
3216
3566
  "maxItems": 100
3217
3567
  },
@@ -3314,7 +3664,8 @@
3314
3664
  "type": "array",
3315
3665
  "items": {
3316
3666
  "type": "string",
3317
- "maxLength": 255
3667
+ "maxLength": 48,
3668
+ "minLength": 1
3318
3669
  },
3319
3670
  "maxItems": 100
3320
3671
  },
@@ -3454,7 +3805,8 @@
3454
3805
  "type": "array",
3455
3806
  "items": {
3456
3807
  "type": "string",
3457
- "maxLength": 255
3808
+ "maxLength": 48,
3809
+ "minLength": 1
3458
3810
  },
3459
3811
  "maxItems": 100
3460
3812
  },
@@ -3577,8 +3929,122 @@
3577
3929
  "type": "array",
3578
3930
  "items": {
3579
3931
  "type": "string",
3932
+ "maxLength": 48,
3933
+ "minLength": 1
3934
+ },
3935
+ "maxItems": 100
3936
+ },
3937
+ "maxItems": 100
3938
+ }
3939
+ },
3940
+ "required": [
3941
+ "type"
3942
+ ],
3943
+ "additionalProperties": false
3944
+ },
3945
+ {
3946
+ "type": "object",
3947
+ "properties": {
3948
+ "key": {
3949
+ "type": "string",
3950
+ "maxLength": 1024
3951
+ },
3952
+ "type": {
3953
+ "type": "string",
3954
+ "enum": [
3955
+ "request"
3956
+ ]
3957
+ },
3958
+ "config": {
3959
+ "type": "object",
3960
+ "properties": {
3961
+ "method": {
3962
+ "type": "string",
3963
+ "enum": [
3964
+ "*",
3965
+ "delete",
3966
+ "get",
3967
+ "options",
3968
+ "patch",
3969
+ "post",
3970
+ "put"
3971
+ ]
3972
+ },
3973
+ "route": {
3974
+ "type": "string",
3975
+ "maxLength": 1024
3976
+ }
3977
+ },
3978
+ "additionalProperties": false
3979
+ },
3980
+ "meta": {
3981
+ "type": "object",
3982
+ "properties": {
3983
+ "category": {
3984
+ "type": "string",
3985
+ "enum": [
3986
+ "trigger"
3987
+ ]
3988
+ },
3989
+ "name": {
3990
+ "type": "string",
3991
+ "enum": [
3992
+ "request"
3993
+ ]
3994
+ },
3995
+ "label": {
3996
+ "type": "string",
3997
+ "minLength": 1,
3580
3998
  "maxLength": 255
3581
3999
  },
4000
+ "x": {
4001
+ "type": "number"
4002
+ },
4003
+ "y": {
4004
+ "type": "number"
4005
+ },
4006
+ "uiId": {
4007
+ "type": "string",
4008
+ "maxLength": 48
4009
+ },
4010
+ "description": {
4011
+ "type": "string",
4012
+ "maxLength": 32767
4013
+ },
4014
+ "icon": {
4015
+ "type": "string",
4016
+ "maxLength": 1024
4017
+ },
4018
+ "color": {
4019
+ "type": "string",
4020
+ "maxLength": 1024
4021
+ },
4022
+ "inputCount": {
4023
+ "type": "number"
4024
+ },
4025
+ "outputCount": {
4026
+ "type": "number"
4027
+ },
4028
+ "triggerId": {
4029
+ "type": "string",
4030
+ "maxLength": 48
4031
+ },
4032
+ "id": {
4033
+ "type": "string",
4034
+ "maxLength": 48
4035
+ }
4036
+ },
4037
+ "additionalProperties": false
4038
+ },
4039
+ "outputIds": {
4040
+ "type": "array",
4041
+ "items": {
4042
+ "type": "array",
4043
+ "items": {
4044
+ "type": "string",
4045
+ "maxLength": 48,
4046
+ "minLength": 1
4047
+ },
3582
4048
  "maxItems": 100
3583
4049
  },
3584
4050
  "maxItems": 100
@@ -3720,7 +4186,8 @@
3720
4186
  "type": "array",
3721
4187
  "items": {
3722
4188
  "type": "string",
3723
- "maxLength": 255
4189
+ "maxLength": 48,
4190
+ "minLength": 1
3724
4191
  },
3725
4192
  "maxItems": 100
3726
4193
  },
@@ -3846,7 +4313,8 @@
3846
4313
  "type": "array",
3847
4314
  "items": {
3848
4315
  "type": "string",
3849
- "maxLength": 255
4316
+ "maxLength": 48,
4317
+ "minLength": 1
3850
4318
  },
3851
4319
  "maxItems": 100
3852
4320
  },
@@ -3961,7 +4429,8 @@
3961
4429
  "type": "array",
3962
4430
  "items": {
3963
4431
  "type": "string",
3964
- "maxLength": 255
4432
+ "maxLength": 48,
4433
+ "minLength": 1
3965
4434
  },
3966
4435
  "maxItems": 100
3967
4436
  },
@@ -4002,7 +4471,8 @@
4002
4471
  "type": "array",
4003
4472
  "items": {
4004
4473
  "type": "string",
4005
- "maxLength": 255
4474
+ "maxLength": 48,
4475
+ "minLength": 1
4006
4476
  },
4007
4477
  "maxItems": 100
4008
4478
  },