files.com 1.2.303 → 1.2.305

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.303
1
+ 1.2.305
@@ -44,8 +44,8 @@ await Permission.list({
44
44
 
45
45
  * `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.
46
46
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
47
- * `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` or `user_id`.
48
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]` or `[ user_id, group_id ]`.
47
+ * `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` or `id`.
48
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]` or `[ user_id, group_id, path ]`.
49
49
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
50
50
  * `path` (string): Permission path. If provided, will scope all permissions(including upward) to this path.
51
51
  * `include_groups` (boolean): If searching by user or group, also include user's permissions that are inherited from its groups?
@@ -136,7 +136,6 @@ await Sync.create({
136
136
  'dest_path': "example",
137
137
  'src_remote_server_id': 1,
138
138
  'dest_remote_server_id': 1,
139
- 'two_way': false,
140
139
  'keep_after_copy': false,
141
140
  'delete_empty_folders': false,
142
141
  'disabled': false,
@@ -161,7 +160,6 @@ await Sync.create({
161
160
  * `dest_path` (string): Absolute destination path
162
161
  * `src_remote_server_id` (int64): Remote server ID for the source
163
162
  * `dest_remote_server_id` (int64): Remote server ID for the destination
164
- * `two_way` (boolean): Is this a two-way sync?
165
163
  * `keep_after_copy` (boolean): Keep files after copying?
166
164
  * `delete_empty_folders` (boolean): Delete empty folders after sync?
167
165
  * `disabled` (boolean): Is this sync disabled?
@@ -219,7 +217,6 @@ await sync.update({
219
217
  'dest_path': "example",
220
218
  'src_remote_server_id': 1,
221
219
  'dest_remote_server_id': 1,
222
- 'two_way': false,
223
220
  'keep_after_copy': false,
224
221
  'delete_empty_folders': false,
225
222
  'disabled': false,
@@ -244,7 +241,6 @@ await sync.update({
244
241
  * `dest_path` (string): Absolute destination path
245
242
  * `src_remote_server_id` (int64): Remote server ID for the source
246
243
  * `dest_remote_server_id` (int64): Remote server ID for the destination
247
- * `two_way` (boolean): Is this a two-way sync?
248
244
  * `keep_after_copy` (boolean): Keep files after copying?
249
245
  * `delete_empty_folders` (boolean): Delete empty folders after sync?
250
246
  * `disabled` (boolean): Is this sync disabled?
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.303';
15
+ var version = '1.2.305';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -187,8 +187,8 @@ _Permission = Permission;
187
187
  // Parameters:
188
188
  // 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.
189
189
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
190
- // 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` or `user_id`.
191
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]` or `[ user_id, group_id ]`.
190
+ // 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` or `id`.
191
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]` or `[ user_id, group_id, path ]`.
192
192
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
193
193
  // path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
194
194
  // include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
@@ -320,7 +320,6 @@ var Sync = /*#__PURE__*/(0, _createClass2.default)(function Sync() {
320
320
  // dest_path - string - Absolute destination path
321
321
  // src_remote_server_id - int64 - Remote server ID for the source
322
322
  // dest_remote_server_id - int64 - Remote server ID for the destination
323
- // two_way - boolean - Is this a two-way sync?
324
323
  // keep_after_copy - boolean - Keep files after copying?
325
324
  // delete_empty_folders - boolean - Delete empty folders after sync?
326
325
  // disabled - boolean - Is this sync disabled?
@@ -672,7 +671,6 @@ _Sync = Sync;
672
671
  // dest_path - string - Absolute destination path
673
672
  // src_remote_server_id - int64 - Remote server ID for the source
674
673
  // dest_remote_server_id - int64 - Remote server ID for the destination
675
- // two_way - boolean - Is this a two-way sync?
676
674
  // keep_after_copy - boolean - Keep files after copying?
677
675
  // delete_empty_folders - boolean - Delete empty folders after sync?
678
676
  // disabled - boolean - Is this sync disabled?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.303",
3
+ "version": "1.2.305",
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.303'
9
+ const version = '1.2.305'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -132,8 +132,8 @@ class Permission {
132
132
  // Parameters:
133
133
  // 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.
134
134
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
135
- // 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` or `user_id`.
136
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]` or `[ user_id, group_id ]`.
135
+ // 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` or `id`.
136
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]` or `[ user_id, group_id, path ]`.
137
137
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
138
138
  // path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
139
139
  // include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
@@ -268,7 +268,6 @@ class Sync {
268
268
  // dest_path - string - Absolute destination path
269
269
  // src_remote_server_id - int64 - Remote server ID for the source
270
270
  // dest_remote_server_id - int64 - Remote server ID for the destination
271
- // two_way - boolean - Is this a two-way sync?
272
271
  // keep_after_copy - boolean - Keep files after copying?
273
272
  // delete_empty_folders - boolean - Delete empty folders after sync?
274
273
  // disabled - boolean - Is this sync disabled?
@@ -460,7 +459,6 @@ class Sync {
460
459
  // dest_path - string - Absolute destination path
461
460
  // src_remote_server_id - int64 - Remote server ID for the source
462
461
  // dest_remote_server_id - int64 - Remote server ID for the destination
463
- // two_way - boolean - Is this a two-way sync?
464
462
  // keep_after_copy - boolean - Keep files after copying?
465
463
  // delete_empty_folders - boolean - Delete empty folders after sync?
466
464
  // disabled - boolean - Is this sync disabled?