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
data/schemas/device.json CHANGED
@@ -22,6 +22,10 @@
22
22
  "type": "string",
23
23
  "format": "date-time"
24
24
  },
25
+ "deletedAt": {
26
+ "type": "string",
27
+ "format": "date-time"
28
+ },
25
29
  "name": {
26
30
  "type": "string",
27
31
  "minLength": 1,
data/schemas/devices.json CHANGED
@@ -29,6 +29,10 @@
29
29
  "type": "string",
30
30
  "format": "date-time"
31
31
  },
32
+ "deletedAt": {
33
+ "type": "string",
34
+ "format": "date-time"
35
+ },
32
36
  "name": {
33
37
  "type": "string",
34
38
  "minLength": 1,