files.com 1.2.342 → 1.2.344

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.342
1
+ 1.2.344
@@ -26,7 +26,7 @@
26
26
  }
27
27
  ```
28
28
 
29
- * `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
29
+ * `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
30
30
  * `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
31
31
  * `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
32
32
  * `allow_user_creation` (boolean): Allow Partner Admins to create users.
@@ -86,7 +86,7 @@ await Partner.create({
86
86
 
87
87
  ### Parameters
88
88
 
89
- * `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
89
+ * `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
90
90
  * `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
91
91
  * `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
92
92
  * `allow_user_creation` (boolean): Allow Partner Admins to create users.
@@ -117,7 +117,7 @@ await partner.update({
117
117
  ### Parameters
118
118
 
119
119
  * `id` (int64): Required - Partner ID.
120
- * `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
120
+ * `allow_bypassing_2fa_policies` (boolean): Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
121
121
  * `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
122
122
  * `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
123
123
  * `allow_user_creation` (boolean): Allow Partner Admins to create users.
@@ -50,7 +50,7 @@ await Permission.list({
50
50
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
51
51
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
52
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
53
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`.
53
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
54
54
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
55
55
  * `path` (string): Permission path. If provided, will scope all permissions(including upward) to this path.
56
56
  * `include_groups` (boolean): If searching by user or group, also include user's permissions that are inherited from its groups?
package/lib/Files.js CHANGED
@@ -12,7 +12,7 @@ var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
14
  var language = null;
15
- var version = '1.2.342';
15
+ var version = '1.2.344';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -32,7 +32,7 @@ var Partner = /*#__PURE__*/(0, _createClass2.default)(function Partner() {
32
32
  (0, _defineProperty2.default)(this, "isLoaded", function () {
33
33
  return !!_this.attributes.id;
34
34
  });
35
- // boolean # Allow users created under this Partner to bypass Two-Factor Authentication policies.
35
+ // boolean # Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
36
36
  (0, _defineProperty2.default)(this, "getAllowBypassing2faPolicies", function () {
37
37
  return _this.attributes.allow_bypassing_2fa_policies;
38
38
  });
@@ -110,7 +110,7 @@ var Partner = /*#__PURE__*/(0, _createClass2.default)(function Partner() {
110
110
  _this.attributes.user_ids = value;
111
111
  });
112
112
  // Parameters:
113
- // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
113
+ // allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
114
114
  // allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
115
115
  // allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
116
116
  // allow_user_creation - boolean - Allow Partner Admins to create users.
@@ -386,7 +386,7 @@ _Partner = Partner;
386
386
  return _Partner.find(id, params, options);
387
387
  });
388
388
  // Parameters:
389
- // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
389
+ // allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
390
390
  // allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
391
391
  // allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
392
392
  // allow_user_creation - boolean - Allow Partner Admins to create users.
@@ -202,7 +202,7 @@ _Permission = Permission;
202
202
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
203
203
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
204
204
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
205
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`.
205
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
206
206
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
207
207
  // path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
208
208
  // include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.342",
3
+ "version": "1.2.344",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.342'
9
+ const version = '1.2.344'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -28,7 +28,7 @@ class Partner {
28
28
 
29
29
  isLoaded = () => !!this.attributes.id
30
30
 
31
- // boolean # Allow users created under this Partner to bypass Two-Factor Authentication policies.
31
+ // boolean # Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
32
32
  getAllowBypassing2faPolicies = () => this.attributes.allow_bypassing_2fa_policies
33
33
 
34
34
  setAllowBypassing2faPolicies = value => {
@@ -106,7 +106,7 @@ class Partner {
106
106
  }
107
107
 
108
108
  // Parameters:
109
- // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
109
+ // allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
110
110
  // allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
111
111
  // allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
112
112
  // allow_user_creation - boolean - Allow Partner Admins to create users.
@@ -244,7 +244,7 @@ class Partner {
244
244
  Partner.find(id, params, options)
245
245
 
246
246
  // Parameters:
247
- // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
247
+ // allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
248
248
  // allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
249
249
  // allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
250
250
  // allow_user_creation - boolean - Allow Partner Admins to create users.
@@ -147,7 +147,7 @@ class Permission {
147
147
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
148
148
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
149
149
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
150
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`.
150
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
151
151
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
152
152
  // path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
153
153
  // include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?