losant_rest 1.14.0 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/docs/_schemas.md +10590 -3153
  4. data/docs/devices.md +40 -0
  5. data/docs/embeddedDeployment.md +49 -0
  6. data/docs/embeddedDeployments.md +215 -0
  7. data/docs/flow.md +2 -2
  8. data/docs/flows.md +2 -2
  9. data/docs/instance.md +4 -2
  10. data/lib/losant_rest/application.rb +1 -1
  11. data/lib/losant_rest/application_api_token.rb +1 -1
  12. data/lib/losant_rest/application_api_tokens.rb +1 -1
  13. data/lib/losant_rest/application_certificate.rb +1 -1
  14. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  15. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  16. data/lib/losant_rest/application_certificates.rb +1 -1
  17. data/lib/losant_rest/application_dashboard.rb +1 -1
  18. data/lib/losant_rest/application_dashboards.rb +1 -1
  19. data/lib/losant_rest/application_key.rb +1 -1
  20. data/lib/losant_rest/application_keys.rb +1 -1
  21. data/lib/losant_rest/application_template.rb +1 -1
  22. data/lib/losant_rest/application_templates.rb +1 -1
  23. data/lib/losant_rest/applications.rb +1 -1
  24. data/lib/losant_rest/audit_log.rb +1 -1
  25. data/lib/losant_rest/audit_logs.rb +1 -1
  26. data/lib/losant_rest/auth.rb +1 -1
  27. data/lib/losant_rest/client.rb +11 -3
  28. data/lib/losant_rest/dashboard.rb +1 -1
  29. data/lib/losant_rest/dashboards.rb +1 -1
  30. data/lib/losant_rest/data.rb +1 -1
  31. data/lib/losant_rest/data_table.rb +1 -1
  32. data/lib/losant_rest/data_table_row.rb +1 -1
  33. data/lib/losant_rest/data_table_rows.rb +1 -1
  34. data/lib/losant_rest/data_tables.rb +1 -1
  35. data/lib/losant_rest/device.rb +1 -1
  36. data/lib/losant_rest/device_recipe.rb +1 -1
  37. data/lib/losant_rest/device_recipes.rb +1 -1
  38. data/lib/losant_rest/devices.rb +50 -1
  39. data/lib/losant_rest/edge_deployment.rb +1 -1
  40. data/lib/losant_rest/edge_deployments.rb +1 -1
  41. data/lib/losant_rest/embedded_deployment.rb +81 -0
  42. data/lib/losant_rest/embedded_deployments.rb +280 -0
  43. data/lib/losant_rest/error.rb +1 -1
  44. data/lib/losant_rest/event.rb +1 -1
  45. data/lib/losant_rest/events.rb +1 -1
  46. data/lib/losant_rest/experience.rb +1 -1
  47. data/lib/losant_rest/experience_domain.rb +1 -1
  48. data/lib/losant_rest/experience_domains.rb +1 -1
  49. data/lib/losant_rest/experience_endpoint.rb +1 -1
  50. data/lib/losant_rest/experience_endpoints.rb +1 -1
  51. data/lib/losant_rest/experience_group.rb +1 -1
  52. data/lib/losant_rest/experience_groups.rb +1 -1
  53. data/lib/losant_rest/experience_slug.rb +1 -1
  54. data/lib/losant_rest/experience_slugs.rb +1 -1
  55. data/lib/losant_rest/experience_user.rb +1 -1
  56. data/lib/losant_rest/experience_users.rb +1 -1
  57. data/lib/losant_rest/experience_version.rb +1 -1
  58. data/lib/losant_rest/experience_versions.rb +1 -1
  59. data/lib/losant_rest/experience_view.rb +1 -1
  60. data/lib/losant_rest/experience_views.rb +1 -1
  61. data/lib/losant_rest/file.rb +1 -1
  62. data/lib/losant_rest/files.rb +1 -1
  63. data/lib/losant_rest/flow.rb +3 -3
  64. data/lib/losant_rest/flow_version.rb +1 -1
  65. data/lib/losant_rest/flow_versions.rb +1 -1
  66. data/lib/losant_rest/flows.rb +3 -3
  67. data/lib/losant_rest/instance.rb +2 -1
  68. data/lib/losant_rest/instance_api_token.rb +1 -1
  69. data/lib/losant_rest/instance_api_tokens.rb +1 -1
  70. data/lib/losant_rest/instance_member.rb +1 -1
  71. data/lib/losant_rest/instance_members.rb +1 -1
  72. data/lib/losant_rest/instance_org.rb +1 -1
  73. data/lib/losant_rest/instance_org_invite.rb +1 -1
  74. data/lib/losant_rest/instance_org_invites.rb +1 -1
  75. data/lib/losant_rest/instance_org_member.rb +1 -1
  76. data/lib/losant_rest/instance_org_members.rb +1 -1
  77. data/lib/losant_rest/instance_orgs.rb +1 -1
  78. data/lib/losant_rest/instances.rb +1 -1
  79. data/lib/losant_rest/integration.rb +1 -1
  80. data/lib/losant_rest/integrations.rb +1 -1
  81. data/lib/losant_rest/me.rb +1 -1
  82. data/lib/losant_rest/notebook.rb +1 -1
  83. data/lib/losant_rest/notebooks.rb +1 -1
  84. data/lib/losant_rest/org.rb +1 -1
  85. data/lib/losant_rest/org_invites.rb +1 -1
  86. data/lib/losant_rest/orgs.rb +1 -1
  87. data/lib/losant_rest/user_api_token.rb +1 -1
  88. data/lib/losant_rest/user_api_tokens.rb +1 -1
  89. data/lib/losant_rest/utils.rb +1 -1
  90. data/lib/losant_rest/version.rb +2 -2
  91. data/lib/losant_rest/webhook.rb +1 -1
  92. data/lib/losant_rest/webhooks.rb +1 -1
  93. data/lib/losant_rest.rb +3 -1
  94. data/schemas/apiTokenPost.json +9 -0
  95. data/schemas/application.json +32 -32
  96. data/schemas/applicationCreationByTemplateResult.json +32 -32
  97. data/schemas/applicationDashboardPost.json +8 -5
  98. data/schemas/applicationPatch.json +13 -13
  99. data/schemas/applicationPost.json +13 -13
  100. data/schemas/applicationTemplate.json +16 -16
  101. data/schemas/applicationTemplates.json +16 -16
  102. data/schemas/applications.json +32 -32
  103. data/schemas/authedDevice.json +2 -1
  104. data/schemas/dashboard.json +8 -5
  105. data/schemas/dashboardPatch.json +8 -5
  106. data/schemas/dashboardPost.json +8 -5
  107. data/schemas/dashboardSendReport.json +6 -6
  108. data/schemas/dashboards.json +8 -5
  109. data/schemas/dataTableRowsDelete.json +1 -1
  110. data/schemas/device.json +2 -1
  111. data/schemas/deviceClassFilter.json +4 -2
  112. data/schemas/deviceNamesResponse.json +36 -0
  113. data/schemas/devicePatch.json +2 -1
  114. data/schemas/devicePost.json +2 -1
  115. data/schemas/deviceRecipe.json +2 -1
  116. data/schemas/deviceRecipePatch.json +2 -1
  117. data/schemas/deviceRecipePost.json +2 -1
  118. data/schemas/deviceRecipes.json +2 -1
  119. data/schemas/devices.json +4 -2
  120. data/schemas/devicesPatch.json +4 -2
  121. data/schemas/edgeDeployment.json +4 -0
  122. data/schemas/edgeDeployments.json +4 -0
  123. data/schemas/embeddedDeployment.json +179 -0
  124. data/schemas/embeddedDeploymentExport.json +44 -0
  125. data/schemas/embeddedDeploymentRelease.json +58 -0
  126. data/schemas/embeddedDeploymentRemove.json +25 -0
  127. data/schemas/embeddedDeploymentReplace.json +29 -0
  128. data/schemas/embeddedDeployments.json +212 -0
  129. data/schemas/eventsDeleted.json +1 -1
  130. data/schemas/eventsExport.json +4 -0
  131. data/schemas/experienceEndpoint.json +6 -8
  132. data/schemas/experienceEndpointPatch.json +6 -8
  133. data/schemas/experienceEndpointPost.json +6 -8
  134. data/schemas/experienceEndpoints.json +6 -8
  135. data/schemas/experienceLinkedResources.json +1292 -167
  136. data/schemas/flow.json +391 -15
  137. data/schemas/flowPatch.json +390 -15
  138. data/schemas/flowPost.json +391 -15
  139. data/schemas/flowVersion.json +821 -71
  140. data/schemas/flowVersionPost.json +390 -15
  141. data/schemas/flowVersions.json +821 -71
  142. data/schemas/flows.json +392 -15
  143. data/schemas/flowsImportPost.json +821 -70
  144. data/schemas/flowsImportResult.json +1392 -266
  145. data/schemas/githubLogin.json +9 -0
  146. data/schemas/historicalSummary.json +87 -74
  147. data/schemas/instance.json +92 -79
  148. data/schemas/instanceMember.json +6 -1
  149. data/schemas/instanceMembers.json +6 -1
  150. data/schemas/instanceOrg.json +87 -74
  151. data/schemas/instanceOrgMember.json +6 -1
  152. data/schemas/instanceOrgPatch.json +64 -26
  153. data/schemas/instanceOrgPost.json +65 -27
  154. data/schemas/instanceOrgs.json +87 -74
  155. data/schemas/instancePatch.json +2 -2
  156. data/schemas/integration.json +1 -1
  157. data/schemas/integrationPatch.json +1 -1
  158. data/schemas/integrationPost.json +1 -1
  159. data/schemas/integrations.json +1 -1
  160. data/schemas/me.json +104 -92
  161. data/schemas/mePatch.json +0 -1
  162. data/schemas/notebook.json +2 -1
  163. data/schemas/notebookExecutionLogs.json +2 -1
  164. data/schemas/notebookPatch.json +2 -1
  165. data/schemas/notebookPost.json +2 -1
  166. data/schemas/notebooks.json +2 -1
  167. data/schemas/org.json +115 -97
  168. data/schemas/orgs.json +115 -97
  169. data/schemas/userCredentials.json +9 -0
  170. data/schemas/userPost.json +9 -1
  171. metadata +17 -6
data/schemas/orgs.json CHANGED
@@ -50,7 +50,6 @@
50
50
  },
51
51
  "lastName": {
52
52
  "type": "string",
53
- "minLength": 1,
54
53
  "maxLength": 1024
55
54
  },
56
55
  "email": {
@@ -123,143 +122,162 @@
123
122
  "additionalProperties": false
124
123
  },
125
124
  "maxItems": 1000
125
+ },
126
+ "twoFactorAuthEnabled": {
127
+ "type": "boolean"
128
+ },
129
+ "ssoLinked": {
130
+ "type": "boolean"
126
131
  }
127
132
  }
128
133
  }
129
134
  },
130
135
  "limits": {
131
- "apitoken": {
132
- "type": "number"
133
- },
134
- "application": {
135
- "type": "number"
136
- },
137
- "applicationkey": {
138
- "type": "number"
139
- },
140
- "dashboard": {
141
- "type": "number"
142
- },
143
- "datatable": {
144
- "type": "number"
145
- },
146
- "device": {
147
- "type": "number"
148
- },
149
- "devicerecipe": {
150
- "type": "number"
151
- },
152
- "experiencedomain": {
153
- "type": "number"
154
- },
155
- "experienceendpoint": {
156
- "type": "number"
157
- },
158
- "experiencegroup": {
159
- "type": "number"
160
- },
161
- "experienceslug": {
162
- "type": "number"
163
- },
164
- "experienceuser": {
165
- "type": "number"
166
- },
167
- "experienceversion": {
168
- "type": "number"
169
- },
170
- "experienceview": {
171
- "type": "number"
172
- },
173
- "file": {
174
- "type": "number"
175
- },
176
- "flow": {
177
- "type": "number"
178
- },
179
- "integration": {
180
- "type": "number"
181
- },
182
- "notebook": {
183
- "type": "number"
184
- },
185
- "webhook": {
186
- "type": "number"
187
- },
188
- "dataTTL": {
189
- "type": "number"
190
- },
191
- "member": {
192
- "type": "number"
193
- },
194
- "payload": {
195
- "type": "number"
196
- },
197
- "notebookMinutesPerRun": {
198
- "type": "number"
199
- },
200
- "notebookMinutesPerMonth": {
201
- "type": "number"
136
+ "type": "object",
137
+ "properties": {
138
+ "apitoken": {
139
+ "type": "integer"
140
+ },
141
+ "application": {
142
+ "type": "integer"
143
+ },
144
+ "applicationkey": {
145
+ "type": "integer"
146
+ },
147
+ "dashboard": {
148
+ "type": "integer"
149
+ },
150
+ "datatable": {
151
+ "type": "integer"
152
+ },
153
+ "device": {
154
+ "type": "integer"
155
+ },
156
+ "devicerecipe": {
157
+ "type": "integer"
158
+ },
159
+ "experiencedomain": {
160
+ "type": "integer"
161
+ },
162
+ "experienceendpoint": {
163
+ "type": "integer"
164
+ },
165
+ "experiencegroup": {
166
+ "type": "integer"
167
+ },
168
+ "experienceslug": {
169
+ "type": "integer"
170
+ },
171
+ "experienceuser": {
172
+ "type": "integer"
173
+ },
174
+ "experienceversion": {
175
+ "type": "integer"
176
+ },
177
+ "experienceview": {
178
+ "type": "integer"
179
+ },
180
+ "file": {
181
+ "type": "integer"
182
+ },
183
+ "flow": {
184
+ "type": "integer"
185
+ },
186
+ "integration": {
187
+ "type": "integer"
188
+ },
189
+ "notebook": {
190
+ "type": "integer"
191
+ },
192
+ "webhook": {
193
+ "type": "integer"
194
+ },
195
+ "dataTTL": {
196
+ "type": "integer"
197
+ },
198
+ "member": {
199
+ "type": "integer"
200
+ },
201
+ "payload": {
202
+ "type": "integer"
203
+ },
204
+ "storage": {
205
+ "type": "integer"
206
+ },
207
+ "notebookMinutesPerRun": {
208
+ "type": "integer"
209
+ },
210
+ "notebookMinutesPerMonth": {
211
+ "type": "integer"
212
+ },
213
+ "notebookInParallel": {
214
+ "type": "integer"
215
+ },
216
+ "experienceFlowSlots": {
217
+ "type": "integer"
218
+ },
219
+ "applicationFlowSlots": {
220
+ "type": "integer"
221
+ }
202
222
  },
203
- "notebookInParallel": {
204
- "type": "number"
205
- }
223
+ "additionalProperties": false
206
224
  },
207
225
  "summary": {
208
226
  "type": "object",
209
227
  "properties": {
210
228
  "apiTokenCount": {
211
- "type": "number"
229
+ "type": "integer"
212
230
  },
213
231
  "appCount": {
214
- "type": "number"
232
+ "type": "integer"
215
233
  },
216
234
  "dashCount": {
217
- "type": "number"
235
+ "type": "integer"
218
236
  },
219
237
  "dataTableCount": {
220
- "type": "number"
238
+ "type": "integer"
221
239
  },
222
240
  "deviceCount": {
223
- "type": "number"
241
+ "type": "integer"
224
242
  },
225
243
  "deviceRecipeCount": {
226
- "type": "number"
244
+ "type": "integer"
227
245
  },
228
246
  "experienceDomainCount": {
229
- "type": "number"
247
+ "type": "integer"
230
248
  },
231
249
  "experienceEndpointCount": {
232
- "type": "number"
250
+ "type": "integer"
233
251
  },
234
252
  "experienceGroupCount": {
235
- "type": "number"
253
+ "type": "integer"
236
254
  },
237
255
  "experienceSlugCount": {
238
- "type": "number"
256
+ "type": "integer"
239
257
  },
240
258
  "experienceUserCount": {
241
- "type": "number"
259
+ "type": "integer"
242
260
  },
243
261
  "experienceVersionCount": {
244
- "type": "number"
262
+ "type": "integer"
245
263
  },
246
264
  "experienceViewCount": {
247
- "type": "number"
265
+ "type": "integer"
248
266
  },
249
267
  "fileCount": {
250
- "type": "number"
268
+ "type": "integer"
251
269
  },
252
270
  "flowCount": {
253
- "type": "number"
271
+ "type": "integer"
254
272
  },
255
273
  "integrationCount": {
256
- "type": "number"
274
+ "type": "integer"
257
275
  },
258
276
  "keyCount": {
259
- "type": "number"
277
+ "type": "integer"
260
278
  },
261
279
  "memberCount": {
262
- "type": "number"
280
+ "type": "integer"
263
281
  },
264
282
  "payloadCount": {
265
283
  "title": "Payload Stats",
@@ -389,21 +407,21 @@
389
407
  }
390
408
  },
391
409
  "pendingInviteCount": {
392
- "type": "number"
410
+ "type": "integer"
393
411
  },
394
412
  "storageStats": {
395
413
  "type": "object",
396
414
  "properties": {
397
415
  "count": {
398
- "type": "number"
416
+ "type": "integer"
399
417
  },
400
418
  "size": {
401
- "type": "number"
419
+ "type": "integer"
402
420
  }
403
421
  }
404
422
  },
405
423
  "webhookCount": {
406
- "type": "number"
424
+ "type": "integer"
407
425
  }
408
426
  }
409
427
  },
@@ -53,6 +53,8 @@
53
53
  "devices.*",
54
54
  "edgeDeployment.*",
55
55
  "edgeDeployments.*",
56
+ "embeddedDeployment.*",
57
+ "embeddedDeployments.*",
56
58
  "event.*",
57
59
  "events.*",
58
60
  "experience.*",
@@ -169,6 +171,7 @@
169
171
  "devices.delete",
170
172
  "devices.removeData",
171
173
  "devices.detailedSummary",
174
+ "devices.deviceNames",
172
175
  "devices.export",
173
176
  "devices.get",
174
177
  "devices.payloadCounts",
@@ -181,6 +184,12 @@
181
184
  "edgeDeployments.release",
182
185
  "edgeDeployments.remove",
183
186
  "edgeDeployments.replace",
187
+ "embeddedDeployment.get",
188
+ "embeddedDeployments.get",
189
+ "embeddedDeployments.release",
190
+ "embeddedDeployments.remove",
191
+ "embeddedDeployments.replace",
192
+ "embeddedDeployments.export",
184
193
  "event.delete",
185
194
  "event.get",
186
195
  "event.patch",
@@ -14,7 +14,6 @@
14
14
  },
15
15
  "lastName": {
16
16
  "type": "string",
17
- "minLength": 1,
18
17
  "maxLength": 1024
19
18
  },
20
19
  "companyName": {
@@ -112,6 +111,8 @@
112
111
  "devices.*",
113
112
  "edgeDeployment.*",
114
113
  "edgeDeployments.*",
114
+ "embeddedDeployment.*",
115
+ "embeddedDeployments.*",
115
116
  "event.*",
116
117
  "events.*",
117
118
  "experience.*",
@@ -228,6 +229,7 @@
228
229
  "devices.delete",
229
230
  "devices.removeData",
230
231
  "devices.detailedSummary",
232
+ "devices.deviceNames",
231
233
  "devices.export",
232
234
  "devices.get",
233
235
  "devices.payloadCounts",
@@ -240,6 +242,12 @@
240
242
  "edgeDeployments.release",
241
243
  "edgeDeployments.remove",
242
244
  "edgeDeployments.replace",
245
+ "embeddedDeployment.get",
246
+ "embeddedDeployments.get",
247
+ "embeddedDeployments.release",
248
+ "embeddedDeployments.remove",
249
+ "embeddedDeployments.replace",
250
+ "embeddedDeployments.export",
243
251
  "event.delete",
244
252
  "event.get",
245
253
  "event.patch",
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.14.0
4
+ version: 1.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -112,6 +112,8 @@ files:
112
112
  - docs/devices.md
113
113
  - docs/edgeDeployment.md
114
114
  - docs/edgeDeployments.md
115
+ - docs/embeddedDeployment.md
116
+ - docs/embeddedDeployments.md
115
117
  - docs/event.md
116
118
  - docs/events.md
117
119
  - docs/experience.md
@@ -193,6 +195,8 @@ files:
193
195
  - lib/losant_rest/devices.rb
194
196
  - lib/losant_rest/edge_deployment.rb
195
197
  - lib/losant_rest/edge_deployments.rb
198
+ - lib/losant_rest/embedded_deployment.rb
199
+ - lib/losant_rest/embedded_deployments.rb
196
200
  - lib/losant_rest/error.rb
197
201
  - lib/losant_rest/event.rb
198
202
  - lib/losant_rest/events.rb
@@ -326,6 +330,7 @@ files:
326
330
  - schemas/deviceConnectionStatus.json
327
331
  - schemas/deviceCredentials.json
328
332
  - schemas/deviceLog.json
333
+ - schemas/deviceNamesResponse.json
329
334
  - schemas/devicePatch.json
330
335
  - schemas/devicePayloadCounts.json
331
336
  - schemas/devicePost.json
@@ -356,6 +361,12 @@ files:
356
361
  - schemas/edgeDeploymentReplace.json
357
362
  - schemas/edgeDeployments.json
358
363
  - schemas/emailVerificationVerify.json
364
+ - schemas/embeddedDeployment.json
365
+ - schemas/embeddedDeploymentExport.json
366
+ - schemas/embeddedDeploymentRelease.json
367
+ - schemas/embeddedDeploymentRemove.json
368
+ - schemas/embeddedDeploymentReplace.json
369
+ - schemas/embeddedDeployments.json
359
370
  - schemas/enableTwoFactorAuth.json
360
371
  - schemas/error.json
361
372
  - schemas/event.json
@@ -502,7 +513,7 @@ homepage: https://github.com/Losant/losant-rest-ruby
502
513
  licenses:
503
514
  - MIT
504
515
  metadata: {}
505
- post_install_message:
516
+ post_install_message:
506
517
  rdoc_options: []
507
518
  require_paths:
508
519
  - lib
@@ -517,8 +528,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
517
528
  - !ruby/object:Gem::Version
518
529
  version: '0'
519
530
  requirements: []
520
- rubygems_version: 3.2.15
521
- signing_key:
531
+ rubygems_version: 3.0.3
532
+ signing_key:
522
533
  specification_version: 4
523
534
  summary: Provides a simple ruby wrapper around the Losant REST API
524
535
  test_files: