losant_rest 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bc2d229786fd1022415daa5f21836ab9dbdb27e7716565db914d0ab23724363
4
- data.tar.gz: f5a50dcb4693c8c69831ac875efe16fa1b24fb498b2221dcaaa8b2c5565201ae
3
+ metadata.gz: a00e4f322e3eb13ed7039b50b7b585832628db3118a8946740e14f55286fbd99
4
+ data.tar.gz: ca6b8e733ad3c4ecec741b5c2f1ea68f220753e4735edb6e7dddc2242a318c78
5
5
  SHA512:
6
- metadata.gz: c9d497c88b5f0f77c630ea52cb135f17a246627f6106dbad88ce3aeb0c77b6cd89763fe16d499e0f4f123f200e0def80022db33594faff62a44cf4f7ad11c182
7
- data.tar.gz: 326f83520b492b964ad79822158f6f865f7eb9a6ae22bf222d780ec9ffd6ef539fb42756f2e6112605d2539e6867b961cfd68ba1d61052c16719284903acc463
6
+ metadata.gz: de8652209e1d56f331536e4c0fddee0f6da015cd0a6aee44e8a1897832608aaed1cc1bce9e9ecee353eeb3e187ea09ceb7ad5cf88b7aea73f826744cc9ab0037
7
+ data.tar.gz: 515ccf96d76c92e0c95e92bde9bea98b3530540c90954085b17235e5c74d557eda2add037b3b2d1ab701ff1fafc68e02b6394ce686d82ce6716d314ebf33f89a
@@ -3145,6 +3145,7 @@ Schema for a single Dashboard
3145
3145
  "graph",
3146
3146
  "heatmap",
3147
3147
  "iframe",
3148
+ "image",
3148
3149
  "indicator",
3149
3150
  "input",
3150
3151
  "map",
@@ -3432,6 +3433,7 @@ Schema for the body of a Dashboard modification request
3432
3433
  "graph",
3433
3434
  "heatmap",
3434
3435
  "iframe",
3436
+ "image",
3435
3437
  "indicator",
3436
3438
  "input",
3437
3439
  "map",
@@ -3731,6 +3733,7 @@ Schema for the body of a Dashboard creation request
3731
3733
  "graph",
3732
3734
  "heatmap",
3733
3735
  "iframe",
3736
+ "image",
3734
3737
  "indicator",
3735
3738
  "input",
3736
3739
  "map",
@@ -4134,6 +4137,7 @@ Schema for a collection of Dashboards
4134
4137
  "graph",
4135
4138
  "heatmap",
4136
4139
  "iframe",
4140
+ "image",
4137
4141
  "indicator",
4138
4142
  "input",
4139
4143
  "map",
@@ -9132,6 +9136,30 @@ Schema for a single Experience Endpoint
9132
9136
  "type": "string",
9133
9137
  "format": "date-time"
9134
9138
  },
9139
+ "createdById": {
9140
+ "type": "string",
9141
+ "pattern": "^[A-Fa-f\\d]{24}$"
9142
+ },
9143
+ "createdByType": {
9144
+ "type": "string",
9145
+ "enum": [
9146
+ "flow",
9147
+ "user",
9148
+ "apiToken"
9149
+ ]
9150
+ },
9151
+ "lastUpdatedById": {
9152
+ "type": "string",
9153
+ "pattern": "^[A-Fa-f\\d]{24}$"
9154
+ },
9155
+ "lastUpdatedByType": {
9156
+ "type": "string",
9157
+ "enum": [
9158
+ "flow",
9159
+ "user",
9160
+ "apiToken"
9161
+ ]
9162
+ },
9135
9163
  "description": {
9136
9164
  "type": "string",
9137
9165
  "maxLength": 32767
@@ -9671,6 +9699,30 @@ Schema for a collection of Experience Endpoints
9671
9699
  "type": "string",
9672
9700
  "format": "date-time"
9673
9701
  },
9702
+ "createdById": {
9703
+ "type": "string",
9704
+ "pattern": "^[A-Fa-f\\d]{24}$"
9705
+ },
9706
+ "createdByType": {
9707
+ "type": "string",
9708
+ "enum": [
9709
+ "flow",
9710
+ "user",
9711
+ "apiToken"
9712
+ ]
9713
+ },
9714
+ "lastUpdatedById": {
9715
+ "type": "string",
9716
+ "pattern": "^[A-Fa-f\\d]{24}$"
9717
+ },
9718
+ "lastUpdatedByType": {
9719
+ "type": "string",
9720
+ "enum": [
9721
+ "flow",
9722
+ "user",
9723
+ "apiToken"
9724
+ ]
9725
+ },
9674
9726
  "description": {
9675
9727
  "type": "string",
9676
9728
  "maxLength": 32767
@@ -11311,6 +11363,30 @@ Schema for a single Experience View
11311
11363
  "type": "string",
11312
11364
  "format": "date-time"
11313
11365
  },
11366
+ "createdById": {
11367
+ "type": "string",
11368
+ "pattern": "^[A-Fa-f\\d]{24}$"
11369
+ },
11370
+ "createdByType": {
11371
+ "type": "string",
11372
+ "enum": [
11373
+ "flow",
11374
+ "user",
11375
+ "apiToken"
11376
+ ]
11377
+ },
11378
+ "lastUpdatedById": {
11379
+ "type": "string",
11380
+ "pattern": "^[A-Fa-f\\d]{24}$"
11381
+ },
11382
+ "lastUpdatedByType": {
11383
+ "type": "string",
11384
+ "enum": [
11385
+ "flow",
11386
+ "user",
11387
+ "apiToken"
11388
+ ]
11389
+ },
11314
11390
  "name": {
11315
11391
  "type": "string",
11316
11392
  "minLength": 1,
@@ -11554,6 +11630,30 @@ Schema for a collection of Experience Views
11554
11630
  "type": "string",
11555
11631
  "format": "date-time"
11556
11632
  },
11633
+ "createdById": {
11634
+ "type": "string",
11635
+ "pattern": "^[A-Fa-f\\d]{24}$"
11636
+ },
11637
+ "createdByType": {
11638
+ "type": "string",
11639
+ "enum": [
11640
+ "flow",
11641
+ "user",
11642
+ "apiToken"
11643
+ ]
11644
+ },
11645
+ "lastUpdatedById": {
11646
+ "type": "string",
11647
+ "pattern": "^[A-Fa-f\\d]{24}$"
11648
+ },
11649
+ "lastUpdatedByType": {
11650
+ "type": "string",
11651
+ "enum": [
11652
+ "flow",
11653
+ "user",
11654
+ "apiToken"
11655
+ ]
11656
+ },
11557
11657
  "name": {
11558
11658
  "type": "string",
11559
11659
  "minLength": 1,
@@ -27,7 +27,7 @@ module LosantRest
27
27
  #
28
28
  # User API for accessing Losant data
29
29
  #
30
- # Built For Version 1.13.1
30
+ # Built For Version 1.13.2
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -266,7 +266,7 @@ module LosantRest
266
266
 
267
267
  headers["Accept"] = "application/json"
268
268
  headers["Content-Type"] = "application/json"
269
- headers["Accept-Version"] = "^1.13.1"
269
+ headers["Accept-Version"] = "^1.13.2"
270
270
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
271
271
  path = self.url + options.fetch(:path, "")
272
272
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.8.1"
24
+ VERSION = "1.8.2"
25
25
  end
@@ -132,6 +132,7 @@
132
132
  "graph",
133
133
  "heatmap",
134
134
  "iframe",
135
+ "image",
135
136
  "indicator",
136
137
  "input",
137
138
  "map",
@@ -32,6 +32,7 @@
32
32
  "graph",
33
33
  "heatmap",
34
34
  "iframe",
35
+ "image",
35
36
  "indicator",
36
37
  "input",
37
38
  "map",
@@ -36,6 +36,7 @@
36
36
  "graph",
37
37
  "heatmap",
38
38
  "iframe",
39
+ "image",
39
40
  "indicator",
40
41
  "input",
41
42
  "map",
@@ -139,6 +139,7 @@
139
139
  "graph",
140
140
  "heatmap",
141
141
  "iframe",
142
+ "image",
142
143
  "indicator",
143
144
  "input",
144
145
  "map",
@@ -22,6 +22,30 @@
22
22
  "type": "string",
23
23
  "format": "date-time"
24
24
  },
25
+ "createdById": {
26
+ "type": "string",
27
+ "pattern": "^[A-Fa-f\\d]{24}$"
28
+ },
29
+ "createdByType": {
30
+ "type": "string",
31
+ "enum": [
32
+ "flow",
33
+ "user",
34
+ "apiToken"
35
+ ]
36
+ },
37
+ "lastUpdatedById": {
38
+ "type": "string",
39
+ "pattern": "^[A-Fa-f\\d]{24}$"
40
+ },
41
+ "lastUpdatedByType": {
42
+ "type": "string",
43
+ "enum": [
44
+ "flow",
45
+ "user",
46
+ "apiToken"
47
+ ]
48
+ },
25
49
  "description": {
26
50
  "type": "string",
27
51
  "maxLength": 32767
@@ -29,6 +29,30 @@
29
29
  "type": "string",
30
30
  "format": "date-time"
31
31
  },
32
+ "createdById": {
33
+ "type": "string",
34
+ "pattern": "^[A-Fa-f\\d]{24}$"
35
+ },
36
+ "createdByType": {
37
+ "type": "string",
38
+ "enum": [
39
+ "flow",
40
+ "user",
41
+ "apiToken"
42
+ ]
43
+ },
44
+ "lastUpdatedById": {
45
+ "type": "string",
46
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
+ },
48
+ "lastUpdatedByType": {
49
+ "type": "string",
50
+ "enum": [
51
+ "flow",
52
+ "user",
53
+ "apiToken"
54
+ ]
55
+ },
32
56
  "description": {
33
57
  "type": "string",
34
58
  "maxLength": 32767
@@ -22,6 +22,30 @@
22
22
  "type": "string",
23
23
  "format": "date-time"
24
24
  },
25
+ "createdById": {
26
+ "type": "string",
27
+ "pattern": "^[A-Fa-f\\d]{24}$"
28
+ },
29
+ "createdByType": {
30
+ "type": "string",
31
+ "enum": [
32
+ "flow",
33
+ "user",
34
+ "apiToken"
35
+ ]
36
+ },
37
+ "lastUpdatedById": {
38
+ "type": "string",
39
+ "pattern": "^[A-Fa-f\\d]{24}$"
40
+ },
41
+ "lastUpdatedByType": {
42
+ "type": "string",
43
+ "enum": [
44
+ "flow",
45
+ "user",
46
+ "apiToken"
47
+ ]
48
+ },
25
49
  "name": {
26
50
  "type": "string",
27
51
  "minLength": 1,
@@ -29,6 +29,30 @@
29
29
  "type": "string",
30
30
  "format": "date-time"
31
31
  },
32
+ "createdById": {
33
+ "type": "string",
34
+ "pattern": "^[A-Fa-f\\d]{24}$"
35
+ },
36
+ "createdByType": {
37
+ "type": "string",
38
+ "enum": [
39
+ "flow",
40
+ "user",
41
+ "apiToken"
42
+ ]
43
+ },
44
+ "lastUpdatedById": {
45
+ "type": "string",
46
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
+ },
48
+ "lastUpdatedByType": {
49
+ "type": "string",
50
+ "enum": [
51
+ "flow",
52
+ "user",
53
+ "apiToken"
54
+ ]
55
+ },
32
56
  "name": {
33
57
  "type": "string",
34
58
  "minLength": 1,
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.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-21 00:00:00.000000000 Z
11
+ date: 2018-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty