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 CHANGED
@@ -1 +1 @@
1
- 1.2.112
1
+ 1.2.113
@@ -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 this API key.
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 this API key.
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.112';
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;
@@ -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 this API key.
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 this API key.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.112",
3
+ "version": "1.2.113",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.112'
8
+ const version = '1.2.113'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -108,7 +108,7 @@ class ApiKey {
108
108
  this.attributes.user_id = value
109
109
  }
110
110
 
111
- // string # Folder path restriction for this API key.
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 this API key.
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')