losant_rest 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e6ccf5f1d052224deaa3c6efa4900997d1aed71
4
- data.tar.gz: 15b73941af1da360429e25946f58fb89616e6812
3
+ metadata.gz: ef9586a583cec12b88e958346cd08b242e96fb31
4
+ data.tar.gz: 07d7893adbc24affd6c196a616266481b5a0b13d
5
5
  SHA512:
6
- metadata.gz: 57d7f959d6966a79c0d9ef978f02ed180a49f4c6ca2d51a01b12930f85430a934a6a0179448922fc239eae8333c3f59b264b7d663a9a819ba5eed0965400351d
7
- data.tar.gz: 8ef116fa5950199ce9aa2035bab23a029a4b60aaa3679fb8871c9b2c493e827c7bf1db5c634a81464afdafe43a485a4a6d251e284bc93912eea5a6d196fdc5f3
6
+ metadata.gz: 16320ef8bc067071f5a3d80e57eb538cff9fabe35958ebd9c3a9400d8176d858f3786a9446f32eb31d00692aeceda5423a0cd88dfaf10bd1caf9326e579cfa6a
7
+ data.tar.gz: df2ebcdf8885ecfa6be186531048c66a3afa295ff055aaad65f1d89b59aee14a80bf742762f195086f08eabc0f66063c4f41438d61b5aa5aef066454554b94f7
data/docs/_schemas.md CHANGED
@@ -7211,13 +7211,15 @@ Schema for a single Workflow
7211
7211
  "deviceId",
7212
7212
  "deviceIdConnect",
7213
7213
  "deviceIdDisconnect",
7214
+ "deviceIdInactivity",
7214
7215
  "deviceTag",
7215
7216
  "deviceTagConnect",
7216
7217
  "deviceTagDisconnect",
7218
+ "deviceTagInactivity",
7217
7219
  "endpoint",
7218
7220
  "event",
7219
- "mqttTopic",
7220
7221
  "integration",
7222
+ "mqttTopic",
7221
7223
  "timer",
7222
7224
  "virtualButton",
7223
7225
  "webhook"
@@ -7493,13 +7495,15 @@ Schema for the body of a Workflow modification request
7493
7495
  "deviceId",
7494
7496
  "deviceIdConnect",
7495
7497
  "deviceIdDisconnect",
7498
+ "deviceIdInactivity",
7496
7499
  "deviceTag",
7497
7500
  "deviceTagConnect",
7498
7501
  "deviceTagDisconnect",
7502
+ "deviceTagInactivity",
7499
7503
  "endpoint",
7500
7504
  "event",
7501
- "mqttTopic",
7502
7505
  "integration",
7506
+ "mqttTopic",
7503
7507
  "timer",
7504
7508
  "virtualButton",
7505
7509
  "webhook"
@@ -7647,13 +7651,15 @@ Schema for the body of a Workflow creation request
7647
7651
  "deviceId",
7648
7652
  "deviceIdConnect",
7649
7653
  "deviceIdDisconnect",
7654
+ "deviceIdInactivity",
7650
7655
  "deviceTag",
7651
7656
  "deviceTagConnect",
7652
7657
  "deviceTagDisconnect",
7658
+ "deviceTagInactivity",
7653
7659
  "endpoint",
7654
7660
  "event",
7655
- "mqttTopic",
7656
7661
  "integration",
7662
+ "mqttTopic",
7657
7663
  "timer",
7658
7664
  "virtualButton",
7659
7665
  "webhook"
@@ -7932,13 +7938,15 @@ Schema for a single Workflow Version
7932
7938
  "deviceId",
7933
7939
  "deviceIdConnect",
7934
7940
  "deviceIdDisconnect",
7941
+ "deviceIdInactivity",
7935
7942
  "deviceTag",
7936
7943
  "deviceTagConnect",
7937
7944
  "deviceTagDisconnect",
7945
+ "deviceTagInactivity",
7938
7946
  "endpoint",
7939
7947
  "event",
7940
- "mqttTopic",
7941
7948
  "integration",
7949
+ "mqttTopic",
7942
7950
  "timer",
7943
7951
  "virtualButton",
7944
7952
  "webhook"
@@ -8127,13 +8135,15 @@ Schema for the body of a Workflow Version creation request
8127
8135
  "deviceId",
8128
8136
  "deviceIdConnect",
8129
8137
  "deviceIdDisconnect",
8138
+ "deviceIdInactivity",
8130
8139
  "deviceTag",
8131
8140
  "deviceTagConnect",
8132
8141
  "deviceTagDisconnect",
8142
+ "deviceTagInactivity",
8133
8143
  "endpoint",
8134
8144
  "event",
8135
- "mqttTopic",
8136
8145
  "integration",
8146
+ "mqttTopic",
8137
8147
  "timer",
8138
8148
  "virtualButton",
8139
8149
  "webhook"
@@ -8315,13 +8325,15 @@ Schema for a collection of Workflow Versions
8315
8325
  "deviceId",
8316
8326
  "deviceIdConnect",
8317
8327
  "deviceIdDisconnect",
8328
+ "deviceIdInactivity",
8318
8329
  "deviceTag",
8319
8330
  "deviceTagConnect",
8320
8331
  "deviceTagDisconnect",
8332
+ "deviceTagInactivity",
8321
8333
  "endpoint",
8322
8334
  "event",
8323
- "mqttTopic",
8324
8335
  "integration",
8336
+ "mqttTopic",
8325
8337
  "timer",
8326
8338
  "virtualButton",
8327
8339
  "webhook"
@@ -8559,13 +8571,15 @@ Schema for a collection of Workflows
8559
8571
  "deviceId",
8560
8572
  "deviceIdConnect",
8561
8573
  "deviceIdDisconnect",
8574
+ "deviceIdInactivity",
8562
8575
  "deviceTag",
8563
8576
  "deviceTagConnect",
8564
8577
  "deviceTagDisconnect",
8578
+ "deviceTagInactivity",
8565
8579
  "endpoint",
8566
8580
  "event",
8567
- "mqttTopic",
8568
8581
  "integration",
8582
+ "mqttTopic",
8569
8583
  "timer",
8570
8584
  "virtualButton",
8571
8585
  "webhook"
@@ -27,7 +27,7 @@ module LosantRest
27
27
  #
28
28
  # User API for accessing Losant data
29
29
  #
30
- # Built For Version 1.7.0
30
+ # Built For Version 1.7.1
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -218,7 +218,7 @@ module LosantRest
218
218
 
219
219
  headers["Accept"] = "application/json"
220
220
  headers["Content-Type"] = "application/json"
221
- headers["Accept-Version"] = "^1.7.0"
221
+ headers["Accept-Version"] = "^1.7.1"
222
222
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
223
223
  path = self.url + options.fetch(:path, "")
224
224
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.3.0"
24
+ VERSION = "1.3.1"
25
25
  end
data/schemas/flow.json CHANGED
@@ -54,13 +54,15 @@
54
54
  "deviceId",
55
55
  "deviceIdConnect",
56
56
  "deviceIdDisconnect",
57
+ "deviceIdInactivity",
57
58
  "deviceTag",
58
59
  "deviceTagConnect",
59
60
  "deviceTagDisconnect",
61
+ "deviceTagInactivity",
60
62
  "endpoint",
61
63
  "event",
62
- "mqttTopic",
63
64
  "integration",
65
+ "mqttTopic",
64
66
  "timer",
65
67
  "virtualButton",
66
68
  "webhook"
@@ -41,13 +41,15 @@
41
41
  "deviceId",
42
42
  "deviceIdConnect",
43
43
  "deviceIdDisconnect",
44
+ "deviceIdInactivity",
44
45
  "deviceTag",
45
46
  "deviceTagConnect",
46
47
  "deviceTagDisconnect",
48
+ "deviceTagInactivity",
47
49
  "endpoint",
48
50
  "event",
49
- "mqttTopic",
50
51
  "integration",
52
+ "mqttTopic",
51
53
  "timer",
52
54
  "virtualButton",
53
55
  "webhook"
@@ -30,13 +30,15 @@
30
30
  "deviceId",
31
31
  "deviceIdConnect",
32
32
  "deviceIdDisconnect",
33
+ "deviceIdInactivity",
33
34
  "deviceTag",
34
35
  "deviceTagConnect",
35
36
  "deviceTagDisconnect",
37
+ "deviceTagInactivity",
36
38
  "endpoint",
37
39
  "event",
38
- "mqttTopic",
39
40
  "integration",
41
+ "mqttTopic",
40
42
  "timer",
41
43
  "virtualButton",
42
44
  "webhook"
@@ -54,13 +54,15 @@
54
54
  "deviceId",
55
55
  "deviceIdConnect",
56
56
  "deviceIdDisconnect",
57
+ "deviceIdInactivity",
57
58
  "deviceTag",
58
59
  "deviceTagConnect",
59
60
  "deviceTagDisconnect",
61
+ "deviceTagInactivity",
60
62
  "endpoint",
61
63
  "event",
62
- "mqttTopic",
63
64
  "integration",
65
+ "mqttTopic",
64
66
  "timer",
65
67
  "virtualButton",
66
68
  "webhook"
@@ -30,13 +30,15 @@
30
30
  "deviceId",
31
31
  "deviceIdConnect",
32
32
  "deviceIdDisconnect",
33
+ "deviceIdInactivity",
33
34
  "deviceTag",
34
35
  "deviceTagConnect",
35
36
  "deviceTagDisconnect",
37
+ "deviceTagInactivity",
36
38
  "endpoint",
37
39
  "event",
38
- "mqttTopic",
39
40
  "integration",
41
+ "mqttTopic",
40
42
  "timer",
41
43
  "virtualButton",
42
44
  "webhook"
@@ -61,13 +61,15 @@
61
61
  "deviceId",
62
62
  "deviceIdConnect",
63
63
  "deviceIdDisconnect",
64
+ "deviceIdInactivity",
64
65
  "deviceTag",
65
66
  "deviceTagConnect",
66
67
  "deviceTagDisconnect",
68
+ "deviceTagInactivity",
67
69
  "endpoint",
68
70
  "event",
69
- "mqttTopic",
70
71
  "integration",
72
+ "mqttTopic",
71
73
  "timer",
72
74
  "virtualButton",
73
75
  "webhook"
data/schemas/flows.json CHANGED
@@ -61,13 +61,15 @@
61
61
  "deviceId",
62
62
  "deviceIdConnect",
63
63
  "deviceIdDisconnect",
64
+ "deviceIdInactivity",
64
65
  "deviceTag",
65
66
  "deviceTagConnect",
66
67
  "deviceTagDisconnect",
68
+ "deviceTagInactivity",
67
69
  "endpoint",
68
70
  "event",
69
- "mqttTopic",
70
71
  "integration",
72
+ "mqttTopic",
71
73
  "timer",
72
74
  "virtualButton",
73
75
  "webhook"
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.3.0
4
+ version: 1.3.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: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty