losant_rest 1.12.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/docs/_schemas.md +17509 -8097
  5. data/docs/application.md +6 -6
  6. data/docs/applicationApiTokens.md +1 -1
  7. data/docs/applications.md +1 -1
  8. data/docs/dataTable.md +1 -1
  9. data/docs/dataTableRows.md +1 -1
  10. data/docs/dataTables.md +1 -1
  11. data/docs/device.md +43 -0
  12. data/docs/devices.md +41 -2
  13. data/docs/edgeDeployment.md +49 -0
  14. data/docs/events.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/experienceDomains.md +1 -1
  17. data/docs/experienceGroup.md +2 -0
  18. data/docs/experienceSlugs.md +1 -1
  19. data/docs/experienceVersion.md +3 -3
  20. data/docs/experienceVersions.md +2 -2
  21. data/docs/experienceView.md +4 -4
  22. data/docs/experienceViews.md +2 -2
  23. data/docs/file.md +5 -5
  24. data/docs/files.md +2 -2
  25. data/docs/flow.md +41 -0
  26. data/docs/flowVersions.md +44 -0
  27. data/docs/instance.md +168 -0
  28. data/docs/instanceApiToken.md +133 -0
  29. data/docs/instanceApiTokens.md +91 -0
  30. data/docs/instanceMember.md +133 -0
  31. data/docs/instanceMembers.md +91 -0
  32. data/docs/instanceOrg.md +135 -0
  33. data/docs/instanceOrgInvite.md +139 -0
  34. data/docs/instanceOrgInvites.md +96 -0
  35. data/docs/instanceOrgMember.md +139 -0
  36. data/docs/instanceOrgMembers.md +96 -0
  37. data/docs/instanceOrgs.md +91 -0
  38. data/docs/instances.md +50 -0
  39. data/docs/me.md +1 -1
  40. data/docs/org.md +1 -1
  41. data/docs/userApiToken.md +125 -0
  42. data/docs/userApiTokens.md +87 -0
  43. data/lib/losant_rest/application.rb +7 -7
  44. data/lib/losant_rest/application_api_token.rb +1 -1
  45. data/lib/losant_rest/application_api_tokens.rb +2 -2
  46. data/lib/losant_rest/application_certificate.rb +1 -1
  47. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  48. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  49. data/lib/losant_rest/application_certificates.rb +1 -1
  50. data/lib/losant_rest/application_dashboard.rb +1 -1
  51. data/lib/losant_rest/application_dashboards.rb +1 -1
  52. data/lib/losant_rest/application_key.rb +1 -1
  53. data/lib/losant_rest/application_keys.rb +1 -1
  54. data/lib/losant_rest/application_template.rb +1 -1
  55. data/lib/losant_rest/application_templates.rb +1 -1
  56. data/lib/losant_rest/applications.rb +2 -2
  57. data/lib/losant_rest/audit_log.rb +1 -1
  58. data/lib/losant_rest/audit_logs.rb +1 -1
  59. data/lib/losant_rest/auth.rb +1 -1
  60. data/lib/losant_rest/client.rb +63 -3
  61. data/lib/losant_rest/dashboard.rb +1 -1
  62. data/lib/losant_rest/dashboards.rb +1 -1
  63. data/lib/losant_rest/data.rb +1 -1
  64. data/lib/losant_rest/data_table.rb +2 -2
  65. data/lib/losant_rest/data_table_row.rb +1 -1
  66. data/lib/losant_rest/data_table_rows.rb +2 -2
  67. data/lib/losant_rest/data_tables.rb +2 -2
  68. data/lib/losant_rest/device.rb +51 -1
  69. data/lib/losant_rest/device_recipe.rb +1 -1
  70. data/lib/losant_rest/device_recipes.rb +1 -1
  71. data/lib/losant_rest/devices.rb +49 -3
  72. data/lib/losant_rest/edge_deployment.rb +81 -0
  73. data/lib/losant_rest/edge_deployments.rb +1 -1
  74. data/lib/losant_rest/error.rb +1 -1
  75. data/lib/losant_rest/event.rb +1 -1
  76. data/lib/losant_rest/events.rb +4 -4
  77. data/lib/losant_rest/experience.rb +2 -2
  78. data/lib/losant_rest/experience_domain.rb +1 -1
  79. data/lib/losant_rest/experience_domains.rb +2 -2
  80. data/lib/losant_rest/experience_endpoint.rb +1 -1
  81. data/lib/losant_rest/experience_endpoints.rb +1 -1
  82. data/lib/losant_rest/experience_group.rb +5 -1
  83. data/lib/losant_rest/experience_groups.rb +1 -1
  84. data/lib/losant_rest/experience_slug.rb +1 -1
  85. data/lib/losant_rest/experience_slugs.rb +2 -2
  86. data/lib/losant_rest/experience_user.rb +1 -1
  87. data/lib/losant_rest/experience_users.rb +1 -1
  88. data/lib/losant_rest/experience_version.rb +4 -4
  89. data/lib/losant_rest/experience_versions.rb +3 -3
  90. data/lib/losant_rest/experience_view.rb +5 -5
  91. data/lib/losant_rest/experience_views.rb +3 -3
  92. data/lib/losant_rest/file.rb +5 -5
  93. data/lib/losant_rest/files.rb +3 -3
  94. data/lib/losant_rest/flow.rb +47 -1
  95. data/lib/losant_rest/flow_version.rb +1 -1
  96. data/lib/losant_rest/flow_versions.rb +51 -1
  97. data/lib/losant_rest/flows.rb +1 -1
  98. data/lib/losant_rest/instance.rb +227 -0
  99. data/lib/losant_rest/instance_api_token.rb +176 -0
  100. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  101. data/lib/losant_rest/instance_member.rb +176 -0
  102. data/lib/losant_rest/instance_members.rb +134 -0
  103. data/lib/losant_rest/instance_org.rb +180 -0
  104. data/lib/losant_rest/instance_org_invite.rb +182 -0
  105. data/lib/losant_rest/instance_org_invites.rb +138 -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 +1 -1
  111. data/lib/losant_rest/integrations.rb +1 -1
  112. data/lib/losant_rest/me.rb +2 -2
  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/user_api_token.rb +170 -0
  119. data/lib/losant_rest/user_api_tokens.rb +132 -0
  120. data/lib/losant_rest/utils.rb +1 -1
  121. data/lib/losant_rest/version.rb +2 -2
  122. data/lib/losant_rest/webhook.rb +1 -1
  123. data/lib/losant_rest/webhooks.rb +1 -1
  124. data/lib/losant_rest.rb +16 -1
  125. data/schemas/advancedDeviceQuery.json +309 -0
  126. data/schemas/apiToken.json +2 -1
  127. data/schemas/apiTokenPost.json +431 -0
  128. data/schemas/apiTokens.json +4 -2
  129. data/schemas/applicationApiTokenPost.json +1 -0
  130. data/schemas/applicationDashboardPost.json +39 -17
  131. data/schemas/auditLog.json +4 -0
  132. data/schemas/auditLogFilter.json +4 -0
  133. data/schemas/auditLogs.json +4 -0
  134. data/schemas/bulkDeleteResponse.json +12 -0
  135. data/schemas/dashboard.json +39 -17
  136. data/schemas/dashboardPatch.json +39 -17
  137. data/schemas/dashboardPost.json +39 -17
  138. data/schemas/dashboardSendReport.json +4 -0
  139. data/schemas/dashboards.json +39 -17
  140. data/schemas/dataTableRowsDelete.json +1 -1
  141. data/schemas/devicePayloadCounts.json +24 -0
  142. data/schemas/devicesDeletePost.json +309 -0
  143. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  144. data/schemas/devicesExportPost.json +309 -0
  145. data/schemas/devicesPatch.json +309 -0
  146. data/schemas/devicesRemoveDataPost.json +309 -0
  147. data/schemas/edgeDeployment.json +16 -0
  148. data/schemas/edgeDeployments.json +16 -0
  149. data/schemas/eventsDeleted.json +1 -1
  150. data/schemas/experienceGroup.json +6 -0
  151. data/schemas/experienceGroups.json +6 -0
  152. data/schemas/experienceLinkedResources.json +381 -6
  153. data/schemas/filePost.json +8 -2
  154. data/schemas/flow.json +127 -2
  155. data/schemas/flowPatch.json +127 -2
  156. data/schemas/flowPost.json +127 -2
  157. data/schemas/flowStorageMetadata.json +13 -0
  158. data/schemas/flowVersion.json +254 -4
  159. data/schemas/flowVersionPost.json +127 -2
  160. data/schemas/flowVersions.json +254 -4
  161. data/schemas/flowVersionsDeletePost.json +941 -0
  162. data/schemas/flows.json +127 -2
  163. data/schemas/flowsImportPost.json +254 -4
  164. data/schemas/flowsImportResult.json +381 -6
  165. data/schemas/githubLogin.json +64 -11
  166. data/schemas/historicalSummaries.json +43 -0
  167. data/schemas/historicalSummary.json +490 -0
  168. data/schemas/instance.json +60 -0
  169. data/schemas/instanceMember.json +41 -0
  170. data/schemas/instanceMemberPatch.json +17 -0
  171. data/schemas/instanceMemberPost.json +37 -0
  172. data/schemas/instanceMembers.json +77 -0
  173. data/schemas/instanceOrg.json +14 -0
  174. data/schemas/instanceOrgMember.json +45 -0
  175. data/schemas/instanceOrgMemberPatch.json +69 -0
  176. data/schemas/instanceOrgMemberPost.json +161 -0
  177. data/schemas/instanceOrgMembers.json +42 -0
  178. data/schemas/instanceOrgPatch.json +19 -0
  179. data/schemas/instanceOrgPost.json +177 -0
  180. data/schemas/instanceOrgs.json +18 -0
  181. data/schemas/instancePatch.json +67 -0
  182. data/schemas/instanceReportOptionsPost.json +41 -0
  183. data/schemas/me.json +30 -14
  184. data/schemas/multiDeviceCommand.json +309 -0
  185. data/schemas/notebook.json +45 -0
  186. data/schemas/notebookPatch.json +30 -0
  187. data/schemas/notebookPost.json +30 -0
  188. data/schemas/notebooks.json +45 -0
  189. data/schemas/org.json +30 -14
  190. data/schemas/orgInvite.json +90 -0
  191. data/schemas/orgInviteCollection.json +130 -0
  192. data/schemas/orgInvites.json +82 -77
  193. data/schemas/orgPatch.json +0 -9
  194. data/schemas/orgRoleInfo.json +69 -0
  195. data/schemas/orgs.json +30 -14
  196. data/schemas/payloadStats.json +126 -0
  197. data/schemas/userCredentials.json +64 -11
  198. data/schemas/userPost.json +64 -11
  199. data/schemas/validateContextError.json +34 -0
  200. data/schemas/validateContextSuccess.json +34 -0
  201. data/schemas/virtualButtonPress.json +4 -0
  202. metadata +55 -3
@@ -19,6 +19,7 @@
19
19
  "enum": [
20
20
  "all.Application",
21
21
  "all.Application.read",
22
+ "all.Application.cli",
22
23
  "all.Device",
23
24
  "all.Device.read",
24
25
  "application.*",
@@ -41,6 +42,7 @@
41
42
  "deviceRecipe.*",
42
43
  "deviceRecipes.*",
43
44
  "devices.*",
45
+ "edgeDeployment.*",
44
46
  "edgeDeployments.*",
45
47
  "event.*",
46
48
  "events.*",
@@ -141,6 +143,7 @@
141
143
  "device.getLogEntries",
142
144
  "device.getState",
143
145
  "device.patch",
146
+ "device.payloadCounts",
144
147
  "device.removeData",
145
148
  "device.sendCommand",
146
149
  "device.sendState",
@@ -159,10 +162,12 @@
159
162
  "devices.detailedSummary",
160
163
  "devices.export",
161
164
  "devices.get",
165
+ "devices.payloadCounts",
162
166
  "devices.post",
163
167
  "devices.sendCommand",
164
168
  "devices.tagKeys",
165
169
  "devices.tagValues",
170
+ "edgeDeployment.get",
166
171
  "edgeDeployments.get",
167
172
  "edgeDeployments.release",
168
173
  "edgeDeployments.remove",
@@ -238,6 +243,7 @@
238
243
  "flow.patch",
239
244
  "flow.pressVirtualButton",
240
245
  "flow.setStorageEntry",
246
+ "flow.getStorageEntriesMetadata",
241
247
  "flow.stats",
242
248
  "flows.get",
243
249
  "flows.getByVersion",
@@ -249,6 +255,7 @@
249
255
  "flowVersion.log",
250
256
  "flowVersion.patch",
251
257
  "flowVersion.stats",
258
+ "flowVersions.delete",
252
259
  "flowVersions.get",
253
260
  "flowVersions.post",
254
261
  "integration.delete",
@@ -311,30 +318,75 @@
311
318
  }
312
319
  ]
313
320
  },
321
+ {
322
+ "type": "string",
323
+ "enum": [
324
+ "all.Instance",
325
+ "all.Instance.read",
326
+ "instance.*",
327
+ "instance.get",
328
+ "instance.patch",
329
+ "instance.historicalSummaries",
330
+ "instance.generateReport",
331
+ "instanceOrg.*",
332
+ "instanceOrg.get",
333
+ "instanceOrg.patch",
334
+ "instanceOrg.delete",
335
+ "instanceOrgs.*",
336
+ "instanceOrgs.get",
337
+ "instanceOrgs.post",
338
+ "instanceMember.*",
339
+ "instanceMember.get",
340
+ "instanceMember.patch",
341
+ "instanceMember.delete",
342
+ "instanceMembers.*",
343
+ "instanceMembers.get",
344
+ "instanceMembers.post",
345
+ "instanceOrgMember.*",
346
+ "instanceOrgMember.get",
347
+ "instanceOrgMember.patch",
348
+ "instanceOrgMember.delete",
349
+ "instanceOrgMembers.*",
350
+ "instanceOrgMembers.get",
351
+ "instanceOrgMembers.post",
352
+ "instanceOrgInvite.*",
353
+ "instanceOrgInvite.get",
354
+ "instanceOrgInvite.delete",
355
+ "instanceOrgInvite.resendInvite",
356
+ "instanceOrgInvites.*",
357
+ "instanceOrgInvites.get",
358
+ "instanceOrgInvites.post",
359
+ "instanceApiTokens.*",
360
+ "instanceApiTokens.get",
361
+ "instanceApiTokens.post",
362
+ "instanceApiToken.*",
363
+ "instanceApiToken.get",
364
+ "instanceApiToken.patch",
365
+ "instanceApiToken.delete"
366
+ ]
367
+ },
314
368
  {
315
369
  "type": "string",
316
370
  "enum": [
317
371
  "all.User",
318
372
  "all.User.read",
373
+ "all.User.cli",
374
+ "userApiToken.*",
375
+ "userApiToken.get",
376
+ "userApiToken.patch",
377
+ "userApiToken.delete",
378
+ "userApiTokens.*",
379
+ "userApiTokens.get",
380
+ "userApiTokens.post",
319
381
  "applicationTemplate.*",
320
382
  "applicationTemplate.get",
321
383
  "applicationTemplates.*",
322
384
  "applicationTemplates.get",
323
385
  "applicationTemplates.getCategories",
324
386
  "applicationTemplates.getUniqueKeywords",
325
- "me.*",
326
- "orgs.*",
327
- "instance.*",
328
- "instance.get",
329
387
  "instances.*",
330
388
  "instances.get",
331
- "instanceOrg.*",
332
- "instanceOrg.get",
333
- "instanceOrg.patch",
334
- "instanceOrg.delete",
335
- "instanceOrgs.*",
336
- "instanceOrgs.get",
337
- "instanceOrgs.post",
389
+ "me.*",
338
390
  "me.get",
339
391
  "me.patch",
340
392
  "me.delete",
@@ -348,6 +400,7 @@
348
400
  "me.fetchRecentItems",
349
401
  "me.payloadCounts",
350
402
  "me.transferResources",
403
+ "orgs.*",
351
404
  "orgs.get",
352
405
  "orgs.post"
353
406
  ]
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "#/definitions/historicalSummary"
9
+ }
10
+ },
11
+ "count": {
12
+ "type": "integer"
13
+ },
14
+ "totalCount": {
15
+ "type": "integer"
16
+ },
17
+ "perPage": {
18
+ "type": "integer"
19
+ },
20
+ "page": {
21
+ "type": "integer"
22
+ },
23
+ "filter": {
24
+ "type": "string"
25
+ },
26
+ "filterField": {
27
+ "type": "string"
28
+ },
29
+ "sortField": {
30
+ "type": "string"
31
+ },
32
+ "sortDirection": {
33
+ "type": "string",
34
+ "enum": [
35
+ "asc",
36
+ "desc",
37
+ "ASC",
38
+ "DESC",
39
+ ""
40
+ ]
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,490 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "resourceType": {
6
+ "type": "string",
7
+ "enum": [
8
+ "application",
9
+ "organization",
10
+ "whitelabel"
11
+ ]
12
+ },
13
+ "resourceId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "resourceName": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "maxLength": 255
21
+ },
22
+ "resourceProration": {
23
+ "type": "number"
24
+ },
25
+ "ownerType": {
26
+ "type": "string",
27
+ "enum": [
28
+ "organization",
29
+ "user"
30
+ ]
31
+ },
32
+ "ownerId": {
33
+ "type": "string",
34
+ "pattern": "^[A-Fa-f\\d]{24}$"
35
+ },
36
+ "ownerName": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 255
40
+ },
41
+ "limits": {
42
+ "apitoken": {
43
+ "type": "number"
44
+ },
45
+ "application": {
46
+ "type": "number"
47
+ },
48
+ "applicationkey": {
49
+ "type": "number"
50
+ },
51
+ "dashboard": {
52
+ "type": "number"
53
+ },
54
+ "datatable": {
55
+ "type": "number"
56
+ },
57
+ "device": {
58
+ "type": "number"
59
+ },
60
+ "devicerecipe": {
61
+ "type": "number"
62
+ },
63
+ "experiencedomain": {
64
+ "type": "number"
65
+ },
66
+ "experienceendpoint": {
67
+ "type": "number"
68
+ },
69
+ "experiencegroup": {
70
+ "type": "number"
71
+ },
72
+ "experienceslug": {
73
+ "type": "number"
74
+ },
75
+ "experienceuser": {
76
+ "type": "number"
77
+ },
78
+ "experienceversion": {
79
+ "type": "number"
80
+ },
81
+ "experienceview": {
82
+ "type": "number"
83
+ },
84
+ "file": {
85
+ "type": "number"
86
+ },
87
+ "flow": {
88
+ "type": "number"
89
+ },
90
+ "integration": {
91
+ "type": "number"
92
+ },
93
+ "notebook": {
94
+ "type": "number"
95
+ },
96
+ "webhook": {
97
+ "type": "number"
98
+ },
99
+ "dataTTL": {
100
+ "type": "number"
101
+ },
102
+ "member": {
103
+ "type": "number"
104
+ },
105
+ "payload": {
106
+ "type": "number"
107
+ },
108
+ "notebookMinutesPerRun": {
109
+ "type": "number"
110
+ },
111
+ "notebookMinutesPerMonth": {
112
+ "type": "number"
113
+ },
114
+ "notebookInParallel": {
115
+ "type": "number"
116
+ }
117
+ },
118
+ "currentPeriodStart": {
119
+ "type": "string",
120
+ "format": "date-time"
121
+ },
122
+ "currentPeriodEnd": {
123
+ "type": "string",
124
+ "format": "date-time"
125
+ },
126
+ "applicationCount": {
127
+ "type": "number"
128
+ },
129
+ "applicationCountProrated": {
130
+ "type": "number"
131
+ },
132
+ "userCount": {
133
+ "type": "number"
134
+ },
135
+ "userCountProrated": {
136
+ "type": "number"
137
+ },
138
+ "apiTokenCount": {
139
+ "type": "number"
140
+ },
141
+ "applicationKeyCount": {
142
+ "type": "number"
143
+ },
144
+ "certificateAuthorityCount": {
145
+ "type": "number"
146
+ },
147
+ "certificateCount": {
148
+ "type": "number"
149
+ },
150
+ "dashboardCount": {
151
+ "type": "number"
152
+ },
153
+ "dashboardCountProrated": {
154
+ "type": "number"
155
+ },
156
+ "dataTableCount": {
157
+ "type": "number"
158
+ },
159
+ "dataTableRowCount": {
160
+ "type": "number"
161
+ },
162
+ "dataTableTotalSizeMb": {
163
+ "type": "number"
164
+ },
165
+ "deviceCount": {
166
+ "type": "number"
167
+ },
168
+ "deviceCountProrated": {
169
+ "type": "number"
170
+ },
171
+ "deviceRecipeCount": {
172
+ "type": "number"
173
+ },
174
+ "eventCount": {
175
+ "type": "number"
176
+ },
177
+ "experienceDomainCount": {
178
+ "type": "number"
179
+ },
180
+ "experienceEndpointCount": {
181
+ "type": "number"
182
+ },
183
+ "experienceGroupCount": {
184
+ "type": "number"
185
+ },
186
+ "experienceSlugCount": {
187
+ "type": "number"
188
+ },
189
+ "experienceUserCount": {
190
+ "type": "number"
191
+ },
192
+ "experienceVersionCount": {
193
+ "type": "number"
194
+ },
195
+ "experienceViewCount": {
196
+ "type": "number"
197
+ },
198
+ "fileCount": {
199
+ "type": "number"
200
+ },
201
+ "fileTotalSizeMb": {
202
+ "type": "number"
203
+ },
204
+ "integrationCount": {
205
+ "type": "number"
206
+ },
207
+ "notebookCount": {
208
+ "type": "number"
209
+ },
210
+ "notebookRunCount": {
211
+ "type": "number"
212
+ },
213
+ "notebookMinutesCount": {
214
+ "type": "number"
215
+ },
216
+ "webhookCount": {
217
+ "type": "number"
218
+ },
219
+ "workflowCount": {
220
+ "type": "number"
221
+ },
222
+ "payloadBillableCount": {
223
+ "type": "number"
224
+ },
225
+ "payloadNonbillableCount": {
226
+ "type": "number"
227
+ },
228
+ "payloadBillableSizeMb": {
229
+ "type": "number"
230
+ },
231
+ "payloadNonbillableSizeMb": {
232
+ "type": "number"
233
+ },
234
+ "payloadCountDetails": {
235
+ "title": "Payload Stats",
236
+ "description": "Schema for the result of a payload stats request",
237
+ "type": "object",
238
+ "properties": {
239
+ "dataTable": {
240
+ "type": "object",
241
+ "patternProperties": {
242
+ ".*": {
243
+ "type": "number"
244
+ }
245
+ }
246
+ },
247
+ "deviceCommand": {
248
+ "type": "object",
249
+ "patternProperties": {
250
+ ".*": {
251
+ "type": "number"
252
+ }
253
+ }
254
+ },
255
+ "deviceConnect": {
256
+ "type": "object",
257
+ "patternProperties": {
258
+ ".*": {
259
+ "type": "number"
260
+ }
261
+ }
262
+ },
263
+ "deviceDisconnect": {
264
+ "type": "object",
265
+ "patternProperties": {
266
+ ".*": {
267
+ "type": "number"
268
+ }
269
+ }
270
+ },
271
+ "deviceState": {
272
+ "type": "object",
273
+ "patternProperties": {
274
+ ".*": {
275
+ "type": "number"
276
+ }
277
+ }
278
+ },
279
+ "endpoint": {
280
+ "type": "object",
281
+ "patternProperties": {
282
+ ".*": {
283
+ "type": "number"
284
+ }
285
+ }
286
+ },
287
+ "event": {
288
+ "type": "object",
289
+ "patternProperties": {
290
+ ".*": {
291
+ "type": "number"
292
+ }
293
+ }
294
+ },
295
+ "flowError": {
296
+ "type": "object",
297
+ "patternProperties": {
298
+ ".*": {
299
+ "type": "number"
300
+ }
301
+ }
302
+ },
303
+ "integration": {
304
+ "type": "object",
305
+ "patternProperties": {
306
+ ".*": {
307
+ "type": "number"
308
+ }
309
+ }
310
+ },
311
+ "mqttIn": {
312
+ "type": "object",
313
+ "patternProperties": {
314
+ ".*": {
315
+ "type": "number"
316
+ }
317
+ }
318
+ },
319
+ "mqttOut": {
320
+ "type": "object",
321
+ "patternProperties": {
322
+ ".*": {
323
+ "type": "number"
324
+ }
325
+ }
326
+ },
327
+ "notebook": {
328
+ "type": "object",
329
+ "patternProperties": {
330
+ ".*": {
331
+ "type": "number"
332
+ }
333
+ }
334
+ },
335
+ "timer": {
336
+ "type": "object",
337
+ "patternProperties": {
338
+ ".*": {
339
+ "type": "number"
340
+ }
341
+ }
342
+ },
343
+ "virtualButton": {
344
+ "type": "object",
345
+ "patternProperties": {
346
+ ".*": {
347
+ "type": "number"
348
+ }
349
+ }
350
+ },
351
+ "webhook": {
352
+ "type": "object",
353
+ "patternProperties": {
354
+ ".*": {
355
+ "type": "number"
356
+ }
357
+ }
358
+ }
359
+ }
360
+ },
361
+ "payloadSizeDetails": {
362
+ "title": "Payload Stats",
363
+ "description": "Schema for the result of a payload stats request",
364
+ "type": "object",
365
+ "properties": {
366
+ "dataTable": {
367
+ "type": "object",
368
+ "patternProperties": {
369
+ ".*": {
370
+ "type": "number"
371
+ }
372
+ }
373
+ },
374
+ "deviceCommand": {
375
+ "type": "object",
376
+ "patternProperties": {
377
+ ".*": {
378
+ "type": "number"
379
+ }
380
+ }
381
+ },
382
+ "deviceConnect": {
383
+ "type": "object",
384
+ "patternProperties": {
385
+ ".*": {
386
+ "type": "number"
387
+ }
388
+ }
389
+ },
390
+ "deviceDisconnect": {
391
+ "type": "object",
392
+ "patternProperties": {
393
+ ".*": {
394
+ "type": "number"
395
+ }
396
+ }
397
+ },
398
+ "deviceState": {
399
+ "type": "object",
400
+ "patternProperties": {
401
+ ".*": {
402
+ "type": "number"
403
+ }
404
+ }
405
+ },
406
+ "endpoint": {
407
+ "type": "object",
408
+ "patternProperties": {
409
+ ".*": {
410
+ "type": "number"
411
+ }
412
+ }
413
+ },
414
+ "event": {
415
+ "type": "object",
416
+ "patternProperties": {
417
+ ".*": {
418
+ "type": "number"
419
+ }
420
+ }
421
+ },
422
+ "flowError": {
423
+ "type": "object",
424
+ "patternProperties": {
425
+ ".*": {
426
+ "type": "number"
427
+ }
428
+ }
429
+ },
430
+ "integration": {
431
+ "type": "object",
432
+ "patternProperties": {
433
+ ".*": {
434
+ "type": "number"
435
+ }
436
+ }
437
+ },
438
+ "mqttIn": {
439
+ "type": "object",
440
+ "patternProperties": {
441
+ ".*": {
442
+ "type": "number"
443
+ }
444
+ }
445
+ },
446
+ "mqttOut": {
447
+ "type": "object",
448
+ "patternProperties": {
449
+ ".*": {
450
+ "type": "number"
451
+ }
452
+ }
453
+ },
454
+ "notebook": {
455
+ "type": "object",
456
+ "patternProperties": {
457
+ ".*": {
458
+ "type": "number"
459
+ }
460
+ }
461
+ },
462
+ "timer": {
463
+ "type": "object",
464
+ "patternProperties": {
465
+ ".*": {
466
+ "type": "number"
467
+ }
468
+ }
469
+ },
470
+ "virtualButton": {
471
+ "type": "object",
472
+ "patternProperties": {
473
+ ".*": {
474
+ "type": "number"
475
+ }
476
+ }
477
+ },
478
+ "webhook": {
479
+ "type": "object",
480
+ "patternProperties": {
481
+ ".*": {
482
+ "type": "number"
483
+ }
484
+ }
485
+ }
486
+ }
487
+ }
488
+ },
489
+ "additionalProperties": false
490
+ }