From c8364404953d875801d496a81f786c5545f78223 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Wed, 26 Apr 2023 09:50:36 -0700 Subject: [PATCH] Spec Update 04/26/2023 (#) (#77) Change Notes: check_api_v2_types Namespace - Update EchoArg DataType.STRUCT files Namespace - Update DeleteBatchArg DataType.STRUCT - Update RelocationBatchArgBase DataType.STRUCT - Update save_url DataType.ROUTE team_log_generated Namespace - Add RansomwareRestoreProcessCompletedDetails, RansomwareRestoreProcessStartedDetails, TeamEncryptionKeyCancelKeyDeletionDetails, TeamEncryptionKeyCreateKeyDetails, TeamEncryptionKeyDeleteKeyDetails, TeamEncryptionKeyDisableKeyDetails, TeamEncryptionKeyEnableKeyDetails, TeamEncryptionKeyRotateKeyDetails, TeamEncryptionKeyScheduleKeyDeletionDetails, FileAddFromAutomationDetails, ReplayFileDeleteDetails, BackupAdminInvitationSentDetails, BackupInvitationOpenedDetails, RansomwareAlertCreateReportDetails, RansomwareAlertCreateReportFailedDetails, ReplayFileSharedLinkCreatedDetails, ReplayFileSharedLinkModifiedDetails, ReplayProjectTeamAddDetails, ReplayProjectTeamDeleteDetails, RansomwareRestoreProcessCompletedType, RansomwareRestoreProcessStartedType, TeamEncryptionKeyCancelKeyDeletionType, TeamEncryptionKeyCreateKeyType, TeamEncryptionKeyDeleteKeyType, TeamEncryptionKeyDisableKeyType, TeamEncryptionKeyEnableKeyType, TeamEncryptionKeyRotateKeyType, TeamEncryptionKeyScheduleKeyDeletionType, FileAddFromAutomationType, ReplayFileDeleteType, BackupAdminInvitationSentType, BackupInvitationOpenedType, RansomwareAlertCreateReportType, RansomwareAlertCreateReportFailedType, ReplayFileSharedLinkCreatedType, ReplayFileSharedLinkModifiedType, ReplayProjectTeamAddType, ReplayProjectTeamDeleteType structs team_member_space_limits Namespace - Update member_space_limits/set_custom_quota(SetCustomQuotaArg, List DataType.ROUTE - Update member_space_limits/remove_custom_quota(CustomQuotaUsersArg, List DataType.ROUTE - Update member_space_limits/get_custom_quota(CustomQuotaUsersArg, List DataType.ROUTE - Update member_space_limits/get_custom_quota(CustomQuotaUsersArg, List DataType.ROUTE team_policies Namespace - Add SharedFolderBlanketLinkRestrictionPolicy unions Co-authored-by: Scott Erickson --- auth.stone | 2 +- check_api_v2_types.stone | 2 +- file_requests.stone | 2 - file_tagging.stone | 2 +- files.stone | 6 +- sharing_folders.stone | 17 +- team.stone | 2 +- team_log_generated.stone | 315 +++++++++++++++++++++++++++++++++ team_member_space_limits.stone | 14 +- team_policies.stone | 11 ++ 10 files changed, 357 insertions(+), 16 deletions(-) diff --git a/auth.stone b/auth.stone index 7ed9a7a..a30bcd3 100644 --- a/auth.stone +++ b/auth.stone @@ -78,7 +78,7 @@ union TokenFromOAuth1Error app_id_mismatch "The authorized app does not match the app associated with the supplied access token." -route token/from_oauth1(TokenFromOAuth1Arg, TokenFromOAuth1Result, TokenFromOAuth1Error) +route token/from_oauth1(TokenFromOAuth1Arg, TokenFromOAuth1Result, TokenFromOAuth1Error) deprecated "Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access token." attrs auth = "app" diff --git a/check_api_v2_types.stone b/check_api_v2_types.stone index 2d32ead..3911f84 100644 --- a/check_api_v2_types.stone +++ b/check_api_v2_types.stone @@ -5,7 +5,7 @@ namespace check import common struct EchoArg - "EchoArg contains the arguments to be sent to the Dropbox servers." + "Contains the arguments to be sent to the Dropbox servers." query String(max_length=500) = "" "The string that you'd like to be echoed back to you." diff --git a/file_requests.stone b/file_requests.stone index b37c7e8..8dae211 100644 --- a/file_requests.stone +++ b/file_requests.stone @@ -135,7 +135,6 @@ route list:2(ListFileRequestsArg, ListFileRequestsV2Result, ListFileRequestsErro attrs allow_app_folder_app = true - is_preview = true scope = "file_requests.read" struct ListFileRequestsArg @@ -172,7 +171,6 @@ route list/continue(ListFileRequestsContinueArg, ListFileRequestsV2Result, ListF :route:`list/continue`." attrs allow_app_folder_app = true - is_preview = true scope = "file_requests.read" struct ListFileRequestsContinueArg diff --git a/file_tagging.stone b/file_tagging.stone index 65b075e..4d3842e 100644 --- a/file_tagging.stone +++ b/file_tagging.stone @@ -3,7 +3,7 @@ namespace files import common import async -alias TagText = String(min_length=1, max_length=32, pattern="[A-Za-z0-9\_]+") +alias TagText = String(min_length=1, max_length=32, pattern="[\\w]+") union Tag "Tag that can be added in multiple ways." diff --git a/files.stone b/files.stone index ca5b14d..b8348d2 100644 --- a/files.stone +++ b/files.stone @@ -1783,7 +1783,7 @@ union DeleteError "There are too many files in one request. Please retry with fewer files." struct DeleteBatchArg - entries List(DeleteArg) + entries List(DeleteArg, max_items=1000) example default entries = [delete] @@ -1987,7 +1987,7 @@ struct RelocationResult extends FileOpsResult metadata = default struct RelocationBatchArgBase - entries List(RelocationPath, min_items=1) + entries List(RelocationPath, min_items=1, max_items=1000) "List of entries to be moved or copied. Each entry is :type:`RelocationPath`." autorename Boolean = false "If there's a conflict with any file, have the Dropbox server try to @@ -2864,7 +2864,7 @@ union SaveUrlError route save_url(SaveUrlArg, SaveUrlResult, SaveUrlError) "Save the data from a specified URL into a file in user's Dropbox. - Note that the transfer from the URL must complete within 5 minutes, or the + Note that the transfer from the URL must complete within 15 minutes, or the operation will time out and the job will fail. If the given path already exists, the file will be renamed to avoid the diff --git a/sharing_folders.stone b/sharing_folders.stone index 09053bd..dc487c9 100644 --- a/sharing_folders.stone +++ b/sharing_folders.stone @@ -25,6 +25,12 @@ union AccessLevel traverse "The collaborator can only view the shared folder that they have access to." + no_access + "If there is a Righteous Link on the folder which grants access + and the user has visited such link, they are allowed to perform + certain action (i.e. add themselves to the folder) via the link + access even though the user themselves are not a member on the + shared folder yet." struct FolderPolicy "A set of policies governing membership and privileges for a shared @@ -349,6 +355,9 @@ struct SharedFolderMetadataBase "The ID of the parent shared folder. This field is present only if the folder is contained within another shared folder." + path_display String? + "The full path of this shared folder. Absent for unmounted folders." + path_lower String? "The lower-cased full path of this shared folder. Absent for unmounted folders." @@ -425,6 +434,8 @@ union SharedFolderAccessError not_a_member "The user is not a member of the shared folder thus cannot access it." + invalid_member + "The user does not exist or their account is disabled." email_unverified "Never set." unmounted @@ -666,9 +677,9 @@ struct ShareFolderArgBase member_policy MemberPolicy? "Who can be a member of this shared folder. Only applicable if the current user is on a team." - path files.WritePath - "The path to the folder to share. If it does not exist, then a new one - is created." + path files.WritePathOrId + "The path or the file id to the folder to share. If it does not exist, + then a new one is created." shared_link_policy SharedLinkPolicy? "The policy to apply to shared links created for content inside this shared folder. The current user must be on a team to set this policy to diff --git a/team.stone b/team.stone index e955e4d..49024b7 100644 --- a/team.stone +++ b/team.stone @@ -159,7 +159,7 @@ struct TeamGetInfoResult num_provisioned_users UInt32 "The number of accounts that have been invited or are already active members of the team." - num_used_licenses UInt32 + num_used_licenses UInt32 = 0 "The number of licenses used on the team." policies team_policies.TeamMemberPolicies diff --git a/team_log_generated.stone b/team_log_generated.stone index d13cff1..fb34c8b 100644 --- a/team_log_generated.stone +++ b/team_log_generated.stone @@ -75,6 +75,7 @@ union AccountCapturePolicy all_users disabled invited_users + prevent_personal_creation union AccountState locked @@ -699,6 +700,7 @@ union LoginMethod apple_oauth first_party_token_exchange google_oauth + lenovo_oauth password qr_code saml @@ -1914,6 +1916,8 @@ union EventCategory "Events that apply to linked devices on mobile, desktop and Web platforms." domains "Events that involve domain management feature: domain verification, invite enforcement and account capture." + encryption + "Events that involve encryption." file_operations "Events that have to do with filesystem operations on files and folders: copy, move, delete, etc." file_requests @@ -2011,6 +2015,30 @@ struct AdminAlertingTriggeredAlertDetails alert_category = na alert_instance_id = "pid_admin_alert:AAgAAOVHYCEuavqE0v3Jj9VDogV4wG9q8F-XZKwYpuYTVBm5" +struct RansomwareRestoreProcessCompletedDetails + "Completed ransomware restore process." + + status String + "The status of the restore process." + restored_files_count Int64 + "Restored files count." + restored_files_failed_count Int64 + "Restored files failed count." + + example default + status = "abc" + restored_files_count = 3 + restored_files_failed_count = 3 + +struct RansomwareRestoreProcessStartedDetails + "Started ransomware restore process." + + extension String + "Ransomware filename extension." + + example default + extension = "abc" + struct AppBlockedByPermissionsDetails "Failed to connect app for member." @@ -2821,6 +2849,48 @@ struct DomainVerificationRemoveDomainDetails struct EnabledDomainInvitesDetails "Enabled domain invites." +struct TeamEncryptionKeyCancelKeyDeletionDetails + "Canceled team encryption key deletion." + + + example default + +struct TeamEncryptionKeyCreateKeyDetails + "Created team encryption key." + + + example default + +struct TeamEncryptionKeyDeleteKeyDetails + "Deleted team encryption key." + + + example default + +struct TeamEncryptionKeyDisableKeyDetails + "Disabled team encryption key." + + + example default + +struct TeamEncryptionKeyEnableKeyDetails + "Enabled team encryption key." + + + example default + +struct TeamEncryptionKeyRotateKeyDetails + "Rotated team encryption key." + + + example default + +struct TeamEncryptionKeyScheduleKeyDeletionDetails + "Scheduled encryption key deletion." + + + example default + struct ApplyNamingConventionDetails "Applied naming convention." @@ -2830,6 +2900,9 @@ struct CreateFolderDetails struct FileAddDetails "Added files and/or folders." +struct FileAddFromAutomationDetails + "Added files and/or folders from automation." + struct FileCopyDetails "Copied files and/or folders." @@ -2971,6 +3044,9 @@ struct ObjectLabelUpdatedValueDetails struct OrganizeFolderWithTidyDetails "Organized a folder with multi-file organize." +struct ReplayFileDeleteDetails + "Deleted files in Replay." + struct RewindFolderDetails "Rewound a folder." @@ -3313,6 +3389,12 @@ struct SsoErrorDetails example default error_details = default +struct BackupAdminInvitationSentDetails + "Invited members to activate Backup." + +struct BackupInvitationOpenedDetails + "Opened Backup invite." + struct CreateTeamInviteLinkDetails "Created team invite link." @@ -4250,6 +4332,18 @@ struct OutdatedLinkViewReportFailedDetails struct PaperAdminExportStartDetails "Exported all team Paper docs." +struct RansomwareAlertCreateReportDetails + "Created ransomware report." + +struct RansomwareAlertCreateReportFailedDetails + "Couldn't generate ransomware report." + + failure_reason team.TeamReportFailureReason + "Failure reason." + + example default + failure_reason = temporary_error + struct SmartSyncCreateAdminPrivilegeReportDetails "Created Smart Sync non-admin devices report." @@ -4346,6 +4440,18 @@ struct NoteShareReceiveDetails struct OpenNoteSharedDetails "Opened shared Paper doc." +struct ReplayFileSharedLinkCreatedDetails + "Created shared link in Replay." + +struct ReplayFileSharedLinkModifiedDetails + "Modified shared link in Replay." + +struct ReplayProjectTeamAddDetails + "Added member to Replay Project." + +struct ReplayProjectTeamDeleteDetails + "Removed member from Replay Project." + struct SfAddGroupDetails "Added team to shared folder." @@ -6810,6 +6916,8 @@ union EventDetails admin_alerting_alert_state_changed_details AdminAlertingAlertStateChangedDetails admin_alerting_changed_alert_config_details AdminAlertingChangedAlertConfigDetails admin_alerting_triggered_alert_details AdminAlertingTriggeredAlertDetails + ransomware_restore_process_completed_details RansomwareRestoreProcessCompletedDetails + ransomware_restore_process_started_details RansomwareRestoreProcessStartedDetails app_blocked_by_permissions_details AppBlockedByPermissionsDetails app_link_team_details AppLinkTeamDetails app_link_user_details AppLinkUserDetails @@ -6879,9 +6987,17 @@ union EventDetails domain_verification_add_domain_success_details DomainVerificationAddDomainSuccessDetails domain_verification_remove_domain_details DomainVerificationRemoveDomainDetails enabled_domain_invites_details EnabledDomainInvitesDetails + team_encryption_key_cancel_key_deletion_details TeamEncryptionKeyCancelKeyDeletionDetails + team_encryption_key_create_key_details TeamEncryptionKeyCreateKeyDetails + team_encryption_key_delete_key_details TeamEncryptionKeyDeleteKeyDetails + team_encryption_key_disable_key_details TeamEncryptionKeyDisableKeyDetails + team_encryption_key_enable_key_details TeamEncryptionKeyEnableKeyDetails + team_encryption_key_rotate_key_details TeamEncryptionKeyRotateKeyDetails + team_encryption_key_schedule_key_deletion_details TeamEncryptionKeyScheduleKeyDeletionDetails apply_naming_convention_details ApplyNamingConventionDetails create_folder_details CreateFolderDetails file_add_details FileAddDetails + file_add_from_automation_details FileAddFromAutomationDetails file_copy_details FileCopyDetails file_delete_details FileDeleteDetails file_download_details FileDownloadDetails @@ -6903,6 +7019,7 @@ union EventDetails object_label_removed_details ObjectLabelRemovedDetails object_label_updated_value_details ObjectLabelUpdatedValueDetails organize_folder_with_tidy_details OrganizeFolderWithTidyDetails + replay_file_delete_details ReplayFileDeleteDetails rewind_folder_details RewindFolderDetails undo_naming_convention_details UndoNamingConventionDetails undo_organize_folder_with_tidy_details UndoOrganizeFolderWithTidyDetails @@ -6939,6 +7056,8 @@ union EventDetails sign_in_as_session_end_details SignInAsSessionEndDetails sign_in_as_session_start_details SignInAsSessionStartDetails sso_error_details SsoErrorDetails + backup_admin_invitation_sent_details BackupAdminInvitationSentDetails + backup_invitation_opened_details BackupInvitationOpenedDetails create_team_invite_link_details CreateTeamInviteLinkDetails delete_team_invite_link_details DeleteTeamInviteLinkDetails member_add_external_id_details MemberAddExternalIdDetails @@ -7034,6 +7153,8 @@ union EventDetails outdated_link_view_create_report_details OutdatedLinkViewCreateReportDetails outdated_link_view_report_failed_details OutdatedLinkViewReportFailedDetails paper_admin_export_start_details PaperAdminExportStartDetails + ransomware_alert_create_report_details RansomwareAlertCreateReportDetails + ransomware_alert_create_report_failed_details RansomwareAlertCreateReportFailedDetails smart_sync_create_admin_privilege_report_details SmartSyncCreateAdminPrivilegeReportDetails team_activity_create_report_details TeamActivityCreateReportDetails team_activity_create_report_fail_details TeamActivityCreateReportFailDetails @@ -7049,6 +7170,10 @@ union EventDetails note_shared_details NoteSharedDetails note_share_receive_details NoteShareReceiveDetails open_note_shared_details OpenNoteSharedDetails + replay_file_shared_link_created_details ReplayFileSharedLinkCreatedDetails + replay_file_shared_link_modified_details ReplayFileSharedLinkModifiedDetails + replay_project_team_add_details ReplayProjectTeamAddDetails + replay_project_team_delete_details ReplayProjectTeamDeleteDetails sf_add_group_details SfAddGroupDetails sf_allow_non_members_to_view_shared_links_details SfAllowNonMembersToViewSharedLinksDetails sf_external_invite_warn_details SfExternalInviteWarnDetails @@ -7320,6 +7445,18 @@ struct AdminAlertingTriggeredAlertType example default description = "(admin_alerting) Triggered security alert" +struct RansomwareRestoreProcessCompletedType + description String + + example default + description = "(admin_alerting) Completed ransomware restore process" + +struct RansomwareRestoreProcessStartedType + description String + + example default + description = "(admin_alerting) Started ransomware restore process" + struct AppBlockedByPermissionsType description String @@ -7734,6 +7871,48 @@ struct EnabledDomainInvitesType example default description = "(domains) Enabled domain invites (deprecated, no longer logged)" +struct TeamEncryptionKeyCancelKeyDeletionType + description String + + example default + description = "(encryption) Canceled team encryption key deletion" + +struct TeamEncryptionKeyCreateKeyType + description String + + example default + description = "(encryption) Created team encryption key" + +struct TeamEncryptionKeyDeleteKeyType + description String + + example default + description = "(encryption) Deleted team encryption key" + +struct TeamEncryptionKeyDisableKeyType + description String + + example default + description = "(encryption) Disabled team encryption key" + +struct TeamEncryptionKeyEnableKeyType + description String + + example default + description = "(encryption) Enabled team encryption key" + +struct TeamEncryptionKeyRotateKeyType + description String + + example default + description = "(encryption) Rotated team encryption key (deprecated, no longer logged)" + +struct TeamEncryptionKeyScheduleKeyDeletionType + description String + + example default + description = "(encryption) Scheduled encryption key deletion" + struct ApplyNamingConventionType description String @@ -7752,6 +7931,12 @@ struct FileAddType example default description = "(file_operations) Added files and/or folders" +struct FileAddFromAutomationType + description String + + example default + description = "(file_operations) Added files and/or folders from automation" + struct FileCopyType description String @@ -7878,6 +8063,12 @@ struct OrganizeFolderWithTidyType example default description = "(file_operations) Organized a folder with multi-file organize" +struct ReplayFileDeleteType + description String + + example default + description = "(file_operations) Deleted files in Replay" + struct RewindFolderType description String @@ -8094,6 +8285,18 @@ struct SsoErrorType example default description = "(logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to sign in')" +struct BackupAdminInvitationSentType + description String + + example default + description = "(members) Invited members to activate Backup" + +struct BackupInvitationOpenedType + description String + + example default + description = "(members) Opened Backup invite" + struct CreateTeamInviteLinkType description String @@ -8664,6 +8867,18 @@ struct PaperAdminExportStartType example default description = "(reports) Exported all team Paper docs" +struct RansomwareAlertCreateReportType + description String + + example default + description = "(reports) Created ransomware report" + +struct RansomwareAlertCreateReportFailedType + description String + + example default + description = "(reports) Couldn't generate ransomware report" + struct SmartSyncCreateAdminPrivilegeReportType description String @@ -8754,6 +8969,30 @@ struct OpenNoteSharedType example default description = "(sharing) Opened shared Paper doc (deprecated, no longer logged)" +struct ReplayFileSharedLinkCreatedType + description String + + example default + description = "(sharing) Created shared link in Replay" + +struct ReplayFileSharedLinkModifiedType + description String + + example default + description = "(sharing) Modified shared link in Replay" + +struct ReplayProjectTeamAddType + description String + + example default + description = "(sharing) Added member to Replay Project" + +struct ReplayProjectTeamDeleteType + description String + + example default + description = "(sharing) Removed member from Replay Project" + struct SfAddGroupType description String @@ -10216,6 +10455,10 @@ union EventType "(admin_alerting) Changed an alert setting" admin_alerting_triggered_alert AdminAlertingTriggeredAlertType "(admin_alerting) Triggered security alert" + ransomware_restore_process_completed RansomwareRestoreProcessCompletedType + "(admin_alerting) Completed ransomware restore process" + ransomware_restore_process_started RansomwareRestoreProcessStartedType + "(admin_alerting) Started ransomware restore process" app_blocked_by_permissions AppBlockedByPermissionsType "(apps) Failed to connect app for member" app_link_team AppLinkTeamType @@ -10354,12 +10597,28 @@ union EventType "(domains) Removed domain from list of verified team domains" enabled_domain_invites EnabledDomainInvitesType "(domains) Enabled domain invites (deprecated, no longer logged)" + team_encryption_key_cancel_key_deletion TeamEncryptionKeyCancelKeyDeletionType + "(encryption) Canceled team encryption key deletion" + team_encryption_key_create_key TeamEncryptionKeyCreateKeyType + "(encryption) Created team encryption key" + team_encryption_key_delete_key TeamEncryptionKeyDeleteKeyType + "(encryption) Deleted team encryption key" + team_encryption_key_disable_key TeamEncryptionKeyDisableKeyType + "(encryption) Disabled team encryption key" + team_encryption_key_enable_key TeamEncryptionKeyEnableKeyType + "(encryption) Enabled team encryption key" + team_encryption_key_rotate_key TeamEncryptionKeyRotateKeyType + "(encryption) Rotated team encryption key (deprecated, no longer logged)" + team_encryption_key_schedule_key_deletion TeamEncryptionKeyScheduleKeyDeletionType + "(encryption) Scheduled encryption key deletion" apply_naming_convention ApplyNamingConventionType "(file_operations) Applied naming convention" create_folder CreateFolderType "(file_operations) Created folders (deprecated, no longer logged)" file_add FileAddType "(file_operations) Added files and/or folders" + file_add_from_automation FileAddFromAutomationType + "(file_operations) Added files and/or folders from automation" file_copy FileCopyType "(file_operations) Copied files and/or folders" file_delete FileDeleteType @@ -10402,6 +10661,8 @@ union EventType "(file_operations) Updated a label's value" organize_folder_with_tidy OrganizeFolderWithTidyType "(file_operations) Organized a folder with multi-file organize" + replay_file_delete ReplayFileDeleteType + "(file_operations) Deleted files in Replay" rewind_folder RewindFolderType "(file_operations) Rewound a folder" undo_naming_convention UndoNamingConventionType @@ -10474,6 +10735,10 @@ union EventType "(logins) Started admin sign-in-as session" sso_error SsoErrorType "(logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to sign in')" + backup_admin_invitation_sent BackupAdminInvitationSentType + "(members) Invited members to activate Backup" + backup_invitation_opened BackupInvitationOpenedType + "(members) Opened Backup invite" create_team_invite_link CreateTeamInviteLinkType "(members) Created team invite link" delete_team_invite_link DeleteTeamInviteLinkType @@ -10664,6 +10929,10 @@ union EventType "(reports) Couldn't create report: Views of old links" paper_admin_export_start PaperAdminExportStartType "(reports) Exported all team Paper docs" + ransomware_alert_create_report RansomwareAlertCreateReportType + "(reports) Created ransomware report" + ransomware_alert_create_report_failed RansomwareAlertCreateReportFailedType + "(reports) Couldn't generate ransomware report" smart_sync_create_admin_privilege_report SmartSyncCreateAdminPrivilegeReportType "(reports) Created Smart Sync non-admin devices report" team_activity_create_report TeamActivityCreateReportType @@ -10694,6 +10963,14 @@ union EventType "(sharing) Shared received Paper doc (deprecated, no longer logged)" open_note_shared OpenNoteSharedType "(sharing) Opened shared Paper doc (deprecated, no longer logged)" + replay_file_shared_link_created ReplayFileSharedLinkCreatedType + "(sharing) Created shared link in Replay" + replay_file_shared_link_modified ReplayFileSharedLinkModifiedType + "(sharing) Modified shared link in Replay" + replay_project_team_add ReplayProjectTeamAddType + "(sharing) Added member to Replay Project" + replay_project_team_delete ReplayProjectTeamDeleteType + "(sharing) Removed member from Replay Project" sf_add_group SfAddGroupType "(sharing) Added team to shared folder (deprecated, no longer logged)" sf_allow_non_members_to_view_shared_links SfAllowNonMembersToViewSharedLinksType @@ -11192,6 +11469,10 @@ union EventTypeArg "(admin_alerting) Changed an alert setting" admin_alerting_triggered_alert "(admin_alerting) Triggered security alert" + ransomware_restore_process_completed + "(admin_alerting) Completed ransomware restore process" + ransomware_restore_process_started + "(admin_alerting) Started ransomware restore process" app_blocked_by_permissions "(apps) Failed to connect app for member" app_link_team @@ -11330,12 +11611,28 @@ union EventTypeArg "(domains) Removed domain from list of verified team domains" enabled_domain_invites "(domains) Enabled domain invites (deprecated, no longer logged)" + team_encryption_key_cancel_key_deletion + "(encryption) Canceled team encryption key deletion" + team_encryption_key_create_key + "(encryption) Created team encryption key" + team_encryption_key_delete_key + "(encryption) Deleted team encryption key" + team_encryption_key_disable_key + "(encryption) Disabled team encryption key" + team_encryption_key_enable_key + "(encryption) Enabled team encryption key" + team_encryption_key_rotate_key + "(encryption) Rotated team encryption key (deprecated, no longer logged)" + team_encryption_key_schedule_key_deletion + "(encryption) Scheduled encryption key deletion" apply_naming_convention "(file_operations) Applied naming convention" create_folder "(file_operations) Created folders (deprecated, no longer logged)" file_add "(file_operations) Added files and/or folders" + file_add_from_automation + "(file_operations) Added files and/or folders from automation" file_copy "(file_operations) Copied files and/or folders" file_delete @@ -11378,6 +11675,8 @@ union EventTypeArg "(file_operations) Updated a label's value" organize_folder_with_tidy "(file_operations) Organized a folder with multi-file organize" + replay_file_delete + "(file_operations) Deleted files in Replay" rewind_folder "(file_operations) Rewound a folder" undo_naming_convention @@ -11450,6 +11749,10 @@ union EventTypeArg "(logins) Started admin sign-in-as session" sso_error "(logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to sign in')" + backup_admin_invitation_sent + "(members) Invited members to activate Backup" + backup_invitation_opened + "(members) Opened Backup invite" create_team_invite_link "(members) Created team invite link" delete_team_invite_link @@ -11640,6 +11943,10 @@ union EventTypeArg "(reports) Couldn't create report: Views of old links" paper_admin_export_start "(reports) Exported all team Paper docs" + ransomware_alert_create_report + "(reports) Created ransomware report" + ransomware_alert_create_report_failed + "(reports) Couldn't generate ransomware report" smart_sync_create_admin_privilege_report "(reports) Created Smart Sync non-admin devices report" team_activity_create_report @@ -11670,6 +11977,14 @@ union EventTypeArg "(sharing) Shared received Paper doc (deprecated, no longer logged)" open_note_shared "(sharing) Opened shared Paper doc (deprecated, no longer logged)" + replay_file_shared_link_created + "(sharing) Created shared link in Replay" + replay_file_shared_link_modified + "(sharing) Modified shared link in Replay" + replay_project_team_add + "(sharing) Added member to Replay Project" + replay_project_team_delete + "(sharing) Removed member from Replay Project" sf_add_group "(sharing) Added team to shared folder (deprecated, no longer logged)" sf_allow_non_members_to_view_shared_links diff --git a/team_member_space_limits.stone b/team_member_space_limits.stone index 0f09418..5ea11e2 100644 --- a/team_member_space_limits.stone +++ b/team_member_space_limits.stone @@ -71,7 +71,9 @@ union RemoveCustomQuotaResult route member_space_limits/set_custom_quota(SetCustomQuotaArg, List(CustomQuotaResult), SetCustomQuotaError) "Set users custom quota. Custom quota has to be at least 15GB. - A maximum of 1000 members can be specified in a single call." + A maximum of 1000 members can be specified in a single call. + Note: to apply a custom space limit, a team admin needs to set a member space limit for the team first. + (the team admin can check the settings here: https://www.dropbox.com/team/admin/settings/space)." attrs auth = "team" @@ -80,7 +82,9 @@ route member_space_limits/set_custom_quota(SetCustomQuotaArg, List(CustomQuotaRe route member_space_limits/remove_custom_quota(CustomQuotaUsersArg, List(RemoveCustomQuotaResult), CustomQuotaError) "Remove users custom quota. - A maximum of 1000 members can be specified in a single call." + A maximum of 1000 members can be specified in a single call. + Note: to apply a custom space limit, a team admin needs to set a member space limit for the team first. + (the team admin can check the settings here: https://www.dropbox.com/team/admin/settings/space)." attrs auth = "team" @@ -88,8 +92,10 @@ route member_space_limits/remove_custom_quota(CustomQuotaUsersArg, List(RemoveCu route member_space_limits/get_custom_quota(CustomQuotaUsersArg, List(CustomQuotaResult), CustomQuotaError) - "Get users custom quota. Returns none as the custom quota if none was set. - A maximum of 1000 members can be specified in a single call." + "Get users custom quota. + A maximum of 1000 members can be specified in a single call. + Note: to apply a custom space limit, a team admin needs to set a member space limit for the team first. + (the team admin can check the settings here: https://www.dropbox.com/team/admin/settings/space)." attrs auth = "team" diff --git a/team_policies.stone b/team_policies.stone index 53e0bd1..2c64b8c 100644 --- a/team_policies.stone +++ b/team_policies.stone @@ -34,12 +34,15 @@ struct TeamSharingPolicies "Who can view shared links owned by team members." group_creation_policy GroupCreation "Who can create groups." + shared_folder_link_restriction_policy SharedFolderBlanketLinkRestrictionPolicy + "Who can view links to content in shared folders." example default shared_folder_member_policy = team shared_folder_join_policy = from_anyone shared_link_create_policy = team_only group_creation_policy = admins_only + shared_folder_link_restriction_policy = anyone # NOTE: we do not reuse sharing.MemberPolicy here since we may want to enable folder-specific member # policies that work on top of the broader team policies. @@ -76,6 +79,14 @@ union SharedLinkCreatePolicy "Only people invited can access newly created links. Login will be required to access the shared links unless overridden." +union SharedFolderBlanketLinkRestrictionPolicy + "Policy governing whether shared folder membership is required to access shared links." + + members + "Only members of shared folders can access folder content via shared link." + anyone + "Anyone can access folder content via shared link." + union EmmState disabled "Emm token is disabled."