Skip to content

Commit 3d1080a

Browse files
authored
spec update (#76)
Change Notes: shared_links Namespace Update RequestedLinkAccessLevel union team Namespace Update TeamGetInfoResult struct team_log_generated Namespace Add FolderLinkRestrictionPolicyChangedDetails, FolderLinkRestrictionPolicyChangedType structs Add FolderLinkRestrictionPolicy unions
1 parent 18963b8 commit 3d1080a

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

shared_links.stone

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ union RequestedLinkAccessLevel
384384
Note not all file types support edit links yet."
385385
max
386386
"Request for the maximum access level you can set the link to."
387+
default
388+
"Request for the default access level the user has set."
387389

388390
struct ModifySharedLinkSettingsArgs
389391
url String

team.stone

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,17 @@ struct TeamGetInfoResult
159159
num_provisioned_users UInt32
160160
"The number of accounts that have been invited or are already active members of the team."
161161

162+
num_used_licenses UInt32
163+
"The number of licenses used on the team."
164+
162165
policies team_policies.TeamMemberPolicies
163166

164167
example default
165168
name="Dropbox Inc."
166169
team_id="dbtid:1234abcd"
167170
num_licensed_users=5
168171
num_provisioned_users=2
172+
num_used_licenses=1
169173
policies=default
170174

171175
route get_info(Void, TeamGetInfoResult, Void)

team_log_generated.stone

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,11 @@ union FileTransfersPolicy
632632
disabled
633633
enabled
634634

635+
union FolderLinkRestrictionPolicy
636+
"Policy for deciding whether applying link restrictions on all team owned folders"
637+
disabled
638+
enabled
639+
635640
struct GeoLocationLogInfo
636641
"Geographic location details."
637642

@@ -5820,6 +5825,18 @@ struct FileTransfersPolicyChangedDetails
58205825
new_value = disabled
58215826
previous_value = disabled
58225827

5828+
struct FolderLinkRestrictionPolicyChangedDetails
5829+
"Changed folder link restrictions policy for team."
5830+
5831+
new_value FolderLinkRestrictionPolicy
5832+
"To."
5833+
previous_value FolderLinkRestrictionPolicy
5834+
"From."
5835+
5836+
example default
5837+
new_value = disabled
5838+
previous_value = disabled
5839+
58235840
struct GoogleSsoChangePolicyDetails
58245841
"Enabled/disabled Google single sign-on for team."
58255842

@@ -7176,6 +7193,7 @@ union EventDetails
71767193
file_requests_emails_enabled_details FileRequestsEmailsEnabledDetails
71777194
file_requests_emails_restricted_to_team_only_details FileRequestsEmailsRestrictedToTeamOnlyDetails
71787195
file_transfers_policy_changed_details FileTransfersPolicyChangedDetails
7196+
folder_link_restriction_policy_changed_details FolderLinkRestrictionPolicyChangedDetails
71797197
google_sso_change_policy_details GoogleSsoChangePolicyDetails
71807198
group_user_management_change_policy_details GroupUserManagementChangePolicyDetails
71817199
integration_policy_changed_details IntegrationPolicyChangedDetails
@@ -9600,6 +9618,12 @@ struct FileTransfersPolicyChangedType
96009618
example default
96019619
description = "(team_policies) Changed file transfers policy for team"
96029620

9621+
struct FolderLinkRestrictionPolicyChangedType
9622+
description String
9623+
9624+
example default
9625+
description = "(team_policies) Changed folder link restrictions policy for team"
9626+
96039627
struct GoogleSsoChangePolicyType
96049628
description String
96059629

@@ -10958,6 +10982,8 @@ union EventType
1095810982
"(team_policies) Enabled file request emails for team (deprecated, no longer logged)"
1095910983
file_transfers_policy_changed FileTransfersPolicyChangedType
1096010984
"(team_policies) Changed file transfers policy for team"
10985+
folder_link_restriction_policy_changed FolderLinkRestrictionPolicyChangedType
10986+
"(team_policies) Changed folder link restrictions policy for team"
1096110987
google_sso_change_policy GoogleSsoChangePolicyType
1096210988
"(team_policies) Enabled/disabled Google single sign-on for team"
1096310989
group_user_management_change_policy GroupUserManagementChangePolicyType
@@ -11932,6 +11958,8 @@ union EventTypeArg
1193211958
"(team_policies) Enabled file request emails for team (deprecated, no longer logged)"
1193311959
file_transfers_policy_changed
1193411960
"(team_policies) Changed file transfers policy for team"
11961+
folder_link_restriction_policy_changed
11962+
"(team_policies) Changed folder link restrictions policy for team"
1193511963
google_sso_change_policy
1193611964
"(team_policies) Enabled/disabled Google single sign-on for team"
1193711965
group_user_management_change_policy

0 commit comments

Comments
 (0)