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
@@ -1331,12 +1331,88 @@
1331
1331
  "type": "object",
1332
1332
  "properties": {
1333
1333
  "$tagKey": {
1334
- "type": "string",
1335
- "maxLength": 255
1334
+ "oneOf": [
1335
+ {
1336
+ "type": "string",
1337
+ "maxLength": 255
1338
+ },
1339
+ {
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "$in": {
1343
+ "type": "array",
1344
+ "maxItems": 100,
1345
+ "items": {
1346
+ "type": "string",
1347
+ "maxLength": 255
1348
+ }
1349
+ }
1350
+ },
1351
+ "required": [
1352
+ "$in"
1353
+ ],
1354
+ "additionalProperties": false
1355
+ },
1356
+ {
1357
+ "type": "object",
1358
+ "properties": {
1359
+ "$nin": {
1360
+ "type": "array",
1361
+ "maxItems": 100,
1362
+ "items": {
1363
+ "type": "string",
1364
+ "maxLength": 255
1365
+ }
1366
+ }
1367
+ },
1368
+ "required": [
1369
+ "$nin"
1370
+ ],
1371
+ "additionalProperties": false
1372
+ }
1373
+ ]
1336
1374
  },
1337
1375
  "$tagValue": {
1338
- "type": "string",
1339
- "maxLength": 255
1376
+ "oneOf": [
1377
+ {
1378
+ "type": "string",
1379
+ "maxLength": 255
1380
+ },
1381
+ {
1382
+ "type": "object",
1383
+ "properties": {
1384
+ "$in": {
1385
+ "type": "array",
1386
+ "maxItems": 100,
1387
+ "items": {
1388
+ "type": "string",
1389
+ "maxLength": 255
1390
+ }
1391
+ }
1392
+ },
1393
+ "required": [
1394
+ "$in"
1395
+ ],
1396
+ "additionalProperties": false
1397
+ },
1398
+ {
1399
+ "type": "object",
1400
+ "properties": {
1401
+ "$nin": {
1402
+ "type": "array",
1403
+ "maxItems": 100,
1404
+ "items": {
1405
+ "type": "string",
1406
+ "maxLength": 255
1407
+ }
1408
+ }
1409
+ },
1410
+ "required": [
1411
+ "$nin"
1412
+ ],
1413
+ "additionalProperties": false
1414
+ }
1415
+ ]
1340
1416
  }
1341
1417
  },
1342
1418
  "additionalProperties": false,
@@ -1346,8 +1422,46 @@
1346
1422
  "type": "object",
1347
1423
  "patternProperties": {
1348
1424
  "^[0-9a-zA-Z_-]{1,255}": {
1349
- "type": "string",
1350
- "maxLength": 255
1425
+ "oneOf": [
1426
+ {
1427
+ "type": "string",
1428
+ "maxLength": 255
1429
+ },
1430
+ {
1431
+ "type": "object",
1432
+ "properties": {
1433
+ "$in": {
1434
+ "type": "array",
1435
+ "maxItems": 100,
1436
+ "items": {
1437
+ "type": "string",
1438
+ "maxLength": 255
1439
+ }
1440
+ }
1441
+ },
1442
+ "required": [
1443
+ "$in"
1444
+ ],
1445
+ "additionalProperties": false
1446
+ },
1447
+ {
1448
+ "type": "object",
1449
+ "properties": {
1450
+ "$nin": {
1451
+ "type": "array",
1452
+ "maxItems": 100,
1453
+ "items": {
1454
+ "type": "string",
1455
+ "maxLength": 255
1456
+ }
1457
+ }
1458
+ },
1459
+ "required": [
1460
+ "$nin"
1461
+ ],
1462
+ "additionalProperties": false
1463
+ }
1464
+ ]
1351
1465
  }
1352
1466
  },
1353
1467
  "additionalProperties": false
@@ -1363,12 +1477,88 @@
1363
1477
  "type": "object",
1364
1478
  "properties": {
1365
1479
  "$tagKey": {
1366
- "type": "string",
1367
- "maxLength": 255
1480
+ "oneOf": [
1481
+ {
1482
+ "type": "string",
1483
+ "maxLength": 255
1484
+ },
1485
+ {
1486
+ "type": "object",
1487
+ "properties": {
1488
+ "$in": {
1489
+ "type": "array",
1490
+ "maxItems": 100,
1491
+ "items": {
1492
+ "type": "string",
1493
+ "maxLength": 255
1494
+ }
1495
+ }
1496
+ },
1497
+ "required": [
1498
+ "$in"
1499
+ ],
1500
+ "additionalProperties": false
1501
+ },
1502
+ {
1503
+ "type": "object",
1504
+ "properties": {
1505
+ "$nin": {
1506
+ "type": "array",
1507
+ "maxItems": 100,
1508
+ "items": {
1509
+ "type": "string",
1510
+ "maxLength": 255
1511
+ }
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "$nin"
1516
+ ],
1517
+ "additionalProperties": false
1518
+ }
1519
+ ]
1368
1520
  },
1369
1521
  "$tagValue": {
1370
- "type": "string",
1371
- "maxLength": 255
1522
+ "oneOf": [
1523
+ {
1524
+ "type": "string",
1525
+ "maxLength": 255
1526
+ },
1527
+ {
1528
+ "type": "object",
1529
+ "properties": {
1530
+ "$in": {
1531
+ "type": "array",
1532
+ "maxItems": 100,
1533
+ "items": {
1534
+ "type": "string",
1535
+ "maxLength": 255
1536
+ }
1537
+ }
1538
+ },
1539
+ "required": [
1540
+ "$in"
1541
+ ],
1542
+ "additionalProperties": false
1543
+ },
1544
+ {
1545
+ "type": "object",
1546
+ "properties": {
1547
+ "$nin": {
1548
+ "type": "array",
1549
+ "maxItems": 100,
1550
+ "items": {
1551
+ "type": "string",
1552
+ "maxLength": 255
1553
+ }
1554
+ }
1555
+ },
1556
+ "required": [
1557
+ "$nin"
1558
+ ],
1559
+ "additionalProperties": false
1560
+ }
1561
+ ]
1372
1562
  }
1373
1563
  },
1374
1564
  "additionalProperties": false,
@@ -1378,8 +1568,46 @@
1378
1568
  "type": "object",
1379
1569
  "patternProperties": {
1380
1570
  "^[0-9a-zA-Z_-]{1,255}": {
1381
- "type": "string",
1382
- "maxLength": 255
1571
+ "oneOf": [
1572
+ {
1573
+ "type": "string",
1574
+ "maxLength": 255
1575
+ },
1576
+ {
1577
+ "type": "object",
1578
+ "properties": {
1579
+ "$in": {
1580
+ "type": "array",
1581
+ "maxItems": 100,
1582
+ "items": {
1583
+ "type": "string",
1584
+ "maxLength": 255
1585
+ }
1586
+ }
1587
+ },
1588
+ "required": [
1589
+ "$in"
1590
+ ],
1591
+ "additionalProperties": false
1592
+ },
1593
+ {
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "$nin": {
1597
+ "type": "array",
1598
+ "maxItems": 100,
1599
+ "items": {
1600
+ "type": "string",
1601
+ "maxLength": 255
1602
+ }
1603
+ }
1604
+ },
1605
+ "required": [
1606
+ "$nin"
1607
+ ],
1608
+ "additionalProperties": false
1609
+ }
1610
+ ]
1383
1611
  }
1384
1612
  },
1385
1613
  "additionalProperties": false
@@ -1401,12 +1629,88 @@
1401
1629
  "type": "object",
1402
1630
  "properties": {
1403
1631
  "$tagKey": {
1404
- "type": "string",
1405
- "maxLength": 255
1632
+ "oneOf": [
1633
+ {
1634
+ "type": "string",
1635
+ "maxLength": 255
1636
+ },
1637
+ {
1638
+ "type": "object",
1639
+ "properties": {
1640
+ "$in": {
1641
+ "type": "array",
1642
+ "maxItems": 100,
1643
+ "items": {
1644
+ "type": "string",
1645
+ "maxLength": 255
1646
+ }
1647
+ }
1648
+ },
1649
+ "required": [
1650
+ "$in"
1651
+ ],
1652
+ "additionalProperties": false
1653
+ },
1654
+ {
1655
+ "type": "object",
1656
+ "properties": {
1657
+ "$nin": {
1658
+ "type": "array",
1659
+ "maxItems": 100,
1660
+ "items": {
1661
+ "type": "string",
1662
+ "maxLength": 255
1663
+ }
1664
+ }
1665
+ },
1666
+ "required": [
1667
+ "$nin"
1668
+ ],
1669
+ "additionalProperties": false
1670
+ }
1671
+ ]
1406
1672
  },
1407
1673
  "$tagValue": {
1408
- "type": "string",
1409
- "maxLength": 255
1674
+ "oneOf": [
1675
+ {
1676
+ "type": "string",
1677
+ "maxLength": 255
1678
+ },
1679
+ {
1680
+ "type": "object",
1681
+ "properties": {
1682
+ "$in": {
1683
+ "type": "array",
1684
+ "maxItems": 100,
1685
+ "items": {
1686
+ "type": "string",
1687
+ "maxLength": 255
1688
+ }
1689
+ }
1690
+ },
1691
+ "required": [
1692
+ "$in"
1693
+ ],
1694
+ "additionalProperties": false
1695
+ },
1696
+ {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "$nin": {
1700
+ "type": "array",
1701
+ "maxItems": 100,
1702
+ "items": {
1703
+ "type": "string",
1704
+ "maxLength": 255
1705
+ }
1706
+ }
1707
+ },
1708
+ "required": [
1709
+ "$nin"
1710
+ ],
1711
+ "additionalProperties": false
1712
+ }
1713
+ ]
1410
1714
  }
1411
1715
  },
1412
1716
  "additionalProperties": false,
@@ -1416,8 +1720,46 @@
1416
1720
  "type": "object",
1417
1721
  "patternProperties": {
1418
1722
  "^[0-9a-zA-Z_-]{1,255}": {
1419
- "type": "string",
1420
- "maxLength": 255
1723
+ "oneOf": [
1724
+ {
1725
+ "type": "string",
1726
+ "maxLength": 255
1727
+ },
1728
+ {
1729
+ "type": "object",
1730
+ "properties": {
1731
+ "$in": {
1732
+ "type": "array",
1733
+ "maxItems": 100,
1734
+ "items": {
1735
+ "type": "string",
1736
+ "maxLength": 255
1737
+ }
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "$in"
1742
+ ],
1743
+ "additionalProperties": false
1744
+ },
1745
+ {
1746
+ "type": "object",
1747
+ "properties": {
1748
+ "$nin": {
1749
+ "type": "array",
1750
+ "maxItems": 100,
1751
+ "items": {
1752
+ "type": "string",
1753
+ "maxLength": 255
1754
+ }
1755
+ }
1756
+ },
1757
+ "required": [
1758
+ "$nin"
1759
+ ],
1760
+ "additionalProperties": false
1761
+ }
1762
+ ]
1421
1763
  }
1422
1764
  },
1423
1765
  "additionalProperties": false
@@ -365,7 +365,6 @@
365
365
  "org.notebookMinuteCounts",
366
366
  "org.invoices",
367
367
  "org.currentCard",
368
- "org.chargeDetails",
369
368
  "org.transferResources"
370
369
  ]
371
370
  }
@@ -391,6 +390,7 @@
391
390
  "instanceOrg.payloadCountsBreakdown",
392
391
  "instanceOrg.deviceCounts",
393
392
  "instanceOrg.notebookMinuteCounts",
393
+ "instanceOrg.convertToEnterprise",
394
394
  "instanceOrgs.*",
395
395
  "instanceOrgs.get",
396
396
  "instanceOrgs.post",
@@ -423,7 +423,6 @@
423
423
  "org.notebookMinuteCounts",
424
424
  "org.invoices",
425
425
  "org.currentCard",
426
- "org.chargeDetails",
427
426
  "org.transferResources"
428
427
  ]
429
428
  }
@@ -449,6 +448,7 @@
449
448
  "instanceOrg.payloadCountsBreakdown",
450
449
  "instanceOrg.deviceCounts",
451
450
  "instanceOrg.notebookMinuteCounts",
451
+ "instanceOrg.convertToEnterprise",
452
452
  "instanceOrgs.*",
453
453
  "instanceOrgs.get",
454
454
  "instanceOrgs.post",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: losant_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.9
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-24 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.21.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.0
26
+ version: 0.21.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -588,7 +588,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
588
588
  requirements:
589
589
  - - ">="
590
590
  - !ruby/object:Gem::Version
591
- version: '2.1'
591
+ version: '2.3'
592
592
  required_rubygems_version: !ruby/object:Gem::Requirement
593
593
  requirements:
594
594
  - - ">="