losant_rest 1.14.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/schemas/flow.json CHANGED
@@ -81,7 +81,6 @@
81
81
  "onBoot",
82
82
  "onConnect",
83
83
  "onDisconnect",
84
- "request",
85
84
  "udp",
86
85
  "webhook"
87
86
  ]
@@ -115,7 +114,6 @@
115
114
  "onConnect",
116
115
  "onDisconnect",
117
116
  "particle",
118
- "request",
119
117
  "udp",
120
118
  "webhook"
121
119
  ]
@@ -1414,6 +1412,118 @@
1414
1412
  ],
1415
1413
  "additionalProperties": false
1416
1414
  },
1415
+ {
1416
+ "type": "object",
1417
+ "properties": {
1418
+ "key": {
1419
+ "type": "string",
1420
+ "maxLength": 1024
1421
+ },
1422
+ "type": {
1423
+ "type": "string",
1424
+ "enum": [
1425
+ "request"
1426
+ ]
1427
+ },
1428
+ "config": {
1429
+ "type": "object",
1430
+ "properties": {
1431
+ "method": {
1432
+ "type": "string",
1433
+ "enum": [
1434
+ "*",
1435
+ "delete",
1436
+ "get",
1437
+ "options",
1438
+ "patch",
1439
+ "post",
1440
+ "put"
1441
+ ]
1442
+ },
1443
+ "route": {
1444
+ "type": "string",
1445
+ "maxLength": 1024
1446
+ }
1447
+ },
1448
+ "additionalProperties": false
1449
+ },
1450
+ "meta": {
1451
+ "type": "object",
1452
+ "properties": {
1453
+ "category": {
1454
+ "type": "string",
1455
+ "enum": [
1456
+ "trigger"
1457
+ ]
1458
+ },
1459
+ "name": {
1460
+ "type": "string",
1461
+ "enum": [
1462
+ "request"
1463
+ ]
1464
+ },
1465
+ "label": {
1466
+ "type": "string",
1467
+ "minLength": 1,
1468
+ "maxLength": 255
1469
+ },
1470
+ "x": {
1471
+ "type": "number"
1472
+ },
1473
+ "y": {
1474
+ "type": "number"
1475
+ },
1476
+ "uiId": {
1477
+ "type": "string",
1478
+ "maxLength": 48
1479
+ },
1480
+ "description": {
1481
+ "type": "string",
1482
+ "maxLength": 32767
1483
+ },
1484
+ "icon": {
1485
+ "type": "string",
1486
+ "maxLength": 1024
1487
+ },
1488
+ "color": {
1489
+ "type": "string",
1490
+ "maxLength": 1024
1491
+ },
1492
+ "inputCount": {
1493
+ "type": "number"
1494
+ },
1495
+ "outputCount": {
1496
+ "type": "number"
1497
+ },
1498
+ "triggerId": {
1499
+ "type": "string",
1500
+ "maxLength": 48
1501
+ },
1502
+ "id": {
1503
+ "type": "string",
1504
+ "maxLength": 48
1505
+ }
1506
+ },
1507
+ "additionalProperties": false
1508
+ },
1509
+ "outputIds": {
1510
+ "type": "array",
1511
+ "items": {
1512
+ "type": "array",
1513
+ "items": {
1514
+ "type": "string",
1515
+ "maxLength": 255
1516
+ },
1517
+ "maxItems": 100
1518
+ },
1519
+ "maxItems": 100
1520
+ }
1521
+ },
1522
+ "required": [
1523
+ "type"
1524
+ ],
1525
+ "additionalProperties": false
1526
+ },
1417
1527
  {
1418
1528
  "type": "object",
1419
1529
  "properties": {
@@ -62,7 +62,6 @@
62
62
  "onBoot",
63
63
  "onConnect",
64
64
  "onDisconnect",
65
- "request",
66
65
  "udp",
67
66
  "webhook"
68
67
  ]
@@ -96,7 +95,6 @@
96
95
  "onConnect",
97
96
  "onDisconnect",
98
97
  "particle",
99
- "request",
100
98
  "udp",
101
99
  "webhook"
102
100
  ]
@@ -1395,6 +1393,118 @@
1395
1393
  ],
1396
1394
  "additionalProperties": false
1397
1395
  },
1396
+ {
1397
+ "type": "object",
1398
+ "properties": {
1399
+ "key": {
1400
+ "type": "string",
1401
+ "maxLength": 1024
1402
+ },
1403
+ "type": {
1404
+ "type": "string",
1405
+ "enum": [
1406
+ "request"
1407
+ ]
1408
+ },
1409
+ "config": {
1410
+ "type": "object",
1411
+ "properties": {
1412
+ "method": {
1413
+ "type": "string",
1414
+ "enum": [
1415
+ "*",
1416
+ "delete",
1417
+ "get",
1418
+ "options",
1419
+ "patch",
1420
+ "post",
1421
+ "put"
1422
+ ]
1423
+ },
1424
+ "route": {
1425
+ "type": "string",
1426
+ "maxLength": 1024
1427
+ }
1428
+ },
1429
+ "additionalProperties": false
1430
+ },
1431
+ "meta": {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "category": {
1435
+ "type": "string",
1436
+ "enum": [
1437
+ "trigger"
1438
+ ]
1439
+ },
1440
+ "name": {
1441
+ "type": "string",
1442
+ "enum": [
1443
+ "request"
1444
+ ]
1445
+ },
1446
+ "label": {
1447
+ "type": "string",
1448
+ "minLength": 1,
1449
+ "maxLength": 255
1450
+ },
1451
+ "x": {
1452
+ "type": "number"
1453
+ },
1454
+ "y": {
1455
+ "type": "number"
1456
+ },
1457
+ "uiId": {
1458
+ "type": "string",
1459
+ "maxLength": 48
1460
+ },
1461
+ "description": {
1462
+ "type": "string",
1463
+ "maxLength": 32767
1464
+ },
1465
+ "icon": {
1466
+ "type": "string",
1467
+ "maxLength": 1024
1468
+ },
1469
+ "color": {
1470
+ "type": "string",
1471
+ "maxLength": 1024
1472
+ },
1473
+ "inputCount": {
1474
+ "type": "number"
1475
+ },
1476
+ "outputCount": {
1477
+ "type": "number"
1478
+ },
1479
+ "triggerId": {
1480
+ "type": "string",
1481
+ "maxLength": 48
1482
+ },
1483
+ "id": {
1484
+ "type": "string",
1485
+ "maxLength": 48
1486
+ }
1487
+ },
1488
+ "additionalProperties": false
1489
+ },
1490
+ "outputIds": {
1491
+ "type": "array",
1492
+ "items": {
1493
+ "type": "array",
1494
+ "items": {
1495
+ "type": "string",
1496
+ "maxLength": 255
1497
+ },
1498
+ "maxItems": 100
1499
+ },
1500
+ "maxItems": 100
1501
+ }
1502
+ },
1503
+ "required": [
1504
+ "type"
1505
+ ],
1506
+ "additionalProperties": false
1507
+ },
1398
1508
  {
1399
1509
  "type": "object",
1400
1510
  "properties": {
@@ -51,7 +51,6 @@
51
51
  "onBoot",
52
52
  "onConnect",
53
53
  "onDisconnect",
54
- "request",
55
54
  "udp",
56
55
  "webhook"
57
56
  ]
@@ -85,7 +84,6 @@
85
84
  "onConnect",
86
85
  "onDisconnect",
87
86
  "particle",
88
- "request",
89
87
  "udp",
90
88
  "webhook"
91
89
  ]
@@ -1384,6 +1382,118 @@
1384
1382
  ],
1385
1383
  "additionalProperties": false
1386
1384
  },
1385
+ {
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "key": {
1389
+ "type": "string",
1390
+ "maxLength": 1024
1391
+ },
1392
+ "type": {
1393
+ "type": "string",
1394
+ "enum": [
1395
+ "request"
1396
+ ]
1397
+ },
1398
+ "config": {
1399
+ "type": "object",
1400
+ "properties": {
1401
+ "method": {
1402
+ "type": "string",
1403
+ "enum": [
1404
+ "*",
1405
+ "delete",
1406
+ "get",
1407
+ "options",
1408
+ "patch",
1409
+ "post",
1410
+ "put"
1411
+ ]
1412
+ },
1413
+ "route": {
1414
+ "type": "string",
1415
+ "maxLength": 1024
1416
+ }
1417
+ },
1418
+ "additionalProperties": false
1419
+ },
1420
+ "meta": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "category": {
1424
+ "type": "string",
1425
+ "enum": [
1426
+ "trigger"
1427
+ ]
1428
+ },
1429
+ "name": {
1430
+ "type": "string",
1431
+ "enum": [
1432
+ "request"
1433
+ ]
1434
+ },
1435
+ "label": {
1436
+ "type": "string",
1437
+ "minLength": 1,
1438
+ "maxLength": 255
1439
+ },
1440
+ "x": {
1441
+ "type": "number"
1442
+ },
1443
+ "y": {
1444
+ "type": "number"
1445
+ },
1446
+ "uiId": {
1447
+ "type": "string",
1448
+ "maxLength": 48
1449
+ },
1450
+ "description": {
1451
+ "type": "string",
1452
+ "maxLength": 32767
1453
+ },
1454
+ "icon": {
1455
+ "type": "string",
1456
+ "maxLength": 1024
1457
+ },
1458
+ "color": {
1459
+ "type": "string",
1460
+ "maxLength": 1024
1461
+ },
1462
+ "inputCount": {
1463
+ "type": "number"
1464
+ },
1465
+ "outputCount": {
1466
+ "type": "number"
1467
+ },
1468
+ "triggerId": {
1469
+ "type": "string",
1470
+ "maxLength": 48
1471
+ },
1472
+ "id": {
1473
+ "type": "string",
1474
+ "maxLength": 48
1475
+ }
1476
+ },
1477
+ "additionalProperties": false
1478
+ },
1479
+ "outputIds": {
1480
+ "type": "array",
1481
+ "items": {
1482
+ "type": "array",
1483
+ "items": {
1484
+ "type": "string",
1485
+ "maxLength": 255
1486
+ },
1487
+ "maxItems": 100
1488
+ },
1489
+ "maxItems": 100
1490
+ }
1491
+ },
1492
+ "required": [
1493
+ "type"
1494
+ ],
1495
+ "additionalProperties": false
1496
+ },
1387
1497
  {
1388
1498
  "type": "object",
1389
1499
  "properties": {
@@ -66,7 +66,6 @@
66
66
  "onBoot",
67
67
  "onConnect",
68
68
  "onDisconnect",
69
- "request",
70
69
  "udp",
71
70
  "webhook"
72
71
  ]
@@ -100,7 +99,6 @@
100
99
  "onConnect",
101
100
  "onDisconnect",
102
101
  "particle",
103
- "request",
104
102
  "udp",
105
103
  "webhook"
106
104
  ]
@@ -1399,6 +1397,118 @@
1399
1397
  ],
1400
1398
  "additionalProperties": false
1401
1399
  },
1400
+ {
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "key": {
1404
+ "type": "string",
1405
+ "maxLength": 1024
1406
+ },
1407
+ "type": {
1408
+ "type": "string",
1409
+ "enum": [
1410
+ "request"
1411
+ ]
1412
+ },
1413
+ "config": {
1414
+ "type": "object",
1415
+ "properties": {
1416
+ "method": {
1417
+ "type": "string",
1418
+ "enum": [
1419
+ "*",
1420
+ "delete",
1421
+ "get",
1422
+ "options",
1423
+ "patch",
1424
+ "post",
1425
+ "put"
1426
+ ]
1427
+ },
1428
+ "route": {
1429
+ "type": "string",
1430
+ "maxLength": 1024
1431
+ }
1432
+ },
1433
+ "additionalProperties": false
1434
+ },
1435
+ "meta": {
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "category": {
1439
+ "type": "string",
1440
+ "enum": [
1441
+ "trigger"
1442
+ ]
1443
+ },
1444
+ "name": {
1445
+ "type": "string",
1446
+ "enum": [
1447
+ "request"
1448
+ ]
1449
+ },
1450
+ "label": {
1451
+ "type": "string",
1452
+ "minLength": 1,
1453
+ "maxLength": 255
1454
+ },
1455
+ "x": {
1456
+ "type": "number"
1457
+ },
1458
+ "y": {
1459
+ "type": "number"
1460
+ },
1461
+ "uiId": {
1462
+ "type": "string",
1463
+ "maxLength": 48
1464
+ },
1465
+ "description": {
1466
+ "type": "string",
1467
+ "maxLength": 32767
1468
+ },
1469
+ "icon": {
1470
+ "type": "string",
1471
+ "maxLength": 1024
1472
+ },
1473
+ "color": {
1474
+ "type": "string",
1475
+ "maxLength": 1024
1476
+ },
1477
+ "inputCount": {
1478
+ "type": "number"
1479
+ },
1480
+ "outputCount": {
1481
+ "type": "number"
1482
+ },
1483
+ "triggerId": {
1484
+ "type": "string",
1485
+ "maxLength": 48
1486
+ },
1487
+ "id": {
1488
+ "type": "string",
1489
+ "maxLength": 48
1490
+ }
1491
+ },
1492
+ "additionalProperties": false
1493
+ },
1494
+ "outputIds": {
1495
+ "type": "array",
1496
+ "items": {
1497
+ "type": "array",
1498
+ "items": {
1499
+ "type": "string",
1500
+ "maxLength": 255
1501
+ },
1502
+ "maxItems": 100
1503
+ },
1504
+ "maxItems": 100
1505
+ }
1506
+ },
1507
+ "required": [
1508
+ "type"
1509
+ ],
1510
+ "additionalProperties": false
1511
+ },
1402
1512
  {
1403
1513
  "type": "object",
1404
1514
  "properties": {
@@ -2279,7 +2389,6 @@
2279
2389
  "onBoot",
2280
2390
  "onConnect",
2281
2391
  "onDisconnect",
2282
- "request",
2283
2392
  "udp",
2284
2393
  "webhook"
2285
2394
  ]
@@ -2313,7 +2422,6 @@
2313
2422
  "onConnect",
2314
2423
  "onDisconnect",
2315
2424
  "particle",
2316
- "request",
2317
2425
  "udp",
2318
2426
  "webhook"
2319
2427
  ]
@@ -3612,6 +3720,118 @@
3612
3720
  ],
3613
3721
  "additionalProperties": false
3614
3722
  },
3723
+ {
3724
+ "type": "object",
3725
+ "properties": {
3726
+ "key": {
3727
+ "type": "string",
3728
+ "maxLength": 1024
3729
+ },
3730
+ "type": {
3731
+ "type": "string",
3732
+ "enum": [
3733
+ "request"
3734
+ ]
3735
+ },
3736
+ "config": {
3737
+ "type": "object",
3738
+ "properties": {
3739
+ "method": {
3740
+ "type": "string",
3741
+ "enum": [
3742
+ "*",
3743
+ "delete",
3744
+ "get",
3745
+ "options",
3746
+ "patch",
3747
+ "post",
3748
+ "put"
3749
+ ]
3750
+ },
3751
+ "route": {
3752
+ "type": "string",
3753
+ "maxLength": 1024
3754
+ }
3755
+ },
3756
+ "additionalProperties": false
3757
+ },
3758
+ "meta": {
3759
+ "type": "object",
3760
+ "properties": {
3761
+ "category": {
3762
+ "type": "string",
3763
+ "enum": [
3764
+ "trigger"
3765
+ ]
3766
+ },
3767
+ "name": {
3768
+ "type": "string",
3769
+ "enum": [
3770
+ "request"
3771
+ ]
3772
+ },
3773
+ "label": {
3774
+ "type": "string",
3775
+ "minLength": 1,
3776
+ "maxLength": 255
3777
+ },
3778
+ "x": {
3779
+ "type": "number"
3780
+ },
3781
+ "y": {
3782
+ "type": "number"
3783
+ },
3784
+ "uiId": {
3785
+ "type": "string",
3786
+ "maxLength": 48
3787
+ },
3788
+ "description": {
3789
+ "type": "string",
3790
+ "maxLength": 32767
3791
+ },
3792
+ "icon": {
3793
+ "type": "string",
3794
+ "maxLength": 1024
3795
+ },
3796
+ "color": {
3797
+ "type": "string",
3798
+ "maxLength": 1024
3799
+ },
3800
+ "inputCount": {
3801
+ "type": "number"
3802
+ },
3803
+ "outputCount": {
3804
+ "type": "number"
3805
+ },
3806
+ "triggerId": {
3807
+ "type": "string",
3808
+ "maxLength": 48
3809
+ },
3810
+ "id": {
3811
+ "type": "string",
3812
+ "maxLength": 48
3813
+ }
3814
+ },
3815
+ "additionalProperties": false
3816
+ },
3817
+ "outputIds": {
3818
+ "type": "array",
3819
+ "items": {
3820
+ "type": "array",
3821
+ "items": {
3822
+ "type": "string",
3823
+ "maxLength": 255
3824
+ },
3825
+ "maxItems": 100
3826
+ },
3827
+ "maxItems": 100
3828
+ }
3829
+ },
3830
+ "required": [
3831
+ "type"
3832
+ ],
3833
+ "additionalProperties": false
3834
+ },
3615
3835
  {
3616
3836
  "type": "object",
3617
3837
  "properties": {