losant_rest 1.19.6 → 1.19.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) 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 +7742 -2728
  5. data/docs/devices.md +0 -1
  6. data/docs/experienceUsers.md +1 -0
  7. data/docs/instanceOrgs.md +1 -0
  8. data/lib/platform_rest/client.rb +2 -2
  9. data/lib/platform_rest/devices.rb +0 -1
  10. data/lib/platform_rest/experience_users.rb +3 -0
  11. data/lib/platform_rest/instance_orgs.rb +3 -0
  12. data/lib/platform_rest/version.rb +1 -1
  13. data/schemas/advancedExperienceUserQuery.json +1068 -0
  14. data/schemas/advancedInstanceOrgQuery.json +1171 -0
  15. data/schemas/applicationDashboardPost.json +7 -0
  16. data/schemas/credential.json +52 -1
  17. data/schemas/credentialLinkedResources.json +345 -24
  18. data/schemas/credentialPatch.json +62 -0
  19. data/schemas/credentialPost.json +74 -1
  20. data/schemas/credentials.json +52 -1
  21. data/schemas/dashboard.json +7 -0
  22. data/schemas/dashboardPatch.json +7 -0
  23. data/schemas/dashboardPost.json +7 -0
  24. data/schemas/dashboards.json +7 -0
  25. data/schemas/devicesExportPost.json +8 -0
  26. data/schemas/devicesRemoveDataPost.json +10 -0
  27. data/schemas/experienceLinkedResources.json +356 -24
  28. data/schemas/experienceVersion.json +64 -0
  29. data/schemas/experienceVersionPatch.json +64 -0
  30. data/schemas/experienceVersionPost.json +64 -0
  31. data/schemas/experienceVersions.json +64 -0
  32. data/schemas/experienceView.json +11 -0
  33. data/schemas/experienceViewPatch.json +11 -0
  34. data/schemas/experienceViewPost.json +11 -0
  35. data/schemas/experienceViews.json +11 -0
  36. data/schemas/flow.json +115 -8
  37. data/schemas/flowPatch.json +115 -8
  38. data/schemas/flowPost.json +115 -8
  39. data/schemas/flowVersion.json +230 -16
  40. data/schemas/flowVersionPost.json +115 -8
  41. data/schemas/flowVersions.json +230 -16
  42. data/schemas/flows.json +115 -8
  43. data/schemas/flowsImportPost.json +230 -16
  44. data/schemas/flowsImportResult.json +345 -24
  45. data/schemas/instanceCustomNode.json +2 -1
  46. data/schemas/instanceCustomNodePatch.json +3 -9
  47. data/schemas/instanceCustomNodePost.json +3 -9
  48. data/schemas/instanceCustomNodes.json +2 -1
  49. data/schemas/notebook.json +8 -0
  50. data/schemas/notebookPatch.json +8 -0
  51. data/schemas/notebookPost.json +8 -0
  52. data/schemas/notebooks.json +8 -0
  53. data/schemas/resourceJob.json +2 -1
  54. data/schemas/resourceJobExecutionLogs.json +2 -1
  55. data/schemas/resourceJobPost.json +2 -1
  56. data/schemas/resourceJobs.json +2 -1
  57. metadata +5 -3
  58. data/.travis.yml +0 -7
@@ -65,7 +65,6 @@
65
65
  "deviceTagConnect",
66
66
  "deviceIdDisconnect",
67
67
  "deviceTagDisconnect",
68
- "integration",
69
68
  "notebook",
70
69
  "onBoot",
71
70
  "onConnect",
@@ -99,21 +98,15 @@
99
98
  "deviceIdsTagsDisconnect",
100
99
  "eeaInit",
101
100
  "flowError",
102
- "azureEventHub",
103
- "googlePubSub",
104
- "mqtt",
105
101
  "notebook",
106
102
  "onBoot",
107
103
  "onConnect",
108
104
  "onDisconnect",
109
- "particle",
110
- "sqs",
111
105
  "udp",
112
106
  "webhook",
113
107
  "resourceJobIteration",
114
108
  "resourceJobIterationTimeout",
115
- "resourceJobComplete",
116
- "websocket"
109
+ "resourceJobComplete"
117
110
  ]
118
111
  },
119
112
  "label": {
@@ -284,6 +277,120 @@
284
277
  ],
285
278
  "additionalProperties": false
286
279
  },
280
+ {
281
+ "type": "object",
282
+ "properties": {
283
+ "key": {
284
+ "type": "string",
285
+ "maxLength": 1024
286
+ },
287
+ "type": {
288
+ "type": "string",
289
+ "enum": [
290
+ "integration"
291
+ ]
292
+ },
293
+ "config": {
294
+ "type": "object",
295
+ "properties": {
296
+ "connect": {
297
+ "type": "boolean"
298
+ },
299
+ "message": {
300
+ "type": "boolean"
301
+ },
302
+ "disconnect": {
303
+ "type": "boolean"
304
+ },
305
+ "failure": {
306
+ "type": "boolean"
307
+ }
308
+ },
309
+ "additionalProperties": false
310
+ },
311
+ "meta": {
312
+ "type": "object",
313
+ "properties": {
314
+ "category": {
315
+ "type": "string",
316
+ "enum": [
317
+ "trigger"
318
+ ]
319
+ },
320
+ "name": {
321
+ "type": "string",
322
+ "enum": [
323
+ "azureEventHub",
324
+ "googlePubSub",
325
+ "mqtt",
326
+ "particle",
327
+ "sqs",
328
+ "websocket"
329
+ ]
330
+ },
331
+ "label": {
332
+ "type": "string",
333
+ "minLength": 1,
334
+ "maxLength": 255
335
+ },
336
+ "x": {
337
+ "type": "number"
338
+ },
339
+ "y": {
340
+ "type": "number"
341
+ },
342
+ "uiId": {
343
+ "type": "string",
344
+ "maxLength": 48
345
+ },
346
+ "description": {
347
+ "type": "string",
348
+ "maxLength": 32767
349
+ },
350
+ "icon": {
351
+ "type": "string",
352
+ "maxLength": 1024
353
+ },
354
+ "color": {
355
+ "type": "string",
356
+ "maxLength": 1024
357
+ },
358
+ "inputCount": {
359
+ "type": "number"
360
+ },
361
+ "outputCount": {
362
+ "type": "number"
363
+ },
364
+ "triggerId": {
365
+ "type": "string",
366
+ "maxLength": 48
367
+ },
368
+ "id": {
369
+ "type": "string",
370
+ "maxLength": 48
371
+ }
372
+ },
373
+ "additionalProperties": false
374
+ },
375
+ "outputIds": {
376
+ "type": "array",
377
+ "items": {
378
+ "type": "array",
379
+ "items": {
380
+ "type": "string",
381
+ "maxLength": 48,
382
+ "minLength": 1
383
+ },
384
+ "maxItems": 100
385
+ },
386
+ "maxItems": 100
387
+ }
388
+ },
389
+ "required": [
390
+ "type"
391
+ ],
392
+ "additionalProperties": false
393
+ },
287
394
  {
288
395
  "type": "object",
289
396
  "properties": {
@@ -94,7 +94,6 @@
94
94
  "deviceTagConnect",
95
95
  "deviceIdDisconnect",
96
96
  "deviceTagDisconnect",
97
- "integration",
98
97
  "notebook",
99
98
  "onBoot",
100
99
  "onConnect",
@@ -128,21 +127,15 @@
128
127
  "deviceIdsTagsDisconnect",
129
128
  "eeaInit",
130
129
  "flowError",
131
- "azureEventHub",
132
- "googlePubSub",
133
- "mqtt",
134
130
  "notebook",
135
131
  "onBoot",
136
132
  "onConnect",
137
133
  "onDisconnect",
138
- "particle",
139
- "sqs",
140
134
  "udp",
141
135
  "webhook",
142
136
  "resourceJobIteration",
143
137
  "resourceJobIterationTimeout",
144
- "resourceJobComplete",
145
- "websocket"
138
+ "resourceJobComplete"
146
139
  ]
147
140
  },
148
141
  "label": {
@@ -313,6 +306,120 @@
313
306
  ],
314
307
  "additionalProperties": false
315
308
  },
309
+ {
310
+ "type": "object",
311
+ "properties": {
312
+ "key": {
313
+ "type": "string",
314
+ "maxLength": 1024
315
+ },
316
+ "type": {
317
+ "type": "string",
318
+ "enum": [
319
+ "integration"
320
+ ]
321
+ },
322
+ "config": {
323
+ "type": "object",
324
+ "properties": {
325
+ "connect": {
326
+ "type": "boolean"
327
+ },
328
+ "message": {
329
+ "type": "boolean"
330
+ },
331
+ "disconnect": {
332
+ "type": "boolean"
333
+ },
334
+ "failure": {
335
+ "type": "boolean"
336
+ }
337
+ },
338
+ "additionalProperties": false
339
+ },
340
+ "meta": {
341
+ "type": "object",
342
+ "properties": {
343
+ "category": {
344
+ "type": "string",
345
+ "enum": [
346
+ "trigger"
347
+ ]
348
+ },
349
+ "name": {
350
+ "type": "string",
351
+ "enum": [
352
+ "azureEventHub",
353
+ "googlePubSub",
354
+ "mqtt",
355
+ "particle",
356
+ "sqs",
357
+ "websocket"
358
+ ]
359
+ },
360
+ "label": {
361
+ "type": "string",
362
+ "minLength": 1,
363
+ "maxLength": 255
364
+ },
365
+ "x": {
366
+ "type": "number"
367
+ },
368
+ "y": {
369
+ "type": "number"
370
+ },
371
+ "uiId": {
372
+ "type": "string",
373
+ "maxLength": 48
374
+ },
375
+ "description": {
376
+ "type": "string",
377
+ "maxLength": 32767
378
+ },
379
+ "icon": {
380
+ "type": "string",
381
+ "maxLength": 1024
382
+ },
383
+ "color": {
384
+ "type": "string",
385
+ "maxLength": 1024
386
+ },
387
+ "inputCount": {
388
+ "type": "number"
389
+ },
390
+ "outputCount": {
391
+ "type": "number"
392
+ },
393
+ "triggerId": {
394
+ "type": "string",
395
+ "maxLength": 48
396
+ },
397
+ "id": {
398
+ "type": "string",
399
+ "maxLength": 48
400
+ }
401
+ },
402
+ "additionalProperties": false
403
+ },
404
+ "outputIds": {
405
+ "type": "array",
406
+ "items": {
407
+ "type": "array",
408
+ "items": {
409
+ "type": "string",
410
+ "maxLength": 48,
411
+ "minLength": 1
412
+ },
413
+ "maxItems": 100
414
+ },
415
+ "maxItems": 100
416
+ }
417
+ },
418
+ "required": [
419
+ "type"
420
+ ],
421
+ "additionalProperties": false
422
+ },
316
423
  {
317
424
  "type": "object",
318
425
  "properties": {
@@ -2779,7 +2886,6 @@
2779
2886
  "deviceTagConnect",
2780
2887
  "deviceIdDisconnect",
2781
2888
  "deviceTagDisconnect",
2782
- "integration",
2783
2889
  "notebook",
2784
2890
  "onBoot",
2785
2891
  "onConnect",
@@ -2813,21 +2919,15 @@
2813
2919
  "deviceIdsTagsDisconnect",
2814
2920
  "eeaInit",
2815
2921
  "flowError",
2816
- "azureEventHub",
2817
- "googlePubSub",
2818
- "mqtt",
2819
2922
  "notebook",
2820
2923
  "onBoot",
2821
2924
  "onConnect",
2822
2925
  "onDisconnect",
2823
- "particle",
2824
- "sqs",
2825
2926
  "udp",
2826
2927
  "webhook",
2827
2928
  "resourceJobIteration",
2828
2929
  "resourceJobIterationTimeout",
2829
- "resourceJobComplete",
2830
- "websocket"
2930
+ "resourceJobComplete"
2831
2931
  ]
2832
2932
  },
2833
2933
  "label": {
@@ -2998,6 +3098,120 @@
2998
3098
  ],
2999
3099
  "additionalProperties": false
3000
3100
  },
3101
+ {
3102
+ "type": "object",
3103
+ "properties": {
3104
+ "key": {
3105
+ "type": "string",
3106
+ "maxLength": 1024
3107
+ },
3108
+ "type": {
3109
+ "type": "string",
3110
+ "enum": [
3111
+ "integration"
3112
+ ]
3113
+ },
3114
+ "config": {
3115
+ "type": "object",
3116
+ "properties": {
3117
+ "connect": {
3118
+ "type": "boolean"
3119
+ },
3120
+ "message": {
3121
+ "type": "boolean"
3122
+ },
3123
+ "disconnect": {
3124
+ "type": "boolean"
3125
+ },
3126
+ "failure": {
3127
+ "type": "boolean"
3128
+ }
3129
+ },
3130
+ "additionalProperties": false
3131
+ },
3132
+ "meta": {
3133
+ "type": "object",
3134
+ "properties": {
3135
+ "category": {
3136
+ "type": "string",
3137
+ "enum": [
3138
+ "trigger"
3139
+ ]
3140
+ },
3141
+ "name": {
3142
+ "type": "string",
3143
+ "enum": [
3144
+ "azureEventHub",
3145
+ "googlePubSub",
3146
+ "mqtt",
3147
+ "particle",
3148
+ "sqs",
3149
+ "websocket"
3150
+ ]
3151
+ },
3152
+ "label": {
3153
+ "type": "string",
3154
+ "minLength": 1,
3155
+ "maxLength": 255
3156
+ },
3157
+ "x": {
3158
+ "type": "number"
3159
+ },
3160
+ "y": {
3161
+ "type": "number"
3162
+ },
3163
+ "uiId": {
3164
+ "type": "string",
3165
+ "maxLength": 48
3166
+ },
3167
+ "description": {
3168
+ "type": "string",
3169
+ "maxLength": 32767
3170
+ },
3171
+ "icon": {
3172
+ "type": "string",
3173
+ "maxLength": 1024
3174
+ },
3175
+ "color": {
3176
+ "type": "string",
3177
+ "maxLength": 1024
3178
+ },
3179
+ "inputCount": {
3180
+ "type": "number"
3181
+ },
3182
+ "outputCount": {
3183
+ "type": "number"
3184
+ },
3185
+ "triggerId": {
3186
+ "type": "string",
3187
+ "maxLength": 48
3188
+ },
3189
+ "id": {
3190
+ "type": "string",
3191
+ "maxLength": 48
3192
+ }
3193
+ },
3194
+ "additionalProperties": false
3195
+ },
3196
+ "outputIds": {
3197
+ "type": "array",
3198
+ "items": {
3199
+ "type": "array",
3200
+ "items": {
3201
+ "type": "string",
3202
+ "maxLength": 48,
3203
+ "minLength": 1
3204
+ },
3205
+ "maxItems": 100
3206
+ },
3207
+ "maxItems": 100
3208
+ }
3209
+ },
3210
+ "required": [
3211
+ "type"
3212
+ ],
3213
+ "additionalProperties": false
3214
+ },
3001
3215
  {
3002
3216
  "type": "object",
3003
3217
  "properties": {
@@ -34,7 +34,6 @@
34
34
  "deviceTagConnect",
35
35
  "deviceIdDisconnect",
36
36
  "deviceTagDisconnect",
37
- "integration",
38
37
  "notebook",
39
38
  "onBoot",
40
39
  "onConnect",
@@ -68,21 +67,15 @@
68
67
  "deviceIdsTagsDisconnect",
69
68
  "eeaInit",
70
69
  "flowError",
71
- "azureEventHub",
72
- "googlePubSub",
73
- "mqtt",
74
70
  "notebook",
75
71
  "onBoot",
76
72
  "onConnect",
77
73
  "onDisconnect",
78
- "particle",
79
- "sqs",
80
74
  "udp",
81
75
  "webhook",
82
76
  "resourceJobIteration",
83
77
  "resourceJobIterationTimeout",
84
- "resourceJobComplete",
85
- "websocket"
78
+ "resourceJobComplete"
86
79
  ]
87
80
  },
88
81
  "label": {
@@ -253,6 +246,120 @@
253
246
  ],
254
247
  "additionalProperties": false
255
248
  },
249
+ {
250
+ "type": "object",
251
+ "properties": {
252
+ "key": {
253
+ "type": "string",
254
+ "maxLength": 1024
255
+ },
256
+ "type": {
257
+ "type": "string",
258
+ "enum": [
259
+ "integration"
260
+ ]
261
+ },
262
+ "config": {
263
+ "type": "object",
264
+ "properties": {
265
+ "connect": {
266
+ "type": "boolean"
267
+ },
268
+ "message": {
269
+ "type": "boolean"
270
+ },
271
+ "disconnect": {
272
+ "type": "boolean"
273
+ },
274
+ "failure": {
275
+ "type": "boolean"
276
+ }
277
+ },
278
+ "additionalProperties": false
279
+ },
280
+ "meta": {
281
+ "type": "object",
282
+ "properties": {
283
+ "category": {
284
+ "type": "string",
285
+ "enum": [
286
+ "trigger"
287
+ ]
288
+ },
289
+ "name": {
290
+ "type": "string",
291
+ "enum": [
292
+ "azureEventHub",
293
+ "googlePubSub",
294
+ "mqtt",
295
+ "particle",
296
+ "sqs",
297
+ "websocket"
298
+ ]
299
+ },
300
+ "label": {
301
+ "type": "string",
302
+ "minLength": 1,
303
+ "maxLength": 255
304
+ },
305
+ "x": {
306
+ "type": "number"
307
+ },
308
+ "y": {
309
+ "type": "number"
310
+ },
311
+ "uiId": {
312
+ "type": "string",
313
+ "maxLength": 48
314
+ },
315
+ "description": {
316
+ "type": "string",
317
+ "maxLength": 32767
318
+ },
319
+ "icon": {
320
+ "type": "string",
321
+ "maxLength": 1024
322
+ },
323
+ "color": {
324
+ "type": "string",
325
+ "maxLength": 1024
326
+ },
327
+ "inputCount": {
328
+ "type": "number"
329
+ },
330
+ "outputCount": {
331
+ "type": "number"
332
+ },
333
+ "triggerId": {
334
+ "type": "string",
335
+ "maxLength": 48
336
+ },
337
+ "id": {
338
+ "type": "string",
339
+ "maxLength": 48
340
+ }
341
+ },
342
+ "additionalProperties": false
343
+ },
344
+ "outputIds": {
345
+ "type": "array",
346
+ "items": {
347
+ "type": "array",
348
+ "items": {
349
+ "type": "string",
350
+ "maxLength": 48,
351
+ "minLength": 1
352
+ },
353
+ "maxItems": 100
354
+ },
355
+ "maxItems": 100
356
+ }
357
+ },
358
+ "required": [
359
+ "type"
360
+ ],
361
+ "additionalProperties": false
362
+ },
256
363
  {
257
364
  "type": "object",
258
365
  "properties": {