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
@@ -60,6 +60,108 @@
60
60
  "type": "array",
61
61
  "items": {
62
62
  "oneOf": [
63
+ {
64
+ "type": "object",
65
+ "properties": {
66
+ "key": {
67
+ "type": "string",
68
+ "maxLength": 1024
69
+ },
70
+ "type": {
71
+ "type": "string",
72
+ "enum": [
73
+ "appFile"
74
+ ]
75
+ },
76
+ "config": {
77
+ "type": "object",
78
+ "properties": {
79
+ "delete": {
80
+ "type": "boolean"
81
+ },
82
+ "create": {
83
+ "type": "boolean"
84
+ },
85
+ "update": {
86
+ "type": "boolean"
87
+ }
88
+ },
89
+ "additionalProperties": false
90
+ },
91
+ "meta": {
92
+ "type": "object",
93
+ "properties": {
94
+ "category": {
95
+ "type": "string",
96
+ "enum": [
97
+ "trigger"
98
+ ]
99
+ },
100
+ "name": {
101
+ "type": "string",
102
+ "enum": [
103
+ "appFile"
104
+ ]
105
+ },
106
+ "label": {
107
+ "type": "string",
108
+ "minLength": 1,
109
+ "maxLength": 255
110
+ },
111
+ "x": {
112
+ "type": "number"
113
+ },
114
+ "y": {
115
+ "type": "number"
116
+ },
117
+ "uiId": {
118
+ "type": "string",
119
+ "maxLength": 48
120
+ },
121
+ "description": {
122
+ "type": "string",
123
+ "maxLength": 32767
124
+ },
125
+ "icon": {
126
+ "type": "string",
127
+ "maxLength": 1024
128
+ },
129
+ "color": {
130
+ "type": "string",
131
+ "maxLength": 1024
132
+ },
133
+ "inputCount": {
134
+ "type": "number"
135
+ },
136
+ "outputCount": {
137
+ "type": "number"
138
+ },
139
+ "id": {
140
+ "type": "string",
141
+ "maxLength": 48
142
+ }
143
+ },
144
+ "additionalProperties": false
145
+ },
146
+ "outputIds": {
147
+ "type": "array",
148
+ "items": {
149
+ "type": "array",
150
+ "items": {
151
+ "type": "string",
152
+ "maxLength": 48,
153
+ "minLength": 1
154
+ },
155
+ "maxItems": 100
156
+ },
157
+ "maxItems": 100
158
+ }
159
+ },
160
+ "required": [
161
+ "type"
162
+ ],
163
+ "additionalProperties": false
164
+ },
63
165
  {
64
166
  "type": "object",
65
167
  "properties": {
@@ -76,15 +178,16 @@
76
178
  "deviceTagConnect",
77
179
  "deviceIdDisconnect",
78
180
  "deviceTagDisconnect",
181
+ "inboundEmail",
79
182
  "notebook",
80
183
  "onBoot",
81
184
  "onConnect",
82
185
  "onDisconnect",
83
- "udp",
84
- "webhook",
186
+ "resourceJobComplete",
85
187
  "resourceJobIteration",
86
188
  "resourceJobIterationTimeout",
87
- "resourceJobComplete"
189
+ "udp",
190
+ "webhook"
88
191
  ]
89
192
  },
90
193
  "config": {
@@ -109,15 +212,16 @@
109
212
  "deviceIdsTagsDisconnect",
110
213
  "eeaInit",
111
214
  "flowError",
215
+ "inboundEmail",
112
216
  "notebook",
113
217
  "onBoot",
114
218
  "onConnect",
115
219
  "onDisconnect",
116
- "udp",
117
- "webhook",
220
+ "resourceJobComplete",
118
221
  "resourceJobIteration",
119
222
  "resourceJobIterationTimeout",
120
- "resourceJobComplete"
223
+ "udp",
224
+ "webhook"
121
225
  ]
122
226
  },
123
227
  "label": {
@@ -49,6 +49,108 @@
49
49
  "type": "array",
50
50
  "items": {
51
51
  "oneOf": [
52
+ {
53
+ "type": "object",
54
+ "properties": {
55
+ "key": {
56
+ "type": "string",
57
+ "maxLength": 1024
58
+ },
59
+ "type": {
60
+ "type": "string",
61
+ "enum": [
62
+ "appFile"
63
+ ]
64
+ },
65
+ "config": {
66
+ "type": "object",
67
+ "properties": {
68
+ "delete": {
69
+ "type": "boolean"
70
+ },
71
+ "create": {
72
+ "type": "boolean"
73
+ },
74
+ "update": {
75
+ "type": "boolean"
76
+ }
77
+ },
78
+ "additionalProperties": false
79
+ },
80
+ "meta": {
81
+ "type": "object",
82
+ "properties": {
83
+ "category": {
84
+ "type": "string",
85
+ "enum": [
86
+ "trigger"
87
+ ]
88
+ },
89
+ "name": {
90
+ "type": "string",
91
+ "enum": [
92
+ "appFile"
93
+ ]
94
+ },
95
+ "label": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 255
99
+ },
100
+ "x": {
101
+ "type": "number"
102
+ },
103
+ "y": {
104
+ "type": "number"
105
+ },
106
+ "uiId": {
107
+ "type": "string",
108
+ "maxLength": 48
109
+ },
110
+ "description": {
111
+ "type": "string",
112
+ "maxLength": 32767
113
+ },
114
+ "icon": {
115
+ "type": "string",
116
+ "maxLength": 1024
117
+ },
118
+ "color": {
119
+ "type": "string",
120
+ "maxLength": 1024
121
+ },
122
+ "inputCount": {
123
+ "type": "number"
124
+ },
125
+ "outputCount": {
126
+ "type": "number"
127
+ },
128
+ "id": {
129
+ "type": "string",
130
+ "maxLength": 48
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ },
135
+ "outputIds": {
136
+ "type": "array",
137
+ "items": {
138
+ "type": "array",
139
+ "items": {
140
+ "type": "string",
141
+ "maxLength": 48,
142
+ "minLength": 1
143
+ },
144
+ "maxItems": 100
145
+ },
146
+ "maxItems": 100
147
+ }
148
+ },
149
+ "required": [
150
+ "type"
151
+ ],
152
+ "additionalProperties": false
153
+ },
52
154
  {
53
155
  "type": "object",
54
156
  "properties": {
@@ -65,15 +167,16 @@
65
167
  "deviceTagConnect",
66
168
  "deviceIdDisconnect",
67
169
  "deviceTagDisconnect",
170
+ "inboundEmail",
68
171
  "notebook",
69
172
  "onBoot",
70
173
  "onConnect",
71
174
  "onDisconnect",
72
- "udp",
73
- "webhook",
175
+ "resourceJobComplete",
74
176
  "resourceJobIteration",
75
177
  "resourceJobIterationTimeout",
76
- "resourceJobComplete"
178
+ "udp",
179
+ "webhook"
77
180
  ]
78
181
  },
79
182
  "config": {
@@ -98,15 +201,16 @@
98
201
  "deviceIdsTagsDisconnect",
99
202
  "eeaInit",
100
203
  "flowError",
204
+ "inboundEmail",
101
205
  "notebook",
102
206
  "onBoot",
103
207
  "onConnect",
104
208
  "onDisconnect",
105
- "udp",
106
- "webhook",
209
+ "resourceJobComplete",
107
210
  "resourceJobIteration",
108
211
  "resourceJobIterationTimeout",
109
- "resourceJobComplete"
212
+ "udp",
213
+ "webhook"
110
214
  ]
111
215
  },
112
216
  "label": {
@@ -78,6 +78,108 @@
78
78
  "type": "array",
79
79
  "items": {
80
80
  "oneOf": [
81
+ {
82
+ "type": "object",
83
+ "properties": {
84
+ "key": {
85
+ "type": "string",
86
+ "maxLength": 1024
87
+ },
88
+ "type": {
89
+ "type": "string",
90
+ "enum": [
91
+ "appFile"
92
+ ]
93
+ },
94
+ "config": {
95
+ "type": "object",
96
+ "properties": {
97
+ "delete": {
98
+ "type": "boolean"
99
+ },
100
+ "create": {
101
+ "type": "boolean"
102
+ },
103
+ "update": {
104
+ "type": "boolean"
105
+ }
106
+ },
107
+ "additionalProperties": false
108
+ },
109
+ "meta": {
110
+ "type": "object",
111
+ "properties": {
112
+ "category": {
113
+ "type": "string",
114
+ "enum": [
115
+ "trigger"
116
+ ]
117
+ },
118
+ "name": {
119
+ "type": "string",
120
+ "enum": [
121
+ "appFile"
122
+ ]
123
+ },
124
+ "label": {
125
+ "type": "string",
126
+ "minLength": 1,
127
+ "maxLength": 255
128
+ },
129
+ "x": {
130
+ "type": "number"
131
+ },
132
+ "y": {
133
+ "type": "number"
134
+ },
135
+ "uiId": {
136
+ "type": "string",
137
+ "maxLength": 48
138
+ },
139
+ "description": {
140
+ "type": "string",
141
+ "maxLength": 32767
142
+ },
143
+ "icon": {
144
+ "type": "string",
145
+ "maxLength": 1024
146
+ },
147
+ "color": {
148
+ "type": "string",
149
+ "maxLength": 1024
150
+ },
151
+ "inputCount": {
152
+ "type": "number"
153
+ },
154
+ "outputCount": {
155
+ "type": "number"
156
+ },
157
+ "id": {
158
+ "type": "string",
159
+ "maxLength": 48
160
+ }
161
+ },
162
+ "additionalProperties": false
163
+ },
164
+ "outputIds": {
165
+ "type": "array",
166
+ "items": {
167
+ "type": "array",
168
+ "items": {
169
+ "type": "string",
170
+ "maxLength": 48,
171
+ "minLength": 1
172
+ },
173
+ "maxItems": 100
174
+ },
175
+ "maxItems": 100
176
+ }
177
+ },
178
+ "required": [
179
+ "type"
180
+ ],
181
+ "additionalProperties": false
182
+ },
81
183
  {
82
184
  "type": "object",
83
185
  "properties": {
@@ -94,15 +196,16 @@
94
196
  "deviceTagConnect",
95
197
  "deviceIdDisconnect",
96
198
  "deviceTagDisconnect",
199
+ "inboundEmail",
97
200
  "notebook",
98
201
  "onBoot",
99
202
  "onConnect",
100
203
  "onDisconnect",
101
- "udp",
102
- "webhook",
204
+ "resourceJobComplete",
103
205
  "resourceJobIteration",
104
206
  "resourceJobIterationTimeout",
105
- "resourceJobComplete"
207
+ "udp",
208
+ "webhook"
106
209
  ]
107
210
  },
108
211
  "config": {
@@ -127,15 +230,16 @@
127
230
  "deviceIdsTagsDisconnect",
128
231
  "eeaInit",
129
232
  "flowError",
233
+ "inboundEmail",
130
234
  "notebook",
131
235
  "onBoot",
132
236
  "onConnect",
133
237
  "onDisconnect",
134
- "udp",
135
- "webhook",
238
+ "resourceJobComplete",
136
239
  "resourceJobIteration",
137
240
  "resourceJobIterationTimeout",
138
- "resourceJobComplete"
241
+ "udp",
242
+ "webhook"
139
243
  ]
140
244
  },
141
245
  "label": {
@@ -2870,6 +2974,108 @@
2870
2974
  "type": "array",
2871
2975
  "items": {
2872
2976
  "oneOf": [
2977
+ {
2978
+ "type": "object",
2979
+ "properties": {
2980
+ "key": {
2981
+ "type": "string",
2982
+ "maxLength": 1024
2983
+ },
2984
+ "type": {
2985
+ "type": "string",
2986
+ "enum": [
2987
+ "appFile"
2988
+ ]
2989
+ },
2990
+ "config": {
2991
+ "type": "object",
2992
+ "properties": {
2993
+ "delete": {
2994
+ "type": "boolean"
2995
+ },
2996
+ "create": {
2997
+ "type": "boolean"
2998
+ },
2999
+ "update": {
3000
+ "type": "boolean"
3001
+ }
3002
+ },
3003
+ "additionalProperties": false
3004
+ },
3005
+ "meta": {
3006
+ "type": "object",
3007
+ "properties": {
3008
+ "category": {
3009
+ "type": "string",
3010
+ "enum": [
3011
+ "trigger"
3012
+ ]
3013
+ },
3014
+ "name": {
3015
+ "type": "string",
3016
+ "enum": [
3017
+ "appFile"
3018
+ ]
3019
+ },
3020
+ "label": {
3021
+ "type": "string",
3022
+ "minLength": 1,
3023
+ "maxLength": 255
3024
+ },
3025
+ "x": {
3026
+ "type": "number"
3027
+ },
3028
+ "y": {
3029
+ "type": "number"
3030
+ },
3031
+ "uiId": {
3032
+ "type": "string",
3033
+ "maxLength": 48
3034
+ },
3035
+ "description": {
3036
+ "type": "string",
3037
+ "maxLength": 32767
3038
+ },
3039
+ "icon": {
3040
+ "type": "string",
3041
+ "maxLength": 1024
3042
+ },
3043
+ "color": {
3044
+ "type": "string",
3045
+ "maxLength": 1024
3046
+ },
3047
+ "inputCount": {
3048
+ "type": "number"
3049
+ },
3050
+ "outputCount": {
3051
+ "type": "number"
3052
+ },
3053
+ "id": {
3054
+ "type": "string",
3055
+ "maxLength": 48
3056
+ }
3057
+ },
3058
+ "additionalProperties": false
3059
+ },
3060
+ "outputIds": {
3061
+ "type": "array",
3062
+ "items": {
3063
+ "type": "array",
3064
+ "items": {
3065
+ "type": "string",
3066
+ "maxLength": 48,
3067
+ "minLength": 1
3068
+ },
3069
+ "maxItems": 100
3070
+ },
3071
+ "maxItems": 100
3072
+ }
3073
+ },
3074
+ "required": [
3075
+ "type"
3076
+ ],
3077
+ "additionalProperties": false
3078
+ },
2873
3079
  {
2874
3080
  "type": "object",
2875
3081
  "properties": {
@@ -2886,15 +3092,16 @@
2886
3092
  "deviceTagConnect",
2887
3093
  "deviceIdDisconnect",
2888
3094
  "deviceTagDisconnect",
3095
+ "inboundEmail",
2889
3096
  "notebook",
2890
3097
  "onBoot",
2891
3098
  "onConnect",
2892
3099
  "onDisconnect",
2893
- "udp",
2894
- "webhook",
3100
+ "resourceJobComplete",
2895
3101
  "resourceJobIteration",
2896
3102
  "resourceJobIterationTimeout",
2897
- "resourceJobComplete"
3103
+ "udp",
3104
+ "webhook"
2898
3105
  ]
2899
3106
  },
2900
3107
  "config": {
@@ -2919,15 +3126,16 @@
2919
3126
  "deviceIdsTagsDisconnect",
2920
3127
  "eeaInit",
2921
3128
  "flowError",
3129
+ "inboundEmail",
2922
3130
  "notebook",
2923
3131
  "onBoot",
2924
3132
  "onConnect",
2925
3133
  "onDisconnect",
2926
- "udp",
2927
- "webhook",
3134
+ "resourceJobComplete",
2928
3135
  "resourceJobIteration",
2929
3136
  "resourceJobIterationTimeout",
2930
- "resourceJobComplete"
3137
+ "udp",
3138
+ "webhook"
2931
3139
  ]
2932
3140
  },
2933
3141
  "label": {