Skip to content

Commit 773c9b4

Browse files
DropboxBotBrent Bumann
and
Brent Bumann
authored
Automated Spec Update (#938)
ef6b1680d9a05ec7475f503149d771e44db913a2 Change Notes: files Namespace - Add upload_session/start_batch routes - Add UploadSessionStartBatchArg, UploadSessionStartBatchResult structs team_log_generated Namespace - Add ExternalDriveBackupEligibilityStatusCheckedDetails, ExternalDriveBackupStatusChangedDetails, ExternalDriveBackupEligibilityStatusCheckedType, ExternalDriveBackupStatusChangedType structs - Add ExternalDriveBackupEligibilityStatus, ExternalDriveBackupStatus unions Co-authored-by: Brent Bumann <bbumann@dropbox.com> Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com> Co-authored-by: Brent Bumann <bbumann@dropbox.com>
1 parent 71f0a42 commit 773c9b4

File tree

7 files changed

+257
-9
lines changed

7 files changed

+257
-9
lines changed

lib/routes.js

+13
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,19 @@ routes.filesUploadSessionStart = function (arg) {
14811481
return this.request('files/upload_session/start', arg, 'user', 'content', 'upload', 'files.content.write');
14821482
};
14831483

1484+
/**
1485+
* This route starts batch of upload_sessions. Please refer to
1486+
* `upload_session/start` usage.
1487+
* Route attributes:
1488+
* scope: files.content.write
1489+
* @function Dropbox#filesUploadSessionStartBatch
1490+
* @arg {FilesUploadSessionStartBatchArg} arg - The request parameters.
1491+
* @returns {Promise.<DropboxResponse<FilesUploadSessionStartBatchResult>, DropboxResponseError.<void>>}
1492+
*/
1493+
routes.filesUploadSessionStartBatch = function (arg) {
1494+
return this.request('files/upload_session/start_batch', arg, 'user', 'api', 'rpc', 'files.content.write');
1495+
};
1496+
14841497
/**
14851498
* Marks the given Paper doc as archived. This action can be performed or undone
14861499
* by anyone with edit permissions to the doc. Note that this endpoint will

lib/types.js

+75-3
Large diffs are not rendered by default.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dropbox",
3-
"version": "10.27.1",
3+
"version": "10.28.0",
44
"registry": "npm",
55
"description": "The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.",
66
"main": "cjs/index.js",

types/dropbox_types.d.ts

+153-3
Large diffs are not rendered by default.

types/index.d.ts

+13
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,19 @@ export class Dropbox {
17421742
*/
17431743
public filesUploadSessionStart(arg: files.UploadSessionStartArg): Promise<DropboxResponse<files.UploadSessionStartResult>>;
17441744

1745+
/**
1746+
* This route starts batch of upload_sessions. Please refer to
1747+
* `upload_session/start` usage.
1748+
*
1749+
* Route attributes:
1750+
* scope: files.content.write
1751+
*
1752+
* When an error occurs, the route rejects the promise with type
1753+
* DropboxResponseError<void>.
1754+
* @param arg The request parameters.
1755+
*/
1756+
public filesUploadSessionStartBatch(arg: files.UploadSessionStartBatchArg): Promise<DropboxResponse<files.UploadSessionStartBatchResult>>;
1757+
17451758
/**
17461759
* Marks the given Paper doc as archived. This action can be performed or
17471760
* undone by anyone with edit permissions to the doc. Note that this

0 commit comments

Comments
 (0)