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
@@ -1218,12 +1218,88 @@
1218
1218
  "type": "object",
1219
1219
  "properties": {
1220
1220
  "$tagKey": {
1221
- "type": "string",
1222
- "maxLength": 255
1221
+ "oneOf": [
1222
+ {
1223
+ "type": "string",
1224
+ "maxLength": 255
1225
+ },
1226
+ {
1227
+ "type": "object",
1228
+ "properties": {
1229
+ "$in": {
1230
+ "type": "array",
1231
+ "maxItems": 100,
1232
+ "items": {
1233
+ "type": "string",
1234
+ "maxLength": 255
1235
+ }
1236
+ }
1237
+ },
1238
+ "required": [
1239
+ "$in"
1240
+ ],
1241
+ "additionalProperties": false
1242
+ },
1243
+ {
1244
+ "type": "object",
1245
+ "properties": {
1246
+ "$nin": {
1247
+ "type": "array",
1248
+ "maxItems": 100,
1249
+ "items": {
1250
+ "type": "string",
1251
+ "maxLength": 255
1252
+ }
1253
+ }
1254
+ },
1255
+ "required": [
1256
+ "$nin"
1257
+ ],
1258
+ "additionalProperties": false
1259
+ }
1260
+ ]
1223
1261
  },
1224
1262
  "$tagValue": {
1225
- "type": "string",
1226
- "maxLength": 255
1263
+ "oneOf": [
1264
+ {
1265
+ "type": "string",
1266
+ "maxLength": 255
1267
+ },
1268
+ {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "$in": {
1272
+ "type": "array",
1273
+ "maxItems": 100,
1274
+ "items": {
1275
+ "type": "string",
1276
+ "maxLength": 255
1277
+ }
1278
+ }
1279
+ },
1280
+ "required": [
1281
+ "$in"
1282
+ ],
1283
+ "additionalProperties": false
1284
+ },
1285
+ {
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "$nin": {
1289
+ "type": "array",
1290
+ "maxItems": 100,
1291
+ "items": {
1292
+ "type": "string",
1293
+ "maxLength": 255
1294
+ }
1295
+ }
1296
+ },
1297
+ "required": [
1298
+ "$nin"
1299
+ ],
1300
+ "additionalProperties": false
1301
+ }
1302
+ ]
1227
1303
  }
1228
1304
  },
1229
1305
  "additionalProperties": false,
@@ -1233,8 +1309,46 @@
1233
1309
  "type": "object",
1234
1310
  "patternProperties": {
1235
1311
  "^[0-9a-zA-Z_-]{1,255}": {
1236
- "type": "string",
1237
- "maxLength": 255
1312
+ "oneOf": [
1313
+ {
1314
+ "type": "string",
1315
+ "maxLength": 255
1316
+ },
1317
+ {
1318
+ "type": "object",
1319
+ "properties": {
1320
+ "$in": {
1321
+ "type": "array",
1322
+ "maxItems": 100,
1323
+ "items": {
1324
+ "type": "string",
1325
+ "maxLength": 255
1326
+ }
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "$in"
1331
+ ],
1332
+ "additionalProperties": false
1333
+ },
1334
+ {
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "$nin": {
1338
+ "type": "array",
1339
+ "maxItems": 100,
1340
+ "items": {
1341
+ "type": "string",
1342
+ "maxLength": 255
1343
+ }
1344
+ }
1345
+ },
1346
+ "required": [
1347
+ "$nin"
1348
+ ],
1349
+ "additionalProperties": false
1350
+ }
1351
+ ]
1238
1352
  }
1239
1353
  },
1240
1354
  "additionalProperties": false
@@ -1250,12 +1364,88 @@
1250
1364
  "type": "object",
1251
1365
  "properties": {
1252
1366
  "$tagKey": {
1253
- "type": "string",
1254
- "maxLength": 255
1367
+ "oneOf": [
1368
+ {
1369
+ "type": "string",
1370
+ "maxLength": 255
1371
+ },
1372
+ {
1373
+ "type": "object",
1374
+ "properties": {
1375
+ "$in": {
1376
+ "type": "array",
1377
+ "maxItems": 100,
1378
+ "items": {
1379
+ "type": "string",
1380
+ "maxLength": 255
1381
+ }
1382
+ }
1383
+ },
1384
+ "required": [
1385
+ "$in"
1386
+ ],
1387
+ "additionalProperties": false
1388
+ },
1389
+ {
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "$nin": {
1393
+ "type": "array",
1394
+ "maxItems": 100,
1395
+ "items": {
1396
+ "type": "string",
1397
+ "maxLength": 255
1398
+ }
1399
+ }
1400
+ },
1401
+ "required": [
1402
+ "$nin"
1403
+ ],
1404
+ "additionalProperties": false
1405
+ }
1406
+ ]
1255
1407
  },
1256
1408
  "$tagValue": {
1257
- "type": "string",
1258
- "maxLength": 255
1409
+ "oneOf": [
1410
+ {
1411
+ "type": "string",
1412
+ "maxLength": 255
1413
+ },
1414
+ {
1415
+ "type": "object",
1416
+ "properties": {
1417
+ "$in": {
1418
+ "type": "array",
1419
+ "maxItems": 100,
1420
+ "items": {
1421
+ "type": "string",
1422
+ "maxLength": 255
1423
+ }
1424
+ }
1425
+ },
1426
+ "required": [
1427
+ "$in"
1428
+ ],
1429
+ "additionalProperties": false
1430
+ },
1431
+ {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "$nin": {
1435
+ "type": "array",
1436
+ "maxItems": 100,
1437
+ "items": {
1438
+ "type": "string",
1439
+ "maxLength": 255
1440
+ }
1441
+ }
1442
+ },
1443
+ "required": [
1444
+ "$nin"
1445
+ ],
1446
+ "additionalProperties": false
1447
+ }
1448
+ ]
1259
1449
  }
1260
1450
  },
1261
1451
  "additionalProperties": false,
@@ -1265,8 +1455,46 @@
1265
1455
  "type": "object",
1266
1456
  "patternProperties": {
1267
1457
  "^[0-9a-zA-Z_-]{1,255}": {
1268
- "type": "string",
1269
- "maxLength": 255
1458
+ "oneOf": [
1459
+ {
1460
+ "type": "string",
1461
+ "maxLength": 255
1462
+ },
1463
+ {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "$in": {
1467
+ "type": "array",
1468
+ "maxItems": 100,
1469
+ "items": {
1470
+ "type": "string",
1471
+ "maxLength": 255
1472
+ }
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "$in"
1477
+ ],
1478
+ "additionalProperties": false
1479
+ },
1480
+ {
1481
+ "type": "object",
1482
+ "properties": {
1483
+ "$nin": {
1484
+ "type": "array",
1485
+ "maxItems": 100,
1486
+ "items": {
1487
+ "type": "string",
1488
+ "maxLength": 255
1489
+ }
1490
+ }
1491
+ },
1492
+ "required": [
1493
+ "$nin"
1494
+ ],
1495
+ "additionalProperties": false
1496
+ }
1497
+ ]
1270
1498
  }
1271
1499
  },
1272
1500
  "additionalProperties": false
@@ -1288,12 +1516,88 @@
1288
1516
  "type": "object",
1289
1517
  "properties": {
1290
1518
  "$tagKey": {
1291
- "type": "string",
1292
- "maxLength": 255
1519
+ "oneOf": [
1520
+ {
1521
+ "type": "string",
1522
+ "maxLength": 255
1523
+ },
1524
+ {
1525
+ "type": "object",
1526
+ "properties": {
1527
+ "$in": {
1528
+ "type": "array",
1529
+ "maxItems": 100,
1530
+ "items": {
1531
+ "type": "string",
1532
+ "maxLength": 255
1533
+ }
1534
+ }
1535
+ },
1536
+ "required": [
1537
+ "$in"
1538
+ ],
1539
+ "additionalProperties": false
1540
+ },
1541
+ {
1542
+ "type": "object",
1543
+ "properties": {
1544
+ "$nin": {
1545
+ "type": "array",
1546
+ "maxItems": 100,
1547
+ "items": {
1548
+ "type": "string",
1549
+ "maxLength": 255
1550
+ }
1551
+ }
1552
+ },
1553
+ "required": [
1554
+ "$nin"
1555
+ ],
1556
+ "additionalProperties": false
1557
+ }
1558
+ ]
1293
1559
  },
1294
1560
  "$tagValue": {
1295
- "type": "string",
1296
- "maxLength": 255
1561
+ "oneOf": [
1562
+ {
1563
+ "type": "string",
1564
+ "maxLength": 255
1565
+ },
1566
+ {
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "$in": {
1570
+ "type": "array",
1571
+ "maxItems": 100,
1572
+ "items": {
1573
+ "type": "string",
1574
+ "maxLength": 255
1575
+ }
1576
+ }
1577
+ },
1578
+ "required": [
1579
+ "$in"
1580
+ ],
1581
+ "additionalProperties": false
1582
+ },
1583
+ {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "$nin": {
1587
+ "type": "array",
1588
+ "maxItems": 100,
1589
+ "items": {
1590
+ "type": "string",
1591
+ "maxLength": 255
1592
+ }
1593
+ }
1594
+ },
1595
+ "required": [
1596
+ "$nin"
1597
+ ],
1598
+ "additionalProperties": false
1599
+ }
1600
+ ]
1297
1601
  }
1298
1602
  },
1299
1603
  "additionalProperties": false,
@@ -1303,8 +1607,46 @@
1303
1607
  "type": "object",
1304
1608
  "patternProperties": {
1305
1609
  "^[0-9a-zA-Z_-]{1,255}": {
1306
- "type": "string",
1307
- "maxLength": 255
1610
+ "oneOf": [
1611
+ {
1612
+ "type": "string",
1613
+ "maxLength": 255
1614
+ },
1615
+ {
1616
+ "type": "object",
1617
+ "properties": {
1618
+ "$in": {
1619
+ "type": "array",
1620
+ "maxItems": 100,
1621
+ "items": {
1622
+ "type": "string",
1623
+ "maxLength": 255
1624
+ }
1625
+ }
1626
+ },
1627
+ "required": [
1628
+ "$in"
1629
+ ],
1630
+ "additionalProperties": false
1631
+ },
1632
+ {
1633
+ "type": "object",
1634
+ "properties": {
1635
+ "$nin": {
1636
+ "type": "array",
1637
+ "maxItems": 100,
1638
+ "items": {
1639
+ "type": "string",
1640
+ "maxLength": 255
1641
+ }
1642
+ }
1643
+ },
1644
+ "required": [
1645
+ "$nin"
1646
+ ],
1647
+ "additionalProperties": false
1648
+ }
1649
+ ]
1308
1650
  }
1309
1651
  },
1310
1652
  "additionalProperties": false