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
@@ -79,7 +79,6 @@
79
79
  "deviceTagConnect",
80
80
  "deviceIdDisconnect",
81
81
  "deviceTagDisconnect",
82
- "integration",
83
82
  "notebook",
84
83
  "onBoot",
85
84
  "onConnect",
@@ -113,21 +112,15 @@
113
112
  "deviceIdsTagsDisconnect",
114
113
  "eeaInit",
115
114
  "flowError",
116
- "azureEventHub",
117
- "googlePubSub",
118
- "mqtt",
119
115
  "notebook",
120
116
  "onBoot",
121
117
  "onConnect",
122
118
  "onDisconnect",
123
- "particle",
124
- "sqs",
125
119
  "udp",
126
120
  "webhook",
127
121
  "resourceJobIteration",
128
122
  "resourceJobIterationTimeout",
129
- "resourceJobComplete",
130
- "websocket"
123
+ "resourceJobComplete"
131
124
  ]
132
125
  },
133
126
  "label": {
@@ -298,6 +291,120 @@
298
291
  ],
299
292
  "additionalProperties": false
300
293
  },
294
+ {
295
+ "type": "object",
296
+ "properties": {
297
+ "key": {
298
+ "type": "string",
299
+ "maxLength": 1024
300
+ },
301
+ "type": {
302
+ "type": "string",
303
+ "enum": [
304
+ "integration"
305
+ ]
306
+ },
307
+ "config": {
308
+ "type": "object",
309
+ "properties": {
310
+ "connect": {
311
+ "type": "boolean"
312
+ },
313
+ "message": {
314
+ "type": "boolean"
315
+ },
316
+ "disconnect": {
317
+ "type": "boolean"
318
+ },
319
+ "failure": {
320
+ "type": "boolean"
321
+ }
322
+ },
323
+ "additionalProperties": false
324
+ },
325
+ "meta": {
326
+ "type": "object",
327
+ "properties": {
328
+ "category": {
329
+ "type": "string",
330
+ "enum": [
331
+ "trigger"
332
+ ]
333
+ },
334
+ "name": {
335
+ "type": "string",
336
+ "enum": [
337
+ "azureEventHub",
338
+ "googlePubSub",
339
+ "mqtt",
340
+ "particle",
341
+ "sqs",
342
+ "websocket"
343
+ ]
344
+ },
345
+ "label": {
346
+ "type": "string",
347
+ "minLength": 1,
348
+ "maxLength": 255
349
+ },
350
+ "x": {
351
+ "type": "number"
352
+ },
353
+ "y": {
354
+ "type": "number"
355
+ },
356
+ "uiId": {
357
+ "type": "string",
358
+ "maxLength": 48
359
+ },
360
+ "description": {
361
+ "type": "string",
362
+ "maxLength": 32767
363
+ },
364
+ "icon": {
365
+ "type": "string",
366
+ "maxLength": 1024
367
+ },
368
+ "color": {
369
+ "type": "string",
370
+ "maxLength": 1024
371
+ },
372
+ "inputCount": {
373
+ "type": "number"
374
+ },
375
+ "outputCount": {
376
+ "type": "number"
377
+ },
378
+ "triggerId": {
379
+ "type": "string",
380
+ "maxLength": 48
381
+ },
382
+ "id": {
383
+ "type": "string",
384
+ "maxLength": 48
385
+ }
386
+ },
387
+ "additionalProperties": false
388
+ },
389
+ "outputIds": {
390
+ "type": "array",
391
+ "items": {
392
+ "type": "array",
393
+ "items": {
394
+ "type": "string",
395
+ "maxLength": 48,
396
+ "minLength": 1
397
+ },
398
+ "maxItems": 100
399
+ },
400
+ "maxItems": 100
401
+ }
402
+ },
403
+ "required": [
404
+ "type"
405
+ ],
406
+ "additionalProperties": false
407
+ },
301
408
  {
302
409
  "type": "object",
303
410
  "properties": {
@@ -2753,7 +2860,6 @@
2753
2860
  "deviceTagConnect",
2754
2861
  "deviceIdDisconnect",
2755
2862
  "deviceTagDisconnect",
2756
- "integration",
2757
2863
  "notebook",
2758
2864
  "onBoot",
2759
2865
  "onConnect",
@@ -2787,21 +2893,15 @@
2787
2893
  "deviceIdsTagsDisconnect",
2788
2894
  "eeaInit",
2789
2895
  "flowError",
2790
- "azureEventHub",
2791
- "googlePubSub",
2792
- "mqtt",
2793
2896
  "notebook",
2794
2897
  "onBoot",
2795
2898
  "onConnect",
2796
2899
  "onDisconnect",
2797
- "particle",
2798
- "sqs",
2799
2900
  "udp",
2800
2901
  "webhook",
2801
2902
  "resourceJobIteration",
2802
2903
  "resourceJobIterationTimeout",
2803
- "resourceJobComplete",
2804
- "websocket"
2904
+ "resourceJobComplete"
2805
2905
  ]
2806
2906
  },
2807
2907
  "label": {
@@ -2972,6 +3072,120 @@
2972
3072
  ],
2973
3073
  "additionalProperties": false
2974
3074
  },
3075
+ {
3076
+ "type": "object",
3077
+ "properties": {
3078
+ "key": {
3079
+ "type": "string",
3080
+ "maxLength": 1024
3081
+ },
3082
+ "type": {
3083
+ "type": "string",
3084
+ "enum": [
3085
+ "integration"
3086
+ ]
3087
+ },
3088
+ "config": {
3089
+ "type": "object",
3090
+ "properties": {
3091
+ "connect": {
3092
+ "type": "boolean"
3093
+ },
3094
+ "message": {
3095
+ "type": "boolean"
3096
+ },
3097
+ "disconnect": {
3098
+ "type": "boolean"
3099
+ },
3100
+ "failure": {
3101
+ "type": "boolean"
3102
+ }
3103
+ },
3104
+ "additionalProperties": false
3105
+ },
3106
+ "meta": {
3107
+ "type": "object",
3108
+ "properties": {
3109
+ "category": {
3110
+ "type": "string",
3111
+ "enum": [
3112
+ "trigger"
3113
+ ]
3114
+ },
3115
+ "name": {
3116
+ "type": "string",
3117
+ "enum": [
3118
+ "azureEventHub",
3119
+ "googlePubSub",
3120
+ "mqtt",
3121
+ "particle",
3122
+ "sqs",
3123
+ "websocket"
3124
+ ]
3125
+ },
3126
+ "label": {
3127
+ "type": "string",
3128
+ "minLength": 1,
3129
+ "maxLength": 255
3130
+ },
3131
+ "x": {
3132
+ "type": "number"
3133
+ },
3134
+ "y": {
3135
+ "type": "number"
3136
+ },
3137
+ "uiId": {
3138
+ "type": "string",
3139
+ "maxLength": 48
3140
+ },
3141
+ "description": {
3142
+ "type": "string",
3143
+ "maxLength": 32767
3144
+ },
3145
+ "icon": {
3146
+ "type": "string",
3147
+ "maxLength": 1024
3148
+ },
3149
+ "color": {
3150
+ "type": "string",
3151
+ "maxLength": 1024
3152
+ },
3153
+ "inputCount": {
3154
+ "type": "number"
3155
+ },
3156
+ "outputCount": {
3157
+ "type": "number"
3158
+ },
3159
+ "triggerId": {
3160
+ "type": "string",
3161
+ "maxLength": 48
3162
+ },
3163
+ "id": {
3164
+ "type": "string",
3165
+ "maxLength": 48
3166
+ }
3167
+ },
3168
+ "additionalProperties": false
3169
+ },
3170
+ "outputIds": {
3171
+ "type": "array",
3172
+ "items": {
3173
+ "type": "array",
3174
+ "items": {
3175
+ "type": "string",
3176
+ "maxLength": 48,
3177
+ "minLength": 1
3178
+ },
3179
+ "maxItems": 100
3180
+ },
3181
+ "maxItems": 100
3182
+ }
3183
+ },
3184
+ "required": [
3185
+ "type"
3186
+ ],
3187
+ "additionalProperties": false
3188
+ },
2975
3189
  {
2976
3190
  "type": "object",
2977
3191
  "properties": {