files.com 1.2.207 → 1.2.209
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 +0 -1
- package/_VERSION +1 -1
- package/docs/models/RemoteServer.md +0 -3
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +0 -7
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +0 -7
package/README.md
CHANGED
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.209
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"rackspace_username": "rackspaceuser",
|
|
33
33
|
"rackspace_region": "dfw",
|
|
34
34
|
"rackspace_container": "my-container",
|
|
35
|
-
"auth_setup_link": "auth/:provider",
|
|
36
35
|
"auth_status": "in_setup",
|
|
37
36
|
"auth_account_name": "me@example.com",
|
|
38
37
|
"one_drive_account_type": "personal",
|
|
@@ -92,7 +91,6 @@
|
|
|
92
91
|
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
|
93
92
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
94
93
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
|
95
|
-
* `auth_setup_link` (string): Returns link to login with an Oauth provider
|
|
96
94
|
* `auth_status` (string): Either `in_setup` or `complete`
|
|
97
95
|
* `auth_account_name` (string): Describes the authorized account
|
|
98
96
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
|
@@ -540,7 +538,6 @@ await remote_server.update({
|
|
|
540
538
|
"rackspace_username": "rackspaceuser",
|
|
541
539
|
"rackspace_region": "dfw",
|
|
542
540
|
"rackspace_container": "my-container",
|
|
543
|
-
"auth_setup_link": "auth/:provider",
|
|
544
541
|
"auth_status": "in_setup",
|
|
545
542
|
"auth_account_name": "me@example.com",
|
|
546
543
|
"one_drive_account_type": "personal",
|
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.209';
|
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
|
17
17
|
var debugRequest = false;
|
|
@@ -229,13 +229,6 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
|
229
229
|
(0, _defineProperty2.default)(this, "setRackspaceContainer", function (value) {
|
|
230
230
|
_this.attributes.rackspace_container = value;
|
|
231
231
|
});
|
|
232
|
-
// string # Returns link to login with an Oauth provider
|
|
233
|
-
(0, _defineProperty2.default)(this, "getAuthSetupLink", function () {
|
|
234
|
-
return _this.attributes.auth_setup_link;
|
|
235
|
-
});
|
|
236
|
-
(0, _defineProperty2.default)(this, "setAuthSetupLink", function (value) {
|
|
237
|
-
_this.attributes.auth_setup_link = value;
|
|
238
|
-
});
|
|
239
232
|
// string # Either `in_setup` or `complete`
|
|
240
233
|
(0, _defineProperty2.default)(this, "getAuthStatus", function () {
|
|
241
234
|
return _this.attributes.auth_status;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -224,13 +224,6 @@ class RemoteServer {
|
|
|
224
224
|
this.attributes.rackspace_container = value
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// string # Returns link to login with an Oauth provider
|
|
228
|
-
getAuthSetupLink = () => this.attributes.auth_setup_link
|
|
229
|
-
|
|
230
|
-
setAuthSetupLink = value => {
|
|
231
|
-
this.attributes.auth_setup_link = value
|
|
232
|
-
}
|
|
233
|
-
|
|
234
227
|
// string # Either `in_setup` or `complete`
|
|
235
228
|
getAuthStatus = () => this.attributes.auth_status
|
|
236
229
|
|