files.com 1.2.382 → 1.2.384

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.382
1
+ 1.2.384
@@ -152,7 +152,7 @@ await Bundle.list({
152
152
  * `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.
153
153
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
154
154
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
155
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
155
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
156
156
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
157
157
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
158
158
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -12,7 +12,7 @@
12
12
  "created_by_bundle_registration_id": 1,
13
13
  "created_by_inbox_id": 1,
14
14
  "created_by_remote_server_id": 1,
15
- "created_by_remote_server_sync_id": 1,
15
+ "created_by_sync_id": 1,
16
16
  "custom_metadata": {
17
17
  "key": "value"
18
18
  },
@@ -25,7 +25,7 @@
25
25
  "last_modified_by_automation_id": 1,
26
26
  "last_modified_by_bundle_registration_id": 1,
27
27
  "last_modified_by_remote_server_id": 1,
28
- "last_modified_by_remote_server_sync_id": 1,
28
+ "last_modified_by_sync_id": 1,
29
29
  "mtime": "2000-01-01T01:00:00Z",
30
30
  "provided_mtime": "2000-01-01T01:00:00Z",
31
31
  "crc32": "70976923",
@@ -58,7 +58,7 @@
58
58
  * `created_by_bundle_registration_id` (int64): ID of the Bundle Registration that created the file/folder
59
59
  * `created_by_inbox_id` (int64): ID of the Inbox that created the file/folder
60
60
  * `created_by_remote_server_id` (int64): ID of the Remote Server that created the file/folder
61
- * `created_by_remote_server_sync_id` (int64): ID of the Remote Server Sync that created the file/folder
61
+ * `created_by_sync_id` (int64): ID of the Sync that created the file/folder
62
62
  * `custom_metadata` (object): Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
63
63
  * `display_name` (string): File/Folder display name
64
64
  * `type` (string): Type: `directory` or `file`.
@@ -69,7 +69,7 @@
69
69
  * `last_modified_by_automation_id` (int64): ID of the Automation that last modified the file/folder
70
70
  * `last_modified_by_bundle_registration_id` (int64): ID of the Bundle Registration that last modified the file/folder
71
71
  * `last_modified_by_remote_server_id` (int64): ID of the Remote Server that last modified the file/folder
72
- * `last_modified_by_remote_server_sync_id` (int64): ID of the Remote Server Sync that last modified the file/folder
72
+ * `last_modified_by_sync_id` (int64): ID of the Sync that last modified the file/folder
73
73
  * `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
74
74
  * `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
75
75
  * `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
@@ -185,7 +185,7 @@ await file.download({
185
185
  "created_by_bundle_registration_id": 1,
186
186
  "created_by_inbox_id": 1,
187
187
  "created_by_remote_server_id": 1,
188
- "created_by_remote_server_sync_id": 1,
188
+ "created_by_sync_id": 1,
189
189
  "custom_metadata": {
190
190
  "key": "value"
191
191
  },
@@ -198,7 +198,7 @@ await file.download({
198
198
  "last_modified_by_automation_id": 1,
199
199
  "last_modified_by_bundle_registration_id": 1,
200
200
  "last_modified_by_remote_server_id": 1,
201
- "last_modified_by_remote_server_sync_id": 1,
201
+ "last_modified_by_sync_id": 1,
202
202
  "mtime": "2000-01-01T01:00:00Z",
203
203
  "provided_mtime": "2000-01-01T01:00:00Z",
204
204
  "crc32": "70976923",
@@ -256,7 +256,7 @@ await file.update({
256
256
  "created_by_bundle_registration_id": 1,
257
257
  "created_by_inbox_id": 1,
258
258
  "created_by_remote_server_id": 1,
259
- "created_by_remote_server_sync_id": 1,
259
+ "created_by_sync_id": 1,
260
260
  "custom_metadata": {
261
261
  "key": "value"
262
262
  },
@@ -269,7 +269,7 @@ await file.update({
269
269
  "last_modified_by_automation_id": 1,
270
270
  "last_modified_by_bundle_registration_id": 1,
271
271
  "last_modified_by_remote_server_id": 1,
272
- "last_modified_by_remote_server_sync_id": 1,
272
+ "last_modified_by_sync_id": 1,
273
273
  "mtime": "2000-01-01T01:00:00Z",
274
274
  "provided_mtime": "2000-01-01T01:00:00Z",
275
275
  "crc32": "70976923",
@@ -12,7 +12,7 @@
12
12
  "created_by_bundle_registration_id": 1,
13
13
  "created_by_inbox_id": 1,
14
14
  "created_by_remote_server_id": 1,
15
- "created_by_remote_server_sync_id": 1,
15
+ "created_by_sync_id": 1,
16
16
  "custom_metadata": {
17
17
  "key": "value"
18
18
  },
@@ -25,7 +25,7 @@
25
25
  "last_modified_by_automation_id": 1,
26
26
  "last_modified_by_bundle_registration_id": 1,
27
27
  "last_modified_by_remote_server_id": 1,
28
- "last_modified_by_remote_server_sync_id": 1,
28
+ "last_modified_by_sync_id": 1,
29
29
  "mtime": "2000-01-01T01:00:00Z",
30
30
  "provided_mtime": "2000-01-01T01:00:00Z",
31
31
  "crc32": "70976923",
@@ -58,7 +58,7 @@
58
58
  * `created_by_bundle_registration_id` (int64): ID of the Bundle Registration that created the file/folder
59
59
  * `created_by_inbox_id` (int64): ID of the Inbox that created the file/folder
60
60
  * `created_by_remote_server_id` (int64): ID of the Remote Server that created the file/folder
61
- * `created_by_remote_server_sync_id` (int64): ID of the Remote Server Sync that created the file/folder
61
+ * `created_by_sync_id` (int64): ID of the Sync that created the file/folder
62
62
  * `custom_metadata` (object): Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
63
63
  * `display_name` (string): File/Folder display name
64
64
  * `type` (string): Type: `directory` or `file`.
@@ -69,7 +69,7 @@
69
69
  * `last_modified_by_automation_id` (int64): ID of the Automation that last modified the file/folder
70
70
  * `last_modified_by_bundle_registration_id` (int64): ID of the Bundle Registration that last modified the file/folder
71
71
  * `last_modified_by_remote_server_id` (int64): ID of the Remote Server that last modified the file/folder
72
- * `last_modified_by_remote_server_sync_id` (int64): ID of the Remote Server Sync that last modified the file/folder
72
+ * `last_modified_by_sync_id` (int64): ID of the Sync that last modified the file/folder
73
73
  * `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
74
74
  * `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
75
75
  * `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
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.382';
15
+ var version = '1.2.384';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -684,7 +684,7 @@ _Bundle = Bundle;
684
684
  // 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.
685
685
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
686
686
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
687
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
687
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
688
688
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
689
689
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
690
690
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -220,12 +220,12 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
220
220
  (0, _defineProperty2.default)(this, "setCreatedByRemoteServerId", function (value) {
221
221
  _this.attributes.created_by_remote_server_id = value;
222
222
  });
223
- // int64 # ID of the Remote Server Sync that created the file/folder
224
- (0, _defineProperty2.default)(this, "getCreatedByRemoteServerSyncId", function () {
225
- return _this.attributes.created_by_remote_server_sync_id;
223
+ // int64 # ID of the Sync that created the file/folder
224
+ (0, _defineProperty2.default)(this, "getCreatedBySyncId", function () {
225
+ return _this.attributes.created_by_sync_id;
226
226
  });
227
- (0, _defineProperty2.default)(this, "setCreatedByRemoteServerSyncId", function (value) {
228
- _this.attributes.created_by_remote_server_sync_id = value;
227
+ (0, _defineProperty2.default)(this, "setCreatedBySyncId", function (value) {
228
+ _this.attributes.created_by_sync_id = value;
229
229
  });
230
230
  // object # Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
231
231
  (0, _defineProperty2.default)(this, "getCustomMetadata", function () {
@@ -294,12 +294,12 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
294
294
  (0, _defineProperty2.default)(this, "setLastModifiedByRemoteServerId", function (value) {
295
295
  _this.attributes.last_modified_by_remote_server_id = value;
296
296
  });
297
- // int64 # ID of the Remote Server Sync that last modified the file/folder
298
- (0, _defineProperty2.default)(this, "getLastModifiedByRemoteServerSyncId", function () {
299
- return _this.attributes.last_modified_by_remote_server_sync_id;
297
+ // int64 # ID of the Sync that last modified the file/folder
298
+ (0, _defineProperty2.default)(this, "getLastModifiedBySyncId", function () {
299
+ return _this.attributes.last_modified_by_sync_id;
300
300
  });
301
- (0, _defineProperty2.default)(this, "setLastModifiedByRemoteServerSyncId", function (value) {
302
- _this.attributes.last_modified_by_remote_server_sync_id = value;
301
+ (0, _defineProperty2.default)(this, "setLastModifiedBySyncId", function (value) {
302
+ _this.attributes.last_modified_by_sync_id = value;
303
303
  });
304
304
  // date-time # File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
305
305
  (0, _defineProperty2.default)(this, "getMtime", function () {
@@ -86,12 +86,12 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
86
86
  (0, _defineProperty2.default)(this, "setCreatedByRemoteServerId", function (value) {
87
87
  _this.attributes.created_by_remote_server_id = value;
88
88
  });
89
- // int64 # ID of the Remote Server Sync that created the file/folder
90
- (0, _defineProperty2.default)(this, "getCreatedByRemoteServerSyncId", function () {
91
- return _this.attributes.created_by_remote_server_sync_id;
89
+ // int64 # ID of the Sync that created the file/folder
90
+ (0, _defineProperty2.default)(this, "getCreatedBySyncId", function () {
91
+ return _this.attributes.created_by_sync_id;
92
92
  });
93
- (0, _defineProperty2.default)(this, "setCreatedByRemoteServerSyncId", function (value) {
94
- _this.attributes.created_by_remote_server_sync_id = value;
93
+ (0, _defineProperty2.default)(this, "setCreatedBySyncId", function (value) {
94
+ _this.attributes.created_by_sync_id = value;
95
95
  });
96
96
  // object # Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
97
97
  (0, _defineProperty2.default)(this, "getCustomMetadata", function () {
@@ -160,12 +160,12 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
160
160
  (0, _defineProperty2.default)(this, "setLastModifiedByRemoteServerId", function (value) {
161
161
  _this.attributes.last_modified_by_remote_server_id = value;
162
162
  });
163
- // int64 # ID of the Remote Server Sync that last modified the file/folder
164
- (0, _defineProperty2.default)(this, "getLastModifiedByRemoteServerSyncId", function () {
165
- return _this.attributes.last_modified_by_remote_server_sync_id;
163
+ // int64 # ID of the Sync that last modified the file/folder
164
+ (0, _defineProperty2.default)(this, "getLastModifiedBySyncId", function () {
165
+ return _this.attributes.last_modified_by_sync_id;
166
166
  });
167
- (0, _defineProperty2.default)(this, "setLastModifiedByRemoteServerSyncId", function (value) {
168
- _this.attributes.last_modified_by_remote_server_sync_id = value;
167
+ (0, _defineProperty2.default)(this, "setLastModifiedBySyncId", function (value) {
168
+ _this.attributes.last_modified_by_sync_id = value;
169
169
  });
170
170
  // date-time # File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
171
171
  (0, _defineProperty2.default)(this, "getMtime", function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.382",
3
+ "version": "1.2.384",
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.382'
9
+ const version = '1.2.384'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -543,7 +543,7 @@ class Bundle {
543
543
  // 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.
544
544
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
545
545
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
546
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
546
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
547
547
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
548
548
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
549
549
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -365,11 +365,11 @@ class File {
365
365
  this.attributes.created_by_remote_server_id = value
366
366
  }
367
367
 
368
- // int64 # ID of the Remote Server Sync that created the file/folder
369
- getCreatedByRemoteServerSyncId = () => this.attributes.created_by_remote_server_sync_id
368
+ // int64 # ID of the Sync that created the file/folder
369
+ getCreatedBySyncId = () => this.attributes.created_by_sync_id
370
370
 
371
- setCreatedByRemoteServerSyncId = value => {
372
- this.attributes.created_by_remote_server_sync_id = value
371
+ setCreatedBySyncId = value => {
372
+ this.attributes.created_by_sync_id = value
373
373
  }
374
374
 
375
375
  // object # Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
@@ -438,11 +438,11 @@ class File {
438
438
  this.attributes.last_modified_by_remote_server_id = value
439
439
  }
440
440
 
441
- // int64 # ID of the Remote Server Sync that last modified the file/folder
442
- getLastModifiedByRemoteServerSyncId = () => this.attributes.last_modified_by_remote_server_sync_id
441
+ // int64 # ID of the Sync that last modified the file/folder
442
+ getLastModifiedBySyncId = () => this.attributes.last_modified_by_sync_id
443
443
 
444
- setLastModifiedByRemoteServerSyncId = value => {
445
- this.attributes.last_modified_by_remote_server_sync_id = value
444
+ setLastModifiedBySyncId = value => {
445
+ this.attributes.last_modified_by_sync_id = value
446
446
  }
447
447
 
448
448
  // date-time # File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
@@ -84,11 +84,11 @@ class Folder {
84
84
  this.attributes.created_by_remote_server_id = value
85
85
  }
86
86
 
87
- // int64 # ID of the Remote Server Sync that created the file/folder
88
- getCreatedByRemoteServerSyncId = () => this.attributes.created_by_remote_server_sync_id
87
+ // int64 # ID of the Sync that created the file/folder
88
+ getCreatedBySyncId = () => this.attributes.created_by_sync_id
89
89
 
90
- setCreatedByRemoteServerSyncId = value => {
91
- this.attributes.created_by_remote_server_sync_id = value
90
+ setCreatedBySyncId = value => {
91
+ this.attributes.created_by_sync_id = value
92
92
  }
93
93
 
94
94
  // object # Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
@@ -157,11 +157,11 @@ class Folder {
157
157
  this.attributes.last_modified_by_remote_server_id = value
158
158
  }
159
159
 
160
- // int64 # ID of the Remote Server Sync that last modified the file/folder
161
- getLastModifiedByRemoteServerSyncId = () => this.attributes.last_modified_by_remote_server_sync_id
160
+ // int64 # ID of the Sync that last modified the file/folder
161
+ getLastModifiedBySyncId = () => this.attributes.last_modified_by_sync_id
162
162
 
163
- setLastModifiedByRemoteServerSyncId = value => {
164
- this.attributes.last_modified_by_remote_server_sync_id = value
163
+ setLastModifiedBySyncId = value => {
164
+ this.attributes.last_modified_by_sync_id = value
165
165
  }
166
166
 
167
167
  // date-time # File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.