box-node-sdk 2.6.0 → 2.7.1

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,20 @@
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.1](https://github.com/box/box-node-sdk/compare/v2.7.0...v2.7.1) (2022-10-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Export missing `RetentionType` ([#774](https://github.com/box/box-node-sdk/issues/774)) ([7e6b244](https://github.com/box/box-node-sdk/commit/7e6b244ba63d363ecc921be570140c9e1ed1d032))
11
+
12
+ ## [2.7.0](https://github.com/box/box-node-sdk/compare/v2.6.0...v2.7.0) (2022-10-27)
13
+
14
+
15
+ ### New Features and Enhancements
16
+
17
+ * 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))
18
+
5
19
  ## [2.6.0](https://github.com/box/box-node-sdk/compare/v2.5.0...v2.6.0) (2022-09-23)
6
20
 
7
21
 
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
@@ -54,6 +74,7 @@ declare class RetentionPolicies {
54
74
  policyTypes: typeof RetentionPolicyType;
55
75
  dispositionActions: typeof RetentionPolicyDispositionAction;
56
76
  assignmentTypes: typeof RetentionPolicyAssignmentType;
77
+ retentionTypes: typeof RetentionType;
57
78
  constructor(client: BoxClient);
58
79
  /**
59
80
  * Used to create a single retention policy for an enterprise
@@ -66,11 +87,13 @@ declare class RetentionPolicies {
66
87
  * @param {RetentionPolicyDispositionAction} action - The disposition action for the new policy
67
88
  * @param {Object} [options] - Additional parameters
68
89
  * @param {int} [options.retention_length] - For finite policies, the number of days to retain the content
90
+ * @param {RetentionType} [options.retention_type] - The type of retention for the new policy
69
91
  * @param {Function} [callback] - Passed the new policy information if it was acquired successfully, error otherwise
70
92
  * @returns {Promise<Object>} A promise resolving to the new policy object
71
93
  */
72
94
  create(name: string, type: RetentionPolicyType, action: RetentionPolicyDispositionAction, options?: {
73
95
  retention_length?: number;
96
+ retention_type?: RetentionType;
74
97
  }, callback?: Function): any;
75
98
  /**
76
99
  * Fetches details about a specific retention policy
@@ -94,6 +117,8 @@ declare class RetentionPolicies {
94
117
  * @param {Object} updates - The information to be updated
95
118
  * @param {string} [updates.policy_name] - The name of the retention policy
96
119
  * @param {RetentionPolicyDispositionAction} [updates.disposition_action] - The disposition action for the updated policy
120
+ * @param {int} [updates.retention_length] - For finite policies, the number of days to retain the content
121
+ * @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
122
  * @param {string} [updates.status] - Used to retire a retention policy if status is set to retired
98
123
  * @param {Function} [callback] - Passed the updated policy information if it was acquired successfully, error otherwise
99
124
  * @returns {Promise<Object>} A promise resolving to the updated policy object
@@ -101,6 +126,8 @@ declare class RetentionPolicies {
101
126
  update(policyID: string, updates: {
102
127
  policy_name?: string;
103
128
  disposition_action?: RetentionPolicyDispositionAction;
129
+ retention_length?: number;
130
+ retention_type?: RetentionType;
104
131
  status?: string;
105
132
  }, callback?: Function): any;
106
133
  /**
@@ -165,6 +192,17 @@ declare class RetentionPolicies {
165
192
  * @returns {Promise<Object>} A promise resolving to the assignment object
166
193
  */
167
194
  getAssignment(assignmentID: string, options?: Record<string, any>, callback?: Function): any;
195
+ /**
196
+ * Delete a specific policy assignment.
197
+ *
198
+ * API Endpoint: '/retention_policy_assignments/:assignmentID'
199
+ * Method: DELETE
200
+ *
201
+ * @param {string} assignmentID - The Box ID of the policy assignment object to delete
202
+ * @param {Function} [callback] - Empty response body passed if successful.
203
+ * @returns {Promise<void>} A promise resolving to nothing
204
+ */
205
+ deleteAssignment(assignmentID: string, callback?: Function): any;
168
206
  /**
169
207
  * Get the specific retention record for a retained file version. To use this feature,
170
208
  * 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
@@ -318,5 +356,11 @@ RetentionPolicies.prototype.dispositionActions =
318
356
  * @enum {RetentionPolicyAssignmentType}
319
357
  */
320
358
  RetentionPolicies.prototype.assignmentTypes = RetentionPolicyAssignmentType;
359
+ /**
360
+ * Enum of valid retention types. Could be either modifiable or non-modifiable.
361
+ * @readonly
362
+ * @enum {RetentionType}
363
+ */
364
+ RetentionPolicies.prototype.retentionTypes = RetentionType;
321
365
  module.exports = RetentionPolicies;
322
366
  //# sourceMappingURL=retention-policies.js.map
@@ -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,IAA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,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;AACH,IAAK,aAcJ;AAdD,WAAK,aAAa;IACjB;;;;OAIG;IACH,0CAAyB,CAAA;IACzB;;;;;OAKG;IACH,kDAAiC,CAAA;AAClC,CAAC,EAdI,aAAa,KAAb,aAAa,QAcjB;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,gFAAg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wBAAC;AAAD,CAAC,AAlbD,IAkbC;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;;;;GAIG;AACH,iBAAiB,CAAC,SAAS,CAAC,cAAc,GAAG,aAAa,CAAC;AAE3D,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.1",
5
5
  "description": "Official SDK for Box Plaform APIs",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {