box-node-sdk 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.7.0](https://github.com/box/box-node-sdk/compare/v2.6.0...v2.7.0) (2022-10-27)
6
+
7
+
8
+ ### New Features and Enhancements
9
+
10
+ * Add support for modifiable retention policies & enable deleting retention policy assignment ([#769](https://github.com/box/box-node-sdk/issues/769)) ([5e8c776](https://github.com/box/box-node-sdk/commit/5e8c776fc94e9dcf313cc15c96e42fbffaf36b74))
11
+
5
12
  ## [2.6.0](https://github.com/box/box-node-sdk/compare/v2.5.0...v2.6.0) (2022-09-23)
6
13
 
7
14
 
package/README.md CHANGED
@@ -6,9 +6,7 @@ Box Node.js SDK
6
6
  [![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
7
7
  [![Coverage](https://coveralls.io/repos/github/box/box-node-sdk/badge.svg?branch=main)](https://coveralls.io/github/box/box-node-sdk?branch=main)
8
8
 
9
- A Node.js interface to the [Box Content API](https://developers.box.com/docs/).
10
-
11
- Getting Started Docs: https://developer.box.com/guides/tooling/sdks/node/
9
+ A Node.js interface to the [Box Content API](https://developer.box.com/reference/).
12
10
 
13
11
  <!-- START doctoc generated TOC please keep comment here to allow auto update -->
14
12
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
@@ -32,7 +30,7 @@ Getting Started Docs: https://developer.box.com/guides/tooling/sdks/node/
32
30
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
33
31
 
34
32
  ## Installation
35
-
33
+ Node SDK Installation [details](https://developer.box.com/guides/tooling/sdks/node/).
36
34
 
37
35
  ```
38
36
  npm install --save box-node-sdk
@@ -12,6 +12,26 @@ declare enum RetentionPolicyType {
12
12
  FINITE = "finite",
13
13
  INDEFINITE = "indefinite"
14
14
  }
15
+ /**
16
+ * Enum of valid retention types.
17
+ * @readonly
18
+ * @enum {RetentionType}
19
+ */
20
+ declare enum RetentionType {
21
+ /**
22
+ * You can modify the retention policy. For example, you can add or remove folders,
23
+ * shorten or lengthen the policy duration, or delete the assignment.
24
+ * Use this type if your retention policy is not related to any regulatory purposes.
25
+ */
26
+ MODIFIABLE = "modifiable",
27
+ /**
28
+ * You can modify the retention policy only in a limited way: add a folder, lengthen the duration,
29
+ * retire the policy, change the disposition action or notification settings.
30
+ * You cannot perform other actions, such as deleting the assignment or shortening the policy duration.
31
+ * Use this type to ensure compliance with regulatory retention policies.
32
+ */
33
+ NON_MODIFIABLE = "non_modifiable"
34
+ }
15
35
  /**
16
36
  * Enum of valid retention policy disposition actions, which specify what should
17
37
  * be done when the retention period is over
@@ -66,11 +86,13 @@ declare class RetentionPolicies {
66
86
  * @param {RetentionPolicyDispositionAction} action - The disposition action for the new policy
67
87
  * @param {Object} [options] - Additional parameters
68
88
  * @param {int} [options.retention_length] - For finite policies, the number of days to retain the content
89
+ * @param {RetentionType} [options.retention_type] - The type of retention for the new policy
69
90
  * @param {Function} [callback] - Passed the new policy information if it was acquired successfully, error otherwise
70
91
  * @returns {Promise<Object>} A promise resolving to the new policy object
71
92
  */
72
93
  create(name: string, type: RetentionPolicyType, action: RetentionPolicyDispositionAction, options?: {
73
94
  retention_length?: number;
95
+ retention_type?: RetentionType;
74
96
  }, callback?: Function): any;
75
97
  /**
76
98
  * Fetches details about a specific retention policy
@@ -94,6 +116,8 @@ declare class RetentionPolicies {
94
116
  * @param {Object} updates - The information to be updated
95
117
  * @param {string} [updates.policy_name] - The name of the retention policy
96
118
  * @param {RetentionPolicyDispositionAction} [updates.disposition_action] - The disposition action for the updated policy
119
+ * @param {int} [updates.retention_length] - For finite policies, the number of days to retain the content
120
+ * @param {RetentionType} [updates.retention_type] - The type of retention. The only possible value here is non_modifiable. You can convert a modifiable policy to non_modifiable, but not the other way around.
97
121
  * @param {string} [updates.status] - Used to retire a retention policy if status is set to retired
98
122
  * @param {Function} [callback] - Passed the updated policy information if it was acquired successfully, error otherwise
99
123
  * @returns {Promise<Object>} A promise resolving to the updated policy object
@@ -101,6 +125,8 @@ declare class RetentionPolicies {
101
125
  update(policyID: string, updates: {
102
126
  policy_name?: string;
103
127
  disposition_action?: RetentionPolicyDispositionAction;
128
+ retention_length?: number;
129
+ retention_type?: RetentionType;
104
130
  status?: string;
105
131
  }, callback?: Function): any;
106
132
  /**
@@ -165,6 +191,17 @@ declare class RetentionPolicies {
165
191
  * @returns {Promise<Object>} A promise resolving to the assignment object
166
192
  */
167
193
  getAssignment(assignmentID: string, options?: Record<string, any>, callback?: Function): any;
194
+ /**
195
+ * Delete a specific policy assignment.
196
+ *
197
+ * API Endpoint: '/retention_policy_assignments/:assignmentID'
198
+ * Method: DELETE
199
+ *
200
+ * @param {string} assignmentID - The Box ID of the policy assignment object to delete
201
+ * @param {Function} [callback] - Empty response body passed if successful.
202
+ * @returns {Promise<void>} A promise resolving to nothing
203
+ */
204
+ deleteAssignment(assignmentID: string, callback?: Function): any;
168
205
  /**
169
206
  * Get the specific retention record for a retained file version. To use this feature,
170
207
  * you must have the manage retention policies scope enabled for your API key
@@ -20,6 +20,27 @@ var RetentionPolicyType;
20
20
  RetentionPolicyType["FINITE"] = "finite";
21
21
  RetentionPolicyType["INDEFINITE"] = "indefinite";
22
22
  })(RetentionPolicyType || (RetentionPolicyType = {}));
23
+ /**
24
+ * Enum of valid retention types.
25
+ * @readonly
26
+ * @enum {RetentionType}
27
+ */
28
+ var RetentionType;
29
+ (function (RetentionType) {
30
+ /**
31
+ * You can modify the retention policy. For example, you can add or remove folders,
32
+ * shorten or lengthen the policy duration, or delete the assignment.
33
+ * Use this type if your retention policy is not related to any regulatory purposes.
34
+ */
35
+ RetentionType["MODIFIABLE"] = "modifiable";
36
+ /**
37
+ * You can modify the retention policy only in a limited way: add a folder, lengthen the duration,
38
+ * retire the policy, change the disposition action or notification settings.
39
+ * You cannot perform other actions, such as deleting the assignment or shortening the policy duration.
40
+ * Use this type to ensure compliance with regulatory retention policies.
41
+ */
42
+ RetentionType["NON_MODIFIABLE"] = "non_modifiable";
43
+ })(RetentionType || (RetentionType = {}));
23
44
  /**
24
45
  * Enum of valid retention policy disposition actions, which specify what should
25
46
  * be done when the retention period is over
@@ -71,6 +92,7 @@ var RetentionPolicies = /** @class */ (function () {
71
92
  * @param {RetentionPolicyDispositionAction} action - The disposition action for the new policy
72
93
  * @param {Object} [options] - Additional parameters
73
94
  * @param {int} [options.retention_length] - For finite policies, the number of days to retain the content
95
+ * @param {RetentionType} [options.retention_type] - The type of retention for the new policy
74
96
  * @param {Function} [callback] - Passed the new policy information if it was acquired successfully, error otherwise
75
97
  * @returns {Promise<Object>} A promise resolving to the new policy object
76
98
  */
@@ -112,6 +134,8 @@ var RetentionPolicies = /** @class */ (function () {
112
134
  * @param {Object} updates - The information to be updated
113
135
  * @param {string} [updates.policy_name] - The name of the retention policy
114
136
  * @param {RetentionPolicyDispositionAction} [updates.disposition_action] - The disposition action for the updated policy
137
+ * @param {int} [updates.retention_length] - For finite policies, the number of days to retain the content
138
+ * @param {RetentionType} [updates.retention_type] - The type of retention. The only possible value here is non_modifiable. You can convert a modifiable policy to non_modifiable, but not the other way around.
115
139
  * @param {string} [updates.status] - Used to retire a retention policy if status is set to retired
116
140
  * @param {Function} [callback] - Passed the updated policy information if it was acquired successfully, error otherwise
117
141
  * @returns {Promise<Object>} A promise resolving to the updated policy object
@@ -208,6 +232,20 @@ var RetentionPolicies = /** @class */ (function () {
208
232
  };
209
233
  return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
210
234
  };
235
+ /**
236
+ * Delete a specific policy assignment.
237
+ *
238
+ * API Endpoint: '/retention_policy_assignments/:assignmentID'
239
+ * Method: DELETE
240
+ *
241
+ * @param {string} assignmentID - The Box ID of the policy assignment object to delete
242
+ * @param {Function} [callback] - Empty response body passed if successful.
243
+ * @returns {Promise<void>} A promise resolving to nothing
244
+ */
245
+ RetentionPolicies.prototype.deleteAssignment = function (assignmentID, callback) {
246
+ var apiPath = (0, url_path_1.default)(ASSIGNMENTS_PATH, assignmentID);
247
+ return this.client.wrapWithDefaultHandler(this.client.del)(apiPath, null, callback);
248
+ };
211
249
  /**
212
250
  * Get the specific retention record for a retained file version. To use this feature,
213
251
  * you must have the manage retention policies scope enabled for your API key
@@ -1 +1 @@
1
- {"version":3,"file":"retention-policies.js","sourceRoot":"","sources":["../../src/managers/retention-policies.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAMH,8DAAuC;AAEvC,gFAAgF;AAChF,WAAW;AACX,gFAAgF;AAEhF;;;;;GAKG;AACH,IAAK,mBAGJ;AAHD,WAAK,mBAAmB;IACvB,wCAAiB,CAAA;IACjB,gDAAyB,CAAA;AAC1B,CAAC,EAHI,mBAAmB,KAAnB,mBAAmB,QAGvB;AAED;;;;;GAKG;AACH,IAAK,gCAGJ;AAHD,WAAK,gCAAgC;IACpC,6EAAyC,CAAA;IACzC,yEAAqC,CAAA;AACtC,CAAC,EAHI,gCAAgC,KAAhC,gCAAgC,QAGpC;AAED;;;;GAIG;AACH,IAAK,6BAIJ;AAJD,WAAK,6BAA6B;IACjC,kDAAiB,CAAA;IACjB,0DAAyB,CAAA;IACzB,+DAA8B,CAAA;AAC/B,CAAC,EAJI,6BAA6B,KAA7B,6BAA6B,QAIjC;AAaD,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,IAAM,SAAS,GAAG,qBAAqB,EACtC,gBAAgB,GAAG,+BAA+B,EAClD,4BAA4B,GAAG,0BAA0B,EACzD,uBAAuB,GAAG,aAAa,EACvC,iCAAiC,GAAG,uBAAuB,EAC3D,0CAA0C,GAAG,+BAA+B,CAAC;AAE9E,gFAAgF;AAChF,SAAS;AACT,gFAAgF;AAEhF;;;;;;GAMG;AACH;IAOC,2BAAY,MAAiB;QAC5B,IAAI,CA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,GAAG,IAAA,kBAAO,EACnB,gBAAgB,EAChB,YAAY,EACZ,iCAAiC,CACjC,EACD,MAAM,GAAG;YACR,EAAE,EAAE,OAAO;SACX,CAAC;QAEH,OAAO,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CACzD,OAAO,EACP,MAAM,EACN,QAAQ,CACR,CAAC;IACH,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,sEAA0C,GAA1C,UACC,YAAoB,EACpB,OAGC,EACD,QAAmB;QAEnB,IAAI,OAAO,GAAG,IAAA,kBAAO,EACnB,gBAAgB,EAChB,YAAY,EACZ,0CAA0C,CAC1C,EACD,MAAM,GAAG;YACR,EAAE,EAAE,OAAO;SACX,CAAC;QAEH,OAAO,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CACzD,OAAO,EACP,MAAM,EACN,QAAQ,CACR,CAAC;IACH,CAAC;IACF,wBAAC;AAAD,CAAC,AAvZD,IAuZC;AAED;;;;;GAKG;AACH,iBAAiB,CAAC,SAAS,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAE9D;;;;;GAKG;AACH,iBAAiB,CAAC,SAAS,CAAC,kBAAkB;IAC7C,gCAAgC,CAAC;AAElC;;;;GAIG;AACH,iBAAiB,CAAC,SAAS,CAAC,eAAe,GAAG,6BAA6B,CAAC;AAE5E,iBAAS,iBAAiB,CAAC"}
1
+ {"version":3,"file":"retention-policies.js","sourceRoot":"","sources":["../../src/managers/retention-policies.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAMH,8DAAuC;AAEvC,gFAAgF;AAChF,WAAW;AACX,gFAAgF;AAEhF;;;;;GAKG;AACH,IAAK,mBAGJ;AAHD,WAAK,mBAAmB;IACvB,wCAAiB,CAAA;IACjB,gDAAyB,CAAA;AAC1B,CAAC,EAHI,mBAAmB,KAAnB,mBAAmB,QAGvB;AAED;;;;GAIG;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BAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CACzD,OAAO,EACP,MAAM,EACN,QAAQ,CACR,CAAC;IACH,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,sEAA0C,GAA1C,UACC,YAAoB,EACpB,OAGC,EACD,QAAmB;QAEnB,IAAI,OAAO,GAAG,IAAA,kBAAO,EACnB,gBAAgB,EAChB,YAAY,EACZ,0CAA0C,CAC1C,EACD,MAAM,GAAG;YACR,EAAE,EAAE,OAAO;SACX,CAAC;QAEH,OAAO,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CACzD,OAAO,EACP,MAAM,EACN,QAAQ,CACR,CAAC;IACH,CAAC;IACF,wBAAC;AAAD,CAAC,AAjbD,IAibC;AAED;;;;;GAKG;AACH,iBAAiB,CAAC,SAAS,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAE9D;;;;;GAKG;AACH,iBAAiB,CAAC,SAAS,CAAC,kBAAkB;IAC7C,gCAAgC,CAAC;AAElC;;;;GAIG;AACH,iBAAiB,CAAC,SAAS,CAAC,eAAe,GAAG,6BAA6B,CAAC;AAE5E,iBAAS,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "box-node-sdk",
3
3
  "author": "Box <oss@box.com>",
4
- "version": "2.6.0",
4
+ "version": "2.7.0",
5
5
  "description": "Official SDK for Box Plaform APIs",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {