losant_rest 1.10.3 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +27526 -11724
  5. data/docs/application.md +83 -0
  6. data/docs/applicationApiTokens.md +2 -2
  7. data/docs/applicationCertificateAuthorities.md +1 -1
  8. data/docs/applicationCertificates.md +1 -1
  9. data/docs/applicationDashboard.md +133 -0
  10. data/docs/applicationDashboards.md +93 -0
  11. data/docs/applicationKeys.md +4 -3
  12. data/docs/applicationTemplate.md +46 -0
  13. data/docs/applicationTemplates.md +77 -2
  14. data/docs/applications.md +1 -1
  15. data/docs/auditLogs.md +1 -1
  16. data/docs/dashboards.md +1 -1
  17. data/docs/dataTables.md +1 -1
  18. data/docs/device.md +6 -3
  19. data/docs/deviceRecipes.md +1 -1
  20. data/docs/devices.md +125 -1
  21. data/docs/edgeDeployments.md +1 -1
  22. data/docs/events.md +4 -4
  23. data/docs/experienceEndpoint.md +1 -0
  24. data/docs/experienceGroups.md +1 -1
  25. data/docs/experienceUsers.md +1 -1
  26. data/docs/experienceVersions.md +1 -1
  27. data/docs/experienceViews.md +1 -1
  28. data/docs/files.md +1 -1
  29. data/docs/flow.md +41 -0
  30. data/docs/flowVersions.md +2 -1
  31. data/docs/flows.md +5 -2
  32. data/docs/instance.md +128 -0
  33. data/docs/instanceMember.md +133 -0
  34. data/docs/instanceMembers.md +91 -0
  35. data/docs/instanceOrg.md +133 -0
  36. data/docs/instanceOrgMember.md +139 -0
  37. data/docs/instanceOrgMembers.md +96 -0
  38. data/docs/instanceOrgs.md +91 -0
  39. data/docs/instances.md +50 -0
  40. data/docs/integration.md +1 -0
  41. data/docs/integrations.md +1 -1
  42. data/docs/me.md +0 -36
  43. data/docs/notebooks.md +1 -1
  44. data/docs/orgs.md +1 -1
  45. data/docs/webhook.md +1 -0
  46. data/docs/webhooks.md +1 -1
  47. data/lib/losant_rest.rb +12 -1
  48. data/lib/losant_rest/application.rb +97 -2
  49. data/lib/losant_rest/application_api_token.rb +1 -1
  50. data/lib/losant_rest/application_api_tokens.rb +2 -2
  51. data/lib/losant_rest/application_certificate.rb +1 -1
  52. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  53. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  54. data/lib/losant_rest/application_certificates.rb +1 -1
  55. data/lib/losant_rest/application_dashboard.rb +176 -0
  56. data/lib/losant_rest/application_dashboards.rb +138 -0
  57. data/lib/losant_rest/application_key.rb +1 -1
  58. data/lib/losant_rest/application_keys.rb +4 -1
  59. data/lib/losant_rest/application_template.rb +79 -0
  60. data/lib/losant_rest/application_templates.rb +90 -2
  61. data/lib/losant_rest/applications.rb +1 -1
  62. data/lib/losant_rest/audit_log.rb +1 -1
  63. data/lib/losant_rest/audit_logs.rb +1 -1
  64. data/lib/losant_rest/auth.rb +1 -1
  65. data/lib/losant_rest/client.rb +47 -3
  66. data/lib/losant_rest/dashboard.rb +1 -1
  67. data/lib/losant_rest/dashboards.rb +1 -1
  68. data/lib/losant_rest/data.rb +1 -1
  69. data/lib/losant_rest/data_table.rb +1 -1
  70. data/lib/losant_rest/data_table_row.rb +1 -1
  71. data/lib/losant_rest/data_table_rows.rb +1 -1
  72. data/lib/losant_rest/data_tables.rb +1 -1
  73. data/lib/losant_rest/device.rb +10 -4
  74. data/lib/losant_rest/device_recipe.rb +1 -1
  75. data/lib/losant_rest/device_recipes.rb +1 -1
  76. data/lib/losant_rest/devices.rb +153 -1
  77. data/lib/losant_rest/edge_deployments.rb +1 -1
  78. data/lib/losant_rest/error.rb +1 -1
  79. data/lib/losant_rest/event.rb +1 -1
  80. data/lib/losant_rest/events.rb +4 -4
  81. data/lib/losant_rest/experience.rb +1 -1
  82. data/lib/losant_rest/experience_domain.rb +1 -1
  83. data/lib/losant_rest/experience_domains.rb +1 -1
  84. data/lib/losant_rest/experience_endpoint.rb +3 -1
  85. data/lib/losant_rest/experience_endpoints.rb +1 -1
  86. data/lib/losant_rest/experience_group.rb +1 -1
  87. data/lib/losant_rest/experience_groups.rb +1 -1
  88. data/lib/losant_rest/experience_slug.rb +1 -1
  89. data/lib/losant_rest/experience_slugs.rb +1 -1
  90. data/lib/losant_rest/experience_user.rb +1 -1
  91. data/lib/losant_rest/experience_users.rb +1 -1
  92. data/lib/losant_rest/experience_version.rb +1 -1
  93. data/lib/losant_rest/experience_versions.rb +1 -1
  94. data/lib/losant_rest/experience_view.rb +1 -1
  95. data/lib/losant_rest/experience_views.rb +1 -1
  96. data/lib/losant_rest/file.rb +1 -1
  97. data/lib/losant_rest/files.rb +1 -1
  98. data/lib/losant_rest/flow.rb +47 -1
  99. data/lib/losant_rest/flow_version.rb +1 -1
  100. data/lib/losant_rest/flow_versions.rb +4 -1
  101. data/lib/losant_rest/flows.rb +9 -1
  102. data/lib/losant_rest/instance.rb +181 -0
  103. data/lib/losant_rest/instance_member.rb +176 -0
  104. data/lib/losant_rest/instance_members.rb +134 -0
  105. data/lib/losant_rest/instance_org.rb +176 -0
  106. data/lib/losant_rest/instance_org_member.rb +182 -0
  107. data/lib/losant_rest/instance_org_members.rb +138 -0
  108. data/lib/losant_rest/instance_orgs.rb +139 -0
  109. data/lib/losant_rest/instances.rb +88 -0
  110. data/lib/losant_rest/integration.rb +3 -1
  111. data/lib/losant_rest/integrations.rb +1 -1
  112. data/lib/losant_rest/me.rb +2 -43
  113. data/lib/losant_rest/notebook.rb +1 -1
  114. data/lib/losant_rest/notebooks.rb +1 -1
  115. data/lib/losant_rest/org.rb +2 -2
  116. data/lib/losant_rest/org_invites.rb +1 -1
  117. data/lib/losant_rest/orgs.rb +1 -1
  118. data/lib/losant_rest/utils.rb +1 -1
  119. data/lib/losant_rest/version.rb +2 -2
  120. data/lib/losant_rest/webhook.rb +3 -1
  121. data/lib/losant_rest/webhooks.rb +1 -1
  122. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  123. data/schemas/advancedDeviceQuery.json +309 -0
  124. data/schemas/advancedFlowByVersionQuery.json +665 -0
  125. data/schemas/advancedFlowQuery.json +883 -0
  126. data/schemas/advancedFlowVersionQuery.json +925 -0
  127. data/schemas/application.json +8 -0
  128. data/schemas/applicationApiTokenPost.json +12 -0
  129. data/schemas/applicationApplyTemplatePatch.json +19 -0
  130. data/schemas/applicationCreationByTemplateResult.json +8 -0
  131. data/schemas/applicationDashboardPost.json +5683 -0
  132. data/schemas/applicationGlobalPatch.json +33 -0
  133. data/schemas/applicationPost.json +8 -0
  134. data/schemas/applicationTemplate.json +20 -0
  135. data/schemas/applicationTemplateCategories.json +43 -0
  136. data/schemas/applicationTemplateCategory.json +23 -0
  137. data/schemas/applicationTemplates.json +32 -0
  138. data/schemas/applications.json +8 -0
  139. data/schemas/attributeNamesResponse.json +14 -0
  140. data/schemas/authedUser.json +3 -0
  141. data/schemas/changePassword.json +2 -2
  142. data/schemas/dashboard.json +197 -26
  143. data/schemas/dashboardPatch.json +197 -26
  144. data/schemas/dashboardPost.json +197 -26
  145. data/schemas/dashboards.json +197 -26
  146. data/schemas/dataExport.json +132 -1
  147. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  148. data/schemas/deviceClassFilter.json +1 -2
  149. data/schemas/devicesDeletePost.json +309 -0
  150. data/schemas/devicesExportPost.json +309 -0
  151. data/schemas/devicesPatch.json +309 -0
  152. data/schemas/devicesRemoveDataPost.json +309 -0
  153. data/schemas/experienceLinkedResources.json +96 -0
  154. data/schemas/experienceVersion.json +9 -0
  155. data/schemas/experienceVersionPatch.json +9 -0
  156. data/schemas/experienceVersions.json +9 -0
  157. data/schemas/filePost.json +8 -2
  158. data/schemas/files.json +3 -0
  159. data/schemas/flow.json +32 -0
  160. data/schemas/flowPatch.json +32 -0
  161. data/schemas/flowPost.json +32 -0
  162. data/schemas/flowStorageMetadata.json +13 -0
  163. data/schemas/flowVersion.json +64 -0
  164. data/schemas/flowVersionPost.json +32 -0
  165. data/schemas/flowVersions.json +64 -0
  166. data/schemas/flows.json +32 -0
  167. data/schemas/flowsImportPost.json +64 -0
  168. data/schemas/flowsImportResult.json +96 -0
  169. data/schemas/githubLogin.json +53 -4
  170. data/schemas/historicalSummaries.json +43 -0
  171. data/schemas/historicalSummary.json +455 -0
  172. data/schemas/instance.json +132 -0
  173. data/schemas/instanceMember.json +37 -0
  174. data/schemas/instanceMemberPatch.json +17 -0
  175. data/schemas/instanceMemberPost.json +22 -0
  176. data/schemas/instanceMembers.json +69 -0
  177. data/schemas/instanceOrg.json +133 -0
  178. data/schemas/instanceOrgMember.json +37 -0
  179. data/schemas/instanceOrgMemberPatch.json +69 -0
  180. data/schemas/instanceOrgMemberPost.json +161 -0
  181. data/schemas/instanceOrgMembers.json +34 -0
  182. data/schemas/instanceOrgPatch.json +122 -0
  183. data/schemas/instanceOrgPost.json +125 -0
  184. data/schemas/instanceOrgs.json +174 -0
  185. data/schemas/instanceReportOptionsPost.json +40 -0
  186. data/schemas/instances.json +43 -0
  187. data/schemas/integration.json +3 -0
  188. data/schemas/integrationPatch.json +3 -0
  189. data/schemas/integrationPost.json +3 -0
  190. data/schemas/integrations.json +3 -0
  191. data/schemas/me.json +3 -3
  192. data/schemas/mePatch.json +2 -2
  193. data/schemas/multiDeviceCommand.json +309 -0
  194. data/schemas/notebook.json +7 -0
  195. data/schemas/notebookExecutionLogs.json +7 -0
  196. data/schemas/notebookPatch.json +7 -0
  197. data/schemas/notebookPost.json +7 -0
  198. data/schemas/notebooks.json +7 -0
  199. data/schemas/orgInviteInfo.json +3 -0
  200. data/schemas/orgInvitePost.json +3 -0
  201. data/schemas/orgInvites.json +3 -0
  202. data/schemas/orgPatch.json +0 -9
  203. data/schemas/passwordResetFinish.json +2 -2
  204. data/schemas/payloadStats.json +110 -0
  205. data/schemas/tagKeysResponse.json +14 -0
  206. data/schemas/tagValuesResponse.json +19 -0
  207. data/schemas/templateKeywords.json +14 -0
  208. data/schemas/timeSeriesData.json +12 -2
  209. data/schemas/timeSeriesQuery.json +94 -14
  210. data/schemas/userCredentials.json +51 -3
  211. data/schemas/userPost.json +59 -7
  212. metadata +61 -6
@@ -1012,6 +1012,315 @@
1012
1012
  "additionalProperties": false
1013
1013
  }
1014
1014
  ]
1015
+ },
1016
+ "disconnectedAt": {
1017
+ "oneOf": [
1018
+ {
1019
+ "type": [
1020
+ "string",
1021
+ "number",
1022
+ "boolean",
1023
+ "null"
1024
+ ]
1025
+ },
1026
+ {
1027
+ "type": "object",
1028
+ "properties": {
1029
+ "$eq": {
1030
+ "type": [
1031
+ "string",
1032
+ "number",
1033
+ "boolean",
1034
+ "null"
1035
+ ]
1036
+ },
1037
+ "$ne": {
1038
+ "type": [
1039
+ "string",
1040
+ "number",
1041
+ "boolean",
1042
+ "null"
1043
+ ]
1044
+ },
1045
+ "$gt": {
1046
+ "type": [
1047
+ "string",
1048
+ "number",
1049
+ "boolean",
1050
+ "null"
1051
+ ]
1052
+ },
1053
+ "$lt": {
1054
+ "type": [
1055
+ "string",
1056
+ "number",
1057
+ "boolean",
1058
+ "null"
1059
+ ]
1060
+ },
1061
+ "$gte": {
1062
+ "type": [
1063
+ "string",
1064
+ "number",
1065
+ "boolean",
1066
+ "null"
1067
+ ]
1068
+ },
1069
+ "$lte": {
1070
+ "type": [
1071
+ "string",
1072
+ "number",
1073
+ "boolean",
1074
+ "null"
1075
+ ]
1076
+ },
1077
+ "$startsWith": {
1078
+ "type": "string",
1079
+ "minLength": 1
1080
+ },
1081
+ "$endsWith": {
1082
+ "type": "string",
1083
+ "minLength": 1
1084
+ },
1085
+ "$contains": {
1086
+ "type": "string",
1087
+ "minLength": 1
1088
+ },
1089
+ "$ci": {
1090
+ "type": "boolean"
1091
+ },
1092
+ "$in": {
1093
+ "type": "array",
1094
+ "maxItems": 100,
1095
+ "items": {
1096
+ "type": [
1097
+ "string",
1098
+ "number",
1099
+ "boolean"
1100
+ ]
1101
+ }
1102
+ },
1103
+ "$nin": {
1104
+ "type": "array",
1105
+ "maxItems": 100,
1106
+ "items": {
1107
+ "type": [
1108
+ "string",
1109
+ "number",
1110
+ "boolean"
1111
+ ]
1112
+ }
1113
+ }
1114
+ },
1115
+ "additionalProperties": false
1116
+ }
1117
+ ]
1118
+ },
1119
+ "connectedAt": {
1120
+ "oneOf": [
1121
+ {
1122
+ "type": [
1123
+ "string",
1124
+ "number",
1125
+ "boolean",
1126
+ "null"
1127
+ ]
1128
+ },
1129
+ {
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "$eq": {
1133
+ "type": [
1134
+ "string",
1135
+ "number",
1136
+ "boolean",
1137
+ "null"
1138
+ ]
1139
+ },
1140
+ "$ne": {
1141
+ "type": [
1142
+ "string",
1143
+ "number",
1144
+ "boolean",
1145
+ "null"
1146
+ ]
1147
+ },
1148
+ "$gt": {
1149
+ "type": [
1150
+ "string",
1151
+ "number",
1152
+ "boolean",
1153
+ "null"
1154
+ ]
1155
+ },
1156
+ "$lt": {
1157
+ "type": [
1158
+ "string",
1159
+ "number",
1160
+ "boolean",
1161
+ "null"
1162
+ ]
1163
+ },
1164
+ "$gte": {
1165
+ "type": [
1166
+ "string",
1167
+ "number",
1168
+ "boolean",
1169
+ "null"
1170
+ ]
1171
+ },
1172
+ "$lte": {
1173
+ "type": [
1174
+ "string",
1175
+ "number",
1176
+ "boolean",
1177
+ "null"
1178
+ ]
1179
+ },
1180
+ "$startsWith": {
1181
+ "type": "string",
1182
+ "minLength": 1
1183
+ },
1184
+ "$endsWith": {
1185
+ "type": "string",
1186
+ "minLength": 1
1187
+ },
1188
+ "$contains": {
1189
+ "type": "string",
1190
+ "minLength": 1
1191
+ },
1192
+ "$ci": {
1193
+ "type": "boolean"
1194
+ },
1195
+ "$in": {
1196
+ "type": "array",
1197
+ "maxItems": 100,
1198
+ "items": {
1199
+ "type": [
1200
+ "string",
1201
+ "number",
1202
+ "boolean"
1203
+ ]
1204
+ }
1205
+ },
1206
+ "$nin": {
1207
+ "type": "array",
1208
+ "maxItems": 100,
1209
+ "items": {
1210
+ "type": [
1211
+ "string",
1212
+ "number",
1213
+ "boolean"
1214
+ ]
1215
+ }
1216
+ }
1217
+ },
1218
+ "additionalProperties": false
1219
+ }
1220
+ ]
1221
+ },
1222
+ "connectionStatus": {
1223
+ "oneOf": [
1224
+ {
1225
+ "type": [
1226
+ "string",
1227
+ "number",
1228
+ "boolean",
1229
+ "null"
1230
+ ]
1231
+ },
1232
+ {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "$eq": {
1236
+ "type": [
1237
+ "string",
1238
+ "number",
1239
+ "boolean",
1240
+ "null"
1241
+ ]
1242
+ },
1243
+ "$ne": {
1244
+ "type": [
1245
+ "string",
1246
+ "number",
1247
+ "boolean",
1248
+ "null"
1249
+ ]
1250
+ },
1251
+ "$gt": {
1252
+ "type": [
1253
+ "string",
1254
+ "number",
1255
+ "boolean",
1256
+ "null"
1257
+ ]
1258
+ },
1259
+ "$lt": {
1260
+ "type": [
1261
+ "string",
1262
+ "number",
1263
+ "boolean",
1264
+ "null"
1265
+ ]
1266
+ },
1267
+ "$gte": {
1268
+ "type": [
1269
+ "string",
1270
+ "number",
1271
+ "boolean",
1272
+ "null"
1273
+ ]
1274
+ },
1275
+ "$lte": {
1276
+ "type": [
1277
+ "string",
1278
+ "number",
1279
+ "boolean",
1280
+ "null"
1281
+ ]
1282
+ },
1283
+ "$startsWith": {
1284
+ "type": "string",
1285
+ "minLength": 1
1286
+ },
1287
+ "$endsWith": {
1288
+ "type": "string",
1289
+ "minLength": 1
1290
+ },
1291
+ "$contains": {
1292
+ "type": "string",
1293
+ "minLength": 1
1294
+ },
1295
+ "$ci": {
1296
+ "type": "boolean"
1297
+ },
1298
+ "$in": {
1299
+ "type": "array",
1300
+ "maxItems": 100,
1301
+ "items": {
1302
+ "type": [
1303
+ "string",
1304
+ "number",
1305
+ "boolean"
1306
+ ]
1307
+ }
1308
+ },
1309
+ "$nin": {
1310
+ "type": "array",
1311
+ "maxItems": 100,
1312
+ "items": {
1313
+ "type": [
1314
+ "string",
1315
+ "number",
1316
+ "boolean"
1317
+ ]
1318
+ }
1319
+ }
1320
+ },
1321
+ "additionalProperties": false
1322
+ }
1323
+ ]
1015
1324
  }
1016
1325
  },
1017
1326
  "additionalProperties": false
@@ -0,0 +1,665 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$and": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/advancedFlowByVersionQuery"
9
+ },
10
+ "maxItems": 100
11
+ },
12
+ "$or": {
13
+ "type": "array",
14
+ "items": {
15
+ "$ref": "#/definitions/advancedFlowByVersionQuery"
16
+ },
17
+ "maxItems": 100
18
+ },
19
+ "$nor": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "#/definitions/advancedFlowByVersionQuery"
23
+ },
24
+ "maxItems": 100
25
+ },
26
+ "name": {
27
+ "oneOf": [
28
+ {
29
+ "type": [
30
+ "string",
31
+ "number",
32
+ "boolean",
33
+ "null"
34
+ ]
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "$eq": {
40
+ "type": [
41
+ "string",
42
+ "number",
43
+ "boolean",
44
+ "null"
45
+ ]
46
+ },
47
+ "$ne": {
48
+ "type": [
49
+ "string",
50
+ "number",
51
+ "boolean",
52
+ "null"
53
+ ]
54
+ },
55
+ "$gt": {
56
+ "type": [
57
+ "string",
58
+ "number",
59
+ "boolean",
60
+ "null"
61
+ ]
62
+ },
63
+ "$lt": {
64
+ "type": [
65
+ "string",
66
+ "number",
67
+ "boolean",
68
+ "null"
69
+ ]
70
+ },
71
+ "$gte": {
72
+ "type": [
73
+ "string",
74
+ "number",
75
+ "boolean",
76
+ "null"
77
+ ]
78
+ },
79
+ "$lte": {
80
+ "type": [
81
+ "string",
82
+ "number",
83
+ "boolean",
84
+ "null"
85
+ ]
86
+ },
87
+ "$startsWith": {
88
+ "type": "string",
89
+ "minLength": 1
90
+ },
91
+ "$endsWith": {
92
+ "type": "string",
93
+ "minLength": 1
94
+ },
95
+ "$contains": {
96
+ "type": "string",
97
+ "minLength": 1
98
+ },
99
+ "$ci": {
100
+ "type": "boolean"
101
+ },
102
+ "$in": {
103
+ "type": "array",
104
+ "maxItems": 100,
105
+ "items": {
106
+ "type": [
107
+ "string",
108
+ "number",
109
+ "boolean"
110
+ ]
111
+ }
112
+ },
113
+ "$nin": {
114
+ "type": "array",
115
+ "maxItems": 100,
116
+ "items": {
117
+ "type": [
118
+ "string",
119
+ "number",
120
+ "boolean"
121
+ ]
122
+ }
123
+ }
124
+ },
125
+ "additionalProperties": false
126
+ }
127
+ ]
128
+ },
129
+ "id": {
130
+ "oneOf": [
131
+ {
132
+ "oneOf": [
133
+ {
134
+ "type": "string",
135
+ "pattern": "^[A-Fa-f\\d]{24}$"
136
+ },
137
+ {
138
+ "type": "null"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "type": "object",
144
+ "properties": {
145
+ "$eq": {
146
+ "oneOf": [
147
+ {
148
+ "type": "string",
149
+ "pattern": "^[A-Fa-f\\d]{24}$"
150
+ },
151
+ {
152
+ "type": "null"
153
+ }
154
+ ]
155
+ },
156
+ "$ne": {
157
+ "oneOf": [
158
+ {
159
+ "type": "string",
160
+ "pattern": "^[A-Fa-f\\d]{24}$"
161
+ },
162
+ {
163
+ "type": "null"
164
+ }
165
+ ]
166
+ },
167
+ "$in": {
168
+ "type": "array",
169
+ "maxItems": 100,
170
+ "items": {
171
+ "type": "string",
172
+ "pattern": "^[A-Fa-f\\d]{24}$"
173
+ }
174
+ },
175
+ "$nin": {
176
+ "type": "array",
177
+ "maxItems": 100,
178
+ "items": {
179
+ "type": "string",
180
+ "pattern": "^[A-Fa-f\\d]{24}$"
181
+ }
182
+ }
183
+ },
184
+ "additionalProperties": false,
185
+ "minProperties": 1,
186
+ "maxProperties": 1
187
+ }
188
+ ]
189
+ },
190
+ "creationDate": {
191
+ "oneOf": [
192
+ {
193
+ "type": [
194
+ "string",
195
+ "number",
196
+ "boolean",
197
+ "null"
198
+ ]
199
+ },
200
+ {
201
+ "type": "object",
202
+ "properties": {
203
+ "$eq": {
204
+ "type": [
205
+ "string",
206
+ "number",
207
+ "boolean",
208
+ "null"
209
+ ]
210
+ },
211
+ "$ne": {
212
+ "type": [
213
+ "string",
214
+ "number",
215
+ "boolean",
216
+ "null"
217
+ ]
218
+ },
219
+ "$gt": {
220
+ "type": [
221
+ "string",
222
+ "number",
223
+ "boolean",
224
+ "null"
225
+ ]
226
+ },
227
+ "$lt": {
228
+ "type": [
229
+ "string",
230
+ "number",
231
+ "boolean",
232
+ "null"
233
+ ]
234
+ },
235
+ "$gte": {
236
+ "type": [
237
+ "string",
238
+ "number",
239
+ "boolean",
240
+ "null"
241
+ ]
242
+ },
243
+ "$lte": {
244
+ "type": [
245
+ "string",
246
+ "number",
247
+ "boolean",
248
+ "null"
249
+ ]
250
+ },
251
+ "$startsWith": {
252
+ "type": "string",
253
+ "minLength": 1
254
+ },
255
+ "$endsWith": {
256
+ "type": "string",
257
+ "minLength": 1
258
+ },
259
+ "$contains": {
260
+ "type": "string",
261
+ "minLength": 1
262
+ },
263
+ "$ci": {
264
+ "type": "boolean"
265
+ },
266
+ "$in": {
267
+ "type": "array",
268
+ "maxItems": 100,
269
+ "items": {
270
+ "type": [
271
+ "string",
272
+ "number",
273
+ "boolean"
274
+ ]
275
+ }
276
+ },
277
+ "$nin": {
278
+ "type": "array",
279
+ "maxItems": 100,
280
+ "items": {
281
+ "type": [
282
+ "string",
283
+ "number",
284
+ "boolean"
285
+ ]
286
+ }
287
+ }
288
+ },
289
+ "additionalProperties": false
290
+ }
291
+ ]
292
+ },
293
+ "lastUpdated": {
294
+ "oneOf": [
295
+ {
296
+ "type": [
297
+ "string",
298
+ "number",
299
+ "boolean",
300
+ "null"
301
+ ]
302
+ },
303
+ {
304
+ "type": "object",
305
+ "properties": {
306
+ "$eq": {
307
+ "type": [
308
+ "string",
309
+ "number",
310
+ "boolean",
311
+ "null"
312
+ ]
313
+ },
314
+ "$ne": {
315
+ "type": [
316
+ "string",
317
+ "number",
318
+ "boolean",
319
+ "null"
320
+ ]
321
+ },
322
+ "$gt": {
323
+ "type": [
324
+ "string",
325
+ "number",
326
+ "boolean",
327
+ "null"
328
+ ]
329
+ },
330
+ "$lt": {
331
+ "type": [
332
+ "string",
333
+ "number",
334
+ "boolean",
335
+ "null"
336
+ ]
337
+ },
338
+ "$gte": {
339
+ "type": [
340
+ "string",
341
+ "number",
342
+ "boolean",
343
+ "null"
344
+ ]
345
+ },
346
+ "$lte": {
347
+ "type": [
348
+ "string",
349
+ "number",
350
+ "boolean",
351
+ "null"
352
+ ]
353
+ },
354
+ "$startsWith": {
355
+ "type": "string",
356
+ "minLength": 1
357
+ },
358
+ "$endsWith": {
359
+ "type": "string",
360
+ "minLength": 1
361
+ },
362
+ "$contains": {
363
+ "type": "string",
364
+ "minLength": 1
365
+ },
366
+ "$ci": {
367
+ "type": "boolean"
368
+ },
369
+ "$in": {
370
+ "type": "array",
371
+ "maxItems": 100,
372
+ "items": {
373
+ "type": [
374
+ "string",
375
+ "number",
376
+ "boolean"
377
+ ]
378
+ }
379
+ },
380
+ "$nin": {
381
+ "type": "array",
382
+ "maxItems": 100,
383
+ "items": {
384
+ "type": [
385
+ "string",
386
+ "number",
387
+ "boolean"
388
+ ]
389
+ }
390
+ }
391
+ },
392
+ "additionalProperties": false
393
+ }
394
+ ]
395
+ },
396
+ "flowClass": {
397
+ "oneOf": [
398
+ {
399
+ "type": [
400
+ "string",
401
+ "number",
402
+ "boolean",
403
+ "null"
404
+ ]
405
+ },
406
+ {
407
+ "type": "object",
408
+ "properties": {
409
+ "$eq": {
410
+ "type": [
411
+ "string",
412
+ "number",
413
+ "boolean",
414
+ "null"
415
+ ]
416
+ },
417
+ "$ne": {
418
+ "type": [
419
+ "string",
420
+ "number",
421
+ "boolean",
422
+ "null"
423
+ ]
424
+ },
425
+ "$gt": {
426
+ "type": [
427
+ "string",
428
+ "number",
429
+ "boolean",
430
+ "null"
431
+ ]
432
+ },
433
+ "$lt": {
434
+ "type": [
435
+ "string",
436
+ "number",
437
+ "boolean",
438
+ "null"
439
+ ]
440
+ },
441
+ "$gte": {
442
+ "type": [
443
+ "string",
444
+ "number",
445
+ "boolean",
446
+ "null"
447
+ ]
448
+ },
449
+ "$lte": {
450
+ "type": [
451
+ "string",
452
+ "number",
453
+ "boolean",
454
+ "null"
455
+ ]
456
+ },
457
+ "$startsWith": {
458
+ "type": "string",
459
+ "minLength": 1
460
+ },
461
+ "$endsWith": {
462
+ "type": "string",
463
+ "minLength": 1
464
+ },
465
+ "$contains": {
466
+ "type": "string",
467
+ "minLength": 1
468
+ },
469
+ "$ci": {
470
+ "type": "boolean"
471
+ },
472
+ "$in": {
473
+ "type": "array",
474
+ "maxItems": 100,
475
+ "items": {
476
+ "type": [
477
+ "string",
478
+ "number",
479
+ "boolean"
480
+ ]
481
+ }
482
+ },
483
+ "$nin": {
484
+ "type": "array",
485
+ "maxItems": 100,
486
+ "items": {
487
+ "type": [
488
+ "string",
489
+ "number",
490
+ "boolean"
491
+ ]
492
+ }
493
+ }
494
+ },
495
+ "additionalProperties": false
496
+ }
497
+ ]
498
+ },
499
+ "enabled": {
500
+ "oneOf": [
501
+ {
502
+ "type": [
503
+ "string",
504
+ "number",
505
+ "boolean",
506
+ "null"
507
+ ]
508
+ },
509
+ {
510
+ "type": "object",
511
+ "properties": {
512
+ "$eq": {
513
+ "type": [
514
+ "string",
515
+ "number",
516
+ "boolean",
517
+ "null"
518
+ ]
519
+ },
520
+ "$ne": {
521
+ "type": [
522
+ "string",
523
+ "number",
524
+ "boolean",
525
+ "null"
526
+ ]
527
+ },
528
+ "$gt": {
529
+ "type": [
530
+ "string",
531
+ "number",
532
+ "boolean",
533
+ "null"
534
+ ]
535
+ },
536
+ "$lt": {
537
+ "type": [
538
+ "string",
539
+ "number",
540
+ "boolean",
541
+ "null"
542
+ ]
543
+ },
544
+ "$gte": {
545
+ "type": [
546
+ "string",
547
+ "number",
548
+ "boolean",
549
+ "null"
550
+ ]
551
+ },
552
+ "$lte": {
553
+ "type": [
554
+ "string",
555
+ "number",
556
+ "boolean",
557
+ "null"
558
+ ]
559
+ },
560
+ "$startsWith": {
561
+ "type": "string",
562
+ "minLength": 1
563
+ },
564
+ "$endsWith": {
565
+ "type": "string",
566
+ "minLength": 1
567
+ },
568
+ "$contains": {
569
+ "type": "string",
570
+ "minLength": 1
571
+ },
572
+ "$ci": {
573
+ "type": "boolean"
574
+ },
575
+ "$in": {
576
+ "type": "array",
577
+ "maxItems": 100,
578
+ "items": {
579
+ "type": [
580
+ "string",
581
+ "number",
582
+ "boolean"
583
+ ]
584
+ }
585
+ },
586
+ "$nin": {
587
+ "type": "array",
588
+ "maxItems": 100,
589
+ "items": {
590
+ "type": [
591
+ "string",
592
+ "number",
593
+ "boolean"
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ "additionalProperties": false
599
+ }
600
+ ]
601
+ },
602
+ "flowId": {
603
+ "oneOf": [
604
+ {
605
+ "oneOf": [
606
+ {
607
+ "type": "string",
608
+ "pattern": "^[A-Fa-f\\d]{24}$"
609
+ },
610
+ {
611
+ "type": "null"
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "type": "object",
617
+ "properties": {
618
+ "$eq": {
619
+ "oneOf": [
620
+ {
621
+ "type": "string",
622
+ "pattern": "^[A-Fa-f\\d]{24}$"
623
+ },
624
+ {
625
+ "type": "null"
626
+ }
627
+ ]
628
+ },
629
+ "$ne": {
630
+ "oneOf": [
631
+ {
632
+ "type": "string",
633
+ "pattern": "^[A-Fa-f\\d]{24}$"
634
+ },
635
+ {
636
+ "type": "null"
637
+ }
638
+ ]
639
+ },
640
+ "$in": {
641
+ "type": "array",
642
+ "maxItems": 100,
643
+ "items": {
644
+ "type": "string",
645
+ "pattern": "^[A-Fa-f\\d]{24}$"
646
+ }
647
+ },
648
+ "$nin": {
649
+ "type": "array",
650
+ "maxItems": 100,
651
+ "items": {
652
+ "type": "string",
653
+ "pattern": "^[A-Fa-f\\d]{24}$"
654
+ }
655
+ }
656
+ },
657
+ "additionalProperties": false,
658
+ "minProperties": 1,
659
+ "maxProperties": 1
660
+ }
661
+ ]
662
+ }
663
+ },
664
+ "additionalProperties": false
665
+ }