files.com 1.0.246 → 1.0.247

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.0.246
1
+ 1.0.247
@@ -49,7 +49,8 @@
49
49
  "enable_dedicated_ips": true,
50
50
  "files_agent_permission_set": "read_write",
51
51
  "files_agent_root": "example",
52
- "files_agent_api_token": "example"
52
+ "files_agent_api_token": "example",
53
+ "filebase_bucket": "my-bucket"
53
54
  }
54
55
  ```
55
56
 
@@ -99,6 +100,7 @@
99
100
  * `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
100
101
  * `files_agent_root` (string): Agent local root path
101
102
  * `files_agent_api_token` (string): Files Agent API Token
103
+ * `filebase_bucket` (string): Filebase Bucket name
102
104
  * `aws_secret_key` (string): AWS secret key.
103
105
  * `password` (string): Password if needed.
104
106
  * `private_key` (string): Private key if needed.
@@ -467,7 +469,8 @@ await remote_server.update({
467
469
  "enable_dedicated_ips": true,
468
470
  "files_agent_permission_set": "read_write",
469
471
  "files_agent_root": "example",
470
- "files_agent_api_token": "example"
472
+ "files_agent_api_token": "example",
473
+ "filebase_bucket": "my-bucket"
471
474
  }
472
475
  ```
473
476
 
@@ -307,6 +307,12 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
307
307
  (0, _defineProperty2.default)(this, "setFilesAgentApiToken", function (value) {
308
308
  _this.attributes.files_agent_api_token = value;
309
309
  });
310
+ (0, _defineProperty2.default)(this, "getFilebaseBucket", function () {
311
+ return _this.attributes.filebase_bucket;
312
+ });
313
+ (0, _defineProperty2.default)(this, "setFilebaseBucket", function (value) {
314
+ _this.attributes.filebase_bucket = value;
315
+ });
310
316
  (0, _defineProperty2.default)(this, "getAwsSecretKey", function () {
311
317
  return _this.attributes.aws_secret_key;
312
318
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.246",
3
+ "version": "1.0.247",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -345,6 +345,13 @@ class RemoteServer {
345
345
  this.attributes.files_agent_api_token = value
346
346
  }
347
347
 
348
+ // string # Filebase Bucket name
349
+ getFilebaseBucket = () => this.attributes.filebase_bucket
350
+
351
+ setFilebaseBucket = value => {
352
+ this.attributes.filebase_bucket = value
353
+ }
354
+
348
355
  // string # AWS secret key.
349
356
  getAwsSecretKey = () => this.attributes.aws_secret_key
350
357