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
@@ -1186,12 +1186,88 @@
1186
1186
  "type": "object",
1187
1187
  "properties": {
1188
1188
  "$tagKey": {
1189
- "type": "string",
1190
- "maxLength": 255
1189
+ "oneOf": [
1190
+ {
1191
+ "type": "string",
1192
+ "maxLength": 255
1193
+ },
1194
+ {
1195
+ "type": "object",
1196
+ "properties": {
1197
+ "$in": {
1198
+ "type": "array",
1199
+ "maxItems": 100,
1200
+ "items": {
1201
+ "type": "string",
1202
+ "maxLength": 255
1203
+ }
1204
+ }
1205
+ },
1206
+ "required": [
1207
+ "$in"
1208
+ ],
1209
+ "additionalProperties": false
1210
+ },
1211
+ {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "$nin": {
1215
+ "type": "array",
1216
+ "maxItems": 100,
1217
+ "items": {
1218
+ "type": "string",
1219
+ "maxLength": 255
1220
+ }
1221
+ }
1222
+ },
1223
+ "required": [
1224
+ "$nin"
1225
+ ],
1226
+ "additionalProperties": false
1227
+ }
1228
+ ]
1191
1229
  },
1192
1230
  "$tagValue": {
1193
- "type": "string",
1194
- "maxLength": 255
1231
+ "oneOf": [
1232
+ {
1233
+ "type": "string",
1234
+ "maxLength": 255
1235
+ },
1236
+ {
1237
+ "type": "object",
1238
+ "properties": {
1239
+ "$in": {
1240
+ "type": "array",
1241
+ "maxItems": 100,
1242
+ "items": {
1243
+ "type": "string",
1244
+ "maxLength": 255
1245
+ }
1246
+ }
1247
+ },
1248
+ "required": [
1249
+ "$in"
1250
+ ],
1251
+ "additionalProperties": false
1252
+ },
1253
+ {
1254
+ "type": "object",
1255
+ "properties": {
1256
+ "$nin": {
1257
+ "type": "array",
1258
+ "maxItems": 100,
1259
+ "items": {
1260
+ "type": "string",
1261
+ "maxLength": 255
1262
+ }
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "$nin"
1267
+ ],
1268
+ "additionalProperties": false
1269
+ }
1270
+ ]
1195
1271
  }
1196
1272
  },
1197
1273
  "additionalProperties": false,
@@ -1201,8 +1277,46 @@
1201
1277
  "type": "object",
1202
1278
  "patternProperties": {
1203
1279
  "^[0-9a-zA-Z_-]{1,255}": {
1204
- "type": "string",
1205
- "maxLength": 255
1280
+ "oneOf": [
1281
+ {
1282
+ "type": "string",
1283
+ "maxLength": 255
1284
+ },
1285
+ {
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "$in": {
1289
+ "type": "array",
1290
+ "maxItems": 100,
1291
+ "items": {
1292
+ "type": "string",
1293
+ "maxLength": 255
1294
+ }
1295
+ }
1296
+ },
1297
+ "required": [
1298
+ "$in"
1299
+ ],
1300
+ "additionalProperties": false
1301
+ },
1302
+ {
1303
+ "type": "object",
1304
+ "properties": {
1305
+ "$nin": {
1306
+ "type": "array",
1307
+ "maxItems": 100,
1308
+ "items": {
1309
+ "type": "string",
1310
+ "maxLength": 255
1311
+ }
1312
+ }
1313
+ },
1314
+ "required": [
1315
+ "$nin"
1316
+ ],
1317
+ "additionalProperties": false
1318
+ }
1319
+ ]
1206
1320
  }
1207
1321
  },
1208
1322
  "additionalProperties": false
@@ -1218,12 +1332,88 @@
1218
1332
  "type": "object",
1219
1333
  "properties": {
1220
1334
  "$tagKey": {
1221
- "type": "string",
1222
- "maxLength": 255
1335
+ "oneOf": [
1336
+ {
1337
+ "type": "string",
1338
+ "maxLength": 255
1339
+ },
1340
+ {
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "$in": {
1344
+ "type": "array",
1345
+ "maxItems": 100,
1346
+ "items": {
1347
+ "type": "string",
1348
+ "maxLength": 255
1349
+ }
1350
+ }
1351
+ },
1352
+ "required": [
1353
+ "$in"
1354
+ ],
1355
+ "additionalProperties": false
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "$nin": {
1361
+ "type": "array",
1362
+ "maxItems": 100,
1363
+ "items": {
1364
+ "type": "string",
1365
+ "maxLength": 255
1366
+ }
1367
+ }
1368
+ },
1369
+ "required": [
1370
+ "$nin"
1371
+ ],
1372
+ "additionalProperties": false
1373
+ }
1374
+ ]
1223
1375
  },
1224
1376
  "$tagValue": {
1225
- "type": "string",
1226
- "maxLength": 255
1377
+ "oneOf": [
1378
+ {
1379
+ "type": "string",
1380
+ "maxLength": 255
1381
+ },
1382
+ {
1383
+ "type": "object",
1384
+ "properties": {
1385
+ "$in": {
1386
+ "type": "array",
1387
+ "maxItems": 100,
1388
+ "items": {
1389
+ "type": "string",
1390
+ "maxLength": 255
1391
+ }
1392
+ }
1393
+ },
1394
+ "required": [
1395
+ "$in"
1396
+ ],
1397
+ "additionalProperties": false
1398
+ },
1399
+ {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "$nin": {
1403
+ "type": "array",
1404
+ "maxItems": 100,
1405
+ "items": {
1406
+ "type": "string",
1407
+ "maxLength": 255
1408
+ }
1409
+ }
1410
+ },
1411
+ "required": [
1412
+ "$nin"
1413
+ ],
1414
+ "additionalProperties": false
1415
+ }
1416
+ ]
1227
1417
  }
1228
1418
  },
1229
1419
  "additionalProperties": false,
@@ -1233,8 +1423,46 @@
1233
1423
  "type": "object",
1234
1424
  "patternProperties": {
1235
1425
  "^[0-9a-zA-Z_-]{1,255}": {
1236
- "type": "string",
1237
- "maxLength": 255
1426
+ "oneOf": [
1427
+ {
1428
+ "type": "string",
1429
+ "maxLength": 255
1430
+ },
1431
+ {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "$in": {
1435
+ "type": "array",
1436
+ "maxItems": 100,
1437
+ "items": {
1438
+ "type": "string",
1439
+ "maxLength": 255
1440
+ }
1441
+ }
1442
+ },
1443
+ "required": [
1444
+ "$in"
1445
+ ],
1446
+ "additionalProperties": false
1447
+ },
1448
+ {
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "$nin": {
1452
+ "type": "array",
1453
+ "maxItems": 100,
1454
+ "items": {
1455
+ "type": "string",
1456
+ "maxLength": 255
1457
+ }
1458
+ }
1459
+ },
1460
+ "required": [
1461
+ "$nin"
1462
+ ],
1463
+ "additionalProperties": false
1464
+ }
1465
+ ]
1238
1466
  }
1239
1467
  },
1240
1468
  "additionalProperties": false
@@ -1256,12 +1484,88 @@
1256
1484
  "type": "object",
1257
1485
  "properties": {
1258
1486
  "$tagKey": {
1259
- "type": "string",
1260
- "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
+ ]
1261
1527
  },
1262
1528
  "$tagValue": {
1263
- "type": "string",
1264
- "maxLength": 255
1529
+ "oneOf": [
1530
+ {
1531
+ "type": "string",
1532
+ "maxLength": 255
1533
+ },
1534
+ {
1535
+ "type": "object",
1536
+ "properties": {
1537
+ "$in": {
1538
+ "type": "array",
1539
+ "maxItems": 100,
1540
+ "items": {
1541
+ "type": "string",
1542
+ "maxLength": 255
1543
+ }
1544
+ }
1545
+ },
1546
+ "required": [
1547
+ "$in"
1548
+ ],
1549
+ "additionalProperties": false
1550
+ },
1551
+ {
1552
+ "type": "object",
1553
+ "properties": {
1554
+ "$nin": {
1555
+ "type": "array",
1556
+ "maxItems": 100,
1557
+ "items": {
1558
+ "type": "string",
1559
+ "maxLength": 255
1560
+ }
1561
+ }
1562
+ },
1563
+ "required": [
1564
+ "$nin"
1565
+ ],
1566
+ "additionalProperties": false
1567
+ }
1568
+ ]
1265
1569
  }
1266
1570
  },
1267
1571
  "additionalProperties": false,
@@ -1271,8 +1575,46 @@
1271
1575
  "type": "object",
1272
1576
  "patternProperties": {
1273
1577
  "^[0-9a-zA-Z_-]{1,255}": {
1274
- "type": "string",
1275
- "maxLength": 255
1578
+ "oneOf": [
1579
+ {
1580
+ "type": "string",
1581
+ "maxLength": 255
1582
+ },
1583
+ {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "$in": {
1587
+ "type": "array",
1588
+ "maxItems": 100,
1589
+ "items": {
1590
+ "type": "string",
1591
+ "maxLength": 255
1592
+ }
1593
+ }
1594
+ },
1595
+ "required": [
1596
+ "$in"
1597
+ ],
1598
+ "additionalProperties": false
1599
+ },
1600
+ {
1601
+ "type": "object",
1602
+ "properties": {
1603
+ "$nin": {
1604
+ "type": "array",
1605
+ "maxItems": 100,
1606
+ "items": {
1607
+ "type": "string",
1608
+ "maxLength": 255
1609
+ }
1610
+ }
1611
+ },
1612
+ "required": [
1613
+ "$nin"
1614
+ ],
1615
+ "additionalProperties": false
1616
+ }
1617
+ ]
1276
1618
  }
1277
1619
  },
1278
1620
  "additionalProperties": false