losant_rest 1.10.1 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/_schemas.md +26941 -15658
  4. data/docs/application.md +42 -0
  5. data/docs/applicationApiTokens.md +2 -2
  6. data/docs/applicationCertificateAuthorities.md +1 -1
  7. data/docs/applicationCertificates.md +1 -1
  8. data/docs/applicationKeys.md +1 -1
  9. data/docs/applicationTemplate.md +46 -0
  10. data/docs/applicationTemplates.md +77 -2
  11. data/docs/applications.md +1 -1
  12. data/docs/auditLogs.md +1 -1
  13. data/docs/dashboards.md +1 -1
  14. data/docs/dataTables.md +1 -1
  15. data/docs/device.md +6 -3
  16. data/docs/deviceRecipes.md +1 -1
  17. data/docs/devices.md +217 -5
  18. data/docs/edgeDeployments.md +1 -1
  19. data/docs/events.md +1 -1
  20. data/docs/experienceEndpoints.md +1 -0
  21. data/docs/experienceGroups.md +1 -1
  22. data/docs/experienceUsers.md +1 -1
  23. data/docs/experienceVersions.md +1 -1
  24. data/docs/experienceViews.md +1 -1
  25. data/docs/file.md +4 -4
  26. data/docs/files.md +1 -1
  27. data/docs/flow.md +94 -1
  28. data/docs/flowVersion.md +96 -1
  29. data/docs/flowVersions.md +2 -1
  30. data/docs/flows.md +4 -2
  31. data/docs/integrations.md +1 -1
  32. data/docs/me.md +0 -36
  33. data/docs/notebooks.md +1 -1
  34. data/docs/orgs.md +1 -1
  35. data/docs/webhooks.md +1 -1
  36. data/lib/losant_rest.rb +1 -0
  37. data/lib/losant_rest/application.rb +48 -0
  38. data/lib/losant_rest/application_api_tokens.rb +1 -1
  39. data/lib/losant_rest/application_template.rb +79 -0
  40. data/lib/losant_rest/application_templates.rb +89 -1
  41. data/lib/losant_rest/client.rb +6 -2
  42. data/lib/losant_rest/device.rb +9 -3
  43. data/lib/losant_rest/devices.rb +255 -3
  44. data/lib/losant_rest/experience_endpoints.rb +2 -0
  45. data/lib/losant_rest/file.rb +3 -3
  46. data/lib/losant_rest/flow.rb +115 -1
  47. data/lib/losant_rest/flow_version.rb +115 -1
  48. data/lib/losant_rest/flow_versions.rb +3 -0
  49. data/lib/losant_rest/flows.rb +6 -0
  50. data/lib/losant_rest/me.rb +0 -41
  51. data/lib/losant_rest/version.rb +1 -1
  52. data/schemas/advancedDeviceQuery.json +110 -0
  53. data/schemas/advancedEventQuery.json +198 -0
  54. data/schemas/advancedFlowByVersionQuery.json +665 -0
  55. data/schemas/advancedFlowQuery.json +665 -0
  56. data/schemas/advancedFlowVersionQuery.json +707 -0
  57. data/schemas/advancedQuery.json +22 -0
  58. data/schemas/application.json +8 -0
  59. data/schemas/applicationApiTokenPost.json +11 -1
  60. data/schemas/applicationApplyTemplatePatch.json +19 -0
  61. data/schemas/applicationCreationByTemplateResult.json +8 -0
  62. data/schemas/applicationPost.json +8 -0
  63. data/schemas/applicationTemplate.json +20 -0
  64. data/schemas/applicationTemplateCategories.json +43 -0
  65. data/schemas/applicationTemplateCategory.json +23 -0
  66. data/schemas/applicationTemplates.json +32 -0
  67. data/schemas/applications.json +8 -0
  68. data/schemas/attributeNamesResponse.json +14 -0
  69. data/schemas/authedUser.json +3 -0
  70. data/schemas/changePassword.json +2 -2
  71. data/schemas/dashboard.json +175 -25
  72. data/schemas/dashboardPatch.json +175 -25
  73. data/schemas/dashboardPost.json +175 -25
  74. data/schemas/dashboards.json +175 -25
  75. data/schemas/dataExport.json +142 -0
  76. data/schemas/dataTableRowsExport.json +22 -0
  77. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  78. data/schemas/deviceClassFilter.json +1 -2
  79. data/schemas/devicesDataRemoved.json +12 -0
  80. data/schemas/devicesDeletePost.json +1034 -0
  81. data/schemas/devicesDeleted.json +12 -0
  82. data/schemas/devicesExportPost.json +1035 -0
  83. data/schemas/devicesPatch.json +1757 -4
  84. data/schemas/devicesRemoveDataPost.json +1056 -0
  85. data/schemas/devicesUpdated.json +18 -0
  86. data/schemas/eventPost.json +22 -0
  87. data/schemas/eventsExport.json +198 -0
  88. data/schemas/experienceDomain.json +1 -1
  89. data/schemas/experienceDomainPatch.json +1 -1
  90. data/schemas/experienceDomainPost.json +1 -1
  91. data/schemas/experienceDomains.json +1 -1
  92. data/schemas/experienceLinkedResources.json +96 -0
  93. data/schemas/experienceVersion.json +10 -1
  94. data/schemas/experienceVersionPatch.json +9 -0
  95. data/schemas/experienceVersions.json +10 -1
  96. data/schemas/flow.json +32 -0
  97. data/schemas/flowErrors.json +87 -0
  98. data/schemas/flowPatch.json +32 -0
  99. data/schemas/flowPost.json +32 -0
  100. data/schemas/flowStats.json +54 -0
  101. data/schemas/flowVersion.json +64 -0
  102. data/schemas/flowVersionPost.json +32 -0
  103. data/schemas/flowVersions.json +64 -0
  104. data/schemas/flows.json +32 -0
  105. data/schemas/flowsImportPost.json +64 -0
  106. data/schemas/flowsImportResult.json +96 -0
  107. data/schemas/githubLogin.json +17 -4
  108. data/schemas/integration.json +3 -0
  109. data/schemas/integrationPatch.json +3 -0
  110. data/schemas/integrationPost.json +3 -0
  111. data/schemas/integrations.json +3 -0
  112. data/schemas/me.json +3 -3
  113. data/schemas/mePatch.json +2 -2
  114. data/schemas/multiDeviceCommand.json +1019 -0
  115. data/schemas/notebook.json +96 -0
  116. data/schemas/notebookExecutionLogs.json +7 -0
  117. data/schemas/notebookPatch.json +96 -0
  118. data/schemas/notebookPost.json +96 -0
  119. data/schemas/notebooks.json +96 -0
  120. data/schemas/org.json +1 -1
  121. data/schemas/orgInviteInfo.json +3 -0
  122. data/schemas/orgInvitePost.json +3 -0
  123. data/schemas/orgInvites.json +3 -0
  124. data/schemas/orgPatch.json +1 -1
  125. data/schemas/orgs.json +1 -1
  126. data/schemas/passwordResetFinish.json +2 -2
  127. data/schemas/samlResponse.json +1 -1
  128. data/schemas/tagKeysResponse.json +14 -0
  129. data/schemas/tagValuesResponse.json +19 -0
  130. data/schemas/templateKeywords.json +14 -0
  131. data/schemas/timeSeriesData.json +12 -2
  132. data/schemas/timeSeriesQuery.json +94 -14
  133. data/schemas/userCredentials.json +15 -3
  134. data/schemas/userPost.json +23 -7
  135. metadata +27 -6
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.10.1
4
+ version: 1.11.1
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: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -91,6 +91,7 @@ files:
91
91
  - docs/applicationCertificates.md
92
92
  - docs/applicationKey.md
93
93
  - docs/applicationKeys.md
94
+ - docs/applicationTemplate.md
94
95
  - docs/applicationTemplates.md
95
96
  - docs/applications.md
96
97
  - docs/auditLog.md
@@ -153,6 +154,7 @@ files:
153
154
  - lib/losant_rest/application_certificates.rb
154
155
  - lib/losant_rest/application_key.rb
155
156
  - lib/losant_rest/application_keys.rb
157
+ - lib/losant_rest/application_template.rb
156
158
  - lib/losant_rest/application_templates.rb
157
159
  - lib/losant_rest/applications.rb
158
160
  - lib/losant_rest/audit_log.rb
@@ -210,12 +212,16 @@ files:
210
212
  - losant_rest.gemspec
211
213
  - schemas/advancedDeviceQuery.json
212
214
  - schemas/advancedEventQuery.json
215
+ - schemas/advancedFlowByVersionQuery.json
216
+ - schemas/advancedFlowQuery.json
217
+ - schemas/advancedFlowVersionQuery.json
213
218
  - schemas/advancedQuery.json
214
219
  - schemas/apiToken.json
215
220
  - schemas/apiTokenPatch.json
216
221
  - schemas/apiTokens.json
217
222
  - schemas/application.json
218
223
  - schemas/applicationApiTokenPost.json
224
+ - schemas/applicationApplyTemplatePatch.json
219
225
  - schemas/applicationCertificate.json
220
226
  - schemas/applicationCertificateAuthorities.json
221
227
  - schemas/applicationCertificateAuthority.json
@@ -240,8 +246,11 @@ files:
240
246
  - schemas/applicationReadmePatch.json
241
247
  - schemas/applicationSearchResult.json
242
248
  - schemas/applicationTemplate.json
249
+ - schemas/applicationTemplateCategories.json
250
+ - schemas/applicationTemplateCategory.json
243
251
  - schemas/applicationTemplates.json
244
252
  - schemas/applications.json
253
+ - schemas/attributeNamesResponse.json
245
254
  - schemas/auditLog.json
246
255
  - schemas/auditLogFilter.json
247
256
  - schemas/auditLogs.json
@@ -271,6 +280,7 @@ files:
271
280
  - schemas/dataTableRowsExport.json
272
281
  - schemas/dataTables.json
273
282
  - schemas/device.json
283
+ - schemas/deviceAttributeDataTypeFilter.json
274
284
  - schemas/deviceClassFilter.json
275
285
  - schemas/deviceCommand.json
276
286
  - schemas/deviceCommands.json
@@ -291,7 +301,13 @@ files:
291
301
  - schemas/deviceStates.json
292
302
  - schemas/deviceTagFilter.json
293
303
  - schemas/devices.json
304
+ - schemas/devicesDataRemoved.json
305
+ - schemas/devicesDeletePost.json
306
+ - schemas/devicesDeleted.json
307
+ - schemas/devicesExportPost.json
294
308
  - schemas/devicesPatch.json
309
+ - schemas/devicesRemoveDataPost.json
310
+ - schemas/devicesUpdated.json
295
311
  - schemas/disableTwoFactorAuth.json
296
312
  - schemas/edgeDeployment.json
297
313
  - schemas/edgeDeploymentRelease.json
@@ -346,9 +362,11 @@ files:
346
362
  - schemas/fileUploadPostResponse.json
347
363
  - schemas/files.json
348
364
  - schemas/flow.json
365
+ - schemas/flowErrors.json
349
366
  - schemas/flowLog.json
350
367
  - schemas/flowPatch.json
351
368
  - schemas/flowPost.json
369
+ - schemas/flowStats.json
352
370
  - schemas/flowStorageEntries.json
353
371
  - schemas/flowStorageEntry.json
354
372
  - schemas/flowTriggerFilter.json
@@ -398,6 +416,9 @@ files:
398
416
  - schemas/samlResponse.json
399
417
  - schemas/ssoRequest.json
400
418
  - schemas/success.json
419
+ - schemas/tagKeysResponse.json
420
+ - schemas/tagValuesResponse.json
421
+ - schemas/templateKeywords.json
401
422
  - schemas/timeSeriesData.json
402
423
  - schemas/timeSeriesQuery.json
403
424
  - schemas/userCredentials.json
@@ -416,7 +437,7 @@ homepage: https://github.com/Losant/losant-rest-ruby
416
437
  licenses:
417
438
  - MIT
418
439
  metadata: {}
419
- post_install_message:
440
+ post_install_message:
420
441
  rdoc_options: []
421
442
  require_paths:
422
443
  - lib
@@ -431,8 +452,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
431
452
  - !ruby/object:Gem::Version
432
453
  version: '0'
433
454
  requirements: []
434
- rubygems_version: 3.1.2
435
- signing_key:
455
+ rubygems_version: 3.1.4
456
+ signing_key:
436
457
  specification_version: 4
437
458
  summary: Provides a simple ruby wrapper around the Losant REST API
438
459
  test_files: