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
@@ -1236,12 +1236,88 @@
1236
1236
  "type": "object",
1237
1237
  "properties": {
1238
1238
  "$tagKey": {
1239
- "type": "string",
1240
- "maxLength": 255
1239
+ "oneOf": [
1240
+ {
1241
+ "type": "string",
1242
+ "maxLength": 255
1243
+ },
1244
+ {
1245
+ "type": "object",
1246
+ "properties": {
1247
+ "$in": {
1248
+ "type": "array",
1249
+ "maxItems": 100,
1250
+ "items": {
1251
+ "type": "string",
1252
+ "maxLength": 255
1253
+ }
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "$in"
1258
+ ],
1259
+ "additionalProperties": false
1260
+ },
1261
+ {
1262
+ "type": "object",
1263
+ "properties": {
1264
+ "$nin": {
1265
+ "type": "array",
1266
+ "maxItems": 100,
1267
+ "items": {
1268
+ "type": "string",
1269
+ "maxLength": 255
1270
+ }
1271
+ }
1272
+ },
1273
+ "required": [
1274
+ "$nin"
1275
+ ],
1276
+ "additionalProperties": false
1277
+ }
1278
+ ]
1241
1279
  },
1242
1280
  "$tagValue": {
1243
- "type": "string",
1244
- "maxLength": 255
1281
+ "oneOf": [
1282
+ {
1283
+ "type": "string",
1284
+ "maxLength": 255
1285
+ },
1286
+ {
1287
+ "type": "object",
1288
+ "properties": {
1289
+ "$in": {
1290
+ "type": "array",
1291
+ "maxItems": 100,
1292
+ "items": {
1293
+ "type": "string",
1294
+ "maxLength": 255
1295
+ }
1296
+ }
1297
+ },
1298
+ "required": [
1299
+ "$in"
1300
+ ],
1301
+ "additionalProperties": false
1302
+ },
1303
+ {
1304
+ "type": "object",
1305
+ "properties": {
1306
+ "$nin": {
1307
+ "type": "array",
1308
+ "maxItems": 100,
1309
+ "items": {
1310
+ "type": "string",
1311
+ "maxLength": 255
1312
+ }
1313
+ }
1314
+ },
1315
+ "required": [
1316
+ "$nin"
1317
+ ],
1318
+ "additionalProperties": false
1319
+ }
1320
+ ]
1245
1321
  }
1246
1322
  },
1247
1323
  "additionalProperties": false,
@@ -1251,8 +1327,46 @@
1251
1327
  "type": "object",
1252
1328
  "patternProperties": {
1253
1329
  "^[0-9a-zA-Z_-]{1,255}": {
1254
- "type": "string",
1255
- "maxLength": 255
1330
+ "oneOf": [
1331
+ {
1332
+ "type": "string",
1333
+ "maxLength": 255
1334
+ },
1335
+ {
1336
+ "type": "object",
1337
+ "properties": {
1338
+ "$in": {
1339
+ "type": "array",
1340
+ "maxItems": 100,
1341
+ "items": {
1342
+ "type": "string",
1343
+ "maxLength": 255
1344
+ }
1345
+ }
1346
+ },
1347
+ "required": [
1348
+ "$in"
1349
+ ],
1350
+ "additionalProperties": false
1351
+ },
1352
+ {
1353
+ "type": "object",
1354
+ "properties": {
1355
+ "$nin": {
1356
+ "type": "array",
1357
+ "maxItems": 100,
1358
+ "items": {
1359
+ "type": "string",
1360
+ "maxLength": 255
1361
+ }
1362
+ }
1363
+ },
1364
+ "required": [
1365
+ "$nin"
1366
+ ],
1367
+ "additionalProperties": false
1368
+ }
1369
+ ]
1256
1370
  }
1257
1371
  },
1258
1372
  "additionalProperties": false
@@ -1268,12 +1382,88 @@
1268
1382
  "type": "object",
1269
1383
  "properties": {
1270
1384
  "$tagKey": {
1271
- "type": "string",
1272
- "maxLength": 255
1385
+ "oneOf": [
1386
+ {
1387
+ "type": "string",
1388
+ "maxLength": 255
1389
+ },
1390
+ {
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "$in": {
1394
+ "type": "array",
1395
+ "maxItems": 100,
1396
+ "items": {
1397
+ "type": "string",
1398
+ "maxLength": 255
1399
+ }
1400
+ }
1401
+ },
1402
+ "required": [
1403
+ "$in"
1404
+ ],
1405
+ "additionalProperties": false
1406
+ },
1407
+ {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "$nin": {
1411
+ "type": "array",
1412
+ "maxItems": 100,
1413
+ "items": {
1414
+ "type": "string",
1415
+ "maxLength": 255
1416
+ }
1417
+ }
1418
+ },
1419
+ "required": [
1420
+ "$nin"
1421
+ ],
1422
+ "additionalProperties": false
1423
+ }
1424
+ ]
1273
1425
  },
1274
1426
  "$tagValue": {
1275
- "type": "string",
1276
- "maxLength": 255
1427
+ "oneOf": [
1428
+ {
1429
+ "type": "string",
1430
+ "maxLength": 255
1431
+ },
1432
+ {
1433
+ "type": "object",
1434
+ "properties": {
1435
+ "$in": {
1436
+ "type": "array",
1437
+ "maxItems": 100,
1438
+ "items": {
1439
+ "type": "string",
1440
+ "maxLength": 255
1441
+ }
1442
+ }
1443
+ },
1444
+ "required": [
1445
+ "$in"
1446
+ ],
1447
+ "additionalProperties": false
1448
+ },
1449
+ {
1450
+ "type": "object",
1451
+ "properties": {
1452
+ "$nin": {
1453
+ "type": "array",
1454
+ "maxItems": 100,
1455
+ "items": {
1456
+ "type": "string",
1457
+ "maxLength": 255
1458
+ }
1459
+ }
1460
+ },
1461
+ "required": [
1462
+ "$nin"
1463
+ ],
1464
+ "additionalProperties": false
1465
+ }
1466
+ ]
1277
1467
  }
1278
1468
  },
1279
1469
  "additionalProperties": false,
@@ -1283,8 +1473,46 @@
1283
1473
  "type": "object",
1284
1474
  "patternProperties": {
1285
1475
  "^[0-9a-zA-Z_-]{1,255}": {
1286
- "type": "string",
1287
- "maxLength": 255
1476
+ "oneOf": [
1477
+ {
1478
+ "type": "string",
1479
+ "maxLength": 255
1480
+ },
1481
+ {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "$in": {
1485
+ "type": "array",
1486
+ "maxItems": 100,
1487
+ "items": {
1488
+ "type": "string",
1489
+ "maxLength": 255
1490
+ }
1491
+ }
1492
+ },
1493
+ "required": [
1494
+ "$in"
1495
+ ],
1496
+ "additionalProperties": false
1497
+ },
1498
+ {
1499
+ "type": "object",
1500
+ "properties": {
1501
+ "$nin": {
1502
+ "type": "array",
1503
+ "maxItems": 100,
1504
+ "items": {
1505
+ "type": "string",
1506
+ "maxLength": 255
1507
+ }
1508
+ }
1509
+ },
1510
+ "required": [
1511
+ "$nin"
1512
+ ],
1513
+ "additionalProperties": false
1514
+ }
1515
+ ]
1288
1516
  }
1289
1517
  },
1290
1518
  "additionalProperties": false
@@ -1306,12 +1534,88 @@
1306
1534
  "type": "object",
1307
1535
  "properties": {
1308
1536
  "$tagKey": {
1309
- "type": "string",
1310
- "maxLength": 255
1537
+ "oneOf": [
1538
+ {
1539
+ "type": "string",
1540
+ "maxLength": 255
1541
+ },
1542
+ {
1543
+ "type": "object",
1544
+ "properties": {
1545
+ "$in": {
1546
+ "type": "array",
1547
+ "maxItems": 100,
1548
+ "items": {
1549
+ "type": "string",
1550
+ "maxLength": 255
1551
+ }
1552
+ }
1553
+ },
1554
+ "required": [
1555
+ "$in"
1556
+ ],
1557
+ "additionalProperties": false
1558
+ },
1559
+ {
1560
+ "type": "object",
1561
+ "properties": {
1562
+ "$nin": {
1563
+ "type": "array",
1564
+ "maxItems": 100,
1565
+ "items": {
1566
+ "type": "string",
1567
+ "maxLength": 255
1568
+ }
1569
+ }
1570
+ },
1571
+ "required": [
1572
+ "$nin"
1573
+ ],
1574
+ "additionalProperties": false
1575
+ }
1576
+ ]
1311
1577
  },
1312
1578
  "$tagValue": {
1313
- "type": "string",
1314
- "maxLength": 255
1579
+ "oneOf": [
1580
+ {
1581
+ "type": "string",
1582
+ "maxLength": 255
1583
+ },
1584
+ {
1585
+ "type": "object",
1586
+ "properties": {
1587
+ "$in": {
1588
+ "type": "array",
1589
+ "maxItems": 100,
1590
+ "items": {
1591
+ "type": "string",
1592
+ "maxLength": 255
1593
+ }
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "$in"
1598
+ ],
1599
+ "additionalProperties": false
1600
+ },
1601
+ {
1602
+ "type": "object",
1603
+ "properties": {
1604
+ "$nin": {
1605
+ "type": "array",
1606
+ "maxItems": 100,
1607
+ "items": {
1608
+ "type": "string",
1609
+ "maxLength": 255
1610
+ }
1611
+ }
1612
+ },
1613
+ "required": [
1614
+ "$nin"
1615
+ ],
1616
+ "additionalProperties": false
1617
+ }
1618
+ ]
1315
1619
  }
1316
1620
  },
1317
1621
  "additionalProperties": false,
@@ -1321,8 +1625,46 @@
1321
1625
  "type": "object",
1322
1626
  "patternProperties": {
1323
1627
  "^[0-9a-zA-Z_-]{1,255}": {
1324
- "type": "string",
1325
- "maxLength": 255
1628
+ "oneOf": [
1629
+ {
1630
+ "type": "string",
1631
+ "maxLength": 255
1632
+ },
1633
+ {
1634
+ "type": "object",
1635
+ "properties": {
1636
+ "$in": {
1637
+ "type": "array",
1638
+ "maxItems": 100,
1639
+ "items": {
1640
+ "type": "string",
1641
+ "maxLength": 255
1642
+ }
1643
+ }
1644
+ },
1645
+ "required": [
1646
+ "$in"
1647
+ ],
1648
+ "additionalProperties": false
1649
+ },
1650
+ {
1651
+ "type": "object",
1652
+ "properties": {
1653
+ "$nin": {
1654
+ "type": "array",
1655
+ "maxItems": 100,
1656
+ "items": {
1657
+ "type": "string",
1658
+ "maxLength": 255
1659
+ }
1660
+ }
1661
+ },
1662
+ "required": [
1663
+ "$nin"
1664
+ ],
1665
+ "additionalProperties": false
1666
+ }
1667
+ ]
1326
1668
  }
1327
1669
  },
1328
1670
  "additionalProperties": false
data/schemas/org.json CHANGED
@@ -367,6 +367,14 @@
367
367
  }
368
368
  }
369
369
  },
370
+ "deviceCreate": {
371
+ "type": "object",
372
+ "patternProperties": {
373
+ ".*": {
374
+ "type": "number"
375
+ }
376
+ }
377
+ },
370
378
  "deviceCommand": {
371
379
  "type": "object",
372
380
  "patternProperties": {
data/schemas/orgs.json CHANGED
@@ -374,6 +374,14 @@
374
374
  }
375
375
  }
376
376
  },
377
+ "deviceCreate": {
378
+ "type": "object",
379
+ "patternProperties": {
380
+ ".*": {
381
+ "type": "number"
382
+ }
383
+ }
384
+ },
377
385
  "deviceCommand": {
378
386
  "type": "object",
379
387
  "patternProperties": {
@@ -18,6 +18,14 @@
18
18
  }
19
19
  }
20
20
  },
21
+ "deviceCreate": {
22
+ "type": "object",
23
+ "patternProperties": {
24
+ ".*": {
25
+ "type": "number"
26
+ }
27
+ }
28
+ },
21
29
  "deviceCommand": {
22
30
  "type": "object",
23
31
  "patternProperties": {
@@ -361,7 +361,6 @@
361
361
  "org.notebookMinuteCounts",
362
362
  "org.invoices",
363
363
  "org.currentCard",
364
- "org.chargeDetails",
365
364
  "org.transferResources"
366
365
  ]
367
366
  }
@@ -387,6 +386,7 @@
387
386
  "instanceOrg.payloadCountsBreakdown",
388
387
  "instanceOrg.deviceCounts",
389
388
  "instanceOrg.notebookMinuteCounts",
389
+ "instanceOrg.convertToEnterprise",
390
390
  "instanceOrgs.*",
391
391
  "instanceOrgs.get",
392
392
  "instanceOrgs.post",