diff --git a/generator/dropbox-api-spec b/generator/dropbox-api-spec index 822caa80..4d5bb48a 160000 --- a/generator/dropbox-api-spec +++ b/generator/dropbox-api-spec @@ -1 +1 @@ -Subproject commit 822caa80810d2248730a0c6c61309d45f0063f29 +Subproject commit 4d5bb48ac801df6410ddc9c2cad0d9f5bb0a2365 diff --git a/generator/stone b/generator/stone index 314d2972..1883c85e 160000 --- a/generator/stone +++ b/generator/stone @@ -1 +1 @@ -Subproject commit 314d2972ce92dd381b2f6cd7e7610e128fd0069a +Subproject commit 1883c85e02065ffee11bf7ae5717466f317b6e52 diff --git a/lib/types.js b/lib/types.js index 47ca8e09..653e0b79 100644 --- a/lib/types.js +++ b/lib/types.js @@ -12104,7 +12104,7 @@ is only present when needed to discriminate between multiple possible subtypes. /** * Label type * @typedef {Object} TeamLogLabelType - * @property {('personal_information'|'other')} .tag - Tag identifying the union variant. + * @property {('personal_information'|'user_defined_tag'|'other')} .tag - Tag identifying the union variant. */ /** diff --git a/package-lock.json b/package-lock.json index 3dad3bfd..57ab35e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "dropbox", - "version": "9.6.0", + "version": "9.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 57fc810b..9ca83b7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dropbox", - "version": "9.7.0", + "version": "9.8.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", @@ -107,4 +107,4 @@ "dependencies": { "node-fetch": "^2.6.1" } -} +} \ No newline at end of file diff --git a/types/dropbox_types.d.ts b/types/dropbox_types.d.ts index aadcc575..91b702be 100644 --- a/types/dropbox_types.d.ts +++ b/types/dropbox_types.d.ts @@ -27895,6 +27895,10 @@ '.tag': 'personal_information'; } + export interface LabelTypeUserDefinedTag { + '.tag': 'user_defined_tag'; + } + export interface LabelTypeOther { '.tag': 'other'; } @@ -27902,7 +27906,7 @@ /** * Label type */ - export type LabelType = LabelTypePersonalInformation | LabelTypeOther; + export type LabelType = LabelTypePersonalInformation | LabelTypeUserDefinedTag | LabelTypeOther; /** * Information on sessions, in legacy format