losant_rest 1.15.2 → 1.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +7912 -2208
  3. data/docs/application.md +3 -4
  4. data/docs/applicationDashboard.md +43 -0
  5. data/docs/applications.md +3 -2
  6. data/docs/flows.md +38 -0
  7. data/docs/instanceCustomNode.md +222 -0
  8. data/docs/instanceCustomNodes.md +91 -0
  9. data/docs/instanceSandbox.md +135 -0
  10. data/docs/instanceSandboxes.md +53 -0
  11. data/lib/losant_rest/application_dashboard.rb +49 -0
  12. data/lib/losant_rest/client.rb +18 -2
  13. data/lib/losant_rest/flows.rb +44 -0
  14. data/lib/losant_rest/instance_custom_node.rb +282 -0
  15. data/lib/losant_rest/instance_custom_nodes.rb +136 -0
  16. data/lib/losant_rest/instance_sandbox.rb +181 -0
  17. data/lib/losant_rest/instance_sandboxes.rb +94 -0
  18. data/lib/losant_rest/version.rb +1 -1
  19. data/lib/losant_rest.rb +4 -0
  20. data/schemas/apiTokenPost.json +18 -1
  21. data/schemas/application.json +1 -1
  22. data/schemas/applicationApplyTemplatePatch.json +5 -0
  23. data/schemas/applicationClonePost.json +5 -0
  24. data/schemas/applicationCreationByTemplateResult.json +1 -1
  25. data/schemas/applicationDashboardPost.json +165 -3
  26. data/schemas/applicationExportPost.json +5 -0
  27. data/schemas/applicationImportOptions.json +43 -0
  28. data/schemas/applicationPatch.json +1 -1
  29. data/schemas/applicationPost.json +1 -1
  30. data/schemas/applicationSearchResult.json +2 -1
  31. data/schemas/applicationTemplateCategories.json +11 -0
  32. data/schemas/applicationTemplateCategory.json +11 -0
  33. data/schemas/applications.json +1 -1
  34. data/schemas/dashboard.json +165 -3
  35. data/schemas/dashboardPatch.json +165 -3
  36. data/schemas/dashboardPost.json +165 -3
  37. data/schemas/dashboardSendReport.json +23 -3
  38. data/schemas/dashboards.json +165 -3
  39. data/schemas/dataExport.json +1 -0
  40. data/schemas/devicesDeletePost.json +5 -0
  41. data/schemas/devicesExportPayloadCountPost.json +1 -0
  42. data/schemas/devicesExportPost.json +1 -0
  43. data/schemas/devicesPatch.json +5 -0
  44. data/schemas/embeddedDeploymentExport.json +5 -0
  45. data/schemas/eventsExport.json +1 -0
  46. data/schemas/experienceBootstrapOptions.json +1 -1
  47. data/schemas/experienceLinkedResources.json +20 -5
  48. data/schemas/experienceSlug.json +1 -1
  49. data/schemas/experienceSlugPatch.json +1 -1
  50. data/schemas/experienceSlugPost.json +1 -1
  51. data/schemas/experienceSlugs.json +1 -1
  52. data/schemas/experienceUser.json +2 -1
  53. data/schemas/experienceUsers.json +2 -1
  54. data/schemas/flow.json +18 -0
  55. data/schemas/flowPatch.json +19 -0
  56. data/schemas/flowPost.json +19 -0
  57. data/schemas/flowVersion.json +2 -5
  58. data/schemas/flowVersionPost.json +1 -0
  59. data/schemas/flowVersions.json +2 -5
  60. data/schemas/flowVersionsDeletePost.json +5 -0
  61. data/schemas/flows.json +18 -0
  62. data/schemas/flowsImportPost.json +29 -2
  63. data/schemas/flowsImportResult.json +20 -5
  64. data/schemas/githubLogin.json +18 -1
  65. data/schemas/importIntoApplicationOptions.json +52 -0
  66. data/schemas/importNewApplicationOptions.json +44 -0
  67. data/schemas/instance.json +1 -0
  68. data/schemas/instanceCustomNode.json +589 -0
  69. data/schemas/instanceCustomNodePatch.json +674 -0
  70. data/schemas/instanceCustomNodePost.json +679 -0
  71. data/schemas/instanceCustomNodes.json +634 -0
  72. data/schemas/instanceMember.json +2 -1
  73. data/schemas/instanceMembers.json +2 -1
  74. data/schemas/instanceOrg.json +38 -0
  75. data/schemas/instanceOrgMember.json +2 -1
  76. data/schemas/instanceOrgPatch.json +29 -0
  77. data/schemas/instanceOrgPost.json +29 -0
  78. data/schemas/instanceOrgs.json +38 -0
  79. data/schemas/instancePatch.json +1 -0
  80. data/schemas/instanceReportOptionsPost.json +1 -0
  81. data/schemas/instanceSandbox.json +423 -0
  82. data/schemas/instanceSandboxes.json +48 -0
  83. data/schemas/integration.json +29 -1
  84. data/schemas/integrationPatch.json +29 -1
  85. data/schemas/integrationPost.json +29 -1
  86. data/schemas/integrations.json +29 -1
  87. data/schemas/me.json +2 -1
  88. data/schemas/notebookDataExportOptions.json +5 -0
  89. data/schemas/org.json +19 -1
  90. data/schemas/orgs.json +19 -1
  91. data/schemas/paletteResponse.json +785 -0
  92. data/schemas/userCredentials.json +18 -1
  93. data/schemas/userPost.json +18 -1
  94. metadata +20 -2
@@ -30,6 +30,7 @@
30
30
  "integrationType": {
31
31
  "type": "string",
32
32
  "enum": [
33
+ "azureEventHub",
33
34
  "googlePubSub",
34
35
  "meridian",
35
36
  "mqtt",
@@ -45,7 +46,34 @@
45
46
  "type": "string",
46
47
  "minLength": 1,
47
48
  "maxLength": 1024
48
- }
49
+ },
50
+ "uniqueItems": true
51
+ },
52
+ "azureEventHubConfig": {
53
+ "type": "object",
54
+ "properties": {
55
+ "hubName": {
56
+ "type": "string",
57
+ "maxLength": 256,
58
+ "minLength": 1
59
+ },
60
+ "consumerGroup": {
61
+ "type": "string",
62
+ "maxLength": 256,
63
+ "minLength": 1
64
+ },
65
+ "connectionString": {
66
+ "type": "string",
67
+ "minLength": 1,
68
+ "maxLength": 1024
69
+ }
70
+ },
71
+ "additionalProperties": false,
72
+ "required": [
73
+ "hubName",
74
+ "consumerGroup",
75
+ "connectionString"
76
+ ]
49
77
  },
50
78
  "googlePubSubConfig": {
51
79
  "type": "object",
@@ -10,6 +10,7 @@
10
10
  "integrationType": {
11
11
  "type": "string",
12
12
  "enum": [
13
+ "azureEventHub",
13
14
  "googlePubSub",
14
15
  "meridian",
15
16
  "mqtt",
@@ -25,7 +26,34 @@
25
26
  "type": "string",
26
27
  "minLength": 1,
27
28
  "maxLength": 1024
28
- }
29
+ },
30
+ "uniqueItems": true
31
+ },
32
+ "azureEventHubConfig": {
33
+ "type": "object",
34
+ "properties": {
35
+ "hubName": {
36
+ "type": "string",
37
+ "maxLength": 256,
38
+ "minLength": 1
39
+ },
40
+ "consumerGroup": {
41
+ "type": "string",
42
+ "maxLength": 256,
43
+ "minLength": 1
44
+ },
45
+ "connectionString": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 1024
49
+ }
50
+ },
51
+ "additionalProperties": false,
52
+ "required": [
53
+ "hubName",
54
+ "consumerGroup",
55
+ "connectionString"
56
+ ]
29
57
  },
30
58
  "googlePubSubConfig": {
31
59
  "type": "object",
@@ -10,6 +10,7 @@
10
10
  "integrationType": {
11
11
  "type": "string",
12
12
  "enum": [
13
+ "azureEventHub",
13
14
  "googlePubSub",
14
15
  "meridian",
15
16
  "mqtt",
@@ -25,7 +26,34 @@
25
26
  "type": "string",
26
27
  "minLength": 1,
27
28
  "maxLength": 1024
28
- }
29
+ },
30
+ "uniqueItems": true
31
+ },
32
+ "azureEventHubConfig": {
33
+ "type": "object",
34
+ "properties": {
35
+ "hubName": {
36
+ "type": "string",
37
+ "maxLength": 256,
38
+ "minLength": 1
39
+ },
40
+ "consumerGroup": {
41
+ "type": "string",
42
+ "maxLength": 256,
43
+ "minLength": 1
44
+ },
45
+ "connectionString": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 1024
49
+ }
50
+ },
51
+ "additionalProperties": false,
52
+ "required": [
53
+ "hubName",
54
+ "consumerGroup",
55
+ "connectionString"
56
+ ]
29
57
  },
30
58
  "googlePubSubConfig": {
31
59
  "type": "object",
@@ -37,6 +37,7 @@
37
37
  "integrationType": {
38
38
  "type": "string",
39
39
  "enum": [
40
+ "azureEventHub",
40
41
  "googlePubSub",
41
42
  "meridian",
42
43
  "mqtt",
@@ -52,7 +53,34 @@
52
53
  "type": "string",
53
54
  "minLength": 1,
54
55
  "maxLength": 1024
55
- }
56
+ },
57
+ "uniqueItems": true
58
+ },
59
+ "azureEventHubConfig": {
60
+ "type": "object",
61
+ "properties": {
62
+ "hubName": {
63
+ "type": "string",
64
+ "maxLength": 256,
65
+ "minLength": 1
66
+ },
67
+ "consumerGroup": {
68
+ "type": "string",
69
+ "maxLength": 256,
70
+ "minLength": 1
71
+ },
72
+ "connectionString": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "maxLength": 1024
76
+ }
77
+ },
78
+ "additionalProperties": false,
79
+ "required": [
80
+ "hubName",
81
+ "consumerGroup",
82
+ "connectionString"
83
+ ]
56
84
  },
57
85
  "googlePubSubConfig": {
58
86
  "type": "object",
data/schemas/me.json CHANGED
@@ -77,7 +77,8 @@
77
77
  },
78
78
  "avatarUrl": {
79
79
  "type": "string",
80
- "format": "url"
80
+ "format": "uri",
81
+ "maxLength": 1024
81
82
  },
82
83
  "limits": {
83
84
  "type": "object",
@@ -32,6 +32,11 @@
32
32
  "templateContext": {
33
33
  "type": "string",
34
34
  "maxLength": 32767
35
+ },
36
+ "callbackUrl": {
37
+ "type": "string",
38
+ "format": "uri",
39
+ "maxLength": 1024
35
40
  }
36
41
  },
37
42
  "additionalProperties": false
data/schemas/org.json CHANGED
@@ -52,7 +52,8 @@
52
52
  },
53
53
  "avatarUrl": {
54
54
  "type": "string",
55
- "format": "url"
55
+ "format": "uri",
56
+ "maxLength": 1024
56
57
  },
57
58
  "role": {
58
59
  "type": "string",
@@ -459,6 +460,23 @@
459
460
  "maxLength": 45,
460
461
  "minLength": 3
461
462
  }
463
+ },
464
+ "disabledAt": {
465
+ "oneOf": [
466
+ {
467
+ "type": "boolean",
468
+ "enum": [
469
+ false
470
+ ]
471
+ },
472
+ {
473
+ "type": "string",
474
+ "format": "date-time"
475
+ }
476
+ ]
477
+ },
478
+ "isReadOnly": {
479
+ "type": "boolean"
462
480
  }
463
481
  }
464
482
  }
data/schemas/orgs.json CHANGED
@@ -59,7 +59,8 @@
59
59
  },
60
60
  "avatarUrl": {
61
61
  "type": "string",
62
- "format": "url"
62
+ "format": "uri",
63
+ "maxLength": 1024
63
64
  },
64
65
  "role": {
65
66
  "type": "string",
@@ -466,6 +467,23 @@
466
467
  "maxLength": 45,
467
468
  "minLength": 3
468
469
  }
470
+ },
471
+ "disabledAt": {
472
+ "oneOf": [
473
+ {
474
+ "type": "boolean",
475
+ "enum": [
476
+ false
477
+ ]
478
+ },
479
+ {
480
+ "type": "string",
481
+ "format": "date-time"
482
+ }
483
+ ]
484
+ },
485
+ "isReadOnly": {
486
+ "type": "boolean"
469
487
  }
470
488
  }
471
489
  }