losant_rest 1.19.7 → 1.19.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +30 -0
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +3986 -227
  5. data/docs/devices.md +0 -1
  6. data/docs/instanceOrgs.md +1 -0
  7. data/lib/platform_rest/client.rb +2 -2
  8. data/lib/platform_rest/devices.rb +0 -1
  9. data/lib/platform_rest/instance_orgs.rb +3 -0
  10. data/lib/platform_rest/version.rb +1 -1
  11. data/schemas/advancedInstanceOrgQuery.json +1171 -0
  12. data/schemas/application.json +20 -4
  13. data/schemas/applicationCreationByTemplateResult.json +20 -4
  14. data/schemas/applicationDashboardPost.json +7 -0
  15. data/schemas/applicationTemplate.json +4 -0
  16. data/schemas/applicationTemplates.json +4 -0
  17. data/schemas/applications.json +20 -4
  18. data/schemas/credential.json +13 -1
  19. data/schemas/credentialLinkedResources.json +330 -18
  20. data/schemas/credentialPatch.json +22 -0
  21. data/schemas/credentialPost.json +31 -1
  22. data/schemas/credentials.json +13 -1
  23. data/schemas/dashboard.json +7 -0
  24. data/schemas/dashboardPatch.json +7 -0
  25. data/schemas/dashboardPost.json +7 -0
  26. data/schemas/dashboards.json +7 -0
  27. data/schemas/devicesExportPost.json +8 -0
  28. data/schemas/devicesRemoveDataPost.json +10 -0
  29. data/schemas/experienceLinkedResources.json +341 -18
  30. data/schemas/experienceView.json +11 -0
  31. data/schemas/experienceViewPatch.json +11 -0
  32. data/schemas/experienceViewPost.json +11 -0
  33. data/schemas/experienceViews.json +11 -0
  34. data/schemas/flow.json +110 -6
  35. data/schemas/flowPatch.json +110 -6
  36. data/schemas/flowPost.json +110 -6
  37. data/schemas/flowVersion.json +220 -12
  38. data/schemas/flowVersionPost.json +110 -6
  39. data/schemas/flowVersions.json +220 -12
  40. data/schemas/flows.json +110 -6
  41. data/schemas/flowsImportPost.json +220 -12
  42. data/schemas/flowsImportResult.json +330 -18
  43. data/schemas/historicalSummaries.json +40 -8
  44. data/schemas/historicalSummary.json +40 -8
  45. data/schemas/instanceCustomNodePatch.json +8 -6
  46. data/schemas/instanceCustomNodePost.json +8 -6
  47. data/schemas/instanceOrg.json +20 -4
  48. data/schemas/instanceOrgs.json +20 -4
  49. data/schemas/instanceSandbox.json +20 -4
  50. data/schemas/instanceSandboxes.json +20 -4
  51. data/schemas/me.json +20 -4
  52. data/schemas/notebook.json +8 -0
  53. data/schemas/notebookPatch.json +8 -0
  54. data/schemas/notebookPost.json +8 -0
  55. data/schemas/notebooks.json +8 -0
  56. data/schemas/org.json +20 -4
  57. data/schemas/orgs.json +20 -4
  58. data/schemas/payloadStats.json +20 -4
  59. data/schemas/webhook.json +13 -0
  60. data/schemas/webhookPatch.json +13 -0
  61. data/schemas/webhookPost.json +13 -0
  62. data/schemas/webhooks.json +13 -0
  63. metadata +4 -3
  64. data/.travis.yml +0 -7
@@ -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
  ".*": {
@@ -5960,6 +5960,13 @@
5960
5960
  },
5961
5961
  "maxItems": 100
5962
5962
  },
5963
+ "query": {
5964
+ "type": [
5965
+ "string",
5966
+ "null"
5967
+ ],
5968
+ "maxLength": 8192
5969
+ },
5963
5970
  "includeFullDevice": {
5964
5971
  "type": "boolean"
5965
5972
  }
@@ -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
  ".*": {
@@ -66,7 +66,9 @@
66
66
  "loggly",
67
67
  "jwt",
68
68
  "whatsapp",
69
- "sql"
69
+ "sql",
70
+ "mongodb",
71
+ "mailgun"
70
72
  ]
71
73
  },
72
74
  "awsConfig": {
@@ -256,6 +258,16 @@
256
258
  "host",
257
259
  "username"
258
260
  ]
261
+ },
262
+ "mongodbConfig": {
263
+ "type": "object",
264
+ "properties": {},
265
+ "additionalProperties": false
266
+ },
267
+ "mailgunConfig": {
268
+ "type": "object",
269
+ "properties": {},
270
+ "additionalProperties": false
259
271
  }
260
272
  },
261
273
  "additionalProperties": false,