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
@@ -857,12 +857,88 @@
857
857
  "type": "object",
858
858
  "properties": {
859
859
  "$tagKey": {
860
- "type": "string",
861
- "maxLength": 255
860
+ "oneOf": [
861
+ {
862
+ "type": "string",
863
+ "maxLength": 255
864
+ },
865
+ {
866
+ "type": "object",
867
+ "properties": {
868
+ "$in": {
869
+ "type": "array",
870
+ "maxItems": 100,
871
+ "items": {
872
+ "type": "string",
873
+ "maxLength": 255
874
+ }
875
+ }
876
+ },
877
+ "required": [
878
+ "$in"
879
+ ],
880
+ "additionalProperties": false
881
+ },
882
+ {
883
+ "type": "object",
884
+ "properties": {
885
+ "$nin": {
886
+ "type": "array",
887
+ "maxItems": 100,
888
+ "items": {
889
+ "type": "string",
890
+ "maxLength": 255
891
+ }
892
+ }
893
+ },
894
+ "required": [
895
+ "$nin"
896
+ ],
897
+ "additionalProperties": false
898
+ }
899
+ ]
862
900
  },
863
901
  "$tagValue": {
864
- "type": "string",
865
- "maxLength": 255
902
+ "oneOf": [
903
+ {
904
+ "type": "string",
905
+ "maxLength": 255
906
+ },
907
+ {
908
+ "type": "object",
909
+ "properties": {
910
+ "$in": {
911
+ "type": "array",
912
+ "maxItems": 100,
913
+ "items": {
914
+ "type": "string",
915
+ "maxLength": 255
916
+ }
917
+ }
918
+ },
919
+ "required": [
920
+ "$in"
921
+ ],
922
+ "additionalProperties": false
923
+ },
924
+ {
925
+ "type": "object",
926
+ "properties": {
927
+ "$nin": {
928
+ "type": "array",
929
+ "maxItems": 100,
930
+ "items": {
931
+ "type": "string",
932
+ "maxLength": 255
933
+ }
934
+ }
935
+ },
936
+ "required": [
937
+ "$nin"
938
+ ],
939
+ "additionalProperties": false
940
+ }
941
+ ]
866
942
  }
867
943
  },
868
944
  "additionalProperties": false,
@@ -872,8 +948,46 @@
872
948
  "type": "object",
873
949
  "patternProperties": {
874
950
  "^[0-9a-zA-Z_-]{1,255}": {
875
- "type": "string",
876
- "maxLength": 255
951
+ "oneOf": [
952
+ {
953
+ "type": "string",
954
+ "maxLength": 255
955
+ },
956
+ {
957
+ "type": "object",
958
+ "properties": {
959
+ "$in": {
960
+ "type": "array",
961
+ "maxItems": 100,
962
+ "items": {
963
+ "type": "string",
964
+ "maxLength": 255
965
+ }
966
+ }
967
+ },
968
+ "required": [
969
+ "$in"
970
+ ],
971
+ "additionalProperties": false
972
+ },
973
+ {
974
+ "type": "object",
975
+ "properties": {
976
+ "$nin": {
977
+ "type": "array",
978
+ "maxItems": 100,
979
+ "items": {
980
+ "type": "string",
981
+ "maxLength": 255
982
+ }
983
+ }
984
+ },
985
+ "required": [
986
+ "$nin"
987
+ ],
988
+ "additionalProperties": false
989
+ }
990
+ ]
877
991
  }
878
992
  },
879
993
  "additionalProperties": false
@@ -889,12 +1003,88 @@
889
1003
  "type": "object",
890
1004
  "properties": {
891
1005
  "$tagKey": {
892
- "type": "string",
893
- "maxLength": 255
1006
+ "oneOf": [
1007
+ {
1008
+ "type": "string",
1009
+ "maxLength": 255
1010
+ },
1011
+ {
1012
+ "type": "object",
1013
+ "properties": {
1014
+ "$in": {
1015
+ "type": "array",
1016
+ "maxItems": 100,
1017
+ "items": {
1018
+ "type": "string",
1019
+ "maxLength": 255
1020
+ }
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "$in"
1025
+ ],
1026
+ "additionalProperties": false
1027
+ },
1028
+ {
1029
+ "type": "object",
1030
+ "properties": {
1031
+ "$nin": {
1032
+ "type": "array",
1033
+ "maxItems": 100,
1034
+ "items": {
1035
+ "type": "string",
1036
+ "maxLength": 255
1037
+ }
1038
+ }
1039
+ },
1040
+ "required": [
1041
+ "$nin"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ }
1045
+ ]
894
1046
  },
895
1047
  "$tagValue": {
896
- "type": "string",
897
- "maxLength": 255
1048
+ "oneOf": [
1049
+ {
1050
+ "type": "string",
1051
+ "maxLength": 255
1052
+ },
1053
+ {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "$in": {
1057
+ "type": "array",
1058
+ "maxItems": 100,
1059
+ "items": {
1060
+ "type": "string",
1061
+ "maxLength": 255
1062
+ }
1063
+ }
1064
+ },
1065
+ "required": [
1066
+ "$in"
1067
+ ],
1068
+ "additionalProperties": false
1069
+ },
1070
+ {
1071
+ "type": "object",
1072
+ "properties": {
1073
+ "$nin": {
1074
+ "type": "array",
1075
+ "maxItems": 100,
1076
+ "items": {
1077
+ "type": "string",
1078
+ "maxLength": 255
1079
+ }
1080
+ }
1081
+ },
1082
+ "required": [
1083
+ "$nin"
1084
+ ],
1085
+ "additionalProperties": false
1086
+ }
1087
+ ]
898
1088
  }
899
1089
  },
900
1090
  "additionalProperties": false,
@@ -904,8 +1094,46 @@
904
1094
  "type": "object",
905
1095
  "patternProperties": {
906
1096
  "^[0-9a-zA-Z_-]{1,255}": {
907
- "type": "string",
908
- "maxLength": 255
1097
+ "oneOf": [
1098
+ {
1099
+ "type": "string",
1100
+ "maxLength": 255
1101
+ },
1102
+ {
1103
+ "type": "object",
1104
+ "properties": {
1105
+ "$in": {
1106
+ "type": "array",
1107
+ "maxItems": 100,
1108
+ "items": {
1109
+ "type": "string",
1110
+ "maxLength": 255
1111
+ }
1112
+ }
1113
+ },
1114
+ "required": [
1115
+ "$in"
1116
+ ],
1117
+ "additionalProperties": false
1118
+ },
1119
+ {
1120
+ "type": "object",
1121
+ "properties": {
1122
+ "$nin": {
1123
+ "type": "array",
1124
+ "maxItems": 100,
1125
+ "items": {
1126
+ "type": "string",
1127
+ "maxLength": 255
1128
+ }
1129
+ }
1130
+ },
1131
+ "required": [
1132
+ "$nin"
1133
+ ],
1134
+ "additionalProperties": false
1135
+ }
1136
+ ]
909
1137
  }
910
1138
  },
911
1139
  "additionalProperties": false
@@ -927,12 +1155,88 @@
927
1155
  "type": "object",
928
1156
  "properties": {
929
1157
  "$tagKey": {
930
- "type": "string",
931
- "maxLength": 255
1158
+ "oneOf": [
1159
+ {
1160
+ "type": "string",
1161
+ "maxLength": 255
1162
+ },
1163
+ {
1164
+ "type": "object",
1165
+ "properties": {
1166
+ "$in": {
1167
+ "type": "array",
1168
+ "maxItems": 100,
1169
+ "items": {
1170
+ "type": "string",
1171
+ "maxLength": 255
1172
+ }
1173
+ }
1174
+ },
1175
+ "required": [
1176
+ "$in"
1177
+ ],
1178
+ "additionalProperties": false
1179
+ },
1180
+ {
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "$nin": {
1184
+ "type": "array",
1185
+ "maxItems": 100,
1186
+ "items": {
1187
+ "type": "string",
1188
+ "maxLength": 255
1189
+ }
1190
+ }
1191
+ },
1192
+ "required": [
1193
+ "$nin"
1194
+ ],
1195
+ "additionalProperties": false
1196
+ }
1197
+ ]
932
1198
  },
933
1199
  "$tagValue": {
934
- "type": "string",
935
- "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
+ ]
936
1240
  }
937
1241
  },
938
1242
  "additionalProperties": false,
@@ -942,8 +1246,46 @@
942
1246
  "type": "object",
943
1247
  "patternProperties": {
944
1248
  "^[0-9a-zA-Z_-]{1,255}": {
945
- "type": "string",
946
- "maxLength": 255
1249
+ "oneOf": [
1250
+ {
1251
+ "type": "string",
1252
+ "maxLength": 255
1253
+ },
1254
+ {
1255
+ "type": "object",
1256
+ "properties": {
1257
+ "$in": {
1258
+ "type": "array",
1259
+ "maxItems": 100,
1260
+ "items": {
1261
+ "type": "string",
1262
+ "maxLength": 255
1263
+ }
1264
+ }
1265
+ },
1266
+ "required": [
1267
+ "$in"
1268
+ ],
1269
+ "additionalProperties": false
1270
+ },
1271
+ {
1272
+ "type": "object",
1273
+ "properties": {
1274
+ "$nin": {
1275
+ "type": "array",
1276
+ "maxItems": 100,
1277
+ "items": {
1278
+ "type": "string",
1279
+ "maxLength": 255
1280
+ }
1281
+ }
1282
+ },
1283
+ "required": [
1284
+ "$nin"
1285
+ ],
1286
+ "additionalProperties": false
1287
+ }
1288
+ ]
947
1289
  }
948
1290
  },
949
1291
  "additionalProperties": false