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
@@ -63,6 +63,108 @@
63
63
  "type": "array",
64
64
  "items": {
65
65
  "oneOf": [
66
+ {
67
+ "type": "object",
68
+ "properties": {
69
+ "key": {
70
+ "type": "string",
71
+ "maxLength": 1024
72
+ },
73
+ "type": {
74
+ "type": "string",
75
+ "enum": [
76
+ "appFile"
77
+ ]
78
+ },
79
+ "config": {
80
+ "type": "object",
81
+ "properties": {
82
+ "delete": {
83
+ "type": "boolean"
84
+ },
85
+ "create": {
86
+ "type": "boolean"
87
+ },
88
+ "update": {
89
+ "type": "boolean"
90
+ }
91
+ },
92
+ "additionalProperties": false
93
+ },
94
+ "meta": {
95
+ "type": "object",
96
+ "properties": {
97
+ "category": {
98
+ "type": "string",
99
+ "enum": [
100
+ "trigger"
101
+ ]
102
+ },
103
+ "name": {
104
+ "type": "string",
105
+ "enum": [
106
+ "appFile"
107
+ ]
108
+ },
109
+ "label": {
110
+ "type": "string",
111
+ "minLength": 1,
112
+ "maxLength": 255
113
+ },
114
+ "x": {
115
+ "type": "number"
116
+ },
117
+ "y": {
118
+ "type": "number"
119
+ },
120
+ "uiId": {
121
+ "type": "string",
122
+ "maxLength": 48
123
+ },
124
+ "description": {
125
+ "type": "string",
126
+ "maxLength": 32767
127
+ },
128
+ "icon": {
129
+ "type": "string",
130
+ "maxLength": 1024
131
+ },
132
+ "color": {
133
+ "type": "string",
134
+ "maxLength": 1024
135
+ },
136
+ "inputCount": {
137
+ "type": "number"
138
+ },
139
+ "outputCount": {
140
+ "type": "number"
141
+ },
142
+ "id": {
143
+ "type": "string",
144
+ "maxLength": 48
145
+ }
146
+ },
147
+ "additionalProperties": false
148
+ },
149
+ "outputIds": {
150
+ "type": "array",
151
+ "items": {
152
+ "type": "array",
153
+ "items": {
154
+ "type": "string",
155
+ "maxLength": 48,
156
+ "minLength": 1
157
+ },
158
+ "maxItems": 100
159
+ },
160
+ "maxItems": 100
161
+ }
162
+ },
163
+ "required": [
164
+ "type"
165
+ ],
166
+ "additionalProperties": false
167
+ },
66
168
  {
67
169
  "type": "object",
68
170
  "properties": {
@@ -79,15 +181,16 @@
79
181
  "deviceTagConnect",
80
182
  "deviceIdDisconnect",
81
183
  "deviceTagDisconnect",
184
+ "inboundEmail",
82
185
  "notebook",
83
186
  "onBoot",
84
187
  "onConnect",
85
188
  "onDisconnect",
86
- "udp",
87
- "webhook",
189
+ "resourceJobComplete",
88
190
  "resourceJobIteration",
89
191
  "resourceJobIterationTimeout",
90
- "resourceJobComplete"
192
+ "udp",
193
+ "webhook"
91
194
  ]
92
195
  },
93
196
  "config": {
@@ -112,15 +215,16 @@
112
215
  "deviceIdsTagsDisconnect",
113
216
  "eeaInit",
114
217
  "flowError",
218
+ "inboundEmail",
115
219
  "notebook",
116
220
  "onBoot",
117
221
  "onConnect",
118
222
  "onDisconnect",
119
- "udp",
120
- "webhook",
223
+ "resourceJobComplete",
121
224
  "resourceJobIteration",
122
225
  "resourceJobIterationTimeout",
123
- "resourceJobComplete"
226
+ "udp",
227
+ "webhook"
124
228
  ]
125
229
  },
126
230
  "label": {
@@ -2844,6 +2948,108 @@
2844
2948
  "type": "array",
2845
2949
  "items": {
2846
2950
  "oneOf": [
2951
+ {
2952
+ "type": "object",
2953
+ "properties": {
2954
+ "key": {
2955
+ "type": "string",
2956
+ "maxLength": 1024
2957
+ },
2958
+ "type": {
2959
+ "type": "string",
2960
+ "enum": [
2961
+ "appFile"
2962
+ ]
2963
+ },
2964
+ "config": {
2965
+ "type": "object",
2966
+ "properties": {
2967
+ "delete": {
2968
+ "type": "boolean"
2969
+ },
2970
+ "create": {
2971
+ "type": "boolean"
2972
+ },
2973
+ "update": {
2974
+ "type": "boolean"
2975
+ }
2976
+ },
2977
+ "additionalProperties": false
2978
+ },
2979
+ "meta": {
2980
+ "type": "object",
2981
+ "properties": {
2982
+ "category": {
2983
+ "type": "string",
2984
+ "enum": [
2985
+ "trigger"
2986
+ ]
2987
+ },
2988
+ "name": {
2989
+ "type": "string",
2990
+ "enum": [
2991
+ "appFile"
2992
+ ]
2993
+ },
2994
+ "label": {
2995
+ "type": "string",
2996
+ "minLength": 1,
2997
+ "maxLength": 255
2998
+ },
2999
+ "x": {
3000
+ "type": "number"
3001
+ },
3002
+ "y": {
3003
+ "type": "number"
3004
+ },
3005
+ "uiId": {
3006
+ "type": "string",
3007
+ "maxLength": 48
3008
+ },
3009
+ "description": {
3010
+ "type": "string",
3011
+ "maxLength": 32767
3012
+ },
3013
+ "icon": {
3014
+ "type": "string",
3015
+ "maxLength": 1024
3016
+ },
3017
+ "color": {
3018
+ "type": "string",
3019
+ "maxLength": 1024
3020
+ },
3021
+ "inputCount": {
3022
+ "type": "number"
3023
+ },
3024
+ "outputCount": {
3025
+ "type": "number"
3026
+ },
3027
+ "id": {
3028
+ "type": "string",
3029
+ "maxLength": 48
3030
+ }
3031
+ },
3032
+ "additionalProperties": false
3033
+ },
3034
+ "outputIds": {
3035
+ "type": "array",
3036
+ "items": {
3037
+ "type": "array",
3038
+ "items": {
3039
+ "type": "string",
3040
+ "maxLength": 48,
3041
+ "minLength": 1
3042
+ },
3043
+ "maxItems": 100
3044
+ },
3045
+ "maxItems": 100
3046
+ }
3047
+ },
3048
+ "required": [
3049
+ "type"
3050
+ ],
3051
+ "additionalProperties": false
3052
+ },
2847
3053
  {
2848
3054
  "type": "object",
2849
3055
  "properties": {
@@ -2860,15 +3066,16 @@
2860
3066
  "deviceTagConnect",
2861
3067
  "deviceIdDisconnect",
2862
3068
  "deviceTagDisconnect",
3069
+ "inboundEmail",
2863
3070
  "notebook",
2864
3071
  "onBoot",
2865
3072
  "onConnect",
2866
3073
  "onDisconnect",
2867
- "udp",
2868
- "webhook",
3074
+ "resourceJobComplete",
2869
3075
  "resourceJobIteration",
2870
3076
  "resourceJobIterationTimeout",
2871
- "resourceJobComplete"
3077
+ "udp",
3078
+ "webhook"
2872
3079
  ]
2873
3080
  },
2874
3081
  "config": {
@@ -2893,15 +3100,16 @@
2893
3100
  "deviceIdsTagsDisconnect",
2894
3101
  "eeaInit",
2895
3102
  "flowError",
3103
+ "inboundEmail",
2896
3104
  "notebook",
2897
3105
  "onBoot",
2898
3106
  "onConnect",
2899
3107
  "onDisconnect",
2900
- "udp",
2901
- "webhook",
3108
+ "resourceJobComplete",
2902
3109
  "resourceJobIteration",
2903
3110
  "resourceJobIterationTimeout",
2904
- "resourceJobComplete"
3111
+ "udp",
3112
+ "webhook"
2905
3113
  ]
2906
3114
  },
2907
3115
  "label": {