Skip to content

Commit

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

 Change Notes:

files Namespace
- Update upload_session/start_batch  route to include account_id

Co-authored-by: DropboxBot <[email protected]>
Co-authored-by: Brent Bumann <[email protected]>
  • Loading branch information
3 people authored Jun 15, 2022
1 parent 6b3404d commit 9c9598b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generator/dropbox-api-spec
Submodule dropbox-api-spec updated 1 files
+9 −1 files.stone
6 changes: 5 additions & 1 deletion lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,11 @@ routes.filesUploadSessionStart = function (arg) {

/**
* This route starts batch of upload_sessions. Please refer to
* `upload_session/start` usage.
* `upload_session/start` usage. Calls to this endpoint will count as data
* transport calls for any Dropbox Business teams with a limit on the number of
* data transport calls allowed per month. For more information, see the Data
* transport limit page
* https://www.dropbox.com/developers/reference/data-transport-limit.
* Route attributes:
* scope: files.content.write
* @function Dropbox#filesUploadSessionStartBatch
Expand Down
1 change: 1 addition & 0 deletions lib/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -2092,6 +2092,7 @@ only present when needed to discriminate between multiple possible subtypes.
* extensions specified. Only supported for active file search.
* @property {Array.<FilesFileCategory>} [file_categories] - Restricts search to
* only the file categories specified. Only supported for active file search.
* @property {string} [account_id] - Restricts results to the given account id.
*/

/**
Expand Down
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.30.0",
"version": "10.31.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
4 changes: 4 additions & 0 deletions types/dropbox_types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4320,6 +4320,10 @@
* for active file search.
*/
file_categories?: Array<FileCategory>;
/**
* Restricts results to the given account id.
*/
account_id?: users_common.AccountId;
}

export interface SearchOrderByRelevance {
Expand Down
6 changes: 5 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,11 @@ export class Dropbox {

/**
* This route starts batch of upload_sessions. Please refer to
* `upload_session/start` usage.
* `upload_session/start` usage. Calls to this endpoint will count as data
* transport calls for any Dropbox Business teams with a limit on the number
* of data transport calls allowed per month. For more information, see the
* [Data transport limit page]{@link
* https://www.dropbox.com/developers/reference/data-transport-limit}.
*
* Route attributes:
* scope: files.content.write
Expand Down

0 comments on commit 9c9598b

Please sign in to comment.