losant_rest 1.10.4 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +35272 -19039
  5. data/docs/application.md +45 -4
  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/applicationTemplates.md +1 -1
  13. data/docs/applications.md +2 -2
  14. data/docs/auditLogs.md +1 -1
  15. data/docs/dashboards.md +1 -1
  16. data/docs/dataTable.md +1 -1
  17. data/docs/dataTableRows.md +1 -1
  18. data/docs/dataTables.md +2 -2
  19. data/docs/deviceRecipes.md +1 -1
  20. data/docs/devices.md +127 -3
  21. data/docs/edgeDeployments.md +1 -1
  22. data/docs/events.md +4 -4
  23. data/docs/experience.md +1 -1
  24. data/docs/experienceDomains.md +1 -1
  25. data/docs/experienceEndpoint.md +1 -0
  26. data/docs/experienceGroup.md +2 -0
  27. data/docs/experienceGroups.md +1 -1
  28. data/docs/experienceSlugs.md +1 -1
  29. data/docs/experienceUsers.md +1 -1
  30. data/docs/experienceVersion.md +3 -3
  31. data/docs/experienceVersions.md +3 -3
  32. data/docs/experienceView.md +4 -4
  33. data/docs/experienceViews.md +3 -3
  34. data/docs/file.md +5 -5
  35. data/docs/files.md +3 -3
  36. data/docs/flow.md +41 -0
  37. data/docs/flowVersions.md +46 -1
  38. data/docs/flows.md +5 -2
  39. data/docs/instance.md +166 -0
  40. data/docs/instanceApiToken.md +133 -0
  41. data/docs/instanceApiTokens.md +91 -0
  42. data/docs/instanceMember.md +133 -0
  43. data/docs/instanceMembers.md +91 -0
  44. data/docs/instanceOrg.md +133 -0
  45. data/docs/instanceOrgMember.md +139 -0
  46. data/docs/instanceOrgMembers.md +96 -0
  47. data/docs/instanceOrgs.md +91 -0
  48. data/docs/instances.md +50 -0
  49. data/docs/integration.md +1 -0
  50. data/docs/integrations.md +1 -1
  51. data/docs/notebooks.md +1 -1
  52. data/docs/orgs.md +1 -1
  53. data/docs/userApiToken.md +125 -0
  54. data/docs/userApiTokens.md +87 -0
  55. data/docs/webhook.md +1 -0
  56. data/docs/webhooks.md +1 -1
  57. data/lib/losant_rest.rb +15 -1
  58. data/lib/losant_rest/application.rb +53 -6
  59. data/lib/losant_rest/application_api_token.rb +1 -1
  60. data/lib/losant_rest/application_api_tokens.rb +2 -2
  61. data/lib/losant_rest/application_certificate.rb +1 -1
  62. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  63. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  64. data/lib/losant_rest/application_certificates.rb +1 -1
  65. data/lib/losant_rest/application_dashboard.rb +176 -0
  66. data/lib/losant_rest/application_dashboards.rb +138 -0
  67. data/lib/losant_rest/application_key.rb +1 -1
  68. data/lib/losant_rest/application_keys.rb +4 -1
  69. data/lib/losant_rest/application_template.rb +1 -1
  70. data/lib/losant_rest/application_templates.rb +1 -1
  71. data/lib/losant_rest/applications.rb +2 -2
  72. data/lib/losant_rest/audit_log.rb +1 -1
  73. data/lib/losant_rest/audit_logs.rb +1 -1
  74. data/lib/losant_rest/auth.rb +1 -1
  75. data/lib/losant_rest/client.rb +59 -3
  76. data/lib/losant_rest/dashboard.rb +1 -1
  77. data/lib/losant_rest/dashboards.rb +1 -1
  78. data/lib/losant_rest/data.rb +1 -1
  79. data/lib/losant_rest/data_table.rb +2 -2
  80. data/lib/losant_rest/data_table_row.rb +1 -1
  81. data/lib/losant_rest/data_table_rows.rb +2 -2
  82. data/lib/losant_rest/data_tables.rb +2 -2
  83. data/lib/losant_rest/device.rb +1 -1
  84. data/lib/losant_rest/device_recipe.rb +1 -1
  85. data/lib/losant_rest/device_recipes.rb +1 -1
  86. data/lib/losant_rest/devices.rb +155 -3
  87. data/lib/losant_rest/edge_deployments.rb +1 -1
  88. data/lib/losant_rest/error.rb +1 -1
  89. data/lib/losant_rest/event.rb +1 -1
  90. data/lib/losant_rest/events.rb +4 -4
  91. data/lib/losant_rest/experience.rb +2 -2
  92. data/lib/losant_rest/experience_domain.rb +1 -1
  93. data/lib/losant_rest/experience_domains.rb +2 -2
  94. data/lib/losant_rest/experience_endpoint.rb +3 -1
  95. data/lib/losant_rest/experience_endpoints.rb +1 -1
  96. data/lib/losant_rest/experience_group.rb +5 -1
  97. data/lib/losant_rest/experience_groups.rb +1 -1
  98. data/lib/losant_rest/experience_slug.rb +1 -1
  99. data/lib/losant_rest/experience_slugs.rb +2 -2
  100. data/lib/losant_rest/experience_user.rb +1 -1
  101. data/lib/losant_rest/experience_users.rb +1 -1
  102. data/lib/losant_rest/experience_version.rb +4 -4
  103. data/lib/losant_rest/experience_versions.rb +3 -3
  104. data/lib/losant_rest/experience_view.rb +5 -5
  105. data/lib/losant_rest/experience_views.rb +3 -3
  106. data/lib/losant_rest/file.rb +5 -5
  107. data/lib/losant_rest/files.rb +3 -3
  108. data/lib/losant_rest/flow.rb +47 -1
  109. data/lib/losant_rest/flow_version.rb +1 -1
  110. data/lib/losant_rest/flow_versions.rb +54 -1
  111. data/lib/losant_rest/flows.rb +9 -1
  112. data/lib/losant_rest/instance.rb +226 -0
  113. data/lib/losant_rest/instance_api_token.rb +176 -0
  114. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  115. data/lib/losant_rest/instance_member.rb +176 -0
  116. data/lib/losant_rest/instance_members.rb +134 -0
  117. data/lib/losant_rest/instance_org.rb +176 -0
  118. data/lib/losant_rest/instance_org_member.rb +182 -0
  119. data/lib/losant_rest/instance_org_members.rb +138 -0
  120. data/lib/losant_rest/instance_orgs.rb +139 -0
  121. data/lib/losant_rest/instances.rb +88 -0
  122. data/lib/losant_rest/integration.rb +3 -1
  123. data/lib/losant_rest/integrations.rb +1 -1
  124. data/lib/losant_rest/me.rb +2 -2
  125. data/lib/losant_rest/notebook.rb +1 -1
  126. data/lib/losant_rest/notebooks.rb +1 -1
  127. data/lib/losant_rest/org.rb +2 -2
  128. data/lib/losant_rest/org_invites.rb +1 -1
  129. data/lib/losant_rest/orgs.rb +1 -1
  130. data/lib/losant_rest/user_api_token.rb +170 -0
  131. data/lib/losant_rest/user_api_tokens.rb +132 -0
  132. data/lib/losant_rest/utils.rb +1 -1
  133. data/lib/losant_rest/version.rb +2 -2
  134. data/lib/losant_rest/webhook.rb +3 -1
  135. data/lib/losant_rest/webhooks.rb +1 -1
  136. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  137. data/schemas/advancedDeviceQuery.json +309 -0
  138. data/schemas/advancedFlowByVersionQuery.json +665 -0
  139. data/schemas/advancedFlowQuery.json +883 -0
  140. data/schemas/advancedFlowVersionQuery.json +925 -0
  141. data/schemas/apiToken.json +2 -1
  142. data/schemas/apiTokenPost.json +420 -0
  143. data/schemas/apiTokens.json +4 -2
  144. data/schemas/applicationApiTokenPost.json +11 -0
  145. data/schemas/applicationDashboardPost.json +5687 -0
  146. data/schemas/applicationGlobalPatch.json +33 -0
  147. data/schemas/attributeNamesResponse.json +14 -0
  148. data/schemas/auditLog.json +4 -0
  149. data/schemas/auditLogFilter.json +4 -0
  150. data/schemas/auditLogs.json +4 -0
  151. data/schemas/authedUser.json +3 -0
  152. data/schemas/bulkDeleteResponse.json +12 -0
  153. data/schemas/changePassword.json +1 -1
  154. data/schemas/dashboard.json +72 -17
  155. data/schemas/dashboardPatch.json +72 -17
  156. data/schemas/dashboardPost.json +72 -17
  157. data/schemas/dashboardSendReport.json +4 -0
  158. data/schemas/dashboards.json +72 -17
  159. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  160. data/schemas/deviceClassFilter.json +1 -2
  161. data/schemas/devicesDeletePost.json +309 -0
  162. data/schemas/devicesExportPost.json +309 -0
  163. data/schemas/devicesPatch.json +309 -0
  164. data/schemas/devicesRemoveDataPost.json +309 -0
  165. data/schemas/experienceGroup.json +6 -0
  166. data/schemas/experienceGroups.json +6 -0
  167. data/schemas/experienceLinkedResources.json +57 -0
  168. data/schemas/experienceVersion.json +9 -0
  169. data/schemas/experienceVersionPatch.json +9 -0
  170. data/schemas/experienceVersions.json +9 -0
  171. data/schemas/filePost.json +8 -2
  172. data/schemas/files.json +3 -0
  173. data/schemas/flow.json +19 -0
  174. data/schemas/flowPatch.json +19 -0
  175. data/schemas/flowPost.json +19 -0
  176. data/schemas/flowStorageMetadata.json +13 -0
  177. data/schemas/flowVersion.json +38 -0
  178. data/schemas/flowVersionPost.json +19 -0
  179. data/schemas/flowVersions.json +38 -0
  180. data/schemas/flowVersionsDeletePost.json +941 -0
  181. data/schemas/flows.json +19 -0
  182. data/schemas/flowsImportPost.json +38 -0
  183. data/schemas/flowsImportResult.json +57 -0
  184. data/schemas/githubLogin.json +64 -1
  185. data/schemas/historicalSummaries.json +43 -0
  186. data/schemas/historicalSummary.json +458 -0
  187. data/schemas/instance.json +192 -0
  188. data/schemas/instanceMember.json +37 -0
  189. data/schemas/instanceMemberPatch.json +17 -0
  190. data/schemas/instanceMemberPost.json +22 -0
  191. data/schemas/instanceMembers.json +69 -0
  192. data/schemas/instanceOrg.json +133 -0
  193. data/schemas/instanceOrgMember.json +37 -0
  194. data/schemas/instanceOrgMemberPatch.json +69 -0
  195. data/schemas/instanceOrgMemberPost.json +161 -0
  196. data/schemas/instanceOrgMembers.json +34 -0
  197. data/schemas/instanceOrgPatch.json +122 -0
  198. data/schemas/instanceOrgPost.json +291 -0
  199. data/schemas/instanceOrgs.json +174 -0
  200. data/schemas/instancePatch.json +67 -0
  201. data/schemas/instanceReportOptionsPost.json +41 -0
  202. data/schemas/instances.json +43 -0
  203. data/schemas/integration.json +3 -0
  204. data/schemas/integrationPatch.json +3 -0
  205. data/schemas/integrationPost.json +3 -0
  206. data/schemas/integrations.json +3 -0
  207. data/schemas/me.json +3 -0
  208. data/schemas/mePatch.json +1 -1
  209. data/schemas/multiDeviceCommand.json +309 -0
  210. data/schemas/notebook.json +22 -0
  211. data/schemas/notebookExecutionLogs.json +7 -0
  212. data/schemas/notebookPatch.json +7 -0
  213. data/schemas/notebookPost.json +7 -0
  214. data/schemas/notebooks.json +22 -0
  215. data/schemas/orgPatch.json +0 -9
  216. data/schemas/passwordResetFinish.json +1 -1
  217. data/schemas/payloadStats.json +110 -0
  218. data/schemas/tagKeysResponse.json +14 -0
  219. data/schemas/tagValuesResponse.json +19 -0
  220. data/schemas/userCredentials.json +64 -1
  221. data/schemas/userPost.json +65 -2
  222. data/schemas/validateContextError.json +34 -0
  223. data/schemas/validateContextSuccess.json +34 -0
  224. metadata +64 -3
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "array",
4
+ "maxItems": 100,
5
+ "items": {
6
+ "type": "object",
7
+ "properties": {
8
+ "key": {
9
+ "type": "string",
10
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
11
+ },
12
+ "json": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ],
17
+ "minLength": 1,
18
+ "maxLength": 32767
19
+ },
20
+ "cloudOnly": {
21
+ "type": "boolean"
22
+ },
23
+ "description": {
24
+ "type": "string",
25
+ "maxLength": 1024
26
+ }
27
+ },
28
+ "additionalProperties": false,
29
+ "required": [
30
+ "key"
31
+ ]
32
+ }
33
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "attributeNames": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string",
9
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
10
+ },
11
+ "maxItems": 1000
12
+ }
13
+ }
14
+ }
@@ -42,7 +42,10 @@
42
42
  "type": "string",
43
43
  "enum": [
44
44
  "ApiToken",
45
+ "ApplicationCertificateAuthority",
46
+ "ApplicationCertificate",
45
47
  "ApplicationKey",
48
+ "Dashboard",
46
49
  "DataTable",
47
50
  "Device",
48
51
  "DeviceRecipe",
@@ -57,6 +60,7 @@
57
60
  "File",
58
61
  "Flow",
59
62
  "Integration",
63
+ "Notebook",
60
64
  "Webhook"
61
65
  ]
62
66
  },
@@ -40,7 +40,10 @@
40
40
  "type": "string",
41
41
  "enum": [
42
42
  "ApiToken",
43
+ "ApplicationCertificateAuthority",
44
+ "ApplicationCertificate",
43
45
  "ApplicationKey",
46
+ "Dashboard",
44
47
  "DataTable",
45
48
  "Device",
46
49
  "DeviceRecipe",
@@ -55,6 +58,7 @@
55
58
  "File",
56
59
  "Flow",
57
60
  "Integration",
61
+ "Notebook",
58
62
  "Webhook"
59
63
  ]
60
64
  },
@@ -49,7 +49,10 @@
49
49
  "type": "string",
50
50
  "enum": [
51
51
  "ApiToken",
52
+ "ApplicationCertificateAuthority",
53
+ "ApplicationCertificate",
52
54
  "ApplicationKey",
55
+ "Dashboard",
53
56
  "DataTable",
54
57
  "Device",
55
58
  "DeviceRecipe",
@@ -64,6 +67,7 @@
64
67
  "File",
65
68
  "Flow",
66
69
  "Integration",
70
+ "Notebook",
67
71
  "Webhook"
68
72
  ]
69
73
  },
@@ -9,6 +9,9 @@
9
9
  "token": {
10
10
  "type": "string",
11
11
  "minLength": 1
12
+ },
13
+ "needsToVerifyEmail": {
14
+ "type": "boolean"
12
15
  }
13
16
  },
14
17
  "required": [
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "removed": {
6
+ "type": "number"
7
+ },
8
+ "failed": {
9
+ "type": "number"
10
+ }
11
+ }
12
+ }
@@ -15,7 +15,7 @@
15
15
  "type": "string",
16
16
  "minLength": 12,
17
17
  "maxLength": 2048,
18
- "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
18
+ "pattern": "^(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
19
19
  },
20
20
  "invalidateExistingTokens": {
21
21
  "type": "boolean"
@@ -116,6 +116,10 @@
116
116
  "timezone": {
117
117
  "type": "string",
118
118
  "maxLength": 255
119
+ },
120
+ "locale": {
121
+ "type": "string",
122
+ "maxLength": 5
119
123
  }
120
124
  },
121
125
  "additionalProperties": false,
@@ -248,7 +252,7 @@
248
252
  },
249
253
  {
250
254
  "type": "string",
251
- "maxLength": 64
255
+ "maxLength": 128
252
256
  }
253
257
  ]
254
258
  },
@@ -259,7 +263,7 @@
259
263
  },
260
264
  {
261
265
  "type": "string",
262
- "maxLength": 64
266
+ "maxLength": 128
263
267
  }
264
268
  ]
265
269
  },
@@ -1034,6 +1038,42 @@
1034
1038
  "$and",
1035
1039
  "advanced"
1036
1040
  ]
1041
+ },
1042
+ "columns": {
1043
+ "type": "array",
1044
+ "maxItems": 100,
1045
+ "items": {
1046
+ "type": "object",
1047
+ "properties": {
1048
+ "id": {
1049
+ "type": "string",
1050
+ "maxLength": 48
1051
+ },
1052
+ "type": {
1053
+ "oneOf": [
1054
+ {
1055
+ "type": "string",
1056
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
1057
+ },
1058
+ {
1059
+ "type": "string",
1060
+ "enum": [
1061
+ "$custom"
1062
+ ]
1063
+ }
1064
+ ]
1065
+ },
1066
+ "headerTemplate": {
1067
+ "type": "string",
1068
+ "maxLength": 1024
1069
+ },
1070
+ "rowTemplate": {
1071
+ "type": "string",
1072
+ "maxLength": 32767
1073
+ }
1074
+ },
1075
+ "additionalProperties": false
1076
+ }
1037
1077
  }
1038
1078
  },
1039
1079
  "additionalProperties": false
@@ -1301,6 +1341,9 @@
1301
1341
  "type": "string",
1302
1342
  "maxLength": 255
1303
1343
  }
1344
+ },
1345
+ "includeDeviceInfo": {
1346
+ "type": "boolean"
1304
1347
  }
1305
1348
  },
1306
1349
  "additionalProperties": false
@@ -1575,8 +1618,17 @@
1575
1618
  "state",
1576
1619
  "tag",
1577
1620
  "deviceName",
1578
- "sourceId"
1621
+ "sourceId",
1622
+ "custom"
1579
1623
  ]
1624
+ },
1625
+ "headerTemplate": {
1626
+ "type": "string",
1627
+ "maxLength": 1024
1628
+ },
1629
+ "rowTemplate": {
1630
+ "type": "string",
1631
+ "maxLength": 32767
1580
1632
  }
1581
1633
  },
1582
1634
  "additionalProperties": false
@@ -1652,7 +1704,7 @@
1652
1704
  },
1653
1705
  {
1654
1706
  "type": "string",
1655
- "maxLength": 64
1707
+ "maxLength": 128
1656
1708
  }
1657
1709
  ]
1658
1710
  },
@@ -1663,7 +1715,7 @@
1663
1715
  },
1664
1716
  {
1665
1717
  "type": "string",
1666
- "maxLength": 64
1718
+ "maxLength": 128
1667
1719
  }
1668
1720
  ]
1669
1721
  },
@@ -1684,7 +1736,7 @@
1684
1736
  },
1685
1737
  {
1686
1738
  "type": "string",
1687
- "maxLength": 64
1739
+ "maxLength": 128
1688
1740
  }
1689
1741
  ]
1690
1742
  },
@@ -2147,7 +2199,7 @@
2147
2199
  },
2148
2200
  {
2149
2201
  "type": "string",
2150
- "maxLength": 64
2202
+ "maxLength": 128
2151
2203
  }
2152
2204
  ]
2153
2205
  },
@@ -2158,7 +2210,7 @@
2158
2210
  },
2159
2211
  {
2160
2212
  "type": "string",
2161
- "maxLength": 64
2213
+ "maxLength": 128
2162
2214
  }
2163
2215
  ]
2164
2216
  },
@@ -2305,7 +2357,7 @@
2305
2357
  },
2306
2358
  {
2307
2359
  "type": "string",
2308
- "maxLength": 64
2360
+ "maxLength": 128
2309
2361
  }
2310
2362
  ]
2311
2363
  },
@@ -3080,7 +3132,7 @@
3080
3132
  },
3081
3133
  {
3082
3134
  "type": "string",
3083
- "maxLength": 64
3135
+ "maxLength": 128
3084
3136
  }
3085
3137
  ]
3086
3138
  },
@@ -3091,7 +3143,7 @@
3091
3143
  },
3092
3144
  {
3093
3145
  "type": "string",
3094
- "maxLength": 64
3146
+ "maxLength": 128
3095
3147
  }
3096
3148
  ]
3097
3149
  },
@@ -3699,7 +3751,7 @@
3699
3751
  },
3700
3752
  {
3701
3753
  "type": "string",
3702
- "maxLength": 64
3754
+ "maxLength": 128
3703
3755
  }
3704
3756
  ]
3705
3757
  },
@@ -3710,7 +3762,7 @@
3710
3762
  },
3711
3763
  {
3712
3764
  "type": "string",
3713
- "maxLength": 64
3765
+ "maxLength": 128
3714
3766
  }
3715
3767
  ]
3716
3768
  },
@@ -3721,7 +3773,7 @@
3721
3773
  },
3722
3774
  {
3723
3775
  "type": "string",
3724
- "maxLength": 64
3776
+ "maxLength": 128
3725
3777
  }
3726
3778
  ]
3727
3779
  },
@@ -3732,7 +3784,7 @@
3732
3784
  },
3733
3785
  {
3734
3786
  "type": "string",
3735
- "maxLength": 64
3787
+ "maxLength": 128
3736
3788
  }
3737
3789
  ]
3738
3790
  }
@@ -3928,6 +3980,9 @@
3928
3980
  },
3929
3981
  "defaultValue": {
3930
3982
  "type": "boolean"
3983
+ },
3984
+ "includeLabel": {
3985
+ "type": "boolean"
3931
3986
  }
3932
3987
  },
3933
3988
  "additionalProperties": false
@@ -4576,7 +4631,7 @@
4576
4631
  },
4577
4632
  {
4578
4633
  "type": "string",
4579
- "maxLength": 64
4634
+ "maxLength": 128
4580
4635
  }
4581
4636
  ]
4582
4637
  },
@@ -5087,7 +5142,7 @@
5087
5142
  },
5088
5143
  {
5089
5144
  "type": "string",
5090
- "maxLength": 64
5145
+ "maxLength": 128
5091
5146
  }
5092
5147
  ]
5093
5148
  },
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "type": "string",
133
- "maxLength": 64
133
+ "maxLength": 128
134
134
  }
135
135
  ]
136
136
  },
@@ -141,7 +141,7 @@
141
141
  },
142
142
  {
143
143
  "type": "string",
144
- "maxLength": 64
144
+ "maxLength": 128
145
145
  }
146
146
  ]
147
147
  },
@@ -916,6 +916,42 @@
916
916
  "$and",
917
917
  "advanced"
918
918
  ]
919
+ },
920
+ "columns": {
921
+ "type": "array",
922
+ "maxItems": 100,
923
+ "items": {
924
+ "type": "object",
925
+ "properties": {
926
+ "id": {
927
+ "type": "string",
928
+ "maxLength": 48
929
+ },
930
+ "type": {
931
+ "oneOf": [
932
+ {
933
+ "type": "string",
934
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
935
+ },
936
+ {
937
+ "type": "string",
938
+ "enum": [
939
+ "$custom"
940
+ ]
941
+ }
942
+ ]
943
+ },
944
+ "headerTemplate": {
945
+ "type": "string",
946
+ "maxLength": 1024
947
+ },
948
+ "rowTemplate": {
949
+ "type": "string",
950
+ "maxLength": 32767
951
+ }
952
+ },
953
+ "additionalProperties": false
954
+ }
919
955
  }
920
956
  },
921
957
  "additionalProperties": false
@@ -1183,6 +1219,9 @@
1183
1219
  "type": "string",
1184
1220
  "maxLength": 255
1185
1221
  }
1222
+ },
1223
+ "includeDeviceInfo": {
1224
+ "type": "boolean"
1186
1225
  }
1187
1226
  },
1188
1227
  "additionalProperties": false
@@ -1457,8 +1496,17 @@
1457
1496
  "state",
1458
1497
  "tag",
1459
1498
  "deviceName",
1460
- "sourceId"
1499
+ "sourceId",
1500
+ "custom"
1461
1501
  ]
1502
+ },
1503
+ "headerTemplate": {
1504
+ "type": "string",
1505
+ "maxLength": 1024
1506
+ },
1507
+ "rowTemplate": {
1508
+ "type": "string",
1509
+ "maxLength": 32767
1462
1510
  }
1463
1511
  },
1464
1512
  "additionalProperties": false
@@ -1534,7 +1582,7 @@
1534
1582
  },
1535
1583
  {
1536
1584
  "type": "string",
1537
- "maxLength": 64
1585
+ "maxLength": 128
1538
1586
  }
1539
1587
  ]
1540
1588
  },
@@ -1545,7 +1593,7 @@
1545
1593
  },
1546
1594
  {
1547
1595
  "type": "string",
1548
- "maxLength": 64
1596
+ "maxLength": 128
1549
1597
  }
1550
1598
  ]
1551
1599
  },
@@ -1566,7 +1614,7 @@
1566
1614
  },
1567
1615
  {
1568
1616
  "type": "string",
1569
- "maxLength": 64
1617
+ "maxLength": 128
1570
1618
  }
1571
1619
  ]
1572
1620
  },
@@ -2029,7 +2077,7 @@
2029
2077
  },
2030
2078
  {
2031
2079
  "type": "string",
2032
- "maxLength": 64
2080
+ "maxLength": 128
2033
2081
  }
2034
2082
  ]
2035
2083
  },
@@ -2040,7 +2088,7 @@
2040
2088
  },
2041
2089
  {
2042
2090
  "type": "string",
2043
- "maxLength": 64
2091
+ "maxLength": 128
2044
2092
  }
2045
2093
  ]
2046
2094
  },
@@ -2187,7 +2235,7 @@
2187
2235
  },
2188
2236
  {
2189
2237
  "type": "string",
2190
- "maxLength": 64
2238
+ "maxLength": 128
2191
2239
  }
2192
2240
  ]
2193
2241
  },
@@ -2962,7 +3010,7 @@
2962
3010
  },
2963
3011
  {
2964
3012
  "type": "string",
2965
- "maxLength": 64
3013
+ "maxLength": 128
2966
3014
  }
2967
3015
  ]
2968
3016
  },
@@ -2973,7 +3021,7 @@
2973
3021
  },
2974
3022
  {
2975
3023
  "type": "string",
2976
- "maxLength": 64
3024
+ "maxLength": 128
2977
3025
  }
2978
3026
  ]
2979
3027
  },
@@ -3581,7 +3629,7 @@
3581
3629
  },
3582
3630
  {
3583
3631
  "type": "string",
3584
- "maxLength": 64
3632
+ "maxLength": 128
3585
3633
  }
3586
3634
  ]
3587
3635
  },
@@ -3592,7 +3640,7 @@
3592
3640
  },
3593
3641
  {
3594
3642
  "type": "string",
3595
- "maxLength": 64
3643
+ "maxLength": 128
3596
3644
  }
3597
3645
  ]
3598
3646
  },
@@ -3603,7 +3651,7 @@
3603
3651
  },
3604
3652
  {
3605
3653
  "type": "string",
3606
- "maxLength": 64
3654
+ "maxLength": 128
3607
3655
  }
3608
3656
  ]
3609
3657
  },
@@ -3614,7 +3662,7 @@
3614
3662
  },
3615
3663
  {
3616
3664
  "type": "string",
3617
- "maxLength": 64
3665
+ "maxLength": 128
3618
3666
  }
3619
3667
  ]
3620
3668
  }
@@ -3810,6 +3858,9 @@
3810
3858
  },
3811
3859
  "defaultValue": {
3812
3860
  "type": "boolean"
3861
+ },
3862
+ "includeLabel": {
3863
+ "type": "boolean"
3813
3864
  }
3814
3865
  },
3815
3866
  "additionalProperties": false
@@ -4458,7 +4509,7 @@
4458
4509
  },
4459
4510
  {
4460
4511
  "type": "string",
4461
- "maxLength": 64
4512
+ "maxLength": 128
4462
4513
  }
4463
4514
  ]
4464
4515
  },
@@ -4969,7 +5020,7 @@
4969
5020
  },
4970
5021
  {
4971
5022
  "type": "string",
4972
- "maxLength": 64
5023
+ "maxLength": 128
4973
5024
  }
4974
5025
  ]
4975
5026
  },
@@ -5266,6 +5317,10 @@
5266
5317
  "timezone": {
5267
5318
  "type": "string",
5268
5319
  "maxLength": 255
5320
+ },
5321
+ "locale": {
5322
+ "type": "string",
5323
+ "maxLength": 5
5269
5324
  }
5270
5325
  },
5271
5326
  "additionalProperties": false,