box-node-sdk 1.35.0 → 1.37.2
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 +37 -2
- package/README.md +1 -1
- package/lib/api-request-manager.d.ts +38 -0
- package/lib/api-request-manager.js +48 -55
- package/lib/api-request-manager.js.map +1 -0
- package/lib/api-request.d.ts +141 -0
- package/lib/api-request.js +202 -281
- package/lib/api-request.js.map +1 -0
- package/lib/box-client.d.ts +269 -0
- package/lib/box-client.js +551 -713
- package/lib/box-client.js.map +1 -0
- package/lib/box-node-sdk.d.ts +216 -0
- package/lib/box-node-sdk.js +317 -352
- package/lib/box-node-sdk.js.map +1 -0
- package/lib/chunked-uploader.d.ts +129 -0
- package/lib/chunked-uploader.js +287 -358
- package/lib/chunked-uploader.js.map +1 -0
- package/lib/enterprise-event-stream.d.ts +82 -0
- package/lib/enterprise-event-stream.js +189 -203
- package/lib/enterprise-event-stream.js.map +1 -0
- package/lib/event-stream.d.ts +92 -0
- package/lib/event-stream.js +274 -302
- package/lib/event-stream.js.map +1 -0
- package/lib/managers/collaboration-allowlist.d.ts +137 -0
- package/lib/managers/collaboration-allowlist.js +200 -0
- package/lib/managers/collaboration-allowlist.js.map +1 -0
- package/lib/managers/collaboration-whitelist.d.ts +3 -0
- package/lib/managers/collaboration-whitelist.js +8 -222
- package/lib/managers/collaboration-whitelist.js.map +1 -0
- package/lib/managers/collaborations.d.ts +166 -0
- package/lib/managers/collaborations.js +225 -258
- package/lib/managers/collaborations.js.map +1 -0
- package/lib/managers/collections.d.ts +42 -0
- package/lib/managers/collections.js +45 -50
- package/lib/managers/collections.js.map +1 -0
- package/lib/managers/comments.d.ts +103 -0
- package/lib/managers/comments.js +158 -173
- package/lib/managers/comments.js.map +1 -0
- package/lib/managers/device-pins.d.ts +52 -0
- package/lib/managers/device-pins.js +75 -88
- package/lib/managers/device-pins.js.map +1 -0
- package/lib/managers/enterprise.d.ts +162 -0
- package/lib/managers/enterprise.js +168 -199
- package/lib/managers/enterprise.js.map +1 -0
- package/lib/managers/events.d.ts +177 -0
- package/lib/managers/events.js +230 -254
- package/lib/managers/events.js.map +1 -0
- package/lib/managers/files.d.ts +772 -0
- package/lib/managers/files.js +1400 -1602
- package/lib/managers/files.js.map +1 -0
- package/lib/managers/folders.d.ts +347 -0
- package/lib/managers/folders.js +551 -567
- package/lib/managers/folders.js.map +1 -0
- package/lib/managers/groups.d.ts +202 -0
- package/lib/managers/groups.js +238 -287
- package/lib/managers/groups.js.map +1 -0
- package/lib/managers/legal-hold-policies.d.ts +190 -0
- package/lib/managers/legal-hold-policies.js +228 -272
- package/lib/managers/legal-hold-policies.js.map +1 -0
- package/lib/managers/metadata.d.ts +228 -0
- package/lib/managers/metadata.js +265 -328
- package/lib/managers/metadata.js.map +1 -0
- package/lib/managers/recent-items.d.ts +38 -0
- package/lib/managers/recent-items.js +32 -39
- package/lib/managers/recent-items.js.map +1 -0
- package/lib/managers/retention-policies.d.ts +213 -0
- package/lib/managers/retention-policies.js +235 -281
- package/lib/managers/retention-policies.js.map +1 -0
- package/lib/managers/search.d.ts +82 -0
- package/lib/managers/search.js +68 -88
- package/lib/managers/search.js.map +1 -0
- package/lib/managers/shared-items.d.ts +33 -0
- package/lib/managers/shared-items.js +54 -62
- package/lib/managers/shared-items.js.map +1 -0
- package/lib/managers/storage-policies.d.ts +86 -0
- package/lib/managers/storage-policies.js +108 -142
- package/lib/managers/storage-policies.js.map +1 -0
- package/lib/managers/tasks.d.ts +161 -0
- package/lib/managers/tasks.js +219 -260
- package/lib/managers/tasks.js.map +1 -0
- package/lib/managers/terms-of-service.d.ts +161 -0
- package/lib/managers/terms-of-service.js +250 -273
- package/lib/managers/terms-of-service.js.map +1 -0
- package/lib/managers/trash.d.ts +30 -0
- package/lib/managers/trash.js +30 -41
- package/lib/managers/trash.js.map +1 -0
- package/lib/managers/users.d.ts +131 -0
- package/lib/managers/users.js +160 -203
- package/lib/managers/users.js.map +1 -0
- package/lib/managers/web-links.d.ts +127 -0
- package/lib/managers/web-links.js +183 -209
- package/lib/managers/web-links.js.map +1 -0
- package/lib/managers/webhooks.d.ts +166 -0
- package/lib/managers/webhooks.js +312 -305
- package/lib/managers/webhooks.js.map +1 -0
- package/lib/sessions/anonymous-session.d.ts +69 -0
- package/lib/sessions/anonymous-session.js +88 -102
- package/lib/sessions/anonymous-session.js.map +1 -0
- package/lib/sessions/app-auth-session.d.ts +92 -0
- package/lib/sessions/app-auth-session.js +140 -160
- package/lib/sessions/app-auth-session.js.map +1 -0
- package/lib/sessions/basic-session.d.ts +56 -0
- package/lib/sessions/basic-session.js +40 -50
- package/lib/sessions/basic-session.js.map +1 -0
- package/lib/sessions/persistent-session.d.ts +96 -0
- package/lib/sessions/persistent-session.js +191 -211
- package/lib/sessions/persistent-session.js.map +1 -0
- package/lib/token-manager.d.ts +191 -0
- package/lib/token-manager.js +390 -465
- package/lib/token-manager.js.map +1 -0
- package/lib/util/config.d.ts +86 -0
- package/lib/util/config.js +124 -152
- package/lib/util/config.js.map +1 -0
- package/lib/util/errors.d.ts +50 -0
- package/lib/util/errors.js +134 -145
- package/lib/util/errors.js.map +1 -0
- package/lib/util/exponential-backoff.d.ts +11 -0
- package/lib/util/exponential-backoff.js +10 -22
- package/lib/util/exponential-backoff.js.map +1 -0
- package/lib/util/paging-iterator.d.ts +53 -0
- package/lib/util/paging-iterator.js +202 -218
- package/lib/util/paging-iterator.js.map +1 -0
- package/lib/util/url-path.d.ts +16 -0
- package/lib/util/url-path.js +20 -35
- package/lib/util/url-path.js.map +1 -0
- package/package.json +24 -9
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Manager for the Box Collaboration Allowlist Resource
|
|
3
|
+
*/
|
|
4
|
+
import BoxClient from '../box-client';
|
|
5
|
+
/**
|
|
6
|
+
* Collaboration Allowlist parameter constant
|
|
7
|
+
* @typedef {string} CollaborationAllowlistDirection Determines the type of restriction for allowlisting for a domain
|
|
8
|
+
*/
|
|
9
|
+
declare enum CollaborationAllowlistDirection {
|
|
10
|
+
INBOUND = "inbound",
|
|
11
|
+
OUTBOUND = "outbound",
|
|
12
|
+
BOTH = "both"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Simple manager for interacting with all 'Collaboration Allowlist' endpoints and actions.
|
|
16
|
+
*
|
|
17
|
+
* @constructor
|
|
18
|
+
* @param {BoxClient} client - The Box API Client that is responsible for making calls to the API
|
|
19
|
+
* @returns {void}
|
|
20
|
+
*/
|
|
21
|
+
declare class CollaborationAllowlist {
|
|
22
|
+
client: BoxClient;
|
|
23
|
+
directions: Record<string, string>;
|
|
24
|
+
/** @deprecated */
|
|
25
|
+
getWhitelistedDomain: any;
|
|
26
|
+
/** @deprecated */
|
|
27
|
+
getAllWhitelistedDomains: any;
|
|
28
|
+
constructor(client: BoxClient);
|
|
29
|
+
/**
|
|
30
|
+
* Add a domain to the enterprise's allowlist.
|
|
31
|
+
*
|
|
32
|
+
* API Endpoint: '/collaboration_whitelist_entries'
|
|
33
|
+
* Method: POST
|
|
34
|
+
*
|
|
35
|
+
* @param {string} domain - The domain to be added to the allowlist
|
|
36
|
+
* @param {CollaborationAllowlistDirection} direction - Inbound refers to collaboration actions within an enterprise. Outbound
|
|
37
|
+
* refers to collaboration actions external to an enterprise. Both refers to
|
|
38
|
+
* collaboration actions taken within and external to an enterprise
|
|
39
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information if it was created successfully
|
|
40
|
+
* @returns {Promise<Object>} A promise resolve to the collaboration allowlist object
|
|
41
|
+
*/
|
|
42
|
+
addDomain(domain: string, direction: CollaborationAllowlistDirection, callback?: Function): any;
|
|
43
|
+
/**
|
|
44
|
+
* Requests a collaboration allowlist entry with a given ID.
|
|
45
|
+
*
|
|
46
|
+
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
47
|
+
* Method: GET
|
|
48
|
+
*
|
|
49
|
+
* @param {string} domainID - Box ID of the collaboration allowlist being requested
|
|
50
|
+
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
51
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information if it was acquired successfully
|
|
52
|
+
* @returns {Promise<Object>} A promise resolving to the collaboration allowlist object
|
|
53
|
+
*/
|
|
54
|
+
getAllowlistedDomain(domainID: string, options?: Record<string, any>, callback?: Function): any;
|
|
55
|
+
/**
|
|
56
|
+
* Requests all collaboration allowlist entries within an enterprise.
|
|
57
|
+
*
|
|
58
|
+
* API Endpoint: '/collaboration_whitelist_entries'
|
|
59
|
+
* Method: GET
|
|
60
|
+
*
|
|
61
|
+
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
62
|
+
* @param {int} [options.limit] - The number of collaboration allowlists to retrieve
|
|
63
|
+
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
64
|
+
* @param {Function} [callback] - Passed a list of collaboration allowlists if successful, error otherwise
|
|
65
|
+
* @returns {Promise<Object>} A promise resolving to the collection of collaboration allowlists
|
|
66
|
+
*/
|
|
67
|
+
getAllAllowlistedDomains(options?: {
|
|
68
|
+
limit?: number;
|
|
69
|
+
marker?: string;
|
|
70
|
+
}, callback?: Function): any;
|
|
71
|
+
/**
|
|
72
|
+
* Delete a given collaboration allowlist entry.
|
|
73
|
+
*
|
|
74
|
+
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
75
|
+
* Method: DELETE
|
|
76
|
+
*
|
|
77
|
+
* @param {string} domainID - Box ID of the collaboration allowlist being requested
|
|
78
|
+
* @param {Function} [callback] - Empty response body passed if successful.
|
|
79
|
+
* @returns {Promise<void>} A promise resolving to nothing
|
|
80
|
+
*/
|
|
81
|
+
removeDomain(domainID: string, callback?: Function): any;
|
|
82
|
+
/**
|
|
83
|
+
* Adds a Box User to the exempt target list.
|
|
84
|
+
*
|
|
85
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
86
|
+
* Method: GET
|
|
87
|
+
*
|
|
88
|
+
* @param {string} userID - The ID of the Box User to be added to the allowlist
|
|
89
|
+
* @param {Function} [callback] - Passed a collaboration allowlist for user if successful, error otherwise
|
|
90
|
+
* @returns {Promise<Object>} A promise resolving to a user collaboration allowlist
|
|
91
|
+
*/
|
|
92
|
+
addExemption(userID: string, callback?: Function): any;
|
|
93
|
+
/**
|
|
94
|
+
* Retrieves information about a collaboration allowlist for user by allowlist ID.
|
|
95
|
+
*
|
|
96
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
97
|
+
* Method: GET
|
|
98
|
+
*
|
|
99
|
+
* @param {string} exemptionID - The ID of the collaboration allowlist
|
|
100
|
+
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
101
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information for a user if it was acquired successfully
|
|
102
|
+
* @returns {Promise<Object>} A promise resolving to the collaboration allowlist object
|
|
103
|
+
*/
|
|
104
|
+
getExemption(exemptionID: string, options?: Record<string, any>, callback?: Function): any;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieve a list of all exemptions to an enterprise's collaboration allowlist.
|
|
107
|
+
*
|
|
108
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
109
|
+
* Method: GET
|
|
110
|
+
*
|
|
111
|
+
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
112
|
+
* @param {int} [options.limit] - The number of user collaboration allowlists to retrieve
|
|
113
|
+
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
114
|
+
* @param {Function} [callback] - Passed a list of user collaboration allowlists if successful, error otherwise
|
|
115
|
+
* @returns {Promise<Object>} A promise resolving to the collection of user collaboration allowlists
|
|
116
|
+
*/
|
|
117
|
+
getAllExemptions(options?: {
|
|
118
|
+
limit?: number;
|
|
119
|
+
marker?: string;
|
|
120
|
+
}, callback?: Function): any;
|
|
121
|
+
/**
|
|
122
|
+
* Delete a given user collaboration allowlist.
|
|
123
|
+
*
|
|
124
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
125
|
+
* Method: DELETE
|
|
126
|
+
*
|
|
127
|
+
* @param {string} exemptionID - Box ID of the user collaboration allowlist being requested
|
|
128
|
+
* @param {Function} [callback] - Empty response body passed if successful.
|
|
129
|
+
* @returns {Promise<void>} A promise resolving to nothing
|
|
130
|
+
*/
|
|
131
|
+
removeExemption(exemptionID: string, callback?: Function): any;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @module box-node-sdk/lib/managers/collaboration-allowlists
|
|
135
|
+
* @see {@Link CollaborationAllowlist}
|
|
136
|
+
*/
|
|
137
|
+
export = CollaborationAllowlist;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview Manager for the Box Collaboration Allowlist Resource
|
|
4
|
+
*/
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
var url_path_1 = __importDefault(require("../util/url-path"));
|
|
9
|
+
// -----------------------------------------------------------------------------
|
|
10
|
+
// Typedefs
|
|
11
|
+
// -----------------------------------------------------------------------------
|
|
12
|
+
/**
|
|
13
|
+
* Collaboration Allowlist parameter constant
|
|
14
|
+
* @typedef {string} CollaborationAllowlistDirection Determines the type of restriction for allowlisting for a domain
|
|
15
|
+
*/
|
|
16
|
+
var CollaborationAllowlistDirection;
|
|
17
|
+
(function (CollaborationAllowlistDirection) {
|
|
18
|
+
CollaborationAllowlistDirection["INBOUND"] = "inbound";
|
|
19
|
+
CollaborationAllowlistDirection["OUTBOUND"] = "outbound";
|
|
20
|
+
CollaborationAllowlistDirection["BOTH"] = "both";
|
|
21
|
+
})(CollaborationAllowlistDirection || (CollaborationAllowlistDirection = {}));
|
|
22
|
+
// ------------------------------------------------------------------------------
|
|
23
|
+
// Private
|
|
24
|
+
// ------------------------------------------------------------------------------
|
|
25
|
+
var BASE_PATH = '/collaboration_whitelist_entries', TARGET_ENTRY_PATH = '/collaboration_whitelist_exempt_targets';
|
|
26
|
+
// ------------------------------------------------------------------------------
|
|
27
|
+
// Public
|
|
28
|
+
// ------------------------------------------------------------------------------
|
|
29
|
+
/**
|
|
30
|
+
* Simple manager for interacting with all 'Collaboration Allowlist' endpoints and actions.
|
|
31
|
+
*
|
|
32
|
+
* @constructor
|
|
33
|
+
* @param {BoxClient} client - The Box API Client that is responsible for making calls to the API
|
|
34
|
+
* @returns {void}
|
|
35
|
+
*/
|
|
36
|
+
var CollaborationAllowlist = /** @class */ (function () {
|
|
37
|
+
function CollaborationAllowlist(client) {
|
|
38
|
+
this.client = client;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Add a domain to the enterprise's allowlist.
|
|
42
|
+
*
|
|
43
|
+
* API Endpoint: '/collaboration_whitelist_entries'
|
|
44
|
+
* Method: POST
|
|
45
|
+
*
|
|
46
|
+
* @param {string} domain - The domain to be added to the allowlist
|
|
47
|
+
* @param {CollaborationAllowlistDirection} direction - Inbound refers to collaboration actions within an enterprise. Outbound
|
|
48
|
+
* refers to collaboration actions external to an enterprise. Both refers to
|
|
49
|
+
* collaboration actions taken within and external to an enterprise
|
|
50
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information if it was created successfully
|
|
51
|
+
* @returns {Promise<Object>} A promise resolve to the collaboration allowlist object
|
|
52
|
+
*/
|
|
53
|
+
CollaborationAllowlist.prototype.addDomain = function (domain, direction, callback) {
|
|
54
|
+
var params = {
|
|
55
|
+
body: {
|
|
56
|
+
domain: domain,
|
|
57
|
+
direction: direction,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
var apiPath = url_path_1.default(BASE_PATH);
|
|
61
|
+
return this.client.wrapWithDefaultHandler(this.client.post)(apiPath, params, callback);
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Requests a collaboration allowlist entry with a given ID.
|
|
65
|
+
*
|
|
66
|
+
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
67
|
+
* Method: GET
|
|
68
|
+
*
|
|
69
|
+
* @param {string} domainID - Box ID of the collaboration allowlist being requested
|
|
70
|
+
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
71
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information if it was acquired successfully
|
|
72
|
+
* @returns {Promise<Object>} A promise resolving to the collaboration allowlist object
|
|
73
|
+
*/
|
|
74
|
+
CollaborationAllowlist.prototype.getAllowlistedDomain = function (domainID, options, callback) {
|
|
75
|
+
var params = { qs: options };
|
|
76
|
+
var apiPath = url_path_1.default(BASE_PATH, domainID);
|
|
77
|
+
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Requests all collaboration allowlist entries within an enterprise.
|
|
81
|
+
*
|
|
82
|
+
* API Endpoint: '/collaboration_whitelist_entries'
|
|
83
|
+
* Method: GET
|
|
84
|
+
*
|
|
85
|
+
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
86
|
+
* @param {int} [options.limit] - The number of collaboration allowlists to retrieve
|
|
87
|
+
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
88
|
+
* @param {Function} [callback] - Passed a list of collaboration allowlists if successful, error otherwise
|
|
89
|
+
* @returns {Promise<Object>} A promise resolving to the collection of collaboration allowlists
|
|
90
|
+
*/
|
|
91
|
+
CollaborationAllowlist.prototype.getAllAllowlistedDomains = function (options, callback) {
|
|
92
|
+
var params = {
|
|
93
|
+
qs: options,
|
|
94
|
+
};
|
|
95
|
+
var apiPath = url_path_1.default(BASE_PATH);
|
|
96
|
+
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Delete a given collaboration allowlist entry.
|
|
100
|
+
*
|
|
101
|
+
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
102
|
+
* Method: DELETE
|
|
103
|
+
*
|
|
104
|
+
* @param {string} domainID - Box ID of the collaboration allowlist being requested
|
|
105
|
+
* @param {Function} [callback] - Empty response body passed if successful.
|
|
106
|
+
* @returns {Promise<void>} A promise resolving to nothing
|
|
107
|
+
*/
|
|
108
|
+
CollaborationAllowlist.prototype.removeDomain = function (domainID, callback) {
|
|
109
|
+
var apiPath = url_path_1.default(BASE_PATH, domainID);
|
|
110
|
+
return this.client.wrapWithDefaultHandler(this.client.del)(apiPath, null, callback);
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Adds a Box User to the exempt target list.
|
|
114
|
+
*
|
|
115
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
116
|
+
* Method: GET
|
|
117
|
+
*
|
|
118
|
+
* @param {string} userID - The ID of the Box User to be added to the allowlist
|
|
119
|
+
* @param {Function} [callback] - Passed a collaboration allowlist for user if successful, error otherwise
|
|
120
|
+
* @returns {Promise<Object>} A promise resolving to a user collaboration allowlist
|
|
121
|
+
*/
|
|
122
|
+
CollaborationAllowlist.prototype.addExemption = function (userID, callback) {
|
|
123
|
+
var params = {
|
|
124
|
+
body: {
|
|
125
|
+
user: {
|
|
126
|
+
id: userID,
|
|
127
|
+
type: 'user',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
var apiPath = url_path_1.default(TARGET_ENTRY_PATH);
|
|
132
|
+
return this.client.wrapWithDefaultHandler(this.client.post)(apiPath, params, callback);
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves information about a collaboration allowlist for user by allowlist ID.
|
|
136
|
+
*
|
|
137
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
138
|
+
* Method: GET
|
|
139
|
+
*
|
|
140
|
+
* @param {string} exemptionID - The ID of the collaboration allowlist
|
|
141
|
+
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
142
|
+
* @param {Function} [callback] - Passed the collaboration allowlist information for a user if it was acquired successfully
|
|
143
|
+
* @returns {Promise<Object>} A promise resolving to the collaboration allowlist object
|
|
144
|
+
*/
|
|
145
|
+
CollaborationAllowlist.prototype.getExemption = function (exemptionID, options, callback) {
|
|
146
|
+
var params = {
|
|
147
|
+
qs: options,
|
|
148
|
+
};
|
|
149
|
+
var apiPath = url_path_1.default(TARGET_ENTRY_PATH, exemptionID);
|
|
150
|
+
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Retrieve a list of all exemptions to an enterprise's collaboration allowlist.
|
|
154
|
+
*
|
|
155
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
156
|
+
* Method: GET
|
|
157
|
+
*
|
|
158
|
+
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
159
|
+
* @param {int} [options.limit] - The number of user collaboration allowlists to retrieve
|
|
160
|
+
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
161
|
+
* @param {Function} [callback] - Passed a list of user collaboration allowlists if successful, error otherwise
|
|
162
|
+
* @returns {Promise<Object>} A promise resolving to the collection of user collaboration allowlists
|
|
163
|
+
*/
|
|
164
|
+
CollaborationAllowlist.prototype.getAllExemptions = function (options, callback) {
|
|
165
|
+
var params = {
|
|
166
|
+
qs: options,
|
|
167
|
+
};
|
|
168
|
+
var apiPath = url_path_1.default(TARGET_ENTRY_PATH);
|
|
169
|
+
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Delete a given user collaboration allowlist.
|
|
173
|
+
*
|
|
174
|
+
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
175
|
+
* Method: DELETE
|
|
176
|
+
*
|
|
177
|
+
* @param {string} exemptionID - Box ID of the user collaboration allowlist being requested
|
|
178
|
+
* @param {Function} [callback] - Empty response body passed if successful.
|
|
179
|
+
* @returns {Promise<void>} A promise resolving to nothing
|
|
180
|
+
*/
|
|
181
|
+
CollaborationAllowlist.prototype.removeExemption = function (exemptionID, callback) {
|
|
182
|
+
var apiPath = url_path_1.default(TARGET_ENTRY_PATH, exemptionID);
|
|
183
|
+
return this.client.wrapWithDefaultHandler(this.client.del)(apiPath, null, callback);
|
|
184
|
+
};
|
|
185
|
+
return CollaborationAllowlist;
|
|
186
|
+
}());
|
|
187
|
+
// Legacy insensitive language
|
|
188
|
+
CollaborationAllowlist.prototype.getWhitelistedDomain =
|
|
189
|
+
CollaborationAllowlist.prototype.getAllowlistedDomain;
|
|
190
|
+
CollaborationAllowlist.prototype.getAllWhitelistedDomains =
|
|
191
|
+
CollaborationAllowlist.prototype.getAllAllowlistedDomains;
|
|
192
|
+
/**
|
|
193
|
+
* Enum of valid collaboration allowlist directions
|
|
194
|
+
*
|
|
195
|
+
* @readonly
|
|
196
|
+
* @enum {CollaborationAllowlistDirection}
|
|
197
|
+
*/
|
|
198
|
+
CollaborationAllowlist.prototype.directions = CollaborationAllowlistDirection;
|
|
199
|
+
module.exports = CollaborationAllowlist;
|
|
200
|
+
//# sourceMappingURL=collaboration-allowlist.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collaboration-allowlist.js","sourceRoot":"","sources":["../../src/managers/collaboration-allowlist.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,225 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// -----------------------------------------------------------------------------
|
|
7
|
-
// Typedefs
|
|
8
|
-
// -----------------------------------------------------------------------------
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Collaboration Whitelist parameter constant
|
|
12
|
-
* @typedef {string} CollaborationWhitelistDirection Determines the type of restriction for whitelisting for a domain
|
|
13
|
-
*/
|
|
14
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/** @deprecated */
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
15
6
|
// ------------------------------------------------------------------------------
|
|
16
7
|
// Requirements
|
|
17
8
|
// ------------------------------------------------------------------------------
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
// ------------------------------------------------------------------------------
|
|
22
|
-
// Private
|
|
23
|
-
// ------------------------------------------------------------------------------
|
|
24
|
-
var BASE_PATH = '/collaboration_whitelist_entries',
|
|
25
|
-
TARGET_ENTRY_PATH = '/collaboration_whitelist_exempt_targets';
|
|
26
|
-
|
|
27
|
-
// ------------------------------------------------------------------------------
|
|
28
|
-
// Public
|
|
29
|
-
// ------------------------------------------------------------------------------
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Simple manager for interacting with all 'Collaboration Whitelist' endpoints and actions.
|
|
33
|
-
*
|
|
34
|
-
* @constructor
|
|
35
|
-
* @param {BoxClient} client - The Box API Client that is responsible for making calls to the API
|
|
36
|
-
* @returns {void}
|
|
37
|
-
*/
|
|
38
|
-
function CollaborationWhitelist(client) {
|
|
39
|
-
this.client = client;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Enum of valid collaboration whitelist directions
|
|
44
|
-
*
|
|
45
|
-
* @readonly
|
|
46
|
-
* @enum {CollaborationWhitelistDirection}
|
|
47
|
-
*/
|
|
48
|
-
CollaborationWhitelist.prototype.directions = Object.freeze({
|
|
49
|
-
INBOUND: 'inbound',
|
|
50
|
-
OUTBOUND: 'outbound',
|
|
51
|
-
BOTH: 'both'
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Add a domain to the enterprise's whitelist.
|
|
56
|
-
*
|
|
57
|
-
* API Endpoint: '/collaboration_whitelist_entries'
|
|
58
|
-
* Method: POST
|
|
59
|
-
*
|
|
60
|
-
* @param {string} domain - The domain to be added to the whitelist
|
|
61
|
-
* @param {CollaborationWhitelistDirection} direction - Inbound refers to collaboration actions within an enterprise. Outbound
|
|
62
|
-
* refers to collaboration actions external to an enterprise. Both refers to
|
|
63
|
-
* collaboration actions taken within and external to an enterprise
|
|
64
|
-
* @param {Function} [callback] - Passed the collaboration whitelist information if it was created successfully
|
|
65
|
-
* @returns {Promise<Object>} A promise resolve to the collaboration whitelist object
|
|
66
|
-
*/
|
|
67
|
-
CollaborationWhitelist.prototype.addDomain = function(domain, direction, callback) {
|
|
68
|
-
|
|
69
|
-
var params = {
|
|
70
|
-
body: {
|
|
71
|
-
domain,
|
|
72
|
-
direction
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
var apiPath = urlPath(BASE_PATH);
|
|
77
|
-
return this.client.wrapWithDefaultHandler(this.client.post)(apiPath, params, callback);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Requests a collaboration whitelist entry with a given ID.
|
|
82
|
-
*
|
|
83
|
-
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
84
|
-
* Method: GET
|
|
85
|
-
*
|
|
86
|
-
* @param {string} domainID - Box ID of the collaboration whitelist being requested
|
|
87
|
-
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
88
|
-
* @param {Function} [callback] - Passed the collaboration whitelist information if it was acquired successfully
|
|
89
|
-
* @returns {Promise<Object>} A promise resolving to the collaboration whitelist object
|
|
90
|
-
*/
|
|
91
|
-
CollaborationWhitelist.prototype.getWhitelistedDomain = function(domainID, options, callback) {
|
|
92
|
-
|
|
93
|
-
var params = { qs: options };
|
|
94
|
-
|
|
95
|
-
var apiPath = urlPath(BASE_PATH, domainID);
|
|
96
|
-
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Requests all collaboration whitelist entries within an enterprise.
|
|
101
|
-
*
|
|
102
|
-
* API Endpoint: '/collaboration_whitelist_entries'
|
|
103
|
-
* Method: GET
|
|
104
|
-
*
|
|
105
|
-
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
106
|
-
* @param {int} [options.limit] - The number of collaboration whitelists to retrieve
|
|
107
|
-
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
108
|
-
* @param {Function} [callback] - Passed a list of collaboration whitelists if successful, error otherwise
|
|
109
|
-
* @returns {Promise<Object>} A promise resolving to the collection of collaboration whitelists
|
|
110
|
-
*/
|
|
111
|
-
CollaborationWhitelist.prototype.getAllWhitelistedDomains = function(options, callback) {
|
|
112
|
-
|
|
113
|
-
var params = {
|
|
114
|
-
qs: options
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
var apiPath = urlPath(BASE_PATH);
|
|
118
|
-
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Delete a given collaboration whitelist entry.
|
|
123
|
-
*
|
|
124
|
-
* API Endpoint: '/collaboration_whitelist_entries/:domainID'
|
|
125
|
-
* Method: DELETE
|
|
126
|
-
*
|
|
127
|
-
* @param {string} domainID - Box ID of the collaboration whitelist being requested
|
|
128
|
-
* @param {Function} [callback] - Empty response body passed if successful.
|
|
129
|
-
* @returns {Promise<void>} A promise resolving to nothing
|
|
130
|
-
*/
|
|
131
|
-
CollaborationWhitelist.prototype.removeDomain = function(domainID, callback) {
|
|
132
|
-
|
|
133
|
-
var apiPath = urlPath(BASE_PATH, domainID);
|
|
134
|
-
return this.client.wrapWithDefaultHandler(this.client.del)(apiPath, null, callback);
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Adds a Box User to the exempt target list.
|
|
139
|
-
*
|
|
140
|
-
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
141
|
-
* Method: GET
|
|
142
|
-
*
|
|
143
|
-
* @param {string} userID - The ID of the Box User to be added to the whitelist
|
|
144
|
-
* @param {Function} [callback] - Passed a collaboration whitelist for user if successful, error otherwise
|
|
145
|
-
* @returns {Promise<Object>} A promise resolving to a user collaboration whitelist
|
|
146
|
-
*/
|
|
147
|
-
CollaborationWhitelist.prototype.addExemption = function(userID, callback) {
|
|
148
|
-
|
|
149
|
-
var params = {
|
|
150
|
-
body: {
|
|
151
|
-
user: {
|
|
152
|
-
id: userID,
|
|
153
|
-
type: 'user'
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
var apiPath = urlPath(TARGET_ENTRY_PATH);
|
|
159
|
-
return this.client.wrapWithDefaultHandler(this.client.post)(apiPath, params, callback);
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Retrieves information about a collaboration whitelist for user by whitelist ID.
|
|
164
|
-
*
|
|
165
|
-
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
166
|
-
* Method: GET
|
|
167
|
-
*
|
|
168
|
-
* @param {string} exemptionID - The ID of the collaboration whitelist
|
|
169
|
-
* @param {Object} [options] - Additional options for the request. Can be left null in most cases.
|
|
170
|
-
* @param {Function} [callback] - Passed the collaboration whitelist information for a user if it was acquired successfully
|
|
171
|
-
* @returns {Promise<Object>} A promise resolving to the collaboration whitelist object
|
|
172
|
-
*/
|
|
173
|
-
CollaborationWhitelist.prototype.getExemption = function(exemptionID, options, callback) {
|
|
174
|
-
|
|
175
|
-
var params = {
|
|
176
|
-
qs: options
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
var apiPath = urlPath(TARGET_ENTRY_PATH, exemptionID);
|
|
180
|
-
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Retrieve a list of all exemptions to an enterprise's collaboration whitelist.
|
|
185
|
-
*
|
|
186
|
-
* API Endpoint: '/collaboration_whitelist_exempt_targets'
|
|
187
|
-
* Method: GET
|
|
188
|
-
*
|
|
189
|
-
* @param {Object} [options] - Additional options. Can be left null in most cases.
|
|
190
|
-
* @param {string} [options.limit] - The number of user collaboration whitelists to retrieve
|
|
191
|
-
* @param {string} [options.marker] - Paging marker, retrieve records starting at this position in the list. Left blank to start at the beginning.
|
|
192
|
-
* @param {Function} [callback] - Passed a list of user collaboration whitelists if successful, error otherwise
|
|
193
|
-
* @returns {Promise<Object>} A promise resolving to the collection of user collaboration whitelists
|
|
194
|
-
*/
|
|
195
|
-
CollaborationWhitelist.prototype.getAllExemptions = function(options, callback) {
|
|
196
|
-
|
|
197
|
-
var params = {
|
|
198
|
-
qs: options
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
var apiPath = urlPath(TARGET_ENTRY_PATH);
|
|
202
|
-
return this.client.wrapWithDefaultHandler(this.client.get)(apiPath, params, callback);
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Delete a given user collaboration whitelist.
|
|
207
|
-
*
|
|
208
|
-
* API Endpoint: '/collaboration_whitelist_exempt_targets/:exemptionID'
|
|
209
|
-
* Method: DELETE
|
|
210
|
-
*
|
|
211
|
-
* @param {string} exemptionID - Box ID of the user collaboration whitelist being requested
|
|
212
|
-
* @param {Function} [callback] - Empty response body passed if successful.
|
|
213
|
-
* @returns {Promise<void>} A promise resolving to nothing
|
|
214
|
-
*/
|
|
215
|
-
CollaborationWhitelist.prototype.removeExemption = function(exemptionID, callback) {
|
|
216
|
-
|
|
217
|
-
var apiPath = urlPath(TARGET_ENTRY_PATH, exemptionID);
|
|
218
|
-
return this.client.wrapWithDefaultHandler(this.client.del)(apiPath, null, callback);
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* @module box-node-sdk/lib/managers/collaboration-whitelists
|
|
223
|
-
* @see {@Link CollaborationWhitelist}
|
|
224
|
-
*/
|
|
225
|
-
module.exports = CollaborationWhitelist;
|
|
9
|
+
var collaboration_allowlist_1 = __importDefault(require("./collaboration-allowlist"));
|
|
10
|
+
module.exports = collaboration_allowlist_1.default;
|
|
11
|
+
//# sourceMappingURL=collaboration-whitelist.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collaboration-whitelist.js","sourceRoot":"","sources":["../../src/managers/collaboration-whitelist.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;;AAElB,iFAAiF;AACjF,eAAe;AACf,iFAAiF;AAEjF,sFAA+D;AAG/D,iBAAS,iCAAsB,CAAC"}
|