losant_rest 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +140925 -67028
  3. data/docs/application.md +27 -27
  4. data/docs/applicationApiToken.md +1 -1
  5. data/docs/applicationApiTokens.md +1 -1
  6. data/docs/applicationCertificate.md +3 -3
  7. data/docs/applicationCertificateAuthorities.md +2 -2
  8. data/docs/applicationCertificateAuthority.md +3 -3
  9. data/docs/applicationCertificates.md +5 -4
  10. data/docs/applicationDashboard.md +5 -5
  11. data/docs/applicationDashboards.md +2 -2
  12. data/docs/applicationJobLog.md +1 -1
  13. data/docs/applicationJobLogs.md +1 -1
  14. data/docs/applicationKey.md +3 -3
  15. data/docs/applicationKeys.md +2 -2
  16. data/docs/applicationTemplate.md +1 -1
  17. data/docs/applicationTemplates.md +3 -3
  18. data/docs/applications.md +5 -5
  19. data/docs/auditLog.md +1 -1
  20. data/docs/auditLogs.md +1 -1
  21. data/docs/auth.md +1 -1
  22. data/docs/credential.md +4 -4
  23. data/docs/credentials.md +2 -2
  24. data/docs/dashboard.md +4 -4
  25. data/docs/dashboards.md +3 -2
  26. data/docs/data.md +3 -3
  27. data/docs/dataTable.md +5 -5
  28. data/docs/dataTableRow.md +4 -4
  29. data/docs/dataTableRows.md +9 -9
  30. data/docs/dataTables.md +2 -2
  31. data/docs/device.md +15 -15
  32. data/docs/deviceAttribute.md +3 -3
  33. data/docs/deviceAttributes.md +2 -2
  34. data/docs/deviceRecipe.md +4 -4
  35. data/docs/deviceRecipes.md +2 -2
  36. data/docs/devices.md +14 -14
  37. data/docs/edgeDeployment.md +1 -1
  38. data/docs/edgeDeployments.md +7 -7
  39. data/docs/embeddedDeployment.md +1 -1
  40. data/docs/embeddedDeployments.md +8 -8
  41. data/docs/event.md +3 -3
  42. data/docs/events.md +6 -6
  43. data/docs/experience.md +3 -3
  44. data/docs/experienceDomain.md +3 -3
  45. data/docs/experienceDomains.md +2 -2
  46. data/docs/experienceEndpoint.md +4 -4
  47. data/docs/experienceEndpoints.md +3 -3
  48. data/docs/experienceGroup.md +3 -3
  49. data/docs/experienceGroups.md +2 -2
  50. data/docs/experienceSlug.md +3 -3
  51. data/docs/experienceSlugs.md +2 -2
  52. data/docs/experienceUser.md +3 -3
  53. data/docs/experienceUsers.md +2 -2
  54. data/docs/experienceVersion.md +3 -3
  55. data/docs/experienceVersions.md +2 -2
  56. data/docs/experienceView.md +4 -4
  57. data/docs/experienceViews.md +2 -2
  58. data/docs/file.md +9 -9
  59. data/docs/files.md +3 -3
  60. data/docs/flow.md +11 -11
  61. data/docs/flowVersion.md +6 -6
  62. data/docs/flowVersions.md +4 -4
  63. data/docs/flows.md +5 -5
  64. data/docs/instance.md +8 -8
  65. data/docs/instanceApiToken.md +1 -1
  66. data/docs/instanceApiTokens.md +2 -2
  67. data/docs/instanceAuditLog.md +1 -1
  68. data/docs/instanceAuditLogs.md +1 -1
  69. data/docs/instanceCustomNode.md +5 -5
  70. data/docs/instanceCustomNodes.md +2 -2
  71. data/docs/instanceMember.md +2 -2
  72. data/docs/instanceMembers.md +1 -1
  73. data/docs/instanceNotificationRule.md +5 -5
  74. data/docs/instanceNotificationRules.md +2 -2
  75. data/docs/instanceOrg.md +8 -8
  76. data/docs/instanceOrgInvite.md +3 -3
  77. data/docs/instanceOrgInvites.md +2 -2
  78. data/docs/instanceOrgMember.md +1 -1
  79. data/docs/instanceOrgMembers.md +3 -2
  80. data/docs/instanceOrgs.md +3 -3
  81. data/docs/instanceSandbox.md +7 -7
  82. data/docs/instanceSandboxes.md +1 -1
  83. data/docs/instances.md +1 -1
  84. data/docs/integration.md +3 -3
  85. data/docs/integrations.md +2 -2
  86. data/docs/me.md +21 -21
  87. data/docs/notebook.md +10 -10
  88. data/docs/notebooks.md +2 -2
  89. data/docs/org.md +14 -14
  90. data/docs/orgs.md +2 -2
  91. data/docs/privateFile.md +9 -9
  92. data/docs/privateFiles.md +3 -3
  93. data/docs/resourceJob.md +8 -8
  94. data/docs/resourceJobs.md +2 -2
  95. data/docs/userApiToken.md +3 -3
  96. data/docs/userApiTokens.md +4 -4
  97. data/docs/userOauthToken.md +125 -0
  98. data/docs/userOauthTokens.md +87 -0
  99. data/docs/webhook.md +3 -3
  100. data/docs/webhooks.md +2 -2
  101. data/lib/platform_rest/application.rb +21 -21
  102. data/lib/platform_rest/application_api_token.rb +1 -1
  103. data/lib/platform_rest/application_api_tokens.rb +1 -1
  104. data/lib/platform_rest/application_certificate.rb +3 -3
  105. data/lib/platform_rest/application_certificate_authorities.rb +2 -2
  106. data/lib/platform_rest/application_certificate_authority.rb +3 -3
  107. data/lib/platform_rest/application_certificates.rb +7 -4
  108. data/lib/platform_rest/application_dashboard.rb +5 -5
  109. data/lib/platform_rest/application_dashboards.rb +2 -2
  110. data/lib/platform_rest/application_job_log.rb +1 -1
  111. data/lib/platform_rest/application_job_logs.rb +1 -1
  112. data/lib/platform_rest/application_key.rb +3 -3
  113. data/lib/platform_rest/application_keys.rb +2 -2
  114. data/lib/platform_rest/application_template.rb +1 -1
  115. data/lib/platform_rest/application_templates.rb +3 -3
  116. data/lib/platform_rest/applications.rb +3 -3
  117. data/lib/platform_rest/audit_log.rb +1 -1
  118. data/lib/platform_rest/audit_logs.rb +1 -1
  119. data/lib/platform_rest/client.rb +10 -2
  120. data/lib/platform_rest/credential.rb +4 -4
  121. data/lib/platform_rest/credentials.rb +2 -2
  122. data/lib/platform_rest/dashboard.rb +4 -4
  123. data/lib/platform_rest/dashboards.rb +3 -2
  124. data/lib/platform_rest/data.rb +3 -3
  125. data/lib/platform_rest/data_table.rb +5 -5
  126. data/lib/platform_rest/data_table_row.rb +4 -4
  127. data/lib/platform_rest/data_table_rows.rb +9 -9
  128. data/lib/platform_rest/data_tables.rb +2 -2
  129. data/lib/platform_rest/device.rb +15 -15
  130. data/lib/platform_rest/device_attribute.rb +3 -3
  131. data/lib/platform_rest/device_attributes.rb +2 -2
  132. data/lib/platform_rest/device_recipe.rb +4 -4
  133. data/lib/platform_rest/device_recipes.rb +2 -2
  134. data/lib/platform_rest/devices.rb +14 -14
  135. data/lib/platform_rest/edge_deployment.rb +1 -1
  136. data/lib/platform_rest/edge_deployments.rb +7 -7
  137. data/lib/platform_rest/embedded_deployment.rb +1 -1
  138. data/lib/platform_rest/embedded_deployments.rb +8 -8
  139. data/lib/platform_rest/event.rb +3 -3
  140. data/lib/platform_rest/events.rb +6 -6
  141. data/lib/platform_rest/experience.rb +3 -3
  142. data/lib/platform_rest/experience_domain.rb +3 -3
  143. data/lib/platform_rest/experience_domains.rb +2 -2
  144. data/lib/platform_rest/experience_endpoint.rb +4 -4
  145. data/lib/platform_rest/experience_endpoints.rb +3 -3
  146. data/lib/platform_rest/experience_group.rb +3 -3
  147. data/lib/platform_rest/experience_groups.rb +2 -2
  148. data/lib/platform_rest/experience_slug.rb +3 -3
  149. data/lib/platform_rest/experience_slugs.rb +2 -2
  150. data/lib/platform_rest/experience_user.rb +3 -3
  151. data/lib/platform_rest/experience_users.rb +2 -2
  152. data/lib/platform_rest/experience_version.rb +3 -3
  153. data/lib/platform_rest/experience_versions.rb +2 -2
  154. data/lib/platform_rest/experience_view.rb +4 -4
  155. data/lib/platform_rest/experience_views.rb +2 -2
  156. data/lib/platform_rest/file.rb +6 -6
  157. data/lib/platform_rest/files.rb +2 -2
  158. data/lib/platform_rest/flow.rb +11 -11
  159. data/lib/platform_rest/flow_version.rb +6 -6
  160. data/lib/platform_rest/flow_versions.rb +3 -3
  161. data/lib/platform_rest/flows.rb +5 -5
  162. data/lib/platform_rest/instance.rb +8 -8
  163. data/lib/platform_rest/instance_api_token.rb +1 -1
  164. data/lib/platform_rest/instance_api_tokens.rb +2 -2
  165. data/lib/platform_rest/instance_audit_log.rb +1 -1
  166. data/lib/platform_rest/instance_audit_logs.rb +1 -1
  167. data/lib/platform_rest/instance_custom_node.rb +5 -5
  168. data/lib/platform_rest/instance_custom_nodes.rb +2 -2
  169. data/lib/platform_rest/instance_member.rb +2 -2
  170. data/lib/platform_rest/instance_members.rb +1 -1
  171. data/lib/platform_rest/instance_notification_rule.rb +5 -5
  172. data/lib/platform_rest/instance_notification_rules.rb +2 -2
  173. data/lib/platform_rest/instance_org.rb +8 -8
  174. data/lib/platform_rest/instance_org_invite.rb +3 -3
  175. data/lib/platform_rest/instance_org_invites.rb +3 -3
  176. data/lib/platform_rest/instance_org_member.rb +1 -1
  177. data/lib/platform_rest/instance_org_members.rb +3 -2
  178. data/lib/platform_rest/instance_orgs.rb +3 -3
  179. data/lib/platform_rest/instance_sandbox.rb +7 -7
  180. data/lib/platform_rest/instance_sandboxes.rb +1 -1
  181. data/lib/platform_rest/instances.rb +1 -1
  182. data/lib/platform_rest/integration.rb +3 -3
  183. data/lib/platform_rest/integrations.rb +2 -2
  184. data/lib/platform_rest/me.rb +21 -21
  185. data/lib/platform_rest/notebook.rb +9 -9
  186. data/lib/platform_rest/notebooks.rb +2 -2
  187. data/lib/platform_rest/org.rb +14 -14
  188. data/lib/platform_rest/orgs.rb +2 -2
  189. data/lib/platform_rest/private_file.rb +6 -6
  190. data/lib/platform_rest/private_files.rb +2 -2
  191. data/lib/platform_rest/resource_job.rb +8 -8
  192. data/lib/platform_rest/resource_jobs.rb +2 -2
  193. data/lib/platform_rest/user_api_token.rb +3 -3
  194. data/lib/platform_rest/user_api_tokens.rb +4 -4
  195. data/lib/platform_rest/user_oauth_token.rb +170 -0
  196. data/lib/platform_rest/user_oauth_tokens.rb +132 -0
  197. data/lib/platform_rest/version.rb +1 -1
  198. data/lib/platform_rest/webhook.rb +3 -3
  199. data/lib/platform_rest/webhooks.rb +2 -2
  200. data/lib/platform_rest.rb +2 -0
  201. data/schemas/advancedApplicationCertQuery.json +1885 -0
  202. data/schemas/advancedApplicationKeyQuery.json +763 -763
  203. data/schemas/apiToken.json +110 -1
  204. data/schemas/apiTokenPatch.json +100 -0
  205. data/schemas/apiTokenPost.json +118 -0
  206. data/schemas/apiTokens.json +120 -2
  207. data/schemas/application.json +15 -2
  208. data/schemas/applicationCertificate.json +90 -58
  209. data/schemas/applicationCertificateAuthorities.json +24 -0
  210. data/schemas/applicationCertificateAuthority.json +24 -0
  211. data/schemas/applicationCertificatePatch.json +32 -4
  212. data/schemas/applicationCertificatePost.json +28 -30
  213. data/schemas/applicationCertificates.json +90 -58
  214. data/schemas/applicationCreationByTemplateResult.json +15 -2
  215. data/schemas/applicationDashboardPost.json +183 -128
  216. data/schemas/applicationImportExecutions.json +3 -5
  217. data/schemas/applicationImportResult.json +674 -0
  218. data/schemas/applicationJobLog.json +129 -123
  219. data/schemas/applicationJobLogs.json +129 -123
  220. data/schemas/applicationKey.json +41 -41
  221. data/schemas/applicationKeyPatch.json +4 -4
  222. data/schemas/applicationKeyPost.json +36 -29
  223. data/schemas/applicationKeys.json +41 -41
  224. data/schemas/applicationSearchResult.json +10 -10
  225. data/schemas/applicationTemplates.json +9 -2
  226. data/schemas/applications.json +15 -2
  227. data/schemas/auditLog.json +2 -6
  228. data/schemas/auditLogs.json +2 -6
  229. data/schemas/authedDevice.json +3 -0
  230. data/schemas/credential.json +7 -0
  231. data/schemas/credentialLinkedResources.json +19724 -344
  232. data/schemas/credentialPatch.json +3 -0
  233. data/schemas/credentialPost.json +3 -0
  234. data/schemas/credentials.json +7 -0
  235. data/schemas/dashboard.json +203 -128
  236. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  237. data/schemas/dashboardPatch.json +183 -128
  238. data/schemas/dashboardPost.json +183 -128
  239. data/schemas/dashboardUpdateEventsResult.json +266 -0
  240. data/schemas/dashboards.json +203 -128
  241. data/schemas/dataTable.json +11 -0
  242. data/schemas/dataTableRowPatch.json +16 -0
  243. data/schemas/dataTableRowPost.json +39 -0
  244. data/schemas/dataTableRowPostResult.json +54 -0
  245. data/schemas/dataTables.json +11 -0
  246. data/schemas/device.json +259 -107
  247. data/schemas/deviceConnectionStatus.json +4 -0
  248. data/schemas/deviceLog.json +3 -0
  249. data/schemas/deviceRecipe.json +259 -108
  250. data/schemas/deviceRecipes.json +259 -108
  251. data/schemas/devices.json +287 -116
  252. data/schemas/edgeDeploymentRelease.json +4252 -39
  253. data/schemas/edgeDeployments.json +28 -0
  254. data/schemas/embeddedDeploymentRelease.json +2073 -0
  255. data/schemas/embeddedDeployments.json +25 -0
  256. data/schemas/error.json +14 -0
  257. data/schemas/event.json +4 -1
  258. data/schemas/eventPlusNewCount.json +4 -1
  259. data/schemas/events.json +4 -1
  260. data/schemas/experienceDomains.json +19 -0
  261. data/schemas/experienceEndpoint.json +19 -0
  262. data/schemas/experienceEndpoints.json +24 -0
  263. data/schemas/experienceLinkedResources.json +19728 -313
  264. data/schemas/experienceSlugs.json +19 -0
  265. data/schemas/experienceUsers.json +16 -2
  266. data/schemas/experienceVersions.json +25 -0
  267. data/schemas/experienceView.json +5 -0
  268. data/schemas/experienceViews.json +10 -0
  269. data/schemas/fileUploadPostResponse.json +92 -103
  270. data/schemas/files.json +5 -1
  271. data/schemas/flow.json +211 -46
  272. data/schemas/flowPatch.json +199 -46
  273. data/schemas/flowPost.json +199 -46
  274. data/schemas/flowStorageMetadata.json +2 -2
  275. data/schemas/flowVersion.json +450 -101
  276. data/schemas/flowVersionPost.json +199 -46
  277. data/schemas/flowVersions.json +9903 -113
  278. data/schemas/flows.json +9637 -46
  279. data/schemas/flowsImportPost.json +398 -92
  280. data/schemas/flowsImportResult.json +661 -147
  281. data/schemas/githubLogin.json +18 -0
  282. data/schemas/historicalSummaries.json +3 -2
  283. data/schemas/historicalSummary.json +3 -2
  284. data/schemas/instanceAuditLog.json +2 -6
  285. data/schemas/instanceAuditLogs.json +90 -1
  286. data/schemas/instanceCustomNode.json +41 -2
  287. data/schemas/instanceCustomNodePatch.json +59 -6
  288. data/schemas/instanceCustomNodePost.json +59 -6
  289. data/schemas/instanceCustomNodes.json +41 -2
  290. data/schemas/instanceOrg.json +4 -1
  291. data/schemas/instanceOrgInvite.json +102 -0
  292. data/schemas/instanceOrgInviteSent.json +12 -0
  293. data/schemas/instanceOrgInvites.json +145 -0
  294. data/schemas/instanceOrgMember.json +52 -0
  295. data/schemas/instanceOrgMemberPatch.json +2 -2
  296. data/schemas/instanceOrgMemberPost.json +4 -4
  297. data/schemas/instanceOrgMembers.json +105 -1
  298. data/schemas/instanceOrgPost.json +5 -5
  299. data/schemas/instanceOrgs.json +5 -2
  300. data/schemas/instanceSandbox.json +5 -1
  301. data/schemas/instanceSandboxes.json +9 -1
  302. data/schemas/integration.json +38 -39
  303. data/schemas/integrationPatch.json +8 -8
  304. data/schemas/integrationPost.json +8 -8
  305. data/schemas/integrations.json +38 -39
  306. data/schemas/jobEnqueuedResult.json +1 -1
  307. data/schemas/me.json +685 -88
  308. data/schemas/notebook.json +33 -21
  309. data/schemas/notebookExecutionLogs.json +20 -0
  310. data/schemas/notebookMinuteCounts.json +1 -1
  311. data/schemas/notebookPatch.json +29 -21
  312. data/schemas/notebookPost.json +29 -21
  313. data/schemas/notebooks.json +33 -21
  314. data/schemas/notificationRule.json +4 -0
  315. data/schemas/notificationRules.json +8 -0
  316. data/schemas/oauthClient.json +107 -0
  317. data/schemas/oauthClientPost.json +89 -0
  318. data/schemas/oauthDcrError.json +23 -0
  319. data/schemas/oauthError.json +31 -0
  320. data/schemas/org.json +16 -3
  321. data/schemas/orgInvite.json +2 -2
  322. data/schemas/orgInviteCollection.json +2 -2
  323. data/schemas/orgInvitePost.json +2 -2
  324. data/schemas/orgInvites.json +77 -82
  325. data/schemas/orgInvitesUser.json +44 -47
  326. data/schemas/orgMemberPatch.json +2 -2
  327. data/schemas/orgRoleInfo.json +2 -2
  328. data/schemas/orgs.json +16 -3
  329. data/schemas/paletteResponse.json +372 -364
  330. data/schemas/periodSummaries.json +1 -1
  331. data/schemas/recentItemList.json +226 -27
  332. data/schemas/resourceJob.json +33 -9
  333. data/schemas/resourceJobExecutionLogs.json +34 -20
  334. data/schemas/resourceJobExecutionOptions.json +1 -1
  335. data/schemas/resourceJobPatch.json +9 -9
  336. data/schemas/resourceJobPost.json +9 -9
  337. data/schemas/resourceJobs.json +33 -9
  338. data/schemas/samlResponse.json +18 -0
  339. data/schemas/tagValuesResponse.json +1 -2
  340. data/schemas/templateKeywords.json +1 -0
  341. data/schemas/timeSeriesData.json +36 -4
  342. data/schemas/userCredentials.json +18 -0
  343. data/schemas/userOauthToken.json +210 -0
  344. data/schemas/userOauthTokenPatch.json +123 -0
  345. data/schemas/userOauthTokenPost.json +197 -0
  346. data/schemas/userOauthTokens.json +251 -0
  347. data/schemas/userPost.json +18 -0
  348. data/schemas/validateContextError.json +71 -24
  349. data/schemas/validateContextSuccess.json +71 -24
  350. metadata +22 -1
@@ -82,7 +82,7 @@
82
82
  "format": "date-time"
83
83
  },
84
84
  "minutes": {
85
- "type": "integer"
85
+ "type": "number"
86
86
  },
87
87
  "completed": {
88
88
  "type": "integer"
@@ -1,37 +1,236 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
- "properties": {
5
- "itemType": {
6
- "type": "string",
7
- "enum": [
8
- "application",
9
- "device",
10
- "flow",
11
- "dashboard",
12
- "organization"
13
- ]
4
+ "oneOf": [
5
+ {
6
+ "properties": {
7
+ "itemType": {
8
+ "type": "string",
9
+ "enum": [
10
+ "device"
11
+ ]
12
+ },
13
+ "parentId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "items": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^[A-Fa-f\\d]{24}$"
25
+ },
26
+ "name": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "maxLength": 255
30
+ },
31
+ "deviceClass": {
32
+ "type": "string",
33
+ "enum": [
34
+ "standalone",
35
+ "gateway",
36
+ "peripheral",
37
+ "floating",
38
+ "edgeCompute",
39
+ "system",
40
+ "embedded"
41
+ ]
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ },
48
+ {
49
+ "properties": {
50
+ "itemType": {
51
+ "type": "string",
52
+ "enum": [
53
+ "flow"
54
+ ]
55
+ },
56
+ "parentId": {
57
+ "type": "string",
58
+ "pattern": "^[A-Fa-f\\d]{24}$"
59
+ },
60
+ "items": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "object",
64
+ "properties": {
65
+ "id": {
66
+ "type": "string",
67
+ "pattern": "^[A-Fa-f\\d]{24}$"
68
+ },
69
+ "name": {
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 255
73
+ },
74
+ "flowClass": {
75
+ "type": "string",
76
+ "enum": [
77
+ "cloud",
78
+ "edge",
79
+ "embedded",
80
+ "experience",
81
+ "customNode"
82
+ ]
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
14
88
  },
15
- "parentId": {
16
- "type": "string",
17
- "pattern": "^[A-Fa-f\\d]{24}$"
89
+ {
90
+ "properties": {
91
+ "itemType": {
92
+ "type": "string",
93
+ "enum": [
94
+ "application"
95
+ ]
96
+ },
97
+ "parentId": {
98
+ "type": "string",
99
+ "pattern": "^[A-Fa-f\\d]{24}$"
100
+ },
101
+ "items": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "properties": {
106
+ "id": {
107
+ "type": "string",
108
+ "pattern": "^[A-Fa-f\\d]{24}$"
109
+ },
110
+ "name": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 255
114
+ },
115
+ "ownerId": {
116
+ "type": "string",
117
+ "pattern": "^[A-Fa-f\\d]{24}$"
118
+ },
119
+ "ownerType": {
120
+ "type": "string",
121
+ "enum": [
122
+ "user",
123
+ "organization"
124
+ ]
125
+ },
126
+ "ownerName": {
127
+ "type": "string",
128
+ "minLength": 1,
129
+ "maxLength": 255
130
+ },
131
+ "iconColor": {
132
+ "type": "string",
133
+ "maxLength": 64
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ },
140
+ {
141
+ "properties": {
142
+ "itemType": {
143
+ "type": "string",
144
+ "enum": [
145
+ "dashboard"
146
+ ]
147
+ },
148
+ "parentId": {
149
+ "type": "string",
150
+ "pattern": "^[A-Fa-f\\d]{24}$"
151
+ },
152
+ "items": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "object",
156
+ "properties": {
157
+ "id": {
158
+ "type": "string",
159
+ "pattern": "^[A-Fa-f\\d]{24}$"
160
+ },
161
+ "name": {
162
+ "type": "string",
163
+ "minLength": 1,
164
+ "maxLength": 255
165
+ },
166
+ "ownerId": {
167
+ "type": "string",
168
+ "pattern": "^[A-Fa-f\\d]{24}$"
169
+ },
170
+ "ownerType": {
171
+ "type": "string",
172
+ "enum": [
173
+ "user",
174
+ "organization"
175
+ ]
176
+ },
177
+ "ownerName": {
178
+ "type": "string",
179
+ "minLength": 1,
180
+ "maxLength": 255
181
+ },
182
+ "iconColor": {
183
+ "type": "string",
184
+ "maxLength": 64
185
+ },
186
+ "applicationId": {
187
+ "type": "string",
188
+ "pattern": "^[A-Fa-f\\d]{24}$"
189
+ },
190
+ "applicationName": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 255
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
18
199
  },
19
- "items": {
20
- "type": "array",
21
- "items": {
22
- "type": "object",
23
- "properties": {
24
- "id": {
25
- "type": "string",
26
- "pattern": "^[A-Fa-f\\d]{24}$"
27
- },
28
- "name": {
29
- "type": "string",
30
- "minLength": 1,
31
- "maxLength": 255
200
+ {
201
+ "properties": {
202
+ "itemType": {
203
+ "type": "string",
204
+ "enum": [
205
+ "organization"
206
+ ]
207
+ },
208
+ "parentId": {
209
+ "type": "string",
210
+ "pattern": "^[A-Fa-f\\d]{24}$"
211
+ },
212
+ "items": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "id": {
218
+ "type": "string",
219
+ "pattern": "^[A-Fa-f\\d]{24}$"
220
+ },
221
+ "name": {
222
+ "type": "string",
223
+ "minLength": 1,
224
+ "maxLength": 255
225
+ },
226
+ "iconColor": {
227
+ "type": "string",
228
+ "maxLength": 64
229
+ }
230
+ }
32
231
  }
33
232
  }
34
233
  }
35
234
  }
36
- }
235
+ ]
37
236
  }
@@ -33,7 +33,7 @@
33
33
  "type": "string",
34
34
  "minLength": 4,
35
35
  "maxLength": 255,
36
- "pattern": ".*{{.+}}.*"
36
+ "pattern": ".*\\{\\{.+\\}\\}.*"
37
37
  }
38
38
  ]
39
39
  },
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "iterationDelay": {
61
61
  "type": "integer",
62
- "min": 0,
63
- "max": 60000
62
+ "minimum": 0,
63
+ "maximum": 60000
64
64
  },
65
65
  "iterationTimeout": {
66
66
  "type": "integer",
67
- "min": 60000,
68
- "max": 900000
67
+ "minimum": 60000,
68
+ "maximum": 900000
69
69
  },
70
70
  "creationDate": {
71
71
  "type": "string",
@@ -75,6 +75,30 @@
75
75
  "type": "string",
76
76
  "format": "date-time"
77
77
  },
78
+ "createdById": {
79
+ "type": "string",
80
+ "pattern": "^[A-Fa-f\\d]{24}$"
81
+ },
82
+ "createdByType": {
83
+ "type": "string",
84
+ "enum": [
85
+ "flow",
86
+ "user",
87
+ "apiToken"
88
+ ]
89
+ },
90
+ "lastUpdatedById": {
91
+ "type": "string",
92
+ "pattern": "^[A-Fa-f\\d]{24}$"
93
+ },
94
+ "lastUpdatedByType": {
95
+ "type": "string",
96
+ "enum": [
97
+ "flow",
98
+ "user",
99
+ "apiToken"
100
+ ]
101
+ },
78
102
  "lastExecutionRequested": {
79
103
  "type": "string",
80
104
  "format": "date-time"
@@ -91,13 +115,13 @@
91
115
  },
92
116
  "maxIterationRetries": {
93
117
  "type": "integer",
94
- "min": 1,
95
- "max": 5
118
+ "minimum": 1,
119
+ "maximum": 5
96
120
  },
97
121
  "retryDelay": {
98
122
  "type": "integer",
99
- "min": 0,
100
- "max": 30000
123
+ "minimum": 0,
124
+ "maximum": 30000
101
125
  }
102
126
  },
103
127
  "additionalProperties": false
@@ -39,6 +39,20 @@
39
39
  "type": "string",
40
40
  "maxLength": 8192
41
41
  },
42
+ "dataTableId": {
43
+ "oneOf": [
44
+ {
45
+ "type": "string",
46
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
+ },
48
+ {
49
+ "type": "string",
50
+ "minLength": 4,
51
+ "maxLength": 255,
52
+ "pattern": ".*\\{\\{.+\\}\\}.*"
53
+ }
54
+ ]
55
+ },
42
56
  "resourceType": {
43
57
  "type": "string",
44
58
  "enum": [
@@ -93,13 +107,13 @@
93
107
  },
94
108
  "iterationDelay": {
95
109
  "type": "integer",
96
- "min": 0,
97
- "max": 60000
110
+ "minimum": 0,
111
+ "maximum": 60000
98
112
  },
99
113
  "iterationTimeout": {
100
114
  "type": "integer",
101
- "min": 60000,
102
- "max": 900000
115
+ "minimum": 60000,
116
+ "maximum": 900000
103
117
  },
104
118
  "maxIterationConcurrency": {
105
119
  "type": "integer",
@@ -127,23 +141,23 @@
127
141
  "type": "number"
128
142
  }
129
143
  }
144
+ },
145
+ "retryOnTimeout": {
146
+ "type": "boolean"
147
+ },
148
+ "retryOnFailure": {
149
+ "type": "boolean"
150
+ },
151
+ "maxIterationRetries": {
152
+ "type": "integer",
153
+ "minimum": 1,
154
+ "maximum": 5
155
+ },
156
+ "retryDelay": {
157
+ "type": "integer",
158
+ "minimum": 0,
159
+ "maximum": 30000
130
160
  }
131
- },
132
- "retryOnTimeout": {
133
- "type": "boolean"
134
- },
135
- "retryOnFailure": {
136
- "type": "boolean"
137
- },
138
- "maxIterationRetries": {
139
- "type": "integer",
140
- "min": 1,
141
- "max": 5
142
- },
143
- "retryDelay": {
144
- "type": "integer",
145
- "min": 0,
146
- "max": 30000
147
161
  }
148
162
  }
149
163
  }
@@ -20,7 +20,7 @@
20
20
  "type": "string",
21
21
  "minLength": 4,
22
22
  "maxLength": 255,
23
- "pattern": ".*{{.+}}.*"
23
+ "pattern": ".*\\{\\{.+\\}\\}.*"
24
24
  }
25
25
  ]
26
26
  }
@@ -21,7 +21,7 @@
21
21
  "type": "string",
22
22
  "minLength": 4,
23
23
  "maxLength": 255,
24
- "pattern": ".*{{.+}}.*"
24
+ "pattern": ".*\\{\\{.+\\}\\}.*"
25
25
  }
26
26
  ]
27
27
  },
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "iterationDelay": {
40
40
  "type": "integer",
41
- "min": 0,
42
- "max": 60000
41
+ "minimum": 0,
42
+ "maximum": 60000
43
43
  },
44
44
  "iterationTimeout": {
45
45
  "type": "integer",
46
- "min": 60000,
47
- "max": 900000
46
+ "minimum": 60000,
47
+ "maximum": 900000
48
48
  },
49
49
  "defaultContext": {
50
50
  "type": "string",
@@ -58,13 +58,13 @@
58
58
  },
59
59
  "maxIterationRetries": {
60
60
  "type": "integer",
61
- "min": 1,
62
- "max": 5
61
+ "minimum": 1,
62
+ "maximum": 5
63
63
  },
64
64
  "retryDelay": {
65
65
  "type": "integer",
66
- "min": 0,
67
- "max": 30000
66
+ "minimum": 0,
67
+ "maximum": 30000
68
68
  }
69
69
  },
70
70
  "additionalProperties": false
@@ -21,7 +21,7 @@
21
21
  "type": "string",
22
22
  "minLength": 4,
23
23
  "maxLength": 255,
24
- "pattern": ".*{{.+}}.*"
24
+ "pattern": ".*\\{\\{.+\\}\\}.*"
25
25
  }
26
26
  ]
27
27
  },
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "iterationDelay": {
49
49
  "type": "integer",
50
- "min": 0,
51
- "max": 60000
50
+ "minimum": 0,
51
+ "maximum": 60000
52
52
  },
53
53
  "iterationTimeout": {
54
54
  "type": "integer",
55
- "min": 60000,
56
- "max": 900000
55
+ "minimum": 60000,
56
+ "maximum": 900000
57
57
  },
58
58
  "defaultContext": {
59
59
  "type": "string",
@@ -67,13 +67,13 @@
67
67
  },
68
68
  "maxIterationRetries": {
69
69
  "type": "integer",
70
- "min": 1,
71
- "max": 5
70
+ "minimum": 1,
71
+ "maximum": 5
72
72
  },
73
73
  "retryDelay": {
74
74
  "type": "integer",
75
- "min": 0,
76
- "max": 30000
75
+ "minimum": 0,
76
+ "maximum": 30000
77
77
  }
78
78
  },
79
79
  "additionalProperties": false,
@@ -40,7 +40,7 @@
40
40
  "type": "string",
41
41
  "minLength": 4,
42
42
  "maxLength": 255,
43
- "pattern": ".*{{.+}}.*"
43
+ "pattern": ".*\\{\\{.+\\}\\}.*"
44
44
  }
45
45
  ]
46
46
  },
@@ -66,13 +66,13 @@
66
66
  },
67
67
  "iterationDelay": {
68
68
  "type": "integer",
69
- "min": 0,
70
- "max": 60000
69
+ "minimum": 0,
70
+ "maximum": 60000
71
71
  },
72
72
  "iterationTimeout": {
73
73
  "type": "integer",
74
- "min": 60000,
75
- "max": 900000
74
+ "minimum": 60000,
75
+ "maximum": 900000
76
76
  },
77
77
  "creationDate": {
78
78
  "type": "string",
@@ -82,6 +82,30 @@
82
82
  "type": "string",
83
83
  "format": "date-time"
84
84
  },
85
+ "createdById": {
86
+ "type": "string",
87
+ "pattern": "^[A-Fa-f\\d]{24}$"
88
+ },
89
+ "createdByType": {
90
+ "type": "string",
91
+ "enum": [
92
+ "flow",
93
+ "user",
94
+ "apiToken"
95
+ ]
96
+ },
97
+ "lastUpdatedById": {
98
+ "type": "string",
99
+ "pattern": "^[A-Fa-f\\d]{24}$"
100
+ },
101
+ "lastUpdatedByType": {
102
+ "type": "string",
103
+ "enum": [
104
+ "flow",
105
+ "user",
106
+ "apiToken"
107
+ ]
108
+ },
85
109
  "lastExecutionRequested": {
86
110
  "type": "string",
87
111
  "format": "date-time"
@@ -98,13 +122,13 @@
98
122
  },
99
123
  "maxIterationRetries": {
100
124
  "type": "integer",
101
- "min": 1,
102
- "max": 5
125
+ "minimum": 1,
126
+ "maximum": 5
103
127
  },
104
128
  "retryDelay": {
105
129
  "type": "integer",
106
- "min": 0,
107
- "max": 30000
130
+ "minimum": 0,
131
+ "maximum": 30000
108
132
  }
109
133
  },
110
134
  "additionalProperties": false
@@ -23,6 +23,7 @@
23
23
  "type": "string",
24
24
  "enum": [
25
25
  "all.Application",
26
+ "all.Application.bounded",
26
27
  "all.Application.read",
27
28
  "all.Application.cli",
28
29
  "all.Device",
@@ -349,7 +350,11 @@
349
350
  "type": "string",
350
351
  "enum": [
351
352
  "all.Organization",
353
+ "all.Organization.bounded",
352
354
  "all.Organization.read",
355
+ "only.Organization",
356
+ "only.Organization.bounded",
357
+ "only.Organization.read",
353
358
  "applications.*",
354
359
  "auditLog.*",
355
360
  "auditLogs.*",
@@ -392,6 +397,7 @@
392
397
  "type": "string",
393
398
  "enum": [
394
399
  "all.Instance",
400
+ "all.Instance.bounded",
395
401
  "all.Instance.read",
396
402
  "instance.*",
397
403
  "instance.get",
@@ -480,8 +486,12 @@
480
486
  "type": "string",
481
487
  "enum": [
482
488
  "all.User",
489
+ "all.User.bounded",
483
490
  "all.User.read",
484
491
  "all.User.cli",
492
+ "only.User",
493
+ "only.User.bounded",
494
+ "only.User.read",
485
495
  "userApiToken.*",
486
496
  "userApiToken.get",
487
497
  "userApiToken.patch",
@@ -489,6 +499,13 @@
489
499
  "userApiTokens.*",
490
500
  "userApiTokens.get",
491
501
  "userApiTokens.post",
502
+ "userOauthToken.*",
503
+ "userOauthToken.get",
504
+ "userOauthToken.patch",
505
+ "userOauthToken.delete",
506
+ "userOauthTokens.*",
507
+ "userOauthTokens.get",
508
+ "userOauthTokens.post",
492
509
  "applicationTemplate.*",
493
510
  "applicationTemplate.get",
494
511
  "applicationTemplates.*",
@@ -518,6 +535,7 @@
518
535
  "me.invite",
519
536
  "me.invites",
520
537
  "me.respondToInvite",
538
+ "me.refreshToken",
521
539
  "orgs.*",
522
540
  "orgs.get",
523
541
  "orgs.post"
@@ -3,8 +3,7 @@
3
3
  "type": "object",
4
4
  "properties": {
5
5
  "tagKey": {
6
- "type": "string",
7
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
6
+ "type": "string"
8
7
  },
9
8
  "tagValues": {
10
9
  "type": "array",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
3
4
  "properties": {
4
5
  "keywords": {
5
6
  "type": "array",