Skip to content

Commit

Permalink
Automated Spec Update (#705)
Browse files Browse the repository at this point in the history
* Automated Spec Update
 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

* Bump version

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brad Rogers <brad12rogers@gmail.com>
  • Loading branch information
3 people authored Jun 23, 2021
1 parent 8719010 commit 3edb050
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 30 deletions.
4 changes: 2 additions & 2 deletions lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,8 @@ routes.filesGetTemporaryLink = function (arg) {
* 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 temporary upload link
* consumption response: {"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 codes: HTTP 400
* Bad Request: Content-Type is not one of application/octet-stream and
Expand Down
50 changes: 38 additions & 12 deletions lib/types.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dropbox",
"version": "10.1.0",
"version": "10.2.0",
"registry": "npm",
"description": "The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.",
"main": "cjs/index.js",
Expand Down
78 changes: 66 additions & 12 deletions types/dropbox_types.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ export class Dropbox {
* 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 temporary
* 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

0 comments on commit 3edb050

Please sign in to comment.