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
@@ -1183,12 +1183,88 @@
1183
1183
  "type": "object",
1184
1184
  "properties": {
1185
1185
  "$tagKey": {
1186
- "type": "string",
1187
- "maxLength": 255
1186
+ "oneOf": [
1187
+ {
1188
+ "type": "string",
1189
+ "maxLength": 255
1190
+ },
1191
+ {
1192
+ "type": "object",
1193
+ "properties": {
1194
+ "$in": {
1195
+ "type": "array",
1196
+ "maxItems": 100,
1197
+ "items": {
1198
+ "type": "string",
1199
+ "maxLength": 255
1200
+ }
1201
+ }
1202
+ },
1203
+ "required": [
1204
+ "$in"
1205
+ ],
1206
+ "additionalProperties": false
1207
+ },
1208
+ {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "$nin": {
1212
+ "type": "array",
1213
+ "maxItems": 100,
1214
+ "items": {
1215
+ "type": "string",
1216
+ "maxLength": 255
1217
+ }
1218
+ }
1219
+ },
1220
+ "required": [
1221
+ "$nin"
1222
+ ],
1223
+ "additionalProperties": false
1224
+ }
1225
+ ]
1188
1226
  },
1189
1227
  "$tagValue": {
1190
- "type": "string",
1191
- "maxLength": 255
1228
+ "oneOf": [
1229
+ {
1230
+ "type": "string",
1231
+ "maxLength": 255
1232
+ },
1233
+ {
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "$in": {
1237
+ "type": "array",
1238
+ "maxItems": 100,
1239
+ "items": {
1240
+ "type": "string",
1241
+ "maxLength": 255
1242
+ }
1243
+ }
1244
+ },
1245
+ "required": [
1246
+ "$in"
1247
+ ],
1248
+ "additionalProperties": false
1249
+ },
1250
+ {
1251
+ "type": "object",
1252
+ "properties": {
1253
+ "$nin": {
1254
+ "type": "array",
1255
+ "maxItems": 100,
1256
+ "items": {
1257
+ "type": "string",
1258
+ "maxLength": 255
1259
+ }
1260
+ }
1261
+ },
1262
+ "required": [
1263
+ "$nin"
1264
+ ],
1265
+ "additionalProperties": false
1266
+ }
1267
+ ]
1192
1268
  }
1193
1269
  },
1194
1270
  "additionalProperties": false,
@@ -1198,8 +1274,46 @@
1198
1274
  "type": "object",
1199
1275
  "patternProperties": {
1200
1276
  "^[0-9a-zA-Z_-]{1,255}": {
1201
- "type": "string",
1202
- "maxLength": 255
1277
+ "oneOf": [
1278
+ {
1279
+ "type": "string",
1280
+ "maxLength": 255
1281
+ },
1282
+ {
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "$in": {
1286
+ "type": "array",
1287
+ "maxItems": 100,
1288
+ "items": {
1289
+ "type": "string",
1290
+ "maxLength": 255
1291
+ }
1292
+ }
1293
+ },
1294
+ "required": [
1295
+ "$in"
1296
+ ],
1297
+ "additionalProperties": false
1298
+ },
1299
+ {
1300
+ "type": "object",
1301
+ "properties": {
1302
+ "$nin": {
1303
+ "type": "array",
1304
+ "maxItems": 100,
1305
+ "items": {
1306
+ "type": "string",
1307
+ "maxLength": 255
1308
+ }
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "$nin"
1313
+ ],
1314
+ "additionalProperties": false
1315
+ }
1316
+ ]
1203
1317
  }
1204
1318
  },
1205
1319
  "additionalProperties": false
@@ -1215,12 +1329,88 @@
1215
1329
  "type": "object",
1216
1330
  "properties": {
1217
1331
  "$tagKey": {
1218
- "type": "string",
1219
- "maxLength": 255
1332
+ "oneOf": [
1333
+ {
1334
+ "type": "string",
1335
+ "maxLength": 255
1336
+ },
1337
+ {
1338
+ "type": "object",
1339
+ "properties": {
1340
+ "$in": {
1341
+ "type": "array",
1342
+ "maxItems": 100,
1343
+ "items": {
1344
+ "type": "string",
1345
+ "maxLength": 255
1346
+ }
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "$in"
1351
+ ],
1352
+ "additionalProperties": false
1353
+ },
1354
+ {
1355
+ "type": "object",
1356
+ "properties": {
1357
+ "$nin": {
1358
+ "type": "array",
1359
+ "maxItems": 100,
1360
+ "items": {
1361
+ "type": "string",
1362
+ "maxLength": 255
1363
+ }
1364
+ }
1365
+ },
1366
+ "required": [
1367
+ "$nin"
1368
+ ],
1369
+ "additionalProperties": false
1370
+ }
1371
+ ]
1220
1372
  },
1221
1373
  "$tagValue": {
1222
- "type": "string",
1223
- "maxLength": 255
1374
+ "oneOf": [
1375
+ {
1376
+ "type": "string",
1377
+ "maxLength": 255
1378
+ },
1379
+ {
1380
+ "type": "object",
1381
+ "properties": {
1382
+ "$in": {
1383
+ "type": "array",
1384
+ "maxItems": 100,
1385
+ "items": {
1386
+ "type": "string",
1387
+ "maxLength": 255
1388
+ }
1389
+ }
1390
+ },
1391
+ "required": [
1392
+ "$in"
1393
+ ],
1394
+ "additionalProperties": false
1395
+ },
1396
+ {
1397
+ "type": "object",
1398
+ "properties": {
1399
+ "$nin": {
1400
+ "type": "array",
1401
+ "maxItems": 100,
1402
+ "items": {
1403
+ "type": "string",
1404
+ "maxLength": 255
1405
+ }
1406
+ }
1407
+ },
1408
+ "required": [
1409
+ "$nin"
1410
+ ],
1411
+ "additionalProperties": false
1412
+ }
1413
+ ]
1224
1414
  }
1225
1415
  },
1226
1416
  "additionalProperties": false,
@@ -1230,8 +1420,46 @@
1230
1420
  "type": "object",
1231
1421
  "patternProperties": {
1232
1422
  "^[0-9a-zA-Z_-]{1,255}": {
1233
- "type": "string",
1234
- "maxLength": 255
1423
+ "oneOf": [
1424
+ {
1425
+ "type": "string",
1426
+ "maxLength": 255
1427
+ },
1428
+ {
1429
+ "type": "object",
1430
+ "properties": {
1431
+ "$in": {
1432
+ "type": "array",
1433
+ "maxItems": 100,
1434
+ "items": {
1435
+ "type": "string",
1436
+ "maxLength": 255
1437
+ }
1438
+ }
1439
+ },
1440
+ "required": [
1441
+ "$in"
1442
+ ],
1443
+ "additionalProperties": false
1444
+ },
1445
+ {
1446
+ "type": "object",
1447
+ "properties": {
1448
+ "$nin": {
1449
+ "type": "array",
1450
+ "maxItems": 100,
1451
+ "items": {
1452
+ "type": "string",
1453
+ "maxLength": 255
1454
+ }
1455
+ }
1456
+ },
1457
+ "required": [
1458
+ "$nin"
1459
+ ],
1460
+ "additionalProperties": false
1461
+ }
1462
+ ]
1235
1463
  }
1236
1464
  },
1237
1465
  "additionalProperties": false
@@ -1253,12 +1481,88 @@
1253
1481
  "type": "object",
1254
1482
  "properties": {
1255
1483
  "$tagKey": {
1256
- "type": "string",
1257
- "maxLength": 255
1484
+ "oneOf": [
1485
+ {
1486
+ "type": "string",
1487
+ "maxLength": 255
1488
+ },
1489
+ {
1490
+ "type": "object",
1491
+ "properties": {
1492
+ "$in": {
1493
+ "type": "array",
1494
+ "maxItems": 100,
1495
+ "items": {
1496
+ "type": "string",
1497
+ "maxLength": 255
1498
+ }
1499
+ }
1500
+ },
1501
+ "required": [
1502
+ "$in"
1503
+ ],
1504
+ "additionalProperties": false
1505
+ },
1506
+ {
1507
+ "type": "object",
1508
+ "properties": {
1509
+ "$nin": {
1510
+ "type": "array",
1511
+ "maxItems": 100,
1512
+ "items": {
1513
+ "type": "string",
1514
+ "maxLength": 255
1515
+ }
1516
+ }
1517
+ },
1518
+ "required": [
1519
+ "$nin"
1520
+ ],
1521
+ "additionalProperties": false
1522
+ }
1523
+ ]
1258
1524
  },
1259
1525
  "$tagValue": {
1260
- "type": "string",
1261
- "maxLength": 255
1526
+ "oneOf": [
1527
+ {
1528
+ "type": "string",
1529
+ "maxLength": 255
1530
+ },
1531
+ {
1532
+ "type": "object",
1533
+ "properties": {
1534
+ "$in": {
1535
+ "type": "array",
1536
+ "maxItems": 100,
1537
+ "items": {
1538
+ "type": "string",
1539
+ "maxLength": 255
1540
+ }
1541
+ }
1542
+ },
1543
+ "required": [
1544
+ "$in"
1545
+ ],
1546
+ "additionalProperties": false
1547
+ },
1548
+ {
1549
+ "type": "object",
1550
+ "properties": {
1551
+ "$nin": {
1552
+ "type": "array",
1553
+ "maxItems": 100,
1554
+ "items": {
1555
+ "type": "string",
1556
+ "maxLength": 255
1557
+ }
1558
+ }
1559
+ },
1560
+ "required": [
1561
+ "$nin"
1562
+ ],
1563
+ "additionalProperties": false
1564
+ }
1565
+ ]
1262
1566
  }
1263
1567
  },
1264
1568
  "additionalProperties": false,
@@ -1268,8 +1572,46 @@
1268
1572
  "type": "object",
1269
1573
  "patternProperties": {
1270
1574
  "^[0-9a-zA-Z_-]{1,255}": {
1271
- "type": "string",
1272
- "maxLength": 255
1575
+ "oneOf": [
1576
+ {
1577
+ "type": "string",
1578
+ "maxLength": 255
1579
+ },
1580
+ {
1581
+ "type": "object",
1582
+ "properties": {
1583
+ "$in": {
1584
+ "type": "array",
1585
+ "maxItems": 100,
1586
+ "items": {
1587
+ "type": "string",
1588
+ "maxLength": 255
1589
+ }
1590
+ }
1591
+ },
1592
+ "required": [
1593
+ "$in"
1594
+ ],
1595
+ "additionalProperties": false
1596
+ },
1597
+ {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "$nin": {
1601
+ "type": "array",
1602
+ "maxItems": 100,
1603
+ "items": {
1604
+ "type": "string",
1605
+ "maxLength": 255
1606
+ }
1607
+ }
1608
+ },
1609
+ "required": [
1610
+ "$nin"
1611
+ ],
1612
+ "additionalProperties": false
1613
+ }
1614
+ ]
1273
1615
  }
1274
1616
  },
1275
1617
  "additionalProperties": false
@@ -607,6 +607,7 @@
607
607
  "type": "string",
608
608
  "enum": [
609
609
  "customNodeStart",
610
+ "deviceCreate",
610
611
  "deviceCommand",
611
612
  "deviceIdConnect",
612
613
  "deviceTagConnect",
@@ -641,6 +642,7 @@
641
642
  "type": "string",
642
643
  "enum": [
643
644
  "customNodeStart",
645
+ "deviceCreate",
644
646
  "deviceCommand",
645
647
  "deviceIdsTagsConnect",
646
648
  "deviceIdsTagsDisconnect",
@@ -3594,6 +3596,7 @@
3594
3596
  "type": "string",
3595
3597
  "enum": [
3596
3598
  "customNodeStart",
3599
+ "deviceCreate",
3597
3600
  "deviceCommand",
3598
3601
  "deviceIdConnect",
3599
3602
  "deviceTagConnect",
@@ -3628,6 +3631,7 @@
3628
3631
  "type": "string",
3629
3632
  "enum": [
3630
3633
  "customNodeStart",
3634
+ "deviceCreate",
3631
3635
  "deviceCommand",
3632
3636
  "deviceIdsTagsConnect",
3633
3637
  "deviceIdsTagsDisconnect",
@@ -6490,6 +6494,7 @@
6490
6494
  "type": "string",
6491
6495
  "enum": [
6492
6496
  "customNodeStart",
6497
+ "deviceCreate",
6493
6498
  "deviceCommand",
6494
6499
  "deviceIdConnect",
6495
6500
  "deviceTagConnect",
@@ -6524,6 +6529,7 @@
6524
6529
  "type": "string",
6525
6530
  "enum": [
6526
6531
  "customNodeStart",
6532
+ "deviceCreate",
6527
6533
  "deviceCommand",
6528
6534
  "deviceIdsTagsConnect",
6529
6535
  "deviceIdsTagsDisconnect",
data/schemas/flow.json CHANGED
@@ -216,6 +216,7 @@
216
216
  "type": "string",
217
217
  "enum": [
218
218
  "customNodeStart",
219
+ "deviceCreate",
219
220
  "deviceCommand",
220
221
  "deviceIdConnect",
221
222
  "deviceTagConnect",
@@ -250,6 +251,7 @@
250
251
  "type": "string",
251
252
  "enum": [
252
253
  "customNodeStart",
254
+ "deviceCreate",
253
255
  "deviceCommand",
254
256
  "deviceIdsTagsConnect",
255
257
  "deviceIdsTagsDisconnect",
@@ -173,6 +173,7 @@
173
173
  "type": "string",
174
174
  "enum": [
175
175
  "customNodeStart",
176
+ "deviceCreate",
176
177
  "deviceCommand",
177
178
  "deviceIdConnect",
178
179
  "deviceTagConnect",
@@ -207,6 +208,7 @@
207
208
  "type": "string",
208
209
  "enum": [
209
210
  "customNodeStart",
211
+ "deviceCreate",
210
212
  "deviceCommand",
211
213
  "deviceIdsTagsConnect",
212
214
  "deviceIdsTagsDisconnect",
@@ -162,6 +162,7 @@
162
162
  "type": "string",
163
163
  "enum": [
164
164
  "customNodeStart",
165
+ "deviceCreate",
165
166
  "deviceCommand",
166
167
  "deviceIdConnect",
167
168
  "deviceTagConnect",
@@ -196,6 +197,7 @@
196
197
  "type": "string",
197
198
  "enum": [
198
199
  "customNodeStart",
200
+ "deviceCreate",
199
201
  "deviceCommand",
200
202
  "deviceIdsTagsConnect",
201
203
  "deviceIdsTagsDisconnect",
@@ -191,6 +191,7 @@
191
191
  "type": "string",
192
192
  "enum": [
193
193
  "customNodeStart",
194
+ "deviceCreate",
194
195
  "deviceCommand",
195
196
  "deviceIdConnect",
196
197
  "deviceTagConnect",
@@ -225,6 +226,7 @@
225
226
  "type": "string",
226
227
  "enum": [
227
228
  "customNodeStart",
229
+ "deviceCreate",
228
230
  "deviceCommand",
229
231
  "deviceIdsTagsConnect",
230
232
  "deviceIdsTagsDisconnect",
@@ -3087,6 +3089,7 @@
3087
3089
  "type": "string",
3088
3090
  "enum": [
3089
3091
  "customNodeStart",
3092
+ "deviceCreate",
3090
3093
  "deviceCommand",
3091
3094
  "deviceIdConnect",
3092
3095
  "deviceTagConnect",
@@ -3121,6 +3124,7 @@
3121
3124
  "type": "string",
3122
3125
  "enum": [
3123
3126
  "customNodeStart",
3127
+ "deviceCreate",
3124
3128
  "deviceCommand",
3125
3129
  "deviceIdsTagsConnect",
3126
3130
  "deviceIdsTagsDisconnect",
@@ -131,6 +131,7 @@
131
131
  "type": "string",
132
132
  "enum": [
133
133
  "customNodeStart",
134
+ "deviceCreate",
134
135
  "deviceCommand",
135
136
  "deviceIdConnect",
136
137
  "deviceTagConnect",
@@ -165,6 +166,7 @@
165
166
  "type": "string",
166
167
  "enum": [
167
168
  "customNodeStart",
169
+ "deviceCreate",
168
170
  "deviceCommand",
169
171
  "deviceIdsTagsConnect",
170
172
  "deviceIdsTagsDisconnect",
@@ -198,6 +198,7 @@
198
198
  "type": "string",
199
199
  "enum": [
200
200
  "customNodeStart",
201
+ "deviceCreate",
201
202
  "deviceCommand",
202
203
  "deviceIdConnect",
203
204
  "deviceTagConnect",
@@ -232,6 +233,7 @@
232
233
  "type": "string",
233
234
  "enum": [
234
235
  "customNodeStart",
236
+ "deviceCreate",
235
237
  "deviceCommand",
236
238
  "deviceIdsTagsConnect",
237
239
  "deviceIdsTagsDisconnect",
@@ -3094,6 +3096,7 @@
3094
3096
  "type": "string",
3095
3097
  "enum": [
3096
3098
  "customNodeStart",
3099
+ "deviceCreate",
3097
3100
  "deviceCommand",
3098
3101
  "deviceIdConnect",
3099
3102
  "deviceTagConnect",
@@ -3128,6 +3131,7 @@
3128
3131
  "type": "string",
3129
3132
  "enum": [
3130
3133
  "customNodeStart",
3134
+ "deviceCreate",
3131
3135
  "deviceCommand",
3132
3136
  "deviceIdsTagsConnect",
3133
3137
  "deviceIdsTagsDisconnect",
data/schemas/flows.json CHANGED
@@ -223,6 +223,7 @@
223
223
  "type": "string",
224
224
  "enum": [
225
225
  "customNodeStart",
226
+ "deviceCreate",
226
227
  "deviceCommand",
227
228
  "deviceIdConnect",
228
229
  "deviceTagConnect",
@@ -257,6 +258,7 @@
257
258
  "type": "string",
258
259
  "enum": [
259
260
  "customNodeStart",
261
+ "deviceCreate",
260
262
  "deviceCommand",
261
263
  "deviceIdsTagsConnect",
262
264
  "deviceIdsTagsDisconnect",
@@ -176,6 +176,7 @@
176
176
  "type": "string",
177
177
  "enum": [
178
178
  "customNodeStart",
179
+ "deviceCreate",
179
180
  "deviceCommand",
180
181
  "deviceIdConnect",
181
182
  "deviceTagConnect",
@@ -210,6 +211,7 @@
210
211
  "type": "string",
211
212
  "enum": [
212
213
  "customNodeStart",
214
+ "deviceCreate",
213
215
  "deviceCommand",
214
216
  "deviceIdsTagsConnect",
215
217
  "deviceIdsTagsDisconnect",
@@ -3061,6 +3063,7 @@
3061
3063
  "type": "string",
3062
3064
  "enum": [
3063
3065
  "customNodeStart",
3066
+ "deviceCreate",
3064
3067
  "deviceCommand",
3065
3068
  "deviceIdConnect",
3066
3069
  "deviceTagConnect",
@@ -3095,6 +3098,7 @@
3095
3098
  "type": "string",
3096
3099
  "enum": [
3097
3100
  "customNodeStart",
3101
+ "deviceCreate",
3098
3102
  "deviceCommand",
3099
3103
  "deviceIdsTagsConnect",
3100
3104
  "deviceIdsTagsDisconnect",