losant_rest 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,10 @@
19
19
  "twoFactorCode": {
20
20
  "type": "string",
21
21
  "maxLength": 2048
22
+ },
23
+ "tokenTTL": {
24
+ "type": "integer",
25
+ "minimum": 0
22
26
  }
23
27
  },
24
28
  "required": [
@@ -15,6 +15,281 @@
15
15
  "twoFactorCode": {
16
16
  "type": "string",
17
17
  "maxLength": 2048
18
+ },
19
+ "requestedScopes": {
20
+ "type": "array",
21
+ "uniqueItems": true,
22
+ "items": {
23
+ "oneOf": [
24
+ {
25
+ "oneOf": [
26
+ {
27
+ "type": "string",
28
+ "enum": [
29
+ "all.Application",
30
+ "all.Application.read",
31
+ "all.Device",
32
+ "all.Device.read",
33
+ "application.*",
34
+ "applicationApiToken.*",
35
+ "applicationApiTokens.*",
36
+ "applicationKey.*",
37
+ "applicationKeys.*",
38
+ "data.*",
39
+ "dataTable.*",
40
+ "dataTables.*",
41
+ "dataTableRow.*",
42
+ "dataTableRows.*",
43
+ "device.*",
44
+ "deviceRecipe.*",
45
+ "deviceRecipes.*",
46
+ "devices.*",
47
+ "edgeDeployments.*",
48
+ "event.*",
49
+ "events.*",
50
+ "experience.*",
51
+ "experienceDomain.*",
52
+ "experienceDomains.*",
53
+ "experienceEndpoint.*",
54
+ "experienceEndpoints.*",
55
+ "experienceGroup.*",
56
+ "experienceGroups.*",
57
+ "experienceUser.*",
58
+ "experienceUsers.*",
59
+ "experienceView.*",
60
+ "experienceViews.*",
61
+ "integration.*",
62
+ "integrations.*",
63
+ "file.*",
64
+ "files.*",
65
+ "flow.*",
66
+ "flows.*",
67
+ "flowVersion.*",
68
+ "flowVersions.*",
69
+ "webhook.*",
70
+ "webhooks.*",
71
+ "application.archiveData",
72
+ "application.backfillArchiveData",
73
+ "application.debug",
74
+ "application.delete",
75
+ "application.get",
76
+ "application.patch",
77
+ "application.payloadCounts",
78
+ "applicationApiToken.delete",
79
+ "applicationApiToken.get",
80
+ "applicationApiToken.patch",
81
+ "applicationApiTokens.get",
82
+ "applicationApiTokens.post",
83
+ "applicationKey.delete",
84
+ "applicationKey.get",
85
+ "applicationKey.patch",
86
+ "applicationKeys.get",
87
+ "applicationKeys.post",
88
+ "data.lastValueQuery",
89
+ "data.timeSeriesQuery",
90
+ "dataTable.addColumn",
91
+ "dataTable.delete",
92
+ "dataTable.get",
93
+ "dataTable.patch",
94
+ "dataTable.removeColumn",
95
+ "dataTableRow.delete",
96
+ "dataTableRow.get",
97
+ "dataTableRow.patch",
98
+ "dataTableRows.get",
99
+ "dataTableRows.post",
100
+ "dataTableRows.query",
101
+ "dataTableRows.export",
102
+ "dataTableRows.delete",
103
+ "dataTableRows.truncate",
104
+ "dataTables.get",
105
+ "dataTables.post",
106
+ "device.commandStream",
107
+ "device.debug",
108
+ "device.delete",
109
+ "device.export",
110
+ "device.get",
111
+ "device.getCommand",
112
+ "device.getCompositeState",
113
+ "device.getLogEntries",
114
+ "device.getState",
115
+ "device.patch",
116
+ "device.removeData",
117
+ "device.sendCommand",
118
+ "device.sendState",
119
+ "device.setConnectionStatus",
120
+ "device.stateStream",
121
+ "deviceRecipe.bulkCreate",
122
+ "deviceRecipe.delete",
123
+ "deviceRecipe.get",
124
+ "deviceRecipe.patch",
125
+ "deviceRecipes.get",
126
+ "deviceRecipes.post",
127
+ "devices.detailedSummary",
128
+ "devices.export",
129
+ "devices.get",
130
+ "devices.post",
131
+ "devices.sendCommand",
132
+ "edgeDeployments.get",
133
+ "edgeDeployments.release",
134
+ "edgeDeployments.remove",
135
+ "edgeDeployments.replace",
136
+ "event.delete",
137
+ "event.get",
138
+ "event.patch",
139
+ "events.get",
140
+ "events.mostRecentBySeverity",
141
+ "events.patch",
142
+ "events.post",
143
+ "experience.delete",
144
+ "experienceDomain.delete",
145
+ "experienceDomain.get",
146
+ "experienceDomain.patch",
147
+ "experienceDomains.get",
148
+ "experienceDomains.post",
149
+ "experienceEndpoint.delete",
150
+ "experienceEndpoint.get",
151
+ "experienceEndpoint.patch",
152
+ "experienceEndpoints.get",
153
+ "experienceEndpoints.post",
154
+ "experienceEndpoints.stats",
155
+ "experienceGroup.delete",
156
+ "experienceGroup.get",
157
+ "experienceGroup.patch",
158
+ "experienceGroups.detailedSummary",
159
+ "experienceGroups.get",
160
+ "experienceGroups.post",
161
+ "experienceUser.delete",
162
+ "experienceUser.get",
163
+ "experienceUser.patch",
164
+ "experienceUsers.detailedSummary",
165
+ "experienceUsers.get",
166
+ "experienceUsers.post",
167
+ "experienceView.debug",
168
+ "experienceView.delete",
169
+ "experienceView.get",
170
+ "experienceView.patch",
171
+ "experienceViews.debug",
172
+ "experienceViews.detailedSummary",
173
+ "experienceViews.get",
174
+ "experienceViews.post",
175
+ "file.get",
176
+ "file.patch",
177
+ "file.move",
178
+ "file.delete",
179
+ "files.get",
180
+ "files.post",
181
+ "flow.debug",
182
+ "flow.delete",
183
+ "flow.clearStorageEntries",
184
+ "flow.get",
185
+ "flow.getStorageEntries",
186
+ "flow.log",
187
+ "flow.patch",
188
+ "flow.pressVirtualButton",
189
+ "flow.setStorageEntry",
190
+ "flows.get",
191
+ "flows.import",
192
+ "flows.post",
193
+ "flowVersion.delete",
194
+ "flowVersion.get",
195
+ "flowVersion.log",
196
+ "flowVersion.patch",
197
+ "flowVersions.get",
198
+ "flowVersions.post",
199
+ "integration.delete",
200
+ "integration.get",
201
+ "integration.patch",
202
+ "integrations.get",
203
+ "integrations.post",
204
+ "webhook.delete",
205
+ "webhook.get",
206
+ "webhook.patch",
207
+ "webhooks.get",
208
+ "webhooks.post"
209
+ ]
210
+ },
211
+ {
212
+ "type": "string",
213
+ "enum": [
214
+ "all.Organization",
215
+ "all.Organization.read",
216
+ "applications.*",
217
+ "auditLog.*",
218
+ "auditLogs.*",
219
+ "dashboard.*",
220
+ "dashboards.*",
221
+ "org.*",
222
+ "solution.*",
223
+ "solutions.*",
224
+ "solutionUser.*",
225
+ "solutionUsers.*",
226
+ "applications.get",
227
+ "applications.post",
228
+ "auditLog.get",
229
+ "auditLogs.get",
230
+ "dashboard.patch",
231
+ "dashboard.delete",
232
+ "dashboards.get",
233
+ "dashboards.post",
234
+ "org.get",
235
+ "org.patch",
236
+ "org.delete",
237
+ "org.pendingInvites",
238
+ "org.inviteMember",
239
+ "org.revokeInvite",
240
+ "org.modifyMember",
241
+ "org.removeMember",
242
+ "org.payloadCounts",
243
+ "org.invoices",
244
+ "org.currentCard",
245
+ "org.chargeDetails",
246
+ "org.transferResources",
247
+ "solutionUser.get",
248
+ "solutionUser.patch",
249
+ "solutionUser.delete",
250
+ "solutionUsers.get",
251
+ "solutionUsers.post",
252
+ "solution.get",
253
+ "solution.patch",
254
+ "solution.delete",
255
+ "solutions.get",
256
+ "solutions.post"
257
+ ]
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "type": "string",
263
+ "enum": [
264
+ "all.User",
265
+ "all.User.read",
266
+ "me.*",
267
+ "orgs.*",
268
+ "me.get",
269
+ "me.patch",
270
+ "me.delete",
271
+ "me.verifyEmail",
272
+ "me.changePassword",
273
+ "me.enableTwoFactorAuth",
274
+ "me.disableTwoFactorAuth",
275
+ "me.disconnectGithub",
276
+ "me.connectGithub",
277
+ "me.disconnectTwitter",
278
+ "me.connectTwitter",
279
+ "me.addRecentItem",
280
+ "me.fetchRecentItems",
281
+ "me.payloadCounts",
282
+ "me.transferResources",
283
+ "orgs.get",
284
+ "orgs.post"
285
+ ]
286
+ }
287
+ ]
288
+ }
289
+ },
290
+ "tokenTTL": {
291
+ "type": "integer",
292
+ "minimum": 0
18
293
  }
19
294
  },
20
295
  "required": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: losant_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-22 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -365,7 +365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  version: '0'
366
366
  requirements: []
367
367
  rubyforge_project:
368
- rubygems_version: 2.5.2.3
368
+ rubygems_version: 2.6.8
369
369
  signing_key:
370
370
  specification_version: 4
371
371
  summary: Provides a simple ruby wrapper around the Losant REST API