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.
@@ -39,7 +39,6 @@
39
39
  "onBoot",
40
40
  "onConnect",
41
41
  "onDisconnect",
42
- "request",
43
42
  "udp",
44
43
  "webhook"
45
44
  ]
@@ -73,7 +72,6 @@
73
72
  "onConnect",
74
73
  "onDisconnect",
75
74
  "particle",
76
- "request",
77
75
  "udp",
78
76
  "webhook"
79
77
  ]
@@ -1372,6 +1370,118 @@
1372
1370
  ],
1373
1371
  "additionalProperties": false
1374
1372
  },
1373
+ {
1374
+ "type": "object",
1375
+ "properties": {
1376
+ "key": {
1377
+ "type": "string",
1378
+ "maxLength": 1024
1379
+ },
1380
+ "type": {
1381
+ "type": "string",
1382
+ "enum": [
1383
+ "request"
1384
+ ]
1385
+ },
1386
+ "config": {
1387
+ "type": "object",
1388
+ "properties": {
1389
+ "method": {
1390
+ "type": "string",
1391
+ "enum": [
1392
+ "*",
1393
+ "delete",
1394
+ "get",
1395
+ "options",
1396
+ "patch",
1397
+ "post",
1398
+ "put"
1399
+ ]
1400
+ },
1401
+ "route": {
1402
+ "type": "string",
1403
+ "maxLength": 1024
1404
+ }
1405
+ },
1406
+ "additionalProperties": false
1407
+ },
1408
+ "meta": {
1409
+ "type": "object",
1410
+ "properties": {
1411
+ "category": {
1412
+ "type": "string",
1413
+ "enum": [
1414
+ "trigger"
1415
+ ]
1416
+ },
1417
+ "name": {
1418
+ "type": "string",
1419
+ "enum": [
1420
+ "request"
1421
+ ]
1422
+ },
1423
+ "label": {
1424
+ "type": "string",
1425
+ "minLength": 1,
1426
+ "maxLength": 255
1427
+ },
1428
+ "x": {
1429
+ "type": "number"
1430
+ },
1431
+ "y": {
1432
+ "type": "number"
1433
+ },
1434
+ "uiId": {
1435
+ "type": "string",
1436
+ "maxLength": 48
1437
+ },
1438
+ "description": {
1439
+ "type": "string",
1440
+ "maxLength": 32767
1441
+ },
1442
+ "icon": {
1443
+ "type": "string",
1444
+ "maxLength": 1024
1445
+ },
1446
+ "color": {
1447
+ "type": "string",
1448
+ "maxLength": 1024
1449
+ },
1450
+ "inputCount": {
1451
+ "type": "number"
1452
+ },
1453
+ "outputCount": {
1454
+ "type": "number"
1455
+ },
1456
+ "triggerId": {
1457
+ "type": "string",
1458
+ "maxLength": 48
1459
+ },
1460
+ "id": {
1461
+ "type": "string",
1462
+ "maxLength": 48
1463
+ }
1464
+ },
1465
+ "additionalProperties": false
1466
+ },
1467
+ "outputIds": {
1468
+ "type": "array",
1469
+ "items": {
1470
+ "type": "array",
1471
+ "items": {
1472
+ "type": "string",
1473
+ "maxLength": 255
1474
+ },
1475
+ "maxItems": 100
1476
+ },
1477
+ "maxItems": 100
1478
+ }
1479
+ },
1480
+ "required": [
1481
+ "type"
1482
+ ],
1483
+ "additionalProperties": false
1484
+ },
1375
1485
  {
1376
1486
  "type": "object",
1377
1487
  "properties": {
@@ -73,7 +73,6 @@
73
73
  "onBoot",
74
74
  "onConnect",
75
75
  "onDisconnect",
76
- "request",
77
76
  "udp",
78
77
  "webhook"
79
78
  ]
@@ -107,7 +106,6 @@
107
106
  "onConnect",
108
107
  "onDisconnect",
109
108
  "particle",
110
- "request",
111
109
  "udp",
112
110
  "webhook"
113
111
  ]
@@ -1406,6 +1404,118 @@
1406
1404
  ],
1407
1405
  "additionalProperties": false
1408
1406
  },
1407
+ {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "key": {
1411
+ "type": "string",
1412
+ "maxLength": 1024
1413
+ },
1414
+ "type": {
1415
+ "type": "string",
1416
+ "enum": [
1417
+ "request"
1418
+ ]
1419
+ },
1420
+ "config": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "method": {
1424
+ "type": "string",
1425
+ "enum": [
1426
+ "*",
1427
+ "delete",
1428
+ "get",
1429
+ "options",
1430
+ "patch",
1431
+ "post",
1432
+ "put"
1433
+ ]
1434
+ },
1435
+ "route": {
1436
+ "type": "string",
1437
+ "maxLength": 1024
1438
+ }
1439
+ },
1440
+ "additionalProperties": false
1441
+ },
1442
+ "meta": {
1443
+ "type": "object",
1444
+ "properties": {
1445
+ "category": {
1446
+ "type": "string",
1447
+ "enum": [
1448
+ "trigger"
1449
+ ]
1450
+ },
1451
+ "name": {
1452
+ "type": "string",
1453
+ "enum": [
1454
+ "request"
1455
+ ]
1456
+ },
1457
+ "label": {
1458
+ "type": "string",
1459
+ "minLength": 1,
1460
+ "maxLength": 255
1461
+ },
1462
+ "x": {
1463
+ "type": "number"
1464
+ },
1465
+ "y": {
1466
+ "type": "number"
1467
+ },
1468
+ "uiId": {
1469
+ "type": "string",
1470
+ "maxLength": 48
1471
+ },
1472
+ "description": {
1473
+ "type": "string",
1474
+ "maxLength": 32767
1475
+ },
1476
+ "icon": {
1477
+ "type": "string",
1478
+ "maxLength": 1024
1479
+ },
1480
+ "color": {
1481
+ "type": "string",
1482
+ "maxLength": 1024
1483
+ },
1484
+ "inputCount": {
1485
+ "type": "number"
1486
+ },
1487
+ "outputCount": {
1488
+ "type": "number"
1489
+ },
1490
+ "triggerId": {
1491
+ "type": "string",
1492
+ "maxLength": 48
1493
+ },
1494
+ "id": {
1495
+ "type": "string",
1496
+ "maxLength": 48
1497
+ }
1498
+ },
1499
+ "additionalProperties": false
1500
+ },
1501
+ "outputIds": {
1502
+ "type": "array",
1503
+ "items": {
1504
+ "type": "array",
1505
+ "items": {
1506
+ "type": "string",
1507
+ "maxLength": 255
1508
+ },
1509
+ "maxItems": 100
1510
+ },
1511
+ "maxItems": 100
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "type"
1516
+ ],
1517
+ "additionalProperties": false
1518
+ },
1409
1519
  {
1410
1520
  "type": "object",
1411
1521
  "properties": {
@@ -2286,7 +2396,6 @@
2286
2396
  "onBoot",
2287
2397
  "onConnect",
2288
2398
  "onDisconnect",
2289
- "request",
2290
2399
  "udp",
2291
2400
  "webhook"
2292
2401
  ]
@@ -2320,7 +2429,6 @@
2320
2429
  "onConnect",
2321
2430
  "onDisconnect",
2322
2431
  "particle",
2323
- "request",
2324
2432
  "udp",
2325
2433
  "webhook"
2326
2434
  ]
@@ -3619,6 +3727,118 @@
3619
3727
  ],
3620
3728
  "additionalProperties": false
3621
3729
  },
3730
+ {
3731
+ "type": "object",
3732
+ "properties": {
3733
+ "key": {
3734
+ "type": "string",
3735
+ "maxLength": 1024
3736
+ },
3737
+ "type": {
3738
+ "type": "string",
3739
+ "enum": [
3740
+ "request"
3741
+ ]
3742
+ },
3743
+ "config": {
3744
+ "type": "object",
3745
+ "properties": {
3746
+ "method": {
3747
+ "type": "string",
3748
+ "enum": [
3749
+ "*",
3750
+ "delete",
3751
+ "get",
3752
+ "options",
3753
+ "patch",
3754
+ "post",
3755
+ "put"
3756
+ ]
3757
+ },
3758
+ "route": {
3759
+ "type": "string",
3760
+ "maxLength": 1024
3761
+ }
3762
+ },
3763
+ "additionalProperties": false
3764
+ },
3765
+ "meta": {
3766
+ "type": "object",
3767
+ "properties": {
3768
+ "category": {
3769
+ "type": "string",
3770
+ "enum": [
3771
+ "trigger"
3772
+ ]
3773
+ },
3774
+ "name": {
3775
+ "type": "string",
3776
+ "enum": [
3777
+ "request"
3778
+ ]
3779
+ },
3780
+ "label": {
3781
+ "type": "string",
3782
+ "minLength": 1,
3783
+ "maxLength": 255
3784
+ },
3785
+ "x": {
3786
+ "type": "number"
3787
+ },
3788
+ "y": {
3789
+ "type": "number"
3790
+ },
3791
+ "uiId": {
3792
+ "type": "string",
3793
+ "maxLength": 48
3794
+ },
3795
+ "description": {
3796
+ "type": "string",
3797
+ "maxLength": 32767
3798
+ },
3799
+ "icon": {
3800
+ "type": "string",
3801
+ "maxLength": 1024
3802
+ },
3803
+ "color": {
3804
+ "type": "string",
3805
+ "maxLength": 1024
3806
+ },
3807
+ "inputCount": {
3808
+ "type": "number"
3809
+ },
3810
+ "outputCount": {
3811
+ "type": "number"
3812
+ },
3813
+ "triggerId": {
3814
+ "type": "string",
3815
+ "maxLength": 48
3816
+ },
3817
+ "id": {
3818
+ "type": "string",
3819
+ "maxLength": 48
3820
+ }
3821
+ },
3822
+ "additionalProperties": false
3823
+ },
3824
+ "outputIds": {
3825
+ "type": "array",
3826
+ "items": {
3827
+ "type": "array",
3828
+ "items": {
3829
+ "type": "string",
3830
+ "maxLength": 255
3831
+ },
3832
+ "maxItems": 100
3833
+ },
3834
+ "maxItems": 100
3835
+ }
3836
+ },
3837
+ "required": [
3838
+ "type"
3839
+ ],
3840
+ "additionalProperties": false
3841
+ },
3622
3842
  {
3623
3843
  "type": "object",
3624
3844
  "properties": {
data/schemas/flows.json CHANGED
@@ -88,7 +88,6 @@
88
88
  "onBoot",
89
89
  "onConnect",
90
90
  "onDisconnect",
91
- "request",
92
91
  "udp",
93
92
  "webhook"
94
93
  ]
@@ -122,7 +121,6 @@
122
121
  "onConnect",
123
122
  "onDisconnect",
124
123
  "particle",
125
- "request",
126
124
  "udp",
127
125
  "webhook"
128
126
  ]
@@ -1421,6 +1419,118 @@
1421
1419
  ],
1422
1420
  "additionalProperties": false
1423
1421
  },
1422
+ {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "key": {
1426
+ "type": "string",
1427
+ "maxLength": 1024
1428
+ },
1429
+ "type": {
1430
+ "type": "string",
1431
+ "enum": [
1432
+ "request"
1433
+ ]
1434
+ },
1435
+ "config": {
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "method": {
1439
+ "type": "string",
1440
+ "enum": [
1441
+ "*",
1442
+ "delete",
1443
+ "get",
1444
+ "options",
1445
+ "patch",
1446
+ "post",
1447
+ "put"
1448
+ ]
1449
+ },
1450
+ "route": {
1451
+ "type": "string",
1452
+ "maxLength": 1024
1453
+ }
1454
+ },
1455
+ "additionalProperties": false
1456
+ },
1457
+ "meta": {
1458
+ "type": "object",
1459
+ "properties": {
1460
+ "category": {
1461
+ "type": "string",
1462
+ "enum": [
1463
+ "trigger"
1464
+ ]
1465
+ },
1466
+ "name": {
1467
+ "type": "string",
1468
+ "enum": [
1469
+ "request"
1470
+ ]
1471
+ },
1472
+ "label": {
1473
+ "type": "string",
1474
+ "minLength": 1,
1475
+ "maxLength": 255
1476
+ },
1477
+ "x": {
1478
+ "type": "number"
1479
+ },
1480
+ "y": {
1481
+ "type": "number"
1482
+ },
1483
+ "uiId": {
1484
+ "type": "string",
1485
+ "maxLength": 48
1486
+ },
1487
+ "description": {
1488
+ "type": "string",
1489
+ "maxLength": 32767
1490
+ },
1491
+ "icon": {
1492
+ "type": "string",
1493
+ "maxLength": 1024
1494
+ },
1495
+ "color": {
1496
+ "type": "string",
1497
+ "maxLength": 1024
1498
+ },
1499
+ "inputCount": {
1500
+ "type": "number"
1501
+ },
1502
+ "outputCount": {
1503
+ "type": "number"
1504
+ },
1505
+ "triggerId": {
1506
+ "type": "string",
1507
+ "maxLength": 48
1508
+ },
1509
+ "id": {
1510
+ "type": "string",
1511
+ "maxLength": 48
1512
+ }
1513
+ },
1514
+ "additionalProperties": false
1515
+ },
1516
+ "outputIds": {
1517
+ "type": "array",
1518
+ "items": {
1519
+ "type": "array",
1520
+ "items": {
1521
+ "type": "string",
1522
+ "maxLength": 255
1523
+ },
1524
+ "maxItems": 100
1525
+ },
1526
+ "maxItems": 100
1527
+ }
1528
+ },
1529
+ "required": [
1530
+ "type"
1531
+ ],
1532
+ "additionalProperties": false
1533
+ },
1424
1534
  {
1425
1535
  "type": "object",
1426
1536
  "properties": {