files.com 1.2.183 → 1.2.184

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.183
1
+ 1.2.184
@@ -71,7 +71,7 @@
71
71
  * `name` (string): Internal name for your reference
72
72
  * `port` (int64): Port for remote server. Not needed for S3.
73
73
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
74
- * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
74
+ * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
75
75
  * `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
76
76
  * `s3_bucket` (string): S3 bucket name
77
77
  * `s3_region` (string): S3 region
@@ -259,7 +259,7 @@ await RemoteServer.create({
259
259
  * `hostname` (string): Hostname or IP address
260
260
  * `name` (string): Internal name for your reference
261
261
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
262
- * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
262
+ * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
263
263
  * `port` (int64): Port for remote server. Not needed for S3.
264
264
  * `s3_bucket` (string): S3 bucket name
265
265
  * `s3_region` (string): S3 region
@@ -454,7 +454,7 @@ await remote_server.update({
454
454
  * `hostname` (string): Hostname or IP address
455
455
  * `name` (string): Internal name for your reference
456
456
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
457
- * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
457
+ * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
458
458
  * `port` (int64): Port for remote server. Not needed for S3.
459
459
  * `s3_bucket` (string): S3 bucket name
460
460
  * `s3_region` (string): S3 region
@@ -167,8 +167,8 @@ await User.list({
167
167
 
168
168
  * `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.
169
169
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
170
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required` or `username`.
171
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]` and `[ company, name ]`.
170
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required`, `username` or `site_admin`.
171
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]` or `[ company, name ]`.
172
172
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
173
173
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
174
174
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.183';
14
+ var version = '1.2.184';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -89,7 +89,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
89
89
  (0, _defineProperty2.default)(this, "setMaxConnections", function (value) {
90
90
  _this.attributes.max_connections = value;
91
91
  });
92
- // boolean # If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
92
+ // boolean # If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
93
93
  (0, _defineProperty2.default)(this, "getPinToSiteRegion", function () {
94
94
  return _this.attributes.pin_to_site_region;
95
95
  });
@@ -711,7 +711,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
711
711
  // hostname - string - Hostname or IP address
712
712
  // name - string - Internal name for your reference
713
713
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
714
- // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
714
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
715
715
  // port - int64 - Port for remote server. Not needed for S3.
716
716
  // s3_bucket - string - S3 bucket name
717
717
  // s3_region - string - S3 region
@@ -1431,7 +1431,7 @@ _RemoteServer = RemoteServer;
1431
1431
  // hostname - string - Hostname or IP address
1432
1432
  // name - string - Internal name for your reference
1433
1433
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1434
- // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
1434
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
1435
1435
  // port - int64 - Port for remote server. Not needed for S3.
1436
1436
  // s3_bucket - string - S3 bucket name
1437
1437
  // s3_region - string - S3 region
@@ -1068,8 +1068,8 @@ _User = User;
1068
1068
  // Parameters:
1069
1069
  // 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.
1070
1070
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
1071
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required` or `username`.
1072
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]` and `[ company, name ]`.
1071
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required`, `username` or `site_admin`.
1072
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]` or `[ company, name ]`.
1073
1073
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1074
1074
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1075
1075
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.183",
3
+ "version": "1.2.184",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.183'
8
+ const version = '1.2.184'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -84,7 +84,7 @@ class RemoteServer {
84
84
  this.attributes.max_connections = value
85
85
  }
86
86
 
87
- // boolean # If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
87
+ // boolean # If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
88
88
  getPinToSiteRegion = () => this.attributes.pin_to_site_region
89
89
 
90
90
  setPinToSiteRegion = value => {
@@ -658,7 +658,7 @@ class RemoteServer {
658
658
  // hostname - string - Hostname or IP address
659
659
  // name - string - Internal name for your reference
660
660
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
661
- // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
661
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
662
662
  // port - int64 - Port for remote server. Not needed for S3.
663
663
  // s3_bucket - string - S3 bucket name
664
664
  // s3_region - string - S3 region
@@ -1102,7 +1102,7 @@ class RemoteServer {
1102
1102
  // hostname - string - Hostname or IP address
1103
1103
  // name - string - Internal name for your reference
1104
1104
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1105
- // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
1105
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
1106
1106
  // port - int64 - Port for remote server. Not needed for S3.
1107
1107
  // s3_bucket - string - S3 bucket name
1108
1108
  // s3_region - string - S3 region
@@ -860,8 +860,8 @@ class User {
860
860
  // Parameters:
861
861
  // 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.
862
862
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
863
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required` or `username`.
864
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]` and `[ company, name ]`.
863
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required`, `username` or `site_admin`.
864
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]` or `[ company, name ]`.
865
865
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
866
866
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
867
867
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.