losant_rest 1.19.9 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/docs/_schemas.md +6009 -298
  4. data/lib/platform_rest/version.rb +1 -1
  5. data/losant_rest.gemspec +2 -2
  6. data/schemas/advancedApplicationKeyQuery.json +360 -18
  7. data/schemas/advancedDeviceQuery.json +360 -18
  8. data/schemas/advancedEventQuery.json +360 -18
  9. data/schemas/advancedExperienceGroupQuery.json +360 -18
  10. data/schemas/advancedExperienceUserQuery.json +360 -18
  11. data/schemas/advancedInstanceOrgQuery.json +360 -18
  12. data/schemas/apiTokenPost.json +1 -1
  13. data/schemas/application.json +8 -0
  14. data/schemas/applicationCreationByTemplateResult.json +8 -0
  15. data/schemas/applicationDashboardPost.json +2 -1
  16. data/schemas/applications.json +8 -0
  17. data/schemas/credentialLinkedResources.json +6 -0
  18. data/schemas/dashboard.json +2 -1
  19. data/schemas/dashboardPatch.json +2 -1
  20. data/schemas/dashboardPost.json +2 -1
  21. data/schemas/dashboards.json +2 -1
  22. data/schemas/dataExport.json +360 -18
  23. data/schemas/devicesDeletePost.json +360 -18
  24. data/schemas/devicesExportPayloadCountPost.json +360 -18
  25. data/schemas/devicesExportPost.json +360 -18
  26. data/schemas/devicesPatch.json +360 -18
  27. data/schemas/devicesRemoveDataPost.json +360 -18
  28. data/schemas/eventsExport.json +360 -18
  29. data/schemas/experienceLinkedResources.json +6 -0
  30. data/schemas/flow.json +2 -0
  31. data/schemas/flowPatch.json +2 -0
  32. data/schemas/flowPost.json +2 -0
  33. data/schemas/flowVersion.json +4 -0
  34. data/schemas/flowVersionPost.json +2 -0
  35. data/schemas/flowVersions.json +4 -0
  36. data/schemas/flows.json +2 -0
  37. data/schemas/flowsImportPost.json +4 -0
  38. data/schemas/flowsImportResult.json +6 -0
  39. data/schemas/githubLogin.json +1 -1
  40. data/schemas/historicalSummaries.json +16 -0
  41. data/schemas/historicalSummary.json +16 -0
  42. data/schemas/instanceCustomNodePatch.json +2 -0
  43. data/schemas/instanceCustomNodePost.json +2 -0
  44. data/schemas/instanceOrg.json +43 -0
  45. data/schemas/instanceOrgs.json +43 -0
  46. data/schemas/instanceSandbox.json +8 -0
  47. data/schemas/instanceSandboxes.json +8 -0
  48. data/schemas/lastValueQuery.json +360 -18
  49. data/schemas/me.json +8 -0
  50. data/schemas/multiDeviceCommand.json +360 -18
  51. data/schemas/org.json +8 -0
  52. data/schemas/orgs.json +8 -0
  53. data/schemas/payloadStats.json +8 -0
  54. data/schemas/samlResponse.json +1 -1
  55. data/schemas/timeSeriesQuery.json +360 -18
  56. data/schemas/userCredentials.json +1 -1
  57. data/schemas/userPost.json +1 -1
  58. metadata +5 -5
@@ -1393,12 +1393,88 @@
1393
1393
  "type": "object",
1394
1394
  "properties": {
1395
1395
  "$tagKey": {
1396
- "type": "string",
1397
- "maxLength": 255
1396
+ "oneOf": [
1397
+ {
1398
+ "type": "string",
1399
+ "maxLength": 255
1400
+ },
1401
+ {
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "$in": {
1405
+ "type": "array",
1406
+ "maxItems": 100,
1407
+ "items": {
1408
+ "type": "string",
1409
+ "maxLength": 255
1410
+ }
1411
+ }
1412
+ },
1413
+ "required": [
1414
+ "$in"
1415
+ ],
1416
+ "additionalProperties": false
1417
+ },
1418
+ {
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "$nin": {
1422
+ "type": "array",
1423
+ "maxItems": 100,
1424
+ "items": {
1425
+ "type": "string",
1426
+ "maxLength": 255
1427
+ }
1428
+ }
1429
+ },
1430
+ "required": [
1431
+ "$nin"
1432
+ ],
1433
+ "additionalProperties": false
1434
+ }
1435
+ ]
1398
1436
  },
1399
1437
  "$tagValue": {
1400
- "type": "string",
1401
- "maxLength": 255
1438
+ "oneOf": [
1439
+ {
1440
+ "type": "string",
1441
+ "maxLength": 255
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "$in": {
1447
+ "type": "array",
1448
+ "maxItems": 100,
1449
+ "items": {
1450
+ "type": "string",
1451
+ "maxLength": 255
1452
+ }
1453
+ }
1454
+ },
1455
+ "required": [
1456
+ "$in"
1457
+ ],
1458
+ "additionalProperties": false
1459
+ },
1460
+ {
1461
+ "type": "object",
1462
+ "properties": {
1463
+ "$nin": {
1464
+ "type": "array",
1465
+ "maxItems": 100,
1466
+ "items": {
1467
+ "type": "string",
1468
+ "maxLength": 255
1469
+ }
1470
+ }
1471
+ },
1472
+ "required": [
1473
+ "$nin"
1474
+ ],
1475
+ "additionalProperties": false
1476
+ }
1477
+ ]
1402
1478
  }
1403
1479
  },
1404
1480
  "additionalProperties": false,
@@ -1408,8 +1484,46 @@
1408
1484
  "type": "object",
1409
1485
  "patternProperties": {
1410
1486
  "^[0-9a-zA-Z_-]{1,255}": {
1411
- "type": "string",
1412
- "maxLength": 255
1487
+ "oneOf": [
1488
+ {
1489
+ "type": "string",
1490
+ "maxLength": 255
1491
+ },
1492
+ {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "$in": {
1496
+ "type": "array",
1497
+ "maxItems": 100,
1498
+ "items": {
1499
+ "type": "string",
1500
+ "maxLength": 255
1501
+ }
1502
+ }
1503
+ },
1504
+ "required": [
1505
+ "$in"
1506
+ ],
1507
+ "additionalProperties": false
1508
+ },
1509
+ {
1510
+ "type": "object",
1511
+ "properties": {
1512
+ "$nin": {
1513
+ "type": "array",
1514
+ "maxItems": 100,
1515
+ "items": {
1516
+ "type": "string",
1517
+ "maxLength": 255
1518
+ }
1519
+ }
1520
+ },
1521
+ "required": [
1522
+ "$nin"
1523
+ ],
1524
+ "additionalProperties": false
1525
+ }
1526
+ ]
1413
1527
  }
1414
1528
  },
1415
1529
  "additionalProperties": false
@@ -1425,12 +1539,88 @@
1425
1539
  "type": "object",
1426
1540
  "properties": {
1427
1541
  "$tagKey": {
1428
- "type": "string",
1429
- "maxLength": 255
1542
+ "oneOf": [
1543
+ {
1544
+ "type": "string",
1545
+ "maxLength": 255
1546
+ },
1547
+ {
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "$in": {
1551
+ "type": "array",
1552
+ "maxItems": 100,
1553
+ "items": {
1554
+ "type": "string",
1555
+ "maxLength": 255
1556
+ }
1557
+ }
1558
+ },
1559
+ "required": [
1560
+ "$in"
1561
+ ],
1562
+ "additionalProperties": false
1563
+ },
1564
+ {
1565
+ "type": "object",
1566
+ "properties": {
1567
+ "$nin": {
1568
+ "type": "array",
1569
+ "maxItems": 100,
1570
+ "items": {
1571
+ "type": "string",
1572
+ "maxLength": 255
1573
+ }
1574
+ }
1575
+ },
1576
+ "required": [
1577
+ "$nin"
1578
+ ],
1579
+ "additionalProperties": false
1580
+ }
1581
+ ]
1430
1582
  },
1431
1583
  "$tagValue": {
1432
- "type": "string",
1433
- "maxLength": 255
1584
+ "oneOf": [
1585
+ {
1586
+ "type": "string",
1587
+ "maxLength": 255
1588
+ },
1589
+ {
1590
+ "type": "object",
1591
+ "properties": {
1592
+ "$in": {
1593
+ "type": "array",
1594
+ "maxItems": 100,
1595
+ "items": {
1596
+ "type": "string",
1597
+ "maxLength": 255
1598
+ }
1599
+ }
1600
+ },
1601
+ "required": [
1602
+ "$in"
1603
+ ],
1604
+ "additionalProperties": false
1605
+ },
1606
+ {
1607
+ "type": "object",
1608
+ "properties": {
1609
+ "$nin": {
1610
+ "type": "array",
1611
+ "maxItems": 100,
1612
+ "items": {
1613
+ "type": "string",
1614
+ "maxLength": 255
1615
+ }
1616
+ }
1617
+ },
1618
+ "required": [
1619
+ "$nin"
1620
+ ],
1621
+ "additionalProperties": false
1622
+ }
1623
+ ]
1434
1624
  }
1435
1625
  },
1436
1626
  "additionalProperties": false,
@@ -1440,8 +1630,46 @@
1440
1630
  "type": "object",
1441
1631
  "patternProperties": {
1442
1632
  "^[0-9a-zA-Z_-]{1,255}": {
1443
- "type": "string",
1444
- "maxLength": 255
1633
+ "oneOf": [
1634
+ {
1635
+ "type": "string",
1636
+ "maxLength": 255
1637
+ },
1638
+ {
1639
+ "type": "object",
1640
+ "properties": {
1641
+ "$in": {
1642
+ "type": "array",
1643
+ "maxItems": 100,
1644
+ "items": {
1645
+ "type": "string",
1646
+ "maxLength": 255
1647
+ }
1648
+ }
1649
+ },
1650
+ "required": [
1651
+ "$in"
1652
+ ],
1653
+ "additionalProperties": false
1654
+ },
1655
+ {
1656
+ "type": "object",
1657
+ "properties": {
1658
+ "$nin": {
1659
+ "type": "array",
1660
+ "maxItems": 100,
1661
+ "items": {
1662
+ "type": "string",
1663
+ "maxLength": 255
1664
+ }
1665
+ }
1666
+ },
1667
+ "required": [
1668
+ "$nin"
1669
+ ],
1670
+ "additionalProperties": false
1671
+ }
1672
+ ]
1445
1673
  }
1446
1674
  },
1447
1675
  "additionalProperties": false
@@ -1463,12 +1691,88 @@
1463
1691
  "type": "object",
1464
1692
  "properties": {
1465
1693
  "$tagKey": {
1466
- "type": "string",
1467
- "maxLength": 255
1694
+ "oneOf": [
1695
+ {
1696
+ "type": "string",
1697
+ "maxLength": 255
1698
+ },
1699
+ {
1700
+ "type": "object",
1701
+ "properties": {
1702
+ "$in": {
1703
+ "type": "array",
1704
+ "maxItems": 100,
1705
+ "items": {
1706
+ "type": "string",
1707
+ "maxLength": 255
1708
+ }
1709
+ }
1710
+ },
1711
+ "required": [
1712
+ "$in"
1713
+ ],
1714
+ "additionalProperties": false
1715
+ },
1716
+ {
1717
+ "type": "object",
1718
+ "properties": {
1719
+ "$nin": {
1720
+ "type": "array",
1721
+ "maxItems": 100,
1722
+ "items": {
1723
+ "type": "string",
1724
+ "maxLength": 255
1725
+ }
1726
+ }
1727
+ },
1728
+ "required": [
1729
+ "$nin"
1730
+ ],
1731
+ "additionalProperties": false
1732
+ }
1733
+ ]
1468
1734
  },
1469
1735
  "$tagValue": {
1470
- "type": "string",
1471
- "maxLength": 255
1736
+ "oneOf": [
1737
+ {
1738
+ "type": "string",
1739
+ "maxLength": 255
1740
+ },
1741
+ {
1742
+ "type": "object",
1743
+ "properties": {
1744
+ "$in": {
1745
+ "type": "array",
1746
+ "maxItems": 100,
1747
+ "items": {
1748
+ "type": "string",
1749
+ "maxLength": 255
1750
+ }
1751
+ }
1752
+ },
1753
+ "required": [
1754
+ "$in"
1755
+ ],
1756
+ "additionalProperties": false
1757
+ },
1758
+ {
1759
+ "type": "object",
1760
+ "properties": {
1761
+ "$nin": {
1762
+ "type": "array",
1763
+ "maxItems": 100,
1764
+ "items": {
1765
+ "type": "string",
1766
+ "maxLength": 255
1767
+ }
1768
+ }
1769
+ },
1770
+ "required": [
1771
+ "$nin"
1772
+ ],
1773
+ "additionalProperties": false
1774
+ }
1775
+ ]
1472
1776
  }
1473
1777
  },
1474
1778
  "additionalProperties": false,
@@ -1478,8 +1782,46 @@
1478
1782
  "type": "object",
1479
1783
  "patternProperties": {
1480
1784
  "^[0-9a-zA-Z_-]{1,255}": {
1481
- "type": "string",
1482
- "maxLength": 255
1785
+ "oneOf": [
1786
+ {
1787
+ "type": "string",
1788
+ "maxLength": 255
1789
+ },
1790
+ {
1791
+ "type": "object",
1792
+ "properties": {
1793
+ "$in": {
1794
+ "type": "array",
1795
+ "maxItems": 100,
1796
+ "items": {
1797
+ "type": "string",
1798
+ "maxLength": 255
1799
+ }
1800
+ }
1801
+ },
1802
+ "required": [
1803
+ "$in"
1804
+ ],
1805
+ "additionalProperties": false
1806
+ },
1807
+ {
1808
+ "type": "object",
1809
+ "properties": {
1810
+ "$nin": {
1811
+ "type": "array",
1812
+ "maxItems": 100,
1813
+ "items": {
1814
+ "type": "string",
1815
+ "maxLength": 255
1816
+ }
1817
+ }
1818
+ },
1819
+ "required": [
1820
+ "$nin"
1821
+ ],
1822
+ "additionalProperties": false
1823
+ }
1824
+ ]
1483
1825
  }
1484
1826
  },
1485
1827
  "additionalProperties": false