losant_rest 1.13.1 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +10817 -3660
  3. data/docs/application.md +1 -1
  4. data/docs/device.md +43 -0
  5. data/docs/devices.md +39 -0
  6. data/docs/edgeDeployment.md +49 -0
  7. data/docs/embeddedDeployment.md +49 -0
  8. data/docs/embeddedDeployments.md +215 -0
  9. data/docs/flow.md +3 -3
  10. data/docs/flows.md +2 -2
  11. data/docs/instance.md +4 -2
  12. data/docs/instanceOrg.md +2 -0
  13. data/docs/instanceOrgInvite.md +139 -0
  14. data/docs/instanceOrgInvites.md +96 -0
  15. data/docs/instanceOrgMembers.md +2 -2
  16. data/docs/instanceOrgs.md +1 -1
  17. data/docs/me.md +1 -1
  18. data/docs/org.md +1 -1
  19. data/lib/losant_rest/client.rb +22 -2
  20. data/lib/losant_rest/device.rb +50 -0
  21. data/lib/losant_rest/devices.rb +46 -0
  22. data/lib/losant_rest/edge_deployment.rb +81 -0
  23. data/lib/losant_rest/embedded_deployment.rb +81 -0
  24. data/lib/losant_rest/embedded_deployments.rb +280 -0
  25. data/lib/losant_rest/flow.rb +3 -3
  26. data/lib/losant_rest/flows.rb +2 -2
  27. data/lib/losant_rest/instance.rb +1 -0
  28. data/lib/losant_rest/instance_org.rb +4 -0
  29. data/lib/losant_rest/instance_org_invite.rb +182 -0
  30. data/lib/losant_rest/instance_org_invites.rb +138 -0
  31. data/lib/losant_rest/instance_org_members.rb +2 -2
  32. data/lib/losant_rest/instance_orgs.rb +2 -2
  33. data/lib/losant_rest/version.rb +1 -1
  34. data/lib/losant_rest.rb +5 -0
  35. data/schemas/apiTokenPost.json +19 -0
  36. data/schemas/application.json +32 -32
  37. data/schemas/applicationCreationByTemplateResult.json +32 -32
  38. data/schemas/applicationDashboardPost.json +8 -5
  39. data/schemas/applicationPatch.json +13 -13
  40. data/schemas/applicationPost.json +13 -13
  41. data/schemas/applicationTemplate.json +16 -16
  42. data/schemas/applicationTemplates.json +16 -16
  43. data/schemas/applications.json +32 -32
  44. data/schemas/authedDevice.json +2 -1
  45. data/schemas/dashboard.json +8 -5
  46. data/schemas/dashboardPatch.json +8 -5
  47. data/schemas/dashboardPost.json +8 -5
  48. data/schemas/dashboardSendReport.json +6 -6
  49. data/schemas/dashboards.json +8 -5
  50. data/schemas/dataTableRowsDelete.json +1 -1
  51. data/schemas/device.json +2 -1
  52. data/schemas/deviceClassFilter.json +4 -2
  53. data/schemas/devicePatch.json +2 -1
  54. data/schemas/devicePayloadCounts.json +24 -0
  55. data/schemas/devicePost.json +2 -1
  56. data/schemas/deviceRecipe.json +2 -1
  57. data/schemas/deviceRecipePatch.json +2 -1
  58. data/schemas/deviceRecipePost.json +2 -1
  59. data/schemas/deviceRecipes.json +2 -1
  60. data/schemas/devices.json +4 -2
  61. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  62. data/schemas/devicesPatch.json +4 -2
  63. data/schemas/edgeDeployment.json +20 -0
  64. data/schemas/edgeDeployments.json +20 -0
  65. data/schemas/embeddedDeployment.json +179 -0
  66. data/schemas/embeddedDeploymentExport.json +44 -0
  67. data/schemas/embeddedDeploymentRelease.json +58 -0
  68. data/schemas/embeddedDeploymentRemove.json +25 -0
  69. data/schemas/embeddedDeploymentReplace.json +29 -0
  70. data/schemas/embeddedDeployments.json +212 -0
  71. data/schemas/eventsDeleted.json +1 -1
  72. data/schemas/eventsExport.json +4 -0
  73. data/schemas/experienceEndpoint.json +6 -8
  74. data/schemas/experienceEndpointPatch.json +6 -8
  75. data/schemas/experienceEndpointPost.json +6 -8
  76. data/schemas/experienceEndpoints.json +6 -8
  77. data/schemas/experienceLinkedResources.json +790 -85
  78. data/schemas/flow.json +252 -16
  79. data/schemas/flowPatch.json +251 -16
  80. data/schemas/flowPost.json +252 -16
  81. data/schemas/flowVersion.json +503 -33
  82. data/schemas/flowVersionPost.json +251 -16
  83. data/schemas/flowVersions.json +503 -33
  84. data/schemas/flows.json +253 -16
  85. data/schemas/flowsImportPost.json +503 -32
  86. data/schemas/flowsImportResult.json +785 -79
  87. data/schemas/githubLogin.json +19 -0
  88. data/schemas/historicalSummary.json +147 -102
  89. data/schemas/instance.json +92 -79
  90. data/schemas/instanceMember.json +10 -0
  91. data/schemas/instanceMemberPost.json +18 -3
  92. data/schemas/instanceMembers.json +14 -0
  93. data/schemas/instanceOrg.json +87 -74
  94. data/schemas/instanceOrgMember.json +14 -0
  95. data/schemas/instanceOrgMembers.json +8 -0
  96. data/schemas/instanceOrgPatch.json +64 -26
  97. data/schemas/instanceOrgPost.json +65 -27
  98. data/schemas/instanceOrgs.json +91 -74
  99. data/schemas/instancePatch.json +2 -2
  100. data/schemas/me.json +134 -105
  101. data/schemas/notebook.json +32 -1
  102. data/schemas/notebookExecutionLogs.json +2 -1
  103. data/schemas/notebookPatch.json +32 -1
  104. data/schemas/notebookPost.json +32 -1
  105. data/schemas/notebooks.json +32 -1
  106. data/schemas/org.json +145 -110
  107. data/schemas/orgInvite.json +90 -0
  108. data/schemas/orgInviteCollection.json +130 -0
  109. data/schemas/orgInvites.json +82 -77
  110. data/schemas/orgRoleInfo.json +69 -0
  111. data/schemas/orgs.json +145 -110
  112. data/schemas/payloadStats.json +28 -12
  113. data/schemas/userCredentials.json +19 -0
  114. data/schemas/userPost.json +19 -0
  115. data/schemas/virtualButtonPress.json +4 -0
  116. metadata +27 -6
@@ -0,0 +1,138 @@
1
+ # The MIT License (MIT)
2
+ #
3
+ # Copyright (c) 2021 Losant IoT, Inc.
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
23
+ require "json"
24
+
25
+ module LosantRest
26
+
27
+ # Class containing all the actions for the Instance Org Invites Resource
28
+ class InstanceOrgInvites
29
+
30
+ def initialize(client)
31
+ @client = client
32
+ end
33
+
34
+ # Returns a collection of instance organization invites
35
+ #
36
+ # Authentication:
37
+ # The client must be configured with a valid api
38
+ # access token to call this action. The token
39
+ # must include at least one of the following scopes:
40
+ # all.Instance, all.Instance.read, all.User, all.User.read, instanceOrgInvites.*, or instanceOrgInvites.get.
41
+ #
42
+ # Parameters:
43
+ # * {string} instanceId - ID associated with the instance
44
+ # * {string} orgId - ID associated with the organization
45
+ # * {string} sortField - Field to sort the results by. Accepted values are: email, role, inviteDate
46
+ # * {string} sortDirection - Direction to sort the results by. Accepted values are: asc, desc
47
+ # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: email, role
48
+ # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.
49
+ # * {string} losantdomain - Domain scope of request (rarely needed)
50
+ # * {boolean} _actions - Return resource actions in response
51
+ # * {boolean} _links - Return resource link in response
52
+ # * {boolean} _embedded - Return embedded resources in response
53
+ #
54
+ # Responses:
55
+ # * 200 - A collection of instance organization invitations (https://api.losant.com/#/definitions/orgInviteCollection)
56
+ #
57
+ # Errors:
58
+ # * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
59
+ # * 404 - Error if instance or organization was not found (https://api.losant.com/#/definitions/error)
60
+ def get(params = {})
61
+ params = Utils.symbolize_hash_keys(params)
62
+ query_params = { _actions: false, _links: true, _embedded: true }
63
+ headers = {}
64
+ body = nil
65
+
66
+ raise ArgumentError.new("instanceId is required") unless params.has_key?(:instanceId)
67
+ raise ArgumentError.new("orgId is required") unless params.has_key?(:orgId)
68
+
69
+ query_params[:sortField] = params[:sortField] if params.has_key?(:sortField)
70
+ query_params[:sortDirection] = params[:sortDirection] if params.has_key?(:sortDirection)
71
+ query_params[:filterField] = params[:filterField] if params.has_key?(:filterField)
72
+ query_params[:filter] = params[:filter] if params.has_key?(:filter)
73
+ headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
74
+ query_params[:_actions] = params[:_actions] if params.has_key?(:_actions)
75
+ query_params[:_links] = params[:_links] if params.has_key?(:_links)
76
+ query_params[:_embedded] = params[:_embedded] if params.has_key?(:_embedded)
77
+
78
+ path = "/instances/#{params[:instanceId]}/orgs/#{params[:orgId]}/invites"
79
+
80
+ @client.request(
81
+ method: :get,
82
+ path: path,
83
+ query: query_params,
84
+ headers: headers,
85
+ body: body)
86
+ end
87
+
88
+ # Invites a member to an instance organization
89
+ #
90
+ # Authentication:
91
+ # The client must be configured with a valid api
92
+ # access token to call this action. The token
93
+ # must include at least one of the following scopes:
94
+ # all.Instance, all.User, instanceOrgInvites.*, or instanceOrgInvites.post.
95
+ #
96
+ # Parameters:
97
+ # * {string} instanceId - ID associated with the instance
98
+ # * {string} orgId - ID associated with the organization
99
+ # * {hash} invite - Object containing new invite info (https://api.losant.com/#/definitions/orgInvitePost)
100
+ # * {string} losantdomain - Domain scope of request (rarely needed)
101
+ # * {boolean} _actions - Return resource actions in response
102
+ # * {boolean} _links - Return resource link in response
103
+ # * {boolean} _embedded - Return embedded resources in response
104
+ #
105
+ # Responses:
106
+ # * 201 - The new organization invite (https://api.losant.com/#/definitions/orgInviteCollection)
107
+ #
108
+ # Errors:
109
+ # * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
110
+ # * 404 - Error if instance or organization was not found (https://api.losant.com/#/definitions/error)
111
+ def post(params = {})
112
+ params = Utils.symbolize_hash_keys(params)
113
+ query_params = { _actions: false, _links: true, _embedded: true }
114
+ headers = {}
115
+ body = nil
116
+
117
+ raise ArgumentError.new("instanceId is required") unless params.has_key?(:instanceId)
118
+ raise ArgumentError.new("orgId is required") unless params.has_key?(:orgId)
119
+ raise ArgumentError.new("invite is required") unless params.has_key?(:invite)
120
+
121
+ body = params[:invite] if params.has_key?(:invite)
122
+ headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
123
+ query_params[:_actions] = params[:_actions] if params.has_key?(:_actions)
124
+ query_params[:_links] = params[:_links] if params.has_key?(:_links)
125
+ query_params[:_embedded] = params[:_embedded] if params.has_key?(:_embedded)
126
+
127
+ path = "/instances/#{params[:instanceId]}/orgs/#{params[:orgId]}/invites"
128
+
129
+ @client.request(
130
+ method: :post,
131
+ path: path,
132
+ query: query_params,
133
+ headers: headers,
134
+ body: body)
135
+ end
136
+
137
+ end
138
+ end
@@ -41,7 +41,7 @@ module LosantRest
41
41
  #
42
42
  # Parameters:
43
43
  # * {string} instanceId - ID associated with the instance
44
- # * {string} orgId - ID associated with the instance
44
+ # * {string} orgId - ID associated with the organization
45
45
  # * {string} sortField - Field to sort the results by. Accepted values are: email, role
46
46
  # * {string} sortDirection - Direction to sort the results by. Accepted values are: asc, desc
47
47
  # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: email, role
@@ -95,7 +95,7 @@ module LosantRest
95
95
  #
96
96
  # Parameters:
97
97
  # * {string} instanceId - ID associated with the instance
98
- # * {string} orgId - ID associated with the instance
98
+ # * {string} orgId - ID associated with the organization
99
99
  # * {hash} member - Object containing new member info (https://api.losant.com/#/definitions/instanceOrgMemberPost)
100
100
  # * {string} losantdomain - Domain scope of request (rarely needed)
101
101
  # * {boolean} _actions - Return resource actions in response
@@ -47,7 +47,6 @@ module LosantRest
47
47
  # * {string} perPage - How many items to return per page
48
48
  # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name
49
49
  # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.
50
- # * {string} summaryExclude - Comma-separated list of summary fields to exclude from org summaries
51
50
  # * {string} summaryInclude - Comma-separated list of summary fields to include in org summary
52
51
  # * {string} losantdomain - Domain scope of request (rarely needed)
53
52
  # * {boolean} _actions - Return resource actions in response
@@ -73,7 +72,6 @@ module LosantRest
73
72
  query_params[:perPage] = params[:perPage] if params.has_key?(:perPage)
74
73
  query_params[:filterField] = params[:filterField] if params.has_key?(:filterField)
75
74
  query_params[:filter] = params[:filter] if params.has_key?(:filter)
76
- query_params[:summaryExclude] = params[:summaryExclude] if params.has_key?(:summaryExclude)
77
75
  query_params[:summaryInclude] = params[:summaryInclude] if params.has_key?(:summaryInclude)
78
76
  headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
79
77
  query_params[:_actions] = params[:_actions] if params.has_key?(:_actions)
@@ -100,6 +98,7 @@ module LosantRest
100
98
  #
101
99
  # Parameters:
102
100
  # * {string} instanceId - ID associated with the instance
101
+ # * {string} summaryInclude - Comma-separated list of summary fields to include in org summary
103
102
  # * {hash} orgConfig - Object containing configurations for the new organization (https://api.losant.com/#/definitions/instanceOrgPost)
104
103
  # * {string} losantdomain - Domain scope of request (rarely needed)
105
104
  # * {boolean} _actions - Return resource actions in response
@@ -119,6 +118,7 @@ module LosantRest
119
118
 
120
119
  raise ArgumentError.new("instanceId is required") unless params.has_key?(:instanceId)
121
120
 
121
+ query_params[:summaryInclude] = params[:summaryInclude] if params.has_key?(:summaryInclude)
122
122
  body = params[:orgConfig] if params.has_key?(:orgConfig)
123
123
  headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
124
124
  query_params[:_actions] = params[:_actions] if params.has_key?(:_actions)
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.13.1"
24
+ VERSION = "1.15.1"
25
25
  end
data/lib/losant_rest.rb CHANGED
@@ -51,7 +51,10 @@ require_relative "losant_rest/device"
51
51
  require_relative "losant_rest/device_recipe"
52
52
  require_relative "losant_rest/device_recipes"
53
53
  require_relative "losant_rest/devices"
54
+ require_relative "losant_rest/edge_deployment"
54
55
  require_relative "losant_rest/edge_deployments"
56
+ require_relative "losant_rest/embedded_deployment"
57
+ require_relative "losant_rest/embedded_deployments"
55
58
  require_relative "losant_rest/event"
56
59
  require_relative "losant_rest/events"
57
60
  require_relative "losant_rest/experience"
@@ -81,6 +84,8 @@ require_relative "losant_rest/instance_api_tokens"
81
84
  require_relative "losant_rest/instance_member"
82
85
  require_relative "losant_rest/instance_members"
83
86
  require_relative "losant_rest/instance_org"
87
+ require_relative "losant_rest/instance_org_invite"
88
+ require_relative "losant_rest/instance_org_invites"
84
89
  require_relative "losant_rest/instance_org_member"
85
90
  require_relative "losant_rest/instance_org_members"
86
91
  require_relative "losant_rest/instance_orgs"
@@ -50,7 +50,10 @@
50
50
  "deviceRecipe.*",
51
51
  "deviceRecipes.*",
52
52
  "devices.*",
53
+ "edgeDeployment.*",
53
54
  "edgeDeployments.*",
55
+ "embeddedDeployment.*",
56
+ "embeddedDeployments.*",
54
57
  "event.*",
55
58
  "events.*",
56
59
  "experience.*",
@@ -150,6 +153,7 @@
150
153
  "device.getLogEntries",
151
154
  "device.getState",
152
155
  "device.patch",
156
+ "device.payloadCounts",
153
157
  "device.removeData",
154
158
  "device.sendCommand",
155
159
  "device.sendState",
@@ -168,14 +172,22 @@
168
172
  "devices.detailedSummary",
169
173
  "devices.export",
170
174
  "devices.get",
175
+ "devices.payloadCounts",
171
176
  "devices.post",
172
177
  "devices.sendCommand",
173
178
  "devices.tagKeys",
174
179
  "devices.tagValues",
180
+ "edgeDeployment.get",
175
181
  "edgeDeployments.get",
176
182
  "edgeDeployments.release",
177
183
  "edgeDeployments.remove",
178
184
  "edgeDeployments.replace",
185
+ "embeddedDeployment.get",
186
+ "embeddedDeployments.get",
187
+ "embeddedDeployments.release",
188
+ "embeddedDeployments.remove",
189
+ "embeddedDeployments.replace",
190
+ "embeddedDeployments.export",
179
191
  "event.delete",
180
192
  "event.get",
181
193
  "event.patch",
@@ -353,6 +365,13 @@
353
365
  "instanceOrgMembers.*",
354
366
  "instanceOrgMembers.get",
355
367
  "instanceOrgMembers.post",
368
+ "instanceOrgInvite.*",
369
+ "instanceOrgInvite.get",
370
+ "instanceOrgInvite.delete",
371
+ "instanceOrgInvite.resendInvite",
372
+ "instanceOrgInvites.*",
373
+ "instanceOrgInvites.get",
374
+ "instanceOrgInvites.post",
356
375
  "instanceApiTokens.*",
357
376
  "instanceApiTokens.get",
358
377
  "instanceApiTokens.post",
@@ -108,66 +108,66 @@
108
108
  "type": "object",
109
109
  "properties": {
110
110
  "apiTokenCount": {
111
- "type": "number"
111
+ "type": "integer"
112
112
  },
113
113
  "dataTableCount": {
114
- "type": "number"
114
+ "type": "integer"
115
115
  },
116
116
  "deviceCount": {
117
- "type": "number"
117
+ "type": "integer"
118
118
  },
119
119
  "deviceRecipeCount": {
120
- "type": "number"
120
+ "type": "integer"
121
121
  },
122
122
  "eventCount": {
123
- "type": "number"
123
+ "type": "integer"
124
124
  },
125
125
  "experienceDomainCount": {
126
- "type": "number"
126
+ "type": "integer"
127
127
  },
128
128
  "experienceEndpointCount": {
129
- "type": "number"
129
+ "type": "integer"
130
130
  },
131
131
  "experienceGroupCount": {
132
- "type": "number"
132
+ "type": "integer"
133
133
  },
134
134
  "experienceSlugCount": {
135
- "type": "number"
135
+ "type": "integer"
136
136
  },
137
137
  "experienceUserCount": {
138
- "type": "number"
138
+ "type": "integer"
139
139
  },
140
140
  "experienceVersionCount": {
141
- "type": "number"
141
+ "type": "integer"
142
142
  },
143
143
  "experienceViewCount": {
144
- "type": "number"
144
+ "type": "integer"
145
145
  },
146
146
  "fileCount": {
147
- "type": "number"
147
+ "type": "integer"
148
148
  },
149
149
  "flowCount": {
150
- "type": "number"
150
+ "type": "integer"
151
151
  },
152
152
  "integrationCount": {
153
- "type": "number"
153
+ "type": "integer"
154
154
  },
155
155
  "keyCount": {
156
- "type": "number"
156
+ "type": "integer"
157
157
  },
158
158
  "storageStats": {
159
159
  "type": "object",
160
160
  "properties": {
161
161
  "count": {
162
- "type": "number"
162
+ "type": "integer"
163
163
  },
164
164
  "size": {
165
- "type": "number"
165
+ "type": "integer"
166
166
  }
167
167
  }
168
168
  },
169
169
  "webhookCount": {
170
- "type": "number"
170
+ "type": "integer"
171
171
  }
172
172
  }
173
173
  },
@@ -205,7 +205,7 @@
205
205
  "properties": {
206
206
  "directory": {
207
207
  "type": "string",
208
- "max": 255
208
+ "maxLength": 255
209
209
  },
210
210
  "mode": {
211
211
  "type": "string",
@@ -275,21 +275,21 @@
275
275
  "properties": {
276
276
  "bucket": {
277
277
  "type": "string",
278
- "max": 255
278
+ "maxLength": 255
279
279
  },
280
280
  "accessKeyId": {
281
281
  "type": "string",
282
- "min": 4,
283
- "max": 128
282
+ "minLength": 4,
283
+ "maxLength": 128
284
284
  },
285
285
  "secretAccessKey": {
286
286
  "type": "string",
287
- "min": 4,
288
- "max": 128
287
+ "minLength": 4,
288
+ "maxLength": 128
289
289
  },
290
290
  "region": {
291
291
  "type": "string",
292
- "max": 128
292
+ "maxLength": 128
293
293
  }
294
294
  },
295
295
  "required": [
@@ -315,7 +315,7 @@
315
315
  },
316
316
  "bucket": {
317
317
  "type": "string",
318
- "max": 255
318
+ "maxLength": 255
319
319
  }
320
320
  },
321
321
  "required": [
@@ -330,17 +330,17 @@
330
330
  "properties": {
331
331
  "account": {
332
332
  "type": "string",
333
- "min": 3,
334
- "max": 24
333
+ "minLength": 3,
334
+ "maxLength": 24
335
335
  },
336
336
  "accountKey": {
337
337
  "type": "string",
338
- "max": 255
338
+ "maxLength": 255
339
339
  },
340
340
  "bucket": {
341
341
  "type": "string",
342
- "min": 3,
343
- "max": 63
342
+ "minLength": 3,
343
+ "maxLength": 63
344
344
  }
345
345
  },
346
346
  "required": [
@@ -113,66 +113,66 @@
113
113
  "type": "object",
114
114
  "properties": {
115
115
  "apiTokenCount": {
116
- "type": "number"
116
+ "type": "integer"
117
117
  },
118
118
  "dataTableCount": {
119
- "type": "number"
119
+ "type": "integer"
120
120
  },
121
121
  "deviceCount": {
122
- "type": "number"
122
+ "type": "integer"
123
123
  },
124
124
  "deviceRecipeCount": {
125
- "type": "number"
125
+ "type": "integer"
126
126
  },
127
127
  "eventCount": {
128
- "type": "number"
128
+ "type": "integer"
129
129
  },
130
130
  "experienceDomainCount": {
131
- "type": "number"
131
+ "type": "integer"
132
132
  },
133
133
  "experienceEndpointCount": {
134
- "type": "number"
134
+ "type": "integer"
135
135
  },
136
136
  "experienceGroupCount": {
137
- "type": "number"
137
+ "type": "integer"
138
138
  },
139
139
  "experienceSlugCount": {
140
- "type": "number"
140
+ "type": "integer"
141
141
  },
142
142
  "experienceUserCount": {
143
- "type": "number"
143
+ "type": "integer"
144
144
  },
145
145
  "experienceVersionCount": {
146
- "type": "number"
146
+ "type": "integer"
147
147
  },
148
148
  "experienceViewCount": {
149
- "type": "number"
149
+ "type": "integer"
150
150
  },
151
151
  "fileCount": {
152
- "type": "number"
152
+ "type": "integer"
153
153
  },
154
154
  "flowCount": {
155
- "type": "number"
155
+ "type": "integer"
156
156
  },
157
157
  "integrationCount": {
158
- "type": "number"
158
+ "type": "integer"
159
159
  },
160
160
  "keyCount": {
161
- "type": "number"
161
+ "type": "integer"
162
162
  },
163
163
  "storageStats": {
164
164
  "type": "object",
165
165
  "properties": {
166
166
  "count": {
167
- "type": "number"
167
+ "type": "integer"
168
168
  },
169
169
  "size": {
170
- "type": "number"
170
+ "type": "integer"
171
171
  }
172
172
  }
173
173
  },
174
174
  "webhookCount": {
175
- "type": "number"
175
+ "type": "integer"
176
176
  }
177
177
  }
178
178
  },
@@ -210,7 +210,7 @@
210
210
  "properties": {
211
211
  "directory": {
212
212
  "type": "string",
213
- "max": 255
213
+ "maxLength": 255
214
214
  },
215
215
  "mode": {
216
216
  "type": "string",
@@ -280,21 +280,21 @@
280
280
  "properties": {
281
281
  "bucket": {
282
282
  "type": "string",
283
- "max": 255
283
+ "maxLength": 255
284
284
  },
285
285
  "accessKeyId": {
286
286
  "type": "string",
287
- "min": 4,
288
- "max": 128
287
+ "minLength": 4,
288
+ "maxLength": 128
289
289
  },
290
290
  "secretAccessKey": {
291
291
  "type": "string",
292
- "min": 4,
293
- "max": 128
292
+ "minLength": 4,
293
+ "maxLength": 128
294
294
  },
295
295
  "region": {
296
296
  "type": "string",
297
- "max": 128
297
+ "maxLength": 128
298
298
  }
299
299
  },
300
300
  "required": [
@@ -320,7 +320,7 @@
320
320
  },
321
321
  "bucket": {
322
322
  "type": "string",
323
- "max": 255
323
+ "maxLength": 255
324
324
  }
325
325
  },
326
326
  "required": [
@@ -335,17 +335,17 @@
335
335
  "properties": {
336
336
  "account": {
337
337
  "type": "string",
338
- "min": 3,
339
- "max": 24
338
+ "minLength": 3,
339
+ "maxLength": 24
340
340
  },
341
341
  "accountKey": {
342
342
  "type": "string",
343
- "max": 255
343
+ "maxLength": 255
344
344
  },
345
345
  "bucket": {
346
346
  "type": "string",
347
- "min": 3,
348
- "max": 63
347
+ "minLength": 3,
348
+ "maxLength": 63
349
349
  }
350
350
  },
351
351
  "required": [
@@ -3035,8 +3035,8 @@
3035
3035
  },
3036
3036
  "length": {
3037
3037
  "type": "integer",
3038
- "min": 1,
3039
- "max": 10
3038
+ "minimum": 1,
3039
+ "maximum": 10
3040
3040
  },
3041
3041
  "orientation": {
3042
3042
  "type": "string",
@@ -5251,6 +5251,9 @@
5251
5251
  "includeEdge": {
5252
5252
  "type": "boolean"
5253
5253
  },
5254
+ "includeEmbedded": {
5255
+ "type": "boolean"
5256
+ },
5254
5257
  "includeExperience": {
5255
5258
  "type": "boolean"
5256
5259
  },
@@ -5293,7 +5296,7 @@
5293
5296
  },
5294
5297
  "reportConfigs": {
5295
5298
  "type": "array",
5296
- "max": 10,
5299
+ "maxItems": 10,
5297
5300
  "items": {
5298
5301
  "type": "object",
5299
5302
  "properties": {
@@ -5307,8 +5310,8 @@
5307
5310
  },
5308
5311
  "toEmail": {
5309
5312
  "type": "array",
5310
- "min": 1,
5311
- "max": 10,
5313
+ "minItems": 1,
5314
+ "maxItems": 10,
5312
5315
  "items": {
5313
5316
  "type": "string",
5314
5317
  "format": "email",