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
@@ -1168,12 +1168,88 @@
1168
1168
  "type": "object",
1169
1169
  "properties": {
1170
1170
  "$tagKey": {
1171
- "type": "string",
1172
- "maxLength": 255
1171
+ "oneOf": [
1172
+ {
1173
+ "type": "string",
1174
+ "maxLength": 255
1175
+ },
1176
+ {
1177
+ "type": "object",
1178
+ "properties": {
1179
+ "$in": {
1180
+ "type": "array",
1181
+ "maxItems": 100,
1182
+ "items": {
1183
+ "type": "string",
1184
+ "maxLength": 255
1185
+ }
1186
+ }
1187
+ },
1188
+ "required": [
1189
+ "$in"
1190
+ ],
1191
+ "additionalProperties": false
1192
+ },
1193
+ {
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "$nin": {
1197
+ "type": "array",
1198
+ "maxItems": 100,
1199
+ "items": {
1200
+ "type": "string",
1201
+ "maxLength": 255
1202
+ }
1203
+ }
1204
+ },
1205
+ "required": [
1206
+ "$nin"
1207
+ ],
1208
+ "additionalProperties": false
1209
+ }
1210
+ ]
1173
1211
  },
1174
1212
  "$tagValue": {
1175
- "type": "string",
1176
- "maxLength": 255
1213
+ "oneOf": [
1214
+ {
1215
+ "type": "string",
1216
+ "maxLength": 255
1217
+ },
1218
+ {
1219
+ "type": "object",
1220
+ "properties": {
1221
+ "$in": {
1222
+ "type": "array",
1223
+ "maxItems": 100,
1224
+ "items": {
1225
+ "type": "string",
1226
+ "maxLength": 255
1227
+ }
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "$in"
1232
+ ],
1233
+ "additionalProperties": false
1234
+ },
1235
+ {
1236
+ "type": "object",
1237
+ "properties": {
1238
+ "$nin": {
1239
+ "type": "array",
1240
+ "maxItems": 100,
1241
+ "items": {
1242
+ "type": "string",
1243
+ "maxLength": 255
1244
+ }
1245
+ }
1246
+ },
1247
+ "required": [
1248
+ "$nin"
1249
+ ],
1250
+ "additionalProperties": false
1251
+ }
1252
+ ]
1177
1253
  }
1178
1254
  },
1179
1255
  "additionalProperties": false,
@@ -1183,8 +1259,46 @@
1183
1259
  "type": "object",
1184
1260
  "patternProperties": {
1185
1261
  "^[0-9a-zA-Z_-]{1,255}": {
1186
- "type": "string",
1187
- "maxLength": 255
1262
+ "oneOf": [
1263
+ {
1264
+ "type": "string",
1265
+ "maxLength": 255
1266
+ },
1267
+ {
1268
+ "type": "object",
1269
+ "properties": {
1270
+ "$in": {
1271
+ "type": "array",
1272
+ "maxItems": 100,
1273
+ "items": {
1274
+ "type": "string",
1275
+ "maxLength": 255
1276
+ }
1277
+ }
1278
+ },
1279
+ "required": [
1280
+ "$in"
1281
+ ],
1282
+ "additionalProperties": false
1283
+ },
1284
+ {
1285
+ "type": "object",
1286
+ "properties": {
1287
+ "$nin": {
1288
+ "type": "array",
1289
+ "maxItems": 100,
1290
+ "items": {
1291
+ "type": "string",
1292
+ "maxLength": 255
1293
+ }
1294
+ }
1295
+ },
1296
+ "required": [
1297
+ "$nin"
1298
+ ],
1299
+ "additionalProperties": false
1300
+ }
1301
+ ]
1188
1302
  }
1189
1303
  },
1190
1304
  "additionalProperties": false
@@ -1200,12 +1314,88 @@
1200
1314
  "type": "object",
1201
1315
  "properties": {
1202
1316
  "$tagKey": {
1203
- "type": "string",
1204
- "maxLength": 255
1317
+ "oneOf": [
1318
+ {
1319
+ "type": "string",
1320
+ "maxLength": 255
1321
+ },
1322
+ {
1323
+ "type": "object",
1324
+ "properties": {
1325
+ "$in": {
1326
+ "type": "array",
1327
+ "maxItems": 100,
1328
+ "items": {
1329
+ "type": "string",
1330
+ "maxLength": 255
1331
+ }
1332
+ }
1333
+ },
1334
+ "required": [
1335
+ "$in"
1336
+ ],
1337
+ "additionalProperties": false
1338
+ },
1339
+ {
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "$nin": {
1343
+ "type": "array",
1344
+ "maxItems": 100,
1345
+ "items": {
1346
+ "type": "string",
1347
+ "maxLength": 255
1348
+ }
1349
+ }
1350
+ },
1351
+ "required": [
1352
+ "$nin"
1353
+ ],
1354
+ "additionalProperties": false
1355
+ }
1356
+ ]
1205
1357
  },
1206
1358
  "$tagValue": {
1207
- "type": "string",
1208
- "maxLength": 255
1359
+ "oneOf": [
1360
+ {
1361
+ "type": "string",
1362
+ "maxLength": 255
1363
+ },
1364
+ {
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "$in": {
1368
+ "type": "array",
1369
+ "maxItems": 100,
1370
+ "items": {
1371
+ "type": "string",
1372
+ "maxLength": 255
1373
+ }
1374
+ }
1375
+ },
1376
+ "required": [
1377
+ "$in"
1378
+ ],
1379
+ "additionalProperties": false
1380
+ },
1381
+ {
1382
+ "type": "object",
1383
+ "properties": {
1384
+ "$nin": {
1385
+ "type": "array",
1386
+ "maxItems": 100,
1387
+ "items": {
1388
+ "type": "string",
1389
+ "maxLength": 255
1390
+ }
1391
+ }
1392
+ },
1393
+ "required": [
1394
+ "$nin"
1395
+ ],
1396
+ "additionalProperties": false
1397
+ }
1398
+ ]
1209
1399
  }
1210
1400
  },
1211
1401
  "additionalProperties": false,
@@ -1215,8 +1405,46 @@
1215
1405
  "type": "object",
1216
1406
  "patternProperties": {
1217
1407
  "^[0-9a-zA-Z_-]{1,255}": {
1218
- "type": "string",
1219
- "maxLength": 255
1408
+ "oneOf": [
1409
+ {
1410
+ "type": "string",
1411
+ "maxLength": 255
1412
+ },
1413
+ {
1414
+ "type": "object",
1415
+ "properties": {
1416
+ "$in": {
1417
+ "type": "array",
1418
+ "maxItems": 100,
1419
+ "items": {
1420
+ "type": "string",
1421
+ "maxLength": 255
1422
+ }
1423
+ }
1424
+ },
1425
+ "required": [
1426
+ "$in"
1427
+ ],
1428
+ "additionalProperties": false
1429
+ },
1430
+ {
1431
+ "type": "object",
1432
+ "properties": {
1433
+ "$nin": {
1434
+ "type": "array",
1435
+ "maxItems": 100,
1436
+ "items": {
1437
+ "type": "string",
1438
+ "maxLength": 255
1439
+ }
1440
+ }
1441
+ },
1442
+ "required": [
1443
+ "$nin"
1444
+ ],
1445
+ "additionalProperties": false
1446
+ }
1447
+ ]
1220
1448
  }
1221
1449
  },
1222
1450
  "additionalProperties": false
@@ -1238,12 +1466,88 @@
1238
1466
  "type": "object",
1239
1467
  "properties": {
1240
1468
  "$tagKey": {
1241
- "type": "string",
1242
- "maxLength": 255
1469
+ "oneOf": [
1470
+ {
1471
+ "type": "string",
1472
+ "maxLength": 255
1473
+ },
1474
+ {
1475
+ "type": "object",
1476
+ "properties": {
1477
+ "$in": {
1478
+ "type": "array",
1479
+ "maxItems": 100,
1480
+ "items": {
1481
+ "type": "string",
1482
+ "maxLength": 255
1483
+ }
1484
+ }
1485
+ },
1486
+ "required": [
1487
+ "$in"
1488
+ ],
1489
+ "additionalProperties": false
1490
+ },
1491
+ {
1492
+ "type": "object",
1493
+ "properties": {
1494
+ "$nin": {
1495
+ "type": "array",
1496
+ "maxItems": 100,
1497
+ "items": {
1498
+ "type": "string",
1499
+ "maxLength": 255
1500
+ }
1501
+ }
1502
+ },
1503
+ "required": [
1504
+ "$nin"
1505
+ ],
1506
+ "additionalProperties": false
1507
+ }
1508
+ ]
1243
1509
  },
1244
1510
  "$tagValue": {
1245
- "type": "string",
1246
- "maxLength": 255
1511
+ "oneOf": [
1512
+ {
1513
+ "type": "string",
1514
+ "maxLength": 255
1515
+ },
1516
+ {
1517
+ "type": "object",
1518
+ "properties": {
1519
+ "$in": {
1520
+ "type": "array",
1521
+ "maxItems": 100,
1522
+ "items": {
1523
+ "type": "string",
1524
+ "maxLength": 255
1525
+ }
1526
+ }
1527
+ },
1528
+ "required": [
1529
+ "$in"
1530
+ ],
1531
+ "additionalProperties": false
1532
+ },
1533
+ {
1534
+ "type": "object",
1535
+ "properties": {
1536
+ "$nin": {
1537
+ "type": "array",
1538
+ "maxItems": 100,
1539
+ "items": {
1540
+ "type": "string",
1541
+ "maxLength": 255
1542
+ }
1543
+ }
1544
+ },
1545
+ "required": [
1546
+ "$nin"
1547
+ ],
1548
+ "additionalProperties": false
1549
+ }
1550
+ ]
1247
1551
  }
1248
1552
  },
1249
1553
  "additionalProperties": false,
@@ -1253,8 +1557,46 @@
1253
1557
  "type": "object",
1254
1558
  "patternProperties": {
1255
1559
  "^[0-9a-zA-Z_-]{1,255}": {
1256
- "type": "string",
1257
- "maxLength": 255
1560
+ "oneOf": [
1561
+ {
1562
+ "type": "string",
1563
+ "maxLength": 255
1564
+ },
1565
+ {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "$in": {
1569
+ "type": "array",
1570
+ "maxItems": 100,
1571
+ "items": {
1572
+ "type": "string",
1573
+ "maxLength": 255
1574
+ }
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "$in"
1579
+ ],
1580
+ "additionalProperties": false
1581
+ },
1582
+ {
1583
+ "type": "object",
1584
+ "properties": {
1585
+ "$nin": {
1586
+ "type": "array",
1587
+ "maxItems": 100,
1588
+ "items": {
1589
+ "type": "string",
1590
+ "maxLength": 255
1591
+ }
1592
+ }
1593
+ },
1594
+ "required": [
1595
+ "$nin"
1596
+ ],
1597
+ "additionalProperties": false
1598
+ }
1599
+ ]
1258
1600
  }
1259
1601
  },
1260
1602
  "additionalProperties": false