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
@@ -960,12 +960,88 @@
960
960
  "type": "object",
961
961
  "properties": {
962
962
  "$tagKey": {
963
- "type": "string",
964
- "maxLength": 255
963
+ "oneOf": [
964
+ {
965
+ "type": "string",
966
+ "maxLength": 255
967
+ },
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "$in": {
972
+ "type": "array",
973
+ "maxItems": 100,
974
+ "items": {
975
+ "type": "string",
976
+ "maxLength": 255
977
+ }
978
+ }
979
+ },
980
+ "required": [
981
+ "$in"
982
+ ],
983
+ "additionalProperties": false
984
+ },
985
+ {
986
+ "type": "object",
987
+ "properties": {
988
+ "$nin": {
989
+ "type": "array",
990
+ "maxItems": 100,
991
+ "items": {
992
+ "type": "string",
993
+ "maxLength": 255
994
+ }
995
+ }
996
+ },
997
+ "required": [
998
+ "$nin"
999
+ ],
1000
+ "additionalProperties": false
1001
+ }
1002
+ ]
965
1003
  },
966
1004
  "$tagValue": {
967
- "type": "string",
968
- "maxLength": 255
1005
+ "oneOf": [
1006
+ {
1007
+ "type": "string",
1008
+ "maxLength": 255
1009
+ },
1010
+ {
1011
+ "type": "object",
1012
+ "properties": {
1013
+ "$in": {
1014
+ "type": "array",
1015
+ "maxItems": 100,
1016
+ "items": {
1017
+ "type": "string",
1018
+ "maxLength": 255
1019
+ }
1020
+ }
1021
+ },
1022
+ "required": [
1023
+ "$in"
1024
+ ],
1025
+ "additionalProperties": false
1026
+ },
1027
+ {
1028
+ "type": "object",
1029
+ "properties": {
1030
+ "$nin": {
1031
+ "type": "array",
1032
+ "maxItems": 100,
1033
+ "items": {
1034
+ "type": "string",
1035
+ "maxLength": 255
1036
+ }
1037
+ }
1038
+ },
1039
+ "required": [
1040
+ "$nin"
1041
+ ],
1042
+ "additionalProperties": false
1043
+ }
1044
+ ]
969
1045
  }
970
1046
  },
971
1047
  "additionalProperties": false,
@@ -975,8 +1051,46 @@
975
1051
  "type": "object",
976
1052
  "patternProperties": {
977
1053
  "^[0-9a-zA-Z_-]{1,255}": {
978
- "type": "string",
979
- "maxLength": 255
1054
+ "oneOf": [
1055
+ {
1056
+ "type": "string",
1057
+ "maxLength": 255
1058
+ },
1059
+ {
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "$in": {
1063
+ "type": "array",
1064
+ "maxItems": 100,
1065
+ "items": {
1066
+ "type": "string",
1067
+ "maxLength": 255
1068
+ }
1069
+ }
1070
+ },
1071
+ "required": [
1072
+ "$in"
1073
+ ],
1074
+ "additionalProperties": false
1075
+ },
1076
+ {
1077
+ "type": "object",
1078
+ "properties": {
1079
+ "$nin": {
1080
+ "type": "array",
1081
+ "maxItems": 100,
1082
+ "items": {
1083
+ "type": "string",
1084
+ "maxLength": 255
1085
+ }
1086
+ }
1087
+ },
1088
+ "required": [
1089
+ "$nin"
1090
+ ],
1091
+ "additionalProperties": false
1092
+ }
1093
+ ]
980
1094
  }
981
1095
  },
982
1096
  "additionalProperties": false
@@ -992,12 +1106,88 @@
992
1106
  "type": "object",
993
1107
  "properties": {
994
1108
  "$tagKey": {
995
- "type": "string",
996
- "maxLength": 255
1109
+ "oneOf": [
1110
+ {
1111
+ "type": "string",
1112
+ "maxLength": 255
1113
+ },
1114
+ {
1115
+ "type": "object",
1116
+ "properties": {
1117
+ "$in": {
1118
+ "type": "array",
1119
+ "maxItems": 100,
1120
+ "items": {
1121
+ "type": "string",
1122
+ "maxLength": 255
1123
+ }
1124
+ }
1125
+ },
1126
+ "required": [
1127
+ "$in"
1128
+ ],
1129
+ "additionalProperties": false
1130
+ },
1131
+ {
1132
+ "type": "object",
1133
+ "properties": {
1134
+ "$nin": {
1135
+ "type": "array",
1136
+ "maxItems": 100,
1137
+ "items": {
1138
+ "type": "string",
1139
+ "maxLength": 255
1140
+ }
1141
+ }
1142
+ },
1143
+ "required": [
1144
+ "$nin"
1145
+ ],
1146
+ "additionalProperties": false
1147
+ }
1148
+ ]
997
1149
  },
998
1150
  "$tagValue": {
999
- "type": "string",
1000
- "maxLength": 255
1151
+ "oneOf": [
1152
+ {
1153
+ "type": "string",
1154
+ "maxLength": 255
1155
+ },
1156
+ {
1157
+ "type": "object",
1158
+ "properties": {
1159
+ "$in": {
1160
+ "type": "array",
1161
+ "maxItems": 100,
1162
+ "items": {
1163
+ "type": "string",
1164
+ "maxLength": 255
1165
+ }
1166
+ }
1167
+ },
1168
+ "required": [
1169
+ "$in"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ },
1173
+ {
1174
+ "type": "object",
1175
+ "properties": {
1176
+ "$nin": {
1177
+ "type": "array",
1178
+ "maxItems": 100,
1179
+ "items": {
1180
+ "type": "string",
1181
+ "maxLength": 255
1182
+ }
1183
+ }
1184
+ },
1185
+ "required": [
1186
+ "$nin"
1187
+ ],
1188
+ "additionalProperties": false
1189
+ }
1190
+ ]
1001
1191
  }
1002
1192
  },
1003
1193
  "additionalProperties": false,
@@ -1007,8 +1197,46 @@
1007
1197
  "type": "object",
1008
1198
  "patternProperties": {
1009
1199
  "^[0-9a-zA-Z_-]{1,255}": {
1010
- "type": "string",
1011
- "maxLength": 255
1200
+ "oneOf": [
1201
+ {
1202
+ "type": "string",
1203
+ "maxLength": 255
1204
+ },
1205
+ {
1206
+ "type": "object",
1207
+ "properties": {
1208
+ "$in": {
1209
+ "type": "array",
1210
+ "maxItems": 100,
1211
+ "items": {
1212
+ "type": "string",
1213
+ "maxLength": 255
1214
+ }
1215
+ }
1216
+ },
1217
+ "required": [
1218
+ "$in"
1219
+ ],
1220
+ "additionalProperties": false
1221
+ },
1222
+ {
1223
+ "type": "object",
1224
+ "properties": {
1225
+ "$nin": {
1226
+ "type": "array",
1227
+ "maxItems": 100,
1228
+ "items": {
1229
+ "type": "string",
1230
+ "maxLength": 255
1231
+ }
1232
+ }
1233
+ },
1234
+ "required": [
1235
+ "$nin"
1236
+ ],
1237
+ "additionalProperties": false
1238
+ }
1239
+ ]
1012
1240
  }
1013
1241
  },
1014
1242
  "additionalProperties": false
@@ -1030,12 +1258,88 @@
1030
1258
  "type": "object",
1031
1259
  "properties": {
1032
1260
  "$tagKey": {
1033
- "type": "string",
1034
- "maxLength": 255
1261
+ "oneOf": [
1262
+ {
1263
+ "type": "string",
1264
+ "maxLength": 255
1265
+ },
1266
+ {
1267
+ "type": "object",
1268
+ "properties": {
1269
+ "$in": {
1270
+ "type": "array",
1271
+ "maxItems": 100,
1272
+ "items": {
1273
+ "type": "string",
1274
+ "maxLength": 255
1275
+ }
1276
+ }
1277
+ },
1278
+ "required": [
1279
+ "$in"
1280
+ ],
1281
+ "additionalProperties": false
1282
+ },
1283
+ {
1284
+ "type": "object",
1285
+ "properties": {
1286
+ "$nin": {
1287
+ "type": "array",
1288
+ "maxItems": 100,
1289
+ "items": {
1290
+ "type": "string",
1291
+ "maxLength": 255
1292
+ }
1293
+ }
1294
+ },
1295
+ "required": [
1296
+ "$nin"
1297
+ ],
1298
+ "additionalProperties": false
1299
+ }
1300
+ ]
1035
1301
  },
1036
1302
  "$tagValue": {
1037
- "type": "string",
1038
- "maxLength": 255
1303
+ "oneOf": [
1304
+ {
1305
+ "type": "string",
1306
+ "maxLength": 255
1307
+ },
1308
+ {
1309
+ "type": "object",
1310
+ "properties": {
1311
+ "$in": {
1312
+ "type": "array",
1313
+ "maxItems": 100,
1314
+ "items": {
1315
+ "type": "string",
1316
+ "maxLength": 255
1317
+ }
1318
+ }
1319
+ },
1320
+ "required": [
1321
+ "$in"
1322
+ ],
1323
+ "additionalProperties": false
1324
+ },
1325
+ {
1326
+ "type": "object",
1327
+ "properties": {
1328
+ "$nin": {
1329
+ "type": "array",
1330
+ "maxItems": 100,
1331
+ "items": {
1332
+ "type": "string",
1333
+ "maxLength": 255
1334
+ }
1335
+ }
1336
+ },
1337
+ "required": [
1338
+ "$nin"
1339
+ ],
1340
+ "additionalProperties": false
1341
+ }
1342
+ ]
1039
1343
  }
1040
1344
  },
1041
1345
  "additionalProperties": false,
@@ -1045,8 +1349,46 @@
1045
1349
  "type": "object",
1046
1350
  "patternProperties": {
1047
1351
  "^[0-9a-zA-Z_-]{1,255}": {
1048
- "type": "string",
1049
- "maxLength": 255
1352
+ "oneOf": [
1353
+ {
1354
+ "type": "string",
1355
+ "maxLength": 255
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "$in": {
1361
+ "type": "array",
1362
+ "maxItems": 100,
1363
+ "items": {
1364
+ "type": "string",
1365
+ "maxLength": 255
1366
+ }
1367
+ }
1368
+ },
1369
+ "required": [
1370
+ "$in"
1371
+ ],
1372
+ "additionalProperties": false
1373
+ },
1374
+ {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "$nin": {
1378
+ "type": "array",
1379
+ "maxItems": 100,
1380
+ "items": {
1381
+ "type": "string",
1382
+ "maxLength": 255
1383
+ }
1384
+ }
1385
+ },
1386
+ "required": [
1387
+ "$nin"
1388
+ ],
1389
+ "additionalProperties": false
1390
+ }
1391
+ ]
1050
1392
  }
1051
1393
  },
1052
1394
  "additionalProperties": false
@@ -364,7 +364,6 @@
364
364
  "org.notebookMinuteCounts",
365
365
  "org.invoices",
366
366
  "org.currentCard",
367
- "org.chargeDetails",
368
367
  "org.transferResources"
369
368
  ]
370
369
  }
@@ -390,6 +389,7 @@
390
389
  "instanceOrg.payloadCountsBreakdown",
391
390
  "instanceOrg.deviceCounts",
392
391
  "instanceOrg.notebookMinuteCounts",
392
+ "instanceOrg.convertToEnterprise",
393
393
  "instanceOrgs.*",
394
394
  "instanceOrgs.get",
395
395
  "instanceOrgs.post",
@@ -197,6 +197,14 @@
197
197
  }
198
198
  }
199
199
  },
200
+ "deviceCreate": {
201
+ "type": "object",
202
+ "patternProperties": {
203
+ ".*": {
204
+ "type": "number"
205
+ }
206
+ }
207
+ },
200
208
  "deviceCommand": {
201
209
  "type": "object",
202
210
  "patternProperties": {
@@ -202,6 +202,14 @@
202
202
  }
203
203
  }
204
204
  },
205
+ "deviceCreate": {
206
+ "type": "object",
207
+ "patternProperties": {
208
+ ".*": {
209
+ "type": "number"
210
+ }
211
+ }
212
+ },
205
213
  "deviceCommand": {
206
214
  "type": "object",
207
215
  "patternProperties": {
@@ -1892,7 +1892,8 @@
1892
1892
  "dial",
1893
1893
  "number",
1894
1894
  "tank",
1895
- "thermometer"
1895
+ "thermometer",
1896
+ "needle"
1896
1897
  ]
1897
1898
  },
1898
1899
  "precision": {
@@ -204,6 +204,14 @@
204
204
  }
205
205
  }
206
206
  },
207
+ "deviceCreate": {
208
+ "type": "object",
209
+ "patternProperties": {
210
+ ".*": {
211
+ "type": "number"
212
+ }
213
+ }
214
+ },
207
215
  "deviceCommand": {
208
216
  "type": "object",
209
217
  "patternProperties": {
@@ -625,6 +625,7 @@
625
625
  "type": "string",
626
626
  "enum": [
627
627
  "customNodeStart",
628
+ "deviceCreate",
628
629
  "deviceCommand",
629
630
  "deviceIdConnect",
630
631
  "deviceTagConnect",
@@ -659,6 +660,7 @@
659
660
  "type": "string",
660
661
  "enum": [
661
662
  "customNodeStart",
663
+ "deviceCreate",
662
664
  "deviceCommand",
663
665
  "deviceIdsTagsConnect",
664
666
  "deviceIdsTagsDisconnect",
@@ -3612,6 +3614,7 @@
3612
3614
  "type": "string",
3613
3615
  "enum": [
3614
3616
  "customNodeStart",
3617
+ "deviceCreate",
3615
3618
  "deviceCommand",
3616
3619
  "deviceIdConnect",
3617
3620
  "deviceTagConnect",
@@ -3646,6 +3649,7 @@
3646
3649
  "type": "string",
3647
3650
  "enum": [
3648
3651
  "customNodeStart",
3652
+ "deviceCreate",
3649
3653
  "deviceCommand",
3650
3654
  "deviceIdsTagsConnect",
3651
3655
  "deviceIdsTagsDisconnect",
@@ -6508,6 +6512,7 @@
6508
6512
  "type": "string",
6509
6513
  "enum": [
6510
6514
  "customNodeStart",
6515
+ "deviceCreate",
6511
6516
  "deviceCommand",
6512
6517
  "deviceIdConnect",
6513
6518
  "deviceTagConnect",
@@ -6542,6 +6547,7 @@
6542
6547
  "type": "string",
6543
6548
  "enum": [
6544
6549
  "customNodeStart",
6550
+ "deviceCreate",
6545
6551
  "deviceCommand",
6546
6552
  "deviceIdsTagsConnect",
6547
6553
  "deviceIdsTagsDisconnect",
@@ -2098,7 +2098,8 @@
2098
2098
  "dial",
2099
2099
  "number",
2100
2100
  "tank",
2101
- "thermometer"
2101
+ "thermometer",
2102
+ "needle"
2102
2103
  ]
2103
2104
  },
2104
2105
  "precision": {
@@ -1892,7 +1892,8 @@
1892
1892
  "dial",
1893
1893
  "number",
1894
1894
  "tank",
1895
- "thermometer"
1895
+ "thermometer",
1896
+ "needle"
1896
1897
  ]
1897
1898
  },
1898
1899
  "precision": {
@@ -1900,7 +1900,8 @@
1900
1900
  "dial",
1901
1901
  "number",
1902
1902
  "tank",
1903
- "thermometer"
1903
+ "thermometer",
1904
+ "needle"
1904
1905
  ]
1905
1906
  },
1906
1907
  "precision": {
@@ -2105,7 +2105,8 @@
2105
2105
  "dial",
2106
2106
  "number",
2107
2107
  "tank",
2108
- "thermometer"
2108
+ "thermometer",
2109
+ "needle"
2109
2110
  ]
2110
2111
  },
2111
2112
  "precision": {