losant_rest 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,8 @@
11
11
  "type": "string",
12
12
  "enum": [
13
13
  "mqtt",
14
- "googlePubSub"
14
+ "googlePubSub",
15
+ "particle"
15
16
  ]
16
17
  },
17
18
  "enabled": {
@@ -107,6 +108,35 @@
107
108
  "protocol",
108
109
  "host"
109
110
  ]
111
+ },
112
+ "particleConfig": {
113
+ "type": "object",
114
+ "properties": {
115
+ "accessToken": {
116
+ "type": "string",
117
+ "maxLength": 1024,
118
+ "minLength": 1
119
+ },
120
+ "productSlugOrId": {
121
+ "type": "string",
122
+ "maxLength": 1024,
123
+ "minLength": 1
124
+ },
125
+ "orgSlugOrId": {
126
+ "type": "string",
127
+ "maxLength": 1024,
128
+ "minLength": 1
129
+ },
130
+ "deviceNameOrId": {
131
+ "type": "string",
132
+ "maxLength": 1024,
133
+ "minLength": 1
134
+ }
135
+ },
136
+ "additionalProperties": false,
137
+ "required": [
138
+ "accessToken"
139
+ ]
110
140
  }
111
141
  },
112
142
  "additionalProperties": false,
@@ -38,7 +38,8 @@
38
38
  "type": "string",
39
39
  "enum": [
40
40
  "mqtt",
41
- "googlePubSub"
41
+ "googlePubSub",
42
+ "particle"
42
43
  ]
43
44
  },
44
45
  "enabled": {
@@ -135,6 +136,35 @@
135
136
  "host"
136
137
  ]
137
138
  },
139
+ "particleConfig": {
140
+ "type": "object",
141
+ "properties": {
142
+ "accessToken": {
143
+ "type": "string",
144
+ "maxLength": 1024,
145
+ "minLength": 1
146
+ },
147
+ "productSlugOrId": {
148
+ "type": "string",
149
+ "maxLength": 1024,
150
+ "minLength": 1
151
+ },
152
+ "orgSlugOrId": {
153
+ "type": "string",
154
+ "maxLength": 1024,
155
+ "minLength": 1
156
+ },
157
+ "deviceNameOrId": {
158
+ "type": "string",
159
+ "maxLength": 1024,
160
+ "minLength": 1
161
+ }
162
+ },
163
+ "additionalProperties": false,
164
+ "required": [
165
+ "accessToken"
166
+ ]
167
+ },
138
168
  "status": {
139
169
  "lastKeepAlive": {
140
170
  "type": [
@@ -6,7 +6,12 @@
6
6
  "type": "string"
7
7
  },
8
8
  "payload": {},
9
- "meta": {}
9
+ "meta": {},
10
+ "flowVersion": {
11
+ "type": "string",
12
+ "minLength": 1,
13
+ "maxLength": 255
14
+ }
10
15
  },
11
16
  "required": [
12
17
  "key"
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.2.1
4
+ version: 1.2.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: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -106,6 +106,8 @@ files:
106
106
  - docs/experienceUser.md
107
107
  - docs/experienceUsers.md
108
108
  - docs/flow.md
109
+ - docs/flowVersion.md
110
+ - docs/flowVersions.md
109
111
  - docs/flows.md
110
112
  - docs/integration.md
111
113
  - docs/integrations.md
@@ -149,6 +151,8 @@ files:
149
151
  - lib/losant_rest/experience_user.rb
150
152
  - lib/losant_rest/experience_users.rb
151
153
  - lib/losant_rest/flow.rb
154
+ - lib/losant_rest/flow_version.rb
155
+ - lib/losant_rest/flow_versions.rb
152
156
  - lib/losant_rest/flows.rb
153
157
  - lib/losant_rest/integration.rb
154
158
  - lib/losant_rest/integrations.rb
@@ -232,6 +236,10 @@ files:
232
236
  - schemas/flowStorageEntries.json
233
237
  - schemas/flowStorageEntry.json
234
238
  - schemas/flowTriggerFilter.json
239
+ - schemas/flowVersion.json
240
+ - schemas/flowVersionPatch.json
241
+ - schemas/flowVersionPost.json
242
+ - schemas/flowVersions.json
235
243
  - schemas/flows.json
236
244
  - schemas/githubLogin.json
237
245
  - schemas/integration.json