Skip to content

Commit

Permalink
Automated Spec Update (#927)
Browse files Browse the repository at this point in the history
eec4b43685b7af842d320efaaa86db27232cb465

 Change Notes:

file_properties Namespace
- Update Comments

file_tagging Namespace
- Update Comments

files Namespace
- Update Metadata struct to include preview_url
- Update Comments

team_log_generated Namespace
- Add DropboxPasswordsPolicyChangedDetails, DropboxPasswordsPolicyChangedType structs
- Add DropboxPasswordsPolicy unions

Co-authored-by: DropboxBot <[email protected]>
  • Loading branch information
DropboxBot and DropboxBot authored Mar 30, 2022
1 parent f4135f5 commit 1305318
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 18 deletions.
2 changes: 1 addition & 1 deletion generator/dropbox-api-spec
2 changes: 1 addition & 1 deletion generator/stone
5 changes: 3 additions & 2 deletions lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1252,8 +1252,9 @@ routes.filesSearchContinueV2 = function (arg) {
};

/**
* Add a tag to an item. A tag is a string. No more than 20 tags can be added to
* a given item.
* Add a tag to an item. A tag is a string. The strings are automatically
* converted to lowercase letters. No more than 20 tags can be added to a given
* item.
* Route attributes:
* scope: files.metadata.write
* @function Dropbox#filesTagsAdd
Expand Down
35 changes: 32 additions & 3 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.26.1",
"version": "10.27.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
75 changes: 68 additions & 7 deletions types/dropbox_types.d.ts

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1508,8 +1508,9 @@ export class Dropbox {
public filesSearchContinueV2(arg: files.SearchV2ContinueArg): Promise<DropboxResponse<files.SearchV2Result>>;

/**
* Add a tag to an item. A tag is a string. No more than 20 tags can be
* added to a given item.
* Add a tag to an item. A tag is a string. The strings are automatically
* converted to lowercase letters. No more than 20 tags can be added to a
* given item.
*
* Route attributes:
* scope: files.metadata.write
Expand Down

0 comments on commit 1305318

Please sign in to comment.