files.com 1.2.246 → 1.2.248
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/README.md
CHANGED
|
@@ -275,6 +275,13 @@ time.
|
|
|
275
275
|
The argument value is a Javascript object that has a property of the resource field name sort on and
|
|
276
276
|
a value of either ```"asc"``` or ```"desc"``` to specify the sort order.
|
|
277
277
|
|
|
278
|
+
#### Special note about the List Folder Endpoint
|
|
279
|
+
|
|
280
|
+
For historical reasons, and to maintain compatibility
|
|
281
|
+
with a variety of other cloud-based MFT and EFSS services, Folders will always be listed before Files
|
|
282
|
+
when listing a Folder. This applies regardless of the sorting parameters you provide. These *will* be
|
|
283
|
+
used, after the initial sort application of Folders before Files.
|
|
284
|
+
|
|
278
285
|
```javascript title="Sort Example"
|
|
279
286
|
import User from 'files.com/lib/models/User';
|
|
280
287
|
import * as FilesErrors from 'files.com/lib/Errors';
|
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.248
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"timestamp": "2000-01-01T01:00:00Z",
|
|
8
8
|
"endpoint": "example",
|
|
9
|
-
"version":
|
|
9
|
+
"version": 1,
|
|
10
10
|
"request_ip": "example",
|
|
11
11
|
"request_method": "example",
|
|
12
12
|
"error_type": "example",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
* `timestamp` (date-time): Start Time of Action
|
|
22
22
|
* `endpoint` (string): Name of API Endpoint
|
|
23
|
-
* `version` (
|
|
23
|
+
* `version` (int64): Exavault API Version
|
|
24
24
|
* `request_ip` (string): IP of requesting client
|
|
25
25
|
* `request_method` (string): HTTP Method
|
|
26
26
|
* `error_type` (string): Error type, if applicable
|
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.
|
|
15
|
+
var version = '1.2.248';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -40,7 +40,7 @@ var ExavaultApiRequestLog = /*#__PURE__*/(0, _createClass2.default)(function Exa
|
|
|
40
40
|
(0, _defineProperty2.default)(this, "getEndpoint", function () {
|
|
41
41
|
return _this.attributes.endpoint;
|
|
42
42
|
});
|
|
43
|
-
//
|
|
43
|
+
// int64 # Exavault API Version
|
|
44
44
|
(0, _defineProperty2.default)(this, "getVersion", function () {
|
|
45
45
|
return _this.attributes.version;
|
|
46
46
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -34,7 +34,7 @@ class ExavaultApiRequestLog {
|
|
|
34
34
|
// string # Name of API Endpoint
|
|
35
35
|
getEndpoint = () => this.attributes.endpoint
|
|
36
36
|
|
|
37
|
-
//
|
|
37
|
+
// int64 # Exavault API Version
|
|
38
38
|
getVersion = () => this.attributes.version
|
|
39
39
|
|
|
40
40
|
// string # IP of requesting client
|