losant_rest 1.10.3 → 1.10.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +1375 -139
  3. data/docs/application.md +42 -0
  4. data/docs/applicationApiTokens.md +1 -1
  5. data/docs/applicationTemplate.md +46 -0
  6. data/docs/applicationTemplates.md +76 -1
  7. data/docs/device.md +6 -3
  8. data/docs/me.md +0 -36
  9. data/lib/losant_rest.rb +1 -0
  10. data/lib/losant_rest/application.rb +48 -0
  11. data/lib/losant_rest/application_api_tokens.rb +1 -1
  12. data/lib/losant_rest/application_template.rb +79 -0
  13. data/lib/losant_rest/application_templates.rb +89 -1
  14. data/lib/losant_rest/client.rb +6 -2
  15. data/lib/losant_rest/device.rb +9 -3
  16. data/lib/losant_rest/me.rb +0 -41
  17. data/lib/losant_rest/version.rb +1 -1
  18. data/schemas/application.json +8 -0
  19. data/schemas/applicationApiTokenPost.json +1 -0
  20. data/schemas/applicationApplyTemplatePatch.json +19 -0
  21. data/schemas/applicationCreationByTemplateResult.json +8 -0
  22. data/schemas/applicationPost.json +8 -0
  23. data/schemas/applicationTemplate.json +20 -0
  24. data/schemas/applicationTemplateCategories.json +43 -0
  25. data/schemas/applicationTemplateCategory.json +23 -0
  26. data/schemas/applicationTemplates.json +32 -0
  27. data/schemas/applications.json +8 -0
  28. data/schemas/changePassword.json +2 -2
  29. data/schemas/dashboard.json +145 -25
  30. data/schemas/dashboardPatch.json +145 -25
  31. data/schemas/dashboardPost.json +145 -25
  32. data/schemas/dashboards.json +145 -25
  33. data/schemas/dataExport.json +132 -1
  34. data/schemas/experienceLinkedResources.json +39 -0
  35. data/schemas/flow.json +13 -0
  36. data/schemas/flowPatch.json +13 -0
  37. data/schemas/flowPost.json +13 -0
  38. data/schemas/flowVersion.json +26 -0
  39. data/schemas/flowVersionPost.json +13 -0
  40. data/schemas/flowVersions.json +26 -0
  41. data/schemas/flows.json +13 -0
  42. data/schemas/flowsImportPost.json +26 -0
  43. data/schemas/flowsImportResult.json +39 -0
  44. data/schemas/githubLogin.json +7 -3
  45. data/schemas/me.json +0 -3
  46. data/schemas/mePatch.json +2 -2
  47. data/schemas/orgInviteInfo.json +3 -0
  48. data/schemas/orgInvitePost.json +3 -0
  49. data/schemas/orgInvites.json +3 -0
  50. data/schemas/passwordResetFinish.json +2 -2
  51. data/schemas/templateKeywords.json +14 -0
  52. data/schemas/timeSeriesData.json +12 -2
  53. data/schemas/timeSeriesQuery.json +94 -14
  54. data/schemas/userCredentials.json +5 -2
  55. data/schemas/userPost.json +13 -6
  56. metadata +11 -5
@@ -78,6 +78,7 @@
78
78
  "notebooks.*",
79
79
  "webhook.*",
80
80
  "webhooks.*",
81
+ "application.applyTemplate",
81
82
  "application.archiveData",
82
83
  "application.backfillArchiveData",
83
84
  "application.clone",
@@ -314,8 +315,12 @@
314
315
  "enum": [
315
316
  "all.User",
316
317
  "all.User.read",
318
+ "applicationTemplate.*",
319
+ "applicationTemplate.get",
317
320
  "applicationTemplates.*",
318
321
  "applicationTemplates.get",
322
+ "applicationTemplates.getCategories",
323
+ "applicationTemplates.getUniqueKeywords",
319
324
  "me.*",
320
325
  "orgs.*",
321
326
  "me.get",
@@ -327,8 +332,6 @@
327
332
  "me.disableTwoFactorAuth",
328
333
  "me.disconnectGithub",
329
334
  "me.connectGithub",
330
- "me.disconnectTwitter",
331
- "me.connectTwitter",
332
335
  "me.addRecentItem",
333
336
  "me.fetchRecentItems",
334
337
  "me.payloadCounts",
@@ -41,10 +41,14 @@
41
41
  "type": "object",
42
42
  "properties": {
43
43
  "service": {
44
- "type": "string"
44
+ "enum": [
45
+ "github"
46
+ ]
45
47
  },
46
48
  "accessToken": {
47
- "type": "string"
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "maxLength": 1024
48
52
  }
49
53
  },
50
54
  "required": [
@@ -54,9 +58,9 @@
54
58
  },
55
59
  "password": {
56
60
  "type": "string",
57
- "minLength": 8,
61
+ "minLength": 12,
58
62
  "maxLength": 2048,
59
- "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{8,}$"
63
+ "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
60
64
  },
61
65
  "acceptTerms": {
62
66
  "enum": [
@@ -133,6 +137,7 @@
133
137
  "notebooks.*",
134
138
  "webhook.*",
135
139
  "webhooks.*",
140
+ "application.applyTemplate",
136
141
  "application.archiveData",
137
142
  "application.backfillArchiveData",
138
143
  "application.clone",
@@ -369,8 +374,12 @@
369
374
  "enum": [
370
375
  "all.User",
371
376
  "all.User.read",
377
+ "applicationTemplate.*",
378
+ "applicationTemplate.get",
372
379
  "applicationTemplates.*",
373
380
  "applicationTemplates.get",
381
+ "applicationTemplates.getCategories",
382
+ "applicationTemplates.getUniqueKeywords",
374
383
  "me.*",
375
384
  "orgs.*",
376
385
  "me.get",
@@ -382,8 +391,6 @@
382
391
  "me.disableTwoFactorAuth",
383
392
  "me.disconnectGithub",
384
393
  "me.connectGithub",
385
- "me.disconnectTwitter",
386
- "me.connectTwitter",
387
394
  "me.addRecentItem",
388
395
  "me.fetchRecentItems",
389
396
  "me.payloadCounts",
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.3
4
+ version: 1.10.4
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-07-23 00:00:00.000000000 Z
11
+ date: 2020-09-09 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
@@ -216,6 +218,7 @@ files:
216
218
  - schemas/apiTokens.json
217
219
  - schemas/application.json
218
220
  - schemas/applicationApiTokenPost.json
221
+ - schemas/applicationApplyTemplatePatch.json
219
222
  - schemas/applicationCertificate.json
220
223
  - schemas/applicationCertificateAuthorities.json
221
224
  - schemas/applicationCertificateAuthority.json
@@ -240,6 +243,8 @@ files:
240
243
  - schemas/applicationReadmePatch.json
241
244
  - schemas/applicationSearchResult.json
242
245
  - schemas/applicationTemplate.json
246
+ - schemas/applicationTemplateCategories.json
247
+ - schemas/applicationTemplateCategory.json
243
248
  - schemas/applicationTemplates.json
244
249
  - schemas/applications.json
245
250
  - schemas/auditLog.json
@@ -406,6 +411,7 @@ files:
406
411
  - schemas/samlResponse.json
407
412
  - schemas/ssoRequest.json
408
413
  - schemas/success.json
414
+ - schemas/templateKeywords.json
409
415
  - schemas/timeSeriesData.json
410
416
  - schemas/timeSeriesQuery.json
411
417
  - schemas/userCredentials.json
@@ -424,7 +430,7 @@ homepage: https://github.com/Losant/losant-rest-ruby
424
430
  licenses:
425
431
  - MIT
426
432
  metadata: {}
427
- post_install_message:
433
+ post_install_message:
428
434
  rdoc_options: []
429
435
  require_paths:
430
436
  - lib
@@ -440,7 +446,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
440
446
  version: '0'
441
447
  requirements: []
442
448
  rubygems_version: 3.1.2
443
- signing_key:
449
+ signing_key:
444
450
  specification_version: 4
445
451
  summary: Provides a simple ruby wrapper around the Losant REST API
446
452
  test_files: