Skip to content

Commit f91238c

Browse files
Brent1LTBrent Bumann
andauthored
Spec Update 07/13/2022 (#<TODO>) (#73)
Change Notes: check_api_v2_types Namespace - Update EchoArg struct to include max_length in query arg sharing_files Namespace - Update FileMemberActionResult to include sckey_sha1, invitation_signature team_log_generated Namespace - Add AdminEmailRemindersChangedDetails, AdminEmailRemindersChangedType structs - Add AdminEmailRemindersPolicy unions team_policies Namespace - Add AdminEmailRemindersChangedType struct - Add FileProviderMigrationPolicyState unions Co-authored-by: Brent Bumann <bbumann@dropbox.com>
1 parent c26b11d commit f91238c

File tree

5 files changed

+73
-1
lines changed

5 files changed

+73
-1
lines changed

check_api_v2_types.stone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import common
66

77
struct EchoArg
88
"EchoArg contains the arguments to be sent to the Dropbox servers."
9-
query String = ""
9+
query String(max_length=500) = ""
1010
"The string that you'd like to be echoed back to you."
1111

1212
example default

openid_openid_types.stone

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# @generated by protoc-gen-stone. DO NOT EDIT.
2+
# source: configs/proto/dropbox/proto/openid/openid_types.proto
3+
namespace openid
4+
5+
import common
6+
7+
union AuthError
8+
invalid_token
9+
no_openid_auth
10+
11+
12+
struct UserInfoError
13+
err err_union?
14+
union
15+
auth_error AuthError = invalid_token
16+
error_message String = ""
17+
18+
struct UserInfoArgs
19+
"This struct is empty. The comment here is intentionally emitted to avoid indentation issues with Stone."
20+
21+
struct UserInfoResult
22+
family_name String?
23+
given_name String?
24+
email String?
25+
email_verified Boolean?
26+
iss String = ""
27+
sub String = ""
28+

sharing_files.stone

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,17 @@ struct FileMemberActionResult
193193
"One of specified input members."
194194
result FileMemberActionIndividualResult
195195
"The outcome of the action on this member."
196+
sckey_sha1 String?
197+
"The SHA-1 encrypted shared content key."
198+
invitation_signature List(String)?
199+
"The sharing sender-recipient invitation signatures for the input member_id.
200+
A member_id can be a group and thus have multiple users and multiple invitation signatures."
196201

197202
example default
198203
member = default
199204
result = default
205+
sckey_sha1 = "32gggb672f987b2d94ef1741616bdf37d565e8c1"
206+
invitation_signature = ["32gggb672f987b2d94ef1741616bdf37d565e8c1:c1ce0a9ef6ggg65e6e2f43514082ea5ffefd9cf5"]
200207

201208
union_closed FileMemberActionIndividualResult
202209
success AccessLevel?

team_log_generated.stone

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ union AdminConsoleAppPolicy
290290
block
291291
default
292292

293+
union AdminEmailRemindersPolicy
294+
"Policy for deciding whether team admins receive reminder emails for requests to join the team"
295+
default
296+
disabled
297+
enabled
298+
293299
union AdminRole
294300
billing_admin
295301
compliance_admin
@@ -5501,6 +5507,18 @@ struct AccountCaptureChangePolicyDetails
55015507
new_value = disabled
55025508
previous_value = disabled
55035509

5510+
struct AdminEmailRemindersChangedDetails
5511+
"Changed admin email reminder policy for team requests to join."
5512+
5513+
new_value AdminEmailRemindersPolicy
5514+
"To."
5515+
previous_value AdminEmailRemindersPolicy
5516+
"From."
5517+
5518+
example default
5519+
new_value = default
5520+
previous_value = default
5521+
55045522
struct AllowDownloadDisabledDetails
55055523
"Disabled downloads."
55065524

@@ -7112,6 +7130,7 @@ union EventDetails
71127130
team_folder_rename_details TeamFolderRenameDetails
71137131
team_selective_sync_settings_changed_details TeamSelectiveSyncSettingsChangedDetails
71147132
account_capture_change_policy_details AccountCaptureChangePolicyDetails
7133+
admin_email_reminders_changed_details AdminEmailRemindersChangedDetails
71157134
allow_download_disabled_details AllowDownloadDisabledDetails
71167135
allow_download_enabled_details AllowDownloadEnabledDetails
71177136
app_permissions_changed_details AppPermissionsChangedDetails
@@ -9369,6 +9388,12 @@ struct AccountCaptureChangePolicyType
93699388
example default
93709389
description = "(team_policies) Changed account capture setting on team domain"
93719390

9391+
struct AdminEmailRemindersChangedType
9392+
description String
9393+
9394+
example default
9395+
description = "(team_policies) Changed admin email reminder policy for team requests to join"
9396+
93729397
struct AllowDownloadDisabledType
93739398
description String
93749399

@@ -10847,6 +10872,8 @@ union EventType
1084710872
"(team_folders) Changed sync default"
1084810873
account_capture_change_policy AccountCaptureChangePolicyType
1084910874
"(team_policies) Changed account capture setting on team domain"
10875+
admin_email_reminders_changed AdminEmailRemindersChangedType
10876+
"(team_policies) Changed admin email reminder policy for team requests to join"
1085010877
allow_download_disabled AllowDownloadDisabledType
1085110878
"(team_policies) Disabled downloads (deprecated, no longer logged)"
1085210879
allow_download_enabled AllowDownloadEnabledType
@@ -11817,6 +11844,8 @@ union EventTypeArg
1181711844
"(team_folders) Changed sync default"
1181811845
account_capture_change_policy
1181911846
"(team_policies) Changed account capture setting on team domain"
11847+
admin_email_reminders_changed
11848+
"(team_policies) Changed admin email reminder policy for team requests to join"
1182011849
allow_download_disabled
1182111850
"(team_policies) Disabled downloads (deprecated, no longer logged)"
1182211851
allow_download_enabled

team_policies.stone

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,11 @@ union ExternalDriveBackupPolicyState
227227
"External Drive Backup feature is enabled."
228228
default
229229
"External Drive Backup default value based on team tier."
230+
231+
union FileProviderMigrationPolicyState
232+
disabled
233+
"Team admin has opted out of File Provider Migration for team members."
234+
enabled
235+
"Team admin has not opted out of File Provider Migration for team members."
236+
default
237+
"Team admin has default value based on team tier."

0 commit comments

Comments
 (0)