losant_rest 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_schemas.md +139101 -66992
- data/docs/application.md +6 -6
- data/docs/applicationCertificates.md +3 -2
- data/docs/applicationDashboard.md +1 -1
- data/docs/applications.md +1 -1
- data/docs/auth.md +1 -1
- data/docs/dashboard.md +1 -1
- data/docs/dashboards.md +1 -0
- data/docs/dataTableRow.md +1 -1
- data/docs/dataTableRows.md +3 -3
- data/docs/device.md +1 -1
- data/docs/edgeDeployments.md +3 -3
- data/docs/embeddedDeployments.md +3 -3
- data/docs/experience.md +1 -1
- data/docs/file.md +4 -4
- data/docs/files.md +1 -1
- data/docs/flowVersions.md +1 -1
- data/docs/instanceApiTokens.md +1 -1
- data/docs/instanceMember.md +1 -1
- data/docs/instanceOrg.md +1 -1
- data/docs/instanceOrgInvite.md +2 -2
- data/docs/instanceOrgInvites.md +1 -1
- data/docs/instanceOrgMembers.md +2 -1
- data/docs/instanceOrgs.md +1 -1
- data/docs/me.md +1 -1
- data/docs/notebook.md +1 -1
- data/docs/org.md +1 -1
- data/docs/privateFile.md +4 -4
- data/docs/privateFiles.md +1 -1
- data/docs/resourceJob.md +2 -2
- data/docs/userApiTokens.md +2 -2
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +5 -2
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -0
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +3 -3
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +3 -3
- data/lib/platform_rest/embedded_deployments.rb +3 -3
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/file.rb +2 -2
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +2 -2
- data/lib/platform_rest/instance_org_invites.rb +2 -2
- data/lib/platform_rest/instance_org_members.rb +2 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/private_file.rb +2 -2
- data/lib/platform_rest/resource_job.rb +2 -2
- data/lib/platform_rest/user_api_tokens.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/advancedApplicationCertQuery.json +1885 -0
- data/schemas/advancedApplicationKeyQuery.json +763 -763
- data/schemas/apiToken.json +10 -1
- data/schemas/apiTokens.json +20 -2
- data/schemas/application.json +15 -2
- data/schemas/applicationCertificate.json +90 -58
- data/schemas/applicationCertificateAuthorities.json +24 -0
- data/schemas/applicationCertificateAuthority.json +24 -0
- data/schemas/applicationCertificatePatch.json +32 -4
- data/schemas/applicationCertificatePost.json +28 -30
- data/schemas/applicationCertificates.json +90 -58
- data/schemas/applicationCreationByTemplateResult.json +15 -2
- data/schemas/applicationDashboardPost.json +179 -128
- data/schemas/applicationImportExecutions.json +3 -5
- data/schemas/applicationImportResult.json +674 -0
- data/schemas/applicationJobLog.json +129 -123
- data/schemas/applicationJobLogs.json +129 -123
- data/schemas/applicationKey.json +41 -41
- data/schemas/applicationKeyPatch.json +4 -4
- data/schemas/applicationKeyPost.json +36 -29
- data/schemas/applicationKeys.json +41 -41
- data/schemas/applicationSearchResult.json +10 -10
- data/schemas/applicationTemplates.json +9 -2
- data/schemas/applications.json +15 -2
- data/schemas/auditLog.json +2 -6
- data/schemas/auditLogs.json +2 -6
- data/schemas/authedDevice.json +3 -0
- data/schemas/credential.json +7 -0
- data/schemas/credentialLinkedResources.json +19724 -344
- data/schemas/credentialPatch.json +3 -0
- data/schemas/credentialPost.json +3 -0
- data/schemas/credentials.json +7 -0
- data/schemas/dashboard.json +199 -128
- data/schemas/dashboardBlockSuggestCodePost.json +19 -0
- data/schemas/dashboardPatch.json +179 -128
- data/schemas/dashboardPost.json +179 -128
- data/schemas/dashboardUpdateEventsResult.json +266 -0
- data/schemas/dashboards.json +199 -128
- data/schemas/dataTable.json +11 -0
- data/schemas/dataTableRowPatch.json +16 -0
- data/schemas/dataTableRowPost.json +39 -0
- data/schemas/dataTableRowPostResult.json +54 -0
- data/schemas/dataTables.json +11 -0
- data/schemas/device.json +259 -107
- data/schemas/deviceConnectionStatus.json +4 -0
- data/schemas/deviceLog.json +3 -0
- data/schemas/deviceRecipe.json +259 -108
- data/schemas/deviceRecipes.json +259 -108
- data/schemas/devices.json +287 -116
- data/schemas/edgeDeploymentRelease.json +4252 -39
- data/schemas/edgeDeployments.json +28 -0
- data/schemas/embeddedDeploymentRelease.json +2073 -0
- data/schemas/embeddedDeployments.json +25 -0
- data/schemas/error.json +14 -0
- data/schemas/event.json +4 -1
- data/schemas/eventPlusNewCount.json +4 -1
- data/schemas/events.json +4 -1
- data/schemas/experienceDomains.json +19 -0
- data/schemas/experienceEndpoint.json +19 -0
- data/schemas/experienceEndpoints.json +24 -0
- data/schemas/experienceLinkedResources.json +19728 -313
- data/schemas/experienceSlugs.json +19 -0
- data/schemas/experienceUsers.json +16 -2
- data/schemas/experienceVersions.json +25 -0
- data/schemas/experienceView.json +5 -0
- data/schemas/experienceViews.json +10 -0
- data/schemas/fileUploadPostResponse.json +92 -103
- data/schemas/files.json +5 -1
- data/schemas/flow.json +211 -46
- data/schemas/flowPatch.json +199 -46
- data/schemas/flowPost.json +199 -46
- data/schemas/flowStorageMetadata.json +2 -2
- data/schemas/flowVersion.json +450 -101
- data/schemas/flowVersionPost.json +199 -46
- data/schemas/flowVersions.json +9903 -113
- data/schemas/flows.json +9637 -46
- data/schemas/flowsImportPost.json +398 -92
- data/schemas/flowsImportResult.json +661 -147
- data/schemas/historicalSummaries.json +3 -2
- data/schemas/historicalSummary.json +3 -2
- data/schemas/instanceAuditLog.json +2 -6
- data/schemas/instanceAuditLogs.json +90 -1
- data/schemas/instanceCustomNode.json +41 -2
- data/schemas/instanceCustomNodePatch.json +59 -6
- data/schemas/instanceCustomNodePost.json +59 -6
- data/schemas/instanceCustomNodes.json +41 -2
- data/schemas/instanceOrg.json +4 -1
- data/schemas/instanceOrgInvite.json +102 -0
- data/schemas/instanceOrgInviteSent.json +12 -0
- data/schemas/instanceOrgInvites.json +145 -0
- data/schemas/instanceOrgMember.json +52 -0
- data/schemas/instanceOrgMembers.json +105 -1
- data/schemas/instanceOrgPost.json +1 -1
- data/schemas/instanceOrgs.json +5 -2
- data/schemas/instanceSandbox.json +5 -1
- data/schemas/instanceSandboxes.json +9 -1
- data/schemas/integration.json +38 -39
- data/schemas/integrationPatch.json +8 -8
- data/schemas/integrationPost.json +8 -8
- data/schemas/integrations.json +38 -39
- data/schemas/jobEnqueuedResult.json +1 -1
- data/schemas/me.json +685 -88
- data/schemas/notebook.json +33 -21
- data/schemas/notebookExecutionLogs.json +20 -0
- data/schemas/notebookMinuteCounts.json +1 -1
- data/schemas/notebookPatch.json +29 -21
- data/schemas/notebookPost.json +29 -21
- data/schemas/notebooks.json +33 -21
- data/schemas/notificationRule.json +4 -0
- data/schemas/notificationRules.json +8 -0
- data/schemas/org.json +14 -1
- data/schemas/orgInvites.json +77 -82
- data/schemas/orgInvitesUser.json +44 -47
- data/schemas/orgs.json +14 -1
- data/schemas/paletteResponse.json +372 -364
- data/schemas/periodSummaries.json +1 -1
- data/schemas/recentItemList.json +226 -27
- data/schemas/resourceJob.json +33 -9
- data/schemas/resourceJobExecutionLogs.json +34 -20
- data/schemas/resourceJobExecutionOptions.json +1 -1
- data/schemas/resourceJobPatch.json +9 -9
- data/schemas/resourceJobPost.json +9 -9
- data/schemas/resourceJobs.json +33 -9
- data/schemas/tagValuesResponse.json +1 -2
- data/schemas/templateKeywords.json +1 -0
- data/schemas/timeSeriesData.json +36 -4
- data/schemas/userOauthToken.json +4 -1
- data/schemas/userOauthTokenPost.json +1 -1
- data/schemas/userOauthTokens.json +4 -1
- data/schemas/validateContextError.json +71 -24
- data/schemas/validateContextSuccess.json +71 -24
- metadata +10 -1
data/schemas/notebooks.json
CHANGED
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"format": "date-time"
|
|
31
31
|
},
|
|
32
|
+
"lastExecutionRequested": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "date-time"
|
|
35
|
+
},
|
|
32
36
|
"name": {
|
|
33
37
|
"type": "string",
|
|
34
38
|
"minLength": 1,
|
|
@@ -57,8 +61,12 @@
|
|
|
57
61
|
},
|
|
58
62
|
"inputs": {
|
|
59
63
|
"type": "array",
|
|
64
|
+
"maxItems": 100,
|
|
60
65
|
"items": {
|
|
61
|
-
"
|
|
66
|
+
"type": "object",
|
|
67
|
+
"discriminator": {
|
|
68
|
+
"propertyName": "inputType"
|
|
69
|
+
},
|
|
62
70
|
"oneOf": [
|
|
63
71
|
{
|
|
64
72
|
"type": "object",
|
|
@@ -79,7 +87,7 @@
|
|
|
79
87
|
"type": "string",
|
|
80
88
|
"minLength": 4,
|
|
81
89
|
"maxLength": 255,
|
|
82
|
-
"pattern": "
|
|
90
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
83
91
|
}
|
|
84
92
|
]
|
|
85
93
|
},
|
|
@@ -99,7 +107,7 @@
|
|
|
99
107
|
"type": "string",
|
|
100
108
|
"minLength": 4,
|
|
101
109
|
"maxLength": 255,
|
|
102
|
-
"pattern": "
|
|
110
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
103
111
|
}
|
|
104
112
|
]
|
|
105
113
|
},
|
|
@@ -125,7 +133,7 @@
|
|
|
125
133
|
"type": "string",
|
|
126
134
|
"minLength": 4,
|
|
127
135
|
"maxLength": 255,
|
|
128
|
-
"pattern": "
|
|
136
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
129
137
|
}
|
|
130
138
|
]
|
|
131
139
|
}
|
|
@@ -176,7 +184,7 @@
|
|
|
176
184
|
"type": "string",
|
|
177
185
|
"minLength": 4,
|
|
178
186
|
"maxLength": 255,
|
|
179
|
-
"pattern": "
|
|
187
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
180
188
|
}
|
|
181
189
|
]
|
|
182
190
|
},
|
|
@@ -196,7 +204,7 @@
|
|
|
196
204
|
"type": "string",
|
|
197
205
|
"minLength": 4,
|
|
198
206
|
"maxLength": 255,
|
|
199
|
-
"pattern": "
|
|
207
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
200
208
|
}
|
|
201
209
|
]
|
|
202
210
|
},
|
|
@@ -222,7 +230,7 @@
|
|
|
222
230
|
"type": "string",
|
|
223
231
|
"minLength": 4,
|
|
224
232
|
"maxLength": 255,
|
|
225
|
-
"pattern": "
|
|
233
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
226
234
|
}
|
|
227
235
|
]
|
|
228
236
|
}
|
|
@@ -265,7 +273,7 @@
|
|
|
265
273
|
"type": "string",
|
|
266
274
|
"minLength": 4,
|
|
267
275
|
"maxLength": 255,
|
|
268
|
-
"pattern": "
|
|
276
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
269
277
|
}
|
|
270
278
|
]
|
|
271
279
|
},
|
|
@@ -285,7 +293,7 @@
|
|
|
285
293
|
"type": "string",
|
|
286
294
|
"minLength": 4,
|
|
287
295
|
"maxLength": 255,
|
|
288
|
-
"pattern": "
|
|
296
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
289
297
|
}
|
|
290
298
|
]
|
|
291
299
|
},
|
|
@@ -311,7 +319,7 @@
|
|
|
311
319
|
"type": "string",
|
|
312
320
|
"minLength": 4,
|
|
313
321
|
"maxLength": 255,
|
|
314
|
-
"pattern": "
|
|
322
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
315
323
|
}
|
|
316
324
|
]
|
|
317
325
|
}
|
|
@@ -354,7 +362,7 @@
|
|
|
354
362
|
"type": "string",
|
|
355
363
|
"minLength": 4,
|
|
356
364
|
"maxLength": 255,
|
|
357
|
-
"pattern": "
|
|
365
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
358
366
|
}
|
|
359
367
|
]
|
|
360
368
|
},
|
|
@@ -368,7 +376,7 @@
|
|
|
368
376
|
"type": "string",
|
|
369
377
|
"minLength": 4,
|
|
370
378
|
"maxLength": 255,
|
|
371
|
-
"pattern": "
|
|
379
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
372
380
|
}
|
|
373
381
|
]
|
|
374
382
|
},
|
|
@@ -403,7 +411,7 @@
|
|
|
403
411
|
"type": "string",
|
|
404
412
|
"minLength": 4,
|
|
405
413
|
"maxLength": 255,
|
|
406
|
-
"pattern": "
|
|
414
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
407
415
|
}
|
|
408
416
|
]
|
|
409
417
|
},
|
|
@@ -445,7 +453,7 @@
|
|
|
445
453
|
"type": "string",
|
|
446
454
|
"minLength": 4,
|
|
447
455
|
"maxLength": 255,
|
|
448
|
-
"pattern": "
|
|
456
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
449
457
|
}
|
|
450
458
|
]
|
|
451
459
|
},
|
|
@@ -481,7 +489,7 @@
|
|
|
481
489
|
"type": "string",
|
|
482
490
|
"minLength": 4,
|
|
483
491
|
"maxLength": 255,
|
|
484
|
-
"pattern": "
|
|
492
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
485
493
|
}
|
|
486
494
|
]
|
|
487
495
|
},
|
|
@@ -506,8 +514,12 @@
|
|
|
506
514
|
},
|
|
507
515
|
"outputs": {
|
|
508
516
|
"type": "array",
|
|
517
|
+
"maxItems": 100,
|
|
509
518
|
"items": {
|
|
510
|
-
"
|
|
519
|
+
"type": "object",
|
|
520
|
+
"discriminator": {
|
|
521
|
+
"propertyName": "outputType"
|
|
522
|
+
},
|
|
511
523
|
"oneOf": [
|
|
512
524
|
{
|
|
513
525
|
"type": "object",
|
|
@@ -528,7 +540,7 @@
|
|
|
528
540
|
"type": "string",
|
|
529
541
|
"minLength": 4,
|
|
530
542
|
"maxLength": 255,
|
|
531
|
-
"pattern": "
|
|
543
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
532
544
|
}
|
|
533
545
|
]
|
|
534
546
|
},
|
|
@@ -542,7 +554,7 @@
|
|
|
542
554
|
"type": "string",
|
|
543
555
|
"minLength": 4,
|
|
544
556
|
"maxLength": 255,
|
|
545
|
-
"pattern": "
|
|
557
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
546
558
|
}
|
|
547
559
|
]
|
|
548
560
|
},
|
|
@@ -579,7 +591,7 @@
|
|
|
579
591
|
"type": "string",
|
|
580
592
|
"minLength": 4,
|
|
581
593
|
"maxLength": 255,
|
|
582
|
-
"pattern": "
|
|
594
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
583
595
|
}
|
|
584
596
|
]
|
|
585
597
|
},
|
|
@@ -623,7 +635,7 @@
|
|
|
623
635
|
"type": "string",
|
|
624
636
|
"minLength": 4,
|
|
625
637
|
"maxLength": 255,
|
|
626
|
-
"pattern": "
|
|
638
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
627
639
|
}
|
|
628
640
|
]
|
|
629
641
|
},
|
|
@@ -701,7 +713,7 @@
|
|
|
701
713
|
"type": "string",
|
|
702
714
|
"minLength": 4,
|
|
703
715
|
"maxLength": 255,
|
|
704
|
-
"pattern": "
|
|
716
|
+
"pattern": ".*\\{\\{.+\\}\\}.*"
|
|
705
717
|
}
|
|
706
718
|
]
|
|
707
719
|
}
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"instance"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
|
+
"instanceId": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
33
|
+
},
|
|
30
34
|
"creationDate": {
|
|
31
35
|
"type": "string",
|
|
32
36
|
"format": "date-time"
|
|
@@ -207,6 +211,10 @@
|
|
|
207
211
|
"enum": [
|
|
208
212
|
"instance"
|
|
209
213
|
]
|
|
214
|
+
},
|
|
215
|
+
"instanceId": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
210
218
|
}
|
|
211
219
|
}
|
|
212
220
|
}
|
data/schemas/org.json
CHANGED
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
"type": "string",
|
|
28
28
|
"maxLength": 32767
|
|
29
29
|
},
|
|
30
|
+
"_currentRole": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"admin",
|
|
34
|
+
"edit",
|
|
35
|
+
"collaborate",
|
|
36
|
+
"view",
|
|
37
|
+
"none"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
30
40
|
"members": {
|
|
31
41
|
"type": "array",
|
|
32
42
|
"items": {
|
|
@@ -530,7 +540,7 @@
|
|
|
530
540
|
"type": "integer"
|
|
531
541
|
},
|
|
532
542
|
"minutesThisPeriod": {
|
|
533
|
-
"type": "
|
|
543
|
+
"type": "number"
|
|
534
544
|
},
|
|
535
545
|
"runsThisPeriod": {
|
|
536
546
|
"type": "integer"
|
|
@@ -581,6 +591,9 @@
|
|
|
581
591
|
"minLength": 3
|
|
582
592
|
}
|
|
583
593
|
},
|
|
594
|
+
"auditLogEnabled": {
|
|
595
|
+
"type": "boolean"
|
|
596
|
+
},
|
|
584
597
|
"disabledAt": {
|
|
585
598
|
"oneOf": [
|
|
586
599
|
{
|
data/schemas/orgInvites.json
CHANGED
|
@@ -4,94 +4,89 @@
|
|
|
4
4
|
"items": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"properties": {
|
|
35
|
-
"resourceId": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
38
|
-
},
|
|
39
|
-
"role": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": [
|
|
42
|
-
"collaborate",
|
|
43
|
-
"view",
|
|
44
|
-
"none"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
10
|
+
},
|
|
11
|
+
"email": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"format": "email",
|
|
14
|
+
"maxLength": 1024
|
|
15
|
+
},
|
|
16
|
+
"role": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"admin",
|
|
20
|
+
"edit",
|
|
21
|
+
"collaborate",
|
|
22
|
+
"view",
|
|
23
|
+
"none"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"applicationRoles": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"resourceId": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
47
34
|
},
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
35
|
+
"role": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": [
|
|
38
|
+
"collaborate",
|
|
39
|
+
"view",
|
|
40
|
+
"none"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
53
43
|
},
|
|
54
|
-
"
|
|
44
|
+
"required": [
|
|
45
|
+
"resourceId",
|
|
46
|
+
"role"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
55
49
|
},
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"type": "string",
|
|
67
|
-
"enum": [
|
|
68
|
-
"collaborate",
|
|
69
|
-
"view",
|
|
70
|
-
"none"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
50
|
+
"maxItems": 100
|
|
51
|
+
},
|
|
52
|
+
"dashboardRoles": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"resourceId": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
73
60
|
},
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
61
|
+
"role": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"collaborate",
|
|
65
|
+
"view",
|
|
66
|
+
"none"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
79
69
|
},
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
},
|
|
86
|
-
"ttl": {
|
|
87
|
-
"type": "number"
|
|
88
|
-
},
|
|
89
|
-
"hasExpired": {
|
|
90
|
-
"type": "boolean"
|
|
70
|
+
"required": [
|
|
71
|
+
"resourceId",
|
|
72
|
+
"role"
|
|
73
|
+
],
|
|
74
|
+
"additionalProperties": false
|
|
91
75
|
},
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
76
|
+
"maxItems": 100
|
|
77
|
+
},
|
|
78
|
+
"inviteDate": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"format": "date-time"
|
|
81
|
+
},
|
|
82
|
+
"ttl": {
|
|
83
|
+
"type": "number"
|
|
84
|
+
},
|
|
85
|
+
"hasExpired": {
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"disallowTransfer": {
|
|
89
|
+
"type": "boolean"
|
|
95
90
|
}
|
|
96
91
|
}
|
|
97
92
|
}
|
data/schemas/orgInvitesUser.json
CHANGED
|
@@ -2,55 +2,52 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "array",
|
|
4
4
|
"items": {
|
|
5
|
+
"title": "Organization Invitation Information For User",
|
|
6
|
+
"description": "Schema for information about an invitation",
|
|
5
7
|
"type": "object",
|
|
6
8
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"email": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"format": "email",
|
|
52
|
-
"maxLength": 1024
|
|
53
|
-
}
|
|
9
|
+
"orgName": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"maxLength": 255
|
|
13
|
+
},
|
|
14
|
+
"role": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"admin",
|
|
18
|
+
"edit",
|
|
19
|
+
"collaborate",
|
|
20
|
+
"view",
|
|
21
|
+
"none"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"requiresMFA": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"inviteDate": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "date-time"
|
|
30
|
+
},
|
|
31
|
+
"ttl": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
"expired": {
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
"id": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
40
|
+
},
|
|
41
|
+
"invitedBy": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"fullName": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"email": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "email",
|
|
50
|
+
"maxLength": 1024
|
|
54
51
|
}
|
|
55
52
|
}
|
|
56
53
|
}
|
data/schemas/orgs.json
CHANGED
|
@@ -34,6 +34,16 @@
|
|
|
34
34
|
"type": "string",
|
|
35
35
|
"maxLength": 32767
|
|
36
36
|
},
|
|
37
|
+
"_currentRole": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"enum": [
|
|
40
|
+
"admin",
|
|
41
|
+
"edit",
|
|
42
|
+
"collaborate",
|
|
43
|
+
"view",
|
|
44
|
+
"none"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
37
47
|
"members": {
|
|
38
48
|
"type": "array",
|
|
39
49
|
"items": {
|
|
@@ -537,7 +547,7 @@
|
|
|
537
547
|
"type": "integer"
|
|
538
548
|
},
|
|
539
549
|
"minutesThisPeriod": {
|
|
540
|
-
"type": "
|
|
550
|
+
"type": "number"
|
|
541
551
|
},
|
|
542
552
|
"runsThisPeriod": {
|
|
543
553
|
"type": "integer"
|
|
@@ -588,6 +598,9 @@
|
|
|
588
598
|
"minLength": 3
|
|
589
599
|
}
|
|
590
600
|
},
|
|
601
|
+
"auditLogEnabled": {
|
|
602
|
+
"type": "boolean"
|
|
603
|
+
},
|
|
591
604
|
"disabledAt": {
|
|
592
605
|
"oneOf": [
|
|
593
606
|
{
|