losant_rest 1.19.8 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/docs/_schemas.md +9774 -1641
  4. data/lib/platform_rest/client.rb +2 -2
  5. data/lib/platform_rest/version.rb +1 -1
  6. data/losant_rest.gemspec +2 -2
  7. data/schemas/advancedApplicationKeyQuery.json +360 -18
  8. data/schemas/advancedDeviceQuery.json +360 -18
  9. data/schemas/advancedEventQuery.json +360 -18
  10. data/schemas/advancedExperienceGroupQuery.json +360 -18
  11. data/schemas/advancedExperienceUserQuery.json +360 -18
  12. data/schemas/advancedInstanceOrgQuery.json +360 -18
  13. data/schemas/apiTokenPost.json +1 -1
  14. data/schemas/application.json +28 -4
  15. data/schemas/applicationCreationByTemplateResult.json +28 -4
  16. data/schemas/applicationDashboardPost.json +2 -1
  17. data/schemas/applicationTemplate.json +4 -0
  18. data/schemas/applicationTemplates.json +4 -0
  19. data/schemas/applications.json +28 -4
  20. data/schemas/credential.json +7 -1
  21. data/schemas/credentialLinkedResources.json +336 -18
  22. data/schemas/credentialPatch.json +11 -0
  23. data/schemas/credentialPost.json +16 -1
  24. data/schemas/credentials.json +7 -1
  25. data/schemas/dashboard.json +2 -1
  26. data/schemas/dashboardPatch.json +2 -1
  27. data/schemas/dashboardPost.json +2 -1
  28. data/schemas/dashboards.json +2 -1
  29. data/schemas/dataExport.json +360 -18
  30. data/schemas/devicesDeletePost.json +360 -18
  31. data/schemas/devicesExportPayloadCountPost.json +360 -18
  32. data/schemas/devicesExportPost.json +360 -18
  33. data/schemas/devicesPatch.json +360 -18
  34. data/schemas/devicesRemoveDataPost.json +360 -18
  35. data/schemas/eventsExport.json +360 -18
  36. data/schemas/experienceLinkedResources.json +336 -18
  37. data/schemas/flow.json +112 -6
  38. data/schemas/flowPatch.json +112 -6
  39. data/schemas/flowPost.json +112 -6
  40. data/schemas/flowVersion.json +224 -12
  41. data/schemas/flowVersionPost.json +112 -6
  42. data/schemas/flowVersions.json +224 -12
  43. data/schemas/flows.json +112 -6
  44. data/schemas/flowsImportPost.json +224 -12
  45. data/schemas/flowsImportResult.json +336 -18
  46. data/schemas/githubLogin.json +1 -1
  47. data/schemas/historicalSummaries.json +56 -8
  48. data/schemas/historicalSummary.json +56 -8
  49. data/schemas/instanceCustomNodePatch.json +10 -6
  50. data/schemas/instanceCustomNodePost.json +10 -6
  51. data/schemas/instanceOrg.json +63 -4
  52. data/schemas/instanceOrgs.json +63 -4
  53. data/schemas/instanceSandbox.json +28 -4
  54. data/schemas/instanceSandboxes.json +28 -4
  55. data/schemas/lastValueQuery.json +360 -18
  56. data/schemas/me.json +28 -4
  57. data/schemas/multiDeviceCommand.json +360 -18
  58. data/schemas/org.json +28 -4
  59. data/schemas/orgs.json +28 -4
  60. data/schemas/payloadStats.json +28 -4
  61. data/schemas/samlResponse.json +1 -1
  62. data/schemas/timeSeriesQuery.json +360 -18
  63. data/schemas/userCredentials.json +1 -1
  64. data/schemas/userPost.json +1 -1
  65. data/schemas/webhook.json +13 -0
  66. data/schemas/webhookPatch.json +13 -0
  67. data/schemas/webhookPost.json +13 -0
  68. data/schemas/webhooks.json +13 -0
  69. metadata +5 -5
@@ -1191,12 +1191,88 @@
1191
1191
  "type": "object",
1192
1192
  "properties": {
1193
1193
  "$tagKey": {
1194
- "type": "string",
1195
- "maxLength": 255
1194
+ "oneOf": [
1195
+ {
1196
+ "type": "string",
1197
+ "maxLength": 255
1198
+ },
1199
+ {
1200
+ "type": "object",
1201
+ "properties": {
1202
+ "$in": {
1203
+ "type": "array",
1204
+ "maxItems": 100,
1205
+ "items": {
1206
+ "type": "string",
1207
+ "maxLength": 255
1208
+ }
1209
+ }
1210
+ },
1211
+ "required": [
1212
+ "$in"
1213
+ ],
1214
+ "additionalProperties": false
1215
+ },
1216
+ {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "$nin": {
1220
+ "type": "array",
1221
+ "maxItems": 100,
1222
+ "items": {
1223
+ "type": "string",
1224
+ "maxLength": 255
1225
+ }
1226
+ }
1227
+ },
1228
+ "required": [
1229
+ "$nin"
1230
+ ],
1231
+ "additionalProperties": false
1232
+ }
1233
+ ]
1196
1234
  },
1197
1235
  "$tagValue": {
1198
- "type": "string",
1199
- "maxLength": 255
1236
+ "oneOf": [
1237
+ {
1238
+ "type": "string",
1239
+ "maxLength": 255
1240
+ },
1241
+ {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "$in": {
1245
+ "type": "array",
1246
+ "maxItems": 100,
1247
+ "items": {
1248
+ "type": "string",
1249
+ "maxLength": 255
1250
+ }
1251
+ }
1252
+ },
1253
+ "required": [
1254
+ "$in"
1255
+ ],
1256
+ "additionalProperties": false
1257
+ },
1258
+ {
1259
+ "type": "object",
1260
+ "properties": {
1261
+ "$nin": {
1262
+ "type": "array",
1263
+ "maxItems": 100,
1264
+ "items": {
1265
+ "type": "string",
1266
+ "maxLength": 255
1267
+ }
1268
+ }
1269
+ },
1270
+ "required": [
1271
+ "$nin"
1272
+ ],
1273
+ "additionalProperties": false
1274
+ }
1275
+ ]
1200
1276
  }
1201
1277
  },
1202
1278
  "additionalProperties": false,
@@ -1206,8 +1282,46 @@
1206
1282
  "type": "object",
1207
1283
  "patternProperties": {
1208
1284
  "^[0-9a-zA-Z_-]{1,255}": {
1209
- "type": "string",
1210
- "maxLength": 255
1285
+ "oneOf": [
1286
+ {
1287
+ "type": "string",
1288
+ "maxLength": 255
1289
+ },
1290
+ {
1291
+ "type": "object",
1292
+ "properties": {
1293
+ "$in": {
1294
+ "type": "array",
1295
+ "maxItems": 100,
1296
+ "items": {
1297
+ "type": "string",
1298
+ "maxLength": 255
1299
+ }
1300
+ }
1301
+ },
1302
+ "required": [
1303
+ "$in"
1304
+ ],
1305
+ "additionalProperties": false
1306
+ },
1307
+ {
1308
+ "type": "object",
1309
+ "properties": {
1310
+ "$nin": {
1311
+ "type": "array",
1312
+ "maxItems": 100,
1313
+ "items": {
1314
+ "type": "string",
1315
+ "maxLength": 255
1316
+ }
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "$nin"
1321
+ ],
1322
+ "additionalProperties": false
1323
+ }
1324
+ ]
1211
1325
  }
1212
1326
  },
1213
1327
  "additionalProperties": false
@@ -1223,12 +1337,88 @@
1223
1337
  "type": "object",
1224
1338
  "properties": {
1225
1339
  "$tagKey": {
1226
- "type": "string",
1227
- "maxLength": 255
1340
+ "oneOf": [
1341
+ {
1342
+ "type": "string",
1343
+ "maxLength": 255
1344
+ },
1345
+ {
1346
+ "type": "object",
1347
+ "properties": {
1348
+ "$in": {
1349
+ "type": "array",
1350
+ "maxItems": 100,
1351
+ "items": {
1352
+ "type": "string",
1353
+ "maxLength": 255
1354
+ }
1355
+ }
1356
+ },
1357
+ "required": [
1358
+ "$in"
1359
+ ],
1360
+ "additionalProperties": false
1361
+ },
1362
+ {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "$nin": {
1366
+ "type": "array",
1367
+ "maxItems": 100,
1368
+ "items": {
1369
+ "type": "string",
1370
+ "maxLength": 255
1371
+ }
1372
+ }
1373
+ },
1374
+ "required": [
1375
+ "$nin"
1376
+ ],
1377
+ "additionalProperties": false
1378
+ }
1379
+ ]
1228
1380
  },
1229
1381
  "$tagValue": {
1230
- "type": "string",
1231
- "maxLength": 255
1382
+ "oneOf": [
1383
+ {
1384
+ "type": "string",
1385
+ "maxLength": 255
1386
+ },
1387
+ {
1388
+ "type": "object",
1389
+ "properties": {
1390
+ "$in": {
1391
+ "type": "array",
1392
+ "maxItems": 100,
1393
+ "items": {
1394
+ "type": "string",
1395
+ "maxLength": 255
1396
+ }
1397
+ }
1398
+ },
1399
+ "required": [
1400
+ "$in"
1401
+ ],
1402
+ "additionalProperties": false
1403
+ },
1404
+ {
1405
+ "type": "object",
1406
+ "properties": {
1407
+ "$nin": {
1408
+ "type": "array",
1409
+ "maxItems": 100,
1410
+ "items": {
1411
+ "type": "string",
1412
+ "maxLength": 255
1413
+ }
1414
+ }
1415
+ },
1416
+ "required": [
1417
+ "$nin"
1418
+ ],
1419
+ "additionalProperties": false
1420
+ }
1421
+ ]
1232
1422
  }
1233
1423
  },
1234
1424
  "additionalProperties": false,
@@ -1238,8 +1428,46 @@
1238
1428
  "type": "object",
1239
1429
  "patternProperties": {
1240
1430
  "^[0-9a-zA-Z_-]{1,255}": {
1241
- "type": "string",
1242
- "maxLength": 255
1431
+ "oneOf": [
1432
+ {
1433
+ "type": "string",
1434
+ "maxLength": 255
1435
+ },
1436
+ {
1437
+ "type": "object",
1438
+ "properties": {
1439
+ "$in": {
1440
+ "type": "array",
1441
+ "maxItems": 100,
1442
+ "items": {
1443
+ "type": "string",
1444
+ "maxLength": 255
1445
+ }
1446
+ }
1447
+ },
1448
+ "required": [
1449
+ "$in"
1450
+ ],
1451
+ "additionalProperties": false
1452
+ },
1453
+ {
1454
+ "type": "object",
1455
+ "properties": {
1456
+ "$nin": {
1457
+ "type": "array",
1458
+ "maxItems": 100,
1459
+ "items": {
1460
+ "type": "string",
1461
+ "maxLength": 255
1462
+ }
1463
+ }
1464
+ },
1465
+ "required": [
1466
+ "$nin"
1467
+ ],
1468
+ "additionalProperties": false
1469
+ }
1470
+ ]
1243
1471
  }
1244
1472
  },
1245
1473
  "additionalProperties": false
@@ -1261,12 +1489,88 @@
1261
1489
  "type": "object",
1262
1490
  "properties": {
1263
1491
  "$tagKey": {
1264
- "type": "string",
1265
- "maxLength": 255
1492
+ "oneOf": [
1493
+ {
1494
+ "type": "string",
1495
+ "maxLength": 255
1496
+ },
1497
+ {
1498
+ "type": "object",
1499
+ "properties": {
1500
+ "$in": {
1501
+ "type": "array",
1502
+ "maxItems": 100,
1503
+ "items": {
1504
+ "type": "string",
1505
+ "maxLength": 255
1506
+ }
1507
+ }
1508
+ },
1509
+ "required": [
1510
+ "$in"
1511
+ ],
1512
+ "additionalProperties": false
1513
+ },
1514
+ {
1515
+ "type": "object",
1516
+ "properties": {
1517
+ "$nin": {
1518
+ "type": "array",
1519
+ "maxItems": 100,
1520
+ "items": {
1521
+ "type": "string",
1522
+ "maxLength": 255
1523
+ }
1524
+ }
1525
+ },
1526
+ "required": [
1527
+ "$nin"
1528
+ ],
1529
+ "additionalProperties": false
1530
+ }
1531
+ ]
1266
1532
  },
1267
1533
  "$tagValue": {
1268
- "type": "string",
1269
- "maxLength": 255
1534
+ "oneOf": [
1535
+ {
1536
+ "type": "string",
1537
+ "maxLength": 255
1538
+ },
1539
+ {
1540
+ "type": "object",
1541
+ "properties": {
1542
+ "$in": {
1543
+ "type": "array",
1544
+ "maxItems": 100,
1545
+ "items": {
1546
+ "type": "string",
1547
+ "maxLength": 255
1548
+ }
1549
+ }
1550
+ },
1551
+ "required": [
1552
+ "$in"
1553
+ ],
1554
+ "additionalProperties": false
1555
+ },
1556
+ {
1557
+ "type": "object",
1558
+ "properties": {
1559
+ "$nin": {
1560
+ "type": "array",
1561
+ "maxItems": 100,
1562
+ "items": {
1563
+ "type": "string",
1564
+ "maxLength": 255
1565
+ }
1566
+ }
1567
+ },
1568
+ "required": [
1569
+ "$nin"
1570
+ ],
1571
+ "additionalProperties": false
1572
+ }
1573
+ ]
1270
1574
  }
1271
1575
  },
1272
1576
  "additionalProperties": false,
@@ -1276,8 +1580,46 @@
1276
1580
  "type": "object",
1277
1581
  "patternProperties": {
1278
1582
  "^[0-9a-zA-Z_-]{1,255}": {
1279
- "type": "string",
1280
- "maxLength": 255
1583
+ "oneOf": [
1584
+ {
1585
+ "type": "string",
1586
+ "maxLength": 255
1587
+ },
1588
+ {
1589
+ "type": "object",
1590
+ "properties": {
1591
+ "$in": {
1592
+ "type": "array",
1593
+ "maxItems": 100,
1594
+ "items": {
1595
+ "type": "string",
1596
+ "maxLength": 255
1597
+ }
1598
+ }
1599
+ },
1600
+ "required": [
1601
+ "$in"
1602
+ ],
1603
+ "additionalProperties": false
1604
+ },
1605
+ {
1606
+ "type": "object",
1607
+ "properties": {
1608
+ "$nin": {
1609
+ "type": "array",
1610
+ "maxItems": 100,
1611
+ "items": {
1612
+ "type": "string",
1613
+ "maxLength": 255
1614
+ }
1615
+ }
1616
+ },
1617
+ "required": [
1618
+ "$nin"
1619
+ ],
1620
+ "additionalProperties": false
1621
+ }
1622
+ ]
1281
1623
  }
1282
1624
  },
1283
1625
  "additionalProperties": false