losant_rest 1.19.8 → 1.19.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +3386 -964
  3. data/lib/platform_rest/client.rb +2 -2
  4. data/lib/platform_rest/version.rb +1 -1
  5. data/schemas/application.json +20 -4
  6. data/schemas/applicationCreationByTemplateResult.json +20 -4
  7. data/schemas/applicationTemplate.json +4 -0
  8. data/schemas/applicationTemplates.json +4 -0
  9. data/schemas/applications.json +20 -4
  10. data/schemas/credential.json +7 -1
  11. data/schemas/credentialLinkedResources.json +330 -18
  12. data/schemas/credentialPatch.json +11 -0
  13. data/schemas/credentialPost.json +16 -1
  14. data/schemas/credentials.json +7 -1
  15. data/schemas/experienceLinkedResources.json +330 -18
  16. data/schemas/flow.json +110 -6
  17. data/schemas/flowPatch.json +110 -6
  18. data/schemas/flowPost.json +110 -6
  19. data/schemas/flowVersion.json +220 -12
  20. data/schemas/flowVersionPost.json +110 -6
  21. data/schemas/flowVersions.json +220 -12
  22. data/schemas/flows.json +110 -6
  23. data/schemas/flowsImportPost.json +220 -12
  24. data/schemas/flowsImportResult.json +330 -18
  25. data/schemas/historicalSummaries.json +40 -8
  26. data/schemas/historicalSummary.json +40 -8
  27. data/schemas/instanceCustomNodePatch.json +8 -6
  28. data/schemas/instanceCustomNodePost.json +8 -6
  29. data/schemas/instanceOrg.json +20 -4
  30. data/schemas/instanceOrgs.json +20 -4
  31. data/schemas/instanceSandbox.json +20 -4
  32. data/schemas/instanceSandboxes.json +20 -4
  33. data/schemas/me.json +20 -4
  34. data/schemas/org.json +20 -4
  35. data/schemas/orgs.json +20 -4
  36. data/schemas/payloadStats.json +20 -4
  37. data/schemas/webhook.json +13 -0
  38. data/schemas/webhookPatch.json +13 -0
  39. data/schemas/webhookPost.json +13 -0
  40. data/schemas/webhooks.json +13 -0
  41. metadata +2 -2
@@ -27,7 +27,7 @@ module PlatformRest
27
27
  #
28
28
  # User API for accessing platform data
29
29
  #
30
- # Built For Version 1.26.8
30
+ # Built For Version 1.26.9
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -398,7 +398,7 @@ module PlatformRest
398
398
 
399
399
  headers["Accept"] = "application/json"
400
400
  headers["Content-Type"] = "application/json"
401
- headers["Accept-Version"] = "^1.26.8"
401
+ headers["Accept-Version"] = "^1.26.9"
402
402
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
403
403
  path = self.url + options.fetch(:path, "")
404
404
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module PlatformRest
24
- VERSION = "1.19.8"
24
+ VERSION = "1.19.9"
25
25
  end
@@ -181,6 +181,14 @@
181
181
  "description": "Schema for the result of a payload stats request",
182
182
  "type": "object",
183
183
  "properties": {
184
+ "appFile": {
185
+ "type": "object",
186
+ "patternProperties": {
187
+ ".*": {
188
+ "type": "number"
189
+ }
190
+ }
191
+ },
184
192
  "dataTable": {
185
193
  "type": "object",
186
194
  "patternProperties": {
@@ -245,6 +253,14 @@
245
253
  }
246
254
  }
247
255
  },
256
+ "inboundEmail": {
257
+ "type": "object",
258
+ "patternProperties": {
259
+ ".*": {
260
+ "type": "number"
261
+ }
262
+ }
263
+ },
248
264
  "integration": {
249
265
  "type": "object",
250
266
  "patternProperties": {
@@ -277,7 +293,7 @@
277
293
  }
278
294
  }
279
295
  },
280
- "timer": {
296
+ "resourceJob": {
281
297
  "type": "object",
282
298
  "patternProperties": {
283
299
  ".*": {
@@ -285,7 +301,7 @@
285
301
  }
286
302
  }
287
303
  },
288
- "virtualButton": {
304
+ "timer": {
289
305
  "type": "object",
290
306
  "patternProperties": {
291
307
  ".*": {
@@ -293,7 +309,7 @@
293
309
  }
294
310
  }
295
311
  },
296
- "webhook": {
312
+ "virtualButton": {
297
313
  "type": "object",
298
314
  "patternProperties": {
299
315
  ".*": {
@@ -301,7 +317,7 @@
301
317
  }
302
318
  }
303
319
  },
304
- "resourceJob": {
320
+ "webhook": {
305
321
  "type": "object",
306
322
  "patternProperties": {
307
323
  ".*": {
@@ -186,6 +186,14 @@
186
186
  "description": "Schema for the result of a payload stats request",
187
187
  "type": "object",
188
188
  "properties": {
189
+ "appFile": {
190
+ "type": "object",
191
+ "patternProperties": {
192
+ ".*": {
193
+ "type": "number"
194
+ }
195
+ }
196
+ },
189
197
  "dataTable": {
190
198
  "type": "object",
191
199
  "patternProperties": {
@@ -250,6 +258,14 @@
250
258
  }
251
259
  }
252
260
  },
261
+ "inboundEmail": {
262
+ "type": "object",
263
+ "patternProperties": {
264
+ ".*": {
265
+ "type": "number"
266
+ }
267
+ }
268
+ },
253
269
  "integration": {
254
270
  "type": "object",
255
271
  "patternProperties": {
@@ -282,7 +298,7 @@
282
298
  }
283
299
  }
284
300
  },
285
- "timer": {
301
+ "resourceJob": {
286
302
  "type": "object",
287
303
  "patternProperties": {
288
304
  ".*": {
@@ -290,7 +306,7 @@
290
306
  }
291
307
  }
292
308
  },
293
- "virtualButton": {
309
+ "timer": {
294
310
  "type": "object",
295
311
  "patternProperties": {
296
312
  ".*": {
@@ -298,7 +314,7 @@
298
314
  }
299
315
  }
300
316
  },
301
- "webhook": {
317
+ "virtualButton": {
302
318
  "type": "object",
303
319
  "patternProperties": {
304
320
  ".*": {
@@ -306,7 +322,7 @@
306
322
  }
307
323
  }
308
324
  },
309
- "resourceJob": {
325
+ "webhook": {
310
326
  "type": "object",
311
327
  "patternProperties": {
312
328
  ".*": {
@@ -6,6 +6,10 @@
6
6
  "type": "string",
7
7
  "pattern": "^[A-Fa-f\\d]{24}$"
8
8
  },
9
+ "templateId": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
9
13
  "creationDate": {
10
14
  "type": "string",
11
15
  "format": "date-time"
@@ -13,6 +13,10 @@
13
13
  "type": "string",
14
14
  "pattern": "^[A-Fa-f\\d]{24}$"
15
15
  },
16
+ "templateId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
16
20
  "creationDate": {
17
21
  "type": "string",
18
22
  "format": "date-time"
@@ -188,6 +188,14 @@
188
188
  "description": "Schema for the result of a payload stats request",
189
189
  "type": "object",
190
190
  "properties": {
191
+ "appFile": {
192
+ "type": "object",
193
+ "patternProperties": {
194
+ ".*": {
195
+ "type": "number"
196
+ }
197
+ }
198
+ },
191
199
  "dataTable": {
192
200
  "type": "object",
193
201
  "patternProperties": {
@@ -252,6 +260,14 @@
252
260
  }
253
261
  }
254
262
  },
263
+ "inboundEmail": {
264
+ "type": "object",
265
+ "patternProperties": {
266
+ ".*": {
267
+ "type": "number"
268
+ }
269
+ }
270
+ },
255
271
  "integration": {
256
272
  "type": "object",
257
273
  "patternProperties": {
@@ -284,7 +300,7 @@
284
300
  }
285
301
  }
286
302
  },
287
- "timer": {
303
+ "resourceJob": {
288
304
  "type": "object",
289
305
  "patternProperties": {
290
306
  ".*": {
@@ -292,7 +308,7 @@
292
308
  }
293
309
  }
294
310
  },
295
- "virtualButton": {
311
+ "timer": {
296
312
  "type": "object",
297
313
  "patternProperties": {
298
314
  ".*": {
@@ -300,7 +316,7 @@
300
316
  }
301
317
  }
302
318
  },
303
- "webhook": {
319
+ "virtualButton": {
304
320
  "type": "object",
305
321
  "patternProperties": {
306
322
  ".*": {
@@ -308,7 +324,7 @@
308
324
  }
309
325
  }
310
326
  },
311
- "resourceJob": {
327
+ "webhook": {
312
328
  "type": "object",
313
329
  "patternProperties": {
314
330
  ".*": {
@@ -67,7 +67,8 @@
67
67
  "jwt",
68
68
  "whatsapp",
69
69
  "sql",
70
- "mongodb"
70
+ "mongodb",
71
+ "mailgun"
71
72
  ]
72
73
  },
73
74
  "awsConfig": {
@@ -262,6 +263,11 @@
262
263
  "type": "object",
263
264
  "properties": {},
264
265
  "additionalProperties": false
266
+ },
267
+ "mailgunConfig": {
268
+ "type": "object",
269
+ "properties": {},
270
+ "additionalProperties": false
265
271
  }
266
272
  },
267
273
  "additionalProperties": false,