files.com 1.2.288 → 1.2.289
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 +1 -1
- package/docs/models/UserCipherUse.md +5 -3
- package/lib/Files.js +1 -1
- package/lib/models/UserCipherUse.js +8 -4
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/UserCipherUse.js +6 -3
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.289
|
|
@@ -5,22 +5,24 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
+
"user_id": 1,
|
|
9
|
+
"username": "example",
|
|
8
10
|
"protocol_cipher": "TLSv1.2; ECDHE-RSA-AES256-GCM-SHA384",
|
|
9
11
|
"created_at": "2000-01-01T01:00:00Z",
|
|
10
12
|
"insecure": true,
|
|
11
13
|
"interface": "restapi",
|
|
12
|
-
"updated_at": "2000-01-01T01:00:00Z"
|
|
13
|
-
"user_id": 1
|
|
14
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
|
14
15
|
}
|
|
15
16
|
```
|
|
16
17
|
|
|
17
18
|
* `id` (int64): UserCipherUse ID
|
|
19
|
+
* `user_id` (int64): ID of the user who performed this access
|
|
20
|
+
* `username` (string): Username of the user who performed this access
|
|
18
21
|
* `protocol_cipher` (string): The protocol and cipher employed
|
|
19
22
|
* `created_at` (date-time): The earliest recorded use of this combination of interface and protocol and cipher (for this user)
|
|
20
23
|
* `insecure` (boolean): Is this cipher considered insecure?
|
|
21
24
|
* `interface` (string): The interface accessed
|
|
22
25
|
* `updated_at` (date-time): The most recent use of this combination of interface and protocol and cipher (for this user)
|
|
23
|
-
* `user_id` (int64): ID of the user who performed this access
|
|
24
26
|
|
|
25
27
|
---
|
|
26
28
|
|
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.289';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -36,6 +36,14 @@ var UserCipherUse = /*#__PURE__*/(0, _createClass2.default)(function UserCipherU
|
|
|
36
36
|
(0, _defineProperty2.default)(this, "getId", function () {
|
|
37
37
|
return _this.attributes.id;
|
|
38
38
|
});
|
|
39
|
+
// int64 # ID of the user who performed this access
|
|
40
|
+
(0, _defineProperty2.default)(this, "getUserId", function () {
|
|
41
|
+
return _this.attributes.user_id;
|
|
42
|
+
});
|
|
43
|
+
// string # Username of the user who performed this access
|
|
44
|
+
(0, _defineProperty2.default)(this, "getUsername", function () {
|
|
45
|
+
return _this.attributes.username;
|
|
46
|
+
});
|
|
39
47
|
// string # The protocol and cipher employed
|
|
40
48
|
(0, _defineProperty2.default)(this, "getProtocolCipher", function () {
|
|
41
49
|
return _this.attributes.protocol_cipher;
|
|
@@ -56,10 +64,6 @@ var UserCipherUse = /*#__PURE__*/(0, _createClass2.default)(function UserCipherU
|
|
|
56
64
|
(0, _defineProperty2.default)(this, "getUpdatedAt", function () {
|
|
57
65
|
return _this.attributes.updated_at;
|
|
58
66
|
});
|
|
59
|
-
// int64 # ID of the user who performed this access
|
|
60
|
-
(0, _defineProperty2.default)(this, "getUserId", function () {
|
|
61
|
-
return _this.attributes.user_id;
|
|
62
|
-
});
|
|
63
67
|
Object.entries(attributes).forEach(function (_ref) {
|
|
64
68
|
var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
|
|
65
69
|
key = _ref2[0],
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -31,6 +31,12 @@ class UserCipherUse {
|
|
|
31
31
|
// int64 # UserCipherUse ID
|
|
32
32
|
getId = () => this.attributes.id
|
|
33
33
|
|
|
34
|
+
// int64 # ID of the user who performed this access
|
|
35
|
+
getUserId = () => this.attributes.user_id
|
|
36
|
+
|
|
37
|
+
// string # Username of the user who performed this access
|
|
38
|
+
getUsername = () => this.attributes.username
|
|
39
|
+
|
|
34
40
|
// string # The protocol and cipher employed
|
|
35
41
|
getProtocolCipher = () => this.attributes.protocol_cipher
|
|
36
42
|
|
|
@@ -46,9 +52,6 @@ class UserCipherUse {
|
|
|
46
52
|
// date-time # The most recent use of this combination of interface and protocol and cipher (for this user)
|
|
47
53
|
getUpdatedAt = () => this.attributes.updated_at
|
|
48
54
|
|
|
49
|
-
// int64 # ID of the user who performed this access
|
|
50
|
-
getUserId = () => this.attributes.user_id
|
|
51
|
-
|
|
52
55
|
// Parameters:
|
|
53
56
|
// user_id - int64 - User ID. If provided, will return uses for this user.
|
|
54
57
|
// 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.
|