-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathteam_log_generated.stone
12511 lines (9792 loc) · 404 KB
/
team_log_generated.stone
1
2
3
4
5
6
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file is @generated by code. Do not edit this file directly !!
namespace team_log
import common
import file_requests
import files
import sharing
import team
import team_common
import team_policies
import users_common
alias FilePath = String
alias NamespaceId = String
alias EmailAddress = String(max_length=255)
alias AppId = String
alias IpAddress = String
alias RequestId = String
###################
# QuickActionType
###################
union QuickActionType
"Quick action type."
delete_shared_link
reset_password
restore_file_or_folder
unlink_app
unlink_device
unlink_session
example default
delete_shared_link = null
########################################
# Union types that are used by events.
########################################
union AccessMethodLogInfo
"Indicates the method in which the action was performed."
admin_console WebSessionLogInfo
"Admin console session details."
api ApiSessionLogInfo
"Api session details."
content_manager WebSessionLogInfo
"Content manager session details."
end_user SessionLogInfo
"End user session details."
enterprise_console WebSessionLogInfo
"Enterprise console session details."
sign_in_as WebSessionLogInfo
"Sign in as session details."
example default
end_user = default
example default2
end_user = default2
union AccountCaptureAvailability
available
unavailable
union AccountCaptureNotificationType
actionable_notification
proactive_warning_notification
union AccountCapturePolicy
all_users
disabled
invited_users
prevent_personal_creation
union AccountState
locked
unlocked
union ActionDetails
"Additional information indicating the action taken that caused status change."
remove_action MemberRemoveActionType
"Define how the user was removed from the team."
team_invite_details TeamInviteDetails
"Additional information relevant when someone is invited to the team."
team_join_details JoinTeamDetails
"Additional information relevant when a new member joins the team."
example default
team_join_details = default
example default2
team_join_details = default2
struct JoinTeamDetails
"Additional information relevant when a new member joins the team."
linked_apps List(UserLinkedAppLogInfo)
"Linked applications. (Deprecated) Please use has_linked_apps boolean field instead."
linked_devices List(LinkedDeviceLogInfo)
"Linked devices. (Deprecated) Please use has_linked_devices boolean field instead."
linked_shared_folders List(FolderLogInfo)
"Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead."
was_linked_apps_truncated Boolean?
"(Deprecated) True if the linked_apps list was truncated to the maximum supported length (50)."
was_linked_devices_truncated Boolean?
"(Deprecated) True if the linked_devices list was truncated to the maximum supported length (50)."
was_linked_shared_folders_truncated Boolean?
"(Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50)."
has_linked_apps Boolean?
"True if the user had linked apps at event time."
has_linked_devices Boolean?
"True if the user had linked apps at event time."
has_linked_shared_folders Boolean?
"True if the user had linked shared folders at event time."
example default
linked_apps = [default]
linked_devices = [default]
linked_shared_folders = [default]
was_linked_apps_truncated = true
was_linked_devices_truncated = true
was_linked_shared_folders_truncated = true
has_linked_apps = true
has_linked_devices = true
has_linked_shared_folders = true
example default2
linked_apps = [default2]
linked_devices = [default2]
linked_shared_folders = [default2]
was_linked_apps_truncated = false
was_linked_devices_truncated = false
was_linked_shared_folders_truncated = false
has_linked_apps = false
has_linked_devices = false
has_linked_shared_folders = false
union LinkedDeviceLogInfo
"The device sessions that user is linked to."
desktop_device_session DesktopDeviceSessionLogInfo
"desktop device session's details."
legacy_device_session LegacyDeviceSessionLogInfo
"legacy device session's details."
mobile_device_session MobileDeviceSessionLogInfo
"mobile device session's details."
web_device_session WebDeviceSessionLogInfo
"web device session's details."
example default
mobile_device_session = default
example default2
mobile_device_session = default2
struct TeamInviteDetails
"Details about team invites"
invite_method InviteMethod
"How the user was invited to the team."
additional_license_purchase Boolean?
"True if the invitation incurred an additional license purchase."
example default
invite_method = invite_link
additional_license_purchase = true
example default2
invite_method = invite_link
additional_license_purchase = false
union InviteMethod
auto_approve
invite_link
member_invite
moved_from_another_team
union MemberRemoveActionType
delete
leave
offboard
offboard_and_retain_team_folders
union AdminAlertCategoryEnum
"Alert category"
account_takeover
data_loss_protection
information_governance
malware_sharing
massive_file_operation
na
threat_management
union AdminAlertGeneralStateEnum
"Alert state"
active
dismissed
in_progress
na
resolved
union AdminAlertSeverityEnum
"Alert severity"
high
info
low
medium
na
struct AdminAlertingAlertConfiguration
"Alert configurations"
alert_state AdminAlertingAlertStatePolicy?
"Alert state."
sensitivity_level AdminAlertingAlertSensitivity?
"Sensitivity level."
recipients_settings RecipientsConfiguration?
"Recipient settings."
text String?
"Text."
excluded_file_extensions String?
"Excluded file extensions."
example default
alert_state = off
sensitivity_level = invalid
recipients_settings = default
text = "abc"
excluded_file_extensions = "abc"
example default2
alert_state = off
sensitivity_level = invalid
recipients_settings = default2
text = "xyz"
excluded_file_extensions = "xyz"
struct RecipientsConfiguration
"Recipients Configuration"
recipient_setting_type AlertRecipientsSettingType?
"Recipients setting type."
emails List(EmailAddress)?
"A list of user emails to notify."
groups List(String)?
"A list of groups to notify."
example default
recipient_setting_type = invalid
emails = ["john_smith@acmecorp.com"]
groups = ["abc"]
example default2
recipient_setting_type = invalid
emails = ["jane_smith@acmecorp.com"]
groups = ["xyz"]
union AlertRecipientsSettingType
"Alert recipients setting type"
custom_list
invalid
none
team_admins
union AdminAlertingAlertSensitivity
"Alert sensitivity"
high
highest
invalid
low
lowest
medium
union AdminAlertingAlertStatePolicy
"Policy for controlling whether an alert can be triggered or not"
off
on
union AdminConsoleAppPermission
default_for_listed_apps
default_for_unlisted_apps
union AdminConsoleAppPolicy
allow
block
default
union AdminEmailRemindersPolicy
"Policy for deciding whether team admins receive reminder emails for requests to join the team"
default
disabled
enabled
union AdminRole
billing_admin
compliance_admin
content_admin
limited_admin
member_only
reporting_admin
security_admin
support_admin
team_admin
user_management_admin
union BackupStatus
"Backup status"
disabled
enabled
union CameraUploadsPolicy
"Policy for controlling if team members can activate camera uploads"
disabled
enabled
union CaptureTranscriptPolicy
"Policy for deciding whether team users can transcription in Capture"
default
disabled
enabled
struct Certificate
"Certificate details."
subject String
"Certificate subject."
issuer String
"Certificate issuer."
issue_date String
"Certificate issue date."
expiration_date String
"Certificate expiration date."
serial_number String
"Certificate serial number."
sha1_fingerprint String
"Certificate sha1 fingerprint."
common_name String?
"Certificate common name."
example default
subject = "abc"
issuer = "abc"
issue_date = "abc"
expiration_date = "abc"
serial_number = "abc"
sha1_fingerprint = "abc"
common_name = "abc"
example default2
subject = "xyz"
issuer = "xyz"
issue_date = "xyz"
expiration_date = "xyz"
serial_number = "xyz"
sha1_fingerprint = "xyz"
common_name = "xyz"
union ChangeLinkExpirationPolicy
"Policy for deciding whether the team's default expiration days policy must be enforced when an externally shared link is updated"
allowed
not_allowed
union ClassificationPolicyEnumWrapper
"Policy for controlling team access to the classification feature"
disabled
enabled
member_and_team_folders
team_folders
union ClassificationType
"The type of classification (currently only personal information)"
personal_information
pii
union ComputerBackupPolicy
"Policy for controlling team access to computer backup feature"
default
disabled
enabled
union ContentPermanentDeletePolicy
"Policy for pemanent content deletion"
disabled
enabled
union DefaultLinkExpirationDaysPolicy
"Policy for the default number of days until an externally shared link expires"
day_1
day_180
day_3
day_30
day_7
day_90
none
year_1
union DeviceApprovalsPolicy
limited
unlimited
union DeviceType
desktop
mobile
union DeviceUnlinkPolicy
keep
remove
union DispositionActionType
automatic_delete
automatic_permanently_delete
union DownloadPolicyType
"Shared content downloads policy"
allow
disallow
union DropboxPasswordsPolicy
"Policy for deciding whether team users can use Dropbox Passwords"
default
disabled
enabled
union EmailIngestPolicy
"Policy for deciding whether a team can use Email to Dropbox feature"
disabled
enabled
union EnforceLinkPasswordPolicy
"Policy for deciding whether password must be enforced when an externally shared link is updated"
optional
required
union ExtendedVersionHistoryPolicy
explicitly_limited
explicitly_unlimited
implicitly_limited
implicitly_unlimited
union ExternalDriveBackupEligibilityStatus
"External Drive Backup eligibility status"
exceed_license_cap
success
union ExternalDriveBackupPolicy
"Policy for controlling team access to external drive backup feature"
default
disabled
enabled
union ExternalDriveBackupStatus
"External Drive Backup status"
broken
created
created_or_broken
deleted
empty
unknown
struct FailureDetailsLogInfo
"Provides details about a failure"
user_friendly_message String?
"A user friendly explanation of the error."
technical_error_message String?
"A technical explanation of the error. This is relevant for some errors."
example default
user_friendly_message = "abc"
technical_error_message = "abc"
example default2
user_friendly_message = "xyz"
technical_error_message = "xyz"
union FedAdminRole
enterprise_admin
not_enterprise_admin
union FedExtraDetails
"More details about the organization or team."
organization OrganizationDetails
"More details about the organization."
team TeamDetails
"More details about the team."
example default
team = default
example default2
team = default2
struct TeamDetails
"More details about the team."
team String
"The name of the team."
example default
team = "My Team"
example default2
team = "My Team"
struct OrganizationDetails
"More details about the organization."
organization String
"The name of the organization."
example default
organization = "My Organization"
example default2
organization = "My Organization"
union FedHandshakeAction
accepted_invite
canceled_invite
invite_expired
invited
rejected_invite
removed_team
union FederationStatusChangeAdditionalInfo
"Additional information about the organization or connected team"
connected_team_name ConnectedTeamName
"The name of the team."
non_trusted_team_details NonTrustedTeamDetails
"The email to which the request was sent."
organization_name OrganizationName
"The name of the organization."
example default
connected_team_name = default
example default2
connected_team_name = default2
struct OrganizationName
"The name of the organization"
organization String
"The name of the organization."
example default
organization = "My Organization"
example default2
organization = "My Organization"
struct NonTrustedTeamDetails
"The email to which the request was sent"
team String
"The email to which the request was sent."
example default
team = "abc"
example default2
team = "xyz"
struct ConnectedTeamName
"The name of the team"
team String
"The name of the team."
example default
team = "My Team"
example default2
team = "My Team"
union FileCommentNotificationPolicy
"Enable or disable file comments notifications"
disabled
enabled
union FileCommentsPolicy
"File comments policy"
disabled
enabled
struct FileRequestDetails
"File request details"
asset_index UInt64
"Asset position in the Assets list."
deadline FileRequestDeadline?
"File request deadline."
example default
asset_index = 3
deadline = default
example default2
asset_index = 4
deadline = default2
struct FileRequestDeadline
"File request deadline"
deadline common.DropboxTimestamp?
"The deadline for this file request. Might be missing due to historical data gap."
allow_late_uploads String?
"If set, allow uploads after the deadline has passed."
example default
deadline = "2017-01-25T15:51:30Z"
allow_late_uploads = "one_day"
example default2
deadline = "2017-01-25T15:51:30Z"
allow_late_uploads = "one_day"
union FileRequestsPolicy
"File requests policy"
disabled
enabled
union FileTransfersPolicy
"File transfers policy"
disabled
enabled
union FolderLinkRestrictionPolicy
"Policy for deciding whether applying link restrictions on all team owned folders"
disabled
enabled
struct GeoLocationLogInfo
"Geographic location details."
city String?
"City name."
region String?
"Region name."
country String?
"Country code."
ip_address IpAddress
"IP address."
example default
city = "San Francisco"
region = "California"
country = "US"
ip_address = "45.56.78.100"
example default2
city = "San Francisco"
region = "California"
country = "US"
ip_address = "45.56.78.100"
union GoogleSsoPolicy
"Google SSO policy"
disabled
enabled
union GroupJoinPolicy
open
request_to_join
union IdentifierType
email
facebook_profile_name
union IntegrationPolicy
"Policy for controlling whether a service integration is enabled for the team."
disabled
enabled
union InviteAcceptanceEmailPolicy
"Policy for deciding whether team admins receive email when an invitation to join the team is accepted"
disabled
enabled
union LabelType
"Label type"
personal_information
test_only
user_defined_tag
union LockStatus
"File lock status"
locked
unlocked
union LoginMethod
apple_oauth
first_party_token_exchange
google_oauth
lenovo_oauth
password
qr_code
saml
two_factor_authentication
web_session
union MemberRequestsPolicy
auto_accept
disabled
require_approval
union MemberSendInvitePolicy
"Policy for controlling whether team members can send team invites"
disabled
everyone
specific_members
union MemberStatus
active
invited
moved_to_another_team
not_joined
removed
suspended
union MemberSuggestionsPolicy
"Member suggestions policy"
disabled
enabled
struct MemberTransferredInternalFields
"Internal only - fields for target team computations"
source_team_id team_common.TeamId
"Internal only - team user was moved from."
target_team_id team_common.TeamId
"Internal only - team user was moved to."
example default
source_team_id = "dbtid:AAE3tIYgVuVT1gZork5wQJbXbmlrkBMq26c"
target_team_id = "dbtid:AAE3tIYgVuVT1gZork5wQJbXbmlrkBMq26c"
example default2
source_team_id = "dbtid:AAFAqKNLrx_W9MFkS2gWftX0QfTZpo03WsE"
target_team_id = "dbtid:AAFAqKNLrx_W9MFkS2gWftX0QfTZpo03WsE"
union MicrosoftOfficeAddinPolicy
"Microsoft Office addin policy"
disabled
enabled
union NetworkControlPolicy
"Network control policy"
disabled
enabled
union PaperAccessType
commenter
editor
viewer
union PaperDefaultFolderPolicy
"Policy to set default access for newly created Paper folders."
everyone_in_team
invite_only
union PaperDesktopPolicy
"Policy for controlling if team members can use Paper Desktop"
disabled
enabled
union PaperDownloadFormat
docx
html
markdown
pdf
union PaperMemberPolicy
"Policy for controlling if team members can share Paper documents externally."
anyone_with_link
only_team
team_and_explicitly_shared
union PassPolicy
allow
disabled
enabled
union PlacementRestriction
australia_only
europe_only
japan_only
none
uk_only
us_s3_only
union PolicyType
disposition
retention
struct RelocateAssetReferencesLogInfo
"Provides the indices of the source asset and the destination asset for a relocate action."
src_asset_index UInt64
"Source asset position in the Assets list."
dest_asset_index UInt64
"Destination asset position in the Assets list."
example default
src_asset_index = 3
dest_asset_index = 3
example default2
src_asset_index = 4
dest_asset_index = 4
union ResellerRole
not_reseller
reseller_admin
union ResellerSupportPolicy
"Policy for controlling if reseller can access the admin console as administrator"
disabled
enabled
union RewindPolicy
"Policy for controlling whether team members can rewind"
admins_only
everyone
union SecondaryMailsPolicy
disabled
enabled
union SendForSignaturePolicy
"Policy for controlling team access to send for signature feature"
disabled
enabled
union SharedFolderMembersInheritancePolicy
"Specifies if a shared folder inherits its members from the parent folder."
dont_inherit_members
inherit_members
union SharedLinkAccessLevel
"Shared link access level."
none
reader
writer
union SharedLinkVisibility
"Defines who has access to a shared link."
no_one
password
public
team_only
union SharingFolderJoinPolicy
"Policy for controlling if team members can join shared folders owned by non team members."
from_anyone
from_team_only
union SharingLinkPolicy
"Policy for controlling if team members can share links externally"
default_no_one
default_private
default_public
only_private
union SharingMemberPolicy
"External sharing policy"
allow
forbid
forbid_with_exclusions
struct ShowcaseDocumentLogInfo
"Showcase document's logged information."
showcase_id String
"Showcase document Id."
showcase_title String
"Showcase document title."
example default
showcase_id = "fvti8SoWq5tdyM1YMXl5z"
showcase_title = "Sample Showcase Proposal"
example default2
showcase_id = "fvti8SoWq5tdyM1YMXl5z"
showcase_title = "Sample Showcase Proposal"
union ShowcaseDownloadPolicy
"Policy for controlling if files can be downloaded from Showcases by team members"
disabled
enabled
union ShowcaseEnabledPolicy
"Policy for controlling whether Showcase is enabled."
disabled
enabled
union ShowcaseExternalSharingPolicy
"Policy for controlling if team members can share Showcases externally."
disabled
enabled
union SmartSyncOptOutPolicy
default
opted_out
union SpaceCapsType
"Space limit alert policy"
hard
off
soft
union SpaceLimitsStatus
near_quota
over_quota
within_quota
union TeamBrandingPolicy
"Policy for controlling team access to setting up branding feature"
disabled
enabled
union TeamExtensionsPolicy
"Policy for controlling whether App Integrations are enabled for the team."
disabled
enabled
struct TeamLogInfo
"Team's logged information."
display_name String
"Team display name."
example default
display_name = "A Team"
example default2
display_name = "A Team"
union TeamMembershipType
free
full
guest
union TeamMergeRequestAcceptedExtraDetails
"Team merge request acceptance details"
primary_team PrimaryTeamRequestAcceptedDetails
"Team merge request accepted details shown to the primary team."
secondary_team SecondaryTeamRequestAcceptedDetails
"Team merge request accepted details shown to the secondary team."
example default
primary_team = default
example default2
primary_team = default2
struct SecondaryTeamRequestAcceptedDetails
"Team merge request acceptance details shown to the secondary team"
primary_team String
"The primary team name."
sent_by String
"The name of the secondary team admin who sent the request originally."
example default
primary_team = "IT Department"
sent_by = "Dan Eveninglily"
example default2
primary_team = "IT Department"
sent_by = "Dan Eveninglily"
struct PrimaryTeamRequestAcceptedDetails
"Team merge request acceptance details shown to the primary team"
secondary_team String
"The secondary team name."
sent_by String
"The name of the secondary team admin who sent the request originally."
example default
secondary_team = "IT Department"
sent_by = "Dan Eveninglily"
example default2
secondary_team = "IT Department"
sent_by = "Dan Eveninglily"
union TeamMergeRequestCanceledExtraDetails
"Team merge request cancellation details"