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
@@ -1181,12 +1181,88 @@
1181
1181
  "type": "object",
1182
1182
  "properties": {
1183
1183
  "$tagKey": {
1184
- "type": "string",
1185
- "maxLength": 255
1184
+ "oneOf": [
1185
+ {
1186
+ "type": "string",
1187
+ "maxLength": 255
1188
+ },
1189
+ {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "$in": {
1193
+ "type": "array",
1194
+ "maxItems": 100,
1195
+ "items": {
1196
+ "type": "string",
1197
+ "maxLength": 255
1198
+ }
1199
+ }
1200
+ },
1201
+ "required": [
1202
+ "$in"
1203
+ ],
1204
+ "additionalProperties": false
1205
+ },
1206
+ {
1207
+ "type": "object",
1208
+ "properties": {
1209
+ "$nin": {
1210
+ "type": "array",
1211
+ "maxItems": 100,
1212
+ "items": {
1213
+ "type": "string",
1214
+ "maxLength": 255
1215
+ }
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "$nin"
1220
+ ],
1221
+ "additionalProperties": false
1222
+ }
1223
+ ]
1186
1224
  },
1187
1225
  "$tagValue": {
1188
- "type": "string",
1189
- "maxLength": 255
1226
+ "oneOf": [
1227
+ {
1228
+ "type": "string",
1229
+ "maxLength": 255
1230
+ },
1231
+ {
1232
+ "type": "object",
1233
+ "properties": {
1234
+ "$in": {
1235
+ "type": "array",
1236
+ "maxItems": 100,
1237
+ "items": {
1238
+ "type": "string",
1239
+ "maxLength": 255
1240
+ }
1241
+ }
1242
+ },
1243
+ "required": [
1244
+ "$in"
1245
+ ],
1246
+ "additionalProperties": false
1247
+ },
1248
+ {
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "$nin": {
1252
+ "type": "array",
1253
+ "maxItems": 100,
1254
+ "items": {
1255
+ "type": "string",
1256
+ "maxLength": 255
1257
+ }
1258
+ }
1259
+ },
1260
+ "required": [
1261
+ "$nin"
1262
+ ],
1263
+ "additionalProperties": false
1264
+ }
1265
+ ]
1190
1266
  }
1191
1267
  },
1192
1268
  "additionalProperties": false,
@@ -1196,8 +1272,46 @@
1196
1272
  "type": "object",
1197
1273
  "patternProperties": {
1198
1274
  "^[0-9a-zA-Z_-]{1,255}": {
1199
- "type": "string",
1200
- "maxLength": 255
1275
+ "oneOf": [
1276
+ {
1277
+ "type": "string",
1278
+ "maxLength": 255
1279
+ },
1280
+ {
1281
+ "type": "object",
1282
+ "properties": {
1283
+ "$in": {
1284
+ "type": "array",
1285
+ "maxItems": 100,
1286
+ "items": {
1287
+ "type": "string",
1288
+ "maxLength": 255
1289
+ }
1290
+ }
1291
+ },
1292
+ "required": [
1293
+ "$in"
1294
+ ],
1295
+ "additionalProperties": false
1296
+ },
1297
+ {
1298
+ "type": "object",
1299
+ "properties": {
1300
+ "$nin": {
1301
+ "type": "array",
1302
+ "maxItems": 100,
1303
+ "items": {
1304
+ "type": "string",
1305
+ "maxLength": 255
1306
+ }
1307
+ }
1308
+ },
1309
+ "required": [
1310
+ "$nin"
1311
+ ],
1312
+ "additionalProperties": false
1313
+ }
1314
+ ]
1201
1315
  }
1202
1316
  },
1203
1317
  "additionalProperties": false
@@ -1213,12 +1327,88 @@
1213
1327
  "type": "object",
1214
1328
  "properties": {
1215
1329
  "$tagKey": {
1216
- "type": "string",
1217
- "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
+ ]
1218
1370
  },
1219
1371
  "$tagValue": {
1220
- "type": "string",
1221
- "maxLength": 255
1372
+ "oneOf": [
1373
+ {
1374
+ "type": "string",
1375
+ "maxLength": 255
1376
+ },
1377
+ {
1378
+ "type": "object",
1379
+ "properties": {
1380
+ "$in": {
1381
+ "type": "array",
1382
+ "maxItems": 100,
1383
+ "items": {
1384
+ "type": "string",
1385
+ "maxLength": 255
1386
+ }
1387
+ }
1388
+ },
1389
+ "required": [
1390
+ "$in"
1391
+ ],
1392
+ "additionalProperties": false
1393
+ },
1394
+ {
1395
+ "type": "object",
1396
+ "properties": {
1397
+ "$nin": {
1398
+ "type": "array",
1399
+ "maxItems": 100,
1400
+ "items": {
1401
+ "type": "string",
1402
+ "maxLength": 255
1403
+ }
1404
+ }
1405
+ },
1406
+ "required": [
1407
+ "$nin"
1408
+ ],
1409
+ "additionalProperties": false
1410
+ }
1411
+ ]
1222
1412
  }
1223
1413
  },
1224
1414
  "additionalProperties": false,
@@ -1228,8 +1418,46 @@
1228
1418
  "type": "object",
1229
1419
  "patternProperties": {
1230
1420
  "^[0-9a-zA-Z_-]{1,255}": {
1231
- "type": "string",
1232
- "maxLength": 255
1421
+ "oneOf": [
1422
+ {
1423
+ "type": "string",
1424
+ "maxLength": 255
1425
+ },
1426
+ {
1427
+ "type": "object",
1428
+ "properties": {
1429
+ "$in": {
1430
+ "type": "array",
1431
+ "maxItems": 100,
1432
+ "items": {
1433
+ "type": "string",
1434
+ "maxLength": 255
1435
+ }
1436
+ }
1437
+ },
1438
+ "required": [
1439
+ "$in"
1440
+ ],
1441
+ "additionalProperties": false
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "$nin": {
1447
+ "type": "array",
1448
+ "maxItems": 100,
1449
+ "items": {
1450
+ "type": "string",
1451
+ "maxLength": 255
1452
+ }
1453
+ }
1454
+ },
1455
+ "required": [
1456
+ "$nin"
1457
+ ],
1458
+ "additionalProperties": false
1459
+ }
1460
+ ]
1233
1461
  }
1234
1462
  },
1235
1463
  "additionalProperties": false
@@ -1251,12 +1479,88 @@
1251
1479
  "type": "object",
1252
1480
  "properties": {
1253
1481
  "$tagKey": {
1254
- "type": "string",
1255
- "maxLength": 255
1482
+ "oneOf": [
1483
+ {
1484
+ "type": "string",
1485
+ "maxLength": 255
1486
+ },
1487
+ {
1488
+ "type": "object",
1489
+ "properties": {
1490
+ "$in": {
1491
+ "type": "array",
1492
+ "maxItems": 100,
1493
+ "items": {
1494
+ "type": "string",
1495
+ "maxLength": 255
1496
+ }
1497
+ }
1498
+ },
1499
+ "required": [
1500
+ "$in"
1501
+ ],
1502
+ "additionalProperties": false
1503
+ },
1504
+ {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "$nin": {
1508
+ "type": "array",
1509
+ "maxItems": 100,
1510
+ "items": {
1511
+ "type": "string",
1512
+ "maxLength": 255
1513
+ }
1514
+ }
1515
+ },
1516
+ "required": [
1517
+ "$nin"
1518
+ ],
1519
+ "additionalProperties": false
1520
+ }
1521
+ ]
1256
1522
  },
1257
1523
  "$tagValue": {
1258
- "type": "string",
1259
- "maxLength": 255
1524
+ "oneOf": [
1525
+ {
1526
+ "type": "string",
1527
+ "maxLength": 255
1528
+ },
1529
+ {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "$in": {
1533
+ "type": "array",
1534
+ "maxItems": 100,
1535
+ "items": {
1536
+ "type": "string",
1537
+ "maxLength": 255
1538
+ }
1539
+ }
1540
+ },
1541
+ "required": [
1542
+ "$in"
1543
+ ],
1544
+ "additionalProperties": false
1545
+ },
1546
+ {
1547
+ "type": "object",
1548
+ "properties": {
1549
+ "$nin": {
1550
+ "type": "array",
1551
+ "maxItems": 100,
1552
+ "items": {
1553
+ "type": "string",
1554
+ "maxLength": 255
1555
+ }
1556
+ }
1557
+ },
1558
+ "required": [
1559
+ "$nin"
1560
+ ],
1561
+ "additionalProperties": false
1562
+ }
1563
+ ]
1260
1564
  }
1261
1565
  },
1262
1566
  "additionalProperties": false,
@@ -1266,8 +1570,46 @@
1266
1570
  "type": "object",
1267
1571
  "patternProperties": {
1268
1572
  "^[0-9a-zA-Z_-]{1,255}": {
1269
- "type": "string",
1270
- "maxLength": 255
1573
+ "oneOf": [
1574
+ {
1575
+ "type": "string",
1576
+ "maxLength": 255
1577
+ },
1578
+ {
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "$in": {
1582
+ "type": "array",
1583
+ "maxItems": 100,
1584
+ "items": {
1585
+ "type": "string",
1586
+ "maxLength": 255
1587
+ }
1588
+ }
1589
+ },
1590
+ "required": [
1591
+ "$in"
1592
+ ],
1593
+ "additionalProperties": false
1594
+ },
1595
+ {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "$nin": {
1599
+ "type": "array",
1600
+ "maxItems": 100,
1601
+ "items": {
1602
+ "type": "string",
1603
+ "maxLength": 255
1604
+ }
1605
+ }
1606
+ },
1607
+ "required": [
1608
+ "$nin"
1609
+ ],
1610
+ "additionalProperties": false
1611
+ }
1612
+ ]
1271
1613
  }
1272
1614
  },
1273
1615
  "additionalProperties": false