Skip to content

Commit 45ae136

Browse files
authored
Automated Spec Update (#874)
4c1da4778bc4bd3dbc6b55e11788a40aa896b3dc Change Notes: Team Log Generated Namespace: - Update ExtendedVersionHistoryPolicy union to include default - Update Examples Team Policies Namespace: - Update ExternalDriveBackupPolicyState union to include default Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
1 parent b75b1e3 commit 45ae136

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

lib/types.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11246,7 +11246,7 @@ is only present when needed to discriminate between multiple possible subtypes.
1124611246
/**
1124711247
* Policy for controlling team access to external drive backup feature
1124811248
* @typedef {Object} TeamLogExternalDriveBackupPolicy
11249-
* @property {('disabled'|'enabled'|'other')} .tag - Tag identifying the union variant.
11249+
* @property {('default'|'disabled'|'enabled'|'other')} .tag - Tag identifying the union variant.
1125011250
*/
1125111251

1125211252
/**
@@ -17025,7 +17025,7 @@ only present when needed to discriminate between multiple possible subtypes.
1702517025

1702617026
/**
1702717027
* @typedef {Object} TeamPoliciesExternalDriveBackupPolicyState
17028-
* @property {('disabled'|'enabled'|'other')} .tag - Tag identifying the union variant.
17028+
* @property {('disabled'|'enabled'|'default'|'other')} .tag - Tag identifying the union variant.
1702917029
*/
1703017030

1703117031
/**

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dropbox",
3-
"version": "10.22.0",
3+
"version": "10.23.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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26839,6 +26839,10 @@
2683926839

2684026840
export type ExtendedVersionHistoryPolicy = ExtendedVersionHistoryPolicyExplicitlyLimited | ExtendedVersionHistoryPolicyExplicitlyUnlimited | ExtendedVersionHistoryPolicyImplicitlyLimited | ExtendedVersionHistoryPolicyImplicitlyUnlimited | ExtendedVersionHistoryPolicyOther;
2684126841

26842+
export interface ExternalDriveBackupPolicyDefault {
26843+
'.tag': 'default';
26844+
}
26845+
2684226846
export interface ExternalDriveBackupPolicyDisabled {
2684326847
'.tag': 'disabled';
2684426848
}
@@ -26854,7 +26858,7 @@
2685426858
/**
2685526859
* Policy for controlling team access to external drive backup feature
2685626860
*/
26857-
export type ExternalDriveBackupPolicy = ExternalDriveBackupPolicyDisabled | ExternalDriveBackupPolicyEnabled | ExternalDriveBackupPolicyOther;
26861+
export type ExternalDriveBackupPolicy = ExternalDriveBackupPolicyDefault | ExternalDriveBackupPolicyDisabled | ExternalDriveBackupPolicyEnabled | ExternalDriveBackupPolicyOther;
2685826862

2685926863
/**
2686026864
* Changed external drive backup policy for team.
@@ -35751,11 +35755,18 @@
3575135755
'.tag': 'enabled';
3575235756
}
3575335757

35758+
/**
35759+
* External Drive Backup default value based on team tier.
35760+
*/
35761+
export interface ExternalDriveBackupPolicyStateDefault {
35762+
'.tag': 'default';
35763+
}
35764+
3575435765
export interface ExternalDriveBackupPolicyStateOther {
3575535766
'.tag': 'other';
3575635767
}
3575735768

35758-
export type ExternalDriveBackupPolicyState = ExternalDriveBackupPolicyStateDisabled | ExternalDriveBackupPolicyStateEnabled | ExternalDriveBackupPolicyStateOther;
35769+
export type ExternalDriveBackupPolicyState = ExternalDriveBackupPolicyStateDisabled | ExternalDriveBackupPolicyStateEnabled | ExternalDriveBackupPolicyStateDefault | ExternalDriveBackupPolicyStateOther;
3575935770

3576035771
/**
3576135772
* File locking feature is disabled.

0 commit comments

Comments
 (0)