files.com 1.2.112 → 1.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ApiKey.md +2 -2
- package/lib/Files.js +1 -1
- package/lib/models/ApiKey.js +2 -2
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ApiKey.js +2 -2
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.113
|
package/docs/models/ApiKey.md
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
* `platform` (string): If this API key represents a Desktop app, what platform was it created on?
|
32
32
|
* `url` (string): URL for API host.
|
33
33
|
* `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
34
|
-
* `path` (string): Folder path restriction for
|
34
|
+
* `path` (string): Folder path restriction for `office_integration` permission set API keys.
|
35
35
|
|
36
36
|
---
|
37
37
|
|
@@ -101,7 +101,7 @@ await ApiKey.create({
|
|
101
101
|
* `expires_at` (string): API Key expiration date
|
102
102
|
* `permission_set` (string): Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
103
103
|
* `name` (string): Required - Internal name for the API Key. For your use.
|
104
|
-
* `path` (string): Folder path restriction for
|
104
|
+
* `path` (string): Folder path restriction for `office_integration` permission set API keys.
|
105
105
|
|
106
106
|
---
|
107
107
|
|
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.
|
14
|
+
var version = '1.2.113';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
package/lib/models/ApiKey.js
CHANGED
@@ -114,7 +114,7 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
114
114
|
(0, _defineProperty2.default)(this, "setUserId", function (value) {
|
115
115
|
_this.attributes.user_id = value;
|
116
116
|
});
|
117
|
-
// string # Folder path restriction for
|
117
|
+
// string # Folder path restriction for `office_integration` permission set API keys.
|
118
118
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
119
119
|
return _this.attributes.path;
|
120
120
|
});
|
@@ -430,7 +430,7 @@ _ApiKey = ApiKey;
|
|
430
430
|
// expires_at - string - API Key expiration date
|
431
431
|
// permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
432
432
|
// name (required) - string - Internal name for the API Key. For your use.
|
433
|
-
// path - string - Folder path restriction for
|
433
|
+
// path - string - Folder path restriction for `office_integration` permission set API keys.
|
434
434
|
(0, _defineProperty2.default)(ApiKey, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
435
435
|
var params,
|
436
436
|
options,
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/ApiKey.js
CHANGED
@@ -108,7 +108,7 @@ class ApiKey {
|
|
108
108
|
this.attributes.user_id = value
|
109
109
|
}
|
110
110
|
|
111
|
-
// string # Folder path restriction for
|
111
|
+
// string # Folder path restriction for `office_integration` permission set API keys.
|
112
112
|
getPath = () => this.attributes.path
|
113
113
|
|
114
114
|
setPath = value => {
|
@@ -271,7 +271,7 @@ class ApiKey {
|
|
271
271
|
// expires_at - string - API Key expiration date
|
272
272
|
// permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
273
273
|
// name (required) - string - Internal name for the API Key. For your use.
|
274
|
-
// path - string - Folder path restriction for
|
274
|
+
// path - string - Folder path restriction for `office_integration` permission set API keys.
|
275
275
|
static create = async (params = {}, options = {}) => {
|
276
276
|
if (!params.name) {
|
277
277
|
throw new errors.MissingParameterError('Parameter missing: name')
|