losant_rest 1.19.4 → 1.19.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +9 -9
- data/docs/_schemas.md +1142 -63
- data/docs/instanceAuditLog.md +49 -0
- data/docs/instanceAuditLogs.md +53 -0
- data/examples/auth.rb +1 -1
- data/examples/list_devices.rb +1 -1
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_api_token.rb +1 -1
- data/lib/platform_rest/application_api_tokens.rb +1 -1
- data/lib/platform_rest/application_certificate.rb +1 -1
- data/lib/platform_rest/application_certificate_authorities.rb +1 -1
- data/lib/platform_rest/application_certificate_authority.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +1 -1
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/application_dashboards.rb +1 -1
- data/lib/platform_rest/application_key.rb +1 -1
- data/lib/platform_rest/application_keys.rb +1 -1
- data/lib/platform_rest/application_template.rb +1 -1
- data/lib/platform_rest/application_templates.rb +1 -1
- data/lib/platform_rest/applications.rb +1 -1
- data/lib/platform_rest/audit_log.rb +1 -1
- data/lib/platform_rest/audit_logs.rb +1 -1
- data/lib/platform_rest/auth.rb +1 -1
- data/lib/platform_rest/client.rb +11 -3
- data/lib/platform_rest/credential.rb +1 -1
- data/lib/platform_rest/credentials.rb +1 -1
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -1
- data/lib/platform_rest/data.rb +1 -1
- data/lib/platform_rest/data_table.rb +1 -1
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +1 -1
- data/lib/platform_rest/data_tables.rb +1 -1
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/device_recipe.rb +1 -1
- data/lib/platform_rest/device_recipes.rb +1 -1
- data/lib/platform_rest/devices.rb +1 -1
- data/lib/platform_rest/edge_deployment.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +1 -1
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +1 -1
- data/lib/platform_rest/error.rb +1 -1
- data/lib/platform_rest/event.rb +1 -1
- data/lib/platform_rest/events.rb +1 -1
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/experience_domain.rb +1 -1
- data/lib/platform_rest/experience_domains.rb +1 -1
- data/lib/platform_rest/experience_endpoint.rb +1 -1
- data/lib/platform_rest/experience_endpoints.rb +1 -1
- data/lib/platform_rest/experience_group.rb +1 -1
- data/lib/platform_rest/experience_groups.rb +1 -1
- data/lib/platform_rest/experience_slug.rb +1 -1
- data/lib/platform_rest/experience_slugs.rb +1 -1
- data/lib/platform_rest/experience_user.rb +1 -1
- data/lib/platform_rest/experience_users.rb +1 -1
- data/lib/platform_rest/experience_version.rb +1 -1
- data/lib/platform_rest/experience_versions.rb +1 -1
- data/lib/platform_rest/experience_view.rb +1 -1
- data/lib/platform_rest/experience_views.rb +1 -1
- data/lib/platform_rest/file.rb +1 -1
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/flow.rb +1 -1
- data/lib/platform_rest/flow_version.rb +1 -1
- data/lib/platform_rest/flow_versions.rb +1 -1
- data/lib/platform_rest/flows.rb +1 -1
- data/lib/platform_rest/instance.rb +1 -1
- data/lib/platform_rest/instance_api_token.rb +1 -1
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/{losant_rest/application_template.rb → platform_rest/instance_audit_log.rb} +13 -11
- data/lib/{losant_rest/audit_logs.rb → platform_rest/instance_audit_logs.rb} +12 -12
- data/lib/platform_rest/instance_custom_node.rb +1 -1
- data/lib/platform_rest/instance_custom_nodes.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_members.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +1 -1
- data/lib/platform_rest/instance_org_invites.rb +1 -1
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +1 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/instance_sandbox.rb +1 -1
- data/lib/platform_rest/instance_sandboxes.rb +1 -1
- data/lib/platform_rest/instances.rb +1 -1
- data/lib/platform_rest/integration.rb +1 -1
- data/lib/platform_rest/integrations.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/notebooks.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/org_invites.rb +1 -1
- data/lib/platform_rest/orgs.rb +1 -1
- data/lib/platform_rest/resource_job.rb +1 -1
- data/lib/platform_rest/resource_jobs.rb +1 -1
- data/lib/platform_rest/user_api_token.rb +1 -1
- data/lib/platform_rest/user_api_tokens.rb +1 -1
- data/lib/platform_rest/utils.rb +1 -1
- data/lib/{losant_rest → platform_rest}/version.rb +3 -3
- data/lib/platform_rest/webhook.rb +1 -1
- data/lib/platform_rest/webhooks.rb +1 -1
- data/lib/platform_rest.rb +3 -1
- data/losant_rest.gemspec +2 -2
- data/schemas/apiTokenPost.json +9 -1
- data/schemas/auditLog.json +3 -2
- data/schemas/auditLogFilter.json +3 -2
- data/schemas/auditLogs.json +3 -2
- data/schemas/credential.json +50 -1
- data/schemas/credentialLinkedResources.json +81 -4
- data/schemas/credentialPatch.json +56 -0
- data/schemas/credentialPost.json +71 -1
- data/schemas/credentials.json +50 -1
- data/schemas/deviceConnectionStatus.json +6 -2
- data/schemas/devicesHistoricalImportPost.json +25 -0
- data/schemas/experienceLinkedResources.json +7 -5
- data/schemas/experienceView.json +1 -2
- data/schemas/experienceViewPatch.json +1 -2
- data/schemas/experienceViewPost.json +2 -4
- data/schemas/experienceViews.json +1 -2
- data/schemas/flow.json +2 -1
- data/schemas/flowPatch.json +2 -1
- data/schemas/flowPost.json +2 -1
- data/schemas/flowVersion.json +4 -2
- data/schemas/flowVersionPost.json +2 -1
- data/schemas/flowVersions.json +4 -2
- data/schemas/flows.json +2 -1
- data/schemas/flowsImportPost.json +4 -2
- data/schemas/flowsImportResult.json +6 -3
- data/schemas/githubLogin.json +9 -1
- data/schemas/instance.json +1 -4
- data/schemas/instanceAuditLog.json +94 -0
- data/schemas/instanceAuditLogFilter.json +106 -0
- data/schemas/instanceAuditLogs.json +41 -0
- data/schemas/instanceCustomNodePatch.json +2 -1
- data/schemas/instanceCustomNodePost.json +2 -1
- data/schemas/instanceOrgMember.json +4 -1
- data/schemas/instances.json +1 -4
- data/schemas/integration.json +75 -1
- data/schemas/integrationPatch.json +73 -0
- data/schemas/integrationPost.json +75 -1
- data/schemas/integrations.json +75 -1
- data/schemas/mePatch.json +18 -0
- data/schemas/samlResponse.json +9 -1
- data/schemas/userCredentials.json +9 -1
- data/schemas/userPost.json +9 -1
- data/test/basic_test.rb +6 -6
- data/test/test_helper.rb +1 -1
- metadata +11 -94
- data/lib/losant_rest/application.rb +0 -932
- data/lib/losant_rest/application_api_token.rb +0 -176
- data/lib/losant_rest/application_api_tokens.rb +0 -136
- data/lib/losant_rest/application_certificate.rb +0 -176
- data/lib/losant_rest/application_certificate_authorities.rb +0 -138
- data/lib/losant_rest/application_certificate_authority.rb +0 -176
- data/lib/losant_rest/application_certificates.rb +0 -138
- data/lib/losant_rest/application_dashboard.rb +0 -225
- data/lib/losant_rest/application_dashboards.rb +0 -138
- data/lib/losant_rest/application_key.rb +0 -176
- data/lib/losant_rest/application_keys.rb +0 -141
- data/lib/losant_rest/application_templates.rb +0 -176
- data/lib/losant_rest/applications.rb +0 -142
- data/lib/losant_rest/audit_log.rb +0 -81
- data/lib/losant_rest/auth.rb +0 -245
- data/lib/losant_rest/client.rb +0 -410
- data/lib/losant_rest/credential.rb +0 -224
- data/lib/losant_rest/credentials.rb +0 -138
- data/lib/losant_rest/dashboard.rb +0 -268
- data/lib/losant_rest/dashboards.rb +0 -136
- data/lib/losant_rest/data.rb +0 -176
- data/lib/losant_rest/data_table.rb +0 -274
- data/lib/losant_rest/data_table_row.rb +0 -182
- data/lib/losant_rest/data_table_rows.rb +0 -343
- data/lib/losant_rest/data_tables.rb +0 -138
- data/lib/losant_rest/device.rb +0 -749
- data/lib/losant_rest/device_recipe.rb +0 -234
- data/lib/losant_rest/device_recipes.rb +0 -146
- data/lib/losant_rest/devices.rb +0 -707
- data/lib/losant_rest/edge_deployment.rb +0 -81
- data/lib/losant_rest/edge_deployments.rb +0 -236
- data/lib/losant_rest/embedded_deployment.rb +0 -81
- data/lib/losant_rest/embedded_deployments.rb +0 -280
- data/lib/losant_rest/error.rb +0 -34
- data/lib/losant_rest/event.rb +0 -176
- data/lib/losant_rest/events.rb +0 -341
- data/lib/losant_rest/experience.rb +0 -142
- data/lib/losant_rest/experience_domain.rb +0 -176
- data/lib/losant_rest/experience_domains.rb +0 -126
- data/lib/losant_rest/experience_endpoint.rb +0 -230
- data/lib/losant_rest/experience_endpoints.rb +0 -200
- data/lib/losant_rest/experience_group.rb +0 -180
- data/lib/losant_rest/experience_groups.rb +0 -141
- data/lib/losant_rest/experience_slug.rb +0 -176
- data/lib/losant_rest/experience_slugs.rb +0 -126
- data/lib/losant_rest/experience_user.rb +0 -176
- data/lib/losant_rest/experience_users.rb +0 -142
- data/lib/losant_rest/experience_version.rb +0 -176
- data/lib/losant_rest/experience_versions.rb +0 -138
- data/lib/losant_rest/experience_view.rb +0 -228
- data/lib/losant_rest/experience_views.rb +0 -142
- data/lib/losant_rest/file.rb +0 -226
- data/lib/losant_rest/files.rb +0 -144
- data/lib/losant_rest/flow.rb +0 -580
- data/lib/losant_rest/flow_version.rb +0 -352
- data/lib/losant_rest/flow_versions.rb +0 -201
- data/lib/losant_rest/flows.rb +0 -310
- data/lib/losant_rest/instance.rb +0 -377
- data/lib/losant_rest/instance_api_token.rb +0 -176
- data/lib/losant_rest/instance_api_tokens.rb +0 -136
- data/lib/losant_rest/instance_custom_node.rb +0 -282
- data/lib/losant_rest/instance_custom_nodes.rb +0 -136
- data/lib/losant_rest/instance_member.rb +0 -176
- data/lib/losant_rest/instance_members.rb +0 -134
- data/lib/losant_rest/instance_org.rb +0 -336
- data/lib/losant_rest/instance_org_invite.rb +0 -182
- data/lib/losant_rest/instance_org_invites.rb +0 -138
- data/lib/losant_rest/instance_org_member.rb +0 -182
- data/lib/losant_rest/instance_org_members.rb +0 -138
- data/lib/losant_rest/instance_orgs.rb +0 -139
- data/lib/losant_rest/instance_sandbox.rb +0 -181
- data/lib/losant_rest/instance_sandboxes.rb +0 -98
- data/lib/losant_rest/instances.rb +0 -88
- data/lib/losant_rest/integration.rb +0 -178
- data/lib/losant_rest/integrations.rb +0 -138
- data/lib/losant_rest/me.rb +0 -790
- data/lib/losant_rest/notebook.rb +0 -423
- data/lib/losant_rest/notebooks.rb +0 -138
- data/lib/losant_rest/org.rb +0 -663
- data/lib/losant_rest/org_invites.rb +0 -124
- data/lib/losant_rest/orgs.rb +0 -140
- data/lib/losant_rest/resource_job.rb +0 -326
- data/lib/losant_rest/resource_jobs.rb +0 -138
- data/lib/losant_rest/user_api_token.rb +0 -170
- data/lib/losant_rest/user_api_tokens.rb +0 -132
- data/lib/losant_rest/utils.rb +0 -44
- data/lib/losant_rest/webhook.rb +0 -178
- data/lib/losant_rest/webhooks.rb +0 -138
- data/lib/losant_rest.rb +0 -129
data/schemas/credential.json
CHANGED
@@ -62,7 +62,10 @@
|
|
62
62
|
"gcp",
|
63
63
|
"http",
|
64
64
|
"sendgrid",
|
65
|
-
"twilio"
|
65
|
+
"twilio",
|
66
|
+
"loggly",
|
67
|
+
"jwt",
|
68
|
+
"whatsapp"
|
66
69
|
]
|
67
70
|
},
|
68
71
|
"awsConfig": {
|
@@ -162,6 +165,52 @@
|
|
162
165
|
"accountSid",
|
163
166
|
"apiKeySid"
|
164
167
|
]
|
168
|
+
},
|
169
|
+
"logglyConfig": {
|
170
|
+
"type": "object",
|
171
|
+
"properties": {},
|
172
|
+
"additionalProperties": false
|
173
|
+
},
|
174
|
+
"jwtConfig": {
|
175
|
+
"type": "object",
|
176
|
+
"properties": {
|
177
|
+
"issuer": {
|
178
|
+
"type": "string",
|
179
|
+
"maxLength": 1024
|
180
|
+
},
|
181
|
+
"algorithm": {
|
182
|
+
"type": "string",
|
183
|
+
"enum": [
|
184
|
+
"HS256",
|
185
|
+
"HS384",
|
186
|
+
"HS512",
|
187
|
+
"RS256",
|
188
|
+
"RS384",
|
189
|
+
"RS512",
|
190
|
+
"ES256",
|
191
|
+
"ES384",
|
192
|
+
"ES512"
|
193
|
+
]
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"additionalProperties": false,
|
197
|
+
"required": [
|
198
|
+
"algorithm"
|
199
|
+
]
|
200
|
+
},
|
201
|
+
"whatsappConfig": {
|
202
|
+
"type": "object",
|
203
|
+
"properties": {
|
204
|
+
"fromNumberId": {
|
205
|
+
"type": "string",
|
206
|
+
"minLength": 1,
|
207
|
+
"maxLength": 128
|
208
|
+
}
|
209
|
+
},
|
210
|
+
"additionalProperties": false,
|
211
|
+
"required": [
|
212
|
+
"fromNumberId"
|
213
|
+
]
|
165
214
|
}
|
166
215
|
},
|
167
216
|
"additionalProperties": false,
|
@@ -51,7 +51,8 @@
|
|
51
51
|
"googlePubSub",
|
52
52
|
"mqtt",
|
53
53
|
"particle",
|
54
|
-
"sqs"
|
54
|
+
"sqs",
|
55
|
+
"websocket"
|
55
56
|
]
|
56
57
|
},
|
57
58
|
"enabled": {
|
@@ -181,6 +182,13 @@
|
|
181
182
|
},
|
182
183
|
"disableSSLVerification": {
|
183
184
|
"type": "boolean"
|
185
|
+
},
|
186
|
+
"protocolVersion": {
|
187
|
+
"type": "string",
|
188
|
+
"enum": [
|
189
|
+
"3.1.1",
|
190
|
+
"5"
|
191
|
+
]
|
184
192
|
}
|
185
193
|
},
|
186
194
|
"additionalProperties": false,
|
@@ -248,6 +256,72 @@
|
|
248
256
|
"queueUrl"
|
249
257
|
]
|
250
258
|
},
|
259
|
+
"websocketConfig": {
|
260
|
+
"type": "object",
|
261
|
+
"properties": {
|
262
|
+
"url": {
|
263
|
+
"type": "string",
|
264
|
+
"minLength": 1,
|
265
|
+
"maxLength": 1024
|
266
|
+
},
|
267
|
+
"disableSSLVerification": {
|
268
|
+
"type": "boolean"
|
269
|
+
},
|
270
|
+
"username": {
|
271
|
+
"type": "string",
|
272
|
+
"minLength": 1,
|
273
|
+
"maxLength": 1024
|
274
|
+
},
|
275
|
+
"password": {
|
276
|
+
"type": "string",
|
277
|
+
"minLength": 1,
|
278
|
+
"maxLength": 1024
|
279
|
+
},
|
280
|
+
"privateKey": {
|
281
|
+
"type": "string",
|
282
|
+
"maxLength": 32767,
|
283
|
+
"minLength": 4
|
284
|
+
},
|
285
|
+
"certificate": {
|
286
|
+
"type": "string",
|
287
|
+
"maxLength": 32767,
|
288
|
+
"minLength": 4
|
289
|
+
},
|
290
|
+
"caCertificate": {
|
291
|
+
"type": "string",
|
292
|
+
"maxLength": 32767,
|
293
|
+
"minLength": 4
|
294
|
+
},
|
295
|
+
"headers": {
|
296
|
+
"type": "array",
|
297
|
+
"maxItems": 50,
|
298
|
+
"items": {
|
299
|
+
"type": "object",
|
300
|
+
"properties": {
|
301
|
+
"headerKey": {
|
302
|
+
"type": "string",
|
303
|
+
"minLength": 1,
|
304
|
+
"maxLength": 1024
|
305
|
+
},
|
306
|
+
"headerValue": {
|
307
|
+
"type": "string",
|
308
|
+
"minLength": 1,
|
309
|
+
"maxLength": 1024
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"additionalProperties": false,
|
313
|
+
"required": [
|
314
|
+
"headerKey",
|
315
|
+
"headerValue"
|
316
|
+
]
|
317
|
+
}
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"additionalProperties": false,
|
321
|
+
"required": [
|
322
|
+
"url"
|
323
|
+
]
|
324
|
+
},
|
251
325
|
"status": {
|
252
326
|
"lastKeepAlive": {
|
253
327
|
"type": [
|
@@ -501,7 +575,8 @@
|
|
501
575
|
"webhook",
|
502
576
|
"resourceJobIteration",
|
503
577
|
"resourceJobIterationTimeout",
|
504
|
-
"resourceJobComplete"
|
578
|
+
"resourceJobComplete",
|
579
|
+
"websocket"
|
505
580
|
]
|
506
581
|
},
|
507
582
|
"label": {
|
@@ -3276,7 +3351,8 @@
|
|
3276
3351
|
"webhook",
|
3277
3352
|
"resourceJobIteration",
|
3278
3353
|
"resourceJobIterationTimeout",
|
3279
|
-
"resourceJobComplete"
|
3354
|
+
"resourceJobComplete",
|
3355
|
+
"websocket"
|
3280
3356
|
]
|
3281
3357
|
},
|
3282
3358
|
"label": {
|
@@ -5960,7 +6036,8 @@
|
|
5960
6036
|
"webhook",
|
5961
6037
|
"resourceJobIteration",
|
5962
6038
|
"resourceJobIterationTimeout",
|
5963
|
-
"resourceJobComplete"
|
6039
|
+
"resourceJobComplete",
|
6040
|
+
"websocket"
|
5964
6041
|
]
|
5965
6042
|
},
|
5966
6043
|
"label": {
|
@@ -120,6 +120,62 @@
|
|
120
120
|
}
|
121
121
|
},
|
122
122
|
"additionalProperties": false
|
123
|
+
},
|
124
|
+
"logglyConfig": {
|
125
|
+
"type": "object",
|
126
|
+
"properties": {
|
127
|
+
"customerToken": {
|
128
|
+
"type": "string",
|
129
|
+
"minLength": 1,
|
130
|
+
"maxLength": 128
|
131
|
+
}
|
132
|
+
},
|
133
|
+
"additionalProperties": false
|
134
|
+
},
|
135
|
+
"jwtConfig": {
|
136
|
+
"type": "object",
|
137
|
+
"properties": {
|
138
|
+
"issuer": {
|
139
|
+
"type": "string",
|
140
|
+
"maxLength": 1024
|
141
|
+
},
|
142
|
+
"algorithm": {
|
143
|
+
"type": "string",
|
144
|
+
"enum": [
|
145
|
+
"HS256",
|
146
|
+
"HS384",
|
147
|
+
"HS512",
|
148
|
+
"RS256",
|
149
|
+
"RS384",
|
150
|
+
"RS512",
|
151
|
+
"ES256",
|
152
|
+
"ES384",
|
153
|
+
"ES512"
|
154
|
+
]
|
155
|
+
},
|
156
|
+
"secret": {
|
157
|
+
"type": "string",
|
158
|
+
"minLength": 1,
|
159
|
+
"maxLength": 4096
|
160
|
+
}
|
161
|
+
},
|
162
|
+
"additionalProperties": false
|
163
|
+
},
|
164
|
+
"whatsappConfig": {
|
165
|
+
"type": "object",
|
166
|
+
"properties": {
|
167
|
+
"accessToken": {
|
168
|
+
"type": "string",
|
169
|
+
"minLength": 1,
|
170
|
+
"maxLength": 1024
|
171
|
+
},
|
172
|
+
"fromNumberId": {
|
173
|
+
"type": "string",
|
174
|
+
"minLength": 1,
|
175
|
+
"maxLength": 128
|
176
|
+
}
|
177
|
+
},
|
178
|
+
"additionalProperties": false
|
123
179
|
}
|
124
180
|
},
|
125
181
|
"additionalProperties": false
|
data/schemas/credentialPost.json
CHANGED
@@ -22,7 +22,10 @@
|
|
22
22
|
"gcp",
|
23
23
|
"http",
|
24
24
|
"sendgrid",
|
25
|
-
"twilio"
|
25
|
+
"twilio",
|
26
|
+
"loggly",
|
27
|
+
"jwt",
|
28
|
+
"whatsapp"
|
26
29
|
]
|
27
30
|
},
|
28
31
|
"awsConfig": {
|
@@ -155,6 +158,73 @@
|
|
155
158
|
"apiKeySid",
|
156
159
|
"apiKeySecret"
|
157
160
|
]
|
161
|
+
},
|
162
|
+
"logglyConfig": {
|
163
|
+
"type": "object",
|
164
|
+
"properties": {
|
165
|
+
"customerToken": {
|
166
|
+
"type": "string",
|
167
|
+
"minLength": 1,
|
168
|
+
"maxLength": 128
|
169
|
+
}
|
170
|
+
},
|
171
|
+
"additionalProperties": false,
|
172
|
+
"required": [
|
173
|
+
"customerToken"
|
174
|
+
]
|
175
|
+
},
|
176
|
+
"jwtConfig": {
|
177
|
+
"type": "object",
|
178
|
+
"properties": {
|
179
|
+
"issuer": {
|
180
|
+
"type": "string",
|
181
|
+
"maxLength": 1024
|
182
|
+
},
|
183
|
+
"algorithm": {
|
184
|
+
"type": "string",
|
185
|
+
"enum": [
|
186
|
+
"HS256",
|
187
|
+
"HS384",
|
188
|
+
"HS512",
|
189
|
+
"RS256",
|
190
|
+
"RS384",
|
191
|
+
"RS512",
|
192
|
+
"ES256",
|
193
|
+
"ES384",
|
194
|
+
"ES512"
|
195
|
+
]
|
196
|
+
},
|
197
|
+
"secret": {
|
198
|
+
"type": "string",
|
199
|
+
"minLength": 1,
|
200
|
+
"maxLength": 4096
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"additionalProperties": false,
|
204
|
+
"required": [
|
205
|
+
"algorithm",
|
206
|
+
"secret"
|
207
|
+
]
|
208
|
+
},
|
209
|
+
"whatsappConfig": {
|
210
|
+
"type": "object",
|
211
|
+
"properties": {
|
212
|
+
"accessToken": {
|
213
|
+
"type": "string",
|
214
|
+
"minLength": 1,
|
215
|
+
"maxLength": 1024
|
216
|
+
},
|
217
|
+
"fromNumberId": {
|
218
|
+
"type": "string",
|
219
|
+
"minLength": 1,
|
220
|
+
"maxLength": 128
|
221
|
+
}
|
222
|
+
},
|
223
|
+
"additionalProperties": false,
|
224
|
+
"required": [
|
225
|
+
"accessToken",
|
226
|
+
"fromNumberId"
|
227
|
+
]
|
158
228
|
}
|
159
229
|
},
|
160
230
|
"additionalProperties": false,
|
data/schemas/credentials.json
CHANGED
@@ -69,7 +69,10 @@
|
|
69
69
|
"gcp",
|
70
70
|
"http",
|
71
71
|
"sendgrid",
|
72
|
-
"twilio"
|
72
|
+
"twilio",
|
73
|
+
"loggly",
|
74
|
+
"jwt",
|
75
|
+
"whatsapp"
|
73
76
|
]
|
74
77
|
},
|
75
78
|
"awsConfig": {
|
@@ -169,6 +172,52 @@
|
|
169
172
|
"accountSid",
|
170
173
|
"apiKeySid"
|
171
174
|
]
|
175
|
+
},
|
176
|
+
"logglyConfig": {
|
177
|
+
"type": "object",
|
178
|
+
"properties": {},
|
179
|
+
"additionalProperties": false
|
180
|
+
},
|
181
|
+
"jwtConfig": {
|
182
|
+
"type": "object",
|
183
|
+
"properties": {
|
184
|
+
"issuer": {
|
185
|
+
"type": "string",
|
186
|
+
"maxLength": 1024
|
187
|
+
},
|
188
|
+
"algorithm": {
|
189
|
+
"type": "string",
|
190
|
+
"enum": [
|
191
|
+
"HS256",
|
192
|
+
"HS384",
|
193
|
+
"HS512",
|
194
|
+
"RS256",
|
195
|
+
"RS384",
|
196
|
+
"RS512",
|
197
|
+
"ES256",
|
198
|
+
"ES384",
|
199
|
+
"ES512"
|
200
|
+
]
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"additionalProperties": false,
|
204
|
+
"required": [
|
205
|
+
"algorithm"
|
206
|
+
]
|
207
|
+
},
|
208
|
+
"whatsappConfig": {
|
209
|
+
"type": "object",
|
210
|
+
"properties": {
|
211
|
+
"fromNumberId": {
|
212
|
+
"type": "string",
|
213
|
+
"minLength": 1,
|
214
|
+
"maxLength": 128
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"additionalProperties": false,
|
218
|
+
"required": [
|
219
|
+
"fromNumberId"
|
220
|
+
]
|
172
221
|
}
|
173
222
|
},
|
174
223
|
"additionalProperties": false,
|
@@ -105,10 +105,14 @@
|
|
105
105
|
"maxLength": 1024
|
106
106
|
},
|
107
107
|
"messagesFromClient": {
|
108
|
-
"type": "
|
108
|
+
"type": "integer",
|
109
|
+
"minimum": 0,
|
110
|
+
"maximum": 2147483647
|
109
111
|
},
|
110
112
|
"messagesToClient": {
|
111
|
-
"type": "
|
113
|
+
"type": "integer",
|
114
|
+
"minimum": 0,
|
115
|
+
"maximum": 2147483647
|
112
116
|
},
|
113
117
|
"ipAddress": {
|
114
118
|
"type": "string",
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"email": {
|
6
|
+
"type": "string",
|
7
|
+
"format": "email",
|
8
|
+
"maxLength": 1024
|
9
|
+
},
|
10
|
+
"callbackUrl": {
|
11
|
+
"type": "string",
|
12
|
+
"format": "uri",
|
13
|
+
"maxLength": 1024
|
14
|
+
},
|
15
|
+
"fileUrl": {
|
16
|
+
"type": "string",
|
17
|
+
"format": "uri",
|
18
|
+
"maxLength": 1024
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"required": [
|
22
|
+
"fileUrl"
|
23
|
+
],
|
24
|
+
"additionalProperties": false
|
25
|
+
}
|
@@ -89,8 +89,7 @@
|
|
89
89
|
},
|
90
90
|
"body": {
|
91
91
|
"type": "string",
|
92
|
-
"maxLength": 131072
|
93
|
-
"minLength": 1
|
92
|
+
"maxLength": 131072
|
94
93
|
},
|
95
94
|
"viewTags": {
|
96
95
|
"type": "object",
|
@@ -547,7 +546,8 @@
|
|
547
546
|
"webhook",
|
548
547
|
"resourceJobIteration",
|
549
548
|
"resourceJobIterationTimeout",
|
550
|
-
"resourceJobComplete"
|
549
|
+
"resourceJobComplete",
|
550
|
+
"websocket"
|
551
551
|
]
|
552
552
|
},
|
553
553
|
"label": {
|
@@ -3322,7 +3322,8 @@
|
|
3322
3322
|
"webhook",
|
3323
3323
|
"resourceJobIteration",
|
3324
3324
|
"resourceJobIterationTimeout",
|
3325
|
-
"resourceJobComplete"
|
3325
|
+
"resourceJobComplete",
|
3326
|
+
"websocket"
|
3326
3327
|
]
|
3327
3328
|
},
|
3328
3329
|
"label": {
|
@@ -6006,7 +6007,8 @@
|
|
6006
6007
|
"webhook",
|
6007
6008
|
"resourceJobIteration",
|
6008
6009
|
"resourceJobIterationTimeout",
|
6009
|
-
"resourceJobComplete"
|
6010
|
+
"resourceJobComplete",
|
6011
|
+
"websocket"
|
6010
6012
|
]
|
6011
6013
|
},
|
6012
6014
|
"label": {
|
data/schemas/experienceView.json
CHANGED
@@ -28,8 +28,7 @@
|
|
28
28
|
},
|
29
29
|
"body": {
|
30
30
|
"type": "string",
|
31
|
-
"maxLength": 131072
|
32
|
-
"minLength": 1
|
31
|
+
"maxLength": 131072
|
33
32
|
},
|
34
33
|
"viewTags": {
|
35
34
|
"type": "object",
|
@@ -46,7 +45,6 @@
|
|
46
45
|
"additionalProperties": false,
|
47
46
|
"required": [
|
48
47
|
"name",
|
49
|
-
"viewType"
|
50
|
-
"body"
|
48
|
+
"viewType"
|
51
49
|
]
|
52
50
|
}
|
data/schemas/flow.json
CHANGED
data/schemas/flowPatch.json
CHANGED
data/schemas/flowPost.json
CHANGED
data/schemas/flowVersion.json
CHANGED
@@ -141,7 +141,8 @@
|
|
141
141
|
"webhook",
|
142
142
|
"resourceJobIteration",
|
143
143
|
"resourceJobIterationTimeout",
|
144
|
-
"resourceJobComplete"
|
144
|
+
"resourceJobComplete",
|
145
|
+
"websocket"
|
145
146
|
]
|
146
147
|
},
|
147
148
|
"label": {
|
@@ -2825,7 +2826,8 @@
|
|
2825
2826
|
"webhook",
|
2826
2827
|
"resourceJobIteration",
|
2827
2828
|
"resourceJobIterationTimeout",
|
2828
|
-
"resourceJobComplete"
|
2829
|
+
"resourceJobComplete",
|
2830
|
+
"websocket"
|
2829
2831
|
]
|
2830
2832
|
},
|
2831
2833
|
"label": {
|
data/schemas/flowVersions.json
CHANGED
@@ -148,7 +148,8 @@
|
|
148
148
|
"webhook",
|
149
149
|
"resourceJobIteration",
|
150
150
|
"resourceJobIterationTimeout",
|
151
|
-
"resourceJobComplete"
|
151
|
+
"resourceJobComplete",
|
152
|
+
"websocket"
|
152
153
|
]
|
153
154
|
},
|
154
155
|
"label": {
|
@@ -2832,7 +2833,8 @@
|
|
2832
2833
|
"webhook",
|
2833
2834
|
"resourceJobIteration",
|
2834
2835
|
"resourceJobIterationTimeout",
|
2835
|
-
"resourceJobComplete"
|
2836
|
+
"resourceJobComplete",
|
2837
|
+
"websocket"
|
2836
2838
|
]
|
2837
2839
|
},
|
2838
2840
|
"label": {
|
data/schemas/flows.json
CHANGED
@@ -126,7 +126,8 @@
|
|
126
126
|
"webhook",
|
127
127
|
"resourceJobIteration",
|
128
128
|
"resourceJobIterationTimeout",
|
129
|
-
"resourceJobComplete"
|
129
|
+
"resourceJobComplete",
|
130
|
+
"websocket"
|
130
131
|
]
|
131
132
|
},
|
132
133
|
"label": {
|
@@ -2799,7 +2800,8 @@
|
|
2799
2800
|
"webhook",
|
2800
2801
|
"resourceJobIteration",
|
2801
2802
|
"resourceJobIterationTimeout",
|
2802
|
-
"resourceJobComplete"
|
2803
|
+
"resourceJobComplete",
|
2804
|
+
"websocket"
|
2803
2805
|
]
|
2804
2806
|
},
|
2805
2807
|
"label": {
|