Skip to content

Commit

Permalink
Automated Spec Update (#366)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
DropboxBot and DropboxBot authored Jun 23, 2021
1 parent 7b52312 commit 22561b7
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dropbox/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ def files_get_temporary_upload_link(self,
https://content.dropboxapi.com/apitul/1/bNi2uIYF51cVBND --header
"Content-Type: application/octet-stream" --data-binary @local_file.txt
A successful temporary upload link consumption request returns the
content hash of the uploaded data in JSON format. Example succesful
content hash of the uploaded data in JSON format. Example successful
temporary upload link consumption response: {"content-hash":
"599d71033d700ac892a0e48fa61b125d2f5994"} An unsuccessful temporary
upload link consumption request returns any of the following status
Expand Down Expand Up @@ -3827,7 +3827,7 @@ def sharing_add_file_member(self,
:param str file: File to which to add members.
:param List[:class:`dropbox.sharing.MemberSelector`] members: Members to
add. Note that even an email address is given, this may result in a
user being directy added to the membership if that email is the
user being directly added to the membership if that email is the
user's main account email.
:param Nullable[str] custom_message: Message to send to added members in
their invitation.
Expand Down
4 changes: 2 additions & 2 deletions dropbox/sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ class AddFileMemberArgs(bb.Struct):
:ivar sharing.AddFileMemberArgs.file: File to which to add members.
:ivar sharing.AddFileMemberArgs.members: Members to add. Note that even an
email address is given, this may result in a user being directy added to
the membership if that email is the user's main account email.
email address is given, this may result in a user being directly added
to the membership if that email is the user's main account email.
:ivar sharing.AddFileMemberArgs.custom_message: Message to send to added
members in their invitation.
:ivar sharing.AddFileMemberArgs.quiet: Whether added members should be
Expand Down
14 changes: 7 additions & 7 deletions dropbox/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class AddSecondaryEmailResult(bb.Union):
Result of trying to add a secondary email to a user. 'success' is the only
value indicating that a secondary email was successfully added to a user.
The other values explain the type of error that occurred, and include the
email for which the error occured.
email for which the error occurred.

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

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

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

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

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

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

0 comments on commit 22561b7

Please sign in to comment.