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
@@ -1176,12 +1176,88 @@
1176
1176
  "type": "object",
1177
1177
  "properties": {
1178
1178
  "$tagKey": {
1179
- "type": "string",
1180
- "maxLength": 255
1179
+ "oneOf": [
1180
+ {
1181
+ "type": "string",
1182
+ "maxLength": 255
1183
+ },
1184
+ {
1185
+ "type": "object",
1186
+ "properties": {
1187
+ "$in": {
1188
+ "type": "array",
1189
+ "maxItems": 100,
1190
+ "items": {
1191
+ "type": "string",
1192
+ "maxLength": 255
1193
+ }
1194
+ }
1195
+ },
1196
+ "required": [
1197
+ "$in"
1198
+ ],
1199
+ "additionalProperties": false
1200
+ },
1201
+ {
1202
+ "type": "object",
1203
+ "properties": {
1204
+ "$nin": {
1205
+ "type": "array",
1206
+ "maxItems": 100,
1207
+ "items": {
1208
+ "type": "string",
1209
+ "maxLength": 255
1210
+ }
1211
+ }
1212
+ },
1213
+ "required": [
1214
+ "$nin"
1215
+ ],
1216
+ "additionalProperties": false
1217
+ }
1218
+ ]
1181
1219
  },
1182
1220
  "$tagValue": {
1183
- "type": "string",
1184
- "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
+ ]
1185
1261
  }
1186
1262
  },
1187
1263
  "additionalProperties": false,
@@ -1191,8 +1267,46 @@
1191
1267
  "type": "object",
1192
1268
  "patternProperties": {
1193
1269
  "^[0-9a-zA-Z_-]{1,255}": {
1194
- "type": "string",
1195
- "maxLength": 255
1270
+ "oneOf": [
1271
+ {
1272
+ "type": "string",
1273
+ "maxLength": 255
1274
+ },
1275
+ {
1276
+ "type": "object",
1277
+ "properties": {
1278
+ "$in": {
1279
+ "type": "array",
1280
+ "maxItems": 100,
1281
+ "items": {
1282
+ "type": "string",
1283
+ "maxLength": 255
1284
+ }
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "$in"
1289
+ ],
1290
+ "additionalProperties": false
1291
+ },
1292
+ {
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "$nin": {
1296
+ "type": "array",
1297
+ "maxItems": 100,
1298
+ "items": {
1299
+ "type": "string",
1300
+ "maxLength": 255
1301
+ }
1302
+ }
1303
+ },
1304
+ "required": [
1305
+ "$nin"
1306
+ ],
1307
+ "additionalProperties": false
1308
+ }
1309
+ ]
1196
1310
  }
1197
1311
  },
1198
1312
  "additionalProperties": false
@@ -1208,12 +1322,88 @@
1208
1322
  "type": "object",
1209
1323
  "properties": {
1210
1324
  "$tagKey": {
1211
- "type": "string",
1212
- "maxLength": 255
1325
+ "oneOf": [
1326
+ {
1327
+ "type": "string",
1328
+ "maxLength": 255
1329
+ },
1330
+ {
1331
+ "type": "object",
1332
+ "properties": {
1333
+ "$in": {
1334
+ "type": "array",
1335
+ "maxItems": 100,
1336
+ "items": {
1337
+ "type": "string",
1338
+ "maxLength": 255
1339
+ }
1340
+ }
1341
+ },
1342
+ "required": [
1343
+ "$in"
1344
+ ],
1345
+ "additionalProperties": false
1346
+ },
1347
+ {
1348
+ "type": "object",
1349
+ "properties": {
1350
+ "$nin": {
1351
+ "type": "array",
1352
+ "maxItems": 100,
1353
+ "items": {
1354
+ "type": "string",
1355
+ "maxLength": 255
1356
+ }
1357
+ }
1358
+ },
1359
+ "required": [
1360
+ "$nin"
1361
+ ],
1362
+ "additionalProperties": false
1363
+ }
1364
+ ]
1213
1365
  },
1214
1366
  "$tagValue": {
1215
- "type": "string",
1216
- "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
+ ]
1217
1407
  }
1218
1408
  },
1219
1409
  "additionalProperties": false,
@@ -1223,8 +1413,46 @@
1223
1413
  "type": "object",
1224
1414
  "patternProperties": {
1225
1415
  "^[0-9a-zA-Z_-]{1,255}": {
1226
- "type": "string",
1227
- "maxLength": 255
1416
+ "oneOf": [
1417
+ {
1418
+ "type": "string",
1419
+ "maxLength": 255
1420
+ },
1421
+ {
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "$in": {
1425
+ "type": "array",
1426
+ "maxItems": 100,
1427
+ "items": {
1428
+ "type": "string",
1429
+ "maxLength": 255
1430
+ }
1431
+ }
1432
+ },
1433
+ "required": [
1434
+ "$in"
1435
+ ],
1436
+ "additionalProperties": false
1437
+ },
1438
+ {
1439
+ "type": "object",
1440
+ "properties": {
1441
+ "$nin": {
1442
+ "type": "array",
1443
+ "maxItems": 100,
1444
+ "items": {
1445
+ "type": "string",
1446
+ "maxLength": 255
1447
+ }
1448
+ }
1449
+ },
1450
+ "required": [
1451
+ "$nin"
1452
+ ],
1453
+ "additionalProperties": false
1454
+ }
1455
+ ]
1228
1456
  }
1229
1457
  },
1230
1458
  "additionalProperties": false
@@ -1246,12 +1474,88 @@
1246
1474
  "type": "object",
1247
1475
  "properties": {
1248
1476
  "$tagKey": {
1249
- "type": "string",
1250
- "maxLength": 255
1477
+ "oneOf": [
1478
+ {
1479
+ "type": "string",
1480
+ "maxLength": 255
1481
+ },
1482
+ {
1483
+ "type": "object",
1484
+ "properties": {
1485
+ "$in": {
1486
+ "type": "array",
1487
+ "maxItems": 100,
1488
+ "items": {
1489
+ "type": "string",
1490
+ "maxLength": 255
1491
+ }
1492
+ }
1493
+ },
1494
+ "required": [
1495
+ "$in"
1496
+ ],
1497
+ "additionalProperties": false
1498
+ },
1499
+ {
1500
+ "type": "object",
1501
+ "properties": {
1502
+ "$nin": {
1503
+ "type": "array",
1504
+ "maxItems": 100,
1505
+ "items": {
1506
+ "type": "string",
1507
+ "maxLength": 255
1508
+ }
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "$nin"
1513
+ ],
1514
+ "additionalProperties": false
1515
+ }
1516
+ ]
1251
1517
  },
1252
1518
  "$tagValue": {
1253
- "type": "string",
1254
- "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
+ ]
1255
1559
  }
1256
1560
  },
1257
1561
  "additionalProperties": false,
@@ -1261,8 +1565,46 @@
1261
1565
  "type": "object",
1262
1566
  "patternProperties": {
1263
1567
  "^[0-9a-zA-Z_-]{1,255}": {
1264
- "type": "string",
1265
- "maxLength": 255
1568
+ "oneOf": [
1569
+ {
1570
+ "type": "string",
1571
+ "maxLength": 255
1572
+ },
1573
+ {
1574
+ "type": "object",
1575
+ "properties": {
1576
+ "$in": {
1577
+ "type": "array",
1578
+ "maxItems": 100,
1579
+ "items": {
1580
+ "type": "string",
1581
+ "maxLength": 255
1582
+ }
1583
+ }
1584
+ },
1585
+ "required": [
1586
+ "$in"
1587
+ ],
1588
+ "additionalProperties": false
1589
+ },
1590
+ {
1591
+ "type": "object",
1592
+ "properties": {
1593
+ "$nin": {
1594
+ "type": "array",
1595
+ "maxItems": 100,
1596
+ "items": {
1597
+ "type": "string",
1598
+ "maxLength": 255
1599
+ }
1600
+ }
1601
+ },
1602
+ "required": [
1603
+ "$nin"
1604
+ ],
1605
+ "additionalProperties": false
1606
+ }
1607
+ ]
1266
1608
  }
1267
1609
  },
1268
1610
  "additionalProperties": false