Skip to content

Commit 22561b7

Browse files
authored
Automated Spec Update (dropbox#366)
444efadbf5a13253dcc8faf6d752df705e001402 Change Notes: - Add release note generator script files Namespace - Update comments sharing_files Namespace - Update comments team_legal_holds Namespace - Update comments team_log_generated Namespace - Add InviteAcceptanceEmailPolicyChangedDetails, InviteAcceptanceEmailPolicyChangedType structs - Add InviteAcceptanceEmailPolicy unions - Update EventDetails union to include invite_acceptance_email_policy_changed_details - Update EventType union to include invite_acceptance_email_policy_changed, and invite_acceptance_email_policy_changed team_secondary_mails Namespace - Update comments Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
1 parent 7b52312 commit 22561b7

File tree

5 files changed

+229
-12
lines changed

5 files changed

+229
-12
lines changed

dropbox/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ def files_get_temporary_upload_link(self,
16281628
https://content.dropboxapi.com/apitul/1/bNi2uIYF51cVBND --header
16291629
"Content-Type: application/octet-stream" --data-binary @local_file.txt
16301630
A successful temporary upload link consumption request returns the
1631-
content hash of the uploaded data in JSON format. Example succesful
1631+
content hash of the uploaded data in JSON format. Example successful
16321632
temporary upload link consumption response: {"content-hash":
16331633
"599d71033d700ac892a0e48fa61b125d2f5994"} An unsuccessful temporary
16341634
upload link consumption request returns any of the following status
@@ -3827,7 +3827,7 @@ def sharing_add_file_member(self,
38273827
:param str file: File to which to add members.
38283828
:param List[:class:`dropbox.sharing.MemberSelector`] members: Members to
38293829
add. Note that even an email address is given, this may result in a
3830-
user being directy added to the membership if that email is the
3830+
user being directly added to the membership if that email is the
38313831
user's main account email.
38323832
:param Nullable[str] custom_message: Message to send to added members in
38333833
their invitation.

dropbox/sharing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ class AddFileMemberArgs(bb.Struct):
205205
206206
:ivar sharing.AddFileMemberArgs.file: File to which to add members.
207207
:ivar sharing.AddFileMemberArgs.members: Members to add. Note that even an
208-
email address is given, this may result in a user being directy added to
209-
the membership if that email is the user's main account email.
208+
email address is given, this may result in a user being directly added
209+
to the membership if that email is the user's main account email.
210210
:ivar sharing.AddFileMemberArgs.custom_message: Message to send to added
211211
members in their invitation.
212212
:ivar sharing.AddFileMemberArgs.quiet: Whether added members should be

dropbox/team.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class AddSecondaryEmailResult(bb.Union):
152152
Result of trying to add a secondary email to a user. 'success' is the only
153153
value indicating that a secondary email was successfully added to a user.
154154
The other values explain the type of error that occurred, and include the
155-
email for which the error occured.
155+
email for which the error occurred.
156156

157157
This class acts as a tagged union. Only one of the ``is_*`` methods will
158158
return true. To get the associated value of a tag (if one exists), use the
@@ -1082,7 +1082,7 @@ class DeleteSecondaryEmailResult(bb.Union):
10821082
Result of trying to delete a secondary email address. 'success' is the only
10831083
value indicating that a secondary email was successfully deleted. The other
10841084
values explain the type of error that occurred, and include the email for
1085-
which the error occured.
1085+
which the error occurred.
10861086

10871087
This class acts as a tagged union. Only one of the ``is_*`` methods will
10881088
return true. To get the associated value of a tag (if one exists), use the
@@ -4462,7 +4462,7 @@ class LegalHoldPolicy(bb.Struct):
44624462
:ivar team.LegalHoldPolicy.activation_time: The time at which the legal hold
44634463
was activated.
44644464
:ivar team.LegalHoldPolicy.members: Team members IDs and number of
4465-
permanetly deleted members under hold.
4465+
permanently deleted members under hold.
44664466
:ivar team.LegalHoldPolicy.status: The current state of the hold.
44674467
:ivar team.LegalHoldPolicy.start_date: Start date of the legal hold policy.
44684468
:ivar team.LegalHoldPolicy.end_date: End date of the legal hold policy.
@@ -9982,7 +9982,7 @@ class ResendSecondaryEmailResult(bb.Union):
99829982
Result of trying to resend verification email to a secondary email address.
99839983
'success' is the only value indicating that a verification email was
99849984
successfully sent. The other values explain the type of error that occurred,
9985-
and include the email for which the error occured.
9985+
and include the email for which the error occurred.
99869986

99879987
This class acts as a tagged union. Only one of the ``is_*`` methods will
99889988
return true. To get the associated value of a tag (if one exists), use the
@@ -12620,7 +12620,7 @@ class UserAddResult(bb.Union):
1262012620
Result of trying to add secondary emails to a user. 'success' is the only
1262112621
value indicating that a user was successfully retrieved for adding secondary
1262212622
emails. The other values explain the type of error that occurred, and
12623-
include the user for which the error occured.
12623+
include the user for which the error occurred.
1262412624

1262512625
This class acts as a tagged union. Only one of the ``is_*`` methods will
1262612626
return true. To get the associated value of a tag (if one exists), use the
@@ -12880,7 +12880,7 @@ class UserDeleteResult(bb.Union):
1288012880
Result of trying to delete a user's secondary emails. 'success' is the only
1288112881
value indicating that a user was successfully retrieved for deleting
1288212882
secondary emails. The other values explain the type of error that occurred,
12883-
and include the user for which the error occured.
12883+
and include the user for which the error occurred.
1288412884

1288512885
This class acts as a tagged union. Only one of the ``is_*`` methods will
1288612886
return true. To get the associated value of a tag (if one exists), use the
@@ -13007,7 +13007,7 @@ class UserResendResult(bb.Union):
1300713007
Result of trying to resend verification emails to a user. 'success' is the
1300813008
only value indicating that a user was successfully retrieved for sending
1300913009
verification emails. The other values explain the type of error that
13010-
occurred, and include the user for which the error occured.
13010+
occurred, and include the user for which the error occurred.
1301113011

1301213012
This class acts as a tagged union. Only one of the ``is_*`` methods will
1301313013
return true. To get the associated value of a tag (if one exists), use the

0 commit comments

Comments
 (0)