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
@@ -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