losant_rest 1.20.1 → 1.21.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +140 -14
  3. data/docs/_schemas.md +3150 -646
  4. data/docs/application.md +1 -0
  5. data/docs/devices.md +45 -2
  6. data/docs/instance.md +41 -0
  7. data/docs/instanceNotificationRule.md +219 -0
  8. data/docs/instanceNotificationRules.md +91 -0
  9. data/docs/instanceOrg.md +49 -5
  10. data/docs/instanceSandbox.md +179 -3
  11. data/docs/me.md +1 -0
  12. data/docs/org.md +1 -0
  13. data/lib/platform_rest/application.rb +2 -0
  14. data/lib/platform_rest/client.rb +10 -2
  15. data/lib/platform_rest/devices.rb +52 -2
  16. data/lib/platform_rest/instance.rb +50 -0
  17. data/lib/platform_rest/instance_notification_rule.rb +275 -0
  18. data/lib/platform_rest/instance_notification_rules.rb +136 -0
  19. data/lib/platform_rest/instance_org.rb +57 -5
  20. data/lib/platform_rest/instance_sandbox.rb +211 -3
  21. data/lib/platform_rest/me.rb +2 -0
  22. data/lib/platform_rest/org.rb +2 -0
  23. data/lib/platform_rest/version.rb +1 -1
  24. data/lib/platform_rest.rb +2 -0
  25. data/schemas/advancedDeviceQuery.json +103 -0
  26. data/schemas/apiTokenPost.json +16 -0
  27. data/schemas/applicationSearchResult.json +46 -6
  28. data/schemas/bulkRestoreResponse.json +12 -0
  29. data/schemas/credentialLinkedResources.json +12 -0
  30. data/schemas/dataExport.json +103 -0
  31. data/schemas/device.json +4 -0
  32. data/schemas/devices.json +4 -0
  33. data/schemas/devicesDeleteOrRestorePost.json +2061 -0
  34. data/schemas/devicesExportPayloadCountPost.json +103 -0
  35. data/schemas/devicesExportPost.json +103 -0
  36. data/schemas/devicesPatch.json +103 -0
  37. data/schemas/devicesRemoveDataPost.json +103 -0
  38. data/schemas/experienceEndpoint.json +6 -1
  39. data/schemas/experienceEndpointPatch.json +6 -1
  40. data/schemas/experienceEndpointPost.json +6 -1
  41. data/schemas/experienceEndpoints.json +6 -1
  42. data/schemas/experienceLinkedResources.json +18 -1
  43. data/schemas/flow.json +4 -0
  44. data/schemas/flowPatch.json +4 -0
  45. data/schemas/flowPost.json +4 -0
  46. data/schemas/flowVersion.json +8 -0
  47. data/schemas/flowVersionPost.json +4 -0
  48. data/schemas/flowVersions.json +8 -0
  49. data/schemas/flows.json +4 -0
  50. data/schemas/flowsImportPost.json +8 -0
  51. data/schemas/flowsImportResult.json +12 -0
  52. data/schemas/githubLogin.json +16 -0
  53. data/schemas/instance.json +9 -0
  54. data/schemas/instanceAuditLog.json +2 -1
  55. data/schemas/instanceAuditLogFilter.json +2 -1
  56. data/schemas/instanceOrg.json +4 -0
  57. data/schemas/instanceOrgs.json +4 -0
  58. data/schemas/instances.json +9 -0
  59. data/schemas/lastValueQuery.json +103 -0
  60. data/schemas/multiDeviceCommand.json +103 -0
  61. data/schemas/notificationRule.json +161 -0
  62. data/schemas/notificationRuleDeliveryLogs.json +123 -0
  63. data/schemas/notificationRuleEvaluationOptions.json +10 -0
  64. data/schemas/notificationRulePatch.json +128 -0
  65. data/schemas/notificationRulePost.json +140 -0
  66. data/schemas/notificationRules.json +212 -0
  67. data/schemas/samlResponse.json +16 -0
  68. data/schemas/timeSeriesQuery.json +103 -0
  69. data/schemas/userCredentials.json +16 -0
  70. data/schemas/userPost.json +16 -0
  71. metadata +14 -2
@@ -244,6 +244,7 @@
244
244
  "devices.attributeNames",
245
245
  "devices.patch",
246
246
  "devices.delete",
247
+ "devices.restore",
247
248
  "devices.removeData",
248
249
  "devices.detailedSummary",
249
250
  "devices.deviceNames",
@@ -438,6 +439,7 @@
438
439
  "instance.patch",
439
440
  "instance.historicalSummaries",
440
441
  "instance.generateReport",
442
+ "instance.payloadCounts",
441
443
  "instance.payloadCountsBreakdown",
442
444
  "instance.deviceCounts",
443
445
  "instance.notebookMinuteCounts",
@@ -445,6 +447,7 @@
445
447
  "instanceOrg.get",
446
448
  "instanceOrg.patch",
447
449
  "instanceOrg.delete",
450
+ "instanceOrg.payloadCounts",
448
451
  "instanceOrg.payloadCountsBreakdown",
449
452
  "instanceOrg.deviceCounts",
450
453
  "instanceOrg.notebookMinuteCounts",
@@ -489,10 +492,23 @@
489
492
  "instanceCustomNode.delete",
490
493
  "instanceCustomNode.errors",
491
494
  "instanceCustomNode.stats",
495
+ "instanceNotificationRules.*",
496
+ "instanceNotificationRules.get",
497
+ "instanceNotificationRules.post",
498
+ "instanceNotificationRule.*",
499
+ "instanceNotificationRule.get",
500
+ "instanceNotificationRule.patch",
501
+ "instanceNotificationRule.delete",
502
+ "instanceNotificationRule.evaluate",
503
+ "instanceNotificationRule.logs",
492
504
  "instanceSandbox.*",
493
505
  "instanceSandbox.get",
494
506
  "instanceSandbox.delete",
495
507
  "instanceSandbox.undelete",
508
+ "instanceSandbox.payloadCounts",
509
+ "instanceSandbox.payloadCountsBreakdown",
510
+ "instanceSandbox.deviceCounts",
511
+ "instanceSandbox.notebookMinuteCounts",
496
512
  "instanceSandboxes.*",
497
513
  "instanceSandboxes.get",
498
514
  "instanceAuditLog.*",
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.20.1
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-01 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -148,6 +148,8 @@ files:
148
148
  - docs/instanceCustomNodes.md
149
149
  - docs/instanceMember.md
150
150
  - docs/instanceMembers.md
151
+ - docs/instanceNotificationRule.md
152
+ - docs/instanceNotificationRules.md
151
153
  - docs/instanceOrg.md
152
154
  - docs/instanceOrgInvite.md
153
155
  - docs/instanceOrgInvites.md
@@ -242,6 +244,8 @@ files:
242
244
  - lib/platform_rest/instance_custom_nodes.rb
243
245
  - lib/platform_rest/instance_member.rb
244
246
  - lib/platform_rest/instance_members.rb
247
+ - lib/platform_rest/instance_notification_rule.rb
248
+ - lib/platform_rest/instance_notification_rules.rb
245
249
  - lib/platform_rest/instance_org.rb
246
250
  - lib/platform_rest/instance_org_invite.rb
247
251
  - lib/platform_rest/instance_org_invites.rb
@@ -324,6 +328,7 @@ files:
324
328
  - schemas/authedDevice.json
325
329
  - schemas/authedUser.json
326
330
  - schemas/bulkDeleteResponse.json
331
+ - schemas/bulkRestoreResponse.json
327
332
  - schemas/changePassword.json
328
333
  - schemas/compositeDeviceState.json
329
334
  - schemas/compositeDevicesState.json
@@ -381,6 +386,7 @@ files:
381
386
  - schemas/deviceTagFilter.json
382
387
  - schemas/devices.json
383
388
  - schemas/devicesDataRemoved.json
389
+ - schemas/devicesDeleteOrRestorePost.json
384
390
  - schemas/devicesDeletePost.json
385
391
  - schemas/devicesDeleted.json
386
392
  - schemas/devicesExportPayloadCountPost.json
@@ -519,6 +525,12 @@ files:
519
525
  - schemas/notebookPatch.json
520
526
  - schemas/notebookPost.json
521
527
  - schemas/notebooks.json
528
+ - schemas/notificationRule.json
529
+ - schemas/notificationRuleDeliveryLogs.json
530
+ - schemas/notificationRuleEvaluationOptions.json
531
+ - schemas/notificationRulePatch.json
532
+ - schemas/notificationRulePost.json
533
+ - schemas/notificationRules.json
522
534
  - schemas/org.json
523
535
  - schemas/orgInvite.json
524
536
  - schemas/orgInviteAction.json